:root {
  --ink: #12110f;
  --ink-2: #2a2722;
  --muted: #6f6a62;
  --line: #e7e1d6;
  --cream: #f6f2ea;
  --paper: #fffcf7;
  --accent: #d36b18;
  --accent-2: #b35610;
  --ok: #3d5348;
  --shadow: 0 18px 50px rgba(18, 17, 15, 0.08);
  --radius: 18px;
  --max: 1180px;
  --sans: "Sora", "Inter", system-ui, sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.gate {
  position: fixed; inset: 0; z-index: 80;
  background: #0c0b0a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 80L80 0' stroke='%231b1916' stroke-width='1'/%3E%3C/svg%3E");
  color: #f4efe6;
  display: grid; place-items: center;
  padding: 24px;
}
.gate[hidden] { display: none; }
.gate-card { width: min(520px, 100%); text-align: center; }
.gate-card .brand { justify-content: center; margin-bottom: 28px; }
.gate-card p { color: #c9c0b3; }
.gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.fine { font-size: 12px; color: #9a9186; margin-top: 18px; }

.topbar {
  background: var(--ink);
  color: #efe8dc;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar b { color: #f0b27a; font-weight: 600; }

header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,252,247,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .12em; }
.brand .logo { height: 36px; width: auto; display: block; }
.brand .logo-light { height: 32px; }
.brand span { font-size: 22px; }
.brand em { font-style: normal; color: var(--accent); font-size: 12px; letter-spacing: .28em; }

nav.main { display: flex; gap: 22px; font-size: 14px; }
nav.main a { color: var(--ink-2); }
nav.main a:hover, nav.main a.active { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  height: 40px; padding: 0 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.cart-count {
  background: var(--ink); color: #fff; border-radius: 99px;
  min-width: 18px; height: 18px; font-size: 11px; display: grid; place-items: center;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer;
  font-weight: 600; letter-spacing: .02em;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-wide { width: 100%; }

.hero {
  padding: 72px 0 40px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.kicker { color: var(--accent); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; margin: 8px 0 14px; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
.lede { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 10px; margin: 26px 0 18px; flex-wrap: wrap; }
.meta-row { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.meta-row strong { color: var(--ink); display: block; font-size: 14px; }

.vial-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 420px;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vial {
  width: 128px; border-radius: 14px 14px 10px 10px;
  color: #fff; padding: 16px 12px 28px;
  transform: translateY(18px);
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
}
.vial small { display: block; opacity: .75; font-size: 10px; letter-spacing: .16em; }
.vial b { display: block; margin-top: 28px; font-size: 13px; line-height: 1.25; }
.vial .cap { height: 14px; background: #111; border-radius: 6px; margin: -8px -6px 12px; }
.vial em { font-style: normal; font-size: 11px; opacity: .85; }

.strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.strip div { padding: 22px 8px; text-align: center; font-size: 13px; }
.strip strong { display: block; font-size: 14px; }

.section { padding: 72px 0; }
.section.alt { background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }

.cat-grid, .card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cat-card, .product-card, .panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.cat-card { padding: 0; min-height: 220px; display: flex; flex-direction: column; }
.cat-art {
  height: 120px; display: grid; place-items: center;
  font-size: 42px; color: #fff;
}
.cat-card .body { padding: 16px 18px 18px; }
.cat-card h3 { font-size: 22px; margin: 0 0 6px; }
.cat-card p { margin: 0; color: var(--muted); font-size: 14px; }

.product-card .art {
  height: 240px; display: grid; place-items: center; position: relative;
  background: #f7f4ee; overflow: hidden;
}
.product-photo {
  width: 100%; height: 240px; object-fit: cover; object-position: center;
  display: block;
}
.product-photo-lg {
  width: 100%; height: 100%; max-height: 560px; object-fit: contain;
  background: #f7f4ee;
}
.mini-vial {
  width: 92px; min-height: 150px; border-radius: 12px 12px 8px 8px; color: #fff;
  padding: 12px 10px 16px; text-align: left;
}
.mini-vial .cap { height: 10px; background: #111; border-radius: 5px; margin-bottom: 10px; }
.mini-vial b { font-size: 12px; display: block; line-height: 1.2; }
.chip {
  position: absolute; top: 12px; right: 12px;
  background: var(--ink); color: #fff; font-size: 11px;
  border-radius: 99px; padding: 4px 8px;
}
.chip.soft { background: #fff; color: var(--ink); border: 1px solid var(--line); left: 12px; right: auto; }
.product-card .body { padding: 16px 16px 18px; }
.product-card h3 { font-size: 20px; margin: 0 0 4px; }
.sub { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price { font-size: 22px; font-weight: 700; }
.permg { font-size: 12px; color: var(--muted); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filters button {
  border: 1px solid var(--line); background: #fff; border-radius: 99px;
  padding: 8px 14px; cursor: pointer;
}
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.pdp { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; padding: 40px 0 20px; }
.pdp-art {
  background: #f7f4ee;
  border: 1px solid var(--line); border-radius: 28px;
  min-height: 520px; display: grid; place-items: center;
  overflow: hidden;
}
.big-vial { width: 180px; min-height: 280px; padding: 20px 16px 30px; border-radius: 16px; color: #fff; }
.big-vial .cap { height: 16px; background: #111; border-radius: 7px; margin-bottom: 16px; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; margin: 18px 0; }
.spec th, .spec td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.spec td:last-child, .spec th:last-child { text-align: right; color: var(--ink); }
.notice {
  background: #f4efe6; border-radius: 14px; padding: 14px 16px; font-size: 13px; color: var(--ink-2);
}
.coa-box {
  border: 1px dashed var(--ink-2); border-radius: 14px; padding: 16px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 16px 0;
}

table.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
table.compare th { background: var(--ink); color: #fff; font-weight: 500; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 22px; }
ol.steps { padding-left: 18px; }
ol.steps li { margin: 10px 0; }

form.stack { display: grid; gap: 10px; }
form.stack input, form.stack textarea, form.stack select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff;
}
.cart-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer {
  position: fixed; right: 0; top: 0; height: 100%; width: min(420px, 100%);
  background: #fff; z-index: 60; box-shadow: -20px 0 60px rgba(0,0,0,.12);
  padding: 22px; overflow: auto; transform: translateX(110%); transition: .25s ease;
}
.drawer.open { transform: none; }
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 50; display: none; }
.backdrop.show { display: block; }

footer {
  background: var(--ink); color: #d9d1c5; padding: 48px 0 28px; margin-top: 20px;
}
footer a { color: #f0b27a; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer h4 { color: #fff; margin: 0 0 10px; font-family: var(--sans); letter-spacing: 0; }
.legal-bar { border-top: 1px solid #2b2926; margin-top: 28px; padding-top: 16px; font-size: 12px; color: #9b9388; }

@media (max-width: 900px) {
  .hero, .pdp, .two, .cat-grid, .card-grid, .strip, .foot-grid { grid-template-columns: 1fr; }
  nav.main { display: none; }
  .vial-stage { min-height: 280px; }
  header.site .wrap { min-height: 64px; }
}
