/*
Theme Name: PuroVitalis Wholesale
Theme URI: https://purovitaliswholesale.com
Author: PuroVitalis / Borealis Pharma
Description: Custom, code-owned theme for the PuroVitalis B2B wholesale portal. Lean classic theme, no page builder, WooCommerce-ready.
Version: 0.13.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: purovitalis-wholesale
*/

/* =========================================================
   Design tokens — from Figma "Purovitalis rebranding 2026".
   Colors/type/radius mirror the Figma variables 1:1.
   Spacing is a normalized 4px scale (Figma has no spacing
   variables yet — see design review).
   ========================================================= */
:root {
	/* Colors */
	--pv-text: #000000;          /* text/text */
	--pv-accent: #ef7e3f;        /* text/secondary (orange) */
	--pv-inverse: #ffffff;       /* text/inverse */
	--pv-border: #e3ded4;        /* border/default */
	--pv-bg: #f8f7f3;            /* surface/background (cream) */
	--pv-surface: #ffffff;       /* card surface */
	--pv-text-muted: #564f78;    /* muted body text on light cards */

	/* Typography */
	--pv-font-heading: "Funnel Sans", system-ui, sans-serif;
	--pv-font-body: "Public Sans", system-ui, sans-serif;
	--pv-leading-tight: 1;       /* headings */
	--pv-leading: 1.35;          /* body */

	/* Spacing scale (normalized) */
	--pv-space-1: 4px;
	--pv-space-2: 8px;
	--pv-space-3: 12px;
	--pv-space-4: 16px;
	--pv-space-5: 24px;
	--pv-space-6: 32px;
	--pv-space-7: 40px;
	--pv-space-8: 48px;
	--pv-space-9: 64px;
	--pv-space-10: 96px;

	/* Radius */
	--pv-radius: 14px;           /* cards */
	--pv-radius-input: 8px;      /* inputs */
	--pv-radius-full: 99px;      /* radius/full — pills */

	/* Form */
	--pv-placeholder: #727272;

	/* Layout */
	--pv-content: 1120px;        /* 1440 − 2×160 margin */
	--pv-gutter: 24px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: var(--pv-font-body);
	font-size: 16px;
	line-height: var(--pv-leading);
	color: var(--pv-text);
	background: var(--pv-bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; } /* never force height:auto — it breaks SVGs sized by attributes (e.g. WC password toggle) */
a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pv-font-heading);
	font-weight: 700;
	line-height: var(--pv-leading-tight);
	margin: 0;
}

/* Type scale (Figma) */
.pv-h1 { font-family: var(--pv-font-heading); font-weight: 700; line-height: 1; font-size: clamp(2rem, 1.2rem + 3.2vw, 3rem); }        /* 32→48 */
.pv-h2 { font-family: var(--pv-font-heading); font-weight: 700; line-height: 1; font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.625rem); } /* 28→42 */
.pv-h3 { font-family: var(--pv-font-heading); font-weight: 700; line-height: 1; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }   /* 24→36 */
.pv-h4 { font-family: var(--pv-font-heading); font-weight: 700; line-height: 1; font-size: 1.375rem; }                                 /* 22 */
.pv-body-l { font-size: 1.25rem; line-height: 1.35; }   /* 20 */
.pv-body   { font-size: 1rem;    line-height: 1.35; }   /* 16 */
.pv-body-xs { font-size: 0.875rem; line-height: 1.35; } /* 14 */

/* Layout container */
.pv-container {
	width: 100%;
	max-width: calc(var(--pv-content) + (2 * var(--pv-gutter)));
	margin-inline: auto;
	padding-inline: var(--pv-gutter);
}

/* Section rhythm */
.pv-section { padding-block: var(--pv-space-10); }
.pv-section--tight { padding-block: var(--pv-space-8); }

/* Skip link */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
	left: var(--pv-space-4); top: var(--pv-space-4);
	background: #fff; padding: var(--pv-space-2) var(--pv-space-4); z-index: 1000;
}

/* =========================================================
   Buttons — "Masters Button"
   Primary = black fill / white text. Secondary = outline.
   ========================================================= */
.pv-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--pv-font-body); font-weight: 600; font-size: 1rem;
	line-height: 1; text-decoration: none; cursor: pointer;
	height: 52px; padding-inline: var(--pv-space-5);
	border: 1px solid var(--pv-text); border-radius: var(--pv-radius-full);
	transition: background-color .15s ease, color .15s ease;
	white-space: nowrap;
}
.pv-btn--primary { background: var(--pv-text); color: var(--pv-inverse); }
.pv-btn--primary:hover { background: #222; }
.pv-btn--secondary { background: transparent; color: var(--pv-text); }
.pv-btn--secondary:hover { background: var(--pv-text); color: var(--pv-inverse); }
.pv-btn--sm { height: auto; padding: var(--pv-space-3) var(--pv-space-5); font-size: 0.875rem; }
.pv-btn--block { width: 100%; }

/* On dark backgrounds the button roles invert (white fill / white outline). */
.is-on-dark .pv-btn--primary { background: var(--pv-inverse); color: var(--pv-text); border-color: var(--pv-inverse); }
.is-on-dark .pv-btn--primary:hover { background: #e9e6df; }
.is-on-dark .pv-btn--secondary { background: transparent; color: var(--pv-inverse); border-color: var(--pv-inverse); }
.is-on-dark .pv-btn--secondary:hover { background: var(--pv-inverse); color: var(--pv-text); }

/* =========================================================
   Announcement bar
   ========================================================= */
.announce { background: var(--pv-text); color: var(--pv-inverse); }
.announce__inner {
	position: relative;
	display: flex; align-items: center; justify-content: center;
	gap: var(--pv-space-4); padding-block: var(--pv-space-2);
}
.announce__text { margin: 0; font-weight: 800; font-size: 0.875rem; text-align: center; }
.announce__account { position: absolute; right: var(--pv-gutter); }
.announce__account a { color: var(--pv-inverse); text-decoration: none; font-weight: 600; font-size: 0.8125rem; }
.announce__account a:hover { text-decoration: underline; }

/* =========================================================
   Header
   ========================================================= */
.site-header { background: var(--pv-bg); }
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--pv-space-4); padding-block: var(--pv-space-3);
}
.site-header__logo { display: inline-flex; align-items: center; line-height: 0; }
.site-header__logo img,
.site-header__logo svg,
.site-header__logo .custom-logo { height: 40px; width: auto; max-width: 170px; }
.site-header__collapse {
	display: flex; align-items: center; gap: var(--pv-space-6);
	flex: 1; justify-content: space-between;
}
.main-nav__list {
	list-style: none; display: flex; gap: var(--pv-space-5);
	margin: 0; padding: 0; align-items: center;
}
.main-nav a {
	font-family: var(--pv-font-body); font-weight: 600; font-size: 0.875rem;
	text-decoration: none; color: var(--pv-text);
}
.main-nav a:hover { color: var(--pv-accent); }
.site-header__cta { display: flex; align-items: center; gap: var(--pv-space-4); }
.site-header__actions { display: flex; align-items: center; gap: var(--pv-space-3); }
.site-header__toggle {
	display: none; background: none; border: 0; cursor: pointer;
	padding: var(--pv-space-2); color: var(--pv-text);
}
.site-header__toggle svg { width: 26px; height: 26px; }

/* WooCommerce appends a "View cart" link after AJAX add-to-cart — the drawer
   opens instead, so hide it (removes the cramped orderlist link too). */
.added_to_cart.wc-forward { display: none !important; }

/* =========================================================
   Hero
   ========================================================= */
.hero__inner {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
	gap: var(--pv-space-9); align-items: center;
}
.hero__content { display: flex; flex-direction: column; gap: var(--pv-space-9); align-items: flex-start; }
.hero__text { display: flex; flex-direction: column; gap: var(--pv-space-7); }
.hero__copy { max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--pv-space-5); }
.hero__media {
	aspect-ratio: 430 / 500; border-radius: var(--pv-radius);
	background: var(--pv-border); overflow: hidden;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Trust strip / key wholesale benefits
   ========================================================= */
.trust-strip {
	background: var(--pv-surface);
	border: 3px solid var(--pv-accent);
	border-radius: var(--pv-radius);
	padding: 27px 22px;
	display: flex; align-items: center; justify-content: space-between;
	gap: var(--pv-space-5); flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: var(--pv-space-4); }
.trust-item__icon { width: 42px; height: 42px; flex-shrink: 0; }
.trust-item__icon img { width: 100%; height: 100%; }
.trust-item__text { display: flex; flex-direction: column; gap: var(--pv-space-1); }
.trust-item__title { font-weight: 800; font-size: 1rem; line-height: 1.35; }
.trust-item__sub { font-weight: 400; font-size: 0.75rem; line-height: 1.35; }

/* =========================================================
   Bento cards (reusable) + chip
   ========================================================= */
.bento-card {
	display: flex; flex-direction: column; align-items: flex-start;
	gap: var(--pv-space-4);
	padding: var(--pv-space-6) var(--pv-space-5);
	border-radius: var(--pv-radius);
	overflow: hidden;
}
.bento-card__text { display: flex; flex-direction: column; gap: var(--pv-space-5); }
.bento-card__title { margin: 0; }
.bento-card__body { margin: 0; }
.bento-chip {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 30px; padding: 0 var(--pv-space-6);
	background: var(--pv-surface); border: 1px solid var(--pv-accent);
	border-radius: var(--pv-radius-full);
	font-family: var(--pv-font-body); font-weight: 600; font-size: 0.75rem;
	color: var(--pv-accent); white-space: nowrap;
}

/* Bento card variants */
.bento-card--light { background: var(--pv-surface); border: 1px solid var(--pv-border); }
.bento-card--light .bento-card__body { color: var(--pv-text-muted); }
.bento-card--accent { background: var(--pv-accent); }
.bento-card--accent .bento-chip { border-color: var(--pv-inverse); }

/* Product-range bento grid */
.product-intro { color: var(--pv-text-muted); margin: 0 0 var(--pv-space-5); }
.product-grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1.5fr;
	gap: var(--pv-space-4); align-items: stretch;
}
.product-grid__media {
	border-radius: var(--pv-radius); overflow: hidden;
	background: #efece5; min-height: 260px;
}
.product-grid__media img { width: 100%; height: 100%; object-fit: cover; }
.product-grid__col { display: flex; flex-direction: column; gap: var(--pv-space-4); }
.product-grid__col .bento-card { flex: 1; }

/* =========================================================
   Confidence section (Quality you can show + image)
   ========================================================= */
.confidence__inner {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: var(--pv-space-9); align-items: center;
}
.confidence__media {
	aspect-ratio: 600 / 390; border-radius: var(--pv-radius);
	overflow: hidden; background: #efece5;
}
.confidence__media img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   Stats section (bento card + stat cards + image)
   ========================================================= */
.stats-grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1.5fr;
	gap: var(--pv-space-4); align-items: stretch;
}
.stats-col { display: flex; flex-direction: column; gap: var(--pv-space-4); }
.stats-col .stat-card { flex: 1; }
.stat-card {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; gap: var(--pv-space-4);
	padding: var(--pv-space-6) var(--pv-space-5); border-radius: var(--pv-radius);
}
.stat-card--accent { background: var(--pv-accent); }
.stat-card--light { background: var(--pv-surface); border: 1px solid var(--pv-border); }
.stat-card__value, .stat-card__label { margin: 0; width: 100%; }
.stats__media {
	border-radius: var(--pv-radius); overflow: hidden;
	background: #efece5; aspect-ratio: 4 / 3;
}
/* The products sit in the vertical centre; a landscape crop through the middle
   keeps them and trims BOTH the shirt (top) and the bottom-right AI watermark. */
.stats__media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

/* =========================================================
   Three steps
   ========================================================= */
.steps__head { margin-bottom: var(--pv-space-6); }
.steps__title { margin: 0; }
.steps-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--pv-space-4);
}

