:root {
  --ink: #0f1d2a;
  --navy: #0f2d4a;
  --green: #0f6a3f;
  --green-2: #1e7b4b;
  --sage: #a7b49a;
  --sage-soft: #dde8d5;
  --ivory: #f8f4eb;
  --paper: #fffaf0;
  --milk: #fffdf8;
  --line: rgba(15, 45, 74, .16);
  --muted: #68736c;
  --gold: #c49a3a;
  --steel: #547a8a;
  --coral: #c97a66;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 30px 90px rgba(15, 45, 74, .12);
  --shadow-product: 0 34px 55px rgba(24, 39, 34, .2);
  --font-display: Georgia, "Times New Roman", serif;
  --font-ui: "Avenir Next", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15,45,74,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15,45,74,.026) 1px, transparent 1px),
    var(--milk);
  background-size: 64px 64px, 64px 64px, auto;
  font-family: var(--font-ui);
  overflow-x: hidden;
}

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

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

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

.site-shell {
  min-height: 100dvh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(15, 45, 74, .12);
  background: rgba(255, 253, 248, .86);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  width: min(1480px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b5b3c;
  color: #f7f3ea;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.brand-word {
  display: grid;
  gap: 1px;
}

.brand-word strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.brand-word span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #2d3b45;
  font-size: 14px;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  transition: transform .35s var(--ease), background .35s var(--ease);
}

.icon-button:hover {
  background: #fff;
  transform: translateY(-1px);
}

.icon-button svg,
.mini-icon svg,
.row-icon svg,
.trust-chip svg,
.mobile-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 0 18px 0 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}

.primary-button {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 38px rgba(15, 106, 63, .24);
}

.secondary-button {
  background: rgba(255, 255, 255, .74);
  border-color: var(--line);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.primary-button:active,
.secondary-button:active {
  transform: scale(.985);
}

.button-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}

.button-icon svg {
  width: 18px;
  height: 18px;
}

.page-section {
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr) minmax(320px, .72fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px 0 18px;
  min-height: calc(100dvh - 76px);
}

.gallery-rail,
.purchase-panel,
.product-stage,
.admin-panel,
.checkout-panel,
.mobile-frame,
.system-panel {
  border: 1px solid var(--line);
  background: rgba(255,253,248,.9);
  box-shadow: var(--shadow-soft);
}

.gallery-rail {
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  min-width: 0;
}

.gallery-rail > * {
  min-width: 0;
}

.crumbs {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 5.2vw, 86px);
  line-height: .92;
  font-weight: 500;
  letter-spacing: 0;
}

.product-subhead {
  max-width: 430px;
  margin: 18px 0 0;
  color: #496056;
  font-size: 18px;
  line-height: 1.6;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: #33443e;
  font-size: 14px;
  font-weight: 800;
}

.stars {
  color: var(--gold);
  letter-spacing: .12em;
}

.thumb-stack {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  min-width: 0;
  max-width: 100%;
}

.thumb {
  aspect-ratio: 1;
  border: 1px solid rgba(15,45,74,.14);
  border-radius: 16px;
  background: #f3eee5;
  display: grid;
  place-items: center;
  overflow: hidden;
}

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

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

.benefit-lines {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.benefit-line {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.benefit-line strong {
  display: block;
  font-size: 15px;
}

.benefit-line span {
  color: var(--muted);
  font-size: 13px;
}

.row-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--green);
  background: #f4f8f0;
  border: 1px solid rgba(15,106,63,.22);
}

.product-stage {
  position: relative;
  min-height: 720px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.94) 0 23%, rgba(237,233,222,.72) 24% 42%, transparent 43%),
    linear-gradient(145deg, #f4efe5, #fffdf8 42%, #ece6da);
}

.stage-arch {
  position: absolute;
  inset: 46px 70px 170px;
  border: 1px solid rgba(15,45,74,.12);
  border-radius: 999px 999px 34px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.16));
}

.stage-plant {
  position: absolute;
  right: 42px;
  top: 180px;
  width: 160px;
  height: 260px;
  opacity: .65;
}

.stage-plant::before,
.stage-plant::after {
  content: "";
  position: absolute;
  border-radius: 999px 999px 999px 0;
  border: 1px solid rgba(15,106,63,.34);
  transform: rotate(-38deg);
}

.stage-plant::before {
  width: 70px;
  height: 22px;
  top: 42px;
  left: 32px;
  box-shadow: 28px 62px 0 -1px rgba(15,106,63,.06), 28px 62px 0 0 rgba(15,106,63,.28);
}

.stage-plant::after {
  width: 82px;
  height: 25px;
  top: 96px;
  left: 62px;
}

