/*
Theme Name: Kangfont
Theme URI: https://kangfont.com
Author: Kangfont Foundry
Description: Custom WooCommerce-ready theme porting the Kangfont static design 1:1, built for real PayPal transactions via WooCommerce.
Version: 1.1.0
Text Domain: kangtype
*/
/* ── Kangfont — Local Fonts ── */
@font-face{font-family:'Sirelia';src:url('fonts/Sirelia.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Golden Vogue';src:url('fonts/Golden Vogue_otf.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Golden Vogue';src:url('fonts/Golden Vogue Bold_otf.otf') format('opentype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Orlencia';src:url('fonts/Orlencia.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Moselle';src:url('fonts/Moselle_otf.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Lather';src:url('fonts/lather-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Lather';src:url('fonts/lather-Thin.otf') format('opentype');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Garuk';src:url('fonts/garuk-regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Aestica';src:url('fonts/Aestica.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Arabica Neue';src:url('fonts/ArabicaNeue.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Aurellis';src:url('fonts/Aurellis.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Axenor';src:url('fonts/Axenor.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Basenk';src:url('fonts/Basenk.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Boldino';src:url('fonts/Boldino.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Desinore';src:url('fonts/Desinore_otf.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Elarent';src:url('fonts/Elarent.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Gravtune';src:url('fonts/Gravtune.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Hizba';src:url('fonts/Hizba.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'MC Verona';src:url('fonts/MC Verona.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Nolira';src:url('fonts/Nolira.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Ophirra';src:url('fonts/Ophirra.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Ovalle';src:url('fonts/Ovalle.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Rosetic';src:url('fonts/Rosetic.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}

:root{
  /* Bold agency palette: white body, black chrome, blue + lime as the only
     two accents — bg/white-rgb/surface/border/muted are the theme-able
     roles. .dark-zone (below) restores pure-black locally for sections
     that intentionally stay dark (ticker, footer, drawers, cards) — see
     that block for why. --gold/--violet keep their original names (they're
     referenced in dozens of places) but now hold the lime/blue values. */
  --bg-rgb:255,255,255;
  --bg:rgb(var(--bg-rgb));
  --white-rgb:10,10,10;
  --white:rgb(var(--white-rgb));
  --surface:rgba(10,10,10,.04);
  --glass:rgba(10,10,10,.06);
  --border:rgba(10,10,10,.12);
  --border2:rgba(10,10,10,.22);
  --paper:#FFFFFF;
  --ink:#0A0A0A;
  --gold:#D6FF1C;
  --gold-f:rgba(214,255,28,.22);
  --violet:#1B1AFF;
  --violet-f:rgba(27,26,255,.12);
  --muted:#68696C;
  --success:#1E9A57;
  --danger:#D6483F;
  /* Accent color for TEXT/icons (prices, checkmarks, links, specimens) —
     lime (--gold) only has real contrast on a dark surface, so on the
     light body it resolves to blue instead. .dark-zone below restores
     lime. Never used for solid fills (buttons/badges/ticker stay --gold
     directly — those are deliberately always-lime). */
  --accent-ink:var(--violet);
  /* --violet is a fixed, always-fairly-dark blue regardless of zone, so
     text sitting on a solid --violet fill (buttons/badges/tags) must
     always be light — never rgb(var(--white-rgb)), which flips to near-
     black in the light zone and becomes illegible on the blue fill. */
  --violet-ink:#F2ECE5;
  --ease:cubic-bezier(.16,1,.3,1);
  --easeIn:cubic-bezier(.7,0,1,1);
  --f-disp:'Plus Jakarta Sans',system-ui,sans-serif;
  --f-body:'Plus Jakarta Sans',system-ui,sans-serif;
  --f-mono:'Space Mono',monospace;
  /* Heavy display font for marketing headlines only (hero, section titles) —
     never applied to body/UI/price text, so weights <800 keep rendering
     on Plus Jakarta Sans as before. */
  --f-heavy:'Anton','Plus Jakarta Sans',system-ui,sans-serif;
}

/* Sections that stay dark on purpose (ticker, footer, drawers, dark cards)
   wrap their markup in .dark-zone — this just restores pure black locally,
   so every existing rule below (which all reads from these same variables)
   renders dark again without needing a second copy of every component's
   CSS. Accent tokens (--gold/--violet/-f) stay the same in both zones. */
.dark-zone{
  --bg-rgb:10,10,10;
  --bg:rgb(var(--bg-rgb));
  --white-rgb:255,255,255;
  --white:rgb(var(--white-rgb));
  --surface:rgba(255,255,255,.06);
  --glass:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.14);
  --border2:rgba(255,255,255,.26);
  --muted:#9A9A9F;
  --success:#4ADE80;
  --danger:#F87171;
  --accent-ink:var(--gold);
  background:rgb(var(--bg-rgb));
  color:rgb(var(--white-rgb));
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
/* overflow-x lives here, not on html: WordPress's own admin-bar CSS
   forces `margin-top` onto <html> (via a `!important` rule, not
   anything of ours) whenever the admin toolbar is showing, specifically
   on mobile widths — and margin plus overflow landing on that same
   element is what was actually breaking #nav's position:sticky only
   while logged in (nothing else here differs between logged-in and
   logged-out). Confirmed logged-out (no admin bar, no forced margin)
   never showed the bug even with overflow-x:hidden still on html at the
   time. body doesn't get that forced margin from WP core, so the guard
   moved here instead, off the element WP itself is modifying. */
html{scroll-behavior:smooth}
body{
  overflow-x:hidden;
  background:rgb(var(--bg-rgb));
  /* background-attachment:fixed used to sit here — it only affects
     background IMAGES (this is a flat color, so it did nothing visually)
     and is a well-known cause of position:fixed elements breaking loose
     from the viewport on mobile browsers, matching #nav "hanging" mid-page
     instead of staying pinned to the top while scrolling. Removed. */
  color:rgb(var(--white-rgb));
  font-family:var(--f-body);
  line-height:1.65;
  cursor:none;
  /* --kt-vh is set by JS (top of theme.js) to window.innerHeight, in real
     pixels, recalculated on resize — CSS vh/svh/dvh units disagreed with
     each other across real devices for this (svh came up short once
     Android Chrome's address bar collapsed mid-scroll; dvh still didn't
     resolve it on every device tested), so this measures the actual
     current viewport directly instead of relying on any single unit's
     browser-specific interpretation. 100vh is only a fallback for the
     brief moment before JS first runs, or if it's disabled entirely.
     Sticky footer: on short pages (Login, a bare account tab, etc.) the
     footer used to end right after the content instead of reaching the
     bottom of the viewport, leaving body's own background exposed as a
     blank gap below it. display:flex + .site-footer's margin-top:auto
     (below) pushes it to the bottom regardless of how little content is
     above it — the fixed-position overlays (#nav, #veil, drawers, cursor)
     are unaffected since fixed elements sit outside normal flex flow.
     Flex is a straightforward swap for body's own default block stacking
     here since every layout inside already uses its own flex/grid, not
     float-based flow. */
  min-height:100vh;
  min-height:var(--kt-vh, 100vh);
  display:flex;
  flex-direction:column;
}
a{color:inherit;text-decoration:none}
button{cursor:none;border:none;background:none;font-family:inherit;color:inherit}

/* ─── CURSOR — GPU only, no layout triggers ─── */
#cur-dot,#cur-ring{
  position:fixed;top:0;left:0;
  pointer-events:none;
  will-change:transform;
  backface-visibility:hidden;
}
#cur-dot{
  width:7px;height:7px;
  margin:-3.5px 0 0 -3.5px;
  border-radius:50%;
  background:var(--gold);
  z-index:9999;
  transition:width .18s,height .18s,background .18s;
}
#cur-ring{
  width:38px;height:38px;
  margin:-19px 0 0 -19px;
  border-radius:50%;
  border:1.5px solid rgba(27,26,255,.6);
  z-index:9998;
  transition:width .3s var(--ease),height .3s var(--ease),border-color .2s,background .2s;
}
body.ch #cur-dot{width:10px;height:10px;background:var(--violet);margin:-5px 0 0 -5px}
body.ch #cur-ring{width:54px;height:54px;margin:-27px 0 0 -27px;border-color:var(--violet);background:rgba(27,26,255,.08)}
body.cc #cur-ring{width:28px;height:28px;margin:-14px 0 0 -14px}

/* This cursor only ever moves on a real "mousemove" event, which never
   fires on a touchscreen — but touch devices still dispatch one synthetic
   mouse event after the first tap (for legacy site compatibility), which
   is enough to snap #cur-dot/#cur-ring to that tap position once and leave
   them stranded there for the rest of the visit, since nothing ever moves
   them again. .touch-ripple (the touch equivalent, below) already guards
   itself with 'ontouchstart' in window; this one had no such guard. */
@media (hover:none), (pointer:coarse){
  #cur-dot,#cur-ring{display:none}
}

/* ─── PAGE VEIL ─── */
#veil{
  position:fixed;inset:0;z-index:8900;
  background:rgb(var(--bg-rgb));
  clip-path:inset(100% 0 0 0);
  pointer-events:none;
  transition:clip-path .48s var(--easeIn);
}
#veil.on{clip-path:inset(0);pointer-events:all}
#veil.off{clip-path:inset(0 0 100% 0);transition:clip-path .42s var(--ease)}

/* ─── BACK TO TOP ─── */
#kt-to-top{
  position:fixed;right:1.25rem;bottom:1.25rem;z-index:600;
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--violet);color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.25);
  opacity:0;pointer-events:none;transform:translateY(8px);
  transition:opacity .2s,transform .2s;
}
#kt-to-top.show{opacity:1;pointer-events:auto;transform:translateY(0)}
#kt-to-top:hover{opacity:.9}

/* ─── COOKIE NOTICE ─── */
#kt-cookie-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:700;
  display:flex;align-items:center;justify-content:center;gap:1.5rem;flex-wrap:wrap;
  padding:1rem 3rem;background:#0A0A0A;border-top:1px solid rgba(255,255,255,.12);
  box-shadow:0 -8px 24px rgba(0,0,0,.25);
}
#kt-cookie-bar p{margin:0;font-size:.8rem;line-height:1.6;color:rgba(255,255,255,.7);max-width:640px}
#kt-cookie-bar a{color:var(--gold);text-decoration:underline}
#kt-cookie-ok{
  flex-shrink:0;padding:.6rem 1.75rem;border-radius:100px;border:none;
  background:var(--gold);color:#0C0A1A;font-size:.8rem;font-weight:700;letter-spacing:.02em;
  cursor:pointer;transition:opacity .2s;
}
#kt-cookie-ok:hover{opacity:.9}
@media(max-width:680px){
  #kt-cookie-bar{padding:1rem 1.25rem;justify-content:flex-start;text-align:left}
}

/* ─── NAV ─── */
/* Normal in-flow nav (not fixed/sticky) — it scrolls away with the page
   like any other element. Every fixed/sticky/JS-pin variant tried here
   had its own real, on-device-confirmed rendering bug on Android Chrome
   while logged in (nav visually detaching from its measured position
   during scroll); static positioning has no scroll-compositing behavior
   at all, so that whole bug class is structurally impossible now. */
#nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.25rem 3rem;
  transition:border-color .5s,color .3s;
  border-bottom:1px solid var(--border);
  gap:2rem;
  background:var(--bg);
}
#nav.is-scrolling{transition:none}
.n-logo{display:flex;align-items:center;flex-shrink:0}
.n-logo img{height:52px;width:auto;display:block;filter:brightness(0) saturate(100%)}
.n-links{display:flex;gap:2.25rem;list-style:none;flex:1;justify-content:center}
.n-link{
  font-size:.8rem;font-weight:500;letter-spacing:.04em;
  color:rgba(var(--white-rgb),.5);transition:color .2s;
  position:relative;padding:.25rem 0;
  white-space:nowrap;
}
.n-link::after{
  content:'';position:absolute;bottom:-1px;left:0;right:0;
  height:1px;background:var(--accent-ink);
  transform:scaleX(0);transform-origin:left;transition:transform .32s var(--ease);
}
.n-link:hover,.n-link.active{color:rgb(var(--white-rgb))}
.n-link:hover::after,.n-link.active::after{transform:scaleX(1)}
.n-cta{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.6rem 1.5rem;border-radius:100px;
  background:var(--violet);color:var(--violet-ink) !important;
  font-size:.8rem;font-weight:600;letter-spacing:.06em;
  box-shadow:0 0 28px rgba(27,26,255,.4);
  transition:opacity .2s,transform .15s,box-shadow .2s;
  white-space:nowrap;flex-shrink:0;
}
.n-cta:hover{opacity:.9;transform:translateY(-1px);box-shadow:0 0 40px rgba(27,26,255,.55)}
/* nav right cluster */
.n-end{display:flex;align-items:center;gap:.625rem;flex-shrink:0}
/* icon buttons (search, hamburger) */
.n-icon-btn{
  width:38px;height:38px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  color:rgba(var(--white-rgb),.55);
  border:1px solid transparent;
  transition:color .2s,border-color .2s,background .2s;
}
.n-icon-btn:hover{color:rgb(var(--white-rgb));border-color:var(--border);background:var(--surface)}
/* hamburger icon */
.n-ham{display:flex;flex-direction:column;gap:5px;width:18px}
.n-ham span{display:block;height:1.5px;background:currentColor;border-radius:2px;transition:transform .3s var(--ease),opacity .2s,width .3s}
.n-ham span:nth-child(3){width:65%}
.n-icon-btn.open .n-ham span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}
.n-icon-btn.open .n-ham span:nth-child(2){opacity:0;transform:scaleX(0)}
.n-icon-btn.open .n-ham span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);width:100%}

/* ─── NAV DRAWER ───
   Overlays/drawers stay dark "system chrome" regardless of the page's own
   light/dark ground underneath — same reasoning as .dark-zone, applied
   directly since these are fixed IDs in index.html rather than per-page
   template output. */
#nd-overlay{
  --bg-rgb:9,6,10;
  position:fixed;inset:0;z-index:600;
  background:rgba(var(--bg-rgb),.65);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  opacity:0;pointer-events:none;transition:opacity .35s var(--ease);
}
#nd-overlay.open{opacity:1;pointer-events:all}
#nav-drawer{
  /* rgb(var(--white-rgb))/rgb(var(--bg-rgb)) don't retroactively re-derive from an
     overridden --white-rgb/--bg-rgb further down the tree (custom
     properties that reference other custom properties resolve once,
     where they're declared) — set color/background directly here too so
     normal (reliable) property inheritance carries the right value to
     every descendant instead of each one re-deriving rgb(var(--white-rgb)). */
  --bg-rgb:9,6,10;--white-rgb:242,237,229;--border:rgba(27,26,255,.2);--border2:rgba(27,26,255,.36);--muted:#9A8085;--surface:rgba(27,26,255,.06);--accent-ink:var(--gold);
  color:rgb(var(--white-rgb));
  position:fixed;top:0;right:0;bottom:0;z-index:700;
  width:min(340px,90vw);
  background:rgba(10,10,10,.98);border-left:1px solid var(--border);
  backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);
  display:flex;flex-direction:column;
  transform:translateX(100%);
  transition:transform .4s var(--ease);
  overflow-y:auto;
}
#nav-drawer.open{transform:none}
.nd-top{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.5rem 1.75rem;
  border-bottom:1px solid var(--border);
}
.nd-logo{display:flex;align-items:center}
.nd-logo img{height:26px;width:auto;display:block}
.nd-close{
  width:36px;height:36px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);color:rgba(var(--white-rgb),.5);font-size:1rem;
  transition:all .2s;
}
.nd-close:hover{color:rgb(var(--white-rgb));border-color:var(--border2);background:var(--surface)}
.nd-links{padding:2rem 1.75rem;flex:1}
.nd-link{
  display:flex;align-items:center;justify-content:space-between;
  padding:.875rem 0;
  font-size:1.0625rem;font-weight:500;color:rgba(var(--white-rgb),.85);
  border-bottom:1px solid rgba(27,26,255,.15);
  transition:color .2s,padding-left .2s;
}
.nd-link:hover,.nd-link.active{color:rgb(var(--white-rgb));padding-left:.5rem}
.nd-link span{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.nd-bottom{padding:1.75rem;border-top:1px solid var(--border)}

/* ─── CART DRAWER — same slide-in mechanics as the nav drawer ─── */
#cart-overlay{
  --bg-rgb:9,6,10;
  position:fixed;inset:0;z-index:600;
  background:rgba(var(--bg-rgb),.65);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  opacity:0;pointer-events:none;transition:opacity .35s var(--ease);
}
#cart-overlay.open{opacity:1;pointer-events:all}
#cart-drawer{
  --bg-rgb:9,6,10;--white-rgb:242,237,229;--border:rgba(27,26,255,.2);--border2:rgba(27,26,255,.36);--muted:#9A8085;--surface:rgba(27,26,255,.06);--accent-ink:var(--gold);
  color:rgb(var(--white-rgb));
  position:fixed;top:0;right:0;bottom:0;z-index:700;
  width:min(400px,90vw);
  background:rgba(10,10,10,.98);border-left:1px solid var(--border);
  backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);
  display:flex;flex-direction:column;
  transform:translateX(100%);
  transition:transform .4s var(--ease);
}
#cart-drawer.open{transform:none}
.cd-top{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.5rem 1.75rem;border-bottom:1px solid var(--border);flex-shrink:0;
}
.cd-title{font-family:var(--f-body);font-size:1.0625rem;font-weight:700}
.cd-close{
  width:36px;height:36px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);color:rgba(var(--white-rgb),.5);
  transition:all .2s;
}
.cd-close:hover{color:rgb(var(--white-rgb));border-color:var(--border2);background:var(--surface)}
.cd-body{padding:1.5rem 1.75rem;flex:1;overflow-y:auto}

/* WooCommerce's own mini-cart markup (woocommerce_mini_cart()) — fixed
   class names from WC core, not ours to rename, so styled as-is here. */
