/* =====================================================================
   The Vape Mall — theme.css
   Brand palette derived from the live BigCommerce storefront:
   cyan #00a7ce / bright #2accf0, charcoal #333, sale red #e40846.
   ===================================================================== */

:root {
	--brand:        #00a7ce;
	--brand-light:  #2accf0;
	--brand-dark:   #0b7aae;
	--ink:          #333333;
	--ink-soft:     #4d4d4d;
	--muted:        #777777;
	--line:         #e3e3e3;
	--line-soft:    #ededed;
	--bg:           #ffffff;
	--bg-alt:       #f6f8f9;
	--bg-dark:      #1f2a30;
	--sale:         #e40846;
	--ok:           #1f9d55;
	--radius:       8px;
	--radius-lg:    14px;
	--shadow:       0 2px 10px rgba(0,0,0,.06);
	--shadow-lg:    0 10px 30px rgba(0,0,0,.10);
	--container:    1240px;
	--font:         'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-head:    'Lato', 'Open Sans', Arial, sans-serif;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 1000; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block; cursor: pointer; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 700; font-size: 15px;
	padding: 11px 22px; border-radius: 999px; transition: .18s ease;
	text-align: center; line-height: 1.1;
}
.btn-accent { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-accent:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand-dark); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-lg { font-size: 17px; padding: 14px 30px; }
.btn-sm { font-size: 13px; padding: 7px 14px; }

/* ---------- 21+ Age gate ---------- */
.tvm-agegate {
	position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center;
	padding: 20px; background: rgba(15,22,26,.97);
	background-image: linear-gradient( 135deg, rgba(0,167,206,.20), rgba(15,22,26,.97) );
}
html.tvm-age-ok .tvm-agegate { display: none; }
html:not(.tvm-age-ok), html:not(.tvm-age-ok) body { overflow: hidden; }
.agegate-box { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 460px; width: 100%; padding: 36px 30px; text-align: center; }
.agegate-logo { max-height: 84px; width: auto; margin: 0 auto 18px; }
.agegate-title { font-size: 26px; margin: 0 0 10px; }
.agegate-text { color: var(--ink-soft); margin: 0 0 22px; }
.agegate-actions { display: flex; gap: 12px; justify-content: center; }
.agegate-actions .btn { min-width: 130px; }
.agegate-warning { margin: 22px 0 0; font-size: 12px; color: var(--muted); }
.agegate-warning strong { color: var(--sale); }

/* Cookie consent notice (CCPA) - non-blocking bottom bar */
.tvm-cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--bg); border-top: 1px solid var(--line, #e2e6e8); box-shadow: 0 -6px 24px rgba(0,0,0,.10); }
.tvm-cookie-banner .cookie-inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 18px; }
.tvm-cookie-banner .cookie-text { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; flex: 1 1 auto; }
.tvm-cookie-banner .cookie-text a { color: var(--brand-dark); text-decoration: underline; }
.tvm-cookie-banner .cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.tvm-cookie-banner .cookie-actions .btn { min-width: 96px; }
.copyright-cookie { margin-left: 14px; }
/* The Pure Chat "Contact us" tab is pinned bottom-right above everything and covered the banner's buttons - hide it while the banner is open. */
.tvm-cookie-open #PureChatWidget, .tvm-cookie-open .purechat { display: none !important; }
@media ( max-width: 640px ) {
	.tvm-cookie-banner .cookie-inner { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px; text-align: center; }
	.tvm-cookie-banner .cookie-actions { justify-content: center; }
	.copyright-cookie { display: inline-block; margin: 4px 8px 0; }
}

