:root {
  --bg: #faf7f2;
  --bg-soft: #f2ece1;
  --bg-warm: #e8dfd1;
  --surface: #ffffff;
  --ink: #1d1c1a;
  --ink-soft: #57524a;
  --ink-muted: #8a8277;
  --forest: #1f3a33;
  --forest-soft: #e3ede9;
  --gold: #b08b4f;
  --gold-soft: #f5eedf;
  --danger: #b91c1c;
  --line: rgba(29, 28, 26, 0.08);
  --line-strong: rgba(29, 28, 26, 0.15);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 16px 42px rgba(29, 28, 26, 0.05);
  --shadow-float: 0 20px 50px rgba(29, 28, 26, 0.10);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, video { max-width: 100%; display: block; }

.section-shell {
  width: min(1280px, 93vw);
  margin: 0 auto;
}
.section-block { padding: 52px 0; }
.section-band { background: var(--bg-soft); padding: 54px 0; }

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
p, li, dd, summary {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: pretty;
}
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.page-title {
  font-size: clamp(1.56rem, 2.08vw, 1.96rem);
  line-height: 1.2;
  margin: 0 0 10px;
  text-wrap: balance;
}
.split-title {
  font-size: clamp(1.32rem, 1.7vw, 1.6rem);
  line-height: 1.24;
  margin: 0 0 14px;
  text-wrap: balance;
}
.card-title {
  font-size: 18.5px;
  line-height: 1.3;
  margin: 0 0 8px;
  text-wrap: balance;
}
.pdp-scent-lead {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.55;
  margin: 4px 0 12px;
}
/* Refined CJK Display Typography: Balanced wrapping (zero 1-char widows!) + calibrated single-line optical scale */
html[lang^="zh"] h1,
html[lang^="zh"] h2,
html[lang^="zh"] h3,
html[lang^="zh"] h4,
html[lang^="zh"] .serif,
html[lang^="zh"] .mood-tile strong,
html[lang^="ja"] h1,
html[lang^="ja"] h2,
html[lang^="ja"] h3,
html[lang^="ja"] h4,
html[lang^="ja"] .serif,
html[lang^="ja"] .mood-tile strong {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
  text-wrap: balance;
}
html[lang^="zh"] .page-title,
html[lang^="ja"] .page-title {
  font-size: clamp(1.36rem, 1.8vw, 1.68rem);
  line-height: 1.32;
}
html[lang^="zh"] .split-title,
html[lang^="ja"] .split-title {
  font-size: clamp(1.22rem, 1.54vw, 1.46rem);
  line-height: 1.34;
}
html[lang^="zh"] .card-title,
html[lang^="ja"] .card-title {
  font-size: 17px;
  line-height: 1.36;
}

/* ─── TOP ANNOUNCEMENT & SUBTLE FULFILLMENT STRIP ─── */
.top-bar {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 9px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-tax {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.fulfillment-strip {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 8px 4vw;
  font-size: 12px;
  color: var(--ink-soft);
}
.fulfillment-inner {
  width: min(1260px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.fulfillment-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--forest);
  margin-right: 6px;
}

/* Optional Subtle Micro-Capsule (Default OFF, bottom-left frosted pill clear of right utility dock) */
.micro-order-pill {
  position: fixed;
  left: 22px;
  right: auto;
  bottom: 22px;
  z-index: 80;
  max-width: min(480px, calc(100vw - 210px));
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, bottom 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.micro-order-pill .fulfillment-dot {
  flex-shrink: 0;
  margin-right: 0;
}
.micro-order-pill > span:last-child {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.micro-order-pill.visible {
  opacity: 1;
  transform: translateY(0);
}
body:has(.pdp-sticky-bar.visible) .micro-order-pill,
body:has(.return-pdp-bar.visible) .micro-order-pill {
  bottom: 98px;
}
body:has(.toast.show) .micro-order-pill.visible,
body:has(.cart-drawer.open) .micro-order-pill.visible,
body:has(.welcome-modal-backdrop.open) .micro-order-pill.visible,
body:has(.search-modal-backdrop.open) .micro-order-pill.visible,
body:has(.media-modal-backdrop.open) .micro-order-pill.visible,
body:has(.storefront-waitlist-overlay) .micro-order-pill.visible {
  opacity: 0 !important;
  transform: translateY(8px) !important;
}
@media (max-width: 768px) {
  .micro-order-pill {
    left: 12px;
    right: auto;
    bottom: 16px;
    max-width: calc(100vw - 82px);
    padding: 7px 13px;
    font-size: 11.5px;
  }
  body:has(.pdp-sticky-bar.visible) .micro-order-pill.visible,
  body:has(.return-pdp-bar.visible) .micro-order-pill.visible {
    opacity: 0 !important;
  }
}

/* ─── STICKY EDITORIAL HEADER + SHOP MEGA MENU ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1380px, 95vw);
  margin: 0 auto;
  min-height: 68px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-crest {
  color: var(--gold);
  font-size: 18px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.13em;
  font-weight: 600;
  line-height: 1.1;
}
.brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  display: block;
  margin-top: 1px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}
.site-nav > a,
.nav-dropdown-trigger {
  padding: 8px 2px;
  position: relative;
  background: none;
  border: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
  transition: color 0.2s ease;
}
.site-nav > a:hover,
.site-nav > a.active,
.nav-dropdown:hover .nav-dropdown-trigger {
  color: var(--ink);
  font-weight: 500;
}

.nav-dropdown { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: -24px;
  width: 520px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--line);
  padding: 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-col h4 {
  margin: 0 0 10px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mega-links {
  display: grid;
  gap: 8px;
}
.mega-links a {
  display: block;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink);
}
.mega-links a small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
}
.mega-links a:hover { background: var(--bg); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  white-space: nowrap;
}
.lang-switch-pill {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  gap: 2px;
}
.lang-switch-btn {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 999px;
  line-height: 1.1;
  transition: all 0.18s ease;
}
.lang-switch-btn:hover {
  color: var(--ink);
}
.lang-switch-btn.active {
  background: var(--forest);
  color: #ffffff;
  font-weight: 600;
}
.market-select {
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  max-width: 172px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-count-badge {
  background: rgba(255, 255, 255, 0.22);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
}
.admin-entry-link {
  font-size: 12px;
  color: var(--ink-muted);
  padding: 6px 10px;
  border-radius: 999px;
}
.admin-entry-link:hover { background: var(--bg-soft); color: var(--ink); }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
}

/* ─── BUTTONS ─── */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--forest);
  color: #fff;
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { background: var(--surface); }

/* ─── INTERACTIVE 21:9 HERO CAROUSEL ─── */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.carousel-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 440px;
  max-height: 580px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.carousel-slide[data-slide-id="slide-2"] {
  background-position: 62% center;
}
.slide-inner {
  width: min(1280px, 93vw);
  margin: 0 auto;
  padding: 46px 0;
  display: flex;
}
.slide-inner.align-right { justify-content: flex-end; }
.slide-inner.align-left { justify-content: flex-start; }

.slide-copy-box {
  width: fit-content;
  min-width: min(520px, 90vw);
  max-width: min(680px, 92vw);
  background: rgba(250, 247, 242, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 34px 38px;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 44px rgba(24, 23, 21, 0.07);
}
.slide-copy-box h1 {
  font-size: clamp(1.75rem, 2.35vw, 2.24rem);
  line-height: 1.18;
  margin-bottom: 12px;
}
html[lang^="zh"] .slide-copy-box h1,
html[lang^="ja"] .slide-copy-box h1 {
  font-size: clamp(1.48rem, 2vw, 1.88rem);
  line-height: 1.3;
  letter-spacing: 0.015em;
}
html[lang^="zh"] .section-head h2,
html[lang^="ja"] .section-head h2 {
  font-size: clamp(1.3rem, 1.72vw, 1.62rem);
  line-height: 1.34;
}
html[lang^="zh"] .craft-dark-overlay h2,
html[lang^="ja"] .craft-dark-overlay h2 {
  font-size: clamp(1.38rem, 1.84vw, 1.72rem);
  line-height: 1.34;
}
html[lang^="zh"] .step-card-body h3,
html[lang^="ja"] .step-card-body h3 {
  font-size: 17.5px;
  line-height: 1.34;
}
html[lang^="zh"] .mood-tile strong {
  font-size: 16px;
}
html[lang^="zh"] .scent-card h3 {
  font-size: 17px;
}
.slide-copy-box p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.66;
  max-width: 560px;
}
.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.slide-cta-row .btn-primary,
.slide-cta-row .btn-secondary {
  padding: 11px 19px;
  font-size: 13px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s ease;
}
.carousel-arrow:hover { background: #fff; }
.carousel-arrow.prev { left: 22px; }
.carousel-arrow.next { right: 22px; }

.carousel-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dot {
  width: 28px;
  height: 5px;
  border-radius: 999px;
  border: none;
  background: rgba(29, 28, 26, 0.22);
  padding: 0;
  transition: all 0.25s ease;
}
.carousel-dot.active {
  width: 48px;
  background: var(--forest);
}

/* ─── TRUST PILLARS BAR ─── */
.trust-pillars {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.trust-pillars-grid {
  width: min(1260px, 92vw);
  margin: 0 auto;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.trust-pillars-grid strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 2px;
}

/* ─── SECTION HEADERS ─── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: nowrap;
}
.section-head > div {
  min-width: 0;
}
.section-head h2 {
  font-size: clamp(1.46rem, 1.94vw, 1.84rem);
  line-height: 1.22;
}
.section-head p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  max-width: 580px;
  font-size: 14.5px;
  line-height: 1.65;
}

/* ─── MOOD CARDS ─── */
.mood-strip-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.mood-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  text-align: left;
  transition: all 0.22s ease;
}
.mood-tile:hover, .mood-tile.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  transform: translateY(-2px);
}
.mood-tile:hover span, .mood-tile.active span { color: rgba(255,255,255,0.75); }
.mood-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 14px;
}
.mood-tile strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
}
.mood-tile span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ─── SCENT CARDS (Uses swatch-*.png + Hover sqmodel-*.jpg!) ─── */
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 12.5px;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--ink);
  color: #fff;
}