/* =========================================================
   Fulfilment (dark full-bleed band)
   ========================================================= */
.fulfilment { background: var(--pv-text); color: var(--pv-inverse); }
.fulfilment__inner {
	display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr);
	gap: var(--pv-space-10); align-items: center;
	padding-block: var(--pv-space-9);
}
.fulfilment__media {
	aspect-ratio: 500 / 380; border-radius: var(--pv-radius);
	overflow: hidden; background: #efece5;
}
.fulfilment__media img { width: 100%; height: 100%; object-fit: cover; }
.fulfilment__title { color: var(--pv-inverse); }
.fulfilment__body { max-width: 470px; margin: var(--pv-space-5) 0 0; color: var(--pv-inverse); }
.fulfilment__actions { display: flex; flex-wrap: wrap; gap: var(--pv-space-5); margin-top: var(--pv-space-6); }

/* =========================================================
   Final CTA
   ========================================================= */
.cta__inner {
	display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
	gap: var(--pv-space-9); align-items: center;
}
.cta__media {
	aspect-ratio: 430 / 380; border-radius: var(--pv-radius);
	overflow: hidden; background: #efece5;
}
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__title { margin: 0; }
.cta__body { max-width: 470px; margin: var(--pv-space-5) 0 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--pv-space-5); margin-top: var(--pv-space-6); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	background: var(--pv-text); color: var(--pv-inverse);
	padding-block: var(--pv-space-9);
}
.site-footer a { color: var(--pv-inverse); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__top {
	display: flex; flex-wrap: wrap; justify-content: space-between;
	gap: var(--pv-space-8);
}
.footer__brand { display: flex; flex-direction: column; gap: var(--pv-space-6); max-width: 246px; }
.footer__logo img { height: 48px; width: auto; }
.footer__address p { margin: 0; font-size: 0.875rem; line-height: 1.35; }
.footer__links { font-weight: 600; font-size: 0.875rem; }
.footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--pv-space-3); }
.footer__menu li { margin: 0; }
.footer__disclaimer { max-width: 260px; margin: 0; color: var(--pv-inverse); }
.footer__bottom {
	display: flex; flex-direction: column; align-items: center;
	gap: var(--pv-space-4); margin-top: var(--pv-space-9);
}
.footer__pay { display: flex; flex-wrap: wrap; gap: var(--pv-space-4); }
.footer__pay img { height: 24px; width: auto; }
.footer__copy { margin: 0; font-size: 1rem; text-align: center; }

/* =========================================================
   Page head (interior pages) + form card
   ========================================================= */
.page-head { text-align: center; padding-block: var(--pv-space-8) var(--pv-space-6); }
.page-head__title { margin: 0 0 var(--pv-space-4); }
.page-head__subtitle { margin: 0 auto; max-width: 640px; color: var(--pv-text-muted); }
.page-head--left { text-align: left; }
.page-head--left .page-head__subtitle { margin-inline: 0; }

/* =========================================================
   Orderlist
   ========================================================= */
.orderlist__notice {
	background: var(--pv-surface); border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius-input); padding: var(--pv-space-3) var(--pv-space-4);
	margin: 0 0 var(--pv-space-5); font-size: 0.9375rem;
}
.orderlist__notice a { color: var(--pv-accent); font-weight: 600; }
.orderlist__head { display: flex; justify-content: flex-end; align-items: center; margin-bottom: var(--pv-space-4); }
.orderlist__search input {
	min-height: 44px; min-width: 240px;
	background: var(--pv-surface); border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius-input); padding: 0 var(--pv-space-4);
	font: inherit; font-size: 0.9375rem; color: var(--pv-text);
}
.orderlist__search input:focus { outline: none; border-color: var(--pv-text); box-shadow: 0 0 0 3px rgba(0,0,0,0.08); }
.orderlist-table { width: 100%; border-collapse: collapse; }
.orderlist__row { border-bottom: 1px solid var(--pv-border); }
.orderlist__row > td { padding: var(--pv-space-4) var(--pv-space-3); vertical-align: middle; }
.orderlist__img { width: 88px; }
.orderlist__img img { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: #efece5; display: block; padding: 6px; box-sizing: border-box; }
.orderlist__name a { font-family: var(--pv-font-body); font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--pv-text); }
.orderlist__name a:hover { color: var(--pv-accent); }
.orderlist__pack { display: block; font-size: 0.8125rem; color: #8a857c; margin-top: 1px; }
.orderlist__price { font-weight: 700; white-space: nowrap; }
.orderlist__price del { opacity: 0.5; font-weight: 400; margin-right: var(--pv-space-1); }
.orderlist__qty { width: 1%; }
/* Quantity stepper (− input +) — reused for the wholesale step-of-6 quantities. */
.pv-stepper {
	display: inline-flex; align-items: center; background: var(--pv-surface);
	border: 1px solid var(--pv-border); border-radius: var(--pv-radius-input); overflow: hidden;
}
.pv-stepper__btn {
	flex: 0 0 auto; width: 40px; height: 44px; border: 0; background: none;
	font-size: 1.375rem; line-height: 1; color: var(--pv-text); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.pv-stepper__btn:hover { background: #efece5; }
.pv-stepper .qty {
	width: 40px; height: 44px; text-align: center; border: 0; background: none;
	border-left: 1px solid var(--pv-border); border-right: 1px solid var(--pv-border);
	font: inherit; font-weight: 600; color: var(--pv-text);
	appearance: textfield; -moz-appearance: textfield;
}
.pv-stepper .qty::-webkit-outer-spin-button,
.pv-stepper .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.orderlist__actions { text-align: right; white-space: nowrap; }
.orderlist__empty { padding: var(--pv-space-6); text-align: center; color: var(--pv-text-muted); }

@media (max-width: 720px) {
	.orderlist-table, .orderlist-table tbody, .orderlist__row, .orderlist__row > td { display: block; width: auto; }
	.orderlist__row {
		display: grid;
		grid-template-columns: 80px 96px minmax(0, 1fr);
		grid-template-areas:
			"img name    name"
			"img price   price"
			"img qty     actions";
		column-gap: var(--pv-space-3); row-gap: 2px;
		align-items: center; padding: var(--pv-space-5) 0;
	}
	.orderlist__img, .orderlist__name, .orderlist__price, .orderlist__qty, .orderlist__actions { padding: 0; }
	.orderlist__img { grid-area: img; align-self: center; width: 80px; }
	.orderlist__img a { display: block; width: 80px; height: 80px; }
	.orderlist__img img { width: 100%; height: 100%; object-fit: contain; }
	.orderlist__name { grid-area: name; align-self: end; }
	.orderlist__price { grid-area: price; align-self: start; }
	.orderlist__qty { grid-area: qty; align-self: center; width: auto; margin-top: var(--pv-space-2); }
	.orderlist__actions { grid-area: actions; align-self: center; text-align: right; margin-top: var(--pv-space-2); min-width: 0; }
	.orderlist__actions .pv-btn { width: 100%; min-width: 0; justify-content: center; padding-inline: var(--pv-space-4); }
	/* Compact the stepper so it + the button fit beside the 80px thumbnail on phones. */
	.orderlist__qty .pv-stepper__btn { width: 30px; }
	.orderlist__qty .pv-stepper .qty { width: 32px; }
}
.form-card {
	max-width: 720px; margin: 0 auto var(--pv-space-10);
	background: var(--pv-surface); border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius); padding: var(--pv-space-8);
}

/* =========================================================
   Gravity Forms — styled to the Figma input design
   ========================================================= */
.gform_wrapper .gform_title { display: none; } /* we render our own page heading */
.gform_wrapper .gfield_label {
	font-family: var(--pv-font-body); font-weight: 600; font-size: 0.875rem;
	color: var(--pv-text); margin-bottom: var(--pv-space-1); display: block;
}
.gform_wrapper .gfield_required { color: var(--pv-accent); }
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper select,
.gform_wrapper textarea {
	width: 100%; min-height: 48px;
	background: var(--pv-surface);
	border: 1px solid var(--pv-border); border-radius: var(--pv-radius-input);
	padding: 14px 16px;
	font-family: var(--pv-font-body); font-size: 0.875rem; line-height: 1.35;
	color: var(--pv-text);
}
.gform_wrapper textarea { min-height: 120px; }
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder { color: var(--pv-placeholder); }
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
	outline: none; border-color: var(--pv-text); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.gform_wrapper .gfield { margin-bottom: var(--pv-space-5); }
.gform_wrapper .gfield_description { font-size: 0.8125rem; color: var(--pv-text-muted); }
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea { border-color: #c0392b; }
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message { color: #c0392b; font-size: 0.8125rem; }
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button,
.gform_wrapper .gform_page_footer input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--pv-text); color: var(--pv-inverse);
	border: 1px solid var(--pv-text); border-radius: var(--pv-radius-full);
	min-height: 52px; padding-inline: var(--pv-space-6);
	font-family: var(--pv-font-body); font-weight: 600; font-size: 1rem; cursor: pointer;
}
.gform_wrapper .gform_footer input[type="submit"]:hover { background: #222; }
.gform_confirmation_message { font-size: 1.125rem; }

/* =========================================================
   Auth pages (login / forgot password / thank you)
   ========================================================= */
.auth-head { text-align: center; padding-block: var(--pv-space-8) var(--pv-space-6); }
.auth-head__title { margin: 0 0 var(--pv-space-3); }
.auth-head__subtitle { margin: 0 auto; max-width: 540px; color: var(--pv-text-muted); }
.auth-card {
	max-width: 540px; margin: 0 auto var(--pv-space-10);
	background: var(--pv-surface); border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius); padding: var(--pv-space-8);
}
.auth-card--message { max-width: 640px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--pv-space-6); margin-top: var(--pv-space-8); }
.pv-auth-form { display: flex; flex-direction: column; gap: var(--pv-space-5); }
.pv-field { display: flex; flex-direction: column; gap: var(--pv-space-1); }
.pv-field > label { font-family: var(--pv-font-body); font-weight: 600; font-size: 0.875rem; }
.pv-req { color: var(--pv-accent); }
.pv-field input[type="text"], .pv-field input[type="email"], .pv-field input[type="password"] {
	width: 100%; min-height: 48px; background: var(--pv-surface);
	border: 1px solid var(--pv-border); border-radius: var(--pv-radius-input);
	padding: 14px 16px; font: inherit; font-size: 0.875rem; color: var(--pv-text);
}
.pv-field input:focus { outline: none; border-color: var(--pv-text); box-shadow: 0 0 0 3px rgba(0,0,0,0.08); }
.pv-field input::placeholder { color: var(--pv-placeholder); }
.pv-field__wrap { position: relative; }
.pv-field__wrap input { padding-right: 46px; }
.pv-pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; color: var(--pv-placeholder); padding: 6px; display: inline-flex; }
.pv-pass-toggle svg { width: 20px; height: 20px; }
.pv-field__link { align-self: flex-end; margin-top: var(--pv-space-1); font-weight: 600; font-size: 0.875rem; color: var(--pv-accent); text-decoration: none; }
.pv-field__link:hover { text-decoration: underline; }
.auth-divider { height: 1px; background: var(--pv-border); border: 0; margin: var(--pv-space-1) 0; }
.auth-alt { text-align: center; font-size: 0.875rem; color: var(--pv-text-muted); }
.auth-alt a { color: var(--pv-accent); font-weight: 600; text-decoration: none; }
.auth-alt a:hover { text-decoration: underline; }
.reg-login-link { margin: var(--pv-space-2) 0 0; font-size: 0.875rem; }
.reg-login-link a { color: var(--pv-accent); font-weight: 600; text-decoration: none; }

