/*
Theme Name: IncredMed
Theme URI: https://incredmed.com
Description: Custom WooCommerce theme for IncredMed — "the feel-good fridge." Cannabis beverage marketplace. Reproduces the approved Direction-B / feel-good-fridge design.
Author: IncredMed
Version: 2.3.2
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: incredmed
WC requires at least: 8.0
WC tested up to: 10.8
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
	--font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
	--font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
	--font-mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

	--navy: #1c244b;
	--navy-2: #0a0f22;
	--teal: #4db7a2;
	--teal-deep: #2fae93;
	--teal-ink: #1f8a74;
	--mint: #7fe3cb;
	--bg: #f7f8f5;
	--card: #ffffff;
	--ink: #1c244b;
	--muted: #4a5470;
	--muted-2: #8a93ac;
	--line: rgba(22, 34, 74, 0.12);
	--line-strong: rgba(22, 34, 74, 0.22);

	/* dose scale */
	--dose-micro-bg: #dff0ea;   --dose-micro-fg: #17735b;
	--dose-ten-bg:   #e3f0dc;   --dose-ten-fg:   #3f7a1f;
	--dose-mid-bg:   #f7edd2;   --dose-mid-fg:   #92660a;
	--dose-high-bg:  #fbe4d2;   --dose-high-fg:  #a8501c;
	--dose-max-bg:   #fbdeda;   --dose-max-fg:   #a93226;
	--dose-cbd-bg:   #e0ebf6;   --dose-cbd-fg:   #2c5e8c;

	--radius: 16px;
	--radius-lg: 22px;
	--radius-pill: 99px;
	--shadow-sm: 0 8px 24px -16px rgba(22, 34, 74, 0.4);
	--shadow-md: 0 18px 40px -22px rgba(22, 34, 74, 0.45);
	--shadow-lg: 0 40px 90px -40px rgba(22, 34, 74, 0.5);

	--header-h: 76px;
	--container: 1200px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--bg);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--teal); color: #fff; }
input::placeholder, textarea::placeholder { color: var(--muted-2); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.section { padding: clamp(48px, 7vw, 90px) 0; }
.section-tight { padding: clamp(32px, 4vw, 56px) 0; }

.eyebrow {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--teal-ink);
	margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--mint); }
.eyebrow.muted { color: var(--muted-2); }

.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.head-row .section-head { margin-bottom: 0; }

.text-link {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--teal-ink);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
.text-link:hover { color: var(--navy); }
.text-link.on-dark { color: var(--mint); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-body);
	font-weight: 600; font-size: 15px;
	padding: 13px 26px;
	border-radius: var(--radius-pill);
	border: 2px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	line-height: 1; white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #283261; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-light:hover { border-color: var(--line-strong); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ============================================================
   PILLS / CHIPS / BADGES
   ============================================================ */
.pill {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
	padding: 7px 14px; border-radius: var(--radius-pill);
	border: 1.5px solid var(--line); background: #fff; color: var(--navy);
	transition: all 0.15s ease;
}
.pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill:hover { border-color: var(--line-strong); }

.dose-tag {
	display: inline-flex; align-items: center;
	font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.03em;
	padding: 4px 10px; border-radius: var(--radius-pill);
}
.tag-pill {
	font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
	text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill);
	background: var(--navy); color: #fff;
}
.tag-pill.is-sale { background: var(--dose-max-fg); }
.tag-pill.is-new { background: var(--teal-ink); }

