/* ============ Base layout & components — every color/font comes from theme variables ============ */
:root {
  --container: 1280px;
  --bg: #fff; --surface: #fff; --surface-2: #f5f5f5; --text: #333; --muted: #6b6b6b; --heading: #222; --border: #e3e3e3;
  --accent: #1a73e8; --accent-hover: #0f5bc4; --accent-contrast: #fff; --link: var(--accent);
  --warn-bg: #fff; --warn-text: #1c1c1c; --warn-border: #1c1c1c;
  --promo-bg: #c8102e; --promo-text: #fff; --info-bg: #000; --info-text: #fff; --info-link: #fff;
  --header-bg: #fff; --header-text: #1c1c1c; --nav-bg: #fff; --nav-text: #1c1c1c; --nav-hover: var(--accent); --nav-border: var(--border);
  --mega-bg: #fff; --search-bg: #f3f3f3;
  --footer-bg: #111; --footer-text: #fff; --footer-muted: #b9b9b9; --footer-news-bg: #1b1b1b; --footer-legal-bg: #0a0a0a;
  --ph: #ececec; --ph-stripe: #e2e2e2; --ph-text: #9a9a9a; --sk: #e4e4e4;
  --font-body: "Open Sans", system-ui, sans-serif; --font-head: "Montserrat", Arial, sans-serif;
  --fs-body: 15px; --head-weight: 700; --head-transform: none; --head-spacing: 0;
  --nav-transform: uppercase; --nav-weight: 600; --nav-size: 14px;
  --radius: 4px; --radius-lg: 8px; --btn-radius: 4px; --shadow: 0 1px 3px rgba(0,0,0,.08); --shadow-lg: 0 12px 40px rgba(0,0,0,.18);
  --hero-1: linear-gradient(120deg, #1f2a44, #3b4c7a); --hero-2: linear-gradient(120deg, #3a1020, #8a1c33); --hero-3: linear-gradient(120deg, #0f3530, #1f6f62);
  --hero-text: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--fs-body)/1.6 var(--font-body); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); font-weight: var(--head-weight); text-transform: var(--head-transform); letter-spacing: var(--head-spacing); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--accent); color: var(--accent-contrast); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: var(--btn-radius); padding: 10px 20px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .02em; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-contrast); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: var(--radius); position: relative; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); text-decoration: none; }

