/* ==========================================================================
   IMSHA PERFUMES — styles.css
   Design system adapted from adilqadri.com (reference/site-analysis.md)
   BEM naming throughout — every JS selector in js/*.js must exist here.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Colors — "Noir & Or" from the brand mark: black + amber gold */
  --bg: #0A0908;             /* near-black page ground (tinted, not pure) */
  --bg-alt: #14110C;         /* raised black for alternating sections */
  --surface: #171410;        /* card surface */
  --text: #F2EAD8;           /* warm ivory */
  --text-soft: #A89C86;      /* muted ivory — 5.9:1 on --bg */
  --maroon: #B27309;         /* primary action: brand amber (name kept for compat) */
  --burgundy: #E0A62E;       /* bright gold — nav links, links, prices (7:1 on bg) */
  --burgundy-deep: #8C5C07;  /* pressed/darker amber */
  --gold: #B27309;           /* brand amber */
  --gold-bright: #D98E1F;    /* bright amber for text accents on dark (7:1) */
  --gold-soft: #FBEDA0;      /* pale gold — logo artwork tone */
  --star: #F6A429;
  --border: #2A251D;
  --success: #58B98C;
  --error: #E06052;

  /* Type */
  --font-head: 'Arsenal', 'Georgia', serif;
  --font-body: 'Urbanist', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --container: 1600px;
  --gutter: 24px;
  --radius-btn: 6px;
  --radius-block: 16px;
  --header-h: 72px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.65);
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
}

@media (min-width: 1000px) {
  :root { --gutter: 40px; --header-h: 84px; }
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--gold-soft); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text);
}

