/* ==========================================================================
   LVL Peptides theme styles  (v2 - reference-matched, red/white/black)
   Dark, mobile first, conversion focused.
   ========================================================================== */

/* --- Typography ------------------------------------------------------------
   Space Grotesk, self hosted (OFL). Single variable woff2 (latin subset) covers
   the weight range. No third-party/Google CDN call at runtime. Helvetica/Arial
   fall back until the file loads (font-display: swap).
   -------------------------------------------------------------------------- */
@font-face {
	font-family: 'Space Grotesk';
	src: url('../fonts/space-grotesk.woff2') format('woff2');
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}

/* --- Tokens ---------------------------------------------------------------- */
:root {
	--bg: #0A0A0A;
	--surface: #141414;
	--surface-alt: #1B1B1B;
	--border: #262626;
	--accent: #E01F26;
	--accent-hover: #ff2a31;
	--text: #FFFFFF;
	--muted: #9A9A9A;
	--light: #F4F4F4;         /* light band background */
	--on-light: #0A0A0A;      /* text on light band */
	--on-light-muted: #6a6a6a;

	--display: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--body: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;

	--container: 1240px;
	--radius: 14px;
	--radius-sm: 8px;
	--pill: 999px;
	--header-h: 64px;
	--bottom-nav-h: 60px;
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* --- Reset / base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 15px;
	line-height: 1.55;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; color: var(--text); margin: 0 0 0.5em; letter-spacing: -0.02em; line-height: 1.02; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
small, .small { font-size: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.page-narrow { max-width: 780px; }
.section { padding-block: 48px; }

/* Accessibility helpers */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--display); font-weight: 800; letter-spacing: -0.01em;
	font-size: 16px; padding: 16px 30px; border-radius: var(--pill);
	border: 1px solid transparent; text-decoration: none; line-height: 1;
	transition: background-color .15s ease, border-color .15s ease, transform .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); border-radius: var(--radius-sm); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn .arrow { font-weight: 800; }

.pill {
	display: inline-flex; align-items: center; gap: 8px; font-family: var(--display);
	font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: 0.12em;
	padding: 8px 14px; border-radius: var(--pill); text-transform: uppercase;
}
.pill-outline { color: var(--accent); border: 1px solid var(--accent); background: rgba(224,31,38,0.06); }

/* Canonical treatment for every button WooCommerce itself renders: product
   page, mini-cart, cart page, checkout. So nothing anywhere on the site can
   revert to WooCommerce's own default styling. More specific rules further
   down (e.g. shop-card buttons) override just the sizing where a context
   needs it; the color/shape here always wins as the baseline. */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--accent); color: #fff; border: 0; border-radius: var(--pill);
	padding: 13px 26px; font-family: var(--display); font-weight: 800; font-size: 14px;
	text-decoration: none; display: inline-block; text-align: center; line-height: 1.2;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--accent-hover); color: #fff;
}
.woocommerce a.button.loading, .woocommerce a.button.disabled, .woocommerce button.button.disabled {
	background: var(--border); color: var(--muted); cursor: not-allowed;
}

