/* ============================================
   BIG BASH CO. — PARTY PRINTABLES
   WCAG 2.1 AA — accessible-by-default stylesheet
   Palette, type, and structure planned for anyone
   hosting a party — not a reskin of a prior build.
============================================ */

/* ============================================
   DESIGN TOKENS
============================================ */
:root {
  /* Core surfaces */
  --c-cream:      #FBF3E7;   /* primary background — party-paper warmth */
  --c-cream-dim:  #F1E6D3;   /* recessed panels, table stripes, skeletons */
  --c-cream-mid:  #E4D4B4;   /* borders on cream */
  --c-ink:        #211A14;   /* primary text + dark surfaces (footer, nav-dark) */

  /* Muted text — real muted tones, AA-checked on cream, cream-dim, AND ink */
  --c-muted-on-cream: #6B5B4E;  /* 5.9:1 on cream, 5.3:1 on cream-dim */
  --c-muted-on-ink:   #CBB9A6;  /* 9.0:1 on ink */

  /* Primary accent — cherry. Split into a UI tone and a text tone: the UI
     tone is used for fills/buttons/focus rings (checked 3:1+ on cream AND
     ink); the text tone is darker so headings/links clear 4.5:1 on both
     cream and the dimmer recessed panel. Use text tone wherever cherry
     sits directly on cream as small text; use UI tone for fills/rings. */
  --c-cherry:       #C23B32;  /* fills, buttons, focus ring — 4.8:1 cream / 3.2:1 ink (large-text/UI only on ink) */
  --c-cherry-text:  #B33A32;  /* headings/links on cream or cream-dim — 5.35:1 / 4.76:1 */
  --c-cherry-ink:   #FFFFFF;  /* text placed ON cherry fills — 5.3–5.9:1 */

  /* Secondary accent — teal, for "Print & Play" (generic/ready-made) items */
  --c-teal:      #1B6B6F;   /* 5.65:1 cream / 5.03:1 cream-dim */
  --c-teal-ink:  #FFFFFF;   /* 6.21:1 on teal */

  /* Labels/eyebrows — a text-safe mustard, distinct from the decorative gold */
  --c-marigold-text:   #8F5800;  /* 5.35:1 cream / 4.77:1 cream-dim */
  --c-marigold-bright: #F4A300;  /* DECORATIVE FILL ONLY (bunting, illustration, badge backgrounds) —
                                     fails as text on cream (1.9:1). Safe for --c-ink text on top (8.25:1),
                                     and safe as text color when placed on --c-ink (8.25:1). */

  /* Borders */
  --c-border:        #E4D4B4;
  --c-border-md:     #D3BE94;
  --c-border-on-ink: #3D3226;

  /* Single focus ring color, checked 3:1+ (non-text UI minimum) against
     every surface it appears on: cream (4.81:1) and ink (3.24:1). */
  --c-focus: #C23B32;

  /* Type — a deliberately different pairing from a professional-tools
     build: warm and rounded, not editorial. Two utility faces are used
     narrowly for two structural jobs and nowhere else: Anton for the
     aisle-directory signage, Caveat for the handwritten personalise
     preview on editable products. */
  --font-display: 'Fredoka', 'Segoe UI', sans-serif;
  --font-body:    'Nunito', system-ui, sans-serif;
  --font-signage: 'Anton', Impact, sans-serif;
  --font-hand:    'Caveat', cursive;

  /* Layout */
  --nav-h: 76px;
  --bar-h: 36px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --tr: 0.18s ease;
  --tr-slow: 0.35s cubic-bezier(.4,0,.2,1);

  /* Minimum interactive target (WCAG 2.5.8 AA) */
  --tap-min: 24px;
}

/* ============================================
   RESET
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--c-cream);
  color: var(--c-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  * { forced-color-adjust: auto; }
  button, a, input, select, .btn-primary, .btn-secondary, .product-card {
    border: 1px solid ButtonText;
  }
}

/* ============================================
   ACCESSIBILITY UTILITIES
============================================ */
.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;
  top: -9999px;
  left: 1rem;
  background: var(--c-ink);
  color: var(--c-cream);
  padding: .75rem 1.25rem;
  font-size: .9rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.js-focus-fallback :focus {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
}

