/* GRX Vault — light design system: logo white (#FFFFFF), ink #111111, GRX gold. */

@font-face { font-family: "Unbounded"; src: url(fonts/unbounded-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
	--c-bg: #ffffff;
	--c-surface: #f8f7f4;
	--c-raised: #f1efea;
	--c-line: #e7e3db;
	--c-line-strong: #d6d1c6;
	--c-text: #111111;
	--c-body: #3d3a35;
	--c-muted: #6e695f;
	--c-gold: #c9a24a;
	--c-gold-ink: #8a6a22;
	--c-gold-soft: rgba(201, 162, 74, .12);
	--c-danger: #b8432c;
	--font-display: "Unbounded", "Arial Black", sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--gutter: clamp(16px, 4vw, 40px);
	--max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-text); }
a:hover { color: var(--c-gold-ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--c-gold); color: #000; z-index: 100000; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { color: var(--c-gold-ink); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.text-link { color: var(--c-gold-ink); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; max-width: var(--max); height: 68px; margin: 0 auto; padding: 0 var(--gutter); }
.site-logo img { width: 132px; height: auto; }
.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--c-muted); text-decoration: none; font-size: .95rem; font-weight: 600; }
.site-nav a:hover, .site-nav .current-menu-item a { color: var(--c-text); }
.site-actions { display: flex; align-items: center; gap: 4px; }
.site-action { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--c-text); background: none; border: 0; cursor: pointer; }
.site-action:hover { color: var(--c-gold-ink); }
.grx-cart-count { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-gold); color: #000; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: none; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
	.site-nav a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--c-line); }
	.site-actions { margin-left: auto; }
}

/* Hero */
.hero { border-bottom: 1px solid var(--c-line); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 5vw, 72px); min-height: min(720px, calc(100vh - 108px)); }
.hero__copy { padding: clamp(48px, 8vw, 96px) 0; }
.hero__lead { max-width: 46ch; color: var(--c-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { align-self: stretch; position: relative; }
.hero__media img { width: 100%; height: 100%; max-height: 720px; object-fit: cover; object-position: center 40%; }
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
	.hero__copy { padding: 40px 0 32px; }
	.hero__media { margin: 0 calc(var(--gutter) * -1); }
	.hero__media img { max-height: 460px; }
	.hero__actions .grx-button { flex: 1 1 auto; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section__head h2 { margin: 0; }

.standards { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 80px); }
.standards__intro p { color: var(--c-muted); }
.standards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.standards__grid div { padding-top: 20px; border-top: 1px solid var(--c-gold); }
.standards__grid p { color: var(--c-muted); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .standards { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .standards__grid { grid-template-columns: 1fr; } }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--c-line); background: var(--c-surface); }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--c-muted); }
@media (max-width: 760px) { .cta-band { flex-direction: column; align-items: flex-start; } .cta-band .grx-button { width: 100%; } }

/* Text pages */
.prose-page, .woo-page { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 104px); }
.prose-page { max-width: 820px; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 28px; }
.prose { color: var(--c-body); }
.prose h2 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin: 2em 0 .6em; color: var(--c-text); }
.prose a { color: var(--c-gold-ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- WooCommerce ---------- */
.woocommerce-breadcrumb { margin-bottom: 20px; color: var(--c-muted); font-size: .85rem; }
.woocommerce-breadcrumb a { color: var(--c-muted); text-decoration: none; }
.woocommerce-products-header__title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.woocommerce-result-count { color: var(--c-muted); font-size: .9rem; }
.woocommerce-ordering select { min-height: 44px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 24px; }

/* Product grid — separate cards with real gutters. */
ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; clear: both; }
ul.products::before, ul.products::after { display: none !important; }
.columns-3 ul.products, ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { ul.products, ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { ul.products, ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 420px) { ul.products, ul.products.columns-3 { gap: 12px; } }
ul.products li.product { position: relative; display: flex; flex-direction: column; width: auto !important; margin: 0 !important; float: none !important; padding: 0 0 18px; background: var(--c-bg); border: 1px solid var(--c-line); transition: border-color .2s; }
ul.products li.product:hover { border-color: var(--c-gold); box-shadow: 0 10px 30px rgba(17, 17, 17, .06); }
ul.products li.product > a:first-child { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit; }
ul.products li.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 16px; background: var(--c-surface); }
ul.products li.product .grx-bogo-badge, ul.products li.product .grx-soon-badge { margin: 0 16px 10px; align-self: flex-start; }
ul.products li.product h2 { margin: 0 16px 4px; font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 16px 4px; padding: 0; font-size: 1.02rem; }
@media (max-width: 420px) { .woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0 12px 4px; font-size: .95rem; } }
.grx-card-sizes { margin: 0 16px 10px; color: var(--c-muted); font-size: .82rem; }
ul.products li.product .price { display: block; margin: auto 16px 14px; color: var(--c-gold-ink); font-weight: 600; font-size: 1.05rem; }
ul.products li.product .price del { color: var(--c-muted); font-weight: 400; margin-right: 6px; }
ul.products li.product .button { margin: 0 16px; }
@media (max-width: 480px) {
	ul.products li.product .button { width: calc(100% - 24px); min-height: 44px; padding: 0 8px; font-size: .85rem; white-space: nowrap; }
	ul.products li.product h2 { font-size: .95rem; }
}
@media (max-width: 420px) {
	ul.products li.product h2, .grx-card-sizes, ul.products li.product .price, ul.products li.product .button { margin-left: 12px; margin-right: 12px; }
	ul.products li.product .grx-bogo-badge, ul.products li.product .grx-soon-badge { margin: 0 12px 8px; font-size: .66rem; }
}

/* Buttons */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt, button.single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem;
	border: 1px solid var(--c-gold); border-radius: 0; background: var(--c-gold); color: #111; font: 600 .95rem var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.woocommerce .button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover, button.single_add_to_cart_button:hover { background: #b8913c; border-color: #b8913c; color: #111; }