.scent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.scent-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}
.scent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(31, 58, 51, 0.24);
}
.scent-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scent-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.32s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.scent-card:hover .scent-visual > img:first-child {
  transform: scale(1.045);
}
.scent-visual .hover-model-img {
  opacity: 0;
  object-position: center 28%;
}
.scent-card:hover .scent-visual .hover-model-img {
  opacity: 1;
  transform: scale(1.03);
}
.scent-badge-top {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  font-size: 10px;
  pointer-events: none;
}
.pill-tag {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
}
.pill-core { background: #f7e6bd; color: #6e4c14; }
.scent-card h3 { font-size: 18px; line-height: 1.26; }
.scent-note { font-size: 12px; color: var(--ink-muted); margin-top: -2px; line-height: 1.42; }
.scent-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-soft);
}

/* ─── PRODUCT COLLECTION CARDS (16:9 · 4-COLUMN COMPACT GRID) ─── */
.spu-grid-3,
.spu-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.spu-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.spu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(31, 58, 51, 0.24);
}
.spu-media-box {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.spu-media-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reserved-slot-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}
.reserved-slot-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--gold);
  font-weight: 600;
}

/* ─── DARK CRAFTSMANSHIP BANNER (Properly houses banner-concept.jpg!) ─── */
.craft-dark-banner {
  background: #0d1015 url('./assets/media/banner-concept.jpg') right center / cover no-repeat;
  color: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.craft-dark-overlay {
  background: linear-gradient(90deg, rgba(13, 16, 21, 0.92) 0%, rgba(13, 16, 21, 0.72) 48%, rgba(13, 16, 21, 0.18) 100%);
  padding: 72px 56px;
}
.craft-dark-overlay h2 {
  color: #fff;
  font-size: clamp(1.56rem, 2.15vw, 1.96rem);
  line-height: 1.22;
  max-width: 680px;
  margin-bottom: 14px;
}
.craft-dark-overlay p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin: 0 0 28px;
}

/* ─── 3-STEP HOW IT WORKS (how-01, how-02, how-03 All Aligned!) ─── */
.steps-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}
.step-card-body { padding: 22px 24px; }
.step-card-body span {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 600;
}
.step-card-body h3 { font-size: 24px; margin: 4px 0 6px; }
.step-card-body p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ─── VISUAL SIDE-BY-SIDE COMPARISON (Zero stiff HTML borders) ─── */
.compare-cards-2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
}
.cmp-box {
  border-radius: var(--radius-xl);
  padding: 38px 36px;
}
.cmp-old { background: rgba(29, 28, 26, 0.04); color: var(--ink-soft); }
.cmp-new { background: var(--surface); box-shadow: var(--shadow-soft); }
.cmp-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
  font-size: 14.5px;
}

/* ─── PDP & CHECKOUT PAYMENT GATEWAYS ─── */
.pdp-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: start;
}
@media (min-width: 981px) {
  .pdp-layout.pdp-hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 44px;
    align-items: start;
  }
  .pdp-hero-grid > .pdp-media-col,
  .pdp-hero-grid > .pdp-buy-box {
    position: sticky;
    top: clamp(74px, calc(100vh - 692px), 86px);
    align-self: start;
  }
  #cart-checkout-root .pdp-layout > *,
  #subscribe-page-root .pdp-layout > * {
    position: sticky;
    top: 86px;
    align-self: start;
  }
}
@media (min-width: 981px) and (max-height: 810px) {
  .pdp-layout.pdp-hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 38px;
  }
  .pdp-hero-grid > .pdp-media-col,
  .pdp-hero-grid > .pdp-buy-box {
    top: 76px;
  }
}
.pdp-main-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-main-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pdp-thumbs-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 9px;
  margin-top: 12px;
}
.pdp-thumb-btn {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.pdp-thumb-btn:hover { transform: translateY(-1px); }
.pdp-thumb-btn.active { border-color: var(--forest); }
.pdp-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb-btn img.contain-thumb { width: 88%; height: 88%; object-fit: contain; }
.pdp-thumb-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(29, 28, 26, 0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 4px;
  border-radius: 5px;
  text-align: center;
  line-height: 1.2;
  pointer-events: none;
}

/* ─── 360° INTERACTIVE DRAG-TO-ROTATE TURNTABLE & 3D EXPLODED STAGE ─── */
.spin360-stage,
.exploded-stage {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}
.spin360-stage {
  cursor: grab;
  touch-action: pan-y;
}
.spin360-stage.is-dragging {
  cursor: grabbing;
}
.spin360-stage img.spin360-frame,
.exploded-stage img.exploded-render {
  width: 86%;
  height: 86%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 16px 28px rgba(29, 28, 26, 0.07));
}
.spin360-top-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.spin360-pill {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.spin360-auto-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.18s ease;
}
.spin360-auto-btn.playing,
.spin360-auto-btn:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.spin360-bottom-bar {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--ink-soft);
  box-shadow: 0 8px 24px rgba(29, 28, 26, 0.06);
}
.spin360-step-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.spin360-step-btn:hover {
  background: var(--forest);
  color: #fff;
}
.spin360-scrub-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.spin360-progress-rail {
  width: 100%;
  max-width: 200px;
  height: 4px;
  border-radius: 999px;
  background: rgba(29, 28, 26, 0.12);
  overflow: hidden;
}
.spin360-progress-fill {
  height: 100%;
  background: var(--forest);
  border-radius: 999px;
  transition: width 0.08s linear;
}
.exploded-caption-box {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--ink-soft);
}

