@import url('https://fonts.googleapis.com/css2?family=Allura&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --background: #ffffff;
  --foreground: #24181d;
  --muted: #7c6f75;
  --primary: #59a85d;
  --secondary: #fdf0f4;
  --border: #f1dde5;
  --footer: #24181d;
  --blue: #1d4ed8;
  --blue-hover: #1e40af;
  --destructive: #ef4444;
  --section-alt: #f9f3f6;
  --trust-bg: #fbf4f7;
  --trust-fg: #3f2b33;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  /* Horizontal inset for all `.container` layouts (mobile-first, respects notches). */
  --page-gutter: 22px;
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 24px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { width: 100%; overflow-x: hidden; }
html, body { margin: 0; padding: 0; min-height: 100%; overflow-x: hidden; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: start;
  font-size: 14px;
  line-height: 1.5;
}
body:not(.admin-body) { max-width: 100vw; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

button { font: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right));
}
main { display: block; width: 100%; }

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

/* Reusable button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease;
}
.btn:hover { filter: brightness(.95); }
.btn-outline,
.btn.secondary {
  background: rgba(255, 255, 255, .9);
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-outline:hover,
.btn.secondary:hover { background: #fff; border-color: rgba(36, 24, 29, .2); }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: var(--blue-hover); }

/* ---------- Marquee + topbar + header (parity with React) ---------- */
.marquee-shell {
  background: var(--secondary);
  color: #3f2933;
  border-bottom: 1px solid rgba(241, 221, 229, .55);
  overflow: hidden;
  width: 100%;
  /* Align marquee band with page gutters (row still scrolls full width inside). */
  padding-left: max(var(--page-gutter), env(safe-area-inset-left));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right));
}
.marquee-row {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-bar 36s linear infinite;
}
.marquee-span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 30px;
  font-size: clamp(11px, 2.8vw, 14px);
  font-weight: 600;
}
.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
@keyframes marquee-bar { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.topbar-shell {
  background: var(--gray-900);
  color: var(--gray-300);
  font-size: 12px;
  border-bottom: 1px solid var(--gray-800);
  width: 100%;
}
.topbar-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
}
.icon-topbar { color: #fbbf24; flex-shrink: 0; }
.topbar-mail-wide { display: none; align-items: center; gap: 8px; color: var(--gray-300); }
.topbar-mail-wide:hover { color: #fbbf24; }
.topbar-mail-narrow { display: flex; align-items: center; gap: 8px; }
.topbar-tail { display: none; align-items: center; gap: 20px; }
.topbar-tail-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-rule { color: var(--gray-700); font-weight: 300; }
@media (min-width: 640px) {
  .topbar-mail-wide { display: inline-flex; }
  .topbar-mail-narrow { display: none; }
}
@media (min-width: 900px) {
  .topbar-tail { display: flex; }
}

.site-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 76px;
  min-width: 0;
}
.brand-link {
  display: flex;
  align-items: center;
  line-height: 0;
  color: var(--foreground);
  flex-shrink: 1;
  min-width: 0;
}
.brand-svg {
  height: 44px;
  width: auto;
  max-width: min(210px, 46vw);
  display: block;
}
.header-nav {
  display: none;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: auto;
}
.header-lang-shell {
  display: none;
  align-items: center;
  gap: 8px;
}
.fr-market-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(217, 79, 106, .2);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff 0%, #fff8fa 100%);
  color: #5b3743;
  box-shadow: 0 5px 16px rgba(119, 60, 78, .07);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.fr-market-flag {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 22px;
  height: 14px;
  overflow: hidden;
  border: 1px solid rgba(36, 24, 29, .1);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(36, 24, 29, .1);
}
.fr-market-flag i { display: block; }
.fr-market-flag i:nth-child(1) { background: #244c78; }
.fr-market-flag i:nth-child(2) { background: #fff; }
.fr-market-flag i:nth-child(3) { background: #d94f6a; }
.fr-market-badge-mobile {
  min-height: 28px;
  padding: 5px;
  gap: 0;
}
.lang-globe { font-size: 15px; opacity: .72; }
.native-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  background: #fff;
  font: inherit;
  width: auto;
  min-width: 78px;
}
.nav-chip {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(36, 24, 29, .82);
  transition: color .15s ease;
}
.nav-chip:hover { color: var(--primary); }
.nav-chip-active { color: var(--primary); }
.nav-chip-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}
.header-mobile-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.menu-toggle {
  border: 0;
  background: transparent;
  padding: 8px;
  color: var(--foreground);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-menu { vertical-align: middle; }
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 0 max(var(--page-gutter), env(safe-area-inset-right)) 14px max(var(--page-gutter), env(safe-area-inset-left));
  background: #fff;
}
.mobile-nav-open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(241, 221, 229, .7);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.mobile-nav-link:last-child { border-bottom: 0; }
.mobile-nav-active { color: var(--primary); }

@media (min-width: 900px) {
  .header-layout { height: 88px; }
  .brand-svg { height: 56px; }
  .header-nav { display: flex; }
  .header-lang-shell { display: flex; }
  .header-mobile-tools { display: none; }
}

/* Responsive show/hide utilities (used in view.php) */
.dn-md { display: none; }
.dn-md-flex { display: none; }
.dn-md-block { display: none; }
@media (min-width: 900px) {
  .dn-md { display: revert; }
  .dn-md-flex { display: flex; }
  .dn-md-block { display: block; }
  /* Desktop hides mobile-only controls regardless of any inherited utilities */
  .header-mobile-tools,
  .mobile-nav,
  .mobile-nav.mobile-nav-open { display: none !important; }
}
@media (max-width: 899px) {
  /* Mobile shows the mobile tools and ALL their interactive children, even if
     the markup also tagged them with .dn-md (the markup ships from view.php). */
  .header-mobile-tools { display: flex !important; }
  .header-mobile-tools .fr-market-badge { display: inline-flex !important; }
  .header-mobile-tools .lang-globe,
  .header-mobile-tools .lang-globe.dn-md { display: inline-block !important; font-size: 18px; opacity: .82; }
  .header-mobile-tools .lang-select,
  .header-mobile-tools .lang-select.dn-md { display: inline-block !important; width: auto; min-width: 56px; padding: 6px 8px; font-size: 12px; }
  .header-mobile-tools .menu-toggle,
  .header-mobile-tools .menu-toggle.dn-md { display: inline-flex !important; }
  .header-mobile-tools .fr-market-badge-mobile { flex: 0 0 auto; }
  .header-mobile-tools .fr-market-badge-mobile .fr-market-flag { width: 20px; height: 13px; }
  /* Mobile drawer: hidden by default, opened by JS toggle */
  .mobile-nav,
  .mobile-nav.dn-md-block { display: none; }
  .mobile-nav.mobile-nav-open,
  .mobile-nav.dn-md-block.mobile-nav-open { display: block; }
}

/* ---------- Footer ---------- */
.footer-shell {
  background: var(--footer);
  color: #d8cbd1;
  width: 100%;
}
/* Only vertical padding — do not use padding shorthand with 0 sides on .container.footer-inner */
.footer-inner { padding-top: 48px; }
.footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.footer-brand-svg {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #d8cbd1;
  max-width: 360px;
}
.footer-col-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-list a {
  font-size: 14px;
  color: #d8cbd1;
  transition: color .15s ease;
}
.footer-list a:hover { color: #fff; }
.footer-contact-block { display: grid; gap: 14px; }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-contact-row a:hover { color: #fff; }
.icon-footer { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-bottom-rule {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding: 22px 0 28px;
  text-align: center;
}
.footer-copy { margin: 0; font-size: 12px; color: #d8cbd1; }

/* ---------- Generic page heading (for contact, track-order, 404 etc.) ---------- */
.page {
  width: 100%;
  padding: 40px 0 72px;
  background:
    radial-gradient(circle at 10% -10%, rgba(89, 168, 93, .07), transparent 50%),
    radial-gradient(circle at 110% 0%, rgba(217, 70, 122, .06), transparent 55%),
    var(--gray-50);
  min-height: calc(100vh - 320px);
}
@media (min-width: 768px) { .page { padding: 64px 0 96px; } }
.page-header {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 720px;
}
@media (min-width: 768px) { .page-header { margin-bottom: 40px; } }
.page-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 10px;
}
.page-title {
  margin: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--foreground);
  line-height: 1.15;
}
.page-lede {
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 540px;
}
.page-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 12px 40px rgba(36, 24, 29, .07);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.page-card-wide { max-width: 720px; }
.page-card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.page-card code {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: .9em;
}
.field {
  display: block;
  margin-bottom: 16px;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.field-input,
.field-textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #e5d5dc;
  background: #fff;
  font: inherit;
  color: var(--foreground);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field-textarea { min-height: 130px; resize: vertical; }
.field-input:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(89, 168, 93, .18);
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.alert-success {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: rgba(89, 168, 93, .1);
  border: 1px solid rgba(89, 168, 93, .35);
  border-radius: 12px;
  color: #244e26;
  font-size: 14px;
  font-weight: 600;
}
.alert-info {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-700);
  font-size: 14px;
}

/* ---------- Hero / homepage ---------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  min-height: 480px;
}
.hero {
  min-height: 480px;
  margin: 0;
  padding: 70px 0;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .58) 44%, rgba(255, 255, 255, .08) 100%),
    url('/assets/home/cheryfashion-hero.jpg') center/cover no-repeat;
}
@media (min-width: 900px) {
  .hero-wrap, .hero { min-height: 560px; }
  .hero { padding: 96px 0; }
}
.hero-content { max-width: 560px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  color: rgba(36, 24, 29, .78);
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.hero h1 {
  margin: 24px 0 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero p {
  max-width: 460px;
  margin: 22px 0 0;
  color: rgba(36, 24, 29, .68);
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.stats-strip { border-bottom: 1px solid var(--border); background: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-value {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}
.stat-label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .2em;
}

.home-section {
  padding-top: 56px;
  padding-bottom: 56px;
}
@media (min-width: 768px) {
  .home-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
.home-section-soft { background: var(--section-alt); }
/* Product grid directly under hero: slightly tighter top rhythm */
.home-newin {
  padding-top: 40px;
}
@media (min-width: 768px) {
  .home-newin { padding-top: 48px; }
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.kicker {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-weight: 800;
}
.home-section h2 {
  margin: 8px 0 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.section-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.feature-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  transition: .2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(36, 24, 29, .08);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 900;
}
.feature-card h3 { margin: 16px 0 6px; font-size: 16px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.browse-wrap { margin-top: 40px; text-align: center; }

.trust-box {
  border-radius: 28px;
  background: var(--foreground);
  color: #fff;
  padding: 36px;
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .trust-box {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px;
  }
}
.trust-box h2 { color: #fff; }
.trust-box p { color: rgba(255, 255, 255, .72); line-height: 1.65; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trust-list li { color: rgba(255, 255, 255, .86); }
.trust-list li::before { content: "✓"; color: var(--primary); margin-right: 10px; font-weight: 900; }

/* ---------- Shop page ---------- */
.pd-shop {
  padding-top: 24px;
  padding-bottom: 40px;
}
@media (min-width: 900px) {
  .pd-shop {
    padding-top: 40px;
    padding-bottom: 64px;
  }
}
.shop-title {
  margin: 0 0 24px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: var(--foreground);
}
@media (min-width: 768px) { .shop-title { margin-bottom: 32px; } }

/* Shop + home product grids: same rhythm, max 4 columns on large screens */
.shop-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 640px) {
  .shop-grid,
  .products-grid { gap: 18px 20px; }
}
@media (min-width: 768px) {
  .shop-grid,
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}
@media (min-width: 1024px) {
  .shop-grid,
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 26px;
  }
}

.shop-card,
.product-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s ease;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.shop-card:hover,
.product-card:hover { box-shadow: 0 12px 32px rgba(36, 24, 29, .11); }
.shop-card-hit, .product-card > a { color: inherit; display: block; }

.shop-media,
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--secondary);
  overflow: hidden;
}
.shop-img-primary, .shop-img-alt,
.product-media img.primary, .product-media img.secondary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .26s ease, transform .38s ease;
}
.shop-img-alt,
.product-media img.secondary { opacity: 0; transform: scale(1.06); }
.shop-card:hover .shop-img-primary,
.product-card:hover .product-media img.primary { opacity: 0; transform: scale(1.06); }
.shop-card:hover .shop-img-alt,
.product-card:hover .product-media img.secondary { opacity: 1; transform: scale(1.06); }

.shop-sale-tag,
.badge-sale {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--destructive);
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
}

.shop-body, .card-body {
  padding: 10px 10px 6px;
  display: grid;
  gap: 4px;
}
@media (min-width: 768px) { .shop-body, .card-body { padding: 10px 12px 6px; } }

.shop-name, .card-body > div:first-child {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}
@media (min-width: 768px) { .shop-name, .card-body > div:first-child { font-size: 13px; } }

.shop-prices, .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--foreground);
  margin-top: 2px;
}
.shop-old, .old {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: line-through;
}