.woocommerce .button.disabled, .woocommerce .button:disabled, .woocommerce button.button.alt.disabled { opacity: .4; cursor: not-allowed; }
ul.products li.product .button { width: calc(100% - 32px); }
.woocommerce ul.products li.product .button { display: flex; align-items: center; justify-content: center; margin-top: 0; padding-top: 0; padding-bottom: 0; line-height: 1.2; text-align: center; }
.woocommerce a.button.grx-coming-soon-btn { background: transparent; color: var(--c-muted); border-color: var(--c-line); }
.woocommerce a.added_to_cart { display: block; margin: 8px 16px 0; color: var(--c-gold-ink); font-size: .85rem; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea, .select2-container .select2-selection--single {
	width: 100%; min-height: 48px; padding: 10px 14px; background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-line-strong); border-radius: 0; font: 16px var(--font-body);
}
input:focus, select:focus, textarea:focus { border-color: var(--c-gold-ink); outline: none; }
.select2-container .select2-selection--single .select2-selection__rendered { color: var(--c-text); line-height: 26px; padding-left: 0; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.select2-dropdown { background: var(--c-surface); border-color: var(--c-line); color: var(--c-text); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--c-gold); color: #000; }
.select2-search--dropdown .select2-search__field { background: var(--c-bg); color: var(--c-text); border-color: var(--c-line); }
label { font-size: .9rem; color: var(--c-body); }
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; }
.woocommerce form .form-row .required { color: var(--c-gold-ink); text-decoration: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; }
@media (max-width: 600px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; float: none; } }

/* Single product */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: relative !important; top: 0 !important; border: 1px solid var(--c-line); background: var(--c-surface); }
.single-product div.product .woocommerce-product-gallery img { width: 100%; }
/* No slider/zoom on this site, so show the photo immediately instead of waiting for JS to fade it in. */
.woocommerce-product-gallery { opacity: 1 !important; transition: none !important; }
.single-product div.product .woocommerce-product-gallery__trigger { display: none; }
.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.single-product .product_title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.single-product .summary .price { color: var(--c-gold-ink); font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; }
.single-product .woocommerce-product-details__short-description { color: var(--c-muted); }
.grx-ruo-inline { padding: 10px 14px; border-left: 2px solid var(--c-gold); background: var(--c-gold-soft); font-size: .88rem; color: var(--c-body); }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 20px 0; }
.single-product form.variations_form { display: block; }
.single-product table.variations { width: 100%; margin-bottom: 12px; border: 0; }
.single-product table.variations th, .single-product table.variations td { display: block; padding: 0; text-align: left; border: 0; }
.single-product table.variations th label { display: block; margin-bottom: 8px; color: var(--c-muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.single-product .reset_variations { display: inline-block; margin-top: 8px; color: var(--c-muted); font-size: .85rem; }
.single-product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.single-product .woocommerce-variation-price .price { font-size: 1.4rem; }
.quantity input.qty { width: 84px; min-height: 48px; text-align: center; }
.single-product button.single_add_to_cart_button { flex: 1 1 200px; }
.product_meta { margin-top: 20px; color: var(--c-muted); font-size: .85rem; }
.product_meta > span { display: block; margin-bottom: 4px; }
.product_meta a { color: var(--c-muted); }
.single-product .woocommerce-tabs { grid-column: 1 / -1; margin-top: clamp(24px, 4vw, 48px); }
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 24px; padding: 0; list-style: none; border-bottom: 1px solid var(--c-line); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; background: none; border: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 14px 18px; color: var(--c-muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.woocommerce-tabs ul.tabs li.active a { color: var(--c-text); border-color: var(--c-gold-ink); }
.woocommerce-tabs .panel { max-width: 860px; color: var(--c-body); }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.grx-specs, .woocommerce-product-attributes { width: 100%; border-collapse: collapse; margin: 16px 0; }
.grx-specs th, .grx-specs td, .woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 12px 0; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; font-size: .92rem; }
.grx-specs th, .woocommerce-product-attributes th { width: 38%; color: var(--c-muted); font-weight: 400; }
.grx-specs td { word-break: break-word; }
.grx-ruo-note { color: var(--c-muted); font-size: .85rem; }
.related.products { grid-column: 1 / -1; margin-top: clamp(32px, 5vw, 64px); }
.related.products > h2 { font-size: 1.4rem; margin-bottom: 24px; }
@media (max-width: 860px) {
	.single-product div.product { grid-template-columns: 1fr; }
	.single-product div.product .woocommerce-product-gallery { position: relative !important; top: 0 !important; }
}

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
	list-style: none; margin: 0 0 24px; padding: 14px 18px; background: var(--c-surface); border: 1px solid var(--c-line); border-left: 3px solid var(--c-gold); color: var(--c-text);
}
.woocommerce-error { border-left-color: var(--c-danger); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 36px; padding: 0 14px; margin-left: 12px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: var(--c-gold-ink); }

/* Cart */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-line); background: var(--c-surface); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table th { color: var(--c-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.woocommerce table.cart img { width: 72px; background: var(--c-surface); }
.woocommerce table.cart td.product-name a { text-decoration: none; font-weight: 600; }
.woocommerce table.cart td.product-name dl.variation { margin: 6px 0 0; color: var(--c-muted); font-size: .85rem; }
.woocommerce table.cart td.product-name dl.variation dt, .woocommerce table.cart td.product-name dl.variation dd { display: inline; margin: 0; }
.woocommerce table.cart td.product-name dl.variation dt { margin-right: 4px; color: var(--c-gold-ink); }
.woocommerce table.cart td.product-name dl.variation dd p { display: inline; margin: 0; }
.woocommerce a.remove { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--c-danger) !important; font-size: 1rem; text-decoration: none; transition: background .2s; }
.woocommerce a.remove:hover { color: var(--c-danger) !important; background: rgba(184, 67, 44, .1); }
.woocommerce a.remove .grx-remove-label { display: none; }
.grx-row-trash { display: none; }
.woocommerce table.cart td.actions { padding: 16px; }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; float: left; }
.woocommerce table.cart td.actions .coupon input { width: 180px; }
.woocommerce table.cart td.actions > .button { float: right; }
.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 32px; }
.cart_totals { width: 100%; max-width: 440px; }
.cart_totals h2 { font-size: 1.2rem; }
.cart_totals tr.fee td, .woocommerce-checkout-review-order-table tr.fee td { color: var(--c-gold-ink); font-weight: 600; }
.wc-proceed-to-checkout .checkout-button { width: 100%; margin-top: 16px; }
@media (max-width: 760px) {
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--c-line); }
	.woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 0; text-align: right; }
	.woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); color: var(--c-muted); font-size: .85rem; text-align: left; }
	.woocommerce table.shop_table_responsive tr td.product-thumbnail { display: none; }
	/* Swipe left to reveal the red trash can. */
	.woocommerce table.cart tr.cart_item { position: relative; overflow: hidden; touch-action: pan-y; }
	.woocommerce table.cart tr.cart_item td:not(.product-remove) { position: relative; z-index: 1; background: var(--c-surface); transform: translateX(var(--grx-sx, 0px)); transition: transform .25s ease; }
	.woocommerce table.cart tr.cart_item.is-dragging td:not(.product-remove) { transition: none; }
	.woocommerce table.shop_table_responsive tr.cart_item td.product-remove { position: absolute; top: 0; right: 0; bottom: 0; z-index: 0; display: flex; width: 92px; padding: 0; background: var(--c-danger); }
	.woocommerce table.shop_table_responsive tr.cart_item td.product-remove::before { display: none; }
	.woocommerce table.cart tr.cart_item td.product-remove a.remove { flex-direction: column; gap: 4px; width: 100%; height: 100%; border-radius: 0; color: #fff !important; font-size: .75rem; font-weight: 600; background: none; }
	.woocommerce table.cart tr.cart_item td.product-remove a.remove svg { width: 24px; height: 24px; }
	.woocommerce table.cart tr.cart_item td.product-remove a.remove .grx-remove-label { display: block; }
	.woocommerce table.cart td.product-name { padding-right: 52px !important; }
	.grx-row-trash { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--c-danger); cursor: pointer; }
	.woocommerce table.shop_table_responsive tr td.product-name { flex-direction: column; text-align: left; }
	.woocommerce table.shop_table_responsive tr td.product-name::before { display: none; }
	.woocommerce table.shop_table_responsive tr td.actions { display: block; }
	.woocommerce table.shop_table_responsive tr td.actions::before { display: none; }
	.woocommerce table.cart td.actions .coupon { float: none; margin-bottom: 12px; }
	.woocommerce table.cart td.actions .coupon input { flex: 1; width: auto; }
	.woocommerce table.cart td.actions > .button { float: none; width: 100%; }
}