.hero-product {
  position: relative;
  z-index: 3;
  width: min(58%, 500px);
  max-height: 680px;
  object-fit: contain;
  filter: drop-shadow(var(--shadow-product));
}

.plinth {
  position: absolute;
  z-index: 2;
  bottom: 105px;
  width: 62%;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(215,209,196,.78));
  border: 1px solid rgba(15,45,74,.08);
  box-shadow: 0 30px 42px rgba(15,45,74,.16);
}

.stage-info {
  position: absolute;
  z-index: 4;
  left: 34px;
  right: 34px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(15,45,74,.1);
  border-radius: 22px;
  background: rgba(255,250,240,.86);
  backdrop-filter: blur(12px);
}

.stage-info div {
  min-height: 82px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px 15px;
  min-width: 0;
}

.stage-info div + div {
  border-left: 1px solid rgba(15,45,74,.12);
}

.mini-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(15,106,63,.24);
  color: var(--green);
}

.stage-info strong {
  display: block;
  font-size: 12px;
  line-height: 1.1;
}

.stage-info span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  min-width: 0;
}

.purchase-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 20px;
}

.price {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 1;
}

.small-muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.qty-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
}

.stepper {
  min-height: 52px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.stepper button {
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
}

.stepper span {
  text-align: center;
  font-weight: 900;
}

.trust-stack {
  display: grid;
  gap: 10px;
}

.trust-chip {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.trust-chip .badge-dot {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
}

.trust-chip:nth-child(2) .badge-dot {
  background: var(--green-2);
}

.trust-chip strong {
  display: block;
  font-size: 13px;
}

.trust-chip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.product-band {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
  align-items: stretch;
}

.story-band,
.facts-band,
.admin-preview,
.checkout-layout {
  width: min(1480px, calc(100% - 48px));
  margin: 18px auto 0;
}

.story-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.wide-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,253,248,.9);
  overflow: hidden;
}

.campaign-strip {
  min-height: 240px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 24px;
  padding: 34px;
  background: linear-gradient(110deg, #e5ecdc, #fffaf0 48%, #f1eadf);
}

.campaign-strip h2,
.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 68px);
  line-height: .98;
  font-weight: 500;
}

