:root {
  --bg: #f6f0e4;
  --ink: #f4f6f8;
  --muted: #9aa3b2;
  --line: rgba(255,255,255,.14);
  --accent: #a9ae54;
  --card: #10141a;
  --photo: #c9c0b2;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body.locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.phone, .menu { display: none; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at 50% 18%, rgba(169,174,84,.16), transparent 52%), var(--bg);
}
.gate-card {
  width: min(460px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px 26px;
}
.gate-card h1, .gate-card h2 { margin: 8px 0 10px; font-size: 28px; font-weight: 500; letter-spacing: -.03em; text-align: center; }
.gate-card .brand { text-align: center; color: var(--accent); font-size: 22px; font-weight: 500; }
.gate-card p { color: var(--muted); text-align: center; line-height: 1.5; }
.gate-card input[type="email"] {
  width: 100%;
  height: 48px;
  margin: 8px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0 14px;
}
.ack { display: flex; gap: 10px; align-items: flex-start; text-align: left; margin: 0 0 10px; color: var(--ink); }
.ack span { color: var(--ink); font-size: 14px; line-height: 1.4; }
.gate-card .primary, .gate-card .ghost {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  margin-top: 8px;
  cursor: pointer;
}
.gate-card .primary { background: var(--accent); color: #14160c; border: 0; font-weight: 500; }
.gate-card .primary:disabled { opacity: .4; cursor: default; }
.gate-card .ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.gate-note { margin-top: 14px; font-size: 12px; }

.ruo {
  text-align: center;
  padding: 18px 20px 0;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5e594f;
}
header.desk { display: flex; justify-content: center; padding: 22px 16px 0; }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12,14,18,.94);
}
.brand { font-weight: 500; letter-spacing: -.03em; }
.nav a, .nav button {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav a.on, .nav a:hover, .nav button:hover { color: var(--ink); }
.cart {
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  background: transparent;
}

.hero { padding: 72px 0 20px; text-align: center; }
.hero h1 {
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(44px, 6.6vw, 92px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .96;
  color: #1c1b17;
}
.lead { margin: 22px auto 0; max-width: 36rem; color: #3f3b34; font-size: 18px; line-height: 1.45; }
.browse {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: #1c1b17;
}
.browse i {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #14160c; font-style: normal;
}
.ship { margin-top: 14px; color: #5e594f; font-size: 12px; letter-spacing: .04em; }

.label {
  display: flex; align-items: center; gap: 16px;
  margin: 48px 0 18px; color: #5e594f;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.label:after { content: ""; height: 1px; background: rgba(28,27,23,.18); flex: 1; }
.rail, .grid { display: grid; gap: 16px; }
.rail { grid-template-columns: repeat(4, 1fr); }
.grid { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
}
.photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 1 / 1.02;
  background: var(--photo);
  overflow: hidden;
  cursor: pointer;
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.42);
  pointer-events: none;
}
.meta { position: relative; z-index: 1; padding: 16px 16px 18px; }
.cat { color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.name-btn {
  display: block; width: 100%; margin: 8px 0 0; padding: 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-size: 22px; font-weight: 500; letter-spacing: -.03em;
}
.doses { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.doses button, .buy .doses button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}
.doses button.on { border-color: var(--accent); color: var(--accent); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.price { font-size: 14px; }
.add {
  margin-top: 14px; width: 100%; height: 42px;
  border-radius: 999px; border: 1px solid var(--accent);
  background: transparent; cursor: pointer;
}
.find { margin-top: 28px; }
.search {
  width: 100%; height: 56px; border-radius: 999px;
  border: 1px solid rgba(28,27,23,.22); background: transparent; padding: 0 22px; outline: none;
  color: #1c1b17;
}
.search:focus { border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  border: 1px solid rgba(28,27,23,.28); background: transparent; color: #1c1b17;
  border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.chip.on { background: var(--accent); color: #14160c; border-color: var(--accent); }
.empty { color: #3f3b34; margin-top: 24px; }
.pay { margin-top: 28px; color: #3f3b34; line-height: 1.55; }
.pay h2 { color: #1c1b17; font-weight: 500; letter-spacing: -.03em; }
footer { padding: 64px 0 48px; color: #5e594f; font-size: 12px; line-height: 1.6; }

.sheet {
  position: fixed; inset: 0; background: rgba(0,0,0,.62);
  display: none; align-items: center; justify-content: center;
  padding: 24px; z-index: 40;
}
.sheet.open { display: flex; }
.panel {
  width: min(920px, 100%);
  min-height: 0;
  max-height: 100%;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #07090c;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.panel .photo { aspect-ratio: auto; min-height: 460px; cursor: default; z-index: 0; }
.buy { position: relative; z-index: 1; padding: 36px 32px; display: flex; flex-direction: column; }
.buy h2 { margin: 12px 0 0; font-size: 48px; font-weight: 400; letter-spacing: -.04em; }
.buy .price { margin-top: 18px; font-size: 22px; }
.buy p { color: var(--muted); line-height: 1.5; }
#sheet-price + .cat { margin-top: 16px; }
.buy .about, .buy .benefit { color: var(--ink); margin: 8px 0 0; font-size: 15px; line-height: 1.5; }
.note-label { margin-top: 14px; }
.buy .fine { margin-top: 12px; font-size: 13px; }
.pay-box { margin-top: 14px; padding: 16px; border: 1px dashed rgba(255,255,255,.28); border-radius: 16px; text-align: center; }
.pay-box img { display: block; margin: 10px auto; background: #fff; border-radius: 8px; }
.pay-addr { word-break: break-all; font-size: 13px; line-height: 1.45; }
.pay-error { color: #ffb4b4; margin: 8px 0 0; }
body.live #region, body.live #regionMenu { display: none; }
.pay a { color: var(--accent); }
.close {
  margin-top: 18px; align-self: flex-start; background: none; border: 0;
  color: var(--muted); cursor: pointer; padding: 0;
}
.cart-panel { display: block; width: min(520px, 100%); padding: 28px 24px 32px; }
.cart-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line button { background: none; border: 0; color: var(--muted); cursor: pointer; }
.pay-panel { display: block; width: min(560px, 100%); padding: 28px 24px 18px; }
#pay-sheet .pay-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#pay-sheet #pay-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#pay-dock .add { margin-top: 4px; }
#pay-dock .close { margin-top: 12px; display: block; }
#pay-dock:empty { display: none; }
.pay-panel h2 { margin: 8px 0 16px; font-size: 40px; font-weight: 400; letter-spacing: -.04em; }
.field, .pay-panel select {
  width: 100%; height: 48px; margin: 0 0 10px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent; padding: 0 14px; outline: none;
}
.field:focus, .pay-panel select:focus { border-color: var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ack-line { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 14px; color: var(--muted); font-size: 14px; }
.pay-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 16px; }
.pay-tiles button {
  border: 1px solid var(--line); background: transparent; border-radius: 16px;
  padding: 16px 8px; cursor: pointer; text-align: center;
}
.pay-tiles button.on { border-color: var(--accent); color: var(--accent); }
.pay-tiles .sym { display: block; font-size: 22px; margin-bottom: 6px; }
.pay-tiles small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.sample {
  border: 1px dashed var(--line); border-radius: 16px; padding: 18px; margin: 12px 0;
  color: var(--muted); line-height: 1.5;
}
.sample b { color: var(--ink); font-weight: 500; }
.pay-nav { display: flex; gap: 10px; margin-top: 8px; }
.pay-nav .add { margin-top: 0; }
.ghost {
  height: 42px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); padding: 0 16px; cursor: pointer;
}
.add:disabled { opacity: .4; cursor: default; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .rail, .grid { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel .photo { min-height: 280px; }
  .hero { padding-top: 40px; }
  .photo img { transform: scale(1.08); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .ruo { font-size: 10px; letter-spacing: .08em; padding: 14px 16px 0; }
  header.desk { display: none; }
  .phone { display: block; position: sticky; top: 8px; z-index: 30; padding: 8px 12px 0; }
  #search { scroll-margin-top: 112px; }
  .phone-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 52px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(12,14,18,.94);
  }
  .phone-bar button { background: none; border: 0; color: var(--ink); padding: 0; cursor: pointer; }
  .phone-bar .cart { justify-self: end; border: 0 !important; }
  .phone-bar .brand { font-size: 18px; text-align: center; }
  .menu.open {
    display: block; position: fixed; inset: 0; z-index: 25;
    padding: 76px 12px 16px; background: rgba(0,0,0,.28);
  }
  .menu-card {
    height: 100%; overflow: auto; padding: 28px 22px 32px;
    border-radius: 28px; border: 1px solid rgba(255,255,255,.18);
    background: rgba(16,20,26,.96);
  }
  .menu-card .kicker { margin: 18px 0 8px; color: var(--muted); font-size: 12px; letter-spacing: .16em; }
  .menu-card a, .menu-card button.link {
    display: block; width: 100%; text-align: left; background: none; border: 0;
    color: var(--ink); font-size: 28px; letter-spacing: -.03em; padding: 7px 0; cursor: pointer;
  }
  .hero { padding: 28px 0 8px; }
  h1 { font-size: 40px; }
  .lead { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card { display: flex; flex-direction: column; }
  .card .meta { order: 1; }
  .card .photo { order: 2; }
  .card .add { display: none; }
  .photo { aspect-ratio: 1 / 1.05; }
  .photo img { object-fit: cover; object-position: center 42%; transform: scale(1.42); }
  .rail {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    padding-bottom: 6px;
  }
  .rail .card { flex: 0 0 86%; scroll-snap-align: start; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; gap: 0; padding: 6px;
    border-radius: 999px; border: 1px solid rgba(28,27,23,.16);
    background: rgba(255,255,255,.45);
  }
  .chip { flex: 0 0 auto; border: 0; }
  .sheet { padding: 10px; align-items: flex-end; z-index: 50; }
  .panel {
    border-radius: 20px;
    max-height: 100%;
    max-height: calc(100dvh - 20px);
  }
  #sheet.sheet { padding: 0; align-items: stretch; z-index: 70; background: #07090c; }
  #sheet .panel {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #sheet .photo { flex: 0 0 auto; min-height: 0; height: 232px; aspect-ratio: auto; }
  #sheet .photo img { transform: scale(1.08); object-position: center 42%; }
  #sheet .buy {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 16px 18px 28px;
  }
  #sheet .buy h2 { font-size: 32px; }
  #sheet .buy-actions { position: static; }
}