/* Checkout: see the Shopify-style block at the end of this file. */
.woocommerce-terms-and-conditions-wrapper { font-size: .85rem; color: var(--c-muted); }
.woocommerce-privacy-policy-text a { color: var(--c-gold-ink); }

/* Account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--c-line); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; color: var(--c-muted); text-decoration: none; border-bottom: 1px solid var(--c-line); }
.woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--c-text); background: var(--c-surface); box-shadow: inset 2px 0 0 var(--c-gold); }
.woocommerce-MyAccount-content a { color: var(--c-gold-ink); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.woocommerce-account .u-columns .col-1, .woocommerce-account .u-columns .col-2 { width: 100%; float: none; padding: 24px; border: 1px solid var(--c-line); background: var(--c-surface); }
.woocommerce-account h2 { font-size: 1.2rem; }
.woocommerce-form-login__rememberme { display: block; margin-bottom: 12px; }
.lost_password a { color: var(--c-muted); font-size: .9rem; }
@media (max-width: 760px) {
	.woocommerce-account .woocommerce, .woocommerce-account .u-columns.col2-set { grid-template-columns: 1fr; }
}

.woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; margin: 40px 0 0; padding: 0; list-style: none; border: 0; }
.woocommerce-pagination ul li { border: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-muted); }
.woocommerce-pagination span.current { border-color: var(--c-gold-ink); color: var(--c-text); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clear { clear: both; }

/* Footer */
.site-footer { border-top: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-muted); font-size: .9rem; }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 32px; }
.site-footer__brand img { margin-bottom: 20px; }
.site-footer a { color: var(--c-muted); text-decoration: none; }
.site-footer a:hover { color: var(--c-text); }
.site-footer__nav .menu { columns: 2; column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.site-footer__nav li { margin-bottom: 10px; break-inside: avoid; }
.site-footer__legal { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 40px; border-top: 1px solid var(--c-line); font-size: .8rem; line-height: 1.6; }
.site-footer__legal strong { color: var(--c-text); }
@media (max-width: 700px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Christmas event theme (body.theme-christmas) ---------- */
.theme-christmas { --c-red: #b3202a; --c-green: #0f3d2e; }
.theme-christmas .grx-bar { background: linear-gradient(90deg, var(--c-green), #145a43 50%, var(--c-green)); color: #f4f2ed; }
.theme-christmas .grx-bar strong { color: #e8c46a; }
.theme-christmas .site-header { box-shadow: 0 1px 0 rgba(201, 162, 74, .25); }
.theme-christmas .site-header::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; pointer-events: none;
	background: radial-gradient(circle, #c9a24a 0 1.5px, transparent 2.5px) 0 50% / 28px 4px repeat-x;
	animation: grx-twinkle 2.4s ease-in-out infinite;
}
.theme-christmas .grx-countdown { background: radial-gradient(ellipse at top, rgba(179, 32, 42, .10), transparent 60%), var(--c-surface); }
.theme-christmas .grx-countdown__label { color: var(--c-red); }
.theme-christmas .grx-bogo-badge { border-color: var(--c-red); color: #f4f2ed; background: var(--c-red); }
.theme-christmas .hero { position: relative; }
.theme-christmas .hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .5;
	background-image: radial-gradient(#fff 1px, transparent 1.5px), radial-gradient(#fff 1px, transparent 1.5px);
	background-size: 120px 120px, 190px 190px; background-position: 0 0, 60px 80px;
	animation: grx-snow 18s linear infinite;
}
@keyframes grx-snow { to { background-position: 0 1200px, 60px 1980px; } }
@keyframes grx-twinkle { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
	.theme-christmas .hero::before, .theme-christmas .site-header::after { animation: none; }
	* { scroll-behavior: auto !important; }
}

/* WooCommerce clearfix pseudo-elements must not take grid cells. */
.col2-set::before, .col2-set::after, #customer_login::before, #customer_login::after { content: none !important; display: none !important; }

/* Logged-in admins: keep the sticky header below the WordPress toolbar. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Homepage hero: floating vial + certificate ---------- */
.gold-text { color: var(--c-gold-ink); }
.hero--coa { background: radial-gradient(ellipse 60% 70% at 78% 45%, rgba(201, 162, 74, .14), transparent 70%), var(--c-bg); }
.hero--coa h1 span { display: block; }
.hero--coa .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); min-height: min(760px, calc(100vh - 108px)); }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--c-line); }
.hero__stats dt { color: var(--c-muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.hero__stats dd { margin: 4px 0 0; font-weight: 600; }
.coa-stage { position: relative; align-self: stretch; min-height: 600px; }
.coa-slide { position: absolute; inset: 0 0 44px; display: grid; grid-template-columns: minmax(0, .75fr) minmax(300px, 1fr); align-items: center; gap: clamp(8px, 2vw, 28px); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.coa-slide.is-active { opacity: 1; visibility: visible; }
.coa-vial { position: relative; display: flex; flex-direction: column; align-items: center; justify-self: center; width: min(100%, 240px); }
.coa-vial img { width: 100%; height: auto; animation: grx-bob 5s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(17, 17, 17, .18)); transition: transform .3s; }
.coa-vial:hover img { transform: scale(1.03); }
.coa-vial__shadow { width: 62%; height: 18px; margin-top: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(17, 17, 17, .22), transparent); animation: grx-bob-shadow 5s ease-in-out infinite; }
@keyframes grx-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes grx-bob-shadow { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .82; opacity: .6; } }
.coa-card { padding: 22px 22px 18px; background: var(--c-bg); border: 1px solid var(--c-line); box-shadow: 0 24px 60px rgba(17, 17, 17, .08); transform: translateY(8px); transition: transform .6s ease; }
.coa-slide.is-active .coa-card { transform: none; }
.coa-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--c-muted); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.coa-pass { padding: 3px 9px; background: #e7f3ec; color: #1d6b43; letter-spacing: .1em; }
.coa-card__name { margin: 0; font-size: 1.35rem; }
.coa-card__name small { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--c-gold-ink); margin-left: 4px; }
.coa-card__sub { margin: 4px 0 14px; color: var(--c-muted); font-size: .85rem; }
.coa-card__rows { margin: 0; }
.coa-card__rows div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--c-line); font-size: .86rem; }
.coa-card__rows dt { color: var(--c-muted); }
.coa-card__rows dd { margin: 0; color: var(--c-text); }
.coa-card__rows small { display: block; color: var(--c-muted); font-size: .74rem; }
.coa-card__rows strong { font-size: 1.05rem; }
.coa-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; word-break: break-all; }
.coa-card__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-line); font-size: .86rem; font-weight: 600; }
.coa-card__foot a { color: var(--c-gold-ink); text-decoration: none; }
.coa-card__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.coa-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 6px; }
.coa-dot { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.coa-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-line-strong); transition: background .2s, width .2s; }
.coa-dot.is-active::before { width: 22px; border-radius: 4px; background: var(--c-gold); }
@media (prefers-reduced-motion: reduce) { .coa-vial img, .coa-vial__shadow { animation: none; } .coa-slide { transition: none; } }
@media (max-width: 1100px) { .coa-slide { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
@media (max-width: 860px) {
	.hero--coa .hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.coa-stage { min-height: 560px; margin-bottom: 32px; }
	.coa-slide { grid-template-columns: 38% 1fr; }
	.coa-vial { width: 100%; }
}
@media (max-width: 520px) {
	.coa-stage { min-height: 600px; }
	.coa-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 4px; }
	.coa-vial { width: 108px; }
	.coa-vial__shadow { margin-top: 8px; height: 10px; }
	.coa-card { padding: 16px; }
	.coa-card__rows div { grid-template-columns: 96px 1fr; padding: 7px 0; }
	.hero__stats dd { font-size: .9rem; }
}

/* ---------- Checkout (Shopify-style) ---------- */
.grx-checkout-page { background: var(--c-bg); }
.co-header { border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.co-header__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; height: 72px; margin: 0 auto; padding: 0 var(--gutter); }
.co-header .site-logo img { width: 128px; }
.co-footer { max-width: 1180px; margin: 0 auto; padding: 20px var(--gutter) 32px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: .76rem; line-height: 1.6; }
.co-footer p { margin: 0 0 6px; }
.grx-checkout-page .site-main > .woocommerce { position: relative; }
.grx-checkout-page .woocommerce-notices-wrapper:empty { display: none; }
.grx-checkout-page .site-main > .woocommerce > .woocommerce-notices-wrapper, .grx-checkout-page .site-main > .woocommerce > .woocommerce-message, .grx-checkout-page .site-main > .woocommerce > .woocommerce-info, .grx-checkout-page .site-main > .woocommerce > .woocommerce-error { max-width: 1180px; margin: 20px auto 0; }

form.grx-checkout { position: relative; z-index: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "notices summary" "main summary"; align-items: stretch; margin: 0; }
form.grx-checkout::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; right: 0; background: var(--c-surface); border-left: 1px solid var(--c-line); }
form.grx-checkout > .woocommerce-NoticeGroup { grid-area: notices; max-width: 600px; width: 100%; justify-self: end; padding: 24px clamp(20px, 4vw, 56px) 0; }
.grx-co-main { grid-area: main; width: 100%; max-width: 600px; justify-self: end; padding: 36px clamp(20px, 4vw, 56px) 56px; }
.grx-co-summary { grid-area: summary; }
.grx-co-summary__inner { position: sticky; top: 0; max-width: 520px; padding: 36px clamp(20px, 4vw, 56px); }
.grx-co-section { margin-bottom: 32px; }
.grx-co-section h2, .grx-co-section__head h2 { margin: 0 0 14px; font-family: var(--font-body); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.grx-co-section__head { display: flex; align-items: baseline; justify-content: space-between; }
.grx-co-link { color: var(--c-gold-ink); font-size: .88rem; }
.grx-co-signedin { margin: -6px 0 14px; color: var(--c-muted); font-size: .9rem; }
.grx-co-signedin strong { color: var(--c-text); font-weight: 600; }
.grx-co-note { margin: -6px 0 14px; color: var(--c-muted); font-size: .88rem; }
.grx-co-hidden { display: none; }
.grx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grx-fields::before, .grx-fields::after { display: none !important; }
.woocommerce form .grx-fields .form-row { width: auto; float: none; margin: 0; padding: 0; }
.grx-fields .grx-full { grid-column: 1 / -1; }
.grx-fields .form-row label { margin-bottom: 4px; color: var(--c-muted); font-size: .8rem; }
.grx-checkout input[type="text"], .grx-checkout input[type="email"], .grx-checkout input[type="tel"], .grx-checkout select, .grx-checkout .select2-container .select2-selection--single { min-height: 50px; border-radius: 6px; border-color: var(--c-line-strong); }
.grx-checkout input:focus, .grx-checkout select:focus { border-color: var(--c-gold); box-shadow: 0 0 0 1px var(--c-gold); }
.grx-checkout .select2-container .select2-selection--single { display: flex; align-items: center; }
.grx-checkout .woocommerce-input-wrapper strong { display: flex; align-items: center; min-height: 50px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 6px; background: var(--c-surface); font-weight: 400; }
.grx-checkout .form-row.woocommerce-invalid input, .grx-checkout .form-row.woocommerce-invalid select { border-color: var(--c-danger); }
.grx-checkout .optional { color: var(--c-muted); }
@media (max-width: 520px) { .grx-fields { grid-template-columns: 1fr; } }

.grx-ship-methods { border: 1px solid var(--c-line-strong); border-radius: 6px; overflow: hidden; }
.grx-ship-method { display: flex; align-items: center; gap: 12px; padding: 16px; margin: 0; color: var(--c-text); font-size: .95rem; cursor: pointer; }
.grx-ship-method + .grx-ship-method { border-top: 1px solid var(--c-line); }
.grx-ship-method.is-selected { background: var(--c-gold-soft); box-shadow: inset 0 0 0 1px var(--c-gold); }
.grx-ship-method input[type="radio"] { accent-color: var(--c-gold-ink); }
.grx-ship-method__name { flex: 1; }
.grx-ship-method__price { font-weight: 600; }
.grx-ship-methods .grx-co-note { margin: 0; padding: 16px; }

.grx-co-payment #payment { margin: 0; background: none !important; border-radius: 0; }
.grx-co-payment #payment ul.payment_methods { margin: 0 0 20px; padding: 0 !important; border: 1px solid var(--c-line-strong) !important; border-radius: 6px; overflow: hidden; }
.grx-co-payment #payment ul.payment_methods li { padding: 16px; border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.grx-co-payment #payment ul.payment_methods li:last-child { border-bottom: 0; }
.grx-co-payment #payment ul.payment_methods li > label { font-weight: 600; color: var(--c-text); font-size: .95rem; }
.grx-co-payment #payment ul.payment_methods li input[type="radio"] { accent-color: var(--c-gold-ink); margin-right: 8px; }
.grx-co-payment #payment div.payment_box { margin: 14px -16px -16px; padding: 16px; background: var(--c-surface) !important; color: var(--c-body) !important; border-top: 1px solid var(--c-line); border-radius: 0; }
.grx-co-payment #payment .place-order { padding: 0 !important; margin: 0; }
.grx-co-payment #payment #place_order { width: 100%; min-height: 58px; border-radius: 6px; font-size: 1.05rem; float: none; }
.grx-co-payment .grx-attest { border-radius: 6px; background: var(--c-surface); }
.grx-co-payment .woocommerce-privacy-policy-text { color: var(--c-muted); font-size: .8rem; }
.grx-co-policies { padding-top: 20px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: .8rem; }
.grx-co-policies a { color: var(--c-gold-ink); }

.grx-summary__items { margin: 0 0 20px; padding: 0; list-style: none; }
.grx-summary__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 8px 0; }
.grx-summary__thumb { position: relative; width: 64px; height: 64px; border: 1px solid var(--c-line); border-radius: 8px; background: var(--c-bg); }
.grx-summary__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.grx-summary__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #6e695f; color: #fff; font-size: .75rem; font-weight: 600; line-height: 22px; text-align: center; }
.grx-summary__name { display: flex; flex-direction: column; font-size: .92rem; line-height: 1.35; }
.grx-summary__name small { color: var(--c-muted); font-size: .8rem; }
.grx-summary__name small.grx-summary__free { color: var(--c-gold-ink); font-weight: 600; }
.grx-summary__price { font-size: .92rem; font-weight: 600; }
.grx-summary__totals { margin: 0; padding-top: 16px; border-top: 1px solid var(--c-line); }
.grx-summary__totals > div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; font-size: .92rem; }
.grx-summary__totals dt { color: var(--c-body); }
.grx-summary__totals dd { margin: 0; }
.grx-summary__totals .fee dd, .grx-summary__totals .fee dt { color: var(--c-gold-ink); font-weight: 600; }
.grx-summary__totals .order-total { align-items: baseline; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: 1.2rem; font-weight: 600; }
.grx-summary__totals .order-total dt { color: var(--c-text); }
.grx-summary__totals .order-total small { margin-right: 6px; color: var(--c-muted); font-size: .75rem; font-weight: 400; }
.woocommerce-checkout .grx-summary.processing, .woocommerce-checkout .grx-ship-methods.processing { opacity: .6; }

