/* ==========================================================================
   Shorty & Shy Barkery — theme.css
   Section references throughout map to the theme generation spec.
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS (fallback defaults; live values are emitted
   inline by wp_add_inline_style — Section 6 / 22.9) -------------------- */
:root {
	--background: #faeee5;
	--foreground: #332015;
	--primary: #e33589;
	--primary-foreground: #fdfaf7;
	--secondary: #f0e3db;
	--muted-foreground: #5d483c;
	--border: #e0cdc2;
	--accent: #e33589;
	--accent-foreground: #fdfaf7;
	--rosa: #e74078;
	--marigold: #f6a85a;
	--teal: #a8c9b8;
	--lilac: #f0c4d4;
	--indigo: #4a2e1f;
	--terracotta: #e97949;
	--nopal: #41291b;
	--walnut: #332015;
	--cream: #fcf5ee;
	--butter: #f8e8dd;
	--clay: #e9cdb0;
	--blush: #fad4e4;
	--peach: #f8dcc8;
	--primary-hover: #c9276a;
	--card: #fcf7f3;
	--logo-height: 44px;

	--radius: 0.9rem;
	--font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
	--font-body: 'Nunito', system-ui, sans-serif;
	--font-serif: 'Fraunces', Georgia, serif;

	--shadow-soft: 0 2px 12px -2px rgba(120, 40, 70, 0.10), 0 8px 24px -12px rgba(60, 30, 15, 0.14);
	--shadow-elevated: 0 12px 36px -14px rgba(160, 30, 90, 0.28);
	--shadow-card: 0 1px 2px rgba(60, 30, 15, 0.05), 0 8px 22px -10px rgba(160, 30, 90, 0.20);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 0.85rem 1.75rem;
	--btn-font-size: 12.5px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.04em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--header-height: 76px;
	--checkout-gap: 2rem;
	--card-radius: 1rem;
	--section-padding: 2rem;
}

/* ---------- 2. RESET / BASE -------------------------------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	background-image:
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='%23E43D8C' fill-opacity='0.07'><ellipse cx='20' cy='24' rx='3.2' ry='4.2'/><ellipse cx='14' cy='16' rx='1.6' ry='2'/><ellipse cx='20' cy='14' rx='1.6' ry='2'/><ellipse cx='26' cy='16' rx='1.6' ry='2'/><ellipse cx='60' cy='60' rx='3.2' ry='4.2'/><ellipse cx='54' cy='52' rx='1.6' ry='2'/><ellipse cx='60' cy='50' rx='1.6' ry='2'/><ellipse cx='66' cy='52' rx='1.6' ry='2'/></g></svg>"),
		linear-gradient(180deg, var(--background) 0%, hsl(340, 70%, 93%) 100%);
	background-size: 220px 220px, 100% 100%;
}
p { margin: 0 0 1em; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* Heading font-weight/size reset (Section 2.2.4) — set real values per element below. */
h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: -0.005em;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; }

/* Cover/full-bleed image exclusion list (Section 15 — must include every
   cover-image class used anywhere in the theme). */
img:not(.cover-img):not(.theme-product-card__image):not(.theme-related-card__image):not(.theme-product-gallery__image):not(.theme-product-card__visual-inner img):not(.theme-gallery-main-img):not(.theme-gallery-thumb-img):not(.theme-cart-item__thumb img) {
	max-width: 100%;
	height: auto;
}
.theme-product-card__visual,
.theme-product-card__visual-inner,
.theme-product-card__image,
.theme-related-card__image,
.theme-product-gallery__image,
.theme-cart-item__thumb img,
.theme-gallery-main-img {
	height: 100%;
}
.theme-product-card__image,
.theme-gallery-main-img {
	object-fit: cover;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-left: 1rem;
	padding-right: 1rem;
}
@media (min-width: 390px) { .container-wide { padding-left: 1.25rem; padding-right: 1.25rem; } }
@media (min-width: 768px) { .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 2rem; padding-right: 2rem; } }

.scroll-mt-20 { scroll-margin-top: 5rem; }

/* ---------- 3. BUTTONS --------------------------------------------------- */
.btn-cottage, .btn-cottage-outline, .theme-btn-primary, .theme-btn-outline, .theme-btn-accent {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 9999px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 12.5px;
	transition: all 0.3s var(--transition-smooth);
	border: none;
	cursor: pointer;
	white-space: nowrap;
}
.btn-cottage--wide-track,
.theme-hero__actions .btn-cottage,
.theme-hero__actions .btn-cottage-outline {
	letter-spacing: 0.12em;
}
.btn-cottage, .theme-btn-primary {
	background-color: var(--primary);
	color: var(--primary-foreground);
	padding: 0.85rem 1.75rem;
	box-shadow: 0 1px 2px rgba(60,30,15,.10), 0 8px 20px -6px rgba(227,53,137,.55);
}
.btn-cottage:hover, .theme-btn-primary:hover {
	transform: translateY(-1.5px);
	background-color: var(--primary-hover);
	box-shadow: 0 2px 4px rgba(60,30,15,.12), 0 12px 26px -8px rgba(227,53,137,.65);
}
.btn-cottage:active, .theme-btn-primary:active { transform: translateY(0); }
.btn-cottage-outline, .theme-btn-outline {
	border: 2px solid var(--primary);
	color: var(--primary);
	background: var(--card);
	padding: 0.75rem 1.5rem;
}
.btn-cottage-outline:hover, .theme-btn-outline:hover {
	background-color: var(--primary);
	color: var(--primary-foreground);
	transform: translateY(-1.5px);
}
.theme-btn-accent {
	background-color: var(--accent);
	color: var(--accent-foreground);
	padding: 0.75rem 1.5rem;
}
.theme-btn-accent:hover { transform: translateY(-1.5px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.theme-btn-block { display: flex; width: 100%; }

/* ---------- 4. ANIMATION UTILITIES (ported verbatim — Section 2.1) ---- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
	transition-delay: calc(var(--reveal-i, 0) * 0.08s);
	will-change: opacity, transform;
}
.reveal-item.is-visible { opacity: 1; transform: none; }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@keyframes float-soft { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
.float-soft { animation: float-soft 4.5s ease-in-out infinite; }
.float-soft.delay-1 { animation-delay: 0.8s; }
.float-soft.delay-2 { animation-delay: 1.6s; }

.hover-lift { transition: transform .35s var(--transition-smooth), box-shadow .35s var(--transition-smooth); }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }

.brush-underline {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14' preserveAspectRatio='none'><path d='M4 9 C 60 3, 130 13, 200 6 S 234 5, 236 8' fill='none' stroke='%23E43D8C' stroke-width='6' stroke-linecap='round' opacity='0.85'/></svg>");
	background-repeat: no-repeat;
	background-size: 100% 0.55em;
	background-position: 0 92%;
	padding-bottom: 0.08em;
}
.paw-pattern {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='%23E43D8C' fill-opacity='0.16'><ellipse cx='30' cy='34' rx='5' ry='6.5'/><ellipse cx='21' cy='22' rx='2.4' ry='3.2'/><ellipse cx='30' cy='19' rx='2.4' ry='3.2'/><ellipse cx='39' cy='22' rx='2.4' ry='3.2'/></g></svg>");
	background-size: 60px 60px;
}
.divider-sprig { display: inline-flex; align-items: center; gap: .6rem; color: var(--primary); }
.divider-sprig::before,
.divider-sprig::after {
	content: "";
	width: 2.5rem;
	height: 1px;
	background: rgba(227, 53, 137, 0.4);
}
.paint-daub { display: inline-block; width: .55rem; height: .55rem; border-radius: 9999px; background: var(--primary); box-shadow: 0 0 0 2px var(--background); }
.paint-daub-terracotta { background: var(--terracotta); }
.botanical-divider { display: flex; align-items: center; justify-content: center; gap: .75rem; color: var(--primary); margin-bottom: 2.5rem; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1; transform: none; transition: none; }
	.float-soft { animation: none !important; }
	.theme-hero-entrance > * { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Hero entrance (mirrors Framer Motion stagger on Index.tsx) */
@keyframes heroFadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes heroScaleIn {
	from { opacity: 0; transform: scale(0.98); }
	to { opacity: 1; transform: scale(1); }
}
.theme-hero-entrance > .theme-hero__badge { animation: heroFadeUp 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) both; }
.theme-hero-entrance > .theme-hero__title { animation: heroFadeUp 0.9s cubic-bezier(0.25, 0.4, 0.25, 1) 0.1s both; }
.theme-hero-entrance > .theme-hero__paragraph { animation: heroFadeUp 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) 0.25s both; }
.theme-hero-entrance > .theme-hero__actions { animation: heroFadeUp 0.6s cubic-bezier(0.25, 0.4, 0.25, 1) 0.4s both; }
.theme-hero-entrance--visual { animation: heroScaleIn 1s cubic-bezier(0.25, 0.4, 0.25, 1) 0.2s both; }