/* ============================================
   LAYOUT PRIMITIVES
============================================ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 600px) { .container { padding: 0 1.25rem; } }

section { padding: 6.5rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

.bold { font-weight: 800; }

/* ============================================
   TYPE SCALE
============================================ */
.t-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-marigold-text);
}
.t-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.005em;
  font-weight: 600;
}
.t-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--c-muted-on-cream);
}
.t-mono-meta {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--c-muted-on-cream);
  letter-spacing: .01em;
}

/* ============================================
   BUNTING — recurring pennant motif, used sparingly
   (pure CSS triangles, no image assets required)
============================================ */
.bunting { display: flex; align-items: flex-start; gap: 6px; }
.bunting-flag {
  width: 16px; height: 20px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.bunting-flag:nth-child(4n+1) { background: var(--c-cherry); }
.bunting-flag:nth-child(4n+2) { background: var(--c-marigold-bright); }
.bunting-flag:nth-child(4n+3) { background: var(--c-teal); }
.bunting-flag:nth-child(4n+4) { background: var(--c-ink); }

/* ============================================
   NETWORK BAR
============================================ */
.network-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--bar-h);
  background: var(--c-ink);
  color: var(--c-muted-on-ink);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--c-border-on-ink);
}
.network-bar-link {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--c-cream);
  padding: .5rem .25rem;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr);
}
.network-bar-link:hover { border-bottom-color: var(--c-marigold-bright); }
.network-right { display: flex; align-items: center; }
.network-right a { padding: 0 .5rem; }

/* ============================================
   NAV
============================================ */
#nav {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(251, 243, 231, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tr), box-shadow var(--tr);
}
#nav.scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 4px 20px rgba(33,26,20,.06);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-cherry-text);
}
.nav-logo-img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a {
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-ink);
  padding: .5rem .125rem;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: border-color var(--tr);
}
.nav-links a:hover { border-bottom-color: var(--c-cherry); }
.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  background: var(--c-cherry);
  color: var(--c-cherry-ink);
  padding: .625rem 1.1rem;
  min-height: 44px;
  border-radius: 100px;
  transition: background var(--tr), transform var(--tr);
}
.nav-cart-btn:hover { background: #A6332B; }
.nav-cart-btn:active { transform: scale(.97); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-cream);
  color: var(--c-cherry-text);
  border-radius: 50%;
  width: 20px; height: 20px;
  font-size: .6875rem;
  font-weight: 800;
}
@media (max-width: 780px) { .nav-links { display: none; } }

/* ============================================
   HERO — light, two-column: text never sits over
   an unpredictable photo, so no shadow-as-contrast
   patch is needed anywhere in this section.
============================================ */
#hero {
  padding-top: calc(var(--nav-h) + var(--bar-h) + 3.5rem);
  padding-bottom: 5rem;
  background: var(--c-cream);
}
.hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-content { max-width: 46ch; }
.hero-eyebrow {
  display: flex; align-items: center; gap: .6em;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-marigold-text);
  margin-bottom: 1.1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 1.4rem;
}
.hero-title em {
  font-style: normal;
  color: var(--c-cherry-text);
}
.hero-sub {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--c-muted-on-cream);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-cta-row { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-cherry);
  color: var(--c-cherry-ink);
  padding: .9rem 1.75rem;
  min-height: 48px;
  border-radius: 100px;
  font-size: .9375rem;
  font-weight: 700;
  transition: background var(--tr), transform var(--tr);
}
.btn-primary:hover { background: #A6332B; }
.btn-primary:active { transform: scale(.97); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
  padding: .85rem 1.65rem;
  min-height: 48px;
  border-radius: 100px;
  font-size: .9375rem;
  font-weight: 700;
  transition: background var(--tr), transform var(--tr);
}
.btn-secondary:hover { background: var(--c-cream-dim); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-cherry-text);
  font-size: .9375rem;
  font-weight: 700;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity var(--tr);
}
.btn-ghost:hover { opacity: .75; }