/* --- Announcement strip (top) - dark, marquee, white text, red separator --- */
.announcement-bar { background: #050505; color: #fff; overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--border); }
.announcement-track { display: flex; align-items: center; width: max-content; will-change: transform; animation: lvl-marquee 28s linear infinite; }
.announcement-item { display: inline-block; padding: 9px 20px; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.06em; color: #fff; }
.announce-dot { display: inline-block; vertical-align: middle; }
.announcement-static { display: none; }
@keyframes lvl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.announcement-track { display: none; }
	.announcement-static { display: block; text-align: center; padding: 9px 16px; font-weight: 600; font-size: 12.5px; color: var(--muted); }
}

/* --- Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(10,10,10,0.86); backdrop-filter: saturate(140%) blur(10px); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.site-branding { margin-right: auto; }
.header-nav { display: none; }
.header-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.header-nav a { color: var(--muted); font-size: 15px; font-weight: 600; }
.header-nav a:hover, .header-nav .current-menu-item > a { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: transparent; border: 0; color: var(--text); position: relative; border-radius: var(--radius-sm); }
.header-icon:hover { color: var(--accent); }
.cart-link.circle { width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 50%; }
.cart-link.circle:hover { border-color: var(--accent); }

.logo-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo-link:hover { text-decoration: none; color: #fff; }
.logo-img img, .custom-logo { height: 34px; width: auto; display: block; }
.logo-mark { width: 30px; height: 30px; display: block; }
.logo-text { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: 0.01em; color: #fff; line-height: 1; }
.logo-sub { display: block; font-family: var(--display); font-weight: 700; font-size: 9px; letter-spacing: 0.42em; color: var(--muted); margin-top: 3px; }
.footer-brand-col .logo-img img { height: 44px; }

.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--accent); color: #fff; border-radius: var(--pill); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.cart-link.circle .cart-count { top: 0; right: 0; }

.search-panel { border-top: 1px solid var(--border); background: var(--surface); padding: 14px 0; }
.search-panel input { width: 100%; }

/* --- Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-bg-grid {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 64px 64px; opacity: 0.25; mask-image: radial-gradient(120% 90% at 60% 0, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; gap: 8px; padding-block: 52px 56px; }
.hero-copy { position: relative; z-index: 2; }
.hero-lede { color: #fff; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 8vw, 72px); line-height: .98; letter-spacing: -0.035em; margin: 24px 0 18px; max-width: 14ch; }
.hero-sub { color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.55; max-width: 46ch; margin: 0 0 30px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-product { position: relative; z-index: 1; display: flex; justify-content: center; margin-top: 20px; }
.hero-product img { width: min(78%, 300px); filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)); }
.hero-price-card {
	position: relative; margin-top: -34px; width: min(100%, 360px);
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hero-price-card .pc-name { font-family: var(--display); font-weight: 800; font-size: 16px; }
.hero-price-card .pc-meta { color: var(--muted); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-price-card .pc-price { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }

/* --- Stat band (light) ----------------------------------------------------- */
.stat-band { background: var(--light); color: var(--on-light); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 28px 20px; border-right: 1px solid #e2e2e2; border-bottom: 1px solid #e2e2e2; }
.stat:nth-child(2n) { border-right: 0; }
.stat-num { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 9vw, 64px); line-height: 1; letter-spacing: -0.03em; color: var(--on-light); }
.stat-num .accent { color: var(--accent); }
.stat-label { color: var(--on-light-muted); font-size: 14px; margin: 10px 0 0; max-width: 22ch; }

/* --- Graphic marquee band -------------------------------------------------- */
.marquee-band { background: var(--bg); overflow: hidden; padding: 26px 0; border-block: 1px solid var(--border); }
.marquee-row { display: flex; white-space: nowrap; will-change: transform; }
.marquee-row .m-item { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 8vw, 68px); letter-spacing: -0.02em; padding: 0 30px; display: inline-flex; align-items: center; gap: 30px; }
.marquee-row.solid .m-item { color: var(--accent); }
.marquee-row.white .m-item { color: #fff; }
.marquee-row.outline .m-item { color: transparent; -webkit-text-stroke: 1.5px #3a3a3a; text-stroke: 1.5px #3a3a3a; }
.marquee-row .m-dot { width: 26px; height: 26px; flex: none; }
.marquee-row.row-a { animation: lvl-marquee 13s linear infinite; }
.marquee-row.row-b { animation: lvl-marquee-rev 15s linear infinite; margin-top: 6px; }
@keyframes lvl-marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
	.marquee-row { animation: none !important; flex-wrap: wrap; white-space: normal; justify-content: center; }
}

/* --- Section heads --------------------------------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-title { margin: 0; font-size: clamp(32px, 7vw, 56px); line-height: 0.95; }
.section-title .dot { color: var(--accent); }
.section-sub { color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.section-link { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; color: var(--accent); white-space: nowrap; }

/* --- Product grid + cards -------------------------------------------------- */
.product-grid, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
ul.products li.product, .product-grid li.product { margin: 0; }
li.product { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; position: relative; display: flex; flex-direction: column; transition: border-color .15s ease, transform .15s ease; }
li.product:hover { border-color: #3a3a3a; transform: translateY(-2px); }
li.product a { color: var(--text); }
li.product a img { border-radius: var(--radius-sm); background: var(--surface-alt); margin-bottom: 12px; aspect-ratio: 1/1; object-fit: contain; padding: 8px; }
li.product .woocommerce-loop-product__title { font-family: var(--display); font-weight: 800; font-size: 16px; padding: 0; margin: 2px 0 6px; }
li.product .price { color: var(--text); font-weight: 700; font-size: 16px; }
li.product .price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
li.product .price ins { text-decoration: none; color: var(--accent); }
li.product .button, li.product .added_to_cart { margin-top: 12px; background: var(--accent); color: #fff; border: 0; border-radius: var(--pill); padding: 12px 16px; font-family: var(--display); font-weight: 800; font-size: 13px; text-align: center; display: inline-block; }
li.product .button:hover { background: var(--accent-hover); }

/* --- Callout --------------------------------------------------------------- */
.callout { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 20px; }
.callout-title { font-family: var(--display); font-weight: 800; margin: 0 0 4px; }
.callout-body { margin: 0; color: var(--muted); }

/* --- COA band -------------------------------------------------------------- */
.coa-band { background: var(--surface); border-block: 1px solid var(--border); }
.coa-band-title { margin-bottom: 8px; font-size: 28px; }
.coa-band-body { color: var(--muted); max-width: 62ch; }

/* --- Reviews --------------------------------------------------------------- */
.reviews-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.review-card { flex: 0 0 88%; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.review-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 8px; }
.review-body { margin: 0 0 10px; }
.review-attribution { color: var(--muted); font-size: 12px; margin: 0; }
.reviews-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.reviews-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--border); padding: 0; }
.reviews-dot.is-active { background: var(--accent); }

/* --- Product single -------------------------------------------------------- */
/* WooCommerce renders the gallery, summary, tabs AND related/upsell products
   as direct siblings inside this one element (not nested under summary), so
   without the two rules below, a grid item's implicit min-width:auto lets any
   wide content (a real product photo, an unwrapped button row) force this
   whole grid past the viewport, and tabs/related get squeezed into column 1
   alongside the gallery instead of spanning full width underneath. */
.single-product .woocommerce-breadcrumb {
	width: 100%; max-width: var(--container); margin: 0 auto; padding: 18px 20px 14px;
	color: var(--muted); font-size: 13px;
}
.single-product .woocommerce-breadcrumb a { color: var(--muted); }
.single-product .woocommerce-breadcrumb a:hover { color: var(--accent); }
.single-product div.product { display: grid; gap: 24px 26px; margin-bottom: 52px; }
.single-product div.product > * { min-width: 0; }
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related.products,
.single-product div.product > .upsells.products { grid-column: 1 / -1; }
.single-product .woocommerce-product-gallery__image {
	aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface-alt);
	border: 1px solid var(--border); border-radius: var(--radius);
}
.single-product .woocommerce-product-gallery__image > a { display: block; width: 100%; height: 100%; }
.single-product .woocommerce-product-gallery__image img {
	width: 100% !important; height: 100% !important; object-fit: contain;
	padding: 16px; border-radius: var(--radius);
}
.lvl-mock-gallery img { width: 100%; border-radius: var(--radius); background: var(--surface-alt); border: 1px solid var(--border); }
li.product img.lvl-mock-vial { padding: 6px; }
.ruo-line { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: 0.04em; color: var(--accent); border: 1px solid var(--accent); border-radius: var(--radius-sm); padding: 9px 13px; display: inline-block; margin: 8px 0 16px; }
.woocommerce-product-details__short-description { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 6px 0 4px; }
.woocommerce-product-details__short-description p { margin: 0; }
.coa-box { margin-top: 18px; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.coa-download { width: 100%; }
.coa-meta { margin: 8px 0 0; color: var(--muted); font-size: 12px; display: flex; gap: 14px; }
.coa-pending { margin: 0; color: var(--muted); font-size: 13px; }

/* Price color, forced to brand tokens across every WooCommerce price markup
   variant (regular, sale, ranges) so nothing but our tokens ever shows. */
.summary .price, .summary .price .woocommerce-Price-amount,
li.product .price .woocommerce-Price-amount {
	color: var(--text);
}
.summary .price ins .woocommerce-Price-amount, li.product .price ins .woocommerce-Price-amount { color: var(--accent); }
.summary .price del .woocommerce-Price-amount, li.product .price del .woocommerce-Price-amount { color: var(--muted); }
.single-product .summary .product_title { margin-bottom: 14px; }
.single-product .summary > .price { margin: 0 0 18px; }

/* Quantity input + the add-to-cart row's layout (the button's color/shape
   comes from the canonical .woocommerce .button rule near the top of this
   file, so it stays identical to every other button on the site). */
.quantity .qty {
	width: 76px; background: var(--surface-alt); color: var(--text);
	border: 1px solid var(--border); border-radius: var(--radius-sm);
	padding: 13px 12px; font-family: var(--body); font-size: 15px;
}
form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 6px; }
.variations_form.cart { display: block; margin-top: 14px; }
.variations_form .single_variation_wrap { margin-top: 14px; }
.variations_form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.single_add_to_cart_button { padding: 14px 30px; font-size: 15px; }