/* ---------- Top bars ---------- */
.bar-warning { background: var(--warn-bg); color: var(--warn-text); border-bottom: 2px solid var(--warn-border); text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; }
.bar-promo { background: var(--promo-bg); color: var(--promo-text); text-align: center; font-size: 14px; padding: 8px 44px; position: relative; }
.bar-promo a { color: inherit; text-decoration: underline; font-weight: 700; margin-left: 6px; }
.promo-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; cursor: pointer; padding: 4px; }
.promo-close svg { width: 18px; height: 18px; }
.bar-info { background: var(--info-bg); color: var(--info-text); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.bar-info-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.bar-info a { color: var(--info-link); }
.bar-info-links { display: flex; gap: 18px; margin-left: auto; }

/* ---------- Header ---------- */
.site-header { background: var(--header-bg); color: var(--header-text); position: relative; z-index: 50; border-bottom: 1px solid var(--nav-border); }
.hdr { display: grid; align-items: center; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px;
  grid-template-columns: auto 1fr auto; grid-template-areas: "burger logo icons"; }
.hdr-burger { grid-area: burger; }
.hdr-logo { grid-area: logo; min-width: 0; }
.hdr-search { grid-area: search; display: none; }
.hdr-icons { grid-area: icons; display: flex; align-items: center; }
.hdr-nav { grid-area: nav; display: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--header-text); text-decoration: none !important; min-width: 0; max-width: 100%; }
@media (max-width: 479px) { .logo-mark { width: 26px; height: 26px; box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--accent) 60%, #fff); } .bar-info-inner > span:first-child { font-size: 11px; } }
.logo-mark { width: 34px; height: 34px; flex: none; border-radius: var(--radius); background: var(--accent); box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--accent) 60%, #fff); }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: clamp(15px, 3.6vw, 22px); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: var(--accent-contrast); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }

.hdr-search { position: relative; }
.hdr-search input { width: 100%; height: 44px; border: 1px solid var(--border); background: var(--search-bg); border-radius: var(--radius); padding: 0 48px 0 16px; }
.hdr-search button { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 40px; border: 0; background: none; cursor: pointer; color: var(--muted); }

@media (min-width: 1024px) {
  .hdr { grid-template-columns: auto minmax(200px, 1fr) auto; grid-template-areas: "logo search icons" "nav nav nav"; padding-top: 16px; padding-bottom: 0; }
  .hdr-burger, .js-open-search { display: none; }
  .hdr-search { display: block; max-width: 560px; justify-self: center; width: 100%; }
  .hdr-nav { display: block; background: var(--nav-bg); margin: 0 -24px; padding: 0 24px; border-top: 1px solid var(--nav-border); }
}

/* Desktop nav + mega-menu */
.nav-list { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.nav-item { position: static; }
.nav-link { display: block; padding: 14px 10px; color: var(--nav-text); font-family: var(--font-head); font-weight: var(--nav-weight); font-size: var(--nav-size); text-transform: var(--nav-transform); letter-spacing: .03em; border-bottom: 3px solid transparent; }
.nav-item.open > .nav-link, .nav-link:hover { color: var(--nav-hover); border-bottom-color: var(--nav-hover); text-decoration: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--mega-bg); color: var(--text); border-top: 1px solid var(--border); box-shadow: var(--shadow-lg); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav-item.open > .mega { visibility: visible; opacity: 1; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 280px; grid-template-rows: auto 1fr; gap: 12px 32px; padding-top: 24px; padding-bottom: 28px; }
.mega-all { grid-column: 1; font-family: var(--font-head); font-weight: 700; color: var(--heading); text-transform: var(--nav-transform); }
.mega-list { grid-column: 1; list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 32px; }
.mega-wide .mega-list { columns: 5; }
.mega-list li { break-inside: avoid; }
.mega-list a { display: block; padding: 5px 0; color: var(--text); }
.mega-list a:hover { color: var(--accent); }
.mega-promo { grid-column: 2; grid-row: 1 / span 2; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.5); }
.drawer[hidden], .search-pop[hidden] { display: none; }
.drawer-panel { width: min(360px, 88vw); height: 100%; overflow-y: auto; background: var(--surface); color: var(--text); display: flex; flex-direction: column; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.drawer-head .logo { color: var(--heading); }
.drawer-list { list-style: none; margin: 0; padding: 0; }
.drawer-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); font-family: var(--font-head); font-weight: 700; text-transform: var(--nav-transform); cursor: pointer; }
.drawer-list summary::-webkit-details-marker { display: none; }
.drawer-list details[open] summary svg { transform: rotate(180deg); }
.drawer-list ul { list-style: none; margin: 0; padding: 6px 0 10px; background: var(--surface-2); }
.drawer-list ul a { display: block; padding: 8px 28px; color: var(--text); }
.drawer-foot { margin-top: auto; padding: 16px; display: grid; gap: 10px; border-top: 1px solid var(--border); }

