/* budtender.retrobakery.net
   Tokens come from the live storefront (retrobakery.net theme computed styles,
   2026-10-07): black header, white body, Figtree headings 600-800 with tight
   tracking, Inter body, brand yellow #fbb040 / orange #f7941d, lime #d8f120 on
   hover, dark pill buttons uppercase Figtree. Yellow and orange are fills and
   rules only; text stays ink. Every text color here clears 4.5:1 on its
   background. */

:root {
  --ink: #161616;
  --text: #2b2b2b;
  --muted: #5d5d5d;
  --line: #e9e9e9;
  --bg: #ffffff;
  --alt: #f6f6f6;
  --cream: #f7f0dd;
  --cream-deep: #efe5c6;
  --yellow: #fbb040;
  --orange: #f7941d;
  --burnt: #d6611c;
  --lime: #d8f120;
  --black: #000000;
  --btn: #252324;
  --ok: #1f7a3a;
  --bad: #b3261e;
  --head: "Figtree", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --r: 12px;
  --wrap: 1120px;
  --bottom-nav: 60px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--body);
  min-height: 100dvh;
  padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
}
body.gated > :not(#gate) { visibility: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(30px, 6vw, 46px); font-weight: 800; }
h2 { font-size: clamp(22px, 3.4vw, 28px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
small { font-size: .85em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; border-radius: 6px; }
.skip:focus { top: 8px; }

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--btn);
  background: var(--btn); color: #fff; font: 700 13px/1 var(--head); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.btn.alt { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.alt:hover { background: var(--orange); border-color: var(--orange); }
.btn.ghost { background: transparent; color: var(--ink); border-color: #cfcfcf; }
.btn.ghost:hover { background: var(--cream); border-color: var(--yellow); color: var(--ink); }
.btn.sm { min-height: 40px; padding: 8px 14px; }
.chip, .fchip {
  display: inline-block; padding: 7px 11px; border-radius: 8px; font: 600 13px/1.2 var(--body);
  background: var(--orange); color: var(--ink);
}
.chip.ghost { background: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.kicker { font: 700 12px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--burnt); margin: 0 0 10px; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- high-dose fence ---------- */
.restrict { background: #fbeae9; border: 1px solid #e4a9a4; border-left: 5px solid var(--bad); color: #5c1a16; border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.45; margin: 6px 0 14px; }
.restrict b { color: var(--bad); display: block; margin-bottom: 2px; font-family: var(--head); }
.restrict.big { font-size: 16px; }
.chip.bad { background: var(--bad); color: #fff; }
.sticker.bad { background: var(--bad); color: #fff; }
.group-restricted { border-top: 4px solid var(--bad); padding-top: 14px; }
.group-restricted .pcard { border-color: #e4a9a4; }

/* ---------- gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; background: var(--black); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gate[hidden] { display: none; }
.gate-card { background: #fff; color: var(--text); border-radius: 16px; padding: 28px 24px; max-width: 480px; width: 100%; }
.gate-k { font: 700 12px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--burnt); margin: 0 0 8px; }
.gate-card h1 { font-size: 32px; margin: 0 0 8px; }
.gate-p { color: var(--muted); }
.gate-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.gate-warning { font-size: 12px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin: 0; }

/* ---------- header ---------- */
.site-head { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 40; }
.head-row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 60px; gap: 8px; }
.brand { grid-column: 2; justify-self: center; display: flex; align-items: center; min-height: 44px; }
.brand img { height: 38px; width: auto; }
.top-nav { display: none; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.icon-btn:hover { color: var(--lime); }
.menu-btn { grid-column: 1; }
.menu-btn .menu-word { display: none; }
.search-btn { grid-column: 3; }

/* ---------- site menu (drawer, every size) ---------- */
.menu-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 60; }
.menu-backdrop[hidden] { display: none; }
.site-menu {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 61; width: min(100%, 400px); background: #fff; color: var(--ink);
  display: flex; flex-direction: column; box-shadow: 10px 0 40px rgba(0,0,0,.3); overflow: hidden;
  animation: menu-in .18s ease-out;
}
.site-menu[hidden] { display: none; }
@keyframes menu-in { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 10px 20px; background: var(--black); color: #fff; min-height: 60px; border-bottom: 6px solid; border-image: linear-gradient(90deg, var(--yellow) 0 33.3%, var(--orange) 33.3% 66.6%, var(--burnt) 66.6%) 1; }
.menu-k { font: 700 12px/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 0; }
.menu-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 12px calc(24px + env(safe-area-inset-bottom)); flex: 1; }
.menu-group { padding: 12px 0 6px; border-bottom: 1px solid var(--line); }
.menu-group:last-child { border-bottom: 0; }
.menu-group h2 { font: 700 11px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--burnt); margin: 0 8px 4px; }
.menu-group > a { display: block; padding: 10px 8px; border-radius: 10px; text-decoration: none; min-height: 44px; }
.menu-group > a b { display: block; font: 700 17px/1.2 var(--head); color: var(--ink); }
.menu-group > a span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; line-height: 1.35; }
.menu-group > a:hover { background: var(--cream); }
.menu-group > a.on { background: var(--yellow); }
.menu-group > a.on span { color: var(--ink); }
.menu-ext { display: flex; flex-wrap: wrap; gap: 0 10px; padding: 2px 4px 0; }
.menu-ext a { font: 600 14px/1.2 var(--body); display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
body.menu-open { overflow: hidden; }
.site-head .head-search { grid-column: 1 / -1; display: none; padding: 0 0 12px; }
body.search-open .site-head .head-search { display: flex; }
.stripe { height: 6px; background: linear-gradient(90deg, var(--yellow) 0 33.3%, var(--orange) 33.3% 66.6%, var(--burnt) 66.6%); }
.search { display: flex; gap: 8px; }
.search input {
  flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px; border: 1px solid #cfcfcf; border-radius: 999px;
  font: 400 16px/1.2 var(--body); color: var(--ink); background: #fff;
}
.search input::placeholder { color: #767676; }
.search.big input { min-height: 52px; font-size: 17px; }
.search.big .btn { min-height: 52px; }

/* ---------- bottom nav (phone and tablet) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: var(--black); display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #222;
}
.bottom-nav a, .bottom-nav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: #d9d9d9; text-decoration: none; font: 600 11px/1 var(--head); letter-spacing: .02em; background: transparent; border: 0; cursor: pointer; min-height: var(--bottom-nav);
}
.bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav .on, .bottom-nav a:hover, .bottom-nav button:hover { color: var(--lime); }
.bottom-nav button[aria-expanded="true"] { color: var(--yellow); }

/* ---------- main ---------- */
main { padding: 24px 16px 40px; min-height: 50vh; }
.page-head { margin: 8px 0 20px; }
.page-head h1 { margin-bottom: 8px; }
.block { margin: 36px 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.block-head a { font-weight: 600; }
.hero { padding: 18px 0 8px; }
.hero h1 { max-width: 24ch; }
.hero .search { margin-top: 18px; max-width: 640px; }
/* ---------- level-up path (home) ---------- */
.path { margin: 28px 0 8px; }
.path-head h2 { font-size: clamp(22px, 5.5vw, 30px); max-width: 24ch; margin: 2px 0 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.step a {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; padding: 14px 16px 14px 12px;
  background: var(--ink); color: #fff; border-radius: var(--r); text-decoration: none; min-height: 44px; position: relative; overflow: hidden;
}
.step a:hover { background: #222; }
.step-n { width: 48px; height: 48px; border-radius: 999px; background: var(--yellow); color: var(--ink); font: 800 22px/48px var(--head); text-align: center; }
.step:nth-child(2) .step-n { background: var(--orange); }
.step:nth-child(3) .step-n { background: var(--burnt); color: #fff; }
.step-swag .step-n { background: var(--lime); }
.step-body b { display: block; font: 800 20px/1.15 var(--head); letter-spacing: -.01em; }
.step-body > span { display: block; color: #d9d9d9; font-size: 14px; line-height: 1.4; margin-top: 4px; }
.step-body em { display: inline-block; font: 700 11px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-top: 10px; font-style: normal; }
.step-swag a { background: var(--yellow); color: var(--ink); }
.step-swag a:hover { background: #ffc85e; }
.step-swag .step-body > span { color: var(--ink); }
.step-swag .step-body em { color: var(--burnt); }
.doors { display: grid; gap: 12px; margin: 28px 0; }
.door {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: start;
  padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; min-height: 44px;
}
.door:hover { border-color: var(--yellow); background: var(--cream); }
.door-k { grid-row: 1 / 3; font: 800 22px/1 var(--head); color: var(--burnt); padding-top: 2px; }
.door-t { font: 700 20px/1.2 var(--head); color: var(--ink); }
.door-p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 28px; }
.fact { background: var(--cream); border-radius: var(--r); padding: 14px 14px 12px; }
.fact b { display: block; font: 800 30px/1 var(--head); color: var(--ink); letter-spacing: -0.02em; }
.fact span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.three { display: grid; gap: 12px; }
.three-item { border-left: 4px solid var(--orange); padding: 2px 0 2px 14px; }
.three-item h3 { margin-bottom: 4px; }
.three-item p { margin: 0; color: var(--text); }
.more-doors { display: grid; gap: 10px; }
.mini { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; min-height: 44px; }
.mini:hover { border-color: var(--yellow); background: var(--cream); }
.mini b { display: block; font: 700 17px/1.2 var(--head); color: var(--ink); }
.mini span { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }

/* ---------- lineup ---------- */
.filters { margin: 14px 0 6px; }
.frow { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.frow::-webkit-scrollbar { display: none; }
.fchip { background: var(--alt); color: var(--ink); text-decoration: none; white-space: nowrap; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); }
.fchip small { color: var(--muted); font-weight: 600; }
.fchip:hover { border-color: var(--yellow); background: var(--cream); }
.fchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fchip.on small { color: #d9d9d9; }
.group { margin: 28px 0 8px; scroll-margin-top: 80px; }
.group-head p { color: var(--muted); max-width: 70ch; margin-top: -2px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 12px 0; }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; background: #fff; }
.pcard:hover { border-color: var(--yellow); }
.pcard-img { position: relative; aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 8px; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; }
.tile { width: 100%; height: 100%; border-radius: 8px; background: var(--tile, var(--orange)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.tile span { font: 800 15px/1.1 var(--head); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.sticker { position: absolute; top: 10px; left: 10px; background: var(--lime); color: var(--ink); font: 800 11px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 999px; }
.pcard-body { padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.pcard-group { font: 700 11px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--burnt); }
.pcard-name { font-size: 16px; margin: 4px 0 6px; }
.pcard-dose { font-size: 13px; color: var(--text); }
.empty { padding: 30px 0; color: var(--muted); }

/* ---------- product ---------- */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a, .block-head a, .fine a, .why a, .prose p a, .pcard-group a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.crumbs span { margin: 0 6px; }
.product { display: grid; gap: 20px; }
.product-media { border: 1px solid var(--line); border-radius: var(--r); padding: 10px; background: #fff; }
.product-media img, .product-media .tile { aspect-ratio: 1; width: 100%; object-fit: contain; }
.product h1 { font-size: clamp(26px, 5vw, 38px); }
.say { background: var(--cream); border-radius: var(--r); padding: 14px 16px; margin: 0 0 18px; }
.say h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--burnt); margin: 0 0 6px; }
.say p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--ink); }
.facts-list { margin: 0 0 18px; display: grid; gap: 0; }
.facts-list > div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts-list > div:last-child { border-bottom: 1px solid var(--line); }
.facts-list dt { font: 700 13px/1.4 var(--head); color: var(--muted); letter-spacing: .02em; }
.facts-list dd { margin: 0; }
.facts-list.no dt { color: var(--bad); }
.sub { font-size: 20px; margin-top: 8px; }
.dose-table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.dose-table th, .dose-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.dose-table thead th { font: 700 12px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--alt); }
.dose-table tbody th { font-weight: 700; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.actions .btn { flex: 1 1 auto; }

/* ---------- recommend / prose ---------- */
.rec { margin: 28px 0 32px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.say-q { margin: 6px 0 10px; padding: 12px 16px; background: var(--cream); border-left: 4px solid var(--orange); border-radius: 0 var(--r) var(--r) 0; font: 500 18px/1.45 var(--body); color: var(--ink); }
.why { color: var(--text); }
.callout { background: var(--ink); color: #fff; border-radius: var(--r); padding: 18px 18px 8px; margin: 28px 0; }
.callout h2 { color: var(--yellow); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.callout p { font: 500 20px/1.4 var(--body); }
.prose { margin: 24px 0; max-width: 72ch; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.story p { font-size: 18px; line-height: 1.6; }

/* ---------- batch ---------- */
.batch-form label { display: block; font: 700 13px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.batch-form input { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; }
.label-demo figcaption { font: 400 12px/1.4 var(--body); color: var(--muted); margin-top: 8px; }
.label-demo { margin: 16px 0; border: 1px solid #333; border-radius: 6px; padding: 8px 10px; background: #fff; max-width: 360px; font-family: Arial, Helvetica, sans-serif; color: #000; }
.ld-title { font: 700 11px/1.2 Arial, Helvetica, sans-serif; text-align: center; margin-bottom: 6px; }
.ld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.ld-row span { display: block; font: 700 9px/1.4 Arial, Helvetica, sans-serif; }
.ld-row b { display: block; font: 700 18px/1.1 Arial, Helvetica, sans-serif; margin: 2px 0 4px; }
.ld-row table { width: 100%; border-collapse: collapse; font: 700 9px/1.3 Arial, Helvetica, sans-serif; }
.ld-row td, .ld-row th { border: 1px solid #000; padding: 2px 4px; text-align: right; }
.ld-row th:first-child, .ld-row td:first-child { text-align: left; }

/* ---------- rules ---------- */
.swaps { display: grid; gap: 10px; }
.swap { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.swap-q, .swap-a { padding: 12px 14px; }
.swap-q { background: var(--alt); color: var(--ink); font-style: italic; }
.swap-a { background: #fff; }
.swap span { display: block; font: 700 11px/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--burnt); margin-bottom: 4px; font-style: normal; }

/* ---------- quiz ---------- */
.qq { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 8px; margin: 0 0 12px; }
.qq legend { font: 700 17px/1.3 var(--head); color: var(--ink); padding: 0 4px; }
.qn { display: inline-block; background: var(--yellow); color: var(--ink); border-radius: 999px; min-width: 26px; text-align: center; font-size: 13px; padding: 4px 0; margin-right: 4px; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 6px; min-height: 44px; cursor: pointer; border-radius: 8px; }
.opt:hover { background: var(--alt); }
.opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.qwhy { margin: 6px 0 8px; padding: 10px 12px; border-radius: 8px; background: var(--alt); font-size: 15px; }
.qq.ok { border-color: var(--ok); }
.qq.ok .qwhy { background: #e9f5ec; color: #14532d; }
.qq.bad { border-color: var(--bad); }
.qq.bad .qwhy { background: #fbeae9; color: #7f1d1d; }
.result { margin: 20px 0; }
.cert { border: 3px solid var(--ink); border-radius: 16px; padding: 10px; margin: 16px 0; background: #fff; max-width: 560px; }
.cert-in { border: 1px solid var(--yellow); border-radius: 10px; padding: 22px 20px; text-align: center; }
.cert-in img { margin: 0 auto 10px; }
.cert-k { font: 700 12px/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--burnt); margin: 0 0 4px; }
.cert-in h3 { font-size: 26px; }
.cert-in label { display: block; font: 700 12px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px auto 0; max-width: 360px; }
.cert-in input { display: block; width: 100%; margin-top: 6px; min-height: 44px; border: 0; border-bottom: 2px solid var(--ink); font: 700 22px/1.2 var(--head); text-align: center; color: var(--ink); background: transparent; }
.cert-d { color: var(--muted); margin: 14px 0 0; font-size: 14px; }

/* ---------- contact form (after the quiz) ---------- */
.contact-form { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 12px 0; background: #fff; max-width: 560px; }
.cf-row { margin: 0 0 12px; }
.cf-row label { display: block; font: 700 12px/1.2 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cf-row input, .cf-row select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 10px; font: 400 16px/1.2 var(--body); color: var(--ink); background: #fff; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-error { color: var(--bad); font-weight: 600; margin: 0 0 10px; }
.cf-ok { background: #e9f5ec; color: #14532d; border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.contact-form .actions .btn { flex: 1 1 auto; }

/* ---------- contact ---------- */
.contact { background: var(--cream); border-radius: var(--r); padding: 16px 18px; margin: 0 0 20px; }
.contact p:last-child { margin: 0; }

/* ---------- footer ---------- */
.site-foot { background: var(--black); color: #bdbdbd; padding: 28px 0 32px; margin-top: 20px; }
.site-foot a { color: #fff; text-decoration-color: var(--yellow); }
.site-foot a:hover { color: var(--lime); text-decoration-color: var(--lime); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 600 14px/1.4 var(--head); }
.foot-links a { padding: 10px 0; display: inline-block; min-height: 40px; }
.foot-line { font-size: 13px; color: #bdbdbd; }
.foot-warning { font-size: 12px; line-height: 1.55; color: #bdbdbd; border-top: 1px solid #2a2a2a; padding-top: 14px; margin: 0; }

/* ---------- shift card (screen) ---------- */
.sheet { background: #fff; color: #000; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; overflow-x: auto; }
.sheet-head { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center; margin-bottom: 10px; }
.sheet-head img { height: 44px; width: auto; }
.sheet-head b { display: block; font: 800 18px/1.1 var(--head); }
.sheet-head span { display: block; font-size: 12px; color: #333; }
.sheet-rules { grid-column: 1 / -1; font-size: 12px; background: var(--cream); border-radius: 8px; padding: 8px 10px; }
.sheet-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 760px; }
.sheet-table th, .sheet-table td { padding: 4px 6px; border-bottom: 1px solid #ddd; text-align: left; vertical-align: top; }
.sheet-table thead th { font: 700 10px/1.2 var(--head); letter-spacing: .08em; text-transform: uppercase; background: var(--alt); }
.sheet-table td small { display: block; color: #555; font-size: 10px; }
.sheet-foot { display: grid; gap: 6px; margin-top: 10px; font-size: 11px; color: #333; }
.sheet-warning { font-size: 9.5px; line-height: 1.4; color: #444; }

/* ---------- tablet and up ---------- */
@media (min-width: 640px) {
  main { padding: 32px 16px 56px; }
  .grid, .picks { grid-template-columns: repeat(3, 1fr); }
  .doors { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .three { grid-template-columns: repeat(3, 1fr); }
  .more-doors { grid-template-columns: repeat(2, 1fr); }
  .swaps { grid-template-columns: repeat(2, 1fr); }
  .actions .btn { flex: 0 1 auto; }
}
@media (min-width: 900px) {
  .product { grid-template-columns: 440px 1fr; align-items: start; }
  .product-media { position: sticky; top: 90px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .picks { grid-template-columns: repeat(4, 1fr); }
  .more-doors { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .head-row { grid-template-columns: auto auto 1fr auto; min-height: 72px; gap: 16px; }
  .menu-btn { grid-column: 1; width: auto; padding: 0 14px 0 10px; border: 1px solid #3a3a3a; border-radius: 999px; font: 700 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
  .menu-btn:hover { border-color: var(--lime); }
  .menu-btn .menu-word { display: inline; }
  .brand { grid-column: 2; justify-self: start; }
  .brand img { height: 44px; }
  .top-nav { grid-column: 3; display: flex; flex-wrap: nowrap; gap: 2px 4px; justify-content: flex-end; }
  .top-nav a { color: #fff; text-decoration: none; font: 700 12px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 10px 9px; border-radius: 6px; white-space: nowrap; }
  .top-nav a:hover { color: var(--lime); }
  .top-nav a.on { color: var(--yellow); }
  .search-btn { display: none; }
  .site-head .head-search { grid-column: 4; display: flex; padding: 0; width: 260px; }
  .head-search input { min-height: 40px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .step a { grid-template-columns: 1fr; padding: 18px 18px 16px; min-height: 100%; }
  .step-n { margin-bottom: 10px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- print ---------- */
@media print {
  @page { size: Letter; margin: 0.35in; }
  body { padding: 0; background: #fff; color: #000; font-size: 10pt; }
  .site-head, .site-foot, .bottom-nav, .site-menu, .menu-backdrop, .noprint, .skip, .gate { display: none !important; }
  main { padding: 0; }
  a { color: #000; text-decoration: none; }
  body.is-print-page .sheet { border: 0; padding: 0; border-radius: 0; overflow: visible; }
  body.is-print-page .sheet-table { font-size: 6.6pt; line-height: 1.1; min-width: 0; table-layout: fixed; width: 100%; }
  body.is-print-page .sheet-table th, body.is-print-page .sheet-table td { padding: 1.1pt 3pt; border-bottom: 1px solid #ccc; }
  body.is-print-page .sheet-table th:nth-child(1), body.is-print-page .sheet-table td:nth-child(1) { width: 22%; }
  body.is-print-page .sheet-table th:nth-child(2), body.is-print-page .sheet-table td:nth-child(2) { width: 7%; }
  body.is-print-page .sheet-table th:nth-child(3), body.is-print-page .sheet-table td:nth-child(3) { width: 17%; }
  body.is-print-page .sheet-table th:nth-child(4), body.is-print-page .sheet-table td:nth-child(4) { width: 3.5%; }
  body.is-print-page .sheet-table th:nth-child(5), body.is-print-page .sheet-table td:nth-child(5) { width: 20%; }
  body.is-print-page .sheet-table th:nth-child(6), body.is-print-page .sheet-table td:nth-child(6) { width: 11%; }
  body.is-print-page .sheet-table th:nth-child(7), body.is-print-page .sheet-table td:nth-child(7) { width: 19.5%; }
  body.is-print-page .sheet-table td small { display: none; }
  body.is-print-page .sheet-table td:nth-child(3), body.is-print-page .sheet-table td:nth-child(5), body.is-print-page .sheet-table td:nth-child(6) { white-space: nowrap; overflow: hidden; }
  body.is-print-page .sheet-table td:nth-child(7) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.is-print-page .sheet-table thead th { font-size: 6.5pt; padding: 2pt 3pt; }
  body.is-print-page .sheet-head { margin-bottom: 4pt; grid-template-columns: auto 1fr auto; align-items: center; }
  body.is-print-page .sheet-head img { height: 28pt; }
  body.is-print-page .sheet-head b { font-size: 12pt; }
  body.is-print-page .sheet-head span { font-size: 7.5pt; }
  body.is-print-page .sheet-rules { grid-column: 3; font-size: 7pt; padding: 4pt 8pt; max-width: 2.9in; background: #f3ecd8; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.is-print-page .sheet-foot { margin-top: 4pt; font-size: 6.5pt; gap: 2pt; }
  body.is-print-page .sheet-warning { font-size: 6pt; line-height: 1.3; }
  body.print-cert #quiz, body.print-cert .page-head, body.print-cert .result > h2, body.print-cert .result > p { display: none !important; }
  body.print-cert .cert { max-width: none; margin: 1in auto; }
}
