/* =====================================================================
   VSITEdesigns — production stylesheet (tokens + storefront)
   Generated from the VSITEdesigns design system. Edit tokens at the top.
   ===================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&family=Space+Mono:wght@400;700&display=swap");

/* =====================================================================
   VSITEdesigns — Color tokens
   "Prototype board": deep navy PCB + copper/gold traces + cyan LED glow.
   (Rebrand of Tyler's Diode Designs — same shop, electronics skin.)
   ===================================================================== */
:root {
  /* ---- Board / silk (surfaces + text) ---- */
  --paper:       #0A2240;   /* page background — the bare board */
  --paper-2:     #0E2B52;   /* cards, raised panels */
  --paper-3:     #102F5A;   /* lighter plate / inset highlights */
  --ink:         #E9F0F8;   /* primary text — silkscreen white */
  --ink-soft:    #B8C6DA;   /* secondary text */
  --muted:       #8398B4;   /* tertiary / meta text */
  --line:        rgba(233, 240, 248, 0.10);   /* hairline borders */
  --line-strong: rgba(233, 240, 248, 0.20);   /* stronger borders */
  --edge:        #06182F;   /* board edge / deep shadow */

  /* ---- Brand "copper trace" + electronics accents ---- */
  --copper:        #C98A3A;   /* trace copper */
  --copper-bright: #F2B84B;   /* primary brand pop / CTA */
  --copper-deep:   #8C5E26;
  --gold:          #F2B84B;
  --cyan:          #43E0DE;   /* powered LED glow / active state */
  --green:         #4FCB8C;   /* secondary links / success */
  --pink:          #F2719E;   /* favorite / save */
  --periwinkle:    #6E8BFF;   /* focus ring / accent (TES heritage blue) */

  /* ---- Back-compat aliases (old TDD names → new PCB values) ---- */
  --tangerine:  var(--copper-bright);   /* legacy "primary pop" */
  --amber:      #E0A94A;
  --coral:      var(--pink);            /* legacy favorite/hover accent */
  --teal:       var(--green);           /* legacy success/confirm */
  --violet:     var(--periwinkle);      /* legacy focus ring */

  /* ---- Category accents (one per shop category, tuned for navy) ---- */
  --c-maps:        #43E0DE;   /* Maps — cyan        */
  --c-statues:     #F2719E;   /* Statues — pink     */
  --c-custom:      #4FCB8C;   /* Custom Work — green */
  --c-accessories: #F2B84B;   /* legacy util — "made to order" meta label */

  /* ---- Gradients ---- */
  --grad-sunset: linear-gradient(135deg, #F6C766 0%, #F2B84B 48%, #C98A3A 100%); /* @kind color */ /* copper CTA */
  --grad-hero:   radial-gradient(120% 120% at 80% -10%, rgba(67,224,222,0.30) 0%, rgba(110,139,255,0.16) 42%, rgba(10,34,64,0) 75%); /* @kind color */
  --grad-band:   linear-gradient(135deg, #0C2849 0%, #0A2240 55%, #07182F 100%); /* @kind color */

  /* ---- Semantic aliases ---- */
  --bg-page:        var(--paper);
  --surface-card:   var(--paper-2);
  --text-strong:    var(--ink);
  --text-body:      var(--ink-soft);
  --text-muted:     var(--muted);
  --border-subtle:  var(--line);
  --border-strong:  var(--line-strong);
  --accent-primary: var(--copper-bright);
  --accent-focus:   var(--periwinkle);
  --accent-success: var(--green);

  /* ---- Filament colors (real print colors the shop sells) ----
     The live source of truth is FILAMENTS in data/products.js (incl. any
     upcharge). These tokens mirror it for specimens / quick reference.
     These are PHYSICAL filament colors — unchanged by the rebrand. */
  --fil-bone:       #ECE6DA;
  --fil-charcoal:   #2D2A33;
  --fil-scarlet:    #B5341F;   /* Scarlet Red — +$4 premium */
  --fil-tangerine:  #FF6A3D;
  --fil-marigold:   #F5B400;
  --fil-forest:     #2E7D5B;
  --fil-lake:       #2A6FB0;
  --fil-grape:      #6A4BC4;
  --fil-blush:      #F08FA6;
  --fil-graphite:   #5A5560;
}

/* =====================================================================
   VSITEdesigns — Typography tokens
   Display: Space Grotesk (techy, geometric). Body: Nunito (warm, round).
   Mono: Space Mono (silkscreen labels, SKUs, designators).
   ===================================================================== */
:root {
  /* ---- Families ---- */
  --font-display: "Space Grotesk", "Trebuchet MS", system-ui, sans-serif;
  --font-body:    "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "Courier New", monospace;

  /* ---- Weights ---- */
  --fw-regular:   400; /* @kind font */
  --fw-medium:    500; /* @kind font */
  --fw-semibold:  600; /* @kind font */
  --fw-bold:      700; /* @kind font */
  --fw-extrabold: 800; /* @kind font */

  /* ---- Type scale (fluid where it matters) ---- */
  --fs-eyebrow:   0.72rem;   /* mono, tracked-out labels */
  --fs-meta:      0.78rem;   /* SKU / captions */
  --fs-small:     0.86rem;
  --fs-body:      1rem;      /* base 17px on <body> */
  --fs-lead:      1.08rem;
  --fs-h4:        1.12rem;
  --fs-h3:        1.45rem;
  --fs-h2:        clamp(2rem, 4.6vw, 3.1rem);   /* @kind font */
  --fs-h1:        clamp(2.6rem, 6.2vw, 4.6rem); /* @kind font */

  /* ---- Line heights ---- */
  --lh-tight:     1.08; /* @kind font */   /* headings */
  --lh-snug:      1.2;  /* @kind font */
  --lh-body:      1.6;  /* @kind font */

  /* ---- Letter spacing ---- */
  --ls-tight:     -0.02em; /* @kind font */  /* big display */
  --ls-heading:   -0.01em; /* @kind font */
  --ls-eyebrow:    0.22em; /* @kind font */  /* mono eyebrows */
  --ls-mono:       0.05em; /* @kind font */
}

/* =====================================================================
   VSITEdesigns — Shape, spacing, shadow & layout tokens
   ===================================================================== */
:root {
  /* ---- Spacing scale ---- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  22px;
  --space-6:  32px;
  --space-7:  44px;
  --space-8:  64px;
  --space-9:  96px;

  /* ---- Corner radii (techy, lightly rounded — PCB modules) ---- */
  --r-sm:  10px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --pill:  999px;

  /* ---- Borders ---- */
  --border-hair:  1px solid var(--line);
  --border-card:  1px solid var(--line);

  /* ---- Shadows (cool, deep navy — elevation reads as board depth) ---- */
  --shadow-sm:  0 2px 10px rgba(2, 8, 20, 0.35);
  --shadow-md:  0 12px 30px rgba(2, 8, 20, 0.45);
  --shadow-lg:  0 28px 64px rgba(2, 8, 20, 0.55);
  --shadow-pop: 0 12px 30px rgba(242, 184, 75, 0.30);   /* copper CTA glow */
  --glow-cyan:  0 0 24px rgba(67, 224, 222, 0.35);      /* powered LED glow */

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.2, 0.7, 0.3, 1); /* @kind other */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1); /* @kind other */  /* springy pop */
  --t-fast:  0.18s; /* @kind other */
  --t-base:  0.22s; /* @kind other */
  --t-slow:  0.34s; /* @kind other */

  /* ---- Layout ---- */
  --container: 1200px; /* @kind spacing */
  --header-h:  76px; /* @kind spacing */
}



