/* =========================================================
   Sama — print-on-demand t-shirt store (frontend demo)
   Design tokens, base, components, pages
   ========================================================= */

:root {
  /* colour */
  --bg: #FFFFFF;
  --bg-alt: #F6F5FB;
  --surface: #FFFFFF;
  --ink: #1E1B4B;
  --ink-2: #3B3866;
  --muted: #5E5A7A;
  --line: #E7E5F0;
  --line-strong: #D2CEE3;
  --brand: #6D28D9;
  --brand-hover: #5B21B6;
  --brand-soft: #EDE9FE;
  --brand-ink: #4C1D95;
  --dark: #1E1B4B;
  --dark-2: #2A2660;
  --on-dark: #F6F5FB;
  --on-dark-muted: #C4C1E0;
  --success: #15803D;
  --success-soft: #E5F5EA;
  --warn: #B45309;
  --warn-soft: #FEF3C7;
  --danger: #B91C1C;
  --danger-soft: #FDE7E7;
  --focus: #2563EB;
  --accent: #C6F432;
  --accent-ink: #1E1B4B;

  /* type */
  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  /* shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, .06), 0 1px 3px rgba(20, 33, 61, .05);
  --shadow-md: 0 6px 18px -6px rgba(20, 33, 61, .14), 0 2px 6px rgba(20, 33, 61, .05);
  --shadow-lg: 0 24px 48px -16px rgba(20, 33, 61, .25);

  /* motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 150ms;
  --t-med: 240ms;

  /* layout */
  --container: 1200px;
  --gutter: 16px;
  --header-h: 72px;

  /* z */
  --z-sticky: 40;
  --z-drawer: 80;
  --z-modal: 100;
  --z-toast: 120;
}

@media (min-width: 768px) { :root { --gutter: 28px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--brand-ink); }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 104px 0; } }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.section--dark .eyebrow { color: #C6F432; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: var(--on-dark-muted); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 44px; }
.section-head > div { display: grid; gap: 12px; max-width: 640px; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font-family: var(--font-head); font-weight: 600; font-size: .97rem; white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--brand-hover); --btn-bd: var(--brand-hover); }
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--t-fast); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--ink); --btn-fg: var(--ink); }
.btn--dark { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: #0B1428; --btn-bd: #0B1428; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--bg-alt); --btn-bd: var(--bg-alt); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  background: transparent; border: 1px solid transparent; color: var(--ink);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; background: transparent; }
.link { color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--ink); color: var(--on-dark); font-size: .85rem; text-align: center; padding: 9px var(--gutter); }
.announce a { color: #C6F432; font-weight: 700; margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-med), box-shadow var(--t-med);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(20,33,61,.18); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; }
.logo-mark { width: 36px; height: 36px; }
.main-nav { display: none; margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.main-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--bg);
}
.cart-count[hidden] { display: none; }
.header-cta { display: none; }
.menu-btn { display: inline-grid; }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 12px; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11, 20, 40, .45); z-index: var(--z-drawer); opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: calc(var(--z-drawer) + 1);
  background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform var(--t-med) var(--ease-out); overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; border-radius: var(--r-md); font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; }
