/* ==========================================================================
   The Doggos — Cinematic PDP (v2.0.0) — Pastel Editorial
   --------------------------------------------------------------------------
   Pastel surface palette, editorial typography (Fraunces italic + Bricolage
   Grotesque + JetBrains Mono), neo-brutalist accents (chunky offset shadows,
   tilted frames, rotating sticker stamps, hand-drawn squiggle underlines).
   Scoped to body.cpdp-active. Section rhythm: lavender → dark sage (ASMR
   contrast) → cream → lavender → peach → cream → chartreuse pop.
   ========================================================================== */

body.cpdp-active {
	/* — surfaces (pastel palette) — */
	--cpdp-lavender:      #f5f0fa;   /* hero, faq base — matches site bwp-main */
	--cpdp-lavender-deep: #e8d9f3;
	--cpdp-mint:          #ecf5ee;
	--cpdp-mint-deep:     #d4ead8;
	--cpdp-cream:         #fdfaf3;
	--cpdp-cream-deep:    #f7eed9;
	--cpdp-peach:         #fdeee0;
	--cpdp-peach-deep:    #f9d9c4;
	--cpdp-bone:          #faf6ee;

	/* — accents — */
	--cpdp-lime:        #aac527;       /* brand chartreuse, full saturation pop */
	--cpdp-lime-soft:   #d8e57a;       /* pastel chartreuse */
	--cpdp-lime-glow:   #c4d94e;
	--cpdp-sage-dark:   #2a3818;       /* dark contrast section */
	--cpdp-sage:        #5a6e3f;
	--cpdp-rust:        #b87b4a;       /* warm pastel-friendly accent */
	--cpdp-rust-deep:   #8e5a2f;
	--cpdp-turmeric:    #d4a83a;

	/* — type — */
	--cpdp-ink:         #1f2a14;
	--cpdp-ink-soft:    #3a4530;
	--cpdp-ink-mute:    #6a7560;
	--cpdp-on-dark:     #f5f0e3;
	--cpdp-on-dark-soft: rgba(245, 240, 227, 0.75);
	--cpdp-on-dark-mute: rgba(245, 240, 227, 0.55);

	--cpdp-shadow-ink:  rgba(31, 42, 20, 0.18);

	--cpdp-rule:        rgba(31, 42, 20, 0.14);
	--cpdp-rule-soft:   rgba(31, 42, 20, 0.08);

	--cpdp-radius:      14px;
	--cpdp-radius-lg:   22px;

	/* — fonts — loaded via direct wp_head link in class-assets.php — */
	--cpdp-font-display: 'Fraunces', 'DM Serif Display', Georgia, serif;
	--cpdp-font-body:    'Bricolage Grotesque', 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--cpdp-font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

	--cpdp-ease:     cubic-bezier(0.22, 1, 0.36, 1);
	--cpdp-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Strip theme's lavender PDP background and the stock single-product
   scaffolding. Cinematic shell owns every pixel between header and footer.
   Aggressive — peeboo's `.bwp-main { background: #f5f0fa }` was bleeding
   into the gallery + leaking above the hero into the header band. Force
   white on every common WP/WC/peeboo wrapper. */
body.cpdp-active,
body.cpdp-active .bwp-main,
body.cpdp-active .main-single-product,
body.cpdp-active .bwp-single-info,
body.cpdp-active .bwp-single-image,
body.cpdp-active .bwp-content-page,
body.cpdp-active .site-content,
body.cpdp-active main,
body.cpdp-active #content,
body.cpdp-active #page,
body.cpdp-active .page-wrapper { background: #ffffff !important; }

body.cpdp-active .single-product .breadcrumb-trail,
body.cpdp-active .single-product .related.products,
body.cpdp-active .single-product .upsells,
body.cpdp-active .single-product .woocommerce-tabs,
body.cpdp-active .single-product .product_meta,
body.cpdp-active .single-product .product-count-view,
body.cpdp-active .single-product .doggos-trust-badges,
/* Theme/peeboo/Yoast/WC breadcrumb wrappers — the cinematic hero renders its
   own .cpdp-breadcrumb so any of these would double up. */
body.cpdp-active .single-product .bwp-breadcrumb,
body.cpdp-active .single-product .bwp-breadcrumbs,
body.cpdp-active .single-product .woocommerce-breadcrumb,
body.cpdp-active .single-product nav.breadcrumb,
body.cpdp-active .single-product .breadcrumbs,
body.cpdp-active .single-product .breadcrumbs-wrapper,
body.cpdp-active .single-product #breadcrumbs,
body.cpdp-active.single-product > .breadcrumb,
body.cpdp-active.single-product > .woocommerce-breadcrumb { display: none !important; }

body.cpdp-active {
	color: var(--cpdp-ink);
	font-family: var(--cpdp-font-body);
}

/* ==========================================================================
   PRIMITIVES
   ========================================================================== */

.cpdp-main { display: block; }
.cpdp-main, .cpdp-main * { box-sizing: border-box; }

.cpdp-main h1, .cpdp-main h2, .cpdp-main h3 {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	margin: 0;
	letter-spacing: -0.02em;
	color: var(--cpdp-ink);
}
.cpdp-main p { margin: 0; }

/* Mono kicker / label — used widely as eyebrows. */
.cpdp-mono {
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cpdp-ink-soft);
}
.cpdp-mono-deep { color: var(--cpdp-sage-dark); }

/* Squiggle underline — turmeric on the em accent. */
.cpdp-squiggle {
	position: relative;
	font-style: italic;
	color: var(--cpdp-lime);
	display: inline-block;
}
.cpdp-squiggle::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	bottom: -2px;
	height: 14px;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'><path d='M2 10 Q 50 2 100 8 T 198 6' stroke='%23d4a83a' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat;
	background-size: 100% 100%;
	z-index: -1;
}

/* Reveal-on-scroll. */
[data-cpdp-reveal] {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition: opacity 0.8s var(--cpdp-ease), transform 0.8s var(--cpdp-ease);
}
[data-cpdp-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	[data-cpdp-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Placeholder block (where real video assets land later). */
[data-cpdp-placeholder] {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(170, 197, 39, 0.12), rgba(212, 168, 58, 0.10)),
		repeating-linear-gradient(45deg, rgba(31, 42, 20, 0.04) 0 12px, transparent 12px 24px);
	color: var(--cpdp-ink-soft);
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
	padding: 24px;
}
[data-cpdp-placeholder] small {
	display: block;
	margin-top: 6px;
	font-size: 9px;
	opacity: 0.7;
	letter-spacing: 0.12em;
}
.cpdp-placeholder-pill {
	position: absolute;
	top: 12px; right: 12px;
	background: var(--cpdp-ink);
	color: var(--cpdp-lime-soft);
	font-family: var(--cpdp-font-mono);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 99px;
}

/* Paper-grain overlay for warmth without overdoing it. */
body.cpdp-active::before {
	content: '';
	position: fixed; inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: 0.10;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.16  0 0 0 0 0.08  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Floating decorative cartilage SVGs (positioned in HTML, animated here). */
.cpdp-float {
	position: absolute;
	pointer-events: none;
	opacity: 0.10;
	z-index: 1;
}
.cpdp-float-1 { top: 12%; left: 4%; width: 80px; animation: cpdp-float 9s ease-in-out infinite; }
.cpdp-float-2 { top: 64%; left: 2%; width: 60px; animation: cpdp-float 11s ease-in-out infinite reverse; }
.cpdp-float-3 { top: 30%; right: 3%; width: 70px; animation: cpdp-float 10s ease-in-out infinite -3s; }
@keyframes cpdp-float {
	0%, 100% { transform: translate(0, 0) rotate(-8deg); }
	50%      { transform: translate(18px, -28px) rotate(6deg); }
}

@keyframes cpdp-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50%      { transform: scale(1.6); opacity: 0.4; }
}
@keyframes cpdp-spin { to { transform: rotate(360deg); } }
@keyframes cpdp-fade-up {
	from { opacity: 0; transform: translateY(22px); }
	to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   1 · HERO
   ========================================================================== */

.cpdp-hero {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	/* White hero — seamless with the site's white header (white-on-white logo
	   needs a continuous white surface from header into hero to avoid a band). */
	background: #ffffff;
	padding: clamp(80px, 12vw, 120px) clamp(20px, 5vw, 56px) clamp(48px, 7vw, 72px);
	min-height: 100vh;
	min-height: 100dvh;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vw, 60px);
	align-items: center;
	overflow: hidden;
}

.cpdp-corner-num {
	position: absolute;
	font-family: var(--cpdp-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cpdp-ink-soft);
	z-index: 4;
}
.cpdp-corner-num--tl { top: clamp(72px, 10vw, 92px); left: clamp(20px, 5vw, 56px); }
.cpdp-corner-num--bl { bottom: 24px; left: clamp(20px, 5vw, 56px); }
.cpdp-corner-num--br { bottom: 24px; right: clamp(20px, 5vw, 56px); }
/* Hide corner annotations on mobile — they're editorial flourish, not load-bearing,
   and they collide with the headline/meta on narrow viewports. Pattern matches the
   chicken-feet design comp, which also hid them at the same breakpoint. */
@media (max-width: 900px) {
	.cpdp-corner-num { display: none; }
}

/* breadcrumb */
.cpdp-breadcrumb {
	position: absolute;
	top: clamp(24px, 4vw, 40px);
	left: clamp(20px, 5vw, 56px);
	right: clamp(20px, 5vw, 56px);
	z-index: 5;
	font-family: var(--cpdp-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	color: var(--cpdp-ink-mute);
}
.cpdp-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.cpdp-breadcrumb a { color: var(--cpdp-ink-soft); text-decoration: none; }
.cpdp-breadcrumb a:hover { color: var(--cpdp-lime); }
.cpdp-breadcrumb span { opacity: 0.5; margin: 0 4px; }

.cpdp-hero-left { position: relative; z-index: 5; }

/* live badge */
.cpdp-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	background: var(--cpdp-ink);
	color: var(--cpdp-on-dark);
	border-radius: 999px;
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 28px;
	animation: cpdp-fade-up 0.9s 0.1s both;
}
.cpdp-badge .cpdp-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--cpdp-lime);
	animation: cpdp-pulse 1.4s infinite;
}

/* hero headline */
.cpdp-hero-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 900;
	font-size: clamp(44px, 8vw, 116px);
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: var(--cpdp-ink);
	margin: 0 0 24px;
	animation: cpdp-fade-up 1s 0.1s both;
	max-width: 12ch;
}
.cpdp-hero-headline em {
	font-style: italic;
	color: var(--cpdp-lime);
	position: relative;
	display: inline-block;
}
.cpdp-hero-headline em::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	bottom: 0.04em;
	height: 0.16em;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'><path d='M2 10 Q 50 2 100 8 T 198 6' stroke='%23d4a83a' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat;
	background-size: 100% 100%;
	z-index: -1;
}

.cpdp-hero-sub {
	font-size: clamp(16px, 1.6vw, 18.5px);
	line-height: 1.55;
	color: var(--cpdp-ink-soft);
	max-width: 460px;
	margin: 0 0 32px;
	animation: cpdp-fade-up 1s 0.3s both;
}

/* canonical hero price (separate from button — see hero.php) */
.cpdp-hero-price {
	font-family: var(--cpdp-font-display);
	font-weight: 900;
	font-style: italic;
	font-size: clamp(32px, 4vw, 44px);
	line-height: 1;
	color: var(--cpdp-ink);
	margin: 0 0 18px;
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
}
.cpdp-hero-price del {
	font-style: normal;
	font-weight: 400;
	color: var(--cpdp-ink-mute);
	font-size: 0.55em;
}
.cpdp-hero-price ins { text-decoration: none; }

/* atc form row */
.cpdp-cart {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 24px;
	animation: cpdp-fade-up 1s 0.45s both;
}
.cpdp-cart-row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
}