/* ----------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(46rem 40rem at 108% -8%, rgba(67, 224, 222, 0.10), transparent 60%),
    radial-gradient(40rem 36rem at -8% 14%, rgba(110, 139, 255, 0.10), transparent 60%),
    linear-gradient(rgba(67, 224, 222, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 224, 222, 0.045) 1px, transparent 1px),
    radial-gradient(rgba(233, 240, 248, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px, 22px 22px;
  background-attachment: fixed, fixed, fixed, fixed, scroll;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 3px; border-radius: 6px; }

/* --------------------------- Typography ---------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
.font-mono { font-family: var(--font-mono); }

/* --------------------------- Utilities ----------------------------- */
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cyan); font-weight: 700;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: var(--glow-cyan); }
.section { padding: clamp(56px, 9vw, 116px) 0; position: relative; }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__title { font-size: clamp(2rem, 4.6vw, 3.1rem); margin: 14px 0 12px; }
.section__lead { color: var(--ink-soft); font-size: 1.08rem; }
.squiggle { position: relative; display: inline-block; }
.squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.32em; height: 0.42em;
  background: no-repeat center/100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 9 C 20 1 30 1 48 7 S 86 13 118 4' fill='none' stroke='%2343E0DE' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------------------------- Buttons ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--pill); border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .22s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--grad-sunset); color: #10233F; box-shadow: var(--shadow-pop); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(242, 184, 75, 0.42); }