.ingredient-scene {
  min-height: 220px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 28% 50%, #8ea178 0 7%, transparent 8%),
    radial-gradient(circle at 44% 42%, #e7ca76 0 5%, transparent 6%),
    radial-gradient(circle at 60% 52%, #2d7a4e 0 5%, transparent 6%),
    linear-gradient(135deg, #fdf8ec, #dfe8d7);
  border: 1px solid rgba(15,45,74,.1);
}

.facts-band {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.facts-card {
  padding: 30px;
}

.facts-card h3,
.admin-panel h3,
.checkout-panel h3,
.system-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
}

.ingredient-list {
  margin-top: 22px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.ingredient-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.ingredient-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
}

.facts-table {
  padding: 30px;
  background: #fff;
}

.supplement-facts {
  margin-top: 18px;
  border: 2px solid #111;
  padding: 14px;
  color: #111;
  background: #fff;
  font-family: Arial, sans-serif;
}

.supplement-facts strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.facts-row {
  display: grid;
  grid-template-columns: 1fr 90px 70px;
  gap: 8px;
  border-top: 1px solid #111;
  padding: 7px 0;
  font-size: 13px;
}

.system-row {
  width: min(1480px, calc(100% - 48px));
  margin: 18px auto 64px;
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr 1fr;
  gap: 18px;
  min-width: 0;
}

.system-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 0;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.swatch {
  width: 54px;
  height: 70px;
  border-radius: 18px;
  border: 1px solid rgba(15,45,74,.1);
}

.type-spec {
  display: flex;
  gap: 30px;
  align-items: end;
  margin-top: 18px;
}

.type-spec .serif {
  font-family: var(--font-display);
  font-size: 58px;
}

.type-spec .sans {
  font-size: 46px;
  font-weight: 700;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 46px);
  gap: 12px;
  margin-top: 20px;
}

.icon-grid .mini-icon {
  width: 46px;
  height: 46px;
}

.payment-note {
  margin-top: 18px;
  border: 1px solid rgba(15,106,63,.2);
  background: #f5faf2;
  color: #304a3c;
  border-radius: 16px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
}

.admin-hero,
.checkout-hero {
  width: min(1480px, calc(100% - 48px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 18px;
  align-items: stretch;
}

.admin-panel,
.checkout-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.metric {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ledger {
  margin-top: 22px;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1.1fr .75fr .65fr .85fr;
  gap: 12px;
  align-items: center;
  padding: 15px 18px;
  background: rgba(255,255,255,.74);
}

.ledger-row + .ledger-row {
  border-top: 1px solid var(--line);
}

.ledger-row.header {
  background: #f3efe5;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.status {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 10px;
  background: #edf6e9;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.status.pending {
  background: #fff4db;
  color: #8a6516;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .65fr);
  gap: 18px;
}

.checkout-panel form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

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

.field label {
  color: #33443e;
  font-size: 12px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.field textarea {
  min-height: 88px;
  padding-top: 12px;
}

.admin-image-slot {
  min-height: 70px;
  border: 1px dashed rgba(15,106,63,.28);
  border-radius: 14px;
  background: rgba(244,248,240,.54);
  padding: 10px;
  outline: none;
}

.admin-image-slot:focus,
.admin-image-slot.is-dragging {
  border-color: rgba(15,106,63,.66);
  box-shadow: 0 0 0 4px rgba(15,106,63,.08);
}

.admin-image-empty,
.admin-image-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-image-empty span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-image-preview img {
  width: 58px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.admin-image-slot button,
.admin-media-upload button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.paypal-box {
  margin-top: 18px;
  border: 1px solid rgba(15,106,63,.2);
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.coupon-box {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid rgba(15,45,74,.12);
  border-radius: 18px;
  background: rgba(244,248,240,.58);
  padding: 16px;
}

.coupon-box label {
  color: #33443e;
  font-size: 12px;
  font-weight: 900;
}

.coupon-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.coupon-input-row input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  text-transform: uppercase;
}

.paypal-placeholder {
  min-height: 96px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  border: 1px dashed rgba(15,45,74,.22);
  border-radius: 14px;
  padding: 20px;
}

.order-summary {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
}

.order-summary img {
  width: 92px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(15,45,74,.18));
}

.mobile-sticky {
  display: none;
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .hero,
  .product-band,
  .story-band,
  .facts-band,
  .system-row,
  .admin-hero,
  .checkout-hero,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .purchase-panel {
    align-content: start;
  }

  .product-stage {
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .page-section,
  .story-band,
  .facts-band,
  .system-row,
  .admin-hero,
  .checkout-hero,
  .checkout-layout {
    width: min(100% - 28px, 1480px);
  }

  .topbar-inner {
    grid-template-columns: 1fr auto;
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .brand-word span {
    display: none;
  }

  .brand-word strong {
    font-size: 25px;
  }

  .hero {
    width: min(100% - 28px, 1480px);
    grid-template-columns: 1fr;
    padding-top: 16px;
  }

  .gallery-rail,
  .purchase-panel,
  .admin-panel,
  .checkout-panel,
  .system-panel,
  .wide-panel {
    border-radius: 20px;
    padding: 20px;
  }

  .product-title {
    font-size: 52px;
  }

  .thumb-stack {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    width: 100%;
    max-width: 100%;
  }

  .thumb {
    flex: 0 0 74px;
  }

  .product-stage {
    min-height: 520px;
  }

  .hero-product {
    width: 68%;
  }

  .stage-arch {
    inset: 38px 32px 150px;
  }

  .stage-info {
    grid-template-columns: 1fr;
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .stage-info div + div {
    border-left: 0;
    border-top: 1px solid rgba(15,45,74,.12);
  }

  .qty-row,
  .campaign-strip,
  .ledger-row,
  .two-fields,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .campaign-strip {
    padding: 22px;
  }

  .facts-card,
  .facts-table {
    padding: 20px;
  }

  .facts-row {
    grid-template-columns: 1fr 64px 54px;
    font-size: 11px;
  }

  .system-row {
    margin-bottom: 94px;
  }

  .mobile-sticky {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 1px solid rgba(15,45,74,.12);
    border-radius: 22px;
    background: rgba(255,253,248,.9);
    padding: 10px;
    box-shadow: 0 18px 42px rgba(15,45,74,.16);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky .primary-button,
  .mobile-sticky .secondary-button {
    min-height: 48px;
    padding: 0 14px;
  }
}

/* Formula Authority Commerce page: closer to the selected Image Gen concept */
.commerce-board {
  width: min(1540px, calc(100% - 24px));
  margin: 16px auto 72px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: 108px minmax(410px, .96fr) minmax(350px, .84fr) 300px;
  gap: 0;
  min-height: 560px;
  border: 1px solid rgba(15,45,74,.1);
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  background: rgba(255,253,248,.86);
  box-shadow: var(--shadow-soft);
}

.vertical-gallery {
  display: grid;
  grid-template-rows: 32px repeat(4, 80px) 32px;
  gap: 10px;
  justify-items: center;
  align-content: center;
  padding: 26px 12px;
  border-right: 1px solid rgba(15,45,74,.12);
  background: rgba(255,253,248,.9);
}

.gallery-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.gallery-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(15,45,74,.13);
  border-radius: 14px;
  background: #f8f4eb;
}

.gallery-thumb.is-active {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(15,106,63,.2);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:first-of-type img,
.gallery-thumb:nth-of-type(2) img {
  width: 70%;
  height: 84%;
  object-fit: contain;
}

.ingredient-thumb {
  background: linear-gradient(145deg, #f7f3ea, #fffdf8);
}

.concept-product-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  overflow: hidden;
  border-right: 1px solid rgba(15,45,74,.12);
  background:
    radial-gradient(circle at 23% 42%, rgba(164,181,151,.16), transparent 27%),
    linear-gradient(135deg, #f8f4eb, #fffdf8 52%, #f1ece2);
}

.concept-photo-bg {
  position: absolute;
  inset: 24px 28px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 22%, rgba(15,106,63,.11), transparent 24%),
    radial-gradient(circle at 77% 22%, rgba(255,255,255,.9), transparent 22%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(242,237,226,.9));
  border: 1px solid rgba(15,45,74,.09);
}

.concept-photo-bg::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  width: 50%;
  height: 64%;
  transform: translateX(-50%);
  border: 1px solid rgba(15,45,74,.12);
  border-radius: 999px 999px 30px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.12));
}

.concept-plinth {
  position: absolute;
  bottom: 44px;
  width: 52%;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(218,211,198,.8));
  border: 1px solid rgba(15,45,74,.1);
  box-shadow: 0 28px 44px rgba(15,45,74,.14);
}

.concept-bottle {
  position: relative;
  z-index: 2;
  width: min(43%, 292px);
  max-height: 452px;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(18,32,27,.18));
}

.concept-buy-panel {
  min-height: 560px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 30px 42px;
  border-right: 1px solid rgba(15,45,74,.12);
  background: rgba(255,253,248,.94);
}

.concept-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
}

.concept-brand-mini .brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.concept-buy-panel h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 4.2vw, 62px);
  font-weight: 500;
  line-height: .95;
}

.formula-kicker {
  margin: -8px 0 0;
  color: var(--green);
  font-size: 20px;
  line-height: 1;
}

.formula-kicker::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 14px;
  background: var(--green);
}

.ingredient-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ingredient-icons span {
  display: grid;
  justify-items: center;
  gap: 9px;
  color: #283943;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.concept-price-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
}

.concept-price-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.concept-actions {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 14px;
}

.concept-subscribe {
  width: 100%;
}

.concept-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.concept-badge {
  display: inline-grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 800;
}

.concept-badge .mini-icon {
  background: var(--navy);
  color: #fff;
}

.concept-badge.green .mini-icon {
  background: var(--green);
}

.phone-preview {
  position: relative;
  align-self: center;
  justify-self: center;
  width: 218px;
  min-height: 504px;
  margin: 22px 0;
  border: 7px solid #0f1d2a;
  border-radius: 36px;
  background: #fffdf8;
  box-shadow: 0 24px 60px rgba(15,45,74,.18);
  padding: 15px 15px 16px;
  overflow: hidden;
}

.phone-top,
.phone-nav,
.phone-buy,
.phone-trust {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-top {
  font-size: 10px;
  font-weight: 800;
  opacity: .75;
}

.phone-status {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.phone-status svg,
.phone-menu svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-nav {
  margin-top: 12px;
}

.phone-nav strong {
  font-family: var(--font-display);
  font-size: 21px;
}

.phone-image {
  height: 160px;
  display: grid;
  place-items: center;
  margin-top: 14px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f6f1e8, #fffdf8);
  border: 1px solid rgba(15,45,74,.08);
}

.phone-image img {
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(15,45,74,.14));
}

.phone-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 10px 0;
}

.phone-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(15,45,74,.18);
}