/* qty pill — height matches enhanced ATC button (64px) for visual rhythm */
.cpdp-qty {
	display: inline-flex;
	align-items: stretch;
	background: #fff;
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 999px;
	padding: 4px;
	height: 64px;
}
.cpdp-qty-btn {
	width: 44px;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--cpdp-ink);
	font-size: 22px;
	font-weight: 500;
	cursor: pointer;
	border-radius: 999px;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.2s;
}
.cpdp-qty-btn:hover { background: var(--cpdp-lavender-deep); }
.cpdp-qty-input {
	width: 44px;
	height: 100%;
	border: 0;
	background: transparent;
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: 18px;
	text-align: center;
	color: var(--cpdp-ink);
	-moz-appearance: textfield;
}
.cpdp-qty-input::-webkit-outer-spin-button,
.cpdp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* main ATC button — neo-brutalist chunky shadow with chartreuse pulse accent */
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	height: 64px;
	padding: 0 36px 0 30px !important;
	background: var(--cpdp-ink) !important;
	background-image: none !important;
	color: var(--cpdp-on-dark) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var(--cpdp-font-mono) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 0 var(--cpdp-sage-dark), 0 0 0 0 rgba(170, 197, 39, 0) !important;
	transition: transform 0.18s var(--cpdp-ease), box-shadow 0.25s var(--cpdp-ease) !important;
	-webkit-tap-highlight-color: transparent;
	overflow: hidden;
}
/* chartreuse pulse dot before label — pseudo-element keeps the button single-span,
   so peeboo-child's `$btn.find('span').text('Added!')` doesn't clobber it. */
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc .cpdp-atc-label::before {
	content: '';
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--cpdp-lime);
	margin-right: 12px;
	box-shadow: 0 0 0 0 rgba(170, 197, 39, 0.6);
	animation: cpdp-atc-pulse 1.8s ease-out infinite;
	vertical-align: 1px;
}
@keyframes cpdp-atc-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(170, 197, 39, 0.55); }
	70%  { box-shadow: 0 0 0 12px rgba(170, 197, 39, 0); }
	100% { box-shadow: 0 0 0 0 rgba(170, 197, 39, 0); }
}
@media (prefers-reduced-motion: reduce) {
	body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc .cpdp-atc-label::before { animation: none; }
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc:hover {
	transform: translateY(2px);
	box-shadow: 0 6px 0 var(--cpdp-sage-dark), 0 12px 32px rgba(170, 197, 39, 0.35) !important;
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc:active {
	transform: translateY(8px);
	box-shadow: 0 0 0 var(--cpdp-sage-dark), 0 6px 18px rgba(170, 197, 39, 0.3) !important;
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc.doggos-added {
	background: var(--cpdp-lime) !important;
	color: var(--cpdp-ink) !important;
	box-shadow: 0 8px 0 var(--cpdp-sage) !important;
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc.doggos-added .cpdp-atc-label::before {
	background: var(--cpdp-ink);
	animation: none;
	box-shadow: none;
}

/* arrow — bigger, with smoother slide */
.cpdp-atc-arrow {
	width: 18px;
	height: 18px;
	transition: transform 0.32s var(--cpdp-ease);
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc:hover .cpdp-atc-arrow {
	transform: translateX(6px);
}

/* secondary ghost link */
.cpdp-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--cpdp-ink);
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--cpdp-ink);
	padding: 18px 4px;
	height: 64px;
	box-sizing: border-box;
}
.cpdp-ghost:hover { color: var(--cpdp-lime); border-color: var(--cpdp-lime); }

/* dispatch chip — sage pastel */
.cpdp-dispatch {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: var(--cpdp-mint-deep);
	border: 1px solid rgba(31, 42, 20, 0.18);
	border-radius: 999px;
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--cpdp-sage-dark);
	width: fit-content;
}
.cpdp-dispatch .doggos-dispatch-countdown {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	color: inherit !important;
	font-size: 11px !important;
	font-family: var(--cpdp-font-mono) !important;
}

/* hero meta strip */
.cpdp-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 24px;
	margin-top: 32px;
	font-family: var(--cpdp-font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cpdp-ink-soft);
	animation: cpdp-fade-up 1s 0.6s both;
}
.cpdp-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.cpdp-hero-meta svg { width: 8px; height: 8px; fill: var(--cpdp-lime); }

/* hero right — tilted video frame */
.cpdp-hero-right {
	position: relative;
	width: 100%;
	max-width: 460px;
	justify-self: center;
	z-index: 4;
	animation: cpdp-fade-up 1.2s 0.3s both;
}

.cpdp-frame {
	position: relative;
	aspect-ratio: 9/16;
	border-radius: 22px;
	overflow: hidden;
	border: 2.5px solid var(--cpdp-ink);
	box-shadow: 14px 14px 0 var(--cpdp-ink);
	background: var(--cpdp-ink);
	transform: rotate(-1.4deg);
	transition: transform 0.4s var(--cpdp-ease);
}
.cpdp-frame:hover { transform: rotate(0deg) translateY(-4px); }

.cpdp-frame video,
.cpdp-frame img,
.cpdp-frame .cpdp-frame-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cpdp-frame-placeholder {
	background:
		radial-gradient(ellipse at 30% 20%, rgba(170, 197, 39, 0.20), transparent 60%),
		radial-gradient(ellipse at 70% 80%, rgba(212, 168, 58, 0.15), transparent 60%),
		linear-gradient(180deg, #2a3818 0%, #1a2e05 100%);
	color: rgba(245, 240, 227, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-align: center;
}

/* gradient overlay over video for chrome legibility */
.cpdp-frame::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, transparent 18%, transparent 70%, rgba(0,0,0,0.5) 100%);
	z-index: 2;
}

/* live tag (top-left of video) */
.cpdp-frame-live {
	position: absolute;
	top: 16px; left: 16px;
	z-index: 3;
	background: rgba(31, 42, 20, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--cpdp-on-dark);
	padding: 7px 12px;
	border-radius: 999px;
	font-family: var(--cpdp-font-mono);
	font-size: 9.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 7px;
	border: 1px solid rgba(245, 240, 227, 0.15);
}
.cpdp-frame-live .cpdp-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--cpdp-lime);
	animation: cpdp-pulse 1.4s infinite;
}

/* timecode chip (top-right of video) */
.cpdp-frame-timecode {
	position: absolute;
	top: 16px; right: 16px;
	z-index: 3;
	background: rgba(31, 42, 20, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--cpdp-on-dark);
	padding: 7px 12px;
	border-radius: 999px;
	font-family: var(--cpdp-font-mono);
	font-size: 9.5px;
	letter-spacing: 0.16em;
	border: 1px solid rgba(245, 240, 227, 0.15);
}

/* sound toggle (bottom center of video) */
.cpdp-frame-sound {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	background: rgba(31, 42, 20, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--cpdp-on-dark);
	border: 1px solid rgba(245, 240, 227, 0.2);
	padding: 11px 18px;
	border-radius: 999px;
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 9px;
	transition: all 0.22s;
	-webkit-tap-highlight-color: transparent;
}
.cpdp-frame-sound:hover { background: var(--cpdp-lime); color: var(--cpdp-ink); transform: translateX(-50%) scale(1.04); }
.cpdp-frame-sound.is-on { background: var(--cpdp-lime); color: var(--cpdp-ink); }
.cpdp-frame-sound svg { width: 14px; height: 14px; }

/* Pulsing chartreuse halo while muted — draws the eye to the only thing
   that can turn sound on (browser autoplay policy doesn't let JS do it).
   Pulse stops the moment the user toggles it. */
.cpdp-frame-sound:not(.is-on)::before {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	box-shadow: 0 0 0 0 rgba(170, 197, 39, 0.55);
	animation: cpdp-sound-halo 2.4s ease-out infinite;
	pointer-events: none;
	z-index: -1;
}
@keyframes cpdp-sound-halo {
	0%   { box-shadow: 0 0 0 0 rgba(170, 197, 39, 0.55); }
	70%  { box-shadow: 0 0 0 16px rgba(170, 197, 39, 0); }
	100% { box-shadow: 0 0 0 0 rgba(170, 197, 39, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.cpdp-frame-sound:not(.is-on)::before { animation: none; }
}

/* sound-wave ripples on top of video */
.cpdp-wave-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

/* Sound-section overlay gif (admin-uploaded, replaces the audio-bar waveform).
   Source files often have transparent padding around the subject — we scale
   the IMG modestly larger than the visible container, then clip the slack
   with overflow:hidden so the surrounding empty space doesn't dominate. */
.cpdp-sound-gif {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	max-width: min(56vw, 420px);
	height: clamp(160px, 18vw, 220px);
	overflow: hidden;
}
.cpdp-sound-gif img {
	display: block;
	width: min(42vw, 320px);
	max-width: none;
	height: auto;
	animation: cpdp-sound-gif-bob 3.8s ease-in-out infinite;
}
@media (max-width: 600px) {
	.cpdp-sound-gif { max-width: 70vw; height: clamp(140px, 32vw, 200px); }
	.cpdp-sound-gif img { width: 55vw; }
}
@keyframes cpdp-sound-gif-bob {
	0%, 100% { transform: translateY(0) rotate(-2deg); }
	50%      { transform: translateY(-10px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
	.cpdp-sound-gif img { animation: none; }
}
.cpdp-wave-overlay circle {
	fill: none;
	stroke: var(--cpdp-lime);
	stroke-width: 2.2;
	opacity: 0;
	transform-box: fill-box;
	transform-origin: center;
	animation: cpdp-ripple 2.4s ease-out infinite;
}
.cpdp-wave-overlay circle:nth-child(2) { animation-delay: 0.6s; stroke: var(--cpdp-turmeric); }
.cpdp-wave-overlay circle:nth-child(3) { animation-delay: 1.2s; stroke: var(--cpdp-lime-glow); }
@keyframes cpdp-ripple {
	0%   { opacity: 0;   transform: scale(0.2); stroke-width: 4; }
	15%  { opacity: 0.8; }
	100% { opacity: 0;   transform: scale(10);  stroke-width: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
	.cpdp-wave-overlay circle { animation: none; opacity: 0; }
	.cpdp-badge .cpdp-dot,
	.cpdp-frame-live .cpdp-dot { animation: none; }
}

/* rotating sticker stamp on hero */
.cpdp-stamp {
	position: absolute;
	top: -36px; right: -32px;
	width: 130px; height: 130px;
	z-index: 6;
	animation: cpdp-spin 22s linear infinite;
	filter: drop-shadow(3px 3px 0 rgba(31, 42, 20, 0.18));
}
/* On mobile the negative right offset pushed the stamp into the section's
   overflow:hidden clip — half the chartreuse circle was cut off. Scale down
   and tuck inside so it reads as a sticker on the corner of the frame. */
@media (max-width: 900px) {
	.cpdp-stamp {
		width: 92px;
		height: 92px;
		top: -22px;
		right: -10px;
	}
}
@media (max-width: 480px) {
	.cpdp-stamp {
		width: 78px;
		height: 78px;
		top: -16px;
		right: -6px;
	}
}
@media (prefers-reduced-motion: reduce) { .cpdp-stamp { animation: none; } }

/* FIG. caption strip under video */
.cpdp-frame-caption {
	margin-top: 22px;
	padding-top: 12px;
	border-top: 1.5px solid var(--cpdp-ink);
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 12px;
}
.cpdp-frame-caption .cpdp-caption-num { color: var(--cpdp-ink-mute); }
.cpdp-frame-caption .cpdp-caption-title {
	color: var(--cpdp-ink);
	font-style: italic;
	font-family: var(--cpdp-font-display);
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: 0.04em;
	text-transform: none;
}
.cpdp-frame-caption .cpdp-caption-meta {
	width: 100%;
	margin-top: 4px;
	opacity: 0.75;
	font-size: 9.5px;
}

@media (min-width: 900px) {
	.cpdp-hero { grid-template-columns: 1fr 1.05fr; }
	.cpdp-hero-right { justify-self: end; }
	.cpdp-hero-headline { font-size: clamp(64px, 9vw, 124px); }
}

/* ==========================================================================
   2 · SOUND SECTION (dark contrast)
   ========================================================================== */

.cpdp-sound {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-sage-dark);
	color: var(--cpdp-on-dark);
	padding: clamp(80px, 14vw, 140px) clamp(20px, 5vw, 56px);
	position: relative;
	overflow: hidden;
}
.cpdp-sound::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 22% 50%, rgba(212, 168, 58, 0.14), transparent 50%),
		radial-gradient(circle at 78% 78%, rgba(170, 197, 39, 0.20), transparent 50%);
	pointer-events: none;
}
.cpdp-sound-inner {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
}
.cpdp-sound-label {
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--cpdp-turmeric);
	margin-bottom: 24px;
}
.cpdp-sound-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(36px, 6vw, 88px);
	line-height: 0.96;
	letter-spacing: -0.03em;
	color: var(--cpdp-on-dark);
	max-width: 920px;
	margin: 0 auto 32px;
}
.cpdp-sound-headline .cpdp-reg { font-style: normal; font-weight: 400; color: rgba(245, 240, 227, 0.6); }
.cpdp-sound-headline em { color: var(--cpdp-lime); }

.cpdp-waveform {
	display: flex;
	justify-content: center;
	align-items: end;
	gap: 4px;
	height: 120px;
	margin: 56px auto 28px;
	max-width: 720px;
}
.cpdp-waveform .cpdp-bar {
	flex: 1;
	min-width: 3px;
	background: linear-gradient(to top, var(--cpdp-lime), var(--cpdp-turmeric));
	border-radius: 2px;
	animation: cpdp-wave 1.4s ease-in-out infinite;
}
@keyframes cpdp-wave {
	0%, 100% { height: 14%; }
	50%      { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.cpdp-waveform .cpdp-bar { animation: none; height: 50%; }
}

.cpdp-sound-copy {
	font-size: clamp(15px, 1.6vw, 17.5px);
	line-height: 1.65;
	max-width: 640px;
	margin: 0 auto;
	color: rgba(245, 240, 227, 0.78);
}
.cpdp-sound-copy em { color: var(--cpdp-lime); font-style: italic; }

/* ==========================================================================
   2.5 · WHY NOT RAW — Indian-weather safety section (warm bone, rust accent)
   --------------------------------------------------------------------------
   Three-sided narrative: raw is dangerous → cooked-bone splinters →
   dehydration is the only path. Real-world callout cites Saba Azad's
   March 2026 cyclospora hospitalisation. Rust accent for risk framing.
   ========================================================================== */

.cpdp-raw {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-bone);
	padding: clamp(80px, 12vw, 130px) clamp(20px, 5vw, 56px);
	position: relative;
}
.cpdp-raw-inner {
	max-width: 1180px;
	margin: 0 auto;
}
.cpdp-mono-rust { color: var(--cpdp-rust); }