.arrow { display: inline-block; transition: transform var(--tr); }
.btn-primary:hover .arrow, .btn-secondary:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(3px); }

.hero-bg {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--c-cream-dim);
  border: 1px solid var(--c-border);
}
.hero-image, .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-grain { display: none; } /* not needed on a light, non-composited hero */
.hero-scroll { display: none; } /* hero is short-form here, no long scroll cue needed */
.scroll-line { display: none; }

/* ============================================
   MARQUEE — aisle ticker, not sales copy
============================================ */
.marquee-strip { background: var(--c-ink); overflow: hidden; padding: .7rem 0; }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 32s linear infinite; width: max-content; }
.marquee-track span {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-marigold-bright); /* 8.25:1 on ink — verified safe here though not on cream */
  padding: 0 1.75rem;
  flex-shrink: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================
   ORDER BANNER
============================================ */
.order-banner {
  display: none;
  padding: 1rem 2rem;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .4s ease, transform .4s ease;
}
.order-banner.success { background: #DFEEE0; color: #1B5E20; } /* 7.2:1 */
.order-banner.cancelled { background: #F6E2DE; color: #8A2C1F; } /* 6.6:1 */
.order-banner.visible { display: block; z-index: 500; }
.order-banner.fading { opacity: 0; transform: translateY(-10px); pointer-events: none; }

/* ============================================
   AISLE DIRECTORY — signature structural element.
   Reads like a hand-painted shop directory board;
   shows what's stocked now and what's coming, honestly,
   rather than implying a full catalog that doesn't exist yet.
============================================ */
.aisle-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--c-border-md);
  border: 2px solid var(--c-ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.aisle-tag {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.25rem;
  background: var(--c-cream);
  transition: background var(--tr);
}
.aisle-tag:hover,
.aisle-tag.active { background: var(--c-cream-dim); }
.aisle-tag.coming-soon { opacity: .55; }
.aisle-number {
  font-family: var(--font-signage);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--c-cherry);
  letter-spacing: .01em;
  flex-shrink: 0;
}
.aisle-tag.coming-soon .aisle-number { color: var(--c-muted-on-cream); }
.aisle-info { display: flex; flex-direction: column; gap: 2px; }
.aisle-name { font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: var(--c-ink); }
.aisle-count { font-size: .75rem; font-weight: 700; color: var(--c-muted-on-cream); letter-spacing: .02em; }

/* ============================================
   PRODUCTS
============================================ */
#products { background: var(--c-cream); }
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--c-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--tr), transform var(--tr);
  cursor: pointer;
}
.product-card:hover { border-color: var(--c-border-md); transform: translateY(-3px); }
.product-card:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }

.product-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-cream-dim);
  position: relative;
}
.card-carousel { position: relative; width: 100%; height: 100%; }
.card-carousel-track { display: flex; width: 100%; height: 100%; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.card-carousel-track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
.card-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 32px; height: 32px;
  min-width: var(--tap-min); min-height: var(--tap-min);
  border-radius: 50%;
  background: rgba(251,243,231,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
  box-shadow: 0 1px 6px rgba(33,26,20,.2);
}
.card-carousel-btn svg { width: 14px; height: 14px; stroke: var(--c-ink); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.card-carousel-btn.prev { left: 8px; }
.card-carousel-btn.next { right: 8px; }
.product-card:hover .card-carousel-btn,
.product-card:focus-within .card-carousel-btn { opacity: 1; }
.card-carousel-btn:disabled { opacity: 0 !important; pointer-events: none; }

.card-carousel-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.card-dot { width: var(--tap-min); height: var(--tap-min); display: flex; align-items: center; justify-content: center; padding: 0; }
.card-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(251,243,231,.6); transition: background .2s, transform .2s; }
.card-dot.active::before { background: var(--c-cream); transform: scale(1.4); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
}
.product-badge.editable { background: var(--c-cherry); color: var(--c-cherry-ink); }
.product-badge.printplay { background: var(--c-teal); color: var(--c-teal-ink); }

.product-info { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.product-meta-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.product-type {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted-on-cream);
}
/* Age range — a first-class, scannable attribute rather than
   text buried in the file-spec row, since the shop now spans a
   wide age range rather than assuming one household's kids. */
.age-badge {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--c-ink);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--c-ink);
  white-space: nowrap;
}
.product-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.2; color: var(--c-ink); }
.product-desc { font-size: .875rem; font-weight: 500; color: var(--c-muted-on-cream); line-height: 1.55; }