/* ─── 720° OMNIDIRECTIONAL WEBGL 3D + STUDIO MACRO BOTANICAL STAGE ─── */
.viewer720-host {
  width: 100%;
  height: 100%;
  position: relative;
}
.viewer720-stage {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.45s ease;
}
.viewer720-stage.is-dragging {
  cursor: grabbing;
}
/* Subtle recessed studio color-box frame vignette */
.viewer720-box-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow: inset 0 0 54px rgba(29, 24, 14, 0.10), inset 0 0 14px rgba(29, 24, 14, 0.04);
}
.viewer720-botanical-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.viewer720-botanical-back {
  z-index: 2;
}
.viewer720-webgl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 3;
}
.viewer720-botanical-front {
  z-index: 4;
}
.v720-bot-prop {
  position: absolute;
  height: auto;
  pointer-events: none;
  will-change: transform;
}
.v720-macro-specimen {
  filter: drop-shadow(0 12px 18px rgba(32, 25, 12, 0.15));
}
.viewer720-botanical-front .v720-macro-specimen {
  filter: drop-shadow(0 14px 22px rgba(32, 25, 12, 0.16));
}
.v720-oil-drop {
  opacity: 0.94;
}
.viewer720-stage .spin360-top-bar,
.viewer720-stage .spin360-bottom-bar {
  z-index: 6;
}
.viewer720-scent-tag {
  position: absolute;
  bottom: 62px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.viewer720-scent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.viewer720-presets {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.v720-preset-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 999px;
  transition: all 0.16s ease;
}
.v720-preset-btn:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.viewer720-hint {
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.viewer720-zoom-btns {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 640px) {
  .viewer720-hint { display: none; }
}

.pdp-buy-box, .clean-panel {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.sku-option-card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: var(--bg);
  text-align: left;
  margin-bottom: 10px;
}
.sku-option-card.active {
  border-color: var(--forest);
  background: var(--forest-soft);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.input-field {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 14px;
}
.payment-method-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.pay-tab {
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
.pay-tab.active {
  border-color: var(--forest);
  background: var(--forest-soft);
  color: var(--forest);
}
.gateway-slot-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  margin-bottom: 16px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #181715;
  color: #d6d0c4;
  padding: 44px 0 28px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 11px;
}
.footer-bottom-bar {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  color: #7c766b;
}
.footer-links {
  display: grid;
  gap: 9px;
  font-size: 13.5px;
  color: #a39c8e;
}
.footer-links a:hover { color: #fff; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================================
   DOUDIAN-STYLE ENTERPRISE ADMIN CONSOLE (pages/admin.html · Adaptive Layout)
   ========================================================================= */
body.admin-body {
  background: #f3f4f6;
  color: #111827;
  font-size: 13.5px;
  overflow-x: hidden;
}
.doudian-header {
  min-height: 56px;
  height: auto;
  background: #0f172a;
  color: #fff;
  padding: 8px 18px;
  gap: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 90;
}
#role-indicator,
#header-todo-pill {
  white-space: nowrap;
}
.doudian-shell {
  display: grid;
  grid-template-columns: clamp(192px, 14.5vw, 232px) minmax(0, 1fr);
  min-height: calc(100vh - 56px);
  width: 100%;
}
.doudian-sidebar {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  padding: 12px 8px 28px;
  position: sticky;
  top: 56px;
  max-height: calc(100vh - 56px);
  align-self: start;
  overflow-y: auto;
}
.nav-group { margin-bottom: 8px; }
.nav-group-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 13px;
  color: #1f2937;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.nav-group-title:hover { background: #f3f4f6; }
.nav-group-title .nav-chevron {
  display: inline-block;
  font-size: 12px;
  color: #6b7280;
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.nav-group.collapsed .nav-group-title .nav-chevron {
  transform: rotate(-90deg);
}
.nav-group.collapsed .nav-sub-list {
  display: none;
}
.nav-sub-list {
  padding-left: 10px;
  display: grid;
  gap: 2px;
  margin-top: 2px;
}
.nav-sub-btn {
  text-align: left;
  padding: 7px 10px;
  border: none;
  background: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12.5px;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  white-space: nowrap;
}
.nav-sub-btn:hover { background: #f9fafb; color: #111827; }
.nav-sub-btn.active {
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
}
.doudian-main {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: clamp(16px, 1.8vw, 24px) clamp(14px, 2vw, 26px) 56px;
  overflow-x: hidden;
}
.adm-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: clamp(14px, 1.5vw, 20px) clamp(14px, 1.6vw, 22px);
  margin-bottom: 18px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.adm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.adm-kpi {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  min-width: 0;
}
.adm-kpi small { color: #6b7280; font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-kpi strong { font-size: clamp(20px, 1.9vw, 26px); display: block; margin: 6px 0 4px; color: #111827; white-space: nowrap; }

.adm-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.8px;
}
.adm-table th {
  text-align: left;
  padding: 10px 10px;
  background: #f9fafb;
  color: #4b5563;
  font-weight: 600;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
  word-break: keep-all;
}
.adm-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.adm-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  word-break: keep-all;
  flex-shrink: 0;
  width: fit-content;
  vertical-align: middle;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-gray { background: #f3f4f6; color: #4b5563; }
.badge-red { background: #fee2e2; color: #991b1b; }
.adm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.3;
  color: #1f2937;
  white-space: nowrap;
  word-break: keep-all;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.adm-btn:hover {
  border-color: #9ca3af;
  background: #f9fafb;
}
.adm-btn-primary {
  background: #0f766e;
  color: #fff;
  border-color: #0f766e;
}
.adm-btn-primary:hover {
  background: #0d655e;
  border-color: #0d655e;
  color: #fff;
}
.adm-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.adm-tab {
  padding: 6px 13px;
  border-radius: 6px;
  border: none;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.adm-tab.active { background: #111827; color: #fff; font-weight: 500; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }

.nav-count-dot {
  display: none;
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
  flex-shrink: 0;
}
.nav-count-dot.amber {
  background: #fef3c7;
  color: #92400e;
}
.nav-count-dot.visible {
  display: inline-block;
}

/* Todo & Exception Radar */
.todo-radar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.todo-radar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 13px 14px;
  text-align: left;
  cursor: pointer;
  min-width: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.todo-radar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
  border-color: #0f766e;
}
.todo-radar-card.alert-danger {
  background: #fef2f2;
  border-color: #fca5a5;
}
.todo-radar-card.alert-warn {
  background: #fffbeb;
  border-color: #fcd34d;
}
.todo-radar-card .radar-label {
  font-size: 11.5px;
  color: #4b5563;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.todo-radar-card .radar-num {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin: 6px 0 2px;
  display: block;
}
.todo-radar-card.alert-danger .radar-num { color: #b91c1c; }
.todo-radar-card.alert-warn .radar-num { color: #b45309; }
.todo-radar-card .radar-sub {
  font-size: 11px;
  color: #6b7280;
}

/* Local Drag & Drop Image Uploader */
.upload-dropzone {
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
  min-width: 0;
}
.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: #0f766e;
  background: #f0fdfa;
}
.upload-preview-thumb {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: #fff;
  flex-shrink: 0;
}
.gallery-sort-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.gallery-sort-item {
  width: 92px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  text-align: center;
}
.gallery-sort-item img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.gallery-sort-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}
.gallery-sort-actions button {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 4px;
  font-size: 10.5px;
  padding: 1px 5px;
  cursor: pointer;
}

/* Admin Modal (Commercial Invoice & Quick Dialogs) */
.adm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.adm-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 760px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 24px 26px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* Storefront SPU Hover Image Swap & Exclusive Channel Banner */
.spu-media-box { position: relative; }
.spu-media-box img.spu-hover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.32s ease;
}
.spu-card:hover .spu-media-box img.spu-hover-img { opacity: 1; }

.channel-exclusive-banner {
  background: linear-gradient(90deg, #1f2e27 0%, #2d4238 100%);
  color: #f7f3eb;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Adaptive Multi-Breakpoint Breakpoints for Laptop & Compact Screens */
@media (max-width: 1480px) {
  .todo-radar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .adm-grid-dense {
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)) !important;
    align-items: end !important;
  }
  .adm-sku-row-grid {
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)) !important;
    align-items: end !important;
  }
  .adm-table {
    font-size: 12.5px;
  }
  .adm-table th,
  .adm-table td {
    padding: 9px 8px;
  }
  .adm-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (max-width: 1240px) {
  .adm-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adm-grid-mid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  }
  .adm-grid-split {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 960px) {
  .doudian-shell {
    grid-template-columns: 1fr;
  }
  .doudian-sidebar {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
  }
  .nav-group {
    margin-bottom: 0;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2px 6px;
  }
  .todo-radar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Header Member Entry & Account Center Styles */
.account-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong, #dcd4c6);
  background: #fffdf9;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.account-pill-btn:hover,
.account-pill-btn.active {
  border-color: var(--forest);
  background: var(--forest-soft);
  color: var(--forest);
}
.account-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f6b55;
  display: inline-block;
}

.auth-split-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: start;
}
.member-hero-card {
  background: linear-gradient(125deg, #21342c 0%, #2e473d 100%);
  color: #f8f4ec;
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 22px;
}
.member-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.coupon-perk-card {
  background: #fffdf9;
  border: 1px dashed #c8beae;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.account-tabs-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

/* PDP Long-Form A+ Detail & Verified Review Screenshot Cards */
.pdp-scent-spotlight {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 30px;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-bottom: 36px;
}
.pdp-scent-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.pdp-scent-meta-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.pdp-stage-720-pill {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(24, 23, 21, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8f4ec;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.pdp-stage-720-pill:hover {
  background: var(--forest);
  transform: translateY(-1px);
}
.pdp-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 13.5px;
}
.pdp-compare-table th,
.pdp-compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.pdp-compare-table th {
  background: var(--bg);
  font-weight: 600;
}
.pdp-compare-table td.hl-col,
.pdp-compare-table th.hl-col {
  background: var(--forest-soft);
  color: var(--forest);
  font-weight: 600;
}
.review-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}
.review-shot-frame {
  background: #ffffff;
  border: 1px solid #e4ded3;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(28, 27, 25, 0.06);
  position: relative;
}
.review-shot-chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1ece3;
  font-size: 11.5px;
  color: #6b655c;
}
.review-shot-body {
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 14px;
  align-items: start;
}
.review-shot-thumb {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
}

/* Official Social Media Jump Icons (Top Bar, Footer & Contact Cards) */
.top-bar-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.top-bar-socials a {
  color: rgba(248, 244, 236, 0.85);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
.top-bar-socials a:hover {
  color: #e7c98f;
  transform: translateY(-1px);
}
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f4efe6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.22s ease;
}
.footer-social-btn:hover {
  background: #e7c98f;
  border-color: #e7c98f;
  color: #181715;
  transform: translateY(-2px);
}
.social-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.social-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-pill-link:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* Homepage Video Testimonials & Verified 5-Star Reviews Showcase */
.home-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.home-video-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.home-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(24, 23, 21, 0.06);
}
.home-video-frame,
.adaptive-video-stage {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #141311;
  height: 296px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adaptive-video-stage--pdp {
  height: 268px;
}
.adaptive-video-blur {
  position: absolute;
  inset: -18px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.15) brightness(0.48);
  transform: scale(1.12);
  pointer-events: none;
  z-index: 0;
}
.home-video-frame video,
.adaptive-video-stage video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: transparent;
}
.adaptive-video-stage.is-landscape video {
  padding: 8px 6px;
}
.home-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24, 23, 21, 0.72);
  backdrop-filter: blur(6px);
  color: #f8f4ec;
  font-size: 11px;
  font-weight: 500;
  pointer-events: none;
}
.video-ratio-tag {
  position: absolute;
  bottom: 48px;
  left: 10px;
  z-index: 3;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(24, 23, 21, 0.62);
  backdrop-filter: blur(6px);
  color: rgba(248, 244, 236, 0.92);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.video-expand-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(24, 23, 21, 0.74);
  backdrop-filter: blur(8px);
  color: #f8f4ec;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.video-expand-btn:hover {
  background: rgba(31, 61, 46, 0.92);
  transform: scale(1.04);
}
.review-mode-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 6px 0 16px;
}
.review-mode-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #ede8dd;
  border: 1px solid var(--line);
}
.review-mode-tab {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.review-mode-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(24, 23, 21, 0.08);
}