.shop-cta-wrap, .card-cta-wrap {
  width: 100%;
  margin-top: auto;
  padding: 0 10px 10px;
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .shop-cta-wrap, .card-cta-wrap { padding: 0 12px 12px; }
}

.shop-cta, .card-cta {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 30px;
  min-height: 30px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  font-family: inherit;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s ease, filter .15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shop-cta:hover, .card-cta:hover { background: var(--blue-hover); }
.shop-zap { width: 13px; height: 13px; flex-shrink: 0; }

/* Home + shop when `.store-grid`: larger cards + outlined Buy CTA */
.store-grid .shop-card,
.store-grid .product-card {
  border-radius: 14px;
}
.store-grid .shop-body,
.store-grid .card-body {
  padding: 12px 14px 8px;
  gap: 6px;
}
@media (min-width: 768px) {
  .store-grid .shop-body,
  .store-grid .card-body { padding: 14px 16px 10px; }
}
.store-grid .shop-name,
.store-grid .card-body > div:first-child {
  font-size: 13px;
  min-height: 34px;
  line-height: 1.35;
}
@media (min-width: 768px) {
  .store-grid .shop-name,
  .store-grid .card-body > div:first-child {
    font-size: 15px;
    font-weight: 700;
    min-height: 42px;
  }
}
.store-grid .shop-prices,
.store-grid .price {
  font-size: 15px;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .store-grid .shop-prices,
  .store-grid .price { font-size: 17px; }
}
.store-grid .shop-old,
.store-grid .old {
  font-size: 11px;
}
@media (min-width: 768px) {
  .store-grid .shop-old,
  .store-grid .old { font-size: 12px; }
}
.store-grid .shop-cta-wrap,
.store-grid .card-cta-wrap {
  padding: 0 14px 14px;
}
@media (min-width: 768px) {
  .store-grid .shop-cta-wrap,
  .store-grid .card-cta-wrap { padding: 0 16px 16px; }
}
.store-grid .shop-cta,
.store-grid .card-cta {
  background: transparent !important;
  color: #111 !important;
  border: 1.5px solid #111 !important;
  min-height: 38px;
  height: auto;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
}
@media (min-width: 768px) {
  .store-grid .shop-cta,
  .store-grid .card-cta {
    min-height: 42px;
    font-size: 13px;
    padding: 0 16px;
  }
}
.store-grid .shop-cta:hover,
.store-grid .card-cta:hover {
  background: rgba(17, 17, 17, .06) !important;
  color: #000 !important;
  border-color: #000 !important;
  filter: none;
}
.store-grid .shop-zap {
  color: currentColor;
}

/* ---------- Product detail ---------- */
.product-page-body { padding-bottom: 100px; }
@media (max-width: 767px) {
  .product-page-body { --page-gutter: 12px; }
}
.pd-section {
  padding-top: 24px;
  padding-bottom: 20px;
}
@media (min-width: 1024px) {
  .pd-section {
    padding-top: 32px;
    padding-bottom: 24px;
  }
}
.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 44px; }
  .pd-gallery {
    position: sticky;
    top: 108px;
    align-self: start;
    max-height: calc(100vh - 124px);
  }
}
.pd-gallery, .pd-info { min-width: 0; width: 100%; }
.pd-main-aspect {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--secondary);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.pd-main-aspect img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-main-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  user-select: none;
}
.pd-main-track::-webkit-scrollbar { display: none; }
.pd-main-slide { flex: 0 0 100%; width: 100%; height: 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.pd-main-track.pd-gallery-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.pd-main-track.pd-gallery-dragging * { pointer-events: none; }
.pd-gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(36,24,29,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--foreground);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(36,24,29,.12);
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}
.pd-gallery-arrow:disabled { opacity: .35; cursor: default; }
.pd-gallery-prev { left: 12px; }
.pd-gallery-next { right: 12px; }
.pd-gallery-count { position: absolute; z-index: 2; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(36,24,29,.72); color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .04em; backdrop-filter: blur(8px); }
.pd-empty { display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.pd-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-top: 14px;
}
@media (min-width: 640px) { .pd-thumbs { gap: 11px; } }
.pd-thumb {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  padding: 0;
  border-radius: 8px;
  border: 2px solid rgba(241, 221, 229, .95);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease;
}
@media (min-width: 640px) {
  .pd-thumb { width: 78px; height: 78px; border-radius: 10px; }
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb-active { border-color: var(--primary); }
@media (max-width: 639px) {
  .pd-gallery-arrow { width: 36px; height: 36px; }
  .pd-gallery-prev { left: 9px; }
  .pd-gallery-next { right: 9px; }
  .pd-gallery-count { right: 9px; bottom: 9px; }
}

.pd-info {
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid #f0e3e8;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(36, 24, 29, .06);
}
@media (min-width: 768px) {
  .pd-info {
    gap: 20px;
    padding: 20px;
  }
}
@media (min-width: 1024px) {
  .pd-info {
    gap: 22px;
    padding: 22px;
  }
}
.pd-badge {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #d9467a;
  animation: pd-pulse-soft 3s ease-in-out infinite;
}
@keyframes pd-pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: .76; } }

.pd-title {
  margin: 0;
  font-size: clamp(23px, 4.2vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
}

.pd-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 14px; }
.pd-price { font-size: clamp(26px, 4vw, 32px); font-weight: 800; }
.pd-price-old {
  font-size: clamp(17px, 3vw, 22px);
  color: var(--muted);
  text-decoration: line-through;
}
.pd-discount-pill {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--destructive);
  color: #fff;
}

.pd-trust-strip {
  background: var(--trust-bg);
  color: var(--trust-fg);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}
.pd-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.pd-block { display: grid; gap: 12px; }
.pd-step-head { display: flex; align-items: center; gap: 10px; }
.pd-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.pd-step-label { font-size: 16px; font-weight: 650; color: var(--foreground); }

.pd-size-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-size-btn {
  min-width: 52px;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s ease;
}
.pd-size-btn:hover { border-color: rgba(89, 168, 93, .65); }
.pd-size-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.pd-size-hint { margin: -4px 0 0; font-size: 13px; color: var(--muted); }