.cd-body .woocommerce-mini-cart{list-style:none;display:flex;flex-direction:column;gap:1.1rem}
.cd-body .woocommerce-mini-cart-item{
  position:relative;display:flex;align-items:center;gap:.9rem;
  padding-bottom:1.1rem;border-bottom:1px solid var(--border);
}
.cd-body .woocommerce-mini-cart-item img{width:56px;height:56px;object-fit:cover;border-radius:8px;flex-shrink:0}
.cd-body .woocommerce-mini-cart-item a:not(.remove){font-size:.875rem;font-weight:600;color:rgb(var(--white-rgb));display:block;margin-bottom:.25rem}
.cd-body .woocommerce-mini-cart-item .quantity{font-family:var(--f-mono);font-size:.72rem;color:var(--muted)}
.cd-body .woocommerce-mini-cart-item .remove{
  position:absolute;top:0;right:0;
  width:22px;height:22px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;line-height:1;color:var(--muted)!important;
  text-decoration:none!important;transition:all .15s;
}
.cd-body .woocommerce-mini-cart-item .remove:hover{color:#fff!important;background:rgba(214,72,63,.6)!important}
.cd-body .woocommerce-mini-cart__total{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:1.25rem;margin-top:.25rem;font-size:.9rem;
}
.cd-body .woocommerce-mini-cart__total .amount{font-family:var(--f-body);font-weight:700;color:var(--accent-ink);font-size:1.1rem}
.cd-body .woocommerce-mini-cart__buttons{display:flex;flex-direction:column;gap:.6rem;margin-top:1.25rem}
.cd-body .woocommerce-mini-cart__buttons .button{
  display:flex;align-items:center;justify-content:center;
  width:100%;padding:.9rem 1.5rem;border-radius:100px;
  font-size:.85rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;
  text-decoration:none;transition:opacity .2s;
}
/* !important on color: the generic .woocommerce .button rule further down
   also sets color with !important (meant for its own solid-blue default),
   which otherwise wins over this transparent "View Cart" variant's color
   regardless of specificity — same bug already found/fixed on the license
   picker's Add to Cart button. */
.cd-body .woocommerce-mini-cart__buttons .button:not(.checkout){background:transparent!important;border:1.5px solid var(--border2);color:rgb(var(--white-rgb))!important}
.cd-body .woocommerce-mini-cart__buttons .button:not(.checkout):hover{border-color:var(--accent-ink);color:var(--accent-ink)!important}
.cd-body .woocommerce-mini-cart__buttons .button.checkout{background:var(--violet);border:none;color:var(--violet-ink)!important}
.cd-body .woocommerce-mini-cart__buttons .button.checkout:hover{opacity:.9}
.cd-body .woocommerce-mini-cart__empty-message{color:var(--muted);font-size:.9rem;text-align:center;padding:3rem 0}

/* Inline nav search — a plain pill (icon + input + Search button + close),
   swapped in for .n-links while active instead of a full-screen takeover.
   Inherits the nav's own current color scheme (light body vs. floating
   over a dark hero vs. scrolled) rather than forcing its own palette. */
.n-search-inline{
  display:none;align-items:center;gap:.65rem;
  flex:1;max-width:560px;margin:0 2rem;min-width:0;
  background:rgba(var(--bg-rgb),.55);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border:1px solid var(--border);border-radius:100px;
  padding:.55rem .55rem .55rem 1.1rem;color:inherit;
}
#nav.search-active .n-search-inline{display:flex}
#nav.search-active .n-links{display:none}
.n-search-inline-input{
  flex:1;min-width:0;background:none;border:none;outline:none;
  color:inherit;font-family:var(--f-body);font-size:.85rem;
}
.n-search-inline-input::placeholder{color:currentColor;opacity:.55}
.n-search-inline-btn{
  flex-shrink:0;padding:.55rem 1.25rem;border-radius:100px;
  background:var(--violet);color:var(--violet-ink);
  font-size:.78rem;font-weight:700;letter-spacing:.02em;white-space:nowrap;
}
.n-search-inline-close{
  flex-shrink:0;width:26px;height:26px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:inherit;opacity:.6;transition:opacity .2s;
}
.n-search-inline-close:hover{opacity:1}
@media(max-width:1080px){
  .n-search-inline{margin:0 1rem}
}
@media(max-width:640px){
  .n-search-inline{margin:0 .5rem;padding:.5rem .5rem .5rem .85rem}
  .n-search-inline-btn{padding:.5rem .9rem}
}

/* ─── COMMON ─── */
/* JS-rendered marketing pages (Home/License/Corporate/Freebies/Contact)
   inject their whole page — including footer() — inside #app, so #app
   itself (not .site-footer directly) needs to be the flex item that
   grows to fill any leftover viewport height; .site-footer's own
   margin-top:auto (see FOOTER section) then pushes it to #app's bottom. */
#app{display:flex;flex-direction:column;flex:1}
.mono{font-family:var(--f-mono);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
/* Visually hidden but still announced by screen readers — for a real,
   accessible page heading on pages whose visual design has no text
   heading to promote (e.g. Shop, which opens straight on the image
   marquee with no headline). */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* color: !important on .btn-gold/.btn-violet/.n-cta below (and further
   down on .n-cta itself) — WooCommerce adds a "woocommerce" class to
   <body> on every Shop/Product/Cart/Checkout/My Account page, and
   .woocommerce a{color:inherit} (class+element, out-specificities a
   plain class) then silently wins over these buttons' own color even
   though the buttons themselves (nav CTA, hero buttons, drawer links)
   have nothing to do with WooCommerce content. Confirmed live: the nav's
   "License for Business" button rendered with near-black text on its
   solid blue background on the Shop page specifically (contrast ratio
   2.49) while looking correct on plain pages like License/Corporate —
   exactly the "some pages" pattern reported. */
.btn-gold{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.85rem 2.25rem;border-radius:100px;
  background:var(--gold);
  color:#0C0A1A !important;font-size:.875rem;font-weight:700;letter-spacing:.04em;
  box-shadow:0 0 24px rgba(214,255,28,.35);
  transition:opacity .2s,transform .15s,box-shadow .2s;
}
.btn-gold:hover{opacity:.9;transform:translateY(-1px);box-shadow:0 0 38px rgba(214,255,28,.5)}
.btn-outline{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.85rem 2.25rem;border-radius:100px;
  border:1px solid var(--border2);font-size:.875rem;letter-spacing:.04em;
  transition:border-color .2s,background .2s;
}
.btn-outline:hover{border-color:var(--accent-ink);background:var(--gold-f)}
.btn-violet{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.85rem 2.25rem;border-radius:100px;
  background:var(--violet);
  color:var(--violet-ink) !important;font-size:.875rem;font-weight:700;letter-spacing:.04em;
  box-shadow:0 0 24px rgba(27,26,255,.35);
  transition:opacity .2s,transform .15s;
}
.btn-violet:hover{opacity:.9;transform:translateY(-1px)}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}

/* ─── TICKER ─── */
/* Bold lime/black marquee band — Aurelia-reference style. */
.ticker{border-top:2px solid #000;border-bottom:2px solid #000;padding:1.1rem 0;overflow:hidden;background:var(--gold)}
.t-track{display:flex;width:max-content;animation:tick 34s linear infinite}
.t-track:hover{animation-play-state:paused}
.t-set{display:flex;align-items:center;font-family:var(--f-heavy);font-size:1.1rem;letter-spacing:0;color:#0A0A0A;white-space:nowrap;text-transform:uppercase}
.t-set span{padding:0 1.1rem}
.tplus{font-family:var(--f-heavy);font-size:1.1rem;color:#0A0A0A;opacity:.6;flex-shrink:0}
/* Shift by exactly one .t-set so the next copy lands where the last began.
   initHome() measures that set and sets --tick-shift in px, because the
   percentage only works out to one set when the track holds exactly two —
   and it holds more than two on wide screens, where two do not cover the
   viewport. The -50% fallback is correct for the two sets in the markup, so
   the strip still animates sensibly if the script never runs. */
@keyframes tick{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--tick-shift, 50%)))}}

/* ─── HERO ─── */
.home-hero{
  /* --kt-vh (JS-measured real viewport height) — see the body{} rule's
     comment above for why this replaced vh/svh/dvh entirely. */
  position:relative;min-height:100vh;min-height:var(--kt-vh, 100vh);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}

/* Hero left — centered headline content */
.hero-left{
  position:relative;z-index:2;
  display:flex;flex-direction:column;align-items:center;
  text-align:center;
  padding:0 2rem;
  max-width:780px;
  margin-top:-4rem;
}
.hero-eyebrow{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-bottom:2rem;opacity:0;animation:fadeUp .6s var(--ease) .1s forwards}
.hero-eyebrow::before{content:'';display:block;width:1.5rem;height:1px;background:var(--gold);flex-shrink:0}
.hero-eyebrow::after{content:'';display:block;width:2rem;height:1px;background:var(--gold);opacity:.28;flex-shrink:0}
.hero-star{flex-shrink:0;position:relative;top:-1px}
.hero-line1{
  font-family:var(--f-heavy);font-size:clamp(3rem,6.5vw,6.5rem);
  font-weight:400;line-height:.95;letter-spacing:0;text-transform:uppercase;
  clip-path:inset(0 0 100% 0);animation:clipUp .8s var(--ease) .25s forwards;
}
.hero-cycle-wrap{
  position:relative;overflow:hidden;
  height:clamp(4rem,7.5vw,8rem);margin-bottom:1.75rem;
  width:100%;text-align:center;
}
.hero-cycle-word{
  font-family:var(--f-heavy);font-size:clamp(3rem,6.5vw,6.5rem);
  font-weight:400;line-height:.95;letter-spacing:0;text-transform:uppercase;
  color:var(--accent-ink);white-space:nowrap;
  position:absolute;top:0;left:0;width:100%;
  clip-path:inset(100% 0 0 0);
  animation:clipUp .9s var(--ease) .55s forwards;
  will-change:clip-path,opacity;
  /* Without a stable compositing layer, animating clip-path on this text
     every 2.8s (it cycles through CYCLE_WORDS indefinitely, see theme.js
     initHome()) causes visible ghosting/double-struck glyphs mid-transition
     in some browsers — the text briefly renders as an overlapping smear
     instead of a clean wipe. transform + backface-visibility force the
     browser to keep one persistent layer instead of creating/destroying
     one on every cycle, which is what triggers the artifact. */
  transform:translateZ(0);backface-visibility:hidden;
}
.hero-sub{font-size:1.0625rem;color:rgba(var(--white-rgb),.48);max-width:460px;line-height:1.8;margin:0 auto 2.75rem;text-align:center;opacity:0;animation:fadeUp .6s var(--ease) .9s forwards}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center;opacity:0;animation:fadeUp .6s var(--ease) 1.1s forwards}
.hero-stats{
  display:flex;align-items:center;justify-content:center;gap:2rem;
  margin-top:3rem;opacity:0;animation:fadeUp .6s var(--ease) 1.3s forwards;
}
.hero-stat{display:flex;flex-direction:column;align-items:center;gap:.35rem}
.hero-stat-num{font-family:var(--f-heavy);font-size:clamp(1.75rem,3vw,2.5rem);font-weight:400;color:var(--accent-ink);line-height:1}
.hero-stat-lbl{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(var(--white-rgb),.55)}
.hero-stat-div{width:1px;height:2.5rem;background:rgba(var(--white-rgb),.18)}

@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes clipUp{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0% 0)}}

/* Hero bg — solid blue (Aurelia-reference palette), static (no glow/
   animation), with a faint fixed grain texture for depth. */
.hero-kt{
  position:absolute;inset:0;z-index:0;
  background:var(--violet);
  pointer-events:none;
}
.hero-kt::before{
  content:'';position:absolute;inset:0;
  opacity:.5;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hkt-alt-badge{
  font-family:var(--f-mono);font-size:.48rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);border:1px solid rgba(27,26,255,.25);
  padding:.2rem .5rem;border-radius:99px;background:rgba(27,26,255,.07);
  white-space:nowrap;
}

/* hero scroll indicator */
.hero-scroll{
  position:absolute;bottom:5.5rem;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:.5rem;
  opacity:0;animation:fadeUp .5s var(--ease) 1.6s forwards;
  z-index:3;
}
.hero-scroll-bar{width:1px;height:3rem;background:linear-gradient(to bottom,transparent,var(--muted));animation:scrollp 2.5s ease-in-out infinite}
@keyframes scrollp{0%,100%{opacity:.3}50%{opacity:.85}}

/* ─── FONT GRID ─── */
.sect{padding:6rem 3rem}
.sect-hdr{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:3.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border);gap:1rem}
.sect-kicker{font-family:var(--f-mono);font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-ink);opacity:.7;margin-bottom:.5rem}
.sect-title{font-family:var(--f-heavy);font-size:clamp(1.625rem,2.5vw,2.25rem);font-weight:400;line-height:1.1;letter-spacing:0;text-transform:uppercase}
.sect-link{font-size:.8rem;color:var(--muted);transition:color .2s;white-space:nowrap}
.sect-link:hover{color:var(--accent-ink)}
.font-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.fc{
  display:block;text-decoration:none;color:inherit;
  background:var(--surface);border:1px solid var(--border);border-radius:20px;
  padding:2rem 2rem 1.75rem;position:relative;overflow:hidden;
  transition:background .3s,border-color .3s,transform .38s var(--ease),box-shadow .38s;
}
.fc:hover{
  background:var(--glass);border-color:rgba(var(--white-rgb),.2);
  transform:translateY(-5px);
  box-shadow:0 28px 70px rgba(0,0,0,.55),0 0 0 1px rgba(214,255,28,.12);
}
.fc-tag{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:1.25rem}
.fc-specimen{line-height:1.1;margin-bottom:1.25rem;min-height:5rem;transition:transform .5s var(--ease)}
.fc:hover .fc-specimen{transform:scale(1.025)}
.fc-name{font-size:.9rem;font-weight:600}
.fc-desc{font-size:.78rem;color:rgba(var(--white-rgb),.4);line-height:1.65;margin-top:.4rem}
.fc-footer{display:flex;justify-content:space-between;align-items:center;margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border)}
.fc-meta{font-family:var(--f-mono);font-size:.58rem;color:var(--muted);letter-spacing:.08em}
.fc-price{font-family:var(--f-mono);font-size:.875rem;color:var(--accent-ink);font-weight:700}
.fc-cta{
  position:absolute;bottom:0;left:0;right:0;
  padding:1rem;background:var(--violet);color:var(--violet-ink);
  font-size:.78rem;font-weight:600;letter-spacing:.06em;text-align:center;
  transform:translateY(100%);transition:transform .38s var(--ease);
}
.fc:hover .fc-cta{transform:translateY(0)}

/* ─── SHOP ─── */
.shop-hero{padding:5rem 3rem 4rem;border-bottom:1px solid var(--border);background:transparent}
.shop-filters{display:flex;gap:.5rem;padding:1.5rem 3rem;border-bottom:1px solid var(--border);overflow-x:auto;background:rgba(var(--white-rgb),.018)}
.f-btn{
  padding:.4rem 1.25rem;border:1px solid var(--border);border-radius:100px;
  font-size:.78rem;font-weight:500;color:var(--muted);white-space:nowrap;
  transition:all .2s;
}
.f-btn:hover,.f-btn.active{border-color:var(--accent-ink);color:var(--accent-ink);background:var(--gold-f)}
.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;padding:3rem}
.sc{
  display:block;text-decoration:none;color:inherit;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  overflow:hidden;
  transition:transform .38s var(--ease),box-shadow .38s,border-color .25s;
}
.sc:hover{transform:translateY(-6px);border-color:var(--border2);box-shadow:0 24px 60px rgba(14,10,11,.14),0 0 0 1px rgba(214,255,28,.15)}
/* 3:2 matches the real upload dimensions (admin.php requires 3:2, e.g.
   2340×1560) — sizing the box to that exact ratio instead of a fixed
   height means "cover" never has to crop/stretch to fit a mismatched box. */
.sc-poster{aspect-ratio:3/2;height:auto;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;transition:transform .5s var(--ease);background-size:cover;background-position:center}
.sc:hover .sc-poster{transform:scale(1.04)}
/* Fills its parent exactly as a background-size:cover did, so swapping a
   CSS background for a real <img> changes nothing visually. Absolutely
   positioned rather than a flex child, because these parents centre their
   children — which the font-specimen and initial-letter fallbacks next to
   them still rely on. Parent must be position:relative + overflow:hidden;
   .sc-poster, .bc-img and .fc-specimen-media all already are.
   .kt-cover-img is the general name; .sc-poster-img is kept as an alias so
   the shop card markup already sent out does not have to change again. */
.sc-poster-img,
.kt-cover-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
/* Related-product card: the old inline background carried its own
   min-height and radius, so the replacement box needs them too. */