/* Personalise preview — the signature element. A handwritten-style
   fill-in-the-blank, shown directly on editable cards, so the
   editable/generic distinction is visible without reading anything. */
.product-personalize {
  display: flex;
  align-items: baseline;
  gap: .4em;
  padding: .6rem .75rem;
  background: var(--c-cream-dim);
  border: 1px dashed var(--c-border-md);
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  color: var(--c-muted-on-cream);
}
.product-personalize .fill {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--c-cherry-text);
  border-bottom: 2px dotted var(--c-cherry-text);
  padding: 0 .15em;
}

.product-filespec {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-muted-on-cream);
  padding-top: .4rem;
}
.product-filespec span { display: inline-flex; align-items: center; gap: .3em; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--c-border);
}
.product-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--c-ink); }
.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-ink);
  color: var(--c-cream);
  padding: .6rem 1.1rem;
  min-height: var(--tap-min);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 700;
  transition: background var(--tr), transform var(--tr);
}
.btn-add:hover { background: #3D3226; }
.btn-add:active { transform: scale(.96); }

.skeleton {
  background: linear-gradient(90deg, var(--c-cream-dim) 25%, var(--c-cream-mid) 50%, var(--c-cream-dim) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.products-empty { grid-column: 1/-1; text-align: center; padding: 6rem 0; color: var(--c-muted-on-cream); }

/* ============================================
   FEATURES
============================================ */
#features { background: var(--c-cream-dim); padding: 4.5rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2.25rem; }
.feature-item { display: flex; flex-direction: column; gap: .8rem; }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--c-cream);
  border: 1px solid var(--c-border-md);
}
.feature-icon svg { width: 18px; height: 18px; stroke: var(--c-cherry-text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; }
.feature-desc { font-size: .875rem; font-weight: 500; color: var(--c-muted-on-cream); line-height: 1.6; }

/* ============================================
   INFO
============================================ */
#info { background: var(--c-ink); color: var(--c-cream); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 768px) { .info-grid { grid-template-columns: 1fr; } }
.info-text .t-eyebrow { color: var(--c-marigold-bright); margin-bottom: .6rem; } /* 8.25:1 on ink */
.info-text .t-heading { color: var(--c-cream); margin-bottom: 1.1rem; }
.info-text .t-body { color: var(--c-muted-on-ink); margin-bottom: 2rem; }
.info-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #2C2318;
  aspect-ratio: 4/5;
  border: 1px solid var(--c-border-on-ink);
}
.info-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.info-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  border-top: 1px solid var(--c-border-on-ink);
  padding-top: 2rem;
}
.stat-number { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--c-marigold-bright); margin-bottom: .3rem; }
.stat-label { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--c-muted-on-ink); }