p { margin: 0 0 1em; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.section { padding-block: clamp(48px, 8vw, 96px); }
.section--alt { background: var(--bg-alt); }

.section__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.section__title { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: 0.5px; }
.section__title::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section__sub {
  max-width: 640px;
  margin: 12px auto 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  border: 2px solid transparent;
}
.btn--primary { background: var(--maroon); color: #000; }
.btn--primary:hover { background: var(--gold-bright); color: #000; box-shadow: var(--shadow-md); }
.btn--secondary { background: var(--burgundy); color: #000; }
.btn--secondary:hover { background: var(--gold-soft); color: #000; }
.btn--gold {
  background: linear-gradient(45deg, #8C5C07, var(--gold-soft), #8C5C07);
  color: #000;
}
.btn--gold:hover { filter: brightness(1.08); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--burgundy); color: var(--burgundy); background: transparent; }
.btn--outline:hover { background: var(--burgundy); color: #000; }
.btn--ghost-light { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: var(--gold-soft); color: #000; }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 18px; font-size: 0.8rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Star rating (was completely missing in the old build) */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--star);
  font-size: 0.95rem;
  line-height: 1;
}
.stars__count { color: var(--text-soft); font-size: 0.82rem; margin-left: 6px; }

/* Price display */
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__sale { font-weight: 700; font-size: 1.1rem; color: var(--burgundy); }
.price__mrp { color: var(--text-soft); text-decoration: line-through; font-size: 0.9rem; }
.price__off {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(88, 185, 140, 0.14);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- 4. Announcement bar ---------- */
.announce {
  background: #000;
  border-bottom: 1px solid rgba(178, 115, 9, 0.35);
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-inline: var(--gutter);
}
.announce__msg {
  margin: 0;
  white-space: nowrap;
  animation: announceIn 0.45s var(--ease);
}
@keyframes announceIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 5. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid rgba(178, 115, 9, 0.45);
  transition: box-shadow 0.3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
}

.header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 52px; width: auto; transition: height 0.3s var(--ease); }
.header.is-scrolled .header__logo img { height: 44px; }

.header__nav { display: none; margin-left: auto; }
.header__nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.header__nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--burgundy);
  position: relative;
  padding-block: 6px;
}
.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.header__nav-link:hover::after,
.header__nav-link.is-active::after { width: 100%; }
.header__nav-link.is-active { color: var(--gold-soft); }

.header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header__nav + .header__actions { margin-left: 0; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: var(--burgundy);
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--bg-alt); color: var(--gold-soft); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-count {
  position: absolute;
  top: 2px; right: 0;
  min-width: 18px; height: 18px;
  padding-inline: 4px;
  border-radius: 9px;
  background: var(--gold-bright);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-count.is-zero { display: none; }

.header__burger { display: inline-flex; }
@media (min-width: 1000px) {
  .header__nav { display: block; }
  .header__burger { display: none; }
}

/* ---------- 6. Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }

.mobile-menu__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(88vw, 380px);
  background: var(--surface);
  padding: 24px;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }

.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-menu__close { margin-left: auto; }
.mobile-menu__logo img { height: 44px; }

.mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--burgundy);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__link:hover { color: var(--gold-soft); }
.mobile-menu__link svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); }

.mobile-menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }

/* ---------- 7. Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
  display: flex;
  justify-content: center;
  padding: 12vh var(--gutter) var(--gutter);
}
.search-overlay.is-open { visibility: visible; opacity: 1; }

.search-panel {
  width: 100%;
  max-width: 720px;
  height: fit-content;
  background: var(--surface);
  border-radius: var(--radius-block);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-16px);
  transition: transform 0.3s var(--ease);
}
.search-overlay.is-open .search-panel { transform: none; }

.search-panel__bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 20px; border-bottom: 1px solid var(--border); }
.search-panel__icon { color: var(--text-soft); display: inline-flex; }
.search-panel__icon svg { width: 18px; height: 18px; }
.search-panel__input {
  flex: 1;
  border: 0;
  padding: 14px 0;
  font-size: 1.1rem;
  background: transparent;
  outline: none;
}
.search-panel__input::placeholder { color: var(--text-soft); }

.search-panel__results { max-height: 52vh; overflow-y: auto; }
.search-panel__hint { padding: 28px 20px; color: var(--text-soft); text-align: center; margin: 0; font-size: 0.95rem; }

.search-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--bg-alt);
  transition: background 0.15s;
}
.search-result:last-child { border-bottom: 0; }
.search-result:hover { background: var(--bg); }
.search-result img { width: 56px; height: 70px; object-fit: contain; border-radius: 6px; background: var(--bg-alt); }
.search-result__title { font-weight: 600; }
.search-result__cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-soft); }
.search-result__price { margin-left: auto; font-weight: 700; color: var(--burgundy); white-space: nowrap; }

/* ---------- 8. Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 350;
  visibility: hidden;
  pointer-events: none;
}
.cart-drawer.is-open { visibility: visible; pointer-events: auto; }

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }

.cart-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(94vw, 440px);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.cart-drawer.is-open .cart-drawer__panel { transform: none; }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer__title { font-family: var(--font-head); font-size: 1.3rem; margin: 0; }

.ship-meter { padding: 14px 22px; background: var(--bg); border-bottom: 1px solid var(--border); }
.ship-meter__label { font-size: 0.85rem; margin: 0 0 8px; }
.ship-meter__label strong { color: var(--gold-soft); }
.ship-meter__track { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.ship-meter__fill { height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transition: width 0.4s var(--ease); }
.ship-meter__fill.is-full { background: var(--success); }

.cart-drawer__items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-drawer__empty { text-align: center; padding: 48px 12px; color: var(--text-soft); }
.cart-drawer__empty svg { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--gold); }

.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--bg-alt); }
.cart-item__img {
  width: 72px; height: 90px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__title { font-weight: 600; font-size: 0.95rem; margin: 0 0 2px; }
.cart-item__variant { font-size: 0.8rem; color: var(--text-soft); margin: 0 0 8px; }
.cart-item__price { font-weight: 700; color: var(--burgundy); font-size: 0.95rem; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  overflow: hidden;
}
.qty__btn { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--burgundy); }
.qty__btn:hover { background: var(--bg-alt); }
.qty__val { width: 36px; text-align: center; font-weight: 600; font-size: 0.9rem; }

.cart-item__remove { font-size: 0.78rem; color: var(--text-soft); text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; }
.cart-item__remove:hover { color: var(--error); }

.cart-drawer__offer { margin: 12px 0 0; padding: 10px 14px; border-radius: 8px; background: rgba(178, 115, 9, 0.16); border: 1px dashed var(--gold); font-size: 0.85rem; }

.cart-drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--border); background: var(--surface); }

.coupon { margin-bottom: 14px; }
.coupon__row { display: flex; gap: 8px; }
.coupon__input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}
.coupon__input:focus { border-color: var(--gold); outline: none; }
.coupon__msg { font-size: 0.8rem; margin: 8px 0 0; }
.coupon__msg.is-ok { color: var(--success); }
.coupon__msg.is-bad { color: var(--error); }

.cart-drawer__summary { margin-bottom: 14px; }
.cart-drawer__row { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 6px; }
.cart-drawer__row--total { font-size: 1.05rem; font-weight: 700; color: var(--gold-soft); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 8px; }
.cart-drawer__savings { color: var(--success); font-weight: 600; }

/* ---------- 9. Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__viewport { position: relative; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hero__slide img { width: 100%; height: clamp(420px, 72vh, 760px); object-fit: cover; }
/* cinematic slow zoom while a slide is active */
.hero__slide img { transform: scale(1); }
.hero__slide.is-active img { animation: kenburns 7s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* page-load transition */
main { animation: pageIn 0.5s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.65) 100%);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: var(--gutter);
}
.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(34px, 6.5vw, 58px);
  color: #fff;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero__text { max-width: 52ch; font-size: 1.05rem; color: rgba(255,255,255,0.92); }
.hero__cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(251, 237, 160, 0.92);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s, transform 0.2s;
}
.hero__arrow:hover { background: #fff; }
.hero__arrow--prev { left: 14px; }
.hero__arrow--next { right: 14px; }
.hero__arrow svg { width: 20px; height: 20px; }

.hero__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.25s;
}
.hero__dot.is-active { background: #fff; transform: scale(1.25); }

/* ---------- 10. Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}
@media (min-width: 740px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-tile {
  position: relative;
  border-radius: var(--radius-block);
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.82));
}
.cat-tile__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cat-tile__name { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 0; }
.cat-tile__sub { font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft); display: block; margin-bottom: 4px; }
.cat-tile__arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.cat-tile:hover .cat-tile__arrow { background: var(--gold-bright); border-color: var(--gold-bright); color: #000; }
.cat-tile__arrow svg { width: 18px; height: 18px; }

/* ---------- 11. Product card & carousels ---------- */
.prod-carousel { position: relative; }
.prod-carousel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.prod-carousel__head .section__title { margin-bottom: 0; text-align: left; }
.prod-carousel__head .section__title::after { margin-inline: 0; }
.prod-carousel__nav { display: flex; gap: 10px; }
.prod-carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.prod-carousel__btn:hover { background: var(--burgundy); color: #000; border-color: var(--burgundy); }
.prod-carousel__btn svg { width: 18px; height: 18px; }

.prod-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.prod-track::-webkit-scrollbar { display: none; }
.prod-track > * { scroll-snap-align: start; }

/* Static grid (collection page) */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(var(--gutter) * 0.75);
}
@media (min-width: 740px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-block);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.pcard__media {
  position: relative;
  display: block;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: opacity 0.4s var(--ease); }
.pcard__img--hover { opacity: 0; }
.pcard:hover .pcard__img--main { opacity: 0; }
.pcard:hover .pcard__img--hover { opacity: 1; }

.pcard__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--maroon);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}
.pcard__badge--sale { background: var(--error); color: #fff; }
.pcard__badge--new { background: var(--success); color: #fff; }
.pcard__off {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: rgba(88,185,140,0.15);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

.pcard__quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.pcard:hover .pcard__quick,
.pcard:focus-within .pcard__quick { opacity: 1; transform: none; }
@media (hover: none) { .pcard__quick { opacity: 1; transform: none; } }

.pcard__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); }
.pcard__title { font-size: 1rem; font-weight: 600; margin: 0; }
.pcard__title a { color: var(--text); }
.pcard__title a:hover { color: var(--burgundy); }
.pcard__rating { font-size: 0.85rem; }
.pcard__price-row { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard__price { font-weight: 700; color: var(--burgundy); }
.pcard__mrp { color: var(--text-soft); text-decoration: line-through; font-size: 0.85rem; }

/* ---------- 12. Brand story ---------- */
.story { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .story { grid-template-columns: 1.05fr 1fr; } }

.story__media { position: relative; }
.story__media img { border-radius: var(--radius-block); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.story__media--inset { position: absolute; right: -8px; bottom: -28px; width: 44%; border: 6px solid var(--bg); border-radius: var(--radius-block); box-shadow: var(--shadow-md); }
@media (max-width: 999px) { .story__media--inset { display: none; } }

.story__eyebrow { font-size: 0.85rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.story__title { font-size: clamp(28px, 4vw, 42px); }
.story__text { color: var(--text-soft); font-size: 1.05rem; }

.story__points { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 620px) { .story__points { grid-template-columns: 1fr 1fr; } }
.story__point { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.story__point svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.story__point strong { display: block; }
.story__point span { color: var(--text-soft); font-size: 0.88rem; }

/* ---------- 13. Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}
@media (min-width: 740px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

.testi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-block);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testi__stars { color: var(--star); letter-spacing: 2px; }
.testi__quote { font-style: italic; color: var(--text-soft); margin: 0; flex: 1; }
.testi__who { display: flex; align-items: center; gap: 12px; }
.testi__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
}
.testi__name { font-weight: 700; margin: 0; }
.testi__meta { font-size: 0.8rem; color: var(--text-soft); margin: 0; }

/* ---------- 14. Offers banner ---------- */
.offer-banner {
  position: relative;
  border-radius: var(--radius-block);
  overflow: hidden;
  color: #fff;
  min-height: 380px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.offer-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.2));
}
.offer-banner__body { position: relative; z-index: 2; padding: clamp(28px, 6vw, 72px); max-width: 640px; }
.offer-banner__title { color: #fff; font-size: clamp(28px, 4.6vw, 46px); }
.offer-banner__text { color: rgba(255,255,255,0.9); }
.offer-banner__code {
  display: inline-block;
  margin: 6px 0 20px;
  padding: 8px 18px;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-btn);
  color: var(--gold-soft);
  letter-spacing: 3px;
  font-weight: 700;
}

/* ---------- 15. Newsletter ---------- */
.newsletter { text-align: center; max-width: 640px; margin-inline: auto; }
.newsletter__form { display: flex; gap: 10px; margin-top: 22px; }
.newsletter__input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
}
.newsletter__input:focus { border-color: var(--gold); outline: none; }
@media (max-width: 620px) {
  .newsletter__form { flex-direction: column; }
}

/* ---------- 16. Footer ---------- */
.footer { background: #000; color: #F2EAD8; margin-top: var(--section-gap, 0); }
.footer__top { padding: clamp(44px, 6vw, 72px) 0 36px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 740px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }
.footer__col--brand { grid-column: 1 / -1; }
@media (min-width: 740px) { .footer__col--brand { grid-column: auto; } }

.footer__logo img { height: 76px; width: auto; margin-bottom: 16px; }
.footer__tagline { color: rgba(255,255,255,0.75); font-size: 0.95rem; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer__social a:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: #000; }
.footer__social svg { width: 18px; height: 18px; }

.footer__heading { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; color: var(--gold-soft); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__links a { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.footer__links a:hover { color: var(--gold-soft); }

.footer__contact { display: grid; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.8); }
.footer__contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact-item svg { width: 18px; height: 18px; color: var(--gold-bright); flex-shrink: 0; margin-top: 3px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.footer__pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer__pay span {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.72rem;
  letter-spacing: 1px;
}

/* ---------- 17. Page hero (inner pages) ---------- */
.page-hero {
  background: #000;
  border-bottom: 1px solid rgba(178, 115, 9, 0.35);
  color: #fff;
  text-align: center;
  padding: clamp(44px, 7vw, 80px) var(--gutter);
}
.page-hero__title { color: #fff; font-size: clamp(30px, 5vw, 50px); margin-bottom: 8px; }
.page-hero__crumb { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.page-hero__crumb a { color: var(--gold-soft); }

/* ---------- 18. Collection page ---------- */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.toolbar__count { color: var(--text-soft); font-size: 0.92rem; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: all 0.2s;
}
.pill:hover { border-color: var(--burgundy); color: var(--burgundy); }
.pill.is-active { background: var(--burgundy); border-color: var(--burgundy); color: #000; }

.sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.sort__select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  font-weight: 600;
}

.empty-state { text-align: center; padding: 64px var(--gutter); color: var(--text-soft); }

/* ---------- 19. Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.pdp > * { min-width: 0; }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.05fr 1fr; align-items: start; } }

.gallery__main {
  position: relative;
  border-radius: var(--radius-block);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
}
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; opacity: 0; transition: opacity 0.35s; }
.gallery__img.is-active { opacity: 1; }
.gallery__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--maroon);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 2;
}
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumb {
  width: 76px; height: 92px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 0;
  flex-shrink: 0;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-active { border-color: var(--gold); }

.pdp__cat { font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-soft); }
.pdp__title { font-size: clamp(28px, 4vw, 44px); margin: 6px 0 10px; }
.pdp__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.pdp__rating-count { color: var(--text-soft); font-size: 0.9rem; }

.pdp__price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.pdp__price { font-size: 1.9rem; font-weight: 700; color: var(--burgundy); }
.pdp__mrp { color: var(--text-soft); text-decoration: line-through; font-size: 1.1rem; }
.pdp__off { color: var(--success); font-weight: 700; }
.pdp__tax { font-size: 0.8rem; color: var(--text-soft); margin-bottom: 18px; }

.opt-label { font-weight: 700; font-size: 0.9rem; margin: 0 0 8px; }
.opt-label span { color: var(--text-soft); font-weight: 500; }
.size-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.size-pill {
  min-width: 64px;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  transition: all 0.2s;
}
.size-pill:hover { border-color: var(--burgundy); }
.size-pill.is-active { background: var(--burgundy); border-color: var(--burgundy); color: #000; }

.pdp__buy-row { display: flex; gap: 12px; margin: 6px 0 14px; flex-wrap: wrap; }
.pdp__buy-row .btn { flex: 1; min-width: 180px; }

.pdp__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 6px; }
@media (max-width: 480px) { .pdp__trust { grid-template-columns: 1fr; } }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface);
}
.trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.pdp__stock { font-size: 0.85rem; font-weight: 600; color: var(--success); margin-bottom: 14px; }

/* Tabs */
.tabs { margin-top: clamp(28px, 4vw, 48px); }
.tabs__list { display: flex; gap: 4px; border-bottom: 2px solid var(--border); overflow-x: auto; }
.tabs__tab {
  padding: 12px 22px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}
.tabs__tab:hover { color: var(--burgundy); }
.tabs__tab.is-active { color: var(--gold-soft); border-bottom-color: var(--gold); }

.tabs__panel { display: none; padding: 24px 4px; }
.tabs__panel.is-active { display: block; }

.notes-grid { display: grid; gap: 16px; margin: 0; }
@media (min-width: 620px) { .notes-grid { grid-template-columns: repeat(3, 1fr); } }
.note-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.note-card h4 { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft); margin: 0 0 8px; }
.note-card p { margin: 0; font-family: var(--font-head); font-size: 1.05rem; }

/* Sticky mobile ATC */
.sticky-atc {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.sticky-atc.is-visible { transform: none; }
@media (min-width: 1000px) { .sticky-atc { display: none; } }
.sticky-atc__img { width: 44px; height: 56px; object-fit: contain; border-radius: 6px; background: var(--bg-alt); }
.sticky-atc__info { flex: 1; min-width: 0; }
.sticky-atc__title { font-weight: 700; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.sticky-atc__price { font-weight: 700; color: var(--burgundy); font-size: 0.9rem; }

/* ---------- 20. Checkout ---------- */
.checkout-layout { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 1000px) { .checkout-layout { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-block);
  padding: clamp(20px, 3vw, 32px);
}
.card__title { font-size: 1.25rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.card__title-step {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.form-grid { display: grid; gap: 16px; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; }
.field__label { font-weight: 600; font-size: 0.88rem; }
.field__label .req { color: var(--error); }
.field__input, .field__select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  width: 100%;
}
.field__input:focus, .field__select:focus { border-color: var(--gold); outline: none; }
.field__error { color: var(--error); font-size: 0.78rem; display: none; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .field__input { border-color: var(--error); }

.pay-methods { display: grid; gap: 10px; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  cursor: pointer;
  background: var(--surface);
  transition: all 0.2s;
}
.pay-method:hover { border-color: var(--burgundy); }
.pay-method.is-active { border-color: var(--gold); background: rgba(178,115,9,0.1); box-shadow: 0 0 0 1px var(--gold); }
.pay-method__radio {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
}
.pay-method.is-active .pay-method__radio { border-color: var(--gold); }
.pay-method.is-active .pay-method__radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.pay-method__name { font-weight: 700; }
.pay-method__desc { font-size: 0.8rem; color: var(--text-soft); }
.pay-method__logo { margin-left: auto; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; color: var(--text-soft); border: 1px solid var(--border); border-radius: 4px; padding: 3px 8px; white-space: nowrap; }

.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; margin-bottom: 8px; }
.summary-line--muted { color: var(--text-soft); }
.summary-line--save { color: var(--success); font-weight: 600; }
.summary-line--total {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.8rem; color: var(--text-soft); margin-top: 14px; }
.secure-note svg { width: 16px; height: 16px; color: var(--success); }

.demo-strip {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(178,115,9,0.14);
  border: 1px dashed var(--gold);
  font-size: 0.82rem;
  color: var(--text-soft);
  text-align: center;
}

/* Order success */
.success-wrap { max-width: 720px; margin-inline: auto; text-align: center; }
.success-check {
  width: 88px; height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(88,185,140,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  animation: popIn 0.5s var(--ease);
}
.success-check svg { width: 44px; height: 44px; }
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-order-no { font-family: var(--font-head); font-size: 1.3rem; color: var(--burgundy); margin: 8px 0 2px; }

/* ---------- 21. Contact page ---------- */
.contact-layout { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1fr 1.1fr; } }

.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-card { display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.contact-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.contact-card p { margin: 0; color: var(--text-soft); font-size: 0.95rem; }

/* ---------- 22. Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--maroon);
  color: #000;
  padding: 13px 26px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0;
  visibility: hidden;
  z-index: 500;
  transition: all 0.3s var(--ease);
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 23. About page ---------- */
.about-media-grid { display: grid; gap: var(--gutter); }
@media (min-width: 740px) { .about-media-grid { grid-template-columns: 1fr 1fr; } }
.about-media-grid img { width: 100%; border-radius: var(--radius-block); object-fit: cover; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.about-media-grid img--tall { aspect-ratio: 4/5; }

.value-grid { display: grid; grid-template-columns: 1fr; gap: var(--gutter); }
@media (min-width: 620px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-block); padding: 28px; text-align: center; }
.value-card__icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-card__icon svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { color: var(--text-soft); font-size: 0.92rem; margin: 0; }

/* ---------- 24. Signature ornament (from the IMSHA bottle lattice) ---------- */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gold);
  margin: 0 auto;
}
.ornament::before, .ornament::after {
  content: "";
  height: 1px;
  width: clamp(48px, 8vw, 90px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament svg { width: 15px; height: 15px; }
.section__title + .ornament { margin-top: 12px; }
.section__title::after { display: none; }
.section__head .ornament { margin-bottom: 6px; }

/* ---------- 25. Cookie consent ---------- */
.cookie {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 20px;
  z-index: 450;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-block);
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  transform: translateY(140%);
  transition: transform 0.45s var(--ease);
}
.cookie.is-visible { transform: none; }
.cookie__title { font-size: 1.05rem; margin-bottom: 6px; }
.cookie__text { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 14px; }
.cookie__text a { text-decoration: underline; }
.cookie__row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__row .btn { flex: 1; min-width: 120px; }

/* ---------- 26. Shoppable videos ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }

.video-card {
  position: relative;
  border-radius: var(--radius-block);
  overflow: hidden;
  aspect-ratio: 9 / 14;
  background: #000;
  display: block;
}
.video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(251, 237, 160, 0.92);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease);
  pointer-events: none;
}
.video-card.is-playing .video-card__play { opacity: 0; }
.video-card:hover .video-card__play { transform: translate(-50%,-50%) scale(1.1); }
.video-card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card__tag {
  position: absolute;
  left: 12px; bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.72);
  border-radius: 10px;
  padding: 8px 10px;
  color: #fff;
  backdrop-filter: blur(3px);
}
.video-card__tag img { width: 34px; height: 42px; object-fit: contain; border-radius: 4px; background: #fff; }
.video-card__name { font-size: 0.78rem; font-weight: 600; line-height: 1.3; }
.video-card__shop {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--gold-bright);
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- 27. Collections index ---------- */
.coll-grid { display: grid; grid-template-columns: 1fr; gap: var(--gutter); }
@media (min-width: 740px) { .coll-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .coll-grid { grid-template-columns: repeat(3, 1fr); } }

.coll-card { position: relative; display: block; border-radius: var(--radius-block); overflow: hidden; aspect-ratio: 4/3; }
.coll-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.coll-card:hover img { transform: scale(1.06); }
.coll-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.78)); }
.coll-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; z-index: 2; }
.coll-card__name { font-family: var(--font-head); font-size: 1.5rem; margin: 0 0 4px; }
.coll-card__count { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- 28. Product image zoom ---------- */
.zoom-frame { position: relative; overflow: hidden; cursor: zoom-in; }
.zoom-frame.is-zoomed { cursor: zoom-out; }
.zoom-frame__img { transition: transform 0.25s var(--ease); transform-origin: center; }
.zoom-frame.is-zoomed .zoom-frame__img { transform: scale(1.9); transition: transform 0.15s linear; }
.zoom-hint {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 3;
  background: rgba(0,0,0,0.68);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.zoom-hint svg { width: 13px; height: 13px; }

/* ---------- 29. Account page ---------- */
.auth-card { max-width: 460px; margin-inline: auto; }
.auth-tabs { display: flex; border: 1px solid var(--border); border-radius: var(--radius-btn); overflow: hidden; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.82rem; color: var(--text-soft); background: var(--surface); }
.auth-tab.is-active { background: var(--burgundy); color: #000; }

.account-box { max-width: 640px; margin-inline: auto; }
.account-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--bg-alt); font-size: 0.92rem; }
.account-row strong { color: var(--burgundy); }
.account-empty { text-align: center; color: var(--text-soft); padding: 24px 0; }

/* ---------- 30. Policy pages ---------- */
.policy { max-width: 780px; margin-inline: auto; }
.policy h2 { font-size: 1.35rem; margin-top: 1.8em; }
.policy p, .policy li { color: var(--text-soft); }
.policy__updated { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 24px; }

/* ---------- 31. Tier offer notice ---------- */
.tier-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(88,185,140,0.12);
  border: 1px solid rgba(88,185,140,0.4);
  font-size: 0.85rem;
  margin-top: 10px;
}
.tier-notice svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }
.tier-notice.is-inactive { background: rgba(178,115,9,0.14); border-color: rgba(178,115,9,0.45); }
.tier-notice.is-inactive svg { color: var(--gold); }

/* ---------- 32. Print/misc ---------- */
::selection { background: var(--gold); color: #000; }