.btn--ghost { background: rgba(233, 240, 248, 0.04); color: var(--ink); border-color: rgba(242, 184, 75, 0.5); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--copper-bright); box-shadow: var(--shadow-md); }
.btn--light { background: rgba(67, 224, 222, 0.12); color: var(--cyan); border-color: rgba(67, 224, 222, 0.45); backdrop-filter: blur(4px); }
.btn--light:hover { background: var(--cyan); color: #06231F; transform: translateY(-3px); }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ----------------------------- Header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(10, 34, 64, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(67, 224, 222, 0.18); box-shadow: var(--shadow-sm); background: rgba(8, 26, 50, 0.92); }
.site-header__inner { display: flex; align-items: center; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { width: 46px; height: 46px; filter: drop-shadow(0 6px 14px rgba(242, 184, 75, 0.30)); transition: transform .4s var(--ease-bounce); }
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.06); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; line-height: 1; letter-spacing: -0.01em; }
.brand__name .lc { font-weight: 400; color: var(--copper-bright); }
.brand__name small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: inline-block; padding: 9px 14px; border-radius: var(--pill); font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); transition: color .2s ease, background-color .2s ease; }
.main-nav a:hover { color: var(--ink); background: rgba(233, 240, 248, 0.06); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 14px; border-radius: var(--pill); background: var(--grad-sunset); color: #10233F; font-family: var(--font-display); font-weight: 600; box-shadow: var(--shadow-pop); transition: transform .18s ease, box-shadow .2s ease; }
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(242, 184, 75, 0.4); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center; border-radius: var(--pill);
  background: var(--cyan); color: #06231F; font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem;
  border: 2px solid var(--paper); transform: scale(0); transition: transform .3s var(--ease-bounce);
  box-shadow: var(--glow-cyan);
}
.cart-count.is-active { transform: scale(1); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--paper-2); border: 1.5px solid var(--line-strong); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2.4px; border-radius: 2px; background: var(--ink); margin-inline: auto; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle span::before { transform: translateY(-6px); } .nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-2px) rotate(-45deg); }