/* ============================================
   CART
============================================ */
.cart-section { background: var(--c-cream-mid); padding: 5rem 0; }
#cart-items-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.cart-empty-state {
  padding: 3rem;
  border: 2px dashed var(--c-border-md);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--c-muted-on-cream);
  background: var(--c-cream);
}
.cart-empty-state svg { width: 3rem; height: 3rem; margin: 0 auto 1rem; stroke: var(--c-muted-on-cream); fill: none; stroke-width: 1.5; }
.cart-item { display: grid; grid-template-columns: 92px 1fr; gap: 1rem; padding: 1rem; border: 1px solid var(--c-border); border-radius: var(--radius-md); background: var(--c-cream); }
.cart-item-img { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--c-cream-dim); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { display: flex; flex-direction: column; gap: .7rem; }
.cart-item-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.2; }
.cart-item-meta { font-size: .8rem; font-weight: 700; color: var(--c-muted-on-cream); }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cart-item-price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--c-border-md); border-radius: 999px; overflow: hidden; }
.qty-btn { width: var(--tap-min); height: var(--tap-min); min-width: 32px; min-height: 32px; background: transparent; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--c-cream-dim); }
.qty-num { min-width: 2rem; text-align: center; font-size: .875rem; font-weight: 700; }

.remove-btn {
  align-self: flex-start;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--c-muted-on-cream);
  text-decoration: underline;
  text-underline-offset: 2px;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
}
.remove-btn:hover { color: var(--c-cherry-text); }

.cart-footer { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--c-border-md); display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; max-width: 460px; margin: 0 auto; width: 100%; }
.cart-subtotal-label { color: var(--c-muted-on-cream); font-size: .875rem; font-weight: 700; }
.cart-subtotal-price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1; }
.cart-note { font-size: .8125rem; color: var(--c-muted-on-cream); line-height: 1.7; max-width: 460px; margin: 0 auto; text-align: center; }

@media (max-width: 640px) {
  #cart-items-list { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 1fr; }
  .cart-subtotal { flex-direction: column; align-items: flex-start; }
}

.btn-checkout {
  width: 100%; max-width: 320px;
  display: flex; align-self: center; justify-content: center; gap: 8px;
  background: var(--c-cherry); color: var(--c-cherry-ink);
  padding: 1rem; min-height: 52px;
  border-radius: 100px;
  font-size: .9375rem; font-weight: 700;
  transition: background var(--tr), transform var(--tr);
}
.btn-checkout:hover:not(:disabled) { background: #A6332B; }
.btn-checkout:active:not(:disabled) { transform: scale(.98); }
.btn-checkout:disabled { background: var(--c-border-md); color: var(--c-muted-on-cream); cursor: not-allowed; }
.btn-checkout.loading { opacity: .75; cursor: wait; }
.payment-badge-row {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: .75rem;
  font-size: .6875rem; font-weight: 700;
  color: var(--c-muted-on-cream);
  letter-spacing: .02em;
}

/* ============================================
   TOAST
============================================ */
#toast-container { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  background: var(--c-ink); color: var(--c-cream);
  padding: .8rem 1.25rem; border-radius: 100px;
  font-size: .875rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  animation: toastIn .3s ease;
}
.toast.out { animation: toastOut .3s ease forwards; }
.toast-check { color: #7BC47F; } /* checked 5.4:1 on ink, icon accent only */
.toast-error { background: var(--c-cherry-text); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(12px); } }

/* ============================================
   DELIVERY SELECTOR — every product here is instant
   download, so the choice is about who receives it,
   not how fast (relevant for invite-buyers gifting).
============================================ */
.delivery-selector { margin: 0 auto; max-width: 460px; width: 100%; }
.delivery-selector-label {
  font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--c-muted-on-cream);
  margin-bottom: .75rem; display: block;
}
.delivery-options { display: flex; flex-direction: column; gap: .5rem; }
.delivery-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-cream);
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
}
.delivery-option:hover { border-color: var(--c-border-md); }
.delivery-option.selected { border-color: var(--c-ink); background: var(--c-cream-dim); }
.delivery-option input[type=radio] { accent-color: var(--c-cherry); width: 18px; height: 18px; flex-shrink: 0; }
.delivery-option-info { flex: 1; padding: 0 .75rem; }
.delivery-option-name { font-size: .875rem; font-weight: 700; color: var(--c-ink); }
.delivery-option-meta { font-size: .75rem; font-weight: 600; color: var(--c-muted-on-cream); margin-top: 2px; }
.delivery-instant { color: var(--c-teal); font-weight: 800; font-size: .875rem; }