/* PDP Bespoke Scent Dossier, Left Hover Quick-Jump Dock & SKU Coverage Bar */
.pdp-section-spacer {
  margin-bottom: 44px;
  scroll-margin-top: 96px;
}
#pdp-root,
#pdp-reviews-mount {
  scroll-margin-top: 96px;
}
.pdp-side-rail {
  position: fixed;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 20px;
  background: rgba(252, 250, 246, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(24, 23, 21, 0.10);
  box-shadow: 0 12px 32px rgba(24, 23, 21, 0.08);
  width: 42px;
  overflow: hidden;
  transition: width 0.24s cubic-bezier(0.22, 1, 0.36, 1), padding 0.24s ease, box-shadow 0.24s ease;
}
.pdp-side-rail:hover {
  width: 196px;
  padding: 12px 12px;
  background: rgba(252, 250, 246, 0.98);
  box-shadow: 0 18px 42px rgba(24, 23, 21, 0.14);
}
.pdp-rail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 5px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.pdp-rail-link:hover,
.pdp-rail-link.active {
  background: var(--bg-soft);
  color: var(--forest);
}
.pdp-rail-num {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  transition: all 0.18s ease;
}
.pdp-rail-link:hover .pdp-rail-num,
.pdp-rail-link.active .pdp-rail-num {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}
.pdp-rail-label {
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pdp-side-rail:hover .pdp-rail-label {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 1380px) {
  .pdp-side-rail {
    display: none;
  }
}
.pdp-pyramid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pdp-pyramid-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
}
.pdp-note-stage {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--forest);
  margin-bottom: 5px;
}
.pdp-pyramid-step strong {
  font-size: 13.5px;
  line-height: 1.45;
  display: block;
  color: var(--ink);
}
.pdp-scent-visual-collage {
  display: grid;
  grid-template-columns: 1.94fr 1fr;
  gap: 12px;
  width: 100%;
  align-self: stretch;
}
.pdp-collage-main,
.pdp-collage-tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.pdp-collage-main {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 336px;
}
.pdp-collage-sub {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr;
  gap: 12px;
  height: 100%;
}
.pdp-collage-tile {
  width: 100%;
  height: 100%;
  min-height: 162px;
}
.pdp-collage-main img,
.pdp-collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdp-collage-tile.is-specimen {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-collage-tile.is-specimen img {
  object-fit: contain;
  padding: 18px 18px 28px;
  filter: drop-shadow(0 10px 16px rgba(28, 23, 14, 0.14));
}
@media (max-width: 680px) {
  .pdp-scent-visual-collage {
    grid-template-columns: 1fr;
  }
  .pdp-collage-main {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .pdp-collage-sub {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .pdp-collage-tile {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}
.pdp-collage-caption {
  position: absolute;
  bottom: 8px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(24, 23, 21, 0.66);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.pdp-sku-spotlight-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f6f3eb 0%, #ede7da 100%);
  border: 1px solid var(--line);
}
.pdp-sku-duration-pill {
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 240px;
}
.pdp-wardrobe-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 980px) {
  .spu-grid-3, .steps-grid-3, .compare-cards-2, .pdp-layout, .footer-grid, .adm-kpi-grid, .doudian-shell, .auth-split-grid, .member-perks-grid, .pdp-scent-spotlight, .review-screenshot-grid, .pdp-pyramid-grid, .pdp-wardrobe-grid-4 {
    grid-template-columns: 1fr;
  }
  .todo-radar-grid { grid-template-columns: repeat(2, 1fr); }
  .mood-strip-6, .trust-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 16px 5vw 22px;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 18px 36px rgba(24, 23, 21, 0.10);
    z-index: 90;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 10;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-soft);
    font-size: 18px;
    flex-shrink: 0;
  }
  .mega-menu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--bg); border-radius: 12px; padding: 12px 14px; grid-template-columns: 1fr; gap: 14px; display: none; }
  .nav-dropdown.open .mega-menu { display: grid; }
}