/* Trust marquee */
.theme-marquee-shell { border-radius: 1rem; background: var(--primary); border: 1px solid var(--nopal); box-shadow: var(--shadow-elevated); overflow: hidden; }
.trust-marquee { position: relative; overflow: hidden; width: 100%; pointer-events: none; padding: 0.9rem 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.trust-marquee__track { display: flex; width: max-content; will-change: transform; animation: trust-marquee-scroll 45s linear infinite; }
.trust-marquee__group { display: flex; align-items: center; flex: none; }
.trust-marquee__item { display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.75rem; font-family: var(--font-display); font-size: 13.5px; letter-spacing: .06em; color: rgba(255,255,255,.95); white-space: nowrap; font-weight: 600; text-transform: uppercase; }
.trust-marquee__item svg { color: var(--marigold); flex-shrink: 0; }
.trust-marquee__sep { display: inline-block; width: 6px; height: 6px; border-radius: 9999px; background: var(--marigold); box-shadow: 0 0 0 2px var(--primary); }
@keyframes trust-marquee-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-25%,0,0); } }
.trust-marquee:hover .trust-marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
	.trust-marquee { mask-image: none; -webkit-mask-image: none; }
	.trust-marquee__track { animation: none; width: 100%; justify-content: center; flex-wrap: wrap; }
	.trust-marquee__group:not(:first-child) { display: none; }
}

/* ---------- 5. SCROLL PROGRESS ------------------------------------------ */
.theme-scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; pointer-events: none; }
.theme-scroll-progress__bar {
	position: relative; height: 100%; width: 0%;
	background: linear-gradient(90deg, var(--primary), var(--rosa), var(--accent));
	transition: width .15s ease-out;
	box-shadow: 0 0 8px rgba(227,53,137,.5);
}
.theme-scroll-progress__dot {
	position: absolute; right: -10px; top: -6px; width: 20px; height: 20px; border-radius: 9999px;
	background: var(--primary); color: var(--primary-foreground);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-soft);
	transform: scale(0); transition: transform .3s ease;
}

/* ---------- 6. ANNOUNCEMENT BAR ------------------------------------------ */
.theme-announcement-bar { position: relative; background: var(--nopal); color: var(--primary-foreground); }
.theme-announcement-bar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem 1.5rem; padding: 0.6rem 0; font-size: 13px; }
.theme-announcement-bar__title { font-family: var(--font-serif); font-style: italic; font-size: 15px; letter-spacing: .02em; }
.theme-announcement-bar__item { display: inline-flex; align-items: center; gap: .375rem; color: rgba(255,255,255,.85); }
.theme-announcement-bar__item svg { color: var(--marigold); flex-shrink: 0; }
.theme-announcement-bar__item--sm { display: none; }
@media (min-width: 640px) { .theme-announcement-bar__item--sm { display: inline-flex; } }

