/* ==========================================================================
   Vitamin Horgoš — components.css (ORBIS rebuild)
   Buttons, chips, cards (product, recipe, category, certificate, news, business),
   numbered columns, quote, timeline rows, media card, CTA band, marquee, rail,
   segmented control, tabs, pack table, forms, modal, toast, assistant, toggles.
   ========================================================================== */

/* ---------- Buttons: 56px, 6px radius, uppercase 15px letter-spaced ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  min-height: var(--btn-h);
  padding: 0 var(--sp-32);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: var(--t-ui);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transition: background-color var(--dur-hover), border-color var(--dur-hover), color var(--dur-hover), transform var(--dur-hover);
}
.btn .icon { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
/* primary: the one red element on a screen */
.btn--primary, .btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover, .btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
/* gold outline on dark grounds (header KONTAKT, secondary actions) */
.btn--outline, .btn--glass, .btn--ghost-light { background: transparent; border-color: var(--gold); color: var(--on-dark); }
.btn--outline:hover, .btn--glass:hover, .btn--ghost-light:hover { background: rgba(201, 162, 77, 0.12); color: var(--gold); }
/* ink outline on light grounds */
.btn--line, .btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover, .btn--ghost:hover { background: var(--ink); color: var(--cream); }
/* cream fill (ORBIS CTA on dark/burgundy bands) */
.btn--cream, .btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--cream:hover, .btn--light:hover { background: transparent; color: var(--cream); }
/* gold fill: secondary on light shop pages */
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #B48C38; border-color: #B48C38; }
.on-dark .btn--line, .section--black .btn--line, .section--burgundy .btn--line,
.on-dark .btn--ghost, .section--black .btn--ghost, .section--burgundy .btn--ghost { border-color: var(--gold); color: var(--on-dark); }
.on-dark .btn--line:hover, .section--black .btn--line:hover, .section--burgundy .btn--line:hover,
.on-dark .btn--ghost:hover, .section--black .btn--ghost:hover, .section--burgundy .btn--ghost:hover { background: rgba(201, 162, 77, 0.12); color: var(--gold); }
.btn--sm { min-height: 52px; padding: 0 var(--sp-24); font-size: 0.875rem; }
.btn--lg { min-height: 64px; padding: 0 var(--sp-48); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-16); }

/* „Detalji →“ text link */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  min-height: var(--tap);
  font-size: var(--t-ui);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  color: var(--gold-ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color var(--dur-hover), color var(--dur-hover);
}
.link-more:hover { text-decoration-color: currentColor; }
.link-more .icon { width: 18px; height: 18px; transition: transform var(--dur-hover); }
.link-more:hover .icon { transform: translateX(3px); }
.on-dark .link-more, .section--black .link-more, .section--burgundy .link-more { color: var(--gold); }

/* retired: the round magnetic CTA becomes a plain outline button */
.cta-circle { display: inline-flex; align-items: center; gap: var(--sp-8); min-height: var(--btn-h); padding: 0 var(--sp-32); border: 1px solid var(--gold); border-radius: var(--radius); color: var(--on-dark); font-size: var(--t-ui); font-weight: var(--fw-semibold); letter-spacing: var(--track-ui); text-transform: uppercase; }
.cta-circle__inner { display: inline-flex; align-items: center; gap: var(--sp-8); }

/* ---------- Chips (pack sizes, filters): squared, hairline ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  min-height: 40px;
  padding: 0 var(--sp-16);
  border: 1px solid var(--line-light-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  line-height: 1.2;
}
.chip .icon { width: 18px; height: 18px; color: var(--gold-ink); }
button.chip, a.chip { min-height: var(--tap); cursor: pointer; transition: border-color var(--dur-hover), background-color var(--dur-hover); }
button.chip:hover, a.chip:hover { border-color: var(--gold-ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip--sm { min-height: 32px; padding: 0 var(--sp-12); font-size: 0.9375rem; }
.chip--glass, .on-dark .chip, .section--black .chip, .section--burgundy .chip { border-color: var(--line-dark); color: var(--on-dark); }
.on-dark .chip .icon, .section--black .chip .icon { color: var(--gold); }
.on-dark .chip[aria-pressed="true"], .section--black .chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.chip small { font-size: 0.875rem; color: var(--ink-body); }
.chip-row, .chips { display: flex; flex-wrap: wrap; gap: var(--sp-8); }

/* ---------- Product card: packshot on a light plate, serif name, pack chips, Detalji + Dodaj ---------- */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--warm-white);
  transition: border-color var(--dur-hover), transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover);
}
.pcard:hover, .pcard:focus-within { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.pcard__media { position: relative; }
.pcard__plate {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: var(--sp-12) var(--sp-12) 0;
  border-radius: calc(var(--radius) - 2px);
  background: var(--plate);
  overflow: hidden;
}
.pcard__plate picture, .pcard__plate img { width: 78%; height: 78%; object-fit: contain; }
.pcard__plate img { transition: transform 500ms var(--ease-out); }
/* cream studio stage (premium 10, item 3): the pack's base on the floor line, its transparent foot cropped (--foot) */
/* lite stage for the long card grids: the same spotlight, floor line and contact shadow painted as one background,
   with no pseudo-elements and no vignette (56 cards on proizvodi) */
.pcard__plate.studio {
  position: relative;
  display: block;
  --floor-h: 20%;
  background:
    radial-gradient(26% 4.5% at 50% 80%, rgba(70, 48, 26, 0.34), transparent),
    linear-gradient(180deg, transparent 79.7%, rgba(101, 74, 18, 0.18) 79.7%, rgba(101, 74, 18, 0.18) 80%, rgba(255, 255, 255, 0.4) 80%, rgba(110, 80, 40, 0.08) 100%),
    radial-gradient(72% 62% at 14% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.32) 42%, transparent 72%),
    linear-gradient(180deg, #F4EDE2 0%, #EDE4D6 60%, #E3D8C6 100%);
}
.pcard__plate.studio::before, .pcard__plate.studio::after { content: none; }
.pcard__plate > .pcard__pack { position: absolute; left: 50%; bottom: var(--floor-h); z-index: 1; width: 62%; translate: -50% 0; aspect-ratio: 1 / var(--foot, 0.985); overflow: hidden; }
.pcard__plate .pcard__pack picture, .pcard__plate .pcard__pack img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; object-position: 50% 100%; }
.pcard__tgls { position: absolute; top: var(--sp-24); right: var(--sp-24); display: grid; gap: var(--sp-8); }
.pcard__body { display: flex; flex-direction: column; gap: var(--sp-12); flex: 1; padding: var(--sp-24); }
.pcard__cat { font-size: 0.8125rem; font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold-ink); }
.pcard__title { font-family: var(--font-serif); font-size: var(--t-card); font-weight: var(--fw-regular); line-height: 1.2; color: var(--ink); }
.pcard__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.pcard__packs { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__packs li { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--line-light-strong); border-radius: var(--radius); font-size: 0.9375rem; font-weight: var(--fw-medium); color: var(--ink); }
.pcard__packs-none { font-size: var(--t-card-body); }
.pcard__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-12); margin-top: auto; padding-top: var(--sp-12); border-top: 1px solid var(--line-light); }
.pcard__add { padding: 0 var(--sp-16); }
/* a light product card keeps its own ink colours inside dark sections */
:is(.section--black, .section--dark, .section--burgundy, .on-dark) .pcard { color: var(--ink-body); }
:is(.section--black, .section--dark, .section--burgundy, .on-dark) .pcard :is(h3, .pcard__title) { color: var(--ink); }
:is(.section--black, .section--dark, .section--burgundy, .on-dark) .pcard .btn--line { border-color: var(--ink); color: var(--ink); }
:is(.section--black, .section--dark, .section--burgundy, .on-dark) .pcard .btn--line:hover { background: var(--ink); color: var(--cream); }
:is(.section--black, .section--dark, .section--burgundy, .on-dark) .pcard .link-more { color: var(--gold-ink); }
:is(.section--black, .section--dark, .section--burgundy, .on-dark) .pcard :focus-visible { outline-color: var(--gold-ink); }