.fc-specimen-media{position:relative;overflow:hidden;min-height:140px;height:140px;border-radius:8px}
.sc-poster-tag{
  position:absolute;top:.75rem;left:.75rem;z-index:2;
  padding:.3rem .7rem;border-radius:100px;
  background:rgba(10,10,10,.6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  color:#fff;font-family:var(--f-mono);font-size:.56rem;letter-spacing:.1em;text-transform:uppercase;
  white-space:nowrap;
}
.sc-info{padding:1.25rem 1.5rem 1.5rem;border-top:1px solid var(--border)}
.sc-info-top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.sc-info-price{text-align:right;flex-shrink:0}
.sc-name{font-size:.9375rem;font-weight:600;margin-bottom:.2rem}
.sc-cat{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.sc-footer{display:flex;align-items:center;justify-content:space-between;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}
.sc-price{font-family:var(--f-mono);font-size:.9rem;color:var(--accent-ink);font-weight:700}
.sc-buy{padding:.45rem 1.1rem;background:var(--violet);color:var(--violet-ink);font-size:.75rem;font-weight:600;letter-spacing:.04em;border-radius:100px;transition:opacity .2s;font-family:var(--f-body)}
.sg-pagination{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 3rem 5rem;flex-wrap:wrap}
.sg-page-btn{width:36px;height:36px;border-radius:8px;border:1px solid var(--border);font-family:var(--f-mono);font-size:.8rem;color:var(--muted);transition:all .2s;flex-shrink:0}
.sg-page-btn:hover{border-color:var(--accent-ink);color:var(--accent-ink)}
.sg-page-btn.active{background:var(--violet);border-color:var(--violet);color:var(--violet-ink)}
.sg-page-nav{padding:0 1.1rem;height:36px;border-radius:8px;border:1px solid var(--border);font-family:var(--f-body);font-size:.8rem;font-weight:600;color:var(--muted);transition:all .2s;white-space:nowrap}
.sg-page-nav:hover:not(:disabled){border-color:var(--accent-ink);color:var(--accent-ink)}
.sg-page-nav:disabled{opacity:.35;cursor:not-allowed}
.sc-buy:hover{opacity:.85}

/* ─── PRODUCT ─── */
.prod-wrap{max-width:1200px;margin:0 auto}
.prod-bc{font-family:var(--f-mono);font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);padding:2rem 3rem 0;display:flex;gap:.75rem;align-items:center}
.prod-bc a:hover{color:var(--accent-ink)}
.prod-cols{display:grid;grid-template-columns:1fr 400px;gap:4rem;padding:2rem 3rem 3rem;align-items:start}
.prod-cols>div{min-width:0}
.mockup{height:260px;border-radius:14px;overflow:hidden;margin-bottom:1rem;display:flex;align-items:center;justify-content:center}
.prod-stick{position:sticky;top:88px}
.prod-name{font-family:var(--f-body);font-size:clamp(2rem,3.2vw,3rem);font-weight:700;line-height:1.15;margin-bottom:.5rem}
.prod-chips{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.75rem}
.chip{padding:.28rem .8rem;background:var(--surface);border:1px solid var(--border);border-radius:100px;font-family:var(--f-mono);font-size:.6rem;letter-spacing:.08em;color:var(--muted)}
/* ── Product: compact license selector ── */
/* ── License checkbox list ── */
.plicense-wrap{margin-top:1.5rem;position:relative}
.plicense-label{font-family:var(--f-mono);font-size:.58rem;letter-spacing:.11em;text-transform:uppercase;color:rgba(var(--white-rgb),.38);margin-bottom:.75rem}
.plic-list{display:flex;flex-direction:column;gap:.35rem}
.plic-row{
  display:flex;align-items:center;gap:.75rem;
  padding:.75rem 1rem;
  border:1px solid var(--border);border-radius:10px;
  cursor:pointer;
  transition:border-color .18s,background .18s;
  position:relative;
}
.plic-row:hover{border-color:rgba(27,26,255,.5);background:rgba(27,26,255,.04)}
.plic-row.sel{border-color:var(--violet);background:rgba(27,26,255,.09)}
.plic-cb{
  width:18px;height:18px;border-radius:5px;flex-shrink:0;
  border:1.5px solid rgba(27,26,255,.3);
  display:flex;align-items:center;justify-content:center;
  transition:border-color .15s,background .15s;
}
.plic-row.sel .plic-cb{border-color:var(--violet);background:var(--violet)}
.plic-cb svg{opacity:0;transition:opacity .15s}
.plic-row.sel .plic-cb svg{opacity:1}
.plic-name{flex:1;font-size:.8rem;font-weight:600;color:rgb(var(--white-rgb));line-height:1}
.plic-badge{font-size:.45rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;background:var(--gold);color:#07040F;padding:.1rem .32rem;border-radius:3px;vertical-align:middle;margin-left:.4rem}
.plic-price{font-family:var(--f-mono);font-size:.78rem;font-weight:700;color:var(--accent-ink);flex-shrink:0}
.plic-info{
  width:20px;height:20px;border-radius:50%;flex-shrink:0;
  border:1px solid rgba(var(--white-rgb),.3);color:rgba(var(--white-rgb),.6);
  font-family:var(--f-mono);font-size:.62rem;font-style:italic;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  transition:border-color .15s,color .15s,background .15s;
}
.plic-info:hover{border-color:var(--accent-ink);color:var(--accent-ink);background:rgba(214,255,28,.08)}
/* Hover detail card — floats to the left */
.plic-dc{
  position:absolute;right:calc(100% + 1rem);top:0;
  width:220px;
  background:rgb(var(--bg-rgb));
  border:1px solid rgba(27,26,255,.28);border-radius:16px;
  padding:1.2rem;
  pointer-events:none;
  opacity:0;transform:translateX(6px) scale(.98);
  transition:opacity .2s,transform .2s;
  z-index:200;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}
.plic-dc.vis{opacity:1;transform:translateX(0) scale(1)}
.plic-dc-icon{
  width:38px;height:38px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:.85rem;flex-shrink:0;
}
.plic-dc-name{font-size:.8rem;font-weight:700;color:rgb(var(--white-rgb));margin-bottom:.28rem;line-height:1.2}
.plic-dc-desc{font-size:.68rem;color:rgba(var(--white-rgb),.42);line-height:1.55;margin-bottom:.85rem}
.plic-dc-sec{font-family:var(--f-mono);font-size:.5rem;letter-spacing:.11em;text-transform:uppercase;margin-bottom:.38rem;display:flex;align-items:center;gap:.3rem}
.plic-dc-sec.g{color:#4ADE80}
.plic-dc-sec.r{color:#F87171}
.plic-dc-ul{list-style:none;margin:0 0 .65rem;padding:0;display:flex;flex-direction:column;gap:.26rem}
.plic-dc-ul li{font-size:.68rem;line-height:1.4;display:flex;align-items:baseline;gap:.38rem}
.plic-dc-ul.perm li{color:rgba(var(--white-rgb),.78)}
.plic-dc-ul.proh li{color:rgba(var(--white-rgb),.4)}
/* ── License detail modal (kept for mobile) ── */
.lic-modal{
  --bg-rgb:9,6,10;
  display:none;position:fixed;inset:0;z-index:9000;
  background:rgba(var(--bg-rgb),.72);backdrop-filter:blur(8px);
  align-items:center;justify-content:center;padding:1.5rem;
}
.lic-modal.open{display:flex}
.lic-modal-panel{
  background:rgb(var(--bg-rgb));
  border:1px solid rgba(27,26,255,.28);border-radius:20px;
  width:100%;max-width:460px;max-height:88vh;overflow-y:auto;
  box-shadow:0 32px 80px rgba(0,0,0,.7);
  animation:modalIn .28s var(--ease);
}
@keyframes modalIn{from{opacity:0;transform:scale(.95) translateY(10px)}to{opacity:1;transform:none}}
.lic-modal-head{display:flex;align-items:flex-start;justify-content:space-between;padding:1.5rem 1.5rem 0}
.lic-modal-title{font-family:var(--f-body);font-size:1.25rem;font-weight:700;letter-spacing:-.02em;line-height:1.15}
.lic-modal-price{font-family:var(--f-mono);font-size:1.1rem;color:var(--accent-ink);font-weight:700;margin-top:.25rem}
.lic-modal-close{width:32px;height:32px;border-radius:50%;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--muted);font-size:1rem;line-height:1;transition:border-color .2s,color .2s;cursor:pointer}
.lic-modal-close:hover{border-color:var(--violet);color:rgb(var(--white-rgb))}
.lic-modal-body{padding:1.25rem 1.5rem 1.5rem}
.lic-modal-sec-lbl{font-family:var(--f-mono);font-size:.55rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:.5rem}
.lic-modal-feats{list-style:none;display:flex;flex-direction:column;gap:.35rem;margin:0;padding:0}
.lic-modal-feats li{display:flex;align-items:baseline;gap:.55rem;font-size:.78rem;color:rgba(var(--white-rgb),.75);line-height:1.4}
.lic-modal-feats.muted li{color:rgba(var(--white-rgb),.42)}
.lic-modal-feats li svg{flex-shrink:0;position:relative;top:1px}
.lic-modal-divider{height:1px;background:var(--border);margin:1rem 0}
.lic-modal-buy{
  display:flex;align-items:center;justify-content:center;gap:.65rem;
  width:100%;padding:.875rem 1.5rem;border-radius:100px;
  background:var(--violet);
  color:var(--violet-ink);font-size:.875rem;font-weight:700;margin-top:1rem;
  transition:filter .2s;
}
.lic-modal-buy:hover{filter:brightness(1.1)}
.fsoon{margin:0 3rem 4rem;padding:2.5rem;border:1px dashed rgba(27,26,255,.28);border-radius:16px;display:flex;align-items:center;gap:2rem}
.fsoon-text{flex:1}
.fsoon-form{margin:0;max-width:300px;flex-shrink:0}
/* ── Product: type tester ── */
/* Nested inside .prod-gallery-mount (which already sits inside .prod-cols'
   own padding), not a full-bleed section — no side padding needed here. */
.prod-tester-sect{margin-top:2.5rem}
.kt-tt-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.kt-tt-tile{border:1px solid var(--border);border-radius:10px;padding:1.1rem 1.25rem}
.kt-tt-tile-label{font-size:.78rem;color:var(--muted);margin-bottom:.4rem}
.kt-tt-tile-val{font-size:1.05rem;font-weight:600}
.kt-tt-tabs{display:flex;border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-bottom:1.5rem}
.kt-tt-tab{flex:1;padding:.9rem 1rem;font-size:.85rem;color:var(--muted);background:transparent;text-align:center;transition:background .2s,color .2s}
.kt-tt-tab+.kt-tt-tab{border-left:1px solid var(--border)}
.kt-tt-tab.active{background:var(--violet);color:#F2EDE5}
.kt-tt-tab:hover:not(.active){color:rgb(var(--white-rgb))}
.kt-tt-controls{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-bottom:1.25rem;align-items:start}
.kt-tt-select{width:100%;padding:.85rem 1rem;background:transparent;border:1px solid var(--border);border-radius:10px;color:rgb(var(--white-rgb));font-size:.85rem}
.kt-tt-size-head{display:flex;justify-content:space-between;font-size:.85rem;margin-bottom:.7rem}
.kt-tt-size-head .kt-tt-size-val{font-family:var(--f-mono);color:var(--muted);font-size:.75rem}
.kt-tt-controls input[type=range]{accent-color:var(--violet)}
.kt-tt-input{width:100%;padding:1rem 1.1rem;background:transparent;border:1px solid var(--border);border-radius:10px;color:rgb(var(--white-rgb));font-size:.85rem;margin-bottom:1.5rem}
.kt-tt-input::placeholder{color:var(--muted)}
.kt-tt-meta-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}
.kt-tt-fontname{font-size:.9rem;color:var(--muted)}
.kt-tt-glyph-btn{padding:.55rem 1.1rem;border:1px solid var(--border);border-radius:8px;font-size:.78rem;color:var(--muted)}
.kt-tt-glyph-btn:hover{color:rgb(var(--white-rgb));border-color:var(--border2)}
.kt-tt-specimen{line-height:1.25;word-break:break-word;color:rgb(var(--white-rgb))}
@media(max-width:640px){
  .kt-tt-tiles,.kt-tt-controls{grid-template-columns:1fr}
}

/* Font Showcase tab — a labeled specimen sheet per uploaded font file */
.kt-fs-block{margin-bottom:2.5rem}
.kt-fs-block:last-child{margin-bottom:0}
.kt-fs-name{font-family:var(--f-body);font-weight:700;font-size:1.05rem;padding:.75rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:10px;margin-bottom:1.25rem;color:rgb(var(--white-rgb))}
.kt-fs-row{border:1px solid var(--border);border-radius:10px;margin-bottom:1rem;overflow:hidden}
.kt-fs-row-2col{display:grid;grid-template-columns:1fr 1fr}
.kt-fs-row-2col .kt-fs-col:first-child{border-right:1px solid var(--border)}
.kt-fs-label{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);text-align:center;padding:.6rem 0;background:var(--surface);border-bottom:1px solid var(--border)}
.kt-fs-big{font-size:1.6rem;text-align:center;padding:1.75rem 1rem;word-break:break-word;line-height:1.3;color:rgb(var(--white-rgb))}
@media(max-width:640px){
  .kt-fs-row-2col{grid-template-columns:1fr}
  .kt-fs-row-2col .kt-fs-col:first-child{border-right:none;border-bottom:1px solid var(--border)}
  .kt-fs-big{font-size:1.25rem;padding:1.25rem 1rem}
}

/* Glyph tab — categorized grid of individual character cells, responsive
   via auto-fill (cells reflow to fit any width, no breakpoints needed) */
.kt-gl-section{margin-bottom:2rem}
.kt-gl-section:last-child{margin-bottom:0}
.kt-gl-heading{font-family:var(--f-body);font-size:1rem;font-weight:700;margin-bottom:1rem;color:rgb(var(--white-rgb))}
.kt-gl-note{font-size:.75rem;color:var(--muted);margin:-.5rem 0 1rem;font-style:italic}
.kt-gl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:.6rem}
.kt-gl-cell{border:1px solid var(--border);border-radius:8px;padding:.85rem .3rem .55rem;text-align:center;transition:border-color .15s,background .15s}
.kt-gl-cell:hover{border-color:var(--accent-ink);background:var(--surface)}
.kt-gl-big{font-size:1.35rem;line-height:1;margin-bottom:.4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgb(var(--white-rgb))}
.kt-gl-small{font-size:.78rem;color:var(--muted);margin-bottom:.35rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kt-gl-code{font-family:var(--f-mono);font-size:.55rem;color:var(--muted);opacity:.7}
/* ── Product: description section ── */
.prod-desc-sect{padding:3rem;border-top:1px solid var(--border)}
.prod-desc-title{font-family:var(--f-body);font-size:1.5rem;font-weight:700;line-height:1.2;letter-spacing:-.025em;margin-bottom:1.25rem}
.prod-desc-body{font-size:.9rem;color:rgba(var(--white-rgb),.65);line-height:1.85;max-width:640px}
.prod-desc-body p{margin:0 0 1rem}
.prod-desc-body strong{color:rgb(var(--white-rgb));font-weight:600}
.prod-desc-body em{font-style:italic;color:rgba(var(--white-rgb),.85)}
.prod-desc-body ul{margin:0 0 1rem;padding-left:1.4rem}
.prod-desc-body li{margin-bottom:.35rem}
.prod-desc-feats{display:flex;flex-direction:column;gap:.6rem;margin-top:1.5rem}
.prod-desc-feat{display:flex;align-items:center;gap:.65rem;font-size:.8rem;color:rgba(var(--white-rgb),.75)}
/* ── Product: reviews section ── */
.prod-reviews-sect{padding:3rem;border-top:1px solid var(--border)}
.prod-reviews-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:2rem;gap:1.5rem}
.prod-rating-big{display:flex;align-items:baseline;gap:.5rem}
.prod-rating-num{font-family:var(--f-disp);font-size:3.5rem;line-height:1;color:rgb(var(--white-rgb))}
.prod-rating-stars{display:flex;gap:3px}
.prod-rating-count{font-size:.75rem;color:var(--muted)}
.prod-reviews-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.prod-review-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.5rem}
.prod-review-top{display:flex;align-items:center;gap:.85rem;margin-bottom:.875rem}
.prod-review-avatar{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:700;flex-shrink:0}
.prod-review-name{font-size:.875rem;font-weight:600;color:rgb(var(--white-rgb))}
.prod-review-date{font-size:.68rem;color:var(--muted)}
.prod-review-stars{display:flex;gap:2px;margin-bottom:.7rem}
.prod-review-text{font-size:.8rem;color:rgba(var(--white-rgb),.62);line-height:1.7}
.prod-review-tag{display:inline-block;font-size:.58rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;background:rgba(27,26,255,.12);border:1px solid rgba(27,26,255,.2);color:var(--violet);padding:.2rem .55rem;border-radius:4px;margin-top:.75rem}
/* Add review form */
.prod-review-form{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.75rem;margin-top:1.5rem}
.prod-review-form-title{font-size:.9375rem;font-weight:700;margin-bottom:1.25rem}
.prod-review-stars-pick{display:flex;gap:.35rem;margin-bottom:1.1rem}
.prod-review-stars-pick svg{cursor:pointer;transition:transform .15s}
.prod-review-stars-pick svg:hover{transform:scale(1.2)}
.prod-rf-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.75rem}
.prod-rf-input{width:100%;background:rgba(var(--white-rgb),.04);border:1px solid var(--border);border-radius:8px;padding:.65rem .875rem;font-size:.8rem;color:rgb(var(--white-rgb));outline:none;transition:border-color .18s}
.prod-rf-input:focus{border-color:rgba(27,26,255,.5)}
.prod-rf-textarea{width:100%;background:rgba(var(--white-rgb),.04);border:1px solid var(--border);border-radius:8px;padding:.65rem .875rem;font-size:.8rem;color:rgb(var(--white-rgb));outline:none;resize:vertical;min-height:90px;margin-bottom:.875rem;transition:border-color .18s;font-family:var(--f-body)}
.prod-rf-textarea:focus{border-color:rgba(27,26,255,.5)}
.prod-rf-submit{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.75rem;border-radius:100px;background:var(--violet);color:var(--violet-ink);font-size:.8rem;font-weight:700;transition:filter .2s}
.prod-rf-submit:hover{filter:brightness(1.1)}
/* ── Product: preview image gallery ── */
.prod-gallery{display:flex;flex-direction:column;gap:.625rem}
.prod-gallery-main{position:relative;border-radius:14px;overflow:hidden;background:rgb(var(--bg-rgb));aspect-ratio:3/2;cursor:zoom-in}
.prod-gallery-main img{width:100%;height:100%;object-fit:cover;display:block}
.prod-gallery-thumbs{display:flex;gap:.5rem;overflow-x:auto;scrollbar-width:none}
.prod-gallery-thumbs::-webkit-scrollbar{display:none}
.prod-thumb{flex-shrink:0;width:64px;height:64px;border-radius:8px;overflow:hidden;cursor:pointer;border:2px solid transparent;transition:border-color .18s}
.prod-thumb.active{border-color:var(--violet)}
.prod-thumb img{width:100%;height:100%;object-fit:cover}
.prod-thumb-mockup{width:64px;height:64px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:1.1rem;cursor:pointer;border:2px solid transparent;transition:border-color .18s;flex-shrink:0}
.prod-thumb-mockup.active{border-color:var(--violet)}
/* ── Product: buy button ── */
.prod-buy-row{display:flex;gap:.65rem;margin-top:1.25rem;flex-wrap:wrap}
.prod-buy-btn{
  flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.875rem 1.5rem;border-radius:100px;
  background:var(--violet);
  color:var(--violet-ink);font-size:.875rem;font-weight:700;letter-spacing:.02em;
  transition:filter .2s,transform .15s;
}
.prod-buy-btn:hover{filter:brightness(1.12);transform:translateY(-1px)}
.prod-buy-sep{opacity:.45}
.prod-buy-price{font-family:var(--f-mono);font-weight:700}
.prod-ask-btn{
  display:flex;align-items:center;gap:.4rem;
  padding:.875rem 1.15rem;border-radius:100px;border:1px solid var(--border2);
  font-size:.8rem;font-weight:500;color:var(--muted);transition:border-color .2s,color .2s;
}
.prod-ask-btn:hover{border-color:var(--violet);color:rgb(var(--white-rgb))}