.cpdp-raw-header { margin-bottom: clamp(40px, 5vw, 64px); }
.cpdp-raw-header .cpdp-mono { margin-bottom: 14px; }
.cpdp-raw-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(36px, 6vw, 78px);
	line-height: 0.96;
	letter-spacing: -0.03em;
	color: var(--cpdp-ink);
	max-width: 18ch;
	margin: 0;
}
.cpdp-raw-headline em { font-style: italic; color: var(--cpdp-rust); }

.cpdp-raw-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 56px);
	margin-bottom: clamp(28px, 4vw, 48px);
}

.cpdp-raw-body { max-width: 56ch; }
.cpdp-raw-lede {
	font-family: var(--cpdp-font-display);
	font-weight: 600;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.45;
	color: var(--cpdp-ink);
	margin: 0 0 24px;
}
.cpdp-raw-para {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--cpdp-ink-soft);
	margin: 0 0 18px;
}
.cpdp-raw-body-after {
	max-width: 64ch;
	margin: clamp(28px, 4vw, 48px) auto clamp(40px, 5vw, 64px);
}
.cpdp-raw-body-after .cpdp-raw-para { font-size: 16px; }

/* Pull-quote callout — rust-bordered card with chunky shadow */
.cpdp-raw-callout {
	position: relative;
	background: #fff;
	border: 1.5px solid var(--cpdp-rust);
	border-radius: 8px;
	padding: clamp(24px, 3.5vw, 36px);
	box-shadow: 6px 6px 0 var(--cpdp-rust);
	align-self: start;
}
.cpdp-raw-callout .cpdp-quote-mark {
	width: 40px;
	height: 40px;
	color: var(--cpdp-rust);
	margin-bottom: 14px;
	opacity: 0.9;
}
.cpdp-raw-callout blockquote {
	font-family: var(--cpdp-font-display);
	font-weight: 600;
	font-style: italic;
	font-size: clamp(18px, 2.2vw, 24px);
	line-height: 1.4;
	color: var(--cpdp-ink);
	margin: 0 0 18px;
}
.cpdp-raw-callout blockquote em {
	color: var(--cpdp-rust);
	font-style: italic;
}
.cpdp-raw-callout cite {
	display: block;
	font-style: normal;
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
	line-height: 1.55;
}

/* Stats row */
.cpdp-raw-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	border-top: 2px solid var(--cpdp-ink);
	padding-top: clamp(28px, 4vw, 40px);
}
.cpdp-raw-stat-num {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--cpdp-rust);
	margin-bottom: 10px;
}
.cpdp-raw-stat-label {
	color: var(--cpdp-ink) !important;
	margin: 0 0 8px;
}
.cpdp-raw-stat-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--cpdp-ink-soft);
	margin: 0;
}

@media (min-width: 900px) {
	.cpdp-raw-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; }
	.cpdp-raw-stats { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ==========================================================================
   3 · INGREDIENT SECTION (cream)
   ========================================================================== */

.cpdp-ingredient {
	background: var(--cpdp-cream);
	padding: clamp(100px, 16vw, 160px) clamp(20px, 5vw, 56px);
	position: relative;
	overflow: hidden;
}
.cpdp-ingredient-inner {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}
.cpdp-numeral {
	font-family: var(--cpdp-font-display);
	font-weight: 900;
	font-size: clamp(180px, 32vw, 420px);
	line-height: 0.78;
	letter-spacing: -0.06em;
	color: var(--cpdp-ink);
	position: relative;
}
.cpdp-numeral sup {
	font-size: 0.18em;
	font-weight: 600;
	font-style: italic;
	color: var(--cpdp-lime);
	vertical-align: super;
	margin-left: 8px;
}
.cpdp-numeral-cap {
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
	margin-top: 18px;
}
.cpdp-ingredient-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(34px, 4.6vw, 60px);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--cpdp-ink);
	margin: 0 0 22px;
}
.cpdp-ingredient-headline em { font-style: italic; color: var(--cpdp-lime); }
.cpdp-ingredient-body {
	font-size: clamp(15px, 1.5vw, 17.5px);
	line-height: 1.65;
	color: var(--cpdp-ink-soft);
	margin-bottom: 32px;
	max-width: 52ch;
}
.cpdp-specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 28px;
	border-top: 2px solid var(--cpdp-ink);
	padding-top: 22px;
}
.cpdp-spec { display: flex; flex-direction: column; gap: 4px; }
.cpdp-spec-key {
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
}
.cpdp-spec-val {
	font-family: var(--cpdp-font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--cpdp-ink);
}

@media (min-width: 900px) {
	.cpdp-ingredient-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* ==========================================================================
   3.25 · PROCESS — "How we make it" 4-step brutalist cards (warm bone)
   ========================================================================== */

.cpdp-process {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-bone);
	padding: clamp(80px, 12vw, 130px) clamp(20px, 5vw, 56px);
}
.cpdp-process-header {
	max-width: 920px;
	margin: 0 auto clamp(48px, 7vw, 80px);
	text-align: center;
}
.cpdp-process-header .cpdp-mono { color: var(--cpdp-rust); margin-bottom: 14px; }
.cpdp-process-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(32px, 5vw, 60px);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--cpdp-ink);
	margin: 0;
}
.cpdp-process-headline em { font-style: italic; color: var(--cpdp-lime); }

.cpdp-process-grid {
	max-width: 1160px;
	margin: 0 auto;
	display: grid;
	gap: 28px;
	grid-template-columns: 1fr;
}
.cpdp-process-card {
	background: #fff;
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 8px;
	padding: clamp(24px, 3vw, 36px);
	box-shadow: 6px 6px 0 var(--cpdp-ink);
	transition: transform 0.3s var(--cpdp-ease), box-shadow 0.3s var(--cpdp-ease);
}
.cpdp-process-card:hover {
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 var(--cpdp-ink);
}
.cpdp-process-num {
	display: block;
	font-family: var(--cpdp-font-display);
	font-weight: 900;
	font-style: italic;
	font-size: clamp(48px, 6vw, 72px);
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: var(--cpdp-lime);
	margin-bottom: 6px;
}
.cpdp-process-step-label {
	color: var(--cpdp-rust);
	margin: 0 0 10px;
}
.cpdp-process-title {
	font-family: var(--cpdp-font-display);
	font-weight: 700;
	font-size: clamp(20px, 2.4vw, 26px);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--cpdp-ink);
	margin: 0 0 14px;
}
.cpdp-process-body {
	font-size: 15px;
	line-height: 1.65;
	color: var(--cpdp-ink-soft);
}

@media (min-width: 800px) {
	.cpdp-process-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ==========================================================================
   3.5 · GALLERY — brutalist polaroid scroll-strip (mint pastel)
   ========================================================================== */

.cpdp-gallery {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: #ffffff;
	padding: clamp(80px, 12vw, 120px) 0 clamp(96px, 14vw, 140px);
	overflow: hidden;
	position: relative;
}
.cpdp-gallery-header {
	max-width: 1100px;
	margin: 0 auto clamp(40px, 6vw, 64px);
	padding: 0 clamp(20px, 5vw, 56px);
	text-align: center;
}
.cpdp-gallery-header .cpdp-mono { color: var(--cpdp-sage-dark); margin-bottom: 14px; }
.cpdp-gallery-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(32px, 5vw, 60px);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--cpdp-ink);
	margin: 0;
}
.cpdp-gallery-headline em { font-style: italic; color: var(--cpdp-lime); }

.cpdp-gallery-track-wrapper { position: relative; }

.cpdp-gallery-track {
	display: flex;
	gap: clamp(28px, 4vw, 44px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 12px clamp(20px, 5vw, 56px) 28px;
	scroll-padding-left: clamp(20px, 5vw, 56px);
	scrollbar-width: none;
}
.cpdp-gallery-track::-webkit-scrollbar { display: none; }

/* Desktop scroll arrows — mobile uses native touch swipe so they're hidden there.
   Brutalist style matches the polaroid cards. */
.cpdp-gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px; height: 52px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid var(--cpdp-ink);
	box-shadow: 4px 4px 0 var(--cpdp-ink);
	color: var(--cpdp-ink);
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 5;
	transition: box-shadow 0.18s var(--cpdp-ease), opacity 0.2s, transform 0.15s;
	-webkit-tap-highlight-color: transparent;
}
.cpdp-gallery-arrow:hover {
	box-shadow: 6px 6px 0 var(--cpdp-ink);
	transform: translateY(-50%) translate(-2px, -2px);
}
.cpdp-gallery-arrow:active {
	box-shadow: 2px 2px 0 var(--cpdp-ink);
	transform: translateY(-50%) translate(2px, 2px);
}
.cpdp-gallery-arrow svg { width: 22px; height: 22px; }
.cpdp-gallery-arrow--prev { left: clamp(8px, 2vw, 24px); }
.cpdp-gallery-arrow--next { right: clamp(8px, 2vw, 24px); }
.cpdp-gallery-arrow.is-disabled { opacity: 0.25; pointer-events: none; }

@media (min-width: 768px) {
	.cpdp-gallery-arrow { display: inline-flex; }
}

.cpdp-polaroid {
	flex: 0 0 280px;
	scroll-snap-align: start;
	background: #fff;
	border: 1.5px solid var(--cpdp-ink);
	padding: 14px 14px 18px;
	border-radius: 4px;
	box-shadow: 8px 8px 0 var(--cpdp-ink);
	transform: rotate(var(--cpdp-tilt, 0deg));
	transition: transform 0.35s var(--cpdp-ease), box-shadow 0.35s var(--cpdp-ease);
}
.cpdp-polaroid:hover {
	transform: rotate(0deg) translateY(-4px);
	box-shadow: 12px 12px 0 var(--cpdp-ink);
}
@media (prefers-reduced-motion: reduce) {
	.cpdp-polaroid { transform: rotate(0deg); transition: none; }
	.cpdp-polaroid:hover { transform: rotate(0deg); }
}
.cpdp-polaroid-img {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 1px solid var(--cpdp-rule);
	margin-bottom: 14px;
	background: var(--cpdp-mist);
}
.cpdp-polaroid-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cpdp-polaroid-caption {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0 4px;
}
.cpdp-polaroid-num {
	font-family: var(--cpdp-font-mono);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cpdp-rust);
}
.cpdp-polaroid-title {
	font-family: var(--cpdp-font-display);
	font-style: italic;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.01em;
	color: var(--cpdp-ink);
	line-height: 1.3;
}

@media (min-width: 900px) {
	.cpdp-polaroid { flex-basis: 320px; padding: 16px 16px 20px; }
}

/* ==========================================================================
   4 · NUTRITION (lavender pastel + marquee + stats grid)
   ========================================================================== */

.cpdp-nutrition {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-lavender-deep);
	color: var(--cpdp-ink);
	padding: clamp(80px, 12vw, 120px) 0;
	overflow: hidden;
}
.cpdp-marquee {
	display: flex;
	/* width:max-content prevents the flex container from being clamped to
	   the parent's 100vw and lets translateX(-50%) actually slide half the
	   natural strip width. Without this, narrow viewports shrunk the
	   children and the animation looked frozen. */
	width: max-content;
	animation: cpdp-marquee 38s linear infinite;
	font-family: var(--cpdp-font-display);
	font-style: italic;
	font-weight: 800;
	font-size: clamp(40px, 7vw, 84px);
	letter-spacing: -0.02em;
	white-space: nowrap;
	margin-bottom: clamp(48px, 7vw, 80px);
	color: var(--cpdp-ink);
	will-change: transform;
}
.cpdp-marquee span {
	flex-shrink: 0; /* keep natural width — never squeeze to fit parent */
	padding: 0 32px;
	display: inline-flex;
	align-items: center;
}
.cpdp-marquee span::after {
	content: '';
	display: inline-block;
	width: 14px; height: 14px;
	background: var(--cpdp-lime);
	border-radius: 50%;
	margin-left: 32px;
}
@keyframes cpdp-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.cpdp-marquee { animation: none; }
}