/* toggles (heart = Moja polica, scale = comparison): always visible, 44px */
.tgl {
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border: 1px solid var(--line-light-strong);
  border-radius: var(--radius);
  background: var(--warm-white);
  color: var(--ink);
  transition: border-color var(--dur-hover), color var(--dur-hover), background-color var(--dur-hover);
}
.tgl .icon { width: 20px; height: 20px; }
.tgl:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.tgl[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.tgl--fav[aria-pressed="true"] .icon { fill: currentColor; }
.tgl--dark { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.tgl--dark[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tgl--lg { width: var(--btn-h); height: var(--btn-h); }
.tgl.is-pop { animation: tgl-pop 350ms var(--ease-out); }
@keyframes tgl-pop { 40% { opacity: 0.6; } }

/* ---------- Recipe card: plate, tag, serif title, meta, „Pogledajte recept“ ---------- */
.rcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--warm-white);
  transition: border-color var(--dur-hover), transform var(--dur-hover) var(--ease-out);
}
.rcard:hover, .rcard:focus-within { border-color: var(--gold); transform: translateY(-3px); }
.rcard__media { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; margin: var(--sp-12) var(--sp-12) 0; border-radius: calc(var(--radius) - 2px); background: var(--plate); overflow: hidden; }
.rcard__media picture, .rcard__media img { width: 52%; height: auto; object-fit: contain; }
.rcard__media > img.rcard__photo { width: 100%; height: 100%; object-fit: cover; }
.rcard__tag { position: absolute; top: var(--sp-12); left: var(--sp-12); padding: 4px 10px; border-radius: var(--radius); background: var(--ground-black); color: var(--gold); font-size: 0.8125rem; font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; }
.rcard__tag:empty { display: none; }
.rcard__body { display: flex; flex-direction: column; gap: var(--sp-12); flex: 1; padding: var(--sp-24); }
.rcard__title { font-family: var(--font-serif); font-size: var(--t-card); font-weight: var(--fw-regular); line-height: 1.2; color: var(--ink); }
.rcard__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.rcard__meta { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-16); font-size: 1rem; color: var(--ink-body); }
.rcard__meta span + span::before { content: "·"; margin-right: var(--sp-16); color: var(--gold-ink); }
.rcard .link-more { margin-top: auto; }
.rcard--tall .rcard__media { aspect-ratio: 1; }

/* ---------- Category card (ORBIS): a photo strip, then on black: gold number, serif title, hairline ---------- */
.ccard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  min-height: 320px;
  padding: var(--sp-48) var(--sp-32) var(--sp-32);
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  background: var(--ground-black);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--dur-hover), transform var(--dur-hover) var(--ease-out);
}
.ccard:hover, .ccard:focus-visible { border-color: var(--gold); transform: translateY(-3px); }
.ccard__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin: calc(var(--sp-48) * -1) calc(var(--sp-32) * -1) var(--sp-8);
  overflow: hidden;
  background: var(--ground-black);
}
.ccard__media picture, .ccard__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ccard__num { font-size: 0.875rem; font-weight: var(--fw-semibold); letter-spacing: 0.1em; color: var(--gold); }
.ccard__name { max-width: 12ch; font-family: var(--font-serif); font-size: 1.875rem; font-weight: var(--fw-light); line-height: 1.15; color: var(--on-dark); }
.ccard__text { max-width: 24ch; font-size: var(--t-card-body); line-height: 1.6; color: var(--on-dark-body); }
.ccard__count { margin-top: auto; font-size: 0.9375rem; color: var(--on-dark-body); }
.ccard__rule { width: 32px; height: 1px; background: var(--gold); transition: width var(--dur-hover) var(--ease-out); }
.ccard:hover .ccard__rule { width: 64px; }

/* ---------- Certificate card (certificates, values): dark, serif title, gold code ---------- */
.ecard {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  padding: var(--sp-32);
  border: 1px solid var(--line-dark-soft);
  border-radius: var(--radius);
  background: rgba(21, 17, 15, 0.55);
  color: var(--on-dark-body);
  transition: border-color var(--dur-hover), transform var(--dur-hover) var(--ease-out);
}
.ecard:hover { border-color: var(--gold); transform: translateY(-3px); }

/* ---------- Premium 3, §5.7: one card behaviour site-wide (products, recipes, news, categories, certificates,
   the product marquee): a 3px lift, a gold border and a soft burgundy shadow on hover and keyboard focus ---------- */
