:root {
  --ember: #111111;
  --ember-dark: #000000;
  --peach: #e5e5ea;
  --cream: #ffffff;
  --sand: #f5f5f7;
  --line: #e5e5ea;
  --ink: #111111;
  --ink-soft: #6e6e73;
  --white: #ffffff;
  --ok: #2f7a4b;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, .head { font-family: var(--head); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.muted { color: var(--ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--ink); background: var(--ink); color: var(--cream); padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform 0.15s, background 0.15s, color 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-ember { background: var(--ember); border-color: var(--ember); color: var(--white); }
.btn-ember:hover { background: var(--ember-dark); border-color: var(--ember-dark); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-block { width: 100%; }

/* Test banner + announcement */
.testbar { background: #fff3b0; color: #5a4800; text-align: center; font-size: 0.85rem; padding: 6px 12px; font-weight: 600; }
.announce { background: var(--ink); color: var(--cream); font-size: 0.9rem; text-align: center; padding: 9px 12px; }
.announce b { color: var(--peach); }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { font-family: var(--head); font-size: 1.55rem; color: var(--ember); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--ember); }
.acct-btn { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .15s; }
.acct-btn:hover { border-color: var(--ink); }
.acct-btn.in { border-color: var(--ember); }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; background: var(--ink); color: var(--cream); border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; }
.cart-count { background: var(--ember); color: var(--white); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 0.8rem; padding: 0 6px; }
@media (max-width: 720px) { .nav { display: none; } }

/* Hero */
.hero { background: var(--ember); color: var(--cream); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero .eyebrow { color: var(--peach); }
.hero h1 { margin: 14px 0 18px; }
.hero p.lead { font-size: 1.15rem; max-width: 30em; opacity: 0.95; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-art a { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22); text-decoration: none; color: var(--ink); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.hero-art a:hover img { transform: scale(1.04); }
.hero-art span { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; justify-content: space-between; gap: 8px; background: rgba(255, 253, 249, 0.94); border-radius: 12px; padding: 7px 11px; font-size: 0.85rem; font-weight: 700; line-height: 1.25; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16); }
.hero-art span b { font-weight: 800; white-space: nowrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 0.92rem; font-weight: 600; opacity: 0.95; }
.hero-trust span::before { content: "✓"; margin-right: 7px; color: var(--peach); font-weight: 800; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 44px 0 52px; }
  .hero-art { max-width: 560px; }
}

/* Ticker */
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; white-space: nowrap; padding: 13px 0; }
.ticker-track { display: inline-flex; gap: 44px; animation: tick 38s linear infinite; padding-left: 44px; }
.ticker-track span::before { content: "✦"; color: var(--peach); margin-right: 12px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Sections */
section.block { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.section-head p { max-width: 34em; margin-top: 10px; }

/* Deal band */
.deal { background: var(--peach); }
.deal .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.deal h2 { margin: 10px 0 14px; }
.deal-calc { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.deal-calc .item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.deal-calc .item img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; }
.deal-calc .item .n { flex: 1; font-weight: 600; }
.deal-calc .item s { color: var(--ink-soft); margin-right: 6px; }
.deal-calc .item .half { color: var(--ember); font-weight: 800; }
.deal-calc .sum { display: flex; justify-content: space-between; padding-top: 14px; font-size: 1.15rem; font-weight: 800; }
.deal-calc .save { color: var(--ok); font-weight: 700; margin-top: 4px; text-align: right; }
@media (max-width: 860px) { .deal .wrap { grid-template-columns: 1fr; } }

/* Product grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ph { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.card .ph img.alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .ph img.alt { opacity: 1; }
.card .tag { position: absolute; top: 12px; left: 12px; background: var(--cream); border-radius: 999px; padding: 4px 11px; font-size: 0.78rem; font-weight: 700; }
.card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .title { font-weight: 700; text-decoration: none; line-height: 1.3; }
.card .title::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; gap: 8px; }
.card .price { font-weight: 800; font-size: 1.1rem; }
.card .swatches { display: flex; gap: 5px; }
.card .swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }
.card .quick { position: relative; z-index: 2; white-space: nowrap; text-decoration: none; border: 0; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 0.85rem; }
.card .quick:hover { background: var(--ember); }
.card .ship { font-size: 0.82rem; color: var(--ink-soft); }

/* Bundle */
.bundle { background: var(--ink); color: var(--cream); border-radius: 28px; padding: 44px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.bundle .eyebrow { color: var(--peach); }
.bundle h2 { margin: 10px 0 14px; }
.bundle-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bundle-items a { background: var(--cream); color: var(--ink); border-radius: 16px; overflow: hidden; text-decoration: none; font-weight: 700; font-size: 0.9rem; }
.bundle-items a span { display: block; padding: 10px 12px; }
.bundle .total { margin: 18px 0 22px; font-size: 1.05rem; }
.bundle .total b { color: var(--peach); font-size: 1.4rem; }
@media (max-width: 860px) { .bundle { grid-template-columns: 1fr; padding: 28px; } }

/* Signup */
.signup { background: var(--white); border: 2px dashed var(--ember); border-radius: 28px; padding: 40px; text-align: center; }
.signup h2 { margin: 10px 0 10px; }
.signup form { display: flex; gap: 10px; max-width: 480px; margin: 22px auto 0; }
.signup input { flex: 1; border: 2px solid var(--line); border-radius: 999px; padding: 13px 18px; font: inherit; background: var(--cream); }
.signup input:focus { outline: none; border-color: var(--ember); }
.code-reveal { margin-top: 20px; display: none; }
.code-reveal .code { display: inline-block; font-family: var(--head); font-size: 1.6rem; letter-spacing: 0.08em; background: var(--cream); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 18px; margin: 8px 0; }
.small { font-size: 0.85rem; }
@media (max-width: 560px) { .signup form { flex-direction: column; } .signup { padding: 28px 20px; } }

/* Trust row */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust div { background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.trust svg { width: 30px; height: 30px; color: var(--ember); margin-bottom: 10px; }
.trust h3 { font-size: 1.05rem; margin-bottom: 6px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust { grid-template-columns: 1fr; } }

/* FAQ / accordions */
details.acc { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
details.acc summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--ember); }
details.acc[open] summary::after { content: "–"; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc .acc-body { padding: 0 0 18px; color: var(--ink-soft); }
details.acc .acc-body ul { margin: 0; padding-left: 20px; }
details.acc .acc-body li + li { margin-top: 6px; }
.faq { max-width: 820px; margin: 0 auto; }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: 56px 0 26px; margin-top: 40px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer .logo { color: var(--peach); }
.footer h4 { margin: 0 0 12px; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); }
.footer a { display: block; text-decoration: none; padding: 3px 0; opacity: 0.9; }
.footer a:hover { opacity: 1; color: var(--peach); }
.footer .base { border-top: 1px solid rgba(251, 244, 232, 0.15); margin-top: 36px; padding-top: 18px; font-size: 0.85rem; opacity: 0.75; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .footer .cols { grid-template-columns: 1fr; } }

/* Product page */
.crumbs { font-size: 0.9rem; padding: 18px 0 0; color: var(--ink-soft); display: flex; align-items: center; flex-wrap: nowrap; gap: 0 5px; min-width: 0; white-space: nowrap; }
.crumbs .back-btn { flex: 0 0 auto; }
/* Breadcrumb trail always stays on one line; a long product name is cut with "…" instead of wrapping. */
.trail { display: flex; align-items: center; gap: 0 6px; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.trail > * { flex: 0 0 auto; }
.trail i { font-style: normal; opacity: .55; }
.trail .here { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 600; }
@media (max-width: 420px) { .trail .home { display: none; } }
.crumbs a { text-decoration: none; }
.crumbs .back-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-right: 8px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--line); color: var(--ink); transition: border-color .15s, transform .15s; }
.crumbs .back-btn:hover { border-color: var(--ink); transform: translateX(-2px); }
.pdp > * { min-width: 0; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 24px 0 60px; align-items: start; }
.gallery { position: sticky; top: 90px; }
.gallery .main { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
/* Swipeable photos: native scroll-snap, so it works with a finger on iPhone/Android and a trackpad on a computer. */
.slides { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; outline: none; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; user-select: none; -webkit-user-drag: none; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.14); cursor: pointer; opacity: 0; transition: opacity .15s; }
.g-nav.prev { left: 12px; } .g-nav.next { right: 12px; }
.gallery .main:hover .g-nav, .g-nav:focus-visible { opacity: 1; }
.g-nav:disabled { opacity: 0 !important; pointer-events: none; }
.g-count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(28,24,20,.62); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .02em; pointer-events: none; }
@media (hover: none) { .g-nav { display: none; } }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--sand); scroll-snap-align: start; }
.thumbs button.on { border-color: var(--ember); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 8px 0 12px; }
.buy .price { font-size: 1.7rem; font-weight: 800; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 700; font-size: 0.92rem; cursor: pointer; transition: border-color .15s, transform .15s; }
.share-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.share-btn:active { transform: scale(.97); }
.buy .tagline { margin: 14px 0 20px; font-size: 1.08rem; }
.deal-note { display: flex; gap: 12px; align-items: center; background: var(--peach); border-radius: 14px; padding: 12px 16px; font-weight: 600; margin-bottom: 22px; }
.deal-note b { font-family: var(--head); font-weight: 400; font-size: 1.3rem; }
.opt-label { font-weight: 700; margin-bottom: 10px; }
.opt-label span { font-weight: 500; color: var(--ink-soft); }
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.swatch-row button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cream); outline: 2px solid var(--line); padding: 0; }
.swatch-row button.on { outline: 3px solid var(--ink); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { border: 0; background: none; width: 40px; height: 44px; font-size: 1.2rem; }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.buy-row .btn { flex: 1; }
.select-wrap { margin: 6px 0 14px; }
.model-pick { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,.15); background: #fff; color: inherit; appearance: auto; }
.bgroup { cursor: default; }
.bgroup-sets { grid-column: 1 / -1; padding: 18px; border-radius: 20px; background: rgba(0,0,0,.03); }
.bgroup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.bgroup-head h3 { margin: 0; }
.buy-row { margin-bottom: 10px; }
.buy-now { display: flex; width: 100%; margin-bottom: 18px; }
.buy-now:hover { background: #000; border-color: #000; }
.buy-now:disabled { opacity: .7; cursor: wait; }
.perks { display: grid; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 18px; }
.perks div { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 20px; height: 20px; color: var(--ember); flex: none; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 8px; }
.features div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.features b { display: block; }
.features span { color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 22px; } .gallery { position: static; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

/* Cart drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.25s; z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: var(--cream); z-index: 90; transform: translateX(100%); transition: transform 0.3s ease; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2); }
.drawer.open { transform: none; }
.drawer.open + .drawer-bg, .drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer header h3 { font-size: 1.4rem; }
.x { border: 0; background: var(--white); width: 38px; height: 38px; border-radius: 50%; font-size: 1.2rem; }
.drawer .lines { flex: 1; overflow-y: auto; padding: 8px 22px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--sand); }
.line .nm { font-weight: 700; line-height: 1.25; }
.line .vr { font-size: 0.85rem; color: var(--ink-soft); }
.line .qty { margin-top: 8px; }
.line .qty button { width: 32px; height: 32px; }
.line .pr { text-align: right; font-weight: 700; }
.line .rm { border: 0; background: none; color: var(--ink-soft); font-size: 0.8rem; text-decoration: underline; padding: 4px 0; }
.progress { margin: 14px 22px 0; background: var(--peach); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 0.92rem; }
.progress.done { background: #d9f0df; color: #1d5133; }
.drawer footer { padding: 16px 22px 22px; border-top: 1px solid var(--line); background: var(--white); }
.tot { display: flex; justify-content: space-between; padding: 4px 0; }
.tot.disc { color: var(--ok); font-weight: 700; }
.tot.big { font-size: 1.2rem; font-weight: 800; padding-top: 10px; }
.codebox { display: flex; gap: 8px; margin: 4px 0 12px; }
.codebox input { flex: 1; border: 2px solid var(--line); border-radius: 999px; padding: 10px 14px; font: inherit; text-transform: uppercase; background: var(--cream); }
.codebox button { border: 2px solid var(--ink); background: none; border-radius: 999px; padding: 0 16px; font-weight: 700; }
.codemsg { font-size: 0.85rem; margin: -6px 0 10px; }
.secure { text-align: center; font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }
.empty { text-align: center; padding: 50px 10px; }
.empty p { margin: 10px 0 20px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-weight: 600; z-index: 100; transition: transform 0.3s; }
.toast.show { transform: translate(-50%, 0); }

/* Simple pages (policies, success, contact, checkout demo) */
.page { max-width: 760px; margin: 0 auto; padding: 56px 0 30px; }
.page.wide { max-width: 1100px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.page h2 { font-size: 1.4rem; margin: 30px 0 10px; }
.page p, .page li { color: var(--ink-soft); }
.page p + p { margin-top: 12px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea, .field select { border: 2px solid var(--line); border-radius: 12px; padding: 11px 14px; font: inherit; background: var(--cream); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ember); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
table.orders { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.orders th, table.orders td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* Deal switch (shared/offers.js ENABLED). Deal-only content is hidden unless deals are on. */
html:not(.deals-on) [data-deal] { display: none !important; }
html.deals-on [data-nodeal] { display: none !important; }

/* ---------- shop page ---------- */
.shop-hero { padding: 34px 0 10px; }
.shop-hero h1 { margin: 6px 0 6px; }
.shop-hero .crumbs { padding: 0; }
.chips { position: sticky; top: var(--hdr, 64px); z-index: 30; background: var(--cream); border-bottom: 1px solid var(--line); }
.chips .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.chips .wrap::-webkit-scrollbar { display: none; }
.chips a { flex: none; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 0.9rem; color: var(--ink); background: var(--white); }
.chips a small { opacity: 0.6; font-weight: 600; margin-left: 2px; }
.chips a:hover { border-color: var(--ember); color: var(--ember); }
.chips a.on { background: var(--ink); color: var(--cream); }
.blines select { font: inherit; font-size: 0.9rem; border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; background: var(--white); color: var(--ink); }
.shop-sec { scroll-margin-top: calc(var(--hdr, 64px) + 60px); padding-top: 34px; padding-bottom: 20px; }
.shop-sec .section-head { margin-bottom: 20px; }
#bundles { padding-top: 50px; padding-bottom: 70px; }

/* ---------- bundle cards ---------- */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.bcard { background: var(--ink); color: var(--cream); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.bcard h3 { font-family: var(--head); font-weight: 400; font-size: 1.35rem; margin: 6px 0 0; }
.bcard .bblurb { opacity: 0.85; margin: 0; }
.bthumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); gap: 8px; }
.bthumbs a { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sand); }
.bthumbs img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
.bthumbs > img { aspect-ratio: 1; background: var(--sand); }
.blines { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.blines li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.92rem; padding: 8px 0; border-bottom: 1px solid rgba(251, 244, 232, 0.1); }
.blines li:last-child { border-bottom: 0; }
.blines .bname { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; flex: 1; }
.blines li a { color: var(--cream); font-weight: 600; }
.blines .bpick select { appearance: none; -webkit-appearance: none; max-width: 100%; padding: 7px 34px 7px 12px; border-radius: 999px; border: 1.5px solid rgba(251, 244, 232, 0.35); background: rgba(251, 244, 232, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23FBF4E8' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--cream); font-weight: 600; cursor: pointer; }
.blines .bpick select:hover, .blines .bpick select:focus { border-color: var(--peach); outline: none; }
.blines .bpick option { color: var(--ink); background: var(--white); }
.blines .bprice { font-weight: 800; white-space: nowrap; }
.bfoot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(251, 244, 232, 0.18); }
.bfoot .btotal b { font-size: 1.2rem; }
.bfoot .btotal s { opacity: 0.6; margin-left: 4px; }
.bfoot .btn { padding: 11px 18px; }
@media (max-width: 420px) { .bgrid { grid-template-columns: 1fr; } }

/* ---------- home: shop by section ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cat-tile { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: var(--cream); background: var(--sand); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile span { position: absolute; inset: auto 0 0 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); font-weight: 800; line-height: 1.2; }
.cat-tile small { display: block; font-weight: 600; opacity: 0.8; }
@media (max-width: 720px) { .nav { display: flex; } .nav a:not(.keep) { display: none; } }
@media (max-width: 480px) { .header .wrap { column-gap: 10px; } .header .nav { margin-left: auto; } .acct-btn span { display: none; } .acct-btn { padding: 8px 10px; } .cart-btn > span:not(.cart-count) { display: none; } .cart-btn { padding: 10px 14px; } .logo { font-size: 1.3rem; } }
@media (max-width: 400px) { .header .wrap { column-gap: 8px; } .logo { font-size: 1.18rem; gap: 6px; } .logo svg { width: 26px; height: 26px; } .cart-btn { padding: 9px 12px; } }
@media (max-width: 345px) { .header .nav { display: none; } .header .acct-btn { margin-left: auto; } }
.quick-link { font-weight: 700; text-decoration: none; color: var(--ember); }
.quick-link:hover { text-decoration: underline; }

.bcard { position: relative; }
.bsave { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--ember); color: var(--white); border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: 0.85rem; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.announce a { color: inherit; }
.bundle-note { display: flex; gap: 12px; align-items: center; background: var(--sand); border: 1.5px dashed var(--ember); border-radius: 14px; padding: 10px 14px; margin: 14px 0 0; text-decoration: none; color: var(--ink); font-size: 0.92rem; }
.bundle-note b { flex: none; background: var(--ember); color: var(--white); border-radius: 999px; padding: 4px 10px; font-size: 0.85rem; }

/* ---------- polish: phones and tablets ---------- */
.section-head h2 { text-wrap: balance; }
@media (max-width: 720px) {
  section.block { padding: 52px 0; }
  .section-head { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero .ctas .btn { flex: 1 1 auto; }
  /* Category tiles scroll sideways instead of leaving one tile alone on a row */
  .cat-tiles { grid-auto-flow: column; grid-auto-columns: 42%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tile { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  /* Two products per row on phones, like most stores */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 14px; }
  .card .tag { top: 8px; left: 8px; font-size: 0.7rem; padding: 3px 9px; }
  .card .body { padding: 11px 11px 13px; gap: 4px; }
  .card .title { font-size: 0.92rem; }
  .card .ship { font-size: 0.75rem; }
  .card .row { flex-direction: column; align-items: stretch; gap: 8px; }
  .card .price { font-size: 1rem; }
  .card .quick { text-align: center; padding: 9px 10px; font-size: 0.8rem; }
  .card:hover { transform: none; }
  .bgrid { grid-template-columns: minmax(0, 1fr); }
  .bcard { min-width: 0; padding: 18px; }
  .blines li a { min-width: 0; }
  .bundle { padding: 22px; border-radius: 22px; }
  .bundle-items { gap: 8px; }
  .bundle-items a { font-size: 0.78rem; }
  .shop-hero { padding-top: 24px; }
  .hero-art { gap: 10px; }
  .hero-art span { left: 6px; right: 6px; bottom: 6px; padding: 5px 8px; font-size: 0.74rem; flex-direction: column; gap: 0; border-radius: 10px; }
  .hero .ctas { margin-top: 22px; }
}

/* Category tiles: white photo, label underneath */
.cat-tile { aspect-ratio: auto; background: var(--white); border: 1px solid var(--line); color: var(--ink); transition: transform 0.2s, box-shadow 0.2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile img { aspect-ratio: 1; height: auto; background: #fff; }
.cat-tile:hover img { transform: none; }
.cat-tile span { position: static; display: block; background: none; padding: 10px 14px 13px; }
.cat-tile small { color: var(--ember); opacity: 1; }

/* Size options (products priced per size, like the projector screen) */
.swatch-row.pills button { width: auto; height: auto; border-radius: 999px; padding: 9px 16px; background: #fff; outline: 2px solid var(--line); border: 0; font: inherit; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.swatch-row.pills button small { font-weight: 500; opacity: .7; font-size: 12px; }
.swatch-row.pills button.on { outline: 2px solid var(--ink); background: var(--cream); }

/* Header search */
.search { position: relative; flex: 1; max-width: 340px; display: flex; align-items: center; background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 0 14px; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(0, 0, 0, .14); }
.search > svg { flex: none; color: var(--ink-soft); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 8px; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search-pop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 320px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .18); padding: 6px; z-index: 60; }
.search-pop .hit { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-decoration: none; }
.search-pop .hit:hover, .search-pop .hit.on { background: var(--cream); }
.search-pop .hit img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); flex: none; }
.search-pop .hit span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.search-pop .hit b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-pop .hit small { color: var(--ink-soft); font-size: 12px; }
.search-pop .hit em { font-style: normal; font-weight: 800; font-size: 14px; color: var(--ember); white-space: nowrap; }
.search-pop .all { display: block; text-align: center; padding: 10px; font-weight: 700; color: var(--ember); text-decoration: none; border-top: 1px solid var(--line); margin-top: 4px; }
.search-pop .all:hover, .search-pop .all.on { background: var(--cream); border-radius: 0 0 12px 12px; }
.search-pop .none { padding: 14px; color: var(--ink-soft); font-size: 14px; }
.search-results { background: var(--sand); }
@media (max-width: 860px) {
  .header .wrap { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search-pop { min-width: 0; }
}

/* ---------- pop: depth, color and motion ---------- */
.hero { position: relative; background:
  radial-gradient(circle at 88% 12%, rgba(255, 179, 138, .55) 0, transparent 38%),
  radial-gradient(circle at 70% 95%, rgba(196, 68, 28, .9) 0, transparent 45%),
  radial-gradient(circle at 0% 0%, #ec6a3b 0, transparent 50%), var(--ember); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; border: 2px solid rgba(255, 244, 232, .18); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 .hl { position: relative; display: inline-block; color: var(--ink); z-index: 0; }
.hero h1 .hl::before { content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .42em; background: var(--peach); border-radius: .2em; transform: rotate(-1.5deg); z-index: -1; }
.hero-art a { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.hero-art a:nth-child(1) { transform: rotate(-2deg); }
.hero-art a:nth-child(2) { transform: rotate(1.5deg) translateY(10px); }
.hero-art a:nth-child(3) { transform: rotate(1.5deg); }
.hero-art a:nth-child(4) { transform: rotate(-1.5deg) translateY(10px); }
.hero-art a:hover { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: 0 24px 50px rgba(0, 0, 0, .32); z-index: 2; }
.btn-light { box-shadow: 0 8px 22px rgba(0, 0, 0, .22); }
.btn-ember { box-shadow: 0 8px 20px rgba(0, 0, 0, .32); }
.btn-ember:hover { box-shadow: 0 12px 26px rgba(0, 0, 0, .42); }

/* Eyebrows become little pills */
.section-head .eyebrow { display: inline-block; background: rgba(0, 0, 0, .1); padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }

/* Product cards: lift, warm glow, gentle photo zoom, ember price */
.card { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .06); border-color: var(--peach); }
.card .ph img { transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.card:hover .ph img { transform: scale(1.05); }
.card .price { color: var(--ember); }
.card .quick { transition: background .15s, transform .15s; }
.card .quick:hover { transform: scale(1.05); }
.card .tag.new { z-index: 2; top: 10px; left: 10px; background: var(--ember); color: var(--white); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; padding: 4px 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }

/* Category tiles: a different soft color behind each photo */
.cat-tile { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.cat-tile:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .14); }
.cat-tile img { mix-blend-mode: multiply; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile:nth-child(7n+1) { background: #ffe8db; } .cat-tile:nth-child(7n+2) { background: #e6e3ff; }
.cat-tile:nth-child(7n+3) { background: #dff3ea; } .cat-tile:nth-child(7n+4) { background: #dcecff; }
.cat-tile:nth-child(7n+5) { background: #fff3c9; } .cat-tile:nth-child(7n+6) { background: #ffe0ea; }
.cat-tile:nth-child(7n+7) { background: #efe6d6; }
.cat-tile img { background: transparent; }
.cat-tile span { background: rgba(255, 253, 249, .75); }

/* Trust cards: icon in a colored circle, lift on hover */
.trust > div { transition: transform .25s, box-shadow .25s; }
.trust > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trust [data-icon] { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(0, 0, 0, .12); }

/* Bundle cards: lift on hover */
.bcard { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.bcard:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0, 0, 0, .25); }

@media (prefers-reduced-motion: reduce) {
  .card, .cat-tile, .hero-art a, .bcard, .trust > div, .card .ph img, .cat-tile img { transition: none !important; }
  .card:hover, .cat-tile:hover, .bcard:hover, .trust > div:hover { transform: none; }
}
.card .price small.from { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); line-height: 1; margin-bottom: 2px; }

/* ---------- Your orders (account page) ---------- */
.acct-page { max-width: 560px; padding-top: 24px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.back-link:hover { border-color: var(--ink); }
.acct-card { max-width: 420px; }
.acct-page h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); margin-bottom: 6px; }
.acct-card > .muted { margin-bottom: 20px; }
.pw-wrap { position: relative; display: flex; }
.pw-wrap input { flex: 1; padding-right: 70px; min-width: 0; }
.pw-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font: inherit; font-size: .85rem; font-weight: 700; color: var(--ink-soft); padding: 6px 8px; cursor: pointer; }
.form-err { color: #b3261e; font-weight: 600; margin: 0 0 12px; }
.acct-go { width: 100%; }
.acct-go:disabled { opacity: .7; }
.linkish { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--ember); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.acct-switch { margin-top: 18px; text-align: center; }
.acct-foot { margin-top: 8px; text-align: center; }
.acct-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acct-head h1 { margin-bottom: 2px; }
.acct-head .muted { overflow-wrap: anywhere; }
.orders-h { margin: 28px 0 12px; font-size: 1.2rem; }
.orders { display: grid; gap: 14px; }
.order-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.order-card > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order-card > header > div { display: grid; gap: 1px; }
.status { flex: 0 0 auto; font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--sand); }
.status.s-packing { background: #e3f1e6; color: #1f6b35; }
.status.s-due { background: #fdecea; color: #a1281e; }
.arrival { display: flex; gap: 10px; align-items: center; margin: 14px 0 !important; padding: 10px 12px; border-radius: 12px; background: var(--cream); color: var(--ink) !important; }
.arrival svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--ember); }
.due-note { margin: -4px 0 14px !important; }
.order-items { display: grid; gap: 12px; }
.oi { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.oi img, .oi-ph { display: block; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--sand); }
.oi-txt { display: grid; gap: 1px; min-width: 0; }
.oi-txt a { color: inherit; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 1.05rem; }
.test-note { margin: 12px 0 0 !important; background: #fff3b0; padding: 6px 10px; border-radius: 8px; }
.empty-orders { margin-top: 24px; text-align: center; }
.empty-orders h2 { margin-top: 0; }
.save-order { display: grid; gap: 6px; margin-top: 24px; }
.save-order .btn { justify-self: start; margin-top: 8px; padding: 10px 18px; }
@media (max-width: 480px) { .order-card { padding: 14px; } .back-link { margin-bottom: 14px; } }

/* ---------- Clean-up for phones and every screen (2026-12-04) ---------- */
/* Category tiles: the label fills the whole bottom of every tile, even when its name is one line. */
.cat-tile { display: flex; flex-direction: column; }
.cat-tile img { flex: 0 0 auto; }
.cat-tile span { flex: 1 1 auto; }
/* The closed cart drawer and the hidden pop-up message no longer peek in at the screen edges. */
.drawer { visibility: hidden; box-shadow: none; transition: transform 0.3s ease, visibility 0s linear 0.3s; }
.drawer.open { visibility: visible; box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease; }
.toast { visibility: hidden; opacity: 0; transition: transform 0.3s, opacity 0.3s, visibility 0s linear 0.3s; }
.toast.show { visibility: visible; opacity: 1; transition: transform 0.3s, opacity 0.3s; }
@media (max-width: 480px) {
  /* One short line at the top instead of two. */
  .announce { font-size: 0.8rem; padding: 7px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .announce .ann-x { display: none; }
  .testbar { font-size: 0.75rem; padding: 5px 10px; }
  /* A little more breathing room between page sections. */
  .page { padding-top: 28px; }
}

/* ---------- iOS refresh: clean black & white ---------- */
body { background: #fff; }
h1, h2, h3, .head, .bcard h3 { font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.eyebrow { color: var(--ink-soft); letter-spacing: 0.08em; font-weight: 600; }
.btn { border-width: 1.5px; padding: 13px 24px; font-weight: 600; }
.btn:hover { transform: none; opacity: 0.85; }
.btn-ember:hover { background: #000; border-color: #000; }

/* Top bars */
.testbar { background: #f5f5f7; color: #6e6e73; font-weight: 500; font-size: 0.75rem; padding: 4px 12px; }
.announce { background: #000; color: #fff; font-size: 0.8rem; font-weight: 500; padding: 7px 12px; letter-spacing: 0; }
.announce b { color: #fff; font-weight: 600; }
.announce a { text-decoration: none; }

/* Header: frosted white bar, thin hairline */
.header { background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 0.5px solid rgba(0, 0, 0, 0.14); }
.header .wrap { height: 56px; }
.logo { color: #000; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.035em; }
.logo svg { width: 24px; height: 24px; }
.nav { gap: 22px; }
.nav a { font-weight: 500; font-size: 0.92rem; color: #1d1d1f; opacity: 0.75; transition: opacity 0.15s; }
.nav a:hover { opacity: 1; color: #000; }
.search { background: #f2f2f7; border: 0; border-radius: 12px; padding: 0 12px; }
.search:focus-within { background: #ebebf0; box-shadow: none; }
.search input { padding: 9px 8px; font-size: 15px; }
.search-pop { border: 0.5px solid rgba(0, 0, 0, 0.1); border-radius: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14); }
.search-pop .hit:hover, .search-pop .hit.on { background: #f2f2f7; }
.acct-btn { border: 0; background: transparent; padding: 8px 10px; font-weight: 500; }
.acct-btn:hover { background: #f2f2f7; }
.acct-btn.in { background: #f2f2f7; }
.cart-btn { background: #000; color: #fff; padding: 8px 14px; font-weight: 600; }
.cart-count { background: #fff; color: #000; font-weight: 700; }
@media (max-width: 720px) {
  .header .wrap { padding: 8px 0 10px; row-gap: 8px; }
}

/* Home hero: light gray, black type */
.hero { background: #f5f5f7 !important; color: #111; }
.hero .eyebrow { color: #6e6e73; }
.hero h1 .hl::before { display: none; }
.hero .btn-light { background: #000; border-color: #000; color: #fff; }
.hero .btn-ghost { color: #000; border-color: rgba(0, 0, 0, 0.25); }
.hero-trust span::before { color: #000; }
.hero-art a { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
.hero-art span { background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ticker { background: #000; }
.ticker-track span::before { color: #8e8e93; }
.cat-tile { background: #f5f5f7 !important; }

/* Section chips: iOS pill tabs */
.chips { background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 0.5px solid rgba(0, 0, 0, 0.1); }
.chips a { border: 0; background: #f2f2f7; color: #111; font-weight: 500; padding: 8px 15px; }
.chips a:hover { background: #e5e5ea; color: #000; }
.chips a.on { background: #000; color: #fff; }

/* Product cards: no borders, soft shadow */
.card { border: 0; border-radius: 20px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 6px 18px rgba(0, 0, 0, 0.05); }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1); border-color: transparent; }
.card .title { font-weight: 600; }
.card .price { color: #000; font-weight: 700; }
.card .quick { background: #000; color: #fff; font-weight: 600; }
.card .quick:hover { background: #333; }
.card .tag { background: #f2f2f7; }
.card .tag.new { background: #000; color: #fff; box-shadow: none; }

/* Bundles keep their dark tiles; the savings badge flips to white so it stands out */
.bcard { background: #111; }
.bsave { background: #fff; color: #000; box-shadow: none; }
.bundle .total b { color: #fff; }

/* Footer */
.footer { background: #000; }
.footer .logo, .footer h4 { color: #fff; }
.hero::after { display: none; }
.footer .base .admin-link { color: inherit; opacity: .55; text-decoration: none; font-size: .85em; }
.footer .base .admin-link:hover { opacity: .9; }

/* ---------- Search bar: part of the header, with clear + voice buttons ---------- */
.search { height: 38px; flex: 1 1 auto; max-width: 440px; margin: 0 auto; padding: 0 4px 0 12px; gap: 2px; }
.search input { padding: 0 6px; height: 100%; }
.search input::-webkit-search-cancel-button, .search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search .s-clear, .search .mic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 13px; padding: 0; }
.search .s-clear { width: 22px; height: 22px; border-radius: 50%; background: #c7c7cc; color: #fff; font-size: 11px; font-weight: 700; margin-right: 2px; }
.search .s-clear[hidden], .search .mic[hidden] { display: none; }
.search .mic:hover { background: rgba(0, 0, 0, 0.06); color: #000; }
.search.listening { background: #fff; box-shadow: 0 0 0 2px #000 inset; }
.search.listening .mic { background: #ff3b30; color: #fff; animation: micPulse 1.2s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); } }
@media (prefers-reduced-motion: reduce) { .search.listening .mic { animation: none; } }
/* Phones and tablets: the search sits as a second row INSIDE the frosted header (the header used to be fixed at 56px, so the bar spilled out under it). */
@media (max-width: 860px) {
  .header .wrap { height: auto; min-height: 56px; padding: 8px 0 10px; row-gap: 8px; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin: 0; height: 40px; }
}

/* Voice search help popup (microphone blocked / not supported) */
.mic-sheet { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: micFade 0.18s ease-out; }
.mic-card { width: min(360px, 100%); background: #fff; border-radius: 22px; padding: 26px 22px 18px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); }
.mic-card .mic-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #000; color: #fff; }
.mic-card .mic-ic svg { width: 24px; height: 24px; }
.mic-card h3 { font-size: 19px; margin: 0 0 8px; }
.mic-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.45; margin: 0 0 18px; }
.mic-card .mic-acts { display: grid; gap: 8px; }
.mic-card .mic-acts .btn { width: 100%; justify-content: center; }
.mic-card .btn.btn-ghost { background: transparent; color: var(--ink); box-shadow: none; border: 0; }
@keyframes micFade { from { opacity: 0; } to { opacity: 1; } }