/* ---------- 7. HEADER ----------------------------------------------------- */
.site-header {
	--header-height: 64px;
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: rgba(250, 238, 229, .90);
	border-bottom: 1px solid transparent;
	transition: all .3s ease;
}
@media (min-width: 768px) { .site-header { --header-height: 76px; } }
.site-header.is-scrolled, .site-header.has-mobile-menu-open {
	background: rgba(250, 238, 229, .95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
	box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.site-header.has-mobile-menu-open { z-index: 55; }
.site-header__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
@media (min-width: 768px) { .site-header__nav { height: 76px; } }

.site-header__menu-toggle { display: inline-flex; padding: .5rem; margin-left: -.5rem; background: none; border: none; color: var(--foreground); }
.site-header__menu-toggle .icon-close { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__brand { display: inline-flex; align-items: center; gap: .625rem; flex-shrink: 0; }
@media (min-width: 1024px) { .site-header__brand { margin-right: 1rem; } }
.site-logo-img.site-logo-wordmark {
	display: inline-block;
	flex-shrink: 0;
	height: 2.75rem;
	width: 8rem;
	border-radius: .5rem;
	background-color: var(--cream);
	border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
	background-size: 100% auto;
	background-position: center top;
	background-repeat: no-repeat;
	overflow: hidden;
}
@media (min-width: 768px) {
	.site-logo-img.site-logo-wordmark {
		height: 3rem;
		width: 10rem;
	}
}
.site-logo-img.site-logo-contain {
	display: block;
	flex-shrink: 0;
	height: var(--logo-height);
	width: auto;
	max-width: min(12rem, 42vw);
	object-fit: contain;
	border-radius: .5rem;
	background-color: var(--cream);
	border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
	box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--foreground); }
.site-header__brand-text { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }

.site-header__links { display: none; }
@media (min-width: 1024px) { .site-header__links { display: flex; align-items: center; margin: 0 auto; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 1280px) { .theme-nav-list { gap: 1.75rem; } }
.theme-nav-list a, .theme-nav-link {
	font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(51,32,21,.8); position: relative; transition: color .2s ease;
}
.theme-nav-list a::after, .theme-nav-link::after {
	content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.theme-nav-list a:hover, .theme-nav-link:hover { color: var(--primary); }
.theme-nav-list a:hover::after, .theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-header__actions { gap: .75rem; } }
.site-header__shop-btn {
	display: none; align-items: center; justify-content: center; gap: .375rem;
	background: var(--primary); color: var(--primary-foreground);
	border-radius: 9999px; padding: .5rem 1rem; font-size: 11.5px; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 1px 2px rgba(0,0,0,.05);
	transition: all .3s ease; white-space: nowrap;
}
@media (min-width: 640px) { .site-header__shop-btn:not(.site-header__shop-btn--mobile) { display: inline-flex; } }
.site-header__shop-btn:hover { background: var(--nopal); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.site-header__shop-btn--mobile { display: inline-flex; width: fit-content; margin-top: 1rem; }

.site-header__cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	height: 2.5rem; width: 2.5rem; border-radius: 9999px; border: 1px solid rgba(227,53,137,.4);
	background: transparent; color: var(--foreground); transition: all .3s ease;
}
@media (min-width: 768px) { .site-header__cart-btn { height: 2.75rem; width: 2.75rem; } }
.site-header__cart-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.theme-cart-count {
	position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 4px;
	border-radius: 9999px; background: var(--accent); color: var(--accent-foreground);
	font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 1px 2px rgba(0,0,0,.1); ring: 2px solid var(--background);
	box-shadow: 0 0 0 2px var(--background);
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-menu {
	display: none;
	flex-direction: column;
	border-top: 1px solid rgba(224,205,194,.6);
	padding: 1rem 1rem 1.25rem;
}
.site-header__mobile-menu.is-open {
	display: flex;
	position: fixed;
	top: var(--header-height);
	left: 0;
	right: 0;
	z-index: 55;
	max-height: calc(100dvh - var(--header-height));
	overflow-y: auto;
	background: var(--background);
	border-top: 1px solid rgba(224,205,194,.6);
	box-shadow: 0 12px 24px rgba(0,0,0,.08);
	animation: fadeIn .3s var(--transition-smooth);
}
@media (min-width: 390px) { .site-header__mobile-menu.is-open { padding-left: 1.25rem; padding-right: 1.25rem; } }
@media (min-width: 768px) { .site-header__mobile-menu.is-open { padding-left: 1.5rem; padding-right: 1.5rem; } }
.site-header__mobile-menu .theme-nav-list,
.site-header__mobile-menu .theme-nav-list--mobile-items,
.theme-nav-list--mobile { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list--mobile-items a { text-align: left; font-size: .875rem; padding: .5rem 0; display: block; }
.theme-nav-list--mobile-items a::after { display: none; }
.site-header__menu-toggle .icon-menu,
.site-header__menu-toggle .icon-close { display: inline-flex; align-items: center; justify-content: center; }
.site-header__menu-toggle .icon-close { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

/* ---------- 8. HERO -------------------------------------------------------- */
.theme-hero { position: relative; overflow: hidden; background: var(--butter); display: flex; flex-direction: column; min-height: calc(100svh - 108px); }
@media (min-width: 1024px) { .theme-hero { min-height: calc(100svh - 120px); } }
body.theme-no-hero .theme-hero { display: none; }
.theme-hero__paw-bg { position: absolute; inset: 0; pointer-events: none; opacity: .4; }
.theme-hero__paw-bg { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='%23E43D8C' fill-opacity='0.16'><ellipse cx='30' cy='34' rx='5' ry='6.5'/><ellipse cx='21' cy='22' rx='2.4' ry='3.2'/><ellipse cx='30' cy='19' rx='2.4' ry='3.2'/><ellipse cx='39' cy='22' rx='2.4' ry='3.2'/></g></svg>"); background-size: 60px 60px; }
.theme-hero__container { position: relative; flex: 1; display: flex; flex-direction: column; }
.theme-hero__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; flex: 1; padding: 2rem 0 1.5rem; }
@media (min-width: 1024px) { .theme-hero__grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; padding: 2.5rem 0 1.5rem; } }
.theme-hero__copy { order: 2; }
@media (min-width: 1024px) { .theme-hero__copy { order: 1; grid-column: span 7; } }
.theme-hero__badge {
	display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; border-radius: 9999px;
	border: 1px solid rgba(227,53,137,.3); background: var(--cream); padding: .375rem 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.04);
	color: var(--primary);
}
.theme-hero__badge span { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.theme-hero__title { font-size: 3rem; line-height: .98; letter-spacing: -.01em; color: var(--foreground); }
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.75rem; } }
.theme-hero__title-line { display: block; margin-top: .25rem; }
.theme-hero__title-line--accent { font-family: var(--font-serif); font-style: italic; color: var(--accent); }
.theme-hero__title-accent { font-family: var(--font-serif); font-style: italic; color: var(--primary); }
.theme-hero__paragraph { margin-top: 1.25rem; max-width: 36rem; font-size: 1.125rem; color: rgba(51,32,21,.75); line-height: 1.7; }
.theme-hero__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .875rem; }

.theme-hero__visual { order: 1; display: flex; justify-content: center; }
@media (min-width: 1024px) { .theme-hero__visual { order: 2; grid-column: span 5; justify-content: flex-end; } }
.theme-hero__frame { position: relative; width: 100%; max-width: 440px; }
@media (min-width: 1024px) { .theme-hero__frame { max-width: 560px; } }
.theme-hero__frame-shadow-1 { position: absolute; inset: -1rem; border-radius: 1.9rem; background: var(--cream); border: 1px solid var(--border); transform: rotate(-.75deg); box-shadow: var(--shadow-soft); }
.theme-hero__frame-shadow-2 { position: absolute; inset: -.375rem; border-radius: 1.55rem; background: var(--background); border: 1px solid var(--border); transform: rotate(.75deg); }
.theme-hero__frame-image-wrap { position: relative; border-radius: 1.35rem; overflow: hidden; border: 1px solid var(--border); background: var(--cream); box-shadow: var(--shadow-elevated); aspect-ratio: 1024/360; }
.theme-hero__frame-image { transition: transform .9s ease-out; }
.theme-hero__frame:hover .theme-hero__frame-image { transform: scale(1.02); }
.theme-hero__daub { position: absolute; display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; box-shadow: var(--shadow-soft); color: #fff; }
.theme-hero__daub--1 { top: -4px; right: -4px; width: 1.5rem; height: 1.5rem; background: var(--accent); }
.theme-hero__daub--2 { bottom: -8px; left: -4px; width: 1.25rem; height: 1.25rem; background: var(--primary); }

.theme-hero__marquee-wrap { margin-top: auto; padding: 1.25rem 0 1.5rem; }

/* ---------- 9. GENERIC SECTION SCAFFOLDING -------------------------------- */
.theme-section__inner { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-section__inner { padding-top: 6rem; padding-bottom: 6rem; } }
.theme-section__inner--compact { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .theme-section__inner--compact { padding-top: 4rem; padding-bottom: 4rem; } }
.theme-section__inner--narrow { max-width: 42rem; margin: 0 auto; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section__inner--narrow { padding-top: 5rem; padding-bottom: 5rem; } }
.theme-section__inner--relative { position: relative; }
.theme-section__header { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.theme-section__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); margin-bottom: .75rem; }
.theme-section__eyebrow--marigold { color: var(--marigold); }
.theme-heading-accent { font-family: var(--font-serif); font-style: italic; color: var(--accent); }
.theme-heading-accent--marigold { color: var(--marigold); }
.theme-section__subheading { margin-top: 1rem; color: rgba(51,32,21,.7); font-size: 1.125rem; line-height: 1.65; }
.theme-section__cta { text-align: center; margin-top: 2.5rem; }

.theme-section--flavors__heading, .theme-section--shop__heading { font-size: 2.25rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-section--flavors__heading, .theme-section--shop__heading { font-size: 3rem; } }
.theme-section--story__heading { font-size: 2.25rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-section--story__heading { font-size: 3rem; } }
.theme-section--shipping__heading, .theme-section--why__heading { font-size: 2.25rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-section--shipping__heading, .theme-section--why__heading { font-size: 3rem; } }
.theme-section--contact__heading { font-size: 2.25rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-section--contact__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-section--contact__heading { font-size: 3.75rem; } }

.theme-section--flavors, .theme-section--shipping { background: var(--background); }
.theme-section--why { background: var(--butter); }
.theme-section--shop, .theme-section--pricing-summary { background: var(--butter); }
.theme-section--story { background: var(--background); }
.theme-section--closing { background: var(--background); }

/* ---------- 10. SIGNATURE FLAVORS ------------------------------------------ */
.theme-flavors-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-flavors-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-flavor-card { position: relative; border-radius: 1.5rem; border: 1px solid var(--border); padding: 1.5rem; height: 100%; box-shadow: var(--shadow-card); overflow: hidden; transition: transform .5s ease; }
@media (min-width: 768px) { .theme-flavor-card { padding: 2rem; } }
.theme-flavor-card:hover { transform: translateY(-6px); }
.theme-flavor-card__paw-bg { position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='%23E43D8C' fill-opacity='0.16'><ellipse cx='30' cy='34' rx='5' ry='6.5'/><ellipse cx='21' cy='22' rx='2.4' ry='3.2'/><ellipse cx='30' cy='19' rx='2.4' ry='3.2'/><ellipse cx='39' cy='22' rx='2.4' ry='3.2'/></g></svg>"); background-size: 60px 60px; }
.theme-flavor-card__body { position: relative; }
.theme-flavor-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.theme-flavor-card__tag { display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; padding: .25rem .625rem; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; max-width: 70%; color: #fff; }
.theme-flavor-card__icon { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: rgba(255,255,255,.6); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.theme-flavor-card__name { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
@media (min-width: 768px) { .theme-flavor-card__name { font-size: 1.625rem; } }
.theme-flavor-card__description { margin-top: .75rem; font-size: 15px; line-height: 1.6; color: rgba(51,32,21,.75); }

.theme-accent-sage { background: linear-gradient(to bottom right, hsl(340 78% 92%), hsl(331 76% 82%)); }
.theme-accent-sage .theme-flavor-card__tag { background: var(--primary); }
.theme-accent-pumpkin { background: linear-gradient(to bottom right, hsl(22 82% 92%), hsl(18 78% 80%)); }
.theme-accent-pumpkin .theme-flavor-card__tag { background: var(--terracotta); }
.theme-accent-berry { background: linear-gradient(to bottom right, hsl(340 78% 90%), hsl(340 78% 78%)); }
.theme-accent-berry .theme-flavor-card__tag { background: var(--rosa); }

/* ---------- 11. SHOP TABS + PANELS ----------------------------------------- */
.theme-shop-tabs { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; }
@media (min-width: 640px) and (max-width: 767px) {
	.theme-shop-tabs {
		flex-direction: row;
		justify-content: center;
		gap: .75rem;
		flex-wrap: wrap;
		margin-left: -1rem;
		margin-right: -1rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}
}
@media (min-width: 768px) { .theme-shop-tabs { flex-direction: row; justify-content: center; gap: .75rem; flex-wrap: wrap; } }
.theme-shop-tab {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 44px; border-radius: 9999px; border: 2px solid rgba(227,53,137,.25);
	background: var(--background); padding: .75rem 1.5rem; font-size: 13px; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase; color: var(--primary); transition: all .2s ease;
}
@media (min-width: 768px) { .theme-shop-tab { padding: .875rem 1.75rem; } }
.theme-shop-tab:hover { border-color: rgba(227,53,137,.5); }
.theme-shop-tab.is-active { border-color: transparent; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.theme-shop-tab__count { border-radius: 9999px; padding: .125rem .5rem; font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: normal; background: rgba(227,53,137,.1); color: var(--primary); }
.theme-shop-tab.is-active .theme-shop-tab__count { background: rgba(255,255,255,.25); color: inherit; }
.theme-tone-sage.is-active { background: var(--primary); }
.theme-tone-pumpkin { color: var(--terracotta); }
.theme-tone-pumpkin.is-active { background: var(--terracotta); }
.theme-tone-walnut { color: var(--nopal); }
.theme-tone-walnut.is-active { background: var(--nopal); }

.theme-shop-panels { display: grid; }
.theme-shop-panels > .theme-shop-panel { grid-area: 1 / 1; }
.theme-shop-panel[hidden] { display: none; }
.theme-shop-panel {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.35s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.35s cubic-bezier(0.25, 0.4, 0.25, 1);
	pointer-events: none;
	visibility: hidden;
}
.theme-shop-panel.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	visibility: visible;
}
.theme-shop-panel__banner { position: relative; border-radius: 1.5rem; border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 2rem; overflow: hidden; }
@media (min-width: 768px) { .theme-shop-panel__banner { padding: 2rem; } }
.theme-shop-panel__banner-bg { position: absolute; inset: 0; opacity: .4; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='%23E43D8C' fill-opacity='0.16'><ellipse cx='30' cy='34' rx='5' ry='6.5'/><ellipse cx='21' cy='22' rx='2.4' ry='3.2'/><ellipse cx='30' cy='19' rx='2.4' ry='3.2'/><ellipse cx='39' cy='22' rx='2.4' ry='3.2'/></g></svg>"); background-size: 60px 60px; }
.theme-shop-panel__banner-inner { position: relative; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 768px) { .theme-shop-panel__banner-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-shop-panel__chip { display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; padding: .25rem .625rem; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .75rem; color: #fff; background: var(--primary); }
.theme-tone-pumpkin .theme-shop-panel__chip { background: var(--terracotta); }
.theme-tone-walnut .theme-shop-panel__chip { background: var(--nopal); color: var(--cream); }
.theme-shop-panel__title { font-size: 1.875rem; font-weight: 600; line-height: 1.2; }
@media (min-width: 768px) { .theme-shop-panel__title { font-size: 2.25rem; } }
.theme-shop-panel__caption { margin-top: .5rem; font-size: 15px; color: rgba(51,32,21,.75); max-width: 36rem; }
.theme-shop-panel__count { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); flex-shrink: 0; }
.theme-tone-pumpkin .theme-shop-panel__count { color: var(--terracotta); }
.theme-tone-walnut .theme-shop-panel__count { color: var(--nopal); }

.theme-tone-sage .theme-shop-panel__banner { background: linear-gradient(to bottom right, hsl(340 78% 94%), hsl(340 78% 86%)); }
.theme-tone-sage .theme-shop-panel,
.theme-shop-panel.is-active { background: none; }
.theme-tone-pumpkin .theme-shop-panel__banner { background: linear-gradient(to bottom right, hsl(22 82% 94%), hsl(18 78% 84%)); }
.theme-tone-walnut .theme-shop-panel__banner { background: linear-gradient(to bottom right, var(--cream), hsl(36 35% 88%)); }

.theme-product-card__visual.theme-tone-sage { background: linear-gradient(to bottom right, hsl(340 78% 94%), hsl(340 78% 86%)); }
.theme-product-card__visual.theme-tone-pumpkin { background: linear-gradient(to bottom right, hsl(22 82% 94%), hsl(18 78% 84%)); }
.theme-product-card__visual.theme-tone-walnut { background: linear-gradient(to bottom right, var(--cream), hsl(36 35% 88%)); }
.theme-product-card__visual.theme-accent-sage { background: linear-gradient(to bottom right, hsl(340 78% 92%), hsl(331 76% 82%)); }
.theme-product-card__visual.theme-accent-pumpkin { background: linear-gradient(to bottom right, hsl(22 82% 92%), hsl(18 78% 80%)); }
.theme-product-card__visual.theme-accent-berry { background: linear-gradient(to bottom right, hsl(340 78% 90%), hsl(340 78% 78%)); }
.theme-tone-sage .theme-product-card__stock-badge,
.theme-accent-sage .theme-product-card__stock-badge { background: var(--primary); }
.theme-tone-pumpkin .theme-product-card__stock-badge,
.theme-accent-pumpkin .theme-product-card__stock-badge { background: var(--terracotta); }
.theme-tone-walnut .theme-product-card__stock-badge,
.theme-accent-berry .theme-product-card__stock-badge { background: var(--nopal); }
.theme-product-card__pattern { position: absolute; inset: 0; opacity: .55; pointer-events: none; z-index: 0; }
.theme-product-card__visual-inner { position: relative; z-index: 1; }

/* ---------- 12. PRODUCT GRID / CARD ---------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
.theme-product-grid--cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-product-grid--cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-product-grid--archive { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.theme-product-grid--related { grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-product-grid--related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; min-width: 0; }
.theme-product-card {
	position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-width: 0;
	border-radius: 1rem; border: 1px solid var(--border); background: var(--card); overflow: hidden;
	box-shadow: var(--shadow-card); transition: transform .35s var(--transition-smooth), box-shadow .35s var(--transition-smooth);
}
.theme-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.theme-product-card__visual { position: relative; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; padding: 1.5rem; overflow: hidden; }
.theme-product-card__visual.has-image { padding: 0; background: var(--card) !important; }
.theme-product-card__visual.has-image .theme-product-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-card__visual > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link):not(.theme-product-card__add-btn):not(.theme-product-card__details-btn):not(.theme-product-card__add-btn--choose) { pointer-events: none; }
.theme-product-card__actions { position: relative; z-index: 3; }
.theme-product-card__add-btn, .theme-product-card__details-btn, .theme-product-card__add-btn--choose { pointer-events: auto; position: relative; z-index: 3; }
.theme-product-card__visual-inner { position: relative; text-align: center; z-index: 1; }
.theme-product-card__qty { font-family: var(--font-display); font-style: italic; font-size: 15px; color: rgba(51,32,21,.7); margin-bottom: .25rem; }
.theme-product-card__price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--foreground); line-height: 1; }
.theme-product-card__price-cents { font-size: 1.125rem; vertical-align: top; margin-left: .1rem; font-weight: 400; color: rgba(51,32,21,.6); }
.theme-product-card__currency { margin-top: .375rem; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(51,32,21,.55); }
.theme-product-card__stock-badge { position: absolute; bottom: .75rem; right: .75rem; z-index: 3; border-radius: 9999px; padding: .25rem .75rem; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }

.theme-product-card__info { position: relative; padding: 1.25rem; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.theme-product-card__title { font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.theme-product-card__subtitle { margin-top: .25rem; font-size: 14px; color: var(--muted-foreground); }
.theme-product-card__actions { margin-top: auto; padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 380px) { .theme-product-card__actions { flex-direction: row; } }

.theme-product-card__add-btn.add_to_cart_button,
.theme-product-card__add-btn.theme-product-card__add-btn--choose {
	min-height: 44px; flex: 1; border-radius: 9999px; background: var(--primary); color: var(--primary-foreground);
	padding: .625rem 1rem; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	display: inline-flex; align-items: center; justify-content: center; gap: .375rem; transition: background-color .2s ease;
}
.theme-product-card__add-btn.add_to_cart_button:hover,
.theme-product-card__add-btn.theme-product-card__add-btn--choose:hover { background: var(--nopal); }
.theme-product-card__add-btn--disabled { min-height: 44px; flex: 1; border-radius: 9999px; background: var(--secondary); color: var(--muted-foreground); display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.theme-product-card__details-btn {
	min-height: 44px; border-radius: 9999px; border: 2px solid var(--primary); color: var(--primary);
	padding: .625rem 1rem; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	display: inline-flex; align-items: center; justify-content: center; transition: all .2s ease; background: transparent;
}
.theme-product-card__details-btn:hover { background: var(--primary); color: var(--primary-foreground); }

.theme-shop-empty { text-align: center; padding: 3rem 0; color: var(--muted-foreground); }
.theme-archive-pagination { text-align: center; padding: 1rem 0 3rem; }

/* ---------- 13. PRICING SUMMARY -------------------------------------------- */
.theme-pricing-summary-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-pricing-summary-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.theme-pricing-summary-card {
	display: flex; align-items: center; gap: 1rem; text-align: left; border-radius: 1rem; border: 1px solid var(--border);
	background: var(--card); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-card); transition: transform .35s ease, box-shadow .35s ease;
	width: 100%; color: inherit;
}
.theme-pricing-summary-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.theme-pricing-summary-card__icon { width: 3rem; height: 3rem; border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.theme-tone-sage .theme-pricing-summary-card__icon { background: var(--primary); }
.theme-tone-pumpkin .theme-pricing-summary-card__icon { background: var(--terracotta); }
.theme-tone-walnut .theme-pricing-summary-card__icon { background: var(--nopal); color: var(--cream); }
.theme-pricing-summary-card__text { min-width: 0; flex: 1; }
.theme-pricing-summary-card__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .125rem; color: var(--primary); }
.theme-tone-pumpkin .theme-pricing-summary-card__label { color: var(--terracotta); }
.theme-tone-walnut .theme-pricing-summary-card__label { color: var(--nopal); }
.theme-pricing-summary-card__price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
.theme-pricing-summary-card__price em { font-family: var(--font-serif); font-style: italic; color: var(--primary); }
.theme-pricing-summary-card__usd { font-size: 11px; margin-left: .375rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-foreground); }
.theme-pricing-summary-card__arrow { color: var(--muted-foreground); flex-shrink: 0; transition: color .2s ease; }
.theme-pricing-summary-card:hover .theme-pricing-summary-card__arrow { color: var(--primary); }

/* ---------- 14. STORY ------------------------------------------------------ */
.theme-story-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-story-grid { grid-template-columns: 42fr 58fr; gap: 4rem; } }
.theme-story-visual { position: relative; order: 2; min-width: 0; }
@media (min-width: 1024px) { .theme-story-visual { order: 1; } }
.theme-story-visual__frame-bg { position: absolute; inset: -.75rem; border-radius: 1.5rem; background: var(--cream); border: 1px solid var(--border); transform: rotate(-.75deg); }
.theme-story-visual__image-wrap { position: relative; border-radius: 1.25rem; overflow: hidden; border: 1px solid var(--border); background: var(--cream); box-shadow: var(--shadow-elevated); aspect-ratio: 4/5; }
.theme-story-visual__badge svg { fill: currentColor; stroke: none; color: var(--rosa); }
.theme-story-visual__badge {
	position: absolute; top: -.75rem; right: -.75rem; border-radius: 9999px; background: var(--accent); color: var(--accent-foreground);
	padding: .375rem .75rem; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	box-shadow: 0 4px 10px rgba(0,0,0,.12); display: inline-flex; align-items: center; gap: .375rem;
}
.theme-story-copy { order: 1; min-width: 0; }
@media (min-width: 1024px) { .theme-story-copy { order: 2; } }
.theme-story-copy__paragraphs { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; font-size: 16px; line-height: 1.65; color: rgba(51,32,21,.8); }
.theme-story-copy__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- 15. SHIPPING & PICKUP ------------------------------------------ */
.theme-shipping-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .theme-shipping-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.theme-shipping-card { position: relative; border-radius: 1.5rem; border: 1px solid var(--border); padding: 2rem; box-shadow: var(--shadow-card); overflow: hidden; }
.theme-shipping-card__paw-bg { position: absolute; inset: 0; opacity: .4; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='%23E43D8C' fill-opacity='0.16'><ellipse cx='30' cy='34' rx='5' ry='6.5'/><ellipse cx='21' cy='22' rx='2.4' ry='3.2'/><ellipse cx='30' cy='19' rx='2.4' ry='3.2'/><ellipse cx='39' cy='22' rx='2.4' ry='3.2'/></g></svg>"); background-size: 60px 60px; }
.theme-shipping-card:nth-child(1) { background: linear-gradient(to bottom right, hsl(340 78% 92%), hsl(331 76% 82%)); }
.theme-shipping-card:nth-child(2) { background: linear-gradient(to bottom right, hsl(22 82% 92%), hsl(18 78% 80%)); }
.theme-shipping-card__body { position: relative; }
.theme-shipping-card__icon { width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: var(--primary); color: var(--primary-foreground); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.theme-shipping-card__icon--accent { background: var(--accent); color: var(--accent-foreground); }
.theme-shipping-card__title { font-size: 1.5rem; font-weight: 600; }
@media (min-width: 768px) { .theme-shipping-card__title { font-size: 1.875rem; } }
.theme-shipping-card__list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; color: rgba(51,32,21,.8); }
.theme-shipping-card__list li { display: flex; align-items: flex-start; gap: .625rem; }
.theme-shipping-card__list svg { color: var(--primary); margin-top: .25rem; flex-shrink: 0; }
.theme-shipping-card__text { margin-top: 1.25rem; color: rgba(51,32,21,.8); line-height: 1.65; }
.theme-shipping-card__link { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--foreground); transition: color .2s ease; }
.theme-shipping-card__link:hover { color: var(--nopal); }

/* ---------- 16. WHY CHOOSE US ---------------------------------------------- */
.theme-why-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 480px) { .theme-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .theme-why-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; } }
.theme-why-card { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-card); transition: transform .35s ease, box-shadow .35s ease; }
.theme-why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.theme-why-card__icon { width: 2.5rem; height: 2.5rem; border-radius: 9999px; background: rgba(227,53,137,.1); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.theme-why-card__label { font-size: 1rem; font-weight: 600; line-height: 1.35; }
@media (min-width: 768px) { .theme-why-card__label { font-size: 1.125rem; } }

/* ---------- 17. CONTACT ----------------------------------------------------- */
.theme-section--contact { position: relative; background: var(--nopal); color: var(--primary-foreground); overflow: hidden; }
.theme-section--contact__paw-bg { position: absolute; inset: 0; opacity: .08; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='%23E43D8C' fill-opacity='0.16'><ellipse cx='30' cy='34' rx='5' ry='6.5'/><ellipse cx='21' cy='22' rx='2.4' ry='3.2'/><ellipse cx='30' cy='19' rx='2.4' ry='3.2'/><ellipse cx='39' cy='22' rx='2.4' ry='3.2'/></g></svg>"); background-size: 60px 60px; }
.theme-contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .theme-contact-grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; } }
.theme-contact-copy { min-width: 0; }
@media (min-width: 1024px) { .theme-contact-copy { grid-column: span 6; } }
.theme-contact-copy__paragraph { margin-top: 1.25rem; color: rgba(255,255,255,.85); font-size: 1.125rem; line-height: 1.65; max-width: 36rem; }
.theme-contact-banner { margin-top: 1.5rem; display: inline-flex; align-items: flex-start; gap: .75rem; border-radius: 1rem; border: 1px solid rgba(246,168,90,.4); background: rgba(255,255,255,.05); backdrop-filter: blur(4px); padding: .75rem 1rem; max-width: 36rem; }
.theme-contact-banner svg { color: var(--marigold); margin-top: .125rem; flex-shrink: 0; }
.theme-contact-banner p { font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.4; margin: 0; }
.theme-contact-banner strong { color: var(--marigold); }
.theme-contact-banner a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 2px; }
.theme-contact-banner a:hover { color: var(--marigold); }
.theme-contact-copy__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.theme-contact-cards { min-width: 0; }
@media (min-width: 1024px) { .theme-contact-cards { grid-column: span 6; } }
.theme-contact-card {
	display: flex; align-items: center; gap: 1rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,.2);
	background: rgba(255,255,255,.05); backdrop-filter: blur(4px); padding: 1rem 1.25rem; transition: background-color .2s ease;
	margin-bottom: .875rem;
}
.theme-contact-card:hover { background: rgba(255,255,255,.1); }
.theme-contact-card__icon { width: 2.75rem; height: 2.75rem; border-radius: 9999px; background: var(--marigold); color: var(--nopal); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.theme-contact-card__text { min-width: 0; }
.theme-contact-card__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.theme-contact-card__value { display: block; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) { .theme-contact-card__value { font-size: 1.25rem; } }

/* ---------- 18. CLOSING BRAND MOMENT --------------------------------------- */
.theme-closing { text-align: center; }
.theme-closing__daubs { display: inline-flex; align-items: center; gap: .5rem; border-radius: 9999px; background: var(--cream); border: 1px solid var(--border); padding: .375rem .75rem; margin-bottom: 1.5rem; }
.theme-closing__daubs svg:nth-child(1) { color: var(--primary); }
.theme-closing__daubs svg:nth-child(2) { color: var(--accent); }
.theme-closing__daubs svg:nth-child(3) { color: var(--rosa); }
.theme-closing__quote { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: rgba(51,32,21,.8); }
@media (min-width: 768px) { .theme-closing__quote { font-size: 1.875rem; } }
.theme-closing__business { margin-top: 1rem; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); }
.theme-closing__cta { margin-top: 2rem; }