.pcard, .rcard, .ncard, .ccard, .ecard, .pmq__plate {
  transition: border-color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
:is(.pcard, .rcard, .ncard):is(:hover, :focus-within), .ccard:is(:hover, :focus-visible), .ecard:is(:hover, :focus-within) {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
:is(.ccard, .ecard):is(:hover, :focus-visible, :focus-within) { box-shadow: var(--shadow-dark); }
.pmq__card:is(:hover, :focus-visible) .pmq__plate { box-shadow: var(--shadow-soft); }
/* packshot plates: a faint radial light behind the product; on hover the product lifts 6px and its contact shadow
   grows and softens, as if it rose off the floor */
.pcard__plate.studio {
  background:
    radial-gradient(40% 36% at 50% 52%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, transparent 79.7%, rgba(101, 74, 18, 0.18) 79.7%, rgba(101, 74, 18, 0.18) 80%, rgba(255, 255, 255, 0.4) 80%, rgba(110, 80, 40, 0.08) 100%),
    radial-gradient(72% 62% at 14% 0%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.32) 42%, transparent 72%),
    linear-gradient(180deg, #F4EDE2 0%, #EDE4D6 60%, #E3D8C6 100%);
}
.pcard__plate.studio::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: var(--floor-h);
  z-index: 0;
  width: 54%;
  height: 9%;
  translate: -50% 50%;
  background: radial-gradient(closest-side, rgba(70, 48, 26, 0.36), rgba(70, 48, 26, 0.1) 60%, transparent);
  transition: transform 500ms var(--ease-out), opacity 500ms var(--ease-out);
  pointer-events: none;
}
.pcard__plate > .pcard__pack { transition: transform 500ms var(--ease-out); }
.pcard:is(:hover, :focus-within) .pcard__plate > .pcard__pack { transform: translateY(-6px); }
.pcard:is(:hover, :focus-within) .pcard__plate.studio::after { transform: scale(1.2, 1.15); opacity: 0.7; } /* allow-scale: the contact shadow grows as the pack lifts (§5.7) */
@media (prefers-reduced-motion: reduce) {
  :is(.pcard, .rcard, .ncard, .ccard, .ecard):is(:hover, :focus-within, :focus-visible), .pcard:is(:hover, :focus-within) .pcard__plate > .pcard__pack { transform: none; }
  .pcard:is(:hover, :focus-within) .pcard__plate.studio::after { transform: none; opacity: 1; }
}
.ecard__code { font-size: 0.875rem; font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold); }
.ecard__title { font-family: var(--font-serif); font-size: var(--t-card); font-weight: var(--fw-regular); line-height: 1.2; color: var(--on-dark); }
.ecard__text { font-size: var(--t-card-body); line-height: 1.6; }
.section--cream .ecard, .section--white .ecard, .on-light .ecard { background: var(--warm-white); border-color: var(--line-light); color: var(--ink-body); }
.section--cream .ecard__title, .section--white .ecard__title { color: var(--ink); }
.section--cream .ecard__code, .section--white .ecard__code { color: var(--gold-ink); }
.section--cream .ecard:hover, .section--white .ecard:hover { border-color: var(--gold-ink); }

/* ---------- Numbered columns (01–04, top hairline) ---------- */
.numcols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-32); }
.numcols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.numcol { display: grid; align-content: start; gap: var(--sp-16); padding-top: var(--sp-32); border-top: 1px solid var(--line-light); }
.numcol__num { font-size: 0.9375rem; font-weight: var(--fw-semibold); letter-spacing: 0.1em; color: var(--gold-ink); }
.numcol__title { font-family: var(--font-serif); font-size: var(--t-h3); font-weight: var(--fw-regular); line-height: 1.2; color: var(--ink); }
.numcol__text { font-size: var(--t-card-body); line-height: 1.65; }
.on-dark .numcol, .section--black .numcol, .section--burgundy .numcol { border-top-color: var(--line-dark); }
.on-dark .numcol__num, .section--black .numcol__num, .section--burgundy .numcol__num { color: var(--gold); }
.on-dark .numcol__title, .section--black .numcol__title, .section--burgundy .numcol__title { color: var(--on-dark); }

/* bordered pillar card (ORBIS services): „01 Title“ serif in gold + text */
.pillar { padding: var(--sp-32); border: 1px solid var(--line-dark-soft); border-radius: var(--radius); }
.pillar__title { font-family: var(--font-serif); font-size: var(--t-card); font-weight: var(--fw-regular); color: var(--gold); }
.pillar__title b { font-weight: var(--fw-regular); margin-right: var(--sp-8); }
.pillar p { margin-top: var(--sp-12); font-size: var(--t-card-body); }
.section--cream .pillar, .section--white .pillar { border-color: var(--line-light); }
.section--cream .pillar__title, .section--white .pillar__title { color: var(--gold-ink); }

/* ---------- Quote block: big serif quote with a gold left rule ---------- */
.quote { padding-left: var(--sp-32); border-left: 1px solid var(--gold); font-family: var(--font-serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); font-weight: var(--fw-light); line-height: 1.4; color: var(--on-dark); }
.quote cite { display: block; margin-top: var(--sp-24); font-family: var(--font-sans); font-size: var(--t-eyebrow); font-style: normal; font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold); }
.section--cream .quote, .section--white .quote { color: var(--ink); border-left-color: var(--gold-ink); }

/* ---------- Timeline rows: gold number, year, text, hairline ---------- */
.tlrows { border-top: 1px solid var(--line-light); }
.tlrow { display: grid; grid-template-columns: 64px 160px minmax(0, 1fr); gap: var(--sp-32); align-items: baseline; padding: var(--sp-32) 0; border-bottom: 1px solid var(--line-light); }
.tlrow__num { font-size: 0.9375rem; font-weight: var(--fw-semibold); letter-spacing: 0.1em; color: var(--gold-ink); }
.tlrow__year { font-family: var(--font-serif); font-size: 2.25rem; font-weight: var(--fw-light); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.tlrow__text { font-size: var(--t-body); }
.on-dark .tlrows, .section--black .tlrows, .on-dark .tlrow, .section--black .tlrow, .section--burgundy .tlrows, .section--burgundy .tlrow { border-color: var(--line-dark-soft); }
.on-dark .tlrow__num, .section--black .tlrow__num, .section--burgundy .tlrow__num { color: var(--gold); }
.on-dark .tlrow__year, .section--black .tlrow__year, .section--burgundy .tlrow__year { color: var(--on-dark); }

/* ---------- Media card: large image with a play / zoom control (split sections) ---------- */
.mcard { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--ground-black); }
.mcard picture { display: block; width: 100%; height: 100%; } /* any image ratio fills the 4:3 frame */
.mcard img, .mcard video { width: 100%; height: 100%; object-fit: cover; }
.mcard--zoom img { animation: none; }
.mcard__play {
  /* final polish §3.4: one magnifier everywhere – 56px, bottom right, gold ring on translucent black; never over the
     middle of the photo (the same look as .mwall__zoom) */
  position: absolute;
  right: var(--sp-16);
  bottom: var(--sp-16);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(21, 17, 15, 0.72);
  color: var(--gold);
  transition: background-color var(--dur-hover), color var(--dur-hover);
}
.mcard__play:hover, .mcard:hover .mcard__play { background: var(--gold); color: var(--ground-black); }
.mcard__play .icon { width: 24px; height: 24px; }
.mcard__cap { position: absolute; left: var(--sp-16); bottom: var(--sp-16); max-width: calc(100% - 56px - var(--sp-48)); padding: 6px 12px; border-radius: var(--radius); background: rgba(21, 17, 15, 0.7); color: var(--cream); font-size: 0.875rem; }

/* ---------- CTA band (burgundy): eyebrow + H2 left, text + button right ---------- */
.ctaband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(var(--sp-48), 6vw, var(--sp-96)); align-items: start; }
.ctaband__text { display: grid; gap: var(--sp-24); justify-items: start; }
.ctaband--center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.ctaband--center .ctaband__text { justify-items: center; }

