/* ==========================================================================
   Invisaro — Design System
   Ink / Paper / Gold. Chakra Petch for display, IBM Plex Sans for body,
   IBM Plex Mono for labels & data.
   ========================================================================== */

:root {
  /* Colour */
  --ink: #0b0b0a;
  --ink-soft: #55524a;
  --ink-faint: #8a8579;

  --paper: #f7f6f3;
  --card: #ffffff;
  --line: #e5e2da;
  --line-strong: #d8d4c9;

  --gold-1: #ddae6a;
  --gold-2: #c48e4b;
  --gold-text: #9c6f34; /* darker, AA-safe on light backgrounds */
  --gold-gradient: linear-gradient(120deg, var(--gold-1), var(--gold-2));

  --surface-dark: #0b0b0a;
  --surface-dark-raised: #17140f;
  --line-dark: #2b271e;
  --on-dark: #f5f3ee;
  --on-dark-soft: #b6b0a2;

  --ok: #3f7a54;

  /* Type */
  --font-display: "Chakra Petch", "Archivo Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --fs-xxl: clamp(2.75rem, 2rem + 3.2vw, 4.5rem);
  --fs-xl: clamp(2.1rem, 1.6rem + 2vw, 3.1rem);
  --fs-lg: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
  --fs-md: 1.25rem;
  --fs-body-lg: 1.15rem;
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-label: 0.76rem;

  /* Layout */
  --container: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; letter-spacing: 0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

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

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 6vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 4vw, 4rem); }
.section--dark, .page-intro {
  background: var(--surface-dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.section--dark::before, .page-intro::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 11rem;
  height: 11rem;
  background: url("../assets/logo/monogram-mark.svg") no-repeat center / contain;
  opacity: 0.07;
}
.section--dark > .container, .page-intro > .container { position: relative; z-index: 1; }
.section--raised { background: var(--card); }
.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}
.section--dark .eyebrow { color: var(--gold-1); }
.eyebrow::before {
  content: "";
  flex: none;
  width: 1.05em;
  height: 1em;
  background: url("../assets/logo/monogram-mark.svg") no-repeat center / contain;
}
.section-head h2 { font-size: var(--fs-xl); }
.lead { font-size: var(--fs-body-lg); color: var(--ink-soft); margin-top: 0.9rem; }
.section--dark .lead { color: var(--on-dark-soft); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--gold-gradient);
  color: var(--ink);
}
.btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(196, 142, 75, 0.55); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink); }
.section--dark .btn-secondary, .btn-secondary--on-dark {
  color: var(--on-dark);
  border-color: rgba(245, 243, 238, 0.35);
}
.section--dark .btn-secondary:hover, .btn-secondary--on-dark:hover { border-color: var(--on-dark); }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--gold-text);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}
.section--dark .btn-text { color: var(--gold-1); }
.btn-text .arrow { transition: transform 0.15s ease; }
.btn-text:hover .arrow { transform: translateX(3px); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
/* Full-bleed, not the centred content column — keeps the logo flush
   against the true left edge instead of the content gutter. */
.site-header .container {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.25rem, 2vw, 2.25rem);
  height: 116px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(0.7rem, 1.1vw, 1.3rem); }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); border-color: var(--gold-2); }