/* ---------- 19. FOOTER ------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); background: var(--butter); }
.site-footer .container-wide { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .site-footer .container-wide { padding-top: 4rem; padding-bottom: 4rem; } }
.site-footer__top { display: flex; flex-direction: column; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 2.5rem; } }
.site-footer__about { max-width: 28rem; }
.site-footer__logo-link { display: inline-flex; }
.site-footer__logo { height: 120px; width: auto; object-fit: contain; border-radius: .5rem; box-shadow: var(--shadow-soft); transition: transform .5s ease; }
@media (min-width: 768px) { .site-footer__logo { height: 140px; } }
.site-footer__logo-link:hover .site-footer__logo { transform: rotate(-2deg); }
.site-footer__description { margin-top: 1.25rem; font-size: 15px; color: rgba(51,32,21,.75); line-height: 1.65; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3.5rem; }
.site-footer__col-heading { font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.site-footer__link-list { display: flex; flex-direction: column; gap: .625rem; }
.site-footer__link-list a { font-size: 15px; color: rgba(51,32,21,.7); transition: color .2s ease; }
.site-footer__link-list a:hover { color: var(--primary); }

.site-footer__mid { padding-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__mid { grid-template-columns: repeat(3, 1fr); } }
.site-footer__brand-heading { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.site-footer__brand-heading svg { color: var(--accent); }
.site-footer__brand-tagline { font-size: 14px; color: var(--muted-foreground); }
.site-footer__contact-list a { display: inline-flex; align-items: center; gap: .5rem; color: rgba(51,32,21,.8); font-size: 15px; margin-bottom: .625rem; transition: color .2s ease; }
.site-footer__contact-list a:hover { color: var(--primary); }
.site-footer__contact-list svg { color: var(--primary); flex-shrink: 0; }
.site-footer__cta { text-align: left; }
@media (min-width: 768px) { .site-footer__cta { text-align: right; } }

.site-footer__bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(224,205,194,.7); display: flex; flex-direction: column; gap: .75rem; align-items: center; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__quote { font-size: 1.125rem; color: var(--primary); font-family: var(--font-serif); font-style: italic; display: inline-flex; align-items: center; gap: .625rem; }
.site-footer__legal { display: flex; flex-direction: column; gap: .375rem; align-items: center; }
@media (min-width: 640px) { .site-footer__legal { align-items: flex-end; } }
.site-footer__legal p { font-size: 12px; color: var(--muted-foreground); letter-spacing: .01em; margin: 0; }
.site-footer__legal a { color: var(--primary); }
.site-footer__legal a:hover { color: var(--nopal); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 20. 404 --------------------------------------------------------- */
.theme-404 { min-height: 60vh; display: flex; align-items: center; }
.theme-404__inner { text-align: center; padding: 5rem 0; }
.theme-404__title { font-size: 3.5rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--primary); text-decoration: underline; }
.theme-404__link:hover { color: var(--nopal); }