/* ─── MULTI-SELECT LICENSE PICKER (product page) ─── */
.kt-lic-list{display:flex;flex-direction:column;gap:.6rem;margin-bottom:1.25rem}
.kt-lic-row{
  display:flex;align-items:center;gap:.75rem;
  border:1px solid var(--border);border-radius:14px;padding:.75rem 1rem;
  transition:border-color .15s,background .15s;
}
.kt-lic-row:has(.kt-lic-check:checked){border-color:var(--violet);background:var(--violet-f)}
.kt-lic-label{display:flex;align-items:center;gap:.65rem;flex:1;cursor:pointer;min-width:0}
.kt-lic-check{width:18px;height:18px;flex-shrink:0;accent-color:var(--violet)}
.kt-lic-name{font-size:.9rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kt-lic-price{font-family:var(--f-body);font-size:.85rem;color:var(--accent-ink);font-weight:700;flex-shrink:0}
.kt-lic-info{
  width:22px;height:22px;flex-shrink:0;border-radius:50%;border:1px solid var(--border);
  font-family:var(--f-mono);font-size:.7rem;font-style:italic;font-weight:700;color:var(--muted);
  display:flex;align-items:center;justify-content:center;transition:all .15s;
}
.kt-lic-info:hover{border-color:var(--accent-ink);color:var(--accent-ink);background:var(--surface)}
.kt-lic-total{
  display:flex;justify-content:space-between;align-items:center;
  padding:.9rem 1rem;margin-bottom:1rem;border-top:1px solid var(--border);
  font-family:var(--f-body);font-size:.8rem;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;
}
.kt-lic-total-amount{font-size:1.25rem;color:var(--white);font-weight:700;letter-spacing:0;text-transform:none}
.kt-lic-btn-row{display:flex;flex-direction:column;gap:.6rem}
/* Both buttons share this base so they read as one deliberate pair (same
   pill shape/size/weight). WooCommerce's own .woocommerce .button rule
   also targets these — its color/background come with !important AND
   two-class specificity (.woocommerce .button), which beats a plain
   .kt-lic-add !important of equal-or-lower specificity. Prefixing with
   .prod-stick (the buttons' real ancestor) matches that specificity, and
   this stylesheet loads after woocommerce.css, so ties resolve in our
   favor — confirmed by testing: without this prefix the outline button's
   text/border silently stayed WooCommerce's near-white/none values. */
.prod-stick .kt-lic-submit{
  width:100%;justify-content:center;display:flex;align-items:center;
  padding:.9rem 1.75rem!important;border-radius:100px!important;
  font-size:.8rem!important;font-weight:700!important;letter-spacing:.04em;text-transform:uppercase;
}
/* Add to Cart is the solid primary action, Buy Now a lighter secondary
   pill next to it — matches the reference layout exactly. */
.prod-stick .kt-lic-add{background:var(--violet)!important;border:none!important;color:var(--violet-ink)!important;box-shadow:none!important}
.prod-stick .kt-lic-add:hover:not(:disabled){opacity:.9!important}
.prod-stick .kt-lic-add:disabled{background:var(--surface)!important;color:var(--muted)!important}
/* background: var(--paper) (a fixed #fff token), not var(--white) — the
   latter is contextual (it means "foreground/ink", not literal white,
   flipping to near-black on this light-themed page) and resolved to a
   near-black button background here, leaving its blue text (and the
   muted-gray text of its own :disabled state below) badly low-contrast
   against it. This button needs an always-white background regardless
   of theme context for its blue/gray text to ever be readable. */
.prod-stick .kt-lic-buy{background:var(--paper)!important;border:1.5px solid var(--border2)!important;color:var(--violet)!important;box-shadow:none!important}
.prod-stick .kt-lic-buy:hover:not(:disabled){border-color:var(--violet)!important;background:var(--surface)!important}
.prod-stick .kt-lic-buy:disabled{color:var(--muted)!important;border-color:var(--border)!important}

/* ─── SHARE ROW ─── */
.prod-share{display:flex;align-items:center;gap:.6rem;margin-top:1.5rem;flex-wrap:wrap}
.prod-share-label{font-family:var(--f-mono);font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.prod-share-btn{
  width:32px;height:32px;border-radius:50%;border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--f-body);font-size:.78rem;font-weight:700;color:var(--muted);
  transition:all .15s;
}
.prod-share-btn:hover{border-color:var(--accent-ink);color:var(--accent-ink);background:var(--surface)}
.prod-stick .kt-lic-submit:disabled{cursor:not-allowed}

/* Floats next to whichever license row is hovered/focused/tapped (see the
   positionPopup() JS in kangtype_render_license_picker()) — not a
   centered modal with a backdrop, so it reads as a hover tooltip rather
   than an interruption, matching the reference design. */
.kt-lic-popup{ position:fixed; z-index:2000; width:min(380px,calc(100vw - 24px)); }
.kt-lic-popup-card{
  background:rgb(var(--bg-rgb));border:1px solid var(--border);border-radius:18px;
  padding:1.75rem;max-height:70vh;overflow-y:auto;position:relative;
  box-shadow:0 24px 60px rgba(0,0,0,.35),0 0 0 1px rgba(27,26,255,.08);
}
.kt-lic-popup-close{
  position:absolute;top:1rem;right:1rem;width:30px;height:30px;border-radius:50%;
  border:1px solid var(--border);font-size:1.1rem;line-height:1;color:var(--muted);
  display:flex;align-items:center;justify-content:center;
}
.kt-lic-popup-close:hover{color:var(--white);border-color:var(--accent-ink)}
.kt-lic-popup-body h3{font-family:var(--f-heavy);font-size:1.375rem;font-weight:400;text-transform:uppercase;margin-bottom:.5rem;padding-right:2rem}
.kt-lic-popup-desc{font-size:.85rem;color:var(--muted);line-height:1.6;margin-bottom:1.5rem}
.kt-lic-popup-cols{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.kt-lic-popup-h{font-family:var(--f-mono);font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem}
.kt-lic-yes,.kt-lic-no{list-style:none;display:flex;flex-direction:column;gap:.5rem}
.kt-lic-yes li,.kt-lic-no li{font-size:.8rem;line-height:1.4;padding-left:1.25rem;position:relative}
.kt-lic-yes li::before{content:'✓';position:absolute;left:0;color:#1E9A57;font-weight:700}
.kt-lic-no li::before{content:'✕';position:absolute;left:0;color:#D6483F;font-weight:700}
@media(max-width:480px){ .kt-lic-popup-cols{grid-template-columns:1fr} }

.prod-perks{margin-top:1.25rem;display:flex;flex-direction:column;gap:.4rem}
.prod-perk{display:flex;gap:.6rem;font-size:.78rem;color:rgba(var(--white-rgb),.4);align-items:flex-start}

/* Sticky bottom buy bar — mobile only, see the 860px breakpoint below */
.prod-sticky-bar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:400;
  background:rgb(var(--bg-rgb));border-top:1px solid var(--border);
  padding:.85rem 1.25rem;align-items:center;justify-content:space-between;gap:1rem;
  box-shadow:0 -8px 24px rgba(0,0,0,.08);
}
.prod-sticky-info{min-width:0;display:flex;flex-direction:column;gap:.15rem}
.prod-sticky-name{font-size:.8rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prod-sticky-price{font-family:var(--f-mono);font-size:.78rem;color:var(--accent-ink);font-weight:700}
.prod-sticky-btn{
  flex-shrink:0;padding:.7rem 1.5rem;border-radius:100px;background:var(--violet);
  color:var(--violet-ink);font-size:.8rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;
}

/* Text Selector Font Preview — small floating card following text
   selected inside the product description */
.kt-sel-preview{
  position:fixed;z-index:900;max-width:min(360px,80vw);
  background:rgb(10,10,10);border:1px solid rgba(27,26,255,.3);border-radius:12px;
  padding:1rem 1.25rem;box-shadow:0 12px 32px rgba(0,0,0,.35);
  pointer-events:none;
}
.kt-sel-preview-text{color:#F2EDE5;font-size:1.35rem;line-height:1.3;word-break:break-word}
.prod-tabs{border-bottom:1px solid var(--border);margin-bottom:2.5rem;display:flex;overflow-x:auto;scrollbar-width:none}
.prod-tabs::-webkit-scrollbar{display:none}
.p-tab{padding:.875rem 1.75rem;font-size:.8rem;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;transition:color .2s,border-color .2s;white-space:nowrap;flex-shrink:0}
.p-tab.active,.p-tab:hover{color:rgb(var(--white-rgb))}
.p-tab.active{border-color:var(--accent-ink)}
.tester-wrap{background:rgba(var(--white-rgb),.025);border:1px solid var(--border);border-radius:12px;padding:2rem}
.sl-group{display:flex;align-items:center;gap:1rem}
.sl-group input[type=range]{width:120px;accent-color:var(--accent-ink)}
.sl-val{font-family:var(--f-mono);font-size:.65rem;color:var(--muted);min-width:3rem}
.t-area{width:100%;background:transparent;border:none;outline:none;color:rgb(var(--white-rgb));resize:none;overflow:hidden;line-height:1.1;border-top:1px solid var(--border);padding-top:1.75rem;margin-top:1.75rem}
.char-grid{display:flex;flex-wrap:wrap;gap:.5rem}
.ch-cell{width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:var(--surface);border:1px solid var(--border);border-radius:8px;font-size:1.3rem;transition:background .2s}
.ch-cell:hover{background:var(--glass)}
.wt-row{display:flex;align-items:baseline;gap:2rem;padding:1.25rem 0;border-bottom:1px solid var(--border)}
.wt-lbl{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);min-width:90px;flex-shrink:0}

.form-g{margin-bottom:1.25rem}
.form-lbl{font-family:var(--f-mono);font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:.6rem}
.form-in,.form-sel,.form-ta{
  width:100%;padding:.875rem 1rem;
  background:var(--surface);border:1px solid var(--border);
  border-radius:10px;color:rgb(var(--white-rgb));font-family:var(--f-body);font-size:.9375rem;
  outline:none;transition:border-color .2s,background .2s;
}
.form-in:focus,.form-sel:focus,.form-ta:focus{border-color:var(--violet);background:var(--glass)}
.form-sel option{background:#10091f}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}

/* ─── LICENSE ─── */
/* ─── LICENSE PAGE ─── */
.lic-hero{padding:6rem 3rem 3rem;text-align:center}
.lic-picker-wrap{padding:0 3rem 5rem}
.lic-picker{
  display:grid;grid-template-columns:380px 1fr;gap:2.5rem;
  max-width:1100px;margin:0 auto;
  align-items:start;
}
/* Left tier list */
.lp-left{position:sticky;top:100px}
.lp-left-label{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:1rem}
.lt-list{border:1px solid var(--border);border-radius:16px;overflow:hidden}
.lt-row{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.1rem 1.25rem;border-bottom:1px solid var(--border);
  transition:background .2s;text-align:left;
}
.lt-row:last-child{border-bottom:none}
.lt-row:hover{background:rgba(27,26,255,.05)}
.lt-row.active{background:rgba(27,26,255,.08);border-left:2px solid var(--violet)}
.lt-left{display:flex;align-items:center;gap:.875rem}
.lt-radio{
  width:18px;height:18px;border-radius:50%;border:2px solid var(--border2);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition:border-color .2s;
}
.lt-row.active .lt-radio{border-color:var(--violet)}
.lt-dot{width:8px;height:8px;border-radius:50%;background:var(--violet);transform:scale(0);transition:transform .2s}
.lt-row.active .lt-dot{transform:scale(1)}
.lt-name{font-size:.875rem;font-weight:500;color:rgba(var(--white-rgb),.75);line-height:1.2}
.lt-row.active .lt-name{color:rgb(var(--white-rgb))}
.lt-tag{font-family:var(--f-mono);font-size:.5rem;letter-spacing:.1em;text-transform:uppercase;padding:.15rem .5rem;background:var(--violet);color:var(--violet-ink);border-radius:100px;display:inline-block;margin-top:.25rem}
.lt-price{font-family:var(--f-mono);font-size:.875rem;font-weight:700;color:var(--accent-ink);white-space:nowrap;flex-shrink:0}
.lp-note{display:flex;align-items:flex-start;gap:.5rem;margin-top:1rem;font-size:.78rem;color:rgba(var(--white-rgb),.42);line-height:1.6}
.lp-note svg{flex-shrink:0;margin-top:2px;color:var(--muted)}
/* Right detail panel */
.lp-right{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:2.5rem}
.lp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid var(--border);flex-wrap:wrap}
.lp-name{font-family:var(--f-disp);font-size:1.375rem;font-weight:400;font-style:italic;margin-bottom:.4rem}
.lp-desc{font-size:.875rem;color:rgba(var(--white-rgb),.45);max-width:280px;line-height:1.65}
.lp-price-big{text-align:right;flex-shrink:0}
.lp-dollar{font-size:1.25rem;font-weight:300;color:var(--accent-ink);vertical-align:top;margin-top:.4rem;display:inline-block}
.lp-price-big{font-family:var(--f-disp);font-size:3.5rem;font-weight:300;color:var(--accent-ink);line-height:1}
.lp-period{font-family:var(--f-mono);font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-top:.4rem;text-align:right}
.lp-group{margin-bottom:1.5rem}
.lp-glabel{font-family:var(--f-mono);font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem}
.lp-list{list-style:none;display:flex;flex-direction:column;gap:.5rem}
.lp-list li{font-size:.875rem;color:rgba(var(--white-rgb),.65);display:flex;gap:.6rem;align-items:flex-start;line-height:1.55}
.lp-list li::before{content:'✓';color:var(--accent-ink);flex-shrink:0;font-size:.75rem;margin-top:2px}
.lp-list.neg li{color:rgba(var(--white-rgb),.4)}
.lp-list.neg li::before{content:'—';color:rgba(var(--white-rgb),.35)}
/* Comparison table */
.lic-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:16px}
.lic-table{width:100%;border-collapse:collapse;min-width:620px}
.lic-table thead tr{border-bottom:1px solid var(--border)}
.lic-table th{padding:.875rem 1rem;font-family:var(--f-mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);text-align:center;font-weight:400}
.lic-table th:first-child{text-align:left;color:rgba(var(--white-rgb),.5);width:30%}
.lic-table td{padding:.75rem 1rem;font-size:.8rem;text-align:center;border-bottom:1px solid rgba(27,26,255,.06);color:rgba(var(--white-rgb),.5)}
.lic-table tr:last-child td{border-bottom:none}
.lic-table td:first-child,.lic-table th:first-child{padding-left:1.5rem}
.lic-table td:last-child,.lic-table th:last-child{padding-right:1.5rem}
.lic-table td{color:rgba(var(--white-rgb),.4)}
.lic-table td:has(> :not(:empty)){color:var(--accent-ink)}
/* fallback for :has() */
.lic-table .check{color:var(--accent-ink);font-weight:700}
.lic-table .dash{color:rgba(var(--white-rgb),.35)}
/* FAQ */
.lic-faq{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:16px;overflow:hidden}
.faq-item{padding:1.75rem;background:rgb(var(--bg-rgb))}
.faq-item:hover{background:rgba(27,26,255,.03)}
.faq-q{font-size:.9375rem;font-weight:600;margin-bottom:.6rem;line-height:1.4}
.faq-a{font-size:.875rem;color:rgba(var(--white-rgb),.44);line-height:1.75}
/* responsive */
@media(max-width:900px){
  .lic-picker{grid-template-columns:1fr}
  .lp-left{position:static}
  .lic-picker-wrap{padding:0 2rem 4rem}
  .lic-faq{grid-template-columns:1fr}
}
@media(max-width:680px){
  .lic-picker-wrap{padding:0 1.25rem 3rem}
  .lp-right{padding:1.5rem}
  .lic-faq{grid-template-columns:1fr}
  .lp-head{flex-direction:column;gap:1rem}
  .lp-price-big{text-align:left}
  .lp-period{text-align:left}
}
.lic-headline{font-family:var(--f-heavy);font-size:clamp(2.25rem,5vw,4rem);font-weight:400;line-height:1.05;letter-spacing:0;text-transform:uppercase;margin-bottom:1.25rem}
.lic-headline em{font-style:normal;color:var(--accent-ink)}
.lic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;padding:0 3rem 5rem}
.lc{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:2rem;position:relative;transition:transform .3s var(--ease),box-shadow .3s,border-color .25s}
.lc:hover{transform:translateY(-5px);border-color:rgba(var(--white-rgb),.22);box-shadow:0 24px 60px rgba(0,0,0,.45)}
.lc.pop{background:rgba(27,26,255,.1);border-color:rgba(27,26,255,.5);box-shadow:0 0 60px rgba(27,26,255,.18)}
.lc-badge{display:inline-block;padding:.2rem .7rem;margin-bottom:1rem;background:var(--violet);color:var(--violet-ink);font-size:.6rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;border-radius:100px}
.lc-type{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:.75rem}
.lc-name{font-family:var(--f-body);font-size:1.25rem;font-weight:700;letter-spacing:-.02em;margin-bottom:.25rem}
.lc-price{font-family:var(--f-disp);font-size:2.25rem;font-weight:300;color:var(--accent-ink);margin:1rem 0 .3rem;line-height:1}
.lc-period{font-size:.75rem;color:var(--muted);margin-bottom:1.75rem}
.lc-feats{list-style:none;display:flex;flex-direction:column;gap:.6rem;margin-bottom:2rem}
.lc-feats li{font-size:.8rem;display:flex;gap:.6rem;color:rgba(var(--white-rgb),.62);line-height:1.5}
.lc-feats li::before{content:'✓';color:var(--accent-ink);flex-shrink:0;font-size:.75rem}
.lc-btn{display:block;width:100%;padding:.875rem;text-align:center;border:1px solid var(--border2);border-radius:100px;font-size:.8rem;font-weight:600;letter-spacing:.04em;transition:background .2s,color .2s,border-color .2s;color:rgb(var(--white-rgb));font-family:var(--f-body)}
.lc-btn:hover{background:var(--gold);border-color:var(--accent-ink);color:var(--ink)}
.lc.pop .lc-btn{background:var(--violet);border-color:transparent;color:var(--violet-ink)}
.lc.pop .lc-btn:hover{background:var(--gold);border-color:var(--accent-ink);color:var(--ink)}

/* ─── CORPORATE ─── */
.corp-hero{padding:8rem 3rem 6rem;position:relative;text-align:center}
.corp-headline{font-family:var(--f-heavy);font-size:clamp(2.25rem,6vw,5rem);font-weight:400;line-height:1;letter-spacing:0;text-transform:uppercase;max-width:900px;margin:0 auto 2rem}
.corp-headline em{font-style:normal;color:var(--accent-ink)}
.cwhy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:3rem}
.cwhy-card{padding:2rem;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.cwhy-num{font-family:var(--f-disp);font-size:3rem;font-weight:300;color:var(--accent-ink);line-height:1;margin-bottom:.75rem}
.cwhy-title{font-size:1rem;font-weight:600;margin-bottom:.5rem}
.cwhy-desc{font-size:.875rem;color:rgba(var(--white-rgb),.48);line-height:1.75}
.cstep{display:grid;grid-template-columns:80px 1fr;gap:2rem;padding:2.5rem 0;border-bottom:1px solid var(--border);align-items:start}
.cstep-num{font-family:var(--f-disp);font-size:3.5rem;font-weight:300;line-height:1;color:var(--accent-ink);opacity:.35}
.cstep-title{font-size:1.125rem;font-weight:600;margin-bottom:.5rem}
.cstep-desc{font-size:.9rem;color:rgba(var(--white-rgb),.48);line-height:1.75;max-width:520px}

/* ─── BLOG ─── */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;padding:3rem 3rem 5rem}
.bc{transition:transform .3s var(--ease)}
.bc:hover{transform:translateY(-4px)}
.bc-img{height:195px;border-radius:12px;overflow:hidden;margin-bottom:1.25rem;background:#0E0B0D;border:1px solid rgba(27,26,255,.18);display:flex;align-items:center;justify-content:center;position:relative}
/* z-index:1 keeps this blue wash on top of the thumbnail. It used to get
   that for free: the thumbnail was a CSS background on .bc-img, and
   backgrounds always paint below generated content. Now that the thumbnail
   is a real <img> (indexable, alt-text-carrying, lazy-loadable), it is a
   positioned sibling that comes later in the box tree and would otherwise
   paint straight over this layer, flattening the card. */
.bc-img::before{content:'';position:absolute;inset:0;z-index:1;background:radial-gradient(ellipse 80% 70% at 50% 60%,rgba(27,26,255,.1) 0%,transparent 70%)}
/* Above the wash, not level with it — this letter only shows when a post
   has no thumbnail at all. */
.bc-img-t{font-family:var(--f-disp);font-size:5rem;font-style:italic;color:rgba(214,255,28,.18);-webkit-text-stroke:1px rgba(214,255,28,.22);position:relative;z-index:2;line-height:1;letter-spacing:-.03em}
.bc-cat{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--violet);margin-bottom:.6rem}
.bc-title{font-size:1.0625rem;font-weight:600;line-height:1.4;margin-bottom:.5rem}
.bc-ex{font-size:.8rem;color:rgba(var(--white-rgb),.42);line-height:1.7}
.bc-meta{margin-top:.875rem;display:flex;gap:1rem;font-family:var(--f-mono);font-size:.6rem;color:var(--muted)}

/* ─── LIVE TYPE TESTER (home) ─── */
.tester-sect{padding:6rem 3rem;background:rgba(27,26,255,.04);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.tester-inner{max-width:900px;margin:0 auto}
.tester-controls{display:flex;gap:2.5rem;flex-wrap:wrap;margin-bottom:1.75rem;align-items:center}
.tester-font-sel{
  display:flex;gap:.5rem;flex-wrap:wrap;
}
.tf-btn{
  padding:.35rem .9rem;border:1px solid var(--border);border-radius:100px;
  font-family:var(--f-mono);font-size:.6rem;letter-spacing:.06em;color:var(--muted);
  transition:all .18s;white-space:nowrap;
}
.tf-btn:hover,.tf-btn.sel{border-color:var(--violet);color:rgb(var(--white-rgb));background:var(--violet-f)}
.tester-sliders{display:flex;gap:2rem;flex-wrap:wrap;align-items:center;margin-left:auto}
.home-t-area{
  width:100%;background:transparent;border:none;outline:none;
  color:rgb(var(--white-rgb));resize:none;overflow:hidden;
  line-height:1.15;border-top:1px solid var(--border);padding-top:1.5rem;
  transition:font-size .2s var(--ease);
  height:auto;min-height:0;display:block;
  /* Default size lives here, not in a style="" attribute on the textarea.
     The size slider works by writing an inline font-size, and an inline
     style loses to any !important declaration — so the mobile override
     below had to be !important to beat the old inline default, which in
     turn silently killed the slider on phones. With both defaults in the
     stylesheet and neither marked important, the slider's inline value
     wins everywhere, which is the whole point of it. */
  font-size:64px;
}
.t-case-btn{
  font-family:var(--f-mono);font-size:.6rem;letter-spacing:.06em;
  padding:.3rem .55rem;border-radius:6px;
  border:1px solid var(--border);color:var(--muted);
  background:transparent;cursor:pointer;transition:all .18s;
}
.t-case-btn:hover{border-color:rgba(27,26,255,.5);color:rgb(var(--white-rgb))}
.t-case-btn.active{border-color:var(--violet);color:rgb(var(--white-rgb));background:rgba(27,26,255,.15)}

/* ─── BESTSELLERS ─── */
.bs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid var(--border);border-radius:16px;overflow:hidden}
.bs-item{
  text-decoration:none;color:inherit;
  padding:2.5rem 2rem 2rem;position:relative;
  border-right:1px solid var(--border);
  transition:background .3s;
  display:flex;flex-direction:column;
}
.bs-item:last-child{border-right:none}
.bs-item:hover{background:rgba(27,26,255,.05)}
.bs-num{font-family:var(--f-mono);font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:1.5rem}
.bs-specimen{font-size:clamp(3rem,4.5vw,5.5rem);font-weight:400;line-height:.95;letter-spacing:-.02em;margin-bottom:1.5rem;flex:1}
.bs-name{font-size:.9rem;font-weight:600;margin-bottom:.2rem}
.bs-cat{font-family:var(--f-mono);font-size:.58rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.bs-footer{display:flex;align-items:center;justify-content:space-between;margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border)}
.bs-price{font-family:var(--f-mono);font-size:.9rem;color:var(--accent-ink);font-weight:700}
.bs-link{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);transition:color .18s}
.bs-link:hover{color:rgb(var(--white-rgb))}
.bs-badge{
  position:absolute;top:1.25rem;right:1.25rem;
  padding:.18rem .65rem;background:var(--violet);
  color:var(--violet-ink);font-family:var(--f-mono);font-size:.55rem;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;border-radius:100px;
}

/* ─── TRUSTED BY ─── */
.trusted-sect{padding:4rem 3rem;border-bottom:1px solid var(--border)}
.trusted-lbl{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);text-align:center;margin-bottom:2.25rem}
.trusted-logos{display:flex;gap:3rem;flex-wrap:wrap;align-items:center;justify-content:center}
.tl-name{font-family:var(--f-disp);font-size:1.1rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:rgba(var(--white-rgb),.42);transition:color .25s;white-space:nowrap}
.tl-name:hover{color:rgba(var(--white-rgb),.7)}

/* ─── TESTIMONIALS ─── */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.testi-card{
  background:var(--surface);border:1px solid var(--border);border-radius:10px;
  padding:1.75rem;display:flex;flex-direction:column;gap:1.25rem;
  transition:border-color .25s,background .25s;
}
.testi-card:hover{border-color:rgba(27,26,255,.35);background:rgba(27,26,255,.06)}
.testi-stars{display:flex;gap:.25rem;font-size:.75rem;color:var(--accent-ink)}
.testi-quote{font-size:.9375rem;line-height:1.72;color:rgba(var(--white-rgb),.72);font-style:italic;flex:1}
.testi-author{display:flex;align-items:center;gap:.875rem}
.testi-avatar{
  width:38px;height:38px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--f-disp);font-size:1rem;font-style:italic;font-weight:600;
  background:var(--violet-f);border:1px solid rgba(27,26,255,.3);color:rgb(var(--white-rgb));
}
.testi-name{font-size:.875rem;font-weight:600}
.testi-role{font-family:var(--f-mono);font-size:.58rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:.15rem}

/* ─── PROMO BANNER ─── */
/* Manually-managed slot (Appearance > Customize > Promo Banners) — the
   owner uploads/swaps/removes the image themselves anytime; the image
   supplies its own design (sale copy, discount badge etc. baked in, like
   the reference banner), this just frames and positions it consistently
   with the rest of the site's card language (see .free-banner). Renders
   nothing at all when no image is set (see kangtype_promo_banner_html()),
   so an unfilled slot never shows an empty box. */
.promo-banner{
  display:block;margin:2rem 3rem;border-radius:20px;overflow:hidden;
  transition:opacity .2s;
}
a.promo-banner:hover{opacity:.92}
.promo-banner-img{display:block;width:100%;height:auto}
@media(max-width:680px){
  .promo-banner{margin:1.25rem 1.25rem}
}