/* ============================================
   FOOTER
============================================ */
footer { background: var(--c-ink); color: var(--c-cream); padding: 4rem 0 2rem; border-top: 1px solid var(--c-border-on-ink); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--c-cream); }
.footer-tagline { font-size: .875rem; font-weight: 500; color: var(--c-muted-on-ink); line-height: 1.7; max-width: 30ch; margin-bottom: 1rem; }
.footer-col-title { font-size: .6875rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted-on-ink); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: .1rem; }
.footer-links a { font-size: .875rem; font-weight: 600; color: var(--c-cream); padding: .4rem 0; min-height: var(--tap-min); display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--c-marigold-bright); }
.footer-bottom { border-top: 1px solid var(--c-border-on-ink); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-legal { font-size: .75rem; font-weight: 500; color: var(--c-muted-on-ink); line-height: 1.6; width: 100%; text-align: center; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.payment-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-pill {
  background: rgba(251,243,231,.08);
  border: 1px solid var(--c-border-on-ink);
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .02em;
  color: var(--c-cream);
}
.footer-email-link { font-size: .875rem; font-weight: 600; color: var(--c-cream); text-decoration: underline; text-underline-offset: 2px; }
.footer-email-link:hover { color: var(--c-marigold-bright); }

/* ============================================
   COOKIE BANNER
============================================ */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--c-cream);
  border-top: 1px solid var(--c-border);
  z-index: 150;
  padding: 1.25rem 2rem;
  display: none;
  box-shadow: 0 -4px 24px rgba(33,26,20,.1);
}
#cookie-banner.visible { display: block; }
.cookie-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; padding: .5rem; }
.cookie-text { flex: 1; font-size: .8125rem; font-weight: 500; color: var(--c-ink); line-height: 1.6; min-width: 200px; }
.cookie-text a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 700; }
.cookie-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-cookie-accept { background: var(--c-cherry); color: var(--c-cherry-ink); padding: .65rem 1.35rem; min-height: 44px; border-radius: 100px; font-size: .8125rem; font-weight: 700; transition: background var(--tr); }
.btn-cookie-accept:hover { background: #A6332B; }
.btn-cookie-reject { background: transparent; color: var(--c-ink); padding: .65rem 1.35rem; min-height: 44px; border-radius: 100px; font-size: .8125rem; font-weight: 700; border: 1px solid var(--c-border-md); transition: border-color var(--tr); }
.btn-cookie-reject:hover { border-color: var(--c-ink); }

/* ============================================
   MODAL — product detail
============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(33,26,20,.6);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-wrapper { position: relative; width: 100%; max-width: 680px; }
.modal {
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  max-height: 90vh; overflow-y: auto;
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .modal-grid { grid-template-columns: 1fr; } }

.modal-gallery { border-radius: var(--radius-lg) 0 0 var(--radius-lg); overflow: hidden; background: var(--c-cream-dim); display: flex; flex-direction: column; }
@media (max-width: 560px) { .modal-gallery { border-radius: var(--radius-lg) var(--radius-lg) 0 0; } }
.modal-gallery-main { position: relative; flex: 1; min-height: 0; aspect-ratio: 4/3; }
.modal-gallery-track { display: flex; width: 100%; height: 100%; transition: transform .35s cubic-bezier(.4,0,.2,1); }
.modal-gallery-track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; cursor: zoom-in; }
.modal-gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(251,243,231,.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(33,26,20,.2);
  transition: background .2s;
}
.modal-gallery-btn svg { width: 16px; height: 16px; stroke: var(--c-ink); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.modal-gallery-btn.prev { left: 10px; }
.modal-gallery-btn.next { right: 10px; }
.modal-gallery-btn:hover { background: var(--c-cream); }
.modal-gallery-btn:disabled { opacity: .3; pointer-events: none; }
.modal-thumbs { display: flex; gap: 6px; padding: 8px; background: var(--c-cream-dim); overflow-x: auto; scrollbar-width: none; }
.modal-thumbs::-webkit-scrollbar { display: none; }
.modal-thumb { width: 52px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; border: 2px solid transparent; cursor: pointer; transition: border-color .2s; background: var(--c-cream-mid); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumb.active { border-color: var(--c-cherry); }
.modal-gallery.single .modal-gallery-btn { display: none; }
.modal-gallery.single .modal-thumbs { display: none; }

.modal-content { padding: 1.85rem; display: flex; flex-direction: column; gap: 1rem; }
.modal-type { font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted-on-cream); }
.modal-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.2; }
.modal-desc { font-size: .875rem; font-weight: 500; color: var(--c-muted-on-cream); line-height: 1.65; }
.modal-filespec {
  display: flex; flex-direction: column; gap: .4rem;
  font-size: .8125rem; font-weight: 600; color: var(--c-muted-on-cream);
  padding: .85rem; background: var(--c-cream-dim); border-radius: var(--radius-md);
}
.modal-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.modal-close {
  position: absolute; top: -16px; right: -16px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-cream);
  border-radius: 50%;
  border: 1px solid var(--c-border);
  transition: background var(--tr);
  box-shadow: 0 2px 8px rgba(33,26,20,.16);
}
.modal-close:hover { background: var(--c-cream-dim); }
.modal-close svg { width: 16px; height: 16px; stroke: var(--c-ink); fill: none; stroke-width: 2; }

/* ============================================
   LIGHTBOX
============================================ */
#lightbox {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(20,15,10,.97);
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
  display: flex; flex-direction: column; overflow: hidden;
}
#lightbox.open { opacity: 1; pointer-events: all; }
.lb-toolbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem;
  background: linear-gradient(to bottom, rgba(20,15,10,.75), transparent);
}
.lb-counter { font-size: .8125rem; font-weight: 700; letter-spacing: .03em; color: var(--c-muted-on-ink); }
.lb-toolbar-btns { display: flex; align-items: center; gap: .5rem; }
.lb-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251,243,231,.12);
  border: 1px solid var(--c-border-on-ink);
  color: var(--c-cream);
  transition: background .18s;
}
.lb-btn:hover { background: rgba(251,243,231,.22); }
.lb-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-zoom-level { font-size: .75rem; font-weight: 700; color: var(--c-muted-on-ink); letter-spacing: .02em; min-width: 36px; text-align: center; }