/* WooCommerce notices (login errors / reset confirmation) */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	list-style: none; margin: 0 0 var(--pv-space-4); padding: var(--pv-space-3) var(--pv-space-4);
	border-radius: var(--pv-radius-input); font-size: 0.875rem;
}
.woocommerce-error { background: #fdecea; color: #b02a1a; }
.woocommerce-message, .woocommerce-info { background: var(--pv-bg); border: 1px solid var(--pv-border); }
/* Remove WC's default ::before checkmark/icon that overlaps our notice text. */
.woocommerce-error::before, .woocommerce-message::before, .woocommerce-info::before { display: none; content: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { position: relative; }
.woocommerce-message .button, .woocommerce-error .button, .woocommerce-info .button { display: none; }

/* Baseline styling for WooCommerce's own forms (account, reset password) until
   the full custom My Account is built. */
.woocommerce form .form-row { margin-bottom: var(--pv-space-4); }
.woocommerce form .form-row label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: var(--pv-space-1); }
.woocommerce input.input-text,
.woocommerce input[type="text"], .woocommerce input[type="email"],
.woocommerce input[type="password"], .woocommerce input[type="tel"] {
	width: 100%; min-height: 48px; box-sizing: border-box;
	background: var(--pv-surface); border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius-input); padding: 12px 16px;
	font: inherit; font-size: 0.875rem; color: var(--pv-text);
}
.woocommerce input:focus { outline: none; border-color: var(--pv-text); box-shadow: 0 0 0 3px rgba(0,0,0,0.08); }
.woocommerce .password-input, .woocommerce .woocommerce-password-hint { display: block; }
.woocommerce .show-password-input, .woocommerce .wp-hide-pw { position: absolute; right: 12px; top: 12px; }
.woocommerce .show-password-input::after, .woocommerce button.wp-hide-pw .dashicons { font-size: 20px; }
.woocommerce form.woocommerce-form-login, .woocommerce form.woocommerce-ResetPassword,
.woocommerce .woocommerce-account .u-column1, .woocommerce-account form {
	max-width: 540px;
}
.woocommerce input.button, .woocommerce button.button, .woocommerce a.button {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--pv-text); color: var(--pv-inverse);
	border: 1px solid var(--pv-text); border-radius: var(--pv-radius-full);
	min-height: 48px; padding: 0 var(--pv-space-6);
	font-family: var(--pv-font-body); font-weight: 600; font-size: 0.9375rem; cursor: pointer;
	text-decoration: none;
}
.woocommerce input.button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: #222; }

/* =========================================================
   Interior section helpers (Liposomal Technology, etc.)
   ========================================================= */
.section-white { background: var(--pv-surface); }

/* Two-column media + text */
.lipo-hero__inner {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
	gap: var(--pv-space-10); align-items: center;
}
.lipo-hero__content { display: flex; flex-direction: column; gap: var(--pv-space-7); align-items: flex-start; }
.lipo-hero__text { display: flex; flex-direction: column; gap: var(--pv-space-5); }
.lipo-hero__actions, .center-cta__actions { display: flex; flex-wrap: wrap; gap: var(--pv-space-5); }
.lipo-hero__media { aspect-ratio: 1; border-radius: var(--pv-radius); overflow: hidden; background: #000; }
.lipo-hero__media img, .explainer__media img { width: 100%; height: 100%; object-fit: cover; }

.explainer__inner {
	display: grid; grid-template-columns: minmax(0, 550px) minmax(0, 1fr);
	gap: var(--pv-space-10); align-items: center;
}
.explainer__media { aspect-ratio: 1; border-radius: var(--pv-radius); overflow: hidden; background: #efece5; }
.explainer__content { display: flex; flex-direction: column; gap: var(--pv-space-6); }
.explainer__body p { margin: 0 0 var(--pv-space-4); }
.explainer__body p:last-child { margin-bottom: 0; }

/* Centered section head */
.section-head {
	text-align: center; max-width: 720px; margin: 0 auto var(--pv-space-8);
	display: flex; flex-direction: column; gap: var(--pv-space-4); align-items: center;
}
.section-head__subtitle { color: var(--pv-text-muted); font-weight: 600; margin: 0; }

/* Quote (dark) */
.quote { background: var(--pv-text); color: var(--pv-inverse); text-align: center; }
.quote__inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--pv-space-7); align-items: center; }
.quote__text { margin: 0; }
.quote__author { margin: 0; font-weight: 800; }

/* Liposomal range (product pills) */
.range { text-align: center; }
.range__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--pv-space-5); align-items: center; }
.range__pills { display: flex; flex-wrap: wrap; gap: var(--pv-space-3); justify-content: center; }
.range__pill {
	display: inline-flex; align-items: center;
	padding: var(--pv-space-2) var(--pv-space-4);
	border: 1px solid var(--pv-border); border-radius: var(--pv-radius-full);
	background: var(--pv-surface); color: var(--pv-text);
	font-family: var(--pv-font-body); font-weight: 600; font-size: 0.875rem; text-decoration: none;
}
.range__pill:hover { border-color: var(--pv-text); }

/* Centered CTA */
.center-cta { text-align: center; }
.center-cta__inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--pv-space-5); align-items: center; }
.center-cta__actions { justify-content: center; margin-top: var(--pv-space-3); }

/* =========================================================
   Cart drawer + header cart toggle
   ========================================================= */
.pv-cart-toggle, .pv-cart-link { position: relative; display: inline-flex; align-items: center; background: none; border: 0; cursor: pointer; padding: var(--pv-space-2); color: var(--pv-text); text-decoration: none; }
.pv-cart-toggle svg, .pv-cart-link svg { width: 24px; height: 24px; }
.pv-cart-toggle__count {
	position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px;
	display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
	background: var(--pv-accent); color: #fff; border-radius: var(--pv-radius-full);
	font-size: 0.6875rem; font-weight: 700; line-height: 1;
}

body.pv-cart-open { overflow: hidden; }
.pv-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000; opacity: 0; transition: opacity 0.25s ease; }
.pv-cart-overlay.is-open { opacity: 1; }
.pv-cart {
	position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
	background: var(--pv-bg); z-index: 1001; display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.28s ease;
}
/* Shadow only while the drawer is on-screen — otherwise the off-screen drawer's
   left-cast shadow bleeds back into the page as a grey strip on every page. */
.pv-cart.is-open { transform: none; box-shadow: -8px 0 40px rgba(0, 0, 0, 0.14); }
.pv-cart__head { display: flex; align-items: center; justify-content: space-between; padding: var(--pv-space-4) var(--pv-space-5); border-bottom: 1px solid var(--pv-border); }
.pv-cart__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.25rem; }
.pv-cart__close { background: none; border: 0; font-size: 1.75rem; line-height: 1; cursor: pointer; color: var(--pv-text); }
.pv-cart__body { display: flex; flex-direction: column; flex: 1; min-height: 0; }

.pv-cart__bar { padding: var(--pv-space-4) var(--pv-space-5); border-bottom: 1px solid var(--pv-border); }
.pv-cart__bar-text { margin: 0 0 var(--pv-space-2); font-size: 0.875rem; font-weight: 600; }
.pv-cart__bar-track { height: 6px; background: var(--pv-border); border-radius: var(--pv-radius-full); overflow: hidden; }
.pv-cart__bar-fill { display: block; height: 100%; background: var(--pv-accent); border-radius: var(--pv-radius-full); transition: width 0.3s ease; }