.pd-ready {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 10px;
  border: 1px solid rgba(89, 168, 93, .23);
  background: rgba(89, 168, 93, .06);
  padding: 16px;
}
.pd-ready-icon { flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.pd-ready-title { margin: 0; font-size: 14px; font-weight: 700; color: var(--foreground); }
.pd-ready-desc { margin: 4px 0 0; font-size: 12px; color: var(--muted); line-height: 1.55; }

.pd-payment-card {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 12px;
}
.pd-payment-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}
.pd-pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pd-pay-pill {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
.pd-pay-visa span {
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.06em;
  color: #1a1f71;
}
.pd-pay-mc { gap: 0; padding: 0 9px; }
.pd-mc-l, .pd-mc-r {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}
.pd-mc-l { background: #eb001b; margin-right: -8px; }
.pd-mc-r { background: #f79e1b; mix-blend-mode: multiply; }
.pd-pay-amex { border: 0 !important; background: #2e77bb !important; padding: 0 12px !important; }
.pd-pay-amex span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
}
.pd-pay-apple {
  gap: 6px;
  background: #000 !important;
  border-color: #000 !important;
  padding: 0 13px !important;
}
.pd-apple-icon { width: 15px; height: 15px; color: #fff; flex-shrink: 0; display: block; }
.pd-apple-pay { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pd-secure-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .015em;
}

.pd-ship-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 10px;
}
.pd-ship-icon { flex-shrink: 0; margin-top: 3px; }
.pd-ship-strong { color: var(--foreground); font-weight: 700; }

.pd-buy-wrap { padding-top: 2px; }
.pd-buy-btn {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(29, 78, 216, .22);
}
.pd-buy-btn:hover { background: var(--blue-hover) !important; border-color: var(--blue-hover) !important; }
.pd-buy-btn:visited { color: #fff; }

/* Main PDP buy button — blue */
.pd-info a.pd-buy-btn,
a#buyNowLink.pd-buy-btn {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}
.pd-info a.pd-buy-btn:hover,
a#buyNowLink.pd-buy-btn:hover {
  background: var(--blue-hover) !important;
  border-color: var(--blue-hover) !important;
}

.pd-support-section {
  padding-top: 0;
  padding-bottom: 56px;
}
@media (min-width: 768px) {
  .pd-support-section { padding-bottom: 72px; }
}

.pd-features {
  padding-top: 14px;
  border-top: 1px solid rgba(241, 221, 229, .72);
  margin-top: 8px;
}
.pd-features-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--foreground);
}
.pd-features-ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pd-features-ul li {
  margin: 0;
  font-size: 14px;
  line-height: 1.52;
  color: var(--foreground);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.pd-feature-ic { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

.pd-desc-section {
  background: var(--section-alt);
  padding-top: 36px;
  padding-bottom: 44px;
}
@media (min-width: 768px) {
  .pd-desc-section {
    padding-top: 46px;
    padding-bottom: 52px;
  }
}
.pd-desc-inner {
  max-width: 720px;
  margin: 0 auto;
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.pd-why-section {
  padding-top: 40px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .pd-why-section {
    padding-top: 48px;
    padding-bottom: 64px;
  }
}
.pd-section-title {
  margin: 0 auto 26px;
  text-align: center;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--foreground);
  max-width: 720px;
}
.pd-why-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pd-why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 24px;
    max-width: 1100px;
  }
}
.pd-why-card {
  text-align: center;
  padding: 24px 20px;
  border-radius: 10px;
  background: var(--secondary);
}
.pd-why-icon { font-size: 30px; line-height: 1; margin-bottom: 10px; display: block; }
.pd-why-h { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--foreground); }
.pd-why-p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }

.pd-faq-section {
  padding-top: 0;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .pd-faq-section { padding-bottom: 64px; }
}
.pd-accordion {
  max-width: 672px;
  margin: 26px auto 0;
  border-top: 1px solid var(--border);
}
.pd-acc-item { border-bottom: 1px solid var(--border); }
.pd-acc-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
}
.pd-acc-item summary::-webkit-details-marker { display: none; }
.pd-acc-chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: rgba(36, 24, 29, .62);
  transition: transform .22s ease;
}
.pd-acc-item[open] .pd-acc-chev { transform: rotate(180deg); }
.pd-acc-body { padding-bottom: 16px; font-size: 14px; line-height: 1.62; color: var(--muted); }

.pd-icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.pd-icon-md { width: 22px; height: 22px; flex-shrink: 0; }

/* Reviews */
.reviews-wrap {
  background: var(--section-alt);
  padding-top: 42px;
  padding-bottom: 62px;
}
@media (min-width: 768px) {
  .reviews-wrap {
    padding-top: 56px;
    padding-bottom: 74px;
  }
}
.reviews-head { text-align: center; margin-bottom: 32px; }
.reviews-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(89, 168, 93, .11);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
}
.reviews-star-ic { width: 14px; height: 14px; fill: currentColor; }
.reviews-title {
  margin: 12px 0 8px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--foreground);
}
.reviews-sub { margin: 0 auto; font-size: 14px; color: var(--muted); max-width: 560px; }
.reviews-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }
}
@media (min-width: 1100px) {
  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 26px;
  }
}
.review-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 21px 20px;
  box-shadow: 0 1px 2px rgba(36, 24, 29, .06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars { display: flex; gap: 3px; }
.review-star { width: 16px; height: 16px; color: #facc15; display: block; }
.review-photo-wrap { border-radius: 8px; overflow: hidden; background: var(--secondary); }
.review-photo {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: var(--secondary);
}
.review-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--foreground);
  flex: 1;
}
.review-footer {
  padding-top: 10px;
  border-top: 1px solid rgba(241, 221, 229, .82);
  display: flex;
  align-items: center;
  gap: 9px;
}
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(89, 168, 93, .12);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.review-name { margin: 0; font-size: 14px; font-weight: 650; color: var(--foreground); }

.sticky-spacer { height: 76px; }
@media (min-width: 640px) { .sticky-spacer { height: 90px; } }

.sticky-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  border-top: 1px solid rgba(241, 221, 229, .92);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 30px rgba(36, 24, 29, .06);
}
/* Vertical only — same element as .container; shorthand must not zero horizontal gutters */
.sticky-bar-inner {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
}
.sticky-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
@media (min-width: 640px) { .sticky-thumb { width: 56px; height: 56px; border-radius: 10px; } }
.sticky-text { flex: 1; min-width: 0; }
.sticky-name {
  margin: 0 0 2px;
  font-size: clamp(11px, 2.9vw, 14px);
  font-weight: 650;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-price {
  margin: 0;
  font-size: clamp(14px, 3.8vw, 17px);
  font-weight: 800;
  color: var(--foreground);
}
.sticky-buy-btn {
  min-height: 44px;
  flex-shrink: 0;
  padding: 0 16px !important;
  border-radius: 10px !important;
  background: transparent !important;
  border: 1.5px solid #111 !important;
  color: #111 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  gap: 7px !important;
  box-shadow: none !important;
}
.sticky-buy-btn .pd-icon-sm {
  color: currentColor;
}
@media (min-width: 640px) { .sticky-buy-btn { padding: 0 22px !important; } }
.sticky-buy-btn:hover {
  background: rgba(17, 17, 17, .07) !important;
  border-color: #000 !important;
  color: #000 !important;
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 40px 0 72px;
  width: 100%;
  background:
    radial-gradient(circle at 0% 0%, rgba(89, 168, 93, .05), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(217, 70, 122, .05), transparent 45%),
    var(--gray-50);
  min-height: calc(100vh - 320px);
}
@media (min-width: 768px) { .legal-page { padding: 64px 0 96px; } }
.legal-container { max-width: 880px; margin: 0 auto; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  justify-content: center;
}
.legal-nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  background: #fff;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.legal-nav-link:hover {
  color: var(--primary);
  border-color: rgba(89, 168, 93, .4);
}
.legal-nav-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.legal-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 10px 35px rgba(36, 24, 29, .07);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.legal-title {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--foreground);
}
.legal-meta { margin: 0.35rem 0 1.75rem; font-size: 13px; color: var(--muted); }
.legal-prose { font-size: 14px; line-height: 1.72; color: #5c4f55; }
@media (min-width: 640px) { .legal-prose { font-size: 15px; } }
.legal-prose h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--foreground);
}
.legal-prose h2:first-of-type { margin-top: 0; }
.legal-prose h3 {
  margin: 1.35rem 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--foreground);
}
.legal-prose p { margin: 0 0 1rem; }
.legal-prose ul { margin: 0 0 1rem; padding-left: 1.35rem; list-style: disc; }
.legal-prose li { margin-bottom: 0.45rem; }
.legal-prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.legal-footer-note {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.legal-footer-note a { color: var(--primary); text-decoration: underline; }

/* ---------- Admin dashboard ---------- */
body.admin-body {
  background: var(--gray-100);
  min-height: 100vh;
  color: var(--gray-900);
}

.admin-shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}
@media (min-width: 1024px) {
  .admin-shell {
    grid-template-columns: 240px 1fr;
  }
}
.admin-sidebar {
  background: var(--gray-900);
  color: #cbd5e1;
  padding: 22px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1024px) {
  .admin-sidebar { position: sticky; top: 0; height: 100vh; }
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.admin-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #80cb73);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
}
.admin-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.admin-brand-text strong { color: #fff; font-weight: 800; font-size: 14px; }
.admin-brand-text span { color: var(--gray-400); font-size: 12px; }

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  background: transparent;
  text-align: left;
  transition: background .15s ease, color .15s ease;
}
.admin-nav-link:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
.admin-nav-active {
  background: rgba(89, 168, 93, .15);
  color: #fff;
}
.admin-nav-active::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--primary);
  border-radius: 2px;
  margin-left: -12px;
  margin-right: 9px;
}
.admin-nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.admin-sidebar-foot {
  margin-top: auto;
  font-size: 11px;
  color: var(--gray-400);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-sidebar-foot a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-main {
  padding: 22px clamp(16px, 3vw, 36px) 64px;
  width: 100%;
  min-width: 0;
}
.admin-topbar-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 22px;
}
.admin-headline { display: flex; flex-direction: column; min-width: 0; }
.admin-headline h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.02em;
}
.admin-headline-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--gray-500);
}
.admin-topbar-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  height: 40px;
  border-radius: 8px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.admin-btn-primary:hover { filter: brightness(.95); }
.admin-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.admin-btn-outline:hover {
  border-color: var(--gray-300);
  color: var(--gray-900);
}

.admin-flash {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: rgba(89, 168, 93, .12);
  border: 1px solid rgba(89, 168, 93, .4);
  border-radius: 10px;
  color: #244e26;
  font-size: 14px;
  font-weight: 600;
}
.admin-flash-error {
  background: rgba(239, 68, 68, .1);
  border-color: rgba(239, 68, 68, .35);
  color: #7a1d1d;
}

.admin-stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}
@media (min-width: 700px) {
  .admin-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
.admin-stat-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  padding: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-stat-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.admin-stat-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
}
.admin-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(89, 168, 93, .12);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.admin-stat-icon svg { width: 16px; height: 16px; }
.admin-stat-value {
  margin: 2px 0 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.03em;
}
.admin-stat-value-sm { font-size: 14px; font-weight: 700; line-height: 1.4; }
.admin-stat-hint { margin: 4px 0 0; font-size: 12px; color: var(--gray-400); }
.admin-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}
.admin-dot-on { background: var(--primary); }
.admin-dot-off { background: var(--gray-300); }

.admin-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}
.admin-card-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