.cpdp-stats {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border-top: 1.5px solid rgba(31, 42, 20, 0.18);
	border-bottom: 1.5px solid rgba(31, 42, 20, 0.18);
}
.cpdp-stat {
	padding: 32px 24px;
	border-right: 1.5px solid rgba(31, 42, 20, 0.18);
	border-bottom: 1.5px solid rgba(31, 42, 20, 0.18);
}
.cpdp-stat:nth-child(2n) { border-right: none; }
.cpdp-stat:nth-last-child(-n+2) { border-bottom: none; }
.cpdp-stat-num {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(48px, 7vw, 76px);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--cpdp-lime);
	margin-bottom: 12px;
}
.cpdp-stat-num sup { font-size: 0.4em; vertical-align: super; opacity: 0.8; color: var(--cpdp-sage-dark); margin-left: 2px; }
.cpdp-stat-lbl {
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cpdp-ink-soft);
	margin-bottom: 8px;
}
.cpdp-stat-desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--cpdp-ink-soft);
}

@media (min-width: 900px) {
	.cpdp-stats { grid-template-columns: repeat(4, 1fr); }
	.cpdp-stat { border-right: 1.5px solid rgba(31, 42, 20, 0.18); border-bottom: none; padding: 40px 28px; }
	.cpdp-stat:last-child { border-right: none; }
}

/* ==========================================================================
   5 · DOG REVIEW CARDS (peach pastel)
   ========================================================================== */

.cpdp-dogs {
	background: var(--cpdp-peach);
	padding: clamp(100px, 14vw, 160px) clamp(20px, 5vw, 56px);
	width: 100vw;
	margin-left: calc(50% - 50vw);
}
.cpdp-dogs-inner {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
}
.cpdp-dogs-label {
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--cpdp-rust);
	margin-bottom: 18px;
}
.cpdp-dogs-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(36px, 5.6vw, 80px);
	line-height: 0.96;
	letter-spacing: -0.03em;
	color: var(--cpdp-ink);
	margin: 0 auto 56px;
	max-width: 900px;
}
.cpdp-dogs-headline em { font-style: italic; color: var(--cpdp-lime); }

.cpdp-dog-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	max-width: 900px;
	margin: 0 auto;
	text-align: left;
}
.cpdp-dog-card {
	background: var(--cpdp-cream);
	border: 1.5px solid var(--cpdp-ink);
	padding: 28px;
	border-radius: 8px;
	box-shadow: 6px 6px 0 var(--cpdp-ink);
	transition: transform 0.25s var(--cpdp-ease), box-shadow 0.25s var(--cpdp-ease);
}
.cpdp-dog-card:hover {
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 var(--cpdp-ink);
}
.cpdp-dog-name {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-style: italic;
	font-size: 38px;
	color: var(--cpdp-lime);
	line-height: 1;
	margin: 0 0 6px;
}
.cpdp-dog-meta {
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
	margin: 0 0 16px;
}
.cpdp-dog-quote {
	font-family: var(--cpdp-font-display);
	font-size: 19px;
	line-height: 1.4;
	color: var(--cpdp-ink);
	margin: 0 0 16px;
}
.cpdp-dog-stars {
	color: var(--cpdp-turmeric);
	font-size: 18px;
	letter-spacing: 4px;
}

@media (min-width: 800px) { .cpdp-dog-cards { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   6 · FAQ (cream-buttery)
   ========================================================================== */

.cpdp-faq {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-cream-deep);
	padding: clamp(80px, 12vw, 120px) clamp(20px, 5vw, 56px);
}
.cpdp-faq-header {
	max-width: 820px;
	margin: 0 auto clamp(36px, 5vw, 56px);
	text-align: center;
}
.cpdp-faq-eyebrow {
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--cpdp-rust);
	margin-bottom: 18px;
}
.cpdp-faq-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(32px, 5vw, 56px);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--cpdp-ink);
}
.cpdp-faq-headline em { font-style: italic; color: var(--cpdp-lime); }

.cpdp-faq-list {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
}
.cpdp-faq-item {
	border-bottom: 1.5px solid var(--cpdp-ink);
}
.cpdp-faq-item:first-child { border-top: 1.5px solid var(--cpdp-ink); }
.cpdp-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 4px;
	cursor: pointer;
	list-style: none;
	-webkit-tap-highlight-color: transparent;
}
.cpdp-faq-item summary::-webkit-details-marker { display: none; }
.cpdp-faq-q {
	font-family: var(--cpdp-font-display);
	font-weight: 700;
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.3;
	color: var(--cpdp-ink);
	flex: 1;
}
.cpdp-faq-icon {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--cpdp-ink);
	color: var(--cpdp-on-dark);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.4s var(--cpdp-ease), background 0.25s;
}
.cpdp-faq-icon svg { width: 16px; height: 16px; }
.cpdp-faq-item[open] .cpdp-faq-icon {
	transform: rotate(180deg);
	background: var(--cpdp-lime);
	color: var(--cpdp-ink);
}
.cpdp-faq-a { padding: 0 4px 24px; max-width: 70ch; }
.cpdp-faq-a p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--cpdp-ink-soft);
	margin: 0;
}

/* ==========================================================================
   6.5 · SUBSCRIBE — "Why monthly" pitch (warm bone, brutalist tile)
   ========================================================================== */

.cpdp-subscribe {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-bone);
	padding: clamp(80px, 12vw, 120px) clamp(20px, 5vw, 56px);
}
.cpdp-subscribe-inner {
	max-width: 1100px;
	margin: 0 auto;
	background: var(--cpdp-cream);
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 14px;
	box-shadow: 8px 8px 0 var(--cpdp-ink);
	padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
	display: grid;
	gap: clamp(28px, 4vw, 48px);
	grid-template-columns: 1fr;
}
.cpdp-subscribe-inner header .cpdp-mono { color: var(--cpdp-rust); margin-bottom: 14px; }
.cpdp-subscribe-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(28px, 4.4vw, 50px);
	line-height: 1.04;
	letter-spacing: -0.025em;
	margin: 0;
	max-width: 14ch;
}
.cpdp-subscribe-headline em { font-style: italic; color: var(--cpdp-lime); }

.cpdp-subscribe-copy {
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.65;
	color: var(--cpdp-ink-soft);
	margin: 0 0 28px;
	max-width: 56ch;
}
.cpdp-subscribe-bullets {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.cpdp-subscribe-bullets li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.cpdp-subscribe-bullets svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--cpdp-lime);
	margin-top: 2px;
}
.cpdp-subscribe-bullets strong {
	display: block;
	font-family: var(--cpdp-font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--cpdp-ink);
	letter-spacing: -0.005em;
}
.cpdp-subscribe-bullets span {
	display: block;
	font-size: 14px;
	color: var(--cpdp-ink-mute);
	margin-top: 2px;
}

.cpdp-subscribe-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--cpdp-ink);
	color: var(--cpdp-on-dark);
	padding: 18px 30px;
	border: 0;
	border-radius: 999px;
	font-family: var(--cpdp-font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 0 var(--cpdp-sage-dark);
	transition: transform 0.15s, box-shadow 0.15s;
	width: fit-content;
	-webkit-tap-highlight-color: transparent;
}
.cpdp-subscribe-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--cpdp-sage-dark); }
.cpdp-subscribe-btn:active { transform: translateY(6px); box-shadow: 0 0 0 var(--cpdp-sage-dark); }
.cpdp-subscribe-btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.cpdp-subscribe-btn:hover svg { transform: translateX(4px); }

@media (min-width: 800px) {
	.cpdp-subscribe-inner { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

/* ==========================================================================
   7 · FINAL CTA (chartreuse pop)
   ========================================================================== */

.cpdp-cta {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-lime);
	color: var(--cpdp-ink);
	padding: clamp(120px, 17vw, 200px) clamp(20px, 5vw, 56px);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.cpdp-cta::before {
	content: '';
	position: absolute;
	inset: -10%;
	background: radial-gradient(circle at center, rgba(253, 250, 243, 0.5), transparent 60%);
	animation: cpdp-breathe 6s ease-in-out infinite;
	pointer-events: none;
}
@keyframes cpdp-breathe {
	0%, 100% { transform: scale(1); opacity: 0.7; }
	50%      { transform: scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .cpdp-cta::before { animation: none; } }

.cpdp-cta-inner {
	position: relative;
	z-index: 2;
	max-width: 920px;
	margin: 0 auto;
}
.cpdp-cta-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 900;
	font-size: clamp(48px, 8vw, 116px);
	line-height: 0.92;
	letter-spacing: -0.04em;
	color: var(--cpdp-ink);
	margin: 0 0 clamp(36px, 5vw, 56px);
}
.cpdp-cta-headline em { font-style: italic; color: var(--cpdp-cream); }
.cpdp-cta-sub {
	font-size: clamp(16px, 1.7vw, 19px);
	line-height: 1.6;
	max-width: 580px;
	margin: 0 auto clamp(48px, 6vw, 64px);
	color: var(--cpdp-sage-dark);
	opacity: 0.92;
}

.cpdp-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--cpdp-ink);
	color: var(--cpdp-on-dark);
	padding: 22px 36px;
	border: 0;
	border-radius: 999px;
	font-family: var(--cpdp-font-mono);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 0 #000;
	transition: transform 0.15s, box-shadow 0.15s;
	-webkit-tap-highlight-color: transparent;
}
.cpdp-cta-btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 #000; }
.cpdp-cta-btn:active { transform: translateY(6px); box-shadow: 0 0 0 #000; }
.cpdp-cta-btn svg { width: 14px; height: 14px; transition: transform 0.2s; }
.cpdp-cta-btn:hover svg { transform: translateX(4px); }

/* ==========================================================================
   STICKY MOBILE ATC
   ========================================================================== */

.cpdp-sticky {
	position: fixed;
	left: 0; right: 0;
	bottom: 0;
	z-index: 9989;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: rgba(31, 42, 20, 0.96);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transform: translateY(110%);
	transition: transform 0.45s var(--cpdp-ease-out);
	pointer-events: none;
	border-top: 1px solid rgba(245, 240, 227, 0.1);
}
.cpdp-sticky.is-visible {
	transform: none;
	pointer-events: auto;
}
.cpdp-sticky-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 720px;
	margin: 0 auto;
}
.cpdp-sticky-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cpdp-sticky-name {
	font-family: var(--cpdp-font-display);
	font-style: italic;
	font-size: 14px;
	font-weight: 700;
	color: var(--cpdp-on-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cpdp-sticky-price {
	font-family: var(--cpdp-font-mono);
	font-size: 12px;
	color: var(--cpdp-lime);
	font-weight: 500;
	letter-spacing: 0.06em;
}
.cpdp-sticky-price del { color: rgba(245, 240, 227, 0.5); font-weight: 400; font-size: 10px; }
.cpdp-sticky-price ins { text-decoration: none; }

.cpdp-sticky-btn {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background: var(--cpdp-lime);
	color: var(--cpdp-ink);
	border: 0;
	border-radius: 999px;
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 4px 0 var(--cpdp-sage-dark);
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: transform 0.15s, box-shadow 0.15s;
}
.cpdp-sticky-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cpdp-sage-dark); }
.cpdp-sticky-btn svg.cpdp-sticky-arrow,
.cpdp-sticky-btn > svg { width: 12px; height: 12px; }
/* Defensive: hide any loader / spinner element WooCommerce or peeboo tries
   to inject inside the sticky button (we never apply a loading state to it
   ourselves). Covers `.loader`, `.spinner`, `.wc-spinner`, and the WC
   ajax-add-to-cart `.added_to_cart` checkmark which sometimes appears next
   to a button after a successful AJAX add. */
.cpdp-sticky-btn .loader,
.cpdp-sticky-btn .spinner,
.cpdp-sticky-btn .wc-spinner,
.cpdp-sticky-btn .loading-spinner,
.cpdp-sticky-btn .added_to_cart,
.cpdp-sticky-btn.loading,
.cpdp-sticky-btn.is-loading,
.cpdp-sticky-btn[data-loading] {
	animation: none !important;
	background-image: none !important;
}
.cpdp-sticky-btn .loader,
.cpdp-sticky-btn .spinner,
.cpdp-sticky-btn .wc-spinner,
.cpdp-sticky-btn .loading-spinner,
.cpdp-sticky-btn .added_to_cart {
	display: none !important;
}

/* Sticky bar sits above DFC cart trigger and reserves room at the bottom of
   the page. Applies across breakpoints so the desktop sticky doesn't overlap
   the final CTA / footer. */
body.cpdp-active.cpdp-sticky-visible .dfc-cart-trigger { bottom: 92px !important; }
body.cpdp-active { padding-bottom: 92px; }

/* ==========================================================================
   GROOMING TEMPLATE — heritage, ingredient spotlight, before/after, how-to-use
   --------------------------------------------------------------------------
   The cinematic template forks: treats use the editorial-zine sections above;
   grooming uses these. Shared partials (gallery, faq, subscribe, cta, sticky)
   work for both. Body class .cpdp-main--grooming exists if a section needs
   grooming-specific tweaks of a shared style.
   ========================================================================== */

/* HERITAGE — Tree of Life educational anchor */
.cpdp-heritage {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-bone);
	padding: clamp(80px, 12vw, 130px) clamp(20px, 5vw, 56px);
	position: relative;
}
.cpdp-heritage-inner { max-width: 1180px; margin: 0 auto; }
.cpdp-heritage-header { margin-bottom: clamp(40px, 6vw, 64px); max-width: 720px; }
.cpdp-heritage-header .cpdp-mono { margin-bottom: 14px; }
.cpdp-heritage-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(36px, 6vw, 76px);
	line-height: 0.98;
	letter-spacing: -0.03em;
	color: var(--cpdp-ink);
	margin: 0;
}
.cpdp-heritage-headline em { font-style: italic; color: var(--cpdp-rust); }

