/* Protecta V3 — shared visual system */
:root {
  --ink: #122b45;
  --ink-deep: #0c2035;
  --orange: #f17a32;
  --orange-dark: #b94b12;
  --line: #dce4e9;
  --muted: #607284;
  --paper: #fcfcfd;
  --surface: #f0f4f7;
  --success: #227858;
  --radius: 12px;
  --shadow: 0 12px 38px #132c4410;
}
body {
  background: var(--paper);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e97430;
  outline-offset: 4px;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.container {
  max-width: 1440px;
  width: calc(100% - 96px);
  margin-inline: auto;
}
.topbar .container {
  min-height: 34px;
  font-size: 11px;
  letter-spacing: 0.3px;
}
.topbar {
  background: #122b45;
  color: #fff;
}
.topbar a {
  color: #e7edf2;
}
.site-header {
  z-index: 80;
  background: #fffefef5;
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 86px;
  gap: 22px;
}
.brand {
  gap: 10px;
  flex: none;
}
.official-mark {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain;
  background: white;
  border-radius: 4px;
}
.brand strong {
  font-size: 17px !important;
  letter-spacing: 1px !important;
}
.brand small {
  font-size: 8px !important;
  letter-spacing: 1.05px !important;
}
.desktop-nav {
  gap: 20px;
  flex: 1;
  justify-content: center;
}
.desktop-nav > a {
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 0;
  font-weight: 600;
  padding: 32px 0;
}
.desktop-nav > a:after {
  bottom: 21px;
}
.header-actions {
  gap: 10px;
}
.pd-header-action {
  position: relative;
  width: 36px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  transition: 0.2s;
}
.pd-header-action:hover {
  background: var(--surface);
  color: var(--orange-dark);
}
.pd-header-action svg {
  width: 21px;
  height: 21px;
}
.pd-cart-count {
  position: absolute;
  top: 0;
  right: -3px;
  min-width: 17px;
  height: 17px;
  background: var(--orange);
  color: var(--ink-deep);
  font-size: 10px;
  border-radius: 20px;
  text-align: center;
  padding: 1px 3px;
  font-weight: 800;
}
.pd-demo-bar {
  background: #fff1e6;
  color: #825028;
  padding: 8px 24px;
  text-align: center;
  font-size: 11px;
  border-bottom: 1px solid #f1dece;
}
.pd-demo-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pd-offline-notice {
  padding: 16px;
  background: #fff1dc;
  text-align: center;
  color: #733c15;
}
.button {
  border-radius: 6px;
  min-height: 48px;
  font-size: 13px;
  padding: 13px 21px;
  font-weight: 600;
  gap: 11px;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.button--primary {
  background: var(--orange);
  color: var(--ink-deep);
  border: 1px solid var(--orange);
}
.button--primary:hover {
  background: #ff8b43;
  box-shadow: 0 7px 18px #ef803127;
}
.button--outline {
  border: 1px solid #c9d4de;
  background: transparent;
}
.button--outline:hover {
  border-color: var(--ink);
  background: #edf2f6;
}
.pd-label,
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
}
.pd-eyebrow {
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 700;
  text-transform: uppercase;
}
.pd-eyebrow:before {
  content: '';
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.pd-section {
  padding: 88px 0;
}
.pd-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 34px;
}
.pd-section-heading h2 {
  font-size: clamp(28px, 3vw, 43px);
  font-family: Manrope, sans-serif;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin: 13px 0 0;
}
.pd-section-heading > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.pd-muted {
  color: var(--muted);
}
.pd-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 7px 12px;
  font-size: 11px;
  background: #fff;
}
.pd-empty {
  padding: 55px 24px;
  text-align: center;
  border: 1px dashed #ccd8e1;
  border-radius: 12px;
  background: #f5f8fa;
  color: var(--muted);
}
.pd-error {
  background: #fff0ed;
  border: 1px solid #eebbad;
  color: #973d28;
  padding: 13px 17px;
  border-radius: 8px;
  font-size: 14px;
}
.pd-success {
  background: #eff8f2;
  border: 1px solid #b6d5c3;
  color: #215b3e;
  padding: 13px 17px;
  border-radius: 8px;
}
.pd-note {
  background: #eef3f7;
  padding: 15px 18px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.pd-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field > label,
.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
input:not([type='checkbox']):not([type='radio']):not([type='range']):not([type='file']),
select,
textarea {
  min-height: 47px;
  border: 1px solid #cdd8e0;
  background: white;
  color: var(--ink);
  border-radius: 7px;
  padding: 11px 13px;
  min-width: 0;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--orange-dark);
}
.toast {
  z-index: 999;
  max-width: min(520px, calc(100vw - 28px));
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.site-footer {
  background: var(--ink-deep);
  padding-top: 60px;
}
.footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr 1.1fr;
  gap: 36px;
}
.footer-grid > div h2 {
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 19px;
}
.footer-grid > div > a {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 230px;
}
.footer-bottom {
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  padding-block: 24px;
}
.footer-bottom a {
  font-size: 11px;
}
.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.mobile-bottom {
  display: none;
}
.floating-contact {
  bottom: 24px;
}
.site-footer .official-mark {
  width: 42px !important;
  height: 42px !important;
}
.pd-link {
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.pd-status {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #eaf0f5;
  color: var(--ink);
}
.pd-skeleton {
  background: linear-gradient(110deg, #eff2f5 20%, #f8fafc 45%, #eff2f5 70%);
  background-size: 200% 100%;
  animation: pd-shimmer 1.5s linear infinite;
  border-radius: 10px;
}
@keyframes pd-shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (min-width: 1440px) {
  .desktop-nav {
    gap: 25px;
  }
}
@media (max-width: 1250px) {
  .container {
    width: calc(100% - 56px);
  }
  .desktop-nav {
    gap: 13px;
  }
  .desktop-nav > a {
    font-size: 11px;
  }
  .header-inner {
    gap: 15px;
  }
  .brand strong {
    font-size: 15px !important;
  }
  .official-mark {
    width: 40px !important;
    height: 40px !important;
  }
  .header-actions {
    gap: 4px;
  }
}
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .header-inner {
    height: 76px;
  }
  .mobile-nav {
    max-height: calc(100dvh - 110px);
    overflow: auto;
  }
  .mobile-nav a {
    font-size: 15px;
    padding: 12px 28px;
  }
  .menu-toggle {
    display: grid;
  }
  .pd-section {
    padding: 66px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 70px;
    gap: 7px;
  }
  .brand strong {
    font-size: 14px !important;
  }
  .brand small {
    font-size: 7px !important;
  }
  .official-mark {
    width: 36px !important;
    height: 36px !important;
  }
  .brand {
    gap: 7px;
  }
  .pd-header-action {
    width: 31px;
  }
  .topbar .container > span {
    font-size: 9px;
  }
  .topbar .container > a {
    font-size: 10px;
  }
  .pd-demo-bar {
    font-size: 10px;
    padding: 7px 16px;
  }
  .pd-section {
    padding: 48px 0;
  }
  .pd-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
  }
  .pd-section-heading h2 {
    letter-spacing: -1px;
  }
  .pd-section-heading > p {
    max-width: none;
  }
  .button {
    font-size: 12px;
    padding-inline: 17px;
  }
  .footer-grid {
    gap: 30px 20px;
  }
  .footer-grid > div:last-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div h2 {
    font-size: 13px;
  }
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
  .floating-contact {
    bottom: 16px;
    right: 16px;
  }
  .floating-contact span {
    display: none;
  }
  .pd-inline-actions .button {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.studio-summary > #studio-shop,
.studio-summary > #studio-quote {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.studio-summary > #studio-quote {
  font-size: 12px;
  min-height: 42px;
}

/* Paged catalogue controls */
.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.shop-pagination[hidden] {
  display: none;
}
.shop-pagination .button {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
}
.shop-pagination > span {
  font-size: 13px;
  color: #607284;
}
.shop-pagination button:disabled {
  opacity: 0.45;
  cursor: default;
}
.shop-pagination ~ .shop-empty {
  margin-top: 24px;
}