.grx-summary-toggle { display: none; }
@media (max-width: 900px) {
	form.grx-checkout { grid-template-columns: 1fr; grid-template-areas: "summary" "notices" "main"; }
	form.grx-checkout::before { display: none; }
	.grx-co-main, form.grx-checkout > .woocommerce-NoticeGroup { max-width: 640px; justify-self: center; }
	.grx-co-main { padding-top: 24px; }
	.grx-co-summary { display: none; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
	.grx-co-summary.is-open { display: block; }
	.grx-co-summary__inner { position: static; max-width: 640px; margin: 0 auto; padding: 20px var(--gutter); }
	.grx-summary-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px var(--gutter); background: var(--c-surface); border: 0; border-bottom: 1px solid var(--c-line); color: var(--c-gold-ink); font: 600 .92rem var(--font-body); cursor: pointer; }
	.grx-summary-toggle__label { display: inline-flex; align-items: center; gap: 8px; }
	.grx-summary-toggle [data-hide], .grx-summary-toggle.is-open [data-show] { display: none; }
	.grx-summary-toggle.is-open [data-hide] { display: inline; }
	.grx-summary-toggle.is-open .grx-summary-toggle__chev { rotate: 180deg; }
	.grx-summary-toggle__total { color: var(--c-text); font-size: 1.05rem; }
}
.grx-checkout .select2-container { width: 100% !important; }
.grx-checkout .select2-container .select2-selection--single .select2-selection__arrow { top: 50%; transform: translateY(-50%); }