.pv-cart__items { flex: 1; overflow-y: auto; padding: 0 var(--pv-space-5); }
.pv-cart__empty { padding: var(--pv-space-8) 0; text-align: center; color: var(--pv-text-muted); }
.pv-cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: var(--pv-space-3); padding: var(--pv-space-4) 0; border-bottom: 1px solid var(--pv-border); }
.pv-cart-item__img img { width: 64px; height: 64px; object-fit: contain; background: #efece5; border-radius: 8px; display: block; padding: 6px; box-sizing: border-box; }
.pv-cart-item__name { display: block; font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: var(--pv-text); }
.pv-cart-item__name:hover { color: var(--pv-accent); }
.pv-cart-item__pack { display: block; font-size: 0.8125rem; color: #8a857c; margin-top: 1px; }
.pv-cart-item__qty { display: inline-flex; align-items: center; margin-top: var(--pv-space-2); border: 1px solid var(--pv-border); border-radius: var(--pv-radius-input); overflow: hidden; }
.pv-cart-qty__btn { width: 32px; height: 32px; border: 0; background: var(--pv-surface); cursor: pointer; font-size: 1rem; line-height: 1; color: var(--pv-text); }
.pv-cart-qty__input { width: 44px; height: 32px; text-align: center; border: 0; border-inline: 1px solid var(--pv-border); font: inherit; -moz-appearance: textfield; }
.pv-cart-qty__input::-webkit-outer-spin-button, .pv-cart-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pv-cart-item__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.pv-cart-item__line { font-weight: 700; font-size: 0.875rem; white-space: nowrap; }
.pv-cart-item__remove { background: none; border: 0; cursor: pointer; font-size: 1.25rem; line-height: 1; color: var(--pv-text-muted); }
.pv-cart-item__remove:hover { color: #c0392b; }

.pv-cart__foot { padding: var(--pv-space-5); border-top: 1px solid var(--pv-border); display: flex; flex-direction: column; gap: var(--pv-space-3); }
.pv-cart__subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.0625rem; }
.pv-cart__continue { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--pv-text); text-decoration: underline; padding: var(--pv-space-2); }
.pv-btn.is-disabled { opacity: 0.4; pointer-events: none; }

/* =========================================================
   My Account (custom, WooCommerce)
   ========================================================= */
.woocommerce-account .site-main { padding-block: var(--pv-space-8) var(--pv-space-10); }
/* Neutralize WooCommerce's default My Account float layout (nav 35% / content 68.5%)
   — we lay the account out with CSS grid, so let both columns fill naturally. */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	width: auto; float: none; margin: 0;
}
.acct { display: grid; grid-template-columns: 280px 1fr; gap: var(--pv-space-9); }
.acct__side .greet { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.75rem; }
.acct__side .greet small { display: block; font-family: var(--pv-font-body); font-weight: 400; font-size: 0.9375rem; color: var(--pv-text-muted); margin-top: 6px; }
.snav { list-style: none; margin: var(--pv-space-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.snav li { margin: 0; }
.snav a { display: block; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 0.9375rem; color: var(--pv-text-muted); }
.snav a:hover { background: #efece5; color: var(--pv-text); }
.snav li.is-active a, .snav li.woocommerce-MyAccount-navigation-link--is-active a { background: #efece5; color: var(--pv-text); }
.acct__side .logout { margin-top: var(--pv-space-5); padding: 12px 16px; }
.acct__side .logout a { color: var(--pv-accent); font-weight: 600; text-decoration: none; font-size: 0.9375rem; }

.acct__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--pv-border); padding-bottom: var(--pv-space-4); margin-bottom: var(--pv-space-5); }
.acct__head h1 { font-family: var(--pv-font-heading); font-weight: 700; font-size: 2rem; margin: 0; }
.acct__head a { color: var(--pv-text-muted); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.acct-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pv-space-4); }
.acct-card { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-5); }
.acct-card h3 { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.25rem; margin: 0 0 6px; }
.acct-card p { color: var(--pv-text-muted); font-size: 0.9375rem; margin: 0; }
.acct-sect { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.375rem; margin: var(--pv-space-6) 0 var(--pv-space-3); }
.acct-actions { margin-top: var(--pv-space-4); display: flex; gap: 10px; flex-wrap: wrap; }
/* Reorder card: keep both buttons side by side (equal width) like the manager card */
.reorder .acct-actions { flex-wrap: nowrap; }
.reorder .acct-actions .pv-btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }
/* Quick-actions: equal-width, aligned buttons (2-up on desktop, 1-up on mobile). */
.acct-quick { margin-top: var(--pv-space-4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.acct-quick .pv-btn { width: 100%; justify-content: center; text-align: center; }

/* account-manager */
.am { display: flex; gap: var(--pv-space-4); align-items: center; }
.am__ava { width: 56px; height: 56px; border-radius: 50%; background: var(--pv-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.5rem; flex-shrink: 0; }
.am__name { font-weight: 700; font-size: 1.0625rem; }
.am__role { color: var(--pv-text-muted); font-size: 0.875rem; }
.reorder .money { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.5rem; margin: 4px 0 14px; }
.reorder .sub { font-size: 0.8125rem; color: var(--pv-text-muted); }

/* order card (list) */
.ord { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); overflow: hidden; margin-bottom: 12px; }
.ord__head { display: flex; align-items: center; gap: var(--pv-space-4); background: #faf9f6; border-bottom: 1px solid var(--pv-border); padding: 12px 20px; font-size: 0.875rem; }
.ord__num { font-weight: 700; }
.ord__track { margin-left: auto; }
.ord__track a { color: var(--pv-accent); font-weight: 600; text-decoration: none; }
.ord__body { display: flex; align-items: center; gap: var(--pv-space-4); padding: 18px 20px; }
.ord__thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: #efece5; flex-shrink: 0; padding: 5px; box-sizing: border-box; }
.ord__items { flex: 1; }
.ord__items b { font-weight: 700; }
.ord__items span { display: block; color: var(--pv-text-muted); font-size: 0.8125rem; margin-top: 2px; }
.ord__total { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.0625rem; white-space: nowrap; }
.ord__actions { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: var(--pv-radius-full); font-size: 0.75rem; font-weight: 600; }
.chip--ok { background: #e7f2ea; color: #1e7d4f; }
.chip--prog { background: #fdeede; color: #b8620b; }
.chip--pend { background: #f1eee6; color: #7a736a; }

/* filters */
.acct-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--pv-space-5); }
.acct-tab { padding: 7px 16px; border-radius: var(--pv-radius-full); border: 1px solid var(--pv-border); background: var(--pv-surface); font-size: 0.8125rem; font-weight: 600; color: var(--pv-text-muted); cursor: pointer; text-decoration: none; }
.acct-tab.is-active { background: var(--pv-text); color: var(--pv-inverse); border-color: var(--pv-text); }

/* order detail */
.od-back { display: inline-block; color: var(--pv-text-muted); text-decoration: none; font-weight: 600; font-size: 0.875rem; margin-bottom: 10px; }
.od { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); overflow: hidden; margin-bottom: var(--pv-space-4); }
.od__band { display: flex; align-items: center; gap: var(--pv-space-4); background: #faf9f6; border-bottom: 1px solid var(--pv-border); padding: 16px 24px; font-size: 0.9375rem; }
.od__band .chip { margin-left: auto; }
.od__track { padding: 16px 24px; display: flex; align-items: center; gap: var(--pv-space-4); border-bottom: 1px solid var(--pv-border); }
.od__track .tk { flex: 1; }
.od__track .tk b { font-weight: 700; }
.od__track .tk span { display: block; color: var(--pv-text-muted); font-size: 0.8125rem; margin-top: 2px; }
.od-line { display: flex; align-items: center; gap: var(--pv-space-4); padding: 16px 24px; border-bottom: 1px solid var(--pv-border); }
.od-line:last-child { border-bottom: 0; }
.od-line img { width: 52px; height: 52px; border-radius: 8px; object-fit: contain; background: #efece5; padding: 5px; box-sizing: border-box; }
.od-line__name { flex: 1; font-weight: 600; }
.od-line__name span { display: block; color: var(--pv-text-muted); font-size: 0.8125rem; font-weight: 400; margin-top: 2px; }
.od-line__qty { color: var(--pv-text-muted); font-size: 0.875rem; }
.od-line__tot { font-weight: 700; white-space: nowrap; min-width: 90px; text-align: right; }
.od-totals { padding: 16px 24px; }
.od-totals .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.9375rem; color: var(--pv-text-muted); }
.od-totals .row--grand { border-top: 1px solid var(--pv-border); margin-top: 8px; padding-top: 12px; font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.125rem; color: var(--pv-text); }
.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pv-space-4); }
.addr-card { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-5); }
.addr-card h4 { font-weight: 700; font-size: 0.9375rem; margin: 0 0 8px; }
.addr-card p { color: var(--pv-text-muted); font-size: 0.875rem; line-height: 1.5; margin: 0; }

/* Horizontal-scroll cue for the account nav + order filters.
   The wrapper is the positioning context; the right fade + orange chevron and the
   left fade are shown ONLY when JS (pvHScroll in main.js) detects real overflow
   (.can-scroll-right / .can-scroll-left). This never renders full-height and never
   appears when everything already fits or you're at the end of the scroll. */
.snav-wrap, .acct-filters-wrap, .coa-filters-wrap { position: relative; }
.snav-wrap::before, .snav-wrap::after,
.acct-filters-wrap::before, .acct-filters-wrap::after,
.coa-filters-wrap::before, .coa-filters-wrap::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 52px;
	pointer-events: none; opacity: 0; transition: opacity 0.15s ease; z-index: 2;
}
.snav-wrap::after, .acct-filters-wrap::after, .coa-filters-wrap::after {
	right: 0;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ef7e3f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") right 4px center / 18px no-repeat,
		linear-gradient(to right, rgba(248, 247, 243, 0), var(--pv-bg) 62%);
}
.snav-wrap::before, .acct-filters-wrap::before, .coa-filters-wrap::before {
	left: 0;
	background: linear-gradient(to left, rgba(248, 247, 243, 0), var(--pv-bg) 62%);
}
.snav-wrap.can-scroll-right::after, .acct-filters-wrap.can-scroll-right::after, .coa-filters-wrap.can-scroll-right::after,
.snav-wrap.can-scroll-left::before, .acct-filters-wrap.can-scroll-left::before, .coa-filters-wrap.can-scroll-left::before { opacity: 1; }

@media (max-width: 900px) {
	.acct { grid-template-columns: 1fr; gap: var(--pv-space-6); }
	/* Grid items default to min-width:auto, which lets a non-wrapping child
	   (e.g. an order-card row) blow the track out past the viewport. Allow them
	   to shrink so the account content never causes horizontal page scroll. */
	.acct__side, .acct__main { min-width: 0; }
	.acct-grid2, .addr-grid { grid-template-columns: 1fr; }

	/* Account nav → horizontal scroller (fade/chevron cue is JS-gated, see .can-scroll-*). */
	.snav {
		flex-direction: row; flex-wrap: nowrap; gap: 8px;
		margin-top: var(--pv-space-5);
		overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
		padding-right: 48px; /* keep the last item clear of the fade */
	}
	.snav::-webkit-scrollbar { display: none; }
	.snav a { white-space: nowrap; }
	.acct__side .logout { margin-top: var(--pv-space-4); }

	/* Order status filter → horizontal scroller (cue is JS-gated, see .can-scroll-*). */
	.acct-filters {
		flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
		scrollbar-width: none; padding-right: 48px;
	}
	.acct-filters::-webkit-scrollbar { display: none; }
	.acct-tab { white-space: nowrap; flex: 0 0 auto; }

	/* Quick-actions stack to a single full-width column. */
	.acct-quick { grid-template-columns: 1fr; }

	/* Let order-card / order-detail flex rows wrap instead of overflowing. */
	.ord__head, .od__band, .od-line, .ord__body { flex-wrap: wrap; }
	.ord__track, .od__band .chip { margin-left: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
	.site-header__toggle { display: inline-flex; }
	.site-header__collapse {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; justify-content: flex-start;
		gap: var(--pv-space-5);
		background: var(--pv-bg); border-top: 1px solid var(--pv-border);
		padding: var(--pv-space-5) var(--pv-gutter);
		display: none; z-index: 50;
	}
	.site-header { position: relative; }
	.site-header__collapse.is-open { display: flex; }
	.main-nav__list { flex-direction: column; align-items: flex-start; gap: var(--pv-space-4); }
	.site-header__cta { flex-direction: column; align-items: stretch; }

	.hero__inner { grid-template-columns: 1fr; gap: var(--pv-space-7); }
	.hero__content { gap: var(--pv-space-7); }
	.hero__media { order: -1; aspect-ratio: 343 / 400; }
	.hero__actions { flex-direction: column; align-self: stretch; }
	.hero__actions .pv-btn { width: 100%; }

	/* Design hides the trust strip on mobile. */
	.trust-strip { display: none; }

	.fulfilment__inner { grid-template-columns: 1fr; gap: var(--pv-space-7); }
	.fulfilment__actions { flex-direction: column; align-items: stretch; }
	.fulfilment__actions .pv-btn { width: 100%; }

	.confidence__inner { grid-template-columns: 1fr; gap: var(--pv-space-6); }
	.confidence__media { order: -1; }
	.confidence__card { padding-inline: 0; }

	.product-grid { grid-template-columns: 1fr; }
	.product-grid__media { aspect-ratio: 4 / 3; min-height: 0; }

	.stats-grid { grid-template-columns: 1fr; }
	.stats__media { aspect-ratio: 4 / 3; min-height: 0; }

	.cta__inner { grid-template-columns: 1fr; gap: var(--pv-space-6); }
	.cta__media { order: -1; aspect-ratio: 4 / 3; }
	.cta__actions { flex-direction: column; align-items: stretch; }
	.cta__actions .pv-btn { width: 100%; }

	.lipo-hero__inner, .explainer__inner { grid-template-columns: 1fr; gap: var(--pv-space-7); }
	.lipo-hero__media { order: -1; }
	.explainer__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
	.announce__inner { flex-direction: column; gap: var(--pv-space-2); }
	.announce__account { position: static; }
	.announce__text { font-size: 0.75rem; }
	/* Make the login/logout link read as a tappable control below the promo text. */
	.announce__account a {
		display: inline-block; padding: 4px 16px;
		border: 1px solid rgba(255, 255, 255, 0.45); border-radius: var(--pv-radius-full);
		font-size: 0.75rem;
	}
	.announce__account a:hover { text-decoration: none; background: rgba(255, 255, 255, 0.12); }
}

@media (max-width: 600px) {
	:root { --pv-gutter: 16px; }
	.pv-section { padding-block: var(--pv-space-8); }
	.form-card { padding: var(--pv-space-5); }
}

/* =========================================================
   Certificates of Analysis page (template-certificates.php)
   ========================================================= */
.section-head--center { text-align: center; max-width: 720px; margin-inline: auto; }

.coa-hero__inner { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: var(--pv-space-9); align-items: center; }
.coa-hero__content { max-width: 620px; }
.coa-hero__content .pv-body-l { margin-top: var(--pv-space-5); color: var(--pv-text-muted); }
.coa-hero__actions { display: flex; gap: var(--pv-space-4); flex-wrap: wrap; margin-top: var(--pv-space-7); }
.coa-hero__media { border-radius: var(--pv-radius); overflow: hidden; aspect-ratio: 43 / 50; background: #efece5; }
.coa-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Certifications grid */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pv-space-4); margin-top: var(--pv-space-6); }
.cert-card { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-5); }
.cert-card__icon { display: inline-flex; }
.cert-card__icon img { width: 32px; height: 32px; }
.cert-card__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.0625rem; margin: var(--pv-space-4) 0 var(--pv-space-2); }
.cert-card__body { color: var(--pv-text-muted); }

/* What a COA proves */
.coa-proves__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pv-space-9); align-items: start; }
.coa-proves__intro .pv-body { margin-top: var(--pv-space-4); }
.coa-proves__muted { color: var(--pv-text-muted); }
.coa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--pv-space-2); }
.coa-list__item { display: flex; gap: var(--pv-space-4); background: var(--pv-bg); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-4) var(--pv-space-5); }
.coa-list__num { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--pv-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; }
.coa-list__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1rem; margin: 2px 0 4px; }
.coa-list__body { color: var(--pv-text-muted); }

