:root {
  --ink: #0b1524;
  --ink-2: #1b2942;
  --navy: #12325c;
  --brand: #2f6bff;
  --brand-dark: #1f52d6;
  --brand-soft: #eaf0ff;
  --accent: #12b981;
  --accent-soft: #e6f7f0;
  --text: #16202e;
  --text-secondary: #5a6676;
  --muted: #8a94a3;
  --line: #e7eaf0;
  --line-strong: #d4d9e2;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #f0f4fa;
  --white: #ffffff;
  --danger: #e11d48;
  --ok: #059669;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 51, .06), 0 1px 3px rgba(16, 28, 51, .05);
  --shadow: 0 6px 22px rgba(16, 28, 51, .08);
  --shadow-lg: 0 24px 60px rgba(16, 28, 51, .16);
  --maxw: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
.section-title { font-size: clamp(28px, 4vw, 42px); }
.section-sub { margin-top: 14px; color: var(--text-secondary); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 999px;
  transition: all .2s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(47, 107, 255, .28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(47, 107, 255, .34); }
.btn-primary:disabled { background: var(--line-strong); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200; background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.logo span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 10px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-secondary); transition: color .18s; }
.nav-links a:hover { color: var(--ink); }
.header-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.region-switcher { display: inline-flex; background: var(--bg-tint); border-radius: 999px; padding: 3px; }
.region-btn {
  font-size: 12.5px; font-weight: 600; color: var(--text-secondary); padding: 6px 12px;
  border-radius: 999px; transition: all .18s;
}
.region-btn.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.auth-btn {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
  color: var(--ink); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; transition: all .18s;
}
.auth-btn svg { width: 17px; height: 17px; }
.auth-btn:hover { border-color: var(--brand); color: var(--brand); }
.user-menu { display: inline-flex; align-items: center; gap: 10px; }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.user-name-text { font-size: 14px; font-weight: 600; }
.logout-link { font-size: 13px; color: var(--text-secondary); cursor: pointer; }
.logout-link:hover { color: var(--danger); }

.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; transition: all .18s;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { background: var(--brand); transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.hamburger { display: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; color: var(--ink); }
.hamburger svg { width: 24px; height: 24px; }

/* mobile nav */
.mobile-nav-backdrop { position: fixed; inset: 0; background: rgba(11, 21, 36, .5); z-index: 300; opacity: 0; visibility: hidden; transition: all .25s; }
.mobile-nav-backdrop.open { opacity: 1; visibility: visible; }
.mobile-nav { position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 86vw); background: #fff; z-index: 310; transform: translateX(100%); transition: transform .28s var(--ease); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-nav a { padding: 14px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-nav-close { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); }
.mobile-nav-close svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 64px; background: radial-gradient(1200px 500px at 70% -10%, var(--brand-soft), transparent), var(--bg); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--text-secondary); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.hero-badge b { color: var(--accent); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { margin-top: 20px; font-size: 18px; color: var(--text-secondary); max-width: 520px; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { margin-top: 40px; display: flex; gap: 34px; }
.hero-stat b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hero-stat span { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual-card { background: linear-gradient(160deg, #fff, var(--bg-tint)); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px; width: 100%; }
.hero-visual-card img { margin: 0 auto; max-height: 320px; width: auto; filter: drop-shadow(0 24px 40px rgba(16, 28, 51, .18)); }

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding-top: 20px; padding-bottom: 20px; }
.trust-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.trust-pill svg { width: 19px; height: 19px; color: var(--accent); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { font-size: 14px; font-weight: 600; color: var(--text-secondary); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; transition: all .18s; }
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: all .22s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-image-wrap {
  position: relative; z-index: 0; aspect-ratio: 4/3; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(120px 120px at 50% 35%, var(--brand-soft), var(--bg-tint)); overflow: hidden;
}
.product-image-wrap img { position: relative; z-index: 0; max-height: 170px; width: auto; transition: transform .3s var(--ease); filter: drop-shadow(0 12px 20px rgba(16, 28, 51, .14)); }
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.product-noimg { width: 110px; height: 150px; background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.product-cat-chip { position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); padding: 5px 10px; border-radius: 999px; }
.stock-chip { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.stock-chip.out { background: #fdecef; color: var(--danger); }
.stock-chip.in { background: var(--accent-soft); color: var(--ok); }
.product-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.product-content { font-size: 13px; font-weight: 600; color: var(--brand); margin-top: 3px; }
.product-blurb { font-size: 13.5px; color: var(--text-secondary); margin-top: 10px; line-height: 1.55; flex: 1; }
.product-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { font-size: 20px; font-weight: 800; color: var(--ink); }
.product-price span { font-size: 12px; font-weight: 600; color: var(--muted); }
.price-gate-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--brand); }
.card-actions { display: flex; gap: 8px; align-items: center; }
.qty-select { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 9px 8px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; }
.product-add-btn { background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 14px; border-radius: var(--radius-sm); transition: all .18s; }
.product-add-btn:hover { background: var(--brand-dark); }
.product-add-btn:disabled { background: var(--line-strong); cursor: not-allowed; }
.product-add-btn.added { background: var(--ok); }
.view-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-top: 14px; }
.view-link:hover { color: var(--brand); }
.view-link svg { width: 15px; height: 15px; }

/* ---------- Discount / sale prices ---------- */
.price-was { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.price-sale { color: var(--danger); }
.sale-badge { display: inline-block; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; letter-spacing: .02em; }
.pdp-price .price-was { font-size: 18px; }
.sale-ribbon { position: absolute; top: 14px; right: 14px; z-index: 3; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }

/* ---------- Stacks ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.stack-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .22s var(--ease); }
.stack-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stack-badge { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.stack-image-wrap { background: radial-gradient(180px 140px at 50% 30%, var(--brand-soft), var(--bg-tint)); padding: 30px; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 180px; }
.stack-image-wrap img { max-height: 130px; width: auto; filter: drop-shadow(0 12px 20px rgba(16,28,51,.14)); }
.stack-info { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.stack-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.stack-title { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 6px; }
.stack-desc { font-size: 14px; color: var(--text-secondary); margin-top: 10px; }
.stack-includes { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.stack-includes li { font-size: 13.5px; color: var(--ink-2); padding-left: 22px; position: relative; }
.stack-includes li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 3px var(--accent); }
.stack-foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack-price { font-size: 22px; font-weight: 800; color: var(--ink); }
.stack-price span { font-size: 12px; color: var(--muted); }
.stack-cta { display: inline-flex; align-items: center; gap: 7px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; padding: 11px 18px; border-radius: 999px; transition: all .18s; }
.stack-cta svg { width: 16px; height: 16px; }
.stack-cta:hover { background: var(--brand); }
.stack-cta.added { background: var(--ok); }

/* ---------- Feature / trust grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.feature-item, .feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: all .22s; }
.feature-item:hover, .feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature-item h3, .feature-card h3 { font-size: 17px; }
.feature-item p, .feature-card p { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }
.contact-card { display: flex; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; max-width: 560px; margin: 0 auto; }
.contact-icon { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.contact-icon svg { width: 28px; height: 28px; }
.contact-body h3 { font-size: 18px; }
.contact-body p { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }
.contact-email { display: inline-block; margin-top: 12px; font-size: 17px; font-weight: 600; color: var(--brand); }
.contact-email:hover { text-decoration: underline; }
@media (max-width: 520px) { .contact-card { flex-direction: column; text-align: center; } }
.grid-loading { grid-column: 1 / -1; text-align: center; padding: 48px 0; color: var(--muted); font-size: 15px; }

.disclaimer-note { margin-top: 34px; text-align: center; font-size: 13px; color: var(--muted); max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfd7e3; padding: 60px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo span { color: var(--brand); }
.footer-brand p { font-size: 14px; color: #93a0b4; margin-top: 14px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: #93a0b4; margin-bottom: 10px; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #7c899d; text-align: center; }

/* ---------- Cart panel ---------- */
.cart-backdrop { position: fixed; inset: 0; background: rgba(11,21,36,.5); z-index: 400; opacity: 0; visibility: hidden; transition: all .25s; }
.cart-backdrop.open { opacity: 1; visibility: visible; }
.cart-panel { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100vw); background: #fff; z-index: 410; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.cart-panel.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-header h3 { font-size: 18px; }
.cart-close { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text-secondary); background: var(--bg-soft); }
.cart-close svg { width: 20px; height: 20px; }
.cart-body { flex: 1; overflow-y: auto; padding: 22px; }
.cart-empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 15px; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item-name { font-size: 15px; font-weight: 700; color: var(--ink); }
.cart-item-meta { font-size: 12.5px; color: var(--text-secondary); margin-top: 3px; }
.cart-item-includes { margin-top: 6px; }
.cart-item-includes li { font-size: 12px; color: var(--text-secondary); }
.cart-stack-badge { display: inline-block; background: var(--brand-soft); color: var(--brand); font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-right: 6px; }
.cart-stack-save { display: inline-block; background: var(--accent-soft); color: var(--ok); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.cart-item-controls { display: inline-flex; align-items: center; gap: 4px; }
.cart-qty-btn { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-soft); color: var(--ink); font-size: 16px; font-weight: 700; display: grid; place-items: center; }
.cart-qty-btn:hover { background: var(--brand-soft); color: var(--brand); }
.cart-qty-manual { width: 40px; text-align: center; border: 1px solid var(--line-strong); border-radius: 8px; padding: 5px 2px; font-size: 14px; font-weight: 600; }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--ink); grid-column: 2 / 4; text-align: right; }
.cart-remove-btn { grid-row: 1; grid-column: 3; width: 26px; height: 26px; color: var(--muted); display: grid; place-items: center; }
.cart-remove-btn:hover { color: var(--danger); }
.cart-remove-btn svg { width: 15px; height: 15px; }
.cart-totals { margin-top: 18px; padding: 16px; background: var(--bg-soft); border-radius: var(--radius); }
.cart-totals-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-secondary); padding: 5px 0; }
.cart-totals-row.total { font-size: 18px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line-strong); margin-top: 8px; padding-top: 12px; }
.form-input { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .18s; }
.form-input:focus { border-color: var(--brand); outline: none; }
.cart-form { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.cart-form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.address-help-text { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
.order-btn { margin-top: 18px; width: 100%; background: var(--brand); color: #fff; font-size: 16px; font-weight: 700; padding: 15px; border-radius: 999px; transition: all .2s; }
.order-btn:hover { background: var(--brand-dark); }
.order-btn:disabled { background: var(--line-strong); cursor: not-allowed; }

/* ---------- Modals ---------- */
.success-backdrop, .auth-backdrop { position: fixed; inset: 0; background: rgba(11,21,36,.55); z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; }
.auth-backdrop.open { display: flex; }
.success-modal, .auth-modal { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 420px; padding: 34px; position: relative; }
.success-modal { text-align: center; }
.success-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--accent-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.success-icon svg { width: 34px; height: 34px; }
.success-modal h3 { font-size: 22px; }
.success-modal p { color: var(--text-secondary); margin-top: 10px; font-size: 15px; }
.success-btn { margin-top: 22px; background: var(--ink); color: #fff; padding: 13px 26px; border-radius: 999px; font-weight: 700; }
.auth-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--text-secondary); background: var(--bg-soft); }
.auth-modal-close svg { width: 20px; height: 20px; }
.auth-modal h2 { font-size: 24px; }
.auth-subtitle { color: var(--text-secondary); font-size: 14px; margin-top: 6px; margin-bottom: 20px; }
.auth-error { display: none; background: #fdecef; color: var(--danger); font-size: 13px; padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; }
.auth-social-btns { display: flex; flex-direction: column; gap: 10px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; transition: all .18s; }
.social-btn:hover { background: var(--bg-soft); }
.social-btn svg { width: 18px; height: 18px; }
.auth-divider { text-align: center; font-size: 12px; color: var(--muted); margin: 18px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ""; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--line); }
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; }
.auth-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-submit { margin-top: 6px; background: var(--brand); color: #fff; font-weight: 700; padding: 13px; border-radius: 999px; }
.auth-submit:hover { background: var(--brand-dark); }
.auth-toggle { text-align: center; font-size: 14px; color: var(--text-secondary); margin-top: 18px; }
.auth-toggle a { color: var(--brand); font-weight: 600; }

/* ---------- Age gate ---------- */
.age-gate-backdrop { position: fixed; inset: 0; background: rgba(11,21,36,.92); z-index: 600; display: flex; align-items: center; justify-content: center; padding: 20px; }
.age-gate-modal { background: #fff; border-radius: var(--radius-lg); max-width: 440px; padding: 40px; text-align: center; }
.age-gate-modal .logo { font-size: 30px; margin-bottom: 16px; }
.age-gate-modal h2 { font-size: 24px; }
.age-gate-modal p { color: var(--text-secondary); margin: 12px 0 26px; font-size: 15px; }
.age-gate-btns { display: flex; gap: 12px; }
.age-gate-btns .btn { flex: 1; }

/* ---------- Product detail page ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 20px 0 0; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb svg { width: 14px; height: 14px; }
.pdp { padding: 26px 0 60px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pdp-media { position: sticky; top: 90px; background: radial-gradient(220px 200px at 50% 35%, var(--brand-soft), var(--bg-tint)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; display: grid; place-items: center; }
.pdp-media img { max-height: 380px; width: auto; filter: drop-shadow(0 24px 40px rgba(16,28,51,.18)); }
.pdp-cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.pdp-title { font-size: clamp(28px, 4vw, 40px); margin-top: 8px; }
.pdp-dosage-tag { display: inline-block; background: var(--bg-tint); color: var(--ink-2); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin-top: 14px; }
.pdp-lead { font-size: 17px; color: var(--text-secondary); margin-top: 18px; line-height: 1.65; }
.pdp-buy { margin-top: 26px; padding: 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.pdp-price-row { display: flex; align-items: baseline; gap: 10px; }
.pdp-price { font-size: 32px; font-weight: 800; color: var(--ink); }
.pdp-price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.pdp-stock { margin-left: auto; font-size: 13px; font-weight: 600; }
.pdp-stock.in { color: var(--ok); } .pdp-stock.out { color: var(--danger); }
.pdp-buy-actions { display: flex; gap: 12px; margin-top: 18px; align-items: center; }
.pdp-buy-actions .qty-select { padding: 13px 12px; }
.pdp-buy-actions .btn { flex: 1; }
.pdp-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

.pdp-section { margin-top: 44px; }
.pdp-section h2 { font-size: 24px; margin-bottom: 14px; }
.pdp-section h3 { font-size: 18px; margin: 22px 0 8px; }
.pdp-section p { color: var(--text-secondary); margin-bottom: 14px; line-height: 1.7; }
.pdp-section ul.bullets { margin: 6px 0 16px; display: flex; flex-direction: column; gap: 8px; }
.pdp-section ul.bullets li { position: relative; padding-left: 24px; color: var(--text-secondary); }
.pdp-section ul.bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 3px var(--accent); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { font-weight: 600; color: var(--ink); width: 40%; background: var(--bg-soft); }
.spec-table td:last-child { color: var(--text-secondary); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 16px 18px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--brand); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 18px 16px; color: var(--text-secondary); margin: 0; }
.pdp-disclaimer { margin-top: 40px; padding: 18px 20px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--radius); font-size: 13px; color: #9a3412; }

.related { margin-top: 30px; }

/* ---------- Page hero (research/articles/listing) ---------- */
.page-hero { padding: 56px 0 40px; background: radial-gradient(900px 400px at 50% -20%, var(--brand-soft), transparent); text-align: center; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); }
.page-hero p { max-width: 600px; margin: 16px auto 0; color: var(--text-secondary); font-size: 17px; }

/* ---------- Article hub ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; padding: 12px 0 8px; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: all .22s; display: flex; flex-direction: column; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand); }
.article-meta { font-size: 12px; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin-bottom: 12px; }
.article-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 12px; }
.article-excerpt { font-size: 15px; color: var(--text-secondary); margin-bottom: 22px; flex-grow: 1; }
.article-link { font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.article-link svg { width: 16px; height: 16px; transition: transform .2s; }
.article-card:hover .article-link svg { transform: translateX(4px); }

/* ---------- Research library ---------- */
.research-hero { padding: 60px 0 44px; background: radial-gradient(900px 400px at 50% -20%, var(--brand-soft), transparent); text-align: center; }
.research-hero .badge { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.research-hero h1 { font-size: clamp(30px, 4.6vw, 48px); }
.research-hero p { max-width: 640px; margin: 16px auto 0; color: var(--text-secondary); font-size: 17px; }
.toc-bar { position: sticky; top: 64px; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.toc-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.toc-inner::-webkit-scrollbar { display: none; }
.toc-pill { white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--text-secondary); background: var(--bg-tint); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; transition: all .18s; }
.toc-pill:hover { border-color: var(--brand); color: var(--brand); }
.toc-pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.research-content { padding: 48px 0; }
.peptide-section { scroll-margin-top: 130px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.peptide-section:last-child { border-bottom: none; }
.peptide-header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.peptide-header h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
.category-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 5px 12px; }
.peptide-intro { color: var(--text-secondary); font-size: 16px; max-width: 900px; margin-bottom: 22px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h4 { font-size: 15px; margin-bottom: 12px; }
.info-card p { font-size: 14px; color: var(--text-secondary); }
.references-section { padding: 56px 0; background: var(--bg-tint); border-top: 1px solid var(--line); }
.references-section h2 { font-size: 26px; letter-spacing: -.02em; }
.references-section .subtitle { color: var(--muted); font-size: 14px; margin: 6px 0 24px; }
.ref-list { padding-left: 20px; display: grid; gap: 10px; }
.ref-list li { font-size: 13.5px; color: var(--text-secondary); }
.ref-list a { color: var(--brand); }
.research-disclaimer { padding: 34px 0; }
.research-disclaimer p { max-width: 820px; margin: 0 auto; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: -1; }
  .hero-visual-card img { max-height: 220px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 26px; }
  .pdp-media { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .region-switcher { display: none; }
  .user-name-text { display: none; }
  .auth-btn span, .auth-btn { font-size: 0; padding: 9px; }
  .auth-btn svg { width: 20px; height: 20px; }
  .hero { padding: 44px 0 40px; }
  .hero-stats { gap: 22px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-info { padding: 14px; }
  .product-name { font-size: 15px; }
  .product-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .card-actions { justify-content: space-between; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .pdp-media { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
}