/* dose color helpers */
.dose-micro { background: var(--dose-micro-bg); color: var(--dose-micro-fg); }
.dose-ten   { background: var(--dose-ten-bg);   color: var(--dose-ten-fg); }
.dose-mid   { background: var(--dose-mid-bg);   color: var(--dose-mid-fg); }
.dose-high  { background: var(--dose-high-bg);  color: var(--dose-high-fg); }
.dose-max   { background: var(--dose-max-bg);   color: var(--dose-max-fg); }
.dose-cbd   { background: var(--dose-cbd-bg);   color: var(--dose-cbd-fg); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(247, 248, 245, 0.88);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header .nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .custom-logo { height: 30px; width: auto; }

.primary-nav { flex: 1; }
.primary-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a {
	display: inline-block; padding: 8px 12px;
	font-size: 14px; font-weight: 500; color: var(--muted);
	border-bottom: 2px solid transparent;
}
.primary-nav .menu a:hover { color: var(--navy); }
.primary-nav .menu .current-menu-item > a,
.primary-nav .menu .current_page_item > a,
.primary-nav .menu a[aria-current] { color: var(--navy); font-weight: 600; border-bottom-color: var(--teal); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-icon-link,
.nav-cart {
	position: relative;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--navy);
	box-shadow: 0 10px 28px -24px rgba(22, 34, 74, 0.7);
	transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.nav-icon-link:hover,
.nav-cart:hover {
	border-color: rgba(77, 183, 162, 0.55);
	background: #f1faf7;
	transform: translateY(-1px);
}
.nav-cart__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.nav-icon-link svg,
.nav-cart svg,
.cart-drawer__close svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.nav-cart .cart-bubble {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border: 2px solid #fff;
	border-radius: var(--radius-pill);
	background: var(--teal);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.2s; }

/* cart drawer */
body.cart-drawer-open { overflow: hidden; }
.cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 240;
	pointer-events: none;
	visibility: hidden;
}
.cart-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
}
.cart-drawer__scrim {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(10, 15, 34, 0.48);
	opacity: 0;
	transition: opacity 0.24s ease;
}
.cart-drawer.is-open .cart-drawer__scrim { opacity: 1; }
.cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(100vw, 480px);
	height: 100%;
	padding: 20px;
	background: #fbfcfa;
	box-shadow: -34px 0 70px -48px rgba(10, 15, 34, 0.8);
	transform: translateX(100%);
	transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 14px;
	outline: none;
}
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.cart-drawer__eyebrow {
	margin: 0 0 5px;
	color: var(--teal-ink);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.cart-drawer__head h2 {
	font-size: 30px;
}
.cart-drawer__close {
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.cart-drawer__close:hover {
	border-color: var(--teal);
	color: var(--teal-ink);
}
.cart-drawer__content {
	min-height: 0;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	gap: 14px;
	transition: opacity 0.14s ease;
}
.cart-drawer__content.is-refreshing {
	opacity: 1;
}
.cart-drawer__content.is-fragment-entering {
	opacity: 1;
}
.cart-drawer__body {
	min-height: 0;
	overflow: hidden;
}
.cart-drawer__body .widget_shopping_cart_content {
	height: 100%;
	min-height: 0;
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto auto;
	gap: 0;
}
.cart-drawer-meter {
	display: grid;
	gap: 8px;
	padding: 13px 14px;
	border: 1px solid rgba(77, 183, 162, 0.3);
	border-radius: 12px;
	background: linear-gradient(180deg, #fff, #f9fbf8);
	box-shadow: 0 12px 30px -28px rgba(22, 34, 74, 0.62);
}
.cart-drawer-meter.is-unlocked {
	background: #f1faf7;
	border-color: rgba(47, 174, 147, 0.52);
}
.cart-drawer-meter.is-empty {
	background: #fff;
}
.cart-drawer-meter.is-promo {
	border-color: rgba(77, 183, 162, 0.28);
	background:
		linear-gradient(135deg, rgba(127, 227, 203, 0.14), rgba(255, 255, 255, 0) 60%),
		#fff;
}
.cart-drawer-meter strong {
	display: block;
	color: var(--ink);
	font-size: 13px;
	line-height: 1.2;
}
.cart-drawer-meter span,
.cart-drawer-meter__note,
.cart-drawer-meter__save {
	color: var(--muted);
	font-size: 13px;
}
.cart-drawer-meter__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
}
.cart-drawer-meter__top span {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 800;
	color: var(--muted-2);
	white-space: nowrap;
}
.cart-drawer-meter__bar {
	height: 10px;
	overflow: hidden;
	border-radius: var(--radius-pill);
	background: #e7ebe6;
	border: 1px solid rgba(22, 34, 74, 0.08);
}
.cart-drawer-meter__bar span {
	display: block;
	width: var(--case-progress);
	height: 100%;
	border-radius: inherit;
	background: var(--teal);
	transition: width 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cart-drawer-meter__note {
	margin: 0;
	line-height: 1.35;
}
.cart-drawer-meter__note.is-muted {
	color: var(--muted-2);
	font-size: 12px;
}
.cart-drawer-meter__save {
	color: var(--teal-ink);
	font-weight: 800;
}
.cart-drawer .woocommerce-mini-cart {
	display: grid;
	align-content: start;
	gap: 8px;
	margin: 0;
	padding: 0 4px 12px 0;
	list-style: none;
	overflow-y: auto;
	min-height: 0;
	scrollbar-gutter: stable;
}
.cart-drawer .woocommerce-mini-cart-item {
	position: relative;
	min-height: 0;
	max-height: var(--cart-item-height, 180px);
	padding: 10px 58px 10px 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 24px -24px rgba(22, 34, 74, 0.52);
	overflow: hidden;
	animation: cart-item-in 0.2s ease both;
	transition:
		opacity 0.16s ease,
		transform 0.16s ease,
		max-height 0.22s ease,
		padding 0.22s ease,
		margin 0.22s ease,
		border-color 0.16s ease,
		box-shadow 0.16s ease;
}
.cart-drawer .woocommerce-mini-cart-item.is-removing {
	max-height: 0;
	margin: 0;
	padding-top: 0;
	padding-bottom: 0;
	border-color: transparent;
	box-shadow: none;
	opacity: 0;
	transform: translateX(8px) scale(0.99);
	pointer-events: none;
}
.cart-drawer__content.is-refreshing .woocommerce-mini-cart-item:not(.is-removing) {
	opacity: 1;
}
.cart-drawer .blockUI.blockOverlay,
.cart-drawer .blockUI.blockMsg {
	display: none !important;
	opacity: 0 !important;
	background: transparent !important;
}
.cart-drawer .updating {
	opacity: 1 !important;
}
.cart-drawer .woocommerce-mini-cart-item > a:not(.remove) {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	color: var(--ink);
	min-width: 0;
	padding-right: 32px;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
	overflow-wrap: anywhere;
	white-space: normal !important;
}
.cart-drawer .woocommerce-mini-cart-item img {
	position: static;
	width: 48px;
	height: 54px;
	object-fit: contain;
	border-radius: 8px;
	background: #f1f3ef;
}
.cart-drawer .woocommerce-mini-cart-item dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 7px 0 5px 58px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.35;
}
.cart-drawer .woocommerce-mini-cart-item dl.variation dt {
	display: none;
	float: none !important;
}
.cart-drawer .woocommerce-mini-cart-item dl.variation dd {
	float: none !important;
	margin: 0;
	color: var(--ink);
}
.cart-drawer .woocommerce-mini-cart-item dl.variation dd p {
	display: inline-flex;
	align-items: center;
	min-height: 23px;
	padding: 3px 8px;
	border-radius: var(--radius-pill);
	background: rgba(77, 183, 162, 0.1);
	color: var(--teal-ink);
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.02em;
	margin: 0;
}
.cart-drawer .woocommerce-mini-cart-item .quantity {
	display: block;
	margin: 6px 0 0 58px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}
.cart-drawer .woocommerce-mini-cart-item .remove {
	position: absolute;
	top: 9px;
	right: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: transparent;
	color: var(--muted-2) !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
}
.cart-drawer .woocommerce-mini-cart-item .remove:hover {
	background: #fde8e6;
	color: #a93226 !important;
}
.cart-drawer .woocommerce-mini-cart__empty-message {
	display: none;
	margin: 0;
	padding: 42px 22px;
	border: 1px dashed rgba(22, 34, 74, 0.22);
	border-radius: var(--radius-lg);
	background: #fff;
	color: var(--muted);
	text-align: center;
}
.cart-empty-state {
	min-height: 100%;
	padding: clamp(24px, 5vw, 34px) 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(135deg, rgba(127, 227, 203, 0.16), rgba(255, 255, 255, 0) 58%),
		#fff;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
	box-shadow: 0 18px 48px -42px rgba(22, 34, 74, 0.65);
}
.cart-empty-state__mark {
	width: 46px;
	height: 46px;
	border: 1px solid rgba(77, 183, 162, 0.28);
	border-radius: 50%;
	background: rgba(77, 183, 162, 0.1);
	color: var(--teal-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.cart-empty-state__mark svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.cart-empty-state__eyebrow {
	margin: 2px 0 -4px;
	color: var(--teal-ink);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.cart-empty-state h3 {
	margin: 0;
	font-size: 26px;
	line-height: 1.05;
}
.cart-empty-state p:not(.cart-empty-state__eyebrow) {
	max-width: 34ch;
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}
.cart-empty-state .btn {
	margin-top: 6px;
	min-height: 44px;
	width: 100%;
}
.cart-bubble.is-fragment-entering {
	transform: scale(0.86);
}
@keyframes cart-item-in {
	from {
		opacity: 0;
		transform: translateY(5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.cart-drawer .woocommerce-mini-cart__total.total { display: none; }
.mini-cart-totals {
	display: grid;
	gap: 8px;
	align-self: end;
	margin: 0;
	padding: 14px 0 12px;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	background: #fbfcfa;
}
.mini-cart-totals__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	color: var(--muted);
	font-size: 14px;
}
.mini-cart-totals__row strong {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 17px;
}
.mini-cart-totals__row.is-savings span,
.mini-cart-totals__row.is-savings strong {
	color: var(--teal-ink);
}
.mini-cart-totals__row.is-total {
	margin-top: 4px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}
.mini-cart-totals__row.is-total span {
	color: var(--ink);
	font-weight: 800;
}
.mini-cart-totals__row.is-total strong {
	font-size: 22px;
}
.cart-drawer .woocommerce-mini-cart__buttons {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-top: 0;
	background: #fbfcfa;
}
.cart-drawer .woocommerce-mini-cart__buttons .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: var(--radius-pill);
	font-weight: 800;
	text-decoration: none !important;
}
.cart-drawer .woocommerce-mini-cart__buttons .checkout {
	order: 1;
	background: var(--teal) !important;
	color: #fff !important;
}
.cart-drawer .woocommerce-mini-cart__buttons .checkout:hover { background: var(--teal-deep) !important; }
.cart-drawer .woocommerce-mini-cart__buttons .button:not(.checkout) {
	order: 2;
	background: #fff !important;
	border: 1px solid var(--line);
	color: var(--navy) !important;
}

/* mobile drawer */
.mobile-menu {
	position: fixed; inset: 0; z-index: 150; background: var(--navy);
	transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.2,0.9,0.3,1);
	display: flex; flex-direction: column; padding: 28px 28px 40px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-menu__top img { height: 26px; filter: brightness(0) invert(1); }
.mobile-menu__close { background: none; border: none; color: #fff; font-size: 30px; line-height: 1; }
.mobile-menu a { color: #fff; font-family: var(--font-display); font-size: 30px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a:hover { color: var(--mint); }

/* ============================================================
   AGE GATE
   ============================================================ */
.age-gate {
	position: fixed; inset: 0; z-index: 300; padding: 20px;
	background: rgba(10, 15, 34, 0.72); backdrop-filter: blur(12px);
	display: flex; align-items: center; justify-content: center;
}
.age-gate[hidden] { display: none; }
.age-gate__card {
	background: var(--navy); border-radius: 26px; max-width: 460px; width: 100%;
	padding: clamp(32px, 5vw, 46px) clamp(24px, 4vw, 40px); text-align: center;
	box-shadow: 0 50px 100px -30px rgba(0,0,0,0.65); border: 1px solid rgba(255,255,255,0.1); color: #fff;
}
.age-gate__card img { height: 30px; width: auto; margin: 0 auto 22px; filter: brightness(0) invert(1); }
.age-gate__card h2 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.age-gate__card p { color: rgba(255,255,255,0.7); font-size: 15px; margin-bottom: 26px; }
.age-gate__actions { display: flex; flex-direction: column; gap: 12px; }
.age-gate__fine { margin: 22px 0 0; font-size: 12px; color: rgba(255,255,255,0.45); }

/* toast */
.toast {
	position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(80px);
	opacity: 0; transition: all 0.35s cubic-bezier(0.2,0.9,0.3,1.2); z-index: 200;
	background: var(--navy); color: #fff; font-size: 14px; font-weight: 600;
	padding: 13px 24px; border-radius: var(--radius-pill);
	box-shadow: 0 18px 40px -12px rgba(22,34,74,0.5); pointer-events: none; white-space: nowrap;
}
.toast.is-on { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
	position: relative; background: var(--card); border: 1px solid var(--line);
	border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.product-card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.product-card__thumb {
	aspect-ratio: 1 / 1; border-radius: 12px; background: #fff; border: 1px solid rgba(22, 34, 74, 0.06);
	display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px;
}
.product-card__thumb img { width: 78%; height: 78%; object-fit: contain; }
.product-card__brand { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 5px; }
.product-card__name { font-size: 17px; margin-bottom: 9px; }
.product-card__meta { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.product-card__type { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: auto; flex-wrap: wrap; }
.product-card__price { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.product-card__add {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: var(--radius-pill);
	background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; border: none;
	white-space: nowrap; flex-shrink: 0; cursor: pointer; transition: background 0.15s ease;
}
.product-card__add:hover { background: var(--teal); }
.product-card__add.loading { opacity: 0.7; }
/* WooCommerce injects the "View cart" link after an AJAX add — give it its own
   clean full-width row instead of squishing the button. */
.product-card__foot .added_to_cart {
	flex-basis: 100%; order: 3; text-align: center; text-decoration: none;
	padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-pill);
	font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
	text-transform: uppercase; color: var(--navy); transition: border-color 0.15s ease, background 0.15s ease;
}
.product-card__foot .added_to_cart:hover { border-color: var(--teal); background: var(--bg); color: var(--teal-ink); }

.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
	background: radial-gradient(120% 120% at 50% -10%, #283264 0%, var(--navy) 45%, var(--navy-2) 100%);
	color: #fff; text-align: center; padding: clamp(48px, 7vw, 92px) 0 0;
}
.has-custom-hero {
	background-size: cover;
	background-position: var(--hero-position, center center);
	background-repeat: no-repeat;
}
.has-custom-hero > .container {
	position: relative;
	z-index: 1;
}
.hero-overlay-navy {
	background-image: linear-gradient(90deg, rgba(10,15,34,0.82), rgba(28,36,75,0.62) 48%, rgba(10,15,34,0.76)), var(--hero-image) !important;
}
.hero-overlay-deep {
	background-image: linear-gradient(90deg, rgba(10,15,34,0.9), rgba(10,15,34,0.72) 52%, rgba(10,15,34,0.86)), var(--hero-image) !important;
}
.hero-overlay-soft {
	background-image: linear-gradient(90deg, rgba(10,15,34,0.76), rgba(10,15,34,0.42) 52%, rgba(10,15,34,0.58)), var(--hero-image) !important;
}
.hero-overlay-none {
	background-image: var(--hero-image) !important;
}
.hero.has-custom-hero {
	min-height: clamp(560px, 74vh, 820px);
	display: flex;
	align-items: center;
	padding: clamp(82px, 11vw, 142px) 0;
	text-shadow: 0 2px 24px rgba(10, 15, 34, 0.34);
}
.hero.has-custom-hero h1 {
	font-size: clamp(48px, 7vw, 88px);
}
.hero.has-custom-hero .hero__sub {
	color: rgba(255,255,255,0.88);
}
.hero.has-custom-hero .hero__shelf {
	display: none;
}
.hero.has-custom-hero + .trust-strip .track {
	padding-top: 16px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__eyebrow { color: var(--mint); }
.hero__sub { max-width: 560px; margin: 0 auto 28px; color: rgba(255,255,255,0.78); font-size: 18px; }
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero__shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto; transform: translateY(28px); }
.shelf-can { background: #fff; border-radius: 14px; padding: 14px; text-align: left; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
/* image area grows to absorb equal-height stretch so cards never have dead space */
.shelf-can__img { flex: 1 1 auto; min-height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.shelf-can__img img { max-height: 200px; width: auto; max-width: 100%; object-fit: contain; }
.shelf-can__brand { font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.shelf-can__name { font-size: 13px; font-weight: 600; }

.trust-strip { background: var(--teal); color: #fff; }
/* top padding clears the shelf cards that peek 28px down via translateY(28px) */
.trust-strip .track { display: flex; align-items: center; justify-content: center; gap: 14px 26px; flex-wrap: wrap; padding: 42px 24px 16px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.trust-strip .track .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.6); }

/* ============================================================
   ROSTER (brand wall)
   ============================================================ */
.roster-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.roster-chip { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; transition: 0.18s; }
.roster-chip:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.roster-chip__badge { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.roster-chip__name { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.roster-chip__count { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.roster-chip--more { background: #eef6f3; border-color: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--teal-ink); }

/* ============================================================
   INDEX (category rows)
   ============================================================ */
.index-rows { border-top: 1px solid var(--line); }
.index-row { display: flex; align-items: center; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: 0.18s; }
.index-row:hover { padding-left: 20px; background: rgba(77,183,162,0.05); }
.index-row__idx { font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); width: 28px; }
.index-row__name { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); font-weight: 700; flex: 1; }
.index-row__count { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-2); }
.index-row__arrow { font-size: 20px; color: var(--teal-ink); }

/* ============================================================
   DARK BANDS (dose ladder, brand of month)
   ============================================================ */
.band-dark { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 52px); }
.band-dark h2 { color: #fff; }
.band-dark p { color: rgba(255,255,255,0.72); }
.dose-band { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.dose-ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.dose-rung { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 16px 12px; text-align: center; }
.dose-rung__mg { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.dose-rung__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px; }

.botm { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; }
.botm__copy { padding: clamp(28px,3vw,44px); }
.botm__badge { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.botm__media { background: rgba(255,255,255,0.04); display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding: 24px; }
.botm__media img { height: 200px; object-fit: contain; }

/* ============================================================
   SPLIT / COA CARD / STANDARD
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.coa-card { background: var(--navy); border-radius: var(--radius-lg); padding: 28px; color: #fff; box-shadow: var(--shadow-lg); }
.coa-card__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.coa-card__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); }
.coa-card__batch { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--mint); }
.coa-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-family: var(--font-mono); font-size: 12px; }
.coa-row:last-child { border-bottom: none; }
.coa-row__test { color: rgba(255,255,255,0.7); }
.coa-row__result { color: var(--mint); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 30px; margin-top: auto; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand-col img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer .brand-col p { font-size: 14px; max-width: 320px; line-height: 1.6; }
.site-footer .social { display: flex; gap: 10px; margin-top: 16px; }
.site-footer .social a { padding: 8px 16px; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-pill); font-size: 13px; color: #fff; }
.site-footer .social a:hover { border-color: var(--mint); color: var(--mint); }
.foot-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 11px; }
.foot-col a { font-size: 14px; color: rgba(255,255,255,0.72); }
.foot-col a:hover { color: var(--mint); }
.foot-fine { font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 24px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.45); }

/* ============================================================
   CONTENT-PAGE PRIMITIVES (wholesale, dose-guide, labs, etc.)
   ============================================================ */
.page-hero { background: var(--navy); color: #fff; padding: clamp(48px,6vw,84px) 0; }
.page-hero.has-custom-hero,
.blog-hero.has-custom-hero {
	background-size: cover;
	background-position: var(--hero-position, center center);
	background-repeat: no-repeat;
}
.page-hero h1 { color: #fff; max-width: 14ch; margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 52ch; font-size: 18px; }
.page-hero .eyebrow { color: var(--mint); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature-card__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--teal-ink); margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; }

.data-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 13px; }
.data-table th { text-align: left; font-weight: 600; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 14px; border-bottom: 1px solid var(--line); }
.data-table tr:hover td { background: rgba(77,183,162,0.05); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field { width: 100%; padding: 13px 16px; border: 1px solid rgba(22,34,74,0.14); border-radius: 12px; font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff; box-shadow: 0 10px 28px -32px rgba(22,34,74,0.45); transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease; }
.field:focus { outline: none; border-color: rgba(77,183,162,0.72); box-shadow: 0 0 0 3px rgba(77,183,162,0.14), 0 10px 28px -32px rgba(22,34,74,0.45); }
textarea.field { resize: vertical; min-height: 110px; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: 0.18s; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card__media { aspect-ratio: 16/10; background: var(--dose-ten-bg); display: flex; align-items: center; justify-content: center; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__glyph { font-family: var(--font-display); font-weight: 700; font-size: 30px; }
.post-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); align-self: flex-start; margin-bottom: 12px; }
.post-card__meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); margin-top: auto; padding-top: 14px; }

/* ============================================================
   WOOCOMMERCE wrapper + overrides
   ============================================================ */
.woo-page { padding: clamp(32px, 5vw, 64px) 0; }
.woocommerce-breadcrumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 20px; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; list-style: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product::before, .woocommerce ul.products li.product::after { display: none; }
/* kill WooCommerce's clearfix pseudo-elements — they become stray grid cells */
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; display: none; }
.woocommerce-store-notice, .demo_store { display: none !important; }

/* WooCommerce buttons / cart / checkout — brand teal */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button, .wp-element-button,
.woocommerce #respond input#submit {
	background: var(--teal); color: #fff; border: none;
	border-radius: var(--radius-pill); padding: 13px 26px;
	font-family: var(--font-body); font-weight: 600; font-size: 15px;
	box-shadow: none; text-transform: none; line-height: 1;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wc-block-components-button:hover, .wp-element-button:hover { background: var(--teal-deep); }
.woocommerce .cart .button, .woocommerce .checkout-button { width: auto; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--teal); border-radius: var(--radius); font-size: 15px;
}
.woocommerce-cart-form table.cart, .woocommerce table.shop_table {
	border-radius: var(--radius); border-color: var(--line);
}
.wc-empty-cart-message, .cart-empty { font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.woocommerce .quantity input.qty { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px; }
.woocommerce .price, .woocommerce-Price-amount { color: var(--ink); font-weight: 600; }
/* Don't let the navy price rule bleed into coloured buttons. */
.wp-element-button .woocommerce-Price-amount,
.wc-block-components-button .woocommerce-Price-amount { color: inherit; }

/* ============================================================
   PRODUCT TABS + CERTIFICATE OF ANALYSIS
   ============================================================ */
.pdp-tabs-section .woocommerce-tabs {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}
.pdp-tabs-section .woocommerce-tabs ul.tabs {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 100%;
	align-items: center;
	gap: clamp(20px, 4vw, 34px);
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	box-shadow: none;
}
.pdp-tabs-section .woocommerce-tabs ul.tabs::before,
.pdp-tabs-section .woocommerce-tabs ul.tabs::after,
.pdp-tabs-section .woocommerce-tabs ul.tabs li::before,
.pdp-tabs-section .woocommerce-tabs ul.tabs li::after {
	content: none !important;
	display: none !important;
}
.pdp-tabs-section .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}
.pdp-tabs-section .woocommerce-tabs ul.tabs li a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 0 13px !important;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	color: var(--muted);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 0.16s ease, color 0.16s ease;
}
.pdp-tabs-section .woocommerce-tabs ul.tabs li a:hover,
.pdp-tabs-section .woocommerce-tabs ul.tabs li a:focus-visible {
	background: transparent;
	border-bottom-color: rgba(77, 183, 162, 0.45);
	color: var(--navy);
	outline: 0;
}
.pdp-tabs-section .woocommerce-tabs ul.tabs li.active a {
	background: transparent;
	border-bottom-color: var(--teal);
	color: var(--navy) !important;
	box-shadow: none;
}
.pdp-tabs-section .woocommerce-Tabs-panel {
	max-width: 980px;
	padding: 22px 0 0;
	color: var(--muted);
}
.pdp-tabs-section .woocommerce-Tabs-panel h2 {
	margin: 0 0 14px;
	font-size: clamp(22px, 2.4vw, 30px);
}
.pdp-tabs-section .woocommerce-Tabs-panel p:last-child { margin-bottom: 0; }
.pdp-tabs-section .woocommerce-product-attributes {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.pdp-tabs-section .woocommerce-product-attributes th,
.pdp-tabs-section .woocommerce-product-attributes td {
	padding: 14px 16px !important;
	border-color: var(--line) !important;
	background: #fff !important;
	color: var(--ink);
}
.pdp-tabs-section .woocommerce-product-attributes th {
	width: 34%;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.pdp-coa-tab { display: grid; gap: 24px; }
.pdp-coa-tab__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}
.pdp-coa-tab__eyebrow {
	margin: 0 0 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--teal-ink);
}
.pdp-coa-tab__head h2 { margin-bottom: 8px; }
.pdp-coa-tab__head p { max-width: 620px; margin: 0; color: var(--muted); }
.pdp-coa-tab__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0 0;
}
.pdp-coa-tab__meta div {
	min-width: 132px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fbfcfa;
}
.pdp-coa-tab__meta dt {
	margin: 0 0 4px;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.pdp-coa-tab__meta dd {
	margin: 0;
	color: var(--ink);
	font-size: 13px;
	font-weight: 650;
}
.pdp-coa-tab__meta a { color: var(--teal-ink); }
.pdp-coa-tab__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.pdp-coa-tab__batch {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 9px 14px;
	border-radius: var(--radius-pill);
	background: rgba(77, 183, 162, 0.12);
	color: var(--teal-ink);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
}
.pdp-coa-summary {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}
.pdp-coa-summary__row {
	min-height: 112px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fbfcfa;
	display: flex;
	flex-direction: column;
	gap: 12px;
	justify-content: space-between;
}
.pdp-coa-summary__row span {
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.pdp-coa-summary__row strong {
	color: var(--ink);
	font-size: 14px;
	line-height: 1.35;
}
.pdp-coa-pdf {
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fbfcfa;
	overflow: hidden;
}
.pdp-coa-pdf__frame {
	display: block;
	width: 100%;
	height: min(78vh, 760px);
	min-height: 520px;
	border: 0;
	background: #fff;
}
.pdp-coa-pdf__fallback {
	margin: 0;
	padding: 14px 16px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
}
.pdp-coa-pdf__fallback a {
	color: var(--teal-ink);
	font-weight: 700;
	text-decoration: none;
}
.pdp-description-tab {
	max-width: 760px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.7;
}
.pdp-coa-tab {
	gap: 18px;
}
.pdp-coa-tab__head {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}
.pdp-coa-summary {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
.pdp-coa-summary__row {
	min-height: 92px;
	padding: 14px;
	background: #fff;
}
.pdp-coa-pdf {
	background: #fff;
}
.pdp-coa-pdf__placeholder {
	min-height: 220px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 28px;
	text-align: center;
	color: var(--muted);
}
.pdp-coa-pdf__placeholder strong {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 22px;
}
.pdp-coa-pdf__placeholder[hidden] {
	display: none;
}
.pdp-coa-pdf__frame:not([src]) {
	display: none;
}

@media (max-width: 920px) {
	.pdp-coa-tab__head {
		display: block;
	}
	.pdp-coa-tab__actions {
		justify-content: flex-start;
		margin-top: 18px;
	}
	.pdp-coa-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

	@media (max-width: 680px) {
		.pdp-tabs-section .woocommerce-tabs ul.tabs {
			flex-wrap: nowrap;
			overflow-x: auto;
			gap: 22px;
			scrollbar-width: none;
		}
		.pdp-tabs-section .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
		.pdp-tabs-section .woocommerce-tabs ul.tabs li a {
			white-space: nowrap;
		}
	.pdp-coa-summary {
		grid-template-columns: 1fr;
	}
	.pdp-coa-pdf__frame {
		min-height: 420px;
	}
}

/* ============================================================
   CART & CHECKOUT (WooCommerce Blocks) — modern brand layout
   These pages render inside page.php → .entry-content, so first
   neutralise the generic link/underline styling that leaks in.
   ============================================================ */
.entry-content .wc-block-cart a,
.entry-content .wc-block-checkout a,
.entry-content .wp-block-woocommerce-cart a,
.entry-content .wp-block-woocommerce-checkout a { text-decoration: none; color: inherit; }
.entry-content .wc-block-components-product-name { color: var(--ink); font-weight: 600; text-decoration: none; }
.entry-content .wc-block-components-product-name:hover { color: var(--teal-ink); }

/* Widen the shell so the two-column layout can breathe, and add air above. */
.woocommerce-cart .page-shell,
.woocommerce-checkout .page-shell {
	background:
		linear-gradient(180deg, rgba(127, 227, 203, 0.16), rgba(247, 248, 245, 0) 280px),
		var(--bg);
}
.woocommerce-cart .content-narrow,
.woocommerce-checkout .content-narrow {
	max-width: 1240px;
}
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: clamp(24px, 4vw, 42px);
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}
.woocommerce-cart .entry-header h1,
.woocommerce-checkout .entry-header h1 {
	margin: 0;
	font-size: clamp(42px, 5.5vw, 74px);
}
.woocommerce-cart .entry-header::after,
.woocommerce-checkout .entry-header::after {
	content: "One-page secure checkout";
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(47, 174, 147, 0.24);
	color: var(--teal-ink);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.woocommerce-cart .entry-header::after { content: "Fast side-cart flow"; }
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content { margin-top: 8px; }
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	margin: 0;
	color: var(--ink);
}
.wp-block-woocommerce-filled-cart-block,
.wp-block-woocommerce-checkout {
	gap: clamp(24px, 4vw, 48px) !important;
}
.wc-block-components-sidebar-layout.wc-block-cart.is-large,
.wc-block-components-sidebar-layout.wc-block-checkout.is-large {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
	align-items: start;
	column-gap: clamp(28px, 5vw, 70px);
}
.wc-block-cart__main,
.wc-block-checkout__main {
	min-width: 0;
}
.wc-block-components-sidebar-layout.wc-block-cart.is-large .wc-block-components-main,
.wc-block-components-sidebar-layout.wc-block-checkout.is-large .wc-block-components-main,
.wc-block-components-sidebar-layout.wc-block-cart.is-large .wc-block-components-sidebar,
.wc-block-components-sidebar-layout.wc-block-checkout.is-large .wc-block-components-sidebar {
	width: auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* ---- shared bits ---- */
.wc-block-components-totals-item { padding: 12px 0; }
.wc-block-components-totals-item__label { color: var(--muted); font-size: 15px; }
.wc-block-components-totals-item__value { color: var(--ink); font-weight: 600; }
.wc-block-components-totals-coupon__form .wc-block-components-text-input { margin: 0; }
.wc-block-components-panel__button,
.wc-block-components-totals-coupon-link {
	font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
	color: var(--ink) !important; font-weight: 600;
}
.wc-block-components-totals-coupon__button.wc-block-components-button {
	padding: 12px 22px; font-size: 14px;
}
.wc-block-components-totals-fees__pack-size-savings .wc-block-components-totals-item__label,
.wc-block-components-totals-fees__pack-size-savings .wc-block-components-totals-item__value,
.wc-block-components-totals-fees__build-a-case-discount .wc-block-components-totals-item__label,
.wc-block-components-totals-fees__build-a-case-discount .wc-block-components-totals-item__value,
.wc-block-components-totals-fees__build-a-case-discount-24-cans-15-off .wc-block-components-totals-item__label,
.wc-block-components-totals-fees__build-a-case-discount-24-cans-15-off .wc-block-components-totals-item__value,
.wc-block-components-totals-fees .wc-block-components-totals-item__value {
	color: var(--teal-ink);
	font-weight: 800;
}
.wc-block-components-totals-fees .wc-block-components-totals-item {
	margin: 0 -10px;
	padding: 10px;
	border-radius: 12px;
	background: rgba(77, 183, 162, 0.09);
}

/* ---- the right-hand totals/summary card ---- */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wc-block-cart__sidebar .is-large.wc-block-cart__totals-title ~ *,
.wp-block-woocommerce-cart .wc-block-cart__sidebar > .wc-block-components-sidebar,
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
.wc-block-checkout__sidebar .wc-block-components-order-summary {
	background: transparent;
}
.wc-block-cart__sidebar .wc-block-components-sidebar,
.wc-block-cart__sidebar.wc-block-components-sidebar,
.wc-block-checkout__sidebar > .wc-block-components-checkout-order-summary,
.wc-block-checkout__sidebar .wc-block-components-checkout-order-summary {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px 24px;
	box-shadow: 0 24px 70px -52px rgba(22, 34, 74, 0.68);
}
.wc-block-cart__sidebar.wc-block-components-sidebar {
	overflow: hidden;
	padding: 0;
}
.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-cart__totals-title {
	margin: 0;
	padding: 24px 24px 14px;
}
.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-cart__payment-options {
	padding-left: 24px;
	padding-right: 24px;
}
.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-cart__submit {
	padding: 16px 24px 24px;
}
.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-components-totals-footer-item {
	margin-left: 0;
	margin-right: 0;
	padding: 22px 24px;
	background: #fbfcfa;
}
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	align-self: start;
}
.wc-block-cart__totals-title,
.wc-block-components-checkout-order-summary__title {
	font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--muted-2); font-weight: 600;
}
.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--font-display); color: var(--ink);
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 24px; font-weight: 700; }
.wc-block-components-divider, .wc-block-components-totals-item__description { border-color: var(--line); }

/* ---- cart line items ---- */
.wc-block-cart-items,
.wc-block-cart .wc-block-cart-items {
	width: 100%;
	border-collapse: separate !important;
	border-spacing: 0 14px !important;
}
.wc-block-cart-items__header {
	font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--muted-2); border: 0;
}
.wc-block-cart-items__row {
	overflow: hidden;
	border: 1px solid var(--line) !important;
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 16px 46px -42px rgba(22, 34, 74, 0.58);
}
.wc-block-cart-items__row td {
	border-top: 1px solid var(--line) !important;
	border-bottom: 1px solid var(--line) !important;
	padding-top: 18px !important;
	padding-bottom: 18px !important;
	background: #fff;
}
.wc-block-cart-items__row td:first-child {
	border-left: 1px solid var(--line) !important;
	border-radius: var(--radius-lg) 0 0 var(--radius-lg);
	padding-left: 18px !important;
}
.wc-block-cart-items__row td:last-child {
	border-right: 1px solid var(--line) !important;
	border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
	padding-right: 18px !important;
}
.wc-block-cart-item__image img { border-radius: 12px; background: var(--bg); }
.wc-block-cart-item__remove-link { color: var(--muted-2) !important; font-size: 12px; }
.wc-block-cart-item__remove-link:hover { color: var(--ink) !important; }
.wc-block-components-product-metadata {
	color: var(--muted);
	font-size: 13px;
}
.wc-block-components-product-details__name {
	color: var(--muted-2);
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.wc-block-components-product-details__value {
	color: var(--ink);
	font-size: 13px;
}
.wc-block-components-product-details__pack-size-savings .wc-block-components-product-details__value {
	color: var(--teal-ink);
	font-weight: 800;
}

/* ---- quantity steppers (cart + checkout) ---- */
.wc-block-components-quantity-selector {
	border: 1.5px solid var(--line);
	border-radius: var(--radius-pill);
	overflow: hidden;
	background: #fbfcfa;
}
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input {
	font-family: var(--font-mono);
	color: var(--ink);
	font-weight: 600;
	background: #fbfcfa !important;
	border: 0 !important;
	box-shadow: none !important;
}
.wc-block-components-quantity-selector__button {
	color: var(--ink);
	font-size: 18px;
	background: #fbfcfa !important;
	border: 0 !important;
	box-shadow: none !important;
}
.wc-block-components-quantity-selector__button:hover {
	color: var(--teal-ink);
	background: #eef6f3 !important;
}

/* ---- checkout: steps + form fields ---- */
.wc-block-components-checkout-step__title,
.wc-block-checkout__main h2 {
	font-family: var(--font-display); color: var(--ink); font-weight: 700;
}
.wc-block-components-text-input,
.wc-block-components-select,
.wc-block-components-combobox {
	border-radius: 12px;
}
.wc-block-components-text-input input.input-text,
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-address-form input,
.wc-block-components-combobox input,
.wc-block-components-select select,
.wc-block-components-select .components-form-token-field__input {
	border: 1.5px solid var(--line) !important;
	border-radius: 12px !important;
	font-family: var(--font-body);
	color: var(--ink);
	background: #fff;
}
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input input:focus,
.wc-block-components-combobox.is-active,
.wc-block-components-select select:focus {
	border-color: var(--teal) !important;
	box-shadow: 0 0 0 3px rgba(77, 183, 162, 0.18) !important;
	outline: none;
}
.wc-block-components-text-input label,
.wc-block-components-combobox label { color: var(--muted-2); }
.wc-block-components-text-input.is-active label { color: var(--teal-ink); }
.wc-block-components-checkout-step {
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: 0 16px 46px -42px rgba(22, 34, 74, 0.58);
}
.wc-block-components-checkout-step + .wc-block-components-checkout-step {
	margin-top: 16px;
}
.wc-block-components-checkout-step__container::after,
.wc-block-components-checkout-step::after {
	border-color: transparent !important;
}
.wc-block-components-checkout-step__heading {
	margin-bottom: 18px;
}

/* the "no payment methods" / notice banners */
.wc-block-components-validation-error,
.wc-block-store-notice.is-error,
.wc-block-components-notice-banner.is-error {
	border-radius: var(--radius); border-color: rgba(199, 60, 60, 0.4);
}

/* ---- checkout order summary line items ---- */
.wc-block-components-order-summary-item__image img { border-radius: 10px; }
.wc-block-components-order-summary-item__quantity {
	background: var(--navy) !important; color: #fff !important; font-family: var(--font-mono);
}
.wc-block-components-order-summary-item__total-price { color: var(--ink); font-weight: 600; }

/* ---- primary submit buttons: full width, pill, brand teal ---- */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	width: 100%;
	background: var(--teal) !important; color: #fff !important;
	border-radius: var(--radius-pill) !important;
	padding: 17px 28px !important;
	font-family: var(--font-body); font-weight: 600; font-size: 16px;
	text-decoration: none !important;
	transition: background 0.15s ease;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background: var(--teal-deep) !important; }

/* ---- empty cart ---- */
.wc-block-cart__empty-cart__title { font-family: var(--font-display); color: var(--ink); }

@media (max-width: 900px) {
	.woocommerce-cart .entry-header,
	.woocommerce-checkout .entry-header {
		display: block;
	}
	.woocommerce-cart .entry-header::after,
	.woocommerce-checkout .entry-header::after {
		margin-top: 14px;
	}
	.wc-block-cart .wc-block-cart__sidebar,
	.wc-block-checkout .wc-block-checkout__sidebar {
		position: static;
		margin-top: 24px;
	}
	.wc-block-components-sidebar-layout.wc-block-cart.is-large,
	.wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		grid-template-columns: 1fr;
	}
	.wc-block-components-checkout-step {
		padding: 18px;
	}
}

@media (max-width: 680px) {
	.woocommerce-cart,
	.woocommerce-checkout {
		overflow-x: hidden;
	}
	.woocommerce-cart .content-narrow,
	.woocommerce-checkout .content-narrow {
		padding-inline: 16px;
	}
	.wc-block-cart-items,
	.wc-block-cart .wc-block-cart-items {
		display: block;
		width: 100% !important;
		border-spacing: 0 12px !important;
	}
	.wc-block-cart-items thead,
	.wc-block-cart-items__header {
		display: none !important;
	}
	.wc-block-cart-items tbody {
		display: grid;
		gap: 12px;
		width: 100%;
	}
	.wc-block-cart-items__row {
		display: block !important;
		padding: 16px;
		width: 100%;
	}
	.wc-block-cart-items__row td {
		display: block;
		width: 100% !important;
		border: 0 !important;
		padding: 0 !important;
	}
	.wc-block-cart-items__row td:first-child,
	.wc-block-cart-items__row td:last-child {
		border: 0 !important;
		border-radius: 0;
		padding: 0 !important;
	}
	.wc-block-cart-item__image {
		display: none !important;
	}
	.wc-block-cart-item__product {
		width: 100% !important;
		min-width: 0;
		max-width: 100% !important;
	}
	.wc-block-cart-item__total {
		display: none !important;
	}
	.wc-block-cart-item__wrap,
	.wc-block-components-product-name,
	.wc-block-components-product-metadata,
	.wc-block-components-product-details,
	.wc-block-components-product-details > span {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
		white-space: normal !important;
	}
	.wc-block-components-product-name {
		display: block;
		line-height: 1.25;
	}
	.wc-block-components-product-details {
		display: grid;
		gap: 4px;
	}
	.wc-block-components-product-details span[aria-hidden="true"] {
		display: none;
	}
	.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-components-totals-wrapper,
	.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-cart__payment-options {
		padding-left: 18px;
		padding-right: 18px;
	}
	.wc-block-cart__sidebar.wc-block-components-sidebar {
		max-width: 100%;
	}
	.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-components-totals-footer-item {
		padding: 18px;
	}
	.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-components-totals-item,
	.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item {
		display: grid;
		grid-template-columns: 1fr;
		gap: 6px;
		align-items: start;
	}
	.wc-block-cart__sidebar.wc-block-components-sidebar .wc-block-components-totals-item__value {
		justify-self: start;
	}
	.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
		font-size: 22px;
	}
}

/* Premium checkout refinements over Woo Blocks defaults. */
.woocommerce-ordering {
	position: relative;
	display: inline-flex;
}
.woocommerce-ordering::after,
.wc-block-components-select::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	pointer-events: none;
	transform: translateY(-64%) rotate(45deg);
}
.wc-blocks-components-select {
	position: relative;
}
.wc-blocks-components-select::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	pointer-events: none;
	transform: translateY(-64%) rotate(45deg);
	z-index: 2;
}
.woocommerce-ordering select,
.shop-head__sort select,
.woocommerce-checkout select,
.woocommerce-cart select,
.wc-block-components-select select,
.wc-blocks-components-select__select,
.wc-block-components-combobox input,
.wc-block-components-text-input input.input-text,
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-address-form input {
	min-height: 48px;
	border: 1px solid rgba(22, 34, 74, 0.16) !important;
	border-radius: 10px !important;
	background-color: #fff !important;
	box-shadow: 0 10px 24px -28px rgba(22, 34, 74, 0.4);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
}
.woocommerce-ordering select,
.shop-head__sort select,
.woocommerce-checkout select,
.woocommerce-cart select,
.wc-block-components-select select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: 0 42px 0 16px !important;
	background-image: none !important;
}
.woocommerce-checkout .wc-blocks-components-select__select,
.wc-blocks-components-select__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	height: 50px !important;
	padding: 18px 42px 6px 14px !important;
	line-height: 1.2 !important;
	background: #fff !important;
	background-image: none !important;
}
.wc-blocks-components-select__expand {
	display: none !important;
}
.woocommerce-checkout .wc-blocks-components-select__label,
.wc-blocks-components-select__label {
	top: 8px !important;
	left: 14px !important;
	color: var(--muted-2) !important;
	font-size: 11px !important;
	font-weight: 700;
	line-height: 1 !important;
}
.woocommerce-ordering select:focus,
.shop-head__sort select:focus,
.woocommerce-checkout select:focus,
.woocommerce-cart select:focus,
.wc-block-components-select select:focus,
.wc-blocks-components-select__select:focus,
.wc-block-components-combobox input:focus,
.wc-block-components-text-input input:focus,
.wc-block-components-address-form input:focus {
	border-color: rgba(77, 183, 162, 0.7) !important;
	box-shadow: 0 0 0 3px rgba(77, 183, 162, 0.14), 0 10px 24px -28px rgba(22, 34, 74, 0.4) !important;
	outline: 0 !important;
}
.wc-block-components-checkout-step {
	border-color: rgba(22, 34, 74, 0.1);
	box-shadow: 0 18px 46px -44px rgba(22, 34, 74, 0.42);
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control {
	display: grid;
	gap: 0;
	border: 1px solid rgba(22, 34, 74, 0.14) !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: 0 16px 38px -38px rgba(22, 34, 74, 0.44);
	overflow: hidden;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option {
	overflow: visible;
	border: 0 !important;
	border-radius: 0 !important;
	background: #fff;
	box-shadow: none;
	transition: background 0.16s ease;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option {
	border-top: 1px solid rgba(22, 34, 74, 0.12) !important;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	background: rgba(77, 183, 162, 0.025);
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option {
	margin: 0 !important;
	padding: 15px 16px 15px 48px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent;
	box-shadow: none;
	min-height: 52px;
	transition: background 0.16s ease, color 0.16s ease;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option-checked,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option:has(input:checked) {
	background: rgba(77, 183, 162, 0.025);
	box-shadow: none;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__input {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box;
	left: 17px !important;
	top: 17px !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	border: 1.5px solid rgba(22, 34, 74, 0.28) !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__input:checked {
	border-color: var(--teal) !important;
	background: radial-gradient(circle at center, var(--teal) 0 4px, #fff 4.5px) !important;
	box-shadow: none !important;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__input:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(77, 183, 162, 0.18) !important;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__label,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-payment-method-label {
	color: var(--ink);
	font-weight: 800;
}
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__description,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control-accordion-content {
	margin: 0 !important;
	padding: 0 18px 18px 46px !important;
	border: 0 !important;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
	background: transparent;
	box-shadow: none;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) auto;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item:last-child {
	border-bottom: 0;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
	width: 58px;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__description {
	min-width: 0;
}
.wc-block-checkout__sidebar .wc-block-components-product-name {
	display: block;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
}
.wc-block-checkout__sidebar .wc-block-components-product-metadata__description,
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__description > p {
	display: none !important;
}
.wc-block-checkout__sidebar .wc-block-components-product-metadata {
	margin-top: 7px;
	font-size: 11px;
	line-height: 1.35;
}
.wc-block-checkout__sidebar .wc-block-components-product-details {
	display: grid;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price {
	white-space: nowrap;
	font-size: 14px;
	font-weight: 800;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input {
	border-color: rgba(22, 34, 74, 0.2) !important;
	border-radius: 6px !important;
	box-shadow: none !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
	background: var(--teal) !important;
	border-color: var(--teal) !important;
}

/* Final checkout field reset: Woo Blocks ships several wrapper/select variants,
   so keep every address/contact field on one compact system. */
.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-select,
.woocommerce-checkout .wc-block-components-combobox,
.woocommerce-checkout .wc-blocks-components-select {
	min-width: 0;
	border-radius: 8px !important;
}
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-text-input input.input-text,
.woocommerce-checkout .wc-block-components-address-form input,
.woocommerce-checkout .wc-block-components-combobox input,
.woocommerce-checkout .wc-block-components-select select,
.woocommerce-checkout .wc-blocks-components-select__select {
	width: 100%;
	height: 48px !important;
	min-height: 48px !important;
	border: 1px solid rgba(22, 34, 74, 0.16) !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: 0 8px 22px -28px rgba(22, 34, 74, 0.42) !important;
	color: var(--ink) !important;
	font-family: var(--font-body) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
}
.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-address-form input,
.woocommerce-checkout .wc-block-components-combobox input {
	padding: 18px 14px 6px !important;
}
.woocommerce-checkout .wc-blocks-components-select__select,
.woocommerce-checkout .wc-block-components-select select {
	padding: 18px 42px 6px 14px !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox label,
.woocommerce-checkout .wc-blocks-components-select__label {
	top: 7px !important;
	left: 14px !important;
	max-width: calc(100% - 28px);
	color: var(--muted-2) !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox label {
	transform: none !important;
}
.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-address-form input:focus,
.woocommerce-checkout .wc-block-components-combobox input:focus,
.woocommerce-checkout .wc-block-components-select select:focus,
.woocommerce-checkout .wc-blocks-components-select__select:focus {
	border-color: rgba(77, 183, 162, 0.72) !important;
	box-shadow: 0 0 0 3px rgba(77, 183, 162, 0.13), 0 8px 22px -28px rgba(22, 34, 74, 0.42) !important;
	outline: 0 !important;
}

/* Final checkout control polish: radios, checkboxes, and notes. */
body.woocommerce-checkout input[type="radio"],
body.woocommerce-checkout .wc-block-components-radio-control__input[type="radio"],
body.woocommerce-checkout .wc-block-components-radio-control__input {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box;
	position: relative;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	margin: 0 !important;
	border: 1px solid rgba(28,36,75,0.22) !important;
	border-radius: 999px !important;
	background:
		radial-gradient(circle at center, transparent 0 5px, transparent 5.5px),
		linear-gradient(#fff,#fff) !important;
	box-shadow: inset 0 0 0 5px #fff, 0 6px 16px -13px rgba(22,34,74,0.7) !important;
	outline: 0 !important;
	opacity: 1 !important;
	accent-color: var(--teal);
	cursor: pointer;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
body.woocommerce-checkout .wc-block-components-radio-control__input::before,
body.woocommerce-checkout .wc-block-components-radio-control__input::after {
	content: none !important;
	display: none !important;
}
body.woocommerce-checkout .wc-block-components-radio-control__input {
	position: absolute !important;
	left: 18px !important;
	top: 19px !important;
}
body.woocommerce-checkout input[type="radio"]:checked,
body.woocommerce-checkout .wc-block-components-radio-control__input[type="radio"]:checked,
body.woocommerce-checkout .wc-block-components-radio-control__input:checked {
	border-color: var(--teal) !important;
	background:
		radial-gradient(circle at center, var(--teal) 0 5px, transparent 5.5px),
		linear-gradient(#fff,#fff) !important;
	box-shadow: inset 0 0 0 5px #fff, 0 0 0 4px rgba(77,183,162,0.14) !important;
}
body.woocommerce-checkout input[type="radio"]:focus-visible,
body.woocommerce-checkout .wc-block-components-radio-control__input:focus-visible {
	box-shadow: inset 0 0 0 5px #fff, 0 0 0 4px rgba(77,183,162,0.2) !important;
}
body.woocommerce-checkout .wc-block-components-radio-control,
body.woocommerce-checkout #payment ul.payment_methods {
	border: 1px solid rgba(22,34,74,0.10) !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-shadow: 0 18px 48px -42px rgba(22,34,74,0.56) !important;
	overflow: hidden;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout #payment ul.payment_methods li {
	border: 0 !important;
	background: #fff !important;
}
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout #payment ul.payment_methods li + li {
	border-top: 1px solid rgba(22,34,74,0.09) !important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout #payment ul.payment_methods li label {
	min-height: 58px;
	display: flex !important;
	align-items: center;
	gap: 12px;
	color: var(--ink) !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option {
	padding: 16px 18px 16px 52px !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label {
	padding: 16px 18px !important;
}
body.woocommerce-checkout .wc-block-components-radio-control__option:has(input:checked),
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	background: linear-gradient(90deg, rgba(77,183,162,0.08), rgba(77,183,162,0.025)) !important;
}
body.woocommerce-checkout .wc-block-components-radio-control__description,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
body.woocommerce-checkout #payment div.payment_box {
	margin: 0 !important;
	padding: 0 18px 18px 50px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--muted) !important;
	font-size: 13px !important;
	line-height: 1.55 !important;
}
body.woocommerce-checkout .wc-block-components-radio-control__description::before,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-content::before,
body.woocommerce-checkout #payment div.payment_box::before {
	display: none !important;
}
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout .wc-block-components-checkbox__input {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	border: 1px solid rgba(28,36,75,0.22) !important;
	border-radius: 7px !important;
	background-color: #fff !important;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 14px 14px;
	box-shadow: 0 6px 16px -13px rgba(22,34,74,0.7) !important;
	outline: 0 !important;
	cursor: pointer;
	transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
body.woocommerce-checkout input[type="checkbox"]:checked,
body.woocommerce-checkout .wc-block-components-checkbox__input:checked {
	border-color: var(--teal) !important;
	background-color: var(--teal) !important;
	background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2016%2016%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M3.4%208.2l2.7%202.7%206.5-6.8%27%20fill%3D%27none%27%20stroke%3D%27white%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E") !important;
	box-shadow: 0 0 0 4px rgba(77,183,162,0.14) !important;
}
body.woocommerce-checkout textarea,
body.woocommerce-checkout textarea.input-text,
body.woocommerce-checkout #order_comments,
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-checkout__add-note textarea {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 100%;
	min-height: 112px;
	padding: 15px 16px !important;
	border: 1px solid rgba(22,34,74,0.14) !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-shadow: 0 12px 30px -34px rgba(22,34,74,0.58) !important;
	color: var(--ink) !important;
	font-family: var(--font-body) !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	resize: vertical;
	outline: 0 !important;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout textarea.input-text:focus,
body.woocommerce-checkout #order_comments:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-checkout__add-note textarea:focus {
	border-color: rgba(77,183,162,0.72) !important;
	box-shadow: 0 0 0 3px rgba(77,183,162,0.13), 0 12px 30px -34px rgba(22,34,74,0.58) !important;
	outline: 0 !important;
}
@media (max-width: 680px) {
	body.woocommerce-checkout .wc-block-components-radio-control__option {
		min-height: 54px;
		padding: 14px 15px 14px 49px !important;
	}
	body.woocommerce-checkout .wc-block-components-radio-control__input {
		left: 16px !important;
		top: 17px !important;
	}
	body.woocommerce-checkout #payment ul.payment_methods li label {
		min-height: 54px;
		padding: 14px 15px !important;
	}
	body.woocommerce-checkout .wc-block-components-radio-control__description,
	body.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
	body.woocommerce-checkout #payment div.payment_box {
		padding: 0 15px 16px 47px !important;
	}
	body.woocommerce-checkout textarea,
	body.woocommerce-checkout #order_comments,
	body.woocommerce-checkout .wc-block-components-textarea,
	body.woocommerce-checkout .wc-block-components-textarea textarea,
	body.woocommerce-checkout .wc-block-checkout__add-note textarea {
		min-height: 104px;
		border-radius: 12px !important;
	}
}

/* ============================================================
   MY ACCOUNT — modern WooCommerce account dashboard
   ============================================================ */
.account-page-shell {
	padding-top: clamp(34px, 5vw, 70px);
	background:
		linear-gradient(180deg, rgba(127, 227, 203, 0.16), rgba(247, 248, 245, 0) 260px),
		var(--bg);
}
.account-container { max-width: 1120px; }
.account-page-shell .entry-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}
.account-page-shell .entry-header h1 {
	margin: 0;
	font-size: clamp(34px, 4.4vw, 58px);
}
.account-page-shell .entry-header::after {
	content: "Secure account area";
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 8px 14px;
	border: 1px solid rgba(47, 174, 147, 0.25);
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.7);
	color: var(--teal-ink);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.account-page-shell .entry-content {
	color: var(--ink);
	font-size: 16px;
	line-height: 1.6;
}
.account-page-shell .entry-content a:not(.btn):not(.button) {
	color: var(--teal-ink);
	text-decoration: none;
	font-weight: 600;
}
.account-page-shell .entry-content a:not(.btn):not(.button):hover { color: var(--navy); }
.account-page-shell .entry-content a.btn-teal,
.account-page-shell .entry-content a.btn-primary,
.account-page-shell .entry-content a.button,
.woocommerce-account .woocommerce a.button,
.woocommerce-account .woocommerce a.button.alt {
	color: #fff !important;
	text-decoration: none !important;
}
.account-page-shell .entry-content a.btn-teal:hover,
.account-page-shell .entry-content a.btn-primary:hover,
.account-page-shell .entry-content a.button:hover,
.woocommerce-account .woocommerce a.button:hover,
.woocommerce-account .woocommerce a.button.alt:hover {
	color: #fff !important;
}

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { content: none; display: none; }
.woocommerce-account .woocommerce > h2,
.woocommerce-account .woocommerce > form.login,
.woocommerce-account .woocommerce > form.register {
	grid-column: 1 / -1;
	justify-self: center;
	width: min(100%, 760px);
}
.woocommerce-account .woocommerce > h2 {
	margin: 0 0 -4px;
	text-align: center;
	font-size: clamp(26px, 3vw, 36px);
}
.woocommerce-account .woocommerce > .u-columns {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	position: sticky;
	top: calc(var(--header-h) + 20px);
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 10px;
	box-shadow: 0 18px 48px -34px rgba(22, 34, 74, 0.45);
	backdrop-filter: blur(10px);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 11px 14px;
	border-radius: 12px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: rgba(77, 183, 162, 0.1);
	color: var(--navy);
	transform: translateX(2px);
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	background: var(--navy);
	color: #fff !important;
	box-shadow: 0 12px 26px -18px rgba(22, 34, 74, 0.9);
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a:hover,
.account-page-shell .entry-content .woocommerce-MyAccount-navigation .is-active a,
.account-page-shell .entry-content .woocommerce-MyAccount-navigation .is-active a:hover {
	color: #fff !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(22px, 3vw, 34px);
	box-shadow: 0 18px 54px -40px rgba(22, 34, 74, 0.55);
}
.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
	margin: 0 0 20px;
	padding: 18px 20px;
	border: 1px solid rgba(77, 183, 162, 0.24);
	border-radius: var(--radius);
	background: rgba(127, 227, 203, 0.12);
	color: var(--muted);
}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content legend {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.12;
}
.woocommerce-account .woocommerce-MyAccount-content h2 {
	font-size: clamp(24px, 3vw, 34px);
	margin: 0 0 18px;
}
.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-size: 20px;
	margin: 22px 0 12px;
}
.woocommerce-account .woocommerce-MyAccount-content mark {
	background: var(--dose-ten-bg);
	color: var(--dose-ten-fg);
	border-radius: 8px;
	padding: 2px 7px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address,
.woocommerce-account .woocommerce-MyAccount-content .u-column1,
.woocommerce-account .woocommerce-MyAccount-content .u-column2 {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
	background: #fbfcfa;
}
.woocommerce-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.woocommerce-account .woocommerce-Address-title h3 { margin: 0; }
.woocommerce-account .woocommerce-Address address {
	color: var(--muted);
	font-style: normal;
	margin: 0;
}
.woocommerce-account table.shop_table {
	overflow: hidden;
	background: #fff;
	border-collapse: separate;
	border-spacing: 0;
}
.woocommerce-account table.shop_table th {
	background: #fbfcfa;
	color: var(--muted-2);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.woocommerce-account table.shop_table td,
.woocommerce-account table.shop_table th {
	padding: 15px 16px;
	border-color: var(--line);
}
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
	margin: 3px 0 3px 6px;
	padding: 10px 16px;
	font-size: 13px;
}
.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-account form.edit-account,
.woocommerce-account form.woocommerce-EditAccountForm {
	max-width: 760px;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: clamp(20px, 3vw, 30px);
	background: #fff;
	box-shadow: 0 18px 54px -42px rgba(22, 34, 74, 0.55);
}
.woocommerce-account .woocommerce-form-row,
.woocommerce-account .form-row {
	margin: 0 0 16px;
}
.woocommerce-account label {
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 7px;
}
.woocommerce-account .required { color: var(--teal-ink); }
.woocommerce-account input.input-text,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account textarea,
.woocommerce-account select {
	width: 100%;
	min-height: 48px;
	border: 1.5px solid var(--line);
	border-radius: 12px;
	background: #fff;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	padding: 12px 14px;
	box-shadow: none;
}
.woocommerce-account input.input-text:focus,
.woocommerce-account input[type="text"]:focus,
.woocommerce-account input[type="email"]:focus,
.woocommerce-account input[type="password"]:focus,
.woocommerce-account input[type="tel"]:focus,
.woocommerce-account textarea:focus,
.woocommerce-account select:focus {
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(77, 183, 162, 0.18);
	outline: none;
}
.woocommerce-account fieldset {
	margin: 24px 0 0;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fbfcfa;
}
.woocommerce-account fieldset legend {
	padding: 0 8px;
	font-size: 18px;
	font-weight: 700;
}
.woocommerce-account .password-input { display: block; width: 100%; }
.woocommerce-account .show-password-input {
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted-2);
}
.woocommerce-account .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 14px 14px 0;
	color: var(--muted);
	font-weight: 600;
}
.woocommerce-account .woocommerce-form-login__rememberme input {
	accent-color: var(--teal);
}
.woocommerce-account .woocommerce-LostPassword {
	margin: 14px 0 0;
	font-size: 14px;
}
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
	border: 1px solid var(--line);
	border-top: 4px solid var(--teal);
	border-radius: var(--radius);
	background: #fff;
	color: var(--muted);
	box-shadow: 0 10px 32px -26px rgba(22, 34, 74, 0.45);
}

@media (max-width: 900px) {
	.account-page-shell .entry-header {
		display: block;
	}
	.account-page-shell .entry-header::after {
		margin-top: 14px;
	}
	.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation {
		position: static;
		overflow-x: auto;
		padding: 8px;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 8px;
		min-width: max-content;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation a {
		min-height: 40px;
		white-space: nowrap;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
		transform: none;
	}
	.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
	.woocommerce-account .woocommerce > .u-columns {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.account-container { padding-inline: 16px; }
	.woocommerce-account .woocommerce-MyAccount-content {
		padding: 18px;
	}
	.woocommerce-account table.shop_table {
		border: 0;
	}
	.woocommerce-account table.shop_table td,
	.woocommerce-account table.shop_table th {
		padding: 12px;
	}
	.woocommerce-account form.login,
	.woocommerce-account form.register,
	.woocommerce-account form.edit-account,
	.woocommerce-account form.woocommerce-EditAccountForm {
		padding: 18px;
	}
}

/* Account refinements for endpoint-specific WooCommerce markup. */
.woocommerce-account .woocommerce-MyAccount-navigation {
	align-self: start;
}
.woocommerce-account .woocommerce-MyAccount-content {
	overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-content > *:last-child {
	margin-bottom: 0;
}
.woocommerce-account .clear {
	display: none;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:not(.account-empty-state) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--teal);
	border-top: 1px solid var(--line);
	border-radius: 14px;
	background: #fbfcfa;
	box-shadow: none;
	color: var(--muted);
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before {
	display: none;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button {
	margin-left: auto;
	flex: 0 0 auto;
}

.account-empty-state {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	min-height: 150px;
	margin: 0;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(135deg, rgba(127, 227, 203, 0.14), rgba(255, 255, 255, 0) 58%),
		#fbfcfa;
	box-shadow: 0 16px 44px -34px rgba(22, 34, 74, 0.45);
}
.account-empty-state__icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: rgba(77, 183, 162, 0.14);
	border: 1px solid rgba(77, 183, 162, 0.28);
	position: relative;
}
.account-empty-state__icon::before,
.account-empty-state__icon::after {
	content: "";
	position: absolute;
	left: 15px;
	right: 15px;
	height: 2px;
	border-radius: 2px;
	background: var(--teal-ink);
}
.account-empty-state__icon::before { top: 20px; box-shadow: 0 7px 0 rgba(31, 138, 116, 0.55); }
.account-empty-state__icon::after { top: 34px; opacity: 0.35; }
.account-empty-state__body h2 {
	margin: 2px 0 8px;
	font-size: clamp(24px, 3vw, 34px);
}
.account-empty-state__body p {
	margin: 0;
	color: var(--muted);
	max-width: 520px;
}
.account-empty-state__eyebrow {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--teal-ink) !important;
}

.account-section-intro {
	max-width: 680px;
	margin-bottom: 22px;
}
.account-section-intro__eyebrow {
	margin: 0 0 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--teal-ink);
}
.account-section-intro h2 {
	margin: 0 0 8px;
	font-size: clamp(26px, 3vw, 36px);
}
.account-section-intro p {
	margin: 0;
	color: var(--muted);
}
.account-dashboard {
	display: grid;
	gap: 22px;
}
.account-dashboard__hero {
	padding: clamp(24px, 4vw, 34px);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background:
		linear-gradient(135deg, rgba(127, 227, 203, 0.18), rgba(255, 255, 255, 0) 60%),
		#fbfcfa;
}
.account-dashboard__hero h2 {
	margin: 0 0 10px;
	font-size: clamp(30px, 4vw, 46px);
}
.account-dashboard__hero p:last-child {
	max-width: 620px;
	margin: 0;
	color: var(--muted);
}
.account-action-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.account-action-card {
	display: flex;
	flex-direction: column;
	min-height: 170px;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fbfcfa;
	color: var(--ink) !important;
	text-decoration: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.account-action-card:hover {
	border-color: rgba(77, 183, 162, 0.45);
	box-shadow: 0 18px 42px -34px rgba(22, 34, 74, 0.45);
	transform: translateY(-2px);
}
.account-action-card span {
	margin-bottom: auto;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--teal-ink);
}
.account-action-card strong {
	display: block;
	margin-top: 24px;
	font-family: var(--font-display);
	font-size: 22px;
	line-height: 1.05;
}
.account-action-card small {
	display: block;
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
}
.account-dashboard__footer {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.account-address-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.account-address-card,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address {
	float: none !important;
	width: auto !important;
	min-height: 240px;
	margin: 0 !important;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fbfcfa;
	display: flex;
	flex-direction: column;
	box-shadow: none;
}
.account-address-card.is-empty {
	background:
		linear-gradient(135deg, rgba(127, 227, 203, 0.12), rgba(255, 255, 255, 0) 62%),
		#fbfcfa;
}
.account-address-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
}
.account-address-card__type {
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.account-address-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	background: var(--navy);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
}
.account-address-card__action:hover {
	background: #283261;
	color: #fff !important;
}
.account-address-card h3 {
	margin: 0 0 14px;
	font-size: clamp(24px, 2.8vw, 34px);
	line-height: 1.05;
}
.account-address-card address {
	margin: auto 0 0;
	color: var(--muted);
	font-style: normal;
}

body.woocommerce-account .woocommerce form .form-row {
	float: none !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	width: auto !important;
}
body.woocommerce-account .woocommerce form .form-row label {
	display: block;
	margin: 0 0 7px;
	color: var(--ink);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
}
body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea,
body.woocommerce-account .woocommerce form .form-row select,
body.woocommerce-account .woocommerce form input.input-text,
body.woocommerce-account .woocommerce form textarea,
body.woocommerce-account .woocommerce form select {
	width: 100% !important;
	min-height: 50px;
	border: 1px solid rgba(22, 34, 74, 0.18) !important;
	border-radius: 13px !important;
	background: #fbfcfa !important;
	color: var(--ink) !important;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	padding: 13px 15px !important;
	box-shadow: none !important;
	outline: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
body.woocommerce-account .woocommerce form .form-row input.input-text:focus,
body.woocommerce-account .woocommerce form .form-row textarea:focus,
body.woocommerce-account .woocommerce form .form-row select:focus,
body.woocommerce-account .woocommerce form input.input-text:focus,
body.woocommerce-account .woocommerce form textarea:focus,
body.woocommerce-account .woocommerce form select:focus {
	border-color: var(--teal) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(77, 183, 162, 0.16) !important;
}
.woocommerce-account .woocommerce-EditAccountForm.edit-account,
.woocommerce-account form.woocommerce-EditAccountForm {
	max-width: none;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}
.woocommerce-account .woocommerce-EditAccountForm .form-row {
	margin: 0 !important;
}
.woocommerce-account .woocommerce-EditAccountForm .form-row-wide,
.woocommerce-account .woocommerce-EditAccountForm fieldset,
.woocommerce-account .woocommerce-EditAccountForm > p:last-of-type {
	grid-column: 1 / -1;
}
.woocommerce-account .woocommerce-EditAccountForm #account_display_name_description {
	display: block;
	margin-top: 7px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}
.woocommerce-account .woocommerce-EditAccountForm fieldset {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 10px 0 0;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fbfcfa;
}
.woocommerce-account .woocommerce-EditAccountForm fieldset .form-row {
	margin: 0 !important;
}
.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
	float: left;
	width: 100%;
	margin: 0 0 2px;
	padding: 0;
	font-size: 20px;
}
.woocommerce-account .woocommerce-EditAccountForm > p:last-of-type {
	margin: 2px 0 0 !important;
}

.woocommerce-account .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide,
.woocommerce-account .woocommerce-address-fields > p:last-child {
	grid-column: 1 / -1;
}
.woocommerce-account .select2-container .select2-selection--single {
	height: 50px;
	border: 1px solid rgba(22, 34, 74, 0.18);
	border-radius: 13px;
	background: #fbfcfa;
}
.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 50px;
	color: var(--ink);
	padding-left: 15px;
}
.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 50px;
	right: 10px;
}

@media (max-width: 900px) {
	.account-empty-state {
		grid-template-columns: 48px minmax(0, 1fr);
	}
	.account-empty-state .btn {
		grid-column: 1 / -1;
		justify-self: start;
	}
	.account-address-grid,
	.account-action-grid,
	.woocommerce-account .woocommerce-EditAccountForm.edit-account,
	.woocommerce-account form.woocommerce-EditAccountForm,
	.woocommerce-account .woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.account-empty-state {
		display: block;
		padding: 20px;
	}
	.account-empty-state__icon {
		margin-bottom: 16px;
	}
	.account-empty-state .btn {
		margin-top: 18px;
		width: 100%;
	}
	.account-address-card {
		min-height: 0;
		padding: 20px;
	}
}

/* ============================================================
   PAGINATION — shop archive, brand taxonomy, and blog
   (was inline in archive-product.php → only styled the shop)
   ============================================================ */
.shop-pagination, .woocommerce-pagination, .navigation.pagination {
	margin-top: 36px; display: flex; justify-content: center;
}
.navigation.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
/* The UL container: flex row, NO WooCommerce box border/overflow.
   !important beats .woocommerce nav.woocommerce-pagination ul (display:block + border). */
.shop-pagination ul.page-numbers,
.woocommerce-pagination ul.page-numbers,
.woocommerce nav.woocommerce-pagination ul {
	display: flex !important; flex-wrap: wrap; gap: 6px; justify-content: center;
	list-style: none; margin: 0; padding: 0;
	border: 0 !important; border-radius: 0 !important; overflow: visible !important;
}
/* LI: kill WooCommerce's border-right + float that produce the boxed, touching cells. */
.shop-pagination ul.page-numbers li,
.woocommerce-pagination ul.page-numbers li,
.woocommerce nav.woocommerce-pagination ul li {
	border: 0 !important; margin: 0 !important; padding: 0 !important; float: none !important; line-height: 1; overflow: visible;
}
/* The number / arrow cells. !important throughout to beat WooCommerce core. */
.shop-pagination .page-numbers a, .shop-pagination .page-numbers span,
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span,
.navigation.pagination .page-numbers {
	display: inline-flex !important; min-width: 38px !important; height: 38px !important; padding: 0 8px !important;
	align-items: center; justify-content: center;
	border: 1.5px solid var(--line) !important; border-radius: 10px !important;
	font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink) !important;
	background: #fff !important; text-decoration: none; line-height: 1; box-shadow: none !important;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.shop-pagination .page-numbers a:hover,
.woocommerce-pagination .page-numbers a:hover,
.navigation.pagination a.page-numbers:hover {
	border-color: var(--line-strong) !important; background: var(--bg) !important;
}
.shop-pagination .page-numbers .current,
.woocommerce-pagination .page-numbers .current,
.navigation.pagination .page-numbers.current {
	background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important;
}
/* the "…" gap marker is text, not a button */
.shop-pagination .page-numbers .dots,
.woocommerce-pagination .page-numbers .dots,
.navigation.pagination .page-numbers.dots {
	border-color: transparent !important; background: transparent !important; color: var(--muted-2) !important;
}

/* generic page shell */
.page-shell { padding: clamp(40px, 6vw, 80px) 0; }
.entry-header h1 { margin-bottom: 24px; }
.entry-content { font-size: 17px; line-height: 1.7; color: var(--muted); }
.entry-content h2, .entry-content h3 { color: var(--ink); margin: 1.4em 0 0.5em; }
.entry-content a:not(.btn):not(.button) { color: var(--teal-ink); text-decoration: underline; }
.entry-content a.btn-teal,
.entry-content a.btn-primary,
.entry-content a.button,
.entry-content .woocommerce a.button,
.entry-content .wc-forward.button {
	color: #fff !important;
	text-decoration: none !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	.product-grid, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.roster-grid { grid-template-columns: repeat(4, 1fr); }
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
	:root { --header-h: 60px; }
	.primary-nav { display: none; }
	.nav-actions { gap: 7px; }
	.nav-icon-link,
	.nav-cart {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
	}
	.burger { display: flex; }
	.split, .dose-band, .botm { grid-template-columns: 1fr; gap: 28px; }
	.site-footer .cols { grid-template-columns: 1fr 1fr; gap: 28px; }
	.site-footer .brand-col { grid-column: 1 / -1; }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
	.form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.cart-drawer__panel {
		width: 100vw;
		padding: 18px;
	}
	.cart-drawer__head h2 {
		font-size: 28px;
	}
	.product-grid, .woocommerce ul.products, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.roster-grid { grid-template-columns: repeat(2, 1fr); }
	.hero__shelf { grid-template-columns: repeat(2, 1fr); }
	.feature-grid, .blog-grid { grid-template-columns: 1fr; }
	.dose-ladder { gap: 5px; }
	.dose-rung { padding: 10px 5px; }
	.dose-rung__mg { font-size: 16px; }
	.index-row__name { font-size: 24px; }
	.site-footer .cols { grid-template-columns: 1fr; }
}