.cpdp-heritage-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(36px, 5vw, 64px);
}
.cpdp-heritage-body { max-width: 56ch; }
.cpdp-heritage-lede {
	font-family: var(--cpdp-font-display);
	font-weight: 600;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.45;
	color: var(--cpdp-ink);
	margin: 0 0 24px;
}
.cpdp-heritage-para {
	font-size: 16px;
	line-height: 1.7;
	color: var(--cpdp-ink-soft);
	margin: 0 0 18px;
}
.cpdp-heritage-stats {
	display: flex;
	flex-direction: column;
	gap: 28px;
	border-left: 2px solid var(--cpdp-ink);
	padding-left: clamp(20px, 3vw, 32px);
}
.cpdp-heritage-stat-num {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--cpdp-rust);
	margin-bottom: 8px;
}
.cpdp-heritage-stat-label { color: var(--cpdp-ink) !important; margin: 0 0 6px; }
.cpdp-heritage-stat-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--cpdp-ink-soft);
	margin: 0;
}
@media (min-width: 900px) {
	.cpdp-heritage-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}

/* INGREDIENTS SPOTLIGHT — variable-count card grid */
.cpdp-ingredients {
	background: var(--cpdp-cream);
	padding: clamp(80px, 12vw, 130px) clamp(20px, 5vw, 56px);
}
.cpdp-ingredients-inner { max-width: 1180px; margin: 0 auto; }
.cpdp-ingredients-header { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.cpdp-ingredients-header .cpdp-mono { margin-bottom: 14px; }
.cpdp-ingredients-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(32px, 5vw, 60px);
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--cpdp-ink);
	margin: 0 0 18px;
}
.cpdp-ingredients-headline em { font-style: italic; color: var(--cpdp-lime); }
.cpdp-ingredients-lede {
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.65;
	color: var(--cpdp-ink-soft);
	margin: 0;
}

.cpdp-ing-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}
.cpdp-ing-card {
	background: #fff;
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 8px;
	padding: clamp(20px, 2.5vw, 32px);
	box-shadow: 6px 6px 0 var(--cpdp-ink);
	transition: transform 0.3s var(--cpdp-ease), box-shadow 0.3s var(--cpdp-ease);
}
.cpdp-ing-card:hover {
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 var(--cpdp-ink);
}
.cpdp-ing-card--hero {
	background: linear-gradient(135deg, var(--cpdp-cream-deep), var(--cpdp-bone));
	box-shadow: 8px 8px 0 var(--cpdp-lime);
}
.cpdp-ing-card--hero:hover { box-shadow: 11px 11px 0 var(--cpdp-lime); }
.cpdp-ing-card-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 12px;
}
.cpdp-ing-num {
	font-family: var(--cpdp-font-display);
	font-weight: 900;
	font-style: italic;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1;
	color: var(--cpdp-lime);
	letter-spacing: -0.02em;
}
.cpdp-ing-role {
	color: var(--cpdp-rust) !important;
}
.cpdp-ing-name {
	font-family: var(--cpdp-font-display);
	font-weight: 700;
	font-size: clamp(20px, 2.4vw, 26px);
	line-height: 1.15;
	color: var(--cpdp-ink);
	margin: 0 0 14px;
}
.cpdp-ing-latin {
	display: block;
	font-family: var(--cpdp-font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 0.65em;
	color: var(--cpdp-ink-mute);
	margin-top: 2px;
}
.cpdp-ing-body {
	font-size: 15px;
	line-height: 1.65;
	color: var(--cpdp-ink-soft);
	margin: 0;
}
@media (min-width: 700px) {
	.cpdp-ing-grid--4,
	.cpdp-ing-grid--6 { grid-template-columns: 1fr 1fr; gap: 28px; }
	.cpdp-ing-card--hero { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
	.cpdp-ing-grid--6 { grid-template-columns: repeat(3, 1fr); }
	.cpdp-ing-grid--6 .cpdp-ing-card--hero { grid-column: 1 / -1; }
}

/* BEFORE / AFTER — paired polaroid result cards */
.cpdp-ba {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-peach);
	padding: clamp(80px, 12vw, 130px) clamp(20px, 5vw, 56px);
}
.cpdp-ba-inner { max-width: 1180px; margin: 0 auto; }
.cpdp-ba-header { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.cpdp-ba-header .cpdp-mono { margin-bottom: 14px; }
.cpdp-ba-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(32px, 5vw, 60px);
	line-height: 1;
	margin: 0 0 14px;
	letter-spacing: -0.025em;
}
.cpdp-ba-headline em { font-style: italic; color: var(--cpdp-rust); }
.cpdp-ba-lede {
	font-size: 15px;
	line-height: 1.6;
	color: var(--cpdp-ink-soft);
	margin: 0;
}

.cpdp-ba-grid {
	display: grid;
	gap: clamp(40px, 6vw, 80px);
	grid-template-columns: 1fr;
}
.cpdp-ba-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	position: relative;
}
.cpdp-ba-card {
	background: #fff;
	border: 1.5px solid var(--cpdp-ink);
	padding: 12px 12px 16px;
	border-radius: 4px;
	box-shadow: 6px 6px 0 var(--cpdp-ink);
	transform: rotate(var(--cpdp-tilt, 0deg));
	transition: transform 0.3s var(--cpdp-ease);
}
.cpdp-ba-card:hover { transform: rotate(0deg) translateY(-3px); }
.cpdp-ba-card--after { box-shadow: 6px 6px 0 var(--cpdp-rust); }
.cpdp-ba-card--after:hover { transform: rotate(0deg) translateY(-3px); }

.cpdp-ba-label {
	display: block;
	font-size: 9.5px !important;
	letter-spacing: 0.18em !important;
	color: var(--cpdp-ink-mute) !important;
	margin-bottom: 8px;
}
.cpdp-ba-label--after { color: var(--cpdp-rust) !important; font-weight: 600 !important; }
.cpdp-ba-card img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 1px solid var(--cpdp-rule);
	background: var(--cpdp-mist);
}
.cpdp-ba-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--cpdp-rule);
	color: var(--cpdp-ink-mute);
}
.cpdp-ba-placeholder--after { border-color: rgba(184, 123, 74, 0.35); }
.cpdp-ba-caption {
	grid-column: 1 / -1;
	text-align: center;
	margin-top: 14px;
	font-family: var(--cpdp-font-mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	line-height: 1.55;
	color: var(--cpdp-ink-soft);
}
.cpdp-ba-caption strong {
	display: block;
	font-family: var(--cpdp-font-display);
	font-style: italic;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: 0;
	color: var(--cpdp-ink);
	margin-bottom: 6px;
	text-transform: none;
}
.cpdp-ba-caption span {
	display: block;
	color: var(--cpdp-ink-mute);
}
@media (min-width: 900px) {
	.cpdp-ba-grid { grid-template-columns: 1fr 1fr; gap: 60px 40px; }
}

/* HOW TO USE — application routine cards */
.cpdp-htu {
	background: var(--cpdp-cream);
	padding: clamp(80px, 12vw, 120px) clamp(20px, 5vw, 56px);
}
.cpdp-htu-inner { max-width: 1180px; margin: 0 auto; }
.cpdp-htu-header { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.cpdp-htu-header .cpdp-mono { margin-bottom: 14px; color: var(--cpdp-rust); }
.cpdp-htu-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 800;
	font-size: clamp(32px, 5vw, 60px);
	line-height: 1;
	letter-spacing: -0.025em;
	margin: 0;
}
.cpdp-htu-headline em { font-style: italic; color: var(--cpdp-lime); }

.cpdp-htu-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}
.cpdp-htu-card {
	background: #fff;
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 8px;
	padding: clamp(20px, 2.5vw, 32px);
	box-shadow: 4px 4px 0 var(--cpdp-ink);
	transition: transform 0.25s var(--cpdp-ease), box-shadow 0.25s var(--cpdp-ease);
}
.cpdp-htu-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--cpdp-ink); }
.cpdp-htu-icon {
	font-size: 32px;
	line-height: 1;
	margin-bottom: 10px;
}
.cpdp-htu-when { color: var(--cpdp-rust) !important; margin: 0 0 8px; }
.cpdp-htu-title {
	font-family: var(--cpdp-font-display);
	font-weight: 700;
	font-size: 19px;
	line-height: 1.2;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}
.cpdp-htu-body {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--cpdp-ink-soft);
	margin: 0;
}

.cpdp-htu-tip {
	margin-top: clamp(32px, 4vw, 48px);
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	padding: 22px 26px;
	background: var(--cpdp-bone);
	border-left: 4px solid var(--cpdp-lime);
	border-radius: 0 8px 8px 0;
}
.cpdp-htu-tip .cpdp-mono {
	color: var(--cpdp-sage-dark);
	margin-bottom: 8px;
}
.cpdp-htu-tip p {
	font-family: var(--cpdp-font-display);
	font-style: italic;
	font-size: 16px;
	line-height: 1.55;
	color: var(--cpdp-ink);
	margin: 0;
}

@media (min-width: 700px) {
	.cpdp-htu-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (min-width: 1100px) {
	.cpdp-htu-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ==========================================================================
   THEME OVERRIDE — kill any inherited button-spinner pseudo-elements
   peeboo (parent theme) and WC inject a rotating loader via ::after on
   .single_add_to_cart_button. Our brutalist buttons convey state via
   background/text changes; the spinner clashed. The pulse-dot pseudo lives
   on `.cpdp-atc-label::before`, not on the button itself, so it survives.
   ========================================================================== */
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc::before,
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc::after,
body.cpdp-active .cpdp-sticky-btn::before,
body.cpdp-active .cpdp-sticky-btn::after,
body.cpdp-active .cpdp-cta-btn::before,
body.cpdp-active .cpdp-cta-btn::after,
body.cpdp-active .cpdp-subscribe-btn::before,
body.cpdp-active .cpdp-subscribe-btn::after {
	content: none !important;
	display: none !important;
	border: none !important;
	background: none !important;
	animation: none !important;
}

/* ==========================================================================
   MOBILE — marquee tuning
   --------------------------------------------------------------------------
   Animation works on every screen now (see width:max-content + flex-shrink:0
   on .cpdp-marquee/.cpdp-marquee span). On narrow viewports the words are
   bigger relative to the screen so we tighten size + speed up the cadence
   for a more lively rhythm.
   ========================================================================== */
@media (max-width: 768px) {
	.cpdp-marquee {
		animation-duration: 22s;
		font-size: clamp(36px, 10vw, 52px);
	}
	.cpdp-marquee span { padding: 0 22px; }
	.cpdp-marquee span::after { width: 10px; height: 10px; margin-left: 22px; }
}

/* ==========================================================================
   v3.6.0 — VISUAL CINEMA: image-driven sections
   ========================================================================== */

/* ---- Heritage background plate ---- */
body.cpdp-active .cpdp-heritage--has-bg { position: relative; isolation: isolate; }
body.cpdp-active .cpdp-heritage-bg {
	position: absolute; inset: 0;
	z-index: -1;
	overflow: hidden;
}
body.cpdp-active .cpdp-heritage-bg img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.05);
}
body.cpdp-active .cpdp-heritage-bg-veil {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(247,243,235,0.92) 0%, rgba(247,243,235,0.78) 50%, rgba(247,243,235,0.95) 100%),
		repeating-linear-gradient(0deg, rgba(31,42,20,0.04) 0px, rgba(31,42,20,0.04) 1px, transparent 1px, transparent 4px);
}
body.cpdp-active .cpdp-heritage--has-bg .cpdp-heritage-headline,
body.cpdp-active .cpdp-heritage--has-bg .cpdp-heritage-para,
body.cpdp-active .cpdp-heritage--has-bg .cpdp-heritage-lede {
	text-shadow: 0 1px 0 rgba(247,243,235,0.7);
}