/* ---------- Business card (contacts): dark, gold eyebrow, serif name, hairline, phone + mail ---------- */
.bcard {
  position: relative;
  display: grid;
  gap: var(--sp-16);
  padding: var(--sp-48) var(--sp-48) var(--sp-48);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1D1714 0%, var(--ground-black) 70%);
  color: var(--on-dark-body);
  overflow: hidden;
  isolation: isolate;
}
.bcard::after { /* faint logo-like watermark rings */
  content: "";
  position: absolute;
  right: -90px;
  top: 50%;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 36px solid rgba(245, 240, 232, 0.035);
  box-shadow: 0 0 0 40px rgba(245, 240, 232, 0.02);
  transform: translateY(-50%);
}
.bcard__dept { font-size: var(--t-eyebrow); font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold); }
.bcard__name { font-family: var(--font-serif); font-size: 2.25rem; font-weight: var(--fw-light); line-height: 1.15; color: var(--on-dark); padding-bottom: var(--sp-16); border-bottom: 1px solid var(--line-dark-soft); }
.bcard__lines { display: grid; gap: var(--sp-4); }
.bcard__lines a { display: inline-flex; align-items: center; gap: var(--sp-12); min-height: var(--tap); font-size: 1.125rem; color: var(--on-dark); }
.bcard__lines a:hover { color: var(--gold); }
.bcard__lines .icon { color: var(--gold); }

/* ---------- News card ---------- */
.ncard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-light); border-radius: var(--radius); background: var(--warm-white); overflow: hidden; transition: border-color var(--dur-hover), transform var(--dur-hover) var(--ease-out); }
.ncard:hover, .ncard:focus-within { border-color: var(--gold); transform: translateY(-3px); }
.ncard__media { aspect-ratio: 16 / 10; background: var(--plate); overflow: hidden; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; }
.ncard__body { display: grid; gap: var(--sp-12); padding: var(--sp-24); }
.ncard__date { font-size: 0.875rem; font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold-ink); }
.ncard__title { font-family: var(--font-serif); font-size: var(--t-card); font-weight: var(--fw-regular); line-height: 1.2; color: var(--ink); }

/* ---------- Counters (figures from data.js) ---------- */
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-32); }
.counter { display: grid; gap: var(--sp-8); padding-top: var(--sp-24); border-top: 1px solid var(--line-light); }
.counter__value { font-family: var(--font-serif); font-size: var(--fs-counter); font-weight: var(--fw-light); line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.counter__label { font-size: var(--t-card-body); }
.on-dark .counter, .section--black .counter, .section--burgundy .counter { border-top-color: var(--line-dark); }
.on-dark .counter__value, .section--black .counter__value, .section--burgundy .counter__value { color: var(--on-dark); }

/* ---------- Product marquee (ORBIS): serif title above a light plate with the packshot ---------- */
.pmq { position: relative; }
.pmq__viewport { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.pmq__viewport::-webkit-scrollbar { display: none; }
.pmq__track { display: flex; gap: var(--sp-32); width: max-content; padding: 0 var(--gutter) var(--sp-8); }
.pmq__item { flex: none; width: clamp(260px, 28vw, 380px); }
.pmq__card { display: grid; gap: var(--sp-24); }
.pmq__title { font-family: var(--font-serif); font-size: 1.75rem; font-weight: var(--fw-regular); line-height: 1.2; text-align: center; color: var(--ink); }
.pmq__plate { display: grid; place-items: center; aspect-ratio: 4 / 5; border: 1px solid transparent; border-radius: var(--radius); background: var(--plate); overflow: hidden; transition: border-color var(--dur-hover), transform var(--dur-hover) var(--ease-out); }
.pmq__plate picture, .pmq__plate img { width: 88%; height: 88%; object-fit: contain; }
.pmq__card:hover .pmq__plate, .pmq__card:focus-visible .pmq__plate { border-color: var(--gold-ink); transform: translateY(-3px); }
/* cream studio stage (premium 10, item 3): the composited packshot stands on the floor line */
/* final polish: the plates carry one of the owner's three images, cropped to fill */
.pmq__plate--photo { background: var(--ground-black); }
.pmq__plate--photo picture, .pmq__plate--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pmq__plate.studio { place-items: end center; --floor-h: 30%; --shadow-w: 58%; }
.pmq__plate.studio picture { display: block; width: 92%; height: auto; margin-bottom: 9%; }
.pmq__plate.studio img { width: 100%; height: auto; }
.pmq__nav { display: flex; justify-content: center; gap: var(--sp-12); margin-top: var(--sp-32); }
.pmq__btn { display: grid; place-items: center; width: var(--btn-h); height: var(--btn-h); border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); transition: background-color var(--dur-hover), color var(--dur-hover); }
.pmq__btn:hover { background: var(--ink); color: var(--cream); }
.pmq__btn .icon { width: 22px; height: 22px; }
.on-dark .pmq__title, .section--black .pmq__title { color: var(--on-dark); }
.on-dark .pmq__btn, .section--black .pmq__btn { border-color: var(--gold); color: var(--on-dark); }

/* retired text marquee (product names): a calm line of names */
.marquee { overflow: hidden; padding-block: var(--sp-32); border-block: 1px solid var(--line-light); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.marquee__group { display: flex; gap: var(--sp-48); padding-right: var(--sp-48); }
.marquee__item { font-family: var(--font-serif); font-size: var(--fs-marquee); font-weight: var(--fw-light); color: var(--ink); white-space: nowrap; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Draggable rail (related products, recent, recipe rows) ---------- */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: var(--sp-24); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px var(--sp-16); margin: -4px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-24); margin-top: var(--sp-24); }
.rail__progress { position: relative; flex: 1; height: 1px; background: var(--line-light); }
.rail__progress span { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0.3) * 100%); background: var(--gold-ink); }
.rail__btns { display: flex; gap: var(--sp-8); }
.rail__btn { display: grid; place-items: center; width: var(--btn-h); height: var(--btn-h); border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); transition: background-color var(--dur-hover), color var(--dur-hover), opacity var(--dur-hover); }
.rail__btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); }
.rail__btn:disabled { opacity: 0.3; cursor: default; }
.on-dark .rail__btn, .section--black .rail__btn { border-color: var(--gold); color: var(--on-dark); }
.on-dark .rail__progress, .section--black .rail__progress { background: var(--line-dark-soft); }
.on-dark .rail__progress span, .section--black .rail__progress span { background: var(--gold); }