.phone-dots span:first-child {
  background: var(--green);
}

.phone-preview p {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 14px;
}

.phone-preview h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.phone-preview small {
  color: var(--green);
  font-weight: 700;
}

.phone-icons {
  display: flex;
  gap: 14px;
  margin: 12px 0;
}

.phone-buy {
  gap: 12px;
}

.phone-buy strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
}

.phone-buy a {
  flex: 1;
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.phone-trust {
  gap: 8px;
  margin-top: 12px;
}

.phone-trust span {
  flex: 1;
  font-size: 9px;
  line-height: 1.15;
  color: var(--muted);
}

.concept-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 20px;
  padding: 18px 0;
}

.formula-card,
.facts-panel,
.concept-token-panel {
  border: 1px solid var(--line);
  background: rgba(255,253,248,.92);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.formula-card h2,
.facts-panel h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}

.formula-row {
  display: grid;
  grid-template-columns: 54px 1fr 30px;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.ingredient-art {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(15,45,74,.09);
  background: linear-gradient(145deg, rgba(221,232,213,.72), rgba(255,253,248,.96));
  color: var(--green);
}

.ingredient-art svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ingredient-art.artichoke {
  color: #567a43;
  background: linear-gradient(145deg, #e7eddf, #fffaf0);
}

.ingredient-art.peppermint {
  color: #0f6a3f;
  background: linear-gradient(145deg, #dfeadb, #fffdf8);
}

.ingredient-art.enzyme {
  color: #a27935;
  background: linear-gradient(145deg, #eee4cf, #fffaf0);
}

.formula-row strong,
.formula-row small {
  display: block;
}

.formula-row small {
  color: var(--muted);
  margin-top: 4px;
}

.formula-row button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.formula-row button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facts-lines {
  border: 2px solid #171717;
  background: #fff;
  color: #111;
  font-family: Arial, sans-serif;
  padding: 12px;
}

.facts-lines div {
  display: grid;
  grid-template-columns: 1fr 86px 70px;
  gap: 8px;
  border-top: 1px solid #111;
  padding: 6px 0;
  font-size: 11px;
}

.facts-lines div:first-child {
  border-top: 6px solid #111;
}

.concept-system-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr .95fr 1fr;
  gap: 20px;
}

.concept-token-panel h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1240px) {
  .pdp-grid {
    grid-template-columns: 90px minmax(0, 1fr) minmax(340px, .75fr);
  }
  .phone-preview {
    display: none;
  }
}

@media (max-width: 900px) {
  .commerce-board {
    width: min(100% - 28px, 1540px);
    margin-top: 16px;
  }
  .pdp-grid,
  .concept-detail-grid,
  .concept-system-row {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .vertical-gallery {
    grid-template-rows: none;
    grid-template-columns: repeat(4, 74px);
    justify-content: start;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(15,45,74,.12);
  }
  .gallery-arrow {
    display: none;
  }
  .concept-product-frame,
  .concept-buy-panel {
    min-height: auto;
    border-right: 0;
  }
  .concept-product-frame {
    min-height: 420px;
  }
  .concept-photo-bg {
    inset: 24px 30px;
  }
  .concept-plinth {
    bottom: 42px;
    width: 50%;
    height: 40px;
  }
  .concept-bottle {
    width: min(54%, 250px);
    max-height: 340px;
  }
  .concept-buy-panel {
    padding: 26px 22px 96px;
  }
  .ingredient-icons {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .concept-actions {
    grid-template-columns: 1fr;
  }
  .concept-badges {
    display: grid;
  }
}

/* Storefront landing page: commerce form built from the visual asset system */
.storefront-page {
  width: min(1480px, calc(100% - 28px));
  margin: 18px auto 76px;
}

.pdp-commerce-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .72fr);
  gap: 18px;
  align-items: stretch;
}

.pdp-media,
.pdp-buy-box {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,253,248,.94);
  box-shadow: var(--shadow-soft);
}

.pdp-media {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 720px;
  overflow: hidden;
}

.pdp-gallery {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px 12px;
  border-right: 1px solid var(--line);
}

.pdp-main-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(15,106,63,.1), transparent 24%),
    linear-gradient(145deg, #f4efe5, #fffdf8 52%, #ece6da);
}