/* ---------- FDA warning bar ---------- */
.fda-warning { background: #fff; border-bottom: 1px solid var(--line); text-align: center; }
.fda-warning p { margin: 0; padding: 9px 20px; font-size: 16.2px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.fda-warning strong { color: var(--sale); }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--bg-dark); color: #cfe9f2; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar-msg { margin: 0; }
.topbar-msg strong { color: var(--brand-light); }
.topbar-nav .utility-menu { display: flex; gap: 18px; list-style: none; }
.topbar-nav a { color: #cfe9f2; }
.topbar-nav a:hover { color: #fff; }

/* ---------- Header ---------- */
/* Whole top stack sticks (FDA bar + top bar + main header + nav stay on scroll). */
.site-sticky { position: sticky; top: 0; z-index: 200; transition: transform .28s ease; }
.site-sticky.nav-hidden { transform: translateY(-100%); }  /* auto-hide on scroll-down (desktop) */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner {
	display: flex; align-items: center; flex-wrap: wrap;
	gap: 16px 26px; padding: 16px 20px;
}
.site-branding { margin-right: auto; }   /* logo pinned left; right column pushed right */
.site-branding .custom-logo, .site-branding img { max-height: 160px; width: auto; }
/* Right column: Account/Cart on top, search below. */
.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.header-search { width: 380px; max-width: 100%; }
/* Bold cyan SEARCH bar */
.search-form { display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.search-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,167,206,.15); }
.search-ico { display: flex; align-items: center; padding-left: 14px; color: var(--muted); }
.search-ico svg { width: 16px; height: 16px; }
.search-form .search-field { flex: 1; min-width: 0; border: 0; padding: 9px 12px; font-size: 14px; outline: none; background: transparent; }
.search-form .search-submit {
	border: 0; background: var(--brand); color: #fff; cursor: pointer;
	font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
	letter-spacing: .5px; font-size: 13px; padding: 0 22px; flex: none;
}
.search-form .search-submit:hover { background: var(--brand-dark); }

.header-actions { display: flex; gap: 22px; align-items: center; }
.header-account, .header-cart { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 14px; position: relative; }
.header-account:hover, .header-cart:hover { color: var(--brand); }
.ha-icon { font-size: 20px; }
.cart-count {
	background: var(--brand); color: #fff; font-size: 11px; font-weight: 700;
	min-width: 19px; height: 19px; border-radius: 999px; display: inline-flex;
	align-items: center; justify-content: center; padding: 0 5px;
}

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; position: relative; }
.menu-toggle-bar, .menu-toggle-bar::before, .menu-toggle-bar::after {
	content: ''; position: absolute; left: 7px; right: 7px; height: 3px; border-radius: 2px; background: var(--ink); transition: .2s;
}
.menu-toggle-bar { top: 20px; }
.menu-toggle-bar::before { top: -8px; } .menu-toggle-bar::after { top: 8px; }

/* ---------- Compact top email signup ---------- */
.newsletter-top { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.newsletter-top-inner { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 20px; flex-wrap: wrap; }
.nt-copy { margin: 0; font-size: 14px; color: var(--ink-soft); }
.nt-copy strong { color: var(--brand-dark); }
.newsletter-top-form { display: flex; gap: 8px; }
.newsletter-top-form input { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; min-width: 220px; }
.newsletter-top-form input:focus { outline: none; border-color: var(--brand); }

/* ---------- Primary nav ---------- */
.main-navigation { background: var(--brand); }
/* Single row: equal-width cells with dividers; long labels wrap inside their cell. */
.main-navigation > .container { max-width: 1400px; } /* wider than the 1200px header box so all 12 items fit; centered on the page (may extend past logo/search) */
.main-navigation .nav-menu { display: flex; flex-wrap: nowrap; list-style: none; }
/* flex:1 1 auto (no min-width:0) = cells size to content and won't let a word
   overflow into the neighbouring cell; they still share the bar's full width. */
.main-navigation .nav-menu > li { flex: 1 1 auto; display: flex; text-align: center; border-left: 1px solid rgba(255,255,255,.20); }
.main-navigation .nav-menu > li:last-child { border-right: 1px solid rgba(255,255,255,.20); }
.main-navigation .nav-menu > li > a {
	display: flex; align-items: center; justify-content: center; text-align: center; width: 100%;
	color: #fff; font-family: var(--font-head); font-weight: 700;
	font-size: 17px; letter-spacing: .2px; text-transform: uppercase;
	padding: 8px 16px; line-height: 1.18;
}
.main-navigation .nav-menu > li > a:hover,
.main-navigation .nav-menu > li.current-menu-item > a { background: rgba(0,0,0,.14); color: #fff; }
.main-navigation .nav-menu .menu-item-sale > a { color: #ffe7ee; }
.main-navigation .nav-menu .menu-item-sale > a::after { content: ' 🔥'; }

/* Dropdowns */
.main-navigation .nav-menu li { position: relative; }
.main-navigation .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff;
	box-shadow: var(--shadow-lg); list-style: none; padding: 6px 0; display: none; z-index: 50;
	border-top: 3px solid var(--brand-light);
}
/* Open on hover ONLY on true mouse devices; touch/mobile uses tap-to-toggle (JS) to avoid flicker. */
@media (hover: hover) and (pointer: fine) {
	.main-navigation li:hover > .sub-menu { display: block; }
}
.main-navigation .sub-menu { text-align: left; }
.main-navigation .sub-menu a { display: block; color: var(--ink); padding: 9px 18px; font-size: 14px; }
.main-navigation .sub-menu a:hover { background: var(--bg-alt); color: var(--brand-dark); }
.main-navigation .menu-item-has-children > a::after { content: ' ▼'; font-size: 15px; opacity: 1; margin-left: 4px; vertical-align: 1px; line-height: 1; }
.main-navigation .menu-shopall { display: none; } /* mobile-only "Shop all X" link (JS-injected) */

/* eLiquid flavors dropdown — single column */
.main-navigation .menu-item-mega > .sub-menu { min-width: 250px; }

/* Topbar phone */
.topbar-nav { display: flex; align-items: center; gap: 18px; }
.topbar-phone { color: #fff; font-weight: 700; font-family: var(--font-head); white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.topbar-phone:hover { color: var(--brand-light); }
.phone-ico { width: 15px; height: 15px; color: var(--brand-light); flex: none; }

/* ---------- Hero image slider ---------- */
.hero { padding: 24px 0; background: #000; }
/* Cap to native banner width (852px) so images render 1:1 and stay crisp; black frames the sides. */
.hero-slider { position: relative; max-width: 852px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.45); background: #000; }
.hero-track { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: tvm-fade .5s ease; }
.hero-slide img { width: 100%; display: block; }
@keyframes tvm-fade { from { opacity: .35; } to { opacity: 1; } }

.hero-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
	background: rgba(255,255,255,.85); color: var(--brand-dark); font-size: 26px; line-height: 1;
	box-shadow: var(--shadow); transition: .15s; display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: var(--brand); color: #fff; }
.hero-prev { left: 14px; } .hero-next { right: 14px; }

.hero-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 5; }
.hero-dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.25); cursor: pointer; padding: 0; transition: .15s; }
.hero-dot.is-active { background: var(--brand); border-color: var(--brand); }

/* ---------- Promo strip ---------- */
.promo-strip { padding: 18px 0 4px; }
.promo-strip-link { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.promo-strip-link img { width: 100%; display: block; }

/* ---------- QUALITY / USA-Made band ---------- */
.quality-band { background: #fff; border-bottom: 1px solid var(--line); }
.quality-inner { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; color: var(--ink); }
.quality-flag { width: 68px; height: auto; border-radius: 4px; box-shadow: var(--shadow); }
.quality-text h2 { margin: 0; font-size: 26px; color: var(--brand-dark); text-transform: uppercase; letter-spacing: 1px; line-height: 1; }
.quality-text h3 { margin: 4px 0 0; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.quality-inner:hover .quality-text h2 { color: var(--brand); }

/* ---------- Brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-tile {
	display: flex; align-items: center; justify-content: center; min-height: 66px; padding: 12px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink);
	text-align: center; box-shadow: var(--shadow); transition: .18s ease;
}
.brand-tile:hover { border-color: var(--brand-light); color: var(--brand-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; background: var(--bg); }
/* Deterministic striping (nth-of-type counts hero/usp/promo sections too, so set explicitly). */
.section-brands { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.section-head h2::after { content: ''; display: block; width: 56px; height: 3px; background: var(--brand-light); margin: 14px auto 0; border-radius: 3px; }
.section-head p { color: var(--muted); margin: 14px 0 0; }
.section-foot { text-align: center; margin-top: 36px; }

/* ---------- Category grid ---------- */
/* Single horizontal row; scrolls on narrow screens. */
.category-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.category-tile {
	flex: 1 0 0; min-width: 140px; scroll-snap-align: start;
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 28px 14px; text-align: center; color: var(--ink); transition: .18s ease; box-shadow: var(--shadow);
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-light); color: var(--brand-dark); }
.cat-ico { font-size: 38px; line-height: 1; }
.cat-name { font-weight: 700; font-family: var(--font-head); font-size: 15px; white-space: nowrap; }

/* ---------- Promo banners ---------- */
.banner-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo-banner { display: flex; flex-direction: column; justify-content: center; min-height: 200px; padding: 36px; border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow); }
.promo-sale { background: linear-gradient(120deg, var(--sale) 0%, #ff5b85 100%); }
.promo-cbd { background: linear-gradient(120deg, #1f9d55 0%, #6fcf97 100%); }
.promo-kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; opacity: .9; }
.promo-title { font-family: var(--font-head); font-weight: 700; font-size: 28px; margin: 8px 0 14px; }
.promo-link { font-weight: 700; }
.promo-banner:hover { color: #fff; transform: translateY(-3px); transition: .18s; }

/* ---------- Sales band ---------- */
.sales-band { display: block; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 3px solid #111; }
.sales-band-inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 20px; max-width: var(--container); margin: 0 auto; }
.sales-flame { color: var(--brand); display: flex; }
.sales-flame svg { width: 30px; height: 30px; }
.sales-band-text { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 2.6vw, 28px); letter-spacing: 1px; color: var(--ink); }
.sales-band-text strong { color: var(--brand); }
.sales-band-arrow { color: var(--ink); font-size: 16px; }
.sales-band:hover .sales-band-text strong { color: var(--brand-dark); }

/* ---------- Showcase: sidebar + carousels ---------- */
.showcase-grid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }

.side-block { margin-bottom: 26px; }
.side-head {
	background: var(--brand); color: #fff; margin: 0; padding: 12px 16px;
	font-size: 15px; text-transform: uppercase; letter-spacing: .5px; border-radius: var(--radius) var(--radius) 0 0;
}
.side-product-list { list-style: none; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; background: #fff; }
.side-product { display: flex; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line-soft); }
.side-product:last-child { border-bottom: 0; }
.sp-thumb { flex: none; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sp-title { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink); line-height: 1.25; }
.sp-title:hover { color: var(--brand-dark); }
.sp-price { font-weight: 800; color: var(--brand-dark); font-size: 14px; }

.stars { color: #f5a623; letter-spacing: 1px; font-size: 12px; }
.pc-reviews { color: var(--brand-dark); font-size: 11px; font-weight: 600; }
.sp-rating { font-size: 11px; }

.testi-box { background: #111; color: #d7dde0; border-radius: 0 0 var(--radius) var(--radius); padding: 8px 18px 16px; }
.testi-track { position: relative; }
.testi-slide { display: none; }
.testi-slide.is-active { display: block; animation: tvm-fade .4s ease; }
.testi-quote { margin: 0; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.testi-quote:last-child { border-bottom: 0; }
.testi-quote p { font-style: italic; font-size: 14px; margin: 0 0 6px; line-height: 1.5; }
.testi-quote cite { font-style: normal; font-weight: 700; color: #fff; font-size: 13px; }
.testi-dots { display: flex; gap: 7px; justify-content: center; padding-top: 12px; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.28); cursor: pointer; padding: 0; transition: .15s; }
.testi-dot.is-active { background: var(--brand-light); }

/* Product carousel dots */
.pcar-dots { display: flex; gap: 6px; align-items: center; margin-left: 4px; }
.pcar-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; transition: .15s; }
.pcar-dot.is-active { background: var(--brand-light); }

/* Product carousels */
.product-carousel { margin-bottom: 26px; }
.pcar-head { display: flex; align-items: center; justify-content: space-between; background: #111; color: #fff; padding: 10px 18px; border-radius: var(--radius) var(--radius) 0 0; }
.pcar-head h2 { margin: 0; color: #fff; font-size: 18px; text-transform: uppercase; letter-spacing: .5px; }
.pcar-nav { display: flex; gap: 8px; }
.pcar-arrow { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; transition: .15s; }
.pcar-arrow:hover { background: var(--brand); }
.pcar-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; padding: 16px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: #fff; scroll-snap-type: x mandatory; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.pcar-track::-webkit-scrollbar { display: none; }   /* scrolling stays; visual bar hidden (use arrows/dots) */
.pcar-track .product-card { scroll-snap-align: start; }

.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pc-thumb { display: block; aspect-ratio: 1; background: #fff; padding: 10px; }
.pc-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pc-body { padding: 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; text-align: center; border-top: 1px solid var(--line-soft); }
.pc-title { font-size: 13px; margin: 0; min-height: 2.4em; }
.pc-title a { color: var(--ink); }
.pc-title a:hover { color: var(--brand-dark); }
.pc-price { font-weight: 800; color: var(--brand-dark); font-size: 16px; }
.pc-view { align-self: center; margin-top: auto; }

/* ---------- Blog teasers (home) ---------- */
.blog-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-teaser { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bt-thumb { display: block; height: 150px; background: var(--bg-alt); overflow: hidden; }
.bt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bt-thumb-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(120deg, var(--brand-light), var(--brand)); }
.bt-body { padding: 15px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.bt-date { color: var(--muted); font-size: 12px; margin: 0; }
.bt-title { font-size: 16px; line-height: 1.3; margin: 0; }
.bt-excerpt { color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.bt-more { font-weight: 700; font-size: 13px; margin-top: auto; }
.section-blog { padding: 40px 0; }
.section-blog .section-head { margin-bottom: 24px; }
.section-blog .section-foot { margin-top: 26px; }

.placeholder-note { text-align: center; color: var(--muted); padding: 30px; border: 2px dashed var(--line); border-radius: var(--radius-lg); }

/* ---------- Homepage intro copy ---------- */
.section-intro { background: var(--bg-alt); }
.intro-narrow { max-width: 920px; text-align: center; }
.intro-narrow h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 18px; }
.intro-narrow h2::after { content: ''; display: block; width: 56px; height: 3px; background: var(--brand-light); margin: 14px auto 0; border-radius: 3px; }
.intro-narrow p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.8; margin-bottom: 16px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-dark); color: #fff; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 20px; flex-wrap: wrap; }
.newsletter-copy h3 { color: #fff; font-size: 26px; margin: 0 0 6px; }
.newsletter-copy p { color: #b9c6cd; margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex: 1; max-width: 460px; min-width: 280px; }
.newsletter-form input { flex: 1; border: 0; border-radius: 999px; padding: 13px 20px; font-size: 15px; }

/* Shipping options — bold method labels + cost (cart + checkout) */
.woocommerce-shipping-methods li label,
#shipping_method li label,
.woocommerce-shipping-totals td,
.cart_totals .shipping td,
.woocommerce-checkout-review-order-table .shipping td { font-weight: 700; }
/* "All shipping times are estimates." note */
.tvm-shipping-note td { font-weight: 400; font-size: 12px; color: var(--ink-soft); padding-top: 2px; }

/* Newsletter AJAX status message (drops below the input row in both forms) */
.newsletter-msg { flex-basis: 100%; width: 100%; margin: 6px 0 0; font-size: 13px; line-height: 1.3; }
.newsletter-msg:empty { display: none; margin: 0; }
.newsletter-top-form .newsletter-msg.is-success { color: #1a7f37; }
.newsletter-top-form .newsletter-msg.is-error   { color: #c0392b; }
.newsletter-form .newsletter-msg.is-success { color: #8ff0a8; }
.newsletter-form .newsletter-msg.is-error   { color: #ffb3b3; }

/* ---------- Footer ---------- */
.site-footer { background: #161f24; color: #aebcc4; }

/* Site map */
.footer-sitemap { padding: 46px 0 36px; }
.footer-sitemap-title { color: #fff; font-size: 22px; text-align: center; margin: 0 0 30px; }
.footer-sitemap-title::after { content: ''; display: block; width: 56px; height: 3px; background: var(--brand-light); margin: 12px auto 0; border-radius: 3px; }
.sitemap-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.sitemap-col ul { list-style: none; }
.sitemap-col li { margin-bottom: 8px; }
.sitemap-col a { color: #aebcc4; font-size: 14px; }
.sitemap-col a:hover { color: var(--brand-light); }
.footer-col-title { color: #fff; font-size: 16px; margin: 0 0 16px; }
.footer-contact { margin-top: 18px; }
.footer-contact a { color: var(--brand-light); }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.social-row a:hover { background: var(--brand); }

.footer-payments { border-top: 1px solid rgba(255,255,255,.08); }
.footer-payments .container { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.pay-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #8a99a1; }
.pay-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-card { height: 32px; width: auto; display: block; border-radius: 3px; }

/* Full compliance warning — centered, matching the live storefront */
.footer-warning { background: #0f161a; border-top: 1px solid rgba(255,255,255,.08); }
.footer-warning .container { padding: 24px 20px; text-align: center; }
.warning-line { font-size: 13px; color: #cdd7dd; margin: 0 0 12px; text-align: center; }
.warning-line strong { color: var(--sale); }
.warning-block { font-size: 11.5px; line-height: 1.7; color: #7e8c93; margin: 0; text-align: center; }
.warning-block + .warning-block { margin-top: 12px; }

.footer-legal { background: #0b1115; }
.footer-legal .container { padding: 16px 20px; text-align: center; }
.copyright { font-size: 13px; color: #8a99a1; margin: 0; }
.copyright-sitemap { color: var(--brand-light); margin-left: 6px; }
.copyright-sitemap:hover { color: #fff; text-decoration: underline; }
.copyright-usd { font-size: 12px; color: #6b7980; margin: 6px 0 0; text-align: center; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: 22px; }
.contact-info a { color: var(--brand-dark); }
.contact-form .cf-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.contact-form label { font-weight: 600; font-size: 14px; color: var(--ink); }
.contact-form input, .contact-form textarea {
	border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; font-size: 15px; font-family: inherit; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,167,206,.15); }
.cf-hp { position: absolute; left: -9999px; }   /* honeypot hidden from users */
.contact-map { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.contact-notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 600; }
.contact-ok { background: #e7f7ee; color: #1f7a4d; border: 1px solid #b6e2c8; }
.contact-err { background: #fdecef; color: #b3243b; border: 1px solid #f3c0ca; }

/* ---------- Site Map page ---------- */
.sitemap-page { padding-top: 36px; padding-bottom: 56px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.sitemap-sec h2 { font-size: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--brand-light); margin-bottom: 14px; }
.sitemap-sec ul { list-style: none; }
.sitemap-sec li { padding: 5px 0; border-bottom: 1px solid var(--line-soft); }
.sitemap-sec li:last-child { border-bottom: 0; }
.sitemap-sec a { color: var(--ink); font-size: 14px; }
.sitemap-sec a:hover { color: var(--brand-dark); }
.sitemap-xml { margin-top: 30px; font-size: 13px; color: var(--muted); }

/* ---------- Page hero (blog/archive/shop) ---------- */
.page-hero { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-light) 100%); color: #fff; padding: 44px 0; }
.page-hero-title { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 0; }
.page-hero-title span { opacity: .85; }
.page-hero-sub { color: #eafaff; margin: 10px 0 0; }

/* ---------- Content layouts ---------- */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-top: 40px; padding-bottom: 60px; align-items: start; }
.page-wrap, .single-wrap { padding-top: 40px; padding-bottom: 60px; }
.page-article { max-width: 820px; margin: 0 auto; }

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-list { display: flex; flex-direction: column; gap: 26px; }

.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.post-card-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 22px; }
.entry-title { font-size: 22px; margin: 0 0 8px; }
.entry-title a { color: var(--ink); }
.entry-title a:hover { color: var(--brand-dark); }
.entry-meta { font-size: 13px; color: var(--muted); display: flex; gap: 14px; margin-bottom: 14px; }
.entry-meta a { color: var(--muted); }
.entry-content { color: var(--ink-soft); }
.entry-content a { text-decoration: underline; }
.entry-content img { border-radius: var(--radius); margin: 12px 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }

.single-hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 26px; box-shadow: var(--shadow); }
.single-hero img { width: 100%; }
.post-navigation { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; }
.nav-sub { display: block; font-size: 12px; text-transform: uppercase; color: var(--muted); }

/* ---------- Sidebar ---------- */
.sidebar .widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 24px; box-shadow: var(--shadow); }
.widget-title { font-size: 17px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--brand-light); }
.sidebar .widget ul { list-style: none; }
.sidebar .widget li { padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.sidebar .widget li:last-child { border-bottom: 0; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 44px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
	padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; background: #fff;
}
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand-dark); }

/* ---------- 404 ---------- */
.error-404 { padding: 70px 0; text-align: center; }
.error-inner { max-width: 680px; }
.error-code { font-family: var(--font-head); font-weight: 800; font-size: 110px; line-height: 1; color: var(--brand-light); margin: 0; }
.error-title { font-size: 30px; margin: 6px 0 12px; }
.error-sub { color: var(--muted); }
.error-search { max-width: 480px; margin: 24px auto; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.error-categories h2 { font-size: 18px; }
.error-categories ul { list-style: none; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.error-categories a { background: var(--bg-alt); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; color: var(--brand-dark); font-weight: 600; font-size: 14px; }
.error-categories a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- WooCommerce niceties ---------- */
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce-page button.button { background: var(--brand); color: #fff; border-radius: 999px; font-weight: 700; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand-dark); }
/* Add-to-Cart buttons in green so they stand out from the teal brand.
   Only the TRUE add-to-cart action is green — the shop-page ajax add-to-cart and the single
   product page button. "Select options" (variable / needs-options) lacks .ajax_add_to_cart, so it stays teal. */
.woocommerce a.ajax_add_to_cart,
.woocommerce ul.products li.product a.ajax_add_to_cart,
.woocommerce button.single_add_to_cart_button,
.woocommerce div.product form.cart button.single_add_to_cart_button { background: #1f9d4d; border-color: #1f9d4d; color: #fff; }
.woocommerce a.ajax_add_to_cart:hover,
.woocommerce ul.products li.product a.ajax_add_to_cart:hover,
.woocommerce button.single_add_to_cart_button:hover { background: #178a3f; border-color: #178a3f; color: #fff; }
.woocommerce span.onsale { background: var(--sale); border-radius: 999px; }
.woocommerce .price, .woocommerce ul.products li.product .price { color: var(--brand-dark); font-weight: 700; }
/* Catalog grid: explicit 4-up to match live site (~290px cells), overriding
   WooCommerce's bundled float layout which only sizes the default 3-across. */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; clear: none !important;
	display: flex; flex-direction: column;
	border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px;
	box-shadow: var(--shadow); background: #fff; text-align: center;
}
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img { width: 100%; height: 190px; object-fit: contain; margin: 0 0 10px; }
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; line-height: 1.35; padding: 4px 0; }
.woocommerce ul.products li.product .price { font-size: 15px; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: center; }

/* Single product: contained image column (~380px) + summary beside it, like live.
   Overrides WooCommerce's 48% float of the 1240px container (~595px image). */
.woocommerce div.product { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.woocommerce div.product div.images,
.woocommerce div.product div.woocommerce-product-gallery {
	width: 380px !important; max-width: 42%; float: none !important; margin: 0 !important;
}
.woocommerce div.product div.summary,
.woocommerce div.product div.entry-summary {
	width: auto !important; flex: 1 1 340px; float: none !important; margin: 0 !important;
}
/* Don't blow small product photos up to the column width (53 products have main images under 400px - they went blurry); large ones still fill it. */
.woocommerce div.product .woocommerce-product-gallery__image img { width: auto; max-width: 100%; height: auto; margin: 0 auto; display: block; }
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .product_meta,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells { flex: 0 0 100%; width: 100%; }

/* Product Add-Ons (Strength/Mix/Amount/flavors): single column, compact — smaller
   boxes/padding and slightly smaller text so the options don't dominate the page. */
.woocommerce div.product .wc-pao-addons-container { max-width: 240px; margin-top: 4px; }
.woocommerce div.product .wc-pao-addon-container,
.woocommerce div.product .wc-pao-addon { margin: 0 0 8px; padding: 0; border: 0; }
.woocommerce div.product .wc-pao-addon-name { font-size: 13px; font-weight: 700; line-height: 1.2; margin: 0 0 2px; }
.woocommerce div.product .wc-pao-addon-description { font-size: 12px; color: var(--ink-soft); margin: 0 0 3px; }
.woocommerce div.product .wc-pao-addon select,
.woocommerce div.product .wc-pao-addon input[type="text"],
.woocommerce div.product .wc-pao-addon input[type="number"],
.woocommerce div.product .wc-pao-addon textarea {
	width: 100%; max-width: 100%; font-size: 13px; padding: 4px 8px; line-height: 1.2; min-height: 0;
	font-weight: 700;
}
.woocommerce div.product .wc-pao-addon select option { font-weight: 700; }
.woocommerce div.product .wc-pao-addon-wrap label { font-size: 13px; }

/* Native WooCommerce VARIATION dropdowns (variable products: tanks, coils, batteries,
   DIY kits — Color/Ohm/Size/etc). Match the compact add-on look: label above a
   bold, narrow select, single column — instead of WC's default wide table layout. */
.woocommerce div.product form.variations_form .variations,
.woocommerce div.product form.variations_form .variations tbody,
.woocommerce div.product form.variations_form .variations tr,
.woocommerce div.product form.variations_form .variations th,
.woocommerce div.product form.variations_form .variations td { display: block; width: auto; }
.woocommerce div.product form.variations_form .variations tr { margin: 0 0 8px; max-width: 240px; }
.woocommerce div.product form.variations_form .variations th.label { padding: 0; text-align: left; }
.woocommerce div.product form.variations_form .variations th.label label { font-size: 13px; font-weight: 700; line-height: 1.2; margin: 0 0 2px; }
/* select + "Clear" link on ONE row. WC hides the Clear link with visibility:hidden,
   which still reserves space; with a full-width select it wrapped to its own line and
   left a ~32px gap before any following add-ons. Flex keeps it beside the select. */
.woocommerce div.product form.variations_form .variations td.value { padding: 0; display: flex; align-items: center; gap: 6px; }
.woocommerce div.product form.variations_form .variations td.value select {
	flex: 0 1 240px; width: 240px; max-width: 100%; font-size: 13px; padding: 4px 8px; font-weight: 700; line-height: 1.2; min-height: 0;
}
.woocommerce div.product form.variations_form .variations td.value select option { font-weight: 700; }
.woocommerce div.product form.variations_form .variations td.value .reset_variations { font-size: 12px; margin: 0; flex: 0 0 auto; }
/* Variable product that ALSO has Product Add-Ons (e.g. DIY base: Amount variation +
   Strength/Mix add-ons): WooCommerce core puts margin-bottom:1em on the variations
   table AND renders an empty single_variation price placeholder before the add-ons,
   leaving a gap. Reset both so Amount sits on the same 8px rhythm as the add-ons. */
.woocommerce div.product form.cart .variations { margin-bottom: 0; }
.woocommerce div.product form.variations_form .single_variation_wrap { margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-variation.single_variation:empty { display: none; }
.woocommerce div.product form.variations_form .single_variation_wrap .wc-pao-addons-container { margin-top: 0; }
/* Variation selects are always required — show the same asterisk as the add-on fields. */
.woocommerce div.product form.variations_form .variations th.label label::after { content: " *"; }
.shop-wrap { padding-top: 30px; padding-bottom: 60px; }
.shop-hero + .shop-wrap, .shop-hero ~ .shop-wrap { padding-top: 30px; }

/* Category banner (FDA warning etc.) above the description */
.tvm-cat-banner { margin: 0 0 22px; }
/* ~49% of the banner's natural 1133px width (two 30% reductions); responsive below that.
   !important + extra specificity: a generic max-width:100% img rule was winning otherwise. */
.tvm-cat-banner img.tvm-cat-banner-img { display: block; width: 100%; max-width: 555px !important; height: auto; border-radius: var(--radius); }

/* Category description with collapse / Read More */
.term-description { color: var(--ink-soft); line-height: 1.7; margin-bottom: 26px; }
.term-description p { margin: 0 0 1em; }
.term-description img { max-width: 100%; height: auto; border-radius: var(--radius); }
.term-description h2, .term-description h3 { color: var(--ink); margin: 1.2em 0 .5em; }
.term-description.tvm-collapsible { position: relative; max-height: 6.5em; overflow: hidden; }
.term-description.tvm-collapsible::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em;
	background: linear-gradient( rgba(255,255,255,0), #fff ); pointer-events: none;
}
.term-description.is-expanded { max-height: none; }
.term-description.is-expanded::after { display: none; }
.tvm-readmore {
	display: inline-block; margin: 4px 0 26px; background: none; border: 0; padding: 0;
	color: var(--brand-dark); font-family: var(--font-head); font-weight: 700; font-size: 14px; cursor: pointer;
}
.tvm-readmore:hover { text-decoration: underline; color: var(--brand); }
.tvm-readmore::after { content: ' \25BE'; font-size: 11px; }
.tvm-readmore.is-open::after { content: ' \25B4'; }

/* ---------- Header sticky shrink ---------- */
.site-header.is-stuck .header-inner { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-stuck .site-branding img { max-height: 104px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.content-with-sidebar { grid-template-columns: 1fr; }
	.showcase-grid { grid-template-columns: 1fr; }
	.pcar-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
	.sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.sidebar .widget { margin-bottom: 0; }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	/* stack single product image above summary */
	.woocommerce div.product div.images,
	.woocommerce div.product div.woocommerce-product-gallery { width: 100% !important; max-width: 100%; }
	.woocommerce div.product div.summary,
	.woocommerce div.product div.entry-summary { flex-basis: 100%; }
}
@media (max-width: 860px) {
	/* On phones, let the FDA warning + utility bars scroll away to save screen space;
	   keep only the main header (logo + search + hamburger) pinned. */
	.site-sticky { position: static; }
	.site-header { position: sticky; top: 0; z-index: 200; transition: transform .28s ease; }
	/* auto-hide on mobile moves the (sticky) header, not the static container */
	.site-sticky.nav-hidden { transform: none; }
	.site-sticky.nav-hidden .site-header { transform: translateY(-100%); }
	.header-inner { flex-wrap: wrap; row-gap: 14px; }
	.menu-toggle { display: block; order: 0; }
	.site-branding { order: 1; margin-right: auto; }
	.site-branding .custom-logo, .site-branding img { max-height: 72px; }
	.header-right { order: 3; flex: 1 1 100%; width: 100%; align-items: stretch; }
	.header-search { width: 100%; }
	.header-actions { display: none; }
	.main-navigation { display: none; }
	.main-navigation.is-open { display: block; }
	.main-navigation .nav-menu { flex-direction: column; }
	.main-navigation .nav-menu > li { display: block; flex: none; text-align: left; border-left: 0; }
	.main-navigation .nav-menu > li:last-child { border-right: 0; }
	.main-navigation .nav-menu > li > a { display: block; min-height: 0; font-size: 14px; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
	.main-navigation .sub-menu { position: static; box-shadow: none; background: rgba(255,255,255,.06); }
	/* tap-to-open accordion (JS toggles .is-open); no hover flicker on touch */
	.main-navigation .menu-item-has-children.is-open > .sub-menu { display: block; }
	.main-navigation .menu-item-has-children > a::after { display: inline-block; transition: transform .15s ease; }
	.main-navigation .menu-item-has-children.is-open > a::after { transform: rotate(180deg); }
	.main-navigation .menu-shopall { display: block; }
	.main-navigation .menu-shopall > a { font-weight: 700; text-transform: uppercase; font-size: 12.5px; letter-spacing: .03em; color: #fff; background: rgba(0,0,0,.14); }
	.main-navigation .sub-menu a { color: #eafaff; }
	.main-navigation.is-open { max-height: calc(100vh - 110px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
	/* While the menu is open: the page behind it must not scroll (it scrolled, the header auto-hid and the open menu jumped). */
	body.nav-open { overflow: hidden; }
	body.nav-open .site-sticky.nav-hidden .site-header { transform: none; }
	.brand-grid { grid-template-columns: repeat(3, 1fr); }
	.quality-text h2 { font-size: 22px; }
	.pcar-track { grid-auto-columns: calc((100% - 16px) / 2); }
	.pcar-head h2 { font-size: 16px; }
	.banner-split, .blog-teaser-grid, .post-grid { grid-template-columns: 1fr; }
	.sitemap-cols { grid-template-columns: repeat(2, 1fr); }
	.sitemap-grid { grid-template-columns: repeat(2, 1fr); }
	.topbar-msg { font-size: 12px; }
	.topbar-phone { font-size: 13px; }
	.topbar-nav .utility-menu { display: none; } /* (needs the parent selector: the desktop rule ".topbar-nav .utility-menu { display:flex }" outranked a bare ".utility-menu") */
	/* tighter vertical rhythm + full-width forms on mobile */
	.section { padding: 40px 0; }
	.newsletter-inner { flex-direction: column; align-items: stretch; text-align: center; gap: 16px; }
	.newsletter-form { max-width: none; }
	.newsletter-top-inner { flex-direction: column; gap: 8px; }
	.newsletter-top-form { width: 100%; }
	.newsletter-top-form input { flex: 1; min-width: 0; }
}
@media (max-width: 600px) {
	/* Phones: shrink the stack above the content (employee test: "top banner spacing - hard to navigate").
	   FDA line smaller, top bar on one line, newsletter strip hidden (the footer has the same sign-up), smaller logo. */
	.fda-warning p { font-size: 12.5px; line-height: 1.3; padding: 6px 12px; }
	.topbar-msg-extra { display: none; }
	.topbar-inner { justify-content: space-between; gap: 10px; min-height: 32px; flex-wrap: nowrap; }
	.topbar-msg { font-size: 12px; white-space: nowrap; }
	.topbar-phone { font-size: 13px; }
	.newsletter-top { display: none; }
	.site-branding .custom-logo, .site-branding img { max-height: 56px; }
	.header-inner { row-gap: 10px; }
	.hero { padding: 14px 0; }
	.hero-arrow { width: 34px; height: 34px; font-size: 20px; }
	.hero-prev { left: 8px; } .hero-next { right: 8px; }
	.sales-band-inner { gap: 10px; padding: 13px 14px; }
	.sales-flame svg { width: 24px; height: 24px; }
	.fda-warning p { font-size: 15px; padding: 8px 16px; }
	.quality-flag { width: 56px; }
	.quality-text h2 { font-size: 20px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 520px) {
	.container { padding: 0 16px; }
	.section { padding: 32px 0; }
	.brand-grid { grid-template-columns: repeat(2, 1fr); }
	.pcar-track { grid-auto-columns: 82%; }
	.pcar-head { padding: 9px 12px; }
	.pcar-head h2 { font-size: 15px; }
	.sitemap-cols { grid-template-columns: 1fr; }
	.sitemap-grid { grid-template-columns: 1fr; }
	.contact-grid { grid-template-columns: 1fr; gap: 24px; }
	.sidebar { grid-template-columns: 1fr; }
	.intro-narrow p { font-size: 14.5px; }
	.section-head h2 { font-size: 23px; }
	.btn-lg { font-size: 15px; padding: 12px 22px; }
}