/* How a result becomes proof (dark) */
.coa-process { background: var(--pv-text); color: var(--pv-inverse); padding-block: var(--pv-space-10); }
.coa-process .section-head h2 { color: var(--pv-inverse); }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pv-space-4); margin-top: var(--pv-space-6); }
.proc-card { background: #1c1b1f; border: 1px solid #2b2930; border-radius: var(--pv-radius); padding: var(--pv-space-5); }
.proc-card__top { display: flex; align-items: center; justify-content: space-between; }
.proc-card__num { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.75rem; color: var(--pv-accent); }
.proc-card__icon { width: 24px; height: 24px; }
.proc-card__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.0625rem; color: var(--pv-inverse); margin: var(--pv-space-4) 0 var(--pv-space-2); }
.proc-card__body { color: #a5a1b8; font-size: 0.9375rem; line-height: 1.4; margin: 0; }

/* Latest lab results table */
.coa-filters-wrap { position: relative; margin-top: var(--pv-space-5); }
.coa-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.coa-chip { padding: 7px 16px; border-radius: var(--pv-radius-full); border: 1px solid var(--pv-border); background: var(--pv-surface); font: inherit; font-size: 0.8125rem; font-weight: 600; color: var(--pv-text-muted); cursor: pointer; white-space: nowrap; }
.coa-chip:hover { color: var(--pv-text); }
.coa-chip.is-active { background: var(--pv-accent); color: #fff; border-color: var(--pv-accent); }
.coa-table-card { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); margin-top: var(--pv-space-5); overflow: hidden; }
.coa-table { width: 100%; border-collapse: collapse; }
.coa-table thead th { text-align: left; background: var(--pv-bg); border-bottom: 1px solid var(--pv-border); padding: 14px 20px; font-size: 0.8125rem; font-weight: 700; color: var(--pv-text-muted); }
.coa-table thead .coa-table__action { text-align: right; }
.coa-row td { padding: 18px 20px; border-bottom: 1px solid var(--pv-border); vertical-align: middle; font-size: 0.9375rem; }
.coa-row:last-child td { border-bottom: 0; }
.coa-row__product { font-weight: 700; }
.coa-row__batch, .coa-row__date { color: var(--pv-text-muted); white-space: nowrap; }
.coa-row__scope { color: var(--pv-accent); font-weight: 800; font-size: 0.875rem; }
.coa-row__action { text-align: right; white-space: nowrap; }
.coa-row__soon { color: var(--pv-text-muted); font-size: 0.875rem; }
.coa-table__empty { padding: var(--pv-space-6); text-align: center; color: var(--pv-text-muted); margin: 0; }

/* European production */
.euro__inner { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: var(--pv-space-9); align-items: center; }
.euro__media { border-radius: var(--pv-radius); overflow: hidden; aspect-ratio: 520 / 460; background: #efece5; }
.euro__media img { width: 100%; height: 100%; object-fit: cover; }
.euro__content .pv-body { margin-top: var(--pv-space-4); color: var(--pv-text-muted); }
.euro-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pv-space-4); margin-top: var(--pv-space-6); }
.euro-card { background: var(--pv-bg); border: 1px solid var(--pv-border); border-radius: var(--pv-radius-input); padding: var(--pv-space-4) var(--pv-space-5); }
.euro-card__title { font-weight: 700; font-size: 0.9375rem; margin: 0 0 4px; }
.euro-card__body { color: var(--pv-text-muted); }
.euro-highlight { background: #493b6b; color: #fff; border-radius: var(--pv-radius); padding: var(--pv-space-5); margin-top: var(--pv-space-4); }
.euro-highlight__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.125rem; margin: 0 0 6px; }
.euro-highlight__body { color: #efece5; font-size: 0.9375rem; line-height: 1.45; margin: 0; }

/* Final CTA (dark, centered) */
.coa-cta { background: var(--pv-text); color: var(--pv-inverse); padding-block: var(--pv-space-10); }
.coa-cta__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.coa-cta__inner h2 { color: var(--pv-inverse); }
.coa-cta__body { color: #a5a1b8; margin: var(--pv-space-5) auto var(--pv-space-7); }
.coa-cta__actions { display: flex; gap: var(--pv-space-4); justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
	.coa-hero__inner { grid-template-columns: 1fr; }
	.coa-hero__media { order: -1; aspect-ratio: 16 / 10; }
	.cert-grid { grid-template-columns: 1fr 1fr; }
	.coa-proves__inner { grid-template-columns: 1fr; gap: var(--pv-space-6); }
	.proc-grid { grid-template-columns: 1fr 1fr; }
	.euro__inner { grid-template-columns: 1fr; gap: var(--pv-space-6); }
	.euro-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.cert-grid { grid-template-columns: 1fr; }
	.proc-grid { grid-template-columns: 1fr; }
	/* Filter chips → horizontal scroller */
	.coa-filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
	.coa-filters::-webkit-scrollbar { display: none; }
	.coa-chip { flex: 0 0 auto; }
	/* Results table → stacked cards */
	.coa-table thead { display: none; }
	.coa-table, .coa-table tbody, .coa-row, .coa-row td { display: block; width: auto; }
	.coa-row { padding: var(--pv-space-5); border-bottom: 1px solid var(--pv-border); }
	.coa-row:last-child { border-bottom: 0; }
	.coa-row td { border: 0; padding: 2px 0; }
	.coa-row__product { font-size: 1.0625rem; margin-bottom: 6px; }
	.coa-row__batch::before, .coa-row__date::before, .coa-row__scope::before { content: attr(data-label) ": "; color: var(--pv-text-muted); font-weight: 600; }
	.coa-row__action { text-align: left; margin-top: var(--pv-space-3); }
	.coa-row__action .pv-btn { width: 100%; justify-content: center; }
}

/* Account: schedule-a-meeting slide-in (Pipedrive scheduler) */
.pv-sched-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 1000; opacity: 0; transition: opacity 0.25s ease; }
.pv-sched-overlay.is-open { opacity: 1; }
.pv-sched {
	position: fixed; top: 0; right: 0; height: 100%; width: min(760px, 100%);
	background: #fff; z-index: 1001; display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.28s ease;
}
.pv-sched.is-open { transform: none; box-shadow: -8px 0 40px rgba(0, 0, 0, 0.14); }
.pv-sched__head { display: flex; align-items: center; justify-content: space-between; padding: var(--pv-space-4) var(--pv-space-5); border-bottom: 1px solid var(--pv-border); }
.pv-sched__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.25rem; }
.pv-sched__close { background: none; border: 0; font-size: 1.75rem; line-height: 1; cursor: pointer; color: var(--pv-text); padding: 0 4px; }
.pv-sched__body { flex: 1; min-height: 0; background: var(--pv-bg); }
.pv-sched__iframe { width: 100%; height: 100%; border: 0; display: block; }
body.pv-sched-open { overflow: hidden; }

/* =========================================================
   Shop / product archive (archive-product.php + content-product.php)
   ========================================================= */
.shop-head { margin-bottom: var(--pv-space-6); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--pv-space-4); flex-wrap: wrap; margin-bottom: var(--pv-space-6); }
.shop-toolbar .woocommerce-result-count { margin: 0; color: var(--pv-text-muted); font-size: 0.875rem; }
.shop-toolbar .woocommerce-ordering { margin: 0; }
.shop-toolbar select, .woocommerce-ordering select {
	height: 40px; padding: 0 var(--pv-space-5) 0 var(--pv-space-4); border: 1px solid var(--pv-border);
	border-radius: var(--pv-radius-full); background: var(--pv-surface); font: inherit; font-size: 0.875rem;
	color: var(--pv-text); cursor: pointer; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}

/* Product grid */
.site-main ul.products {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pv-space-7) var(--pv-space-5);
}
.site-main ul.products::before, .site-main ul.products::after { content: none; display: none; } /* clear WC clearfix */

