:root {
  color-scheme: light;
  --ink: #0b1324;
  --muted: #5e574e;
  --paper: #f3f7ff;
  --line: #cbd6e6;
  --cream: #f7eee4;
  --dark: #201b14;
  --route-surface-background: #beb8b2;
  --home-art-width: max(100vw, calc(100vh * 2912 / 2497));
  --home-hero-box-width: min(calc(100vw - 32px), clamp(430px, 48vmin, 860px));
  --home-hero-box-min-narrow-height: 398px;
  --home-hero-box-horizontal-padding: clamp(22px, 2.25vmin, 50px);
  --home-hero-box-vertical-padding: clamp(22px, 2.25vmin, 50px);
  --home-hero-box-previous-bottom-padding: clamp(8px, .95vmin, 26px);
  --home-hero-box-extra-height: 8px;
  --home-hero-box-nav-growth: 44px;
  --home-hero-box-bottom-extension: calc(12px + (var(--home-hero-box-vertical-padding) - var(--home-hero-box-previous-bottom-padding)));
  --home-hero-box-base-height: calc(max(var(--home-hero-box-width), var(--home-hero-box-min-narrow-height)) + var(--home-hero-box-extra-height));
  --home-hero-box-height: calc(var(--home-hero-box-base-height) + var(--home-hero-box-bottom-extension) + var(--home-hero-box-nav-growth));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.top-nav {
  position: fixed;
  z-index: 1000;
  top: 24px;
  left: 50%;
  width: min(1024px, calc(100% - 48px));
  height: 52px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 999px;
  padding: 0 20px;
  background: #050505;
  color: #fff;
  box-shadow: 0 18px 44px rgba(23, 35, 55, .12);
}
body[data-page="home"] .top-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-140%);
}
.brand { font-size: 25px; font-weight: 900; line-height: 1; letter-spacing: 0; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255,255,255,.7); font-size: 15px; }
.nav-links a:hover { color: #fff; transform: scale(1.05); }
.cart-button { width: 42px; height: 42px; display: grid; place-items: center; margin-left: 16px; color: #fff; }
.mobile-menu { display: none; margin-left: auto; color: #fff; background: transparent; border: 0; font-size: 24px; }
.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.nav-icon { width: 21px; height: 21px; }
.hover-cart {
  position: absolute;
  top: 58px;
  right: 0;
  width: 320px;
  border-radius: 18px;
  padding: 20px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(12, 22, 36, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: .2s ease;
}
.top-nav:has(.cart-button:hover) .hover-cart,
.hover-cart:hover { opacity: 1; pointer-events: auto; transform: translateY(0); }
.hover-cart div { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .12em; }
.hover-cart p { color: #5e6c84; line-height: 1.45; }

.hero {
  position: relative;
  min-height: calc(100vh + 40px);
  overflow: hidden;
  background: #fff;
}
.hero-bg, .hero-lady, .hero-clouds {
  position: absolute;
  left: 50%;
  top: calc(50vh + (var(--home-art-width) * 1317 / 5824));
  width: var(--home-art-width);
  height: calc(var(--home-art-width) * 3814 / 2912);
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero-bg { z-index: 1; }
.hero-lady { z-index: 2; }
.hero-clouds { z-index: 3; }
.hero-tint {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(32,27,20,.36), rgba(104,96,86,.38) 60%, rgba(255,255,255,.05));
}
.hero-panel {
  position: absolute;
  z-index: 30;
  left: calc(50% - (var(--home-hero-box-width) / 2));
  top: calc(50vh - (var(--home-hero-box-base-height) / 2));
  width: var(--home-hero-box-width);
  height: var(--home-hero-box-height);
  border: 1px solid rgba(255,255,255,.85);
  color: #fff;
  padding: var(--home-hero-box-vertical-padding) var(--home-hero-box-horizontal-padding);
  display: flex;
  flex-direction: column;
}
.hero-panel h1 { margin: 0; font-size: clamp(36px, 4.4vmin, 80px); font-weight: 400; line-height: 1; letter-spacing: 0; }
.hero-stats { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 3vmin, 44px); flex: 1; margin: 0; padding-top: clamp(32px, 4vmin, 76px); }
.hero-stats div { min-width: 0; flex: 1; }
.hero-stats div:first-child { text-align: left; }
.hero-stats div:last-child { text-align: right; }
.hero-stats strong { display: block; font-size: clamp(42px, 4.55vmin, 72px); font-weight: 300; line-height: 1; }
.hero-stats span { display: block; font-size: clamp(14px, 1.8vmin, 23px); font-weight: 700; line-height: 1.05; }
.hero-menu { display: grid; gap: clamp(6px, .84vmin, 12px); font-weight: 800; }
.hero-menu a { display: flex; justify-content: space-between; }
.hero-menu span { font-size: clamp(15px, 1.55vmin, 24px); line-height: 1; }
.hero-menu em { font-family: Georgia, serif; font-style: normal; font-size: clamp(13px, 1.2vmin, 18px); letter-spacing: .26em; opacity: .72; }
.hero-proof {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: 46px;
  transform: translateX(-50%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}
.hero-proof > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof .icon { width: 14px; height: 14px; }
.avatar-stack { display: flex; }
.avatar-stack i { width: 28px; height: 28px; border-radius: 50%; margin-left: -8px; border: 1px solid rgba(255,255,255,.5); background: linear-gradient(135deg,#d9a77f,#fff0d9 45%,#53301c); }
.avatar-stack i:nth-child(2) { background: linear-gradient(135deg,#8c4a27,#f0cdb1 48%,#325064); }
.avatar-stack i:nth-child(3) { background: linear-gradient(135deg,#e0a77f,#f6dfc7 44%,#6c402c); }
.avatar-stack i:first-child { margin-left: 0; }
.hero-proof strong { border-radius: 999px; padding: 7px 10px; background: rgba(255,255,255,.32); }

.top-sellers {
  position: relative;
  z-index: 20;
  margin-top: 0;
  padding: 90px 0 160px 30px;
  background: #fff;
}
.top-sellers:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: -230px;
  height: 360px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 32%, #fff 92%),
    url("/assets/ladyclouds.webp") center top / cover no-repeat;
  pointer-events: none;
}
.top-sellers > * { position: relative; z-index: 1; }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  color: #111;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .28em;
}
.section-kicker span { font-size: 12px; color: #6d655d; }
.section-kicker button { width: 52px; height: 28px; border-radius: 999px; border: 2px solid #111; background: #e8e3db; }
.top-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 315px; gap: 22px; overflow-x: auto; padding: 0 0 18px; scrollbar-width: none; }
.top-card {
  position: relative;
  display: block;
  height: 380px;
  overflow: hidden;
  border-radius: 20px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(158deg,#0e0e1d 6%,#001e6b 92%);
}
.top-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.top-card > *:not(img) { position: relative; z-index: 1; }
.top-card h2 { margin: 0; font-size: 31px; line-height: 1; letter-spacing: 0; }
.top-card p { margin: 7px 0 0; color: #c8d1eb; font-size: 18px; font-weight: 600; }
.top-card .corner { position: absolute; z-index: 2; top: 24px; right: 24px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #1d2432; font-size: 13px; }
.corner .icon { width: 12px; height: 12px; stroke-width: 2.4; }
.dose-row { position: absolute !important; left: 24px; right: 24px; bottom: 106px; display: flex; gap: 10px; }
.dose-row span { min-width: 54px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 8px 12px; text-align: center; font-weight: 700; font-size: 14px; }
.top-stats {
  position: absolute !important;
  left: 24px; right: 24px; bottom: 24px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 18px;
  text-align: center;
}
.top-stats strong { font-size: 47px; line-height: 1; }
.top-stats span { color: #b8c4df; font-size: 16px; }

.catalog-section {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 140px;
}
.catalog-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-bottom: 28px; }
.catalog-head h1 { margin: 0; color: var(--muted); font-size: 38px; }
.catalog-head input { width: 100%; height: 40px; border: 1px solid #cbd3df; border-radius: 12px; padding: 0 18px; background: rgba(255,255,255,.8); }
.catalog-head button, .sort-row button, .coa-filters button { height: 40px; border: 0; border-radius: 999px; padding: 0 20px; background: var(--dark); color: var(--cream); font-weight: 800; }
.catalog-grid, .mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.catalog-card {
  height: 184px;
  overflow: hidden;
  border: 1px solid #d2d7df;
  border-radius: 17px;
  background: rgba(255,255,255,.62);
  padding: 20px 16px;
  color: #6a625a;
  box-shadow: 0 18px 42px rgba(56,71,95,.04);
}
.catalog-card h2 { margin: 0 0 20px; white-space: nowrap; font-size: 22px; line-height: 1; color: #6b665f; }
.catalog-card p { margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.syringe { display: block; margin-bottom: 16px; color: #756e66; }
.syringe .icon { width: 14px; height: 14px; }

.faq-section { width: min(1024px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0; }
.faq-section h1 { color: var(--muted); font-size: 36px; }
.faq-item { border: 1px solid #cbd6e6; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: rgba(255,255,255,.28); }
.faq-item summary { cursor: pointer; display: flex; justify-content: space-between; padding: 24px; font-size: 18px; font-weight: 900; }
.faq-item p { padding: 0 24px 18px; margin: 0; line-height: 1.55; color: #263b63; }
.footer {
  border-top: 1px solid #d1d5dd;
  padding: 48px 12vw 34px;
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  gap: 24px;
  background: rgba(245,247,253,.72);
}
.footer h3 { color: #b5aea8; letter-spacing: .34em; font-size: 13px; }
.footer a { display: block; margin: 10px 0; }
.copyright { grid-column: 1 / -1; color: #aaa29d; letter-spacing: .42em; font-size: 13px; }

.simple-page, .product-page { min-height: 100vh; padding-top: 106px; }
.content-narrow, .wide-content { width: min(1024px, calc(100% - 48px)); margin: 0 auto 80px; }
.content-narrow { width: min(900px, calc(100% - 48px)); }
.content-narrow h1, .wide-content h1 { margin: 0 0 12px; font-size: 34px; }
.copy-stack { line-height: 1.65; color: #263b63; }
.eyebrow, .breadcrumb { color: #64748b; font-size: 14px; }
.select, .search-input input, .verify-form input, .login-card input, .step-form input, .step-form select {
  width: 100%; height: 50px; border: 1px solid #cbd6e6; border-radius: 10px; padding: 0 16px; background: #fff;
}
.verify-form { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.search-input { position: relative; display: block; flex: 1; }
.search-input .icon { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #86a0c5; }
.search-input input { padding-left: 46px; color: #17345d; font-size: 16px; }
.verify-form .button-muted { width: 88px; height: 50px; min-height: 50px; border-radius: 10px; padding: 0; }
.muted-box, .panel { margin-top: 20px; border-radius: 16px; border: 1px solid #d4deeb; padding: 22px; background: rgba(255,255,255,.5); color: #657086; }
.supplier-grid { display: grid; gap: 24px; margin-top: 24px; }
.supplier-card {
  position: relative;
  border: 1px solid #cbd6e6;
  border-radius: 10px;
  background: #fff;
  padding: 28px 28px 24px 64px;
  min-height: 170px;
}
.supplier-card h2 { margin: 0 0 22px; font-size: 24px; }
.supplier-card p { margin: 11px 0; color: #10264a; display: flex; align-items: center; gap: 8px; }
.supplier-card .icon { width: 15px; height: 15px; color: #6b7280; }
.medal { position: absolute; left: 24px; top: 26px; font-size: 18px; }
.place { display: block; color: #9c6936; font-size: 12px; font-weight: 800; margin-bottom: 2px; }
.page-title-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.button-dark, .button-muted, .button-outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 999px; padding: 0 24px;
  border: 1px solid var(--dark); background: var(--dark); color: var(--cream); font-weight: 800;
}
.button-muted { background: #e2e8f0; color: #8aa0c4; border: 0; }
.button-outline { background: transparent; color: var(--ink); }
.coa-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; align-items: center; }
.coa-filters select, .coa-filters input { height: 40px; border: 1px solid #cbd6e6; border-radius: 8px; background: #fff; padding: 0 12px; }
.coa-actions { display: flex; align-items: center; gap: 10px; }
.coa-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.62); border: 1px solid #d8e0ec; }
.coa-table th { text-align: left; color: #64748b; font-size: 12px; letter-spacing: .12em; padding: 14px; }
.coa-table td { border-top: 1px solid #e1e7f0; padding: 13px 14px; vertical-align: top; }
.coa-table td:nth-child(2) span { display: block; color: #64748b; }
.coa-table em { display: inline-flex; margin-top: 5px; border-radius: 999px; border: 1px solid #201b14; padding: 3px 7px; font-size: 11px; font-style: normal; }
.coa-table a, .coa-card a { display: inline-flex; align-items: center; gap: 4px; color: #17345d; }
.coa-table a .icon, .coa-card a .icon { width: 12px; height: 12px; }
.coa-card-list { display: none; }
.coa-card {
  display: grid;
  gap: 12px;
  border: 1px solid #cfd8e7;
  border-radius: 14px;
  background: rgba(255,255,255,.64);
  padding: 16px;
}
.coa-card span { display: block; color: #64748b; font-size: 11px; letter-spacing: .12em; }
.coa-card strong { display: block; margin-top: 4px; font-size: 15px; }
.coa-card em { display: block; color: #42526e; font-style: normal; margin-top: 4px; }
.coa-card b { display: inline-flex; width: max-content; margin-top: 6px; border: 1px solid #201b14; border-radius: 999px; padding: 3px 7px; font-size: 11px; }
.pager { display: flex; gap: 12px; justify-content: flex-end; align-items: center; padding: 18px 0; }
.pager button { border: 1px solid #cbd6e6; background: #fff; border-radius: 8px; padding: 8px 14px; }
.checkout-page { padding-bottom: 0; }
.checkout-content { min-height: 600px; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; padding: 42px 16px 0; }
.checkout-head h1 { margin: 0; font-size: 24px; font-weight: 900; }
.checkout-head p { margin: 0; color: #0b1324; }
.checkout-empty { display: grid; place-items: center; gap: 18px; min-height: 300px; color: #3f5578; }
.checkout-empty a { color: #2684ff; text-decoration: underline; }
.checkout-bar {
  min-height: 145px;
  border-top: 1px solid #c4cede;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
}
.checkout-bar a { color: #9aa6b8; }
.checkout-bar button { width: 118px; height: 40px; border: 0; border-radius: 999px; background: #aab4c2; color: #fff; font-weight: 700; }
.product-hero { width: min(1232px, calc(100% - 48px)); margin: 0 auto 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.product-art { height: 350px; border-radius: 22px; background: linear-gradient(160deg,#f8c58e,#c54a16); display: grid; place-items: center; overflow: hidden; }
.product-art span { width: 260px; height: 220px; background: rgba(255,255,255,.56); clip-path: polygon(18% 16%, 54% 0, 88% 20%, 100% 58%, 66% 100%, 24% 90%, 0 46%); }
.product-hero h1 { font-size: clamp(64px, 7vw, 94px); margin: 0; letter-spacing: 0; }
.chips, .dose-tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.chips span, .dose-tabs button { border: 1px solid #cbd6e6; border-radius: 999px; padding: 10px 18px; background: #fff; }
.offer-section { width: min(1232px, calc(100% - 48px)); margin: 0 auto 80px; }
.offer-row { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr) auto; gap: 16px; align-items: center; min-height: 116px; border: 1px solid #d8e0ec; border-radius: 24px; background: rgba(255,255,255,.72); padding: 18px 20px; margin: 14px 0; }
.offer-row h2 { margin: 0 0 4px; }
.offer-row span { display: block; color: #6b7280; }
.offer-row button { border: 0; border-radius: 999px; background: var(--dark); color: var(--cream); padding: 12px 24px; }
.supplier-stats { display: flex; gap: 12px; margin: 14px 0 32px; }
.supplier-stats span { border-radius: 999px; border: 1px solid #cbd6e6; padding: 10px 16px; background: #fff; }
.review-list { display: grid; gap: 12px; }
.review-list article, .coa-list li { border: 1px solid #dce3ee; border-radius: 12px; background: #fff; padding: 16px; }
.coa-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.step-form { display: grid; gap: 14px; margin-top: 28px; }
.step-form h2 { font-size: 13px; letter-spacing: .18em; margin: 18px 0 0; }
.check-list { display: grid; gap: 12px; margin: 24px 0; }
.check-list label { display: flex; gap: 12px; border: 1px solid #d8e0ec; border-radius: 12px; background: #fff; padding: 14px; }
.contact-email { border: 1px solid #d8e0ec; border-radius: 12px; background: #fff; padding: 18px; }
.login-card { width: min(460px, 100%); display: grid; gap: 14px; border: 1px solid #d8e0ec; border-radius: 22px; background: #fff; padding: 28px; }
.portal-note { text-align: center; color: #8b95a7; letter-spacing: .18em; font-size: 12px; }
.policy-sections { display: grid; gap: 16px; margin-top: 28px; }
.policy-sections article { border: 1px solid #d8e0ec; border-radius: 16px; background: #fff; padding: 22px; }

@media (max-width: 820px) {
  .top-nav { top: 12px; left: 50%; width: calc(100% - 32px); transform: translateX(-50%); border-radius: 999px; height: 52px; padding: 0 16px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 58px; padding: 16px; background: #050505; border-radius: 18px; flex-direction: column; align-items: flex-start; }
  body.nav-open .nav-links { display: flex; }
  .mobile-menu { display: block; }
  .cart-button { margin-left: 0; }
  .hover-cart { display: none; }
  body[data-page="home"] .top-nav { transform: translateX(-50%) translateY(-140%); }
  .hero { min-height: calc(100vh + 28px); }
  .hero-panel { padding: 20px; }
  .hero-proof { bottom: 38px; width: 100%; justify-content: center; transform: translateX(-50%) scale(.86); }
  .top-sellers { padding-top: 68px; padding-left: 18px; }
  .top-scroll { grid-auto-columns: 285px; }
  .catalog-head { grid-template-columns: 1fr; }
  .catalog-grid, .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: 1fr; padding: 38px 20px; }
  .copyright { letter-spacing: .25em; line-height: 1.6; }
  .product-hero { grid-template-columns: 1fr; }
  .offer-row { grid-template-columns: 1fr; }
  .page-title-row { align-items: flex-start; }
  .coa-table { display: none; }
  .coa-card-list { display: grid; gap: 12px; margin-top: 22px; }
  .coa-actions { flex-direction: column; align-items: stretch; }
  .coa-actions .button-dark, .coa-actions .button-outline { min-height: 40px; padding: 0 16px; }
  .verify-form { flex-direction: column; align-items: stretch; }
  .verify-form .button-muted { width: 100%; }
  .checkout-head { padding-left: 0; padding-right: 0; }
  .checkout-bar { padding: 0; }
}

@media (max-width: 460px) {
  .catalog-grid, .mini-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .catalog-card { height: 150px; padding: 16px 14px; }
  .catalog-card h2 { font-size: 19px; }
  .content-narrow, .wide-content, .catalog-section, .faq-section { width: calc(100% - 32px); }
  .supplier-card { padding-left: 54px; }
}