.pdp-main-image::after {
  content: "";
  position: absolute;
  bottom: 82px;
  width: 54%;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(215,209,196,.78));
  box-shadow: 0 26px 44px rgba(15,45,74,.16);
}

.pdp-main-image img {
  position: relative;
  z-index: 2;
  width: min(46%, 360px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 26px 36px rgba(18,32,27,.18));
}

.pdp-buy-box {
  padding: 32px;
}

.pdp-breadcrumb {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pdp-buy-box h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 68px);
  line-height: .96;
  font-weight: 500;
}

.pdp-summary {
  color: #496056;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.content-image {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 18px 0 0;
}

.content-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  object-fit: initial;
  box-shadow: 0 14px 34px rgba(18,32,27,.08);
}

.content-image figcaption {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.content-image-inline img {
  max-height: none;
}

.content-image-wide {
  max-width: 100%;
}

.content-image-wide img {
  max-height: none;
}

.pdp-accordions {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pdp-accordions details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.pdp-accordions summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.pdp-accordions p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.spec-kicker {
  display: inline-flex;
  width: max-content;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .82fr) minmax(340px, .58fr);
  gap: 18px;
  align-items: stretch;
  min-height: 620px;
}

.hero-copy,
.hero-product-stage,
.buy-card,
.routine-section,
.formula-commerce,
.offer-section,
.faq-section {
  border: 1px solid var(--line);
  background: rgba(255,253,248,.92);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: 34px 46px;
  border-radius: 26px;
}

.hero-copy h1,
.section-intro h2,
.formula-story h2,
.offer-copy h2,
.faq-section h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy p,
.offer-copy p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #496056;
  font-size: 17px;
  line-height: 1.65;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof-row span {
  border: 1px solid rgba(15,106,63,.18);
  border-radius: 999px;
  background: #f4f8f0;
  color: #304a3c;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 900;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-product-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 24% 30%, rgba(15,106,63,.11), transparent 24%),
    linear-gradient(145deg, #f4efe5, #fffdf8 50%, #ece6da);
}

.hero-stage-bg {
  position: absolute;
  inset: 38px;
  border: 1px solid rgba(15,45,74,.1);
  border-radius: 999px 999px 32px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.1));
}

