/* =========================================================
   Darila Official — homepage stylesheet (redesign)
   Loaded only by index.html; other pages keep styles.css.
   ========================================================= */

/* ---------- Tokens ---------- */
@font-face{
  font-family: "Noto Sans Khmer";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/notosanskhmer/v29/ijwCs5roRME5LLRxjsRb-gssOenAyendxrgV2c-Zw-9vR1IFegzgxm8AWA.woff2") format("woff2");
  unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC;
}

:root{
  --brand: #a84dc4;          /* site color — 4.65:1 on white, AA for white text on it */
  --brand-strong: #a84dc4;
  --brand-deep: #8a35a6;     /* hover / link shade of the same hue */
  --band: #a84dc4;
  --ink: #241627;
  --muted: #6d6076;
  --line: #ecdff1;
  --bg: #ffffff;
  --bg-soft: #faf5fc;
  --grad-btn: #a84dc4;
  --grad-btn-hover: #9440ae;
  --grad-chip: linear-gradient(135deg, #bb6ad3, #9139ae);
  accent-color: var(--brand-strong);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(36, 22, 39, .06), 0 8px 24px rgba(36, 22, 39, .07);
  --max-w: 1160px;
  --nav-h: 64px;
  --dur: 220ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dropdown-open-dur: 250ms;
  --dropdown-close-dur: 150ms;
  --dropdown-pre-scale: 0.97;
  --dropdown-closing-scale: 0.99;
  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-ui: "Google Sans", "Noto Sans Khmer", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.t-dropdown {
  transform-origin: top left;
  transform: scale(var(--dropdown-pre-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dropdown-open-dur) var(--dropdown-ease),
    opacity   var(--dropdown-open-dur) var(--dropdown-ease);
  will-change: transform, opacity;
}
.t-dropdown[data-origin="top-right"]     { transform-origin: top right; }
.t-dropdown[data-origin="top-center"]    { transform-origin: top center; }
.t-dropdown[data-origin="bottom-left"]   { transform-origin: bottom left; }
.t-dropdown[data-origin="bottom-center"] { transform-origin: bottom center; }
.t-dropdown[data-origin="bottom-right"]  { transform-origin: bottom right; }

.t-dropdown.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.t-dropdown.is-closing {
  transform: scale(var(--dropdown-closing-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dropdown-close-dur) var(--dropdown-ease),
    opacity   var(--dropdown-close-dur) var(--dropdown-ease);
}

@media (prefers-reduced-motion: reduce) {
  .t-dropdown { transition: none !important; }
}

/* ---------- Base ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  /* lavender wash at the top of the page, settling to white */
  background: linear-gradient(180deg, #f8effb 0%, var(--bg) 420px) fixed var(--bg);
}
::selection{ background: #ecd2f3; }
:root[lang="km"] body{ line-height: 1.85; } /* Khmer stacked diacritics need taller lines */
img, video{ max-width: 100%; display: block; }
a{ color: var(--brand-deep); text-decoration: none; }
button{ font: inherit; cursor: pointer; }
a, button, select, input, [role="button"]{ touch-action: manipulation; }
h1, h2, h3, p{ margin: 0; overflow-wrap: break-word; }
h1, h2, h3{ line-height: 1.35; }
:root[lang="km"] h1, :root[lang="km"] h2, :root[lang="km"] h3{ line-height: 1.6; } /* Khmer stacked signs clip at tight line-heights */

/* anchored sections shouldn't hide under the sticky header */
[id]{ scroll-margin-top: calc(var(--nav-h) + 16px); }

:focus-visible{ outline: 2px solid var(--brand-strong); outline-offset: 2px; border-radius: 4px; }

/* Language toggle: head script sets <html lang> before paint; script.js keeps it in sync */
.t-kh{ display: none; }
:root[lang="km"] .t-en{ display: none; }
:root[lang="km"] .t-kh{ display: inline; }

.sr-only{
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link{
  position: absolute; left: 12px; top: -48px; z-index: 300;
  background: var(--brand-strong); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 8px; transition: top var(--dur) var(--ease);
}
.skip-link:focus{ top: 0; }

/* ---------- Header / nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.nav-inner{
  max-width: var(--max-w); margin: 0 auto; padding: 8px 12px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px;
  min-height: var(--nav-h); position: relative;
}
@media (min-width: 900px){ .nav-inner{ padding: 8px 24px; gap: 8px 12px; } }
.brand{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.05rem; white-space: nowrap;
}
@media (min-width: 900px){ .brand{ font-size: 1.25rem; gap: 9px; } }
.brand img{ width: 30px; height: 30px; }
@media (min-width: 900px){ .brand img{ width: 34px; height: 34px; } }
.brand-name{ color: var(--brand-strong); font-weight: 700; letter-spacing: -.01em; }
.brand-name b{ color: var(--ink); font-weight: 600; }

.nav-toggle{
  width: 44px; height: 44px; border: 0; background: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--ink);
}
.hamburger, .hamburger::before, .hamburger::after{
  content: ""; display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.hamburger::before{ position: absolute; top: -6px; }
.hamburger::after{ position: absolute; top: 6px; }
.nav-toggle.open .hamburger{ transform: rotate(45deg); }
.nav-toggle.open .hamburger::before{ transform: rotate(-90deg) translateX(-6px); }
.nav-toggle.open .hamburger::after{ opacity: 0; }

.nav-right{ display: flex; align-items: center; gap: 8px; margin-left: auto; }
#lang-switcher{
  height: 42px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); padding: 0 6px; font-size: .9rem; cursor: pointer;
}
@media (max-width: 899px){
  #lang-switcher{ height: 38px; border: 0; background: var(--bg-soft); font-weight: 600; border-radius: 9px; }
}
.cart-link{
  position: relative; width: 44px; height: 44px; border: 0; background: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink); border-radius: 8px;
}
.cart-link svg{ width: 24px; height: 24px; }
.nav-qty, .floating-qty{
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--brand-strong); color: #fff;
  font-size: .72rem; font-weight: 700; line-height: 18px; text-align: center;
  border-radius: 999px;
}

.nav-links{
  position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; z-index: 5;
  list-style: none; margin: 0; padding: 8px;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, .98); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 16px 40px rgba(62, 27, 72, .16);
}
.nav-links a{
  display: block; padding: 13px 10px; color: var(--ink); font-weight: 500;
  border-radius: 10px;
}
.nav-links a:hover{ color: var(--brand-strong); background: var(--bg-soft); }
.nav-links a.active{
  color: var(--brand-deep); background: var(--bg-soft); font-weight: 600;
}

@media (min-width: 900px){
  .nav-toggle{ display: none; }
  .nav-inner{ flex-wrap: nowrap; padding: 0 24px; }
  .nav-links{
    display: flex; flex-direction: row; gap: 4px;
    position: static; flex: 0 0 auto; order: 0; padding: 0;
    margin: 0 auto;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    transform: none; opacity: 1; pointer-events: auto; transition: none; will-change: auto;
  }
  .nav-links a{ position: relative; padding: 9px 14px; }
  .nav-links a.active::after{
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
    height: 2px; border-radius: 2px; background: var(--brand-strong);
  }
  .nav-right{ margin-left: 0; }
}

/* ---------- Hero carousel (banners shown full, never cropped) ---------- */
.hero{
  max-width: var(--max-w);
  margin: 12px auto 0;
  padding: 0 12px;
}
@media (min-width: 760px){ .hero{ padding: 0 24px; margin-top: 16px; } }
.slides{
  position: relative; overflow: hidden;
  aspect-ratio: 2048 / 768; /* every hero banner is exactly 8:3 */
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.slide{
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 500ms var(--ease);
  pointer-events: none;
  display: flex; flex-direction: column;
}
.slide.show{ opacity: 1; pointer-events: auto; }
.slide > a{ display: block; width: 100%; }
.slide img{ width: 100%; height: auto; aspect-ratio: 2048 / 768; object-fit: cover; display: block; }
@media (min-width: 760px){
  .slide > a{ height: 100%; }
  .slide img{ height: 100%; aspect-ratio: auto; }
}
.dots{
  position: absolute; bottom: 6px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center; gap: 6px;
}
@media (min-width: 760px){ .dots{ bottom: 12px; gap: 8px; } }
.dot{
  width: 30px; height: 30px; padding: 0; border: 0; background: none;
  display: inline-flex; align-items: center; justify-content: center;
}
.dot::after{
  content: ""; width: 7px; height: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 3px rgba(28, 10, 32, .35);
  transition: all var(--dur) var(--ease);
}
.dot.active::after{ background: #fff; width: 18px; }

/* ---------- Trust strip ---------- */
.trust-strip{ background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trust-strip ul{
  list-style: none; margin: 0 auto; padding: 16px;
  max-width: var(--max-w);
  display: grid; gap: 14px;
}
.trust-strip li{ display: flex; gap: 12px; align-items: flex-start; }
.trust-strip svg{
  width: 44px; height: 44px; flex: none; padding: 10px;
  border-radius: 999px; background: var(--grad-chip); color: #fff;
  box-shadow: 0 2px 8px rgba(168, 77, 196, .22);
}
.trust-strip strong{ display: block; font-size: .95rem; font-weight: 600; }
.trust-strip li div > span{ font-size: .875rem; color: var(--muted); }
@media (min-width: 720px){
  .trust-strip ul{ grid-template-columns: repeat(3, 1fr); padding: 18px 24px; }
}
@media (min-width: 720px){
  .trust-strip li.trust-dup{ display: none; } /* duplicates exist only for the mobile ticker loop */
}
/* mobile: one endlessly scrolling line of trust items */
@media (max-width: 719px){
  .trust-strip{ overflow: hidden; margin-top: 20px; }
  .trust-strip ul{
    display: flex; gap: 0; width: max-content;
    padding: 12px 0;
    animation: trust-ticker 26s linear infinite;
  }
  .trust-strip li{ flex: none; align-items: center; padding: 0 18px; }
  .trust-strip li + li{ border-left: 1px solid var(--line); }
  .trust-strip svg{ width: 36px; height: 36px; padding: 8px; }
  .trust-strip strong{ font-size: .88rem; white-space: nowrap; }
  .trust-strip li div > span{ font-size: .8rem; white-space: nowrap; }
  @keyframes trust-ticker{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
  }
  .trust-strip:hover ul,
  .trust-strip:active ul{ animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce){
  .trust-strip ul{ animation: none !important; }
}

/* ---------- Sections ---------- */
.section{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 44px 16px 8px;
}
@media (min-width: 760px){ .section{ padding: 64px 24px 8px; } }
.section-head{ margin-bottom: 26px; text-align: center; }
.section-head h2{
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 700; letter-spacing: -.01em; color: var(--ink);
}
.section-head h2::after{
  content: ""; display: block; margin: 8px auto 0;
  width: 36px; height: 3px; border-radius: 2px;
  background: var(--grad-chip);
}
.section-sub{ margin: 8px auto 0; color: var(--muted); font-size: .95rem; max-width: 60ch; }

/* full-bleed color bands (background extends beyond the section's max-width) */
.band-soft, .band-dark{
  box-shadow: 0 0 0 100vmax var(--band-bg);
  clip-path: inset(0 -100vmax);
  background: var(--band-bg);
  padding-bottom: 48px;
}
@media (min-width: 760px){ .band-soft, .band-dark{ padding-bottom: 60px; } }
.band-soft{ --band-bg: var(--bg-soft); }
.band-dark{ --band-bg: var(--band); }
.band-dark .section-head h2{ color: #fff; }
.band-dark .section-head h2::after{ background: rgba(255, 255, 255, .8); }
.band-dark .section-sub{ color: #fbf3fe; }

/* Scroll reveal (script.js toggles .in-view; hidden state only when JS is running) */
.js .reveal{ opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.js .reveal.in-view{ opacity: 1; transform: none; }

/* ---------- Products ---------- */
.products-grid{
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 620px){ .products-grid{ gap: 18px; } }
@media (min-width: 960px){ .products-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.product-card{
  display: flex; flex-direction: column;
  min-width: 0; padding: 12px 12px 16px; position: relative; overflow: hidden;
  background: #fff; border: 1px solid #eadcf0; border-radius: 20px;
  box-shadow: 0 10px 30px rgba(78, 36, 90, .07);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.product-card:hover{ box-shadow: 0 20px 42px rgba(78, 36, 90, .13); transform: translateY(-4px); border-color: #d7bde1; }
.product-card.placeholder{ background: var(--bg-soft); border-style: dashed; }
.product-card.placeholder:hover{ box-shadow: none; transform: none; border-color: var(--line); }

/* staggered entrance when the section reveals */
.js .reveal .product-card{ opacity: 0; transform: translateY(12px); transition: opacity 380ms var(--ease), transform 380ms var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.js .reveal.in-view .product-card{ opacity: 1; transform: none; }
.js .reveal.in-view .product-card:nth-child(2){ transition-delay: 50ms; }
.js .reveal.in-view .product-card:nth-child(3){ transition-delay: 100ms; }
.js .reveal.in-view .product-card:nth-child(4){ transition-delay: 150ms; }
.js .reveal.in-view .product-card:hover{ transition-delay: 0ms; }
.product-link{ color: inherit; display: block; border-radius: 14px; }
.img-wrap{
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: 14px; background: #faf6fc;
}
/* lightweight loading state behind lazy images */
.img-wrap::before{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--bg-soft) 40%, #f2e7f6 50%, var(--bg-soft) 60%);
  background-size: 200% 100%;
  animation: img-shimmer 1.4s linear infinite;
}
.img-wrap img{
  position: relative; width: 100%; height: 100%; object-fit: cover;
  transition: transform 320ms var(--dropdown-ease);
}
.product-card:hover .img-wrap img{ transform: scale(1.035); }
@keyframes img-shimmer{ from{ background-position: 120% 0; } to{ background-position: -80% 0; } }

.product-badge{
  position: absolute; top: 12px; left: 12px; z-index: 2;
  min-height: 28px; padding: 4px 10px; border-radius: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  color: #fff; background: var(--brand-deep);
  box-shadow: 0 4px 12px rgba(36, 22, 39, .16);
}
.badge-new{ background: #1f7a4d; }
.badge-sugar-free{ background: #fff; color: var(--brand-deep); border: 1px solid #e1cce8; }
.product-title{ margin: 16px 4px 0; font-size: 1.08rem; font-weight: 700; line-height: 1.4; color: var(--ink); }
.product-sub{
  min-height: 2.8em; margin: 4px 4px 0; font-size: .86rem; line-height: 1.4; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .price{
  margin: 13px 4px 15px; font-size: 1.35rem; line-height: 1; font-weight: 700; color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.product-card.placeholder .price{ color: var(--muted); font-weight: 500; }

.product-card .cta{
  margin-top: auto; min-height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-btn); color: #fff; cursor: pointer;
  box-shadow: 0 8px 18px rgba(168, 77, 196, .22);
  border: 0; border-radius: 12px; font-weight: 700; font-size: .95rem;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card .cta:hover{ background: var(--grad-btn-hover); box-shadow: 0 10px 24px rgba(168, 77, 196, .3); }
.product-card .cta:active{ transform: scale(.97); }
.product-card .cta.disabled{
  background: #fff; color: var(--muted); box-shadow: none;
  cursor: default; pointer-events: none; border: 1px solid var(--line);
}
.product-card.placeholder .img-wrap img{ opacity: .85; }

/* qty controls injected by script.js inside .cta */
.product-card .cta .qty-controls{
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; height: 100%;
}
.product-card .qty-btn{
  width: 44px; height: 44px; border: 0; background: none;
  color: #fff; font-size: 1.2rem; font-weight: 700; border-radius: 10px;
}
.product-card .qty-btn:hover{ background: rgba(255, 255, 255, .15); }
.product-card .qty-number{ color: #fff; font-weight: 700; }

@media (max-width: 619px){
  .product-card{ padding: 7px 7px 10px; border-radius: 15px; }
  .product-link{ border-radius: 10px; }
  .img-wrap{ border-radius: 10px; }
  .product-badge{
    top: 7px; left: 7px; max-width: calc(100% - 14px); min-height: 24px;
    padding: 3px 7px; border-radius: 6px; font-size: .61rem; line-height: 1.45;
  }
  .product-title{ margin: 10px 2px 0; font-size: .86rem; line-height: 1.45; }
  .product-sub{ min-height: 3.2em; margin: 3px 2px 0; font-size: .7rem; line-height: 1.55; }
  .product-card .price{ margin: 10px 2px 11px; font-size: 1.08rem; }
  .product-card .cta{
    min-height: 46px; padding: 7px 4px; border-radius: 9px;
    font-size: .74rem; line-height: 1.5;
  }
  .product-card .qty-btn{ width: 36px; height: 36px; }
}

/* ---------- Shopping answers ---------- */
.shop-answers{ padding-top: 54px; }
.answers-eyebrow{
  margin-bottom: 6px; color: var(--brand-deep);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.answers-grid{
  display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.answers-grid article{ padding: 22px 4px; }
.answers-grid article + article{ border-top: 1px solid var(--line); }
.answers-grid h3{ color: var(--ink); font-size: 1rem; font-weight: 700; }
.answers-grid p{ margin-top: 7px; color: var(--muted); font-size: .9rem; line-height: 1.7; }
@media (min-width: 760px){
  .answers-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .answers-grid article{ padding: 26px 28px; }
  .answers-grid article + article{ border-top: 0; }
  .answers-grid article:nth-child(even){ border-left: 1px solid var(--line); }
  .answers-grid article:nth-child(n+3){ border-top: 1px solid var(--line); }
}

/* ---------- Promotions ---------- */
.promotions-section{ padding-top: 46px; }
.promo-heading{ margin-bottom: 24px; text-align: center; }
.promo-heading > p{
  color: var(--brand); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.promo-heading h2{ margin-top: 5px; color: var(--ink); font-size: clamp(1.8rem, 4vw, 2.35rem); letter-spacing: -.03em; }
.promo-heading > span{ display: block; margin-top: 7px; color: var(--muted); font-size: .92rem; }
.promo-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.promo-card{
  min-width: 0; margin: 0; overflow: hidden; color: var(--ink); background: #fff;
  display: flex; flex-direction: column;
  border: 1px solid #ead9ef; border-radius: 20px;
  box-shadow: 0 12px 34px rgba(93, 38, 108, .1);
}
.promo-card-live{
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.promo-card-live:hover, .promo-card-live:focus-visible{
  transform: translateY(-3px); border-color: rgba(168, 77, 196, .42); box-shadow: 0 18px 42px rgba(93, 38, 108, .16);
}
.promo-image{ position: relative; display: block; overflow: hidden; }
.promo-image img{ width: 100%; height: auto; aspect-ratio: 1680 / 1080; object-fit: cover; }
.promo-card-live .promo-image img{ transition: transform 320ms var(--dropdown-ease); }
.promo-card-live:hover .promo-image img, .promo-card-live:focus-visible .promo-image img{ transform: scale(1.02); }
.promo-status{
  position: absolute; top: 13px; left: 13px; min-height: 31px; padding: 4px 11px;
  display: inline-flex; align-items: center; color: #fff; background: var(--brand);
  border-radius: 999px; font-size: .73rem; font-weight: 700; box-shadow: 0 4px 12px rgba(75, 24, 88, .2);
}
.promo-status-light{ color: var(--brand-deep); background: rgba(255, 255, 255, .94); }
.promo-meta{
  min-height: 78px; padding: 14px 16px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex: 1;
  border-top: 1px solid #f0e6f3;
}
.promo-meta > span:first-child{ min-width: 0; }
.promo-meta strong{ display: block; font-size: 1rem; }
.promo-meta small{ display: block; margin-top: 3px; color: var(--muted); font-size: .81rem; }
.promo-shop{
  min-height: 42px; padding: 0 13px; flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  color: #fff; background: var(--brand); border-radius: 10px; font-size: .82rem; font-weight: 700;
}
.promo-shop svg{ width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.promo-card-live:hover .promo-shop svg, .promo-card-live:focus-visible .promo-shop svg{ transform: translateX(2px); }
@media (max-width: 719px){
  .promo-grid{ align-items: start; }
  .promo-card{ border-radius: 14px; }
  .promo-status{
    top: 8px; left: 8px; max-width: calc(100% - 16px); min-height: 25px;
    padding: 3px 7px; border-radius: 7px; font-size: .6rem; line-height: 1.45;
  }
  .promo-meta{
    min-height: 0; padding: 10px; flex: none;
    align-items: stretch; flex-direction: column; justify-content: flex-start; gap: 8px;
  }
  .promo-meta strong{ font-size: .8rem; line-height: 1.5; }
  .promo-meta small{ font-size: .67rem; line-height: 1.55; }
  .promo-shop{
    width: 100%; min-height: 38px; padding: 0 7px;
    border-radius: 8px; gap: 4px; font-size: .7rem;
  }
  .promo-shop svg{ width: 14px; height: 14px; }
}
@media (min-width: 720px){
  .promotions-section{ padding-top: 58px; }
  .promo-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .promo-meta{ padding: 16px 18px 18px; }
}

/* ---------- Reviews carousel (script.js auto-scrolls .reviews-track) ---------- */
.reviews-section{ padding-bottom: 8px; }
.reviews-viewport{
  overflow: hidden; border-radius: var(--radius);
}
.reviews-track{ display: flex; gap: 14px; width: max-content; will-change: transform; }
.review-card{
  height: min(72vw, 320px); flex: none;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
}
.review-card img{ width: auto; height: 100%; }

/* ---------- Video stories ---------- */
.video-section{ --band-bg: var(--brand); padding-top: 50px; padding-bottom: 58px; }
.video-section-header{ margin-bottom: 22px; }
.video-eyebrow{
  margin-bottom: 7px; color: rgba(255, 255, 255, .74);
  font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.video-section-header .section-sub{ max-width: 46ch; }
.video-strip-wrapper{ position: relative; max-width: 1040px; margin: 0 auto; }
.video-strip{
  display: flex; align-items: center; gap: 14px; overflow-x: auto; padding: 12px 16px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.video-strip::-webkit-scrollbar{ display: none; }
.video-card{
  flex: none; scroll-snap-align: center; width: min(62vw, 225px);
  opacity: .5; transform: scale(.94);
  transition: width 300ms var(--dropdown-ease), opacity var(--dur) var(--ease), transform 300ms var(--dropdown-ease);
}
.video-card.active{ width: min(72vw, 275px); opacity: 1; transform: scale(1); }
.video-frame{
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: 22px; background: rgba(73, 24, 85, .35);
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 12px 28px rgba(67, 22, 79, .2);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.video-card.active .video-frame{ border: 3px solid #fff; box-shadow: 0 22px 52px rgba(67, 22, 79, .36); }
.video-frame video{ width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.video-top-controls{
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: flex; gap: 8px;
}
.video-icon-btn{
  width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  background: rgba(36, 22, 39, .7); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease);
}
.video-icon-btn:hover{ background: rgba(23, 16, 26, .85); }
.video-card:not(.active) .video-top-controls{ opacity: 0; pointer-events: none; }
.video-icon-btn svg{ width: 18px; height: 18px; }
.video-mute-toggle .icon-sound-off{ display: none; }
.video-mute-toggle.is-muted .icon-sound-on{ display: none; }
.video-mute-toggle.is-muted .icon-sound-off{ display: inline-flex; }
.icon-sound-on, .icon-sound-off{ display: inline-flex; }

.video-nav{
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border: 1px solid rgba(168, 77, 196, .14); border-radius: 999px;
  background: #fff; color: var(--brand-deep);
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: background var(--dur) var(--ease);
}
.video-nav:hover{ background: #fff; transform: translateY(-50%) scale(1.06); }
.video-nav svg{ width: 20px; height: 20px; }
.video-nav-prev{ left: 4px; }
.video-nav-next{ right: 4px; }
@media (min-width: 900px){
  .video-nav{ display: inline-flex; }
  .video-strip{ overflow: hidden; gap: 18px; padding: 18px 72px 28px; }
  .video-card{ width: 180px; }
  .video-card.active{ width: 280px; }
}
.video-dots{
  width: max-content; margin: 4px auto 0; padding: 2px 7px;
  display: flex; justify-content: center; gap: 4px;
  background: rgba(91, 32, 106, .24); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
}
.video-dot{
  width: 30px; height: 30px; border: 0; background: none; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.video-dot::after{
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .42); transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}
.video-dot.active::after{ background: #fff; width: 22px; }

/* ---------- Blog (images are square social posts — never crop them) ---------- */
.blog-grid{
  display: flex; gap: 14px;
  overflow-x: auto; padding: 4px 2px 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.blog-grid::-webkit-scrollbar{ display: none; }
.blog-card{ flex: 0 0 min(78vw, 320px); scroll-snap-align: center; }
@media (min-width: 600px){
  .blog-grid{ display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 0; }
  .blog-card{ flex: none; }
}
@media (min-width: 960px){ .blog-grid{ grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.blog-card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.blog-card:hover{ box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-img{ aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.blog-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform 320ms var(--ease); }
.blog-card:hover .blog-img img{ transform: scale(1.04); }
.blog-body{ padding: 14px 16px 18px; }
.blog-body h3{ font-size: 1rem; font-weight: 600; transition: color var(--dur) var(--ease); }
.blog-card:hover .blog-body h3{ color: var(--brand-deep); }
.blog-body p{
  margin-top: 4px; font-size: .9rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Contact (brand panel) ---------- */
.contact-section{ padding-bottom: 48px; }
@media (min-width: 760px){ .contact-section{ padding-bottom: 64px; } }
.contact-panel{
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #b45fd2, #8f37ab);
  color: #fff;
  border-radius: 24px; padding: 30px 22px;
  display: grid; gap: 26px; text-align: center;
  box-shadow: 0 14px 40px rgba(168, 77, 196, .32);
}
/* soft decorative shapes */
.contact-panel::before,
.contact-panel::after{
  content: ""; position: absolute; border-radius: 999px;
  background: rgba(255, 255, 255, .07); pointer-events: none;
}
.contact-panel::before{ width: 340px; height: 340px; top: -170px; right: -110px; }
.contact-panel::after{ width: 220px; height: 220px; bottom: -130px; left: -80px; }
.contact-info, .contact-panel .cs3-socials{ position: relative; }
.contact-eyebrow{
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: rgba(255, 255, 255, .85); margin-bottom: 6px;
}
.contact-panel h2{ font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; }
.contact-sub{ margin: 8px auto 0; color: #fbf3fe; font-size: .95rem; max-width: 48ch; }
.contact-call{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; margin-top: 20px;
  background: #fff; color: var(--brand-deep);
  border-radius: 12px; font-weight: 700; font-size: 1.05rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-call:hover{ transform: translateY(-1px); box-shadow: 0 6px 18px rgba(36, 22, 39, .25); }
.contact-call svg{ width: 20px; height: 20px; }
.cs3-socials{
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; align-content: center;
}
.cs3-soc{
  display: flex; align-items: center; gap: 12px;
  min-height: 62px; padding: 10px 14px; border-radius: 14px;
  background: #fff; text-align: left; min-width: 0;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cs3-soc:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(36, 22, 39, .22); }
.cs3-icon{ width: 28px; height: 28px; object-fit: contain; flex: none; }
.soc-meta{ min-width: 0; }
.soc-meta b{ display: block; color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.soc-meta small{
  display: block; color: var(--muted); font-size: .78rem; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 420px){
  .cs3-soc{ min-height: 56px; padding: 8px 10px; gap: 9px; }
  .cs3-icon{ width: 24px; height: 24px; }
}
@media (min-width: 760px){
  .contact-panel{
    grid-template-columns: 1.25fr 1fr; align-items: center;
    text-align: left; padding: 46px 48px; gap: 40px;
  }
  .contact-sub{ margin-left: 0; }
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--band); color: #fff; }
.footer-inner{ max-width: var(--max-w); margin: 0 auto; padding: 44px 16px 18px; }
@media (min-width: 760px){ .footer-inner{ padding: 56px 24px 22px; } }

.footer-grid{ display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.footer-brand{ grid-column: 1 / -1; }
@media (min-width: 900px){
  .footer-grid{ grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; }
  .footer-brand{ grid-column: auto; }
}
@media (max-width: 899px){
  .footer-grid{ column-gap: 24px; row-gap: 0; }
  .footer-brand{ padding-bottom: 22px; }
  .footer-grid .footer-col:not(.footer-brand){
    padding: 20px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .22);
  }
  .footer-grid > .footer-col:last-child{ grid-column: 1 / -1; }
  .footer-bottom{ padding-bottom: calc(4px + env(safe-area-inset-bottom)); }
}

.footer-logo{
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 700; color: #fff;
}
.footer-logo img{
  width: 40px; height: 40px; background: #fff;
  border-radius: 10px; padding: 5px;
}
.footer-logo b{ font-weight: 500; color: #fff; }
.footer-blurb{ margin-top: 12px; font-size: .9rem; color: #fff; max-width: 34ch; line-height: 1.7; }

.footer-col h3{
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #fff; margin-bottom: 12px;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; }
.footer-col li + li{ margin-top: 4px; }
.footer-col a{
  color: #fff; font-size: .95rem;
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 0;
  border-radius: 6px;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-col a:hover{ opacity: .85; transform: translateX(2px); }
.footer-contact img{
  width: 20px; height: 20px; object-fit: contain;
  background: #fff; border-radius: 6px; padding: 1px;
}
.footer-contact svg{
  width: 20px; height: 20px; flex: none;
  background: #fff; border-radius: 6px; padding: 2px; color: var(--brand-deep);
}

.footer-col .icons{ display: flex; flex-wrap: wrap; gap: 8px; }
.pay-icon{
  height: 32px; width: auto; background: #fff;
  border-radius: 8px; padding: 4px 7px;
}
.footer-secure{
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; font-size: .85rem; color: #fff;
}
.footer-secure svg{ width: 16px; height: 16px; flex: none; }

.footer-bottom{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  margin-top: 36px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .3);
}
@media (max-width: 600px){
  /* keep the back-to-top pill clear of the floating cart button */
  .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 12px; }
}
.copyright{ font-size: .85rem; color: #fff; }
.to-top{
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 14px;
  color: #fff; font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px;
  transition: background var(--dur) var(--ease);
}
.to-top:hover{ background: rgba(255, 255, 255, .14); }
.to-top svg{ width: 15px; height: 15px; }

/* ---------- Mini-cart drawer (markup partly injected by script.js) ---------- */
.mini-cart{
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 220;
  width: min(92vw, 380px);
  background: #fff; box-shadow: -12px 0 32px rgba(36, 22, 39, .18);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform 280ms var(--ease);
}
.mini-cart.show{ transform: translateX(0); }
.mini-overlay{
  position: fixed; inset: 0; z-index: 210;
  background: rgba(28, 10, 32, .5);
  opacity: 0; pointer-events: none; transition: opacity 280ms var(--ease);
}
.mini-overlay.show{ opacity: 1; pointer-events: auto; }
.mini-cart-header{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.mini-close{
  width: 40px; height: 40px; border: 0; background: none; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
}
.mini-close:hover{ background: var(--bg-soft); }
.mini-close svg{ width: 20px; height: 20px; }
.mini-cart-list{ flex: 1; overflow-y: auto; padding: 12px 16px; }
.mini-cart-list .empty, .mini-cart-empty{
  padding: 32px 8px; text-align: center; color: var(--muted);
}
.mini-cart-item{
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px;
  align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mini-thumb{
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line);
}
.mini-cart-item .title{ font-weight: 600; font-size: .92rem; }
.mini-cart-item .price{ color: var(--brand-deep); font-weight: 600; font-size: .9rem; }
.mini-cart-item .controls{ display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mini-cart-item .qty-controls{
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 8px;
}
.mini-cart-item .qty-btn{
  width: 32px; height: 32px; border: 0; background: none; color: var(--ink);
  font-size: 1rem; border-radius: 8px;
}
.mini-cart-item .qty-btn:hover{ background: var(--bg-soft); }
.mini-cart-item .qty-num{ min-width: 22px; text-align: center; font-weight: 600; font-size: .92rem; }
.mini-remove{
  border: 0; background: none; color: var(--muted);
  font-size: .8rem; text-decoration: underline; padding: 6px 8px; border-radius: 4px;
}
.mini-remove:hover{ color: #c0264a; }
.mini-cart-footer{ padding: 14px 16px 18px; border-top: 1px solid var(--line); }
.mini-cart-footer .subtotal{
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; font-size: 1rem;
}
.mini-cart-footer .btn{
  display: flex; align-items: center; justify-content: center;
  min-height: 46px; border-radius: 10px;
  background: var(--grad-btn); color: #fff; font-weight: 600;
  box-shadow: 0 2px 8px rgba(168, 77, 196, .25);
  transition: background var(--dur) var(--ease);
}
.mini-cart-footer .btn:hover{ background: var(--grad-btn-hover); }
.mini-cart-footer .btn.disabled{
  background: var(--bg-soft); color: var(--muted); pointer-events: none;
}

/* ---------- Floating cart (mobile) ---------- */
.floating-cart{
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 150;
  width: 54px; height: 54px; border: 0; border-radius: 999px;
  background: var(--grad-chip); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(124, 35, 145, .38);
}
.floating-cart svg{ width: 24px; height: 24px; }
.floating-cart .floating-qty{ top: -2px; right: -2px; background: var(--ink); }
.floating-cart.pulse{ animation: cart-pulse 420ms var(--ease); }
@keyframes cart-pulse{ 40%{ transform: scale(1.14); } }
@media (min-width: 900px){ .floating-cart{ display: none; } }

/* ---------- Cart drawer: final shared layout ---------- */
#mini-cart.mini-cart{
  inset: 0 0 0 auto;
  width: min(100%, 420px);
  max-width: none;
  height: 100dvh;
  z-index: 10010;
  margin: 0;
  border: 0 !important;
  border-left: 1px solid var(--line) !important;
  border-radius: 0;
  background: #fff !important;
  box-shadow: -18px 0 48px rgba(36, 22, 39, .16) !important;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
}
#mini-cart.mini-cart.show{ transform: translateX(0); }
html.mini-cart-open, html.mini-cart-open body{ overflow: hidden; }
.mini-overlay{ z-index: 10009; }

#mini-cart .mini-cart-header{
  flex: 0 0 auto;
  min-height: 72px;
  padding: max(16px, env(safe-area-inset-top)) 20px 16px 54px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
#mini-cart .mini-cart-header::before{
  left: 20px;
  width: 22px;
  height: 22px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a84dc4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='17' cy='20' r='1.5'/%3E%3Cpath d='M3 3h2l2.4 12.5a2 2 0 0 0 2 1.5h7.6a2 2 0 0 0 2-1.5L21 8H7'/%3E%3C/svg%3E") !important;
}
#mini-cart .mini-cart-header strong{
  color: var(--ink) !important;
  font-size: 1.05rem;
  font-weight: 700;
}
#mini-cart .mini-close{
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
#mini-cart .mini-close:hover{
  background: var(--bg-soft);
  border-color: var(--brand);
}

#mini-cart .mini-cart-list{
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding: 8px 20px 20px;
  gap: 0;
  background: #fff;
  scrollbar-gutter: stable;
}
#mini-cart .mini-cart-item{
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
#mini-cart .mini-thumb{
  width: 72px;
  height: 72px;
  border-radius: 12px;
}
#mini-cart .mini-cart-item .meta{ align-self: start; gap: 5px; }
#mini-cart .mini-cart-item .title{
  color: var(--ink) !important;
  font-size: .98rem;
  font-weight: 700;
}
#mini-cart .mini-cart-item .price{
  color: var(--brand-strong) !important;
  font-size: .9rem;
}
#mini-cart .mini-cart-item .controls{
  grid-column: 2;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}
#mini-cart .mini-cart-item .qty-controls{
  border-color: var(--line);
  border-radius: 10px;
  overflow: hidden;
}
#mini-cart .mini-cart-item .qty-btn{
  width: 36px;
  height: 36px;
  border-radius: 0;
  cursor: pointer;
}
#mini-cart .mini-cart-item .qty-num{
  min-width: 32px;
  color: var(--ink) !important;
}
#mini-cart .mini-remove{
  color: var(--muted);
  cursor: pointer;
  text-underline-offset: 3px;
}

#mini-cart .mini-cart-footer{
  flex: 0 0 auto;
  margin-top: auto;
  padding: 18px 20px max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 -10px 28px rgba(36, 22, 39, .05);
}
#mini-cart .mini-cart-footer .subtotal{
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 600;
}
#mini-cart .mini-cart-footer .subtotal strong{
  color: var(--ink) !important;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}
#mini-cart .mini-cart-footer .btn{
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--grad-btn);
  box-shadow: 0 8px 20px rgba(168, 77, 196, .22);
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 480px){
  #mini-cart.mini-cart{ width: 100%; }
  #mini-cart .mini-cart-header,
  #mini-cart .mini-cart-list,
  #mini-cart .mini-cart-footer{ padding-left: 16px; padding-right: 16px; }
  #mini-cart .mini-cart-header{ padding-left: 50px; }
  #mini-cart .mini-cart-header::before{ left: 16px; }
}

@media (prefers-reduced-motion: reduce){
  #mini-cart.mini-cart,
  .mini-overlay{ transition-duration: 1ms; }
}

/* ---------- Promo popup overlay (kept for script.js compatibility) ---------- */
.promo-overlay{
  position: fixed; inset: 0; z-index: 240;
  display: none; align-items: center; justify-content: center;
  background: rgba(28, 10, 32, .6); padding: 20px;
}
.promo-overlay.active{ display: flex; }
.promo-popup-shell{ max-width: 480px; width: 100%; text-align: center; }
.promo-popup{ position: relative; }
.promo-popup img{ width: 100%; border-radius: var(--radius-lg); }
.promo-close{
  position: absolute; top: 8px; right: 8px;
  width: 36px; height: 36px; border: 0; border-radius: 999px;
  background: rgba(23, 16, 26, .65); color: #fff; font-size: 1.2rem;
}
.promo-shop-btn{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 28px; margin-top: 14px;
  background: var(--brand-strong); color: #fff; border-radius: 10px; font-weight: 600;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal, .js .reveal .product-card{ opacity: 1; transform: none; }
}
