/* MAINTAIN BEAUTY — storefront styles
   Palette: ink black, champagne gold, ivory cream, deep plum (from brand banner) */

:root {
  --ink: #141118;
  --ink-2: #221d2a;
  --plum: #2c1f3d;
  --plum-deep: #1d1428;
  --gold: #c9a227;
  --gold-2: #e8c766;
  --gold-soft: #f3e5bd;
  --cream: #faf6ee;
  --cream-2: #f1e9da;
  --white: #ffffff;
  --text: #2b2733;
  --muted: #6f6879;
  --line: #e6dfd2;
  --ok: #2e7d4f;
  --err: #b3372e;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(20, 17, 24, .10);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .6em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20,17,24,.18); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.link-btn:hover { color: var(--err); }

.icon-btn {
  background: none; border: 0; cursor: pointer; color: inherit;
  width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%;
  transition: background .15s ease, color .15s ease; text-decoration: none; position: relative;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(201,162,39,.16); color: var(--gold); }

/* ---------- announcement + header ---------- */
.announce { background: linear-gradient(90deg, var(--plum-deep), var(--plum), var(--plum-deep)); color: var(--gold-soft); text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.announce p { margin: 0; padding: 8px 14px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,238,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 8px; min-height: 74px; }
.logo { color: var(--ink); margin-right: auto; display: flex; align-items: center; }
.logo img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 26px; align-items: center; margin-right: 18px; }
.main-nav > a, .nav-drop > a {
  text-decoration: none; font-weight: 500; font-size: .98rem; color: var(--ink);
  padding: 8px 2px; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; gap: 5px;
}
.main-nav > a:hover, .main-nav a.is-active, .nav-drop > a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.nav-drop { position: relative; }
.drop-menu {
  position: absolute; top: 100%; left: -14px; min-width: 210px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 10px; display: none; flex-direction: column;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: flex; }
.drop-menu a { text-decoration: none; padding: 9px 14px; border-radius: 8px; font-size: .95rem; }
.drop-menu a:hover { background: var(--cream-2); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 2px; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px;
}
.nav-toggle { display: none; flex-direction: column; gap: 4.5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; display: block; }

.search-bar { border-top: 1px solid var(--line); background: var(--white); }
.search-bar form { display: flex; gap: 10px; padding: 14px 0; }
.search-bar input {
  flex: 1; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  font: inherit; background: var(--cream);
}
.search-bar input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

.nav-overlay { position: fixed; inset: 0; background: rgba(20,17,24,.5); z-index: 98; }

/* ---------- alerts & toast ---------- */
.alert { padding: 14px 20px; border-radius: 10px; margin: 18px 0 0; font-size: .95rem; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-ok { background: #e5f3ea; color: var(--ok); border: 1px solid #bcdcc8; }
.alert-err { background: #fbe9e7; color: var(--err); border: 1px solid #f0c4bf; }
.alert-info { background: #eef; color: #3a3a8c; border: 1px solid #ccd; margin-bottom: 20px; }
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--gold-soft); padding: 13px 26px; border-radius: 999px;
  font-size: .95rem; z-index: 300; opacity: 0; transition: all .25s ease; box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(201,162,39,.22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(201,162,39,.12), transparent 55%),
    linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 55%, #171021 100%);
  color: var(--cream); overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 72px 0 64px; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-sub { font-size: 1.1rem; color: #d9d2e3; max-width: 46ch; font-weight: 300; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.hero-usps { display: flex; gap: 10px 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.hero-usps li { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.hero-usps li::before { content: "✦ "; color: var(--gold); }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: min(480px, 100%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); border-radius: 20px; }
.hero-ring { position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid rgba(232,199,102,.4); border-radius: 50%; animation: spin 26s linear infinite; }
.hero-ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; background: var(--gold-2); border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-chip {
  position: absolute; background: rgba(250,246,238,.96); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
}
.chip-1 { top: 12%; left: -2%; }
.chip-2 { bottom: 10%; right: -1%; }

/* ---------- benefits strip ---------- */
.strip { background: var(--ink); color: var(--cream); }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 20px 0; }
.strip-item { display: flex; align-items: center; gap: 13px; font-size: .88rem; }
.strip-item svg { width: 30px; height: 30px; color: var(--gold-2); flex: none; }
.strip-item b { display: block; font-size: .95rem; }
.strip-item span { color: #b9b2c4; }

/* ---------- sections ---------- */
.section { padding: 74px 0; }
.section-dark { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-cream { background: var(--cream-2); }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head.head-row { display: flex; justify-content: space-between; align-items: end; text-align: left; gap: 20px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cat-card img { aspect-ratio: 1.35; object-fit: cover; width: 100%; }
.cat-card-body { padding: 18px 20px 22px; }
.cat-card-body p { color: var(--muted); font-size: .88rem; margin-bottom: 10px; min-height: 2.6em; }
.cat-link { color: var(--gold); font-weight: 600; font-size: .9rem; letter-spacing: .04em; }

/* ---------- product cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.p-grid-3 { grid-template-columns: repeat(3, 1fr); }
.p-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.p-card-media { position: relative; display: block; }
.p-card-media img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .35s ease; }
.p-card:hover .p-card-media img { transform: scale(1.045); }
.p-badge, .p-off, .p-oos {
  position: absolute; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.p-badge { top: 12px; left: 12px; background: var(--ink); color: var(--gold-2); }
.p-off { top: 12px; right: 12px; background: var(--gold); color: var(--ink); }
.p-oos { bottom: 12px; left: 12px; background: var(--err); color: #fff; }
.p-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.p-name { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 6px; line-height: 1.35; }
.p-name a { text-decoration: none; }
.p-name a:hover { color: var(--gold); }
.p-rating { font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.p-price { margin: auto 0 12px; display: flex; align-items: baseline; gap: 10px; }
.p-price .now { font-size: 1.22rem; font-weight: 700; color: var(--ink); }
.p-price .was, .product-price .was { color: var(--muted); font-size: .92rem; }
.p-card-actions { display: flex; gap: 8px; align-items: center; }
.p-card-actions .btn { flex: 1; padding: 11px 10px; font-size: .88rem; text-align: center; }
.wish-toggle.is-wished { color: #d3455b; }
.wish-toggle.is-wished svg { fill: #d3455b; stroke: #d3455b; }

/* ---------- science / about ---------- */
.science { background: linear-gradient(120deg, var(--plum-deep), var(--plum)); color: #d9d2e3; padding: 80px 0; }
.science h2 { color: var(--white); }
.science-grid, .about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.science-list { list-style: none; padding: 0; margin: 0 0 28px; }
.science-list li { padding: 12px 0 12px 34px; position: relative; border-bottom: 1px solid rgba(232,199,102,.18); }
.science-list li::before { content: "✦"; position: absolute; left: 6px; color: var(--gold-2); }
.science-list b { color: var(--gold-soft); }
.science-art img, .about-art img { border-radius: 20px; box-shadow: var(--shadow); }

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 26px 26px 22px; margin: 0; border: 1px solid var(--line); }
.review-card blockquote { margin: 8px 0 14px; }
.review-card blockquote p { color: var(--muted); font-size: .95rem; }
.review-card figcaption { font-size: .86rem; color: var(--muted); }
.review-stars { margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: var(--ink); padding: 46px 0; }
.cta-band h2 { margin-bottom: .15em; }
.cta-band p { margin: 0; }
.cta-band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- page hero / breadcrumbs ---------- */
.page-hero { background: linear-gradient(120deg, var(--plum-deep), var(--plum)); color: #d9d2e3; padding: 44px 0 40px; }
.page-hero h1 { color: var(--white); margin-bottom: .1em; }
.page-hero p { margin: 6px 0 0; }
.crumbs { font-size: .84rem; letter-spacing: .06em; margin-bottom: 12px; color: #b9b2c4; }
.crumbs a { color: var(--gold-2); text-decoration: none; }
.section .crumbs { color: var(--muted); }
.section .crumbs a { color: var(--gold); }

/* ---------- shop ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.shop-filters { position: sticky; top: 96px; }
.filter-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.filter-block h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.filter-link { display: block; text-decoration: none; padding: 7px 0; font-size: .96rem; color: var(--text); }
.filter-link:hover { color: var(--gold); }
.filter-link.is-active { color: var(--gold); font-weight: 700; }
.filter-link.clear { color: var(--err); font-size: .85rem; }
.filter-promo { background: var(--ink); color: var(--gold-soft); border: 0; }
.filter-promo p { margin: 0; font-size: .95rem; }
.filter-promo .eyebrow { margin-bottom: 4px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 14px; flex-wrap: wrap; }
.shop-toolbar p { margin: 0; color: var(--muted); }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.sort-form select { padding: 9px 14px; border-radius: 8px; border: 1.5px solid var(--line); font: inherit; background: var(--white); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a {
  min-width: 40px; height: 40px; display: grid; place-items: center; text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; background: var(--white);
}
.pagination a.is-current { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h1, .empty-state h2 { margin-bottom: .3em; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- product page ---------- */
.product-page .crumbs { margin-bottom: 26px; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 78px; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: var(--white); }
.thumb.is-active { border-color: var(--gold); }
.product-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.inline-badge { background: var(--ink); color: var(--gold-2); padding: 2px 10px; border-radius: 999px; font-size: .72rem; }
.product-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 2px; flex-wrap: wrap; }
.product-price .now { font-size: 2rem; font-weight: 700; color: var(--ink); }
.product-price .save { color: var(--ok); font-weight: 600; font-size: .92rem; }
.tax-note { font-size: .84rem; color: var(--muted); }
.product-short { font-size: 1.05rem; margin: 14px 0 8px; }
.stock-note { font-weight: 600; font-size: .92rem; }
.stock-note.in { color: var(--ok); }
.stock-note.out { color: var(--err); }
.buy-row { display: flex; gap: 12px; margin: 16px 0; flex-wrap: wrap; align-items: center; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.qty button { width: 42px; height: 48px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--cream-2); }
.qty input { width: 52px; border: 0; text-align: center; font: inherit; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust-list { list-style: none; padding: 16px 20px; margin: 18px 0 0; background: var(--white); border: 1px dashed var(--gold); border-radius: 12px; font-size: .92rem; }
.trust-list li { padding: 3px 0; }

.product-tabs { margin-bottom: 60px; }
.tab-buttons { display: flex; gap: 6px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.tab-btn {
  border: 0; background: none; font: inherit; font-weight: 600; padding: 12px 20px; cursor: pointer;
  color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.tab-btn.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.tab-panel { display: none; padding: 26px 4px; max-width: 76ch; }
.tab-panel.is-active { display: block; }
.feat-list { list-style: none; padding: 0; }
.feat-list li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--line); }
.feat-list li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); }
.review-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.review-item p { margin-bottom: 4px; }
.review-meta { color: var(--muted); font-size: .86rem; }
.review-form { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.related-head { margin-top: 10px; }

/* ---------- forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; letter-spacing: .03em; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--white); color: var(--text);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-field input[disabled] { background: var(--cream-2); color: var(--muted); }

/* ---------- cart ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.cart-row {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 14px;
}
.cart-thumb img { border-radius: 10px; }
.cart-detail h3 { font-family: var(--font-body); font-size: 1.02rem; margin-bottom: 2px; }
.cart-detail h3 a { text-decoration: none; }
.cart-meta { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.cart-controls { display: flex; align-items: center; gap: 16px; }
.cart-controls .qty button { height: 38px; width: 36px; }
.cart-controls .qty input { width: 44px; }
.cart-line-total { font-weight: 700; font-size: 1.1rem; }
.cart-actions-row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.cart-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.cart-summary h2 { font-size: 1.4rem; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0 4px; }
.coupon-form input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; text-transform: uppercase; }
.coupon-msg { font-size: .88rem; color: var(--ok); min-height: 1.2em; margin: 4px 0 8px; }
.coupon-msg.err { color: var(--err); }
.totals { margin: 10px 0 18px; }
.totals > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; }
.totals .discount { color: var(--ok); }
.totals .grand { border-bottom: 0; padding-top: 14px; }
.totals .grand dt { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.totals .grand dd { font-size: 1.35rem; font-weight: 700; }
.ship-nudge { background: var(--gold-soft); padding: 10px 16px; border-radius: 10px; font-size: .88rem; margin-bottom: 14px; }
.secure-note { text-align: center; font-size: .84rem; color: var(--muted); margin-top: 12px; }

/* ---------- checkout ---------- */
.checkout-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.checkout-form h2 { font-size: 1.4rem; margin-top: 8px; }
.checkout-form h2:first-child { margin-top: 0; }
.pay-options { display: grid; gap: 12px; }
.pay-option {
  display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 16px 18px; cursor: pointer; transition: border-color .15s ease;
}
.pay-option:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.pay-option input { margin-top: 5px; accent-color: var(--gold); }
.pay-option small { display: block; color: var(--muted); }
.pay-option.is-disabled { opacity: .55; cursor: not-allowed; }
.mini-items { list-style: none; padding: 0; margin: 14px 0; }
.mini-items li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.mini-items img { border-radius: 8px; }
.mini-items small { color: var(--muted); }

/* ---------- success ---------- */
.success-wrap { max-width: 760px; }
.success-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; text-align: center; }
.success-icon {
  width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: var(--ink);
  font-size: 2.2rem; font-weight: 700; display: grid; place-items: center;
}
.success-sub { font-size: 1.1rem; }
.success-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; margin: 26px 0; }
.success-details > div { background: var(--cream); border-radius: 12px; padding: 18px 20px; }
.success-details h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- tables ---------- */
.order-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin: 18px 0; }
.order-table th, .order-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.order-table th { background: var(--cream-2); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.order-table td:last-child, .order-table th:last-child { text-align: right; }
.order-table tfoot td { color: var(--muted); }
.order-table .grand td { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.status-pill { padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; background: var(--cream-2); }
.st-placed { background: #fdf3d5; color: #8a6d1a; }
.st-confirmed { background: #e3edfb; color: #29538d; }
.st-shipped { background: #e8e3fb; color: #4f3d99; }
.st-delivered { background: #e5f3ea; color: var(--ok); }
.st-cancelled { background: #fbe9e7; color: var(--err); }

/* ---------- account / auth ---------- */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 960px; margin-inline: auto; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.auth-card-alt { background: var(--ink); color: var(--cream); }
.auth-card-alt h2 { color: var(--cream); }
.auth-card-alt p { color: #b9b2c4; }
.auth-card-alt .form-field input { background: var(--ink-2); border-color: #3c3548; color: var(--cream); }
.account-layout, .policy-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.account-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 96px; }
.account-hello { padding: 10px 14px 14px; border-bottom: 1px solid var(--line); margin: 0 0 8px; }
.account-nav a { display: block; text-decoration: none; padding: 10px 14px; border-radius: 8px; font-size: .96rem; }
.account-nav a:hover { background: var(--cream-2); }
.account-nav a.is-active { background: var(--ink); color: var(--gold-2); }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 26px; }
.dash-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; text-align: center; transition: transform .15s ease, box-shadow .15s ease;
}
.dash-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dash-card b { display: block; font-size: 1.9rem; font-family: var(--font-display); color: var(--gold); }
.dash-card span { color: var(--muted); font-size: .9rem; }
.profile-form { max-width: 460px; }
.order-status-line { color: var(--muted); }

/* ---------- contact / about / policy ---------- */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-item { padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.contact-item b { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-item a { color: var(--gold); text-decoration: none; font-weight: 600; }
.contact-promo { margin-top: 18px; border-radius: 12px; padding: 18px 20px; }
.contact-promo a { color: var(--gold-2); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: var(--white); border-radius: var(--radius); padding: 26px; border-top: 3px solid var(--gold); }
.value-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.policy-updated { color: var(--muted); margin-top: 2em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9b2c4; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr 1fr; gap: 40px; padding: 60px 0 44px; }
.footer-logo { filter: none; color: var(--cream); }
.footer-brand p { font-size: .93rem; margin-top: 16px; max-width: 34ch; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; }
.footer-social a { color: var(--gold-2); }
.footer-col h3 { font-family: var(--font-body); color: var(--cream); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; text-decoration: none; padding: 5px 0; font-size: .94rem; }
.footer-col a:hover { color: var(--gold-2); }
.footer-col p { margin: 0 0 8px; font-size: .94rem; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { flex: 1; padding: 11px 16px; border-radius: 999px; border: 1px solid #3c3548; background: var(--ink-2); color: var(--cream); font: inherit; min-width: 0; }
.newsletter .btn { padding: 11px 20px; }
.footer-bottom { border-top: 1px solid #2c2536; }
.footer-bottom-row { display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; font-size: .85rem; flex-wrap: wrap; }
.footer-bottom-row p { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-2); }

.whatsapp-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.3); text-decoration: none;
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab:hover { transform: scale(1.07); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .p-grid, .p-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cat-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .science-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { width: min(380px, 80%); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .filter-promo { grid-column: 1 / -1; }
  .product-layout, .cart-layout, .checkout-layout, .contact-layout, .auth-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .account-layout, .policy-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .account-hello { border: 0; width: 100%; padding-bottom: 4px; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .p-grid, .p-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .p-card-actions .btn { font-size: .8rem; padding: 10px 6px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .strip-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 44px 0 30px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .success-details { grid-template-columns: 1fr; }
  .dash-cards { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 44px 0 40px; }
  .hero-chip { display: none; }
  .section { padding: 50px 0; }
  .cart-row { grid-template-columns: 80px 1fr; }
  .cart-line-total { grid-column: 2; text-align: right; }

  /* mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 30% 0 0; background: var(--cream); z-index: 99;
    flex-direction: column; align-items: flex-start; padding: 80px 26px 26px; gap: 4px;
    transform: translateX(-102%); transition: transform .25s ease; box-shadow: var(--shadow); overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a, .nav-drop > a { font-size: 1.15rem; padding: 10px 0; }
  .nav-drop { width: 100%; }
  .drop-menu { position: static; display: flex; border: 0; box-shadow: none; background: none; padding: 0 0 0 16px; }
  .logo img { height: 32px; }
}