/* Product card */
.shop-card { margin: 0 !important; width: auto !important; float: none !important; display: flex; flex-direction: column; }
.shop-card__media {
	position: relative; display: block; aspect-ratio: 1 / 1; background: #efece5;
	border-radius: var(--pv-radius-card, 14px); overflow: hidden; padding: var(--pv-space-5);
}
.shop-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shop-card__badge {
	position: absolute; top: 12px; left: 12px; background: var(--pv-accent); color: #fff;
	font-size: 0.75rem; font-weight: 700; padding: 3px 12px; border-radius: var(--pv-radius-full);
}
.shop-card__body { display: flex; flex-direction: column; flex: 1; padding-top: var(--pv-space-4); }
.shop-card__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; margin: 0; }
.shop-card__title a { color: var(--pv-text); text-decoration: none; }
.shop-card__title a:hover { color: var(--pv-accent); }
.shop-card__size { margin: 3px 0 0; color: #8a857c; font-size: 0.8125rem; font-weight: 400; }
.shop-card__cat { margin: 3px 0 0; color: var(--pv-text-muted); font-size: 0.9375rem; }
.shop-card__price { margin: var(--pv-space-4) 0 var(--pv-space-4); font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.0625rem; }
.shop-card__price--login { font-family: var(--pv-font-body); font-weight: 600; font-size: 0.9375rem; }
.shop-card__price--login a { color: var(--pv-accent); text-decoration: none; }
.shop-card__btn { align-self: flex-start; justify-content: center; margin-top: auto; height: 44px; padding-block: 0; padding-inline: var(--pv-space-6); font-size: 0.9375rem; }

/* Pagination */
.woocommerce-pagination { margin-top: var(--pv-space-9); text-align: center; }
.woocommerce-pagination ul { list-style: none; display: inline-flex; gap: 6px; margin: 0; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px;
	border: 1px solid var(--pv-border); border-radius: var(--pv-radius-full); background: var(--pv-surface);
	color: var(--pv-text); text-decoration: none; font-weight: 600; font-size: 0.875rem;
}
.woocommerce-pagination .current { background: var(--pv-text); color: var(--pv-inverse); border-color: var(--pv-text); }
.shop-empty { padding: var(--pv-space-8) 0; text-align: center; color: var(--pv-text-muted); }

@media (max-width: 1024px) {
	.site-main ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
	.site-main ul.products { grid-template-columns: repeat(2, 1fr); gap: var(--pv-space-6) var(--pv-space-4); }
	.shop-toolbar { gap: var(--pv-space-3); }
	.shop-card__btn { align-self: stretch; }
}
@media (max-width: 360px) {
	.site-main ul.products { grid-template-columns: 1fr; }
}

/* ============================================================
   Single product page
   ============================================================ */
.sp-topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--pv-space-3); flex-wrap: wrap; padding: var(--pv-space-5) 0 var(--pv-space-2); }
.sp-crumb { font-size: 0.85rem; color: var(--pv-text-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.sp-crumb a:hover { color: var(--pv-accent); }
.sp-crumb .is-current { color: var(--pv-text); }
.sp-trade { font-family: var(--pv-font-heading); font-weight: 600; font-size: 0.8rem; color: var(--pv-text-muted); background: #efece4; border-radius: var(--pv-radius-full); padding: 7px 16px; }

.sp-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--pv-space-9); align-items: start; padding: var(--pv-space-5) 0 var(--pv-space-9); }
.sp-gallery { position: sticky; top: var(--pv-space-5); }
.sp-gmain { position: relative; background: #efece4; border-radius: 24px; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10%; }
.sp-gmain img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.24)); }
.sp-badge { position: absolute; top: 16px; left: 16px; background: var(--pv-accent); color: #fff; font-family: var(--pv-font-heading); font-weight: 700; font-size: 0.75rem; padding: 5px 12px; border-radius: var(--pv-radius-full); }
.sp-thumbs { display: flex; gap: 12px; margin-top: var(--pv-space-4); }
.sp-thumb { background: #efece4; border: 2px solid transparent; border-radius: 12px; width: 84px; height: 84px; display: grid; place-items: center; padding: 10px; cursor: pointer; }
.sp-thumb.is-active { border-color: var(--pv-text); }
.sp-thumb img { width: 100%; height: 100%; object-fit: contain; }

.sp-eyebrow { font-family: var(--pv-font-heading); font-weight: 700; font-size: 0.8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pv-accent); margin-bottom: var(--pv-space-3); }
.sp-title { font-family: var(--pv-font-heading); font-weight: 800; font-size: 2.75rem; line-height: 1.04; letter-spacing: -.02em; margin: 0; }
.sp-size { color: #8a857c; font-size: 1.05rem; margin: var(--pv-space-2) 0 0; }

.sp-pricebox { display: flex; align-items: baseline; gap: var(--pv-space-3); margin-top: var(--pv-space-5); flex-wrap: wrap; }
.sp-price { font-family: var(--pv-font-heading); font-weight: 800; font-size: 2rem; }
.sp-price-ex { font-size: 0.85rem; color: var(--pv-text-muted); }
.sp-rrp { font-size: 1rem; color: #8a857c; text-decoration: line-through; }
.sp-margin { margin: var(--pv-space-1) 0 0; font-size: 0.9rem; color: var(--pv-text-muted); }
.sp-margin b { color: #1f7a54; }

.sp-stock { display: inline-flex; align-items: center; gap: 9px; margin-top: var(--pv-space-4); font-size: 0.92rem; font-weight: 600; color: #1f7a54; }
.sp-stock i { width: 9px; height: 9px; border-radius: 50%; background: #28a56d; display: inline-block; }
.sp-stock--out { color: #a3352d; }
.sp-stock--out i { background: #c9483c; }

.sp-buy { display: flex; gap: var(--pv-space-3); margin-top: var(--pv-space-5); align-items: stretch; }
.sp-stepper .pv-stepper__btn { height: 48px; }
.sp-stepper .qty { height: 48px; }
.sp-addcart { flex: 1; height: auto; padding: 0 var(--pv-space-6); font-size: 1rem; }
.sp-addcart:hover { background: var(--pv-accent); }
.sp-helper { margin: var(--pv-space-3) 0 0; font-size: 0.85rem; color: var(--pv-text-muted); }

.sp-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--pv-space-4) var(--pv-space-5); margin: var(--pv-space-6) 0 0; padding-top: var(--pv-space-5); border-top: 1px solid var(--pv-border); }
.sp-meta dt { color: var(--pv-text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.sp-meta dd { font-family: var(--pv-font-heading); font-weight: 700; font-size: 0.98rem; margin: 0; }

.sp-downloads { display: flex; gap: var(--pv-space-3); margin-top: var(--pv-space-5); flex-wrap: wrap; }
.sp-dl { display: inline-flex; align-items: center; gap: 9px; background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius-full); padding: 11px 20px; font-family: var(--pv-font-heading); font-weight: 600; font-size: 0.88rem; }
.sp-dl:hover { border-color: var(--pv-text); }
.sp-dl b { color: var(--pv-accent); font-size: 1.05rem; }

.sp-section { border-top: 1px solid var(--pv-border); padding: var(--pv-space-9) 0; }
.sp-sec-grid { display: grid; grid-template-columns: 220px 1fr; gap: var(--pv-space-8); }
.sp-sec-grid h2 { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; margin: 0; }
.sp-prose p { margin: 0 0 var(--pv-space-4); font-size: 1.02rem; max-width: 62ch; }
.sp-ing-h { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.1rem; margin: 0 0 var(--pv-space-3); }
.sp-ing-h span { font-weight: 400; color: var(--pv-text-muted); font-size: 0.85rem; }
.sp-ing-list { list-style: none; margin: 0 0 var(--pv-space-6); padding: 0; max-width: 520px; }
.sp-ing-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pv-border); font-size: 0.98rem; }
.sp-ing-list li b { font-family: var(--pv-font-heading); font-weight: 700; white-space: nowrap; }
.sp-add-note { font-size: 0.98rem; max-width: 60ch; margin: 0; }
.sp-spectable { width: 100%; border-collapse: collapse; max-width: 640px; }
.sp-spectable td { padding: 13px 0; border-bottom: 1px solid var(--pv-border); font-size: 0.98rem; vertical-align: top; }
.sp-spectable td:first-child { color: var(--pv-text-muted); width: 42%; }
.sp-spectable td:last-child { font-family: var(--pv-font-heading); font-weight: 600; }

.sp-related { border-top: 1px solid var(--pv-border); padding: var(--pv-space-8) 0 var(--pv-space-10); }
.sp-related > h2 { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; margin: 0 0 var(--pv-space-6); }

@media (max-width: 900px) {
	.sp-hero { grid-template-columns: 1fr; gap: var(--pv-space-6); }
	.sp-gallery { position: static; }
	.sp-title { font-size: 2.1rem; }
	.sp-sec-grid { grid-template-columns: 1fr; gap: var(--pv-space-3); }
}

/* Narrow phones: the non-shrinking "Add to cart — €xx" button would stretch the
   column past the viewport, so drop it full-width under the stepper. */
@media (max-width: 460px) {
	.sp-buy { flex-wrap: wrap; }
	.sp-stepper { flex: 0 0 auto; }
	.sp-addcart { flex: 1 0 100%; min-width: 0; min-height: 52px; padding-block: 14px; }
}

/* ============================================================
   Marketing materials page
   ============================================================ */
.mm-main .pv-container > .mm-section:first-child { border-top: 0; }

/* Hero */
.mm-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pv-space-9); align-items: center; padding: var(--pv-space-9) 0; }
.mm-hero__title { font-family: var(--pv-font-heading); font-weight: 800; font-size: 2.9rem; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.mm-hero__intro { color: var(--pv-text-muted); font-size: 1.1rem; margin: var(--pv-space-4) 0 var(--pv-space-6); max-width: 46ch; }
.mm-hero__actions { display: flex; gap: var(--pv-space-3); flex-wrap: wrap; }
.mm-hero__media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.mm-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section shells */
.mm-section { padding: var(--pv-space-8) 0; border-top: 1px solid var(--pv-border); }
.mm-sec-head { max-width: 760px; margin-bottom: var(--pv-space-6); }
.mm-h2 { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.7rem; letter-spacing: -.01em; margin: 0 0 var(--pv-space-2); }
.mm-h2--lg { font-size: 2.2rem; }
.mm-sub { color: var(--pv-text-muted); font-size: 1.02rem; margin: 0; }

/* Image cards (brand assets + POS share the shape) */
.mm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pv-space-6); }
.mm-card { display: flex; flex-direction: column; }
.mm-card__media { aspect-ratio: 4 / 3; border-radius: var(--pv-radius); overflow: hidden; background: #efece4; margin-bottom: var(--pv-space-4); }
.mm-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-card__title { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.2rem; margin: 0 0 var(--pv-space-2); }
.mm-card__desc { color: var(--pv-text-muted); font-size: 0.95rem; margin: 0 0 var(--pv-space-5); }
.mm-card__cta { align-self: flex-start; margin-top: auto; }

/* Documentation for your team */
.mm-docs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pv-space-5); }
.mm-docs .mm-doc--feature { grid-row: span 2; }
.mm-doc { display: flex; flex-direction: column; justify-content: space-between; gap: var(--pv-space-6); background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-6); }
.mm-doc__title { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.3rem; margin: 0 0 var(--pv-space-3); }
.mm-doc__desc { color: var(--pv-text-muted); font-size: 1rem; margin: 0; }
.mm-doc__cta { align-self: flex-start; }