@media (max-width: 768px) {
  .section-block, .section-band { padding: 48px 0; }
  .top-bar {
    padding: 7px 12px;
    font-size: 11px;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
  }
  .top-bar > div:nth-child(2),
  .fulfillment-strip {
    display: none;
  }
  .header-inner {
    width: 94vw;
    height: 60px;
    gap: 6px;
  }
  .brand-logo { gap: 6px; flex-shrink: 0; }
  .brand-crest { font-size: 15px; }
  .brand-name { font-size: 18px; letter-spacing: 0.1em; }
  .brand-sub { display: none; }
  .header-actions {
    gap: 5px;
    margin-left: auto;
    flex-shrink: 1;
    min-width: 0;
  }
  .market-select {
    max-width: 104px;
    padding: 5px 7px;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-pill-btn {
    padding: 5px 9px !important;
    font-size: 11.5px !important;
    white-space: nowrap;
  }
  .cart-pill-btn {
    padding: 6px 10px;
    font-size: 11.5px;
    gap: 4px;
    white-space: nowrap;
  }
  .carousel-arrow {
    display: none !important;
  }
  .carousel-slide {
    aspect-ratio: auto;
    max-height: none;
    min-height: 490px;
    align-items: flex-end;
    background-position: 28% top;
  }
  .slide-inner,
  .slide-inner.align-right,
  .slide-inner.align-left {
    width: 92vw;
    padding: 205px 0 38px;
    justify-content: center;
  }
  .slide-copy-box {
    width: 100%;
    max-width: 100%;
    padding: 22px 20px;
    border-radius: 18px;
    background: rgba(250, 247, 242, 0.93);
  }
  .slide-copy-box h1,
  html[lang^="zh"] .slide-copy-box h1,
  html[lang^="ja"] .slide-copy-box h1 {
    font-size: 23px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .slide-copy-box p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .slide-cta-row {
    gap: 8px;
  }
  .slide-cta-row .btn-primary,
  .slide-cta-row .btn-secondary {
    flex: 1 1 calc(50% - 4px);
    padding: 10px 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }
  .trust-pillars-grid {
    padding: 16px 0;
    gap: 12px;
    font-size: 11.5px;
  }
  .section-head {
    margin-bottom: 24px;
    gap: 12px;
  }
  .section-head h2,
  html[lang^="zh"] .section-head h2,
  .page-title,
  html[lang^="zh"] .page-title,
  .split-title,
  html[lang^="zh"] .split-title {
    font-size: 21.5px;
    line-height: 1.35;
  }
  .card-title,
  html[lang^="zh"] .card-title {
    font-size: 17.5px;
    line-height: 1.38;
  }
  .pdp-buy-box,
  .clean-panel,
  .pdp-scent-spotlight,
  .member-hero-card {
    padding: 22px 18px !important;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .payment-method-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .scent-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .scent-card {
    padding: 10px;
    gap: 7px;
  }
  .scent-card h3,
  html[lang^="zh"] .scent-card h3 {
    font-size: 15.5px;
  }
  .craft-dark-overlay {
    padding: 28px 20px !important;
  }
  .sku-tier-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .pdp-sticky-inner,
  .return-pdp-inner {
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }
}

/* ─── ESSENCE-STYLE HORIZONTAL SKU TIER CARDS WITH FLOATING STAR BADGES ─── */
.sku-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.sku-tier-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  padding: 20px 10px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.sku-tier-card:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
}
.sku-tier-card.active {
  background: #edf4f1;
  border: 2px solid var(--forest);
  box-shadow: 0 10px 24px rgba(31, 58, 51, 0.09);
}
.sku-tier-float-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.sku-badge-popular {
  background: #f5c242;
  color: #1d1c1a;
}
.sku-badge-value {
  background: var(--forest);
  color: #ffffff;
}
.sku-tier-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.sku-tier-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}
.sku-tier-compare {
  font-size: 11px;
  color: var(--ink-muted);
  text-decoration: line-through;
  line-height: 1;
}
.sku-tier-unit {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ─── STICKY BOTTOM PDP BUY BAR & CROSS-PAGE RETURN-TO-BUY CAPSULE ─── */
.pdp-sticky-bar,
.return-pdp-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 130%);
  opacity: 0;
  pointer-events: none;
  z-index: 85;
  width: min(780px, calc(100vw - 320px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(31, 58, 51, 0.18);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(24, 23, 21, 0.16);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}
.pdp-sticky-bar.visible,
.return-pdp-bar.visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 769px) and (max-width: 1140px) {
  .pdp-sticky-bar,
  .return-pdp-bar {
    left: 20px;
    width: calc(100vw - 188px);
    transform: translate(0, 130%);
  }
  .pdp-sticky-bar.visible,
  .return-pdp-bar.visible {
    transform: translate(0, 0);
  }
}
@media (max-width: 768px) {
  .pdp-sticky-bar,
  .return-pdp-bar {
    width: 94vw;
  }
  body:has(.pdp-sticky-bar.visible) .floating-utility-dock,
  body:has(.return-pdp-bar.visible) .floating-utility-dock {
    bottom: 136px;
  }
}
.pdp-sticky-inner,
.return-pdp-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
}

/* ─── RICH ACTION TOAST (Added to Bag + Instant Checkout Link) ─── */
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.toast-checkout-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e7c98f;
  color: #181715 !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* ─── 30s TIMED NEW-VISITOR WELCOME GIFT MODAL ─── */
.welcome-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(20, 19, 17, 0.56);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.welcome-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.welcome-modal-card {
  position: relative;
  width: min(460px, 94vw);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 34px 30px 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.welcome-modal-backdrop.open .welcome-modal-card {
  transform: translateY(0) scale(1);
}
.welcome-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.welcome-coupon-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin: 14px 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f3a33 0%, #2c4f46 100%);
  color: #fff;
}

/* =========================================================================
   V33 UPGRADES: VISUAL MEGA-MENUS, SLIDE-OUT CART DRAWER, SEARCH MODAL,
   FLOATING UTILITY DOCK, 16:9 QUICK-ADD CARDS & 6 NEW SPECIALTY PAGES
   ========================================================================= */
.site-nav {
  gap: 18px;
  font-size: 13px;
}
.header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fffdf9;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.18s ease;
  flex-shrink: 0;
}
.header-icon-btn:hover {
  background: var(--forest-soft);
  border-color: var(--forest);
  color: var(--forest);
}

/* Visual Mega-Menus (Balanced 4:3 Studio Proportions + Clean Wrapped Copy) */
.mega-menu {
  white-space: normal;
}
.mega-menu.mega-visual-products {
  width: min(840px, 92vw);
  left: -72px;
  padding: 20px 22px;
  display: block;
  white-space: normal;
}
.mega-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mega-prod-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: all 0.2s ease;
  min-width: 0;
  overflow: hidden;
}
.mega-prod-card:hover {
  background: var(--surface);
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.mega-prod-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #f3ede2;
}
.mega-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.mega-prod-card:hover .mega-prod-thumb img {
  transform: scale(1.03);
}
.mega-prod-price-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--forest);
  border: 1px solid rgba(31, 58, 51, 0.14);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
}
.mega-prod-card strong {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.32;
  white-space: normal;
}
.mega-prod-card span {
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.42;
  white-space: normal;
  overflow-wrap: break-word;
}
.mega-foot-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  white-space: normal;
}
.mega-foot-bar a {
  color: var(--forest);
  font-weight: 600;
}
.mega-foot-bar a:hover { text-decoration: underline; }