/* ------------------------------ Hero ------------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 132%; z-index: -2;
  background: var(--grad-hero);
}
.hero::after { /* faint copper trace texture, kept light for an airy hero */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%23C98A3A' stroke-opacity='0.22' stroke-width='1.3'%3E%3Cpath d='M0 60 H150 a12 12 0 0 1 12 12 V200'/%3E%3Cpath d='M320 90 H210 a12 12 0 0 0 -12 12 V250'/%3E%3Cpath d='M40 320 V210 a12 12 0 0 1 12 -12 H180'/%3E%3C/g%3E%3Cg fill='%23C98A3A' fill-opacity='0.28'%3E%3Ccircle cx='162' cy='72' r='3'/%3E%3Ccircle cx='198' cy='102' r='3'/%3E%3Ccircle cx='180' cy='198' r='3'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(#000, transparent 82%); mask-image: linear-gradient(#000, transparent 82%);
}
.hero__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 40px; align-items: center; }
.hero__content { max-width: 620px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: var(--pill);
  background: rgba(67, 224, 222, 0.10); border: 1.5px solid rgba(67, 224, 222, 0.35);
  backdrop-filter: blur(6px); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); box-shadow: var(--shadow-sm);
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(67, 224, 222, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(67, 224, 222, 0.55); } 70% { box-shadow: 0 0 0 11px rgba(67, 224, 222, 0); } 100% { box-shadow: 0 0 0 0 rgba(67, 224, 222, 0); } }
.hero__title { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; margin: 20px 0 18px; letter-spacing: -0.02em; }
.hero__title .pop { color: var(--cyan); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 38ch; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.hero__proof div { display: flex; flex-direction: column; }
.hero__proof b { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.hero__proof span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.hero__stage { position: relative; }
.hero__art { width: 100%; filter: drop-shadow(0 24px 36px rgba(4, 12, 28, 0.5)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
/* soft cyan spotlight behind the printer */
.hero__stage::before {
  content: ""; position: absolute; inset: 6% 4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(67, 224, 222, 0.18), transparent 70%);
}

/* ----------------------------- Marquee ----------------------------- */
.marquee { background: linear-gradient(180deg, #081F3C, #06182F); color: var(--ink-soft); overflow: hidden; border-block: 1px solid rgba(67, 224, 222, 0.22); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 16px; padding: 13px 0; font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; }
.marquee__track span::after { content: "◆"; color: var(--cyan); margin-inline: 28px; font-size: 0.62rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --------------------------- Categories ---------------------------- */
.cats { padding-top: clamp(48px, 7vw, 84px); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 20px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; overflow: hidden;
}
.cat-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent, var(--cyan)); box-shadow: 0 0 16px var(--accent, var(--cyan)); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.cat-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 16%, var(--paper)); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.cat-card__icon svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 1.12rem; }
.cat-card p { font-size: 0.86rem; color: var(--muted); }
.cat-card__link { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-top: auto; }

/* ----------------------------- Shop -------------------------------- */
.shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 34px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter {
  padding: 9px 18px; border-radius: var(--pill); background: var(--paper-2); border: 1.5px solid var(--line-strong);
  font-family: var(--font-mono); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
  transition: all .18s ease;
}
.filter:hover { border-color: var(--cyan); color: var(--ink); transform: translateY(-2px); }
.filter.is-active { background: var(--grad-sunset); color: #10233F; border-color: transparent; box-shadow: var(--shadow-pop); }
.shop__note { margin-left: auto; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .28s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(67, 224, 222, 0.5); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0C233F; cursor: pointer; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tag {
  position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: var(--pill);
  background: rgba(10, 34, 64, 0.82); color: var(--accent, var(--ink)); font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: var(--shadow-sm); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); backdrop-filter: blur(4px);
}
.product-card__fav {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(10, 34, 64, 0.82); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  color: var(--ink-soft); transition: transform .2s ease, color .2s ease; backdrop-filter: blur(4px);
}
.product-card__fav:hover { transform: scale(1.12); color: var(--pink); }
.product-card__fav.is-on { color: var(--pink); }
.product-card__fav svg { width: 18px; height: 18px; }
.product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.product-card__name { font-size: 1.12rem; }
.product-card__desc { font-size: 0.86rem; color: var(--muted); flex: 1; }
.product-card__meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.product-card__sku { font-family: var(--font-mono); font-size: 0.66rem; color: var(--muted); letter-spacing: 0.05em; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.product-card__price { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1; }
.product-card__price small { font-size: 0.78rem; color: var(--muted); font-family: var(--font-mono); font-weight: 400; }
.add-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: var(--pill);
  background: transparent; border: 2px solid var(--accent, var(--copper-bright)); color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; transition: all .18s ease;
}
.add-btn svg { width: 17px; height: 17px; }
.add-btn:hover { background: var(--accent, var(--copper-bright)); color: #0A2240; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.add-btn.is-added { background: var(--green); border-color: var(--green); color: #06251A; }

.product-empty { grid-column: 1 / -1; text-align: center; padding: 48px 0; color: var(--muted); font-family: var(--font-display); }

/* New-catalog card extras */
.pc-badge { position: absolute; bottom: 12px; left: 12px; padding: 5px 12px; border-radius: var(--pill); background: var(--grad-sunset); color: #10233F; font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; box-shadow: var(--shadow-pop); }
.pc-mto { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 0.62rem; color: var(--copper-bright); font-weight: 700; }
.pc-mto svg { width: 12px; height: 12px; }
.product-card__price--quote { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink-soft); align-self: center; }
.add-btn--quote { font-size: 0.82rem; padding: 11px 15px; text-decoration: none; }

/* ------------------------- Custom Orders --------------------------- */
.custom { position: relative; }
.custom__panel {
  background: var(--grad-band); color: var(--ink); border-radius: var(--r-xl); padding: clamp(34px, 5vw, 62px);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(67, 224, 222, 0.16);
}
.custom__panel::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 224, 222, 0.22), transparent 65%);
}
.custom__grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.custom__head .eyebrow { color: var(--copper-bright); }
.custom__head .eyebrow::before { background: var(--copper-bright); box-shadow: none; }
.custom__title { color: var(--ink); font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 14px 0 14px; }
.custom__text { color: var(--ink-soft); font-size: 1.05rem; }
.custom__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.steps { display: grid; gap: 14px; }
.step {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r);
  background: rgba(233, 240, 248, 0.05); border: 1px solid rgba(233, 240, 248, 0.12); backdrop-filter: blur(2px);
  transition: transform .2s ease, background-color .2s ease;
}
.step:hover { transform: translateX(6px); background: rgba(67, 224, 222, 0.08); }
.step__num { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-sunset); color: #10233F; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.step h4 { color: var(--ink); font-size: 1.08rem; margin-bottom: 3px; }
.step p { color: var(--ink-soft); font-size: 0.9rem; }

/* ------------------------------ About ------------------------------ */
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about__text p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.06rem; }
.about__text p strong { color: var(--ink); }
.lineage { display: inline-flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 20px; border-radius: var(--pill); background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lineage .node { font-family: var(--font-display); font-weight: 600; }
.lineage .arrow { color: var(--cyan); font-weight: 700; }
.lineage small { display: block; font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted); letter-spacing: 0.08em; }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fact {
  padding: 24px 20px; border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.fact:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.fact:nth-child(1) { --accent: var(--c-maps); }
.fact:nth-child(2) { --accent: var(--c-statues); }
.fact:nth-child(3) { --accent: var(--periwinkle); }
.fact:nth-child(4) { --accent: var(--c-custom); }
.fact b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; }
.fact span { font-size: 0.88rem; color: var(--muted); font-weight: 700; }