/* ---- Ingredient cards: polaroid image above copy ---- */
body.cpdp-active .cpdp-ing-card-img {
	display: block;
	margin: 0 auto var(--cpdp-space-4, 1rem);
	width: 100%;
	max-width: 320px;
	aspect-ratio: 1 / 1;
	background: var(--cpdp-cream, #f7f3eb);
	padding: 10px 10px 24px;
	border: 2px solid var(--cpdp-ink, #1f2a14);
	box-shadow: 6px 6px 0 var(--cpdp-ink, #1f2a14);
	transform: rotate(var(--cpdp-tilt, 0deg));
	transition: transform 0.3s ease;
}
body.cpdp-active .cpdp-ing-card-img img {
	display: block;
	width: 100%; height: 100%;
	object-fit: cover;
}
body.cpdp-active .cpdp-ing-card--has-img:hover .cpdp-ing-card-img { transform: rotate(0deg) scale(1.02); }
body.cpdp-active .cpdp-ing-card--hero.cpdp-ing-card--has-img .cpdp-ing-card-img { max-width: 480px; }

/* ---- Process step image ---- */
body.cpdp-active .cpdp-process-card-img {
	display: block;
	margin: 0 0 var(--cpdp-space-4, 1rem);
	width: 100%;
	aspect-ratio: 4 / 5;
	background: var(--cpdp-cream, #f7f3eb);
	padding: 8px 8px 20px;
	border: 2px solid var(--cpdp-ink, #1f2a14);
	box-shadow: 5px 5px 0 var(--cpdp-ink, #1f2a14);
	transform: rotate(var(--cpdp-tilt, 0deg));
}
body.cpdp-active .cpdp-process-card-img img {
	display: block;
	width: 100%; height: 100%;
	object-fit: cover;
}
@media (max-width: 600px) {
	body.cpdp-active .cpdp-process-card-img { aspect-ratio: 1 / 1; max-width: 280px; margin-inline: auto; }
}

/* ---- Treats single-ingredient image alongside the typographic numeral ---- */
body.cpdp-active .cpdp-ingredient-numeral-col--has-img { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
body.cpdp-active .cpdp-ingredient-img {
	width: 100%;
	max-width: 360px;
	aspect-ratio: 1 / 1;
	background: var(--cpdp-cream, #f7f3eb);
	padding: 10px 10px 24px;
	border: 2px solid var(--cpdp-ink, #1f2a14);
	box-shadow: 7px 7px 0 var(--cpdp-chartreuse, #aac527);
	transform: rotate(-2deg);
}
body.cpdp-active .cpdp-ingredient-img img {
	display: block;
	width: 100%; height: 100%;
	object-fit: cover;
}
body.cpdp-active .cpdp-ingredient-numeral-col--has-img .cpdp-numeral { font-size: clamp(5rem, 12vw, 8rem); line-height: 0.9; }

/* ---- Dog/review card avatar ---- */
body.cpdp-active .cpdp-dog-card-avatar {
	width: 56px; height: 56px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--cpdp-ink, #1f2a14);
	box-shadow: 3px 3px 0 var(--cpdp-ink, #1f2a14);
	margin-bottom: 0.75rem;
}
body.cpdp-active .cpdp-dog-card-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- Variable product hero: tighten spacing of WC's variation form ---- */
body.cpdp-active .cpdp-cart--variable { display: block; margin-top: 1rem; }
body.cpdp-active .cpdp-cart--variable .variations_form { margin: 0; }
body.cpdp-active .cpdp-cart--variable .variations { margin-bottom: 1rem; }
body.cpdp-active .cpdp-cart--variable .single_variation_wrap .woocommerce-variation { margin-bottom: 0.75rem; }
body.cpdp-active .cpdp-ghost--variable { display: inline-block; margin-top: 0.75rem; }

/* ==========================================================================
   v3.7.0 — LIGHT-GREEN PALETTE + REFINED VARIATION SELECTOR
   --------------------------------------------------------------------------
   Goals (from feedback on mobile PDP):
   1. Replace dark-green decorative accents with the homepage's #a2d793 sage,
      keeping the ASMR section as the single dark contrast band.
   2. Style attribute pills + the variable-product cart row so the "Choose
      an option" select no longer renders as a native dropdown.
   3. Fix the mobile layout where qty stepper + ATC button were colliding.
   ========================================================================== */

body.cpdp-active {
	/* — homepage-matched leaf greens (anchor: thedoggos.in #a2d793) — */
	--cpdp-leaf:        #a2d793;
	--cpdp-leaf-deep:   #7fb86a;
	--cpdp-leaf-soft:   #d6ebcb;

	/* — softer headline ink for the hero copy (still AA-readable on cream) — */
	--cpdp-headline:    #2f3d20;
}

/* --------------------------------------------------------------------------
   Lighten the heavy decorative greens. The ASMR section's --cpdp-sage-dark
   stays untouched (intentional dark contrast band); we're only retoning the
   *accent* uses elsewhere on the page.
   -------------------------------------------------------------------------- */

/* Floating bone SVGs — soften their stroke from near-black to leaf. */
body.cpdp-active .cpdp-float use,
body.cpdp-active .cpdp-float [stroke] { stroke: var(--cpdp-leaf-deep) !important; opacity: 0.45; }

/* Hero headline — lighter shade so the wall-of-text feels more airy. */
body.cpdp-active .cpdp-hero-headline { color: var(--cpdp-headline); }

/* ATC simple-product button — keep dark ink fill (CTA contrast) but soften
   the chunky offset shadow from sage-dark to leaf-deep so the button reads
   green-tinted instead of green-black. */
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc {
	box-shadow: 0 8px 0 var(--cpdp-leaf-deep), 0 0 0 0 rgba(170, 197, 39, 0) !important;
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc:hover {
	box-shadow: 0 6px 0 var(--cpdp-leaf-deep), 0 12px 32px rgba(170, 197, 39, 0.35) !important;
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc:active {
	box-shadow: 0 0 0 var(--cpdp-leaf-deep), 0 6px 18px rgba(170, 197, 39, 0.3) !important;
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc.doggos-added {
	box-shadow: 0 8px 0 var(--cpdp-leaf-deep) !important;
}

/* Sticky mobile ATC — recolor the whole bar from near-black ink to a
   cream/white frosted panel with a thin leaf border. Lets the lime button
   stay the visual anchor and matches the homepage's airy palette. The text
   colors flip from "on-dark" tones to ink so the product name is readable. */
body.cpdp-active .cpdp-sticky {
	background: rgba(253, 250, 243, 0.94);  /* cream w/ blur */
	border-top: 1px solid rgba(127, 184, 106, 0.35);
}
body.cpdp-active .cpdp-sticky-name  { color: var(--cpdp-ink); }
body.cpdp-active .cpdp-sticky-price { color: var(--cpdp-leaf-deep); }
body.cpdp-active .cpdp-sticky-price del { color: var(--cpdp-ink-mute); }
body.cpdp-active .cpdp-sticky-btn { box-shadow: 0 4px 0 var(--cpdp-leaf-deep); }
body.cpdp-active .cpdp-sticky-btn:active { box-shadow: 0 1px 0 var(--cpdp-leaf-deep); }

/* Subscribe button (homepage email capture) — same shadow softening. */
body.cpdp-active .cpdp-subscribe-btn          { box-shadow: 0 6px 0 var(--cpdp-leaf-deep); }
body.cpdp-active .cpdp-subscribe-btn:hover    { box-shadow: 0 4px 0 var(--cpdp-leaf-deep); }
body.cpdp-active .cpdp-subscribe-btn:active   { box-shadow: 0 0 0 var(--cpdp-leaf-deep); }

/* Mono kickers using sage-dark — shift to leaf-deep so they read sage rather
   than near-black on the lavender/cream sections. */
body.cpdp-active .cpdp-mono-deep                       { color: var(--cpdp-leaf-deep); }
body.cpdp-active .cpdp-gallery-header .cpdp-mono       { color: var(--cpdp-leaf-deep); }

/* Dispatch chip — was mint-deep + ink. Push it to leaf-soft + leaf-deep so
   it visually keys off the new homepage green instead of the old mint. */
body.cpdp-active .cpdp-dispatch {
	background: var(--cpdp-leaf-soft);
	border-color: rgba(127, 184, 106, 0.35);
}

/* --------------------------------------------------------------------------
   VARIATION PILLS — replaces the native <select> for variable products.
   The hidden <select> is what WC's variations.js reads; pills are the UI.
   -------------------------------------------------------------------------- */

body.cpdp-active .cpdp-variations {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 22px;
	animation: cpdp-fade-up 1s 0.45s both;
}

body.cpdp-active .cpdp-variation { display: flex; flex-direction: column; gap: 10px; }

body.cpdp-active .cpdp-variation-label {
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cpdp-ink-soft);
}

body.cpdp-active .cpdp-pill-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

body.cpdp-active .cpdp-pill {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 22px;
	background: #fff;
	color: var(--cpdp-ink);
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 999px;
	font-family: var(--cpdp-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.18s var(--cpdp-ease), color 0.18s var(--cpdp-ease),
				border-color 0.18s var(--cpdp-ease), transform 0.12s var(--cpdp-ease),
				box-shadow 0.18s var(--cpdp-ease);
}
body.cpdp-active .cpdp-pill:hover {
	background: var(--cpdp-leaf-soft);
	border-color: var(--cpdp-leaf-deep);
}
body.cpdp-active .cpdp-pill:focus-visible {
	outline: 2px solid var(--cpdp-leaf-deep);
	outline-offset: 3px;
}
body.cpdp-active .cpdp-pill.is-active {
	background: var(--cpdp-leaf);
	border-color: var(--cpdp-ink);
	color: var(--cpdp-ink);
	box-shadow: 0 4px 0 var(--cpdp-ink);
	transform: translateY(-2px);
}
body.cpdp-active .cpdp-pill.is-active:hover {
	background: var(--cpdp-leaf-deep);
}

/* The native <select> stays in the DOM for WC's runtime, but we hide it.
   Don't use display:none — some WC scripts read computed styles and skip
   "hidden" controls. The classic SR-only pattern keeps it accessible to
   programmatic value reads while invisible to sighted users. */
body.cpdp-active .cpdp-variation-select {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

/* WC's runtime injects the "Clear selection" link as .reset_variations.
   Style it to match the ghost link rather than the default underline. */
body.cpdp-active .cpdp-reset-variations {
	display: inline-block;
	margin-top: 4px;
	font-family: var(--cpdp-font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 1px;
	align-self: flex-start;
}
body.cpdp-active .cpdp-reset-variations:hover { color: var(--cpdp-leaf-deep); }

/* WC injects price/stock/availability copy here once a variation matches. */
body.cpdp-active .cpdp-cart--variable .single_variation_wrap { display: block; }
body.cpdp-active .cpdp-cart--variable .woocommerce-variation {
	margin: 4px 0 14px;
	font-family: var(--cpdp-font-body);
	font-size: 14px;
	color: var(--cpdp-ink-soft);
}
body.cpdp-active .cpdp-cart--variable .woocommerce-variation:empty { margin: 0; }
body.cpdp-active .cpdp-cart--variable .woocommerce-variation-price .price {
	font-family: var(--cpdp-font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 22px;
	color: var(--cpdp-ink);
}
body.cpdp-active .cpdp-cart--variable .woocommerce-variation-availability { font-size: 12px; }

/* --------------------------------------------------------------------------
   CART ROW — refined desktop + mobile flex behaviour.
   On desktop: qty pill + ATC + ghost link sit on one row.
   On mobile (<= 600px): qty + ATC stay on the same row, ATC stretches to
   fill remaining width with flex:1, ghost link drops below as full-width.
   -------------------------------------------------------------------------- */

body.cpdp-active .cpdp-cart-row {
	align-items: center;
}

/* Tighten the qty pill on small screens so the ATC has more room. */
@media (max-width: 600px) {
	body.cpdp-active .cpdp-cart-row {
		gap: 10px;
	}
	body.cpdp-active .cpdp-qty {
		height: 56px;
		flex: 0 0 auto;
		padding: 3px;
	}
	body.cpdp-active .cpdp-qty-btn {
		width: 36px;
		font-size: 20px;
	}
	body.cpdp-active .cpdp-qty-input {
		width: 32px;
		font-size: 16px;
	}
	body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc {
		flex: 1 1 auto;
		min-width: 0;
		height: 56px;
		padding: 0 22px !important;
		font-size: 12px !important;
		letter-spacing: 0.16em !important;
		justify-content: center;
		gap: 10px;
	}
	body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc .cpdp-atc-arrow {
		width: 14px;
		height: 14px;
	}
	body.cpdp-active .cpdp-ghost {
		flex: 1 0 100%;
		justify-content: flex-start;
		height: auto;
		padding: 8px 0;
		border-bottom: 0;
		font-size: 10.5px;
	}
	/* Pills tap targets on small screens — slightly tighter padding so 3-4
	   pack-size options fit on one line for typical product attributes. */
	body.cpdp-active .cpdp-pill {
		min-height: 44px;
		padding: 8px 18px;
		font-size: 13px;
	}
}

/* Variable form — make sure the variations_button row uses the same flex
   layout as cpdp-cart-row even though it's nested inside single_variation_wrap. */
body.cpdp-active .cpdp-cart--variable .variations_button {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}
@media (max-width: 600px) {
	body.cpdp-active .cpdp-cart--variable .variations_button { gap: 10px; }
}

/* Disabled ATC state for variable products before a selection is made.
   WC adds [disabled] to the button until variations.js validates the combo. */
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc[disabled],
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	box-shadow: 0 4px 0 var(--cpdp-leaf-deep) !important;
	transform: none !important;
}
body.cpdp-active .cpdp-hero .single_add_to_cart_button.cpdp-atc[disabled]:hover {
	transform: none !important;
}

/* ==========================================================================
   REVIEWS — bone-surface "all customer reviews" wall (native WC reviews + form)
   --------------------------------------------------------------------------
   Lower-emphasis sibling to dog-cards (curated featured stories). Renders
   WC's comments_template() output, then heavy-handedly overrides the stock
   chrome with editorial type, rust stars, and flat ink-bordered form fields.
   Every selector prefixed `body.cpdp-active .cpdp-reviews` to prevent bleed
   onto homepage / non-cinematic pages where WC reviews render natively.
   ========================================================================== */

body.cpdp-active .cpdp-reviews {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	background: var(--cpdp-bone);
	padding: clamp(70px, 11vw, 130px) clamp(20px, 5vw, 56px);
	color: var(--cpdp-ink);
}
body.cpdp-active .cpdp-reviews-inner {
	max-width: 920px;
	margin: 0 auto;
}

/* FIG. caption strip — mirrors .cpdp-frame-caption */
body.cpdp-active .cpdp-reviews-fig {
	padding-top: 12px;
	border-top: 1.5px solid var(--cpdp-ink);
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 12px;
}
body.cpdp-active .cpdp-reviews-fignum { color: var(--cpdp-ink-mute); }
body.cpdp-active .cpdp-reviews-figtitle {
	color: var(--cpdp-ink);
	font-style: italic;
	font-family: var(--cpdp-font-display);
	font-weight: 600;
	font-size: 13.5px;
	letter-spacing: 0.04em;
	text-transform: none;
}
body.cpdp-active .cpdp-reviews-figmeta {
	width: 100%;
	margin-top: 4px;
	opacity: 0.75;
	font-size: 9.5px;
}

/* Section headline — Fraunces italic, turmeric squiggle on em accent */
body.cpdp-active .cpdp-reviews-headline {
	font-family: var(--cpdp-font-display);
	font-weight: 600;
	font-style: italic;
	font-size: clamp(36px, 5.5vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--cpdp-ink);
	margin: 28px 0 56px;
	max-width: 18ch;
}
body.cpdp-active .cpdp-reviews-headline em {
	font-style: italic;
	color: var(--cpdp-rust);
	position: relative;
	display: inline-block;
}
body.cpdp-active .cpdp-reviews-headline em::after {
	content: '';
	position: absolute;
	left: 0; right: 0;
	bottom: 0.04em;
	height: 0.16em;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'><path d='M2 10 Q 50 2 100 8 T 198 6' stroke='%23d4a83a' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") no-repeat;
	background-size: 100% 100%;
	z-index: -1;
}

/* Order-context pill */
body.cpdp-active .cpdp-reviews-order-pill {
	display: inline-flex;
	align-items: center;
	margin-bottom: 24px;
	padding: 8px 14px;
	background: var(--cpdp-sage-dark);
	color: var(--cpdp-on-dark);
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Empty-state nudge */
body.cpdp-active .cpdp-reviews-empty {
	margin-bottom: 32px;
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
	font-style: italic;
}

/* WC native review list ----------------------------------------------------*/

body.cpdp-active .cpdp-reviews #reviews,
body.cpdp-active .cpdp-reviews #comments { padding: 0; margin: 0; }
body.cpdp-active .cpdp-reviews #comments > h2,
body.cpdp-active .cpdp-reviews #comments > h3 { display: none; } /* WC's "N reviews for X" — we have our own headline */
body.cpdp-active .cpdp-reviews .commentlist {
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
}
body.cpdp-active .cpdp-reviews .commentlist > li.comment,
body.cpdp-active .cpdp-reviews .commentlist > li.review {
	list-style: none;
	padding: 28px 0 0;
	margin-top: 28px;
	border-top: 1px solid var(--cpdp-rule);
}
body.cpdp-active .cpdp-reviews .commentlist > li.comment:first-child,
body.cpdp-active .cpdp-reviews .commentlist > li.review:first-child {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}
body.cpdp-active .cpdp-reviews .comment_container {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}
/* v3.8.10: min-width:0 on grid items applied UNCONDITIONALLY (was mobile-only).
 * Without this, the 1fr column inherits min-width:auto from CSS Grid defaults,
 * refusing to shrink below intrinsic content width — the star-rating
 * (display:inline-block, 5.4em wide ≈ 86px) becomes the min, and review text
 * wraps one word per ~86px column on EVERY viewport, not just mobile.
 * The fix belongs at base CSS, not under a media query. */
body.cpdp-active .cpdp-reviews .comment_container > * {
	min-width: 0;
}
body.cpdp-active .cpdp-reviews .comment_container .avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid var(--cpdp-rust);
	object-fit: cover;
	background: var(--cpdp-bone);
}
body.cpdp-active .cpdp-reviews .comment-text {
	padding: 0;
	border: none;
	min-width: 0;
	max-width: 100%;
}
body.cpdp-active .cpdp-reviews .description,
body.cpdp-active .cpdp-reviews .description p {
	word-wrap: break-word;
	overflow-wrap: break-word;
}
body.cpdp-active .cpdp-reviews .woocommerce-review__author,
body.cpdp-active .cpdp-reviews strong.woocommerce-review__author {
	font-family: var(--cpdp-font-body);
	font-weight: 600;
	font-size: 14px;
	color: var(--cpdp-ink);
	text-decoration: none;
	font-style: normal;
}
body.cpdp-active .cpdp-reviews .meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin: 4px 0 12px;
	font-size: 14px;
	color: var(--cpdp-ink-soft);
}
body.cpdp-active .cpdp-reviews .woocommerce-review__dash { color: var(--cpdp-ink-mute); }
body.cpdp-active .cpdp-reviews .woocommerce-review__published-date,
body.cpdp-active .cpdp-reviews time.woocommerce-review__published-date {
	font-family: var(--cpdp-font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cpdp-ink-mute);
}
body.cpdp-active .cpdp-reviews .description,
body.cpdp-active .cpdp-reviews .description p {
	font-family: var(--cpdp-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--cpdp-ink);
}

/* Verified-buyer badge (WC adds .verified to li.comment when verified meta=1) */
body.cpdp-active .cpdp-reviews li.comment.verified .comment-text::before,
body.cpdp-active .cpdp-reviews li.review.verified .comment-text::before {
	content: 'Verified buyer';
	display: inline-block;
	margin-bottom: 8px;
	padding: 3px 8px;
	background: var(--cpdp-sage-dark);
	color: var(--cpdp-on-dark);
	font-family: var(--cpdp-font-mono);
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Star rating in the review list (WC outputs .star-rating with inline width%) */
body.cpdp-active .cpdp-reviews .star-rating {
	position: relative;
	display: inline-block;
	width: 5.4em;
	height: 1em;
	line-height: 1;
	font-size: 16px;
	letter-spacing: 0.08em;
	font-family: var(--cpdp-font-body);
	color: transparent;
	overflow: hidden;
	margin-bottom: 6px;
}
body.cpdp-active .cpdp-reviews .star-rating::before {
	content: '★★★★★';
	position: absolute;
	left: 0; top: 0;
	color: rgba(184, 123, 74, 0.22);
	letter-spacing: inherit;
}
body.cpdp-active .cpdp-reviews .star-rating > span {
	position: absolute;
	left: 0; top: 0;
	height: 1em;
	overflow: hidden;
	padding-top: 0;
	font-weight: normal;
	color: transparent;
}
body.cpdp-active .cpdp-reviews .star-rating > span::before {
	content: '★★★★★';
	position: absolute;
	left: 0; top: 0;
	color: var(--cpdp-rust);
	letter-spacing: inherit;
}
body.cpdp-active .cpdp-reviews .star-rating > span > strong { display: none; }

/* Hide reply links — product reviews aren't threaded conversations */
body.cpdp-active .cpdp-reviews .reply,
body.cpdp-active .cpdp-reviews .comment-reply-link,
body.cpdp-active .cpdp-reviews .comment-reply-title { display: none; }

/* Pagination */
body.cpdp-active .cpdp-reviews .woocommerce-pagination {
	margin: 32px 0 0;
}
body.cpdp-active .cpdp-reviews .woocommerce-pagination ul,
body.cpdp-active .cpdp-reviews .woocommerce-pagination ol {
	display: flex;
	gap: 8px;
	padding: 0;
	margin: 0;
	list-style: none;
}
body.cpdp-active .cpdp-reviews .woocommerce-pagination a,
body.cpdp-active .cpdp-reviews .woocommerce-pagination span {
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 8px 12px;
	color: var(--cpdp-ink-soft);
	text-decoration: none;
	border: 1px solid var(--cpdp-rule);
}
body.cpdp-active .cpdp-reviews .woocommerce-pagination a:hover,
body.cpdp-active .cpdp-reviews .woocommerce-pagination .current {
	color: var(--cpdp-rust);
	border-color: var(--cpdp-rust);
}

/* Review form --------------------------------------------------------------*/

body.cpdp-active .cpdp-reviews #review_form_wrapper {
	margin-top: 56px;
	padding-top: 48px;
	border-top: 1px solid var(--cpdp-rule);
}
body.cpdp-active .cpdp-reviews #review_form #respond { padding: 0; margin: 0; background: transparent; }
body.cpdp-active .cpdp-reviews #reply-title,
body.cpdp-active .cpdp-reviews .comment-reply-title {
	display: block;
	font-family: var(--cpdp-font-display);
	font-style: italic;
	font-weight: 600;
	font-size: clamp(28px, 3.4vw, 36px);
	line-height: 1.1;
	color: var(--cpdp-ink);
	margin: 0 0 24px;
}
body.cpdp-active .cpdp-reviews #reply-title small { display: none; }

body.cpdp-active .cpdp-reviews #commentform .comment-notes,
body.cpdp-active .cpdp-reviews #commentform .logged-in-as {
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--cpdp-ink-mute);
	margin-bottom: 16px;
}

body.cpdp-active .cpdp-reviews #commentform label,
body.cpdp-active .cpdp-reviews .comment-form-rating > label {
	display: block;
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cpdp-ink-soft);
	margin-bottom: 8px;
}

/* Inputs — flat bone surface, ink hairline */
body.cpdp-active .cpdp-reviews #commentform input[type="text"],
body.cpdp-active .cpdp-reviews #commentform input[type="email"],
body.cpdp-active .cpdp-reviews #commentform input[type="url"],
body.cpdp-active .cpdp-reviews #commentform textarea {
	width: 100%;
	max-width: 100%;
	padding: 14px 16px;
	background: var(--cpdp-bone);
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 0;
	font-family: var(--cpdp-font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--cpdp-ink);
	caret-color: var(--cpdp-rust);
	box-shadow: none;
	transition: border-color 200ms var(--cpdp-ease);
}
body.cpdp-active .cpdp-reviews #commentform input:focus,
body.cpdp-active .cpdp-reviews #commentform textarea:focus {
	outline: none;
	border-color: var(--cpdp-rust);
}
body.cpdp-active .cpdp-reviews #commentform textarea {
	min-height: 140px;
	resize: vertical;
}

/* Author + email side-by-side on desktop, stacked on mobile */
body.cpdp-active .cpdp-reviews #commentform .comment-form-author,
body.cpdp-active .cpdp-reviews #commentform .comment-form-email {
	margin-bottom: 16px;
}
body.cpdp-active .cpdp-reviews #commentform .comment-form-comment { margin-bottom: 16px; }
body.cpdp-active .cpdp-reviews #commentform .comment-form-rating { margin-bottom: 24px; }
body.cpdp-active .cpdp-reviews #commentform .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0;
	font-size: 14px;
	color: var(--cpdp-ink-soft);
}
body.cpdp-active .cpdp-reviews #commentform .comment-form-cookies-consent label {
	display: inline;
	margin: 0;
	font-family: var(--cpdp-font-body);
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cpdp-ink-soft);
}

@media (min-width: 720px) {
	body.cpdp-active .cpdp-reviews #commentform .comment-form-author {
		float: left;
		width: calc(50% - 8px);
		margin-right: 16px;
	}
	body.cpdp-active .cpdp-reviews #commentform .comment-form-email {
		float: left;
		width: calc(50% - 8px);
	}
	body.cpdp-active .cpdp-reviews #commentform .comment-form-cookies-consent,
	body.cpdp-active .cpdp-reviews #commentform .form-submit {
		clear: both;
	}
}

/* Form rating stars — interactive 5-star input */
body.cpdp-active .cpdp-reviews .comment-form-rating .stars {
	display: inline-flex;
	margin: 0;
	padding: 0;
	gap: 4px;
}
body.cpdp-active .cpdp-reviews .comment-form-rating .stars > span { display: inline-flex; gap: 4px; }
body.cpdp-active .cpdp-reviews .comment-form-rating select { display: none; }
body.cpdp-active .cpdp-reviews .stars a {
	display: inline-block;
	width: 32px;
	height: 32px;
	text-indent: -9999px;
	overflow: hidden;
	white-space: nowrap;
	color: var(--cpdp-rust);
	text-decoration: none;
	position: relative;
	-webkit-tap-highlight-color: transparent;
	transition: transform 150ms var(--cpdp-ease);
}
/* Default state: hollow outline star (\2606 = ☆). Shape distinction
 * between empty (☆) and filled (★) is far clearer than opacity at a
 * glance — especially on mobile in daylight. */
body.cpdp-active .cpdp-reviews .stars a::before {
	content: "\2606"; /* ☆ hollow */
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-indent: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	line-height: 32px;
}
/* Selected state — fill the active star and every star BEFORE it. */
body.cpdp-active .cpdp-reviews .stars.selected a::before {
	content: "\2605"; /* ★ filled — applies to all selected children first... */
}
body.cpdp-active .cpdp-reviews .stars.selected a.active ~ a::before {
	content: "\2606"; /* ...then override stars AFTER the active back to hollow. */
}
/* Hover preview: fill from start up to (and including) the hovered star.
 * Uses :has() for "previous-sibling" matching — modern browsers (Safari
 * 15.4+, Chrome 105+, Firefox 121+). Gracefully no-ops on older browsers. */
body.cpdp-active .cpdp-reviews .stars a:hover::before,
body.cpdp-active .cpdp-reviews .stars a:has(~ a:hover)::before {
	content: "\2605";
}
body.cpdp-active .cpdp-reviews .stars a:hover ~ a::before {
	content: "\2606";
}
body.cpdp-active .cpdp-reviews .stars a:hover { transform: scale(1.08); }
body.cpdp-active .cpdp-reviews .stars a:focus-visible { outline: 2px solid var(--cpdp-rust); outline-offset: 2px; }

/* Specificity bump — WC core's `#respond p.stars a` rule has spec (0,1,1,2)
 * because of the #respond ID, beating our class-only `.cpdp-reviews .stars a`
 * (spec 0,0,3,2). WC sets width:auto + font-size:0 which collapses each star
 * to 0px wide → the ::before ★ has no box to render in → empty form. We
 * re-state our dimensions via selectors that include #respond so the ID is
 * matched and our spec rises to (0,1,2,2) — beats WC. */
body.cpdp-active #respond p.stars a,
body.cpdp-active .cpdp-reviews #respond p.stars a {
	width: 32px;
	height: 32px;
	font-size: 0;
}

/* Submit button — copies .cpdp-cta-btn editorial pop */
body.cpdp-active .cpdp-reviews #commentform .form-submit { margin-top: 12px; }
body.cpdp-active .cpdp-reviews #commentform input[type="submit"],
body.cpdp-active .cpdp-reviews #commentform button[type="submit"],
body.cpdp-active .cpdp-reviews #commentform #submit {
	display: inline-block;
	padding: 18px 36px;
	background: var(--cpdp-lime);
	color: var(--cpdp-ink);
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 0;
	box-shadow: 6px 6px 0 var(--cpdp-ink);
	font-family: var(--cpdp-font-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 200ms var(--cpdp-ease), box-shadow 200ms var(--cpdp-ease);
}
body.cpdp-active .cpdp-reviews #commentform input[type="submit"]:hover,
body.cpdp-active .cpdp-reviews #commentform button[type="submit"]:hover,
body.cpdp-active .cpdp-reviews #commentform #submit:hover {
	transform: translate(-2px, -2px);
	box-shadow: 8px 8px 0 var(--cpdp-ink);
}
body.cpdp-active .cpdp-reviews #commentform input[type="submit"]:active,
body.cpdp-active .cpdp-reviews #commentform button[type="submit"]:active,
body.cpdp-active .cpdp-reviews #commentform #submit:active {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--cpdp-ink);
}