.mega-menu.mega-visual-moods {
  width: min(760px, 92vw);
  left: -56px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1.58fr 0.85fr;
  gap: 16px;
  white-space: normal;
}
.mega-mood-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.mega-mood-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: all 0.18s ease;
  min-width: 0;
  overflow: hidden;
}
.mega-mood-card:hover {
  background: var(--surface);
  border-color: var(--forest);
  transform: translateY(-2px);
}
.mega-mood-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  background: #f3ede2;
}
.mega-mood-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mega-mood-card strong { font-size: 12.5px; color: var(--ink); white-space: normal; }
.mega-mood-card small { font-size: 11px; color: var(--ink-muted); line-height: 1.35; white-space: normal; }
.mega-quiz-feature {
  background: linear-gradient(145deg, #1f3a33 0%, #2d5248 100%);
  color: #f8f4ec;
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  white-space: normal;
}

/* Card Rating + Price + Direct Quick-Add Pill */
.card-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.card-stars {
  color: #d99326;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
}
.card-price-main {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.card-price-sub {
  font-size: 11px;
  color: var(--ink-muted);
}
.quick-add-pill {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8.5px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--forest);
  background: var(--surface);
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.18s ease;
}
.quick-add-pill:hover {
  background: var(--forest);
  color: #fff;
}
.eur-approx {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-left: 4px;
}

/* Right-Hand Slide-Out Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 165;
  background: rgba(20, 19, 17, 0.48);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 170;
  width: min(432px, 95vw);
  background: var(--bg);
  box-shadow: -20px 0 55px rgba(18, 17, 15, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(104%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-drawer-head {
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-free-ship-box {
  padding: 12px 20px;
  background: #edf4f1;
  border-bottom: 1px solid rgba(31, 58, 51, 0.12);
  font-size: 12px;
  color: var(--forest);
}
.cart-free-ship-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(31, 58, 51, 0.14);
  overflow: hidden;
  margin-top: 7px;
}
.cart-free-ship-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--forest);
  transition: width 0.32s ease;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-line-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}
.cart-line-thumb {
  width: 64px;
  height: 52px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--bg-soft);
}
.cart-qty-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
}
.cart-qty-pill button {
  border: 0;
  background: none;
  padding: 0 3px;
  font-weight: 700;
  color: var(--ink);
}
.cart-upsell-box {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}
.cart-upsell-row {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.cart-upsell-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.cart-drawer-foot {
  padding: 14px 20px 18px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}
.bnpl-trust-note {
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--bg);
  border-radius: 9px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Top Search Modal */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 175;
  background: rgba(20, 19, 17, 0.52);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 16px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.search-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.search-modal-card {
  width: min(760px, 95vw);
  max-height: 82vh;
  overflow-y: auto;
  background: var(--bg);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-strong);
}
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

/* Bottom-Right Floating Utility Dock (Cart Ball + Concierge Chat + Back-to-Top) */
.floating-utility-dock {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 96;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}
.float-dock-btn {
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(24, 23, 21, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}
.float-dock-btn:hover { transform: translateY(-2px); }
.float-cart-ball {
  background: var(--forest);
  color: #fff;
}
.float-chat-btn {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.float-top-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: var(--line-strong);
  opacity: 0;
  pointer-events: none;
}
.float-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.concierge-popover {
  width: min(340px, 90vw);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(24, 23, 21, 0.2);
  overflow: hidden;
  display: none;
  margin-bottom: 4px;
}
.concierge-popover.open { display: block; }

/* Media / Demo Video / Certificate Lightbox Modal */
.media-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(15, 15, 14, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.media-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.media-modal-card {
  position: relative;
  width: min(820px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

/* Dense Reviews Wall, Robertet Provenance Certificates, Purity Facts & Bundles/Blog */
.reviews-summary-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 26px 30px;
  margin-bottom: 24px;
  align-items: center;
}
.screenshot-wall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.shot-wall-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(24, 23, 21, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shot-wall-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.shot-wall-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--line);
}
.shot-wall-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.shot-zoom-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(24, 23, 21, 0.76);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.reviews-masonry-grid,
.ecom-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ecom-reviews-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.review-dense-card,
.ecom-review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(24, 23, 21, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ecom-review-card:hover {
  border-color: rgba(31, 58, 51, 0.2);
  box-shadow: 0 12px 28px rgba(24, 23, 21, 0.06);
}
.ecom-rev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ecom-buyer-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ecom-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.ecom-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8f3ee;
  color: #1f5c43;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.ecom-variant-bar {
  font-size: 11.5px;
  color: var(--ink-muted);
  background: var(--bg);
  border-radius: 8px;
  padding: 5px 10px;
  line-height: 1.4;
}
.ecom-ugc-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.ecom-ugc-thumb {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  cursor: zoom-in;
  padding: 0;
  flex-shrink: 0;
}
.ecom-ugc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.ecom-ugc-thumb:hover img {
  transform: scale(1.06);
}
.ecom-rev-footer {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.ecom-helpful-btn {
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}
.ecom-helpful-btn:hover,
.ecom-helpful-btn.voted {
  background: #e8f3ee;
  border-color: #1f5c43;
  color: #1f5c43;
  font-weight: 600;
}
.cert-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cert-plate-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cert-plate-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.cert-plate-card img {
  width: 100%;
  aspect-ratio: 3 / 3.9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.purity-facts-panel {
  background: #fffdf9;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 20px 22px;
  font-size: 13px;
}
.purity-facts-panel h3 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-bottom: 6px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.purity-fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-strong);
}
.bundle-grid-3,
.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1340px) {
  .brand-sub { display: none; }
  .site-nav { gap: 13px; font-size: 13px; }
}
@media (max-width: 1150px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 16px 5vw 22px;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 18px 36px rgba(24, 23, 21, 0.10);
    z-index: 90;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 10;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-soft);
    font-size: 18px;
    flex-shrink: 0;
  }
  .mega-menu.mega-visual-products,
  .mega-menu.mega-visual-moods {
    position: static;
    width: 100%;
    left: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--bg);
    border-radius: 12px;
    padding: 12px;
    display: none;
  }
  .nav-dropdown.open .mega-menu.mega-visual-products,
  .nav-dropdown.open .mega-menu.mega-visual-moods {
    display: block;
  }
}
@media (max-width: 1080px) {
  .scent-grid,
  .spu-grid-3,
  .spu-grid-4,
  .cert-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reviews-masonry-grid,
  .ecom-reviews-grid,
  .bundle-grid-3,
  .blog-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .screenshot-wall-grid { grid-template-columns: 1fr; }
  .mega-menu.mega-visual-products,
  .mega-menu.mega-visual-moods {
    width: 100%;
    left: 0;
    padding: 12px;
    display: none;
  }
  .nav-dropdown.open .mega-menu.mega-visual-products,
  .nav-dropdown.open .mega-menu.mega-visual-moods {
    display: block;
  }
  .mega-prod-grid,
  .mega-mood-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mega-quiz-feature { margin-top: 10px; }
  .reviews-summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .spu-grid-3,
  .spu-grid-4,
  .reviews-masonry-grid,
  .ecom-reviews-grid,
  .ecom-reviews-grid-2,
  .bundle-grid-3,
  .blog-grid-3,
  .search-results-grid {
    grid-template-columns: 1fr;
  }
  .scent-grid,
  .cert-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .floating-utility-dock {
    right: 12px;
    bottom: 14px;
  }
  .float-dock-btn span.dock-label {
    display: none;
  }
}