.nav-actions { display: flex; align-items: center; gap: 1rem; flex: none; margin-left: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (min-width: 1200px) {
  .site-header .container {
    height: 108px;
    padding-left: clamp(0.5rem, 0.9vw, 0.85rem);
    padding-right: clamp(1rem, 1.6vw, 1.5rem);
    gap: clamp(1.1rem, 1.6vw, 1.75rem);
  }
  .brand img { height: 46px; }
}

@media (max-width: 1199px) {
  .main-nav {
    position: fixed;
    inset: 116px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--gutter) 2rem;
    gap: 0;
    border-top: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }
  .main-nav a { width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  body.nav-open .main-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-primary { padding: 0.7em 1.1em; font-size: 0.88rem; }
}

/* ---- Hero ---- */
.hero {
  background: var(--surface-dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(4rem, 8vw, 6.5rem);
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 50%;
  width: 46rem;
  height: 46rem;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(221, 174, 106, 0.16), transparent 68%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: url("../assets/logo/monogram-mark.svg") no-repeat center / contain;
  right: clamp(-4rem, 6vw, 1rem);
  top: 50%;
  width: clamp(18rem, 26vw, 30rem);
  height: clamp(18rem, 26vw, 30rem);
  transform: translateY(-50%);
  opacity: 0.15;
}
.hero .container { position: relative; }
.hero-inner { max-width: 40rem; position: relative; z-index: 1; }
.hero-logo { height: 34px; width: auto; margin-bottom: 2.4rem; }
.hero h1 {
  font-size: var(--fs-xxl);
  line-height: 1.04;
}
.hero h1 .accent {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: var(--on-dark-soft); font-size: var(--fs-body-lg); max-width: 34rem; }
.hero .btn-row { margin-top: 2.2rem; }
.hero-meta {
  margin-top: 3rem;
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero-meta strong { color: var(--on-dark); font-weight: 600; }

/* ---- Value strip ---- */
.value-strip { border-bottom: 1px solid var(--line); }
.value-strip .grid-3 { gap: 0; }
.value-item {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border-left: 1px solid var(--line);
}
.value-item:first-child { border-left: none; }
.value-item h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
.value-item p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) {
  .value-item { border-left: none; border-top: 1px solid var(--line); }
  .value-item:first-child { border-top: none; }
}

/* ---- Cards ---- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Package cards */
.package-card { position: relative; }
.package-card.is-featured { border-color: var(--gold-2); box-shadow: 0 0 0 1px var(--gold-2); }
.package-tag {
  position: absolute;
  top: -0.7rem;
  left: 1.5rem;
  background: var(--gold-gradient);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  border-radius: 2px;
  font-weight: 600;
}
.package-card h3 { font-size: 1.35rem; }
.package-card .price { font-family: var(--font-mono); color: var(--gold-text); font-size: 0.95rem; }
.package-card .price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0.1rem 0 0;
}
.package-card .price-tag span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}
.package-card .price-note { font-size: 0.9rem; color: var(--ink-soft); margin: -0.3rem 0 0; }
.package-list { display: flex; flex-direction: column; gap: 0.55rem; margin: 0.4rem 0 0.6rem; }
.package-list li.is-summary { color: var(--ink-faint); font-size: 0.88rem; font-style: italic; }
.package-list li { display: flex; align-items: flex-start; gap: 0.6em; font-size: 0.94rem; color: var(--ink-soft); }
.package-list li::before {
  content: "";
  flex: none;
  width: 0.5em; height: 0.5em;
  margin-top: 0.45em;
  background: var(--gold-2);
}
.package-card .btn-row { margin-top: auto; padding-top: 0.4rem; }
.package-card.placeholder {
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  color: var(--ink-faint);
  gap: 0.4rem;
}
.package-card.placeholder h3 { color: var(--ink-soft); font-size: 1.15rem; }

/* Product / category cards */
.product-card { padding: 0; overflow: hidden; }
.product-swatch {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-swatch svg { width: 78%; height: 78%; }
.product-swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-swatch .logo-slot-label {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  fill: var(--gold-text);
}
.product-swatch .logo-slot-box {
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 1.4;
  stroke-dasharray: 2.6 2.8;
}
.product-card .product-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-card h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; }
.product-card p { font-size: 0.88rem; color: var(--ink-soft); }
.product-card .price { margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--gold-text); }
.product-card .btn-row { margin-top: auto; padding-top: 0.7rem; }
.product-card .btn-primary { width: 100%; }

/* ---- Process ---- */
.process-list { counter-reset: step; display: flex; flex-direction: column; }
.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--gold-text);
}
.process-item h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.process-item p { color: var(--ink-soft); font-size: 0.95rem; max-width: 34rem; }