/* ---------- 21. GENERIC PAGE SHELL ------------------------------------------ */
.theme-page-shell { padding-top: 3rem; padding-bottom: 3rem; }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; }

/* ---------- 22. SINGLE PRODUCT PAGE (Section 11) ---------------------------- */
.theme-single-product .container-wide { padding-top: 1rem; padding-bottom: 2.5rem; }
.theme-breadcrumb { padding: .75rem 0 1.25rem; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; }
.theme-breadcrumb a:hover { color: var(--primary); }
.theme-breadcrumb__sep { margin: 0 .5rem; opacity: .5; }
.theme-breadcrumb__current { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 4rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-gallery { position: relative; aspect-ratio: 1/1; border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-elevated); }
.theme-product-gallery.has-image { background: var(--card); }
.theme-product-gallery__image { z-index: 0; }
.theme-product-gallery__chip--overlay { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 2; }
.theme-product-gallery.theme-accent-sage { background: linear-gradient(to bottom right, hsl(90, 24%, 86%), hsl(90, 28%, 75%)); }
.theme-product-gallery.theme-accent-sage.has-image { background: var(--card); }
.theme-product-gallery.theme-accent-pumpkin { background: linear-gradient(to bottom right, hsl(28, 75%, 88%), hsl(22, 78%, 74%)); }
.theme-product-gallery.theme-accent-pumpkin.has-image { background: var(--card); }
.theme-product-gallery.theme-accent-berry { background: linear-gradient(to bottom right, hsl(348, 50%, 88%), hsl(348, 55%, 76%)); }
.theme-product-gallery.theme-accent-berry.has-image { background: var(--card); }
.theme-product-gallery__paw-bg { position: absolute; inset: 0; opacity: .6; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='%23E43D8C' fill-opacity='0.16'><ellipse cx='30' cy='34' rx='5' ry='6.5'/><ellipse cx='21' cy='22' rx='2.4' ry='3.2'/><ellipse cx='30' cy='19' rx='2.4' ry='3.2'/><ellipse cx='39' cy='22' rx='2.4' ry='3.2'/></g></svg>"); background-size: 60px 60px; }
.theme-product-gallery__cookie { position: absolute; color: rgba(51,32,21,.1); pointer-events: none; display: flex; align-items: center; justify-content: center; }
.theme-product-gallery__cookie svg { width: 100%; height: 100%; }
.theme-product-gallery__cookie--1 { top: -1.5rem; left: -1.5rem; width: 8rem; height: 8rem; transform: rotate(-12deg); }
.theme-product-gallery__cookie--2 { bottom: -2rem; right: -2rem; width: 10rem; height: 10rem; transform: rotate(12deg); }
.theme-product-gallery__content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 2.5rem; }
.theme-product-gallery__chip { display: inline-flex; align-items: center; gap: .375rem; border-radius: 9999px; padding: .375rem .875rem; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.5rem; color: #fff; background: var(--primary); }
.theme-accent-pumpkin .theme-product-gallery__chip { background: var(--accent); }
.theme-accent-berry .theme-product-gallery__chip { background: var(--rosa); }
.theme-product-gallery__qty { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: rgba(51,32,21,.7); margin-bottom: .75rem; }
@media (min-width: 768px) { .theme-product-gallery__qty { font-size: 1.25rem; } }
.theme-product-gallery__price { font-family: var(--font-display); font-size: 3.75rem; font-weight: 700; line-height: 1; }
@media (min-width: 768px) { .theme-product-gallery__price { font-size: 4.5rem; } }
.theme-product-gallery__price-cents { font-size: 1.5rem; vertical-align: top; margin-left: .25rem; font-weight: 400; color: rgba(51,32,21,.6); }
.theme-product-gallery__currency { margin-top: .75rem; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(51,32,21,.6); }
.theme-product-gallery__trust { margin-top: 1.5rem; display: flex; align-items: center; gap: .5rem; font-size: 12px; color: rgba(51,32,21,.7); }
.theme-product-gallery__trust svg { color: var(--rosa); fill: var(--rosa); stroke: none; }
.theme-product-info__purchase { margin-top: 2rem; }

.theme-product-info__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }
.product-title.theme-product-info__title { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; line-height: 1.05; margin-top: .5rem; }
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 3rem; } }
.theme-product-info__price-row { margin-top: 1rem; display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.theme-product-info__price { font-family: var(--font-serif); font-style: italic; color: var(--primary); font-size: 1.75rem; }
.theme-product-info__price .woocommerce-Price-amount { font-family: var(--font-serif); font-style: italic; }
.theme-product-info__qty-text { font-size: 14px; color: var(--muted-foreground); }
.theme-product-info__stock { margin-top: .75rem; font-size: 13px; font-weight: 600; letter-spacing: .05em; }
.theme-product-info__stock--out { color: var(--rosa); }
.theme-product-info__description { margin-top: 1.5rem; color: rgba(51,32,21,.8); font-size: 16px; line-height: 1.65; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__quantity { margin-top: 2rem; }
.theme-product-info__quantity h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .75rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid var(--border); background: var(--cream); }
.theme-qty-minus, .theme-qty-plus { background: none; border: none; padding: .875rem 1rem; color: var(--foreground); transition: background-color .2s ease; display: inline-flex; }
.theme-qty-minus { border-radius: 9999px 0 0 9999px; }
.theme-qty-plus { border-radius: 0 9999px 9999px 0; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--secondary); }
.theme-qty-input { width: 3rem; border: none; background: transparent; text-align: center; font-weight: 600; font-family: var(--font-body); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-info__trust-row { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; text-align: center; }
.theme-product-info__trust-item { border-radius: .75rem; border: 1px solid var(--border); background: var(--cream); padding: .75rem .5rem; }
.theme-product-info__trust-item svg { margin: 0 auto .375rem; display: block; color: var(--primary); }
.theme-product-info__trust-item:nth-child(3) svg { color: var(--accent); }
.theme-product-info__trust-item p { font-size: 11px; line-height: 1.3; color: rgba(51,32,21,.75); margin: 0; }

.theme-product-info__details { margin-top: 2rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.25rem; }
.theme-product-info__details h4 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.theme-product-info__details h4 svg { color: var(--accent); }
.woocommerce-product-details__short-description,
.single-product .woocommerce-product-details__short-description { display: flex; flex-direction: column; gap: .5rem; font-size: 14px; color: rgba(51,32,21,.8); overflow-wrap: break-word; word-break: break-word; }
.woocommerce-product-details__short-description li { display: flex; align-items: flex-start; gap: .625rem; }
.woocommerce-product-details__short-description svg { color: var(--primary); margin-top: .25rem; flex-shrink: 0; }
.theme-product-info__pickup-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--muted-foreground); }