/* ---------------------------- CTA band ----------------------------- */
.cta-band { text-align: center; }
.cta-band__inner {
  background: var(--grad-sunset); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px) 24px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-pop);
}
.cta-band__inner::before, .cta-band__inner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.cta-band__inner::before { width: 180px; height: 180px; top: -50px; left: -30px; }
.cta-band__inner::after { width: 240px; height: 240px; bottom: -90px; right: -40px; }
.cta-band h2 { position: relative; color: #10233F; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-band p { position: relative; color: #2A1B05; font-weight: 700; margin: 12px auto 26px; max-width: 48ch; }

/* ----------------------------- Footer ------------------------------ */
.site-footer { background: #07182F; color: var(--ink-soft); padding: 64px 0 28px; margin-top: 40px; border-top: 1px solid rgba(67, 224, 222, 0.16); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__brand .brand__name { color: var(--ink); }
.footer__brand p { margin-top: 14px; font-size: 0.92rem; max-width: 34ch; color: var(--muted); }
.footer__brand .brand__logo { filter: drop-shadow(0 6px 14px rgba(242, 184, 75, 0.45)); }
.footer h4 { color: var(--ink); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font-mono); margin-bottom: 18px; }
.footer a { display: inline-block; padding: 5px 0; font-size: 0.94rem; color: var(--ink-soft); transition: color .18s ease, transform .18s ease; }
.footer a:hover { color: var(--cyan); transform: translateX(3px); }
.footer__contact a { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 17px; height: 17px; color: var(--copper-bright); flex: none; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(233, 240, 248, 0.08); transition: background-color .2s ease, transform .2s ease; }
.footer__social a:hover { background: var(--copper-bright); color: #10233F; transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(233, 240, 248, 0.1); font-size: 0.84rem; color: var(--muted);
}
.footer__bottom .font-mono { color: var(--cyan); }

/* --------------------------- Cart drawer --------------------------- */
.cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(3, 10, 22, 0.6); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.cart-overlay.is-open { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 0; right: 0; z-index: 100; height: 100dvh; width: min(400px, 100vw);
  background: var(--paper); overflow-y: auto; -webkit-overflow-scrolling: touch;
  box-shadow: -20px 0 60px rgba(2, 8, 20, 0.5); border-left: 1px solid rgba(67, 224, 222, 0.16);
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4, 0, .2, 1);
}
.cart.is-open { transform: translateX(0); }
.cart__head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.cart__head h3 { font-size: 1.08rem; display: flex; align-items: center; gap: 8px; }
.cart__close { width: 34px; height: 34px; border-radius: 11px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s ease, border-color .2s; color: var(--ink); }
.cart__close:hover { transform: rotate(90deg); border-color: var(--cyan); }
.cart__close svg { width: 16px; height: 16px; }
.cart__items { padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 58vh; text-align: center; color: var(--muted); padding: 26px; }
.cart-empty svg { width: 62px; height: 62px; opacity: 0.55; }
.cart-empty p { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink-soft); }
.cart-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 9px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; }
.cart-item__img { width: 48px; height: 48px; border-radius: 9px; overflow: hidden; background: #0C233F; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; line-height: 1.2; }
.cart-item__price { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); margin-top: 1px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill); padding: 2px; }
.qty button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ink); transition: background-color .15s ease; }
.qty button:hover { background: rgba(67, 224, 222, 0.14); }
.qty span { min-width: 18px; text-align: center; font-family: var(--font-mono); font-weight: 700; font-size: 0.8rem; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.cart-item__total { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; }
.cart-item__remove { font-family: var(--font-mono); font-size: 0.61rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; transition: color .15s ease; }
.cart-item__remove:hover { color: var(--pink); }
.cart__foot { padding: 13px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper-2); }
.cart__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; font-size: 0.84rem; color: var(--ink-soft); }
.cart__row.total { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); font-weight: 600; margin: 7px 0 3px; }
.cart__tax-breakdown { color: var(--muted); font-weight: 400; font-size: 0.9em; }
.cart__hint { font-size: 0.7rem; color: var(--muted); text-align: center; margin-top: 8px; line-height: 1.45; }
.cart__hint a { color: var(--copper-bright); font-weight: 700; }
#paypal-button-container { margin-top: 10px; min-height: 44px; }