.hero-product-stage::after {
  content: "";
  position: absolute;
  bottom: 80px;
  width: 58%;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(216,209,196,.78));
  box-shadow: 0 26px 44px rgba(15,45,74,.16);
}

.hero-product-stage img {
  position: relative;
  z-index: 2;
  width: min(55%, 330px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 26px 36px rgba(18,32,27,.18));
}

.hero-stage-badge {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  min-width: 150px;
  border: 1px solid rgba(15,45,74,.12);
  border-radius: 18px;
  background: rgba(255,253,248,.82);
  backdrop-filter: blur(14px);
  padding: 14px;
}

.hero-stage-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
}

.hero-stage-badge span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.buy-card {
  display: grid;
  align-content: center;
  gap: 18px;
  border-radius: 26px;
  padding: 28px;
}

.buy-card-head {
  display: grid;
  gap: 2px;
}

.buy-card-head span {
  font-family: var(--font-display);
  font-size: 22px;
}

.buy-card-head strong {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
}

.buy-card-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
}

.buy-card-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.buy-options {
  display: grid;
  gap: 10px;
}

.buy-option {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  font-size: 13px;
  font-weight: 900;
}

.buy-option.is-selected {
  border-color: rgba(15,106,63,.4);
  background: #f4f8f0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,253,248,.92);
}

.trust-strip span {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 18px;
  color: #304a3c;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.trust-strip span + span {
  border-left: 1px solid var(--line);
}

.routine-section,
.formula-commerce,
.offer-section,
.faq-section {
  margin-top: 18px;
  border-radius: 26px;
  padding: 38px;
}

.section-intro {
  display: block;
  max-width: 1040px;
}

.section-intro h2,
.formula-story h2,
.offer-copy h2,
.faq-section h2 {
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1;
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.routine-grid article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.68);
  padding: 26px;
}

.routine-grid h3,
.offer-card h3 {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.08;
}

.routine-grid p,
.offer-card p,
.faq-section p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.formula-commerce {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: 20px;
}

.formula-story {
  display: grid;
  align-content: start;
}

.formula-story h2 {
  margin-bottom: 24px;
}

.formula-story .content-image {
  margin: 0 0 20px;
}

.offer-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(460px, 1fr);
  gap: 28px;
  align-items: center;
}

.offer-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.offer-card {
  display: grid;
  align-content: start;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 24px;
}

.offer-card.is-featured {
  background: linear-gradient(145deg, #f4f8f0, #fffdf8);
  border-color: rgba(15,106,63,.24);
}

.offer-card > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card strong {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
}

.offer-card a {
  margin-top: auto;
}

.faq-section {
  display: grid;
  gap: 12px;
}

.faq-section h2 {
  margin-bottom: 12px;
}

.faq-section details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq-section summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .pdp-commerce-hero {
    grid-template-columns: 1fr;
  }
  .landing-hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .7fr);
  }
  .hero-product-stage {
    order: 3;
    grid-column: 1 / -1;
    min-height: 520px;
  }
  .offer-section,
  .formula-commerce {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .storefront-page {
    width: min(100% - 28px, 1480px);
    margin-top: 14px;
  }
  .pdp-media {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pdp-gallery {
    grid-template-columns: repeat(3, 76px);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
  }
  .pdp-main-image {
    min-height: 430px;
  }
  .pdp-main-image img {
    width: min(58%, 260px);
  }
  .pdp-buy-box {
    padding: 24px;
  }
  .landing-hero,
  .routine-grid,
  .offer-cards,
  .trust-strip,
  .section-intro {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .buy-card,
  .routine-section,
  .formula-commerce,
  .offer-section,
  .faq-section {
    border-radius: 20px;
    padding: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(42px, 12vw, 58px);
  }
  .hero-product-stage {
    order: initial;
    min-height: 430px;
  }
  .hero-product-stage img {
    width: min(58%, 250px);
  }
  .hero-stage-bg {
    inset: 28px;
  }
  .hero-stage-badge {
    right: 16px;
    bottom: 16px;
  }
  .concept-actions {
    grid-template-columns: 1fr;
  }
  .trust-strip span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* Admin sample view: same asset system, different commerce workflow */
.admin-system-board {
  width: min(1480px, calc(100% - 28px));
  margin: 18px auto 76px;
}

.admin-spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 18px;
  align-items: stretch;
}

.admin-desktop-spec,
.admin-mobile-spec,
.admin-foundation-row .concept-token-panel {
  border: 1px solid var(--line);
  background: rgba(255,253,248,.92);
  box-shadow: var(--shadow-soft);
}

.admin-desktop-spec {
  border-radius: 26px;
  padding: 28px;
}

.admin-spec-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.admin-spec-head h1 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 4vw, 62px);
  line-height: .98;
  font-weight: 500;
}