/* ---- Audience chips ---- */
.chip-field { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.6em 1.1em;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---- CTA band ---- */
.cta-band { text-align: left; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: var(--fs-lg); max-width: 24rem; }
.cta-band .lead { margin-top: 0.6rem; max-width: 26rem; }

/* ---- Footer ---- */
.site-footer { background: var(--surface-dark); color: var(--on-dark-soft); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 34px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 22rem; font-size: 0.92rem; line-height: 1.65; }
.social-links { display: flex; gap: 0.85rem; margin-top: 1.25rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 243, 238, 0.25);
  color: var(--on-dark-soft);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.social-links a:hover { border-color: var(--gold-1); color: var(--gold-1); }
.social-links svg { width: 1.05rem; height: 1.05rem; display: block; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { text-decoration: none; font-size: 0.92rem; color: var(--on-dark-soft); }
.footer-col a:hover { color: var(--gold-1); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---- Forms (Contact / Request a Quote) ---- */
.form-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 0.8rem; color: var(--ink-faint); font-weight: 400; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.8em 0.9em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(196, 142, 75, 0.18);
}
.form-submit-row { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); }

/* honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-list li { display: flex; gap: 1rem; }
.contact-info-list h4 { font-size: 0.98rem; margin-bottom: 0.25rem; }
.contact-info-list p, .contact-info-list a { color: var(--ink-soft); font-size: 0.94rem; text-decoration: none; }
.contact-info-list a:hover { color: var(--gold-text); }

/* ---- Contact layout ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-layout > * { min-width: 0; }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---- Page intro (non-home pages) ---- */
.page-intro { background: var(--surface-dark); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 4.5rem); }
.page-intro .eyebrow { color: var(--gold-1); }
.page-intro h1 { font-size: var(--fs-xl); }
.page-intro .lead { color: var(--on-dark-soft); max-width: 38rem; }

/* ---- Package configurator ---- */
.configure-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.configure-summary h3 { font-size: 1.15rem; }
.configure-summary .price-tag { margin: 0.25rem 0 0; }
.configure-summary .package-list { margin-top: 1rem; }

.size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.1rem;
}
.size-grid .field { margin-bottom: 0; }
.size-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.file-upload {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
}
.file-upload input[type="file"] { font: inherit; font-size: 0.88rem; }
.file-upload .hint { font-size: 0.82rem; color: var(--ink-faint); }
.file-upload .file-chosen { font-size: 0.85rem; color: var(--gold-text); font-weight: 600; }

.logo-choice { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.1rem; }
.logo-choice-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.logo-choice-option:has(input:checked) { border-color: var(--gold-2); }
.logo-choice-option input[type="radio"] { margin-top: 0.2rem; flex-shrink: 0; }
.logo-choice-option span { font-size: 0.92rem; color: var(--ink); }
.logo-choice-option .hint { display: block; font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.15rem; font-weight: 400; }

.logo-design-note {
  padding: 1.1rem 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.logo-design-note strong { color: var(--ink); }

.file-upload[hidden], .logo-design-note[hidden] { display: none; }

.extras-group + .extras-group { margin-top: 2.2rem; }
.extras-group h4 { font-size: 1.02rem; margin-bottom: 1rem; }

.extras-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.15s ease;
}
.extras-item + .extras-item { margin-top: 0.6rem; }
.extras-item.is-active { border-color: var(--gold-2); }

.extras-item-main { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.extras-item-name { font-weight: 600; font-size: 0.95rem; }
.price-pill { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold-text); }
.price-pill.is-tbc { color: var(--ink-faint); font-style: italic; }

.extras-item-controls { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.extras-item-controls label { display: flex; align-items: center; gap: 0.45rem; font-size: 0.82rem; color: var(--ink-soft); }
.qty-input {
  width: 3.6rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  text-align: center;
  background: var(--paper);
}
.size-select {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.85rem;
  background: var(--paper);
}
.size-select:disabled { opacity: 0.4; }

.total-bar {
  position: sticky;
  bottom: 1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  padding: 1.1rem 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 12px 32px -18px rgba(11, 11, 10, 0.4);
}
.total-bar .total-label { font-size: 0.78rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.total-bar .total-amount { font-family: var(--font-display); font-size: 1.6rem; }
.total-bar .total-pending { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.25rem; display: none; }

@media (max-width: 640px) {
  .total-bar { position: static; }
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  max-width: 60rem;
  margin: 0 auto;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 32px -14px rgba(11, 11, 10, 0.45);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 0.88rem; color: var(--ink-soft); flex: 1 1 18rem; }
.cookie-banner-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-banner-actions .btn { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.cookie-prefs-link {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 49;
  font: inherit;
  font-size: 0.76rem;
  color: var(--ink-faint);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}
.cookie-prefs-link:hover { color: var(--ink); border-color: var(--line-strong); }

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
  .cookie-prefs-link { display: none; }
}