/* ─── V36: Provenance B+A Hover Botanical Dossier Grid & Starry Review Wall ─── */
.prov-ba-panel {
  position: relative;
  padding: 30px 32px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
}
.prov-ba-head {
  text-align: center;
  margin-bottom: 24px;
}
.prov-ba-head h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--ink);
}
.prov-ba-head p {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}
.prov-ba-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.prov-ba-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 15px 17px;
  border-radius: 14px;
  background: #faf7f1;
  border: 1.5px solid rgba(28, 46, 38, 0.09);
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.prov-ba-cell:hover,
.prov-ba-cell.is-active {
  background: #ffffff;
  border-color: var(--forest);
  box-shadow: 0 12px 28px rgba(20, 42, 34, 0.10);
  transform: translateY(-1px);
}
.prov-ba-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.prov-ba-code {
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.prov-ba-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
}
.prov-ba-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.28;
}
.prov-ba-micro {
  font-size: 11.8px;
  color: var(--ink-muted);
  line-height: 1.38;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.prov-dossier-popover {
  position: absolute;
  z-index: 65;
  width: 368px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid rgba(24, 48, 40, 0.16);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 22px 52px rgba(16, 33, 26, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, left 0.16s ease, top 0.16s ease;
}
.prov-dossier-popover.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.prov-pop-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.prov-pop-thumb {
  width: 64px;
  height: 64px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.prov-pop-meta {
  font-size: 12.2px;
  line-height: 1.55;
  color: var(--ink-soft);
  display: grid;
  gap: 5px;
}
.prov-pop-meta strong {
  color: var(--ink);
}

/* Reviews Top Curated Screenshot 4-Row */
.shot-row-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}
.shot-compact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 9px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.shot-compact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(20, 35, 29, 0.08);
}
.shot-compact-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 11px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-soft);
}
.shot-compact-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Starry Constellation Review Wall */
.starry-wall-shell {
  position: relative;
  border-radius: 26px;
  background: radial-gradient(ellipse at 25% 20%, #1f3d31 0%, #132820 52%, #0b1813 100%);
  border: 1px solid rgba(235, 206, 148, 0.24);
  box-shadow: 0 26px 60px rgba(10, 24, 18, 0.24);
  color: #f6f2e8;
  overflow: hidden;
  margin-top: 8px;
}
.starry-wall-head {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(238, 218, 175, 0.12);
}
.starry-wall-title {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #f7f1e3;
  margin: 0 0 3px;
}
.starry-wall-sub {
  font-size: 12.2px;
  color: rgba(242, 235, 220, 0.68);
  margin: 0;
}
.starry-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.starry-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(238, 218, 175, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 240, 228, 0.84);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.starry-pill:hover {
  border-color: rgba(247, 216, 148, 0.58);
  color: #ffffff;
}
.starry-pill.active {
  background: linear-gradient(135deg, #f6e7c6 0%, #ebd19d 100%);
  border-color: #f6e7c6;
  color: #162921;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(245, 214, 146, 0.38);
}
.starry-sky-stage {
  position: relative;
  width: 100%;
  height: 510px;
  overflow: hidden;
  user-select: none;
}
.starry-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
@keyframes starBreathe {
  0%, 100% { transform: scale(0.86); opacity: 0.62; }
  50% { transform: scale(1.18); opacity: 1; }
}
.starry-node {
  position: absolute;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: opacity 0.25s ease, transform 0.22s ease;
}
.starry-node.is-dimmed {
  opacity: 0.16;
}
.starry-spark {
  position: relative;
  width: 13px;
  height: 13px;
  display: block;
  animation: starBreathe var(--dur, 3.6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.starry-spark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--star-color, #f7d88e);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  filter: drop-shadow(0 0 6px var(--star-color, #f7d88e));
}
.starry-spark::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--star-glow, rgba(247,216,142,0.34)) 0%, transparent 70%);
}
.starry-node:hover,
.starry-node.is-active {
  z-index: 12;
  transform: scale(1.55);
  opacity: 1 !important;
}
.starry-node:hover .starry-spark,
.starry-node.is-active .starry-spark {
  animation: none;
  transform: scale(1.15);
}
.starry-float-card {
  position: absolute;
  z-index: 20;
  width: 372px;
  max-width: calc(100% - 28px);
  background: linear-gradient(145deg, rgba(252, 249, 242, 0.97) 0%, rgba(241, 236, 225, 0.95) 100%);
  backdrop-filter: blur(14px);
  color: #1e2420;
  border: 1px solid rgba(244, 213, 146, 0.72);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 22px 50px rgba(4, 12, 9, 0.48), 0 0 28px rgba(247, 216, 142, 0.18);
  transition: left 0.26s cubic-bezier(0.22, 1, 0.36, 1), top 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.starry-card-inner {
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 14px;
  align-items: start;
}
.starry-card-thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(24, 48, 40, 0.12);
}
.starry-try-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(188, 146, 72, 0.45);
  background: linear-gradient(135deg, #f8efe0 0%, #efe1c6 100%);
  color: #24352d;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.starry-try-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(180, 138, 62, 0.22);
}
.starry-foot-hint {
  position: absolute;
  left: 24px;
  bottom: 14px;
  z-index: 6;
  font-size: 11.5px;
  color: rgba(242, 235, 220, 0.56);
  pointer-events: none;
}

@media (max-width: 1080px) {
  .prov-ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .prov-ba-panel { padding: 20px 16px; }
  .prov-ba-grid { grid-template-columns: 1fr; }
  .prov-dossier-popover {
    position: fixed;
    left: 16px !important;
    right: 16px !important;
    bottom: 20px !important;
    top: auto !important;
    width: auto;
  }
  .shot-row-4 { grid-template-columns: 1fr; }
  .starry-sky-stage { height: 540px; }
  .starry-float-card {
    left: 14px !important;
    right: 14px !important;
    bottom: 36px !important;
    top: auto !important;
    width: auto;
  }
}

/* ─── V40: Official Public Supplier Credential Plates (Transition Edition) ─── */
.public-cred-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.public-cred-card:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 48, 40, 0.28);
  box-shadow: 0 14px 32px rgba(20, 38, 30, 0.09);
}
.public-cred-sheet {
  position: relative;
  background: linear-gradient(165deg, #fdfbf6 0%, #f5efe3 100%);
  border: 1px solid rgba(196, 164, 104, 0.38);
  border-radius: 13px;
  padding: 16px 15px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 215px;
}
.public-cred-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--forest);
  color: #f6efe0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.public-cred-stat {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
  margin: 10px 0 4px;
}
.public-cred-points {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 5px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.public-cred-points li {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 46, 38, 0.06);
}
.public-cred-seal {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.2px solid rgba(188, 148, 76, 0.6);
  background: rgba(255, 251, 242, 0.9);
  color: #9e7730;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.public-cred-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  margin-top: 4px;
  white-space: nowrap;
}
.public-cred-link:hover {
  text-decoration: underline;
}

/* ─── V42: Global Multi-Language Zero-Bad-Line-Break Architecture ─── */
.quick-add-pill,
.pill-tag,
.filter-pill,
.starry-pill,
.starry-try-btn,
.home-rating-pill,
.home-video-badge,
.shot-zoom-pill,
.sku-tier-float-badge,
.sku-tier-title,
.sku-tier-price,
.sku-tier-compare,
.sku-tier-unit,
.mega-prod-price-tag,
.public-cred-pill,
.pdp-line-pill,
.pay-tab,
.account-pill-btn {
  white-space: nowrap;
}
.eyebrow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mega-Menu Single-Line Precision Across All 5 Languages */
.mega-visual-products {
  width: min(860px, 94vw);
  left: -80px;
}
.mega-visual-moods {
  width: min(860px, 94vw);
  left: -115px;
  grid-template-columns: 1.48fr 0.96fr;
}
.mega-prod-card strong,
.mega-prod-card span,
.mega-mood-card strong,
.mega-mood-card small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega-mood-thumb img {
  object-position: center center;
}
.mega-quiz-feature {
  padding: 20px 18px;
}
.mega-quiz-feature h4 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  white-space: nowrap;
  letter-spacing: 0 !important;
}
.mega-foot-bar a {
  white-space: nowrap;
}

/* Cards, Scent Tiles, Provenance Cells & Purity Facts Single-Line Protection */
.scent-card h3,
.prov-ba-name,
.spu-grid-4 .card-title,
.bundle-grid-3 .card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.purity-fact-row {
  gap: 10px;
}
.purity-fact-row strong,
.purity-fact-row span {
  white-space: nowrap;
}
.pdp-cta-row {
  flex-wrap: nowrap;
}