/* ─── FREE FONT BANNER ─── */
.free-banner{
  margin:0 3rem;border-radius:20px;padding:4rem 4rem;
  /* Was the translucent --surface tint, which only reads as "dark card"
     when painted over an already-dark ancestor — sitting directly on the
     light page body it rendered as a near-white card with white text on
     top of it (invisible headline). Opaque black fixes that, matching
     the same dark-promo-card pattern used on the Shop page. */
  background:rgb(var(--bg-rgb));
  border:1px solid rgba(27,26,255,.35);
  position:relative;overflow:hidden;
  display:grid;grid-template-columns:1fr auto;gap:3rem;align-items:center;
}
.free-banner::before{
  content:'FREE';position:absolute;right:-2rem;top:50%;transform:translateY(-50%);
  font-family:var(--f-disp);font-size:12rem;font-weight:700;font-style:italic;
  color:rgba(214,255,28,.06);line-height:1;pointer-events:none;user-select:none;
  letter-spacing:-.04em;
}
.fb-kicker{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-ink);margin-bottom:.75rem}
.fb-title{font-family:var(--f-body);font-size:clamp(1.75rem,3vw,2.5rem);font-weight:700;line-height:1.12;letter-spacing:-.035em;margin-bottom:.75rem}
.fb-title em{font-style:italic;color:var(--accent-ink)}
.fb-sub{font-size:.9375rem;color:rgba(var(--white-rgb),.5);line-height:1.7;max-width:420px}
.fb-specimen{
  font-family:var(--f-disp);font-size:clamp(5rem,8vw,9rem);font-weight:900;
  line-height:1;letter-spacing:-.04em;color:rgba(var(--white-rgb),.12);
  writing-mode:vertical-rl;text-orientation:mixed;white-space:nowrap;
  flex-shrink:0;
}

/* ─── HOW IT WORKS ─── */
.hiw-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.hiw-item{padding:3rem 2.5rem;position:relative}
.hiw-item+.hiw-item::before{
  content:'';position:absolute;left:0;top:3rem;bottom:3rem;
  width:1px;background:linear-gradient(to bottom,transparent,var(--border),transparent);
}
.hiw-step{
  width:44px;height:44px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:var(--violet-f);border:1px solid rgba(27,26,255,.3);
  font-family:var(--f-mono);font-size:.75rem;font-weight:700;color:var(--violet);
  margin-bottom:1.5rem;
}
.hiw-title{font-size:1.0625rem;font-weight:600;margin-bottom:.6rem}
.hiw-desc{font-size:.875rem;color:rgba(var(--white-rgb),.46);line-height:1.75}
.hiw-arrow{
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  font-family:var(--f-mono);font-size:.75rem;color:var(--muted);
}
.hiw-item:last-child .hiw-arrow{display:none}

/* ─── NEWSLETTER ─── */
.nl-sect{padding:6rem 3rem;text-align:center}
.nl-title{font-family:var(--f-heavy);font-size:clamp(1.625rem,2.5vw,2.25rem);font-weight:400;letter-spacing:0;line-height:1.1;text-transform:uppercase;margin-bottom:.75rem}
.nl-sub{font-size:.9375rem;color:rgba(var(--white-rgb),.44);margin-bottom:2.25rem;max-width:420px;margin-left:auto;margin-right:auto;line-height:1.7}
.nl-form{display:flex;gap:.625rem;max-width:440px;margin:0 auto}
.nl-input{
  flex:1;padding:.875rem 1.25rem;
  background:var(--surface);border:1px solid var(--border);
  border-radius:10px;color:rgb(var(--white-rgb));font-family:var(--f-body);font-size:.9375rem;
  outline:none;transition:border-color .2s,background .2s;
}
.nl-input:focus{border-color:var(--violet);background:var(--glass)}
.nl-input::placeholder{color:var(--muted)}
.nl-btn{
  padding:.875rem 1.5rem;background:var(--violet);
  color:var(--violet-ink);font-size:.875rem;font-weight:600;border-radius:10px;
  box-shadow:0 0 20px rgba(27,26,255,.35);
  font-family:var(--f-body);white-space:nowrap;
  transition:opacity .2s,transform .15s;
}
.nl-btn:hover{opacity:.9;transform:translateY(-1px)}
.nl-note{font-family:var(--f-mono);font-size:.58rem;letter-spacing:.08em;color:var(--muted);margin-top:1rem}

/* ─── ARTICLE BODY ─── */
.art-body{font-size:1.0625rem;line-height:1.85;color:rgba(var(--white-rgb),.72);max-width:680px}
.art-body p{margin-bottom:1.75rem}
.art-body h2{
  font-family:var(--f-body);font-size:clamp(1.2rem,2vw,1.5rem);font-weight:700;
  line-height:1.25;letter-spacing:-.025em;
  color:rgb(var(--white-rgb));margin:3rem 0 1.25rem;
  padding-bottom:.75rem;border-bottom:1px solid var(--border);
}
.art-body h3{font-family:var(--f-body);font-size:1.1rem;font-weight:700;color:rgb(var(--white-rgb));margin:2rem 0 1rem;letter-spacing:-.015em}
.art-body strong,.art-body b{color:rgb(var(--white-rgb));font-weight:600}
.art-body em,.art-body i{font-style:italic;color:rgba(var(--white-rgb),.9)}
.art-body ul,.art-body ol{margin:0 0 1.75rem;padding-left:1.5rem}
.art-body li{margin-bottom:.5rem}
.art-body a{color:var(--accent-ink);text-decoration:underline}
.art-body img{max-width:100%;height:auto;border-radius:12px;margin:1rem 0}
.art-body figure{margin:2rem 0}
.art-body figcaption{font-size:.8rem;color:var(--muted);text-align:center;margin-top:.5rem}
.art-body blockquote{
  border-left:2px solid var(--violet);padding:1rem 1.5rem;margin:2rem 0;
  background:var(--surface);border-radius:0 10px 10px 0;
  font-style:italic;color:rgba(var(--white-rgb),.6);
}

/* ─── FREE ─── */
.free-badge{display:inline-block;padding:.3rem 1rem;margin-bottom:1.5rem;background:rgba(214,255,28,.08);border:1px solid rgba(214,255,28,.3);border-radius:100px;font-family:var(--f-mono);font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-ink)}

/* ─── CONTACT ─── */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:6rem;padding:6rem 3rem;align-items:start}

/* ─── ABOUT STRIP ─── */
/* Single column here (the static site's version is a 2-col grid with a
   typeface-count stat in the right column) — this theme's About section
   dropped that stat since it wasn't kept in sync with the real store's
   actual product count, so a single centered column reads cleaner than
   a 2-col grid with an empty second cell. */