/* ---- Fulfillment chooser ---- */
.fulfill { border: 0; padding: 0; margin: 2px 0 12px; }
.fulfill__legend { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--ink); padding: 0; margin-bottom: 8px; }
.fulfill__opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 11px; margin-bottom: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.fulfill__opt:last-child { margin-bottom: 0; }
.fulfill__opt:hover { border-color: var(--line-strong); }
.fulfill__opt.is-selected { border-color: var(--accent-primary); background: color-mix(in srgb, var(--accent-primary) 10%, var(--paper)); box-shadow: inset 0 0 0 1px var(--accent-primary); }
.fulfill__opt input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent-primary); cursor: pointer; }
.fulfill__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fulfill__title { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--ink); }
.fulfill__price { font-family: var(--font-mono); font-size: 0.8rem; white-space: nowrap; color: var(--ink-soft); }
.fulfill__opt.is-selected .fulfill__price { color: var(--accent-primary); }
.fulfill__note { font-size: 0.7rem; color: var(--muted); line-height: 1.42; }
.fulfill.is-flash { animation: fulfillFlash .9s ease; border-radius: 12px; }
@keyframes fulfillFlash { 0%, 100% { box-shadow: 0 0 0 0 rgba(67, 224, 222, 0); } 30%, 60% { box-shadow: 0 0 0 3px rgba(67, 224, 222, 0.55); } }
.cart__paypal-fallback { font-size: 0.8rem; color: var(--ink-soft); text-align: center; padding: 10px 4px; line-height: 1.5; }
.cart__paypal-fallback a { color: var(--copper-bright); font-weight: 700; }