/* ---------- Segmented control (filters, pack sizes): squared, sliding pill ---------- */
.seg { position: relative; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--line-light-strong); border-radius: var(--radius); background: var(--warm-white); }
.seg > button { position: relative; z-index: 1; min-height: var(--tap); padding: 0 var(--sp-16); border-radius: calc(var(--radius) - 2px); font-size: 1rem; font-weight: var(--fw-medium); color: var(--ink); transition: color var(--dur-hover); }
.seg > button[aria-pressed="true"], .seg > button[aria-selected="true"] { color: var(--cream); }
.seg__pill { position: absolute; top: 0; left: 0; z-index: 0; width: var(--w, 0); height: var(--h, 0); border-radius: calc(var(--radius) - 2px); background: var(--ink); transform: translate(var(--x, 0), var(--y, 0)); transition: transform 350ms var(--ease-out), width 350ms var(--ease-out), height 350ms var(--ease-out); }
.seg:not(.is-ready) > button[aria-pressed="true"], .seg:not(.is-ready) > button[aria-selected="true"] { background: var(--ink); }
.on-dark .seg, .section--black .seg, .section--burgundy .seg { background: transparent; border-color: var(--line-dark); }
.on-dark .seg > button, .section--black .seg > button, .section--burgundy .seg > button { color: var(--on-dark); }
.on-dark .seg > button[aria-pressed="true"], .section--black .seg > button[aria-pressed="true"], .section--burgundy .seg > button[aria-pressed="true"] { color: var(--ink); }
.on-dark .seg__pill, .section--black .seg__pill, .section--burgundy .seg__pill { background: var(--gold); }
.on-dark .seg:not(.is-ready) > button[aria-pressed="true"] { background: var(--gold); }

/* ---------- Tabs ---------- */
.tabs__list { margin-bottom: var(--sp-32); }
.tabs__tab .count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-left: var(--sp-8); padding: 0 6px; border-radius: var(--radius); background: var(--plate); color: var(--ink); font-size: 0.875rem; }
.tabs__tab[aria-selected="true"] .count { background: var(--gold); }
.tabs__panel:focus-visible { outline-offset: 8px; }

/* ---------- Pack table: hairline rows, 17px, barcodes in mono ---------- */
.ptable-wrap { overflow-x: auto; border: 1px solid var(--line-light); border-radius: var(--radius); }
.ptable { width: 100%; font-size: var(--t-card-body); }
.ptable th, .ptable td { padding: var(--sp-16) var(--sp-24); border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
.ptable thead th { background: var(--plate); font-size: 0.875rem; font-weight: var(--fw-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable td.mono { white-space: nowrap; }
.on-dark .ptable-wrap { border-color: var(--line-dark-soft); }
.on-dark .ptable th, .on-dark .ptable td { border-bottom-color: var(--line-dark-soft); }
.on-dark .ptable thead th { background: var(--ground-raised); color: var(--on-dark); }

/* ---------- Forms: visible labels above 56px fields ---------- */
.form { display: grid; gap: var(--sp-24); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-24); }
.field { display: grid; gap: var(--sp-8); }
.field__label, .fl__label {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  color: var(--ink);
}
.input, .fl__input, .select, .textarea {
  display: block;
  width: 100%;
  min-height: var(--btn-h);
  padding: 0 var(--sp-16);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--warm-white);
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1.4;
  transition: border-color var(--dur-hover), box-shadow var(--dur-hover);
}
textarea.input, textarea.fl__input, .textarea { min-height: 160px; padding: var(--sp-16); resize: vertical; }
select.input, select.fl__input, .select {
  appearance: none;
  padding-right: var(--sp-48);
  cursor: pointer;
  background: var(--warm-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A5A1C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 18px center no-repeat;
}
.input:hover, .fl__input:hover { border-color: var(--ink-body); }
.input:focus, .fl__input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-ink); box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.45); }
.input::placeholder, .fl__input::placeholder { color: #8A7E76; }
/* the old floating-label markup (input, then label) shows the label above the field */
.fl { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--sp-8); }
.fl__line { display: none; }
.fl--static .fl__label { transform: none; }
.req { color: var(--red-wine); }
.field__hint { font-size: 1rem; color: var(--ink-body); }
.field__error { display: flex; align-items: center; gap: var(--sp-8); font-size: 1rem; font-weight: var(--fw-semibold); color: #A3141A; }
.field__error:empty { display: none; }
.field__error .icon { width: 18px; height: 18px; }
.field.is-invalid .input, .field.is-invalid .fl__input { border-color: #A3141A; border-width: 2px; }
.field.is-valid .input, .field.is-valid .fl__input { border-color: var(--gold-ink); }
/* forms on dark grounds */
.on-dark .field__label, .on-dark .fl__label, .section--black .fl__label, .section--burgundy .fl__label, .ftr .field__label { color: var(--on-dark); }
.on-dark .input, .on-dark .fl__input, .section--black .fl__input, .section--burgundy .fl__input, .ftr .input { background: var(--ground-raised); border-color: rgba(245, 240, 232, 0.28); color: var(--on-dark); }
.on-dark .input:focus, .on-dark .fl__input:focus, .ftr .input:focus { border-color: var(--gold); }
.on-dark select.fl__input, .section--black select.fl__input { background-color: var(--ground-raised); }
.on-dark .field__error, .section--black .field__error, .section--burgundy .field__error, .ftr .field__error { color: #FFB4B0; }
.on-dark .field__hint { color: var(--on-dark-body); }

/* checkbox / radio: 26px squares, gold check */
.check, .radio { display: flex; align-items: flex-start; gap: var(--sp-12); min-height: var(--tap); font-size: 1.0625rem; cursor: pointer; }
.check input, .radio input {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 2px 0 0;
  border: 1.5px solid var(--ink-body);
  border-radius: var(--radius);
  background: var(--warm-white);
  cursor: pointer;
  transition: background-color var(--dur-hover), border-color var(--dur-hover);
}
.radio input { border-radius: 50%; }
.check input::after { content: ""; width: 12px; height: 7px; border: 2.5px solid var(--cream); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); opacity: 0; transition: opacity 200ms var(--ease-out); }
.radio input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); opacity: 0; transition: opacity 200ms var(--ease-out); }
.check input:checked, .radio input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.radio input:checked::after { opacity: 1; }
.on-dark .check input, .on-dark .radio input { background: transparent; border-color: rgba(245, 240, 232, 0.6); }
.on-dark .check input:checked, .on-dark .radio input:checked { background: var(--gold); border-color: var(--gold); }
.on-dark .check input::after { border-color: var(--ink); }
.form__status { padding: var(--sp-16) var(--sp-24); border-left: 3px solid var(--gold-ink); background: var(--warm-white); font-size: var(--t-card-body); }
.form__status.is-error { border-left-color: #A3141A; }
.form__status:empty { display: none; }

/* ---------- Modal (quick view and dialogs) ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--sp-24); visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(21, 17, 15, 0.72); opacity: 0; transition: opacity var(--dur-hover); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - var(--sp-48));
  overflow-y: auto;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink-body);
  transform: translateY(12px);
  clip-path: inset(50% -40px 50% -40px round var(--radius)); /* opens from its middle: opaque at every frame */
}
.modal.is-open .modal__dialog { transform: none; clip-path: inset(-40px -40px -40px -40px round var(--radius)); }
.modal__close { position: absolute; top: var(--sp-16); right: var(--sp-16); z-index: 2; display: grid; place-items: center; width: var(--tap); height: var(--tap); border: 1px solid var(--line-light-strong); border-radius: var(--radius); background: var(--warm-white); color: var(--ink); }
.modal__close:hover { border-color: var(--ink); }
.modal__content { padding: var(--sp-48); }
/* lang round: the „coming soon“ notice for DE / HU – dark panel, 1px gold frame, the logo on top, centred */
.modal--soon .modal__dialog { width: min(520px, 100%); border-color: rgba(212, 175, 94, 0.6); background: #15110F; color: var(--on-dark); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5); }
.modal--soon .modal__close { border-color: rgba(212, 175, 94, 0.6); background: transparent; color: var(--on-dark); }
.modal--soon .modal__close:hover, .modal--soon .modal__close:focus-visible { border-color: var(--gold); color: var(--gold); }
.soon { display: grid; justify-items: center; gap: var(--sp-16); text-align: center; }
.soon__logo { width: 120px; height: auto; margin-bottom: var(--sp-8); }
.soon__title { font-family: var(--font-serif); font-size: 2rem; font-weight: var(--fw-light); line-height: 1.15; color: var(--on-dark); }
.soon__text { max-width: 34ch; font-size: 1.125rem; line-height: 1.6; color: rgba(245, 240, 232, 0.9); }
.soon__actions { display: grid; justify-items: center; gap: var(--sp-8); width: 100%; margin-top: var(--sp-8); }
.soon__actions .btn { width: 100%; max-width: 22rem; }
.soon__close { min-height: var(--tap); padding: 0 var(--sp-16); color: var(--gold); font-size: 1.125rem; text-decoration: underline; text-underline-offset: 4px; }
.soon__close:hover, .soon__close:focus-visible { color: var(--on-dark); }
.qv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-48); align-items: center; }
.qv__media { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius); background: var(--plate); }
.qv__media img { width: 80%; height: 80%; object-fit: contain; }
/* quick view on the cream studio stage (premium 10, item 3): the pack stands on the floor line */
.qv__media.studio { place-items: end center; --floor-h: 24%; --shadow-w: 46%; }
.qv__media.studio > picture { display: block; width: 58%; margin-bottom: 17%; -webkit-box-reflect: below 0 linear-gradient(transparent 72%, rgba(255, 255, 255, 0.3)); }
.qv__media.studio > picture img { width: 100%; height: auto; }
.qv__media.studio canvas { position: absolute; inset: 0; }
.qv__body { display: grid; gap: var(--sp-16); align-content: start; }
.qv__title { font-size: var(--t-h3); }
.qv__packs { display: flex; flex-wrap: wrap; gap: var(--sp-8); }