.about-strip{padding:5rem 3rem;display:flex;justify-content:center;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.about-strip > div{max-width:640px}
.about-txt{font-size:1.0625rem;line-height:1.85;color:rgba(var(--white-rgb),.5)}
.about-txt p+p{margin-top:1.25rem}
.st-grid{display:grid;grid-template-columns:1fr;gap:2.75rem}
.st-num{font-family:var(--f-disp);font-size:5rem;font-weight:300;line-height:1;color:var(--accent-ink)}
.st-lbl{font-family:var(--f-mono);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:.4rem}

/* ─── FOOTER ─── */
.site-footer{border-top:1px solid var(--border);margin-top:auto}
.f-top{padding:2.75rem 3rem;display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.f-logo{display:block}.f-logo img{height:56px;width:auto;display:block}
.f-links{display:flex;gap:2rem;list-style:none}
.f-links a{font-size:.8rem;color:var(--muted);transition:color .2s}
.f-links a:hover{color:rgb(var(--white-rgb))}
.f-copy{font-size:.72rem;color:var(--muted)}

/* Social row — real brand-color badges + label, own full-width bar below
   the main footer content (own border-top, own grid) rather than another
   item squeezed into .f-top's flex row. */
.f-social-bar{
  border-top:1px solid var(--border);
  display:grid;grid-template-columns:repeat(4,1fr);
}
.f-social-item{
  display:flex;align-items:center;justify-content:center;gap:.85rem;
  padding:1.5rem 1rem;
  border-right:1px solid var(--border);
  color:var(--muted);font-size:.9rem;font-weight:600;
  transition:color .2s,background .2s;
}
.f-social-item:last-child{border-right:none}
.f-social-item:hover{color:rgb(var(--white-rgb));background:var(--surface)}
.f-social-icon{
  width:42px;height:42px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:var(--surface);border:1px solid var(--border);
  color:rgb(var(--white-rgb));
  transition:background .2s,border-color .2s;
}
.f-social-icon svg{width:20px;height:20px}
.f-social-icon-text{font-weight:800;font-size:.95rem;letter-spacing:-.01em}
.f-social-item:hover .f-social-icon{background:rgb(var(--white-rgb));color:rgb(var(--bg-rgb));border-color:rgb(var(--white-rgb))}
@media(max-width:680px){
  .f-social-bar{grid-template-columns:repeat(2,1fr)}
  .f-social-item{border-bottom:1px solid var(--border)}
  .f-social-item:nth-child(2n){border-right:none}
  .f-social-item:nth-last-child(-n+2){border-bottom:none}
}
/* NotificationX's "recently purchased" toast (position:fixed, own CSS
   pushes it to 84px above the viewport bottom — see the max-width:860px
   rule further down, sized for our single-row sticky buy bar) is taller
   than that offset can clear once the footer's social row above wraps to
   a ~180px-tall 2x2 grid, so on any page scrolled to the very bottom the
   toast was overlapping the row's second line instead of sitting above
   it. Declared after the 860px rule so it wins the cascade at this width
   (same selector/specificity, last one wins). */
@media(max-width:680px){
  .notificationx-frontend .nx-container.nxc-bottom_left,
  .notificationx-frontend .nx-container.nxc-bottom_right{
    bottom: calc(182px + 12px) !important;
  }
}

/* ─── MOBILE HERO MINI-REEL ─── */
.hero-reel-mobile{
  display:none;margin-top:2.5rem;
  background:rgba(10,6,28,.85);border:1px solid rgba(27,26,255,.28);
  border-radius:16px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(27,26,255,.1),0 20px 60px rgba(0,0,0,.6);
}
.hrm-poster{
  height:160px;display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
.hrm-info{padding:.875rem 1.25rem;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.hrm-progress{height:2px;background:rgba(27,26,255,.15);overflow:hidden}
.hrm-bar{height:100%;width:0%;background:var(--violet);animation:reelFill 3.4s linear infinite}

/* ─── TOUCH RIPPLE CURSOR (mobile) ─── */
.touch-ripple{
  position:fixed;top:0;left:0;
  pointer-events:none;z-index:9990;
  width:44px;height:44px;border-radius:50%;
  border:1.5px solid rgba(27,26,255,.7);
  margin:-22px 0 0 -22px;
  transform:translate(-300px,-300px);
  opacity:0;
  will-change:transform,opacity;
  /* NO transition on transform — rAF handles it smoothly */
  transition:opacity .18s, border-color .18s, width .18s, height .18s, margin .18s;
}
.touch-ripple.active{opacity:1}
.touch-ripple.tap{
  animation:touchTap .55s cubic-bezier(.2,0,.4,1) forwards;
}
/* tap uses CSS var set by JS for position */
@keyframes touchTap{
  0%{opacity:.9;width:44px;height:44px;margin:-22px 0 0 -22px;border-color:rgba(214,255,28,.8)}
  100%{opacity:0;width:80px;height:80px;margin:-40px 0 0 -40px;border-color:rgba(27,26,255,0)}
}

/* ─── PRODUCT STICKY BUY BAR (mobile) ─── */
.sticky-buy{
  display:none;
  position:fixed;bottom:0;left:0;right:0;z-index:400;
  padding:1rem 1.25rem;
  background:rgba(var(--bg-rgb),.96);
  border-top:1px solid var(--border);
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  gap:.75rem;
  box-shadow:0 -16px 48px rgba(0,0,0,.4);
}
.sticky-buy-info{flex:1;min-width:0}
.sticky-buy-name{font-size:.9375rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sticky-buy-price{font-family:var(--f-mono);font-size:.8rem;color:var(--accent-ink);margin-top:.1rem}
.sticky-buy-btn{
  padding:.75rem 1.5rem;background:var(--violet);
  color:var(--violet-ink);font-size:.875rem;font-weight:600;border-radius:10px;
  white-space:nowrap;flex-shrink:0;
  box-shadow:0 0 20px rgba(27,26,255,.4);
  font-family:var(--f-body);
}

/* ─── MOBILE BOTTOM NAV ─── */
#mob-nav{
  display:none;
  position:fixed;bottom:0;left:0;right:0;z-index:450;
  background:rgba(var(--bg-rgb),.96);border-top:1px solid var(--border);
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  padding:.5rem 0 max(.5rem, env(safe-area-inset-bottom));
  grid-template-columns:repeat(5,1fr);
}
.mn-item{
  display:flex;flex-direction:column;align-items:center;gap:.25rem;
  padding:.5rem;font-size:.58rem;letter-spacing:.04em;
  color:rgba(var(--white-rgb),.38);transition:color .18s;
  font-family:var(--f-mono);text-transform:uppercase;
}
.mn-item.active,.mn-item:hover{color:rgb(var(--white-rgb))}
.mn-icon{font-size:1.2rem;line-height:1}
.mn-dot{width:4px;height:4px;border-radius:50%;background:var(--violet);margin-top:.15rem;opacity:0;transition:opacity .2s}
.mn-item.active .mn-dot{opacity:1}

/* ─── RESPONSIVE ─── */

/* ── Tablet: hide nav links, show hamburger ── */
@media(max-width:1080px){
  #nav{padding:1rem 2rem;gap:0}
  .n-links{display:none}
  .n-cta{display:none}
  .n-hamburger{display:flex}
  .n-logo{font-size:1.3rem;letter-spacing:.2em}
}
/* ── Desktop: hide hamburger ── */
@media(min-width:1081px){
  .n-hamburger{display:none}
}

@media(max-width:860px){
  /* iPad portrait */
  .prod-sticky-bar{display:flex}
  .prod-wrap{padding-bottom:5rem}
  /* NotificationX's "recently purchased" toast is fixed to the same
     bottom-left corner (z-index 99998) as our own sticky buy bar, so on
     narrow screens it was rendering on top of the Buy Now button instead
     of beside it. Nudging it above the sticky bar's own height (~72px)
     stacks them cleanly instead of overlapping. Only fires on pages where
     the sticky bar is even present (see the media query it's nested in). */
  .notificationx-frontend .nx-container.nxc-bottom_left,
  .notificationx-frontend .nx-container.nxc-bottom_right{
    bottom: calc(72px + 12px) !important;
  }
  .home-hero{padding:6rem 2rem 4rem;min-height:100vh;min-height:var(--kt-vh, 100vh)}
  .hero-left{padding:0 2rem;max-width:100%}
  .font-grid,.shop-grid,.lic-grid,.blog-grid,.cwhy-grid{grid-template-columns:repeat(2,1fr)}
  .prod-cols{grid-template-columns:1fr;gap:2.5rem}
  .prod-stick{position:static}
  .prod-reviews-grid{grid-template-columns:1fr}
  .contact-grid,.about-strip{grid-template-columns:1fr;gap:3rem}
  .sect,.shop-grid,.lic-grid,.blog-grid{padding-left:2rem;padding-right:2rem}
  .bs-grid{grid-template-columns:1fr}
  .bs-item{border-right:none;border-bottom:1px solid var(--border)}
  .bs-item:last-child{border-bottom:none}
  .testi-grid{grid-template-columns:1fr}
  .hiw-grid{grid-template-columns:1fr}
  .hiw-item+.hiw-item::before{top:0;bottom:auto;left:2.5rem;right:2.5rem;width:auto;height:1px;background:linear-gradient(to right,transparent,var(--border),transparent)}
  .hiw-arrow{display:none}
  .free-banner{margin:0 2rem;grid-template-columns:1fr;padding:3rem}
  .fb-specimen{display:none}
  .tester-sect{padding:4rem 2rem}
  .tester-controls{flex-direction:column;align-items:flex-start;gap:1.25rem}
  .tester-sliders{margin-left:0}
  .trusted-sect{padding:3rem 2rem}
  .nl-sect{padding:4rem 2rem}
  .nl-form{max-width:100%}
}
@media(max-width:680px){
  .n-links{display:none}
  #nav{padding:.875rem 1.25rem;gap:0}
  .n-logo{font-size:1.15rem;letter-spacing:.18em}
  /* Search overlay: .n-end (search-toggle, account, cart, hamburger) has
     no rule hiding it while search is active, so on a narrow screen it
     was competing with the search pill for the same row — the pill's own
     "Search" submit button ended up rendering on top of the account icon
     instead of the two sitting side by side with room to spare, like they
     do on desktop. The search pill already has its own close (X) button,
     so the rest of .n-end is redundant while it's open — hide it. */
  #nav.search-active .n-end{display:none}

  /* Hero mobile */
  .home-hero{padding:5.5rem 1.25rem 3.5rem;min-height:100vh;min-height:var(--kt-vh, 100vh)}
  .hero-left{padding:0 1.25rem;max-width:100%;margin-top:-2rem}
  .hero-eyebrow{margin-bottom:1.25rem;flex-wrap:nowrap}
  .hero-eyebrow .mono{font-size:.52rem;letter-spacing:.08em;white-space:nowrap}
  .hero-eyebrow::after{display:none}
  .hero-line1{font-size:clamp(2.25rem,9.5vw,3.25rem)}
  .hero-cycle-wrap{height:clamp(2.75rem,10.5vw,4rem);overflow:visible}
  .hero-cycle-word{font-size:clamp(2.25rem,9.5vw,3.25rem)}
  .hero-sub{font-size:.9375rem;margin-bottom:2rem;max-width:100%}
  .hero-actions{gap:.625rem;flex-direction:column;align-items:center}
  .hero-actions .btn-gold,.hero-actions .btn-outline{padding:.875rem 1.75rem;font-size:.875rem;width:fit-content}
  .hero-scroll{display:none}

  /* Sections */
  .font-grid,.lic-grid,.blog-grid,.cwhy-grid{grid-template-columns:1fr}
  .shop-grid{grid-template-columns:1fr;padding-left:1.25rem;padding-right:1.25rem}
  .sect{padding:3.5rem 1.25rem}
  .sect-title{font-size:clamp(1.5rem,6vw,2rem)}
  .sect-hdr{flex-direction:column;align-items:flex-start;gap:.75rem;margin-bottom:2rem}
  .shop-hero,.shop-filters,.lic-hero,.corp-hero,.contact-grid,.blog-grid,.about-strip{padding-left:1.25rem;padding-right:1.25rem}
  .about-strip{padding:3rem 1.25rem}
  .lic-hero{padding:4rem 1.25rem 3rem}
  .corp-hero{padding:5rem 1.25rem 3.5rem}
  .corp-headline{font-size:clamp(2rem,8vw,3rem)}
  .lic-headline{font-size:clamp(2.25rem,9vw,3.5rem)}
  .lic-grid{grid-template-columns:1fr;padding-left:1.25rem;padding-right:1.25rem}
  .site-footer{margin-bottom:0}
  .f-top{flex-direction:column;align-items:flex-start;padding:2rem 1.25rem}
  .f-links{flex-wrap:wrap;gap:1.25rem}
  .form-row{grid-template-columns:1fr}
  .prod-cols{padding:1.25rem 1.25rem 2rem}
  .prod-bc{padding:1.25rem 1.25rem 0;font-size:.6rem}
  .prod-name{font-size:clamp(2rem,8vw,3rem)}
  .sticky-buy{display:flex;align-items:center}
  .n-logo{font-size:1.15rem;letter-spacing:.18em}
  .st-grid{gap:1.75rem}
  .st-num{font-size:3.5rem}
  .cwhy-grid{grid-template-columns:1fr}
  .blog-grid{padding-bottom:3rem}
  /* new home sections mobile */
  .bs-grid{border-radius:12px}
  .bs-specimen{font-size:clamp(2.5rem,14vw,4.5rem)}
  .testi-grid{gap:.875rem}
  .free-banner{margin:0 1.25rem;padding:2.25rem 1.5rem;border-radius:14px}
  .fb-title{font-size:1.75rem}
  .hiw-item{padding:2rem 1.5rem}
  .trusted-logos{gap:1.5rem}
  .tl-name{font-size:.875rem}
  .nl-sect{padding:3.5rem 1.25rem}
  .nl-form{flex-direction:column}
  .nl-btn{width:100%}
  .tester-sect{padding:3rem 1.25rem}
  /* No !important — see .home-t-area above. This is only the starting
     size on a phone; the slider must still be able to override it. */
  .home-t-area{font-size:40px}
  .tester-font-sel{gap:.375rem}
  [style*="padding:0 3rem 5rem"]{padding:0 1.25rem 3.5rem!important}
  [style*="margin:2rem 3rem 5rem"]{margin:1.5rem 1.25rem 3.5rem!important}
  /* article */
  .art-body{font-size:.9375rem}
  [style*="max-width:760px"]{padding-left:1.25rem!important;padding-right:1.25rem!important}
  /* product description + reviews */
  .prod-desc-sect,.prod-reviews-sect{padding:2.5rem 1.25rem}
  .prod-tester-sect{margin-top:2rem}
  .prod-reviews-header{flex-direction:column;align-items:flex-start;gap:1rem}
  .p-tab{padding:.75rem 1.1rem;font-size:.75rem}
  /* freebies "coming soon" */
  .fsoon{margin:0 1.25rem 3rem;padding:1.75rem 1.5rem;flex-direction:column;align-items:flex-start;gap:1.5rem}
  .fsoon-form{max-width:100%;width:100%}
}
@media(prefers-reduced-motion:reduce){
  /* .t-track, not .ticker-track — no element has ever carried that class,
     so this rule silently did nothing and the marquee kept scrolling for
     people who had asked their system for reduced motion. */
  .t-track,.hero-wm,.hero-scroll-bar{animation:none}
  .reveal{transition:none;opacity:1;transform:none}
  .hero-eyebrow,.hero-line1,.hero-cycle-word,.hero-sub,.hero-actions,.hero-reel,.hero-scroll{animation:none;opacity:1;clip-path:none}
  #veil{transition:none}
}

/* ─── NAV CART ICON ─── */
.n-cart-btn { position: relative; }
.n-cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 100px; background: var(--gold); color: #0C0A1A;
  font-family: var(--f-mono); font-size: .55rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ─── CHECKOUT ─── */
.chk-hero { padding: 6rem 3rem 0; max-width: 1240px; margin: 0 auto; position: relative; }
.chk-hero-rule {
  width: 64px; height: 2px; margin-top: 1.25rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.chk-back-link {
  display: inline-block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em;
  color: var(--muted); margin-bottom: 1.25rem; transition: color .2s;
}
.chk-back-link:hover { color: var(--accent-ink); }
.chk-wrap { max-width: 1240px; margin: 0 auto; padding: 2.5rem 3rem 6rem; }
.cart-summary-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.cart-summary-bar-total { display: flex; align-items: baseline; gap: .6rem; font-size: .875rem; color: rgba(var(--white-rgb),.55); }
.cart-summary-bar-total strong { font-family: var(--f-disp); font-size: 1.375rem; font-weight: 400; font-style: italic; color: var(--accent-ink); }
@media (max-width: 680px) {
  .cart-summary-bar { flex-direction: column; align-items: stretch; }
  .cart-summary-bar-total { justify-content: space-between; }
}
.chk-items {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 2.5rem;
  background: var(--surface); box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.chk-row { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); transition: background .2s; }
.chk-row:hover { background: rgba(var(--white-rgb),.02); }
.chk-row:last-child { border-bottom: none; }
.chk-row-swatch {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; line-height: 1;
  box-shadow: 0 0 0 1px rgba(var(--white-rgb),.06) inset;
}
.chk-row-info { flex: 1; min-width: 0; }
.chk-row-name { font-size: .9375rem; font-weight: 600; }
.chk-row-tier { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.chk-row-price { font-family: var(--f-mono); font-size: .9rem; color: var(--accent-ink); font-weight: 700; }
.chk-row-remove { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); color: var(--muted); transition: border-color .2s, color .2s; flex-shrink: 0; }
.chk-row-remove:hover { border-color: #F87171; color: #F87171; }
.chk-grid { display: grid; grid-template-columns: 1fr 420px; gap: 3.5rem; align-items: start; }

/* Numbered billing-detail cards */
.chk-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem; margin-bottom: 1.5rem;
  transition: border-color .25s;
}
.chk-card:focus-within { border-color: rgba(214,255,28,.35); }
.chk-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.chk-card-num {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--violet-f); border: 1px solid rgba(27,26,255,.3);
  font-family: var(--f-mono); font-size: .78rem; font-weight: 700; color: var(--accent-ink);
}
.chk-card-title { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 700; }
.chk-card-sub { font-size: .72rem; color: var(--muted); margin-top: .15rem; }

/* Order summary — sticky, gold-glow highlighted card */
.chk-summary {
  background: linear-gradient(165deg, rgba(27,26,255,.08), var(--surface) 40%);
  border: 1px solid rgba(214,255,28,.22); border-radius: 18px; padding: 1.75rem;
  box-shadow: 0 28px 70px rgba(0,0,0,.4), 0 0 50px rgba(214,255,28,.05);
}
.chk-summary-kicker { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(var(--white-rgb),.4); margin-bottom: 1.1rem; }
.chk-summary-items { display: flex; flex-direction: column; gap: .6rem; padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.chk-summary-item { display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; color: rgba(var(--white-rgb),.7); }
.chk-summary-item em { font-style: normal; display: block; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: .15rem; }
.chk-summary-item > span:last-child { font-family: var(--f-mono); color: var(--accent-ink); flex-shrink: 0; }
.chk-summary-row { display: flex; justify-content: space-between; font-size: .875rem; color: rgba(var(--white-rgb),.6); padding: .5rem 0; }
.chk-summary-total { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: 1rem; font-size: 1.1875rem; font-weight: 700; color: rgb(var(--white-rgb)); }
.chk-summary-total span:last-child { color: var(--accent-ink); font-family: var(--f-disp); font-style: italic; font-weight: 400; font-size: 1.5rem; }
.chk-perks { display: flex; flex-direction: column; gap: .65rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.chk-perk { display: flex; align-items: center; gap: .6rem; font-size: .72rem; color: rgba(var(--white-rgb),.42); }
.chk-perk svg { flex-shrink: 0; }
@media (min-width: 861px) {
  .chk-summary { position: sticky; top: 100px; }
}

@media (max-width: 860px) {
  .chk-hero { padding: 4rem 1.25rem 0; }
  .chk-wrap { padding: 2rem 1.25rem 4rem; }
  .chk-grid { grid-template-columns: 1fr; }
  .chk-card { padding: 1.5rem; }
}

/* ─── PRODUCT: Add to Cart / Buy Now ─── */
.prod-price-note { font-size: .7rem; color: rgba(var(--white-rgb),.35); margin-top: 1.25rem; margin-bottom: .5rem; }
.prod-buy-stack { display: flex; flex-direction: column; gap: .65rem; }
.prod-buy-btn-cart { background: var(--violet); }
.prod-buy-btn-now { background: transparent; border: 1.5px solid rgb(var(--white-rgb)); color: rgb(var(--white-rgb)); }
.prod-buy-btn-now:hover { background: rgb(var(--white-rgb)); color: var(--ink); }
.prod-corp-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1rem; padding: .9rem 1.1rem;
  background: rgba(27,26,255,.06); border: 1px solid var(--border); border-radius: 10px;
  font-size: .8rem; color: rgba(var(--white-rgb),.65);
}
.prod-corp-row span:first-child { display: flex; align-items: center; gap: .5rem; }
.prod-corp-row span:last-child { color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.prod-corp-row:hover { border-color: rgba(27,26,255,.4); }

/* ─── CHECKOUT: billing details / summary extras ─── */
.chk-checkbox-row { display: flex; align-items: center; gap: .65rem; font-size: .8375rem; color: rgba(var(--white-rgb),.7); cursor: pointer; margin: 1.25rem 0; }
.chk-checkbox-row input { accent-color: var(--violet); width: 17px; height: 17px; flex-shrink: 0; }
.chk-coupon-row { display: flex; gap: .5rem; }

/* ─── PROMO BANNER (Home + Shop) ─── */
.promo-banner {
  position: relative; overflow: hidden;
  border-radius: 20px;
  min-height: 200px;
  display: flex; align-items: center;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem);
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.promo-banner::before {
  content: attr(data-watermark);
  position: absolute; right: -.5rem; top: 50%; transform: translateY(-50%);
  font-family: var(--f-disp); font-size: clamp(4rem, 11vw, 10rem); font-weight: 700; font-style: italic;
  color: rgba(var(--white-rgb),.06); line-height: 1; letter-spacing: -.03em;
  pointer-events: none; user-select: none; white-space: nowrap;
}
.promo-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 65%, transparent 100%);
}
.promo-banner-content { position: relative; z-index: 1; max-width: 480px; }
.promo-banner-title { font-family: var(--f-body); font-size: clamp(1.375rem, 2.75vw, 2rem); font-weight: 800; color: rgb(var(--white-rgb)); letter-spacing: -.02em; line-height: 1.15; }
.promo-banner-sub { font-size: .875rem; color: rgba(var(--white-rgb),.62); margin-top: .6rem; line-height: 1.65; }
.promo-banner-content .btn-gold { margin-top: 1.5rem; }

@media (max-width: 680px) {
  .promo-banner { border-radius: 16px; min-height: 170px; padding: 1.75rem 1.5rem; }
}

/* ─── MY ACCOUNT: dashboard tab (woocommerce/myaccount/dashboard.php) ───
   WooCommerce's own dashboard content (the "Hello X (log out)" greeting +
   description paragraph, from do_action('woocommerce_account_dashboard'))
   is kept as-is for safety — this only styles it, plus the quick-link
   cards to Orders/Downloads/Addresses/Account details added below it. */
.acct-dashboard-intro { margin-bottom: 1.75rem; }
.acct-dashboard-intro p:first-child { color: rgb(var(--white-rgb)); font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.acct-dashboard-intro p:first-child a { font-size: .78rem; font-weight: 400; color: var(--accent-ink); text-decoration: underline; margin-left: .35rem; }
.acct-dashboard-intro p:not(:first-child) { color: var(--muted); font-size: .85rem; line-height: 1.75; }
.acct-dashboard-intro p:not(:first-child) a { color: var(--accent-ink); }

/* Real counts (wc_get_customer_order_count() / count of currently
   downloadable products) — not decorative placeholders.
   min-width:0 everywhere here on purpose: grid/flex items default to
   min-width:auto, meaning they refuse to shrink narrower than their own
   content's natural (unwrapped) size — that floor, not any width/padding
   rule, is what was still forcing these cards past the edge of a real
   phone screen even after the container-level overflow fix above. */
.acct-stat-row { display: grid; grid-template-columns: repeat(2,1fr); gap: .85rem; margin-bottom: .85rem; min-width: 0; }
.acct-stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.25rem; text-align: center; min-width: 0;
}
.acct-stat-num { font-family: var(--f-disp); font-size: 2rem; font-weight: 300; color: var(--accent-ink); line-height: 1; }
.acct-stat-lbl { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }

.acct-quicklinks { display: grid; grid-template-columns: repeat(2,1fr); gap: .85rem; min-width: 0; }
.acct-quicklink {
  display: flex; align-items: center; gap: .9rem; min-width: 0;
  border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.25rem;
  background: var(--surface); transition: border-color .15s, background .15s;
}
.acct-quicklink:hover { border-color: var(--violet); background: var(--violet-f); }
.acct-quicklink svg { flex-shrink: 0; color: var(--accent-ink); }
.acct-quicklink > div { min-width: 0; }
.acct-quicklink span { display: block; font-size: .875rem; font-weight: 600; color: rgb(var(--white-rgb)); overflow-wrap: break-word; }
.acct-quicklink small { display: block; font-size: .7rem; color: var(--muted); margin-top: .1rem; }

@media (max-width: 640px) {
  /* .acct-quicklinks already went single-column here — .acct-stat-row
     had no matching override, so its two 1fr columns kept trying to
     divide whatever width the (also-overflowing, see the 760px block
     below) content column had, forcing the second stat card to spill
     past the right edge instead of actually fitting the screen. */
  .acct-stat-row { grid-template-columns: 1fr; }
  .acct-quicklinks { grid-template-columns: 1fr; }
}

/* ─── MY ACCOUNT: Downloads tab (woocommerce/myaccount/downloads.php) ───
   Card-per-font instead of a plain filename table, so a buyer with
   several purchases can recognize what they're looking for at a glance. */
.acct-downloads-grid { display: flex; flex-direction: column; gap: .85rem; }
.acct-dl-card {
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.25rem;
  background: var(--surface);
}
.acct-dl-thumb {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  background-size: cover; background-position: center; background-color: var(--violet-f);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp); font-weight: 700; font-size: 1.2rem; color: var(--accent-ink);
}
.acct-dl-info { flex: 1; min-width: 0; }
.acct-dl-name { display: block; font-size: .9rem; font-weight: 600; color: rgb(var(--white-rgb)) !important; text-decoration: none; margin-bottom: .2rem; }
a.acct-dl-name:hover { color: var(--accent-ink); }
.acct-dl-meta { display: flex; gap: .75rem; flex-wrap: wrap; font-size: .72rem; color: var(--muted); }
.acct-dl-btn {
  flex-shrink: 0; padding: .6rem 1.25rem; border-radius: 8px;
  /* !important: see .acct-order-btn's comment — .woocommerce a{color:
     inherit} otherwise silently wins over a plain class here too. */
  background: var(--violet); color: #fff !important; font-size: .8rem; font-weight: 700;
  white-space: nowrap; text-decoration: none;
}
.acct-dl-btn:hover { opacity: .9; }

@media (max-width: 520px) {
  .acct-dl-card { flex-wrap: wrap; }
  .acct-dl-btn { width: 100%; text-align: center; margin-top: .25rem; }
}

/* ─── MY ACCOUNT: Orders tab (woocommerce/myaccount/orders.php) ───
   Same reasoning as Downloads above — a card per order instead of a
   plain Date/Status/Total/Actions table, with the status rendered as a
   colored pill instead of plain text so you can scan for what needs
   attention (on-hold, failed) without reading every row. */
.acct-orders-list { display: flex; flex-direction: column; gap: .85rem; }
.acct-order-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem 1.25rem;
  background: var(--surface);
}
.acct-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.acct-order-num { font-size: .9rem; font-weight: 700; color: rgb(var(--white-rgb)); }
.acct-order-date { display: block; font-size: .72rem; color: var(--muted); margin-top: .2rem; }
.acct-order-status {
  flex-shrink: 0; padding: .3rem .75rem; border-radius: 6px;
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  background: var(--muted); color: #fff; white-space: nowrap;
}
/* Solid backgrounds with white text, not a tinted background + matching-
   color text — the tint version read too close in tone to its own
   surface (and to the card border around it) to tell apart at a glance,
   which was the actual complaint, not just the pill shape. */
.acct-order-status--completed { background: #1E9A57; }
.acct-order-status--processing { background: var(--violet); }
.acct-order-status--on-hold { background: #B8860B; }
.acct-order-status--cancelled, .acct-order-status--failed { background: #D6483F; }
.acct-order-mid {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: .85rem; margin-bottom: .85rem; border-bottom: 1px solid var(--border);
  font-size: .8rem; color: var(--muted);
}
.acct-order-total { font-family: var(--f-mono); color: var(--accent-ink); font-weight: 700; }
.acct-order-total .amount { color: inherit; }
.acct-order-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.acct-order-btn {
  padding: .55rem 1.1rem; border-radius: 8px; font-size: .78rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  /* !important needed: .woocommerce a{color:inherit} is a class+element
     selector, more specific than this plain class alone, so it was
     silently winning and leaving the button text at its inherited
     (near-black) color instead of the white set here. */
  background: var(--violet); color: #fff !important;
}
.acct-order-btn:hover { opacity: .9; }
.acct-order-btn--cancel { background: transparent; border: 1px solid var(--border); color: var(--muted) !important; }

/* ─── FONTS PAGE: image scroller hero ───
   Manual horizontal scroller — swipe on touch, drag or the arrow buttons
   on desktop, scroll-snap so it always settles on a tile edge instead of
   stopping mid-tile. Native scrollbar hidden (still fully scrollable by
   every input method) since the arrow buttons + visible tile-edge
   affordance already communicate "this scrolls" without it. */
.hero-mosaic-wrap {
  position: relative;
  border-bottom: 1px solid var(--border); background: #050308;
}
.hero-mosaic-track {
  display: flex; overflow-x: auto;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
.hero-mosaic-track::-webkit-scrollbar { display: none; }

.hero-mosaic-tile {
  background-size: cover; background-position: center; background-repeat: no-repeat;
  position: relative; display: block; flex-shrink: 0;
  width: min(33.34vw, 480px); aspect-ratio: 3 / 2; /* recommended source size 2340×1560px — sized so 3 tiles fill the viewport width */
  scroll-snap-align: start;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.hero-mosaic-tile:hover {
  transform: scale(1.06);
  z-index: 5;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(214,255,28,.25);
}

/* Arrow buttons — desktop-only precision control; below 860px, touch
   swipe is already the natural way to browse this, and floating buttons
   over a narrow strip just get in the way. Always visible (not a hover
   reveal) and each side hides itself once there's nothing left to scroll
   that way (see the SHOP HERO MOSAIC SCROLLER script), so only the
   directions that actually do something ever show. */
/* Solid white badge + dark icon + drop shadow (was a dark translucent
   circle with a white icon — the opposite of the requested reference,
   which reads much cleaner/more visible against a busy photo behind it
   than a dark-on-dark translucent circle does). */
.hero-mosaic-nav {
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; z-index: 6;
  background: #fff; color: #18181b;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  cursor: pointer; transition: opacity .2s, transform .2s;
}
.hero-mosaic-nav:hover { opacity: .85; transform: translateY(-50%) scale(1.06); }
.hero-mosaic-nav svg { width: 16px; height: 16px; display: block }
.hero-mosaic-nav.prev { left: .75rem; }
.hero-mosaic-nav.next { right: .75rem; }
.hero-mosaic-nav[hidden] { display: none; }

@media (max-width: 860px) {
  .hero-mosaic-tile { width: min(64vw, 320px); }
  .hero-mosaic-nav { display: none !important; }
}
@media (max-width: 480px) {
  .hero-mosaic-tile { width: 78vw; }
  /* Long bundle/product titles were fighting the price for horizontal
     room next to them, forcing 3+ cramped wrapped lines — stacking the
     price below instead gives the title the full card width to wrap in. */
  .sc-info-top{flex-direction:column;align-items:flex-start;gap:.35rem}
  .sc-info-price{text-align:left}
}

/* ─── CART DRAWER — same slide-in-from-right pattern as #nav-drawer,
   works identically on mobile (capped to 90vw) and desktop. ─── */
#cart-drawer-overlay {
  --bg-rgb:9,6,10;
  position: fixed; inset: 0; z-index: 600;
  background: rgba(var(--bg-rgb),.65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease);
}
#cart-drawer-overlay.open { opacity: 1; pointer-events: all; }
#cart-drawer {
  --bg-rgb:9,6,10;--white-rgb:242,237,229;--border:rgba(27,26,255,.2);--border2:rgba(27,26,255,.36);--muted:#9A8085;--surface:rgba(27,26,255,.06);--accent-ink:var(--gold);
  color:rgb(var(--white-rgb));
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 700;
  width: min(400px, 90vw);
  background: rgba(10,10,10,.98); border-left: 1px solid var(--border);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
}
#cart-drawer.open { transform: none; }
.cd-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.cd-title { font-family: var(--f-body); font-size: 1.0625rem; font-weight: 700; }
.cd-body { flex: 1; overflow-y: auto; }
.cd-body .chk-row { padding: 1.1rem 1.75rem; }
.cd-footer { padding: 1.5rem 1.75rem; border-top: 1px solid var(--border); flex-shrink: 0; }
.cd-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-size: .875rem; color: rgba(var(--white-rgb),.6); }
.cd-subtotal strong { font-family: var(--f-mono); color: var(--accent-ink); font-size: 1.0625rem; }
.cd-view-cart {
  display: block; text-align: center; margin-top: .85rem;
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.cd-view-cart:hover { color: var(--accent-ink); }
/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE COMPATIBILITY — reskins WooCommerce's own default
   markup/classes (shop archive wrapper, single-product summary,
   variations, cart, checkout, my account, reviews, notices) to match
   the site's current light "bold agency" design system (white body,
   lime + electric-blue accents, Anton headlines). Deliberately does
   NOT touch WooCommerce's own templates for cart/checkout logic —
   only CSS, so the tested, built-in cart/checkout/payment flow is
   never at risk. Follows the same --gold/--accent-ink split as the
   rest of this stylesheet: --gold is for solid fills only (buttons,
   badges, ticker — always lime); --accent-ink is for text/icon
   accents (price, stars, links — blue on this light body, lime inside
   a .dark-zone). Expect to nudge a few of these once you can see it
   rendered against a real WooCommerce install — class names are
   standard/stable but this was authored without a live WordPress
   instance to check against.
   ═══════════════════════════════════════════════════════════════ */
.woocommerce { color: var(--white); font-family: var(--f-body); }
.woocommerce a { color: inherit; }
/* Real inline text links (login/coupon toggles, privacy policy, terms) vs.
   the .woocommerce a{color:inherit} default above, which was written for
   links that shouldn't stand out from their surrounding text (product
   names, breadcrumbs). These specifically need to read as clickable
   inside a paragraph, so they get the accent color the rest of the site
   already uses for links/prices instead of blending into plain text —
   !important since the color:inherit rule above (a class selector) would
   otherwise win by source order against another plain class selector. */
.woocommerce-info a.showlogin, .woocommerce-info a.showcoupon,
.woocommerce-privacy-policy-link, .woocommerce-terms-and-conditions-link {
  color: var(--accent-ink) !important; text-decoration: underline; font-weight: 600;
}
.woocommerce-info a.showlogin:hover, .woocommerce-info a.showcoupon:hover,
.woocommerce-privacy-policy-link:hover, .woocommerce-terms-and-conditions-link:hover { opacity: .8; }
.woocommerce ul.products { list-style: none; }

/* Single product: reuse existing type scale for WC's own output */
/* Product gallery (real uploaded poster/gallery images — WooCommerce's own
   gallery markup and JS, just restyled to sit in the .prod-cols left slot). */
/* border-radius/overflow/border moved here from .__wrapper below — that
   element is FlexSlider's own sliding strip (all 10 slides side by side,
   e.g. 12802px wide, translated left/right per slide), not a viewport.
   Rounding IT only rounds the true left/right edges of that whole strip,
   which are off-screen almost all the time — in practice that meant only
   slide 1's left corners and slide 10's right corners ever looked
   rounded, every slide in between showed square corners. This element is
   the actual fixed-size viewport the strip slides inside of, so rounding
   it always frames whichever slide is currently showing, consistently. */
.prod-gallery-mount .woocommerce-product-gallery { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.prod-gallery-mount .woocommerce-product-gallery__wrapper { list-style: none; }
.prod-gallery-mount .woocommerce-product-gallery__image img { width: 100%; height: auto; display: block; }
/* overflow-x:auto here was never paired with hiding the native scrollbar
   (see the SHOP HERO MOSAIC SCROLLER fix in js/theme.js for the same
   issue on the Shop page) — same fix applied here: hidden scrollbar,
   scroll-snap, and the identical .hero-mosaic-nav arrow buttons (see
   PRODUCT GALLERY THUMB SCROLLER in js/theme.js for where they're
   inserted, since WooCommerce renders this list itself via
   woocommerce_show_product_images(), not a template this theme owns). */
.prod-thumbs-wrap { position: relative; }
.prod-gallery-mount .flex-control-thumbs {
  list-style: none; display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: nowrap; padding: 0;
  overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; -ms-overflow-style: none;
}
.prod-gallery-mount .flex-control-thumbs::-webkit-scrollbar { display: none; }
/* Was a fixed 64px — however wide the gallery column happened to be,
   that showed 8-10+ tiny thumbnails at once on desktop with no obvious
   sign there was more to scroll to. Percentage-based flex-basis instead,
   sized so ~4.3 thumbnails fit at any container width (the ".3" is
   deliberate — a sliver of the next one peeking in at the edge is the
   cue that this scrolls, same reasoning as the Shop page's mosaic tiles). */
/* Fixed height, width auto — each thumbnail keeps the source image's own
   aspect ratio (no forced square crop via object-fit:cover), so widths
   naturally vary a bit between images instead of every preview being
   cropped to fit an identical square box. */
/* height:84px + width:auto (sized by the now-full-resolution image's own
   intrinsic dimensions — see js/theme.js swapping each thumb off the
   hard-cropped 100x100 file) let a slide's real pixel width depend on
   however large the source photo happens to be, and briefly at that
   full intrinsic size before layout settles. FlexSlider reads box widths
   to lay out both this strip and the main slider, so that unpredictable/
   shifting width broke its math for both — the main image cropping off
   and this row losing drag-scroll entirely were the same root cause, not
   two separate bugs. Fixed flex-basis + a landscape (not square) fixed
   ratio keeps the box size predictable for FlexSlider regardless of the
   source photo's actual resolution, while object-fit:cover on the same
   full-resolution image still reads as a real photo, not a forced crop
   to 100x100 like before. */
/* 4 exactly, not 4.3 — a sliver of a 5th thumbnail peeking in at the edge
   was meant as a "this scrolls" cue (same idea as the Shop page's mosaic),
   but read as a cut-off/broken thumbnail instead of an affordance. Whole
   thumbnails only now, none partially visible at rest. */
.prod-gallery-mount .flex-control-thumbs li { flex: 0 0 calc((100% - 3 * .5rem) / 4); aspect-ratio: 3 / 2; scroll-snap-align: start; }
.prod-gallery-mount .flex-control-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .55; transition: opacity .2s; display: block; }
.prod-gallery-mount .flex-control-thumbs img.flex-active, .prod-gallery-mount .flex-control-thumbs img:hover { opacity: 1; }
.prod-gallery-mount .woocommerce-product-gallery__trigger { position: absolute; top: 1rem; right: 1rem; background: rgb(var(--bg-rgb)); border-radius: 50%; width: 34px; height: 34px; }
/* Was a negative offset (-8px, sitting outside the strip's own edge) —
   that pushed it past the actual content column's boundary since this
   strip already runs the full width of that column, clipping/crowding
   the button against the edge instead of framing it. Positive offset
   keeps it inside, clear of the boundary. */
.prod-thumbs-wrap .hero-mosaic-nav { width: 26px; height: 26px; }
.prod-thumbs-wrap .hero-mosaic-nav svg { width: 12px; height: 12px; }
.prod-thumbs-wrap .hero-mosaic-nav.prev { left: .5rem; }
.prod-thumbs-wrap .hero-mosaic-nav.next { right: .5rem; }

/* Fullscreen image viewer (opens via the magnifying-glass trigger on the
   main product image) is PhotoSwipe, bundled with WooCommerce core, not
   this theme's own markup — its prev/next arrow buttons removed by
   request, swipe/drag and keyboard arrow keys still navigate normally,
   this only hides the visible on-screen buttons. */
.pswp__button--arrow--left, .pswp__button--arrow--right { display: none !important; }

/* Main gallery image prev/next (see MAIN GALLERY IMAGE NAV in js/theme.js)
   — bottom-right instead of vertically centered like every other
   .hero-mosaic-nav use, to match the requested reference exactly. */
/* transform reset to none — the base .hero-mosaic-nav's translateY(-50%)
   is there to vertically center against its own top:50% positioning,
   which this bottom-anchored variant doesn't use; left inherited, the
   hover scale below assumed no leftover translateY component either. */
.prod-main-nav { transform: none; }
.prod-main-nav:hover { transform: scale(1.06); }
.prod-main-nav.prev { top: auto; bottom: 1rem; left: auto; right: 3.75rem; }
.prod-main-nav.next { top: auto; bottom: 1rem; }

.prod-stick .product_title { font-family: var(--f-body); font-size: clamp(1.5rem,2.5vw,2.125rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; text-transform: none; margin-bottom: .5rem; }
.prod-stick .price { font-family: var(--f-mono); font-size: 1.25rem; color: var(--accent-ink); font-weight: 700; display: block; margin: .5rem 0 1rem; }
.prod-stick .price ins { text-decoration: none; color: var(--accent-ink); }
.prod-stick .price del { opacity: .45; margin-right: .5rem; }
.prod-stick .woocommerce-product-rating { margin-bottom: 1rem; }
.prod-stick .star-rating { color: var(--accent-ink); }

.prod-stick form.cart { margin-top: 0; }
.prod-stick table.variations { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.prod-stick table.variations tr { display: block; }
.prod-stick table.variations td.label { display: block; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.prod-stick table.variations td.value { display: block; }
.prod-stick table.variations select {
  width: 100%; padding: .75rem 1rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--white);
  font-family: var(--f-body); font-size: .9rem; outline: none;
  transition: border-color .18s, background .18s;
}
.prod-stick table.variations select:focus { border-color: var(--violet); background: var(--glass); }
.prod-stick .reset_variations { font-size: .7rem; color: var(--muted); margin-left: .5rem; }
.prod-stick .single_variation_wrap { margin: 1rem 0; }
.prod-stick .woocommerce-variation-price .price { margin: 0 0 1rem; }
.prod-stick .woocommerce-variation-add-to-cart,
.prod-stick .woocommerce-product-details__short-description + form.cart .quantity { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.prod-stick .quantity { display: none; } /* fonts are single-download digital goods — quantity of 1 is the only sane value */
.prod-stick .single_add_to_cart_button,
.prod-stick button[name="add-to-cart"] {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .875rem 2.25rem; border-radius: 100px;
  background: var(--violet); color: var(--violet-ink); font-size: .875rem; font-weight: 700; letter-spacing: .02em;
  transition: filter .2s, transform .15s, box-shadow .2s; border: none;
  box-shadow: 0 0 28px rgba(27,26,255,.4);
}
.prod-stick .single_add_to_cart_button:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 0 40px rgba(27,26,255,.55); }
.prod-stick .single_add_to_cart_button.disabled { opacity: .4; pointer-events: none; box-shadow: none; }
.prod-stick .woocommerce-variation-availability { font-size: .78rem; color: var(--muted); margin-bottom: .5rem; }

/* Notices — flex+gap instead of margin-left on the button: the old
   margin-left assumed the button always sits inline right after the text
   on one line, but on an empty-state message (e.g. Downloads with nothing
   yet) the button wraps to its own line below, where that one-sided
   margin just shifted it off-center instead of spacing it evenly. */
.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-noreviews {
  list-style: none; padding: 1.5rem; border-radius: 12px; margin: 0 0 1.5rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--white); font-size: .875rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; text-align: center;
}
.woocommerce-error { border-color: rgba(214,72,63,.4); }
.woocommerce-message .button, .woocommerce-error .button, .woocommerce-info .button { margin: 0; }
/* WooCommerce core prints its own icon-font glyph via ::before, absolutely
   positioned assuming the default left-aligned/padded notice layout WC
   ships with. Our version above overrides that padding and centers
   everything, so the icon has nowhere correct to sit — it was landing on
   top of the text instead (this is that stray blue box some pages showed
   near the first letter of the message). The theme's notices read fine as
   plain centered text, so just drop the icon rather than re-position it. */
.woocommerce-message::before, .woocommerce-message::after,
.woocommerce-error::before, .woocommerce-error::after,
.woocommerce-info::before, .woocommerce-info::after,
.woocommerce-noreviews::before, .woocommerce-noreviews::after { content: none !important; display: none !important; }
/* Empty-cart "Return to shop" button — WC prints this as its own <p>
   right after the notice, not inside it, so the notice's own centering
   above doesn't reach it; it was left-aligned under the (centered)
   notice box instead of centered along with it. */
.return-to-shop { text-align: center; }

/* Breadcrumb — same treatment as .prod-bc (the hand-built breadcrumb on
   the product page), so WooCommerce's auto-generated one on the Shop
   archive matches instead of using unstyled browser defaults. */
.woocommerce-breadcrumb {
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 2rem 3rem 0;
}
.woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; transition: color .15s; }
.woocommerce-breadcrumb a:hover { color: var(--accent-ink); }

/* Pagination */
/* WooCommerce's own pagination template (used on Shop) wraps links in a
   real <ul class="page-numbers"><li> structure, but a plain
   paginate_links() call (used on Blog) prints the same .page-numbers
   links with no wrapper at all. Both get styled the same way below — BUT
   WooCommerce's own plugin CSS also targets that <ul>/<li> structure
   specifically (`.woocommerce nav.woocommerce-pagination ul li a`), and
   because it matches more elements it wins on specificity even though our
   rule loads later — that's what made Shop's pagination render as WC's
   default joined pill-bar (bordered, square, no gaps) while Blog's
   listless version looked fine. The !important flags below aren't
   decorative — they're required to beat that WC rule specifically. */
.woocommerce-pagination, .woocommerce-pagination ul.page-numbers {
  display: flex; gap: .5rem; list-style: none; justify-content: center;
  flex-wrap: wrap; padding-left: 0; margin: 0; border: none !important;
}
.woocommerce-pagination ul.page-numbers li {
  float: none !important; border: none !important; padding: 0 !important; margin: 0; overflow: visible; display: block;
}
.woocommerce-pagination .page-numbers {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding: 0 .875rem !important;
  border: 1px solid var(--border); border-radius: 100px !important; font-family: var(--f-mono); font-size: .8rem;
  color: var(--muted); text-decoration: none; transition: all .15s; background: none; margin: 0; line-height: 1;
}
.woocommerce-pagination a.page-numbers:hover, .woocommerce-pagination a.page-numbers:focus {
  border-color: var(--accent-ink); color: var(--white); background: var(--surface) !important;
}
.woocommerce-pagination .page-numbers.current, .woocommerce-pagination span.page-numbers.current {
  background: var(--violet) !important; border-color: var(--violet); color: var(--violet-ink) !important; font-weight: 700;
}
.woocommerce-pagination .page-numbers.dots { border-color: transparent; }

/* Reviews (real WooCommerce reviews via comments_template()) */
.prod-reviews-sect #reviews { max-width: 100%; }
.prod-reviews-sect .comment-list { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; margin: 0 0 2rem; padding: 0; }
.prod-reviews-sect .comment-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }
.prod-reviews-sect .comment-text p { font-size: .8rem; color: var(--muted); line-height: 1.7; }
.prod-reviews-sect #review_form_wrapper { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; }
.prod-reviews-sect #review_form input, .prod-reviews-sect #review_form textarea {
  width: 100%; background: rgb(var(--bg-rgb)); border: 1px solid var(--border); border-radius: 8px;
  padding: .65rem .875rem; font-size: .8rem; color: var(--white); outline: none; font-family: var(--f-body);
}
.prod-reviews-sect #review_form .form-submit input[type="submit"] {
  padding: .75rem 1.75rem; border-radius: 100px; background: var(--violet); color: var(--violet-ink);
  font-size: .82rem; font-weight: 700; border: none;
}

/* Cart page — top padding is just 3rem now (not nav clearance): the new
   page.php h1 above this wrapper already clears the fixed nav itself. */
.woocommerce-cart .woocommerce { padding: 3rem 3rem 3rem; max-width: 1100px; margin: 0 auto; }
table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
table.shop_table th { text-align: left; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 1rem; border-bottom: 1px solid var(--border); }
table.shop_table td { padding: 1rem; border-bottom: 1px solid var(--border); font-size: .875rem; }
.woocommerce-cart-form .product-name a { color: var(--white); font-weight: 600; }
.woocommerce-cart-form .product-price, .woocommerce-cart-form .product-subtotal { color: var(--accent-ink); font-family: var(--f-mono); }
.woocommerce-cart-form .coupon .input-text { padding: .75rem 1rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--white); margin-right: .5rem; }
.cart-collaterals .cart_totals { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; max-width: 380px; margin-left: auto; }
.cart-collaterals .cart_totals th, .cart-collaterals .cart_totals td { border-bottom: 1px solid var(--border); }
.cart-collaterals .order-total .amount { color: var(--accent-ink); font-weight: 700; }