.single-product .posted_in, .single-product .woocommerce-variation-description { overflow-wrap: break-word; word-break: break-word; }

/* Thumbnail row (Section 11.13) — reserved for products with real galleries. */
.single-product .theme-product-thumbnails { display: flex; flex-wrap: wrap; max-width: 100%; gap: .5rem; margin-top: 1rem; }
.single-product .theme-product-thumbnails button { border: 2px solid transparent; border-radius: .5rem; overflow: hidden; padding: 0; }
.single-product .theme-product-thumbnails button.is-active { border-color: var(--primary); }

/* Related products */
.theme-related-products { padding-bottom: 4rem; }
.theme-related-products__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.theme-related-products__title { font-size: 1.5rem; font-weight: 600; }
@media (min-width: 768px) { .theme-related-products__title { font-size: 1.875rem; } }
.theme-related-products__back { display: none; align-items: center; gap: .375rem; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
@media (min-width: 640px) { .theme-related-products__back { display: inline-flex; } }
.theme-related-products__back:hover { color: var(--nopal); }

.theme-related-card-wrap { display: flex; height: 100%; min-width: 0; }
.theme-related-card { display: block; text-decoration: none; color: inherit; }
.theme-related-card__visual {
	position: relative; aspect-ratio: 4/3; border-radius: 1rem; overflow: hidden;
	border: 1px solid var(--border); box-shadow: var(--shadow-card);
	transition: transform .35s var(--transition-smooth);
}
.theme-related-card:hover .theme-related-card__visual { transform: translateY(-4px); }
.theme-related-card__visual.theme-accent-sage { background: linear-gradient(to bottom right, hsl(90, 24%, 86%), hsl(90, 28%, 75%)); }
.theme-related-card__visual.theme-accent-pumpkin { background: linear-gradient(to bottom right, hsl(28, 75%, 88%), hsl(22, 78%, 74%)); }
.theme-related-card__visual.theme-accent-berry { background: linear-gradient(to bottom right, hsl(348, 50%, 88%), hsl(348, 55%, 76%)); }
.theme-related-card__paw-bg { position: absolute; inset: 0; opacity: .6; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='%23E43D8C' fill-opacity='0.16'><ellipse cx='30' cy='34' rx='5' ry='6.5'/><ellipse cx='21' cy='22' rx='2.4' ry='3.2'/><ellipse cx='30' cy='19' rx='2.4' ry='3.2'/><ellipse cx='39' cy='22' rx='2.4' ry='3.2'/></g></svg>"); background-size: 60px 60px; }
.theme-related-card__content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.25rem; }
.theme-related-card__qty { font-family: var(--font-display); font-style: italic; font-size: .875rem; color: rgba(51,32,21,.7); }
.theme-related-card__price { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; color: var(--foreground); line-height: 1; margin-top: .25rem; }
.theme-related-card__price-cents { font-size: 1rem; vertical-align: top; font-weight: 400; color: rgba(51,32,21,.6); }
.theme-related-card__title { margin-top: .75rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; transition: color .2s ease; }
.theme-related-card:hover .theme-related-card__title { color: var(--primary); }
.theme-related-card__subtitle { margin-top: .125rem; font-size: 13px; color: var(--muted-foreground); font-family: var(--font-body); }
.theme-product-grid--related { gap: 1.5rem; }

/* ---------- 22b. VARIABLE PRODUCT VARIATIONS (pill UI) -------------------- */
.theme-product-info__variations { margin-top: 1.5rem; }
.variations_form .variations { width: 100%; border: none; margin: 0 0 1rem; }
.variations_form .variations tr { display: block; margin-bottom: 1.25rem; }
.variations_form .variations th.label { display: block; padding: 0 0 .5rem; text-align: left; font-size: 1.125rem; font-weight: 600; }
.variations_form .variations th.label label { font-weight: 600; }
.variations_form .variations td.value { display: block; padding: 0; position: relative; }
.variations_form .variations select {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-variation-pills-wrap { display: flex; flex-direction: column; gap: .5rem; }
.theme-variation-pills__label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-foreground); }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.theme-variation-pill {
	min-height: 44px;
	border-radius: 9999px;
	border: 2px solid rgba(227,53,137,.25);
	background: var(--background);
	padding: .625rem 1.25rem;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--primary);
	transition: all .2s ease;
	cursor: pointer;
}
.theme-variation-pill:hover { border-color: rgba(227,53,137,.5); }
.theme-variation-pill.is-active {
	border-color: transparent;
	background: var(--primary);
	color: var(--primary-foreground);
	box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.variations_form .single_variation_wrap { margin-top: .5rem; }
.variations_form .woocommerce-variation-price { margin-bottom: 1rem; font-family: var(--font-serif); font-style: italic; color: var(--primary); font-size: 1.25rem; }
.variations_form .reset_variations { display: none; }

/* ---------- 23. ADD-TO-CART BUTTON: MANDATORY STYLE OVERRIDE (11.4.1) ------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: .5rem;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity .2s ease !important;
}
.single-product .single_add_to_cart_button.button {
	font-size: 13px !important;
	letter-spacing: 0.14em !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: .85 !important;
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: .4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: .4 !important;
	background-color: var(--primary) !important;
}
.ajax_add_to_cart.theme-btn-loading {
	opacity: .6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button — overrides global rules for the product-card add button. */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 44px !important;
	padding: .625rem 1rem !important;
	border-radius: 9999px !important;
}