.admin-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .admin-form-grid { grid-template-columns: 1fr 1fr; } }
.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-field-full { grid-column: 1 / -1; }
.admin-field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-700);
}
.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--gray-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(89, 168, 93, .18);
}
.admin-field textarea { min-height: 110px; resize: vertical; }
.admin-tier-list { display: grid; gap: 10px; margin-bottom: 12px; }
.admin-tier-row { display: grid; grid-template-columns: 1fr 140px minmax(220px, 2fr) 36px; gap: 10px; align-items: end; padding: 12px; border: 1px solid var(--gray-200); border-radius: 10px; background: var(--gray-50); }
.admin-tier-remove { width: 36px; height: 40px; border: 1px solid var(--gray-200); border-radius: 8px; background: #fff; color: var(--destructive); font-size: 20px; cursor: pointer; }
@media (max-width: 760px) {
  .admin-tier-row { grid-template-columns: 1fr 100px 36px; }
  .admin-tier-url { grid-column: 1 / -1; grid-row: 2; }
}
.admin-field-hint { font-size: 12px; color: var(--gray-500); margin: 0; }
.admin-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.admin-live-dot { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: #46a35a; box-shadow: 0 0 0 4px rgba(70,163,90,.13); vertical-align: 1px; }
.admin-checkout-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-checkout-total { font-size: 12px; color: var(--gray-500); }
.admin-checkout-feed { display: grid; gap: 9px; }
.admin-checkout-empty { padding: 26px; border: 1px dashed var(--gray-300); border-radius: 10px; color: var(--gray-500); text-align: center; font-size: 13px; }
.admin-checkout-event { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 13px 14px; border: 1px solid var(--gray-200); border-radius: 11px; background: var(--gray-50); }
.admin-checkout-event-new { animation: admin-checkout-highlight 2.4s ease-out; }
.admin-checkout-event-price { font-size: 19px; font-weight: 800; color: var(--gray-900); }
.admin-checkout-event-main { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.admin-checkout-event-main strong { font-size: 13px; color: var(--gray-900); }
.admin-checkout-event-main span { font-size: 12px; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-checkout-event-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; color: var(--gray-400); font-size: 11px; }
.admin-checkout-event-meta span { padding: 2px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--gray-200); color: var(--gray-600); font-weight: 700; }
.admin-checkout-toast { position: fixed; z-index: 200; right: 20px; top: 20px; display: flex; flex-direction: column; gap: 3px; min-width: 270px; max-width: min(390px, calc(100vw - 32px)); padding: 15px 17px; border-radius: 12px; background: #17211b; color: #fff; box-shadow: 0 16px 42px rgba(15,23,42,.22); transform: translateY(-16px); opacity: 0; transition: .25s ease; }
.admin-checkout-toast-show { transform: translateY(0); opacity: 1; }
.admin-checkout-toast strong { font-size: 14px; }
.admin-checkout-toast span { color: rgba(255,255,255,.72); font-size: 12px; }
@keyframes admin-checkout-highlight { from { border-color: #67b874; background: rgba(89,168,93,.15); } to { border-color: var(--gray-200); background: var(--gray-50); } }
.admin-live-card{overflow:hidden}.admin-live-updated{padding:7px 10px;border-radius:999px;background:#eef8f0;color:#28783a;font-size:11px;font-weight:750;white-space:nowrap}
.admin-live-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px}.admin-live-stat{min-width:0;padding:15px;border:1px solid var(--gray-200);border-radius:12px;background:linear-gradient(145deg,#fff,#fafbfc);display:flex;flex-direction:column;gap:3px}.admin-live-stat span{font-size:11px;color:var(--gray-500);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.admin-live-stat strong{font-size:27px;line-height:1;color:var(--gray-900)}.admin-live-stat small{font-size:10px;color:var(--gray-400)}.admin-live-stat-online{border-color:#bde2c5;background:linear-gradient(145deg,#f5fff7,#edf9f0)}.admin-live-stat-online strong{color:#237437}
.admin-live-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:14px;margin-bottom:14px}.admin-live-panel{border:1px solid var(--gray-200);border-radius:12px;background:#fff;overflow:hidden}.admin-live-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid var(--gray-200);background:var(--gray-50)}.admin-live-panel-head h3{margin:0;font-size:13px;color:var(--gray-900)}.admin-live-panel-head span{font-size:10px;color:var(--gray-400);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.admin-live-empty{padding:28px 16px;color:var(--gray-400);text-align:center;font-size:12px}
.admin-live-visitors{max-height:380px;overflow:auto}.admin-live-visitor{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--gray-100)}.admin-live-visitor:last-child{border-bottom:0}.admin-live-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#f1e9ed;color:#9d3d69;font-size:10px;font-weight:850}.admin-live-visitor-main{display:flex;flex-direction:column;min-width:0;gap:2px}.admin-live-visitor-main strong{color:var(--gray-900);font-size:12px}.admin-live-visitor-main a{color:#2c5f91;font-size:12px;text-decoration:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-live-visitor-main small{color:var(--gray-400);font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-live-visitor-tail{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.admin-live-visitor-tail span{padding:3px 7px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.admin-live-cart{color:#8b4f05;background:#fff3d7}.admin-live-browsing{color:#2b7040;background:#ebf8ee}.admin-live-visitor-tail time{color:var(--gray-400);font-size:9px}
.admin-live-pages{padding:5px 14px 9px}.admin-live-page{display:grid;grid-template-columns:21px minmax(0,1fr) 30px;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid var(--gray-100)}.admin-live-page:last-child{border-bottom:0}.admin-live-page-rank{font-size:10px;color:var(--gray-400);font-weight:800}.admin-live-page>div{min-width:0;display:grid;gap:2px;position:relative;padding-bottom:6px}.admin-live-page strong,.admin-live-page small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-live-page strong{color:var(--gray-800);font-size:11px}.admin-live-page small{color:var(--gray-400);font-size:9px}.admin-live-page i{position:absolute;left:0;bottom:0;height:2px;border-radius:2px;background:#d4779d}.admin-live-page b{text-align:right;color:var(--gray-700);font-size:12px}
.admin-live-activity-panel{margin-top:0}.admin-live-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:430px;overflow:auto}.admin-live-event{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 14px;border-bottom:1px solid var(--gray-100)}.admin-live-event:nth-child(odd){border-right:1px solid var(--gray-100)}.admin-live-event-icon{width:9px;height:9px;border-radius:50%;background:#91a2b3;box-shadow:0 0 0 3px #edf1f5}.admin-live-event-add_to_cart .admin-live-event-icon{background:#e39c36;box-shadow:0 0 0 3px #fff0d8}.admin-live-event-checkout .admin-live-event-icon{background:#45a55f;box-shadow:0 0 0 3px #e2f4e7}.admin-live-event>div{min-width:0;display:flex;flex-direction:column;gap:1px}.admin-live-event strong{color:var(--gray-800);font-size:11px}.admin-live-event a{color:#2c5f91;font-size:11px;text-decoration:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-live-event small{color:var(--gray-400);font-size:9px}.admin-live-event>b{color:var(--gray-900);font-size:11px}
@media (max-width:1000px){.admin-live-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-live-columns{grid-template-columns:1fr}}
@media (max-width: 680px) {
  .admin-checkout-event { grid-template-columns: 78px minmax(0,1fr); }
  .admin-checkout-event-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .admin-checkout-toast { right: 16px; top: 16px; }
  .admin-live-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-live-stat:first-child{grid-column:1/-1}.admin-live-events{grid-template-columns:1fr}.admin-live-event:nth-child(odd){border-right:0}.admin-live-visitor{grid-template-columns:32px minmax(0,1fr)}.admin-live-visitor-tail{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}
}

.admin-login {
  min-height: calc(100vh - 0px);
  display: grid;
  place-items: center;
  padding: 32px 16px;
}
.admin-login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, .07);
  text-align: left;
}
.admin-login-card h1 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
}
.admin-login-card p { margin: 0 0 18px; font-size: 13px; color: var(--gray-500); }

/* Sortable / drag */
.admin-order-hint {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0 0 12px;
}
.admin-sortable {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.admin-sort-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  cursor: default;
}
.admin-sort-item:hover {
  border-color: var(--gray-300);
  background: #fff;
}
.sortable-drag {
  opacity: 1;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .14);
}
.sortable-ghost {
  opacity: 0.45;
  background: #eef2ff !important;
}
.admin-drag-handle {
  touch-action: none;
  cursor: grab;
  user-select: none;
  padding: 4px 6px;
  color: var(--gray-400);
  font-size: 16px;
  line-height: 1;
  letter-spacing: -4px;
}
.admin-drag-handle:active { cursor: grabbing; }
.admin-sort-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gray-100);
  object-fit: cover;
  flex-shrink: 0;
}
.admin-sort-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.admin-sort-body strong {
  font-size: 14px;
  color: var(--gray-900);
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-sort-meta {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
}
.admin-sort-slug {
  font-size: 11px;
  color: var(--gray-400);
  flex-shrink: 0;
  display: none;
  font-family: ui-monospace, SFMono-Regular, monospace;
}
@media (min-width: 768px) {
  .admin-sort-slug {
    display: inline-block;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.admin-order-ta {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Product editor row */
.admin-product-row {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}
.admin-product-row[open] { border-color: rgba(89, 168, 93, .35); }
.admin-product-row > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-900);
}
.admin-product-row > summary::-webkit-details-marker { display: none; }
.admin-product-row .admin-prod-meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}
.admin-product-row > summary::after {
  content: "▾";
  color: var(--gray-400);
  font-size: 12px;
}
.admin-product-row[open] > summary::after { content: "▴"; }
.admin-product-row .admin-prod-form {
  padding: 16px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* ---------- Cart drawer ---------- */
.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--foreground);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
}
.cart-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-trigger-label { display: none; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 11px;
}
.cart-count-active { background: var(--primary); color: #fff; }
@media (min-width: 900px) { .cart-trigger-label { display: inline; } }
.cart-lock { overflow: hidden; }
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, .42);
  opacity: 0;
  transition: opacity .18s ease;
}
.cart-overlay-open { opacity: 1; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  height: 100dvh;
  background: #fff;
  box-shadow: -20px 0 60px rgba(15, 23, 42, .16);
  transform: translateX(105%);
  transition: transform .22s ease;
}
.cart-drawer-open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-head h2 { margin: 1px 0 0; font-size: 24px; line-height: 1.15; }
.cart-eyebrow { margin: 0; color: var(--primary); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.cart-close { border: 0; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; color: var(--muted); }
.cart-collection-note { margin: 14px 22px 0; padding: 10px 12px; border-radius: 10px; background: var(--secondary); color: var(--foreground); font-size: 12px; font-weight: 700; }
.cart-items { flex: 1; overflow: auto; padding: 6px 22px 22px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-line > img { width: 84px; height: 104px; object-fit: cover; border-radius: 10px; background: var(--gray-50); }
.cart-line-title-row { display: flex; gap: 8px; align-items: start; }
.cart-line-title-row h3 { margin: 0; font-size: 14px; line-height: 1.35; flex: 1; }
.cart-line-title-row button { border: 0; background: transparent; color: var(--gray-400); font-size: 20px; cursor: pointer; }
.cart-line-plan { margin: 5px 0 8px; color: var(--primary); font-size: 12px; font-weight: 700; }
.cart-line-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.cart-line-options li { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); }
.cart-line-options strong { color: var(--foreground); font-weight: 600; text-align: right; }
.cart-empty { flex: 1; display: grid; place-content: center; text-align: center; padding: 36px; }
.cart-empty[hidden] { display: none; }
.cart-empty-icon { font-size: 42px; color: var(--primary); }
.cart-empty h3 { margin: 8px 0 4px; font-size: 20px; }
.cart-empty p { margin: 0; color: var(--muted); }
.cart-drawer-foot { padding: 16px 22px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: #fff; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); }
.cart-summary-total { margin-top: 9px; color: var(--foreground); font-size: 19px; }
.cart-checkout-help { min-height: 18px; margin: 8px 0 12px; color: var(--muted); font-size: 11px; }
.cart-checkout-btn { width: 100%; border-radius: 10px; }
.cart-checkout-disabled { opacity: .48; cursor: not-allowed; }
.cart-continue { width: 100%; margin-top: 10px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }

/* ---------- Bundle and save ---------- */
.bundle-builder { margin-top: 4px; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(180deg, #fff, #fffafb); }
.bundle-builder-head { margin-bottom: 13px; }
.bundle-builder-head h3 { margin: 0; font-size: 18px; }
.bundle-builder-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.bundle-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bundle-plan { position: relative; padding: 12px 8px; border: 1px solid var(--border); border-radius: 12px; background: #fff; text-align: center; cursor: pointer; }
.bundle-plan input { position: absolute; opacity: 0; pointer-events: none; }
.bundle-plan strong, .bundle-plan span { display: block; }
.bundle-plan strong { font-size: 14px; }
.bundle-plan span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.bundle-plan:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(89,168,93,.15); background: #f7fff7; }
.bundle-save { display: inline-block; margin-top: 5px; padding: 2px 6px; border-radius: 999px; background: var(--primary); color: #fff !important; font-size: 9px !important; font-weight: 800; }
.bundle-selectors { display: grid; gap: 9px; margin-top: 14px; }
.bundle-plans > .bundle-selectors { grid-column: 1 / -1; min-width: 0; margin-top: 0; }
.bundle-piece { display: grid; grid-template-columns: 56px minmax(0, 1.55fr) minmax(100px, 1fr); gap: 10px; align-items: end; padding-top: 11px; border-top: 1px solid var(--border); }
.bundle-piece-num { align-self: center; color: var(--muted); font-size: 11px; font-weight: 800; }
.bundle-field { min-width: 0; }
.bundle-field label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.bundle-field select { width: 100%; min-width: 0; height: 40px; padding: 0 9px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--foreground); font: inherit; font-size: 12px; }
.product-color-visualizer { padding: 15px; border: 1px solid var(--border); border-radius: 14px; background: #fffafb; }
.product-color-visualizer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.product-color-visualizer-head > div { min-width: 0; }
.product-color-visualizer-head span, .product-color-visualizer-head strong { display: block; }
.product-color-visualizer-head span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-color-visualizer-head strong { margin-top: 2px; font-size: 14px; }
.product-color-visualizer-head small { max-width: 230px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: right; }
.product-preview-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.product-preview-swatch { position: relative; display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; padding: 3px; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.product-preview-swatch:hover { transform: translateY(-1px); }
.product-preview-swatch:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.product-preview-swatch > span:first-child { width: 30px; height: 30px; border: 1px solid rgba(0,0,0,.14); border-radius: 50%; background: var(--swatch-background); box-shadow: inset 0 0 0 2px rgba(255,255,255,.46); }
.product-preview-swatch > img { display: block; width: 30px; height: 30px; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; object-fit: cover; }
.product-preview-swatch-active { border-color: var(--foreground); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--foreground); }
.product-preview-swatch-active::after { position: absolute; right: -2px; bottom: -2px; display: grid; width: 15px; height: 15px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--foreground); color: #fff; content: '\2713'; font-size: 8px; font-weight: 900; }
.bundle-error { margin: 10px 0 0; color: var(--destructive); font-size: 12px; font-weight: 600; }
.bundle-add-btn { width: 100%; margin-top: 14px; border-radius: 10px; }
@media (max-width: 420px) {
  .bundle-builder { padding: 14px; }
  .bundle-plans { grid-template-columns: 1fr; }
  .bundle-plan { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 10px 12px; text-align: left; }
  .bundle-plan strong, .bundle-plan span { margin: 0; }
  .bundle-plan .bundle-save { grid-column: 1 / -1; justify-self: start; margin-top: 3px; }
  .bundle-plans > .bundle-selectors { padding: 2px 2px 5px; }
  .bundle-piece { grid-template-columns: minmax(0, 1.65fr) minmax(72px, .62fr); gap: 8px; }
  .bundle-piece-num { grid-column: 1 / -1; align-self: auto; }
  .bundle-color-field { grid-column: 1; }
  .bundle-size-field { grid-column: 2; }
  .bundle-field select { padding-right: 26px; padding-left: 8px; }
  .product-color-visualizer-head { display: block; }
  .product-color-visualizer-head small { display: block; max-width: none; margin-top: 5px; text-align: left; }
}
.collection-tabs { display: flex; gap: 8px; overflow-x: auto; margin: -4px 0 22px; padding-bottom: 3px; scrollbar-width: none; }
.collection-tabs::-webkit-scrollbar { display: none; }
.collection-tabs a { flex: 0 0 auto; padding: 9px 15px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 700; }
.collection-tabs .collection-tab-active { border-color: var(--primary); background: var(--primary); color: #fff; }

/* ---------- Product-specific editorial content ---------- */
.pd-performance-facts { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.pd-performance-facts > div { min-width: 0; padding: 10px 8px; text-align: center; }
.pd-performance-facts > div + div { border-left: 1px solid var(--border); }
.pd-performance-facts span, .pd-performance-facts strong { display: block; }
.pd-performance-facts span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pd-performance-facts strong { margin-top: 3px; color: var(--foreground); font-size: 12px; }
.product-story-section, .product-video-section { content-visibility: auto; contain-intrinsic-size: 900px; padding: 72px 0; }
.product-story-section { border-top: 1px solid var(--border); background: linear-gradient(180deg, #fff 0%, #fff8f8 100%); }
.product-story-head, .product-video-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.product-story-kicker { margin: 0 0 8px; color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.product-story-head h2, .product-video-head h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.product-story-head > p:last-child, .product-video-head > p:last-child { margin: 14px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.product-highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-highlight-card { padding: 24px 20px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.86); box-shadow: 0 12px 34px rgba(27,31,43,.05); }
.product-highlight-icon { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 18px; border-radius: 11px; background: var(--secondary); color: var(--primary); font-size: 19px; font-weight: 800; }
.product-highlight-card h3, .product-details-card h3, .product-guidance-card h3, .product-video-card h3, .review-product-title { margin: 0; color: var(--foreground); }
.product-highlight-card h3 { font-size: 16px; }
.product-highlight-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.product-information-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; margin-top: 18px; }
.product-details-card, .product-guidance-card { border: 1px solid var(--border); border-radius: 18px; background: #fff; }
.product-details-card { padding: 26px; }
.product-details-card h3 { margin-bottom: 16px; font-size: 20px; }
.product-details-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.product-details-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.product-details-card dt { color: var(--muted); font-weight: 600; }
.product-details-card dd { margin: 0; color: var(--foreground); font-weight: 750; text-align: right; }
.product-guidance-stack { display: grid; gap: 18px; }
.product-guidance-card { display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-content: center; padding: 24px; }
.product-guidance-card > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--secondary); color: var(--primary); font-size: 22px; }
.product-guidance-card h3 { font-size: 18px; }
.product-guidance-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.product-video-section { border-top: 1px solid var(--border); background: linear-gradient(180deg, #fff 0%, #fbf5f7 100%); color: var(--foreground); }
.product-video-section .product-story-kicker { color: var(--primary); }
.product-video-head h2 { color: var(--foreground); }
.product-video-head > p:last-child { color: var(--muted); }
.product-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 950px; margin: 0 auto; }
.product-video-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: #1a1e29; box-shadow: 0 18px 54px rgba(0,0,0,.25); }
.product-video-card video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #090b10; }
.product-video-card > div { padding: 20px 22px 23px; }
.product-video-card h3 { color: #fff; font-size: 18px; }
.product-video-card p { margin: 7px 0 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.55; }
.review-product-title { margin-top: 12px; font-size: 15px; line-height: 1.35; }

@media (max-width: 860px) {
  .product-highlight-grid { grid-template-columns: 1fr 1fr; }
  .product-information-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .product-story-section, .product-video-section { padding: 48px 0; }
  .product-highlight-grid, .product-video-grid { grid-template-columns: 1fr; }
  .product-highlight-card { padding: 20px 18px; }
  .product-details-card { padding: 20px; }
  .product-details-card dl { grid-template-columns: 1fr; }
  .product-video-card > div { padding: 17px 18px 20px; }
  .pd-performance-facts strong { font-size: 11px; }
}

/* ---------- Siléor immersive product page ---------- */
.product-page-body { overflow-x: clip; }
.product-page-body video { display: block; max-width: 100%; }
.product-education-section { content-visibility: auto; contain-intrinsic-size: 2400px; padding: 82px 0; background: #fff; }
.product-education-head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.product-education-head h2 { margin: 0; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -.045em; }
.product-education-head > p:last-child { margin: 16px auto 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.product-education-stack { display: grid; gap: 24px; }
.product-education-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; min-height: 510px; border: 1px solid var(--border); border-radius: 26px; background: #fff9fb; box-shadow: 0 22px 60px rgba(48,25,35,.07); }
.product-education-row-reverse figure { order: 2; }
.product-education-row figure { min-width: 0; margin: 0; background: var(--secondary); }
.product-education-row figure img { width: 100%; height: 100%; object-fit: cover; }
.product-education-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 68px); }
.product-education-copy > span { color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.product-education-copy h3 { max-width: 560px; margin: 11px 0 0; font-size: clamp(25px, 3.1vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.product-education-copy > p { margin: 17px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.product-education-copy ul { display: grid; gap: 11px; margin: 24px 0 0; padding: 0; list-style: none; }
.product-education-copy li { position: relative; padding-left: 28px; font-size: 13px; font-weight: 650; line-height: 1.5; }
.product-education-copy li::before { position: absolute; top: 1px; left: 0; display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: rgba(89,168,93,.13); color: var(--primary); content: '\2713'; font-size: 10px; font-weight: 900; }
.product-motion-explainer { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); overflow: hidden; margin-top: 24px; border: 1px solid var(--border); border-radius: 26px; background: linear-gradient(135deg, #f8f0f3, #fff); box-shadow: 0 18px 48px rgba(48,25,35,.06); }
.product-motion-explainer figure { display: grid; margin: 0; place-items: center; background: #f7f2f4; }
.product-motion-explainer img { width: 100%; height: 680px; object-fit: contain; }
.product-motion-explainer > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); }
.product-motion-explainer span { color: var(--primary); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.product-motion-explainer h3 { margin: 11px 0 0; font-size: clamp(25px, 3vw, 39px); line-height: 1.08; letter-spacing: -.035em; }
.product-motion-explainer p { margin: 17px 0 0; color: var(--muted); font-size: 14px; line-height: 1.72; }

.product-size-guide { margin-top: 70px; padding: clamp(26px, 4vw, 50px); border-radius: 26px; background: #17131a; color: #fff; }
.product-size-guide > header, .product-care-guide > header { display: flex; align-items: flex-start; gap: 18px; }
.product-size-guide > header > span, .product-care-guide > header > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #9bd39e; font-size: 11px; font-weight: 900; }
.product-size-guide h3, .product-care-guide h3 { margin: 0; font-size: clamp(23px, 3vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.product-size-guide header p { max-width: 650px; margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.6; }
.product-size-table-wrap { overflow: hidden; margin-top: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; }
.product-size-table-wrap table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.product-size-table-wrap th, .product-size-table-wrap td { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.86); font-size: 12px; text-align: left; overflow-wrap: anywhere; }
.product-size-table-wrap th { background: rgba(255,255,255,.08); color: #fff; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.product-size-table-wrap th:nth-child(1), .product-size-table-wrap td:nth-child(1) { width: 16%; }
.product-size-table-wrap th:nth-child(2), .product-size-table-wrap td:nth-child(2), .product-size-table-wrap th:nth-child(3), .product-size-table-wrap td:nth-child(3) { width: 18%; }
.product-size-table-wrap th:nth-child(4), .product-size-table-wrap td:nth-child(4) { width: 48%; }
.product-size-table-wrap tbody tr:last-child td { border-bottom: 0; }
.product-size-note { margin: 15px 0 0; color: #9bd39e; font-size: 12px; font-weight: 700; line-height: 1.55; }
.product-fit-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.product-fit-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(255,255,255,.05); }
.product-fit-steps li > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #fff; color: #17131a; font-size: 10px; font-weight: 900; }
.product-fit-steps strong { display: block; color: #fff; font-size: 13px; }
.product-fit-steps p { margin: 5px 0 0; color: rgba(255,255,255,.63); font-size: 11px; line-height: 1.55; }
.product-care-guide { margin-top: 24px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--border); border-radius: 26px; background: #fff9fb; }
.product-care-guide > header > span { border-color: var(--border); color: var(--primary); }
.product-care-guide > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 28px; }
.product-care-guide article { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.product-care-guide article strong { font-size: 13px; }
.product-care-guide article p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.product-video-section { overflow: hidden; padding: 82px 0; }
.product-video-head { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 0 0 36px; text-align: left; }
.product-video-head > div:first-child { max-width: 760px; }
.product-video-head > div:first-child > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.carousel-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.carousel-actions small { margin-right: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.carousel-actions button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--foreground); cursor: pointer; box-shadow: 0 6px 18px rgba(36,24,29,.06); transition: background .15s ease, transform .15s ease; }
.carousel-actions button:hover { background: var(--secondary); transform: translateY(-1px); }
.carousel-actions button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.short-video-viewport { width: 100%; overflow: visible; }
.short-video-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, calc((100% - 36px) / 3)); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 14px; cursor: grab; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-color: rgba(36,24,29,.25) transparent; scrollbar-width: thin; touch-action: pan-x pan-y; }
.short-video-card { position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--border); border-radius: 22px; background: #fff; box-shadow: 0 20px 55px rgba(56,34,43,.12); scroll-snap-align: start; }
.short-video-card video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #f2edef; }
.short-video-card > div { min-height: 112px; padding: 19px 20px 22px; }
.short-video-card h3 { margin: 0; color: var(--foreground); font-size: 17px; line-height: 1.3; }
.short-video-card p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.short-video-index { position: absolute; top: 14px; left: 14px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(59,112,62,.82); color: #fff; font-size: 10px; font-weight: 900; backdrop-filter: blur(8px); }
.short-video-track.carousel-is-dragging, .reviews-carousel-track.carousel-is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.short-video-track.carousel-is-dragging *, .reviews-carousel-track.carousel-is-dragging * { pointer-events: none; }

.reviews-wrap[data-carousel] { overflow: hidden; }
.reviews-wrap[data-carousel] .reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.reviews-wrap[data-carousel] .reviews-sub { margin-left: 0; }
.reviews-carousel-actions small { color: var(--muted); }
.reviews-carousel-actions button { border-color: var(--border); background: #fff; color: var(--foreground); }
.reviews-carousel-actions button:hover { background: var(--secondary); }
.reviews-viewport { width: 100%; overflow: visible; }
.reviews-carousel-track { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(275px, calc((100% - 36px) / 3)); gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 2px 2px 14px; cursor: grab; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-color: rgba(36,24,29,.25) transparent; scrollbar-width: thin; touch-action: pan-x pan-y; }
.reviews-carousel-track .review-card { min-width: 0; scroll-snap-align: start; }
.review-product-title { margin-top: 12px; font-size: 15px; line-height: 1.35; }

/* Compact Siléor explanation flow */
.product-explanation-section { padding: 56px 0; }
.product-explanation-section .product-story-head { margin-bottom: 26px; }
.product-explanation-section .product-highlight-grid { gap: 10px; }
.product-explanation-section .product-highlight-card { padding: 18px 16px; border-radius: 14px; box-shadow: none; }
.product-explanation-section .product-highlight-icon { width: 32px; height: 32px; margin-bottom: 12px; font-size: 16px; }
.product-explanation-section .product-highlight-card p { margin-top: 6px; font-size: 12px; line-height: 1.45; }
.product-explanation-section .product-motion-explainer { grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); margin-top: 24px; border-radius: 20px; box-shadow: none; }
.product-explanation-section .product-motion-explainer img { width: 100%; height: 430px; object-fit: contain; }
.product-explanation-section .product-motion-explainer > div { padding: clamp(28px, 4vw, 46px); }
.product-explanation-section .product-motion-explainer h3 { font-size: clamp(24px, 2.8vw, 34px); }
.product-explanation-section .product-motion-explainer p { margin-top: 13px; line-height: 1.62; }
.product-original-inspired { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: #fff; }
.product-feature-media { min-height: 720px; margin: 0; overflow: hidden; background: transparent; }
.product-feature-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-feature-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 34px clamp(30px, 4vw, 58px); text-align: center; }
.product-feature-copy .product-story-head { max-width: 560px; margin: 0 auto 24px; text-align: center; }
.product-feature-copy .product-story-head h2 { font-size: clamp(29px, 3.4vw, 43px); }
.product-feature-copy .product-story-head > p:last-child { font-size: 14px; line-height: 1.65; }
.product-feature-list { display: grid; gap: 2px; }
.product-feature-list article { padding: 11px 0; }
.product-feature-list article > span { display: grid; width: 36px; height: 36px; margin: 0 auto 8px; place-items: center; border-radius: 50%; background: var(--foreground); color: #fff; font-size: 15px; }
.product-feature-list h3 { margin: 0; color: var(--foreground); font-family: Georgia, 'Times New Roman', serif; font-size: 19px; font-weight: 600; line-height: 1.25; }
.product-feature-list p { max-width: 500px; margin: 5px auto 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-compact-accordion { max-width: none; margin: 24px 0 0; }
.product-info-accordion summary { padding: 18px 4px; font-size: 15px; font-weight: 750; }
.product-info-accordion .pd-acc-body { padding: 0 4px 20px; }
.product-compact-intro { max-width: 820px; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.62; }
.product-compact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; margin: 0; }
.product-compact-details > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.product-compact-details dt { color: var(--muted); font-weight: 600; }
.product-compact-details dd { margin: 0; color: var(--foreground); font-weight: 750; text-align: right; }
.product-compact-accordion .product-size-table-wrap { margin-top: 0; border-color: var(--border); }
.product-compact-accordion .product-size-table-wrap th,
.product-compact-accordion .product-size-table-wrap td { border-bottom-color: var(--border); color: var(--foreground); }
.product-compact-accordion .product-size-table-wrap th { background: var(--secondary); color: var(--foreground); }
.product-compact-accordion .product-size-note { color: var(--primary); }
.product-compact-accordion .product-fit-steps { gap: 10px; margin-top: 16px; }
.product-compact-accordion .product-fit-steps li { padding: 12px; border-color: var(--border); background: var(--secondary); }
.product-compact-accordion .product-fit-steps li > span { width: 26px; height: 26px; background: var(--foreground); color: #fff; }
.product-compact-accordion .product-fit-steps strong { color: var(--foreground); }
.product-compact-accordion .product-fit-steps p { color: var(--muted); }
.product-compact-care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.product-compact-care-grid article { padding: 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--secondary); }
.product-compact-care-grid strong { color: var(--foreground); font-size: 12px; }
.product-compact-care-grid p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.product-video-section { padding: 56px 0; }
.product-video-head { margin-bottom: 24px; }
.short-video-track { grid-auto-columns: minmax(210px, calc((100% - 54px) / 4)); }
.short-video-card { border-radius: 18px; box-shadow: 0 12px 32px rgba(56,34,43,.09); }
.short-video-card > div { min-height: 88px; padding: 14px 16px 16px; }
.short-video-card h3 { font-size: 14px; }
.short-video-card p { margin-top: 5px; font-size: 11px; line-height: 1.45; }
.reviews-wrap[data-carousel] { padding-top: 42px; padding-bottom: 52px; }

@media (max-width: 900px) {
  .product-education-row { min-height: 430px; }
  .product-care-guide > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .short-video-track { grid-auto-columns: minmax(260px, calc((100% - 18px) / 2)); }
  .reviews-carousel-track { grid-auto-columns: minmax(280px, calc((100% - 18px) / 2)); }
  .product-compact-care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .product-story-section, .product-education-section, .product-video-section { padding: 52px 0; }
  .product-story-head, .product-education-head { margin-bottom: 28px; text-align: left; }
  .product-story-head > p:last-child, .product-education-head > p:last-child { margin-left: 0; font-size: 14px; }
  .product-education-row, .product-education-row-reverse { grid-template-columns: 1fr; min-height: 0; }
  .product-education-row-reverse figure { order: 0; }
  .product-education-row figure { aspect-ratio: 1 / .88; }
  .product-education-copy { padding: 28px 24px 32px; }
  .product-motion-explainer { grid-template-columns: 1fr; border-radius: 20px; }
  .product-motion-explainer img { height: auto; aspect-ratio: 320 / 570; }
  .product-motion-explainer > div { padding: 28px 24px 32px; }
  .product-size-guide { margin-top: 42px; padding: 24px 16px; border-radius: 20px; }
  .product-size-guide > header, .product-care-guide > header { gap: 12px; }
  .product-size-guide > header > span, .product-care-guide > header > span { width: 34px; height: 34px; flex-basis: 34px; }
  .product-size-table-wrap th, .product-size-table-wrap td { padding: 11px 6px; font-size: 9px; }
  .product-size-table-wrap th { font-size: 8px; letter-spacing: .02em; }
  .product-fit-steps { grid-template-columns: 1fr; }
  .product-care-guide { padding: 24px 18px; border-radius: 20px; }
  .product-care-guide > div { grid-template-columns: 1fr; }
  .product-video-head { display: block; }
  .product-video-head .carousel-actions { margin-top: 18px; }
  .carousel-actions small { margin-right: auto; }
  .short-video-track { grid-auto-columns: min(82vw, 320px); }
  .short-video-card > div { min-height: 102px; }
  .reviews-wrap[data-carousel] .reviews-head { display: block; }
  .reviews-carousel-actions { margin-top: 18px; }
  .reviews-carousel-track { grid-auto-columns: min(84vw, 340px); }
  .product-explanation-section { padding: 38px 0; }
  .product-explanation-section .product-story-head { margin-bottom: 22px; }
  .product-explanation-section .product-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-explanation-section .product-highlight-card { padding: 14px 12px; }
  .product-explanation-section .product-highlight-card h3 { font-size: 14px; }
  .product-explanation-section .product-highlight-card p { font-size: 11px; }
  .product-explanation-section .product-motion-explainer { grid-template-columns: 1fr; }
  .product-explanation-section .product-motion-explainer img { width: auto; max-width: 100%; height: 390px; aspect-ratio: auto; }
  .product-explanation-section .product-motion-explainer > div { padding: 24px 20px 26px; }
  .product-original-inspired { grid-template-columns: 1fr; }
  .product-feature-media { min-height: 0; height: min(132vw, 540px); }
  .product-feature-copy { padding: 30px 8px 12px; }
  .product-feature-copy .product-story-head { margin-bottom: 18px; }
  .product-feature-copy .product-story-head h2 { font-size: clamp(27px, 8vw, 35px); }
  .product-feature-list article { padding: 10px 0; }
  .product-compact-details { grid-template-columns: 1fr; }
  .product-compact-accordion .product-fit-steps { grid-template-columns: 1fr; }
  .product-compact-accordion .product-fit-steps p { display: none; }
  .product-compact-care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .short-video-track { grid-auto-columns: min(70vw, 270px); }
  .reviews-carousel-track { grid-auto-columns: min(78vw, 320px); }
}

@media (max-width: 380px) {
  :root { --page-gutter: 16px; }
  .product-preview-swatches { gap: 7px; }
  .product-preview-swatch { width: 36px; height: 36px; flex-basis: 36px; }
  .product-preview-swatch > span:first-child { width: 28px; height: 28px; }
  .pd-performance-facts strong { font-size: 10px; }
  .product-education-copy { padding-right: 20px; padding-left: 20px; }
  .product-size-table-wrap th, .product-size-table-wrap td { padding-right: 4px; padding-left: 4px; font-size: 8px; }
  .short-video-track { grid-auto-columns: calc(100vw - 48px); }
  .reviews-carousel-track { grid-auto-columns: calc(100vw - 48px); }
  .sticky-bar-inner { gap: 8px; }
  .sticky-thumb { display: none; }
}

/* ---------- Beautifect Box editorial product page ---------- */
.beauty-product-page {
  --beauty-ink: #271f20;
  --beauty-blush: #c49a8d;
  --beauty-blush-deep: #9d7166;
  --beauty-cream: #f8f3f0;
  --beauty-line: #e5d8d3;
  background: #fffdfc;
  color: var(--beauty-ink);
}
.beauty-product-page .pd-title,
.beauty-story-section h2,
.beauty-product-page .product-video-head h2,
.beauty-product-page .reviews-title,
.beauty-product-page .pd-section-title {
  color: var(--beauty-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -.025em;
}
.beauty-product-page .pd-title { max-width: 560px; font-size: clamp(32px, 4vw, 50px); line-height: 1.02; }
.beauty-product-page .pd-badge { border-color: var(--beauty-line); background: var(--beauty-cream); color: var(--beauty-blush-deep); }
.beauty-product-page .pd-price { color: var(--beauty-ink); }
.beauty-product-page .pd-discount-pill { background: #ead9d4; color: #68433c; }
.beauty-product-page .product-color-visualizer { border-color: var(--beauty-line); background: #fff; }
.beauty-product-page .product-preview-swatch-active { border-color: var(--beauty-blush-deep); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--beauty-blush-deep); }
.beauty-product-page .product-preview-swatch-active::after { background: var(--beauty-blush-deep); }
.beauty-product-page .pd-performance-facts { border-color: var(--beauty-line); background: var(--beauty-cream); }
.beauty-product-page .pd-performance-facts strong { color: var(--beauty-ink); }

.beauty-single-purchase { margin-top: 4px; padding: 20px; border: 1px solid var(--beauty-line); border-radius: 18px; background: linear-gradient(145deg, #fff, #fbf5f2); box-shadow: 0 16px 38px rgba(69,42,38,.07); }
.beauty-purchase-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.beauty-purchase-head p { margin: 0 0 4px; color: #766361; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.beauty-purchase-head strong { display: block; color: var(--beauty-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 500; }
.beauty-purchase-head > span { color: var(--beauty-ink); font-size: 21px; font-weight: 850; }
.beauty-purchase-note { margin: 13px 0 16px; color: #746563; font-size: 12px; line-height: 1.55; }
.beauty-add-btn { width: 100%; min-height: 50px; border: 1px solid var(--beauty-ink) !important; border-radius: 999px !important; background: var(--beauty-ink) !important; color: #fff !important; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .02em; box-shadow: 0 10px 22px rgba(39,31,32,.16); }
.beauty-add-btn:hover { transform: translateY(-1px); background: #443536 !important; }
.beauty-bundle-purchase { margin-top: 4px; padding: 20px; border: 1px solid var(--beauty-line); border-radius: 20px; background: linear-gradient(145deg, #fff, #fbf5f2); box-shadow: 0 16px 38px rgba(69,42,38,.07); }
.beauty-bundle-head { margin-bottom: 15px; }
.beauty-bundle-head .product-story-kicker { margin: 0 0 6px; color: var(--beauty-blush-deep); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.beauty-bundle-head .product-story-kicker strong { color: var(--beauty-ink); }
.beauty-bundle-head h3 { margin: 0; color: var(--beauty-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 500; line-height: 1.12; }
.beauty-bundle-head > p:last-child { margin: 7px 0 0; color: #746563; font-size: 12px; line-height: 1.55; }
.beauty-plan-list { display: grid; gap: 10px; }
.beauty-plan-card { position: relative; display: grid; grid-template-columns: 24px 62px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 94px; padding: 12px 14px; overflow: hidden; border: 1px solid var(--beauty-line); border-radius: 16px; background: rgba(255,255,255,.82); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease; }
.beauty-plan-card:hover { border-color: #c8aaa1; transform: translateY(-1px); }
.beauty-plan-card:focus-within { outline: 2px solid var(--beauty-blush-deep); outline-offset: 2px; }
.beauty-plan-card-active { border-color: var(--beauty-blush-deep); background: #fff; box-shadow: 0 10px 24px rgba(86,56,49,.1), inset 0 0 0 1px var(--beauty-blush-deep); }
.beauty-plan-card > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.beauty-plan-check { display: grid; width: 20px; height: 20px; place-items: center; border: 1.5px solid #bda8a2; border-radius: 50%; background: #fff; }
.beauty-plan-card-active .beauty-plan-check { border-color: var(--beauty-blush-deep); }
.beauty-plan-card-active .beauty-plan-check::after { width: 10px; height: 10px; border-radius: 50%; background: var(--beauty-blush-deep); content: ''; }
.beauty-plan-main-image { display: block; width: 58px; height: 68px; border-radius: 10px; background: #f1e9e6; object-fit: cover; }
.beauty-plan-stack { position: relative; display: block; width: 66px; height: 70px; }
.beauty-plan-stack img { position: absolute; top: calc(var(--stack-index) * 3px); left: calc(var(--stack-index) * 7px); display: block; width: 38px; height: 54px; border: 2px solid #fff; border-radius: 7px; background: #f4ece9; object-fit: cover; box-shadow: 0 3px 10px rgba(50,32,30,.12); }
.beauty-plan-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.beauty-plan-copy em { display: inline-flex; margin-bottom: 5px; padding: 4px 7px; border-radius: 999px; background: var(--beauty-ink); color: #fff; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.beauty-plan-copy strong { color: var(--beauty-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 16px; font-weight: 600; line-height: 1.15; }
.beauty-plan-copy small { margin-top: 4px; color: #786865; font-size: 10px; line-height: 1.4; }
.beauty-plan-copy b { margin-top: 5px; color: var(--beauty-blush-deep); font-size: 9px; line-height: 1.3; }
.beauty-plan-price { align-self: start; padding-top: 2px; color: var(--beauty-ink); font-size: 16px; font-weight: 850; white-space: nowrap; }
.beauty-kit-detail { margin-top: 12px; padding: 15px; border: 1px solid #dbc9c3; border-radius: 17px; background: #fff; animation: beauty-kit-reveal .22s ease both; }
.beauty-kit-detail[hidden] { display: none; }
@keyframes beauty-kit-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.beauty-kit-detail-head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: start; padding-bottom: 13px; border-bottom: 1px solid #eee5e2; }
.beauty-kit-detail-head > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #ead9d4; color: #704b43; font-size: 12px; font-weight: 900; }
.beauty-kit-detail-head h4 { margin: 0; color: var(--beauty-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.2; }
.beauty-kit-detail-head p { margin: 5px 0 0; color: #786865; font-size: 10px; line-height: 1.45; }
.beauty-kit-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.beauty-kit-items article { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 9px; align-items: center; min-width: 0; padding: 8px; border-radius: 12px; background: var(--beauty-cream); }
.beauty-kit-items article:last-child { grid-column: 1 / -1; }
.beauty-kit-items img { display: block; width: 52px; height: 64px; border-radius: 8px; background: #fff; object-fit: cover; }
.beauty-kit-items h5 { margin: 0; color: var(--beauty-ink); font-size: 10px; line-height: 1.3; }
.beauty-kit-items p { margin: 3px 0 0; color: #786865; font-size: 8.5px; line-height: 1.35; }
.beauty-product-page .pd-ready-icon,
.beauty-product-page .pd-ship-icon,
.beauty-product-page .pd-feature-ic { color: var(--beauty-blush-deep); }

.beauty-story-section { padding: 72px 0 64px; border-top: 1px solid var(--beauty-line); background: var(--beauty-cream); }
.beauty-story-hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: stretch; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(75,50,45,.09); }
.beauty-story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 72px); }
.beauty-story-copy > h2 { max-width: 580px; margin: 8px 0 18px; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; }
.beauty-story-copy > p:not(.product-story-kicker) { max-width: 620px; margin: 0; color: #6e5e5c; font-size: 15px; line-height: 1.75; }
.beauty-story-hero > figure { min-height: 650px; margin: 0; background: #eee6e2; }
.beauty-story-hero > figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.beauty-product-page .product-story-kicker { color: var(--beauty-blush-deep); letter-spacing: .16em; }
.beauty-highlight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin-top: 32px; }
.beauty-highlight-grid article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; }
.beauty-highlight-grid article > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #f1e3de; color: var(--beauty-blush-deep); font-size: 14px; }
.beauty-highlight-grid h3 { margin: 0; color: var(--beauty-ink); font-size: 13px; line-height: 1.35; }
.beauty-highlight-grid p { margin: 4px 0 0; color: #786865; font-size: 11px; line-height: 1.5; }

.beauty-editorial-list { display: grid; gap: 34px; margin-top: 58px; }
.beauty-editorial-row { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; overflow: hidden; border: 1px solid var(--beauty-line); border-radius: 24px; background: #fff; }
.beauty-editorial-row-reverse figure { order: 2; }
.beauty-editorial-row figure { min-height: 470px; margin: 0; background: #eee8e5; }
.beauty-editorial-row figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.beauty-editorial-row > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); }
.beauty-editorial-row h2 { max-width: 520px; margin: 8px 0 16px; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; }
.beauty-editorial-row > div > p:not(.product-story-kicker) { margin: 0; color: #6e5e5c; font-size: 14px; line-height: 1.72; }
.beauty-editorial-row ul { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.beauty-editorial-row li { position: relative; padding-left: 24px; color: var(--beauty-ink); font-size: 12px; font-weight: 750; }
.beauty-editorial-row li::before { position: absolute; left: 0; color: var(--beauty-blush-deep); content: '✓'; font-weight: 900; }

.beauty-detail-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.beauty-detail-panels details { padding: 0 24px; border: 1px solid var(--beauty-line); border-radius: 18px; background: #fff; }
.beauty-detail-panels summary { display: flex; align-items: center; justify-content: space-between; padding: 21px 0; color: var(--beauty-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 500; cursor: pointer; list-style: none; }
.beauty-detail-panels summary::-webkit-details-marker { display: none; }
.beauty-detail-panels details[open] summary span { transform: rotate(45deg); }
.beauty-detail-panels summary span { color: var(--beauty-blush-deep); transition: transform .2s ease; }
.beauty-detail-panels dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0 0 24px; }
.beauty-detail-panels dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #eee5e2; font-size: 11px; }
.beauty-detail-panels dt { color: #786865; }
.beauty-detail-panels dd { margin: 0; color: var(--beauty-ink); font-weight: 750; text-align: right; }
.beauty-detail-panels ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0 0 18px; padding: 0; list-style: none; }
.beauty-detail-panels li { padding-left: 20px; color: var(--beauty-ink); font-size: 12px; }
.beauty-detail-panels li::before { margin-left: -20px; margin-right: 9px; color: var(--beauty-blush-deep); content: '✓'; }
.beauty-detail-panels details > p { margin: 0 0 22px; color: #786865; font-size: 11px; line-height: 1.55; }
.beauty-product-page .product-video-section { background: #fffdfc; }
.beauty-product-page .short-video-card { border-color: var(--beauty-line); box-shadow: 0 14px 36px rgba(75,50,45,.09); }
.beauty-product-page .short-video-card video { background: #eee7e4; }
.beauty-product-page .short-video-index,
.beauty-product-page .reviews-pill { background: #ead9d4; color: #704b43; }
.beauty-product-page .pd-faq-section { padding-top: 64px; padding-bottom: 64px; }
.beauty-product-page .reviews-wrap { background: var(--beauty-cream); }
.beauty-product-page .review-card { border-color: var(--beauty-line); }
.beauty-product-page .review-stars { color: var(--beauty-blush-deep); }
.beauty-product-page .sticky-bar { border-color: var(--beauty-line); background: rgba(255,253,252,.95); }
.beauty-product-page .sticky-buy-btn.beauty-add-btn { width: auto; min-height: 44px; padding: 0 22px !important; }

@media (max-width: 900px) {
  .beauty-story-hero { grid-template-columns: 1fr; }
  .beauty-story-hero > figure { min-height: 0; aspect-ratio: 1 / .82; }
  .beauty-editorial-row,
  .beauty-editorial-row-reverse { grid-template-columns: 1fr; }
  .beauty-editorial-row-reverse figure { order: 0; }
  .beauty-editorial-row figure { min-height: 0; aspect-ratio: 1 / .86; }
  .beauty-detail-panels { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .beauty-product-page { --page-gutter: 10px; }
  .beauty-product-page .pd-section { padding-top: 14px; }
  .beauty-product-page .pd-grid { gap: 18px; }
  .beauty-product-page .pd-info { gap: 14px; }
  .beauty-product-page .pd-title { font-size: 34px; }
  .beauty-product-page .product-preview-swatch { width: 46px; height: 46px; flex-basis: 46px; }
  .beauty-product-page .product-preview-swatch > img { width: 38px; height: 38px; }
  .beauty-single-purchase,
  .beauty-bundle-purchase { padding: 14px; border-radius: 17px; }
  .beauty-bundle-head h3 { font-size: 22px; }
  .beauty-plan-card { grid-template-columns: 20px 54px minmax(0, 1fr) auto; gap: 9px; min-height: 88px; padding: 11px 10px; border-radius: 14px; }
  .beauty-plan-main-image { width: 50px; height: 62px; }
  .beauty-plan-stack { width: 56px; height: 62px; }
  .beauty-plan-stack img { left: calc(var(--stack-index) * 5px); width: 34px; height: 49px; }
  .beauty-plan-copy strong { font-size: 14px; }
  .beauty-plan-copy small { font-size: 9px; }
  .beauty-plan-price { font-size: 14px; }
  .beauty-kit-detail { padding: 12px; }
  .beauty-kit-items { grid-template-columns: 1fr; }
  .beauty-kit-items article:last-child { grid-column: auto; }
  .beauty-kit-items article { grid-template-columns: 58px minmax(0, 1fr); }
  .beauty-kit-items img { width: 58px; height: 68px; }
  .beauty-kit-items h5 { font-size: 11px; }
  .beauty-kit-items p { font-size: 9px; }
  .beauty-story-section { padding: 44px 0; }
  .beauty-story-hero,
  .beauty-editorial-row { border-radius: 18px; }
  .beauty-story-copy { padding: 30px 20px; }
  .beauty-story-copy > h2 { font-size: 37px; }
  .beauty-highlight-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 24px; }
  .beauty-editorial-list { gap: 20px; margin-top: 28px; }
  .beauty-editorial-row > div { padding: 30px 20px; }
  .beauty-editorial-row h2 { font-size: 32px; }
  .beauty-detail-panels { gap: 12px; margin-top: 20px; }
  .beauty-detail-panels details { padding: 0 17px; }
  .beauty-detail-panels summary { font-size: 19px; }
  .beauty-detail-panels dl,
  .beauty-detail-panels ul { grid-template-columns: 1fr; }
  .beauty-product-page .sticky-buy-btn.beauty-add-btn span { max-width: 122px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