/* Reviews list — collapsible. Default: list hidden, only form + toggle visible. */
body.cpdp-active .cpdp-reviews-toggle {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 28px;
	padding: 14px 22px;
	background: transparent;
	color: var(--cpdp-ink);
	border: 1.5px solid var(--cpdp-ink);
	border-radius: 0;
	font-family: var(--cpdp-font-mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 200ms var(--cpdp-ease), color 200ms var(--cpdp-ease), transform 200ms var(--cpdp-ease);
}
body.cpdp-active .cpdp-reviews-toggle:hover {
	background: var(--cpdp-ink);
	color: var(--cpdp-cream);
	transform: translateY(-1px);
}
body.cpdp-active .cpdp-reviews-toggle-icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
	font-weight: 400;
	transition: transform 200ms var(--cpdp-ease);
}
body.cpdp-active .cpdp-reviews-toggle[aria-expanded="true"] .cpdp-reviews-toggle-icon {
	transform: rotate(45deg);
}
body.cpdp-active .cpdp-reviews-list-wrap.is-collapsed {
	display: none;
}

/* Reduced motion — kill the smooth-scroll JS triggers gracefully */
@media (prefers-reduced-motion: reduce) {
	body.cpdp-active .cpdp-reviews .stars a,
	body.cpdp-active .cpdp-reviews #commentform input[type="submit"],
	body.cpdp-active .cpdp-reviews #commentform button[type="submit"],
	body.cpdp-active .cpdp-reviews #commentform #submit,
	body.cpdp-active .cpdp-reviews-toggle,
	body.cpdp-active .cpdp-reviews-toggle-icon { transition: none; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
	body.cpdp-active::before { display: none; }
	.cpdp-hero, .cpdp-sound, .cpdp-cta, .cpdp-sticky, [data-cpdp-placeholder] { display: none !important; }
	.cpdp-stamp, .cpdp-float, .cpdp-marquee, .cpdp-waveform { display: none !important; }
	body.cpdp-active .cpdp-heritage-bg { display: none !important; }
}

/* ==========================================================================
   v3.8.7 — REVIEWS section mobile responsive rules
   ========================================================================== */
@media (max-width: 768px) {
    body.cpdp-active .cpdp-reviews { padding: 40px 1.25rem 56px; }
    body.cpdp-active .cpdp-reviews-inner { max-width: 100%; }
    body.cpdp-active .cpdp-reviews-headline {
        font-size: clamp(28px, 7vw, 40px);
        line-height: 1.1;
        margin: 12px 0 24px;
    }
    body.cpdp-active .cpdp-reviews-fig {
        gap: 8px;
        font-size: 10px;
    }
    body.cpdp-active .cpdp-reviews-figtitle,
    body.cpdp-active .cpdp-reviews-figmeta {
        font-size: 10px;
        letter-spacing: 0.12em;
    }
    body.cpdp-active .cpdp-reviews-order-pill {
        font-size: 11px;
        padding: 6px 12px;
    }
    body.cpdp-active .cpdp-reviews .commentlist > li.comment,
    body.cpdp-active .cpdp-reviews .commentlist > li.review {
        padding: 20px 0 0;
        margin-top: 20px;
    }
    body.cpdp-active .cpdp-reviews .comment_container {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
    }
    body.cpdp-active .cpdp-reviews .comment_container .avatar {
        width: 36px;
        height: 36px;
    }
    body.cpdp-active .cpdp-reviews .woocommerce-review__author,
    body.cpdp-active .cpdp-reviews strong.woocommerce-review__author {
        font-size: 13px;
    }
    body.cpdp-active .cpdp-reviews .meta {
        font-size: 12px;
        gap: 6px;
        margin: 2px 0 8px;
    }
    body.cpdp-active .cpdp-reviews .woocommerce-review__published-date,
    body.cpdp-active .cpdp-reviews time.woocommerce-review__published-date {
        font-size: 9px;
        letter-spacing: 0.12em;
    }
    body.cpdp-active .cpdp-reviews .description,
    body.cpdp-active .cpdp-reviews .description p {
        font-size: 14px;
        line-height: 1.55;
    }
    body.cpdp-active .cpdp-reviews .star-rating {
        font-size: 14px;
        width: 4.8em;
        margin-bottom: 4px;
    }
    body.cpdp-active .cpdp-reviews li.comment.verified .comment-text::before,
    body.cpdp-active .cpdp-reviews li.review.verified .comment-text::before {
        font-size: 8px;
        padding: 2px 6px;
    }
    /* Comment form (Leave a review) */
    body.cpdp-active .cpdp-reviews #review_form_wrapper input[type="text"],
    body.cpdp-active .cpdp-reviews #review_form_wrapper input[type="email"],
    body.cpdp-active .cpdp-reviews #review_form_wrapper textarea {
        font-size: 16px; /* prevents iOS zoom-on-focus */
    }
    body.cpdp-active .cpdp-reviews-toggle {
        font-size: 12px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    body.cpdp-active .cpdp-reviews { padding: 32px 1rem 48px; }
    body.cpdp-active .cpdp-reviews-headline {
        font-size: clamp(24px, 8vw, 32px);
    }
    body.cpdp-active .cpdp-reviews .comment_container {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
    }
    body.cpdp-active .cpdp-reviews .comment_container .avatar {
        width: 32px;
        height: 32px;
    }
    body.cpdp-active .cpdp-reviews .description,
    body.cpdp-active .cpdp-reviews .description p {
        font-size: 13.5px;
    }
}

/* v3.8.9 — Reviews mobile column width fix (corrected).
 * v3.8.8 used `overflow-wrap: anywhere` which is TOO aggressive — broke
 * names character-by-character ("M y p" on its own lines). Replaced with
 * `word-wrap: break-word` which only breaks unbreakable tokens like URLs,
 * not normal words. Also disabled the meta flex-wrap that was stacking
 * author / date / dash on their own lines on narrow phones.
 */
@media (max-width: 768px) {
    /* Critical: min-width:0 on grid descendants so the 1fr column can
     * actually shrink. Without this, default min-width:auto forces the
     * column to be at least as wide as longest unbreakable content. */
    body.cpdp-active .cpdp-reviews .comment_container,
    body.cpdp-active .cpdp-reviews .comment_container > * {
        min-width: 0;
    }
    body.cpdp-active .cpdp-reviews .comment-text {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    body.cpdp-active .cpdp-reviews .description,
    body.cpdp-active .cpdp-reviews .description p {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        word-wrap: break-word;       /* only break long URLs / tokens */
        overflow-wrap: break-word;   /* same — gentle, not 'anywhere' */
    }
    /* Meta: author / dash / date inline if they fit, wrap as full units */
    body.cpdp-active .cpdp-reviews .meta {
        flex-wrap: wrap;
        max-width: 100%;
        min-width: 0;
        word-wrap: break-word;       /* gentle wrap */
    }
    body.cpdp-active .cpdp-reviews .meta > * {
        flex: 0 0 auto;              /* don't shrink items individually */
        white-space: normal;
    }
    body.cpdp-active .cpdp-reviews .commentlist,
    body.cpdp-active .cpdp-reviews .commentlist > li,
    body.cpdp-active .cpdp-reviews .commentlist > li.review,
    body.cpdp-active .cpdp-reviews .commentlist > li.comment {
        max-width: 100%;
        width: 100%;
        float: none;
        clear: both;
        box-sizing: border-box;
    }
    body.cpdp-active .cpdp-reviews .commentlist *,
    body.cpdp-active .cpdp-reviews .commentlist *::before,
    body.cpdp-active .cpdp-reviews .commentlist *::after {
        box-sizing: border-box;
    }
}

/* v3.8.11 — Stylish review cards (editorial-cinematic).
 * Each review now sits in its own bone-tinted card with subtle border,
 * rounded corners, and soft shadow. Matches the dcx polaroid aesthetic
 * without being shouty. Replaces the old top-border separator look.
 */
body.cpdp-active .cpdp-reviews .commentlist > li.comment,
body.cpdp-active .cpdp-reviews .commentlist > li.review {
    background: var(--cpdp-bone, #faf6ee);
    border: 1px solid var(--cpdp-rule, rgba(31,42,20,0.10));
    border-top: 1px solid var(--cpdp-rule, rgba(31,42,20,0.10));
    border-radius: 14px;
    padding: 22px 24px;
    margin-top: 16px;
    box-shadow: 0 1px 0 rgba(31,42,20,0.04), 0 8px 24px -16px rgba(31,42,20,0.10);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
body.cpdp-active .cpdp-reviews .commentlist > li.comment:hover,
body.cpdp-active .cpdp-reviews .commentlist > li.review:hover {
    box-shadow: 0 2px 0 rgba(31,42,20,0.05), 0 14px 32px -18px rgba(31,42,20,0.16);
    transform: translateY(-1px);
}
body.cpdp-active .cpdp-reviews .commentlist > li.comment:first-child,
body.cpdp-active .cpdp-reviews .commentlist > li.review:first-child {
    margin-top: 0;
}
/* Star rating sits at top — give it breathing room from the avatar+meta row */
body.cpdp-active .cpdp-reviews .commentlist .star-rating {
    margin-bottom: 10px;
}
/* Verified badge becomes a corner pill inside the card */
body.cpdp-active .cpdp-reviews li.comment.verified .comment-text::before,
body.cpdp-active .cpdp-reviews li.review.verified .comment-text::before {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    body.cpdp-active .cpdp-reviews .commentlist > li.comment,
    body.cpdp-active .cpdp-reviews .commentlist > li.review {
        padding: 18px 18px;
        margin-top: 14px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    body.cpdp-active .cpdp-reviews .commentlist > li.comment,
    body.cpdp-active .cpdp-reviews .commentlist > li.review {
        padding: 16px 14px;
        margin-top: 12px;
    }
}