/* Post-payment success screen */
.cart__success { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 11px; padding: 26px 22px; min-height: 66vh; }
.cart__success[hidden] { display: none; }
.cart-success__badge { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-sunset); display: grid; place-items: center; color: #10233F; box-shadow: var(--shadow-pop); }
.cart-success__badge svg { width: 26px; height: 26px; }
.cart__success h3 { font-size: 1.28rem; }
.cart__success p { color: var(--ink-soft); font-size: 0.88rem; max-width: 34ch; }
.cart__success p strong { color: var(--ink); }
.cart-success__ref { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); padding: 6px 13px; border-radius: var(--pill); }

/* ----------------------------- Toast ------------------------------- */
.toast-wrap { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; width: min(380px, 92vw); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--pill);
  background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow-lg); font-weight: 700; font-size: 0.92rem;
  border: 1px solid rgba(67, 224, 222, 0.25);
  transform: translateY(20px); opacity: 0; animation: toast-in .3s forwards, toast-out .3s forwards 2.6s;
}
.toast__dot { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-sunset); display: grid; place-items: center; flex: none; color: #10233F; }
.toast__dot svg { width: 17px; height: 17px; }
@keyframes toast-in { to { transform: translateY(0); opacity: 1; } }
@keyframes toast-out { to { transform: translateY(20px); opacity: 0; } }

/* --------------------------- Reveal anim --------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--copper-bright); color: #10233F; padding: 10px 18px; border-radius: var(--pill); transition: top .2s ease; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* --------------------------- Responsive ---------------------------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: -1; max-width: 460px; margin-inline: auto; }
  .custom__grid, .about__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; order: 3; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .32s ease;
  }
  .main-nav.is-open { max-height: 70vh; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 5vw 22px; }
  .main-nav a { padding: 14px 16px; font-size: 0.92rem; border-radius: var(--r); }
  .brand__name small { display: none; }
  .cart-btn span.label { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero__proof { gap: 16px; }
  .shop__note { width: 100%; margin-left: 0; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .product-grid { gap: 12px; }
  .product-card__body { padding: 14px 14px 16px; }
  .product-card__desc { display: none; }
  .product-card__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-card__price { font-size: 1.3rem; }
  .add-btn { justify-content: center; }
  .about__cards { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero__cta, .custom__cta { width: 100%; }
}

/* ----------------------- Reduced motion ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   QUICK-VIEW POP-UP  (gallery + color + background + size + qty)
   ===================================================================== */