.spec-action {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 900;
}

.admin-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.admin-metrics-strip .metric {
  border-top: 0;
  padding: 20px 18px 18px 0;
}

.admin-metrics-strip .metric + .metric {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.admin-console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 16px;
  margin-top: 18px;
}

.admin-product-card,
.admin-paypal-card,
.admin-ledger-preview {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.68);
}

.admin-product-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
}

.admin-bottle-stage {
  min-height: 250px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #f4efe5, #fffdf8);
  border: 1px solid rgba(15,45,74,.08);
}

.admin-bottle-stage img {
  width: 120px;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(18,32,27,.16));
}

.admin-product-card h2,
.admin-table-title h2,
.admin-mobile-spec h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
}

.admin-product-card p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-badge-line,
.admin-badge-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-paypal-card {
  padding: 20px;
}

.admin-ledger-preview {
  margin-top: 16px;
  padding: 20px;
}

.admin-table-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.admin-table-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-mobile-spec {
  width: 100%;
  min-height: 690px;
  align-self: center;
  border: 7px solid #0f1d2a;
  border-radius: 36px;
  padding: 16px;
  overflow: hidden;
}

.admin-phone-product {
  height: 210px;
  display: grid;
  place-items: center;
  margin: 16px 0 18px;
  border: 1px solid rgba(15,45,74,.08);
  border-radius: 16px;
  background: linear-gradient(145deg, #f4efe5, #fffdf8);
}

.admin-phone-product img {
  height: 178px;
  object-fit: contain;
}

.admin-phone-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.admin-phone-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.admin-phone-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-phone-list strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
}

.phone-admin-action {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.admin-foundation-row {
  display: grid;
  grid-template-columns: 1.25fr .75fr 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.swatches.labelled span {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.swatches.labelled .swatch {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 999px;
}

.swatches.labelled b {
  color: var(--muted);
  font-size: 10px;
}

@media (max-width: 1180px) {
  .admin-spec-grid,
  .admin-foundation-row {
    grid-template-columns: 1fr;
  }
  .admin-mobile-spec {
    width: min(320px, 100%);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .admin-system-board {
    width: min(100% - 28px, 1480px);
  }
  .admin-desktop-spec {
    padding: 22px;
    border-radius: 20px;
  }
  .admin-spec-head,
  .admin-table-title {
    display: grid;
  }
  .admin-metrics-strip,
  .admin-console-grid,
  .admin-product-card {
    grid-template-columns: 1fr;
  }
  .admin-metrics-strip .metric + .metric {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
}

/* Real store admin */
.admin-login-gate {
  width: min(680px, calc(100% - 28px));
  min-height: calc(100dvh - 92px);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.admin-login-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,253,248,.94);
  box-shadow: var(--shadow-soft);
  padding: 42px;
}

.admin-login-card h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  line-height: .96;
  font-weight: 500;
}

.admin-login-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 18px 0 28px;
}

.admin-console-page {
  width: min(1480px, calc(100% - 28px));
  margin: 20px auto 76px;
}

.admin-dashboard-hero,
.admin-product-profile,
.admin-content-plan,
.admin-settings-card,
.admin-coupon-card,
.admin-ledger-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,253,248,.94);
  box-shadow: var(--shadow-soft);
}

.admin-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1fr);
  overflow: hidden;
}

.admin-dashboard-copy {
  padding: 34px;
  border-right: 1px solid var(--line);
}