/* ---------- Toast: cream on black, one at a time ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--fab-bottom) + var(--btn-h) + var(--sp-16) + var(--safe-b));
  z-index: calc(var(--z-modal) + 1);
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  width: max-content;
  max-width: min(560px, calc(100vw - var(--sp-32)));
  padding: var(--sp-16) var(--sp-24);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--ground-black);
  color: var(--on-dark);
  font-size: 1.0625rem;
  box-shadow: var(--shadow-float);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity var(--dur-hover), transform var(--dur-hover) var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
/* with the cart drawer open the toast moves to the top, clear of the drawer's buttons */
html.drawer-open .toast { bottom: auto; top: calc(var(--header-h) + var(--sp-16)); }
.toast__icon { display: grid; color: var(--gold); }
.toast__link { flex: none; min-height: 40px; display: inline-flex; align-items: center; color: var(--gold); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Assistant panel („Pitajte nas“) ---------- */
.asst {
  position: fixed;
  left: calc(var(--fab-bottom) + var(--safe-l));
  bottom: calc(var(--fab-bottom) + var(--btn-h) + var(--sp-16) + var(--safe-b));
  z-index: var(--z-asst);
  display: flex;
  flex-direction: column;
  width: min(440px, calc(100vw - var(--sp-32)));
  max-height: min(680px, calc(100vh - 140px));
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--ground-black);
  color: var(--on-dark-body);
  box-shadow: var(--shadow-float);
}
.asst__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-16); padding: var(--sp-24); border-bottom: 1px solid var(--line-dark-soft); }
.asst__name { font-family: var(--font-serif); font-size: 1.75rem; font-weight: var(--fw-regular); color: var(--on-dark); }
.asst__status { font-size: 0.9375rem; color: var(--on-dark-body); }
.asst__close { display: grid; place-items: center; width: var(--tap); height: var(--tap); border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--on-dark); }
.asst__log { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: var(--sp-12); padding: var(--sp-24); font-size: 1.0625rem; }
.msg { max-width: 90%; padding: var(--sp-12) var(--sp-16); border-radius: var(--radius); line-height: 1.55; }
.msg--bot { background: var(--ground-raised); color: var(--on-dark); border: 1px solid var(--line-dark-soft); }
.msg--user { justify-self: end; background: var(--gold); color: var(--ink); }
.msg a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.msg--user a { color: var(--ink); }
.msg--typing { display: inline-flex; gap: 4px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-dark-body); animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }
.asst__chips { display: flex; flex-wrap: wrap; gap: var(--sp-8); padding: 0 var(--sp-24) var(--sp-16); }
.asst__chips .chip { min-height: var(--tap); }
.asst__form { display: grid; gap: var(--sp-8); padding: var(--sp-16) var(--sp-24); border-top: 1px solid var(--line-dark-soft); }
.asst__form .field__label { color: var(--on-dark); font-size: 0.9375rem; }
.asst__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-8); }
.asst__row .input { background: var(--ground-raised); border-color: rgba(245, 240, 232, 0.28); color: var(--on-dark); }
.asst__send { padding: 0 var(--sp-16); }
.asst__note { padding: 0 var(--sp-24) var(--sp-16); font-size: 0.875rem; color: var(--on-dark-body); }