/* Stock status, rendered by WooCommerce inside the add-to-cart block. */
p.stock { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
p.stock.out-of-stock { color: var(--accent); }

/* Product meta row (SKU / category), restyled as a quiet caption line instead
   of default browser-ish text. */
.product_meta {
	margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border);
	color: var(--muted); font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 16px;
}
.product_meta a { color: var(--muted); text-decoration: underline; }
.product_meta a:hover { color: var(--accent); }

/* WooCommerce Description / Additional information tabs, restyled for dark. */
.woocommerce-tabs { margin-top: 18px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 4px; padding: 0; margin: 0 0 -1px; border-bottom: 1px solid var(--border); }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a {
	display: inline-block; padding: 12px 18px; color: var(--muted);
	font-family: var(--display); font-weight: 800; font-size: 13px;
	border-bottom: 2px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: #fff; border-bottom-color: var(--accent); }
.woocommerce-tabs .panel, .woocommerce-Tabs-panel {
	background: var(--surface); border: 1px solid var(--border); border-top: 0;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 24px; color: var(--text);
}
.woocommerce-Tabs-panel h2 { font-size: 20px; margin-bottom: 12px; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: 13px; }
.woocommerce-product-attributes th { color: var(--muted); font-weight: 600; width: 160px; }

/* Related / upsell products: same card grid as the rest of the site. Without
   this, WooCommerce's own float/percentage-width layout (now otherwise
   disabled sitewide, but guarded here too) would cramp these into narrow,
   text-wrapping columns. */
.related.products, .upsells.products { margin-top: 30px; }
.related.products h2, .upsells.products h2 { font-size: 28px; margin-bottom: 20px; }
.related.products ul.products, .upsells.products ul.products {
	display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.related.products li.product, .upsells.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
@media (min-width: 768px) {
	.related.products ul.products, .upsells.products ul.products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* WooCommerce wraps the variation picker in a <table class="variations"> with
   the "Size" label and the dropdown in separate table cells. That table
   layout is exactly why the label and buttons were cramped together on one
   line. Flatten it into a clean stacked field: label above, buttons below. */
table.variations, table.variations tbody, table.variations tr, table.variations th, table.variations td {
	display: block; width: 100%; padding: 0; border: 0; text-align: left;
}
table.variations td.label { margin: 0; }
table.variations label {
	display: block; font-family: var(--display); font-weight: 800; font-size: 11px;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.reset_variations { display: none; } /* redundant once size is a button group, not a dropdown */

.lvl-size-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.lvl-size-btn { background: var(--surface-alt); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 18px; font-weight: 700; font-size: 13px; }
.lvl-size-btn.is-active { border-color: var(--accent); background: rgba(224,31,38,0.12); color: #fff; }
.lvl-variation-select.lvl-hidden { position: absolute; opacity: 0; pointer-events: none; height: 0; }
.woocommerce-variation-description, .woocommerce-variation-price, .woocommerce-variation-availability { margin-bottom: 12px; }

.checkout-processing-note { background: var(--surface); border-left: 4px solid var(--accent); padding: 11px 15px; border-radius: var(--radius-sm); color: var(--text); font-size: 13px; }

.lvl-sticky-atc { position: fixed; left: 0; right: 0; bottom: var(--bottom-nav-h); z-index: 150; background: var(--surface); border-top: 1px solid var(--border); padding: 10px 14px calc(10px + var(--safe-bottom)); display: none; align-items: center; gap: 12px; }
.lvl-sticky-atc .price { font-weight: 800; }
.lvl-sticky-atc .btn { margin-left: auto; }
.lvl-sticky-atc.is-visible { display: flex; }

/* --- Forms ----------------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"], textarea, select { width: 100%; background: var(--surface-alt); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px; font-family: var(--body); font-size: 15px; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; }
.form-row { margin-bottom: 16px; }
.lvl-hp { position: absolute; left: -5000px; }
.form-notice { padding: 12px 15px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.form-success { background: rgba(46,160,67,0.12); border: 1px solid #2ea043; }
.form-error { background: rgba(224,31,38,0.12); border: 1px solid var(--accent); }

.lvl-ack-row { margin: 14px 0; }
.lvl-ack-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.lvl-ack-label input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.checkout-trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 8px 0 14px; color: var(--muted); font-size: 12.5px; }
.checkout-trust-row li { position: relative; padding-left: 16px; }
.checkout-trust-row li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* --- Checkout --------------------------------------------------------------
   WooCommerce's bundled stylesheet is intentionally disabled, so the classic
   checkout needs a complete layout here rather than relying on plugin floats. */
.woocommerce-checkout .site-main,
.woocommerce-cart .site-main { padding-block: 42px 64px; }
.woocommerce-checkout .page-narrow,
.woocommerce-cart .page-narrow { max-width: var(--container); }
.woocommerce-checkout .woocommerce,
.woocommerce-cart .woocommerce { width: 100%; }
.woocommerce-form-coupon-toggle { margin-bottom: 20px; }
.woocommerce-form-coupon { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 0 0 28px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.woocommerce-form-coupon > p:first-child { flex: 1 0 100%; color: var(--muted); }
.woocommerce-form-coupon .form-row { flex: 1 1 220px; margin: 0; }
.woocommerce-form-coupon button { width: 100%; }

form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); grid-template-areas: "customer order-title" "customer order"; gap: 0 48px; align-items: start; }
#customer_details { grid-area: customer; min-width: 0; }
#order_review_heading { grid-area: order-title; margin: 0 0 16px; }
#order_review { grid-area: order; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
#customer_details .col-1, #customer_details .col-2 { float: none; width: 100%; }
#customer_details .col-2:empty { display: none; }
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.woocommerce-billing-fields__field-wrapper .form-row,
.woocommerce-shipping-fields__field-wrapper .form-row { float: none; width: auto; min-width: 0; }
.woocommerce-billing-fields__field-wrapper .form-row-wide,
.woocommerce-shipping-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
.woocommerce-checkout input, .woocommerce-checkout select, .woocommerce-checkout textarea { min-width: 0; }
.woocommerce-checkout abbr.required { color: var(--accent); text-decoration: none; }
.woocommerce-checkout-review-order-table,
.shop_table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.shop_table th, .shop_table td { padding: 13px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.woocommerce-checkout-review-order-table th:last-child,
.woocommerce-checkout-review-order-table td:last-child { text-align: right; }
.woocommerce-checkout-review-order-table tfoot th { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td { color: var(--text); font-size: 16px; }
#payment { margin-top: 18px; }
#payment ul.payment_methods { list-style: none; margin: 0; padding: 0; }
#payment .payment_box { margin: 10px 0 16px; padding: 14px; background: var(--surface-alt); border-radius: var(--radius-sm); color: var(--muted); }
#payment .place-order { margin: 18px 0 0; }
#place_order { width: 100%; padding: 16px 24px; }
.woocommerce-checkout .checkout-processing-note { margin: 0 0 18px; }
.woocommerce-checkout .woocommerce-notices-wrapper:empty { display: none; }

/* --- Cart page ------------------------------------------------------------- */
.woocommerce-cart .site-main.container { max-width: 1120px; }
.woocommerce-cart-form,
.cart-collaterals { width: 100%; max-width: 1040px; margin-inline: auto; }
.woocommerce-cart-form .shop_table { table-layout: fixed; margin-bottom: 0; }
.woocommerce-cart-form .shop_table th,
.woocommerce-cart-form .shop_table td { padding: 13px 8px; vertical-align: middle; }
.woocommerce-cart-form .product-remove { width: 38px; text-align: center; }
.woocommerce-cart-form .product-thumbnail { width: 84px; }
.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal { width: 118px; }
.woocommerce-cart-form .product-quantity { width: 112px; }
.woocommerce-cart-form .product-thumbnail img { width: 64px; height: 64px; object-fit: contain; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.woocommerce-cart-form .product-name a { font-weight: 700; }
.woocommerce-cart-form a.remove { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--accent); font-size: 22px; line-height: 1; border-radius: 50%; }
.woocommerce-cart-form a.remove:hover { background: rgba(224,31,38,.14); }
.woocommerce-cart-form td.actions { padding-block: 18px; text-align: right; }
.woocommerce-cart-form td.actions::after { content: ""; display: table; clear: both; }
.woocommerce-cart-form .actions .coupon { display: inline-flex; align-items: center; gap: 10px; width: min(100%, 560px); float: left; text-align: left; }
.woocommerce-cart-form .actions .coupon label { margin: 0; }
.woocommerce-cart-form .actions .coupon input { min-width: 0; flex: 1 1 240px; }
.woocommerce-cart-form .actions .coupon .button,
.woocommerce-cart-form .actions > .button { flex: 0 0 auto; white-space: nowrap; }
.woocommerce-cart-form .actions > .button { float: right; }
.woocommerce-cart-form .actions .coupon { display: none !important; }
.cart-collaterals { display: flex; justify-content: center; margin-top: 22px; }
.cart-collaterals .cart_totals { width: min(100%, 600px); padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cart-collaterals .cart_totals h2 { font-size: 30px; }
.cart-collaterals .shop_table th { width: 38%; }
.cart-collaterals .cart_totals tr.cart-subtotal,
.cart-collaterals .cart_totals tr.woocommerce-shipping-totals { display: none; }
.cart-collaterals .cart_totals .order-total th,
.cart-collaterals .cart_totals .order-total td { padding-block: 16px; font-size: 18px; }
.wc-proceed-to-checkout { margin-top: 22px; }
.wc-proceed-to-checkout .button { display: flex; width: 100%; padding: 16px 22px; }

/* --- Standard pages, search and archives ---------------------------------- */
.site-main.container { padding-block: 46px 64px; }
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: clamp(36px, 6vw, 54px); }
.entry-content { color: var(--text); }
.entry-content > * + * { margin-top: 1em; }
.entry-content p, .wysiwyg li { line-height: 1.72; }
.search-panel .woocommerce-product-search,
.search-panel .search-form,
.entry-header .woocommerce-product-search { display: flex; gap: 10px; align-items: stretch; }
.search-panel input[type="search"],
.entry-header .woocommerce-product-search input[type="search"] { flex: 1 1 auto; min-width: 0; }
.search-panel button,
.search-panel input[type="submit"],
.entry-header .woocommerce-product-search button { flex: 0 0 auto; background: var(--accent); color: #fff; border: 0; border-radius: var(--pill); padding: 0 24px; font-family: var(--display); font-weight: 800; font-size: 14px; }
.search-panel button:hover,
.search-panel input[type="submit"]:hover,
.entry-header .woocommerce-product-search button:hover { background: var(--accent-hover); }
.search-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.search-result-card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.search-result-card h2 { font-size: 20px; }
.search-result-card p { color: var(--muted); margin-bottom: 0; }
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); }
.page-numbers.current, .page-numbers:hover { border-color: var(--accent); color: #fff; }
/* Legacy WordPress.com widgets can survive a theme change as loose list items
   beneath page content. Keep useful navigation, but present it as part of the
   storefront instead of as an unstyled blog sidebar. */
.widget-area, .site-sidebar { display: none !important; }
.widget_search,
.wp-block-search,
.lvl-widget-search-hidden { display: none !important; }
:where(ul, ol):has(> .widget_pages, > .widget_archive, > .widget_categories),
.lvl-legacy-widget-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	width: min(100% - 32px, var(--container));
	margin: 28px auto;
	padding: 0;
	list-style: none;
}
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) {
	min-width: 0;
	margin: 0;
	padding: 20px;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card)::marker { content: ""; }
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) > :is(h2, h3, h4),
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) .widget-title,
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) .widgettitle {
	margin: 0 0 14px;
	font-size: 20px;
}
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) li { margin: 0; list-style: none; }
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) li a {
	display: block;
	padding: 10px 12px;
	color: var(--text);
	background: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	line-height: 1.3;
}
:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) li a:hover {
	color: #fff;
	border-color: var(--accent);
}