/* Point-of-sale dark band */
.mm-pos-band { background: #111114; color: #fff; padding: var(--pv-space-10) 0; margin-top: var(--pv-space-8); }
.mm-pos-band .mm-h2 { color: #fff; }
.mm-pos-band .mm-sub { color: #b8b4c2; }
.mm-card--dark .mm-card__media { background: #1c1c20; }
.mm-card--dark .mm-card__title { color: #fff; }
.mm-card--dark .mm-card__desc { color: #b8b4c2; }

/* Closing CTA band */
.mm-cta-band { background: #111114; color: #fff; padding: var(--pv-space-9) 0 var(--pv-space-10); text-align: center; }
.mm-cta__title { font-family: var(--pv-font-heading); font-weight: 800; font-size: 2rem; letter-spacing: -.01em; margin: 0; color: #fff; }
.mm-cta__body { color: #b8b4c2; font-size: 1.05rem; max-width: 60ch; margin: var(--pv-space-3) auto var(--pv-space-6); }
.mm-cta__actions { display: flex; gap: var(--pv-space-3); justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
	.mm-hero { grid-template-columns: 1fr; gap: var(--pv-space-6); padding: var(--pv-space-6) 0; }
	.mm-hero__title { font-size: 2.2rem; }
	.mm-cards { grid-template-columns: 1fr; }
	.mm-docs { grid-template-columns: 1fr; }
	.mm-docs .mm-doc--feature { grid-row: auto; }
	.mm-h2--lg { font-size: 1.7rem; }
}

/* ============================================================
   Contact page
   ============================================================ */
/* Centered layout to match the registration page: heading + a compact contact
   strip + the shared .form-card (same width + styling as registration). */
.ct-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--pv-space-3); max-width: 720px; margin: 0 auto var(--pv-space-6); }
.ct-meta__item { font-size: 0.98rem; color: var(--pv-text); }
a.ct-meta__item:hover { color: var(--pv-accent); }
.ct-meta__item--muted { color: var(--pv-text-muted); }
.ct-meta__sep { color: var(--pv-border); }
.ct-meta__btn { margin-left: var(--pv-space-2); }
.ct-form-card__title { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.4rem; margin: 0 0 var(--pv-space-3); }
.ct-form-card__note { color: var(--pv-text-muted); margin: 0 0 var(--pv-space-5); }

@media (max-width: 560px) {
	.ct-meta { gap: var(--pv-space-2); }
	.ct-meta__btn { margin-left: 0; flex-basis: 100%; }
}

/* ============================================================
   Checkout (WooCommerce Checkout block) + distraction-free chrome
   ============================================================ */
/* Minimal checkout header */
.co-header { background: var(--pv-surface); border-bottom: 1px solid var(--pv-border); }
.co-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; }
.co-header__logo img { height: 40px; width: auto; display: block; }
.co-header__meta { display: flex; align-items: center; gap: 20px; }
.co-header__cart { position: relative; background: none; border: 0; cursor: pointer; color: var(--pv-text); padding: 4px; }
.co-header__cart svg { width: 24px; height: 24px; }
.co-header__cart .pv-cart-toggle__count { position: absolute; top: -4px; right: -6px; background: var(--pv-accent); color: #fff; font-size: .62rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; font-family: var(--pv-font-heading); }

/* Minimal checkout footer */
.co-footer { border-top: 1px solid var(--pv-border); margin-top: var(--pv-space-9); }
.co-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; }
.co-footer__copy { font-size: .82rem; color: var(--pv-text-muted); margin: 0; }
.co-footer__links { display: flex; gap: 18px; flex-wrap: wrap; }
.co-footer__links a { font-size: .82rem; color: var(--pv-text-muted); }
.co-footer__links a:hover { color: var(--pv-accent); }

/* Signed-in chip above the form (block is a React root; must sit outside it) */
.pv-checkout-top { max-width: 1290px; margin: 0 auto; padding: var(--pv-space-5) var(--pv-gutter) 0; }
.pv-co-chip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; background: #efece4; border-radius: var(--pv-radius-full); padding: 8px 16px; font-size: .88rem; color: var(--pv-text-muted); }
.pv-co-chip b { font-family: var(--pv-font-heading); color: var(--pv-text); font-weight: 700; }
.pv-co-chip a { color: var(--pv-accent); }

/* Retint the whole checkout block to brand purple (focus + selected states) */
.wp-block-woocommerce-checkout, .wc-block-checkout {
	--wp-admin-theme-color: #493b6b;
	--wp-admin-theme-color-darker-10: #3d3159;
	--wp-admin-theme-color-darker-20: #322847;
	--wc-highlight: #493b6b;
	font-family: var(--pv-font-body);
}

/* Force the brand body font across the block. WC Blocks reference theme.json
   font presets that don't exist on this classic theme, so payment-method labels,
   field labels and notes fall back to the browser default (serif) otherwise. */
.wp-block-woocommerce-checkout p,
.wp-block-woocommerce-checkout label,
.wp-block-woocommerce-checkout input,
.wp-block-woocommerce-checkout select,
.wp-block-woocommerce-checkout .wc-block-components-radio-control__label,
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__description,
.wp-block-woocommerce-checkout .wc-block-components-payment-method-label,
.wp-block-woocommerce-checkout .wc-block-components-text-input label {
	font-family: var(--pv-font-body) !important;
}

/* Section titles → Funnel Sans (includes the EU-VAT "Business details" title) */
.wc-block-components-checkout-step__title,
.wc-block-checkout .wc-block-components-title { font-family: var(--pv-font-heading) !important; font-weight: 800; letter-spacing: -.01em; font-size: 1.35rem; color: var(--pv-text); }

/* Fields: rounder corners + lighter border to match the mockup; purple (not blue) focus.
   !important + block-wrapper prefix to beat WC's input[type="text"] defaults. */
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-address-form input,
.wp-block-woocommerce-checkout .wc-block-components-combobox-control input,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select,
.wp-block-woocommerce-checkout input[type="text"],
.wp-block-woocommerce-checkout input[type="email"],
.wp-block-woocommerce-checkout input[type="tel"] {
	border-radius: 14px !important;
	border-color: var(--pv-border) !important;
}
/* Purple focus ring instead of the default admin blue (covers the native country select) */
.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout .wc-block-components-address-form input:focus,
.wp-block-woocommerce-checkout .wc-block-components-combobox-control input:focus,
.wp-block-woocommerce-checkout .wc-blocks-components-select__select:focus {
	border-color: var(--pv-accent) !important;
	box-shadow: 0 0 0 1px var(--pv-accent) !important;
	outline: none;
}
/* Field labels: muted purple (mockup) instead of orange/black; covers the native country select label */
.wp-block-woocommerce-checkout .wc-block-components-text-input label,
.wp-block-woocommerce-checkout .wc-block-components-text-input.is-active label,
.wp-block-woocommerce-checkout .wc-blocks-components-select__label { color: var(--pv-text-muted) !important; }
/* Country select: round the container to match the 14px border so the white fill doesn't poke past the corners */
.wp-block-woocommerce-checkout .wc-blocks-components-select__container { border-radius: 14px; }

/* Place-order pill */
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-checkout .wc-block-components-button.contained {
	background: var(--pv-text); color: #fff; border-radius: var(--pv-radius-full);
	font-family: var(--pv-font-heading); font-weight: 800;
	min-height: 60px; padding: 20px 32px !important; font-size: 1.05rem;
}
.wc-block-components-checkout-place-order-button:hover { background: var(--pv-accent); }

/* Remove the divider line above the "By proceeding…" terms text */
.wc-block-checkout__terms--with-separator { border-top: 0 !important; padding-top: 0 !important; }

/* Order summary → mockup */
.wc-block-components-product-metadata__description { display: none; }
.wc-block-components-order-summary-item__image { width: 60px; height: 60px; flex: 0 0 60px; aspect-ratio: 1 / 1; border-radius: 12px; background: #efece4; padding: 6px; box-sizing: border-box; }
.wc-block-components-order-summary-item__image img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 0; display: block; }
.wc-block-components-order-summary-item .wc-block-components-product-name { font-family: var(--pv-font-heading); font-weight: 700; font-size: .92rem; color: var(--pv-text); }
/* Pack size as a small subtitle under the product name (added via woocommerce_get_item_data) */
.wc-block-components-order-summary-item .wc-block-components-product-details { margin: 2px 0 0; padding: 0; list-style: none; }
.wc-block-components-order-summary-item .wc-block-components-product-details__name { display: none; }
.wc-block-components-order-summary-item .wc-block-components-product-details__value { font-size: .8rem; font-style: normal; color: var(--pv-text-muted); }
.wc-block-components-order-summary-item__total-price { font-family: var(--pv-font-heading); font-weight: 700; }
.wc-block-components-totals-item:not(.wc-block-components-totals-footer-item) .wc-block-components-totals-item__label,
.wc-block-components-totals-item:not(.wc-block-components-totals-footer-item) .wc-block-components-totals-item__value { color: var(--pv-text-muted); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.2rem; color: var(--pv-text); }

/* Shipping/payment: leave WC's borders alone (they break when overridden).
   Only the selected radio dot is tinted to brand purple. */
.wc-block-checkout .wc-block-components-radio-control__input:checked::before { background-color: #493b6b !important; }

/* Order summary → Shopify look: vertical divider, no section lines, one line above total */
.wc-block-checkout__sidebar.is-large { border-left: 1px solid var(--pv-border); padding-left: var(--pv-space-7); }
.wp-block-woocommerce-checkout-order-summary-block,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.wp-block-woocommerce-checkout-order-summary-totals-block,
.wc-block-checkout__sidebar .wc-block-components-totals-wrapper { border: 0 !important; }
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item { border-top: 1px solid var(--pv-border) !important; padding-top: var(--pv-space-4); }

/* Rounded corners on option cards (radius only — no border/box-shadow) */
.wc-block-checkout .wc-block-components-radio-control__option,
.wc-block-checkout .wc-block-components-radio-control-accordion-option { border-radius: 14px; }

/* ============================================================
   Cart page (custom template — /cart/)
   Reuses shop-card typography + the shared stepper for consistency.
   ============================================================ */
.pv-cart-page { padding: var(--pv-space-7) 0 var(--pv-space-9); }
.pv-cart-page__inner { }

.pv-cartp__head { margin-bottom: var(--pv-space-6); }
.pv-cartp__title { font-family: var(--pv-font-heading); font-weight: 700; letter-spacing: -.01em; font-size: 2rem; line-height: 1.1; margin: 0 0 4px; color: var(--pv-text); }
.pv-cartp__sub { margin: 0; color: var(--pv-text-muted); font-size: 0.9375rem; }

.pv-cartp__grid { display: grid; grid-template-columns: 1fr 372px; gap: var(--pv-space-7); align-items: start; }
@media (max-width: 900px) { .pv-cartp__grid { grid-template-columns: 1fr; } }

/* Line items */
.pv-cartp__items { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); overflow: hidden; }
.pv-cartp-item { display: grid; grid-template-columns: 96px 1fr auto; gap: var(--pv-space-5); padding: var(--pv-space-5) var(--pv-space-5); align-items: center; border-bottom: 1px solid var(--pv-border); }
.pv-cartp-item:last-child { border-bottom: 0; }
.pv-cartp-item__img { display: grid; place-items: center; width: 96px; height: 96px; background: #efece5; border-radius: 12px; overflow: hidden; padding: 10px; }
.pv-cartp-item__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pv-cartp-item__name { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; color: var(--pv-text); text-decoration: none; }
.pv-cartp-item__name:hover { color: var(--pv-accent); }
.pv-cartp-item__pack { display: block; margin: 3px 0 0; color: #8a857c; font-size: 0.8125rem; }
.pv-cartp-item__unit { display: block; margin: 8px 0 0; color: var(--pv-text-muted); font-size: 0.8125rem; }
.pv-cartp-item__end { display: flex; flex-direction: column; align-items: flex-end; gap: var(--pv-space-3); }
.pv-cartp-item__line { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.0625rem; color: var(--pv-text); }
.pv-cartp-item__remove { background: none; border: 0; padding: 0; color: #b0aaa0; font-size: 0.8125rem; text-decoration: underline; cursor: pointer; }
.pv-cartp-item__remove:hover { color: var(--pv-text); }
/* Size the shared stepper up to match the product-page stepper */
.pv-cartp-item__qty.pv-cart-item__qty { margin-top: 0; }
.pv-cartp-item__qty .pv-cart-qty__btn { width: 40px; height: 44px; font-size: 1.375rem; }
.pv-cartp-item__qty .pv-cart-qty__input { width: 46px; height: 44px; }
@media (max-width: 560px) {
	.pv-cartp-item { grid-template-columns: 72px 1fr; }
	.pv-cartp-item__img { width: 72px; height: 72px; }
	.pv-cartp-item__end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Upsell row — reuses .shop-card, so typography matches the shop grid */
.pv-upsell { margin-top: var(--pv-space-6); }
.pv-upsell__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.25rem; margin: 0 0 4px; color: var(--pv-text); }
.pv-upsell__sub { margin: 0 0 var(--pv-space-4); color: var(--pv-text-muted); font-size: 0.875rem; }
.pv-upsell__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--pv-space-4); }
@media (max-width: 560px) { .pv-upsell__grid { grid-template-columns: 1fr 1fr; } }
.pv-upsell__card { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-3); }
.pv-upsell__card .shop-card__body { padding-top: var(--pv-space-3); }
.pv-upsell__card .shop-card__title { font-size: 0.9375rem; }
.pv-upsell__card .shop-card__price { margin: var(--pv-space-3) 0; font-size: 0.9375rem; }
.pv-upsell__add { align-self: stretch; justify-content: center; margin-top: auto; }

/* Summary */
.pv-cartp__summary { position: sticky; top: 20px; background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-6); }
.pv-cartp__summary-title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.25rem; margin: 0 0 var(--pv-space-5); color: var(--pv-text); }
.pv-cartp__summary .pv-cart__bar { padding: 0 0 var(--pv-space-5); margin-bottom: var(--pv-space-5); border-bottom: 1px solid var(--pv-border); }
.pv-cartp__tot { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 0.9375rem; color: var(--pv-text-muted); }
.pv-cartp__tot--big { border-top: 1px solid var(--pv-border); margin-top: 8px; padding-top: var(--pv-space-4); color: var(--pv-text); font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.2rem; }
.pv-cartp__fine { margin: 4px 0 var(--pv-space-5); color: var(--pv-text-muted); font-size: 0.75rem; line-height: 1.45; }
.pv-cartp__continue { display: block; text-align: center; margin-top: var(--pv-space-4); color: var(--pv-text-muted); font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.pv-cartp__continue:hover { color: var(--pv-text); }
.pv-cartp__pay { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: var(--pv-space-5); padding-top: var(--pv-space-4); border-top: 1px solid var(--pv-border); }
.pv-cartp__pay img { height: 24px; width: auto; opacity: .9; }

/* Empty state */
.pv-cartp-empty { text-align: center; padding: var(--pv-space-9) 0; }
.pv-cartp-empty__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.6rem; margin: 0 0 8px; color: var(--pv-text); }
.pv-cartp-empty__text { margin: 0 0 var(--pv-space-5); color: var(--pv-text-muted); }

/* Cart page — mobile sticky checkout bar (always reachable) */
.pv-cartp-sticky { display: none; }
@media (max-width: 900px) {
	.pv-cart-page { padding-bottom: 92px; }
	.pv-cartp-sticky {
		display: flex; align-items: center; gap: var(--pv-space-4);
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: var(--pv-surface); border-top: 1px solid var(--pv-border);
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		box-shadow: 0 -6px 22px rgba(0, 0, 0, .07);
	}
	.pv-cartp-sticky__info { display: flex; flex-direction: column; line-height: 1.15; }
	.pv-cartp-sticky__label { font-size: .72rem; color: var(--pv-text-muted); }
	.pv-cartp-sticky__val { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.05rem; color: var(--pv-text); }
	.pv-cartp-sticky .pv-btn { margin-left: auto; flex: 0 0 auto; }
	/* the summary's own button is redundant on mobile when the sticky bar is shown */
	.pv-cartp__summary .pv-btn--block { position: static; }
}

/* ============================================================
   Order-received / thank-you page (custom template)
   ============================================================ */
.pv-ty { padding: var(--pv-space-7) 0 var(--pv-space-9); }

.pv-ty__hero { text-align: center; max-width: 680px; margin: 0 auto var(--pv-space-7); }
.pv-ty__check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e7f4ec; color: var(--pv-green, #28a56d); margin-bottom: var(--pv-space-4); }
.pv-ty__check svg { width: 30px; height: 30px; }
.pv-ty__title { font-family: var(--pv-font-heading); font-weight: 700; letter-spacing: -.01em; font-size: 2rem; line-height: 1.1; margin: 0 0 8px; color: var(--pv-text); }
.pv-ty__lead { color: var(--pv-text-muted); margin: 0 auto; max-width: 520px; }
.pv-ty__hero--plain { padding: var(--pv-space-8) 0; }

.pv-ty__meta { list-style: none; margin: var(--pv-space-6) auto 0; padding: var(--pv-space-4) var(--pv-space-5); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--pv-space-5) var(--pv-space-6); background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); max-width: fit-content; }
.pv-ty__meta li { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.pv-ty__meta span { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pv-text-muted); }
.pv-ty__meta b { font-family: var(--pv-font-heading); font-weight: 700; font-size: .98rem; color: var(--pv-text); }

.pv-ty__grid { display: grid; grid-template-columns: 1fr 360px; gap: var(--pv-space-6); align-items: start; max-width: 1040px; margin: 0 auto; }
@media (max-width: 900px) { .pv-ty__grid { grid-template-columns: 1fr; } }
.pv-ty__main { display: flex; flex-direction: column; gap: var(--pv-space-5); }
.pv-ty__side { display: flex; flex-direction: column; gap: var(--pv-space-5); }

.pv-ty__card { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-6); }
.pv-ty__h2 { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.15rem; margin: 0 0 var(--pv-space-5); color: var(--pv-text); }

/* Steps */
.pv-ty__steps { list-style: none; margin: 0; padding: 0; }
.pv-ty__steps li { position: relative; display: flex; gap: var(--pv-space-4); padding-bottom: var(--pv-space-5); }
.pv-ty__steps li:last-child { padding-bottom: 0; }
.pv-ty__steps li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: -2px; width: 2px; background: var(--pv-border); }
.pv-ty__steps li:last-child::before { display: none; }
.pv-ty__step-dot { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--pv-surface); border: 2px solid var(--pv-border); z-index: 1; }
.pv-ty__steps li.is-done .pv-ty__step-dot { background: var(--pv-green, #28a56d); border-color: var(--pv-green, #28a56d); }
.pv-ty__steps b { display: block; font-family: var(--pv-font-heading); font-weight: 700; font-size: .95rem; color: var(--pv-text); }
.pv-ty__steps span { display: block; color: var(--pv-text-muted); font-size: .875rem; margin-top: 2px; }

.pv-ty__tracking { margin-top: var(--pv-space-4); padding-top: var(--pv-space-4); border-top: 1px solid var(--pv-border); }
.pv-ty__track-row { display: flex; align-items: center; justify-content: space-between; gap: var(--pv-space-4); flex-wrap: wrap; }

/* Items */
.pv-ty__items { display: flex; flex-direction: column; }
.pv-ty__item { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--pv-space-4); align-items: center; padding: var(--pv-space-3) 0; border-bottom: 1px solid var(--pv-border); }
.pv-ty__item:first-child { padding-top: 0; }
.pv-ty__item:last-child { border-bottom: 0; }
.pv-ty__item-img { position: relative; width: 56px; height: 56px; }
.pv-ty__item-img img { width: 56px; height: 56px; object-fit: contain; background: #efece5; border-radius: 10px; padding: 5px; box-sizing: border-box; display: block; }
.pv-ty__item-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pv-text); color: #fff; font-family: var(--pv-font-heading); font-weight: 700; font-size: .68rem; display: grid; place-items: center; }
.pv-ty__item-name { display: block; font-family: var(--pv-font-heading); font-weight: 700; font-size: .95rem; color: var(--pv-text); }
.pv-ty__item-pack { display: block; color: #8a857c; font-size: .8125rem; margin-top: 2px; }
.pv-ty__item-line { font-family: var(--pv-font-heading); font-weight: 700; font-size: .95rem; color: var(--pv-text); white-space: nowrap; }

.pv-ty__totals { margin-top: var(--pv-space-4); padding-top: var(--pv-space-4); border-top: 1px solid var(--pv-border); }
.pv-ty__tot { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .9375rem; color: var(--pv-text-muted); }
.pv-ty__tot span:last-child { color: var(--pv-text); }
.pv-ty__tot--big { border-top: 1px solid var(--pv-border); margin-top: 6px; padding-top: var(--pv-space-4); font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.15rem; }
.pv-ty__tot--big span { color: var(--pv-text) !important; }

/* Sidebar */
.pv-ty__addr { font-style: normal; line-height: 1.5; color: var(--pv-text); font-size: .9375rem; }
.pv-ty__note { margin: var(--pv-space-3) 0 0; padding-top: var(--pv-space-3); border-top: 1px solid var(--pv-border); color: var(--pv-text-muted); font-size: .875rem; }
.pv-ty__actions { display: flex; flex-direction: column; gap: var(--pv-space-3); }
.pv-ty__actions .pv-btn { justify-content: center; }
.pv-ty__invoice-note { margin: 0; color: var(--pv-text-muted); font-size: .8125rem; text-align: center; }
.pv-ty__support { margin: var(--pv-space-2) 0 0; text-align: center; color: var(--pv-text-muted); font-size: .8125rem; }
.pv-ty__support a { color: var(--pv-accent); text-decoration: none; }

/* ============================================================
   FAQ page (template-faq.php)
   ============================================================ */
.faq-hero { padding-bottom: 0; }
.faq-body { padding: var(--pv-space-6) 0 var(--pv-space-9); }
.faq-grid { display: grid; grid-template-columns: 232px 1fr; gap: var(--pv-space-8); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: var(--pv-space-5); } }

/* Sticky category jump-nav */
.faq-nav { position: sticky; top: 24px; }
.faq-nav__list { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--pv-border); }
.faq-nav__link { display: block; padding: 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--pv-text-muted); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.faq-nav__link:hover { color: var(--pv-text); border-left-color: var(--pv-accent); }
@media (max-width: 900px) { .faq-nav { display: none; } }