/* Checkout page — see the Cart page comment above; same reasoning. */
.woocommerce-checkout .woocommerce { padding: 3rem 3rem 3rem; max-width: 1100px; margin: 0 auto; }

/* Editable product table at the top of Checkout (see the PHP hook that
   prints WooCommerce's own cart.php template here) — coupon field,
   totals box and cross-sells that template also renders are hidden since
   this page already has its own coupon field + order-summary sidebar
   further down; only the actual line-items table + Update Cart survive. */
.kt-checkout-cart-review { margin-bottom: 2.5rem; }
.kt-checkout-cart-review .cart-collaterals,
.kt-checkout-cart-review .cross-sells,
.kt-checkout-cart-review .woocommerce-cart-form .coupon,
.kt-checkout-cart-review .actions .coupon { display: none; }
.kt-checkout-cart-review table.shop_table { margin-bottom: 1.25rem; }
.kt-checkout-cart-review .product-thumbnail img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block;
}
.kt-checkout-cart-review .product-remove a {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; color: var(--muted) !important;
  border: 1px solid var(--border); text-decoration: none !important; font-size: .9rem;
}
.kt-checkout-cart-review .product-remove a:hover { color: var(--danger) !important; border-color: var(--danger); }
.kt-checkout-cart-review .quantity .qty {
  width: 64px; padding: .5rem .6rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--white); font-family: var(--f-body); font-size: .875rem; outline: none;
}
.kt-checkout-cart-review [name="update_cart"] {
  padding: .7rem 1.75rem !important; border-radius: 100px !important; background: transparent !important;
  color: rgb(var(--white-rgb)) !important; border: 1px solid var(--border2) !important;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.kt-checkout-cart-review [name="update_cart"]:hover { border-color: var(--violet); color: var(--accent-ink) !important; }
@media (max-width: 700px) {
  .kt-checkout-cart-review table.shop_table thead { display: none; }
  .kt-checkout-cart-review table.shop_table td { display: flex; align-items: center; gap: .75rem; border-bottom: none; padding: .4rem 0; }
  .kt-checkout-cart-review table.shop_table tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--border); }
}
.woocommerce-checkout input.input-text, .woocommerce-checkout select, .woocommerce-checkout textarea {
  width: 100%; padding: .875rem 1rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: var(--white); font-family: var(--f-body); font-size: .9375rem; outline: none;
  transition: border-color .2s, background .2s;
}
.woocommerce-checkout input.input-text:focus, .woocommerce-checkout select:focus, .woocommerce-checkout textarea:focus { border-color: var(--violet); background: var(--glass); }
.woocommerce-checkout label { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
/* Same .form-row name-collision fix as My Account (see comment there) —
   only matters if classic (non-block) checkout markup ever renders. */
.woocommerce-checkout .form-row { display: block; margin: 0 0 1.25rem; }
.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last {
  display: inline-block; width: calc(50% - .5rem); vertical-align: top; margin-bottom: 1.25rem;
}
.woocommerce-checkout .form-row-first { margin-right: 1rem; }
.woocommerce-checkout .form-row-wide { width: 100%; clear: both; }
@media (max-width: 560px) {
  .woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: 100%; margin-right: 0; }
}
/* Checkout layout — default WooCommerce prints three flat siblings inside
   form.checkout (#customer_details, #order_review_heading, #order_review),
   which a theme with no column CSS at all (this one, before this rule)
   just stacks top to bottom: the full billing form, THEN — after a long
   scroll — the order total, THEN payment. A buyer has no idea what
   they're paying until they've filled in every field, which is exactly
   the "confusing" checkout flow being fixed here. Grid-placing those
   three siblings into a form/sidebar split (sidebar sticky, so the order
   total and Place Order button stay on screen the whole time) needs no
   custom checkout template — the default markup already has stable
   IDs, this is placement/positioning only. */
@media (min-width: 901px) {
  .woocommerce-checkout form.checkout {
    /* row-gap kept separate from column-gap (and at 0, not the old
       single "gap: 3rem" shorthand, which applies to both) — that was
       adding an invisible 48px of grid row-gap between
       #order_review_heading and #order_review (rows 1 and 2 of the same
       column) on top of any margin/padding on those elements themselves,
       the real source of "Order Summary" sitting much lower than
       "Billing details", which has no such gap before its first field.
       column-gap moved to a border + padding pairing below instead of a
       plain gap, for a second, separate reason (see #customer_details). */
    display: grid; grid-template-columns: 1fr 400px; column-gap: 0; row-gap: 0; align-items: start;
  }
  /* align-self: stretch (overriding the grid's align-items: start) so
     this column's own box always reaches the taller of the two columns'
     height — #order_review (product table + payment methods) is
     routinely taller than the billing form, and left at its natural
     content height, "Billing details" just stopped short with a slab of
     unexplained blank space beside the still-continuing sidebar. A
     border-right filling that same full height reads as an intentional
     divider between two sections instead of a layout that ran out. */
  .woocommerce-checkout #customer_details {
    grid-column: 1; grid-row: 1 / 3; align-self: stretch;
    border-right: 1px solid var(--border); padding-right: 3rem;
  }
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review { margin-left: 3rem; }
  .woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; margin-bottom: .75rem; }
  .woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 6.5rem; padding-top: 1rem; }
}
#order_review, #payment { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; }
#payment .payment_methods { list-style: none; }
#payment .payment_methods li { border-bottom: 1px solid var(--border); padding: .875rem 0; }

