/* J1S Appliances: the look from the pitch video. Black header with the logo's green line, a dark
   hero, then a light shop with white cards, red prices and green "You save" tags. */
@font-face { font-family: Inter; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-blackitalic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  --g: #8ff20a;
  --r: #f80000;
  --amber: #f5a300;
  --floor: #16a34a;
  --ink: #111;
  --page: #f4f5f7;
  --line: #e3e5e8;
  --muted: #6b7280;
  --muted2: #9ca3af;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 22px rgba(0, 0, 0, 0.06);
  --pic: radial-gradient(ellipse at 50% 38%, #fff 0%, #eceef1 72%);
  --dark: linear-gradient(100deg, #0b0b0c 0%, #10150b 58%, #1b0c0c 100%);
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.locked, html.locked body { overflow: hidden; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #5fcf0a; outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--g); color: #000; font-weight: 800; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Top: address strip and header ---------- */
.strip { display: none; background: #000; color: #b9bdb6; font: 600 13px/1 var(--body); letter-spacing: 0.02em; border-bottom: 1px solid #1c1e1a; }
.strip .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.strip b { color: var(--g); font-weight: 700; }
.strip a { color: #fff; font-weight: 700; text-decoration: none; }
.strip a:hover { color: var(--g); }

.top { position: sticky; top: 0; z-index: 20; background: #000; border-bottom: 3px solid var(--g); }
.top .wrap { position: relative; display: flex; align-items: center; gap: 16px; padding-top: calc(env(safe-area-inset-top) + 8px); padding-bottom: 8px; }
.brand img { height: 46px; width: auto; }
/* Phones: tap to call, beside the menu */
.call { margin-left: auto; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; color: var(--g); }
.call + .burger { margin-left: 0; }
.burger { margin-left: auto; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 26px; height: 3px; border-radius: 2px; background: #fff; position: relative; transition: transform 0.2s, background 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }
.top.open .burger span { background: transparent; }
.top.open .burger span::before { transform: translateY(8px) rotate(45deg); }
.top.open .burger span::after { transform: translateY(-8px) rotate(-45deg); }

/* The menu: a panel under the header on a phone, a row of links on bigger screens */
.nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 3px); flex-direction: column; padding: 6px 16px 18px; background: #000; border-bottom: 3px solid var(--g); box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35); }
.top.open .nav { display: flex; }
.nav a { color: #fff; text-decoration: none; font: 700 18px var(--body); padding: 14px 2px; border-bottom: 1px solid #1c1e1a; }
.ask-btn { margin-top: 14px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--r); color: #fff; font: 800 17px var(--body); cursor: pointer; }
.ask-btn:hover { background: #e00000; }

/* ---------- Hero ---------- */
.hero { background: var(--dark); color: #fff; }
.hero .wrap { display: grid; gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.hero h1 { margin: 0; font: italic 900 clamp(40px, 11vw, 54px)/0.95 var(--display); text-transform: uppercase; letter-spacing: 0.005em; }
.hero h1 span { color: var(--r); }
.hero p { margin: 10px 0 0; font: 500 17px/1.4 var(--body); color: #c9cdc6; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font: 500 14px/1.4 var(--body); color: #b9bdb6; }
.legend b { color: #fff; font-weight: 700; margin-right: 4px; }
/* The Google rating in the banner: seen as the page opens; a tap goes down to the reviews */
.hero-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 0 0; min-height: 44px; color: #fff; text-decoration: none; font: 600 15px/1.3 var(--body); }
.hero-rating[hidden] { display: none; }
.hero-rating .stars { font-size: 19px; }
.hero-rating b { font: 800 19px/1 var(--body); }
.hero-rating .count { color: #c9cdc6; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.hero-rating:hover .count, .hero-rating:focus-visible .count { color: #fff; }
.hero-rating::after { content: "\203A"; font: 700 22px/1 var(--body); color: #c9cdc6; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot.floor { background: #22c55e; }
.dot.processing { background: var(--amber); }
.search { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-radius: 12px; background: #fff; color: var(--muted); box-shadow: 0 0 0 3px rgba(143, 242, 10, 0.35); }
.search:focus-within { box-shadow: 0 0 0 3px rgba(143, 242, 10, 0.85); }
.search svg { flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 17px var(--body); }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input::-webkit-search-cancel-button { cursor: pointer; }

/* ---------- Shop ---------- */
.shop .wrap { padding-top: 18px; padding-bottom: 8px; }
#shop, #visit, #reviews { scroll-margin-top: 64px; }
.bar { display: grid; gap: 12px; }
.chips { display: flex; gap: 9px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #222; font: 700 14px var(--body); white-space: nowrap; cursor: pointer; }
.chip i { font-style: normal; font-weight: 600; color: #8b9097; margin-left: 5px; }
.chip:hover { border-color: #c9ccd1; }
.chip[aria-pressed="true"] { background: #111; border-color: #111; color: #fff; }
.chip[aria-pressed="true"] i { color: #a1a1aa; }
.seg { display: flex; padding: 4px; border-radius: 10px; background: #e6e8eb; }
.seg button { flex: 1; min-height: 38px; padding: 0 13px; border: 0; border-radius: 7px; background: none; color: #444; font: 700 14px var(--body); white-space: nowrap; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.barmeta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; }
.meta-left { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 1 1 auto; }
#count { margin: 0; font: 600 14px var(--body); color: var(--muted); white-space: nowrap; }
.sort { position: relative; }
.sort::after { content: ""; position: absolute; right: 13px; top: 50%; margin-top: -2px; border: 5px solid transparent; border-top-color: #555; border-bottom: 0; pointer-events: none; }
.sort select { appearance: none; -webkit-appearance: none; min-height: 38px; padding: 0 34px 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #222; font: 600 14px var(--body); cursor: pointer; }
.syncchip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border: 1px solid #cdeeb0; border-radius: 999px; background: #eaf9dc; color: #2f6b12; font: 700 13px var(--body); white-space: nowrap; }
.syncchip .d { width: 8px; height: 8px; border-radius: 50%; background: #2fbf10; box-shadow: 0 0 0 3px rgba(47, 191, 16, 0.2); animation: beat 2s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 5px rgba(47, 191, 16, 0.08); } }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.card { display: flex; flex-direction: column; padding: 0; border: 0; border-radius: 14px; background: #fff; box-shadow: var(--shadow); overflow: hidden; text-align: left; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 14px 30px rgba(0, 0, 0, 0.1); }
.card:active { transform: scale(0.99); }
.pic, .bigpic { position: relative; display: flex; align-items: center; justify-content: center; background: var(--pic); overflow: hidden; }
.pic { aspect-ratio: 1; width: 100%; }
.pic img, .bigpic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5% 8%; mix-blend-mode: multiply; }
.pic svg, .bigpic svg { width: 42%; height: auto; color: #c3c8cf; }
.badge { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; align-items: center; gap: 5px; padding: 4px 8px 4px 7px; border-radius: 999px; font: 800 10px/1.2 var(--body); letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.badge.floor { background: var(--floor); color: #fff; }
.badge.processing { background: var(--amber); color: #1a1200; }
.card .note { display: block; padding: 8px 10px 0; font: 500 10.5px/1.3 var(--body); color: var(--muted); }
.card .body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 4px 10px 12px; }
.card .brand { font: 800 11px var(--body); letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.card .name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; margin-top: 2px; font: 700 14px/1.25 var(--body); color: var(--ink); }
.card .model { margin-top: 4px; font: 500 11.5px var(--body); color: var(--muted); overflow-wrap: anywhere; }
.price { margin-top: 6px; font: 900 22px/1.1 var(--body); color: var(--r); letter-spacing: -0.01em; }
.price.call { font-size: 15px; color: var(--ink); letter-spacing: 0; }
.cmp { display: flex; flex-wrap: wrap; gap: 0 10px; margin-top: 3px; font: 600 11px/1.4 var(--body); color: var(--muted); }
.cmp s, .cmprow s { text-decoration-thickness: 1.5px; }
.savetag { display: inline-block; margin-top: 7px; padding: 4px 8px; border-radius: 6px; background: #dcfce7; color: #166534; font: 800 11px var(--body); }
.skeleton { aspect-ratio: 0.6; border-radius: 14px; background: linear-gradient(100deg, #eceef1 40%, #f7f8fa 50%, #eceef1 60%) 0 0 / 200% 100%; animation: shine 1.2s infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.empty { padding: 40px 12px; text-align: center; font: 500 16px var(--body); color: var(--muted); }
.fine { max-width: 640px; margin: 26px auto 0; text-align: center; font: 500 13px/1.5 var(--body); color: var(--muted); }

/* ---------- Buttons and forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 22px; border: 0; border-radius: 12px; font: 800 17px var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn.red { background: var(--r); color: #fff; box-shadow: 0 10px 24px rgba(248, 0, 0, 0.22); }
.btn.red:hover { background: #e00000; }
.btn.out { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn.green { background: var(--g); color: #000; }
.btn.wide { width: 100%; min-height: 56px; border-radius: 14px; font-size: 19px; }
.fld { margin-bottom: 12px; }
.fld label { display: block; margin-bottom: 6px; font: 700 13px var(--body); color: #4b5563; }
.fld input, .fld textarea { display: block; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #d1d5db; border-radius: 12px; background: #fff; color: var(--ink); font: 500 17px/1.35 var(--body); }
.fld textarea { min-height: 100px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: #111; box-shadow: 0 0 0 3px rgba(143, 242, 10, 0.5); }
.fld ::placeholder { color: var(--muted2); opacity: 1; }
.ask .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* The deals box stands out, so people see they need to check it, and says we won't spam them. It
   starts unticked: Resend, which sends the deals, doesn't count a box ticked in advance as
   agreement. */
.deals { display: flex; align-items: flex-start; gap: 12px; margin: 2px 0 12px; padding: 13px 14px; border: 2px solid var(--g); border-radius: 14px; background: #f5fde9; cursor: pointer; }
.deals input { flex: none; width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--floor); cursor: pointer; }
.deals strong { display: block; font: 800 16px/1.3 var(--body); color: var(--ink); }
.deals small { display: block; margin-top: 3px; font: 500 14px/1.4 var(--body); color: #4b5563; }
.deals:has(input:checked) { border-color: var(--floor); background: #e8f8d6; }
.deals:has(input:focus-visible) { outline: 3px solid rgba(143, 242, 10, 0.55); outline-offset: 2px; }
/* Cloudflare's spam check: takes no room unless it wants a tap on its box */
.formnote { margin: -6px 0 10px; font: 500 13px var(--body); }
.formnote a { color: var(--muted); }
.human { display: flex; justify-content: center; }
.human.tap { margin-bottom: 12px; }
.ask-note { min-height: 1.4em; margin: 10px 0 0; font: 600 14.5px/1.4 var(--body); }
.ask-note.bad { color: #b91c1c; }
.thanks { padding: 24px 4px 4px; text-align: center; }
.thanks .ok { width: 96px; height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--floor); }
.thanks h2, .thanks h3 { margin: 20px 0 8px; font: 800 28px var(--body); color: var(--ink); outline: none; }
.thanks p { margin: 0 0 22px; font: 500 17px/1.45 var(--body); color: #4b5563; }

/* ---------- Google reviews ---------- */
.reviews .wrap { padding-top: 34px; padding-bottom: 8px; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.reviews .kick { color: #4b7f00; }
.reviews h2 { margin: 0; font: italic 900 44px/0.95 var(--display); text-transform: uppercase; }
.reviews h2 span { color: var(--r); }
.reviews-score { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 15px var(--body); color: var(--muted); }
.reviews-score b { font: 800 26px var(--body); color: var(--ink); }
.stars { display: inline-flex; gap: 1px; color: #d1d5db; font-size: 18px; letter-spacing: 0; }
.stars .on { color: var(--amber); }
.reviews-list { display: grid; gap: 12px; margin-top: 18px; }
.review { margin: 0; padding: 16px 16px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.review blockquote { margin: 8px 0 10px; font: 500 16px/1.5 var(--body); color: #1f2329; }
.review figcaption { font: 600 13.5px var(--body); color: var(--muted); }
.review.summary { padding: 20px 20px 16px; border-left: 5px solid var(--g); }
.review.summary blockquote { margin: 0 0 10px; font: 500 19px/1.55 var(--body); }
.review.summary figcaption a { color: var(--muted); text-decoration: underline; }
.reviews-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.reviews-btns .btn { flex: 1 1 auto; text-decoration: none; }
.reviews-credit { margin: 12px 0 0; font: 500 12.5px var(--body); color: var(--muted2); }

/* ---------- Visit us ---------- */
.visit { margin-top: 44px; background: var(--dark); color: #fff; }
.visit .wrap { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.kick { margin: 0 0 8px; font: 800 14px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--g); }
.visit h2 { margin: 0; font: italic 900 52px/0.95 var(--display); text-transform: uppercase; }
.visit h2 span { color: var(--r); }
.visit address { margin: 16px 0 22px; font: 500 18px/1.55 var(--body); font-style: normal; color: #d9dcd6; }
.visit address strong { color: #fff; }
.hours-title { margin: 0 0 6px; font: 800 14px var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--g); }
.hours { margin: 0 0 24px; max-width: 380px; font: 500 17px/1.4 var(--body); color: #d9dcd6; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.hours dt { font-weight: 700; color: #fff; }
.hours dd { margin: 0; text-align: right; }
.hours .closed dd { color: #9ca3af; }
.visit-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-btns .btn { flex: 1 1 auto; }
.btn.line { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.85); }
.btn.line:hover { color: var(--g); border-color: var(--g); }
.fblink { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #d9dcd6; font: 600 15px var(--body); text-decoration: none; }
.fblink svg { color: #1877f2; background: #fff; border-radius: 50%; }
.fblink:hover { color: #fff; }
.askcard { padding: 22px 18px 18px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.askcard h3 { margin: 0; font: 800 23px var(--body); }
.askcard .sub { margin: 4px 0 16px; font: 500 15px/1.45 var(--body); color: var(--muted); }

footer { padding: 28px 16px calc(env(safe-area-inset-bottom) + 28px); background: #000; border-top: 3px solid var(--g); color: #9ca3af; text-align: center; font: 500 14px/1.5 var(--body); }
footer img { height: 54px; width: auto; margin: 0 auto 12px; }
footer p { margin: 0; }
footer a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* ---------- One item's own page ---------- */
.itempage .wrap { padding-top: 6px; padding-bottom: 110px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 44px; font: 600 14px var(--body); color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; padding: 10px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs a:first-child { color: var(--ink); font-weight: 700; }
.crumbs a:first-child::before { content: "‹"; margin-right: 6px; font-size: 18px; line-height: 0; }
.crumbs .sep { color: #b6bac1; }
.itemp { display: grid; gap: 18px; }
.bigpic { aspect-ratio: 1; border-radius: 18px; box-shadow: var(--shadow); }
.bigpic svg { width: 40%; }
.bigpic .badge { top: 14px; left: 14px; padding: 7px 12px 7px 10px; font-size: 12.5px; gap: 6px; }
.bigpic .badge::before { width: 7px; height: 7px; }
.picnote { margin: 10px 0 0; font: 600 13px/1.4 var(--body); color: var(--muted); }
.ip .brand { margin: 0; font: 800 13px var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ip h1 { margin: 6px 0 8px; font: 800 26px/1.15 var(--body); letter-spacing: -0.01em; color: var(--ink); outline: none; }
.ip .meta { margin: 0; font: 500 15px var(--body); color: var(--muted); }
.pricebox { margin-top: 18px; padding: 18px 20px 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.pricebox .our { margin: 0; font: 800 12.5px var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pricebox .big { margin: 2px 0 8px; font: 900 48px/1.05 var(--body); letter-spacing: -0.02em; color: var(--r); }
.pricebox .big.call { font-size: 26px; letter-spacing: 0; color: var(--ink); }
.cmprow { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-top: 1px solid #eef0f2; font: 600 17px var(--body); color: #374151; }
.cmprow s { color: var(--muted); }
.cmprow.save { color: #15803d; font-weight: 900; font-size: 20px; }
.checked { margin: 6px 0 0; font: 500 13px/1.4 var(--body); color: var(--muted2); }
.statusbox { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; font: 600 15.5px/1.35 var(--body); }
.statusbox p { margin: 0; }
.statusbox.floor { background: #e5f7df; color: #14532d; }
.statusbox.processing { background: #fff3d6; color: #7a4b00; }
.statusbox .ic { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }
.statusbox.floor .ic { background: var(--floor); }
.statusbox.processing .ic { background: var(--amber); color: #1a1200; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btns .btn { flex: 1 1 auto; }
.desc { margin: 20px 0 0; font: 400 15.5px/1.6 var(--body); color: #374151; white-space: pre-wrap; }
.itemp .skeleton.big { aspect-ratio: 1; }
.itemp .skeleton.line { aspect-ratio: auto; height: 22px; margin-top: 12px; border-radius: 8px; }
.gone h1 { margin: 10px 0 8px; font: 800 28px/1.15 var(--body); outline: none; }
.gone p { margin: 0 0 20px; font: 500 17px/1.5 var(--body); color: #4b5563; }

/* The page-not-found page */
body.nf { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
/* ---------- Privacy (privacy.html) ---------- */
.legal { flex: 1; }
.legal .wrap { max-width: 760px; padding-top: 34px; padding-bottom: 48px; }
.legal h1 { margin: 0; font: italic 900 52px/0.95 var(--display); text-transform: uppercase; }
.legal .lead { margin: 10px 0 22px; font: 600 15px/1.5 var(--body); color: var(--muted); }
.legal h2 { margin: 24px 0 6px; font: 800 19px var(--body); }
.legal p { margin: 0; font: 400 17px/1.6 var(--body); color: #2b2f36; }
.legal a:not(.btn) { color: var(--ink); font-weight: 600; }
.legal .updated { margin-top: 28px; font-size: 14px; color: var(--muted); }
.legal .btn { margin-top: 22px; text-decoration: none; }
/* J1S's own unsubscribe page (unsubscribe.html), fully branded like the website */
.unsub .wrap { max-width: 560px; }
.unsub-form { margin-top: 6px; }
.unsub-form .btn { margin-top: 4px; }
.unsub .btn.wide { white-space: normal; text-align: center; }
.unsub .ask-note { margin: 10px 0 0; }
.unsub .ask-note:empty { min-height: 0; margin: 0; }
.unsub h1 + p { margin-top: 14px; }
.notfound { flex: 1; display: flex; align-items: center; }
.notfound .wrap { width: 100%; padding-top: 56px; padding-bottom: 56px; }
.notfound .btn { margin-top: 24px; }

/* On a phone the red "Ask about this item" stays at the bottom of the screen */
@media (max-width: 639px) {
  .ip .btns .btn.red { position: fixed; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom) + 14px); z-index: 15; min-height: 58px; border-radius: 15px; font-size: 19px; box-shadow: 0 10px 24px rgba(248, 0, 0, 0.3); }
  body.item-open footer { padding-bottom: calc(env(safe-area-inset-bottom) + 100px); }
}

/* ---------- Ask: a sheet from the bottom on a phone, a box in the middle on bigger screens ---------- */
dialog { width: min(520px, 100vw); max-width: 100vw; max-height: calc(100dvh - 24px); margin: auto auto 0; padding: 0; border: 0; border-radius: 24px 24px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25); overflow-y: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
.sheet { position: relative; padding: 12px 18px calc(env(safe-area-inset-bottom) + 18px); }
.grab { width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: #d1d5db; }
.x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f2f4; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.sheet h2 { margin: 0 0 12px; padding-right: 44px; font: 800 23px/1.2 var(--body); }
.mini { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 7px 10px; border-radius: 12px; background: var(--page); font: 700 14px/1.3 var(--body); }
.mini .thumb { position: relative; flex: none; width: 46px; height: 58px; display: flex; align-items: center; justify-content: center; }
.mini img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mini svg { width: 100%; height: auto; color: #b7bcc4; }
.mini small { display: block; margin-top: 2px; font: 500 12px var(--body); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Bigger screens ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .strip { display: block; }
  .brand img { height: 56px; }
  .burger, .call { display: none; }
  .visit-btns .btn { flex: none; }
  .reviews-btns .btn { flex: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 26px; flex: 1; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav a { padding: 6px 0; border: 0; font-size: 17px; color: #d9dcd6; }
  .nav a:hover, .nav a.on { color: #fff; box-shadow: inset 0 -3px 0 var(--g); }
  .ask-btn { margin: 0 0 0 auto; min-height: 46px; font-size: 16px; }
  .hero .wrap { padding-top: 34px; padding-bottom: 36px; }
  .chips { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
  .seg { justify-self: start; }
  .seg button { flex: none; }
  .meta-left { flex: 0 1 auto; justify-content: flex-start; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .badge { top: 12px; left: 12px; padding: 6px 10px 6px 9px; font-size: 11.5px; gap: 6px; }
  .badge::before { width: 7px; height: 7px; }
  .card .note { padding: 9px 14px 0; font-size: 11.5px; }
  .card .body { padding: 5px 14px 16px; }
  .card .brand { font-size: 12px; }
  .card .name { font-size: 16px; height: 2.5em; }
  .card .model { margin-top: 5px; font-size: 12.5px; }
  .price { margin-top: 9px; font-size: 27px; }
  .cmp { font-size: 12px; margin-top: 2px; }
  .savetag { margin-top: 9px; font-size: 12px; }
  .askcard { padding: 26px 24px 22px; }
  dialog { margin: auto; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
  .sheet { padding: 24px 24px 22px; }
  .grab { display: none; }
  .btns { flex-wrap: nowrap; }
  .btns .btn { flex: none; }
}

@media (min-width: 1024px) {
  .wrap { padding: 0 40px; }
  .top { position: static; border-bottom-width: 4px; }
  .top .wrap { gap: 42px; padding-top: 11px; padding-bottom: 11px; }
  .brand img { height: 82px; }
  .nav { gap: 30px; }
  #shop, #visit, #reviews { scroll-margin-top: 0; }
  .hero .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .search { width: 470px; flex: none; }
  .shop .wrap { padding-top: 22px; }
  .bar { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px 24px; }
  .seg { justify-self: end; }
  .barmeta { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 14px; }
  .pic { aspect-ratio: 4 / 3; }
  .visit .wrap { grid-template-columns: 1fr minmax(0, 520px); align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 64px; }
  .reviews h2 { font-size: 56px; }
  .visit h2 { font-size: 72px; }
  .itempage .wrap { padding-top: 10px; padding-bottom: 56px; }
  .itemp { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 6px; }
  .bigpic { aspect-ratio: auto; height: 520px; }
  .bigpic .badge { top: 18px; left: 18px; padding: 8px 13px 8px 11px; font-size: 14px; }
  .picnote { margin-top: 12px; font-size: 14px; }
  .ip .brand { font-size: 14px; }
  .ip h1 { font-size: 34px; }
  .ip .meta { font-size: 16px; }
  .pricebox { margin-top: 20px; padding: 20px 24px 16px; }
  .pricebox .big { font-size: 60px; }
  .cmprow { font-size: 18px; }
  .cmprow.save { font-size: 22px; }
  .statusbox { padding: 15px 18px; font-size: 16.5px; }
  .btn { font-size: 18px; padding: 0 24px; }
  .itemp .skeleton.big { aspect-ratio: auto; height: 520px; }
}