/* Categories + accordion */
.faq-content { display: flex; flex-direction: column; gap: var(--pv-space-7); }
.faq-cat { scroll-margin-top: 24px; }
.faq-cat__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; margin: 0 0 var(--pv-space-3); color: var(--pv-text); }

.faq-item { border-bottom: 1px solid var(--pv-border); }
.faq-item:first-of-type { border-top: 1px solid var(--pv-border); }
.faq-item__q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--pv-space-4); padding: var(--pv-space-4) 0; font-family: var(--pv-font-heading); font-weight: 600; font-size: 1.02rem; color: var(--pv-text); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--pv-accent); }
.faq-item__chev { flex: 0 0 auto; width: 20px; height: 20px; color: var(--pv-text-muted); transition: transform .2s ease; }
.faq-item[open] .faq-item__chev { transform: rotate(180deg); }
.faq-item__a { padding: 0 0 var(--pv-space-5); max-width: 68ch; }
.faq-item__a p { margin: 0; color: var(--pv-text-muted); line-height: 1.55; }

/* ============================================================
   Shipping & Returns page (template-shipping-returns.php)
   ============================================================ */
.sr-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--pv-space-4); margin-top: var(--pv-space-6); }
@media (max-width: 720px) { .sr-facts { grid-template-columns: 1fr 1fr; } }
.sr-fact { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-5); text-align: center; }
.sr-fact__value { display: block; font-family: var(--pv-font-heading); font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; color: var(--pv-text); }
.sr-fact__label { display: block; margin-top: 6px; color: var(--pv-text-muted); font-size: 0.8125rem; line-height: 1.35; }

.sr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pv-space-8); align-items: start; }
@media (max-width: 900px) { .sr-grid { grid-template-columns: 1fr; gap: var(--pv-space-7); } }
.sr-col__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; margin: 0 0 var(--pv-space-4); color: var(--pv-text); }
.sr-col__intro { color: var(--pv-text-muted); margin: 0 0 var(--pv-space-4); line-height: 1.55; }
.sr-list { margin: 0; }
.sr-list__row { padding: var(--pv-space-4) 0; border-top: 1px solid var(--pv-border); }
.sr-list__row:first-child { border-top: 0; padding-top: 0; }
.sr-list dt { font-family: var(--pv-font-heading); font-weight: 600; font-size: 1.02rem; color: var(--pv-text); margin: 0 0 4px; }
.sr-list dd { margin: 0; color: var(--pv-text-muted); line-height: 1.55; }

/* ============================================================
   Studies / research library (template-studies.php)
   ============================================================ */
.study-body { padding-top: var(--pv-space-5); }
.study-filters-wrap { position: relative; }
.study-filters { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) { .study-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; } .study-filters::-webkit-scrollbar { display: none; } }
.study-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-full); background: var(--pv-surface); color: var(--pv-text-muted); font: inherit; font-size: 0.875rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.study-chip:hover { color: var(--pv-text); }
.study-chip.is-active { background: var(--pv-text); border-color: var(--pv-text); color: #fff; }
.study-chip__n { font-size: 0.72rem; opacity: .7; }
.study-chip.is-active .study-chip__n { opacity: .85; }

.study-count { margin: var(--pv-space-4) 0 var(--pv-space-4); color: var(--pv-text-muted); font-size: 0.875rem; }

.study-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--pv-space-4); align-items: start; }
@media (max-width: 820px) { .study-grid { grid-template-columns: 1fr; } }
.study-card { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: var(--pv-radius); padding: var(--pv-space-5); display: flex; flex-direction: column; }
.study-card[hidden] { display: none; }
.study-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--pv-space-3); }
.study-card__product { font-family: var(--pv-font-heading); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pv-accent); }
.study-card__year { color: var(--pv-text-muted); font-size: 0.8125rem; font-weight: 600; }
.study-card__title { font-family: var(--pv-font-heading); font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin: 0 0 6px; color: var(--pv-text); }
.study-card__source { margin: 0 0 var(--pv-space-3); color: var(--pv-text-muted); font-size: 0.8125rem; }

.study-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--pv-space-3); }
.study-badge { display: inline-block; padding: 3px 10px; border-radius: var(--pv-radius-full); font-size: 0.72rem; font-weight: 700; letter-spacing: .01em; }
.study-badge--pos { background: #e7f4ec; color: #1c7a4c; }
.study-badge--mix { background: #fbf0e2; color: #a9631a; }
.study-badge--null { background: #efece5; color: #6f6a60; }
.study-badge--pending { background: #ece9f4; color: #493b6b; }
.study-badge--indep { background: #eef2f7; color: #3a5a80; }
.study-badge--industry { background: #f4efe9; color: #8a6a44; }
.study-badge--key { background: var(--pv-accent); color: #fff; }

.study-card__finding { margin: 0 0 var(--pv-space-4); color: var(--pv-text); font-size: 0.9375rem; line-height: 1.5; }
.study-card__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 16px; margin: 0 0 var(--pv-space-4); padding: var(--pv-space-3) 0; border-top: 1px solid var(--pv-border); border-bottom: 1px solid var(--pv-border); }
.study-card__facts dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--pv-text-muted); }
.study-card__facts dd { margin: 2px 0 0; font-size: 0.8125rem; font-weight: 600; color: var(--pv-text); }
.study-card__caveat { margin: 0 0 var(--pv-space-4); color: var(--pv-text-muted); font-size: 0.8125rem; line-height: 1.45; }
.study-card__caveat span { font-weight: 700; }
.study-card__foot { margin-top: auto; }
.study-card__link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--pv-font-heading); font-weight: 700; font-size: 0.875rem; color: var(--pv-text); text-decoration: none; }
.study-card__link:hover { color: var(--pv-accent); }
.study-card__ref { color: var(--pv-text-muted); font-size: 0.8125rem; }

.study-empty { grid-column: 1 / -1; padding: var(--pv-space-7); text-align: center; color: var(--pv-text-muted); }
.study-disclaimer { margin-top: var(--pv-space-6); padding-top: var(--pv-space-5); border-top: 1px solid var(--pv-border); color: var(--pv-text-muted); font-size: 0.8125rem; line-height: 1.55; max-width: 90ch; }