.admin-dashboard-copy h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 4.6vw, 72px);
  line-height: .96;
  font-weight: 500;
}

.admin-dashboard-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.admin-dashboard-hero .admin-metrics-strip {
  align-self: stretch;
  border-bottom: 0;
}

.admin-management-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr) minmax(320px, .72fr);
  gap: 18px;
  margin-top: 18px;
}

.admin-product-profile,
.admin-content-plan,
.admin-settings-card,
.admin-coupon-card,
.admin-ledger-section {
  padding: 24px;
}

.admin-product-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
}

.admin-product-profile h2,
.admin-content-plan h2,
.admin-settings-card h2,
.admin-coupon-card h2,
.admin-ledger-section h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
}

.admin-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.admin-form textarea {
  min-height: 74px;
  resize: vertical;
}

.admin-media-manager {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(15,106,63,.18);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(244,248,240,.72), rgba(255,253,248,.96));
  padding: 14px;
}

.admin-media-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.admin-media-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.admin-media-head span {
  max-width: 270px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-media-upload {
  min-height: 166px;
  display: grid;
  grid-template-rows: 86px auto auto;
  gap: 9px;
  align-content: start;
  border: 1px dashed rgba(15,45,74,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  padding: 10px;
  outline: none;
}

.admin-media-upload:focus,
.admin-media-upload.is-dragging {
  border-color: rgba(15,106,63,.7);
  box-shadow: 0 0 0 4px rgba(15,106,63,.08);
}

.admin-media-upload img {
  width: 100%;
  height: 86px;
  border: 1px solid rgba(15,45,74,.08);
  border-radius: 12px;
  background: #fffdf8;
  object-fit: contain;
}

.admin-media-upload:not(.has-image) img {
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(15,106,63,.18) 49% 51%, transparent 52%),
    linear-gradient(45deg, transparent 0 48%, rgba(15,106,63,.18) 49% 51%, transparent 52%),
    #fffdf8;
}

.admin-media-upload > span {
  min-height: 32px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.admin-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-media-upload button[data-media-remove] {
  color: #8e3d2f;
  border-color: rgba(142,61,47,.24);
  background: #fff8f5;
}

.admin-product-profile p,
.admin-settings-card p,
.admin-coupon-card p {
  color: var(--muted);
  line-height: 1.65;
}

.admin-login-form {
  display: grid;
  gap: 14px;
}

.admin-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.coupon-code-generator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.coupon-code-generator input[readonly] {
  background: #f8faf7;
  color: var(--green);
  font-weight: 900;
  letter-spacing: .04em;
}

.coupon-code-generator button {
  min-height: 48px;
  border: 1px solid rgba(15,106,63,.24);
  border-radius: 14px;
  background: #f4f8f0;
  color: var(--green);
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.coupon-current-code {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.coupon-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.coupon-row span:first-child {
  display: grid;
  gap: 2px;
}

.coupon-row strong {
  color: var(--ink);
  font-size: 14px;
}

.coupon-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.coupon-row button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.coupon-row button[data-coupon-delete] {
  border-color: rgba(142,61,47,.24);
  background: #fff8f5;
  color: #8e3d2f;
}

.admin-field-list,
.admin-plan-list {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.admin-field-list div,
.admin-plan-list div {
  display: grid;
  grid-template-columns: minmax(100px, .34fr) 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.admin-field-list span,
.admin-plan-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.admin-field-list strong,
.admin-plan-list strong {
  color: var(--ink);
  font-size: 13px;
}

.admin-ledger-section {
  margin-top: 18px;
}

.admin-ledger-section .ledger {
  margin-top: 18px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-order-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.admin-order-actions button[data-order-action="delete"] {
  color: #8e3d2f;
  border-color: rgba(142,61,47,.24);
  background: #fff8f5;
}

.admin-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15,106,63,.22);
  border-radius: 999px;
  background: #f4f8f0;
  color: var(--green);
  box-shadow: var(--shadow-soft);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .admin-dashboard-hero,
  .admin-management-grid {
    grid-template-columns: 1fr;
  }
  .admin-dashboard-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .admin-console-page {
    width: min(100% - 28px, 1480px);
    margin-top: 14px;
  }
  .admin-product-profile,
  .admin-field-list div,
  .admin-plan-list div,
  .coupon-row {
    grid-template-columns: 1fr;
  }
  .coupon-input-row {
    grid-template-columns: 1fr;
  }
  .coupon-code-generator {
    grid-template-columns: 1fr;
  }
  .admin-media-head {
    display: grid;
  }
  .admin-media-head span {
    max-width: none;
    text-align: left;
  }
  .admin-media-grid {
    grid-template-columns: 1fr;
  }
}