.qv-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: max(16px, 4vh) 16px; background: rgba(3, 10, 22, 0.62); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .26s ease, visibility .26s ease;
}
.qv-overlay.is-open { opacity: 1; visibility: visible; }
.qv {
  position: relative; width: min(940px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid rgba(67, 224, 222, 0.2);
  transform: translateY(16px) scale(0.98); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.qv-overlay.is-open .qv { transform: translateY(0) scale(1); }
.qv__close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10, 34, 64, 0.86); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  color: var(--ink); transition: transform .2s ease; border: 1px solid var(--line);
}
.qv__close:hover { transform: scale(1.12) rotate(90deg); }
.qv__close svg { width: 17px; height: 17px; }
.qv__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; }
.qv__media { padding: 26px 22px 26px 26px; }
.qv__detail { padding: 30px 30px 26px 8px; display: flex; flex-direction: column; gap: 16px; }
.qv__tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qv__title { font-size: 1.7rem; line-height: 1.1; }
.qv__desc { margin-top: 10px; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }
.qv__opt-label { display: flex; gap: 8px; align-items: baseline; margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.qv__opt-label small { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); font-weight: 400; }
.qv__qty-row { display: flex; align-items: center; gap: 14px; }
.qv__qty-row > span { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.qv__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.qv__price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.qv__price-each { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.qv__price-total { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--ink); }
.qv__ship { margin-top: 12px; display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.78rem; color: var(--muted); }
.qv__ship svg { width: 15px; height: 15px; }

/* ---- Gallery ---- */
.gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #0C233F; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(10, 34, 64, 0.86); display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .2s ease; border: 1px solid var(--line); }
.gallery__nav:hover { transform: translateY(-50%) scale(1.12); }
.gallery__nav svg { width: 20px; height: 20px; }
.gallery__nav--prev { left: 12px; } .gallery__nav--next { right: 12px; }
.gallery__count { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: var(--pill); background: rgba(6, 24, 47, 0.78); color: var(--ink); backdrop-filter: blur(4px); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb { width: 60px; height: 60px; border-radius: var(--r-sm); overflow: hidden; background: #0C233F; border: 2px solid var(--line); transition: border-color .15s ease, transform .15s ease; }
.gallery__thumb.is-active { border: 2.5px solid var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Color / background dropdown ---- */
.color-select { position: relative; display: inline-flex; align-items: center; gap: 11px; min-width: 210px; max-width: 100%; padding: 9px 14px; background: var(--paper-2); border: 2px solid var(--line-strong); border-radius: var(--pill); transition: border-color .16s ease, box-shadow .16s ease; }
.color-select:hover { border-color: var(--cyan); }
.color-select:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 24%, transparent); }
.color-select__dot { width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px rgba(233,240,248,0.25); }
.color-select__input { flex: 1; appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0 18px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; color: var(--ink); cursor: pointer; }
.color-select__input option { color: #10233F; }
.color-select__input:focus { outline: none; }
.color-select__chevron { position: absolute; right: 14px; width: 15px; height: 15px; color: var(--ink-soft); pointer-events: none; }

/* ---- Size selector ---- */
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: var(--pill);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
  background: var(--paper-2); border: 2px solid var(--line-strong); transition: all .16s ease;
}
.size:hover { border-color: var(--cyan); }
.size.is-on { background: var(--cyan); color: #06231F; border-color: var(--cyan); }
.size__add { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); font-weight: 700; }
.size.is-on .size__add { color: #06231F; }

/* ---- Qty (modal) ---- */
.qv .qty { margin-top: 0; }
.qv .qty button { width: 26px; height: 26px; }

@media (max-width: 720px) {
  .qv__grid { grid-template-columns: 1fr; }
  .qv__media { padding: 20px 20px 0; }
  .qv__detail { padding: 20px; }
}