.lb-stage { flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lb-img-wrap { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; touch-action: none; }
.lb-img-wrap img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transform-origin: center center;
  transition: transform .2s ease;
  cursor: zoom-in;
  user-select: none; -webkit-user-drag: none;
  will-change: transform;
}
.lb-img-wrap img.zoomed { cursor: zoom-out; }
.lb-img-wrap img.panning { cursor: grabbing; transition: none; }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(251,243,231,.12);
  border: 1px solid var(--c-border-on-ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.lb-nav:hover { background: rgba(251,243,231,.24); }
.lb-nav svg { width: 20px; height: 20px; stroke: var(--c-cream); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lb-nav.prev { left: 1rem; }
.lb-nav.next { right: 1rem; }
.lb-nav:disabled { opacity: .2; pointer-events: none; }

.lb-thumbs { display: flex; gap: 6px; padding: 10px 16px; justify-content: center; background: rgba(20,15,10,.6); overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb { width: 52px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; border: 2px solid transparent; opacity: .55; transition: opacity .18s, border-color .18s; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.active { border-color: var(--c-cream); opacity: 1; }
#lightbox.single .lb-nav { display: none; }
#lightbox.single .lb-thumbs { display: none; }

@media (max-width: 600px) {
  .lb-nav { width: 38px; height: 38px; }
  .lb-nav.prev { left: .5rem; }
  .lb-nav.next { right: .5rem; }
}

/* ============================================
   SCROLL REVEAL
============================================ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }