:root {
  --ink: #241b16;
  --ink-soft: #6d625b;
  --cream: #fbf7ef;
  --cream-2: #f2eadf;
  --sand: #e8dac2;
  --gold: #b98208;
  --gold-dark: #8b6000;
  --sage: #68765c;
  --line: rgba(54, 39, 28, .12);
  --white: #fffefb;
  --shadow: 0 16px 50px rgba(49, 36, 26, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.font-display { font-family: "Cormorant Garamond", Georgia, serif; }
.container-skin { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; color: var(--gold-dark); }
.muted { color: var(--ink-soft); }
.section-space { padding: 84px 0; }

.glass-nav {
  background: rgba(255, 254, 251, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.logo-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--gold-dark);
  font-weight: 700;
  letter-spacing: -.04em;
}
.nav-link { color: #4e443e; font-size: 14px; transition: .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--gold-dark); }
.nav-link.active { font-weight: 700; }

.btn-gold, .btn-ghost, .btn-dark {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  padding: 0 20px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold { color: white; background: linear-gradient(180deg, #996a00, #7a5200); box-shadow: 0 10px 24px rgba(120, 81, 0, .22); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(120, 81, 0, .27); }
.btn-ghost { background: rgba(255,255,255,.58); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: white; }
.btn-dark { background: var(--ink); color: white; }

.card-skin {
  background: rgba(255, 254, 251, .92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.soft-card {
  background: #fffaf2;
  border: 1px solid rgba(171, 120, 12, .12);
  border-radius: 18px;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 690px; }
.hero-copy { padding: 72px clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.hero-photo { min-height: 690px; background-position: center; background-size: cover; position: relative; overflow: hidden; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(32,19,10,.35)); }
.hero-note { position: absolute; left: 32px; bottom: 34px; z-index: 2; color: white; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 30px; line-height: 1; transform: rotate(-4deg); }

.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.metric-strip > div { padding: 22px; text-align: center; border-right: 1px solid var(--line); }
.metric-strip > div:last-child { border-right: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { padding: 26px; }
.icon-orb { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: #f4e6c8; color: var(--gold-dark); border: 1px solid rgba(177,125,8,.18); }

.profile-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.profile-panel .visual { min-height: 520px; background-size: cover; background-position: center; }
.profile-panel .content { padding: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.score-ring { width: 104px; height: 104px; border: 8px solid #eadcbc; border-top-color: var(--gold); border-right-color: var(--gold); border-radius: 999px; display: grid; place-items: center; }

.progress-track { height: 6px; background: #e8e2d9; border-radius: 999px; overflow: hidden; }
.progress-track > span { display: block; height: 100%; background: var(--gold); border-radius: 999px; }

.question-option { width: 100%; background: white; border: 1px solid var(--line); border-radius: 12px; min-height: 54px; display: flex; align-items: center; gap: 13px; padding: 10px 14px; cursor: pointer; transition: .2s ease; text-align: left; }
.question-option:hover { border-color: rgba(185,130,8,.4); transform: translateY(-1px); }
.question-option.selected { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(185,130,8,.1); background: #fffaf0; }
.radio-dot { width: 18px; height: 18px; border-radius: 999px; border: 1px solid #cfc7bd; display: grid; place-items: center; flex: 0 0 auto; }
.selected .radio-dot { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 4px #fffaf0; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 18px; transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(44,31,22,.1); }
.product-image { aspect-ratio: 4/5; background: #f5f1ea; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 16px; }
.match-pill { display: inline-flex; align-items: center; gap: 6px; background: #eef5e9; color: #4e6749; padding: 6px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.tag { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #f3eee7; color: #665c55; font-size: 11px; }

.split-product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.product-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.thumb-stack { display: flex; flex-direction: column; gap: 12px; }
.thumb { border: 1px solid var(--line); background: white; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.thumb.active { border-color: var(--gold); }
.main-product-image { border-radius: 24px; overflow: hidden; background: #f2eee7; aspect-ratio: 1/1; }
.main-product-image img { width:100%; height:100%; object-fit: cover; }

.skin-match { padding: 24px; border-radius: 20px; background: linear-gradient(135deg, #fffaf0, #f8f2e8); border: 1px solid rgba(185,130,8,.18); }
.match-score { width: 78px; height: 78px; border-radius: 999px; border: 6px solid #dbc798; border-top-color: var(--gold); display:grid; place-items:center; font-weight:800; font-size: 22px; }

.routine-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px,.65fr); gap: 26px; }
.routine-step { display: grid; grid-template-columns: 48px 80px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.routine-step:last-child { border-bottom: 0; }
.step-no { width: 40px; height: 40px; border-radius: 999px; background: var(--gold); color:white; display:grid; place-items:center; font-weight:800; }
.step-image { width: 72px; height: 72px; border-radius: 14px; overflow:hidden; background: #f2eee7; }
.step-image img { width:100%; height:100%; object-fit:cover; }

.dashboard-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 74px); }
.sidebar { border-right: 1px solid var(--line); background: rgba(255,255,255,.65); padding: 24px 18px; }
.side-link { display:flex; align-items:center; gap:12px; padding: 12px 14px; border-radius: 11px; color:#5d534d; font-size:14px; }
.side-link.active, .side-link:hover { background:#f3ead8; color: var(--gold-dark); }
.dashboard-main { padding: 32px; }
.dashboard-grid { display:grid; grid-template-columns: repeat(12, 1fr); gap:18px; }
.dash-card { padding:22px; min-height:160px; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.footer { background: #241b16; color: #efe5d8; }
.footer a { color: #d9c9b9; }

.mobile-drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.mobile-drawer.open { display: block; }
.mobile-drawer .backdrop { position:absolute; inset:0; background:rgba(27,19,13,.44); }
.mobile-drawer .panel { position:absolute; right:0; top:0; bottom:0; width:min(86vw, 360px); background:#fffdf8; padding:24px; box-shadow:-18px 0 50px rgba(0,0,0,.16); }

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: #241b16; color: white; border-radius: 12px; padding: 14px 16px; transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s ease; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero-grid, .profile-panel, .split-product, .routine-layout { grid-template-columns: 1fr; }
  .hero-photo { min-height: 560px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-shell { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .col-4, .col-6, .col-8 { grid-column: span 12; }
}

@media (max-width: 720px) {
  .container-skin { width: min(100% - 22px, 1180px); }
  .section-space { padding: 56px 0; }
  .hero-grid { min-height: auto; }
  .hero-copy { padding: 48px 20px; }
  .hero-photo { min-height: 480px; }
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .metric-strip > div:nth-child(2) { border-right: 0; }
  .metric-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-gallery { grid-template-columns: 1fr; }
  .thumb-stack { flex-direction: row; order: 2; }
  .thumb { width: 70px; }
  .routine-step { grid-template-columns: 42px 60px 1fr; }
  .routine-step .action { grid-column: 3; }
  .step-image { width: 56px; height:56px; }
  .dashboard-main { padding: 18px 12px 28px; }
}


/* === Additions guided by the supplied reference mockups. ===
   Existing page structures remain intact; these styles only support missing sections/pages. */
.brand-topbar {
  background: linear-gradient(90deg, #5a3605, #8b6000 48%, #5b3303);
  color: #fff8e9;
  font-size: 11px;
  letter-spacing: .01em;
}
.brand-topbar .container-skin { min-height: 34px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand-topbar a { color: #fff8e9; opacity:.92; }
.brand-topbar a:hover { opacity:1; text-decoration:underline; }

.reference-benefits {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
}
.reference-benefit { background:rgba(255,254,251,.95); padding:20px 16px; text-align:center; }
.reference-benefit .icon-orb { margin:0 auto; }
.reference-benefit strong { display:block; margin-top:10px; font-size:13px; }
.reference-benefit span { display:block; color:var(--ink-soft); margin-top:4px; font-size:11px; line-height:1.45; }

.brand-banner {
  position:relative;
  overflow:hidden;
  min-height:112px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(100deg, #e7efe0 0%, #fbf7ef 42%, #eee3d4 100%);
  display:grid;
  grid-template-columns:170px 1fr auto;
  align-items:center;
  gap:18px;
  padding:16px 18px;
  box-shadow:var(--shadow);
}
.brand-banner::before {
  content:"";
  position:absolute; left:0; top:0; bottom:0; width:155px;
  background:url('https://images.unsplash.com/photo-1591453089816-0fbb971b454c?auto=format&fit=crop&w=600&q=80') center/cover;
  opacity:.48;
}
.brand-banner > * { position:relative; z-index:1; }
.brand-banner .brand-copy { grid-column:2; }
.brand-banner .brand-copy strong { font-family:"Cormorant Garamond",Georgia,serif; font-size:25px; line-height:1; }
.brand-banner .brand-copy span { display:block; color:var(--ink-soft); font-size:12px; margin-top:5px; }

.brand-rail {
  border:1px solid var(--line);
  border-radius:18px;
  background:#f2eee5;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.brand-rail .brand-rail-head { padding:18px 16px 13px; text-align:center; font-weight:800; font-size:13px; }
.brand-rail .brand-rail-image { min-height:220px; background-size:cover; background-position:center; }
.brand-rail .brand-rail-body { padding:14px 16px 17px; text-align:center; }
.brand-rail .brand-rail-body p { margin:0; color:var(--ink-soft); font-size:12px; line-height:1.55; }
.brand-rail .brand-rail-body a { margin-top:13px; }

.content-with-rail { display:grid; grid-template-columns:minmax(0,1fr) 230px; gap:22px; align-items:start; }
.ad-stack { display:grid; gap:18px; }

.reference-editorial {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  overflow:hidden;
}
.reference-editorial .visual { min-height:390px; background-size:cover; background-position:center; }
.reference-editorial .copy { padding:34px; display:flex; flex-direction:column; justify-content:center; }
.reference-mini-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:24px; }
.reference-mini-grid .soft-card { padding:15px; text-align:center; }

.plan-summary {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
  padding:20px;
}
.plan-avatar { width:72px; height:72px; border-radius:999px; object-fit:cover; }
.plan-nav { display:flex; gap:6px; overflow:auto; padding:3px; margin-top:18px; border-bottom:1px solid var(--line); }
.plan-nav a { white-space:nowrap; padding:10px 12px; border-bottom:2px solid transparent; font-size:12px; color:var(--ink-soft); }
.plan-nav a.active { color:var(--gold-dark); border-color:var(--gold); font-weight:700; }
.plan-tier-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:22px; }
.plan-tier { overflow:hidden; }
.plan-tier .tier-head { padding:20px 20px 0; }
.plan-tier .tier-image { height:230px; margin:16px 18px 0; border-radius:15px; overflow:hidden; background:#f5efe7; }
.plan-tier .tier-image img { width:100%; height:100%; object-fit:cover; }
.plan-tier .tier-body { padding:18px; }
.plan-tier .tier-number { font-family:"Cormorant Garamond",Georgia,serif; font-size:36px; color:var(--gold-dark); line-height:.9; }

.reassurance-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden; margin-top:22px; }
.reassurance-item { background:#fffefb; padding:14px 10px; display:flex; align-items:center; justify-content:center; gap:8px; text-align:center; font-size:11px; font-weight:600; }

.profile-overview { display:grid; grid-template-columns:120px minmax(0,1fr); gap:20px; align-items:start; }
.profile-overview .mini-profile { text-align:center; }
.profile-overview .mini-profile img { width:76px; height:76px; object-fit:cover; border-radius:999px; margin:0 auto 10px; }
.evolution-chart { position:relative; height:110px; margin-top:14px; border-bottom:1px solid var(--line); }
.evolution-chart::before { content:""; position:absolute; left:4%; right:4%; top:50%; border-top:1px dashed rgba(54,39,28,.14); }
.evolution-line { position:absolute; left:7%; right:7%; top:53%; height:2px; background:var(--gold); transform:rotate(-4deg); transform-origin:left center; }
.evolution-dots { position:absolute; inset:0; }
.evolution-dot { position:absolute; width:9px; height:9px; border-radius:999px; background:var(--gold); box-shadow:0 0 0 4px #fffaf0; }
.evolution-dot::before { content:attr(data-value); position:absolute; bottom:14px; left:50%; transform:translateX(-50%); color:var(--gold-dark); font-size:10px; font-weight:800; }
.evolution-labels { display:flex; justify-content:space-between; margin-top:8px; font-size:9px; color:var(--ink-soft); }

.search-modal { position:fixed; inset:0; z-index:100; display:none; }
.search-modal.open { display:block; }
.search-modal .search-backdrop { position:absolute; inset:0; background:rgba(27,19,13,.48); }
.search-modal .search-panel { position:relative; z-index:1; width:min(720px,calc(100% - 28px)); margin:12vh auto 0; background:#fffdf8; border-radius:20px; box-shadow:0 30px 80px rgba(0,0,0,.24); padding:22px; }
.search-box { display:flex; gap:10px; align-items:center; border:1px solid var(--line); background:white; border-radius:14px; padding:0 14px; }
.search-box input { width:100%; height:50px; outline:none; background:transparent; }
.search-shortcuts { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.search-shortcuts a { padding:8px 10px; border-radius:999px; background:#f3eee7; font-size:12px; }

.info-hero { background:#efe5d6; padding:62px 0; border-bottom:1px solid var(--line); }
.info-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.article-card { padding:24px; }
.brand-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.brand-card { padding:24px 18px; text-align:center; min-height:140px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.checkout-grid { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:24px; align-items:start; }
.cart-line { display:grid; grid-template-columns:82px 1fr auto; gap:16px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); }
.cart-line img { width:82px; height:96px; object-fit:cover; border-radius:12px; }

@media (max-width: 1024px) {
  .content-with-rail, .reference-editorial, .info-grid, .checkout-grid { grid-template-columns:1fr; }
  .brand-rail { display:grid; grid-template-columns:180px 1fr; }
  .brand-rail .brand-rail-head { grid-column:1/-1; }
  .brand-rail .brand-rail-image { min-height:180px; }
  .plan-tier-grid, .brand-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 720px) {
  .brand-topbar .container-skin { min-height:30px; justify-content:center; text-align:center; }
  .brand-topbar .topbar-links { display:none; }
  .reference-benefits { grid-template-columns:1fr 1fr; }
  .brand-banner { grid-template-columns:1fr; min-height:170px; padding:18px; }
  .brand-banner::before { width:100%; opacity:.14; }
  .brand-banner .brand-copy { grid-column:1; }
  .brand-banner .btn-dark, .brand-banner .btn-gold { width:100%; }
  .brand-rail { grid-template-columns:1fr; }
  .brand-rail .brand-rail-head { grid-column:auto; }
  .reference-mini-grid, .plan-tier-grid, .reassurance-strip, .brand-grid { grid-template-columns:1fr; }
  .reference-editorial .visual { min-height:300px; }
  .reference-editorial .copy { padding:24px; }
  .plan-summary { grid-template-columns:auto 1fr; }
  .plan-summary .plan-score { grid-column:1/-1; }
  .profile-overview { grid-template-columns:1fr; }
  .cart-line { grid-template-columns:68px 1fr; }
  .cart-line > :last-child { grid-column:2; }
}


/* === Dashboard account pages === */
.dashboard-page-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.dashboard-back { font-size:12px; font-weight:700; color:var(--gold-dark); white-space:nowrap; }
.side-icon { width:18px; display:inline-grid; place-items:center; font-size:14px; }
.dashboard-mobile-nav { display:none; gap:8px; overflow:auto; margin-bottom:18px; padding:3px 1px 10px; scrollbar-width:none; }
.dashboard-mobile-nav::-webkit-scrollbar { display:none; }
.dashboard-mobile-link { flex:0 0 auto; border:1px solid var(--line); background:#fffdf8; padding:9px 12px; border-radius:999px; font-size:12px; color:var(--ink-soft); }
.dashboard-mobile-link.active { background:#f3ead8; border-color:rgba(185,130,8,.28); color:var(--gold-dark); font-weight:800; }
.dashboard-profile-hero { display:grid; grid-template-columns:96px minmax(0,1fr) auto; align-items:center; gap:20px; }
.dashboard-avatar { width:96px; height:96px; object-fit:cover; border-radius:999px; }
.dashboard-score { width:92px; height:92px; border-width:6px; }
.skin-bars { display:grid; gap:14px; }
.skin-bars > div { display:grid; grid-template-columns:110px 44px minmax(0,1fr); align-items:center; gap:10px; font-size:12px; }
.skin-bars b { text-align:right; color:var(--gold-dark); }
.skin-bars i { height:7px; border-radius:999px; overflow:hidden; background:#ece4d9; }
.skin-bars em { display:block; height:100%; background:var(--gold); border-radius:999px; }
.info-list { display:grid; }
.info-list > div { display:flex; justify-content:space-between; gap:16px; padding:11px 0; border-bottom:1px solid var(--line); font-size:12px; }
.info-list > div:last-child { border-bottom:0; }
.info-list span { color:var(--ink-soft); }
.info-list strong { text-align:right; }
.history-table { display:grid; border-top:1px solid var(--line); }
.history-row { display:grid; grid-template-columns:1.15fr .7fr 70px 1.4fr auto; gap:14px; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); }
.history-date { display:grid; gap:3px; }
.history-date span, .history-score span { font-size:11px; color:var(--ink-soft); }
.history-score b { font-family:"Cormorant Garamond",Georgia,serif; font-size:28px; color:var(--gold-dark); }
.history-tags { display:flex; flex-wrap:wrap; gap:5px; }
.status-pill { display:inline-flex; align-items:center; justify-content:center; min-height:27px; padding:0 9px; border-radius:999px; background:#f1ece5; color:#62574f; font-size:10px; font-weight:800; white-space:nowrap; }
.status-pill.current { background:#eef5e9; color:#486445; }
.status-pill.delivered { background:#edf4ef; color:#4e6c58; }
.dashboard-note { display:flex; align-items:flex-start; gap:14px; padding:16px; background:#fffaf0; border:1px solid rgba(185,130,8,.14); border-radius:15px; }
.dashboard-note p { margin:4px 0 0; font-size:12px; color:var(--ink-soft); line-height:1.6; }
.routine-progress-badge { text-align:right; }
.routine-progress-badge b { display:block; font-family:"Cormorant Garamond",Georgia,serif; font-size:32px; line-height:1; color:var(--gold-dark); }
.routine-progress-badge span { font-size:10px; color:var(--ink-soft); }
.dash-routine-list { display:grid; }
.dash-routine-item { display:grid; grid-template-columns:24px 42px 58px minmax(0,1fr); gap:12px; align-items:center; padding:13px 0; border-bottom:1px solid var(--line); cursor:pointer; }
.dash-routine-item:last-child { border-bottom:0; }
.dash-routine-item input { position:absolute; opacity:0; pointer-events:none; }
.dash-routine-item img { width:58px; height:58px; object-fit:cover; border-radius:12px; background:#f3eee7; }
.dash-routine-item strong, .dash-routine-item small { display:block; }
.dash-routine-item small { color:var(--ink-soft); font-size:11px; margin-top:3px; }
.routine-check { width:23px; height:23px; border-radius:999px; border:1px solid #cfc4b5; display:grid; place-items:center; font-size:11px; }
.dash-routine-item.completed .routine-check { background:var(--gold); border-color:var(--gold); color:white; }
.routine-time { font-size:9px; font-weight:800; letter-spacing:.08em; color:var(--gold-dark); }
.week-dots { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.week-dots span { aspect-ratio:1; border-radius:999px; display:grid; place-items:center; font-size:10px; background:#f0ebe4; color:#766b63; }
.week-dots .done { background:#e7f0e3; color:#4f6e4a; font-weight:800; }
.week-dots .today { border:2px solid var(--gold); color:var(--gold-dark); font-weight:800; background:#fffaf0; }
.dashboard-product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.dashboard-product { position:relative; min-width:0; padding:12px; border:1px solid var(--line); border-radius:16px; background:#fffdfa; display:flex; flex-direction:column; align-items:flex-start; }
.dashboard-product img { width:100%; aspect-ratio:4/4.4; object-fit:cover; border-radius:12px; background:#f2eee7; margin-bottom:10px; }
.dashboard-product .match-pill { margin-bottom:8px; }
.dashboard-product small { color:var(--ink-soft); font-size:10px; }
.dashboard-product strong { font-size:13px; line-height:1.35; margin-top:3px; min-height:36px; }
.dashboard-product b { font-size:13px; margin-top:8px; }
.selection-reasons { display:grid; gap:12px; }
.selection-reasons > div { display:grid; grid-template-columns:38px 1fr; gap:12px; align-items:start; }
.selection-reasons > div > span { width:34px; height:34px; border-radius:999px; display:grid; place-items:center; background:#f3e6c9; color:var(--gold-dark); font-size:11px; font-weight:800; }
.selection-reasons p { margin:0; color:var(--ink-soft); font-size:12px; line-height:1.5; }
.selection-reasons strong { color:var(--ink); display:block; margin-bottom:2px; }
.order-track { position:relative; display:grid; grid-template-columns:repeat(4,1fr); }
.order-track::before { content:""; position:absolute; left:8%; right:8%; top:16px; height:2px; background:#e5ddd2; }
.order-track > div { position:relative; z-index:1; display:grid; justify-items:center; gap:7px; text-align:center; font-size:10px; color:var(--ink-soft); }
.order-track i { width:32px; height:32px; border-radius:999px; display:grid; place-items:center; background:#f0ebe4; border:3px solid #fffdfa; box-shadow:0 0 0 1px var(--line); font-style:normal; }
.order-track .done i { background:#6f865f; color:white; }
.order-track .active i { background:var(--gold); color:white; }
.order-list { display:grid; }
.order-row { display:grid; grid-template-columns:1.2fr 1fr .8fr auto; gap:16px; align-items:center; padding:15px 0; border-top:1px solid var(--line); }
.order-row > div { display:grid; gap:3px; }
.order-row span:not(.status-pill) { color:var(--ink-soft); font-size:11px; }
.tracking-chart { height:265px; position:relative; padding:12px 4px 28px; }
.tracking-grid-lines { position:absolute; inset:12px 0 38px; background:repeating-linear-gradient(to bottom, transparent 0, transparent 49px, rgba(54,39,28,.08) 50px); }
.tracking-chart svg { position:relative; z-index:1; width:100%; height:210px; overflow:visible; }
.tracking-labels { display:flex; justify-content:space-between; font-size:9px; color:var(--ink-soft); }
.metric-change { display:flex; justify-content:space-between; align-items:flex-end; margin-top:14px; }
.metric-change b { font-family:"Cormorant Garamond",Georgia,serif; font-size:30px; }
.metric-change .up { color:#4f7b4d; font-size:12px; font-weight:800; }
.product-actions { display:grid; grid-template-columns:1fr 38px; gap:8px; width:100%; margin-top:12px; }
.product-actions .btn-gold { min-height:38px; padding-inline:12px; font-size:11px; }
.favorite-remove { width:38px; height:38px; border-radius:10px; border:1px solid var(--line); background:#fff; font-size:22px; color:#756961; cursor:pointer; }
.favorite-remove:hover { background:#f5eee5; }
.favorites-empty { text-align:center; padding:62px 20px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-grid label { display:grid; gap:7px; color:#554b44; font-size:12px; font-weight:700; }
.form-grid .span-2 { grid-column:span 2; }
.form-grid input, .form-grid select { width:100%; height:46px; border:1px solid var(--line); border-radius:11px; padding:0 13px; background:#fff; outline:none; color:var(--ink); }
.form-grid input:focus, .form-grid select:focus { border-color:rgba(185,130,8,.6); box-shadow:0 0 0 3px rgba(185,130,8,.08); }
.profile-photo-edit { display:grid; justify-items:center; gap:15px; }
.profile-photo-edit img { width:112px; height:112px; object-fit:cover; border-radius:999px; }
.toggle-list { display:grid; }
.toggle-list label { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px 0; border-bottom:1px solid var(--line); }
.toggle-list label:last-child { border-bottom:0; }
.toggle-list strong, .toggle-list small { display:block; }
.toggle-list strong { font-size:12px; }
.toggle-list small { color:var(--ink-soft); font-size:10px; margin-top:3px; }
.toggle-list input { width:38px; height:20px; accent-color:var(--gold); }

@media (max-width: 1200px) {
  .dashboard-product-grid { grid-template-columns:repeat(2,1fr); }
  .history-row { grid-template-columns:1.2fr .7fr 60px 1fr auto; }
}
@media (max-width: 1024px) {
  .dashboard-mobile-nav { display:flex; }
  .dashboard-page-head { margin-top:2px; }
}
@media (max-width: 720px) {
  .dashboard-page-head { align-items:flex-start; flex-direction:column; }
  .dashboard-page-head h1 { font-size:42px; line-height:.95; }
  .dashboard-back { display:none; }
  .dashboard-profile-hero { grid-template-columns:76px 1fr; }
  .dashboard-avatar { width:76px; height:76px; }
  .dashboard-score { grid-column:1/-1; justify-self:start; }
  .skin-bars > div { grid-template-columns:88px 38px minmax(0,1fr); }
  .history-row { grid-template-columns:1fr auto; gap:9px; }
  .history-row .history-tags { grid-column:1/-1; }
  .history-row > a { grid-column:1/-1; width:100%; }
  .dash-routine-item { grid-template-columns:24px 36px 50px minmax(0,1fr); gap:8px; }
  .dash-routine-item img { width:50px; height:50px; }
  .dashboard-product-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .dashboard-product { padding:9px; }
  .dashboard-product strong { min-height:0; }
  .order-row { grid-template-columns:1fr auto; }
  .order-row > :nth-child(2) { text-align:right; }
  .order-row .status-pill { justify-self:start; }
  .order-row button { justify-self:end; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid .span-2 { grid-column:auto; }
}
@media (max-width: 470px) {
  .dashboard-product-grid { grid-template-columns:1fr; }
  .order-track span { display:none; }
}

/* === Premium advertising placements + motion system === */
.dashboard-with-ads {
  display:grid;
  grid-template-columns:minmax(0, 1fr) 226px;
  gap:20px;
  align-items:start;
}
.dashboard-with-ads > .dashboard-grid { min-width:0; }
.dashboard-ad-rail {
  display:grid;
  gap:16px;
  position:sticky;
  top:106px;
}
.dashboard-ad-card {
  position:relative;
  isolation:isolate;
}
.dashboard-ad-card .ad-kicker {
  position:absolute;
  z-index:3;
  top:10px;
  left:10px;
  padding:5px 7px;
  border-radius:999px;
  background:rgba(255,254,251,.88);
  border:1px solid rgba(54,39,28,.10);
  backdrop-filter:blur(8px);
  font-size:8px;
  font-weight:800;
  letter-spacing:.12em;
  color:var(--gold-dark);
}
.dashboard-ad-card .brand-rail-image {
  min-height:246px;
  transition:transform .7s cubic-bezier(.22,1,.36,1), filter .7s ease;
}
.dashboard-ad-card:hover .brand-rail-image { transform:scale(1.035); filter:saturate(1.04); }
.dashboard-ad-mini {
  padding:15px;
  border:1px solid var(--line);
  border-radius:16px;
  background:linear-gradient(150deg,#fffdf8,#f3eadc);
  box-shadow:0 12px 36px rgba(49,36,26,.055);
}
.dashboard-ad-mini > span {
  display:block;
  font-size:8px;
  font-weight:800;
  letter-spacing:.16em;
  color:var(--gold-dark);
}
.dashboard-ad-mini strong { display:block; margin-top:6px; font-family:"Cormorant Garamond",Georgia,serif; font-size:22px; line-height:1; }
.dashboard-ad-mini p { margin:7px 0 0; color:var(--ink-soft); font-size:10px; line-height:1.55; }
.dashboard-ad-mini a { display:inline-block; margin-top:10px; color:var(--gold-dark); font-size:10px; font-weight:800; }
.dashboard-ad-banner { margin-top:22px; }
.dashboard-ad-banner .brand-banner { width:100%; }

/* Motion-like transitions: subtle, premium, and disabled for reduced motion. */
.motion-item {
  opacity:0;
  transform:translate3d(0,18px,0) scale(.992);
  transition:
    opacity .62s cubic-bezier(.22,1,.36,1),
    transform .72s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease;
  transition-delay:var(--motion-delay,0ms);
  will-change:opacity,transform;
}
.motion-item.motion-from-left { transform:translate3d(-22px,0,0) scale(.995); }
.motion-item.motion-from-right { transform:translate3d(22px,0,0) scale(.995); }
.motion-item.motion-scale { transform:translate3d(0,8px,0) scale(.965); }
.motion-item.is-visible { opacity:1; transform:translate3d(0,0,0) scale(1); }
.card-skin.motion-hover,
.product-card.motion-hover,
.brand-rail.motion-hover,
.plan-tier.motion-hover,
.article-card.motion-hover {
  transition:transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.card-skin.motion-hover:hover,
.product-card.motion-hover:hover,
.plan-tier.motion-hover:hover,
.article-card.motion-hover:hover {
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(49,36,26,.105);
  border-color:rgba(185,130,8,.22);
}
.brand-rail.motion-hover:hover { box-shadow:0 22px 58px rgba(49,36,26,.12); }
.btn-gold,.btn-dark,.btn-ghost {
  transition:transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s ease, background .24s ease, border-color .24s ease;
}
.btn-gold:hover,.btn-dark:hover,.btn-ghost:hover { transform:translateY(-2px); }
.btn-gold:active,.btn-dark:active,.btn-ghost:active { transform:translateY(0) scale(.985); }
.side-link,.dashboard-mobile-link { transition:transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease; }
.side-link:hover { transform:translateX(3px); }
.dashboard-mobile-link:hover { transform:translateY(-2px); }

/* Advertising banner motion without changing the mockup composition. */
.brand-banner::after {
  content:"";
  position:absolute;
  inset:-80% -35%;
  background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.34) 49%,transparent 56%);
  transform:translateX(-58%) rotate(4deg);
  pointer-events:none;
  opacity:0;
}
.brand-banner.is-visible::after { animation:adSheen 1.25s .45s cubic-bezier(.22,1,.36,1) both; }
@keyframes adSheen { 0%{opacity:0;transform:translateX(-60%) rotate(4deg)} 25%{opacity:.85} 100%{opacity:0;transform:translateX(62%) rotate(4deg)} }

/* Dashboard metrics animate from their origin while keeping their final widths. */
.motion-bars .progress-track > span,
.motion-bars .skin-bars em {
  transform-origin:left center;
  animation:barGrow .9s .25s cubic-bezier(.22,1,.36,1) both;
}
@keyframes barGrow { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.tracking-chart.motion-chart svg path { stroke-dasharray:1100; stroke-dashoffset:1100; animation:drawChart 1.35s .25s cubic-bezier(.22,1,.36,1) forwards; }
.tracking-chart.motion-chart svg circle { opacity:0; transform-box:fill-box; transform-origin:center; animation:popDot .42s cubic-bezier(.22,1,.36,1) forwards; }
.tracking-chart.motion-chart svg circle:nth-of-type(1){animation-delay:.55s}.tracking-chart.motion-chart svg circle:nth-of-type(2){animation-delay:.72s}.tracking-chart.motion-chart svg circle:nth-of-type(3){animation-delay:.89s}.tracking-chart.motion-chart svg circle:nth-of-type(4){animation-delay:1.06s}.tracking-chart.motion-chart svg circle:nth-of-type(5){animation-delay:1.23s}
@keyframes drawChart { to { stroke-dashoffset:0; } }
@keyframes popDot { from{opacity:0;transform:scale(.25)} to{opacity:1;transform:scale(1)} }

/* A little depth on ad imagery, closer to polished motion-design references. */
.brand-rail-image { overflow:hidden; }
.brand-rail.motion-hover .brand-rail-image { background-size:cover; transition:background-size .8s cubic-bezier(.22,1,.36,1), filter .8s ease; }
.brand-rail.motion-hover:hover .brand-rail-image { background-size:106%; }

@media (max-width: 1260px) {
  .dashboard-with-ads { grid-template-columns:minmax(0,1fr) 205px; gap:16px; }
}
@media (max-width: 1120px) {
  .dashboard-with-ads { grid-template-columns:1fr; }
  .dashboard-ad-rail { position:static; grid-template-columns:1fr 1fr; }
  .dashboard-ad-card { display:grid; grid-template-columns:180px minmax(0,1fr); }
  .dashboard-ad-card .brand-rail-head { grid-column:1/-1; }
  .dashboard-ad-card .brand-rail-image { min-height:190px; }
}
@media (max-width: 720px) {
  .dashboard-ad-rail { grid-template-columns:1fr; }
  .dashboard-ad-card { grid-template-columns:1fr; }
  .dashboard-ad-card .brand-rail-head { grid-column:auto; }
  .dashboard-ad-card .brand-rail-image { min-height:220px; }
  .dashboard-ad-banner { margin-top:16px; }
  .motion-item { transform:translate3d(0,12px,0) scale(.995); }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .motion-item,.motion-item.motion-from-left,.motion-item.motion-from-right,.motion-item.motion-scale { opacity:1 !important; transform:none !important; }
}

/* === FINAL REVIEW 2026: accessibility, contrast, alignment and premium polish === */
:root {
  --gold-cta:#936500;
  --gold-cta-dark:#785100;
  --focus:#7a5200;
  --surface:#fffdf8;
  --surface-soft:#f7f0e5;
}

body { min-width:320px; line-height:1.5; }
main { overflow:clip; }
p { text-wrap:pretty; }
h1,h2,h3 { text-wrap:balance; }
[hidden] { display:none !important; }

.skip-link {
  position:fixed; left:16px; top:10px; z-index:200; transform:translateY(-160%);
  background:#241b16; color:#fff; padding:10px 14px; border-radius:10px; font-size:13px; font-weight:800;
  transition:transform .18s ease;
}
.skip-link:focus { transform:translateY(0); }

:where(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline:3px solid rgba(147,101,0,.38);
  outline-offset:3px;
}
button { color:inherit; }
button:disabled { cursor:not-allowed; opacity:.48; transform:none !important; }

.icon-action {
  width:44px; height:44px; min-width:44px; min-height:44px;
  display:grid; place-items:center; border-radius:999px;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.icon-action:hover { color:var(--gold-dark); transform:translateY(-1px); }

.btn-gold {
  color:#fff;
  background:linear-gradient(180deg,#996a00 0%,#7a5200 100%);
  box-shadow:0 10px 24px rgba(120,81,0,.22);
}
.btn-gold:hover { background:linear-gradient(180deg,#855b00 0%,#654400 100%); box-shadow:0 14px 30px rgba(120,81,0,.27); }
.btn-dark { background:#241b16; color:#fff; }
.btn-gold,.btn-ghost,.btn-dark { min-height:46px; line-height:1.2; text-align:center; }
.step-no { background:var(--gold-cta); }

/* Header/footer readability */
.glass-nav { box-shadow:0 7px 24px rgba(49,36,26,.035); }
.nav-link { min-height:42px; display:inline-flex; align-items:center; position:relative; }
.nav-link.active::after { content:""; position:absolute; left:0; right:0; bottom:4px; height:2px; border-radius:999px; background:var(--gold-cta); }
.footer a:hover { color:#fff6df; }

/* Card/button alignment */
.product-card { display:flex; flex-direction:column; min-height:100%; }
.product-card > a:first-child { display:block; }
.product-body { display:flex; flex-direction:column; flex:1; }
.product-body .btn-gold { margin-top:auto; padding-top:0; padding-bottom:0; }
.product-body h3 { line-height:1.32; }
.favorite-icon {
  width:40px; height:40px; border:1px solid var(--line); border-radius:999px; display:grid; place-items:center;
  background:#fff; color:#5f554e; transition:.2s ease;
}
.favorite-icon:hover,.favorite-icon.is-favorite { color:#8b6000; border-color:rgba(139,96,0,.35); background:#fff8e8; }

/* Shop controls */
.shop-search { min-height:50px; }
.shop-filter {
  min-height:40px; padding:0 14px; border-radius:999px; border:1px solid var(--line); background:#fffdf8;
  color:#5c514a; font-size:12px; font-weight:700; transition:.2s ease;
}
.shop-filter:hover,.shop-filter.active { background:#efe1bf; color:#674700; border-color:rgba(147,101,0,.28); }
.shop-meta { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }

/* Questionnaire */
.question-option { min-height:58px; font-size:14px; line-height:1.45; }
.question-option[aria-checked="true"] { border-color:var(--gold-cta); box-shadow:0 0 0 3px rgba(147,101,0,.10); }
.questionnaire-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.questionnaire-controls .btn-ghost,.questionnaire-controls .btn-gold { min-width:142px; }
.questionnaire-controls .is-disabled { pointer-events:none; }

/* Result/profile dynamic bindings */
.profile-priority-title { min-height:24px; }

/* Product page */
.product-tablist button { min-height:44px; padding:6px 2px; border-bottom:2px solid transparent; }
.product-tablist button[aria-selected="true"] { border-color:var(--gold-cta); color:#704b00; }
.quantity-control { display:inline-grid; grid-template-columns:44px minmax(38px,auto) 44px; align-items:center; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; }
.quantity-control button { width:44px; height:44px; display:grid; place-items:center; }
.quantity-control [data-qty-value] { text-align:center; min-width:38px; font-weight:800; }
.reassurance-item svg { color:#805700; flex:0 0 auto; }

/* Dashboard icon system */
.side-icon { width:22px; height:22px; display:grid; place-items:center; flex:0 0 22px; color:currentColor; }
.side-link { min-height:44px; }
.sidebar .side-link.active { font-weight:800; }
.dashboard-mobile-link { min-height:40px; display:inline-flex; align-items:center; }
.dashboard-page-head p { max-width:720px; }
.dash-card { overflow:hidden; }
.dashboard-ad-card .brand-rail-body a,.dashboard-ad-mini a { min-height:38px; display:inline-flex; align-items:center; justify-content:center; }

/* Forms */
.form-field { display:grid; gap:7px; }
.form-field > span { color:#554b44; font-size:12px; font-weight:800; }
.form-control {
  width:100%; min-height:48px; border:1px solid rgba(54,39,28,.18); border-radius:12px; padding:0 14px;
  background:#fff; color:var(--ink); outline:none; transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
textarea.form-control { min-height:120px; padding:13px 14px; resize:vertical; }
.form-control:focus { border-color:#8b6000; box-shadow:0 0 0 4px rgba(139,96,0,.10); }
.form-help { font-size:11px; color:var(--ink-soft); }
.form-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }

/* Auth */
.auth-shell { display:grid; grid-template-columns:minmax(0,.92fr) minmax(430px,.72fr); min-height:calc(100vh - 110px); }
.auth-visual { position:relative; min-height:620px; background-size:cover; background-position:center; overflow:hidden; }
.auth-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(24,16,11,.04),rgba(24,16,11,.72)); }
.auth-visual-copy { position:absolute; z-index:2; left:clamp(24px,5vw,64px); right:clamp(24px,5vw,64px); bottom:52px; color:#fff; max-width:540px; }
.auth-panel { display:flex; align-items:center; padding:48px clamp(22px,5vw,70px); background:#fbf7ef; }
.auth-card { width:min(520px,100%); margin:auto; }
.auth-divider { display:flex; align-items:center; gap:12px; color:var(--ink-soft); font-size:11px; }
.auth-divider::before,.auth-divider::after { content:""; height:1px; background:var(--line); flex:1; }

/* Cart / checkout */
.empty-state { text-align:center; padding:56px 22px; }
.empty-state .icon-orb { margin-inline:auto; }
.cart-qty { display:flex; align-items:center; gap:8px; }
.cart-qty button:not(.cart-remove) { width:34px; height:34px; border:1px solid var(--line); border-radius:9px; display:grid; place-items:center; background:#fff; }
.cart-remove { min-height:34px; padding:0 8px; color:#775f52; font-size:11px; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.checkout-summary { position:sticky; top:108px; }
.payment-choice { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.payment-choice label { border:1px solid var(--line); border-radius:14px; padding:14px; display:flex; align-items:flex-start; gap:10px; cursor:pointer; background:#fff; }
.payment-choice label:has(input:checked) { border-color:#8b6000; box-shadow:0 0 0 3px rgba(139,96,0,.08); background:#fffaf0; }

/* Information modal */
.info-modal { position:fixed; inset:0; z-index:160; display:grid; place-items:center; padding:20px; }
.info-modal-backdrop { position:absolute; inset:0; background:rgba(25,17,12,.55); backdrop-filter:blur(4px); }
.info-modal-panel { position:relative; z-index:1; width:min(520px,100%); background:#fffdf8; border:1px solid var(--line); border-radius:24px; padding:28px; box-shadow:0 30px 90px rgba(0,0,0,.24); }
.info-modal-close { position:absolute; right:16px; top:16px; background:#f4ede3; }

/* Legal/editorial content */
.prose-skin { max-width:820px; }
.prose-skin h2 { font-family:"Cormorant Garamond",Georgia,serif; font-size:34px; line-height:1; margin-top:34px; }
.prose-skin h3 { font-size:17px; margin-top:24px; font-weight:800; }
.prose-skin p,.prose-skin li { color:var(--ink-soft); line-height:1.8; font-size:14px; }
.prose-skin ul { padding-left:20px; list-style:disc; }

/* Advertising remains visually present without overpowering core content */
.brand-banner { border-color:rgba(54,39,28,.14); }
.brand-banner .brand-copy strong { letter-spacing:.02em; }
.brand-rail .brand-rail-head { color:#3e3027; }
.dashboard-ad-card .ad-kicker { color:#704b00; }

/* Safer contrast for utility text */
.text-green-700 { color:#35633d !important; }
.match-pill { color:#375c38; }
.tag { color:#514841; }

@media (max-width:1024px) {
  .auth-shell { grid-template-columns:1fr; }
  .auth-visual { min-height:420px; }
  .checkout-summary { position:static; }
}
@media (max-width:720px) {
  .section-space { padding:58px 0; }
  .container-skin { width:min(100% - 24px,1180px); }
  .hero-copy { padding:50px 22px; }
  .questionnaire-controls { align-items:stretch; }
  .questionnaire-controls .btn-ghost,.questionnaire-controls .btn-gold { flex:1; min-width:0; }
  .payment-choice { grid-template-columns:1fr; }
  .auth-panel { padding:38px 18px; }
  .auth-visual { min-height:340px; }
  .auth-visual-copy { bottom:28px; }
  .cart-line { grid-template-columns:70px minmax(0,1fr); }
  .cart-line > .font-bold { grid-column:2; justify-self:start; }
  .brand-banner .brand-copy { text-align:left; }
}
@media (max-width:430px) {
  .questionnaire-controls { flex-direction:column-reverse; }
  .questionnaire-controls .btn-ghost,.questionnaire-controls .btn-gold { width:100%; }
  .product-gallery { grid-template-columns:1fr; }
  .thumb-stack { flex-direction:row; order:2; overflow:auto; }
  .thumb { min-width:72px; width:72px; }
}

@media print {
  .brand-topbar,.glass-nav,.footer,.brand-banner,.dashboard-ad-rail,.btn-gold,.btn-dark,.btn-ghost,[data-print-plan] { display:none !important; }
  body { background:#fff; }
  .card-skin { box-shadow:none; break-inside:avoid; }
}

/* Final alignment polish */
.btn-gold svg,.btn-dark svg,.btn-ghost svg,.dashboard-back svg,.nav-link svg { flex:0 0 auto; }
.recommendation-link { transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.recommendation-link:hover { transform:translateY(-2px); border-color:rgba(147,101,0,.22); box-shadow:0 12px 28px rgba(49,36,26,.08); }
.routine-check { width:24px; height:24px; display:grid; place-items:center; color:#704b00; }
.favorite-remove { width:38px; height:38px; border-radius:999px; display:grid; place-items:center; border:1px solid var(--line); background:#fff; color:#66574e; }
.favorite-remove:hover { color:#7b2f24; border-color:rgba(123,47,36,.28); background:#fff7f4; }
.dashboard-page-head h1,.hero-copy h1,.profile-panel h1 { line-height:.96; }
.card-skin h2,.soft-card h2 { line-height:1.08; }
.brand-banner .btn-dark,.brand-banner .btn-gold { white-space:nowrap; }
@media (max-width:520px){
  .brand-banner .btn-dark,.brand-banner .btn-gold { white-space:normal; }
}

/* === VFINAL PRODUCTION POLISH === */
.sidebar button.side-link {
  width:100%; border:0; background:transparent; font:inherit; cursor:pointer; text-align:left;
}
.sidebar button.side-link:hover { background:#f3ead8; color:var(--gold-dark); }
.checkout-digital-item {
  display:grid; grid-template-columns:46px minmax(0,1fr) auto; align-items:center; gap:14px;
  padding:16px 0; border-bottom:1px solid var(--line);
}
.checkout-digital-item > strong:last-child { white-space:nowrap; }
[data-shipping-row][hidden],[data-delivery-only][hidden] { display:none !important; }
.dashboard-mobile-link[data-logout] { border:0; background:transparent; font:inherit; cursor:pointer; white-space:nowrap; }
.brand-topbar a,.brand-topbar span { text-rendering:optimizeLegibility; }
.brand-banner,.brand-rail,.dashboard-ad-mini { isolation:isolate; }
.btn-gold,.btn-dark,.btn-ghost { position:relative; overflow:hidden; }
.btn-gold::after,.btn-dark::after {
  content:""; position:absolute; inset:-2px; background:linear-gradient(105deg,transparent 28%,rgba(255,255,255,.18) 47%,transparent 64%);
  transform:translateX(-125%); transition:transform .55s ease; pointer-events:none;
}
.btn-gold:hover::after,.btn-dark:hover::after { transform:translateX(125%); }
@media (max-width:720px){
  .checkout-digital-item { grid-template-columns:42px minmax(0,1fr); }
  .checkout-digital-item > strong:last-child { grid-column:2; }
  .dashboard-main { padding:22px 14px 28px; }
  .dashboard-page-head { gap:14px; }
}
@media (prefers-reduced-motion:reduce){
  .btn-gold::after,.btn-dark::after { display:none; }
}
.check-list > span { display:flex; align-items:flex-start; gap:9px; }
.check-list > span > i { width:20px; height:20px; display:grid; place-items:center; flex:0 0 20px; border-radius:999px; background:#f3e5be; color:#704b00; margin-top:1px; }
.check-list-light > span > i { background:rgba(255,255,255,.15); color:#fff; }
.plan-preview-banner { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:18px; padding:22px; border-color:rgba(147,101,0,.22); background:linear-gradient(135deg,#fffaf0,#f7efe2); }
.plan-preview-icon { width:46px; height:46px; border-radius:999px; display:grid; place-items:center; background:#ead9ac; color:#704b00; }
@media (max-width:720px){ .plan-preview-banner { grid-template-columns:1fr; } .plan-preview-icon { margin-bottom:-4px; } .plan-preview-banner .btn-gold { width:100%; } }

/* ===== VFinal hardening: production ergonomics & accessibility ===== */
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.favorite-remove { width:44px; height:44px; min-width:44px; min-height:44px; }
.cart-qty button:not(.cart-remove) { width:44px; height:44px; min-width:44px; min-height:44px; }
.cart-remove { min-height:44px; padding:0 10px; display:inline-flex; align-items:center; justify-content:center; }
button.action { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding-inline:8px; }
.btn-gold:focus-visible,.btn-ghost:focus-visible,.btn-dark:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid rgba(122,82,0,.42); outline-offset:3px; }
button:disabled,[aria-disabled="true"] { cursor:not-allowed; opacity:.58; }
@media (max-width:1024px){ .col-5,.col-7 { grid-column: span 12; } }
@media (max-width:520px){
  .btn-gold,.btn-ghost,.btn-dark{min-height:46px}
  .cart-qty{gap:6px}
}

/* ===== Final design closure: consistent touch targets ===== */
.shop-filter { min-height:44px; }
.dashboard-mobile-link { min-height:44px; }
.dashboard-ad-card .brand-rail-body a,
.dashboard-ad-mini a { min-height:44px; }
.product-actions .btn-gold { min-height:44px; }
