/* Droplist website. Tokens mirror the iOS app: dark ground, white product tiles, glass cards, Apotek Extended type. */

@font-face { font-family: "Apotek"; src: url("/fonts/light.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Apotek"; src: url("/fonts/regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Apotek"; src: url("/fonts/medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Apotek"; src: url("/fonts/semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Apotek"; src: url("/fonts/bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Apotek"; src: url("/fonts/black.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  --bg: #212121;          /* TESTTEST dark */
  --bg-deep: #191919;
  --card: #2c2c2c;        /* INFO dark */
  --tag: #404040;         /* TAGS dark */
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.14);
  --text: #ffffff;
  --muted: #a3a3a8;
  --faint: #6e6e73;
  --green: #33cf67;
  --green-dim: rgba(51,207,103,.18);
  --red: #ff5f5f;
  --white: #ffffff;
  --font: "Apotek", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r-xl: 26px; --r-lg: 22px; --r-md: 16px; --r-sm: 10px;
  --wrap: 1120px;
  --glass-bg: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.1);
  --shadow: 0 18px 48px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 400; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 64px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap.narrow { max-width: 620px; }
svg { width: 1em; height: 1em; flex: none; }

/* ---------- top bar (glass) ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(33,33,33,.72); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { height: 26px; width: auto; }
.links { display: flex; gap: 22px; margin-left: 10px; }
.links a { font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 0; }
.links a:hover, .links a[aria-current] { color: var(--text); }
.top .btn { margin-left: auto; }

/* ---------- buttons, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 16px; border-radius: 999px; padding: 15px 22px; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn.white { background: var(--white); color: #111; }
.btn.white:hover { background: #ededed; }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn.stockx { background: #006340; color: #fff; }
.btn.stockx img { height: 20px; width: 20px; }
.btn.stockx:hover { background: #007a4f; }
.btn.ghost { background: var(--glass-bg); border-color: var(--glass-border); color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 5px; background: var(--tag); color: var(--text); font-weight: 600; font-size: 12.5px; padding: 6px 10px; border-radius: 9px; line-height: 1; white-space: nowrap; }
.pill.green { background: var(--green-dim); color: var(--green); }
.pill.type { font-weight: 500; font-size: 11.5px; letter-spacing: .05em; color: var(--muted); }
a.pill { transition: background .15s ease, color .15s ease; }
a.pill:hover { background: var(--line-2); }
.pills.browse { gap: 8px; margin-bottom: 10px; }
.pills.browse .pill { font-size: 13px; padding: 8px 12px; }
.pills.browse .pill em { font-style: normal; color: var(--faint); font-weight: 500; margin-left: 2px; }
.card.faq h3 { font-size: 15px; font-weight: 700; margin: 0 0 4px; color: var(--text); }
.card.faq p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.card.faq p:last-child { margin-bottom: 0; }
.raffle-block { margin-bottom: 30px; }
.raffle-block .retailers { margin-top: 8px; }
.pill.quiet { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.pill svg { width: 13px; height: 13px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pills.lead { margin: 10px 0 18px; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; white-space: nowrap; gap: 10px; background: var(--white); color: #111; border-radius: 14px; padding: 10px 18px 10px 14px; min-width: 176px; font-weight: 700; font-size: 17px; line-height: 1.05; transition: transform .15s ease; }
.store:hover { transform: translateY(-2px); }
.store .ico { width: 26px; height: 26px; }
.store .ico svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 10.5px; font-weight: 500; color: #555; letter-spacing: .02em; margin-bottom: 1px; }

/* ---------- glass + cards ---------- */
.glass, .card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--r-lg); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.card { padding: 18px 20px; margin-top: 12px; color: #e8e8ea; font-size: 15px; }
.card.quiet { color: var(--muted); font-size: 13px; }
.card.disclosure { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--faint); }
.card.disclosure svg { width: 16px; height: 16px; margin-top: 2px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { font-weight: 600; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--muted); max-width: 52ch; margin-top: 18px; }
.fine { font-size: 13px; color: var(--faint); margin-top: 14px; }
.stats { margin-top: 22px; gap: 8px; }
.pill.stat { font-size: 13px; padding: 8px 12px; gap: 7px; font-weight: 600; }
.pill.stat svg { width: 15px; height: 15px; }

.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 235px; border-radius: 28px; background: #0b0b0c; padding: 7px; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08) inset; overflow: hidden; }
.phone img { width: 100%; height: auto; display: block; border-radius: 22px; }
.phone.p1 { left: 8%; top: 40px; transform: rotate(-6deg); z-index: 2; }
.phone.p2 { left: 36%; top: 0; z-index: 3; width: 250px; }
.phone.p3 { left: 64%; top: 60px; transform: rotate(6deg); z-index: 1; }
.phone.p4 { display: none; }
.phone.solo { position: static; width: 260px; margin: 0 auto; transform: none; }

/* ---------- sections ---------- */
.section { padding: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; }
.more:hover { color: var(--text); }
h2.center { text-align: center; margin-bottom: 22px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 12px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-tile { position: relative; aspect-ratio: 4/3; border-radius: var(--r-xl); overflow: hidden; background: var(--card) center/cover no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: transform .2s ease; }
.brand-tile:hover { transform: translateY(-3px); }
.brand-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78)); }
.brand-tile span { position: absolute; left: 22px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.brand-tile strong { font-size: 26px; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; }
.brand-tile em { font-style: normal; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.feature .fi { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border); margin-bottom: 16px; }
.feature .fi svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 34px; }
.cta p { color: var(--muted); margin-top: 8px; max-width: 48ch; }
.cta .stores { margin-top: 0; }

/* ---------- page heads ---------- */
.page-head { padding: 36px 0 8px; }
.page-head.slim { padding: 18px 0 0; }
.page-head.center { text-align: center; padding: 64px 0 40px; }
.page-head .sub { color: var(--muted); font-size: 16px; margin-top: 8px; }
.app-icon { border-radius: 22px; margin: 0 auto 18px; box-shadow: var(--shadow); }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: 14px; }
.crumbs a:hover { color: var(--text); }

.chips { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.chip.on { background: var(--white); color: #111; border-color: var(--white); }
.chip svg { width: 15px; height: 15px; }

/* ---------- list ---------- */
.list { padding-top: 10px; }
.dayhead { display: flex; align-items: baseline; gap: 10px; font-size: 22px; margin: 26px 0 12px; }
.dayhead em { font-style: normal; font-weight: 700; color: var(--faint); font-size: 18px; text-transform: uppercase; letter-spacing: .02em; }
.day.hide, .drop.hide { display: none; }

.drop { position: relative; display: grid; grid-template-columns: 116px 1fr auto; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; margin-bottom: 10px; transition: transform .15s ease, border-color .15s ease; }
.drop:hover { transform: translateY(-2px); border-color: var(--line-2); }
.drop.instock { border-color: rgba(51,207,103,.6); box-shadow: 0 0 0 1px rgba(51,207,103,.25); background: linear-gradient(90deg, rgba(51,207,103,.14), var(--card) 60%); }
.drop .tile { display: block; width: 116px; height: 116px; background: var(--white); border-radius: var(--r-md); overflow: hidden; }
.drop .tile img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.drop .body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.drop .name { font-weight: 700; font-size: 17px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drop .badge { align-self: flex-start; background: var(--green); color: #082a14; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.drop .chev { color: var(--faint); width: 22px; height: 22px; }
.drop .chev svg { width: 22px; height: 22px; }
.drop.small { grid-template-columns: 84px 1fr auto; padding: 10px; }
.drop.small .tile { width: 84px; height: 84px; }
.drop.small .name { font-size: 15px; }
.stack .drop { margin-bottom: 8px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- product ---------- */
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: start; }
.hero-tile { position: sticky; top: 84px; background: var(--white); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow); }
.hero-tile > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumb { width: 64px; height: 64px; border-radius: 12px; border: 2px solid #eee; background: #fff; padding: 4px; cursor: pointer; }
.thumb.on { border-color: #111; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: clamp(28px, 4vw, 40px); }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cell.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.cell.wide .cv { margin-left: auto; }
.cell .ci { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--text); }
.cell .ci svg { width: 18px; height: 18px; }
.cell .ck { color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.cell .cv { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.cell.wide .ck { display: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.actions .btn { flex: 1 1 200px; }
.h2 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 26px 0 10px; }

.retailer { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--r-lg); padding: 12px; margin-bottom: 8px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: transform .15s ease; }
.retailer:hover { transform: translateY(-2px); }
.retailer .logo { width: 56px; height: 56px; background: var(--white); border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.retailer .logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
.retailer .logo.dark { background: #111; }
.retailer .logo.dark img { padding: 12px; }
.retailer .body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.retailer .name { font-weight: 700; font-size: 16px; }
.retailer .time { font-size: 13px; color: var(--muted); font-weight: 500; }
.retailer .time.open { color: var(--green); }
.retailer .time.closed { color: var(--red); }
.retailer .region { font-size: 10.5px; font-weight: 700; border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 5px; margin-left: 4px; color: var(--muted); }
.retailer .chev { color: var(--faint); }
.retailer .chev svg { width: 20px; height: 20px; }

/* ---------- brand landing ---------- */
.brand-hero { position: relative; padding: 110px 0 60px; background: var(--bg-deep) center/cover no-repeat; }
.brand-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,33,33,.55), rgba(33,33,33,.92) 70%, var(--bg)); }
.brand-hero .wrap { position: relative; }
.brand-hero h1 { text-transform: uppercase; }
.brand-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.brand-copy { padding: 30px; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ticks svg { color: var(--green); margin-top: 3px; }

/* ---------- footer, tab bar ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 120px; margin-top: 30px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; }
.foot-links a { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.foot-links a:hover { color: var(--text); }
.foot-note { color: var(--faint); font-size: 12px; max-width: 70ch; margin-top: 6px; }

.tabbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .phones { height: 440px; }
  .phone { width: 190px; }
  .phone.p2 { width: 204px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .hero-tile { position: static; padding: 16px; }
  .brand-grid { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .links, .top .btn { display: none; }
  .top .wrap { height: 58px; }
  .hero { padding-top: 32px; }
  h1 { font-size: 38px; }
  /* On phones the three frames become a swipeable strip instead of a stacked fan. */
  .phones { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 0 14px; margin: 26px -16px 0; padding-inline: 16px; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phone { position: static; flex: 0 0 156px; width: 156px; transform: none; scroll-snap-align: center; border-radius: 22px; padding: 5px; }
  .phone img { border-radius: 18px; }
  .phone.p1, .phone.p2, .phone.p3, .phone.p4 { display: block; left: auto; top: auto; width: 156px; transform: none; }
  .phone.solo { width: 220px; }
  .brands { grid-template-columns: 1fr; }
  .brand-tile { aspect-ratio: 16/9; }
  .features { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 84%; }
  .drop { grid-template-columns: 96px 1fr auto; }
  .drop .tile { width: 96px; height: 96px; }
  .cells { grid-template-columns: 1fr 1fr; }
  .cell .cv { font-size: 15px; }
  .store { min-width: auto; flex: 1 1 auto; font-size: 15px; padding: 10px 12px; }
  .tabbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: rgba(44,44,44,.72); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); border: 1px solid var(--glass-border); border-radius: 26px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
  .tabbar a { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; font-weight: 700; padding: 12px 0; border-radius: 18px; }
  .tabbar a[aria-current] { color: #111; background: var(--white); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- text pages (About, Terms, Privacy) ---------- */
.prose { font-size: 16px; line-height: 1.6; color: #e8e8ea; }
.prose h1 { display: none; }              /* the page head already carries the title */
.prose p { margin: 0 0 16px; }
.prose p:empty { display: none; }
.prose em { color: var(--muted); }
.prose strong { color: var(--text); }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.prose a:hover { text-decoration-color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose li p { margin: 0; }

/* ---------- contact form ---------- */
.contact { display: grid; gap: 16px; padding: 24px; }
.contact label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; color: var(--muted); }
.contact .lbl { display: block; }
.contact .req { font-weight: 500; color: var(--faint); }
.contact .hide-label { visibility: hidden; }
.contact input, .contact textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; outline: none; }
.contact input:focus, .contact textarea:focus { border-color: var(--text); }
.contact textarea { resize: vertical; min-height: 140px; }
.contact .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact .btn { justify-self: start; }
.contact [data-status] { min-height: 1em; }
.contact.sent .btn { background: var(--green-dim); color: var(--green); pointer-events: none; }
@media (max-width: 640px) { .contact .row2 { grid-template-columns: 1fr; } .contact .hide-label { display: none; } }

/* ---------- product price cell ---------- */
.cell .cs { font-size: 12px; color: var(--faint); font-weight: 500; margin-top: -4px; }
.cell .cs:empty { display: none; }
.retailer .logo .glyph { display: inline-flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #111; }
.retailer .logo .glyph svg { width: 24px; height: 24px; }

/* ---------- embedded contact form ---------- */
/* The Squarespace page is shown through a window that starts below its header bar and ends
   under the Submit button, so only the form itself is visible. Measured at 343px and 570px:
   header bar 0 to 72, form 97 to 604. */
.embed { position: relative; height: 540px; padding: 0; overflow: hidden; background: #fff; }
.embed iframe { position: absolute; top: -12px; left: 0; width: 100%; height: 1100px; border: 0; }
.fine.center { text-align: center; }
.fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