/* ---------- Empty / success states ---------- */
.empty { display: grid; justify-items: center; gap: var(--sp-16); padding: var(--sp-64) var(--sp-24); border: 1px dashed var(--line-light-strong); border-radius: var(--radius); text-align: center; }
.empty__icon { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--gold-ink); border-radius: 50%; color: var(--gold-ink); }
.empty__icon .icon { width: 30px; height: 30px; }
.empty__emblem, .empty .emblem { width: 120px; height: 120px; color: var(--gold-ink); opacity: 1; }
:is(.on-dark, .section--black, .section--burgundy) .empty__emblem { color: var(--gold); }
.empty h2, .empty h3 { font-size: var(--t-h3); }
.success { display: grid; justify-items: center; gap: var(--sp-16); text-align: center; }
.success__mark { display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.success__mark .icon { width: 36px; height: 36px; }
svg.success__mark { border: 0; border-radius: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.success__title { font-size: var(--t-h2); }


/* ---------- Images: hold their box while loading, fade in once decoded ---------- */
.pcard__plate img, .rcard__media img, .pmq__plate img, .ncard__media img { opacity: 0; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.pcard__plate img.is-loaded, .rcard__media img.is-loaded, .pmq__plate img.is-loaded, .ncard__media img.is-loaded,
.no-js .pcard__plate img, .no-js .rcard__media img { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .numcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numcols--3 { grid-template-columns: minmax(0, 1fr); }
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctaband { grid-template-columns: minmax(0, 1fr); gap: var(--sp-32); }
  .qv { grid-template-columns: minmax(0, 1fr); }
  .tlrow { grid-template-columns: 48px 120px minmax(0, 1fr); gap: var(--sp-24); }
}
@media (max-width: 640px) {
  .btn { padding: 0 var(--sp-24); white-space: normal; }
  .btn-row > .btn { flex: 1 1 100%; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .numcols { grid-template-columns: minmax(0, 1fr); }
  .tlrow { grid-template-columns: minmax(0, 1fr); gap: var(--sp-8); }
  .ccard { min-height: 280px; }
  .bcard { padding: var(--sp-32) var(--sp-24); }
  .bcard__name { font-size: 1.875rem; }
  .modal { padding: var(--sp-8); }
  .modal__content { padding: var(--sp-32) var(--sp-24); }
  .asst { left: var(--sp-8); right: var(--sp-8); width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard, .rcard, .ccard, .ecard, .ncard, .pmq__plate, .btn, .tgl, .toast, .modal__dialog, .seg__pill { transition: none !important; }
  .pcard:hover, .rcard:hover, .ccard:hover, .ecard:hover, .ncard:hover { transform: none; }
  .mcard--zoom img, .marquee__track { animation: none; }
}

/* ==========================================================================
   Premium 10 — shared components
   ========================================================================== */

/* ---------- Studio stage (item 3): an editorial product-photography set drawn only with gradients.
   Dark burgundy-black with a warm spotlight from the top left, a faint gold vignette, a reflective floor
   (::before) and a shallow contact shadow under the pack (::after). .studio--cream is the light variant.
   Tune per use with --floor-h (floor height from the bottom) and --shadow-w (shadow width). ---------- */
.studio {
  --floor-h: 30%;
  --shadow-w: 54%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(72% 62% at 14% 0%, rgba(255, 214, 160, 0.2) 0%, rgba(255, 214, 160, 0.07) 40%, transparent 72%),
    radial-gradient(135% 125% at 50% 42%, transparent 56%, rgba(212, 175, 94, 0.13) 100%),
    linear-gradient(180deg, #2B0C10 0%, #1F0D0E 58%, #140E0C 100%);
  color: var(--on-dark);
}
.studio::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: var(--floor-h);
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(245, 240, 232, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(245, 240, 232, 0.06) 0%, rgba(245, 240, 232, 0.02) 45%, rgba(0, 0, 0, 0.18) 100%);
  box-shadow: inset 0 1px 0 rgba(212, 175, 94, 0.18);
}
.studio::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(var(--floor-h) - 5%);
  z-index: -1;
  width: var(--shadow-w);
  height: 10%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.22) 55%, transparent);
}
.studio--cream {
  background:
    radial-gradient(72% 62% at 14% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.32) 42%, transparent 72%),
    radial-gradient(135% 125% at 50% 42%, transparent 58%, rgba(201, 162, 77, 0.17) 100%),
    linear-gradient(180deg, #F4EDE2 0%, #EDE4D6 60%, #E3D8C6 100%);
  color: var(--ink);
}
.studio--cream::before {
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 255, 255, 0.6), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(110, 80, 40, 0.07) 100%);
  box-shadow: inset 0 1px 0 rgba(101, 74, 18, 0.16);
}
.studio--cream::after { background: radial-gradient(closest-side, rgba(70, 48, 26, 0.34), rgba(70, 48, 26, 0.1) 55%, transparent); }
.studio > * { position: relative; z-index: 1; }
/* a faint mirror image of the pack in the floor (Chromium / Safari; others simply show no reflection) */
.studio__reflect { -webkit-box-reflect: below 0 linear-gradient(transparent 70%, rgba(255, 255, 255, 0.16)); }
.studio--cream .studio__reflect { -webkit-box-reflect: below 0 linear-gradient(transparent 72%, rgba(255, 255, 255, 0.32)); }