/* --- FAQ ------------------------------------------------------------------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; background: var(--surface); }
.faq-q { font-family: var(--display); font-weight: 800; padding: 16px 18px; cursor: pointer; list-style: none; position: relative; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; position: absolute; right: 18px; color: var(--accent); font-size: 20px; line-height: 1; }
.faq-item[open] .faq-q::after { content: "\2212"; }
.faq-a { padding: 0 18px 16px; color: var(--muted); }

/* --- COA table ------------------------------------------------------------- */
.coa-search { max-width: 380px; margin: 10px 0 18px; }
.coa-search-label { font-weight: 600; }
.coa-table { width: 100%; border-collapse: collapse; }
.coa-table th, .coa-table td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--border); font-size: 13px; }
.coa-table th { font-family: var(--display); font-weight: 800; color: var(--muted); }
.coa-pending-tag { color: var(--muted); }
.coa-download-link { color: var(--accent); font-weight: 700; }

/* --- Support / contact ----------------------------------------------------- */
.support-grid { display: grid; gap: 26px; margin-top: 22px; }
.support-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; margin-bottom: 12px; }
.support-card h3 { margin-bottom: 6px; }
.support-card ul { margin: 0; padding-left: 18px; }
.contact-details { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-details li { padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); margin-top: 0; padding: 40px 0 calc(90px + var(--safe-bottom)); }
.ruo-notice { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--border); }
.ruo-notice-title { font-family: var(--display); font-weight: 800; color: #fff; margin: 0 0 10px; font-size: 15px; letter-spacing: 0.02em; }
.ruo-notice-body { color: var(--muted); font-size: 13px; margin: 0; max-width: 110ch; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-brand-col .logo-link { margin-bottom: 14px; }
.footer-brand-blurb { color: var(--muted); font-size: 13px; max-width: 34ch; }
.footer-col h4 { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #fff; font-size: 15px; }
.footer-col a:hover { color: var(--accent); }
.footer-legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; }
.footer-copy { color: var(--muted); font-size: 12px; margin: 0; }

/* --- Slide-out menu + cart ------------------------------------------------- */
.slideout-menu, .slideout-cart { position: fixed; top: 0; bottom: 0; width: min(90vw, 420px); z-index: 400; background: var(--surface); border-inline: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .25s ease; overflow-y: auto; }
/* Same [hidden]-vs-author-display issue as .age-gate above: the transform keeps
   these visually off-screen when closed, but without this they'd stay in the
   accessibility tree and tab order despite carrying the hidden attribute. */
.slideout-menu[hidden], .slideout-cart[hidden] { display: none; }
.slideout-menu { left: 0; transform: translateX(-100%); }
.slideout-cart { right: 0; transform: translateX(100%); padding-bottom: var(--safe-bottom); }
.slideout-menu.is-open, .slideout-cart.is-open { transform: translateX(0); }
.slideout-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.slideout-title { font-family: var(--display); font-weight: 800; }
.slideout-nav { list-style: none; margin: 0; padding: 8px 0; }
.slideout-nav a { display: block; padding: 15px 18px; color: var(--text); border-bottom: 1px solid var(--border); font-weight: 600; }
.slideout-cart-body { padding: 18px; }
.slideout-cart .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.slideout-cart .woocommerce-mini-cart-item { position: relative; min-height: 78px; padding: 14px 34px 14px 0; border-bottom: 1px solid var(--border); }
.slideout-cart .woocommerce-mini-cart-item > a:not(.remove) { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; align-items: center; color: var(--text); font-weight: 700; line-height: 1.3; }
.slideout-cart .woocommerce-mini-cart-item img { grid-column: 1; grid-row: 1; width: 64px !important; height: 64px !important; object-fit: contain; margin: 0 !important; padding: 4px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); float: none !important; }
.slideout-cart .woocommerce-mini-cart-item > a:not(.remove) { overflow-wrap: anywhere; }
.slideout-cart .woocommerce-mini-cart-item .remove { position: absolute; top: 18px; right: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: var(--accent); font-size: 22px; line-height: 1; }
.slideout-cart .woocommerce-mini-cart-item .remove:hover { background: rgba(224,31,38,.14); }
.slideout-cart .woocommerce-mini-cart-item .quantity { display: block; margin: 6px 0 0 76px; color: var(--muted); font-size: 13px; }
.slideout-cart .woocommerce-mini-cart__total { display: flex; justify-content: space-between; gap: 16px; margin: 18px 0 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.slideout-cart .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.slideout-cart .woocommerce-mini-cart__buttons .button { display: flex; align-items: center; justify-content: center; min-width: 0; margin: 0; padding: 13px 12px; font-size: 13px; white-space: nowrap; }
.slideout-cart .woocommerce-mini-cart__buttons .button { background: transparent; color: var(--text); border: 1px solid var(--border); border-radius: var(--pill); font-family: var(--display); font-weight: 800; }
.slideout-cart .woocommerce-mini-cart__buttons .button:hover { border-color: var(--accent); color: #fff; }
.slideout-cart .woocommerce-mini-cart__buttons .checkout { background: var(--accent); color: #fff; border-color: var(--accent); }
.slideout-cart .woocommerce-mini-cart__buttons .checkout:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.slideout-cart .woocommerce-mini-cart__empty-message { color: var(--muted); }
.slideout-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 350; }

/* --- Mobile bottom nav ----------------------------------------------------- */
.mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; display: flex; background: rgba(10,10,10,0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--border); padding-bottom: var(--safe-bottom); }
.mbn-item { flex: 1; display: flex; align-items: center; justify-content: center; height: var(--bottom-nav-h); color: var(--muted); background: transparent; border: 0; position: relative; }
.mbn-item.is-active { color: var(--accent); }
.mbn-item:hover { color: var(--text); }
.mbn-cart .cart-count { top: 8px; right: calc(50% - 20px); }

/* --- Age gate -------------------------------------------------------------- */
.lvl-age-pending #page { filter: blur(11px); pointer-events: none; user-select: none; transform: scale(1.01); }
.age-gate { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.78); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; }
/* The [hidden] attribute alone won't win against the author rule above (author
   origin beats the UA [hidden]{display:none} rule regardless of specificity),
   so without this the gate would flash visible on every load, cookie or not. */
.age-gate[hidden] { display: none; }
.age-gate-card { background: linear-gradient(180deg, #171717, #111); border: 1px solid #303030; border-radius: 18px; padding: 28px 26px 24px; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; width: 100%; text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.7); }
.age-gate-mark { display: flex; justify-content: center; align-items: center; width: min(100%, 300px); min-height: 90px; margin: 0 auto 18px; padding: 4px 12px; background: transparent; border: 0; }
.age-gate-mark .logo-mark { width: 44px; height: 44px; }
.age-gate-logo { width: 100%; max-width: 264px; height: auto; }
.age-gate-title { margin-bottom: 8px; font-size: clamp(28px, 6vw, 36px); }
.age-gate-intro { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.age-gate-statements { display: grid; gap: 12px; margin: 0 0 16px; text-align: left; }
.age-check { position: relative; display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 12px; align-items: start; margin: 0; padding: 15px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 15px; line-height: 1.45; transition: border-color .15s ease, background-color .15s ease; }
.age-check:hover { border-color: #444; }
.age-check:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(224,31,38,.18); }
.age-check.is-invalid { border-color: var(--accent); background: rgba(224,31,38,.08); }
.age-check-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.age-check-ui { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 2px solid #5b5b5b; border-radius: 6px; background: #0c0c0c; color: #fff; transition: background-color .15s ease, border-color .15s ease; }
.age-check-ui svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.7); transition: opacity .15s ease, transform .15s ease; }
.age-check-input:checked + .age-check-ui { background: var(--accent); border-color: var(--accent); }
.age-check-input:checked + .age-check-ui svg { opacity: 1; transform: scale(1); }
.age-check strong { display: block; color: var(--text); font-size: 15px; }
.age-check small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.age-gate-error { margin: 0 0 14px; padding: 10px 12px; color: #fff; background: rgba(224,31,38,.12); border: 1px solid var(--accent); border-radius: var(--radius-sm); font-size: 13px; text-align: left; }
.age-gate-error[hidden] { display: none; }
.age-gate-exit { display: inline-block; margin-top: 14px; color: var(--muted); text-decoration: underline; font-size: 13px; }

/* AJAX loading state (add to cart, cart/checkout updates). WooCommerce's own
   spinner image is part of the default stylesheet we disabled above, so this
   replaces it with a simple dim + cursor treatment instead of a frozen-looking UI. */
.blockUI.blockOverlay { position: relative; opacity: 0.5; pointer-events: none; }
.blockUI.blockOverlay::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px;
	margin: -11px 0 0 -11px; border: 2px solid var(--border); border-top-color: var(--accent);
	border-radius: 50%; animation: lvl-spin 0.7s linear infinite;
}
@keyframes lvl-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .blockUI.blockOverlay::after { animation: none; } }

/* --- WooCommerce notices --------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); color: var(--text); padding: 12px 16px; border-radius: var(--radius-sm); list-style: none; }
.single-product .woocommerce-notices-wrapper:not(:empty) { margin: 0 0 24px; }
.single-product .woocommerce-message {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
	min-height: 62px; margin: 0; padding: 12px 16px 12px 20px;
}
.single-product .woocommerce-message .button { order: 2; margin-left: auto; white-space: nowrap; }

/* --- Responsive ------------------------------------------------------------ */
@media (min-width: 768px) {
	:root { --header-h: 76px; }
	body { font-size: 15px; }
	.product-grid, ul.products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.product-grid.columns-2 { grid-template-columns: repeat(4, 1fr); }
	.stat-grid { grid-template-columns: repeat(4, 1fr); }
	.stat { border-bottom: 0; }
	.stat:nth-child(2n) { border-right: 1px solid #e2e2e2; }
	.stat:last-child { border-right: 0; }
	.hero-inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 34px; padding-block: 64px 72px; }
	.hero-product { margin-top: 0; }
	.hero-price-card { margin-top: -20px; }
	.lvl-sticky-atc .btn { width: auto; }
	.support-grid { grid-template-columns: 1fr 340px; }
	.single-product div.product { grid-template-columns: 1fr 1fr; align-items: start; }
	.footer-cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
	.logo-img img, .custom-logo { height: 42px; }
	.mobile-bottom-nav { display: none; }
	.lvl-sticky-atc { display: none !important; }
	.site-footer { padding-bottom: 44px; }
	.review-card { flex-basis: 32%; }
}

@media (max-width: 767px) {
	.container { padding-inline: 16px; }
	.section { padding-block: 40px; }
	.btn { width: 100%; min-height: 50px; padding-inline: 20px; }
	.lvl-sticky-atc .btn { width: auto; }
	.hero-cta-row { display: grid; grid-template-columns: 1fr; }
	.hero-product img { width: min(66vw, 250px); }
	.hero-price-card { margin-top: -20px; }
	.single-product .woocommerce-breadcrumb { padding: 14px 16px 10px; }
	.single-product div.product { gap: 20px; margin-bottom: 36px; }
	.single-product .woocommerce-product-gallery__image img { padding: 10px; }
	.single-product .summary .product_title { font-size: clamp(36px, 13vw, 54px); }
	.woocommerce-tabs { margin-top: 8px; }
	.related.products, .upsells.products { margin-top: 18px; }
	.single-product .woocommerce-message { align-items: stretch; }
	.single-product .woocommerce-message .button { width: 100%; margin-left: 0; }
	form.woocommerce-checkout { display: block; }
	#order_review_heading { margin-top: 36px; }
	#order_review { padding: 18px 14px; }
	.woocommerce-billing-fields__field-wrapper,
	.woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; gap: 0; }
	.woocommerce-billing-fields__field-wrapper .form-row,
	.woocommerce-shipping-fields__field-wrapper .form-row { grid-column: 1; }
	.woocommerce-form-coupon { display: block; padding: 16px; }
	.woocommerce-form-coupon .form-row + .form-row { margin-top: 10px; }
	.woocommerce-checkout-review-order-table th,
	.woocommerce-checkout-review-order-table td { padding: 12px 6px; font-size: 13px; overflow-wrap: anywhere; }
	.checkout-trust-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
	.woocommerce-cart-form .shop_table,
	.woocommerce-cart-form .shop_table tbody { display: block; }
	.woocommerce-cart-form .shop_table thead { display: none; }
	.woocommerce-cart-form .shop_table tr.cart_item { display: grid; grid-template-columns: 28px 68px minmax(0,1fr); grid-template-areas: "remove thumb name" ". thumb price" ". thumb quantity" ". . subtotal"; gap: 7px 10px; padding: 16px 0; border-bottom: 1px solid var(--border); }
	.woocommerce-cart-form .shop_table tr.cart_item td { display: block; width: auto; padding: 0; border: 0; text-align: left; min-width: 0; }
	.woocommerce-cart-form .shop_table tbody > tr:not(.cart_item) { display: block; width: 100%; }
	.woocommerce-cart-form .product-remove { grid-area: remove; }
	.woocommerce-cart-form .product-thumbnail { grid-area: thumb; }
	.woocommerce-cart-form .product-name { grid-area: name; }
	.woocommerce-cart-form .product-price { grid-area: price; color: var(--muted); font-size: 14px; }
	.woocommerce-cart-form .product-quantity { grid-area: quantity; }
	.woocommerce-cart-form .product-subtotal { grid-area: subtotal; font-weight: 800; }
	.woocommerce-cart-form .product-thumbnail img { width: 64px; height: 64px; }
	.woocommerce-cart-form .product-price::before { content: "Price: "; }
	.woocommerce-cart-form .product-subtotal::before { content: "Subtotal: "; color: var(--muted); font-weight: 400; }
	.woocommerce-cart-form td.actions { display: grid; grid-template-columns: 1fr; width: 100% !important; padding-block: 20px; }
	.woocommerce-cart-form .actions .coupon { display: none !important; }
	.woocommerce-cart-form .actions .coupon input,
	.woocommerce-cart-form .actions .coupon .button,
	.woocommerce-cart-form .actions > .button { width: 100%; min-width: 0; float: none; }
	.cart-collaterals { display: block; margin-top: 22px; }
	.cart-collaterals .cart_totals { padding: 18px 14px; }
	.slideout-cart { width: min(92vw, 390px); }
	.slideout-cart-body { padding: 14px; }
	.slideout-cart .woocommerce-mini-cart__buttons { grid-template-columns: 1fr; }
	.age-gate { padding: 12px; }
	.age-gate-card { padding: 22px 16px 18px; max-height: calc(100vh - 20px); }
	.age-gate-mark { min-height: 72px; margin-bottom: 14px; }
	.age-gate-logo { max-width: 220px; }
	.age-check { padding: 13px; font-size: 14px; }
	.search-panel .woocommerce-product-search,
	.search-panel .search-form,
	.entry-header .woocommerce-product-search { display: grid; grid-template-columns: 1fr; }
	.search-panel button,
	.search-panel input[type="submit"],
	.entry-header .woocommerce-product-search button { min-height: 46px; }
	.search-results-grid { grid-template-columns: 1fr; }
	:where(ul, ol):has(> .widget_pages, > .widget_archive, > .widget_categories),
	.lvl-legacy-widget-grid { grid-template-columns: 1fr; gap: 12px; margin-block: 20px; }
	:where(.widget_pages, .widget_archive, .widget_categories, .lvl-legacy-widget-card) { padding: 16px; }
	.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
	.footer-brand-col { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
	.header-nav { display: block; margin-right: 28px; }
	.menu-toggle { display: none; }
}