/* #customer_details.col2-set: .col-1 is the real billing form, .col-2 is
   just the optional order-notes textarea — WITHOUT this it renders as a
   second, equally-weighted column right beside billing (see screenshot
   that prompted this), competing for attention with the fields that
   actually matter. Full width below billing, and visually quieter. */
.woocommerce-checkout #customer_details.col2-set { display: block; }
/* WooCommerce core CSS floats .col-1/.col-2 at 48% width each (its own
   default 2-col split) — still loaded regardless of this theme's own
   rules, so it wins unless explicitly overridden here too, not just on
   the parent. */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details .col-2 { margin-top: 2rem; opacity: .8; }
.woocommerce-checkout #customer_details .col-2 h3 {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 400; margin-bottom: .75rem;
}

/* "Returning customer?" — the only one of the two default notices left
   in its original spot (see the SIDEBAR COUPON script for where "Have a
   coupon?" went). Dropped the boxed-notice treatment entirely in favor
   of a plain right-aligned line, closer to a "LOGIN NOW →" style prompt
   than a message that needs its own card. */
.woocommerce-checkout .woocommerce-info {
  background: none; border: none; padding: 0 0 1.5rem; margin: 0;
  justify-content: flex-end; text-align: right; font-size: .8125rem;
}
.woocommerce-checkout .woocommerce-info a.showlogin { text-transform: uppercase; letter-spacing: .04em; }
.woocommerce-checkout .woocommerce-info a.showlogin::after { content: ' →'; }

/* Coupon form relocated into the order-summary sidebar (see the CHECKOUT:
   COUPON IN SIDEBAR script) — compact single-row field + button instead
   of WooCommerce's default two stacked .form-row blocks with their own
   labels, since "Coupon code" placeholder text already says what it is. */
/* WooCommerce core's own default .woocommerce-form-coupon CSS gives the
   form itself a bordered/padded box (it's normally a reveal-on-click
   panel under "Have a coupon?"), which was showing through as a second,
   nested box around the coupon row now that it lives in this already-
   bordered sidebar card — stripped so this row's own flex layout is the
   only box treatment. */
.kt-coupon-in-sidebar {
  display: flex !important; gap: .5rem; margin: 0 0 1.5rem;
  border: none; padding: 0; background: none; border-radius: 0;
}
.kt-coupon-in-sidebar .form-row { margin: 0; flex: 1; }
.kt-coupon-in-sidebar .form-row-last { flex: 0 0 auto; }
.kt-coupon-in-sidebar label { display: none; }
.kt-coupon-in-sidebar .input-text { margin: 0; }
/* #order_review prefix (not just .kt-coupon-in-sidebar button) is needed
   for specificity, not just scoping: the button also carries WooCommerce's
   own class="button", which the generic ".woocommerce .button" rule
   elsewhere (two classes) outranks a bare class+element selector for —
   same !important on both sides just means the higher-specificity one
   wins, which was the generic rule's oversized default padding/font-size
   instead of this button's intended compact size. */
#order_review .kt-coupon-in-sidebar button {
  padding: 0 1.25rem !important; border-radius: 10px !important; background: var(--violet) !important; color: var(--violet-ink) !important;
  font-size: .8rem !important; font-weight: 700; border: none !important; white-space: nowrap; height: 100%;
}
.kt-coupon-in-sidebar button:hover { opacity: .9; }

/* ─── ORDER RECEIVED (thank-you page) ───
   Had zero custom CSS before this — WooCommerce's plain default markup,
   completely unstyled, right at the one moment (straight after paying)
   a buyer most needs a clear "it worked, here's your file" moment. Class
   names below are WooCommerce core's own stable thankyou.php template,
   not this theme's — same reasoning as the rest of this checkout section:
   restyle the existing structure rather than build a custom template. */
.woocommerce-order { max-width: 760px; margin: 0 auto; padding: 3rem; }

/* Success header — the confirmation moment. Replaces WooCommerce's plain
   one-line <p class="woocommerce-notice">, which read as a form notice
   rather than "your purchase went through". */
.kt-thanks-head { text-align: center; margin-bottom: 2rem; }
.kt-thanks-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 1rem;
  background: var(--violet); color: var(--violet-ink);
}
.kt-thanks-check svg { display: block; }
.kt-thanks-title {
  font-family: var(--f-heavy); font-size: 1.75rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: .01em;
  margin: 0 0 .5rem; color: rgb(var(--white-rgb));
}
.kt-thanks-sub { margin: 0; color: var(--muted); font-size: .9rem; }

/* Order meta. A CSS grid rather than the old flex-wrap: with flex the
   four items wrapped 2+2 at unequal widths, and WooCommerce core's own
   `border-right` on each <li> left a divider dangling past the last item
   on every row. Fixed columns + explicit separators drawn only between
   columns fix both, and the markup (thankyou.php) no longer emits the
   core <ul> those borders were attached to. */
/* Fixed columns + gaps, not flex-wrap with divider borders. Two reasons
   the old flex version looked broken: the cells wrapped at uneven widths,
   and WooCommerce core's own border-right on each <li> left a divider
   dangling past the last cell of every wrapped row. This markup drops
   core's <ul> entirely, so those borders no longer apply. */
.kt-thanks-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem 1.75rem; margin: 0 0 3rem;
}
.kt-thanks-meta > div { min-width: 0; }
/* Email gets its own full-width row (and is emitted last in thankyou.php
   so grid auto-placement leaves no hole). A real address —
   putrikhoyrryyah2002@gmail.com, 29 chars — does not fit a quarter of a
   760px column, and an unbreakable string that long either forces the
   whole grid wider than its container or breaks mid-word. Its own row
   removes the constraint instead of shrinking the text to hide it. */
.kt-thanks-meta > .kt-thanks-meta__wide { grid-column: 1 / -1; }
.kt-thanks-meta dt {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin: 0;
}
.kt-thanks-meta dd {
  font-family: var(--f-body); font-size: 1rem; margin: .35rem 0 0;
  color: rgb(var(--white-rgb)); font-weight: 600;
  /* Emails are long and unbreakable — without this one address forces the
     whole grid wider than its column and the row loses alignment. */
  overflow-wrap: anywhere;
}
.kt-thanks-meta dd .amount { font-weight: 600; }

.woocommerce-order .woocommerce-notice--error {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; text-align: center; margin-bottom: 2rem;
}

/* Onward links. Without them this page dead-ends after the order details. */
.kt-thanks-actions {
  display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.kt-thanks-btn {
  padding: .7rem 1.5rem; border-radius: 100px;
  font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
/* !important on colour throughout: .woocommerce a{color:inherit} is a
   class+element selector and outranks a plain class here — the same
   override that has silently flattened button colours elsewhere in this
   theme (see .acct-dl-btn, .btn-gold, .n-cta). */
.kt-thanks-btn--primary { background: var(--violet); color: #fff !important; }
.kt-thanks-btn--ghost {
  border: 1px solid var(--border2); color: rgb(var(--white-rgb)) !important;
}
.kt-thanks-btn:hover { opacity: .9; }
.woocommerce-order-details__title, .woocommerce-order-downloads__title, .woocommerce-columns__title,
.woocommerce-column__title {
  font-family: var(--f-heavy); font-size: 1.25rem; font-weight: 400; text-transform: uppercase; margin: 0 0 1.25rem;
}
/* Downloads — the actual deliverable, shown right after purchase, so this
   gets the most visual weight on the whole page rather than reading as
   just another table row like every other section here. */
.woocommerce-order-downloads { margin-bottom: 3rem; }
.woocommerce-order-downloads table.shop_table { margin-bottom: 0; }
/* The grand total read as just another footer row — same size and weight
   as "Subtotal" and "Payment method" directly above it. It's the number
   the buyer actually checks against what PayPal charged them. */
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child td {
  border-top: 1px solid var(--border2);
}
.woocommerce-order .woocommerce-table--order-details tfoot tr:last-child td {
  font-size: 1.1rem; font-weight: 700; color: rgb(var(--white-rgb));
}
.woocommerce-order-downloads .download-file a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.5rem !important; border-radius: 100px !important; background: var(--gold) !important; color: #0C0A1A !important;
  font-size: .8rem; font-weight: 700; text-decoration: none !important;
}
.woocommerce-order-downloads .download-file a:hover { opacity: .9; }
/* auto-fit, not a hard 1fr 1fr: fonts are virtual products, so most orders
   have a billing address and no shipping one. A fixed two-column grid left
   that single card stranded at half width with dead space beside it. */
.woocommerce-customer-details { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.woocommerce-customer-details address {
  font-style: normal; font-size: .875rem; line-height: 1.7; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem;
}
@media (max-width: 860px) {
  .kt-thanks-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .woocommerce-order { padding: 2rem 1.25rem; }
  .woocommerce-customer-details { grid-template-columns: 1fr; }
  .kt-thanks-title { font-size: 1.4rem; }
}
/* !important throughout both rules below: WooCommerce core's own CSS
   targets button.button/a.button/input.button (element + class), which
   outranks a plain .woocommerce .button (class-only) in specificity —
   its pale default (#e9e6ed bg, 3px corners) was winning for background/
   padding/border-radius on every real <button>/<input> WC prints (My
   Account login/register/pay, downloads, etc.), leaving only our text
   color (already !important) visible against WC's own light background —
   nearly unreadable. #place_order's ID selector alone would normally be
   safe, but kept consistent here since WC also markup-varies by context. */
#place_order, .checkout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%;
  padding: .875rem 1.5rem !important; border-radius: 100px !important; background: var(--violet) !important; color: var(--violet-ink) !important;
  font-size: .875rem; font-weight: 700; letter-spacing: .02em; border: none !important; margin-top: 1rem;
  box-shadow: 0 0 28px rgba(27,26,255,.4);
}
#place_order:hover, .checkout-button:hover { opacity: .9; box-shadow: 0 0 40px rgba(27,26,255,.55); }

/* Generic WooCommerce button — covers My Account (login/register/pay/
   cancel/download) and anywhere else WC prints its own .button, so every
   page gets the same pill button without needing a page-specific rule. */
.woocommerce .button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.75rem !important; border-radius: 100px !important; background: var(--violet) !important; color: var(--violet-ink) !important;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em; border: none !important; text-decoration: none;
  transition: opacity .2s, transform .15s; cursor: pointer;
}
.woocommerce .button:hover { opacity: .9; transform: translateY(-1px); }
.woocommerce .button.cancel, .woocommerce a.button.cancel { background: transparent !important; border: 1px solid var(--border) !important; color: var(--muted) !important; box-shadow: none; }

/* My Account page — same input/label treatment as Checkout, since login,
   register, edit-address and edit-account forms all reuse WooCommerce's
   plain .input-text/label markup outside the .woocommerce-checkout scope. */
.woocommerce-account .woocommerce { padding: 3rem 3rem 3rem; max-width: 1100px; margin: 0 auto; }
.woocommerce-account .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-account .input-text, .woocommerce-account select, .woocommerce-account textarea {
  width: 100%; padding: .875rem 1rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: var(--white); font-family: var(--f-body); font-size: .9375rem; outline: none;
  transition: border-color .2s, background .2s;
}
.woocommerce-account .input-text:focus, .woocommerce-account select:focus, .woocommerce-account textarea:focus { border-color: var(--violet); background: var(--glass); }
/* font-size/letter-spacing kept modest on purpose — the mono/uppercase/
   wide-tracking treatment reads fine for short labels ("PASSWORD") but at
   the original .62rem + .12em, a longer one ("Username or email
   address") didn't fit its own row on a phone width, so just the
   trailing required-asterisk wrapped down alone onto its own line —
   looked like a stray, broken character rather than part of the label. */
.woocommerce-account label { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .4rem; }
.woocommerce-account fieldset { border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin: 1.5rem 0; }
.woocommerce-account fieldset legend { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 .5rem; }

/* WooCommerce's own edit-account/edit-address/register forms print each
   field as its own <p class="form-row form-row-first|last|wide">, unlike
   the theme's unrelated .form-row (a 2-up grid WRAPPER used on the
   Contact/License pages) — same class name, different markup shape. Reset
   the wrapper-grid behavior here so First/Last name sit side by side
   correctly instead of each getting squeezed into its own phantom grid. */
.woocommerce-account .form-row { display: block; margin: 0 0 1.25rem; }
.woocommerce-account .form-row-first, .woocommerce-account .form-row-last {
  display: inline-block; width: calc(50% - .5rem); vertical-align: top; margin-bottom: 1.25rem;
}
.woocommerce-account .form-row-first { margin-right: 1rem; }
.woocommerce-account .form-row-wide { width: 100%; clear: both; }
/* Direct-child combinator on purpose: this targets the field-description
   text WC prints as a plain sibling <span> next to some inputs (e.g.
   "This will be how your name will be displayed…" on Account Details) —
   a bare ".form-row span" also matched the required-field asterisk span
   nested inside <label> (a grandchild, not a direct child), forcing that
   one line onto its own row too and leaving it looking like a stray
   broken character instead of part of the label. */
.woocommerce-account .form-row > span { display: block; font-size: .78rem; color: var(--muted); margin-top: .5rem; }
@media (max-width: 560px) {
  .woocommerce-account .form-row-first, .woocommerce-account .form-row-last { width: 100%; margin-right: 0; }
}

/* Dashboard/orders/downloads layout — WC prints the sidebar nav and the
   active tab's content as two sibling divs inside .woocommerce. */
.woocommerce-account .woocommerce { display: flex; gap: 2.5rem; align-items: flex-start; flex-wrap: wrap; }
.woocommerce-MyAccount-navigation { width: 220px; flex-shrink: 0; }
.woocommerce-MyAccount-navigation ul {
  list-style: none; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); padding: .5rem; display: flex; flex-direction: column; gap: .15rem;
}
.woocommerce-MyAccount-navigation li { margin-bottom: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: .7rem 1rem; border-radius: 10px; color: var(--muted); font-size: .85rem; text-decoration: none; transition: background .15s, color .15s; }
.woocommerce-MyAccount-navigation a:hover { background: rgba(var(--white-rgb),.05); color: var(--white); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--violet-f); color: var(--white); font-weight: 600; }
/* WooCommerce marks the logout item with this exact class — give it its
   own tone everywhere (desktop and mobile) so it reads as a distinct,
   deliberate action rather than just another nav item. */
.woocommerce-MyAccount-navigation-link--customer-logout a { color: #F87171; }
.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: rgba(248,113,113,.1); color: #F87171; }
.woocommerce-MyAccount-content { flex: 1; min-width: 280px; }
.woocommerce-MyAccount-content > p:first-child { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* Address tab — WC's own default here is just a heading, an "Edit" link
   and a plain <address> text block, no card/box at all. .u-columns (used
   for Login/Register above) already handles the billing/shipping
   side-by-side layout; this just gives each one the same card treatment
   as everything else in the account area instead of bare text. */
.woocommerce-Address {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem 1.5rem;
}
.woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.woocommerce-Address-title h2 { font-size: .95rem; font-weight: 700; color: rgb(var(--white-rgb)); }
.woocommerce-Address-title a { font-size: .78rem; color: var(--accent-ink); text-decoration: underline; }
.woocommerce-Address address { font-style: normal; font-size: .85rem; color: var(--muted); line-height: 1.8; }

/* Downloads table — the whole point of a digital-goods store: make the
   actual font-file download link impossible to miss. */
.woocommerce-MyAccount-downloads-file { font-weight: 700; }
.woocommerce-MyAccount-downloads-file a { color: var(--accent-ink); }

/* Login / Register — WC renders these side-by-side via .u-columns when
   registration is enabled, stacked otherwise. */
.woocommerce-account .u-columns { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.woocommerce-account .u-column1, .woocommerce-account .u-column2 { flex: 1; min-width: 260px; }
.woocommerce-form-login, .woocommerce-form-register { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { margin-bottom: 1.1rem; }
/* !important: the generic ".woocommerce-account label{display:block}"
   rule (it targets every <label>, this being one of them) has higher
   specificity than a plain class selector, so it was silently winning
   over this flex declaration — the checkbox and its own "Remember me"
   text were landing on two separate stacked lines instead of sitting
   side by side. */
.woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.woocommerce-form-login__rememberme input { margin: 0; }
/* WC puts the "Remember me" checkbox and the submit button as siblings
   in the same <p>, with no layout of its own — give that row a clear,
   deliberate structure (checkbox row on top, full-width button below)
   instead of leaving them to fall wherever normal block/inline flow
   happens to put them. */
.woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) { display: flex; flex-direction: column; gap: .1rem; }
.woocommerce-form-login__submit { width: 100%; text-align: center; }
.woocommerce-LostPassword { font-size: .8rem; margin-top: 1rem; }

@media (max-width: 760px) {
  /* This is the actual cause of the account cards (stat tiles,
     quicklinks) getting cut off on real phones: .woocommerce-account
     .woocommerce keeps its desktop padding (3rem = 48px each side) here,
     and .woocommerce-MyAccount-content below carries a min-width:280px
     that was meant to stop it collapsing to nothing in the desktop
     two-column layout — but a flex item's min-width floor takes
     priority over its container actually fitting the screen, so on a
     narrow phone 48px + 48px + 280px alone is already wider than a lot
     of real screens, before any card content is even considered. Single-
     column stacking (flex-direction:column, right above) never fixed
     this, because it only changes which axis nav/content stack on, not
     how wide the content column is forced to stay.
     The actual remaining piece (found by reproducing this outside of
     WordPress with the real deployed CSS, since screenshots alone
     couldn't pin it down): .woocommerce-account .woocommerce's base
     rule sets align-items:flex-start (for the desktop two-column
     layout), which was never overridden here. In a column-direction
     flex container, align-items governs the CROSS axis — i.e. width —
     and flex-start means each child (the nav pill bar, the content
     column) is sized to its own natural content width instead of being
     stretched to fill the container. The nav's pill row is nowrap by
     design (see the horizontal-scroll rule below) — its unclipped
     natural width is wide, and with flex-start that width was
     ballooning .woocommerce itself past the screen, dragging every
     card inside along with it even though each card's own CSS was
     already correct. align-items:stretch (plus a definite width so
     that stretch has something to stretch to) is what actually fixes
     it — confirmed by testing this exact page structure and CSS
     directly in a browser rather than guessing from another screenshot. */
  .woocommerce-account .woocommerce { padding: 1.5rem 1.25rem; align-items: stretch; width: 100%; }
  .woocommerce-MyAccount-content { min-width: 0; width: 100%; }
  .woocommerce-account .woocommerce { flex-direction: column; }
  .woocommerce-MyAccount-navigation { width: 100%; }
  /* A horizontal scrolling row of pill tabs reads as a single deliberate
     tab bar — the previous flex-wrap version gave nav links no border in
     their default state, so a wrapped multi-row list of plain text links
     looked like loose, unstructured text rather than real navigation. */
  .woocommerce-MyAccount-navigation ul {
    flex-direction: row; flex-wrap: nowrap; overflow-x: auto;
    gap: .5rem; background: none; border: none; padding: 0 0 .35rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    /* Fades the last ~28px of the row to transparent as a "there's more,
       swipe" hint — without this the last pill just gets sliced off flush
       with the screen edge, which reads as broken/cut-off rather than as
       a scrollable row. mask-image instead of a solid-color gradient
       overlay so it works regardless of whatever's behind this row. */
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 28px), transparent 100%);
  }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-MyAccount-navigation li { flex-shrink: 0; }
  .woocommerce-MyAccount-navigation a {
    border: 1px solid var(--border); border-radius: 100px;
    padding: .6rem 1.1rem; white-space: nowrap;
  }
  .woocommerce-MyAccount-navigation li.is-active a { border-color: transparent; }
}

/* Shop-grid product loop wrapper (WooCommerce wraps content-product.php
   output in <ul class="products">; .shop-grid already defines the grid,
   so just neutralise the <ul>/<li> default box model). */
.shop-grid.products, ul.products.shop-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; padding: 3rem; }
ul.products li.product { list-style: none; }

@media (max-width: 860px) {
  ul.products.shop-grid, .shop-grid.products { grid-template-columns: repeat(2,1fr); padding-left: 2rem; padding-right: 2rem; }
  .prod-reviews-sect .comment-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  ul.products.shop-grid, .shop-grid.products { grid-template-columns: 1fr; padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ─── NAV CART ICON ─── */
.n-cart-btn { position: relative; }
.n-cart-count {
  position: absolute; top: 2px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 100px; background: var(--gold); color: var(--ink);
  font-family: var(--f-mono); font-size: .55rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