@media (max-width: 900px) {
  .section-head {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .slide-copy-box {
    min-width: 0;
    width: 100%;
    padding: 24px 20px;
  }
  .slide-cta-row {
    flex-wrap: wrap;
  }
  .eyebrow,
  .spu-grid-4 .card-title,
  .bundle-grid-3 .card-title,
  .mega-quiz-feature h4,
  .purity-fact-row strong,
  .purity-fact-row span,
  .sku-tier-title,
  .sku-tier-unit {
    white-space: normal;
  }
  .pdp-cta-row {
    flex-wrap: wrap;
  }
}


/* =========================================================================
   V45 VISUAL UPGRADE: BFCM HERO ALIGNMENT, 16:9->1:1 PDP RIGHT-INSET FRAMING,
   AND UNCROPPED SOCIAL & MARKETPLACE REVIEW SCREENSHOT MASONRY
   ========================================================================= */
.carousel-slide[data-slide-id="slide-4"] {
  background-position: 72% center;
}

.cart-line-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* Auto-align any 16:9 split scent card (scents26/) rendered inside a 1:1 PDP / square slot
   directly onto its right-side 1:1 product detail inset (cx ≈ 72.07%, trimmed of outer frame) */
.pdp-main-stage > img[src*="scents26/"],
.pdp-thumb-btn img[src*="scents26/"],
.cart-line-thumb[src*="scents26/"],
#cart-checkout-root img[src*="scents26/"],
.starry-card-thumb[src*="scents26/"],
.prov-pop-thumb[src*="scents26/"],
.pdp-sticky-inner img[src*="scents26/"],
.return-pdp-inner img[src*="scents26/"] {
  object-fit: cover !important;
  object-position: 100% center !important;
  transform: scale(1.13);
  transform-origin: 95% center;
}

.social-shots-masonry {
  column-count: 3;
  column-gap: 18px;
  margin-bottom: 28px;
}
@media (max-width: 1080px) {
  .social-shots-masonry {
    column-count: 2;
  }
}
@media (max-width: 680px) {
  .social-shots-masonry {
    column-count: 1;
  }
}

.social-shot-card {
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(24, 23, 21, 0.08);
  box-shadow: 0 10px 26px rgba(24, 23, 21, 0.06);
  cursor: zoom-in;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.social-shot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(24, 23, 21, 0.11);
}
.social-shot-card img {
  width: 100%;
  height: auto;
  display: block;
}
.social-shot-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: #faf7f2;
  border-top: 1px solid rgba(24, 23, 21, 0.06);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.social-shot-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  color: var(--forest);
}

/* =========================================================================
   V56 FOOLPROOF MERCHANT CONSOLE: COLOR-CODED STATUS PILL SELECTS,
   SPACIOUS FORM TYPOGRAPHY, 1:1 HEAD-IMAGE GRID & LIVE PREVIEW PARITY
   ========================================================================= */
body.admin-body .input-field {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 9px 13px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.42;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.admin-body .input-field:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
body.admin-body select.input-field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 14px 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}
body.admin-body .adm-card small {
  display: inline-block;
  margin-bottom: 5px;
  line-height: 1.35;
}
body.admin-body .adm-table th,
body.admin-body .adm-table td {
  padding: 12px 12px;
  vertical-align: middle;
}

/* Color-Coded Status Pill Dropdown (Replaces Broken Grey Toggle) */
.adm-shelf-cell {
  display: inline-flex;
  align-items: center;
}
.adm-status-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 32px 6px 12px;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background-color: #f8fafc;
  color: #334155;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  min-width: 128px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 13px 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.adm-status-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}
.adm-status-select.status-active {
  background-color: #ecfdf5;
  border-color: #6ee7b7;
  color: #065f46;
}
.adm-status-select.status-coming_soon {
  background-color: #fffbeb;
  border-color: #fcd34d;
  color: #92400e;
}
.adm-status-select.status-draft,
.adm-status-select.status-archived {
  background-color: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
}
.adm-status-select.status-sold_out {
  background-color: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

/* Two-Column Split Editor + Sticky Right Live Webpage Preview */
.adm-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 376px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 1260px) {
  .adm-editor-layout {
    grid-template-columns: 1fr;
  }
}
.adm-preview-rail {
  position: sticky;
  top: 72px;
  background: #ffffff;
  border: 1px solid #dbe3ec;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 12px;
}
.adm-preview-lang-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 9px;
}
.adm-preview-lang-btn {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.adm-preview-lang-btn.active {
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
}
.adm-mini-browser {
  background: #faf7f2;
  border: 1px solid #e6dfd3;
  border-radius: 12px;
  padding: 13px;
  color: #1d1c1a;
  display: grid;
  gap: 12px;
}
.adm-mini-browser-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6dfd3;
}
.adm-mini-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.adm-mini-dots i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.adm-mini-dots i:nth-child(1) { background: #fca5a5; }
.adm-mini-dots i:nth-child(2) { background: #fcd34d; }
.adm-mini-dots i:nth-child(3) { background: #6ee7b7; }
.adm-mini-body {
  display: grid;
  gap: 12px;
}
.adm-mini-section {
  background: #ffffff;
  border: 1px solid #e7e2d8;
  border-radius: 10px;
  padding: 11px 12px;
  box-shadow: 0 2px 6px rgba(29, 28, 26, 0.03);
}
.adm-mini-sec-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0f766e;
  background: #e6f4f1;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
}

/* Numbered DouDian-Style 1:1 Head-Image Grid */
.adm-head-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.adm-head-slot {
  position: relative;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.adm-head-slot.is-primary {
  border-color: #0f766e;
  background: #f0fdfa;
}
.adm-head-slot.is-empty {
  border: 1.5px dashed #cbd5e1;
  background: #f8fafc;
  cursor: pointer;
  min-height: 176px;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #64748b;
}
.adm-head-slot.is-empty:hover {
  border-color: #0f766e;
  background: #f0fdfa;
}
.adm-head-slot-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 5px;
  background: #0f172a;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-head-slot.is-primary .adm-head-slot-tag {
  background: #0f766e;
}
.adm-head-slot > img,
.adm-head-slot-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: block;
}
.adm-head-slot-bar,
.adm-head-slot-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.adm-head-slot-bar button,
.adm-head-slot-actions button {
  flex: 1;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 5px;
  font-size: 11px;
  padding: 3px 4px;
  cursor: pointer;
  color: #334155;
  line-height: 1.2;
}
.adm-head-slot-bar button:hover:not(:disabled),
.adm-head-slot-actions button:hover:not(:disabled) {
  background: #e2e8f0;
}
.adm-head-slot-bar button:disabled,
.adm-head-slot-actions button:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Collapsible Drawers for Multi-Language Review & Custom Detail Cards */
.adm-collapse-box {
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}
.adm-collapse-box > summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  user-select: none;
}
.adm-collapse-box > summary::-webkit-details-marker {
  display: none;
}
.adm-collapse-box[open] > summary {
  border-bottom: 1px solid #e2e8f0;
  background: #f0fdfa;
  color: #0f766e;
}
.adm-collapse-body {
  padding: 14px 16px;
  background: #ffffff;
}

/* ─── Storefront 4-Status Badges (Pre-Order / Sold Out) & Waitlist UI (?v=63) ─── */
.spu-media-box {
  position: relative;
}
.spu-status-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(6px);
}
.spu-status-ribbon--presale {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  border: 1px solid #f59e0b;
}
.spu-status-ribbon--soldout {
  background: rgba(24, 23, 21, 0.88);
  color: #fef2f2;
  border: 1px solid rgba(248, 113, 113, 0.55);
}
.spu-card--soldout .spu-media-box img {
  opacity: 0.78;
  filter: saturate(0.75);
}
.quick-add-pill--presale {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1px solid #f59e0b !important;
}
.quick-add-pill--presale:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  border-color: #d97706 !important;
}
.quick-add-pill--soldout {
  background: #f5f3ef !important;
  color: #57534e !important;
  border: 1px dashed #a8a29e !important;
}
.quick-add-pill--soldout:hover {
  background: #292524 !important;
  color: #ffffff !important;
  border-color: #292524 !important;
}
.spu-upcoming-band {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.spu-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}
@media (max-width: 960px) {
  .spu-upcoming-grid {
    grid-template-columns: 1fr;
  }
}
.pdp-status-callout {
  padding: 12px 15px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 12.5px;
  line-height: 1.55;
}
.pdp-status-callout--presale {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}
.pdp-status-callout--soldout {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.storefront-waitlist-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(24, 23, 21, 0.54);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.storefront-waitlist-dialog {
  width: min(440px, 100%);
  background: #fdfbf7;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

