:root {
  color-scheme: light;
  --ink: #171515;
  --muted: #67605b;
  --line: #ded8d1;
  --paper: #fbfaf7;
  --soft: #f2ece5;
  --white: #ffffff;
  --rose: #b75f69;
  --rose-dark: #7a3942;
  --sage: #799174;
  --teal: #315d63;
  --gold: #b48a54;
  --shadow: 0 22px 60px rgba(54, 44, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 104px;
  padding: 12px 14px;
  resize: vertical;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(23, 21, 21, 0.64), rgba(23, 21, 21, 0.64)),
    url("assets/hero-adult-products.jpg") center / cover no-repeat,
    var(--teal);
}

.age-gate.is-hidden {
  display: none;
}

.age-panel {
  width: min(540px, 100%);
  padding: clamp(26px, 5vw, 42px);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.age-panel h1 {
  margin: 10px 0 12px;
  font-size: 3.2rem;
  line-height: 1.02;
}

.age-panel p:not(.eyebrow) {
  color: var(--muted);
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.topbar {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 8px 18px;
  color: var(--paper);
  background: var(--teal);
  font-size: 0.88rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(222, 216, 209, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--teal);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.main-nav a,
.footer-links a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.footer-links a:hover {
  color: var(--rose-dark);
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  align-items: start;
  width: min(720px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(232, 189, 205, 0.95);
  border-radius: 8px;
  background: rgba(255, 250, 253, 0.98);
  box-shadow: 0 22px 48px rgba(93, 35, 58, 0.14);
  overflow-y: auto;
  transform: translateX(-50%);
}

.nav-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 24px;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu,
.nav-item.is-submenu-open .nav-submenu {
  display: grid;
  gap: 8px;
}

.nav-item.is-submenu-suppressed .nav-submenu {
  display: none;
}

.nav-category-group {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 239, 246, 0.72);
  cursor: pointer;
}

.nav-category-group:hover {
  background: rgba(255, 231, 240, 0.95);
}

.nav-submenu a {
  display: block;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-submenu .nav-menu-all {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-bottom: 2px;
  color: #fff;
  background: linear-gradient(135deg, #8f315d, #d86694);
  font-weight: 950;
  text-align: center;
  box-shadow: 0 12px 26px rgba(143, 49, 93, 0.16);
}

.nav-submenu .nav-menu-all:hover,
.nav-submenu .nav-menu-all.is-active {
  color: #fff;
  background: linear-gradient(135deg, #76264c, #c85786);
}

.nav-submenu .nav-category-parent {
  color: #5b213c;
  font-weight: 850;
  background: rgba(255, 250, 253, 0.82);
}

.nav-submenu a:hover,
.nav-submenu a.is-active {
  background: rgba(255, 231, 240, 0.95);
}

.nav-submenu .is-child {
  padding-left: 14px;
  font-size: 0.88rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 68px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 820;
}

.globe-icon {
  position: relative;
  display: inline-block;
  width: 21px;
  height: 21px;
  border: 2px solid #111;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 28%, #6fd3ff 0 18%, transparent 19%),
    radial-gradient(circle at 70% 62%, #75d783 0 18%, transparent 19%),
    radial-gradient(circle at 47% 74%, #ffd85c 0 12%, transparent 13%),
    linear-gradient(135deg, #4fb5ff, #65d18b 58%, #ffd461);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  flex: 0 0 auto;
}

.globe-icon::before,
.globe-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px solid rgba(17, 17, 17, 0.86);
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
}

.globe-icon::after {
  inset: 2px 7px;
  border-color: rgba(17, 17, 17, 0.9);
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 90;
  display: none;
  min-width: 150px;
  overflow: hidden;
  border: 1px solid rgba(226, 178, 197, 0.86);
  border-radius: 8px;
  background: rgba(255, 252, 254, 0.98);
  box-shadow: 0 18px 42px rgba(93, 35, 58, 0.14);
}

.lang-switcher.is-open .lang-menu,
.lang-switcher:focus-within .lang-menu {
  display: grid;
}

.lang-btn {
  min-width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(226, 178, 197, 0.56);
  color: var(--muted);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 760;
  text-align: left;
}

.lang-btn:last-child {
  border-bottom: 0;
}

.lang-btn:hover,
.lang-btn.is-active {
  color: var(--rose-dark);
  background: rgba(255, 231, 240, 0.88);
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
}

.cart-icon {
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.cart-icon::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 7px;
  top: 10px;
  left: 15px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--rose);
  font-size: 0.72rem;
  font-weight: 820;
}

.eyebrow {
  margin: 0;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page {
  min-height: 62vh;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  min-height: calc(100vh - 114px);
  padding: clamp(42px, 6vw, 86px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(242, 236, 229, 0.92), rgba(251, 250, 247, 0.36)),
    var(--paper);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1,
.page-hero h1,
.product-detail h1,
.success-panel h1 {
  margin: 14px 0 18px;
  font-size: 5rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.section-heading p,
.split-section p,
.policy-card p,
.guide-card p,
.product-card p,
.product-detail p,
.checkout-summary p,
.success-panel p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: 1.16rem;
}

.hero-actions,
.product-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 780;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-btn {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 10px 28px rgba(23, 21, 21, 0.12);
}

.secondary-btn,
.ghost-btn {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.ghost-btn {
  min-height: 42px;
  padding: 0 16px;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
}

.text-link {
  color: var(--rose-dark);
  font-weight: 820;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(520px, 100%);
  filter: drop-shadow(0 28px 60px rgba(49, 93, 99, 0.24));
}

.hero-card,
.mini-card {
  position: absolute;
  min-width: 164px;
  padding: 16px 18px;
  border: 1px solid rgba(222, 216, 209, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  right: 0;
  bottom: 60px;
}

.mini-card {
  left: 10px;
  top: 42px;
}

.hero-card span,
.mini-card span,
.meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-card strong,
.mini-card strong {
  display: block;
  margin-top: 2px;
  font-size: 1.3rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.trust-strip article {
  min-height: 176px;
  padding: 28px clamp(20px, 4vw, 42px);
  background: var(--white);
}

.trust-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--sage);
  font-weight: 860;
}

.trust-strip h2,
.product-card h3,
.guide-card h3,
.policy-card h3,
.detail-card h3,
.checkout-summary h3,
.review-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.section-shell,
.page-shell {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.page-shell.is-soft,
.faq-section {
  background: var(--soft);
}

.section-heading,
.shop-toolbar,
.split-section,
.checkout-layout,
.product-detail,
.policy-grid,
.guide-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(280px, 0.42fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.section-heading {
  align-items: end;
  margin-bottom: 30px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading h2,
.split-section h2,
.newsletter-section h2,
.page-hero h1,
.page-shell h2,
.checkout-layout h1 {
  margin: 10px 0 0;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0;
}

.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.page-hero p {
  max-width: 720px;
  font-size: 1.08rem;
}

.filter-bar,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip,
.option-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-weight: 740;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-chip.is-active,
.option-chip.is-active {
  color: var(--paper);
  border-color: var(--teal);
  background: var(--teal);
}

.option-edit-chip {
  display: inline-flex;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

.option-edit-chip .option-chip {
  flex: 1 1 auto;
  max-width: 100%;
  border-radius: 8px;
}

.option-chip [data-inline-edit] {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.option-delete-btn,
.option-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(226, 178, 197, 0.88);
  color: #7a3154;
  background: #fffafd;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.option-delete-btn {
  flex: 0 0 34px;
  width: 34px;
  margin-left: -1px;
  border-radius: 0 8px 8px 0;
}

.option-add-btn {
  min-width: 0;
  gap: 6px;
  padding: 0 14px;
  border-style: dashed;
  border-radius: 8px;
  background: rgba(255, 239, 246, 0.88);
}

.option-delete-btn:hover,
.option-add-btn:hover,
.option-delete-btn:focus-visible,
.option-add-btn:focus-visible {
  border-color: #c75b86;
  color: #5b213c;
  background: #ffe3ef;
  outline: none;
}

.shop-toolbar {
  align-items: center;
  margin-bottom: 28px;
}

.shop-sort {
  justify-self: end;
  width: min(260px, 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: var(--soft);
}

.product-image img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--rose-dark);
  font-size: 0.72rem;
  font-weight: 780;
}

.product-info {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.product-info p {
  min-height: 48px;
  font-size: 0.92rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.price {
  font-size: 1.18rem;
  font-weight: 840;
}

.product-actions {
  margin-top: auto;
  padding-top: 18px;
}

.add-btn {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--teal);
  font-weight: 800;
}

.quick-view {
  width: 100%;
}

.danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(197, 72, 113, 0.62);
  border-radius: 8px;
  color: #8f244f;
  background: rgba(255, 246, 250, 0.96);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.danger-btn:hover,
.danger-btn:focus-visible {
  border-color: rgba(171, 48, 92, 0.9);
  color: #fff;
  background: #a83262;
  outline: none;
}

.product-delete-btn,
.detail-delete-product {
  width: 100%;
  margin-top: 12px;
}

.split-section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background: #ece9e0;
}

.stack-list {
  display: grid;
  gap: 14px;
}

.stack-list article,
.guide-card,
.policy-card,
.faq-list details,
.detail-card,
.review-card,
.checkout-card,
.success-panel {
  padding: 22px;
  border: 1px solid rgba(222, 216, 209, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.guide-grid,
.policy-grid.three,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-card span,
.policy-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.guide-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--rose-dark);
  font-weight: 820;
}

.newsletter-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  align-items: center;
  gap: 30px;
  padding: clamp(44px, 6vw, 80px) clamp(18px, 5vw, 72px);
  color: var(--paper);
  background: var(--teal);
}

.newsletter-section .eyebrow {
  color: #d5c39e;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.newsletter-form input {
  border: 0;
  border-radius: 999px;
}

.newsletter-form .primary-btn {
  background: var(--paper);
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 820;
}

.faq-list p {
  padding-top: 14px;
}

.product-detail {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.detail-gallery {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 14px;
}

.detail-main-image {
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.detail-main-image img {
  width: min(440px, 84%);
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.detail-thumbs div {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-thumbs img {
  width: 72%;
}

.detail-content {
  max-width: 640px;
}

.detail-content h1 {
  font-size: 4rem;
}

.detail-price {
  margin: 18px 0;
  font-size: 1.6rem;
  font-weight: 860;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.detail-meta article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-options {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.quantity-row {
  display: inline-grid;
  grid-template-columns: 42px 52px 42px;
  align-items: center;
  overflow: hidden;
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.quantity-row button {
  min-height: 40px;
  border: 0;
  background: transparent;
}

.quantity-row span {
  display: grid;
  place-items: center;
  min-height: 40px;
  text-align: center;
  color: #141014;
  font-family: Arial, "Helvetica Neue", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.08rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
  transform: scaleX(1.12);
  transform-origin: center;
}

.detail-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.checkout-layout {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-weight: 740;
}

.checkout-summary {
  position: sticky;
  top: 108px;
}

.summary-items {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.summary-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
}

.summary-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--soft);
}

.summary-line,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.summary-total {
  font-size: 1.18rem;
  font-weight: 860;
}

.payment-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: var(--paper);
}

.success-page {
  display: grid;
  place-items: center;
  padding: clamp(54px, 9vw, 120px) clamp(18px, 5vw, 72px);
  background: var(--soft);
}

.success-panel {
  width: min(760px, 100%);
  text-align: center;
}

.success-panel h1 {
  font-size: 3.8rem;
}

.order-number {
  display: inline-flex;
  margin: 14px 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  font-weight: 860;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  background: rgba(23, 21, 21, 0);
  transition: background 180ms ease;
}

.cart-drawer.is-open {
  pointer-events: auto;
  background: rgba(23, 21, 21, 0.38);
}

.cart-panel {
  display: flex;
  flex-direction: column;
  width: min(430px, 100%);
  height: 100%;
  padding: 22px;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin: 0;
}

.close-btn {
  font-size: 1.4rem;
}

.cart-items {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--soft);
}

.cart-item h3 {
  margin: 0;
  font-size: 0.94rem;
}

.cart-item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-control button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.cart-empty {
  display: none;
  padding: 30px 0;
  color: var(--muted);
}

.cart-empty.is-visible {
  display: block;
}

.cart-note {
  margin-top: auto;
  padding: 14px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.92rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.checkout-btn {
  width: 100%;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: start;
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  max-width: 420px;
  margin-top: 14px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-contact strong {
  color: var(--ink);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow: visible;
    padding-bottom: 2px;
  }

  .nav-item.has-submenu {
    position: static;
  }

  .nav-submenu {
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    width: auto;
    max-height: min(62vh, 520px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    transform: none;
  }

  .hero-section,
  .section-heading,
  .shop-toolbar,
  .split-section,
  .newsletter-section,
  .product-detail,
  .checkout-layout,
  .policy-grid,
  .guide-feature {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .trust-strip,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid,
  .policy-grid.three,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .shop-sort {
    justify-self: start;
  }

  .detail-gallery,
  .checkout-summary {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    font-size: 0.8rem;
  }

  .site-header {
    gap: 14px;
    padding-inline: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .lang-btn {
    min-width: 38px;
  }

  .hero-section,
  .section-shell,
  .page-shell,
  .split-section,
  .newsletter-section,
  .page-hero,
  .product-detail,
  .checkout-layout,
  .success-page {
    padding-inline: 16px;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-card {
    right: 10px;
    bottom: 24px;
  }

  .mini-card {
    left: 4px;
    top: 24px;
  }

  .trust-strip,
  .product-grid,
  .detail-card-grid,
  .detail-meta,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .newsletter-form input,
  .newsletter-form .primary-btn {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 56px 1fr;
  }

  .qty-control {
    grid-column: 2;
  }

  .detail-main-image {
    min-height: 340px;
  }

  .summary-item {
    grid-template-columns: 46px 1fr;
  }

  .summary-item strong {
    grid-column: 2;
  }
}

/* LumaCare green premium refresh: original layout, new visual system. */
:root {
  --ink: #102017;
  --muted: #627268;
  --line: #d7eadc;
  --paper: #f3fbf5;
  --soft: #e5f6ea;
  --white: #ffffff;
  --rose: #7bbf8d;
  --rose-dark: #2f674c;
  --sage: #6da77c;
  --teal: #214b39;
  --gold: #a7924f;
  --mint: #cfeedd;
  --mint-2: #edf9f0;
  --shadow: 0 28px 72px rgba(28, 72, 47, 0.13);
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #f7fff8 0%, #eff9f2 46%, #ffffff 100%);
  font-family:
    Inter, "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(33, 75, 57, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 75, 57, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 62%);
}

.topbar {
  min-height: 34px;
  color: #effff3;
  background: #153726;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-header {
  min-height: 70px;
  padding: 12px clamp(22px, 5vw, 76px);
  background: rgba(248, 255, 249, 0.84);
  border-bottom: 1px solid rgba(184, 220, 194, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 12px 34px rgba(37, 82, 57, 0.07);
}

.brand {
  gap: 10px;
  font-weight: 780;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #f8fff9;
  background:
    linear-gradient(145deg, #1f523b, #72b384);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.main-nav {
  gap: 6px;
  justify-content: center;
}

.main-nav a,
.footer-links a {
  position: relative;
  padding: 9px 12px;
  border-radius: 6px;
  color: #4f6758;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.footer-links a:hover {
  color: var(--teal);
  background: rgba(207, 238, 221, 0.58);
}

.header-actions {
  gap: 12px;
}

.lang-switcher {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(188, 221, 197, 0.9);
}

.lang-btn {
  min-height: 36px;
  min-width: 40px;
  border-radius: 6px;
  color: #607667;
}

.lang-btn.is-active {
  color: #f7fff8;
  background: var(--teal);
}

.icon-btn {
  border-radius: 8px;
  border-color: rgba(167, 207, 177, 0.95);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(35, 83, 55, 0.08);
}

.cart-count {
  background: var(--sage);
}

.age-gate {
  background:
    linear-gradient(180deg, rgba(10, 36, 23, 0.64), rgba(10, 36, 23, 0.72)),
    url("assets/hero-adult-products.jpg") center / cover no-repeat,
    #dff4e6;
}

.age-panel {
  border: 1px solid rgba(197, 230, 205, 0.95);
  border-radius: 8px;
  background: rgba(250, 255, 251, 0.93);
  backdrop-filter: blur(18px);
}

.age-panel h1 {
  font-size: 3.2rem;
  letter-spacing: 0;
}

.page {
  overflow: clip;
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 104px);
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  padding: 96px clamp(22px, 6vw, 92px) 78px;
  text-align: center;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(8, 30, 18, 0.62), rgba(10, 43, 25, 0.28) 42%, rgba(246, 255, 248, 0.96) 88%),
    url("assets/hero-adult-products.jpg") center 43% / cover no-repeat,
    #dff4e6;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 24, 14, 0.32), transparent 24%, transparent 76%, rgba(5, 24, 14, 0.28)),
    linear-gradient(180deg, rgba(9, 38, 22, 0.35), transparent 46%, rgba(247, 255, 248, 0.96) 100%);
}

.hero-copy {
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding-top: 20px;
}

.hero-copy h1,
.page-hero h1,
.product-detail h1,
.checkout-layout h1,
.success-panel h1 {
  color: #102017;
  font-size: 4.8rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy h1 {
  color: #f8fff9;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
}

.hero-copy p:not(.eyebrow),
.page-hero p,
.product-detail p,
.checkout-summary p {
  max-width: 700px;
  margin-inline: auto;
  color: #53685b;
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(248, 255, 249, 0.9);
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #d9ffe2;
}

.hero-actions,
.button-row {
  justify-content: center;
  gap: 12px;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.add-btn {
  min-height: 46px;
  border-radius: 7px;
  font-weight: 760;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.primary-btn,
.add-btn {
  color: #f8fff9;
  background: linear-gradient(135deg, #194731, #6eae7f);
  box-shadow: 0 18px 34px rgba(41, 104, 64, 0.22);
}

.secondary-btn,
.ghost-btn {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(155, 205, 169, 0.95);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(38, 91, 57, 0.16);
}

.hero-visual {
  position: absolute;
  inset: auto clamp(22px, 7vw, 92px) 44px;
  min-height: 0;
  pointer-events: none;
}

.hero-visual > img {
  display: none;
  position: absolute;
  right: 0;
  bottom: 12px;
  width: min(260px, 22vw);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(219, 250, 226, 0.66);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(5, 26, 15, 0.34);
}

.mini-card,
.hero-card {
  border: 1px solid rgba(194, 228, 203, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 56px rgba(33, 75, 57, 0.13);
  backdrop-filter: blur(16px);
}

.mini-card {
  left: 0;
  top: auto;
  bottom: 0;
}

.hero-card {
  right: 0;
  bottom: 0;
}

.mini-card span,
.hero-card span {
  color: #607466;
}

.mini-card strong,
.hero-card strong {
  color: var(--teal);
}

.trust-strip,
.section-shell,
.page-shell,
.split-section,
.newsletter-section,
.page-hero,
.product-detail,
.checkout-layout,
.success-page {
  padding-inline: clamp(22px, 5.6vw, 92px);
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin: -26px auto 0;
  width: min(1180px, calc(100% - 44px));
  padding: 16px;
  border: 1px solid rgba(186, 224, 196, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 64px rgba(36, 84, 54, 0.1);
  backdrop-filter: blur(18px);
}

.trust-strip article {
  padding: 20px;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(239, 250, 242, 0.82), rgba(255, 255, 255, 0.92));
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #f8fff9;
  background: var(--teal);
  font-size: 0.8rem;
}

.trust-strip h2,
.product-card h3,
.guide-card h3,
.review-card h3,
.policy-card h3,
.detail-card h3,
.checkout-card h3 {
  letter-spacing: 0;
}

.section-shell,
.page-shell {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-heading {
  gap: 30px;
  align-items: end;
}

.section-heading h2,
.split-section h2,
.newsletter-section h2 {
  max-width: 760px;
  color: #102017;
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading > p,
.split-section > div > p {
  color: #5b7062;
  font-size: 1rem;
  line-height: 1.8;
}

.product-grid {
  gap: 18px;
}

.product-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(188, 224, 198, 0.88);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fff7 100%);
  box-shadow: 0 18px 44px rgba(29, 75, 47, 0.08);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(116, 176, 132, 0.7);
  box-shadow: 0 26px 62px rgba(29, 75, 47, 0.13);
}

.product-image {
  min-height: 310px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dff4e6;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.product-card:nth-child(1) .product-image img,
.product-card:nth-child(4) .product-image img {
  object-position: center top;
}

.product-card:nth-child(2) .product-image img {
  object-position: center 35%;
}

.product-card:nth-child(3) .product-image img {
  object-position: center 38%;
}

.product-card:hover .product-image img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.04);
}

.badge {
  top: 16px;
  left: 16px;
  border: 1px solid rgba(191, 226, 200, 0.95);
  border-radius: 7px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
}

.product-info {
  padding: 22px;
}

.product-card p,
.guide-card p,
.review-card p,
.policy-card p,
.detail-card p {
  color: #5e7166;
}

.price {
  color: #123822;
}

.meta-label {
  color: #6e8475;
}

.filter-bar {
  gap: 8px;
}

.filter-chip,
.shop-sort,
input,
select,
textarea {
  border-radius: 7px;
  border-color: rgba(185, 221, 195, 0.95);
  background: rgba(255, 255, 255, 0.86);
}

.filter-chip {
  color: #516b59;
}

.filter-chip.is-active {
  color: #f8fff9;
  background: var(--teal);
  border-color: var(--teal);
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-content: end;
  padding-top: 118px;
  padding-bottom: 72px;
  background:
    linear-gradient(90deg, rgba(247, 255, 248, 0.98) 0%, rgba(238, 249, 241, 0.9) 48%, rgba(16, 43, 28, 0.18) 100%),
    url("assets/hero-adult-products.jpg") right center / min(560px, 46vw) cover no-repeat;
}

.page-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
}

.page-hero p {
  margin-inline: 0;
}

.split-section {
  align-items: center;
  gap: 60px;
  background:
    linear-gradient(90deg, rgba(15, 43, 29, 0.92), rgba(26, 76, 48, 0.84)),
    url("assets/product-condoms.jpg") center / cover no-repeat;
  color: #f7fff8;
}

.split-section .eyebrow,
.split-section h2,
.split-section p {
  color: #f7fff8;
}

.stack-list article {
  border: 1px solid rgba(220, 247, 227, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stack-list h3 {
  color: inherit;
}

.stack-list p {
  color: rgba(247, 255, 248, 0.78);
}

.guide-card,
.review-card,
.policy-card,
.detail-card,
.checkout-card,
.success-panel {
  border: 1px solid rgba(189, 224, 199, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(33, 75, 57, 0.07);
}

.guide-card span,
.review-card span,
.policy-card span {
  color: var(--rose-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.proof-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 249, 240, 0.94));
}

.page-shell.is-soft {
  background:
    linear-gradient(180deg, #f5fff7 0%, #eaf8ef 100%);
}

.newsletter-section {
  border-top: 1px solid rgba(191, 226, 200, 0.9);
  border-bottom: 1px solid rgba(191, 226, 200, 0.9);
  background:
    radial-gradient(circle at 12% 15%, rgba(183, 235, 197, 0.52), transparent 30%),
    linear-gradient(135deg, #f7fff8, #e0f5e7);
}

.newsletter-form {
  border-radius: 8px;
  border: 1px solid rgba(183, 221, 194, 0.95);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(35, 83, 55, 0.09);
}

.product-detail,
.checkout-layout,
.success-page {
  padding-top: 96px;
}

.detail-main-image {
  border: 1px solid rgba(189, 224, 199, 0.88);
  border-radius: 8px;
  overflow: hidden;
  background: #dff4e6;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
}

.detail-thumbs > div,
.detail-meta article,
.payment-box,
.summary-item {
  border-color: rgba(185, 221, 195, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.detail-thumbs img,
.summary-item img,
.cart-item img {
  object-fit: cover;
}

.detail-price {
  color: var(--teal);
}

.option-chip,
.quantity-row button {
  border-radius: 7px;
  border-color: rgba(185, 221, 195, 0.95);
}

.option-chip.is-active {
  color: #f8fff9;
  background: var(--teal);
  border-color: var(--teal);
}

.cart-drawer {
  background: rgba(12, 37, 24, 0);
}

.cart-drawer.is-open {
  background: rgba(12, 37, 24, 0.44);
  backdrop-filter: blur(8px);
}

.cart-panel {
  background: #f9fffa;
  border-left: 1px solid rgba(183, 221, 194, 0.95);
  box-shadow: -26px 0 72px rgba(18, 54, 34, 0.18);
}

.cart-note {
  border: 1px solid rgba(191, 226, 200, 0.9);
  border-radius: 8px;
  background: #eaf8ef;
}

.cart-item img,
.summary-item img {
  background: #eaf8ef;
}

.site-footer {
  border-top: 1px solid rgba(191, 226, 200, 0.9);
  background: #0f2b1d;
  color: #eaffee;
}

.site-footer p,
.footer-links,
.footer-contact {
  color: rgba(234, 255, 238, 0.72);
}

.footer-contact strong {
  color: #ffffff;
}

.site-footer .brand-mark {
  background: #f4fff6;
  color: #153726;
}

.site-footer .main-nav a,
.site-footer .footer-links a {
  color: rgba(234, 255, 238, 0.78);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .product-card,
  .guide-card,
  .review-card,
  .policy-card {
    animation: greenRise 520ms ease both;
  }

  .product-card:nth-child(2),
  .guide-card:nth-child(2),
  .review-card:nth-child(2),
  .policy-card:nth-child(2) {
    animation-delay: 70ms;
  }

  .product-card:nth-child(3),
  .guide-card:nth-child(3),
  .review-card:nth-child(3),
  .policy-card:nth-child(3) {
    animation-delay: 120ms;
  }
}

@keyframes greenRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero-section {
    min-height: 720px;
    background-position: center top;
    background-size: cover;
  }

  .hero-copy h1,
  .page-hero h1,
  .product-detail h1,
  .checkout-layout h1,
  .success-panel h1 {
    font-size: 3.8rem;
  }

  .section-heading h2,
  .split-section h2,
  .newsletter-section h2 {
    font-size: 2.55rem;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 32px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .main-nav {
    gap: 4px;
  }

  .main-nav a {
    padding: 8px 10px;
  }

  .nav-submenu {
    left: 10px;
    right: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-height: min(64vh, 520px);
    padding: 8px;
  }

  .nav-category-group {
    padding: 3px;
  }

  .nav-submenu a {
    padding: 9px 8px;
    font-size: 0.9rem;
  }

  .nav-submenu .is-child {
    padding-left: 10px;
    font-size: 0.84rem;
  }

  .hero-section {
    min-height: 700px;
    padding: 52px 16px 112px;
    background-position: center top;
    background-size: cover;
  }

  .hero-copy h1,
  .page-hero h1,
  .product-detail h1,
  .checkout-layout h1,
  .success-panel h1,
  .age-panel h1 {
    font-size: 2.7rem;
    line-height: 1.02;
  }

  .hero-copy p:not(.eyebrow),
  .page-hero p,
  .product-detail p {
    font-size: 1rem;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn,
  .button-row .primary-btn,
  .button-row .secondary-btn {
    width: 100%;
  }

  .hero-visual {
    inset: auto 16px 12px;
  }

  .mini-card,
  .hero-card {
    width: calc(50% - 6px);
    padding: 14px;
  }

  .hero-visual > img {
    display: none;
  }

  .section-shell,
  .page-shell {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading h2,
  .split-section h2,
  .newsletter-section h2 {
    font-size: 2.05rem;
  }

  .trust-strip {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .product-image {
    min-height: 260px;
  }

  .page-hero {
    min-height: 300px;
    padding-top: 70px;
    background-size: min(300px, 62vw);
    background-position: right -70px center;
  }

  .split-section {
    gap: 28px;
  }

  .newsletter-form {
    padding: 8px;
  }
}

/* Pink adult-leaning visual refresh */
:root {
  --ink: #21161b;
  --muted: #6f5a63;
  --line: #ead1dc;
  --paper: #fff7fa;
  --soft: #fde8f0;
  --white: #ffffff;
  --rose: #f08baa;
  --rose-dark: #9d4a6a;
  --sage: #d38ea5;
  --teal: #6d4257;
  --gold: #d8a5b7;
  --mint: #f3dbe5;
  --mint-2: #fff0f5;
  --shadow: 0 28px 72px rgba(94, 40, 61, 0.14);
}

body {
  background:
    linear-gradient(180deg, #fff6f9 0%, #fdeef4 46%, #fffafc 100%);
  color: var(--ink);
}

body::before {
  background-image:
    linear-gradient(rgba(157, 74, 106, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 74, 106, 0.035) 1px, transparent 1px);
}

.topbar {
  color: #fff3f8;
  background: #5b213c;
}

.site-header {
  background: rgba(255, 247, 250, 0.9);
  border-bottom: 1px solid rgba(234, 209, 220, 0.9);
}

.brand-mark {
  color: #fff7fa;
  background: linear-gradient(145deg, #8c4967, #f08baa);
}

.main-nav a,
.footer-links a {
  color: #6a4f5c;
}

.main-nav a:hover,
.main-nav a.is-active,
.footer-links a:hover {
  color: #5b213c;
  background: rgba(240, 139, 170, 0.14);
}

.lang-switcher,
.icon-btn {
  background: rgba(255, 251, 253, 0.95);
  border-color: rgba(233, 201, 215, 0.95);
}

.lang-btn.is-active,
.cart-count,
.primary-btn,
.add-btn {
  background: linear-gradient(135deg, #7c3455, #f08baa);
}

.age-gate {
  background:
    linear-gradient(180deg, rgba(74, 22, 43, 0.55), rgba(74, 22, 43, 0.74)),
    url("assets/hero-pink-toys.jpg") center / cover no-repeat,
    #f7dbe6;
}

.age-panel,
.trust-strip,
.product-card,
.guide-card,
.review-card,
.policy-card,
.detail-card,
.checkout-card,
.success-panel,
.newsletter-form,
.detail-main-image,
.page-shell.is-soft {
  border-color: rgba(236, 197, 212, 0.95);
  background-color: rgba(255, 251, 253, 0.92);
}

.hero-section {
  background:
    linear-gradient(180deg, rgba(92, 24, 55, 0.58), rgba(92, 24, 55, 0.2) 38%, rgba(255, 246, 250, 0.96) 88%),
    url("assets/hero-pink-toys.jpg") center 30% / cover no-repeat,
    #f7dce7;
}

.hero-section::before {
  background:
    linear-gradient(90deg, rgba(69, 16, 40, 0.32), transparent 24%, transparent 76%, rgba(69, 16, 40, 0.28)),
    linear-gradient(180deg, rgba(69, 16, 40, 0.22), transparent 46%, rgba(255, 246, 250, 0.96) 100%);
}

.hero-copy h1,
.hero-copy .eyebrow,
.hero-copy p:not(.eyebrow) {
  color: #fff7fb;
}

.hero-card,
.mini-card,
.trust-strip article,
.product-card,
.image-strip-item,
.policy-card,
.review-card,
.guide-card,
.success-panel,
.checkout-card,
.detail-card {
  box-shadow: 0 24px 60px rgba(93, 35, 58, 0.1);
}

.secondary-btn,
.ghost-btn {
  color: #6c3752;
  border-color: rgba(227, 185, 202, 0.95);
  background: rgba(255, 252, 254, 0.82);
}

.badge,
.filter-chip,
.option-chip {
  border-color: rgba(232, 189, 205, 0.96);
}

.filter-chip.is-active,
.option-chip.is-active {
  background: #7c3455;
  border-color: #7c3455;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(255, 247, 251, 0.98) 0%, rgba(255, 234, 241, 0.92) 46%, rgba(124, 52, 85, 0.16) 100%),
    url("assets/page-boudoir-pink.jpg") right center / cover no-repeat;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(22px, 5.6vw, 92px) 36px;
}

.image-strip-item {
  overflow: hidden;
  border: 1px solid rgba(236, 197, 212, 0.95);
  border-radius: 8px;
  background: #fff6fa;
  box-shadow: 0 18px 44px rgba(93, 35, 58, 0.08);
}

.image-strip-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 13;
  object-fit: cover;
  object-position: center;
}

.image-strip-item figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(90, 26, 49, 0.9), rgba(139, 62, 96, 0.82)),
    url("assets/page-toys-candles.jpg") center / cover no-repeat;
}

.newsletter-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(240, 139, 170, 0.28), transparent 30%),
    linear-gradient(135deg, #fff7fa, #fde7f0);
}

.detail-main-image,
.product-image {
  background: #ffeaf2;
}

.product-image img,
.detail-main-image img,
.image-strip-item img,
.summary-item img,
.cart-item img {
  filter: saturate(1.04) contrast(1.02);
}

.cart-panel {
  background: #fff8fb;
  border-left: 1px solid rgba(232, 189, 205, 0.95);
}

.cart-note {
  background: #fde7ef;
}

.site-footer {
  background: #4a1a2b;
  color: #fff3f7;
}

.site-footer .brand-mark {
  color: #4a1a2b;
  background: #fff2f7;
}

.site-footer p,
.footer-links,
.footer-contact {
  color: rgba(255, 243, 247, 0.74);
}

@media (max-width: 900px) {
  .image-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-hero {
    background-size: cover;
    background-position: center top;
  }

  .image-strip {
    padding-inline: 16px;
  }
}

/* Editable adult boutique polish */
.age-gate {
  background:
    linear-gradient(180deg, rgba(74, 22, 43, 0.52), rgba(74, 22, 43, 0.78)),
    var(--age-bg, url("assets/page-toys-flatlay-01.jpg")) center / cover no-repeat,
    #f7dbe6;
}

.age-bg-video,
.section-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.age-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(74, 22, 43, 0.52), rgba(74, 22, 43, 0.78));
  pointer-events: none;
}

.age-panel {
  position: relative;
  z-index: 2;
}

.editor-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 22px clamp(16px, 5vw, 72px) 0;
  padding: 18px 20px;
  border: 1px solid rgba(232, 189, 205, 0.88);
  border-radius: 8px;
  background: rgba(255, 249, 252, 0.9);
  box-shadow: 0 18px 44px rgba(93, 35, 58, 0.08);
}

.editor-toggle h2 {
  margin: 2px 0 4px;
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  line-height: 1.12;
}

.editor-toggle p:last-child {
  margin: 0;
  color: var(--muted);
}

.editor-panel {
  margin-top: 24px;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(232, 189, 205, 0.9);
  border-radius: 8px;
  background: #fff9fc;
}

.editor-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.editor-card {
  padding: 16px;
  border: 1px solid rgba(232, 189, 205, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.editor-card-wide {
  grid-column: 1 / -1;
}

.editor-card h3 {
  margin: 0 0 10px;
  font-size: 0.98rem;
}

.editor-card textarea {
  width: 100%;
  min-height: 280px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(224, 177, 196, 0.95);
  border-radius: 8px;
  background: #fffafd;
  color: #32202a;
  font: 0.84rem/1.5 Consolas, "SFMono-Regular", Menlo, monospace;
  outline: none;
}

.editor-card textarea:focus {
  border-color: #cc6e91;
  box-shadow: 0 0 0 3px rgba(240, 139, 170, 0.18);
}

.simple-section {
  margin: 14px 0;
  border: 1px solid rgba(232, 189, 205, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.simple-section > summary {
  cursor: pointer;
  padding: 15px 18px;
  color: #5b213c;
  background: linear-gradient(90deg, #fff7fb, #fde7ef);
  font-weight: 800;
}

.simple-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.simple-field,
.simple-check {
  display: grid;
  gap: 7px;
  color: #3a2630;
  font-weight: 760;
}

.simple-field.is-wide,
.simple-check.is-wide,
.button-row.is-wide {
  grid-column: 1 / -1;
}

.simple-field.is-compact {
  min-width: 210px;
}

.simple-field input,
.simple-field textarea,
.simple-field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(224, 177, 196, 0.95);
  border-radius: 8px;
  background: #fffafd;
  color: #2b1c24;
  font: inherit;
  outline: none;
}

.simple-field textarea {
  resize: vertical;
  line-height: 1.5;
}

.simple-field input:focus,
.simple-field textarea:focus,
.simple-field select:focus {
  border-color: #cc6e91;
  box-shadow: 0 0 0 3px rgba(240, 139, 170, 0.18);
}

.simple-field small,
.simple-check small {
  color: var(--muted);
  font-weight: 500;
}

.simple-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  align-self: end;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(224, 177, 196, 0.95);
  border-radius: 8px;
  background: #fffafd;
}

.simple-check input {
  width: 18px;
  height: 18px;
  accent-color: #b85b7d;
}

.simple-list {
  padding: 0 16px 16px;
}

.editor-inline-help,
.strip-editor-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: #6c3e53;
  border-bottom: 1px solid rgba(232, 189, 205, 0.7);
  background: rgba(255, 246, 250, 0.72);
  font-weight: 720;
}

.editor-inline-help {
  margin-bottom: 12px;
  border: 1px solid rgba(232, 189, 205, 0.78);
  border-radius: 8px;
}

.strip-editor {
  padding: 16px;
}

.strip-editor-row {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(232, 189, 205, 0.7);
}

.strip-editor-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.editor-actions,
.editor-sample {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.editor-hint,
.editor-sample strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.editor-status {
  min-height: 1.2em;
  color: #9d4a6a;
  font-weight: 800;
}

.editor-sample {
  padding-top: 10px;
  border-top: 1px solid rgba(232, 189, 205, 0.72);
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.add-btn,
.filter-chip,
.option-chip,
.lang-btn,
.icon-btn {
  border-radius: 8px;
  min-height: 38px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  padding: 10px 16px;
}

.add-btn {
  min-width: 118px;
  padding: 10px 14px;
}

.icon-btn {
  width: 42px;
  height: 42px;
}

.filter-chip,
.option-chip {
  padding: 9px 13px;
  font-size: 0.92rem;
}

.trust-strip {
  gap: 0;
  overflow: hidden;
  margin-inline: clamp(14px, 3.8vw, 52px);
  border: 1px solid rgba(232, 189, 205, 0.95);
  border-radius: 8px;
  background: rgba(232, 189, 205, 0.95);
}

.trust-strip article {
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 250, 0.88));
}

.trust-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #fff9fc;
  background: linear-gradient(145deg, #5f223d, #b85b7d);
  font-size: 0.9rem;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(93, 35, 58, 0.2);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: min(780px, calc(100vh - 112px));
  background:
    linear-gradient(90deg, rgba(68, 16, 39, 0.62), rgba(123, 45, 82, 0.28) 42%, rgba(255, 244, 249, 0.94) 92%),
    var(--hero-bg, url("assets/page-toys-flatlay-01.jpg")) center 42% / cover no-repeat,
    #f7dce7;
}

.hero-section > *:not(.section-bg-video),
.page-hero > *:not(.section-bg-video),
.split-section > *:not(.section-bg-video) {
  position: relative;
  z-index: 1;
}

.page-hero,
.split-section {
  position: relative;
  overflow: hidden;
}

.hero-visual {
  border-radius: 8px;
}

.hero-visual img,
.hero-visual-media {
  object-position: center;
  transform: scale(1.01);
}

.hero-visual-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section .section-bg-video {
  z-index: 0;
  filter: saturate(1.04) contrast(1.02);
}

.hero-section::before {
  z-index: 1;
  pointer-events: none;
}

.hero-section > *:not(.section-bg-video) {
  z-index: 2;
}

.hero-section:has(.section-bg-video) {
  background:
    linear-gradient(180deg, rgba(92, 24, 55, 0.54), rgba(92, 24, 55, 0.18) 40%, rgba(255, 246, 250, 0.94) 92%),
    #f7dce7;
}

.page-hero {
  min-height: 360px;
  border-bottom: 1px solid rgba(232, 189, 205, 0.8);
  background:
    linear-gradient(90deg, rgba(255, 247, 251, 0.98) 0%, rgba(255, 234, 241, 0.92) 46%, rgba(124, 52, 85, 0.16) 100%),
    var(--pageHero-bg, url("assets/page-boudoir-pink.jpg")) right center / cover no-repeat,
    #fde7f0;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(74, 22, 43, 0.92), rgba(148, 61, 101, 0.78)),
    var(--split-bg, url("assets/page-toys-flatlay-02.jpg")) center / cover no-repeat;
}

.product-grid {
  align-items: stretch;
}

.product-card {
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 250, 0.95));
}

.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.045);
  filter: saturate(1.12) contrast(1.04);
}

.badge {
  right: 12px;
  bottom: 12px;
  border-radius: 8px;
  color: #6c3752;
  background: rgba(255, 250, 253, 0.9);
  backdrop-filter: blur(12px);
}

.image-strip {
  padding-top: 18px;
}

.image-strip-item {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.image-strip-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(93, 35, 58, 0.14);
}

.image-strip-item img,
.image-strip-media {
  aspect-ratio: 16 / 12;
}

.image-strip-media {
  display: block;
  width: 100%;
  object-fit: cover;
}

.detail-thumbs div {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(232, 189, 205, 0.9);
  background: #fff5fa;
}

.detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .editor-toggle {
    grid-template-columns: 1fr;
  }

  .editor-toggle .button-row {
    justify-content: flex-start;
  }

  .editor-grid {
    grid-template-columns: 1fr;
  }

  .simple-editor-grid,
  .strip-editor-row {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .editor-toggle {
    margin-inline: 14px;
    padding: 16px;
  }

  .primary-btn,
  .secondary-btn,
  .ghost-btn,
  .add-btn {
    width: auto;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-inline: 14px;
  }
}

/* Local media upload controls */
.media-edit-field {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.media-edit-field.is-wide {
  grid-column: 1 / -1;
}

.media-upload {
  display: grid;
  grid-template-columns: minmax(112px, 150px) 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  border: 1px dashed rgba(209, 122, 154, 0.55);
  border-radius: 8px;
  background: rgba(255, 246, 250, 0.78);
}

.media-upload-preview {
  display: grid;
  place-items: center;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid rgba(232, 189, 205, 0.9);
  border-radius: 8px;
  color: #8c6073;
  background: #fffafd;
  font-size: 0.82rem;
  text-align: center;
}

.media-preview-media {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
}

.media-upload-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(184, 91, 125, 0.35);
  border-radius: 8px;
  color: #fff9fc;
  background: linear-gradient(145deg, #b85b7d, #d7799c);
  box-shadow: 0 12px 26px rgba(184, 91, 125, 0.18);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 850;
}

.upload-btn:hover {
  filter: saturate(1.05) contrast(1.02);
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.media-upload small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-weight: 560;
  line-height: 1.45;
}

.media-upload small.is-error {
  color: #b02b59;
}

.product-card-media,
.detail-main-media,
.detail-thumb-media,
.summary-media,
.cart-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-main-media {
  min-height: 520px;
}

.detail-thumb-media,
.summary-media,
.cart-media {
  min-height: 100%;
}

@media (max-width: 680px) {
  .media-upload {
    grid-template-columns: 1fr;
  }

  .media-upload-preview,
  .media-preview-media {
    min-height: 150px;
  }
}

/* In-page editing mode */
[data-inline-edit] {
  border-radius: 6px;
  outline: 0 solid transparent;
  transition: background 160ms ease, box-shadow 160ms ease, outline-color 160ms ease;
}

.page:has(.editor-panel) [data-inline-edit] {
  cursor: text;
  outline: 1px dashed rgba(184, 91, 125, 0.45);
  background: rgba(255, 250, 253, 0.36);
}

.page:has(.editor-panel) [data-inline-edit]:hover,
[data-inline-edit].is-inline-editing {
  outline-color: rgba(184, 91, 125, 0.95);
  background: rgba(255, 246, 250, 0.86);
  box-shadow: 0 0 0 4px rgba(216, 119, 154, 0.12);
}

[data-inline-edit].is-inline-editing {
  min-width: 1.5em;
}

.inline-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.inline-media-wrap > img,
.inline-media-wrap > video {
  width: 100%;
  height: 100%;
}

.inline-media-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  color: #fff;
  background: rgba(111, 44, 76, 0.88);
  box-shadow: 0 12px 28px rgba(74, 22, 43, 0.22);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.page:has(.editor-panel) .inline-media-btn,
.page.is-editing .inline-media-btn {
  display: inline-flex;
}

.page:has(.editor-panel) .product-image {
  cursor: default;
}

.inline-shop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(232, 189, 205, 0.85);
  border-radius: 8px;
  color: #6c3e53;
  background: rgba(255, 246, 250, 0.78);
  font-weight: 720;
}

/* Fix nested editable media inside product cards: one image layer only. */
.product-image .inline-media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.product-image .inline-media-wrap > img,
.product-image .inline-media-wrap > video,
.product-image .product-card-media {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-image .inline-media-wrap + .badge,
.product-image .badge {
  z-index: 6;
}

.product-image .inline-media-btn {
  z-index: 7;
}

.product-image .badge [data-inline-edit] {
  background: transparent;
  box-shadow: none;
}

.page:has(.editor-panel) .product-image .badge [data-inline-edit] {
  outline-color: rgba(184, 91, 125, 0.65);
}

.product-image > .badge {
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  min-height: 0;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 8px;
  line-height: 1.1;
  white-space: nowrap;
}

.product-image > .badge [data-inline-edit] {
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
}

/* Editable product category directory */
.shop-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.category-directory {
  position: sticky;
  top: 94px;
  z-index: 8;
  border: 1px solid rgba(232, 189, 205, 0.92);
  border-radius: 8px;
  background: rgba(255, 250, 253, 0.96);
  box-shadow: 0 18px 42px rgba(93, 35, 58, 0.08);
}

.category-directory-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 8px 8px 0 0;
  color: #fff;
  background: linear-gradient(135deg, #a3446c, #e06f9d);
  font-weight: 900;
  letter-spacing: 0;
}

.category-directory-list {
  display: grid;
}

.category-directory-item {
  position: relative;
  border-bottom: 1px solid rgba(232, 189, 205, 0.75);
}

.category-directory-item:last-child {
  border-bottom: 0;
}

.category-directory-main,
.category-submenu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.category-filter-btn,
.category-submenu-filter {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 0;
  color: #3f2631;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.category-delete-btn {
  display: grid;
  place-items: center;
  width: 40px;
  min-height: 46px;
  border: 0;
  border-left: 1px solid rgba(232, 189, 205, 0.72);
  color: #9f315d;
  background: rgba(255, 247, 251, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1;
}

.category-delete-btn:hover,
.category-delete-btn:focus-visible {
  color: #fff;
  background: #a83262;
  outline: none;
}

.category-directory [data-inline-edit] {
  min-width: 0;
}

.category-directory .page:has(.editor-panel) [data-inline-edit],
.page:has(.editor-panel) .category-directory [data-inline-edit] {
  outline-offset: 2px;
}

.category-directory-item.is-active .category-filter-btn,
.category-filter-btn:hover,
.category-submenu-filter:hover {
  color: #7a3154;
  background: rgba(255, 231, 240, 0.95);
}

.category-icon {
  color: #e06993;
  font-size: 0.9rem;
  font-weight: 950;
  text-align: center;
}

.category-arrow {
  color: #5b2c43;
  font-weight: 950;
}

.category-submenu {
  position: absolute;
  left: calc(100% - 1px);
  top: -1px;
  display: none;
  min-width: 240px;
  border: 1px solid rgba(232, 189, 205, 0.95);
  border-radius: 0 8px 8px 8px;
  background: rgba(255, 253, 255, 0.98);
  box-shadow: 0 22px 48px rgba(93, 35, 58, 0.12);
}

.category-directory-item:hover .category-submenu,
.category-directory-item:focus-within .category-submenu {
  display: grid;
}

.category-submenu-filter {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 38px;
}

.category-delete-btn.is-child {
  min-height: 38px;
}

.page:has(.editor-panel) .category-submenu {
  position: static;
  display: grid;
  min-width: 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: rgba(255, 247, 251, 0.82);
  box-shadow: none;
}

.page:has(.editor-panel) .category-submenu-filter {
  min-height: 36px;
  padding-left: 18px;
  font-size: 0.9rem;
}

.page:has(.editor-panel) .category-delete-btn.is-child {
  min-height: 36px;
}

.category-edit-actions {
  padding: 0 12px 12px 56px;
}

.category-inline-add,
.category-add-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  border: 1px dashed rgba(207, 106, 146, 0.74);
  border-radius: 8px;
  color: #7a3154;
  background: rgba(255, 239, 246, 0.88);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
}

.category-inline-add {
  width: 100%;
}

.category-add-top {
  width: calc(100% - 24px);
  margin: 12px;
}

.category-inline-add:hover,
.category-add-top:hover,
.category-inline-add:focus-visible,
.category-add-top:focus-visible {
  border-color: rgba(184, 73, 119, 0.9);
  color: #5b213c;
  background: #ffe3ef;
  outline: none;
}

.category-plus {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #fff;
  background: #c75b86;
  font-size: 1rem;
  line-height: 1;
}

.product-card-category,
.product-detail-category {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(224, 142, 173, 0.78);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 247, 251, 0.96), rgba(255, 235, 244, 0.84));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.product-detail-category {
  margin-bottom: 16px;
}

.product-card-category .simple-field,
.product-detail-category .simple-field {
  gap: 6px;
  font-size: 0.84rem;
}

.product-card-category .simple-field > span,
.product-detail-category .simple-field > span {
  color: #7a3154;
  font-weight: 900;
}

.product-card-category .simple-field select,
.product-detail-category .simple-field select {
  min-height: 38px;
  border-color: rgba(207, 106, 146, 0.72);
  background: #fff;
}

.product-card-category .simple-field small,
.product-detail-category .simple-field small {
  color: #7a5264;
  font-size: 0.76rem;
  line-height: 1.35;
}

.category-child-editor {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.category-child-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  min-width: 0;
}

.product-image .product-card-media.is-empty,
.product-card-media.is-empty {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 245, 250, 0.9), rgba(251, 219, 232, 0.8)),
    url("assets/product-couple-selection.jpg") center / cover no-repeat;
}

@media (max-width: 1080px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .category-directory {
    position: relative;
    top: auto;
  }

  .category-submenu {
    position: static;
    display: grid;
    min-width: 0;
    border-width: 1px 0 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 680px) {
  .category-edit-actions {
    padding: 0 12px 12px;
  }

  .category-child-row {
    grid-template-columns: 1fr;
  }

  .product-option-row-editor {
    grid-template-columns: 1fr;
  }

  .option-edit-chip,
  .option-edit-chip .option-chip,
  .option-add-btn {
    max-width: 100%;
  }

  .product-card-category,
  .product-detail-category {
    padding: 10px;
  }
}

/* Rungrung-inspired commerce refinements: product detail, gallery, checkout. */
.product-detail {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.85fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  background:
    linear-gradient(90deg, #fff 0 62%, rgba(255, 244, 249, 0.92) 62% 100%),
    #fff;
}

.detail-gallery {
  position: sticky;
  top: 104px;
  gap: 16px;
}

.detail-main-image {
  --zoom-x: 50%;
  --zoom-y: 50%;
  --zoom-scale: 1.55;
  position: relative;
  min-height: clamp(420px, 52vw, 680px);
  overflow: hidden;
  border-color: rgba(226, 178, 197, 0.9);
  background: #fff;
  box-shadow: 0 24px 60px rgba(88, 37, 61, 0.08);
  cursor: zoom-in;
}

.detail-main-media-stage {
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.detail-carousel-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(10px, 1.8vw, 18px);
  pointer-events: none;
}

.detail-carousel-arrow {
  display: inline-grid;
  place-items: center;
  width: clamp(40px, 4.2vw, 52px);
  height: clamp(40px, 4.2vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(88, 37, 61, 0.62);
  box-shadow: 0 14px 32px rgba(70, 27, 52, 0.22);
  cursor: pointer;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: auto;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.detail-carousel-arrow:hover {
  background: rgba(88, 37, 61, 0.82);
  box-shadow: 0 16px 34px rgba(70, 27, 52, 0.28);
  transform: translateY(-1px);
}

.detail-carousel-arrow:focus-visible {
  outline: 3px solid rgba(241, 138, 182, 0.55);
  outline-offset: 3px;
}

body.is-lightbox-open {
  overflow: hidden;
}

.full-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(18, 24, 20, 0.82);
  backdrop-filter: blur(10px);
}

.full-image-media {
  display: block;
  max-width: min(96vw, 1500px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 32px 88px rgba(0, 0, 0, 0.35);
}

.full-image-close {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(10, 16, 12, 0.72);
  cursor: pointer;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.full-image-close:hover {
  background: rgba(10, 16, 12, 0.9);
}

.detail-main-image .inline-media-wrap {
  min-height: inherit;
  overflow: hidden;
}

.detail-main-image img,
.detail-main-image video,
.detail-main-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform-origin: var(--zoom-x) var(--zoom-y);
  transition: transform 180ms ease, filter 180ms ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .detail-main-image.is-zooming .detail-main-media:not(.is-empty) {
    transform: scale(var(--zoom-scale));
    filter: saturate(1.04) contrast(1.03);
  }
}

.detail-thumbs {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.detail-thumb {
  display: grid;
  grid-template-rows: minmax(74px, 1fr) auto;
  gap: 6px;
  min-width: 0;
  aspect-ratio: 1 / 1.16;
  padding: 7px;
  border: 1px solid rgba(226, 178, 197, 0.88);
  border-radius: 8px;
  color: #6a3b50;
  background: rgba(255, 250, 253, 0.98);
  cursor: pointer;
}

.detail-thumb.is-active,
.detail-thumb:hover {
  border-color: #9b3f67;
  box-shadow: 0 0 0 3px rgba(216, 119, 154, 0.16);
}

.detail-thumb.is-empty {
  cursor: default;
}

.detail-thumb.is-empty:hover {
  border-color: rgba(226, 178, 197, 0.92);
  box-shadow: none;
}

.detail-thumb .inline-media-wrap,
.detail-thumb-media {
  min-height: 0;
}

.detail-thumb img,
.detail-thumb video,
.detail-thumb-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.detail-thumb-media.is-empty {
  background: linear-gradient(135deg, rgba(255, 245, 250, 0.96), rgba(251, 219, 232, 0.84));
}

.detail-thumb span {
  overflow: hidden;
  min-width: 0;
  color: #7a4b60;
  font-size: 0.75rem;
  font-weight: 780;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-add-media {
  width: fit-content;
}

.detail-upload-status {
  display: block;
  min-height: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.detail-upload-status.is-error {
  color: #b52145;
}

.product-long-details {
  display: grid;
  gap: 34px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(226, 178, 197, 0.72);
}

.commerce-detail-block {
  display: grid;
  gap: 18px;
}

.commerce-detail-heading {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(226, 178, 197, 0.64);
}

.commerce-detail-heading span {
  color: #8a3a7f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.commerce-detail-heading h2 {
  margin: 0;
  color: #241522;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.spec-highlight-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 8px;
  background: rgba(249, 231, 243, 0.8);
}

.spec-highlight-row article {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 92px;
  padding: 18px;
  text-align: center;
}

.spec-highlight-row strong {
  color: #241522;
  font-size: 1.08rem;
}

.spec-highlight-row span {
  color: #735d70;
  font-size: 0.92rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(226, 178, 197, 0.7);
}

.spec-grid div {
  display: grid;
  grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(226, 178, 197, 0.58);
}

.spec-grid dt,
.spec-grid dd {
  margin: 0;
  min-width: 0;
}

.spec-grid dt {
  color: #837083;
}

.spec-grid dd {
  color: #241522;
  font-weight: 650;
  line-height: 1.55;
}

.rich-detail-flow {
  display: grid;
  gap: 18px;
}

.rich-text-item {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(226, 178, 197, 0.48);
}

.rich-text-item h3 {
  margin: 0;
  color: #241522;
  font-size: 1.08rem;
}

.rich-text-item p {
  margin: 0;
  color: #665565;
  line-height: 1.75;
}

.rich-media-item {
  margin: 0;
}

.rich-detail-media {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(226, 178, 197, 0.72);
  background: rgba(255, 250, 253, 0.88);
}

video.rich-detail-media {
  max-height: 520px;
}

.rich-media-item figcaption {
  margin-top: 8px;
  color: #735d70;
  font-size: 0.9rem;
  text-align: center;
}

.product-review-list {
  display: grid;
  gap: 14px;
}

.product-review-item {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(226, 178, 197, 0.58);
}

.review-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-meta-line strong {
  color: #241522;
}

.review-meta-line span {
  color: #9b3f8d;
  letter-spacing: 0.04em;
}

.product-review-item p {
  margin: 0;
  color: #665565;
  line-height: 1.7;
}

.review-media-frame {
  width: min(260px, 100%);
}

.review-uploaded-media {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(226, 178, 197, 0.72);
}

.product-detail-sections-editor {
  display: grid;
  gap: 14px;
}

.product-detail-editor-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 178, 197, 0.48);
}

.detail-content {
  position: sticky;
  top: 104px;
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid rgba(226, 178, 197, 0.82);
  border-radius: 8px;
  background: rgba(255, 252, 254, 0.94);
  box-shadow: 0 28px 64px rgba(93, 35, 58, 0.1);
}

.detail-content h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.detail-purchase-card {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(226, 178, 197, 0.82);
  border-radius: 8px;
  background: rgba(255, 246, 250, 0.82);
}

.detail-price {
  margin: 0;
  color: #153f28;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.detail-tax-note {
  margin: 0;
  color: #76576a;
  font-size: 0.94rem;
}

.detail-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-options {
  padding-top: 10px;
  border-top: 1px solid rgba(226, 178, 197, 0.68);
}

.product-option-group {
  min-width: 0;
}

.product-option-row {
  margin-top: 8px;
  align-items: flex-start;
  min-width: 0;
}

.product-option-row .option-edit-chip,
.product-option-row .option-chip,
.product-option-row .option-add-btn {
  max-width: 100%;
}

.page:has(.editor-panel) .product-option-row {
  flex-wrap: wrap;
}

.page:has(.editor-panel) .option-chip [data-inline-edit] {
  outline-offset: 2px;
}

.product-option-editor {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(226, 178, 197, 0.82);
  border-radius: 8px;
  background: rgba(255, 247, 251, 0.72);
}

.product-option-row-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  min-width: 0;
}

.product-option-row-editor .ghost-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.detail-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.detail-trust-row span {
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid rgba(226, 178, 197, 0.74);
  border-radius: 8px;
  color: #6a3b50;
  background: rgba(255, 250, 253, 0.86);
  font-size: 0.86rem;
  font-weight: 820;
}

.product-detail-footer {
  align-items: end;
}

.product-media-editor {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.product-media-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(180px, 0.7fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(232, 189, 205, 0.82);
  border-radius: 8px;
  background: rgba(255, 250, 253, 0.74);
}

.product-media-row .media-edit-field,
.product-media-row .simple-field.is-wide,
.product-media-row .button-row.is-wide {
  grid-column: 1 / -1;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
  gap: clamp(24px, 4vw, 54px);
  background:
    linear-gradient(90deg, rgba(255, 248, 251, 0.94), rgba(246, 255, 250, 0.76)),
    var(--soft);
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.checkout-progress span {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(226, 178, 197, 0.86);
  border-radius: 8px;
  background: rgba(255, 252, 254, 0.92);
  color: #6a3b50;
  font-weight: 820;
}

.checkout-progress strong {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #9b3f67, #e5719e);
  font-size: 0.84rem;
}

.checkout-card {
  border-color: rgba(226, 178, 197, 0.82);
  box-shadow: 0 18px 44px rgba(93, 35, 58, 0.08);
}

.payment-box {
  display: grid;
  gap: 10px;
}

.payment-box label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 60px;
  padding: 12px;
  border: 1px solid rgba(226, 178, 197, 0.82);
  border-radius: 8px;
  background: rgba(255, 250, 253, 0.94);
}

.payment-box small {
  display: block;
  margin-top: 4px;
  color: #76576a;
  line-height: 1.45;
}

.checkout-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.checkout-assurance article {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(226, 178, 197, 0.72);
  border-radius: 8px;
  background: rgba(255, 250, 253, 0.88);
}

.checkout-assurance span,
.summary-note {
  color: #76576a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.summary-note {
  margin-top: 14px;
}

@media (max-width: 1180px) {
  .product-detail,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .detail-gallery,
  .detail-content,
  .checkout-summary {
    position: relative;
    top: auto;
  }

  .spec-grid,
  .spec-highlight-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .detail-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-meta,
  .detail-trust-row,
  .checkout-progress,
  .checkout-assurance {
    grid-template-columns: 1fr;
  }

  .product-media-row {
    grid-template-columns: 1fr;
  }

  .product-detail-editor-row,
  .spec-grid div {
    grid-template-columns: 1fr;
  }

  .product-long-details {
    gap: 26px;
    margin-top: 28px;
  }

  .rich-detail-media {
    max-height: 520px;
  }
}

/* PC product-detail layout: left side holds media and long detail, right purchase panel stays fixed. */
@media (min-width: 1024px) {
  .page:has(.product-detail) > .editor-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .page:has(.product-detail) > .editor-toggle > div:first-child,
  .page:has(.product-detail) > .editor-toggle .ghost-btn {
    display: none;
  }

  .page:has(.product-detail) > .editor-toggle .button-row {
    margin: 0;
  }

  .page:has(.product-detail) > .editor-toggle .secondary-btn {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(93, 35, 58, 0.18);
  }

  .product-detail {
    display: grid;
    grid-template-columns: minmax(520px, 1fr) minmax(390px, 0.52fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: start;
    min-height: calc(100vh - 122px);
    padding: clamp(24px, 3.2vw, 46px) clamp(40px, 6vw, 96px);
    background: #fff;
  }

  .detail-gallery,
  .detail-content {
    position: relative;
    top: auto;
  }

  .detail-gallery {
    gap: 12px;
    align-self: start;
  }

  .detail-main-image {
    min-height: 0;
    height: clamp(420px, 58vh, 560px);
    border-color: rgba(229, 189, 204, 0.8);
    background: #fff;
    box-shadow: none;
  }

  .detail-main-image .inline-media-wrap {
    min-height: 0;
  }

  .detail-main-image img,
  .detail-main-image video,
  .detail-main-media {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
  }

  .detail-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    max-width: 560px;
  }

  .detail-thumb {
    grid-template-rows: minmax(48px, 1fr);
    aspect-ratio: 1 / 1;
    padding: 5px;
  }

  .detail-thumb span {
    display: none;
  }

  .detail-content {
    max-width: 560px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    position: sticky;
    top: 112px;
    align-self: start;
  }

  .detail-content .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .detail-content h1 {
    max-width: 560px;
    font-size: clamp(2.1rem, 4.2vw, 3.75rem);
    line-height: 1.08;
  }

  .detail-content > p {
    max-width: 560px;
    margin-top: 14px;
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
    line-height: 1.55;
  }

  .detail-purchase-card {
    gap: 8px;
    margin: 18px 0 16px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .detail-price {
    color: #111;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.2;
  }

  .detail-tax-note {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .detail-buy-box {
    display: grid;
    gap: 12px;
    margin: 16px 0 14px;
    padding: 14px;
    border: 1px solid rgba(215, 176, 204, 0.94);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 250, 0.94));
    box-shadow: 0 14px 34px rgba(91, 33, 85, 0.08);
  }

  .detail-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0;
  }

  .detail-meta article {
    min-height: 68px;
    padding: 10px 12px;
    border-color: rgba(184, 217, 194, 0.9);
  }

  .detail-meta .meta-label {
    font-size: 0.72rem;
  }

  .detail-meta strong {
    display: block;
    margin-top: 4px;
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .detail-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
    padding-top: 0;
    border-top: 0;
  }

  .detail-options > div {
    min-width: 0;
  }

  .pill-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .page:has(.editor-panel) .product-option-row {
    flex-wrap: wrap;
  }

  .option-chip {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .quantity-row {
    border-radius: 0;
    grid-template-columns: 38px 48px 38px;
  }

  .quantity-row button,
  .quantity-row span {
    min-height: 36px;
  }

  .detail-content .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }

  .detail-content .primary-btn,
  .detail-content .secondary-btn {
    min-height: 52px;
    border-radius: 0;
    font-size: 1rem;
  }

  .detail-content .primary-btn {
    background: #111;
  }

  .detail-trust-row {
    display: none;
  }

  .detail-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .product-detail + .section-shell {
    display: none;
  }

  .page:has(.editor-panel) .product-detail {
    align-items: start;
    min-height: auto;
  }

  .page:has(.editor-panel) .detail-content {
    padding-bottom: 14px;
  }

  .page:has(.editor-panel) .detail-gallery {
    position: relative;
    top: auto;
  }

  .page:has(.editor-panel) .detail-content {
    position: relative;
    top: auto;
  }

  .page:has(.editor-panel) .detail-trust-row {
    display: grid;
  }

  .page:has(.editor-panel) .detail-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .page:has(.editor-panel) .product-detail + .section-shell {
    display: block;
  }

  .page:has(.editor-panel) .detail-thumb span {
    display: block;
  }

  .page:has(.editor-panel) .detail-thumb {
    grid-template-rows: minmax(48px, 1fr) auto;
    aspect-ratio: 1 / 1.16;
  }

  .page:has(.editor-panel) .detail-content [data-inline-edit],
  .page:has(.editor-panel) .detail-gallery [data-inline-edit] {
    outline: 1px dashed rgba(184, 91, 125, 0.68);
    outline-offset: 3px;
    background: rgba(255, 250, 253, 0.5);
  }
}

@media (min-width: 1024px) and (max-height: 780px) {
  .product-detail {
    min-height: calc(100vh - 96px);
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .detail-main-image {
    height: clamp(340px, 54vh, 470px);
  }

  .detail-content h1 {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  }

  .detail-content > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .detail-purchase-card {
    margin: 12px 0;
  }

  .detail-meta article {
    min-height: 58px;
    padding: 8px 10px;
  }

  .detail-options {
    margin: 10px 0;
  }

  .detail-content .primary-btn,
  .detail-content .secondary-btn {
    min-height: 46px;
  }
}

/* Final language dropdown overrides after older theme layers. */
.header-actions .lang-switcher {
  position: relative;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.header-actions .lang-trigger {
  display: inline-flex;
  min-width: 68px;
  min-height: 42px;
  border-radius: 999px;
  border-color: rgba(233, 201, 215, 0.95);
  background: rgba(255, 251, 253, 0.95);
}

.header-actions .lang-menu {
  display: none;
}

.header-actions .lang-switcher.is-open .lang-menu,
.header-actions .lang-switcher:focus-within .lang-menu {
  display: grid;
}

.header-actions .lang-menu .lang-btn {
  min-width: 100%;
  min-height: 40px;
  border-radius: 0;
  color: #5d3a4a;
  background: transparent;
}

.header-actions .lang-menu .lang-btn:hover,
.header-actions .lang-menu .lang-btn.is-active {
  color: #7c3455;
  background: rgba(240, 139, 170, 0.16);
}

.product-media-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  color: #fff;
  background: rgba(111, 44, 76, 0.8);
  box-shadow: 0 12px 26px rgba(74, 22, 43, 0.18);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease;
}

.product-card:hover .product-media-nav,
.product-image:focus-within .product-media-nav,
.page:has(.editor-panel) .product-media-nav {
  opacity: 1;
}

.product-media-nav:hover {
  background: rgba(124, 52, 85, 0.96);
}

.product-media-nav.is-prev {
  left: 10px;
}

.product-media-nav.is-next {
  right: 10px;
}

.product-media-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 8;
  min-width: 42px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 18, 29, 0.66);
  font-size: 0.74rem;
  font-weight: 840;
  text-align: center;
  backdrop-filter: blur(10px);
}

.page:has(.editor-panel) .product-media-count {
  bottom: 52px;
}

/* Stable compact home hero: edit mode and view mode share the same geometry. */
.page > .hero-section {
  height: clamp(560px, 68svh, 720px);
  min-height: clamp(560px, 68svh, 720px);
  padding: clamp(42px, 5.6svh, 68px) clamp(22px, 6vw, 92px) clamp(30px, 4.5svh, 48px);
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}

.page > .hero-section .section-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.page > .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(92, 24, 55, 0.48), rgba(92, 24, 55, 0.2) 42%, rgba(255, 246, 250, 0.88) 100%),
    linear-gradient(90deg, rgba(69, 16, 40, 0.22), transparent 22%, transparent 78%, rgba(69, 16, 40, 0.2));
}

.page > .hero-section .hero-copy {
  position: absolute;
  left: max(22px, calc((100% - 920px) / 2));
  top: clamp(42px, 6svh, 64px);
  width: min(920px, calc(100% - 44px));
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: none;
}

.page > .hero-section .hero-copy h1 {
  max-width: 760px;
  margin: 8px auto 10px;
  font-size: clamp(2.35rem, 4.05vw, 3.85rem);
  line-height: 0.98;
}

.page > .hero-section .hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(0.94rem, 1.05vw, 1.02rem);
  line-height: 1.48;
}

.page > .hero-section .hero-actions {
  justify-content: center;
  margin-top: 16px;
}

.page > .hero-section .hero-visual {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: min(520px, calc(100vw - 40px));
  min-height: 0;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  transform: none;
  pointer-events: none;
}

.page > .hero-section .hero-video-card {
  grid-column: 1 / -1;
  height: clamp(128px, 18svh, 184px);
  overflow: hidden;
  border: 1px solid rgba(255, 220, 235, 0.72);
  border-radius: 8px;
  background: rgba(255, 246, 250, 0.18);
  box-shadow: 0 18px 46px rgba(74, 22, 43, 0.18);
  pointer-events: auto;
}

.page > .hero-section .hero-video-card .hero-visual-media {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  transform: none;
}

.page > .hero-section .mini-card,
.page > .hero-section .hero-card {
  position: static;
  top: auto;
  bottom: 0;
  width: auto;
  min-width: 0;
  padding: 8px 10px;
  text-align: center;
}

.page > .hero-section .mini-card span,
.page > .hero-section .hero-card span {
  font-size: 0.72rem;
}

.page > .hero-section .mini-card strong,
.page > .hero-section .hero-card strong {
  font-size: clamp(0.95rem, 1.25vw, 1.12rem);
}

.page > .hero-section .mini-card {
  left: 0;
}

.page > .hero-section .hero-card {
  right: 0;
}

.page > .hero-section > .inline-media-btn {
  right: 50%;
  top: 18px;
  transform: translateX(50%);
  pointer-events: auto;
}

.page > .hero-section .hero-visual .inline-media-wrap {
  display: none !important;
}

.page.is-editing > .editor-toggle {
  position: fixed;
  left: clamp(14px, 2vw, 28px);
  right: auto;
  bottom: 18px;
  z-index: 60;
  width: min(420px, calc(100vw - 28px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  background: rgba(255, 249, 252, 0.94);
  backdrop-filter: blur(16px);
}

.page.is-editing > .editor-toggle h2,
.page.is-editing > .editor-toggle p:not(.eyebrow) {
  display: none;
}

.page.is-editing > .editor-toggle .eyebrow {
  margin: 0;
  white-space: nowrap;
}

.page.is-editing > .editor-toggle .button-row {
  margin: 0;
  gap: 8px;
}

.page.is-editing > .editor-toggle .secondary-btn,
.page.is-editing > .editor-toggle .ghost-btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.page.is-editing > .hero-section {
  margin-top: 0;
}

.page > .editor-toggle {
  position: fixed;
  left: clamp(14px, 2vw, 28px);
  bottom: 18px;
  z-index: 60;
  width: min(420px, calc(100vw - 28px));
  grid-template-columns: auto;
  margin: 0;
  padding: 9px;
  border-radius: 8px;
  background: rgba(255, 249, 252, 0.9);
  backdrop-filter: blur(16px);
}

.page > .editor-toggle > div:first-child,
.page > .editor-toggle .ghost-btn {
  display: none;
}

.page > .editor-toggle .button-row {
  margin: 0;
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
}

.page > .editor-toggle .secondary-btn,
.page > .editor-toggle .primary-btn {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.84rem;
}

.page > .editor-toggle .editor-publish-btn {
  min-width: 132px;
  box-shadow: 0 16px 32px rgba(112, 40, 118, 0.18);
}

.page > .editor-toggle .editor-quick-status {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0 4px;
  font-size: 0.78rem;
  line-height: 1.25;
}

.page.is-editing > .editor-toggle {
  width: min(620px, calc(100vw - 28px));
  grid-template-columns: minmax(0, 1fr) auto;
}

.page.is-editing > .editor-toggle > div:first-child,
  .page.is-editing > .editor-toggle .ghost-btn {
    display: block;
  }

.page > .hero-section .hero-copy {
  opacity: 1 !important;
}

@media (max-width: 760px) {
  .page > .hero-section {
    height: clamp(620px, 86svh, 740px);
    min-height: clamp(620px, 86svh, 740px);
    padding-top: 50px;
  }

  .page > .hero-section .hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 3.55rem);
  }

  .page > .hero-section .hero-actions {
    width: min(360px, 100%);
    margin-inline: auto;
  }

  .page > .hero-section .hero-visual {
    width: min(360px, calc(100vw - 28px));
  }

  .page > .hero-section .hero-video-card {
    height: 124px;
  }

  .page > .hero-section .mini-card,
  .page > .hero-section .hero-card {
    padding: 7px 8px;
  }

  .page > .hero-section .mini-card span,
  .page > .hero-section .hero-card span {
    font-size: 0.68rem;
  }

  .page > .hero-section .mini-card strong,
  .page > .hero-section .hero-card strong {
    font-size: 0.92rem;
  }
}

/* Final home mini-video sizing override. Keep this after the compact hero rules. */
@media (min-width: 761px) {
  .page > .hero-section .hero-copy .hero-visual {
    width: min(560px, calc(100vw - 48px)) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page > .hero-section .hero-copy .hero-video-card {
    grid-column: 1 / -1;
    width: 100% !important;
    min-width: min(520px, calc(100vw - 48px));
    height: clamp(168px, 22svh, 220px);
  }
}

@media (max-width: 760px) {
  .page > .hero-section .hero-copy .hero-visual {
    width: min(360px, calc(100vw - 28px)) !important;
  }

  .page > .hero-section .hero-copy .hero-video-card {
    width: 100% !important;
    min-width: 0;
    height: 124px;
  }
}

/* Longer cinematic home hero: stretch both the full-bleed video and the preview block. */
.page > .hero-section {
  height: clamp(840px, 108svh, 1120px);
  min-height: clamp(840px, 108svh, 1120px);
  padding-top: clamp(44px, 5.5svh, 72px);
  padding-bottom: clamp(42px, 6svh, 78px);
}

.page > .hero-section .hero-copy {
  top: clamp(38px, 5svh, 66px);
}

.page > .hero-section .hero-copy h1 {
  max-width: 860px;
}

.page > .hero-section .hero-actions {
  margin-top: clamp(18px, 2.5svh, 26px);
}

.page > .hero-section .hero-copy .hero-visual {
  width: min(880px, calc(100vw - 56px)) !important;
  margin-top: clamp(26px, 4svh, 44px);
}

.page > .hero-section .hero-copy .hero-video-card {
  height: clamp(340px, 44svh, 510px);
  border-color: rgba(255, 232, 242, 0.82);
  background: rgba(255, 246, 250, 0.22);
  box-shadow: 0 26px 76px rgba(74, 22, 43, 0.28);
}

.page > .hero-section .hero-video-card .hero-visual-media {
  object-position: center 42%;
}

.page > .hero-section .mini-card,
.page > .hero-section .hero-card {
  min-height: 74px;
  padding: 12px 16px;
  background: rgba(255, 246, 250, 0.86);
  backdrop-filter: blur(14px);
}

.page > .hero-section .mini-card strong,
.page > .hero-section .hero-card strong {
  font-size: clamp(1.04rem, 1.35vw, 1.24rem);
}

@media (min-width: 761px) and (max-height: 820px) {
  .page > .hero-section {
    height: 900px;
    min-height: 900px;
  }

  .page > .hero-section .hero-copy .hero-video-card {
    height: 360px;
  }
}

@media (max-width: 760px) {
  .page > .hero-section {
    height: clamp(900px, 118svh, 1040px);
    min-height: clamp(900px, 118svh, 1040px);
    padding-top: 44px;
  }

  .page > .hero-section .hero-copy {
    top: 40px;
  }

  .page > .hero-section .hero-copy h1 {
    font-size: clamp(2.26rem, 10.6vw, 3.2rem);
  }

  .page > .hero-section .hero-copy p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .page > .hero-section .hero-copy .hero-visual {
    width: min(382px, calc(100vw - 28px)) !important;
    margin-top: 22px;
  }

  .page > .hero-section .hero-copy .hero-video-card {
    height: clamp(260px, 38svh, 340px);
  }

  .page > .hero-section .mini-card,
  .page > .hero-section .hero-card {
    min-height: 66px;
    padding: 9px 10px;
  }
}

/* Final pink-purple theme pass. Visual-only overrides. */
:root {
  --ink: #241522;
  --muted: #735d70;
  --line: #ead2e4;
  --paper: #fff7fb;
  --soft: #f9e7f3;
  --white: #ffffff;
  --rose: #f18ab6;
  --rose-dark: #7b2b7c;
  --sage: #b77ac8;
  --teal: #5a214d;
  --gold: #d59abc;
  --mint: #f3d8ee;
  --mint-2: #fff0f8;
  --shadow: 0 28px 72px rgba(86, 31, 85, 0.14);
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff6fb 0%, #f8eaf6 48%, #fffafd 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(123, 43, 124, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 138, 182, 0.04) 1px, transparent 1px);
}

.topbar {
  color: #fff4fb;
  background: #4d1b4c;
}

.site-header {
  background: rgba(255, 247, 251, 0.92);
  border-bottom-color: rgba(234, 210, 228, 0.95);
  box-shadow: 0 12px 34px rgba(98, 45, 99, 0.08);
}

.brand-mark,
.trust-icon {
  color: #fff7fb;
  background: linear-gradient(145deg, #6f2876, #ef8fb8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.main-nav a,
.footer-links a,
.lang-btn {
  color: #6f586d;
}

.main-nav a:hover,
.main-nav a.is-active,
.footer-links a:hover,
.header-actions .lang-menu .lang-btn:hover,
.header-actions .lang-menu .lang-btn.is-active {
  color: #6f2876;
  background: rgba(241, 138, 182, 0.16);
}

.lang-switcher,
.header-actions .lang-trigger,
.icon-btn,
input,
select,
textarea,
.filter-chip,
.option-chip,
.quantity-row button {
  border-color: rgba(228, 190, 219, 0.96);
  background: rgba(255, 251, 254, 0.94);
}

.lang-btn.is-active,
.cart-count,
.primary-btn,
.add-btn,
.filter-chip.is-active,
.option-chip.is-active,
.checkout-progress strong {
  color: #fff7fb;
  border-color: #7b2b7c;
  background: linear-gradient(135deg, #6f2876, #ef8fb8);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.add-btn:hover {
  box-shadow: 0 20px 40px rgba(112, 40, 118, 0.17);
}

.secondary-btn,
.ghost-btn {
  color: #6f2876;
  border-color: rgba(219, 174, 209, 0.96);
  background: rgba(255, 252, 254, 0.84);
}

.age-gate {
  background:
    linear-gradient(180deg, rgba(75, 20, 73, 0.56), rgba(75, 20, 73, 0.78)),
    var(--age-bg, url("assets/page-toys-flatlay-01.jpg")) center / cover no-repeat,
    #f6d8eb;
}

.age-gate::before {
  background: linear-gradient(180deg, rgba(75, 20, 73, 0.52), rgba(75, 20, 73, 0.78));
}

.age-panel,
.editor-toggle,
.editor-toolbar,
.editor-card,
.simple-section,
.media-upload-preview,
.category-directory,
.trust-strip,
.trust-strip article,
.product-card,
.guide-card,
.review-card,
.policy-card,
.detail-card,
.checkout-card,
.success-panel,
.newsletter-form,
.detail-main-image,
.detail-thumb,
.detail-content,
.detail-purchase-card,
.detail-trust-row span,
.payment-box label,
.checkout-assurance article,
.product-option-editor,
.product-media-row {
  border-color: rgba(228, 190, 219, 0.92);
  background-color: rgba(255, 250, 253, 0.94);
  box-shadow: 0 22px 56px rgba(91, 33, 85, 0.09);
}

.hero-section {
  background:
    linear-gradient(90deg, rgba(76, 20, 75, 0.62), rgba(132, 50, 126, 0.3) 42%, rgba(255, 244, 250, 0.94) 92%),
    var(--hero-bg, url("assets/page-toys-flatlay-01.jpg")) center 42% / cover no-repeat,
    #f7dceb;
}

.hero-section::before,
.page > .hero-section::before {
  background:
    linear-gradient(180deg, rgba(93, 29, 91, 0.46), rgba(93, 29, 91, 0.2) 42%, rgba(255, 246, 251, 0.9) 100%),
    linear-gradient(90deg, rgba(76, 20, 75, 0.22), transparent 22%, transparent 78%, rgba(76, 20, 75, 0.2));
}

.hero-section:has(.section-bg-video) {
  background:
    linear-gradient(180deg, rgba(93, 29, 91, 0.54), rgba(93, 29, 91, 0.18) 40%, rgba(255, 246, 251, 0.94) 92%),
    #f7dceb;
}

.hero-copy h1,
.hero-copy .eyebrow,
.hero-copy p:not(.eyebrow),
.split-section .eyebrow,
.split-section h2,
.split-section p {
  color: #fff7fb;
}

.eyebrow,
.guide-card span,
.review-card span,
.policy-card span,
.detail-price,
.price {
  color: #7b2b7c;
}

.section-heading h2,
.split-section h2,
.newsletter-section h2,
.page-hero h1,
.product-detail h1,
.checkout-layout h1,
.success-panel h1 {
  color: #241522;
}

.section-heading > p,
.split-section > div > p,
.product-card p,
.guide-card p,
.review-card p,
.policy-card p,
.detail-card p,
.page-hero p,
.product-detail p,
.checkout-summary p,
.meta-label,
.detail-tax-note,
.payment-box small,
.checkout-assurance span,
.summary-note {
  color: var(--muted);
}

.page-hero {
  border-bottom-color: rgba(228, 190, 219, 0.86);
  background:
    linear-gradient(90deg, rgba(255, 248, 252, 0.98) 0%, rgba(253, 231, 246, 0.92) 46%, rgba(123, 43, 124, 0.16) 100%),
    var(--pageHero-bg, url("assets/page-boudoir-pink.jpg")) right center / cover no-repeat,
    #f9e6f4;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(76, 20, 75, 0.92), rgba(142, 57, 133, 0.8)),
    var(--split-bg, url("assets/page-toys-flatlay-02.jpg")) center / cover no-repeat;
}

.page-shell.is-soft,
.proof-card {
  background:
    linear-gradient(180deg, rgba(255, 250, 253, 0.98), rgba(249, 231, 243, 0.94));
}

.newsletter-section {
  border-color: rgba(228, 190, 219, 0.9);
  background:
    radial-gradient(circle at 18% 10%, rgba(241, 138, 182, 0.28), transparent 30%),
    linear-gradient(135deg, #fff7fb, #f4ddf2);
}

.product-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 250, 0.96));
}

.product-card:hover {
  border-color: rgba(183, 122, 200, 0.72);
  box-shadow: 0 26px 62px rgba(91, 33, 85, 0.14);
}

.product-image,
.detail-main-image,
.cart-item img,
.summary-item img,
.cart-note {
  background: #f9e6f4;
}

.badge,
.detail-thumb,
.detail-meta article,
.payment-box,
.summary-item,
.cart-item,
.product-card-category,
.product-detail-category,
.category-submenu,
.nav-submenu {
  border-color: rgba(228, 190, 219, 0.92);
  color: #6f3d69;
  background: rgba(255, 250, 253, 0.96);
}

.category-directory-head,
.upload-btn,
.detail-delete-media,
.category-delete-btn:hover,
.category-delete-btn:focus-visible {
  color: #fff7fb;
  background: linear-gradient(135deg, #7b2b7c, #e578a8);
}

.category-directory-item.is-active .category-filter-btn,
.category-filter-btn:hover,
.category-submenu-filter:hover,
.category-inline-add,
.category-add-top {
  color: #6f2876;
  background: rgba(255, 231, 246, 0.95);
}

.category-icon,
.category-delete-btn,
.editor-status,
.detail-upload-status.is-error,
.media-upload small.is-error {
  color: #b32c69;
}

.checkout-layout {
  background:
    linear-gradient(90deg, rgba(255, 248, 252, 0.96), rgba(249, 231, 243, 0.86)),
    var(--soft);
}

.full-image-viewer {
  background: rgba(31, 15, 32, 0.84);
}

.full-image-close {
  background: rgba(42, 19, 43, 0.76);
}

.full-image-close:hover {
  background: rgba(42, 19, 43, 0.92);
}

.cart-drawer.is-open {
  background: rgba(48, 18, 48, 0.44);
}

.cart-panel {
  background: #fff7fb;
  border-left-color: rgba(228, 190, 219, 0.95);
  box-shadow: -26px 0 72px rgba(91, 33, 85, 0.18);
}

.site-footer {
  border-top-color: rgba(228, 190, 219, 0.24);
  background: #411841;
  color: #fff3fa;
}

.site-footer .brand-mark {
  color: #5a214d;
  background: #fff1f8;
}

.site-footer p,
.footer-links,
.footer-contact,
.site-footer .main-nav a,
.site-footer .footer-links a {
  color: rgba(255, 243, 250, 0.76);
}

@media (min-width: 1024px) {
  .product-detail,
  .detail-main-image {
    background: #fffafd;
  }

  .page:not(:has(.editor-panel)) .product-detail {
    grid-template-columns: minmax(520px, 1fr) minmax(390px, 0.52fr);
    align-items: start;
  }

  .page:not(:has(.editor-panel)) .detail-gallery {
    position: sticky;
    top: 112px;
    align-self: start;
  }

  .page:not(:has(.editor-panel)) .detail-content {
    position: relative;
    top: auto;
    align-self: start;
  }

  .page:not(:has(.editor-panel)) .detail-content > .product-long-details {
    display: grid;
  }

  .detail-price {
    color: #7b2b7c;
  }

  .detail-meta article {
    border-color: rgba(228, 190, 219, 0.9);
    background: rgba(255, 250, 253, 0.88);
  }
}

/* Corrected PC detail layout: long information on the left, fixed product panel on the right. */
@media (min-width: 1024px) {
  .page:not(:has(.editor-panel)) .product-detail {
    grid-template-columns: minmax(560px, 1fr) minmax(430px, 0.7fr);
    gap: clamp(34px, 4vw, 64px);
    align-items: start;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow {
    display: grid;
    min-width: 0;
    order: 1;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .product-long-details {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky {
    position: sticky;
    top: 104px;
    order: 2;
    display: grid;
    gap: 16px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 4px;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-gallery,
  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-content {
    position: relative;
    top: auto;
    align-self: stretch;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-gallery {
    gap: 10px;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-main-image {
    height: clamp(300px, 36vh, 430px);
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: none;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-content {
    max-width: none;
  }

  .page:not(:has(.editor-panel)) .detail-content > .product-long-details {
    display: none;
  }

  .page:has(.editor-panel) .detail-left-flow,
  .page:has(.editor-panel) .detail-right-sticky {
    display: grid;
    min-width: 0;
  }

  .page:has(.editor-panel) .detail-right-sticky {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 1023px) {
  .detail-left-flow {
    order: 2;
  }

  .detail-right-sticky {
    order: 1;
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .detail-left-flow .product-long-details {
    margin-top: 28px;
  }
}

/* Final Taobao-style PC product detail correction:
   main content flows on the left; only the purchase panel is sticky on the right. */
@media (min-width: 1024px) {
  .page:not(:has(.editor-panel)) .product-detail {
    grid-template-columns: minmax(620px, 1fr) minmax(360px, 0.44fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow {
    order: 1;
    display: grid;
    gap: 34px;
    min-width: 0;
  }

  .page:not(:has(.editor-panel)) .detail-media-reference {
    display: grid;
    grid-template-columns: minmax(360px, 560px);
    gap: 0;
    align-items: start;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-gallery {
    position: relative;
    top: auto;
    gap: 12px;
    align-self: start;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-main-image {
    min-height: 0;
    height: clamp(420px, 58vh, 560px);
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-main-media {
    min-height: 0;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: none;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow > .detail-card-grid {
    display: none;
  }

  .page:not(:has(.editor-panel)) .detail-media-reference > .detail-card-grid {
    display: none;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .product-long-details {
    display: grid;
    gap: 34px;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky {
    position: sticky;
    top: 104px;
    order: 2;
    align-self: start;
    display: block;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 4px;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-content {
    position: relative;
    top: auto;
    max-width: none;
    align-self: start;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-gallery,
  .page:not(:has(.editor-panel)) .detail-right-sticky .product-long-details,
  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-card-grid {
    display: none;
  }
}

@media (max-width: 1023px) {
  .detail-left-flow {
    order: 1;
  }

  .detail-right-sticky {
    order: 2;
  }

  .detail-media-reference {
    display: grid;
    gap: 18px;
  }
}

/* Final clarity pass: compact product media, clearer sections, and calmer repeated blocks. */
button:disabled,
.secondary-btn:disabled,
.ghost-btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.editor-limit-note {
  margin: -4px 0 10px;
  color: #7a5871;
  font-size: 0.86rem;
  font-weight: 700;
}

.section-shell,
.page-shell,
.shop-toolbar,
.category-directory,
.policy-card,
.guide-card,
.review-card,
.checkout-card,
.success-panel,
.editor-panel,
.simple-section {
  border-color: rgba(215, 176, 204, 0.96);
}

.section-shell,
.page-shell {
  background:
    linear-gradient(180deg, rgba(255, 253, 255, 0.98), rgba(255, 246, 251, 0.94));
}

.section-heading,
.category-directory-head,
.commerce-detail-heading,
.editor-toolbar {
  position: relative;
}

.section-heading::before,
.commerce-detail-heading::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b2b7c, #ef8fb8, #8bbf9c);
}

.shop-toolbar,
.category-directory,
.checkout-card,
.policy-card,
.guide-card,
.review-card,
.product-card {
  box-shadow: 0 18px 44px rgba(91, 33, 85, 0.08);
}

.shop-toolbar {
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(215, 176, 204, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 253, 255, 0.98), rgba(248, 238, 247, 0.92));
}

.filter-bar {
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.page-hero,
.split-section,
.newsletter-section,
.checkout-layout,
.success-page {
  border-bottom: 1px solid rgba(215, 176, 204, 0.78);
}

@media (min-width: 1024px) {
  .page:not(:has(.editor-panel)) .product-detail {
    grid-template-columns: minmax(420px, 560px) minmax(360px, 420px);
    justify-content: center;
    gap: clamp(24px, 3.2vw, 42px);
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(24px, 3.2vw, 46px) clamp(24px, 4vw, 56px);
    border-bottom: 1px solid rgba(215, 176, 204, 0.78);
    background:
      linear-gradient(90deg, rgba(255, 253, 255, 0.99), rgba(255, 247, 251, 0.96));
  }

  .page:not(:has(.editor-panel)) .detail-left-flow {
    width: 100%;
    gap: 0;
  }

  .page:not(:has(.editor-panel)) .detail-media-reference,
  .page:not(:has(.editor-panel)) .detail-left-flow .detail-gallery {
    width: 100%;
    max-width: 560px;
  }

  .page:not(:has(.editor-panel)) .detail-media-reference {
    grid-template-columns: 1fr;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-main-image {
    width: 100%;
    height: clamp(420px, 39vw, 520px);
    min-height: 0;
    box-shadow: 0 18px 42px rgba(91, 33, 85, 0.08);
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-main-media {
    width: auto;
    height: auto;
    max-width: 92%;
    max-height: 92%;
    min-height: 0;
    object-fit: contain;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky {
    top: 104px;
    max-height: none;
    overflow: visible;
    padding: 0;
  }

  .page:not(:has(.editor-panel)) .detail-right-sticky .detail-content {
    padding: clamp(18px, 2.1vw, 26px);
    border: 1px solid rgba(215, 176, 204, 0.94);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 251, 0.94));
    box-shadow: 0 18px 44px rgba(91, 33, 85, 0.08);
  }

  .page:not(:has(.editor-panel)) .detail-content h1 {
    font-size: clamp(2rem, 3vw, 3.15rem);
  }

  .product-long-details {
    width: min(1120px, calc(100% - 48px));
    margin: clamp(28px, 4vw, 46px) auto 0;
    padding: 0 0 clamp(34px, 5vw, 62px);
    border-top: 0;
    gap: clamp(22px, 3vw, 34px);
  }
}

/* Final purchase-first detail panel: buying controls must never require scrolling inside the panel. */
@media (min-width: 1024px) {
  .page:not(:has(.editor-panel)) .detail-right-sticky {
    max-height: none;
    overflow: visible;
  }

  .page:not(:has(.editor-panel)) .detail-content {
    display: grid;
    gap: 12px;
  }

  .page:not(:has(.editor-panel)) .detail-content > p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(215, 176, 204, 0.94);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 250, 0.96));
    box-shadow: 0 16px 38px rgba(91, 33, 85, 0.1);
  }

  .page:not(:has(.editor-panel)) .detail-buy-box .detail-purchase-card {
    margin: 0;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box .detail-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 10px;
    margin: 0;
    align-items: end;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box .meta-label {
    font-size: 0.76rem;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box .product-option-row {
    margin-top: 6px;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box .pill-row {
    flex-wrap: wrap;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box .option-chip {
    min-height: 34px;
    padding: 7px 11px;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box .quantity-option {
    justify-self: end;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box .quantity-row {
    grid-template-columns: 38px 50px 38px;
  }

  .page:not(:has(.editor-panel)) .detail-action-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page:not(:has(.editor-panel)) .detail-action-row .primary-btn,
  .page:not(:has(.editor-panel)) .detail-action-row .secondary-btn {
    min-height: 52px;
    width: 100%;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 900;
  }

  .page:not(:has(.editor-panel)) .detail-action-row .secondary-btn {
    border-color: #111;
    color: #111;
    background: #fff;
  }

  .page:not(:has(.editor-panel)) .detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }

  .page:not(:has(.editor-panel)) .detail-meta article {
    min-height: 0;
    padding: 9px 10px;
  }

  .page:not(:has(.editor-panel)) .detail-meta strong {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 4px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.88rem;
    line-height: 1.18;
  }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .page:not(:has(.editor-panel)) .detail-content {
    gap: 9px;
  }

  .page:not(:has(.editor-panel)) .detail-content h1 {
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  }

  .page:not(:has(.editor-panel)) .detail-content > p {
    -webkit-line-clamp: 2;
  }

  .page:not(:has(.editor-panel)) .detail-buy-box {
    gap: 9px;
    padding: 12px;
  }

  .page:not(:has(.editor-panel)) .detail-price {
    font-size: clamp(1.45rem, 2vw, 1.9rem);
  }

  .page:not(:has(.editor-panel)) .detail-tax-note {
    font-size: 0.82rem;
  }

  .page:not(:has(.editor-panel)) .detail-action-row .primary-btn,
  .page:not(:has(.editor-panel)) .detail-action-row .secondary-btn {
    min-height: 48px;
  }

  .page:not(:has(.editor-panel)) .detail-action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page:not(:has(.editor-panel)) .detail-action-row .primary-btn,
  .page:not(:has(.editor-panel)) .detail-action-row .secondary-btn {
    padding-inline: 10px;
    font-size: 0.94rem;
    white-space: nowrap;
  }

  .page:not(:has(.editor-panel)) .detail-meta strong {
    -webkit-line-clamp: 2;
  }
}

.commerce-detail-block {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(215, 176, 204, 0.92);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(91, 33, 85, 0.07);
}

.product-specs-block {
  background:
    linear-gradient(180deg, rgba(255, 253, 255, 0.99), rgba(248, 239, 247, 0.94));
}

.product-review-block {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(242, 249, 245, 0.92));
}

.product-rich-detail-block {
  background:
    linear-gradient(180deg, rgba(255, 253, 255, 0.99), rgba(255, 247, 251, 0.94));
}

.commerce-detail-heading {
  grid-template-columns: 1fr;
  gap: 8px;
  padding-bottom: 14px;
}

.commerce-detail-heading span {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: #6f2876;
  background: rgba(241, 138, 182, 0.14);
}

.spec-highlight-row,
.spec-grid div,
.rich-text-item,
.product-review-item,
.rich-media-item {
  border: 1px solid rgba(226, 190, 219, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.spec-grid {
  gap: 10px;
  border-top: 0;
}

.spec-grid div,
.rich-text-item,
.product-review-item {
  padding: clamp(14px, 2vw, 18px);
  border-bottom: 1px solid rgba(226, 190, 219, 0.72);
}

.rich-detail-flow,
.product-review-list {
  gap: 16px;
}

.product-rich-detail-block .commerce-detail-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 18px;
}

.product-rich-detail-block .commerce-detail-heading::before {
  grid-column: 1 / -1;
}

.commerce-detail-heading-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.rich-detail-inline-actions,
.rich-item-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.rich-detail-inline-actions {
  max-width: 100%;
}

.rich-detail-inline-actions .secondary-btn,
.rich-item-toolbar .ghost-btn {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.84rem;
}

.rich-detail-inline-actions .detail-upload-status,
.rich-item-toolbar .detail-upload-status {
  flex-basis: 100%;
  max-width: 320px;
  color: #7a5871;
  font-size: 0.76rem;
  text-align: right;
}

.rich-detail-inline-actions > small {
  color: #7a5871;
  font-size: 0.8rem;
  font-weight: 800;
}

.rich-text-item .rich-item-toolbar {
  justify-content: flex-start;
  margin-top: 4px;
}

.rich-media-item {
  padding: 12px;
}

.rich-detail-media {
  max-height: 680px;
  border-color: rgba(215, 176, 204, 0.88);
  background: #fff;
}

img.rich-detail-media {
  height: auto;
  max-height: none;
  object-fit: contain;
}

video.rich-detail-media {
  max-height: 520px;
}

@media (max-width: 1023px) {
  .product-long-details {
    width: min(100% - 28px, 760px);
    margin: 24px auto 0;
  }

  .commerce-detail-block {
    padding: 18px;
  }

  .product-rich-detail-block .commerce-detail-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rich-detail-inline-actions,
  .rich-item-toolbar {
    justify-content: flex-start;
  }

  .rich-detail-inline-actions .detail-upload-status,
  .rich-item-toolbar .detail-upload-status {
    text-align: left;
  }
}

/* Product detail gallery media must stay fully visible on every selected image. */
.detail-main-image {
  align-items: stretch;
  justify-items: stretch;
}

.detail-main-image .detail-main-media-stage,
.detail-main-image .inline-media-wrap {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.detail-main-image img,
.detail-main-image video,
.detail-main-media,
.page:not(:has(.editor-panel)) .detail-left-flow .detail-main-media {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

/* Product detail intro can expand without pushing purchase controls out of reach. */
.detail-description {
  display: grid;
  gap: 8px;
  max-width: 560px;
}

.detail-description .detail-description-text {
  max-width: none;
  margin-top: 0;
}

.detail-description-text.is-clamped {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.detail-description.is-expanded .detail-description-text {
  display: block;
  overflow: visible;
}

.detail-description-toggle {
  justify-self: start;
  min-height: 34px;
  padding: 0;
  border: 0;
  color: #7a247c;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.detail-description-toggle:hover,
.detail-description-toggle:focus-visible {
  color: #111;
}

@media (min-width: 1024px) {
  .page:not(:has(.editor-panel)) .detail-content > .detail-description {
    margin-top: 0;
  }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .detail-description-text.is-clamped {
    -webkit-line-clamp: 2;
  }
}

/* Final A/B layout density pass: fill filter space, shorten detail media, reduce hero gaps. */
.shop-toolbar {
  width: 100%;
}

.shop-toolbar .filter-bar {
  width: 100%;
  min-width: 0;
}

.shop-toolbar .shop-sort {
  min-width: 0;
}

@media (min-width: 900px) {
  .shop-toolbar {
    display: block;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
    gap: 9px;
  }

  .filter-chip,
  .shop-toolbar .shop-sort {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    text-align: center;
    white-space: normal;
    line-height: 1.18;
  }

  .shop-toolbar .shop-sort {
    padding-right: 34px;
    text-align-last: center;
  }
}

@media (min-width: 1024px) {
  .page:not(:has(.editor-panel)) .product-detail {
    grid-template-columns: minmax(560px, 720px) minmax(360px, 420px);
    max-width: 1320px;
    padding-top: clamp(16px, 2vw, 28px);
    padding-bottom: clamp(14px, 2vw, 24px);
  }

  .page:not(:has(.editor-panel)) .detail-media-reference,
  .page:not(:has(.editor-panel)) .detail-left-flow .detail-gallery {
    max-width: 720px;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-main-image {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-main-image .inline-media-wrap {
    width: 100%;
    height: 100%;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-main-media {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(82px, 92px));
    gap: 8px;
    margin-top: 8px;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow {
    gap: 12px;
  }

  .page:not(:has(.editor-panel)) .detail-content {
    align-content: start;
  }

  .section-shell:has(.section-heading + .product-grid) {
    margin-top: clamp(8px, 1.2vw, 18px);
    padding-top: clamp(18px, 2vw, 28px);
  }

  .section-shell:has(.section-heading + .product-grid) .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin-bottom: clamp(14px, 1.6vw, 20px);
  }

  .section-shell:has(.section-heading + .product-grid) .section-heading::before {
    grid-column: 1;
  }

  .section-shell:has(.section-heading + .product-grid) .section-heading > div,
  .section-shell:has(.section-heading + .product-grid) .section-heading > p {
    grid-column: 1;
    max-width: min(760px, 100%);
  }

  .section-shell:has(.section-heading + .product-grid) .section-heading h2 {
    margin-top: 4px;
  }

  .section-shell:has(.section-heading + .product-grid) .section-heading > p {
    margin: 0;
  }
}

@media (min-width: 1280px) {
  .filter-bar {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 899px) {
  .shop-toolbar {
    display: grid;
    gap: 12px;
  }

  .shop-toolbar .shop-sort {
    width: 100%;
  }
}

/* Keep product detail images large, full, and fully visible at every viewport width. */
.page:not(:has(.editor-panel)) .detail-left-flow .detail-main-image {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.page:not(:has(.editor-panel)) .detail-left-flow .detail-main-image .inline-media-wrap {
  width: 100%;
  height: 100%;
}

.page:not(:has(.editor-panel)) .detail-left-flow .detail-main-media {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1023px) {
  .page:not(:has(.editor-panel)) .detail-media-reference,
  .page:not(:has(.editor-panel)) .detail-left-flow .detail-gallery {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  .page:not(:has(.editor-panel)) .detail-left-flow .detail-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(86px, 104px));
    gap: 8px;
    margin-top: 8px;
  }

  .detail-carousel-controls {
    padding: 0 8px;
  }

  .detail-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }
}

@media (min-width: 1024px) {
  .page:not(:has(.editor-panel)) .detail-left-flow .detail-main-image {
    aspect-ratio: 1 / 1;
  }
}

/* Ultra-light image tint pass: keep photos visible with only a faint brand wash. */
.hero-section {
  background:
    linear-gradient(90deg, rgba(76, 20, 75, 0.12), rgba(132, 50, 126, 0.06) 44%, rgba(255, 244, 250, 0.28) 92%),
    var(--hero-bg, url("assets/page-toys-flatlay-01.jpg")) center 42% / cover no-repeat,
    #f7dceb;
}

.hero-section::before,
.page > .hero-section::before {
  background:
    linear-gradient(180deg, rgba(93, 29, 91, 0.12), rgba(93, 29, 91, 0.04) 44%, rgba(255, 246, 251, 0.3) 100%),
    linear-gradient(90deg, rgba(76, 20, 75, 0.05), transparent 24%, transparent 76%, rgba(76, 20, 75, 0.04));
}

.hero-section:has(.section-bg-video) {
  background:
    linear-gradient(180deg, rgba(93, 29, 91, 0.1), rgba(93, 29, 91, 0.03) 42%, rgba(255, 246, 251, 0.26) 92%),
    #f7dceb;
}

.hero-copy h1,
.hero-copy .eyebrow,
.hero-copy p:not(.eyebrow) {
  text-shadow: 0 2px 20px rgba(38, 15, 36, 0.5);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(255, 248, 252, 0.74) 0%, rgba(253, 231, 246, 0.42) 48%, rgba(123, 43, 124, 0.04) 100%),
    var(--pageHero-bg, url("assets/page-boudoir-pink.jpg")) right center / cover no-repeat,
    #f9e6f4;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(255, 248, 252, 0.54), rgba(255, 246, 251, 0.32)),
    var(--split-bg, url("assets/page-toys-flatlay-02.jpg")) center / cover no-repeat,
    #f9e6f4;
}

.split-section .eyebrow,
.split-section h2,
.split-section p,
.split-section .stack-list h3,
.split-section .stack-list p {
  color: #241522;
  text-shadow: none;
}

.split-section > div > p,
.split-section .stack-list p {
  color: #4f3f49;
}

.split-section .stack-list article {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 250, 253, 0.5);
  box-shadow: 0 18px 44px rgba(91, 33, 85, 0.08);
}

.age-gate {
  background:
    linear-gradient(180deg, rgba(75, 20, 73, 0.14), rgba(75, 20, 73, 0.2)),
    var(--age-bg, url("assets/page-toys-flatlay-01.jpg")) center / cover no-repeat,
    #f6d8eb;
}

.age-gate::before {
  background: linear-gradient(180deg, rgba(75, 20, 73, 0.12), rgba(75, 20, 73, 0.18));
}

/* Checkout address and payment choice refinements. */
.checkout-location-status,
.payment-secure-note {
  margin: 4px 0 14px;
  color: #6f5a63;
  font-size: 0.92rem;
  line-height: 1.45;
}

.payment-box,
.billing-box {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 176, 204, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 255, 0.92);
}

.payment-box label.payment-option,
.billing-box label {
  display: grid;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(215, 176, 204, 0.72);
  background: rgba(255, 253, 255, 0.94);
  box-shadow: none;
  cursor: pointer;
}

.payment-box label.payment-option:last-child,
.billing-box label:last-child {
  border-bottom: 0;
}

.payment-box label.payment-option {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  padding: 16px 18px;
}

.payment-option input,
.billing-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.payment-radio {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1px solid rgba(123, 43, 124, 0.28);
  border-radius: 999px;
  background: #fff;
}

.payment-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: inherit;
  background: transparent;
}

.payment-option.is-active {
  border-color: rgba(86, 125, 128, 0.86);
  background: rgba(246, 252, 252, 0.96);
  box-shadow: inset 0 0 0 1px rgba(86, 125, 128, 0.86);
}

.payment-option.is-active .payment-radio {
  border-color: rgba(86, 125, 128, 0.82);
  background: rgba(86, 125, 128, 0.18);
}

.payment-option.is-active .payment-radio::after {
  background: #5a7f82;
}

.payment-option-body {
  display: grid;
  gap: 5px;
}

.payment-option-body strong {
  color: #1f151e;
  font-size: 1.02rem;
  line-height: 1.28;
}

.payment-option-body small,
.payment-option-detail {
  color: #66525e;
  line-height: 1.5;
}

.payment-option-detail,
.payment-split {
  display: none;
}

.payment-option.is-active .payment-option-detail,
.payment-option.is-active .payment-split {
  display: grid;
}

.payment-option.is-active .payment-option-detail {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(215, 176, 204, 0.6);
  color: #3f303a;
}

.payment-option.is-active .payment-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.payment-split span {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 176, 204, 0.72);
  border-radius: 8px;
  background: rgba(255, 250, 253, 0.72);
}

.payment-split em {
  color: #7a6873;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 760;
}

.payment-split b {
  color: #241522;
  font-size: 0.98rem;
}

.billing-box label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-height: 52px;
  padding: 14px 16px;
  color: #261923;
  font-weight: 820;
}

.billing-box label:has(input:checked) {
  background: rgba(246, 252, 252, 0.96);
  box-shadow: inset 0 0 0 1px rgba(86, 125, 128, 0.75);
}

@media (max-width: 640px) {
  .payment-option,
  .billing-box label {
    padding: 14px;
  }

  .payment-split {
    grid-template-columns: 1fr;
  }
}

/* A-site white functional supplement theme and interaction fixes. */
html[data-site-id="A"] {
  --ink: #18221c;
  --muted: #627066;
  --line: #dbe2d9;
  --paper: #fbfcf8;
  --soft: #f1f5ee;
  --white: #ffffff;
  --rose: #2f6b48;
  --rose-dark: #17452d;
  --sage: #6f9474;
  --teal: #245b3d;
  --gold: #b7873f;
  --shadow: 0 20px 54px rgba(24, 52, 34, 0.1);
}

html[data-site-id="A"] body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcf8 42%, #f5f8f2 100%);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

html[data-site-id="A"] body * {
  font-family: inherit;
}

html[data-site-id="A"] .topbar,
html[data-site-id="A"] .age-gate,
html[data-site-id="A"] .hero,
html[data-site-id="A"] .page-hero {
  background-color: #f7faf4;
}

html[data-site-id="A"] .topbar {
  color: #ffffff;
  background: #17452d;
}

html[data-site-id="A"] .hero-section,
html[data-site-id="A"] .page-hero,
html[data-site-id="A"] .split-section {
  isolation: isolate;
  overflow: hidden;
}

html[data-site-id="A"] .section-bg-video {
  display: none !important;
  z-index: 0 !important;
  opacity: 0;
  pointer-events: none;
}

html[data-site-id="A"] .hero-section > *:not(.section-bg-video),
html[data-site-id="A"] .page-hero > *:not(.section-bg-video),
html[data-site-id="A"] .split-section > *:not(.section-bg-video) {
  position: relative;
  z-index: 2;
}

html[data-site-id="A"] .page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 244, 0.9) 54%, rgba(238, 246, 235, 0.72) 100%),
    #f7faf4 !important;
}

html[data-site-id="A"] .page-hero h1,
html[data-site-id="A"] .hero-section h1 {
  color: #18221c;
}

html[data-site-id="A"] .page-hero p,
html[data-site-id="A"] .hero-section p {
  color: #4f6055;
}

html[data-site-id="A"] .site-header,
html[data-site-id="A"] .cart-panel,
html[data-site-id="A"] .editor-panel,
html[data-site-id="A"] .commerce-detail-block,
html[data-site-id="A"] .detail-content,
html[data-site-id="A"] .detail-buy-box,
html[data-site-id="A"] .detail-main-image,
html[data-site-id="A"] .detail-thumb,
html[data-site-id="A"] .product-card,
html[data-site-id="A"] .checkout-card,
html[data-site-id="A"] .payment-option,
html[data-site-id="A"] .billing-box,
html[data-site-id="A"] .spec-grid > div,
html[data-site-id="A"] .spec-highlight-row article,
html[data-site-id="A"] .product-review-item {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(28, 58, 39, 0.06);
}

html[data-site-id="A"] .cart-drawer {
  background: rgba(23, 21, 21, 0);
  box-shadow: none;
}

html[data-site-id="A"] .cart-drawer.is-open {
  background: rgba(23, 21, 21, 0.28);
}

html[data-site-id="A"] .primary-btn,
html[data-site-id="A"] .add-btn,
html[data-site-id="A"] .checkout-btn {
  color: #ffffff;
  background: #17452d;
  border-color: #17452d;
}

html[data-site-id="A"] .secondary-btn,
html[data-site-id="A"] .ghost-btn,
html[data-site-id="A"] .detail-add-media,
html[data-site-id="A"] .upload-btn,
html[data-site-id="A"] .lang-trigger {
  color: #17452d;
  background: #ffffff;
  border-color: #bfd1c2;
}

html[data-site-id="A"] .primary-btn:hover,
html[data-site-id="A"] .secondary-btn:hover,
html[data-site-id="A"] .ghost-btn:hover,
html[data-site-id="A"] .add-btn:hover {
  transform: none;
  box-shadow: 0 10px 24px rgba(23, 69, 45, 0.12);
}

html[data-site-id="A"] .eyebrow,
html[data-site-id="A"] .commerce-detail-heading span,
html[data-site-id="A"] .meta-label,
html[data-site-id="A"] .product-card-category,
html[data-site-id="A"] .detail-tax-note {
  color: #2f6b48;
}

html[data-site-id="A"] .commerce-detail-heading span {
  background: #edf5ea;
}

html[data-site-id="A"] .detail-main-image {
  cursor: default !important;
  background: #ffffff;
}

html[data-site-id="A"] .detail-main-image *,
html[data-site-id="A"] .detail-main-media-stage,
html[data-site-id="A"] .detail-main-media,
html[data-site-id="A"] .detail-main-image img,
html[data-site-id="A"] .detail-main-image video {
  cursor: default !important;
}

html[data-site-id="A"] .detail-main-image .detail-main-media-stage,
html[data-site-id="A"] .detail-main-image .inline-media-wrap {
  background: #ffffff;
}

html[data-site-id="A"] .detail-main-image img,
html[data-site-id="A"] .detail-main-image video,
html[data-site-id="A"] .detail-main-media,
html[data-site-id="A"] .detail-main-image.is-zooming .detail-main-media:not(.is-empty) {
  transform: none !important;
  filter: none !important;
  will-change: auto;
}

html[data-site-id="A"] .detail-carousel-arrow {
  color: #17452d;
  background: rgba(255, 255, 255, 0.92);
  border-color: #bfd1c2;
  box-shadow: 0 12px 28px rgba(30, 64, 43, 0.12);
}

html[data-site-id="A"] .detail-thumb.is-active,
html[data-site-id="A"] .detail-thumb:hover {
  border-color: #2f6b48;
  box-shadow: 0 0 0 3px rgba(47, 107, 72, 0.14);
}

html[data-site-id="A"] .rich-detail-media,
html[data-site-id="A"] .review-uploaded-media {
  background: #ffffff;
}

html[data-site-id="A"] .product-long-details {
  background: #fbfcf8;
}

html[data-site-id="A"] input,
html[data-site-id="A"] select,
html[data-site-id="A"] textarea {
  border-color: #cfd9d0;
  background: #ffffff;
}

html[data-site-id="A"] input:focus,
html[data-site-id="A"] select:focus,
html[data-site-id="A"] textarea:focus {
  outline: 3px solid rgba(47, 107, 72, 0.16);
  border-color: #2f6b48;
}

/* A-site direct-open guard: keep the homepage visible even when the editable hero source is a video. */
html[data-site-id="A"] .page > .hero-section {
  height: auto;
  min-height: clamp(620px, 86svh, 900px);
  padding: clamp(56px, 7svh, 88px) clamp(22px, 7vw, 108px);
  display: grid !important;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  place-items: center;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 48%, rgba(244, 249, 240, 0.82) 100%),
    var(--hero-bg),
    #fbfcf8 !important;
  background-size: cover;
  background-position: center;
}

html[data-site-id="A"] .page > .hero-section::before {
  background:
    radial-gradient(circle at 88% 30%, rgba(111, 148, 116, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(241, 245, 238, 0.62)) !important;
  opacity: 1;
  pointer-events: none;
}

html[data-site-id="A"] .page > .hero-section .section-bg-video {
  display: none !important;
}

html[data-site-id="A"] .page > .hero-section .hero-copy {
  position: relative !important;
  inset: auto !important;
  width: min(720px, 100%) !important;
  max-width: 720px;
  justify-self: start;
  margin: 0 0 0 clamp(22px, 1.8vw, 34px);
  align-items: flex-start;
  text-align: left;
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: translateY(clamp(-310px, -33svh, -250px));
  z-index: 3;
}

html[data-site-id="A"] .page > .hero-section .hero-copy h1 {
  max-width: 680px;
  margin-inline: 0;
  color: #18221c !important;
  -webkit-text-fill-color: #18221c;
  text-shadow: none !important;
}

html[data-site-id="A"] .page > .hero-section .hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: 0;
  color: #4f6055 !important;
  -webkit-text-fill-color: #4f6055;
  text-shadow: none !important;
}

html[data-site-id="A"] .page > .hero-section .hero-actions {
  justify-content: flex-start;
}

html[data-site-id="A"] .page > .hero-section .hero-copy .hero-visual {
  width: min(520px, 100%) !important;
  margin: clamp(26px, 4svh, 42px) 0 0;
  pointer-events: auto;
  z-index: 3;
}

html[data-site-id="A"] .page > .hero-section .hero-copy .hero-video-card {
  height: clamp(260px, 40svh, 420px);
  border-color: #dbe2d9;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 249, 240, 0.72)),
    #ffffff;
  box-shadow: 0 24px 64px rgba(24, 52, 34, 0.12);
}

html[data-site-id="A"] .page > .hero-section .hero-video-card .hero-visual-media {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  filter: none !important;
}

html[data-site-id="A"] .page > .hero-section .mini-card,
html[data-site-id="A"] .page > .hero-section .hero-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: #dbe2d9;
  box-shadow: 0 12px 32px rgba(24, 52, 34, 0.08);
}

html[data-site-id="A"] .page > .hero-section .mini-card span,
html[data-site-id="A"] .page > .hero-section .hero-card span,
html[data-site-id="A"] .page > .hero-section .mini-card strong,
html[data-site-id="A"] .page > .hero-section .hero-card strong {
  color: #18221c;
}

html[data-site-id="A"] .page > .hero-section > .inline-media-btn {
  position: absolute !important;
  right: 50%;
  top: 18px;
  transform: translateX(50%);
  z-index: 6;
}

.file-input,
.hero-section > .file-input,
.page-hero > .file-input,
.split-section > .file-input,
html[data-site-id="A"] .hero-section > .file-input,
html[data-site-id="A"] .page-hero > .file-input,
html[data-site-id="A"] .split-section > .file-input {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  html[data-site-id="A"] .page > .hero-section {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 42px 18px 54px;
    text-align: left;
  }

  html[data-site-id="A"] .page > .hero-section .hero-copy,
  html[data-site-id="A"] .page > .hero-section .hero-copy h1,
  html[data-site-id="A"] .page > .hero-section .hero-copy p:not(.eyebrow) {
    width: 100% !important;
  }

  html[data-site-id="A"] .page > .hero-section .hero-copy {
    margin-left: 0;
    transform: none;
  }

  html[data-site-id="A"] .page > .hero-section .hero-copy .hero-video-card {
    height: clamp(220px, 42svh, 320px);
  }
}

/* A-site full-image homepage: the hero upload replaces one whole background image. */
html[data-site-id="A"] .page > .hero-section {
  min-height: calc(100svh - 106px);
  padding: clamp(64px, 9svh, 112px) clamp(28px, 7.5vw, 142px);
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(244, 249, 240, 0.34) 66%, rgba(244, 249, 240, 0.1) 100%),
    var(--hero-bg, url("assets/product-care-bottle.jpg")) center center / cover no-repeat,
    #fbfcf8 !important;
}

html[data-site-id="A"] .page > .hero-section::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(241, 245, 238, 0.38)) !important;
}

html[data-site-id="A"] .page > .hero-section .hero-copy {
  width: min(700px, 100%) !important;
  max-width: 700px;
  margin: 0;
  display: grid;
  gap: clamp(13px, 1.7svh, 18px);
  transform: none;
}

html[data-site-id="A"] .page > .hero-section .hero-copy .eyebrow {
  width: fit-content;
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid #2f6b48;
  color: #2f6b48;
  font-size: clamp(0.74rem, 0.8vw, 0.88rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

html[data-site-id="A"] .page > .hero-section .hero-copy h1 {
  max-width: 700px;
  margin: 0;
  color: #122019 !important;
  font-size: clamp(3.05rem, 4.2vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  -webkit-text-fill-color: #122019;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
}

html[data-site-id="A"] .page > .hero-section .hero-copy p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #44584d !important;
  font-size: clamp(1rem, 1.12vw, 1.18rem);
  line-height: 1.66;
  letter-spacing: 0;
  -webkit-text-fill-color: #44584d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

html[data-site-id="A"] .page > .hero-section .hero-copy .hero-visual {
  display: none !important;
}

html[data-site-id="A"] .page > .hero-section .hero-actions {
  margin-top: clamp(6px, 1.4svh, 14px);
  gap: 12px;
  align-items: center;
}

html[data-site-id="A"] .page > .hero-section .hero-actions .primary-btn,
html[data-site-id="A"] .page > .hero-section .hero-actions .secondary-btn {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 900;
}

html[data-site-id="A"] .page > .hero-section .hero-actions .primary-btn {
  box-shadow: 0 18px 36px rgba(23, 69, 45, 0.16);
}

@media (max-width: 760px) {
  html[data-site-id="A"] .page > .hero-section {
    min-height: calc(100svh - 96px);
    padding: 48px 18px 64px;
    align-items: flex-start;
    background-position: center center;
  }

  html[data-site-id="A"] .page > .hero-section .hero-copy {
    gap: 12px;
  }

  html[data-site-id="A"] .page > .hero-section .hero-copy h1 {
    font-size: clamp(2.25rem, 10.8vw, 3.05rem);
    line-height: 1.02;
  }

  html[data-site-id="A"] .page > .hero-section .hero-actions {
    width: 100%;
    gap: 10px;
  }

  html[data-site-id="A"] .page > .hero-section .hero-actions .primary-btn,
  html[data-site-id="A"] .page > .hero-section .hero-actions .secondary-btn {
    min-height: 50px;
    padding-inline: 18px;
  }
}