/* ---------- Signature band (item 2): one serif italic line between two gold hairlines and the year marks ---------- */
.sigband { background: var(--cream); border-block: 1px solid var(--line-light); }
.sigband__inner {
  display: grid;
  grid-template-columns: auto minmax(24px, 88px) minmax(0, max-content) minmax(24px, 88px) auto;
  align-items: center;
  justify-content: center;
  gap: var(--sp-24);
}
.sigband__line {
  max-width: 34ch;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: var(--fw-regular);
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
  text-wrap: balance;
}
.sigband__year {
  font-family: var(--font-sans);
  font-size: var(--t-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums lining-nums;
}
.sigband__rule { display: block; height: 1px; background: var(--gold); transform-origin: right; }
.sigband__rule--r { transform-origin: left; }
@media (max-width: 760px) {
  .sigband__inner { grid-template-columns: auto minmax(24px, 1fr) auto; row-gap: var(--sp-16); }
  .sigband__line { grid-column: 1 / -1; grid-row: 1; justify-self: center; font-size: 1.625rem; }
  .sigband__rule--r { display: none; }
}

/* ---------- Trust strips (item 9): retail wordmarks drifting slowly (desktop, 60s), certificates with years ---------- */
.trust { background: var(--cream); }
/* until main.js fills it, the band keeps the height it will have, so nothing below it moves (CLS) */
.trust[data-trust]:empty { min-height: 299px; }
@media (max-width: 1279px) { .trust[data-trust]:empty { min-height: 320px; } }
@media (max-width: 1024px) { .trust[data-trust]:empty { min-height: 468px; } }
@media (max-width: 600px) { .trust[data-trust]:empty { min-height: 533px; } }
@media (max-width: 380px) { .trust[data-trust]:empty { min-height: 624px; } }
.trust__strip { display: flex; align-items: center; gap: var(--sp-32); padding-block: var(--sp-24); border-block: 1px solid var(--gold); }
.trust__strip + .trust__strip { border-top: 0; }
.trust__label { flex: none; max-width: 11rem; margin: 0; }
.trust__viewport { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.trust__track { display: flex; width: max-content; animation: trust-drift var(--dur-marquee) linear infinite; }
.trust__list { display: flex; align-items: center; gap: var(--sp-64); padding-right: var(--sp-64); }
.trust__mark { font-variant-numeric: lining-nums; font-family: var(--font-serif); font-size: 1.625rem; font-weight: var(--fw-regular); line-height: 1.2; color: var(--ink); white-space: nowrap; }
.trust__strip:hover .trust__track, .trust__strip:focus-within .trust__track, .trust__strip.is-paused .trust__track { animation-play-state: paused; }
.trust__pause { flex: none; display: grid; place-items: center; width: var(--tap); height: var(--tap); border: 1px solid var(--ink); border-radius: var(--radius); color: var(--ink); }
.trust__pause:hover { background: var(--ink); color: var(--cream); }
.trust__pause .icon { width: 20px; height: 20px; }
@keyframes trust-drift { to { transform: translate3d(-50%, 0, 0); } }
.trust__certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-24); flex: 1; }
.trust__cert { display: flex; align-items: center; gap: var(--sp-16); }
.trust__cert-code { display: block; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.1; color: var(--ink); font-variant-numeric: lining-nums; }
.trust__cert-year { display: block; font-size: var(--t-eyebrow); font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold-ink); font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  .trust__track { width: auto; animation: none; }
  .trust__list[aria-hidden="true"], .trust__mark--rep, .trust__pause { display: none; }
  .trust__viewport { -webkit-mask-image: none; mask-image: none; }
  .trust__list { flex-wrap: wrap; justify-content: center; gap: var(--sp-12) var(--sp-48); padding-right: 0; }
}
@media (max-width: 1024px) {
  .trust__strip { flex-direction: column; align-items: stretch; text-align: center; }
  .trust__label { max-width: none; align-self: center; }
  .trust__certs { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
}

/* ---------- Recipe card, magazine (item 5): 4:5 stage, 28px serif title, 15px uppercase meta row, gold hairline ---------- */
.rcard { overflow: hidden; background: var(--warm-white); }
.rcard__media { aspect-ratio: 4 / 5; place-items: end center; margin: 0; border-radius: 0; --floor-h: 26%; --shadow-w: 46%; }
.rcard__media picture { display: block; width: 46%; margin-bottom: 17%; }
.rcard__media picture img, .rcard__media > img:not(.rcard__photo) { width: 100%; height: auto; object-fit: contain; }
.rcard__body { gap: var(--sp-16); padding: var(--sp-24) var(--sp-24) var(--sp-32); }
.rcard__title { font-size: 1.75rem; font-weight: var(--fw-light); line-height: 1.15; }
.rcard__rule { display: block; width: 40px; height: 1px; background: var(--gold); transition: width var(--dur-hover) var(--ease-out); }
.rcard:hover .rcard__rule, .rcard:focus-within .rcard__rule { width: 72px; }
.rcard__meta { gap: var(--sp-4) var(--sp-12); font-size: var(--t-eyebrow); font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); line-height: 1.5; text-transform: uppercase; color: var(--ink-body); }
.rcard__meta span + span::before { content: none; }
.rcard__meta span:not(:last-child)::after { content: "·"; margin-left: var(--sp-12); color: var(--gold-ink); }
.rcard__tag { display: none; }

/* ---------- Hairline specification table (items 4, 10): gold 10px labels, 18px tabular figures,
   a gold hairline on the hovered row; below 700px each row becomes a stacked card (td[data-label]) ---------- */
.htable { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-light-strong); font-size: 1.125rem; }
.htable th, .htable td { padding: var(--sp-16) var(--sp-16) var(--sp-16) 0; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: middle; }
.htable thead th, .htable .htable__label {
  font-size: var(--t-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--gold-ink);
  white-space: nowrap;
}
.htable td { color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.htable tbody tr { transition: box-shadow var(--dur-hover); }
.htable tbody tr:hover, .htable tbody tr:focus-within { box-shadow: inset 0 -1px 0 var(--gold); }
@media (max-width: 700px) { .htable tbody tr.is-current:hover { box-shadow: inset 2px 0 0 var(--gold), inset 0 -1px 0 var(--gold); } }
:is(.on-dark, .section--black, .section--burgundy) .htable { border-top-color: var(--line-dark); }
:is(.on-dark, .section--black, .section--burgundy) .htable :is(th, td) { border-bottom-color: var(--line-dark-soft); }
:is(.on-dark, .section--black, .section--burgundy) .htable :is(thead th, .htable__label) { color: var(--gold); }
:is(.on-dark, .section--black, .section--burgundy) .htable td { color: var(--on-dark); }
@media (max-width: 700px) {
  .htable, .htable tbody, .htable tr, .htable td { display: block; }
  .htable { border-top: 0; }
  .htable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .htable tbody { display: grid; gap: var(--sp-12); }
  .htable tbody tr { padding: var(--sp-8) var(--sp-16); border: 1px solid var(--line-light); border-radius: var(--radius); }
  .htable td { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: var(--sp-12); align-items: baseline; padding: var(--sp-12) 0; }
  .htable td:last-child { border-bottom: 0; }
  .htable td[data-label]::before { content: attr(data-label); font-size: var(--t-label); font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--gold-ink); }
  :is(.on-dark, .section--black, .section--burgundy) .htable tbody tr { border-color: var(--line-dark-soft); }
  :is(.on-dark, .section--black, .section--burgundy) .htable td[data-label]::before { color: var(--gold); }
}

/* ---------- Business card rows (item 10): phone and e-mail as large tappable rows ---------- */
.bcard::after { content: none; }
.bcard__lines { gap: 0; }
.bcard__lines a, .bcard__row {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  min-height: var(--btn-h);
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--line-dark-soft);
  font-size: 1.25rem;
  color: var(--on-dark);
  overflow-wrap: anywhere;
}
.bcard__lines a:last-child { border-bottom: 0; }
.bcard__lines .icon { flex: none; width: 24px; height: 24px; }
.bcard--cream { background: var(--warm-white); border: 1px solid var(--line-light); color: var(--ink-body); }
.bcard--cream .bcard__dept { color: var(--gold-ink); }
.bcard--cream .bcard__name { color: var(--ink); border-bottom-color: var(--line-light); }
.bcard--cream :is(.bcard__lines a, .bcard__row) { color: var(--ink); border-bottom-color: var(--line-light); }
.bcard--cream .bcard__lines a:hover { color: var(--gold-ink); }
.bcard--cream .bcard__lines .icon { color: var(--gold-ink); }

/* ---------- Hairlines that draw from the left (item 7; animations.css draws them) ---------- */
.hairline { display: block; height: 1px; background: currentColor; opacity: 0.35; transform-origin: left; }