.drawer nav a:hover, .drawer nav a[aria-current="page"] { background: var(--bg-alt); }
.drawer nav a[aria-current="page"] { color: var(--brand); }
.drawer .btn { margin-top: auto; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 700; font-size: .92rem; display: flex; gap: 8px; align-items: baseline; }
.req { color: var(--brand); }
.opt { font-weight: 500; font-size: .8rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong); background: var(--surface); font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea { min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8A90A0; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(37, 99, 235, .18); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; display: none; align-items: center; gap: 6px; }
.field.has-error .field-error { display: flex; }
.hint { font-size: .85rem; color: var(--muted); }
.input-group { position: relative; display: flex; }
.input-group .input { flex: 1; }
.input-group .input-addon { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix .prefix { display: grid; place-items: center; padding: 0 14px; border: 1.5px solid var(--line-strong); border-right: 0; border-radius: var(--r-md) 0 0 var(--r-md); background: var(--bg-alt); font-weight: 700; color: var(--ink-2); min-width: 64px; }
.input-prefix .input { border-radius: 0 var(--r-md) var(--r-md) 0; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid--3 { grid-template-columns: 1fr 1fr 1fr; } .span-2 { grid-column: span 2; } .span-3 { grid-column: 1 / -1; } }
.error-summary { border: 2px solid var(--danger); background: var(--danger-soft); color: var(--danger); border-radius: var(--r-md); padding: 14px 16px; font-weight: 600; }
.error-summary ul { margin: 6px 0 0; padding-left: 20px; }
.error-summary a { text-decoration: underline; }

/* ---------- cards & misc components ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.pill--dark { background: var(--ink); color: #fff; }
.pill--success { background: var(--success-soft); color: var(--success); }
.badge-new { position: absolute; top: 12px; left: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 8px 0 12px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 600;
}
.chip button { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; border: 0; background: transparent; }
.chip button:hover { background: var(--bg-alt); }
.swatch {
  --sw: #fff;
  width: 32px; height: 32px; border-radius: 999px; background: var(--sw); border: 0; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(20,33,61,.22); position: relative; flex: none;
  transition: transform var(--t-fast);
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"], .swatch[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(20,33,61,.22), 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.swatch--sm { width: 18px; height: 18px; }
.swatch--sm:hover { transform: none; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.page-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 12px; }
.page-hero p { margin-top: 12px; }

/* tee renderer */
.tee { position: relative; width: 100%; aspect-ratio: 400 / 440; }
.tee > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tee-print { position: absolute; container-type: size; }
.tee-el { position: absolute; transform-origin: center; }
.tee-el img, .tee-el svg { width: 100%; height: 100%; display: block; }
.tee-el img { object-fit: fill; }
.tee-text { white-space: pre; line-height: 1.05; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-align: center; }

/* ---------- product cards ---------- */
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.p-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med); }
.p-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.p-media { position: relative; background: var(--bg-alt); padding: 18px 26px 10px; }
.p-media .tee { transition: transform 400ms var(--ease-out); }
.p-card:hover .p-media .tee { transform: scale(1.035); }
.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-cat { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.p-title { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.p-title a::after { content: ""; position: absolute; inset: 0; }
.p-card { position: relative; }
.p-colors { display: flex; gap: 8px; align-items: center; position: relative; z-index: 2; flex-wrap: wrap; }
.p-colors .swatch { width: 24px; height: 24px; }
.p-colors .more { font-size: .8rem; color: var(--muted); font-weight: 700; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.p-price { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.p-price small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.p-go { position: relative; z-index: 2; }

/* ---------- toast & modal ---------- */
.toast-wrap { position: fixed; z-index: var(--z-toast); left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .95rem;
  animation: toast-in 260ms var(--ease-out);
}
.toast .icon { color: #7EE2A1; }
.toast--warn .icon { color: #FCD34D; }
.toast--error .icon { color: #FCA5A5; }
.toast.is-leaving { animation: toast-out 180ms ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

.modal-backdrop { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(11,20,40,.55); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med); }
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); width: min(960px, 100%); max-height: calc(100dvh - 32px); overflow: auto; transform: translateY(16px) scale(.98); transition: transform var(--t-med) var(--ease-out); position: relative; }
.modal-backdrop.is-open .modal { transform: none; }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface); }

/* back to top — sits above content and clears sticky CTAs */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--bg-alt); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 72px 0 32px; margin-top: 0; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } }
.site-footer .logo { color: #fff; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-flex; min-height: 32px; align-items: center; transition: color var(--t-fast); }
.site-footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; transition: background var(--t-fast); }
.socials a:hover { background: rgba(255,255,255,.1); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: .9rem; }
.pay-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-tags span { padding: 4px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; font-size: .78rem; font-weight: 700; color: #fff; }
.footer-contact dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 12px; }
.footer-contact dd { margin: 2px 0 0; color: #fff; font-weight: 600; }

/* ---------- home ---------- */
.hero { padding: 48px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .hero { padding: 72px 0 104px; } .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 14px; }
.hero .lead { margin-top: 20px; font-size: 1.15rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero-notes span { display: inline-flex; gap: 8px; align-items: center; }
.hero-notes .icon { color: var(--success); width: 18px; height: 18px; }
.hero-stage { position: relative; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 22px; position: relative; }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.hero-card-top strong { font-family: var(--font-head); }
.hero-tee { background: radial-gradient(circle at 50% 40%, #fff 0, var(--bg-alt) 70%); border-radius: var(--r-lg); padding: 24px 40px 12px; }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.hero-swatches { display: flex; gap: 10px; }
.float-tag { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); border-radius: var(--r-md); padding: 10px 14px; font-size: .85rem; font-weight: 700; display: flex; gap: 10px; align-items: center; }
.float-tag .dot { width: 10px; height: 10px; border-radius: 999px; background: var(--success); }
.float-tag--a { top: 22%; left: -18px; }
.float-tag--b { bottom: 18%; right: -14px; }
@media (max-width: 640px) { .float-tag { display: none; } }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 22px 8px; }
.trust-item .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.trust-item strong { display: block; font-family: var(--font-head); font-weight: 600; }
.trust-item span { font-size: .88rem; color: var(--muted); }

.cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
.cat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 10px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.cat-card:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.cat-card .tee { width: 70%; margin: 0 auto; }
.cat-card strong { font-family: var(--font-head); font-weight: 600; }
.cat-card span { font-size: .85rem; color: var(--muted); }
.cat-card[aria-current="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; display: grid; gap: 12px; align-content: start; position: relative; }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; color: var(--brand); }
.step .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.step p { color: var(--muted); font-size: .95rem; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--brand); margin-top: 3px; }
.section--dark .check-list .icon { color: #C6F432; }

.price-band { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 32px; }
.price-tile { border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 22px; background: var(--dark-2); }
.price-tile strong { display: block; font-family: var(--font-head); font-size: 2rem; color: #fff; margin: 6px 0 4px; }
.price-tile span { font-size: .9rem; color: var(--on-dark-muted); }
.price-tile .k { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #C6F432; }

.studio-shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.studio-shot-bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.studio-shot-bar i { width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); }
.studio-shot-body { display: grid; grid-template-columns: 56px 1fr; }
.studio-shot-tools { border-right: 1px solid var(--line); display: grid; gap: 4px; padding: 10px 6px; align-content: start; }
.studio-shot-tools span { display: grid; place-items: center; height: 44px; border-radius: 10px; color: var(--muted); }
.studio-shot-tools span:first-child { background: var(--brand-soft); color: var(--brand); }
.studio-shot-canvas { background: var(--bg-alt); padding: 24px 15%; }

.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq-help { background: var(--ink); color: var(--on-dark); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 12px; align-content: start; }
.faq-help p { color: var(--on-dark-muted); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq-item h3 { font-size: 1.05rem; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: 0; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; min-height: 60px; border-radius: var(--r-lg); }
.faq-q .ic { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: transform var(--t-med), background var(--t-fast), color var(--t-fast); }
.faq-q[aria-expanded="true"] .ic { transform: rotate(45deg); background: var(--brand); color: #fff; border-color: var(--brand); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease-out); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 20px; color: var(--muted); }
.faq-item:has(.faq-q[aria-expanded="true"]) .faq-a { grid-template-rows: 1fr; }
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

.blog-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.b-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow var(--t-med); }
.b-card:hover { box-shadow: var(--shadow-md); }
.b-cover { aspect-ratio: 16 / 10; display: grid; place-items: center; position: relative; overflow: hidden; }
.b-cover .tee { width: 42%; filter: drop-shadow(0 12px 18px rgba(20,33,61,.18)); }
.b-body { padding: 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.b-meta { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.b-meta .tag { color: var(--brand); }
.b-body h3 { font-size: 1.2rem; line-height: 1.3; }
.b-body h3 a::after { content: ""; position: absolute; inset: 0; }
.b-body p { color: var(--muted); font-size: .95rem; }

.cta-band { background: var(--brand); color: #fff; border-radius: var(--r-xl); padding: 48px 28px; display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #EDE9FE; margin-top: 10px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 56px; } }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 999px; border: 40px solid rgba(255,255,255,.08); pointer-events: none; }

/* ---------- shop ---------- */
.shop-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 270px 1fr; align-items: start; } }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 22px; }
@media (min-width: 1024px) { .filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100dvh - var(--header-h) - 32px); overflow: auto; } }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h2 { font-size: 1.1rem; }
.filter-group { display: grid; gap: 12px; }
.filter-group h3 { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.color-filter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 6px; }
.color-opt { display: grid; justify-items: center; gap: 4px; background: none; border: 0; padding: 6px 2px; border-radius: var(--r-sm); font-size: .8rem; font-weight: 600; }
.color-opt:hover:not([disabled]) { background: var(--bg-alt); }
.color-opt[disabled] { opacity: .35; cursor: not-allowed; }
.color-opt .count { font-size: .72rem; color: var(--muted); font-weight: 700; }
.color-opt .swatch { pointer-events: none; }
.size-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle-btn { min-width: 48px; min-height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 1.5px solid var(--line-strong); background: var(--surface); font-weight: 700; font-size: .9rem; transition: all var(--t-fast); }
.toggle-btn:hover:not([disabled]) { border-color: var(--ink); }
.toggle-btn[aria-pressed="true"], .toggle-btn[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.toggle-btn[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.shop-toolbar .select { width: auto; min-height: 44px; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.empty { text-align: center; padding: 64px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); display: grid; gap: 12px; justify-items: center; }
.empty .ic { width: 64px; height: 64px; border-radius: 999px; background: var(--bg-alt); display: grid; place-items: center; color: var(--muted); }
.filter-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filter-toggle { display: none; } }
@media (max-width: 1023px) {
  .filters { position: fixed; inset: auto 0 0 0; z-index: calc(var(--z-drawer) + 1); border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 85dvh; overflow: auto; transform: translateY(105%); transition: transform var(--t-med) var(--ease-out); box-shadow: var(--shadow-lg); }
  .filters.is-open { transform: none; }
}
.filters-apply { display: none; }
@media (max-width: 1023px) { .filters-apply { display: flex; position: sticky; bottom: -20px; background: var(--surface); padding: 12px 0 4px; margin-bottom: -4px; } }

/* ---------- cart / checkout ---------- */
.checkout-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: 1fr 380px; } }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 16px); } }
.summary h2 { font-size: 1.25rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .97rem; }
.sum-row span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.sum-total strong { font-family: var(--font-head); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.pay-now { background: var(--brand-soft); border-radius: var(--r-md); padding: 14px 16px; display: grid; gap: 4px; }
.pay-now strong { font-family: var(--font-head); font-size: 1.45rem; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.pay-now span { font-size: .87rem; color: var(--brand-ink); }
.secure-notes { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.secure-notes div { display: flex; gap: 8px; align-items: center; }
.cart-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
@media (min-width: 640px) { .cart-item { grid-template-columns: 120px 1fr auto; align-items: center; } }
.cart-thumb { background: var(--bg-alt); border-radius: var(--r-md); padding: 8px 10px; }
.cart-item h3 { font-size: 1.08rem; }
.cart-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: .85rem; }
.cart-meta span { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.cart-actions { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.cart-actions .btn { min-height: 36px; padding: 0 12px; font-size: .85rem; }
.cart-right { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 640px) { .cart-right { grid-column: auto; flex-direction: column; align-items: flex-end; } }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; border-radius: 999px; display: grid; place-items: center; }
.qty button:hover:not([disabled]) { background: var(--bg-alt); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty input { width: 48px; text-align: center; border: 0; background: none; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.line-price { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; text-align: right; }
.line-price small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--muted); }

.stepper { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.stepper li { list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.stepper ol { display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.stepper .n { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-size: .82rem; background: var(--surface); }
.stepper li.is-done { color: var(--ink); }
.stepper li.is-done .n { background: var(--success); border-color: var(--success); color: #fff; }
.stepper li.is-current { color: var(--ink); }
.stepper li.is-current .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper .sep { width: 28px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 20px; }
.panel-head { display: flex; gap: 14px; align-items: flex-start; }
.panel-head .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.panel-head h2 { font-size: 1.2rem; }
.panel-head p { font-size: .9rem; color: var(--muted); }
.choice-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .choice-grid--3 { grid-template-columns: repeat(3, 1fr); } .choice-grid--2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: grid; gap: 6px; padding: 18px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.choice:hover { border-color: var(--ink); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .tick { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 999px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; background: var(--surface); }
.choice .tick svg { width: 14px; height: 14px; opacity: 0; color: #fff; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice:has(input:checked) .tick { background: var(--brand); border-color: var(--brand); }
.choice:has(input:checked) .tick svg { opacity: 1; }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice strong { font-family: var(--font-head); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.choice .t { font-weight: 800; display: flex; gap: 8px; align-items: center; padding-right: 28px; }
.choice small { color: var(--muted); font-size: .85rem; }
.method { display: flex; align-items: center; gap: 14px; }
.method .logo-box { width: 44px; height: 44px; border-radius: 10px; background: var(--bg-alt); display: grid; place-items: center; flex: none; color: var(--ink); }
.ship-label { border: 2px dashed var(--line-strong); border-radius: var(--r-md); padding: 18px; display: flex; gap: 16px; background: var(--bg); }
.ship-label .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.ship-label strong { font-family: var(--font-head); font-size: 1.05rem; }
.ship-label .line { color: var(--muted); font-size: .92rem; }
.ship-label .line.filled { color: var(--ink); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg-alt); font-size: .92rem; }
.notice .icon { margin-top: 2px; color: var(--brand); }
.notice--success { background: var(--success-soft); color: var(--success); }
.notice--success .icon { color: var(--success); }
.loader-overlay { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(251,248,243,.85); display: grid; place-items: center; backdrop-filter: blur(3px); }
.spinner { width: 44px; height: 44px; border-radius: 999px; border: 4px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--bg-alt) 25%, #fff 50%, var(--bg-alt) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--r-md); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- auth ---------- */
.auth { min-height: 100dvh; display: grid; }
@media (min-width: 1024px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-main { padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.auth-form { width: 100%; max-width: 440px; margin: auto; padding: 40px 0; display: grid; gap: 20px; }
.auth-form h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.auth-side { display: none; background: var(--dark); color: var(--on-dark); position: relative; overflow: hidden; padding: 56px; }
@media (min-width: 1024px) { .auth-side { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-side h2 { color: #fff; max-width: 16ch; }
.auth-side .tee-stack { display: flex; gap: 16px; align-items: flex-end; }
.auth-side .tee-stack .tee { width: 34%; }
.auth-side .tee-stack .tee:nth-child(2) { width: 42%; }
.auth-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; font-size: .85rem; color: var(--muted); }
.auth-links a:hover { color: var(--ink); }
.strength { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; background: var(--danger); transition: width var(--t-med), background var(--t-med); }

/* ---------- content pages ---------- */
.prose { max-width: 70ch; font-size: 1.08rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }
.value .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.value p { color: var(--muted); font-size: .95rem; }
.contact-card { background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 8px; align-content: start; }
.contact-card a.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-card a.row:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.contact-card .k { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-card strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; display: block; }
.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* late additions */
.drawer[hidden] { display: none; }
.print-box { position: absolute; inset: 0; border: 1.5px dashed rgba(109, 40, 217, .75); border-radius: 2px; pointer-events: none; }
[hidden] { display: none !important; }
.cat-row { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.cat-row .cat-card { flex: 1 0 168px; grid-template-columns: 52px 1fr; align-items: center; padding: 10px 14px 10px 10px; scroll-snap-align: start; cursor: pointer; }
.cat-row .cat-card .tee { width: 52px; margin: 0; }
.cat-row .cat-card strong { font-size: .92rem; line-height: 1.25; }
.hero-card-top { flex-wrap: wrap; }

/* ===== header: floating pill, menu exactly centred ===== */
.hc { background: transparent; padding-top: 12px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hc.is-scrolled { border-bottom-color: transparent; box-shadow: none; }
.hc .header-inner { background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(15,27,51,.35); padding: 0 10px; height: 64px; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); }
.hc.is-scrolled .header-inner { box-shadow: 0 14px 34px -16px rgba(15,27,51,.4); }
@media (min-width: 1024px) {
  /* equal side columns keep the menu in the true centre of the bar */
  .hc .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
  .hc .logo { justify-self: start; }
  .hc .main-nav { margin: 0; justify-self: center; }
  .hc .header-actions { margin: 0; justify-self: end; }
}
.hc-pill ul { background: var(--bg-alt); border-radius: 999px; padding: 4px; }
.hc-pill a { min-height: 38px !important; }
.hc-pill a:hover { background: #fff !important; }
.hc-pill a[aria-current="page"] { background: var(--ink) !important; color: #fff !important; }
.hc .logo { padding-left: 8px; }

/* ===== motion: scroll reveal + hover life ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in.p-card, .reveal.is-in.b-card, .reveal.is-in.cat-card { transition-delay: 0ms; }

.btn { transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(109, 40, 217, .65); }
.btn--ghost:hover, .btn--outline:hover, .btn--light:hover { box-shadow: 0 12px 22px -14px rgba(30, 27, 75, .4); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; }

.p-card, .b-card, .cat-card, .value, .price-tile, .step, .h-step, .faq-item, .lib-item, .cart-item { transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 220ms, background 220ms; }
.p-card:hover, .b-card:hover, .value:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgba(30, 27, 75, .35); }
.cat-card:hover { transform: translateY(-4px); }
.cat-card .tee, .b-cover .tee { transition: transform 500ms cubic-bezier(.2,.9,.25,1.3); }
.cat-card:hover .tee { transform: rotate(-6deg) scale(1.08); }
.b-card:hover .b-cover .tee { transform: translateY(-6px) rotate(4deg) scale(1.06); }
.p-card:hover .p-media .tee { transform: scale(1.06) rotate(-2deg); }
.price-tile:hover { transform: translateY(-4px); border-color: var(--accent); }
.price-tile strong { transition: color 220ms; }
.price-tile:hover strong { color: var(--accent); }
.value .ic, .step .ic, .trust-item .ic, .h-step-ic, .panel-head .ic { transition: transform 400ms cubic-bezier(.2,.9,.25,1.4), background 220ms, color 220ms; }
.value:hover .ic, .h-step:hover .h-step-ic { transform: rotate(-8deg) scale(1.1); background: var(--brand); color: #fff; }
.h-step:hover { background: var(--bg-alt); }
.swatch { transition: transform 220ms cubic-bezier(.2,.9,.25,1.4), box-shadow 220ms; }
.site-footer ul a { transition: color var(--t-fast), transform 220ms var(--ease-out); }
.site-footer ul a:hover { transform: translateX(4px); color: var(--accent); }
.socials a { transition: background var(--t-fast), transform 260ms cubic-bezier(.2,.9,.25,1.4), color var(--t-fast); }
.socials a:hover { transform: translateY(-3px); background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hc .header-inner { transition: height 260ms var(--ease-out), box-shadow 260ms; }
.hc.is-scrolled .header-inner { height: 56px; }
.hc .logo-mark { transition: transform 500ms cubic-bezier(.2,.9,.25,1.4); }
.hc .logo:hover .logo-mark { transform: rotate(-10deg) scale(1.08); }
.page-hero h1, .page-hero .lead, .page-hero .breadcrumb { animation: rise-in 700ms var(--ease-out) backwards; }
.page-hero h1 { animation-delay: 80ms; } .page-hero .lead { animation-delay: 160ms; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }
.h-cta { background-image: linear-gradient(120deg, #6D28D9, #7C3AED 40%, #5B21B6); background-size: 200% 200%; animation: sheen 10s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* print area outline that reads on light and dark shirts */
.print-box { border: 1.5px dashed #A78BFA; box-shadow: 0 0 0 1px rgba(30, 27, 75, .18), inset 0 0 0 1px rgba(255, 255, 255, .18); }

/* fields in the same row keep the same input height even when one has a hint */
.field { align-content: start; }

/* ===== inner page headers match the home hero (dark indigo) ===== */
.page-hero { background: radial-gradient(900px 320px at 88% -30%, rgba(124, 58, 237, .5), transparent 70%), radial-gradient(600px 260px at 0% 120%, rgba(198, 244, 50, .08), transparent 70%), var(--ink); color: #fff; border-bottom: 0; padding: 56px 0 52px; }
.page-hero h1 { color: #fff; }
.page-hero .lead, .page-hero p { color: var(--on-dark-muted); }
.page-hero .breadcrumb { color: var(--on-dark-muted); }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero .breadcrumb [aria-current] { color: #fff; }
.page-hero .b-meta { color: var(--on-dark-muted); }
.page-hero .b-meta .tag { color: var(--accent); }
.page-hero .stepper li { color: var(--on-dark-muted); }
.page-hero .stepper li.is-current, .page-hero .stepper li.is-done { color: #fff; }
.page-hero .stepper .n { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff; }
.page-hero .stepper li.is-current .n { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.page-hero .stepper .sep { background: rgba(255, 255, 255, .25); }

/* category row: all categories visible, no cut-off, no broken words */
.cat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); overflow: visible; padding: 0; }
.cat-row .cat-card { min-width: 0; }
.cat-row .cat-card strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
@media (max-width: 640px) { .cat-row { display: flex; overflow-x: auto; padding-bottom: 8px; } .cat-row .cat-card { flex: 0 0 150px; } }

/* ===== product cards: ruler, hover print area, view details, price bar ===== */
.p-card { border-radius: 14px; overflow: hidden; }
.p-card:hover { transform: translateY(-4px); }
.p-media { background: #F7F6FB; padding: 24px 30px 16px 40px; position: relative; }
.p-media::before { content: ""; position: absolute; left: 12px; top: 14px; bottom: 14px; width: 10px; pointer-events: none;
  background-image: repeating-linear-gradient(to bottom, #C9C4DD 0 1px, transparent 1px 60px), repeating-linear-gradient(to bottom, #DEDAEC 0 1px, transparent 1px 12px);
  background-size: 10px 100%, 6px 100%; background-repeat: no-repeat; }
.p-media .badge-new { left: 34px; }
.p-card .print-box { opacity: 0; transition: opacity 250ms var(--ease-out); }
.p-card:hover .print-box { opacity: 1; }
.p-view { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; background: rgba(30, 27, 75, .88); color: #fff; font-weight: 700; font-size: .88rem; opacity: 0; transform: translateY(8px); transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), background 200ms; }
.p-view:hover { background: var(--brand); }
.p-card:hover .p-view, .p-view:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .p-view { opacity: 1; transform: none; } .p-card .print-box { opacity: 0; } }
.p-body { padding: 16px 18px 18px; gap: 8px; }
.p-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.p-cat { font-size: .74rem; letter-spacing: .14em; }
.p-weight { font-size: .78rem; font-weight: 700; color: var(--muted); }
.p-title { font-size: 1.15rem; }
.p-title a { transition: color 200ms; }
.p-card:hover .p-title a { color: var(--brand); }
.p-colors .swatch { width: 18px; height: 18px; }
.p-colors .swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(30,27,75,.22), 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.p-foot { display: grid; grid-template-columns: 1fr 64px; align-items: stretch; gap: 0; padding: 0; margin-top: auto; border-top: 1px solid var(--line); }
.p-price { display: flex; align-items: baseline; gap: 8px; padding: 16px 18px; font-size: 1.3rem; }
.p-price small { display: inline; font-size: .72rem; letter-spacing: .12em; }
.p-price strong { font-family: var(--font-head); font-weight: 700; }
.p-arrow { position: relative; z-index: 2; display: grid; place-items: center; border-left: 1px solid var(--line); color: var(--ink); transition: background 220ms, color 220ms; }
.p-arrow .icon { transition: transform 220ms var(--ease-out); }
.p-card:hover .p-arrow { background: var(--brand); color: #fff; border-left-color: var(--brand); }
.p-card:hover .p-arrow .icon { transform: translateX(3px); }
.cat-row .cat-card > div { min-width: 0; }

/* ===== shop filters (v2) ===== */
.filters { padding: 0; gap: 0; border-radius: 18px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.filters::-webkit-scrollbar { width: 6px; } .filters::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.filters-head { padding: 18px 18px 14px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.filters-head h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.filters-head h2 .icon { color: var(--brand); }
.f-badge { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; display: inline-grid; place-items: center; }
.f-clear { background: none; border: 0; color: var(--brand); font-weight: 700; font-size: .88rem; min-height: 36px; padding: 0 8px; border-radius: 8px; }
.f-clear:hover { background: var(--brand-soft); }
.f-search { position: relative; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.f-search .input { min-height: 44px; padding-left: 40px; border-radius: 12px; background: var(--bg-alt); border-color: transparent; }
.f-search .input:focus { background: #fff; }
.f-search-ic { position: absolute; left: 32px; top: 50%; transform: translateY(-50%); color: var(--muted); display: grid; pointer-events: none; }
.f-search-ic .icon { width: 18px; height: 18px; }
.f-group { border-bottom: 1px solid var(--line); }
.f-group:last-of-type { border-bottom: 0; }
.f-group summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 18px; cursor: pointer; font-weight: 800; font-size: .95rem; min-height: 52px; user-select: none; }
.f-group summary::-webkit-details-marker { display: none; }
.f-group summary:hover { background: var(--bg-alt); }
.f-group summary:focus-visible { outline-offset: -3px; }
.f-sum { margin-left: auto; font-weight: 600; font-size: .82rem; color: var(--muted); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-chev { color: var(--muted); transition: transform 250ms var(--ease-out); }
.f-group[open] .f-chev { transform: rotate(180deg); }
.f-group > div, .f-group > p { padding: 0 18px 16px; }
.f-list { display: grid; gap: 2px; padding: 0 10px 12px !important; }
.f-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 0 8px; border: 0; border-radius: 10px; background: none; text-align: left; font-weight: 600; font-size: .93rem; color: var(--ink-2); }
.f-row:hover { background: var(--bg-alt); color: var(--ink); }
.f-radio { width: 18px; height: 18px; border-radius: 999px; border: 2px solid var(--line-strong); flex: none; transition: border 150ms; }
.f-row[aria-checked="true"] { color: var(--ink); font-weight: 800; }
.f-row[aria-checked="true"] .f-radio { border: 6px solid var(--brand); }
.f-count { margin-left: auto; min-width: 26px; text-align: center; font-size: .75rem; font-weight: 800; color: var(--muted); background: var(--bg-alt); border-radius: 999px; padding: 2px 8px; }
.f-row[aria-checked="true"] .f-count { background: var(--brand-soft); color: var(--brand-ink); }
.f-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.f-sw { aspect-ratio: 1; width: 100%; max-width: 34px; border-radius: 999px; border: 0; padding: 0; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(30,27,75,.2); display: grid; place-items: center; color: var(--ink); transition: transform 180ms var(--ease-out), box-shadow 180ms; }
.f-sw.is-dark { color: #fff; }
.f-sw .icon { width: 16px; height: 16px; stroke-width: 3; opacity: 0; transform: scale(.5); transition: opacity 150ms, transform 200ms var(--ease-out); }
.f-sw:hover:not([disabled]) { transform: scale(1.1); }
.f-sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(30,27,75,.2), 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
.f-sw[aria-pressed="true"] .icon { opacity: 1; transform: none; }
.f-sw[disabled] { opacity: .25; cursor: not-allowed; }
.f-picked { margin: -4px 0 0; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.f-picked:empty { display: none; }
.f-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.f-size { min-height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .88rem; color: var(--ink-2); transition: all 150ms; }
.f-size:hover:not([disabled]) { border-color: var(--ink); color: var(--ink); }
.f-size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.f-size[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.f-price { display: grid; gap: 8px; }
.f-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--brand) 0 var(--pct, 100%), var(--line) var(--pct, 100%) 100%); margin: 14px 0 4px; }
.f-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 999px; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 6px rgba(30,27,75,.25); cursor: grab; }
.f-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 999px; background: #fff; border: 2px solid var(--brand); cursor: grab; }
.f-range:focus-visible { outline: 3px solid var(--focus); outline-offset: 6px; }
.f-price-scale { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--muted); }
.filters-apply { padding: 12px 18px 18px; }
@media (min-width: 1024px) { .filters { max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto; } }

/* icon system */
.icon { stroke-width: 1.9; }
.icon--sm { stroke-width: 2; }
.btn .icon, .p-arrow .icon { stroke-width: 2.2; }

/* category row: names wrap cleanly instead of being cut off */
.cat-row .cat-card { grid-template-columns: 44px 1fr; gap: 10px; padding: 10px 12px 10px 10px; }
.cat-row .cat-card .tee { width: 44px; }
.cat-row .cat-card strong { white-space: normal; overflow: visible; text-overflow: clip; font-size: .9rem; line-height: 1.2; hyphens: none; }
.cat-row .cat-card span { font-size: .8rem; }
.f-row[disabled] { opacity: .4; cursor: not-allowed; }
.f-row[disabled]:hover { background: none; }

.notice--error { background: #FDE7E7; color: #B91C1C; border-color: #F5B5B5; }

/* footer newsletter */
.news { display: grid; gap: 8px; margin-top: 20px; max-width: 320px; }
.news label { color: #fff; font-weight: 700; font-size: .9rem; }
.news-row { display: flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 4px; }
.news-row:focus-within { border-color: var(--accent, #C6F432); }
.news-row input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: inherit; padding: 0 14px; min-height: 40px; outline: none; }
.news-row input::placeholder { color: rgba(255,255,255,.5); }
.news-row button { width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--accent, #C6F432); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.news-done { display: flex; gap: 8px; align-items: center; color: var(--accent, #C6F432); font-weight: 700; }
/* maintenance screen */
.maint { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 32px 16px; background: var(--dark); color: var(--on-dark-muted); }
.maint h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); }
.maint p { max-width: 46ch; font-size: 1.05rem; }
.maint-ic { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: rgba(198,244,50,.14); color: var(--accent, #C6F432); }

/* ---------- customer reviews ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars > span { color: #D6D4E4; line-height: 0; }
.stars > span.on { color: #F5A524; }
.stars .icon { fill: currentColor; stroke: currentColor; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.rv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 14px; align-content: start; }
.rv-text { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-foot { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.rv-av { width: 40px; height: 40px; border-radius: 999px; background: var(--brand-soft, #EDE9FE); color: var(--brand); display: grid; place-items: center; font-weight: 800; flex: none; }
.rv-who { display: grid; min-width: 0; }
.rv-who small { display: inline-flex; align-items: center; gap: 4px; color: var(--success, #15803D); font-weight: 700; font-size: .78rem; }
.rv-prod { margin-left: auto; width: 54px; flex: none; background: var(--surface-2, #F5F4FA); border-radius: 10px; padding: 4px; }
.rv-score { display: flex; align-items: center; gap: 12px; }
.rv-score > strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.rv-score > span { display: grid; gap: 2px; }
.rv-score small { color: var(--muted); font-weight: 600; }
.pd-reviews { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.pd-rating-link { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.pd-rating-link strong { color: var(--ink); }

/* "Get the app" button in the footer */
.app-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.app-btn:hover { background: rgba(198,244,50,.18); border-color: var(--accent, #C6F432); }
.app-btn[hidden] { display: none; }