/* ---------- Shop toolbar ---------- */
.shop-bar { margin-bottom: 28px; }
.shop-bar__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.shop-bar__title { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.shop-bar__controls { display: flex; align-items: stretch; flex: 0 1 560px; border: 1px solid var(--c-line-strong); border-radius: 999px; background: var(--c-bg); overflow: hidden; }
.shop-search { display: flex; align-items: center; gap: 8px; flex: 1; padding-left: 18px; color: var(--c-muted); }
.shop-search input[type="search"] { min-height: 48px; padding: 0 8px; border: 0; background: none; }
.shop-search input[type="search"]:focus { box-shadow: none; }
.shop-bar__controls .woocommerce-ordering { margin: 0 !important; border-left: 1px solid var(--c-line); }
.shop-bar__controls .woocommerce-ordering select { min-height: 48px; height: 100%; padding: 0 36px 0 16px; border: 0; background-color: transparent; font-size: .92rem; }
.shop-tabs { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; padding: 12px 0 0; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.shop-tab { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--c-muted); font-size: .92rem; font-weight: 600; text-decoration: none; }
.shop-tab span { color: var(--c-muted); font-size: .76rem; font-weight: 400; }
.shop-tab:hover { color: var(--c-text); }
.shop-tab.is-active { color: var(--c-text); border-color: var(--c-gold); }
.shop-tabs__count { margin: 0 0 0 auto; padding-bottom: 6px; color: var(--c-muted); font-size: .82rem; }
.dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); }
.dot--all { background: var(--c-text); }
.dot--tissue { background: #c9a24a; }
.dot--cellular { background: #6d9ac4; }
.dot--neural { background: #6fae8c; }
.dot--metabolic { background: #e0a85a; }
.dot--endocrine { background: #d07f86; }
.shop-empty { margin: 24px 0 0; color: var(--c-muted); }
.shop-empty button { border: 0; background: none; color: var(--c-gold-ink); font-weight: 600; cursor: pointer; text-decoration: underline; }
ul.products li.product[hidden] { display: none !important; }
.grx-card-components { margin: -2px 16px 4px; color: var(--c-muted); font-size: .76rem; }
.grx-card-type { display: flex; align-items: center; gap: 7px; margin: 0 16px 8px; color: var(--c-body); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grx-card-type .dot { width: 7px; height: 7px; }
@media (max-width: 420px) { .grx-card-components, .grx-card-type { margin-left: 12px; margin-right: 12px; } }
@media (max-width: 760px) {
	.shop-bar__controls { flex-basis: 100%; }
	.shop-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; }
	.shop-tabs::-webkit-scrollbar { display: none; }
	.shop-tab { white-space: nowrap; }
	.shop-tabs__count { display: none; }
}

/* COA carousel: stack slides in one grid cell so the stage is as tall as the tallest slide. */
.coa-stage { display: grid; align-content: center; min-height: 0; }
.coa-slide { position: relative; inset: auto; grid-area: 1 / 1; }
.coa-dots { position: static; grid-area: 2 / 1; margin-top: 18px; }
@media (max-width: 860px) { .coa-stage { min-height: 0; margin-bottom: 40px; } }
@media (max-width: 520px) { .coa-stage { min-height: 0; } .coa-vial { width: 92px; } }

/* ---------- Bulk page ---------- */
.bulk-intro { max-width: 760px; margin-bottom: 32px; }
.bulk-intro h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.bulk-intro > p { color: var(--c-body); }
.bulk-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 20px 0 12px; padding: 0; list-style: none; }
.bulk-points li { padding-left: 14px; border-left: 2px solid var(--c-gold); color: var(--c-body); font-size: .92rem; }
.bulk-points strong { color: var(--c-text); }
.bulk-fine { color: var(--c-muted); font-size: .82rem; }
.bulk-tabs { margin-bottom: 8px; }
.bulk-group { margin-top: 32px; scroll-margin-top: 100px; }
.bulk-group[hidden] { display: none; }
.bulk-group h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1.1rem; }
.bulk-table { border: 1px solid var(--c-line); }
.bulk-row { display: grid; grid-template-columns: minmax(0, 2.4fr) 1fr 1fr 1.2fr minmax(190px, 1.3fr); align-items: center; gap: 16px; margin: 0; padding: 12px 16px; border-top: 1px solid var(--c-line); }
.bulk-row:first-child { border-top: 0; }
.bulk-row--head { padding-top: 10px; padding-bottom: 10px; background: var(--c-surface); color: var(--c-muted); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.bulk-name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.bulk-name .bulk-thumb { flex: 0 0 auto; width: 52px; height: 52px; object-fit: cover; border: 1px solid var(--c-line); }
.bulk-name a { color: var(--c-text); font-weight: 600; text-decoration: none; }
.bulk-name a:hover { color: var(--c-gold-ink); }
.bulk-name small { display: block; color: var(--c-muted); font-size: .82rem; }
.bulk-name em { font-style: normal; color: #1d6b43; }
.bulk-retail del { color: var(--c-muted); }
.bulk-unit { color: var(--c-gold-ink); font-weight: 600; }
.bulk-pack strong { display: block; font-size: 1.05rem; }
.bulk-pack small { color: #1d6b43; font-size: .78rem; font-weight: 600; }
.bulk-add { display: flex; gap: 8px; justify-content: flex-end; }
.bulk-add select { width: auto; min-height: 44px; padding: 0 30px 0 10px; font-size: .9rem; }
.bulk-add .grx-button { min-height: 44px; padding: 0 18px; }
@media (max-width: 900px) {
	.bulk-row--head { display: none; }
	.bulk-row { grid-template-columns: 1fr 1fr 1fr; gap: 10px 12px; }
	.bulk-name { grid-column: 1 / -1; }
	.bulk-row > [data-label]::before { content: attr(data-label); display: block; color: var(--c-muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
	.bulk-add { grid-column: 1 / -1; }
	.bulk-add select { flex: 0 0 auto; }
	.bulk-add .grx-button { flex: 1; }
}
.quantity input.qty { padding-left: 6px; padding-right: 6px; }

/* Vial matches its COA card: same top, same bottom (two-column layouts). */
@media (min-width: 521px) {
	.coa-slide { align-items: stretch; }
	.coa-card { align-self: center; }
	.coa-vial { position: relative; align-self: stretch; width: 100%; min-height: 0; }
	.coa-vial img { position: absolute; top: 0; left: 0; right: 0; height: 100%; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
	.coa-vial__shadow { position: absolute; left: 50%; bottom: -26px; width: 30%; margin: 0 0 0 -15%; }
	.coa-dots { margin-top: 44px; }
}
@media (min-width: 521px) {
	.coa-card { align-self: stretch; display: flex; flex-direction: column; }
	.coa-card__foot { margin-top: auto; }
}

/* Homepage catalog rail: swipe on phones, arrows on desktop. */
.grx-rail .section__head { align-items: center; }
.grx-rail__nav { display: flex; align-items: center; gap: 10px; }
.grx-rail__btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-text); cursor: pointer; transition: border-color .2s, opacity .2s; }
.grx-rail__btn:hover { border-color: var(--c-gold); }
.grx-rail__btn[disabled] { opacity: .35; cursor: default; }
.grx-rail__nav .text-link { margin-left: 8px; white-space: nowrap; }
.grx-rail__track ul.products { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.grx-rail__track ul.products::-webkit-scrollbar { display: none; }
.grx-rail__track ul.products li.product { --rail-w: calc((100% - 60px) / 4); flex: 0 0 var(--rail-w); width: var(--rail-w) !important; min-width: 0; max-width: var(--rail-w); overflow: hidden; scroll-snap-align: start; }
.grx-rail__foot { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 1100px) { .grx-rail__track ul.products li.product { --rail-w: calc((100% - 40px) / 3); } }
@media (max-width: 820px) {
	.grx-rail__btn { display: none; }
	.grx-rail__track ul.products { gap: 12px; margin-right: -20px; padding-right: 20px; }
	.grx-rail__track ul.products li.product { --rail-w: 62%; }
}

/* About page */
.about-hero { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.about-hero__inner { padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 72px); }
.about-hero h1 { max-width: 18ch; }
.about-hero__lead { max-width: 58ch; color: var(--c-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: clamp(32px, 5vw, 56px); }
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--c-line-strong); }
.about-facts div { padding: 18px 20px 0 0; }
.about-facts dt { color: var(--c-muted); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.about-facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--c-text); }
.about-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); margin: 0; padding: 0; list-style: none; }
.about-steps li { padding-top: 20px; border-top: 2px solid var(--c-gold); }
.about-steps__n { display: block; font-family: var(--font-display); color: var(--c-gold-ink); font-size: 1.1rem; margin-bottom: 10px; }
.about-steps p { color: var(--c-muted); font-size: .95rem; margin: 0; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.about-list { margin: 0; padding: 0; list-style: none; }
.about-list li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--c-line); color: var(--c-body); }
.about-list li::before { position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.about-list--yes li::before { content: "\2713"; background: var(--c-gold-soft); color: var(--c-gold-ink); }
.about-list--no li::before { content: "\2715"; background: var(--c-raised); color: var(--c-muted); }
.about-contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-contact p { color: var(--c-muted); }
.about-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.about-contact address { font-style: normal; line-height: 1.7; padding: 24px; border: 1px solid var(--c-line); background: var(--c-bg); }
.about-ruo { padding: 28px 0 40px; }
.about-ruo p { max-width: 80ch; margin: 0; color: var(--c-muted); font-size: .85rem; }
@media (max-width: 900px) {
	.about-facts, .about-steps { grid-template-columns: repeat(2, 1fr); }
	.about-facts div { padding-bottom: 14px; }
	.about-split, .about-contact { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .about-steps { grid-template-columns: 1fr; } }

/* About: mission, story, values */
.about-mission blockquote { margin: 0; max-width: 30ch; font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.25; color: var(--c-text); }
.about-mission blockquote::before { content: ""; display: block; width: 64px; height: 4px; margin-bottom: 28px; background: var(--c-gold); }
.about-story { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-story h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.about-story__body p { color: var(--c-body); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.75; }
.about-story__body p:last-child { margin-bottom: 0; color: var(--c-text); font-weight: 600; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.about-values > div { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--c-line); background: var(--c-bg); transition: border-color .2s, transform .2s; }
.about-values > div:hover { border-color: var(--c-gold); transform: translateY(-2px); }
.about-values__n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%; background: var(--c-gold-soft); color: var(--c-gold-ink); font-weight: 600; font-size: .85rem; }
.about-values p { margin: 0; color: var(--c-muted); font-size: .95rem; }
.about-ahead h3 { margin-bottom: 6px; }
.cta-band .about-contact__actions { margin-top: 0; flex-shrink: 0; }
@media (max-width: 1000px) { .about-values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .about-story { grid-template-columns: 1fr; } .about-ahead { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .about-values { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cta-band .about-contact__actions { width: 100%; } .cta-band .about-contact__actions a { flex: 1 1 auto; text-align: center; } }

/* Product page: size buttons with prices */
.single-product table.variations { width: 100%; border: 0; margin-bottom: 8px; }
.single-product table.variations th, .single-product table.variations td { display: block; padding: 0; text-align: left; border: 0; }
.single-product table.variations th label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.grx-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin: 10px 0 4px; }
.grx-size { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid var(--c-line); background: #fff; color: inherit; font: inherit; cursor: pointer; text-align: left; border-radius: 0; }
.grx-size__name { font-weight: 600; }
.grx-size__price { font-size: .9rem; color: var(--c-muted); }
.grx-size:hover { border-color: var(--c-ink, #111); }
.grx-size.is-active { border: 2px solid var(--c-gold, #b8913a); padding: 11px 13px; background: #fbf7ee; }
.grx-size.is-active .grx-size__price { color: inherit; font-weight: 600; }
.grx-sizes__select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.single-product .reset_variations { display: none !important; }
.single-product .single_variation .price { font-size: 1.4rem; font-weight: 700; margin: 6px 0 4px; display: block; }

/* Quantity -/+ */
.grx-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--c-line); }
.grx-qty input.qty { width: 52px; border: 0 !important; text-align: center; -moz-appearance: textfield; }
.grx-qty input.qty::-webkit-inner-spin-button, .grx-qty input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.grx-qty__btn { width: 44px; border: 0; background: #fff; font-size: 1.25rem; cursor: pointer; color: inherit; }
.grx-qty__btn:hover { background: #f4f1ea; }

/* Live BOGO note */
.grx-free-note { flex-basis: 100%; margin: 12px 0 0; padding: 12px 14px; background: #fbf7ee; border-left: 3px solid var(--c-gold, #b8913a); font-size: .9rem; line-height: 1.5; }

/* Size buttons: size and price on one line, size in bold */
.grx-size { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px; }
.grx-size__name { font-weight: 700; }
.grx-size__price { font-weight: 400; color: var(--c-muted); }
.grx-size.is-active .grx-size__price { color: inherit; font-weight: 400; }

/* Mobile: sizes and add-to-cart right under the price and BOGO badge */
@media (max-width: 860px) {
	.single-product div.product .summary { display: flex; flex-direction: column; align-items: stretch; }
	.single-product div.product .summary > * { order: 10; }
	.single-product div.product .summary > .product_title { order: 1; }
	.single-product div.product .summary > .price { order: 2; }
	.single-product div.product .summary > .grx-bogo-badge { order: 3; align-self: flex-start; }
	.single-product div.product .summary > form.cart { order: 4; margin-top: 14px; }
	.single-product div.product .summary > .woocommerce-product-details__short-description { margin-top: 18px; }
	.grx-sizes { grid-template-columns: 1fr 1fr; }
}

/* Size buttons: never wrap "20 mg" or the price; two per row on every screen */
.grx-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grx-size__name, .grx-size__price { white-space: nowrap; }

/* Home hero on phones: same order as desktop, just without the dead space. */
@media (max-width: 700px) {
	.hero--coa .hero__copy { padding: 20px 0 8px; }
	.hero--coa .hero__copy > .eyebrow { margin-bottom: 10px; }
	.hero--coa .hero__copy > h1 { margin-bottom: 12px; }
	.hero--coa .hero__copy > .hero__lead { margin-bottom: 18px; }
	.hero--coa .hero__copy > .hero__stats { margin-top: 18px; padding-top: 14px; }
	.hero--coa .coa-stage { margin-bottom: 24px; }
}

/* Product pages on phones: tighter spacing */
@media (max-width: 860px) {
	.single-product .container.woo-page { padding-top: 12px; }
	.single-product div.product { gap: 14px; }
	.single-product div.product .summary > .product_title { margin: 0 0 4px; line-height: 1.1; }
	.single-product div.product .summary > .price { margin: 0 0 8px; }
	.single-product div.product .summary > .grx-bogo-badge { margin: 0; }
	.single-product div.product .summary > form.cart { margin-top: 12px; margin-bottom: 20px; }
	.single-product table.variations { margin-bottom: 8px; }
	.single-product table.variations th { line-height: 1.2; padding: 0; }
	.single-product table.variations th label { margin: 0; }
	.grx-sizes { margin: 6px 0 0; gap: 8px; }
	.grx-size { padding: 10px 12px; }
	.grx-size.is-active { padding: 9px 11px; }
	.single-product .single_variation .price { margin: 2px 0; font-size: 1.25rem; }
	.single-product .woocommerce-variation-availability p { margin: 0 0 8px; }
	.grx-free-note { margin-top: 10px; }
}

/* Home hero on desktop: half the empty space above and below */
@media (min-width: 701px) {
	.hero--coa .hero__inner { min-height: 0; }
	.hero--coa .hero__copy { padding: 48px 0; }
	.hero--coa .coa-stage { padding: 24px 0; }
}

/* Product pages on desktop: half the space under the header */
@media (min-width: 861px) {
	.single-product .container.woo-page { padding-top: 32px; }
}

/* Catalog (shop + category pages): half the space under the header */
.post-type-archive-product .container.woo-page,
.tax-product_cat .container.woo-page { padding-top: 32px; }
@media (max-width: 860px) {
	.post-type-archive-product .container.woo-page,
	.tax-product_cat .container.woo-page { padding-top: 14px; }
}

/* Bulk page: half the empty space above and below the title */
.prose-page:has(.bulk) { padding-top: 32px; }
.prose-page:has(.bulk) .page-title { margin-bottom: 22px; }
.bulk-intro > h2:first-child { margin-top: 0; }
@media (max-width: 860px) {
	.prose-page:has(.bulk) { padding-top: 14px; }
}

/* Multi-size products: drop the price range under the name (each size button shows its price) */
.single-product .single_variation .woocommerce-variation-price { display: none; }


/* Blends: ingredient line under the price */
.grx-blend-mix { margin: 0 0 10px; color: var(--c-muted); font-size: .95rem; line-height: 1.5; }
.grx-blend-mix strong { color: var(--c-ink, #111); font-weight: 600; }
@media (max-width: 860px) {
	.single-product div.product .summary > .grx-blend-mix { order: 1; margin: 0 0 6px; }
}

.grx-blend-mix span { white-space: nowrap; }


/* Product page: breadcrumb */
.grx-crumbs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 6px; font-size: .82rem; letter-spacing: .02em; color: var(--c-muted); }
.grx-crumbs a { color: var(--c-muted); text-decoration: none; }
.grx-crumbs a:hover { color: var(--c-ink, #111); text-decoration: underline; text-underline-offset: 3px; }
.grx-crumbs [aria-current] { color: var(--c-ink, #111); }

/* Product page: buy box */
.single-product div.product .summary { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--c-line); align-self: start; }
.grx-buybox__tag { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 12px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.grx-buybox__tag span + span { padding-left: 12px; border-left: 1px solid var(--c-line); color: var(--c-muted); font-weight: 500; }
.single-product div.product .summary .product_meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: .85rem; }
@media (max-width: 860px) {
	.single-product div.product .summary { padding: 18px 16px; }
	.single-product div.product .summary > .grx-buybox__tag { order: 0; }
	.grx-crumbs { font-size: .78rem; margin-bottom: 2px; }
}
.single-product div.product .summary { background: #fff; border-top: 3px solid var(--c-gold); box-shadow: 0 18px 40px -28px rgba(17, 17, 17, .35); }
.grx-buybox__tag span:first-child { color: var(--c-gold-ink); }

/* Tighter gap under the breadcrumb */
.single-product div.product { row-gap: 18px; }
.single-product div.product .woocommerce-tabs { margin-top: 32px; }

/* Breadcrumb sits close to the header */
.single-product .container.woo-page { padding-top: 14px; }
.single-product div.product { row-gap: 12px; }
@media (max-width: 860px) { .single-product .container.woo-page { padding-top: 10px; } }

/* Buy box: slightly tighter spacing */
@media (min-width: 861px) {
	.single-product div.product .summary { padding: 28px 30px; }
}
.single-product div.product .summary > .grx-buybox__tag { margin-bottom: 8px; }
.single-product div.product .summary > .product_title { margin-bottom: 8px; }
.single-product div.product .summary > .price { margin-bottom: 10px; }
.single-product div.product .summary > .grx-blend-mix { margin-bottom: 8px; }
.single-product div.product .summary > .woocommerce-product-details__short-description p { margin: 10px 0 8px; }
.single-product div.product .summary > .grx-ruo-inline { margin-bottom: 10px; }
.single-product div.product .summary > form.cart { margin-top: 14px; margin-bottom: 18px; }
.single-product div.product .summary .variations { margin-bottom: 10px; }
.single-product div.product .summary .woocommerce-variation-availability p { margin: 0 0 10px; }
.single-product div.product .summary .product_meta { margin-top: 12px; padding-top: 12px; }