/* Search popup */
.search-pop { position: fixed; inset: 0; z-index: 210; background: rgba(0,0,0,.55); display: grid; align-items: start; justify-items: center; padding: 60px 16px; }
.search-pop-panel { position: relative; width: min(760px, 100%); background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: 40px 24px 24px; box-shadow: var(--shadow-lg); }
.search-pop-close { position: absolute; right: 8px; top: 8px; }
.search-pop-form { display: flex; gap: 8px; }
.search-pop-form input, .search-page-form input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--border); background: var(--search-bg); border-radius: var(--radius); padding: 0 16px; }
.search-pop-h { font-size: 14px; margin: 20px 0 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 13px; background: var(--surface); }
.chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ---------- Placeholders ---------- */
.ph-img { position: relative; aspect-ratio: 1; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--ph-text); border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--ph), var(--ph) 12px, var(--ph-stripe) 12px, var(--ph-stripe) 24px); }
.ph-img--promo { aspect-ratio: 4/3; height: 100%; }
.ph-img--thumb { width: 64px; flex: none; }
.ph-img--logo { aspect-ratio: 3/2; }
.sk { display: block; height: 10px; border-radius: 5px; background: var(--sk); margin: 6px 0; }
.sk-80 { width: 80%; } .sk-50 { width: 50%; } .sk-30 { width: 30%; }
.sk-price { height: 14px; background: color-mix(in srgb, var(--accent) 30%, var(--sk)); }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; }
.hero-track { display: flex; transition: transform .6s ease; }
.hero-slide { flex: 0 0 100%; min-height: clamp(300px, 42vw, 520px); display: flex; align-items: center; color: var(--hero-text); }
.hero-slide--1 { background: var(--hero-1); } .hero-slide--2 { background: var(--hero-2); } .hero-slide--3 { background: var(--hero-3); }
.hero-inner { padding-top: 40px; padding-bottom: 60px; }
/* Photo slides: image fills the slide, a left-weighted scrim keeps the headline readable in every theme */
.hero-slide.has-img { position: relative; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 70% 50%; max-width: none; }
.hero-slide.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,6,4,.78) 0%, rgba(8,6,4,.45) 45%, rgba(8,6,4,0) 75%); }
.hero-slide.has-img .hero-inner { position: relative; z-index: 1; color: #fff; }
.hero-slide.has-img .hero-h { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
@media (max-width: 767px) { .hero-slide.has-img::after { background: linear-gradient(0deg, rgba(8,6,4,.88) 0%, rgba(8,6,4,.62) 55%, rgba(8,6,4,.45) 100%); }
  .hero-slide.has-img .hero-h { font-size: clamp(26px, 8vw, 34px); }
  .hero-slide.has-img { align-items: flex-end; } }
.mega-banner { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none !important; aspect-ratio: 4 / 3; }
.mega-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mega-banner:hover img { transform: scale(1.04); }
.mega-banner-cta { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0)); }
@media (min-width: 768px) { .hero-inner { padding-left: 76px; padding-right: 76px; } }
.hero-kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.hero-h { color: inherit; font-size: clamp(28px, 5vw, 56px); max-width: 14ch; margin-bottom: 24px; }
.hero-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #111; display: grid; place-items: center; cursor: pointer; }
.hero-prev { left: 12px; } .hero-next { right: 12px; }
.hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; align-items: center; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; }
.hero-dots .hero-pause { width: auto; height: auto; background: none; color: #fff; font-size: 11px; padding: 2px 6px; }
@media (max-width: 767px) { .hero-btn { display: none; } }

.home-h1 { font-size: clamp(20px, 3vw, 28px); text-align: center; margin: 32px 0 0; font-weight: 400; }
.section { padding: 40px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.sec-head--center { justify-content: center; }
.sec-title { font-size: clamp(20px, 2.4vw, 26px); margin: 0; text-transform: var(--head-transform); }
.view-all { font-weight: 700; font-size: 14px; }

.carousel { position: relative; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
@media (max-width: 1023px) { .car-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 639px) { .car-track { grid-auto-columns: 70%; } }
.car-btn { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.car-prev { left: -12px; } .car-next { right: -12px; }
@media (max-width: 639px) { .car-btn { display: none; } }
.empty-note { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; }

.p-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.p-badge { position: absolute; top: 18px; left: 18px; background: var(--accent); color: var(--accent-contrast); font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: var(--radius); }
.p-body { flex: 1; }
.p-cta { width: 100%; }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .cat-grid { gap: 24px; padding: 0 5%; } }
.cat-tile { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; color: var(--heading); font-family: var(--font-head); font-weight: 700; font-size: 14px; text-decoration: none !important; }
.ph-img--photo { background: none; overflow: hidden; }
.ph-img--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-tile .ph-img { width: 100%; border-radius: var(--radius-lg); transition: transform .2s; }
.cat-tile:hover .ph-img { transform: translateY(-3px); }
.cat-tile:hover .cat-name { color: var(--accent); }

.best-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.best-item { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.best-rank { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--accent); width: 24px; text-align: center; }
.best-body { flex: 1; }

.seo-sec { background: var(--surface-2); }
.seo-inner { max-width: 900px; text-align: center; }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-weight: 700; }

.faq-wrap { max-width: 900px; }
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 4px; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; transition: transform .2s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 4px 12px; color: var(--muted); }

.reviews-strip { background: var(--surface-2); border-top: 1px solid var(--border); }
.reviews-inner { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; padding-top: 24px; padding-bottom: 24px; }
.reviews-h { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--heading); }
.stars { color: #f5a623; font-size: 20px; letter-spacing: 2px; }
.reviews-note { color: var(--muted); font-size: 13px; }

/* ---------- Inner pages ---------- */
.page-wrap { padding-top: 20px; padding-bottom: 56px; }
.page-wrap.narrow { max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .03em; }
.crumbs a { color: var(--muted); }
.page-h { font-size: clamp(24px, 3.5vw, 34px); }
.cat-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .cat-layout { grid-template-columns: 240px 1fr; } }
.cat-side { display: none; }
@media (min-width: 1024px) { .cat-side { display: block; } }
.side-h { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.side-list { list-style: none; margin: 0 0 28px; padding: 0; }
.side-list a { display: block; padding: 5px 0; color: var(--text); font-size: 14px; }
.side-list a[aria-current] { color: var(--accent); font-weight: 700; }
.subcats { background: var(--surface-2); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 20px; }
.subcats-h { display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: 10px; color: var(--heading); }
.action-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; font-size: 14px; }
.action-bar select { height: 38px; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 10px; background: var(--surface); }
.result-count { margin-left: auto; color: var(--muted); }
.empty-state { text-align: center; padding: 32px 16px; border: 1px dashed var(--border); border-radius: var(--radius-lg); margin-bottom: 24px; color: var(--muted); }
.empty-state h2 { font-size: 20px; margin-bottom: 6px; }
.empty-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--surface-2); color: var(--accent); }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; opacity: .55; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 28px 0; }
.pagination a { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.pagination a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.cat-desc { border-top: 1px solid var(--border); padding-top: 20px; color: var(--muted); }
.cat-desc h2 { font-size: 18px; }

.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 24px; }
.az a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius); font-weight: 700; color: var(--text); }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-bottom: 40px; }
.brand-tile { display: grid; gap: 8px; text-align: center; color: var(--heading); font-weight: 600; font-size: 14px; text-decoration: none !important; }
/* Logo tiles are white by design (the image carries its own white background) in every theme */
.brand-logo { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: box-shadow .2s, transform .2s; }
.brand-tile:hover .brand-logo { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.brand-logo--hero { width: min(260px, 60%); margin-bottom: 12px; }
.az-h { font-size: 22px; border-bottom: 1px solid var(--border); padding-bottom: 6px; margin-top: 24px; scroll-margin-top: 20px; }
.az-list { list-style: none; padding: 0; columns: 3 160px; }
.az-list a { display: block; padding: 4px 0; color: var(--text); }

.prose { max-width: 75ch; }
.prose h2 { font-size: 22px; margin-top: 1.4em; }
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--surface-2); font-family: var(--font-head); }
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.coupon { border: 2px dashed var(--accent); border-radius: var(--radius-lg); padding: 16px; display: grid; gap: 4px; text-align: center; }
.coupon strong { font-family: var(--font-head); font-size: 20px; color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; }
.steps > div { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 16px; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.blog-card .ph-img { aspect-ratio: 16/9; border-radius: 0; }
.blog-body { padding: 16px; }
.blog-body h3 { font-size: 18px; }
.blog-meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }

.form { display: grid; gap: 14px; margin-top: 24px; max-width: 720px; }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--heading); }
.form input, .form textarea, .form select { width: 100%; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; background: var(--surface); font-weight: 400; color: var(--text); }
.form .btn { justify-self: start; }
.form-ok { padding: 16px; background: var(--surface-2); border-left: 4px solid var(--accent); }
.form-note { font-size: 13px; color: var(--muted); }
.search-page-form { display: flex; gap: 8px; margin-bottom: 24px; }


/* Auth / cart / product */
.auth-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.auth-box { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; background: var(--surface); }
.auth-box h2 { font-size: 20px; }
.auth-box ul { padding-left: 18px; color: var(--muted); }
.cart-empty { text-align: center; padding: 48px 16px; }
.cart-table-head { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; gap: 12px; padding: 10px 0; border-bottom: 2px solid var(--border); font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.cart-summary { margin-left: auto; max-width: 360px; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; background: var(--surface); }
.cart-summary div { display: flex; justify-content: space-between; padding: 6px 0; }
.cart-summary .total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; font-weight: 800; }
@media (max-width: 639px) { .cart-table-head { display: none; } }

.pdp { display: grid; gap: 32px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; } }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.pdp-brand { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--muted); font-weight: 700; }
.pdp-price { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--accent); margin: 8px 0 4px; }
.pdp-promo { display: inline-block; background: var(--surface-2); padding: 4px 10px; border-radius: var(--radius); font-size: 13px; font-weight: 600; }
.opt { margin: 18px 0; }
.opt-h { font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--heading); }
.opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-row button { padding: 8px 14px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); cursor: pointer; font-size: 14px; }
.opt-row button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); font-weight: 700; }
.qty-row { display: flex; gap: 10px; align-items: stretch; margin-top: 20px; }
.qty { display: flex; border: 1px solid var(--border); border-radius: var(--radius); }
.qty button { width: 40px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty input { width: 48px; text-align: center; border: 0; background: none; }
.qty-row .btn { flex: 1; }
.pdp-meta { list-style: none; padding: 0; margin: 20px 0 0; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
.tabs { margin-top: 40px; }
.tab-list { display: flex; gap: 4px; border-bottom: 2px solid var(--border); overflow-x: auto; }
.tab-list button { padding: 12px 18px; border: 0; background: none; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tab-list button[aria-selected="true"] { color: var(--heading); border-bottom-color: var(--accent); }
.tab-panel { padding: 20px 0; }

/* ---------- Live products, cart & toast ---------- */
.p-art { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; color: #fff;
  background: radial-gradient(circle at 70% 25%, hsl(var(--h) 85% 72% / .9), transparent 55%), linear-gradient(150deg, hsl(var(--h) 65% 52%), hsl(var(--h) 60% 26%)); }
/* Juice placeholder = e-liquid bottle: rounded body + child-resistant cap with a pointed nozzle tip */
.p-art::before { content: ""; position: absolute; left: 50%; top: 22%; width: 27%; height: 44%; transform: translateX(-50%); border-radius: 12px 12px 8px 8px;
  background: rgba(255,255,255,.22); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.p-art::after { content: ""; position: absolute; left: 50%; top: 5%; width: 19%; height: 18%; transform: translateX(-50%); background: rgba(255,255,255,.55);
  clip-path: polygon(42% 0, 58% 0, 100% 58%, 100% 100%, 0 100%, 0 58%); }
.p-art--coil::before { top: 18%; width: 22%; height: 44%; border-radius: 6px;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.4) 0 3px, rgba(255,255,255,.12) 3px 7px); }
.p-art--coil::after { top: 12%; width: 12%; height: 7%; border-radius: 2px; clip-path: none; background: rgba(255,255,255,.4); }
.p-art--photo { background: #fff; padding: 0; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.06); }
.p-art--photo::before, .p-art--photo::after { display: none; }
.p-art--photo img { width: 100%; height: 100%; object-fit: contain; }
.p-art-name { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 13px; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.p-art-tag { position: relative; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.p-art--big { border-radius: var(--radius-lg); padding: 24px; }
.p-art--big .p-art-name { font-size: clamp(20px, 3vw, 30px); }
.p-img { display: block; }
.p-brand { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 2px 0 2px; }
.p-name { font-size: 15px; line-height: 1.3; margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.p-name a { color: var(--heading); }
.p-price { font-family: var(--font-head); font-weight: 800; color: var(--accent); margin: 0; }
.p-price s, .pdp-compare { color: var(--muted); font-weight: 400; font-size: .85em; }
.p-grid--live { opacity: 1; }
.best-item { color: var(--text); text-decoration: none !important; }
.best-item:hover { border-color: var(--accent); }
.best-item .ph-img--thumb .p-art { padding: 0; }
.best-item .p-art-name, .best-item .p-art-tag, .cart-thumb .p-art-name, .cart-thumb .p-art-tag { display: none; }
.best-name { display: block; font-weight: 600; color: var(--heading); line-height: 1.3; }
.best-price { color: var(--accent); font-weight: 700; font-size: 14px; }
.muted { color: var(--muted); }
.pdp-blurb { color: var(--muted); }
.pdp-reviews { font-size: 13px; color: var(--muted); }
.opt-cur { font-weight: 400; color: var(--muted); }
.opt-row button small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.pdp .pdp-promo { margin-bottom: 4px; }
.steps-wrap { margin-top: 18px; }
.opt.step { margin: 0; padding: 14px 0; border-top: 1px solid var(--border); }
.opt.step[hidden] { display: none; }
.opt.step .opt-h { display: flex; align-items: center; gap: 8px; }
.step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--heading); border: 1px solid var(--border); }
.opt.step.done .step-n { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); font-size: 0; }
.opt.step.done .step-n::before { content: "✓"; font-size: 12px; }
.opt.step.done .opt-cur { color: var(--heading); font-weight: 700; }
.opt.step.reveal { animation: step-in .28s ease-out; }
@keyframes step-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.step-hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); min-height: 1.2em; }.link-btn { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; cursor: pointer; font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  background: #111; color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 14px; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
@media (max-width: 767px) { .toast { bottom: 76px; width: max-content; max-width: calc(100vw - 32px); } }   /* clear the theme pill & chat button */
.toast a { color: #fff; font-weight: 700; text-decoration: underline; margin-left: 6px; }
.cart-rows { margin-bottom: 24px; }
.cart-row { display: grid; grid-template-columns: 3fr 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-thumb { width: 80px; flex: none; }
.cart-thumb .p-art { padding: 0; }
.cart-name { font-weight: 700; color: var(--heading); }
.cart-opts { font-size: 13px; color: var(--muted); margin: 2px 0 4px; }
.cart-line { font-weight: 700; }
.cart-actions { display: inline-flex; gap: 16px; align-items: center; }
.cart-actions .link-btn { font-size: 13px; padding: 4px 0; }
@media (max-width: 767px) { .cart-actions .link-btn { padding: 10px 0; font-size: 14px; } }
.edit-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.qty-n { min-width: 36px; display: grid; place-items: center; }
.coupon-form { display: flex; gap: 8px; margin-top: 8px; }
.coupon-form input { flex: 1; min-width: 0; height: 36px; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 10px; background: var(--surface); text-transform: uppercase; }
.cart-summary .coupon-form { display: flex; padding: 0; }
.coupon-msg { font-size: 13px; margin: 6px 0 0; color: var(--muted); }
.coupon-bad { color: #c0392b; }
.cart-summary .cart-discount { color: #1e8e3e; font-weight: 700; }
@media (max-width: 639px) {
  .cart-row { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-column: 1 / -1; }
  .cart-cell::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; display: block; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 0; }
.site-footer a { color: var(--footer-text); }
.f-newsletter { background: var(--footer-news-bg); }
.f-news-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.f-news-h { color: var(--footer-text); font-size: 20px; margin: 0; }
.f-news-form { display: flex; gap: 8px; flex: 1; max-width: 520px; min-width: min(100%, 280px); }
.f-news-form input { flex: 1; min-width: 0; height: 46px; border: 1px solid color-mix(in srgb, var(--footer-text) 25%, transparent); border-radius: var(--radius); padding: 0 14px; background: color-mix(in srgb, var(--footer-text) 6%, transparent); color: var(--footer-text); }
.f-news-form input::placeholder { color: var(--footer-muted); }
.f-news-ok { margin: 0; }
.f-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding-top: 40px; padding-bottom: 32px; }
.f-h { color: var(--footer-text); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.f-h--follow { margin-top: 20px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li a { display: block; padding: 4px 0; color: var(--footer-muted); font-size: 14px; }
.f-col li a:hover { color: var(--footer-text); }
.f-col address { font-style: normal; color: var(--footer-muted); font-size: 14px; line-height: 1.8; }
.f-col address strong { color: var(--footer-text); }
.f-social { display: inline-flex; align-items: center; gap: 8px; }
.f-legal { border-top: 1px solid color-mix(in srgb, var(--footer-text) 15%, transparent); padding-top: 24px; padding-bottom: 88px; }
.f-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 14px; }
.pay-card { display: block; height: 70px; width: auto; border-radius: 8px; }
@media (max-width: 479px) { .pay-card { height: 52px; } }
.f-badges { align-items: center; }
.secure-badge { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; border: 1px solid color-mix(in srgb, var(--footer-text) 35%, transparent); color: var(--footer-text); border-radius: 8px; padding: 8px 14px; font-size: 13px; font-weight: 700; letter-spacing: .03em; line-height: 1.2; }
.secure-badge svg { grid-row: 1 / 3; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.secure-badge small { font-size: 11px; font-weight: 500; color: var(--footer-muted); letter-spacing: 0; }
.f-copy { text-align: center; color: var(--footer-muted); font-size: 13px; }
.f-disclaimer { font-size: 12px; color: var(--footer-muted); line-height: 1.6; max-width: 1000px; margin: 0 auto; }
.f-disclaimer strong { color: var(--footer-text); }
.f-disclaimer a { text-decoration: underline; }

/* Floating UI */
.chat-btn { text-decoration: none !important; position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; background: var(--accent); color: var(--accent-contrast); font-family: var(--font-head); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); cursor: pointer; }
.theme-pill { position: fixed; left: 16px; bottom: 16px; z-index: 95; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: #111; color: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.35); font: 600 13px/1 system-ui, sans-serif; }
.theme-pill-label { display: flex; align-items: center; gap: 6px; color: #fff; padding: 0 10px 0 8px; }
.theme-pill-label svg { width: 18px; height: 18px; }
.theme-pill button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; font: inherit; }
.theme-pill button:hover { background: #333; }
.theme-pill button[aria-pressed="true"] { background: #fff; color: #111; }
.is-preview .theme-pill, .is-preview .chat-btn { display: none; }
.themes-locked .theme-pill { display: none; }
@media (max-width: 480px) { .theme-pill-label span, .chat-btn span { display: none; } .chat-btn { padding: 12px; } }

/* Age gate */
.age-gate { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; background: rgba(10, 14, 24, .72); backdrop-filter: blur(6px); }
.age-panel { width: min(440px, 100%); background: var(--surface); color: var(--text); border-radius: 16px; padding: 32px 28px 22px; text-align: center; box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent); }
.age-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-contrast); }
.age-icon svg { width: 28px; height: 28px; }
.age-brand { font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.age-panel h2 { font-size: 24px; }
.age-panel p { font-size: 14px; color: var(--muted); }
.age-no { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--muted); text-decoration: underline; }
.age-note { font-size: 12px !important; margin: 14px 0 0; }

/* ---------- Touch & small-screen fixes (all themes) ---------- */
.hero-dots button:not(.hero-pause) { width: 28px; height: 28px; padding: 9px; background-clip: content-box; }
.hero-dots .hero-pause { min-width: 32px; min-height: 28px; }
.f-news-form { flex-wrap: wrap; }
.f-news-form input { flex: 1 1 180px; }
.f-news-form .btn { flex: 0 0 auto; }
.p-art-tag { font-size: 11px; }
@media (max-width: 767px) {
  .bar-info-inner > span:first-child a, .bar-info-links a { display: inline-block; padding: 9px 2px; }
  .promo-close { width: 40px; height: 40px; display: grid; place-items: center; right: 2px; }
  .logo { min-height: 44px; }
  .seo-links a, .view-all, .form-note, .az a { display: inline-block; padding-top: 9px; padding-bottom: 9px; }
  .f-col li a, .az-list a { padding: 10px 0; }
  .bar-promo a { display: inline-block; padding: 9px 2px; }
  .f-social { min-height: 44px; }
  .f-news-form .btn { flex: 1 1 100%; }
  .theme-pill { padding: 3px; }
  .theme-pill-label { min-height: 36px; }
  .theme-pill button { width: 36px; height: 36px; }
  .opt-row button { min-height: 44px; }
  .qty button { min-width: 44px; min-height: 44px; }
  .chip { padding: 10px 14px; }
  .pagination a { min-width: 44px; height: 44px; }
  .car-track { scroll-padding-left: 2px; }
  .page-h { overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  .hdr { gap: 6px 8px; }
  .icon-btn { width: 40px; height: 40px; }
  .theme-pill button { width: 32px; height: 32px; }
}

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

/* Friendly "real people" callout on policy pages */
.policy-note { border-left: 4px solid var(--accent, #0a63e6); background: rgba(10, 99, 230, .06); padding: 14px 18px; border-radius: 6px; margin: 0 0 20px; }

/* Brand logo image (Custom Blend Vape Juice) */
.logo-img { display: block; height: 88px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 479px) { .logo-img { height: 50px; } }
.drawer-head .logo-img { height: 44px; }

/* Footer shipping advisory */
.f-advisory { max-width: 1000px; margin: 0 auto 16px; padding: 12px 16px; border: 1px solid color-mix(in srgb, var(--footer-text) 35%, transparent); border-left: 4px solid var(--accent); border-radius: 6px; color: var(--footer-text); font-size: 14px; line-height: 1.55; text-align: center; }
.f-advisory--top { margin: 28px auto 0; }
