/* ========================================================================
   PEPTIVE — Luxury Design System
   Navy/Gold Palette · Premium Animations · Haute Couture Peptide Science
   ======================================================================== */

:root {
  --primary: #B8860B;
  --primary-2: #0A0A14;
  --primary-deep: #0A0A14;
  --accent-gradient: linear-gradient(135deg, #D4A017 0%, #8B6914 50%, #B8860B 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(184,134,11,.12) 0%, rgba(10,10,20,.08) 100%);
  --gold: #B8860B;
  --gold-light: #D4A017;
  --gold-dark: #8B6914;
  --ivory: #FAF7F2;
  --platinum: #F5F0E8;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(10,10,20,.18);
  --shadow-sm: 0 2px 8px rgba(10,10,20,.22);
  --shadow-md: 0 10px 28px rgba(10,10,20,.32);
  --shadow-lg: 0 30px 80px rgba(10,10,20,.45);
  --shadow-glow: 0 0 0 1px rgba(184,134,11,.35), 0 12px 40px -8px rgba(184,134,11,.25);
  --shadow-gold: 0 4px 20px -4px rgba(184,134,11,.4);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 120ms var(--ease);
  --t: 240ms var(--ease);
  --t-slow: 480ms var(--ease);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: var(--font-sans);
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #06060C;
  --bg-2: #0A0A14;
  --surface: #0E0E1A;
  --surface-2: #121220;
  --surface-3: #1A1A2E;
  --bg-elev: #121220;
  --bg-card: #121220;
  --border: rgba(184,134,11,.08);
  --border-strong: rgba(184,134,11,.18);
  --text: #F5F0E8;
  --text-2: #C8BFA8;
  --text-muted: #7A7060;
  --text-faint: #4A4438;
  --success: #5DE5A2;
  --success-bg: rgba(93,229,162,.10);
  --danger: #FF6B6B;
  --danger-bg: rgba(255,107,107,.10);
  --warning: #FFB84A;
  --warning-bg: rgba(255,184,74,.10);
  --hero-glow-1: rgba(184,134,11,.20);
  --hero-glow-2: rgba(212,160,23,.10);
  --hero-grid: rgba(184,134,11,.04);
  --card-hover-shadow: 0 24px 60px -16px rgba(0,0,0,.6), 0 0 0 1px rgba(184,134,11,.30);
}

[data-theme="light"] {
  --bg: #FAF7F2;
  --bg-2: #F5F0E8;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --surface-3: #F5F0E8;
  --bg-elev: #FFFFFF;
  --bg-card: #FFFFFF;
  --border: rgba(10,10,20,.08);
  --border-strong: rgba(10,10,20,.15);
  --text: #0A0A14;
  --text-2: #3A3428;
  --text-muted: #7A7060;
  --text-faint: #A89E8E;
  --primary: #8B6914;
  --primary-2: #0A0A14;
  --primary-deep: #0A0A14;
  --success: #16A36C;
  --success-bg: rgba(22,163,108,.08);
  --danger: #DC2A2A;
  --danger-bg: rgba(220,42,42,.06);
  --warning: #C77100;
  --warning-bg: rgba(199,113,0,.08);
  --hero-glow-1: rgba(184,134,11,.12);
  --hero-glow-2: rgba(139,105,20,.08);
  --hero-grid: rgba(10,10,20,.03);
  --card-hover-shadow: 0 20px 50px -12px rgba(10,10,20,.12), 0 0 0 1px rgba(184,134,11,.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
button { font-family: inherit; }
a { color: var(--primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 600; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
::selection { background: var(--gold); color: #0A0A14; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse-gold { 0%, 100% { box-shadow: 0 0 0 0 rgba(184,134,11,.4); } 50% { box-shadow: 0 0 0 8px rgba(184,134,11,0); } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }


/* ========================================================================
   Header
   ======================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in oklab, var(--bg) 85%, transparent); backdrop-filter: saturate(140%) blur(20px); -webkit-backdrop-filter: saturate(140%) blur(20px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 28px; padding: 14px 24px; max-width: 1240px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--text); letter-spacing: 0.08em; text-decoration: none; }
.brand:hover { color: var(--gold-light); }
.brand-wordmark { display: inline-block; font-weight: 700; letter-spacing: 0.12em; background: var(--accent-gradient); background-size: 200% auto; animation: gradient-shift 4s ease infinite; -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-y { color: var(--primary); display: inline-block; position: relative; }
.brand-y::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 70%; height: 2px; background: var(--primary); transform: translateX(-50%); border-radius: 2px; opacity: .35; }
.main-nav { display: flex; gap: 4px; align-items: center; flex: 1; margin-left: 8px; }
.main-nav a, .dropbtn { color: var(--text-2); font-weight: 500; font-size: .92rem; padding: 8px 12px; border-radius: var(--radius-xs); border: none; background: transparent; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.main-nav a:hover, .dropbtn:hover { color: var(--text); background: var(--surface-3); }
.main-nav a.active { color: var(--gold); }
.dropdown { position: relative; }
.dropbtn { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-weight: 500; }
.dropdown-content { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); min-width: 240px; padding: 6px; box-shadow: var(--shadow-md); z-index: 50; }
.dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 9px 12px; border-radius: var(--radius-xs); color: var(--text-2); font-size: .9rem; }
.dropdown-content a:hover { background: var(--surface-3); color: var(--gold); }

/* Horizontal category menu bar — desktop hidden, shown on mobile in place of main-nav */
.cat-bar { display: none; }
.cat-chip { flex: 0 0 auto; white-space: nowrap; font-size: .82rem; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); padding: 7px 14px; border-radius: var(--radius-pill); scroll-snap-align: start; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.cat-chip:hover { color: var(--gold); border-color: rgba(184,134,11,.35); }
.cat-chip.active { color: #0A0A14; background: var(--accent-gradient); border-color: transparent; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search input { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); padding: 9px 14px 9px 36px; border-radius: var(--radius-pill); font-size: .88rem; width: 220px; outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast), width var(--t); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A7060' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><path d='m21 21-4.3-4.3'/></svg>"); background-repeat: no-repeat; background-position: 12px center; }
.search input::placeholder { color: var(--text-muted); }
.search input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,134,11,.12); width: 260px; }
.theme-toggle, .cart-link { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; font-size: 1rem; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.theme-toggle:hover, .cart-link:hover { background: var(--surface-3); color: var(--gold); border-color: var(--gold); transform: scale(1.05); }
.lang-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.lang-toggle a { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; color: var(--text-muted); text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.lang-toggle a:hover { color: var(--text); }
.lang-toggle a.active { background: var(--accent-gradient); color: #0A0A14; }
.cart-badge { position: absolute; top: -2px; right: -2px; background: var(--accent-gradient); color: #0A0A14; font-size: .68rem; font-weight: 800; padding: 2px 6px; border-radius: 999px; min-width: 18px; text-align: center; box-shadow: var(--shadow-gold); border: 2px solid var(--bg); }
.promo-bar { background: var(--accent-gradient); color: #0A0A14; text-align: center; padding: 9px 16px; font-size: .85rem; font-weight: 600; letter-spacing: .01em; }
.promo-bar strong { font-weight: 800; }
.flash { padding: 12px 20px; text-align: center; font-weight: 500; font-size: .92rem; max-width: 1240px; margin: 16px auto 0; border-radius: var(--radius-sm); animation: fade-in-up .4s var(--ease); }
.flash-success { background: var(--success-bg); color: var(--success); border: 1px solid color-mix(in oklab, var(--success) 30%, transparent); }
.flash-error { background: var(--danger-bg); color: var(--danger); border: 1px solid color-mix(in oklab, var(--danger) 30%, transparent); }
.flash-error ul { text-align: left; }
.main-content { flex: 1; padding: 32px 24px 64px; max-width: 1240px; width: 100%; margin: 0 auto; }

/* ========================================================================
   Hero
   ======================================================================== */
.hero { position: relative; padding: 96px 48px; margin-bottom: 64px; border-radius: var(--radius-lg); background: radial-gradient(60% 80% at 85% 20%, var(--hero-glow-1), transparent 65%), radial-gradient(50% 70% at 10% 90%, var(--hero-glow-2), transparent 60%), linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%); border: 1px solid var(--border-strong); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--hero-grid) 1px, transparent 1px), linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 50%, black 35%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black 35%, transparent 80%); pointer-events: none; z-index: -1; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(184,134,11,.25) 0%, rgba(212,160,23,.10) 40%, transparent 70%); animation: rotate-slow 30s linear infinite; z-index: -1; border-radius: 50%; }
.hero-content { position: relative; max-width: 760px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); background: var(--accent-gradient-soft); border: 1px solid rgba(184,134,11,.25); padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 20px; animation: fade-in-up .6s var(--ease); }
.hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse-gold 2s ease-in-out infinite; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin: 0 0 16px; background: linear-gradient(180deg, var(--text) 0%, var(--text-2) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tagline { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--text-2); margin: 0 0 12px; max-width: 620px; animation: fade-in-up .8s var(--ease) .2s both; }
.hero-promo { font-size: 1rem; color: var(--gold); font-weight: 600; margin: 8px 0 0; }
.hero-actions { display: flex; gap: 12px; margin: 32px 0 0; flex-wrap: wrap; animation: fade-in-up .8s var(--ease) .4s both; }
.hero-features { display: flex; gap: 24px; margin-top: 32px; color: var(--text-muted); flex-wrap: wrap; font-size: .92rem; animation: fade-in-up .8s var(--ease) .6s both; }
.hero-features > div { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -32px 0 64px; padding: 24px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); position: relative; z-index: 2; box-shadow: var(--shadow-sm); }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--text-2); border-right: 1px solid var(--border); padding-right: 16px; }
.trust-item:last-child { border-right: none; }
.trust-item-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-gradient-soft); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(184,134,11,.2); }
.trust-item strong { display: block; color: var(--text); font-weight: 600; }
.trust-item small { color: var(--text-muted); }
.hero-peptive .hero-title { font-size: clamp(3rem, 7vw, 5.2rem); margin: 4px 0 16px; line-height: 1.1; }
.hero-wordmark { display: inline-block; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; background: var(--accent-gradient); background-size: 200% auto; animation: gradient-shift 4s ease infinite; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-y { color: var(--primary); -webkit-text-fill-color: var(--primary); position: relative; display: inline-block; }

/* Centered hero — matches homepage-mockup-light: big wordmark as the focal point */
.hero-peptive { text-align: center; padding: 80px 32px; }
.hero-peptive .hero-content { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-peptive::after { left: 50%; top: 46%; right: auto; transform: translate(-50%, -50%); width: 760px; height: 760px; animation: none; opacity: .9; }
.hero-peptive::before { mask-image: radial-gradient(ellipse at 50% 45%, black 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 30%, transparent 75%); }
.hero-peptive .hero-eyebrow { margin-bottom: 24px; }
.hero-peptive .hero-title { font-size: clamp(2.75rem, 8vw, 5.5rem); margin: 0 0 16px; letter-spacing: .08em; }
.hero-peptive .hero-tagline { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; color: var(--gold); letter-spacing: .42em; text-indent: .42em; font-size: clamp(.78rem, 1.5vw, 1.05rem); margin: 0 0 4px; max-width: none; }
.hero-peptive .hero-actions { justify-content: center; margin-top: 32px; }
.hero-peptive .hero-features { justify-content: center; margin-top: 32px; }

/* Brand wordmark logo (DNA-"I") in the header — cropped to trim the asset's margins */
.brand-logo-wordmark { width: 164px; height: 40px; object-fit: cover; object-position: center 45%; display: block; }
[data-theme="dark"] .brand-logo-wordmark { background: #FAF7F2; border-radius: 8px; padding: 3px 8px; }

/* Hero: DNA-"I" wordmark as the focal logo, on a cream field with a gold molecule
   constellation behind it. The constellation is masked transparent in the centre so
   the logo's cream backplate blends seamlessly (matches homepage-mockup-light). */
.hero-peptive { background: radial-gradient(65% 75% at 50% 0%, color-mix(in oklab, var(--gold) 12%, transparent), transparent 70%), var(--bg); }
.hero-peptive::before { content: none; }
.hero-peptive .hero-title { margin: 0; }
.hero-logo { display: block; width: min(640px, 88%); height: auto; margin: 0 auto; }
[data-theme="dark"] .hero-logo { background: #FAF7F2; border-radius: 14px; padding: 12px 22px; }
.hero-molecules { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url('/static/img/molecule-bg.svg') center top / cover no-repeat; opacity: .9; -webkit-mask-image: radial-gradient(120% 95% at 50% 30%, transparent 22%, #000 58%); mask-image: radial-gradient(120% 95% at 50% 30%, transparent 22%, #000 58%); }

/* ========================================================================
   Buttons
   ======================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600; font-size: .875rem; letter-spacing: .01em; cursor: pointer; border: 1px solid transparent; transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast); text-decoration: none; line-height: 1.25; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-gradient); color: #0A0A14; box-shadow: 0 4px 12px -6px rgba(184,134,11,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { color: #0A0A14; box-shadow: 0 6px 16px -6px rgba(184,134,11,.4); transform: translateY(-1px); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-3); color: var(--gold); border-color: var(--gold); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { color: white; background: color-mix(in oklab, var(--danger) 85%, black); }
.btn-small { min-height: 36px; padding: 8px 16px; font-size: .8125rem; }
.btn-lg { min-height: 52px; padding: 16px 32px; font-size: 1rem; }
.btn-disabled { background: var(--surface-3); color: var(--text-muted); cursor: not-allowed; }
.btn-disabled:hover { transform: none; box-shadow: none; }

/* ========================================================================
   Sections + Category grid
   ======================================================================== */
.section { margin-bottom: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; gap: 16px; }
.section-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.link { color: var(--gold); font-weight: 600; font-size: .9rem; transition: color var(--t-fast); }
.link:hover { color: var(--gold-light); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.category-tile { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; color: var(--text); transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t); overflow: hidden; isolation: isolate; }
.category-tile::before { content: ""; position: absolute; inset: 0; background: var(--accent-gradient-soft); opacity: 0; transition: opacity var(--t); z-index: -1; }
.category-tile::after { content: attr(data-letter); position: absolute; right: 12px; bottom: -8px; font-family: var(--font-display); font-size: 5.5rem; font-weight: 700; color: var(--gold); opacity: .06; pointer-events: none; z-index: -1; line-height: 1; }
.category-tile:hover { transform: translateY(-4px); border-color: rgba(184,134,11,.35); color: var(--text); box-shadow: var(--card-hover-shadow); }
.category-tile:hover::before { opacity: 1; }
.category-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; background: var(--accent-gradient-soft); color: var(--gold); border: 1px solid rgba(184,134,11,.22); transition: background var(--t), color var(--t), transform var(--t); }
.category-tile:hover .category-icon { transform: translateY(-2px) scale(1.05); }
.category-tile h3 { margin: 0 0 8px; color: var(--text); font-size: 1.05rem; }
.category-tile p { margin: 0; color: var(--text-muted); font-size: .85rem; line-height: 1.5; }

/* ========================================================================
   Product cards / grid
   ======================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; align-items: stretch; }
.product-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: 0 4px 16px -8px rgba(0,0,0,.24); overflow: hidden; transition: transform 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out; position: relative; min-width: 0; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-2px); border-color: rgba(184,134,11,.32); box-shadow: 0 8px 24px -12px rgba(0,0,0,.3), 0 0 16px -8px rgba(184,134,11,.22); }
.product-card-link { color: var(--text); display: flex; flex-direction: column; flex: 1; min-width: 0; }
.product-image { position: relative; width: 100%; aspect-ratio: 1 / 1; flex-shrink: 0; background: radial-gradient(72% 62% at 50% 38%, rgba(184,134,11,.10), transparent 72%), var(--surface); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-image::after { content: ""; position: absolute; left: 50%; bottom: 8%; width: 62%; height: 7%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,0,0,.28), transparent); filter: blur(3px); pointer-events: none; transition: opacity var(--t), width var(--t); }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; transition: transform var(--t); filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)) drop-shadow(0 1px 2px rgba(0,0,0,.10)); }
.product-card:hover .product-image img { transform: translateY(-4px) scale(1.02); }
.product-card:hover .product-image::after { width: 54%; opacity: .72; }
.product-image .vial-icon { width: 60%; height: 70%; color: var(--text-faint); transition: color var(--t), transform var(--t); }
.product-image .vial-icon.big { width: 70%; height: 80%; }
.product-card:hover .vial-icon { color: var(--gold); transform: none; }
.badge { position: absolute; top: 12px; padding: 4px 8px; border: 1px solid transparent; border-radius: var(--radius-xs); font-size: .6875rem; line-height: 1.4; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: white; z-index: 2; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.badge-featured { left: 12px; background: rgba(10,10,20,.7); color: var(--gold-light); border: 1px solid rgba(184,134,11,.4); }
.badge-discount { right: 12px; background: var(--accent-gradient); color: #0A0A14; box-shadow: var(--shadow-gold); }
.badge-discount.big { font-size: .8125rem; padding: 8px 12px; }
.badge-out { left: 12px; background: rgba(10,10,20,.8); color: #fff; border: 1px solid var(--border-strong); }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .7rem; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.product-name { margin: 8px 0; font-size: 1rem; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: var(--text); min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-short { color: var(--text-muted); font-size: .875rem; margin: 0 0 16px; min-height: 3.2em; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.product-body .product-prices { margin-top: auto; }
.price-old { color: var(--text-muted); text-decoration: line-through; font-size: .85rem; }
.price-old.big { font-size: 1.1rem; }
.price-old.small { font-size: .72rem; }
.price-new { color: var(--text); font-weight: 700; font-size: 1.18rem; font-variant-numeric: tabular-nums; }
.price-new.big { font-size: 2.4rem; font-family: var(--font-display); background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.02em; line-height: 1; }
.save-badge { background: var(--success-bg); color: var(--success); padding: 4px 8px; border-radius: var(--radius-xs); font-size: .75rem; line-height: 1.4; font-weight: 600; border: 1px solid color-mix(in oklab, var(--success) 30%, transparent); }
.verify-badge { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; color: var(--gold); font-size: .72rem; font-weight: 600; letter-spacing: .02em; }

/* ========================================================================
   Catalog
   ======================================================================== */
.catalog-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
.filters { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: fit-content; position: sticky; top: 92px; }
.filters h3 { margin: 0 0 14px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); font-weight: 600; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin: 2px 0; }
.filter-list a { display: block; padding: 8px 12px; border-radius: var(--radius-xs); color: var(--text-2); font-size: .9rem; transition: background var(--t-fast), color var(--t-fast); }
.filter-list a:hover { background: var(--surface-3); color: var(--text); }
.filter-list a.active { background: var(--accent-gradient-soft); color: var(--gold); font-weight: 600; border: 1px solid rgba(184,134,11,.25); }
.catalog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.catalog-head h1 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.sort-form label { font-size: .85rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.sort-form select { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); padding: 7px 12px; border-radius: var(--radius-xs); font-size: .88rem; cursor: pointer; }
.sort-form select:focus { outline: 2px solid rgba(184,134,11,.35); }
.catalog-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.catalog-chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); transition: all var(--t-fast); text-decoration: none; }
.catalog-chip:hover { border-color: var(--gold); color: var(--gold); }
.catalog-chip.active { background: var(--accent-gradient); color: #0A0A14; border-color: transparent; }

/* ========================================================================
   Product detail
   ======================================================================== */
.breadcrumb { color: var(--text-muted); margin-bottom: 20px; font-size: .85rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text); }
.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.product-detail-image { background: radial-gradient(70% 60% at 50% 35%, rgba(184,134,11,.10), transparent 70%), var(--surface-2); border-radius: var(--radius); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 1px solid var(--border); }
.product-detail-image img { width: 100%; height: 100%; object-fit: contain; padding: 22px; box-sizing: border-box; filter: drop-shadow(0 18px 34px rgba(0,0,0,.6)); }
.product-detail-body h1 { margin: 8px 0 16px; font-size: clamp(1.625rem, 3vw, 2.25rem); letter-spacing: -.02em; }
.product-detail-prices { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.specs { list-style: none; padding: 18px 0; margin: 0; border-bottom: 1px solid var(--border); }
.specs li { padding: 5px 0; color: var(--text-2); font-size: .92rem; }
.specs li strong { color: var(--text-muted); font-weight: 500; width: 130px; display: inline-block; }
.in-stock { color: var(--success); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.in-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.out-stock { color: var(--danger); font-weight: 600; }
.add-to-cart-form { display: flex; gap: 12px; align-items: end; margin: 24px 0; flex-wrap: wrap; }
.add-to-cart-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.add-to-cart-form input[type=number] { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); padding: 11px 12px; border-radius: var(--radius-xs); width: 90px; font-size: 1rem; font-variant-numeric: tabular-nums; }
.product-description { margin-top: 24px; }
.product-description h3 { margin: 0 0 16px; font-size: 1.1rem; }
.product-description p { color: var(--text-2); margin: 8px 0; line-height: 1.7; }
.size-selector { margin: 24px 0 18px; padding: 18px 20px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); }
.size-selector-label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin-bottom: 10px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; background: var(--surface); border: 1.5px solid var(--border-strong); color: var(--text); padding: 10px 16px; border-radius: var(--radius-sm); font-family: inherit; cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast); min-width: 84px; position: relative; }
.size-chip:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.size-chip.active { border-color: var(--gold); background: var(--accent-gradient-soft); box-shadow: 0 0 0 3px rgba(184,134,11,.15); }
.size-chip:disabled { opacity: .45; cursor: not-allowed; }
.chip-label { font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.chip-price { font-size: .76rem; color: var(--text-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.size-chip.active .chip-price { color: var(--gold); font-weight: 600; }
.chip-soldout { position: absolute; top: -8px; right: -8px; background: var(--danger); color: white; font-size: .58rem; font-weight: 700; padding: 2px 6px; border-radius: var(--radius-pill); text-transform: uppercase; }
.from-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.size-count { margin-left: auto; font-size: .72rem; color: var(--text-muted); background: var(--surface-3); padding: 3px 9px; border-radius: var(--radius-pill); border: 1px solid var(--border); }
.size-tag { display: inline-block; background: var(--accent-gradient-soft); color: var(--gold); border: 1px solid rgba(184,134,11,.25); padding: 4px 8px; border-radius: var(--radius-xs); font-size: .75rem; line-height: 1.4; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-unit { color: var(--text-muted); font-size: .9rem; margin-left: 4px; }

/* ========================================================================
   Cart + Checkout
   ======================================================================== */
.cart-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table th, .cart-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.cart-table th { color: var(--text-muted); font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; background: var(--surface-2); }
.cart-table tr:last-child td { border-bottom: none; }
.cart-table a { color: var(--text); font-weight: 500; }
.cart-table a:hover { color: var(--gold); }
.qty-input { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); padding: 7px 10px; border-radius: var(--radius-xs); width: 80px; font-variant-numeric: tabular-nums; }
.cart-actions { display: flex; gap: 12px; justify-content: flex-end; margin-bottom: 28px; flex-wrap: wrap; }
.cart-summary, .checkout-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; max-width: 420px; margin-left: auto; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: .92rem; color: var(--text-2); }
.summary-row.total { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 8px; font-size: 1.35rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.summary-row.total span:last-child { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--font-display); }
.save { color: var(--success); font-weight: 600; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 18px; }
.checkout-form h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); margin: 16px 0 4px; font-weight: 600; font-family: var(--font-sans); }
.checkout-form h2:first-child { margin-top: 0; }
.checkout-form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.checkout-form input, .checkout-form textarea { background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); padding: 12px 14px; border-radius: var(--radius-xs); font: inherit; font-size: .95rem; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,134,11,.10); }
.form-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.checkout-summary { position: sticky; top: 92px; max-width: none; }
.checkout-items { list-style: none; padding: 0; margin: 0 0 18px; }
.checkout-items li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .9rem; gap: 12px; }
.checkout-items li:last-child { border-bottom: none; }
.checkout-items strong { font-variant-numeric: tabular-nums; }
.note { color: var(--text-muted); font-size: .85rem; margin-top: 4px; }
.ok-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; max-width: 620px; margin: 56px auto; position: relative; overflow: hidden; }
.ok-box::before { content: ""; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 360px; height: 360px; background: radial-gradient(circle, rgba(184,134,11,.20), transparent 70%); z-index: 0; border-radius: 50%; }
.ok-box > * { position: relative; z-index: 1; }
.ok-box h1 { font-size: 2rem; margin: 0 0 16px; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ok-box p { color: var(--text-2); margin: 6px 0; }

/* ========================================================================
   Payment methods
   ======================================================================== */
.payment-section { max-width: 1100px; margin: 0 auto 64px; }
.payment-head { text-align: center; margin: 0 auto 36px; max-width: 640px; }
.payment-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.payment-intro { color: var(--text-2); font-size: .95rem; }
.payment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.payment-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform var(--t), border-color var(--t), box-shadow var(--t); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.payment-card::before { content: ""; position: absolute; inset: 0; background: var(--accent-gradient-soft); opacity: 0; transition: opacity var(--t); z-index: -1; }
.payment-card:hover { transform: translateY(-3px); border-color: rgba(184,134,11,.30); box-shadow: var(--card-hover-shadow); }
.payment-card:hover::before { opacity: .5; }
.payment-card-card { border-color: rgba(184,134,11,.20); }
.payment-card-crypto { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.payment-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.payment-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-gradient-soft); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(184,134,11,.20); }
.payment-titles { flex: 1; min-width: 0; }
.payment-titles h3 { margin: 0; font-size: 1.02rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: -.005em; }
.payment-tag { display: inline-block; margin-top: 4px; font-size: .6875rem; line-height: 1.4; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-xs); background: var(--accent-gradient-soft); color: var(--gold); border: 1px solid rgba(184,134,11,.20); }
.payment-blurb { color: var(--text-2); font-size: .9rem; line-height: 1.55; margin: 0 0 14px; }
.payment-foot { color: var(--text-muted); font-size: .78rem; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--border); }
.payment-warn { background: var(--warning-bg); color: var(--warning); border: 1px solid color-mix(in oklab, var(--warning) 35%, transparent); border-radius: var(--radius-xs); padding: 10px 12px; font-size: .82rem; margin: 0 0 14px; line-height: 1.5; }
.btn-block { width: 100%; }
.payment-instructions { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 8px; }
.payment-instructions li { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 10px 12px; font-size: .88rem; }
.payment-instructions li > span:first-child { color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; flex: 0 0 110px; }
.payment-instructions li strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-all; }
.payment-instructions li code { color: var(--gold); font-family: var(--font-mono); font-size: .9rem; word-break: break-all; flex: 1; }
.payment-instructions li.copyable { padding-right: 6px; }
.btn-copy { background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text-2); padding: 5px 11px; border-radius: var(--radius-xs); font-size: .76rem; font-weight: 600; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); flex-shrink: 0; }
.btn-copy:hover { background: var(--gold); color: #0A0A14; border-color: var(--gold); }
.btn-copy.copied { background: var(--success); color: #0A0A14; border-color: var(--success); }
.crypto-qr { display: flex; justify-content: center; background: white; padding: 12px; border-radius: var(--radius-sm); margin: 6px 0 14px; width: fit-content; align-self: center; }
.wallet-address { display: flex; align-items: center; gap: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-xs); padding: 10px 8px 10px 12px; }
.wallet-address code { flex: 1; color: var(--gold); font-family: var(--font-mono); font-size: .82rem; word-break: break-all; }
.payment-confirm { margin-top: 36px; padding: 32px; background: var(--accent-gradient-soft); border: 1px solid rgba(184,134,11,.25); border-radius: var(--radius); text-align: center; }
.payment-confirm p { color: var(--text-2); margin: 0 0 16px; }
.payment-confirm .btn { background: #25D366; color: white; box-shadow: 0 8px 24px -8px rgba(37,211,102,.55); }
.payment-confirm .btn:hover { background: #1FB855; color: white; box-shadow: 0 12px 32px -8px rgba(37,211,102,.7); }
.payment-fieldset { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; margin: 0; background: var(--surface-2); display: flex; flex-direction: column; gap: 12px; }
.payment-fieldset legend { padding: 0 8px; font-weight: 600; font-size: .92rem; color: var(--gold); }

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 56px 0 20px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; padding: 0 24px; }
.footer-grid h4 { margin: 0 0 14px; color: var(--text); font-size: .92rem; }
.footer-grid p { margin: 6px 0; color: var(--text-muted); font-size: .88rem; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--gold); }
.disclaimer { padding: 24px; margin-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; color: var(--text-muted); flex-wrap: wrap; font-size: .8rem; }
.empty { text-align: center; color: var(--text-muted); padding: 64px 24px; font-size: 1rem; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }

/* ========================================================================
   Admin
   ======================================================================== */
.admin-layout { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 28px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.admin-brand { font-family: var(--font-display); font-weight: 700; margin-bottom: 28px; color: var(--text); padding: 0 10px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.admin-brand::before { content: "◇"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-gradient); color: #0A0A14; font-size: .9rem; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav a { display: block; padding: 10px 14px; border-radius: var(--radius-xs); color: var(--text-2); font-size: .92rem; font-weight: 500; transition: background var(--t-fast), color var(--t-fast); }
.admin-nav a:hover { background: var(--surface-3); color: var(--text); }
.admin-nav a.active { background: var(--accent-gradient-soft); color: var(--gold); border-left: 2px solid var(--gold); padding-left: 12px; }
.admin-logout { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.admin-logout button { width: 100%; background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted); padding: 10px; border-radius: var(--radius-xs); cursor: pointer; font-weight: 500; transition: background var(--t-fast), color var(--t-fast); }
.admin-logout button:hover { background: var(--surface-3); color: var(--danger); border-color: var(--danger); }
.admin-main { padding: 40px 48px; background: var(--bg); min-height: 100vh; }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.admin-head h1 { margin: 0; font-size: 1.8rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 40px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform var(--t), border-color var(--t); }
.stat-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.stat-label { color: var(--text-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.stat-value { font-size: 2rem; font-weight: 700; font-family: var(--font-display); background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th { background: var(--surface-2); color: var(--text-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface-2); }
.admin-table .actions { display: flex; gap: 6px; }
.admin-table img.thumb { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: var(--radius-xs); }
.admin-table .thumb { width: 48px; height: 48px; border-radius: var(--radius-xs); }
.status-pill { padding: 4px 10px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 600; letter-spacing: .02em; text-transform: capitalize; display: inline-block; border: 1px solid transparent; }
.status-pendiente { background: var(--warning-bg); color: var(--warning); border-color: color-mix(in oklab, var(--warning) 30%, transparent); }
.status-pagado { background: var(--accent-gradient-soft); color: var(--gold); border-color: rgba(184,134,11,.25); }
.status-enviado { background: var(--success-bg); color: var(--success); border-color: color-mix(in oklab, var(--success) 30%, transparent); }
.status-cancelado { background: var(--danger-bg); color: var(--danger); border-color: color-mix(in oklab, var(--danger) 30%, transparent); }
.admin-form { display: grid; gap: 18px; max-width: 880px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.admin-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .82rem; color: var(--text-muted); }
.admin-form input, .admin-form textarea, .admin-form select { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); padding: 11px 14px; border-radius: var(--radius-xs); font: inherit; font-size: .94rem; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,134,11,.10); }
.admin-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form .checkbox-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.admin-form .checkbox-row label { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: .92rem; }
.admin-form input[type=color] { padding: 4px; height: 42px; cursor: pointer; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; background: radial-gradient(50% 60% at 50% 30%, rgba(184,134,11,.12), transparent 70%), radial-gradient(40% 50% at 80% 80%, rgba(139,105,20,.08), transparent 70%), var(--bg); }
.login-card { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 44px; width: 420px; max-width: 100%; box-shadow: var(--shadow-lg); }
.login-card h1 { margin: 0 0 6px; text-align: center; font-size: 1.6rem; }
.login-card p { color: var(--text-muted); text-align: center; margin: 0; font-size: .92rem; }
.login-card form { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.login-card input { background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); padding: 13px 16px; border-radius: var(--radius-xs); font: inherit; }
.login-card input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,134,11,.10); }
.login-error { background: var(--danger-bg); color: var(--danger); padding: 11px; border-radius: var(--radius-xs); text-align: center; border: 1px solid color-mix(in oklab, var(--danger) 30%, transparent); }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 980px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .admin-main { padding: 24px; }
  /* Replace the hidden desktop nav with a horizontal scrolling category bar */
  .main-nav { display: none; }
  .cat-bar { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 10px 16px; border-top: 1px solid var(--border); scroll-snap-type: x proximity; scrollbar-width: none; }
  .cat-bar::-webkit-scrollbar { display: none; }
  .hero { padding: 56px 28px 64px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
}
@media (max-width: 700px) {
  /* Explore-by-category: horizontal scroll of compact tiles instead of large cards */
  .category-grid { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-tile { flex: 0 0 44%; max-width: 190px; scroll-snap-align: start; padding: 16px; }
  .category-tile p { display: none; }
  .category-tile h3 { font-size: .92rem; margin-bottom: 0; }
  .category-icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .category-tile::after { font-size: 4rem; }
}
@media (max-width: 600px) {
  .search input { width: 140px; }
  .search input:focus { width: 180px; }
  .header-row { gap: 12px; padding: 12px 16px; }
  .container, .main-content { padding-left: 16px; padding-right: 16px; }
  .section { margin-bottom: 40px; }
  .section-head { margin-bottom: 16px; }
  .hero { padding: 44px 22px 52px; }
  .hero h1 { font-size: 2rem; }
  /* Trust strip: compact 2x2, icon stacked over a short title */
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px; margin: -24px 0 40px; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 8px; border-right: none; border-bottom: none; padding: 0; font-size: .8rem; }
  .trust-item-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .trust-item small { display: none; }
  /* Product cards: compact, two per row, more visible per screen */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-body { padding: 12px; }
  .product-image { aspect-ratio: 1; }
  .product-name { font-size: .9rem; min-height: 2.7em; margin: 8px 0; }
  .product-short { display: none; }
  .product-cat { font-size: .62rem; }
  .price-new { font-size: 1rem; }
  .price-new.big { font-size: 1.8rem; }
  .verify-badge { display: none; }
  .brand-name { display: none; }
  .brand-logo-wordmark { width: 132px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .product-card:hover, .btn:hover, .btn:active { transform: none; }
}

/* Collapsible categories filter */
.filter-collapse { border: none; }
.filter-collapse summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
.filter-collapse summary::-webkit-details-marker { display: none; }
.filter-collapse summary::after { content: "▸"; font-size: 0.8em; transition: transform 0.2s; }
.filter-collapse[open] summary::after { transform: rotate(90deg); }
.filter-collapse summary h3 { margin: 0; display: inline; }

/* Footer brand with seal logo */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-logo { border-radius: 50%; object-fit: cover; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* Header brand logo */
.brand-logo { border-radius: 50%; object-fit: cover; margin-right: 8px; vertical-align: middle; }

/* ---- Peptive Labs COA verification links ---- */
.nav-verify{
  display:inline-flex;align-items:center;gap:.35rem;
  color:var(--gold);font-weight:600;
}
.nav-verify::before{content:"🔬";font-size:.95em}
.nav-verify:hover{color:var(--gold-light)}

.cat-chip-verify{
  border-color:var(--gold) !important;color:var(--gold) !important;font-weight:600;
}
.cat-chip-verify:hover{background:var(--accent-gradient-soft)}

.coa-verify-banner{
  display:flex;align-items:center;gap:.85rem;
  margin:1rem 0 1.25rem;padding:.85rem 1rem;
  border:1px solid var(--gold);border-radius:var(--radius);
  background:var(--accent-gradient-soft);
  text-decoration:none;transition:box-shadow .2s var(--ease,ease);
}
.coa-verify-banner:hover{box-shadow:var(--shadow-gold)}
.coa-verify-icon{font-size:1.5rem;line-height:1}
.coa-verify-text{display:flex;flex-direction:column;line-height:1.3}
.coa-verify-text strong{color:var(--gold);font-size:.98rem}
.coa-verify-text small{color:var(--text-muted,#888);font-size:.85rem}

/* ============================================================
   Research-Use-Only compliance notices (brief §4 / §23)
   Must stay clearly visible: no tiny font, no low-contrast, no hiding.
   ============================================================ */
.ruo-bar {
  background: #7a1420;
  color: #fff;
  text-align: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.35;
}
.ruo-warning {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fde8e8;
  border: 2px solid #b3261e;
  border-radius: 10px;
  color: #5c1a16;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.ruo-warning__icon { font-size: 16px; line-height: 1.4; flex: 0 0 auto; }
.ruo-warning__text { flex: 1 1 auto; }
.ruo-warning--footer {
  max-width: 980px;
  margin: 18px auto;
}
@media (prefers-color-scheme: dark) {
  .ruo-warning { background: #3a1412; border-color: #e0655c; color: #f6d6d3; }
}
@media (max-width: 560px) {
  .ruo-bar { font-size: 12px; padding: 7px 10px; }
  .ruo-warning { font-size: 12.5px; }
}

/* Homepage §9 — research-use scope + purchaser requirements */
.hero-scope {
  max-width: 620px;
  margin: 10px auto 0;
  font-size: 14.5px;
  line-height: 1.5;
  opacity: .92;
}
.purchaser-req {
  max-width: 820px;
  margin: 0 auto;
  background: var(--card, #fff);
  border: 1px solid rgba(139,105,20,.25);
  border-radius: 14px;
  padding: 22px 24px;
}
.purchaser-req h2 { margin: 0 0 8px; }
.purchaser-req ul { margin: 10px 0 4px; padding-left: 18px; line-height: 1.7; }
@media (prefers-color-scheme: dark) { .purchaser-req { background: #14141c; } }

/* Legal-policy pages (§15) */
.policy-page { max-width: 820px; padding: 24px 20px 48px; }
.policy-draft {
  display: flex; gap: 8px; flex-wrap: wrap;
  background: #fff4d6; border: 1px solid #d9a300; color: #6b4e00;
  border-radius: 10px; padding: 10px 14px; margin: 10px 0 18px; font-size: 13px;
}
.policy-updated { color: var(--muted, #888); font-size: 13px; margin-top: -6px; }
.policy-section { margin: 18px 0; }
.policy-section h2 { font-size: 17px; margin: 0 0 6px; }
.policy-section p { line-height: 1.6; }
.policy-note { font-style: italic; opacity: .85; }
.policy-contact { margin-top: 18px; font-size: 13px; }
@media (prefers-color-scheme: dark) { .policy-draft { background:#3a3007; border-color:#a9820b; color:#f3dd9a; } }

/* §7 research-use attestations at checkout */
.attest { border: 1px solid rgba(179,38,30,.35); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.attest legend { font-weight: 700; padding: 0 6px; }
.attest-intro { font-size: 13px; margin: 0 0 10px; opacity: .9; }
.attest-item { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; font-size: 13px; line-height: 1.45; cursor: pointer; }
.attest-item input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; }
.attest-name { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; }
.attest-name input { display: block; width: 100%; margin-top: 5px; }

/* ========================================================================
   Storefront refresh (2026-10): one brand with the app (reps/theme.css):
   navy bar + gold rule, Space Grotesk headings, Inter body, JetBrains Mono eyebrows.
   Appended last so it wins over the older rules above without rewriting them.
   ======================================================================== */
:root { --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif; --font-mono: 'JetBrains Mono', ui-monospace, monospace; --navy: #0A0A14; --tap: 44px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); }
.sf-eyebrow { display: block; font: 600 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* header */
.sf-header { background: var(--navy); border-bottom: 3px solid var(--gold); backdrop-filter: none; -webkit-backdrop-filter: none; }
.sf-header .header-row { gap: 18px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; position: relative; }
.sf-brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-height: var(--tap); }
.sf-brand:hover { color: #fff; }
.sf-seal { width: 34px; height: 34px; flex: 0 0 34px; }
.sf-word { font: 700 1.15rem var(--font-display); letter-spacing: .22em; background: linear-gradient(90deg, #D4A017, #F2D37A 45%, #B8860B); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.sf-header .main-nav a, .sf-header .dropbtn { color: rgba(255,255,255,.78); min-height: var(--tap); display: inline-flex; align-items: center; }
.sf-header .main-nav a:hover, .sf-header .dropbtn:hover { color: #fff; background: rgba(255,255,255,.08); }
.sf-header .main-nav a.active { color: #D4A017; }
.sf-header .header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sf-icon { width: var(--tap); height: var(--tap); display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; position: relative; }
.sf-icon:hover { border-color: var(--gold); color: #D4A017; background: rgba(255,255,255,.1); transform: none; }
.sf-header .cart-link { border-radius: 12px; width: var(--tap); height: var(--tap); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.sf-header .cart-badge { border-color: var(--navy); }
.sf-header .sf-search input { width: 240px; background-color: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; min-height: 40px; }
.sf-header .sf-search input::placeholder { color: rgba(255,255,255,.6); }
.sf-header .sf-search input:focus { width: 280px; }
#sfSearchBtn { display: none; }
.sf-menu { position: relative; }
.sf-menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow-md); padding: 14px; z-index: 120; display: grid; gap: 10px; }
.sf-menu-label { font: 600 .68rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.sf-menu-panel .lang-toggle { display: grid; grid-template-columns: 1fr 1fr; border-radius: 10px; }
.sf-menu-panel .lang-toggle a { min-height: var(--tap); font-size: .85rem; }
.sf-theme { width: 100%; height: auto; min-height: var(--tap); border-radius: 10px; gap: 10px; justify-content: flex-start; padding: 0 12px; font: 600 .88rem var(--font-sans); }
.sf-menu-links { display: grid; gap: 2px; border-top: 1px solid var(--border); padding-top: 8px; max-height: 50vh; overflow: auto; }
.sf-menu-links a { color: var(--text-2); padding: 10px 8px; border-radius: 8px; min-height: var(--tap); display: flex; align-items: center; }
.sf-menu-links a:hover { background: var(--surface-3); color: var(--gold); }
.sf-header .cat-bar { background: var(--bg); }
.rep-ref-bar { background: linear-gradient(90deg, #8B6914, #B8860B); color: #0a0a14; text-align: center; padding: 7px 12px; font-size: 13px; font-weight: 600; }
.cat-chip { min-height: 40px; display: inline-flex; align-items: center; }
@media (max-width: 1100px) {
  .sf-header .sf-search { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); z-index: 130; }
  .sf-header.search-open .sf-search { display: block; }
  .sf-header .sf-search input, .sf-header .sf-search input:focus { width: 100%; min-height: var(--tap); background-color: var(--surface); color: var(--text); border-color: var(--gold); box-shadow: var(--shadow-md); }
  #sfSearchBtn { display: inline-flex; }
}
@media (max-width: 980px) { .cat-chip { min-height: var(--tap); } }
@media (max-width: 420px) { .sf-word { font-size: 1rem; letter-spacing: .16em; } .sf-header .header-row { gap: 8px; } .sf-header .header-actions { gap: 4px; } }

/* home */
.sf-hero { padding: 56px 28px 48px; }
.sf-hero .hero-logo { width: min(360px, 72%); }
.sf-hero .hero-eyebrow { margin: 18px 0 10px; }
.sf-h1 { font: 700 clamp(1.6rem, 4.2vw, 2.6rem)/1.15 var(--font-display) !important; letter-spacing: -.015em !important; color: var(--text) !important; background: none !important; -webkit-text-fill-color: currentColor; max-width: 22ch; text-wrap: balance; }
.sf-proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 16px 0 4px; }
.sf-proof li { font: 600 .74rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--primary); border: 1px solid rgba(184,134,11,.35); background: color-mix(in oklab, var(--gold) 8%, transparent); padding: 7px 12px; border-radius: 999px; }
.sf-proof li::before { content: "✓ "; }
.sf-hero .hero-actions { margin-top: 22px; }
.sf-scope { font-size: .82rem !important; line-height: 1.55; color: var(--text-muted) !important; max-width: 62ch; margin: 22px auto 0 !important; }
.sf-scope a { white-space: nowrap; }
.sf-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sf-strip-card { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; color: var(--text); text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.sf-strip-card:hover { border-color: var(--gold); box-shadow: var(--card-hover-shadow); color: var(--text); }
.sf-strip-img { aspect-ratio: 1; display: grid; place-items: center; background: #fff; border-radius: 10px; overflow: hidden; }
.sf-strip-img img { width: 100%; height: 100%; object-fit: contain; }
.sf-strip-name { font: 600 .92rem/1.3 var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.sf-strip-price { font: 700 1rem var(--font-display); color: var(--primary); }
.sf-strip-price small { font: 500 .72rem var(--font-sans); color: var(--text-muted); }
@media (max-width: 760px) { .sf-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sf-hero { padding: 36px 18px 36px; } }

/* product */
.sf-coa { border: 1px solid rgba(184,134,11,.35); background: color-mix(in oklab, var(--gold) 6%, var(--surface)); border-radius: 12px; padding: 12px 14px; margin: 14px 0; display: grid; gap: 4px; }
.sf-coa p { margin: 0; font-size: .9rem; color: var(--text-2); }
.sf-coa-link { font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.sf-specs { margin: 22px 0 8px; }
.sf-specs h3 { margin-bottom: 8px; }
.sf-specs table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.sf-specs th { text-align: left; font: 600 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); padding: 9px 12px 9px 0; width: 42%; vertical-align: top; }
.sf-specs td { padding: 9px 0; color: var(--text); }
.sf-specs tr + tr th, .sf-specs tr + tr td { border-top: 1px solid var(--border); }
.size-chip { min-height: var(--tap); }

/* cart */
.sf-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.sf-cart-lines { display: grid; gap: 10px; }
.sf-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.sf-line-img { width: 72px; height: 72px; border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.sf-line-img img { width: 100%; height: 100%; object-fit: contain; }
.sf-line-name { font: 600 1rem/1.3 var(--font-display); color: var(--text); }
.sf-line-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; font-size: .85rem; color: var(--text-muted); }
.sf-line-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.sf-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; }
.sf-stepper button { width: var(--tap); height: var(--tap); border: 0; background: var(--surface-2); color: var(--primary); font-size: 1.2rem; cursor: pointer; }
.sf-stepper input { width: 48px; height: var(--tap); border: 0; text-align: center; background: transparent; color: var(--text); font: 600 1rem var(--font-sans); -moz-appearance: textfield; }
.sf-stepper input::-webkit-inner-spin-button, .sf-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sf-remove { background: none; border: 0; color: var(--danger); font-size: .85rem; cursor: pointer; min-height: var(--tap); padding: 0 6px; }
.sf-line-total { font: 700 1.05rem var(--font-display); white-space: nowrap; align-self: start; }
.sf-cart-summary { max-width: none; margin: 0; position: sticky; top: 100px; }
.sf-after { font-size: .85rem; color: var(--text-muted); margin: 10px 0 12px; }
.sf-block { width: 100%; }
@media (max-width: 860px) {
  .sf-cart { grid-template-columns: 1fr; }
  .sf-cart-summary { position: static; }
}
@media (max-width: 520px) {
  .sf-line { grid-template-columns: 60px minmax(0, 1fr); }
  .sf-line-img { width: 60px; height: 60px; }
  .sf-line-total { grid-column: 2; justify-self: start; }
}

/* checkout */
.sf-checkout { grid-template-columns: minmax(0, 1fr) 400px; }
.sf-checkout .checkout-form { order: 1; min-width: 0; }
.sf-co-summary { order: 2; }
.sf-co-summary > summary { list-style: none; cursor: default; font: 700 1rem var(--font-display); margin-bottom: 8px; }
.sf-co-summary > summary::-webkit-details-marker { display: none; }
.sf-checkout select { width: 100%; min-height: var(--tap); }
.sf-pay { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 14px; display: grid; gap: 8px; }
.sf-pay small { color: var(--text-muted); }
.sf-pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-chip { font: 600 .78rem var(--font-sans); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); }
.attest-all { display: flex; gap: 10px; align-items: center; font-weight: 700; padding: 10px 12px; margin: 6px 0 4px; border-radius: 10px; background: color-mix(in oklab, var(--gold) 8%, var(--surface)); border: 1px solid rgba(184,134,11,.35); min-height: var(--tap); cursor: pointer; }
.attest-all input, .attest-item input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--gold); }
@media (max-width: 980px) {
  .sf-checkout { grid-template-columns: 1fr; }
  .sf-co-summary { order: 0; position: static; padding: 14px 16px; }
  .sf-co-summary > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: var(--tap); margin: 0; }
  .sf-co-summary > summary::after { content: "▾"; color: var(--primary); }
  .sf-co-summary[open] > summary::after { content: "▴"; }
}

/* recovery (404 / empty search) */
.sf-recover { display: grid; gap: 14px; justify-items: center; text-align: center; }
.sf-recover-search { display: flex; gap: 8px; width: min(480px, 100%); }
.sf-recover-search input { flex: 1; min-width: 0; min-height: var(--tap); padding: 0 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font-size: 1rem; }

/* RUO notices: same words and contrast, less vertical space (brief §23 placements unchanged) */
.ruo-warning { padding: 10px 12px; gap: 8px; }
@media (max-width: 600px) { .ruo-warning { font-size: 12px; line-height: 1.45; } }
.sf-co-summary { max-width: none; margin: 0; width: 100%; box-sizing: border-box; }
.sf-checkout select { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0 12px; font: 500 .95rem var(--font-sans); margin-top: 6px; }

/* Sign-in card, header account link, and the navy footer that matches the app bar. */
.sf-signin { color: #fff; text-decoration: none; font: 600 .88rem var(--font-sans); min-height: var(--tap); display: inline-flex; align-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); white-space: nowrap; }
.sf-signin:hover { border-color: var(--gold); color: #D4A017; }
@media (max-width: 720px) { .sf-signin { display: none; } }
.product-name { font-family: var(--font-display); }
.product-cat { font-family: var(--font-mono); letter-spacing: .14em; }
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); border-top: 3px solid var(--gold); }
.site-footer .footer-grid h4 { color: #fff; font-family: var(--font-display); }
.site-footer .footer-grid p, .site-footer .footer-grid a, .site-footer .disclaimer { color: rgba(255,255,255,.72); }
.site-footer .footer-grid a:hover { color: #D4A017; }
.site-footer .disclaimer { border-top-color: rgba(255,255,255,.14); }
.login-card { padding: 36px 32px 28px; }
.login-card h1 { font-family: var(--font-display); letter-spacing: -.02em; }
.login-card form { gap: 14px; margin-top: 22px; }
.login-card input { min-height: 48px; width: 100%; box-sizing: border-box; }
.signin-brand { display: grid; justify-items: center; gap: 8px; text-decoration: none; margin-bottom: 6px; }
.signin-brand img { width: 64px; height: 64px; }
.signin-brand span { font: 700 1.2rem var(--font-display); letter-spacing: .22em; background: linear-gradient(90deg, #D4A017, #B8860B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signin-label { display: grid; gap: 6px; text-align: left; font: 600 .78rem var(--font-sans); color: var(--text-2); }
.signin-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.signin-link { background: none; border: 0; padding: 0; color: var(--gold-dark); font: 600 .9rem var(--font-sans); cursor: pointer; min-height: 44px; }
.signin-link:hover { color: var(--gold); }
.signin-more { text-align: left; border-top: 1px solid var(--border); padding-top: 8px; display: grid; gap: 12px; }
.signin-more summary { cursor: pointer; color: var(--gold-dark); font-weight: 600; min-height: 44px; display: flex; align-items: center; list-style: none; }
.signin-more summary::-webkit-details-marker { display: none; }
.signin-foot, .signin-lang { text-align: center; font-size: .88rem; margin: 4px 0 0; }
.signin-lang { display: flex; justify-content: center; gap: 14px; }
.login-note { background: var(--success-bg); color: var(--success); padding: 11px; border-radius: var(--radius-xs); text-align: center; border: 1px solid color-mix(in oklab, var(--success) 30%, transparent); margin-top: 16px; }
@media (max-width: 480px) { .login-card { padding: 28px 18px 22px; } }