/* ---------- 24. HIDE "VIEW CART" AFTER AJAX ADD (Section 11.4.2) ----------- */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* ---------- 25. SIDE CART DRAWER (Section 12) ------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; background: rgba(51,32,21,.4); backdrop-filter: blur(2px);
	z-index: 60; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--background); z-index: 61; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; border-left: 1px solid var(--border);
	transform: translateX(100%); transition: transform .4s var(--transition-smooth);
	overflow: hidden;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: .6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }
.theme-cart-drawer__title { font-size: 1.5rem; font-weight: 600; margin-top: .125rem; }
.theme-cart-drawer__close { background: none; border: none; padding: .5rem; border-radius: 9999px; color: var(--foreground); }
.theme-cart-drawer__close:hover { background: var(--secondary); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty svg { color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: rgba(51,32,21,.7); margin-bottom: 1.5rem; }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__thumb { width: 5rem; height: 5rem; flex-shrink: 0; border-radius: .5rem; border: 1px solid var(--border); background: var(--cream); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.theme-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-family: var(--font-display); font-size: 15px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__name:hover { color: var(--primary); }
.theme-cart-item__variation { font-size: 12px; color: var(--muted-foreground); margin: .125rem 0 0; }
.theme-cart-item__price { font-family: var(--font-serif); font-style: italic; color: var(--primary); font-size: 14px; margin: .125rem 0 0; }
.theme-cart-item__controls { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.theme-cart-item__qty { display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid var(--border); background: var(--cream); }
.theme-cart-item__qty button { background: none; border: none; padding: .25rem .5rem; }
.theme-cart-item__qty button:first-child { border-radius: 9999px 0 0 9999px; }
.theme-cart-item__qty button:last-child { border-radius: 0 9999px 9999px 0; }
.theme-cart-item__qty button:hover { background: var(--secondary); }
.theme-cart-item__qty span { font-size: 14px; width: 1.75rem; text-align: center; display: inline-block; }
.theme-cart-item__remove { margin-left: auto; background: none; border: none; font-size: 12px; color: var(--muted-foreground); letter-spacing: .02em; }
.theme-cart-item__remove:hover { color: var(--rosa); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); background: rgba(252,245,238,.4); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal span:first-child { color: var(--muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 600; }
.theme-cart-drawer__note { font-size: 12px; color: var(--muted-foreground); margin: 0; }
.theme-cart-drawer__empty-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; background: none; border: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-foreground); padding: .25rem 0; }
.theme-cart-drawer__empty-btn:hover { color: var(--foreground); }

/* Scoped WooCommerce notice hiding (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { display: block; }

/* ---------- 26. WOOCOMMERCE GLOBAL STYLE OVERRIDE (Section 14) ------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	border-radius: .75rem; border: 1px solid var(--border); background: var(--cream);
	color: var(--foreground); font-family: var(--font-body); padding: 1rem 1.25rem;
	max-width: 60rem; margin: 1rem auto;
}
.woocommerce-error { border-color: var(--rosa); background: hsl(348 68% 96%); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-breadcrumb { display: none; }

/* ---------- 27. CHECKOUT BLOCK (Section 13) --------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
	display: block;
}
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-notice-banner {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__button {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 15px !important;
	color: var(--foreground) !important;
	border: 1px solid var(--border) !important;
	border-radius: .5rem !important;
	background: var(--cream) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__button:focus {
	outline: none !important;
	border-color: var(--primary) !important;
	box-shadow: 0 0 0 2px rgba(227,53,137,.2) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-combobox input::placeholder {
	color: var(--muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__menu {
	background: var(--cream) !important;
	border: 1px solid var(--border) !important;
	border-radius: .5rem !important;
	box-shadow: var(--shadow-elevated) !important;
}
body.woocommerce-checkout .components-custom-select-control__option {
	font-family: var(--font-body) !important;
	font-size: 15px !important;
	color: var(--foreground) !important;
}
body.woocommerce-checkout .components-custom-select-control__option.is-highlighted {
	background: var(--secondary) !important;
}
body.woocommerce-checkout .wc-block-components-select__expand {
	color: var(--muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-label {
	font-family: var(--font-body) !important;
	font-size: 13px !important;
	letter-spacing: .04em !important;
}
body.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row select {
	width: 100% !important;
	font-family: var(--font-body) !important;
	font-size: 15px !important;
	color: var(--foreground) !important;
	border: 1px solid var(--border) !important;
	border-radius: .5rem !important;
	background: var(--cream) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--card);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: .9;
	background-color: var(--nopal) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: .75rem;
	font-family: var(--font-body);
}
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 {
	font-family: var(--font-display);
	font-weight: 600;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { order: 0; }

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	border: 1px solid var(--border);
	border-radius: .5rem;
	background: var(--cream);
}

/* Cart & Account width/alignment parity (Section 13.7) */
body.woocommerce-cart .woocommerce,
body.woocommerce-account .woocommerce {
	max-width: 100%;
}

/* ---------- 28. THANK YOU PAGE (Section 22.8) ------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 1.5rem; margin: 0 0 2rem;
	border-radius: var(--card-radius); background: var(--card); border: 1px solid var(--border);
}
body.theme-thankyou-page .woocommerce-order-overview li {
	list-style: none; font-size: 14px; flex: 1 1 auto; min-width: 140px;
}
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-top: .25rem; }
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: .75rem; border-bottom: 1px solid var(--border); text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--border); border-radius: .75rem; padding: 1rem; background: var(--cream);
}
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}
