/* =========================================================================
   Rooted Legacy Farm theme stylesheet
   ========================================================================= */

:root {
	--color-background: #f9f6f0;
	--color-foreground: #32251b;
	--color-card: #f3ece2;
	--color-primary: #664324;
	--color-primary-foreground: #fbf8f4;
	--color-secondary: #efe7dc;
	--color-muted-foreground: #6e6053;
	--color-accent: #9b6f36;
	--color-border: #dfd5c8;
	--color-marigold: #c18d33;
	--color-teal: #5d6c4b;
	--color-nopal: #445738;
	--color-rosa: #964f40;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Zilla Slab', Georgia, serif;
	--font-body: 'Karla', 'Inter', sans-serif;

	--radius: 0.5rem;
	--card-radius: 1.5rem;
	--logo-height: 64px;
	--header-height: 88px;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 0.8125rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.2em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.75rem;

	--shadow-soft: 0 4px 18px -6px rgb(50 37 27 / 0.10);
	--shadow-elevated: 0 18px 44px -20px rgb(50 37 27 / 0.28);
	--shadow-glow: 0 0 50px -18px rgb(193 141 51 / 0.55);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--checkout-gap: 2rem;
}

@media (min-width: 768px) {
	:root { --header-height: 122px; }
}

/* =========================================================================
   RESET / BASE
   ========================================================================= */

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-main-product-img):not(.theme-thumb-btn img):not(.theme-product-card__image-wrapper img):not(.theme-cart-item__image img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-bg-img,
.product-card-img,
.theme-main-product-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: 0.02em;
	margin: 0;
}

::selection { background: color-mix(in srgb, var(--color-accent) 25%, transparent); }

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

.theme-accent { color: var(--color-primary); }

/* =========================================================================
   ANIMATION UTILITIES (ported verbatim from the original source)
   ========================================================================= */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes flicker {
	0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
	25% { opacity: 0.85; transform: scale(1.06) rotate(-4deg); }
	55% { opacity: 1; transform: scale(0.97) rotate(3deg); }
	80% { opacity: 0.92; transform: scale(1.03) rotate(-2deg); }
}
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin-clockwise { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.animate-sway { animation: sway 5.5s ease-in-out infinite; transform-origin: 50% 90%; }
.animate-flicker { animation: flicker 3.4s ease-in-out infinite; }

.shimmer-loading {
	background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-card) 50%, var(--color-secondary) 100%);
	background-size: 200% 100%;
	animation: shimmer 1.6s ease-in-out infinite;
}

.gold-sheen { position: relative; overflow: hidden; }
.gold-sheen::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--color-marigold) 30%, transparent) 50%, transparent 65%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--transition-smooth);
	pointer-events: none;
}
.gold-sheen:hover::after { transform: translateX(120%); }

/* Scroll-reveal (Section 2.1) */
.reveal-item {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.25,0.4,0.25,1), transform 0.7s cubic-bezier(0.25,0.4,0.25,1);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* Preview/no-JS fallback: never leave content permanently hidden */
body.is-customizer .reveal-item,
.no-js .reveal-item,
.theme-shop-item .reveal-item { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.animate-flicker, .animate-sway, .theme-marquee__track { animation: none !important; }
	.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

.theme-inline-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
.theme-caret svg { width: 0.85em; height: 0.85em; transition: transform 0.3s var(--transition-smooth); }
.theme-caret.is-open svg { transform: rotate(180deg); }

/* =========================================================================
   BUTTONS
   ========================================================================= */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	padding: 1rem 2rem;
	border-radius: var(--btn-radius);
	transition: all 0.3s ease;
	border: 1px solid transparent;
}
.theme-btn-round { border-radius: 999px; }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); box-shadow: var(--shadow-soft); }
.theme-btn-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); transform: translateY(-2px); }
.theme-btn-outline { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.theme-btn-outline:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-outline-light { border-color: color-mix(in srgb, var(--color-background) 50%, transparent); color: var(--color-background); }
.theme-btn-outline-light:hover { background: color-mix(in srgb, var(--color-background) 10%, transparent); }
.theme-btn-card { background: var(--color-card); color: var(--color-foreground); border-color: var(--color-border); }
.theme-btn-card:hover { background: var(--color-secondary); }
.theme-btn-hero-primary, .theme-btn-hero-outline, .single-product .single_add_to_cart_button { text-transform: none; }

/* =========================================================================
   HEADER
   ========================================================================= */

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	height: 88px;
	background: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 768px) { .site-header { height: 122px; } }
.site-header.is-solid,
body.mobile-menu-open .site-header {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(8px);
	box-shadow: var(--shadow-soft);
	border-bottom: 1px solid var(--color-border);
}
body.mobile-menu-open .site-header:not(.is-solid) .theme-nav-link,
body.mobile-menu-open .site-header:not(.is-solid) .theme-nav-list a,
body.mobile-menu-open .site-header:not(.is-solid) .theme-cart-btn,
body.mobile-menu-open .site-header:not(.is-solid) .theme-menu-toggle { color: var(--color-foreground); }
body.mobile-menu-open .site-header:not(.is-solid) .theme-cart-btn { border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
body.mobile-menu-open .theme-header-logo-invert .site-header:not(.is-solid) .site-logo-img { filter: none; }
.site-header__inner { height: 100%; }
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.theme-nav-desktop { display: none; align-items: center; gap: 2rem; flex: 1; }
.theme-nav-desktop--left { justify-content: flex-start; }
.theme-nav-desktop--right { justify-content: flex-end; }
@media (min-width: 1024px) { .theme-nav-desktop { display: flex; } }

.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list li { list-style: none; }
.theme-nav-link, .theme-nav-list a:not(.theme-nav-dropdown-item) {
	font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
	color: var(--color-foreground); opacity: 0.85; transition: color 0.3s, opacity 0.3s;
	position: relative; background: none; border: none; padding: 0;
}
.site-header:not(.is-solid) .theme-nav-link,
.site-header:not(.is-solid) .theme-nav-list > .theme-nav-link,
.site-header:not(.is-solid) .theme-nav-list .theme-nav-dropdown-toggle { color: #fff; opacity: 0.92; }
.theme-nav-link:hover, .theme-nav-list a:not(.theme-nav-dropdown-item):hover { opacity: 1; color: var(--color-primary); }
.site-header:not(.is-solid) .theme-nav-link:hover,
.site-header:not(.is-solid) .theme-nav-list > .theme-nav-link:hover,
.site-header:not(.is-solid) .theme-nav-list .theme-nav-dropdown-toggle:hover { color: #fff; }
.theme-nav-link:not(.theme-nav-dropdown-toggle)::after,
.theme-nav-list > a.theme-nav-link::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
	background: var(--color-marigold); transform: scaleX(0); transform-origin: right;
	transition: transform 0.3s ease;
}
.theme-nav-link:not(.theme-nav-dropdown-toggle):hover::after,
.theme-nav-list > a.theme-nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.theme-nav-dropdown.is-open .theme-nav-dropdown-toggle { opacity: 1; }

.theme-nav-dropdown { position: relative; }
.theme-nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 0.25rem; }
.theme-nav-dropdown-toggle .theme-caret { display: inline-flex; transition: transform 0.3s ease; }
.theme-nav-dropdown-toggle .theme-caret svg { width: 0.875rem; height: 0.875rem; stroke-width: 1.75; }
.theme-nav-dropdown.is-open .theme-nav-dropdown-toggle .theme-caret { transform: rotate(180deg); }
.theme-nav-dropdown-panel {
	position: absolute; top: 100%; left: 0; margin-top: 0.75rem; min-width: 14rem;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0.75rem;
	box-shadow: var(--shadow-elevated); overflow: hidden; z-index: 50; display: none;
}
.theme-nav-dropdown.is-open .theme-nav-dropdown-panel { display: block; animation: fadeIn 0.2s ease; }
.theme-nav-dropdown-panel .theme-nav-dropdown-item {
	display: block; width: 100%; text-align: left; padding: 0.75rem 1.25rem; font-size: 0.875rem; line-height: 1.5;
	font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: normal;
	color: var(--color-foreground); opacity: 1; transition: background 0.2s, color 0.2s;
}
.theme-nav-dropdown-panel .theme-nav-dropdown-item:hover { background: var(--color-card); color: var(--color-primary); }
.site-header:not(.is-solid) .theme-nav-dropdown-panel .theme-nav-dropdown-item { color: var(--color-foreground); opacity: 1; }
.site-header:not(.is-solid) .theme-nav-dropdown-panel .theme-nav-dropdown-item:hover { color: var(--color-primary); }

.site-header__brand { position: absolute; left: 50%; top: 0; height: 100%; transform: translateX(-50%); align-items: center; justify-content: center; }
.site-header__brand.site-footer__brand { position: static; transform: none; }
.site-logo-wrap { display: flex; align-items: center; height: var(--logo-height-mobile); }
@media (min-width: 1024px) { .site-logo-wrap { height: var(--logo-height); } }
@media (min-width: 1280px) { .site-logo-wrap { height: var(--logo-height-xl); } }
.site-logo-img { height: 100% !important; width: auto !important; max-height: 100%; display: block; transition: filter 0.5s ease, transform 0.5s ease; }
.theme-header-logo-invert .site-header:not(.is-solid) .site-logo-img { filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgb(0 0 0 / 0.45)); }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.site-header__brand:hover .site-logo-img { transform: scale(1.05); }
.theme-nav-mobile .site-logo-wrap { height: var(--logo-height-mobile); }

.theme-cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	color: var(--color-foreground); transition: border-color 0.3s, color 0.3s;
}
.site-header:not(.is-solid) .theme-cart-btn { border-color: color-mix(in srgb, #fff 50%, transparent); color: #fff; }
.theme-cart-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.site-header:not(.is-solid) .theme-cart-btn:hover { color: #fff; border-color: #fff; }
.theme-cart-icon svg { width: 1rem; height: 1rem; }
.theme-cart-count {
	position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 4px;
	background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px;
	font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-nav-mobile { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; }
.theme-nav-mobile__tools { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 1024px) { .theme-nav-mobile { display: none; } }
.site-header__brand--mobile { display: flex; position: static; transform: none; height: 100%; flex-shrink: 0; min-width: 0; }
@media (min-width: 1024px) { .site-header__brand--mobile { display: none; } }
.site-header__brand:not(.site-header__brand--mobile) { display: none; }
@media (min-width: 1024px) { .site-header__brand:not(.site-header__brand--mobile) { display: flex; } }
.theme-menu-toggle { position: relative; padding: 0.5rem; margin-right: -0.5rem; color: var(--color-foreground); background: none; border: none; }
.site-header:not(.is-solid) .theme-menu-toggle { color: #fff; }
.theme-menu-icon { width: 1.25rem; height: 1.25rem; display: block; }
.theme-menu-icon svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.6; }
.theme-cart-icon svg { stroke-width: 1.7; }
.theme-menu-icon--close { display: none; }
body.mobile-menu-open .theme-menu-icon--open { display: none; }
body.mobile-menu-open .theme-menu-icon--close { display: block; }

.theme-mobile-menu {
	position: absolute; top: 100%; left: 0; right: 0; background: var(--color-background);
	border-top: 1px solid var(--color-border); box-shadow: var(--shadow-elevated);
	max-height: calc(100dvh - 88px); overflow-y: auto; display: none;
}
body.mobile-menu-open .theme-mobile-menu { display: block; animation: fadeIn 0.25s ease; }
.theme-mobile-menu__inner { padding: 0.75rem 0; }
@media (max-width: 1023px) {
	.theme-mobile-menu .container-wide.theme-mobile-menu__inner { padding: 0.75rem 1rem; }
}
.theme-mobile-menu .theme-nav-dropdown { width: 100%; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.theme-mobile-menu .theme-nav-dropdown-toggle {
	width: 100%; justify-content: space-between; padding: 1rem 0; border-bottom: none;
}
.theme-mobile-menu .theme-nav-dropdown-toggle .theme-caret { width: auto; height: auto; border: none; border-radius: 0; }
.theme-mobile-menu .theme-nav-dropdown-toggle .theme-caret svg { width: 1rem; height: 1rem; stroke-width: 1.7; }
.theme-mobile-menu .theme-nav-dropdown-panel .theme-nav-dropdown-item {
	padding: 0.5rem 0; font-size: 0.875rem; font-weight: 400; text-transform: none; letter-spacing: normal;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent); border-bottom: none;
}
.theme-mobile-menu .theme-nav-dropdown-panel .theme-nav-dropdown-item:hover { color: var(--color-primary); background: transparent; }
.theme-mobile-nav-list,
.theme-mobile-menu .theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list {
	list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0;
}
.theme-mobile-nav-list a, .theme-mobile-nav-list .theme-nav-link {
	display: block; padding: 1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; text-align: left; color: var(--color-foreground);
}
.theme-mobile-menu .theme-nav-dropdown-panel { position: static; box-shadow: none; border: none; display: none; margin: 0; padding-left: 1rem; }
.theme-mobile-menu .theme-nav-dropdown.is-open .theme-nav-dropdown-panel { display: block; }

/* =========================================================================
   HERO
   ========================================================================= */

.theme-hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--color-foreground); }
.theme-hero__media { position: absolute; inset: 0; transform-origin: center center; will-change: transform; }
.theme-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 50%, transparent), color-mix(in srgb, var(--color-foreground) 30%, transparent), color-mix(in srgb, var(--color-foreground) 70%, transparent));
}
.theme-hero__content {
	position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding-top: 8rem; padding-bottom: 5rem; color: var(--color-background);
	max-width: 48rem; margin: 0 auto;
}
.theme-hero__badge {
	display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid color-mix(in srgb, var(--color-background) 40%, transparent);
	background: color-mix(in srgb, var(--color-background) 10%, transparent); padding: 0.4rem 1rem; border-radius: 999px;
	font-size: 0.8125rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; backdrop-filter: blur(4px);
}
.theme-hero__title {
	margin-top: 1.5rem; text-transform: uppercase; line-height: 1; letter-spacing: 0.03em;
	font-size: clamp(2.25rem, 7vw, 5rem); font-family: var(--font-display); font-weight: 600;
}
.theme-hero__rotator { margin-top: 2rem; height: 2.4em; display: flex; align-items: center; justify-content: center; position: relative; }
.theme-hero__line {
	position: absolute; opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease;
	color: var(--color-marigold); text-transform: uppercase; letter-spacing: 0.2em; font-size: 1.125rem; font-family: var(--font-display);
}
@media (min-width: 768px) { .theme-hero__line { font-size: 1.5rem; } }
.theme-hero__line.is-active { opacity: 1; transform: translateY(0); position: relative; }
.theme-hero__subtitle { margin-top: 1rem; max-width: 36rem; font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-background) 90%, transparent); }
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.25rem; } }
.theme-hero__ctas { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .theme-hero__ctas { flex-direction: row; } }
.theme-hero__ctas .theme-btn { padding: 1rem 2.5rem; }
.theme-hero__trust { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.5rem; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 85%, transparent); }
.theme-hero__trust-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-hero__trust-icon { width: 0.875rem; height: 0.875rem; color: var(--color-marigold); flex-shrink: 0; }
.theme-hero__trust-icon svg { width: 100%; height: 100%; stroke-width: 2; }
.theme-hero__scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: color-mix(in srgb, var(--color-background) 80%, transparent); animation: theme-bounce 1.8s ease-in-out infinite; }
.theme-hero__scroll-cue svg { width: 1.5rem; height: 1.5rem; }
@keyframes theme-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* =========================================================================
   MARQUEE
   ========================================================================= */

.theme-marquee { background: var(--color-foreground); color: var(--color-background); padding: 1rem 0; overflow: hidden; border-top: 1px solid var(--color-foreground); border-bottom: 1px solid var(--color-foreground); }
.theme-marquee__track { display: inline-flex; white-space: nowrap; animation: marquee 30s linear infinite; }
.theme-marquee__track:hover { animation-play-state: paused; }
.theme-marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.theme-marquee__item { display: inline-flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem; }
.theme-marquee__text { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.14em; }
.theme-marquee__icon { width: 1.25rem; height: 1.25rem; color: var(--color-marigold); flex-shrink: 0; }
.theme-marquee__icon svg { width: 100%; height: 100%; stroke-width: 1.8; }
@media (min-width: 768px) { .theme-marquee__text { font-size: 1.875rem; } }

/* =========================================================================
   SECTION HEADINGS
   ========================================================================= */

.theme-section { padding: 4rem 0; }
@media (min-width: 768px) { .theme-section { padding: 5rem 0; } }
.theme-section__head { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
.theme-section__head--featured { max-width: none; margin-bottom: 3.5rem; }
.theme-section__head--featured .theme-section__subtitle { max-width: 36rem; margin-left: auto; margin-right: auto; }
.theme-kicker { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-accent); font-weight: 700; margin-bottom: 0.75rem; }
.theme-icon--filled svg { fill: var(--color-accent); }
.theme-scroll-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 2px; transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--color-primary), var(--color-marigold));
	z-index: 100; pointer-events: none; transform: scaleX(0);
}
.theme-section__subtitle { margin-top: 1.25rem; color: var(--color-muted-foreground); font-size: 1rem; }
@media (min-width: 768px) { .theme-section__subtitle { font-size: 1.125rem; } }
.theme-section__cta { text-align: center; margin-top: 3rem; }

.section-heading { font-size: 2.25rem; text-transform: uppercase; line-height: 1.02; font-weight: 600; }
@media (min-width: 768px) { .section-heading { font-size: 3.75rem; } }

.about-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.75rem; } }

.animals-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .animals-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .animals-section .section-heading { font-size: 3.75rem; } }

.herdshare-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .herdshare-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .herdshare-section .section-heading { font-size: 3.75rem; } }

.shop-heading { font-size: 2.25rem; text-transform: uppercase; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3.75rem; } }

.cta-band__title { font-size: 2.25rem; text-transform: uppercase; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3.75rem; } }

/* =========================================================================
   CATEGORY TILES
   ========================================================================= */

.theme-categories-section { background: var(--color-background); }
.theme-category-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .theme-category-tiles { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-category-tile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.theme-category-tile__icon {
	display: flex; align-items: center; justify-content: center; width: 6rem; height: 6rem; border-radius: 999px;
	background: var(--color-card); border: 1px solid var(--color-border); color: var(--color-primary);
	margin-bottom: 1.25rem; transition: all 0.5s ease;
}
@media (min-width: 768px) { .theme-category-tile__icon { width: 8rem; height: 8rem; } }
.theme-category-tile__icon svg { width: 2.25rem; height: 2.25rem; }
@media (min-width: 768px) { .theme-category-tile__icon svg { width: 2.75rem; height: 2.75rem; } }
.theme-category-tile:hover .theme-category-tile__icon { transform: translateY(-6px); border-color: var(--color-primary); box-shadow: var(--shadow-glow); }
.theme-category-tile:hover .theme-category-tile__icon svg { transform: scale(1.1) rotate(-6deg); }
.theme-category-tile__label { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--color-muted-foreground); margin: 0 0 0.375rem; }
.theme-category-tile__title { font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-foreground); transition: color 0.3s; }
@media (min-width: 768px) { .theme-category-tile__title { font-size: 1.5rem; } }
.theme-category-tile:hover .theme-category-tile__title { color: var(--color-primary); }

/* =========================================================================
   PRODUCT CARDS (Pattern A -- Section 31.3)
   ========================================================================= */

.theme-featured-section { background: var(--color-card); }
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.theme-featured-products { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-featured-products { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; }
.theme-product-card { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; }

.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1 / 1; border-radius: var(--card-radius); overflow: hidden;
	background: var(--color-card); border: 1px solid var(--color-border); margin-bottom: 1.25rem;
	transition: box-shadow 0.3s ease;
}
.theme-card-media-link { position: absolute; inset: 0; z-index: 1; display: block; pointer-events: none; }
.theme-card-media-link img { pointer-events: auto; }
.theme-product-card:hover .theme-product-card__image-wrapper { box-shadow: var(--shadow-elevated); transform: translateY(-4px); }
.theme-product-card__image-wrapper { transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .product-card-img,
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); }
.theme-product-card__image-wrapper img,
.product-card-img {
	position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1);
}

.theme-stock-badge {
	position: absolute; top: 1rem; left: 1rem; z-index: 4; padding: 0.25rem 0.75rem; border-radius: 999px;
	font-size: 12px; font-weight: 600; letter-spacing: 0.02em; background: var(--color-foreground); color: var(--color-background);
}

.theme-card-add-btn {
	position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3; padding: 0.75rem; border-radius: 999px;
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; font-family: var(--font-body); text-align: center;
	background: var(--color-primary); color: var(--color-primary-foreground); border: 1px solid var(--color-primary);
	opacity: 0; transform: translateY(8px); transition: all 0.3s ease; pointer-events: auto;
}
.theme-card-add-btn:hover { background: var(--color-background); color: var(--color-primary); }
.theme-product-card:hover .theme-card-add-btn { opacity: 1; transform: translateY(0); }

.theme-product-card__info-link { display: block; min-width: 0; }
.theme-product-card__info { padding: 0 0.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.theme-product-card__subcategory, .theme-product-card__cats { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-product-card__title { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.3; color: var(--color-foreground); transition: color 0.3s; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .price del { opacity: 0.5; margin-right: 0.35rem; }

/* =========================================================================
   ABOUT / ANIMALS / HERDSHARE SHARED LAYOUT
   ========================================================================= */

.about-section, .theme-featured-section, .herdshare-section { background: var(--color-card); }
.services-section, .shop-section, .faq-section, .animals-section { background: var(--color-background); }

.theme-about__grid, .theme-animals__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
	.theme-about__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }
	.theme-animals__grid { grid-template-columns: 0.85fr 1fr; gap: 5rem; }
	.theme-animals__image-wrap { order: 2; }
	.theme-animals__copy { order: 1; }
}

.theme-animals__image-wrap, .theme-herdshare__image-wrap { position: relative; margin-bottom: 2rem; }
.theme-about__image, .theme-animals__image { position: relative; border-radius: var(--card-radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-elevated); }
.theme-about__copy p, .theme-animals__copy p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.theme-about__copy .section-heading, .theme-animals__copy .section-heading { margin-bottom: 1.5rem; }

.theme-parallax-image { overflow: hidden; }
.theme-parallax-image img { will-change: transform; transition: opacity 0.7s ease, filter 0.7s ease; }
.theme-about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 1.75rem; max-width: 28rem; }
.theme-about__stat-value { margin: 0; font-family: var(--font-display); font-size: 1.875rem; line-height: 1; }
@media (min-width: 768px) { .theme-about__stat-value { font-size: 2.25rem; } }
.theme-about__stat-label { margin: 0.5rem 0 0; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted-foreground); }

.theme-section-badge {
	position: absolute; bottom: -1.5rem; left: 1rem; z-index: 2;
	background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 1rem; box-shadow: var(--shadow-elevated); padding: 1rem 1.5rem;
	display: flex; align-items: center; gap: 0.75rem;
}
@media (min-width: 640px) { .theme-section-badge { left: 1.5rem; } }
.theme-section-badge__icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: color-mix(in srgb, var(--color-nopal) 12%, transparent); color: var(--color-nopal); flex-shrink: 0; }
.theme-section-badge__icon svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.7; }
.theme-section-badge__text { display: flex; flex-direction: column; }
.theme-section-badge__title { font-family: var(--font-display); font-size: 1.125rem; text-transform: uppercase; line-height: 1; color: var(--color-foreground); }
.theme-section-badge__subtitle { margin-top: 0.25rem; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); }

.theme-animals__steps { list-style: none; margin: 0 0 2.25rem; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.theme-animals__steps li { display: flex; gap: 1rem; }
.theme-animals__step-num {
	flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--color-border);
	display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 700; color: var(--color-primary);
	transition: all 0.3s ease;
}
.theme-animals__steps li:hover .theme-animals__step-num { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-animals__step-title { display: block; font-family: var(--font-display); font-size: 1.125rem; text-transform: uppercase; }
.theme-animals__step-text { display: block; margin-top: 0.15rem; font-size: 0.9375rem; color: var(--color-muted-foreground); }
.theme-animals__ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-animals__ctas { flex-direction: row; } }

/* =========================================================================
   HERDSHARE
   ========================================================================= */

.theme-herdshare__intro { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
@media (min-width: 1024px) { .theme-herdshare__intro { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-herdshare__copy p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.theme-herdshare__features { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-bottom: 2.25rem; }
.theme-herdshare__feature { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-herdshare__feature-icon { width: 1rem; height: 1rem; color: var(--color-nopal); flex-shrink: 0; }
.theme-herdshare__feature-icon svg { width: 100%; height: 100%; stroke-width: 2.4; }
.theme-herdshare__note { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-herdshare__image { position: relative; border-radius: var(--card-radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-elevated); width: 100%; }
.theme-herdshare__how-title { text-align: center; font-size: 1.5rem; text-transform: uppercase; margin: 2rem 0 2.5rem; }
@media (min-width: 768px) { .theme-herdshare__how-title { font-size: 1.875rem; } }
.theme-herdshare__steps { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .theme-herdshare__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-herdshare__steps { grid-template-columns: repeat(4, 1fr); } }
.theme-herdshare__step { background: var(--color-background); border: 1px solid var(--color-border); border-radius: 1rem; padding: 1.75rem; transition: box-shadow 0.5s, border-color 0.5s; }
.theme-herdshare__step:hover { box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-herdshare__step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.theme-herdshare__step-icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.theme-herdshare__step-icon svg { width: 1.25rem; height: 1.25rem; }
.theme-herdshare__step-num { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-border); }
.theme-herdshare__step h4 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-herdshare__step p { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.6; margin: 0; }

/* =========================================================================
   SERVICES
   ========================================================================= */

.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .theme-services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.theme-service-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: 1rem;
	padding: 2.5rem 2rem; transition: all 0.5s ease;
}
.theme-service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.theme-service-card__icon { display: flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 999px; margin-bottom: 1.5rem; background: color-mix(in srgb, var(--color-primary) 12%, transparent); color: var(--color-primary); transition: all 0.5s; }
.theme-service-card__icon svg { width: 1.75rem; height: 1.75rem; }
.theme-service-card:hover .theme-service-card__icon { transform: scale(1.1) rotate(-6deg); background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-service-card--2 .theme-service-card__icon { background: color-mix(in srgb, var(--color-accent) 12%, transparent); color: var(--color-accent); }
.theme-service-card--2:hover .theme-service-card__icon { background: var(--color-accent); color: var(--color-primary-foreground); }
.theme-service-card--3 .theme-service-card__icon { background: color-mix(in srgb, var(--color-teal) 10%, transparent); color: var(--color-teal); }
.theme-service-card--3:hover .theme-service-card__icon { background: var(--color-teal); color: var(--color-background); }
.theme-service-card--4 .theme-service-card__icon { background: color-mix(in srgb, var(--color-nopal) 10%, transparent); color: var(--color-nopal); }
.theme-service-card--4:hover .theme-service-card__icon { background: var(--color-nopal); color: var(--color-background); }
.theme-service-card--5 .theme-service-card__icon { background: color-mix(in srgb, var(--color-marigold) 12%, transparent); color: var(--color-marigold); }
.theme-service-card--5:hover .theme-service-card__icon { background: var(--color-marigold); color: var(--color-background); }
.theme-service-card--6 .theme-service-card__icon { background: color-mix(in srgb, var(--color-rosa) 12%, transparent); color: var(--color-rosa); }
.theme-service-card--6:hover .theme-service-card__icon { background: var(--color-rosa); color: var(--color-background); }
.theme-service-card__kicker { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--color-primary); margin-bottom: 0.75rem; }
.theme-service-card--2 .theme-service-card__kicker { color: var(--color-accent); }
.theme-service-card--3 .theme-service-card__kicker { color: var(--color-teal); }
.theme-service-card--4 .theme-service-card__kicker { color: var(--color-nopal); }
.theme-service-card--5 .theme-service-card__kicker { color: var(--color-marigold); }
.theme-service-card--6 .theme-service-card__kicker { color: var(--color-rosa); }
.theme-service-card__title { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 1rem; }
@media (min-width: 768px) { .theme-service-card__title { font-size: 1.75rem; } }
.theme-service-card__description { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.6; max-width: 18rem; margin-bottom: 2rem; flex-grow: 1; }
.theme-service-card__cta { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--color-primary); margin-top: auto; }
.theme-service-card--2 .theme-service-card__cta { color: var(--color-accent); }
.theme-service-card--3 .theme-service-card__cta { color: var(--color-teal); }
.theme-service-card--4 .theme-service-card__cta { color: var(--color-nopal); }
.theme-service-card--5 .theme-service-card__cta { color: var(--color-marigold); }
.theme-service-card--6 .theme-service-card__cta { color: var(--color-rosa); }

/* =========================================================================
   SHOP SECTION
   ========================================================================= */

.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search__icon svg { width: 1rem; height: 1rem; }
#theme-shop-search { width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border); font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); outline: none; }
#theme-shop-search:focus { border-color: var(--color-foreground); }

.theme-shop-categories, .theme-shop-subcategories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-shop-cat-btn, .theme-shop-subcat-btn {
	padding: 0.5rem 1.25rem; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
	border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); transition: all 0.3s;
}
.theme-shop-cat-btn.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-shop-cat-btn:hover:not(.is-active) { border-color: var(--color-primary); color: var(--color-primary); }
.theme-shop-subcat-btn { font-weight: 400; letter-spacing: 0.1em; padding: 0.375rem 1rem; color: var(--color-muted-foreground); }
.theme-shop-subcat-btn.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.theme-shop-price-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-shop-price-toggle:hover { color: var(--color-foreground); }
.theme-shop-price-panel { width: 100%; max-width: 24rem; padding-top: 0.5rem; }

.theme-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.theme-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); }

.theme-shop-count { text-align: center; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-shop-item-hidden { display: none !important; }
.theme-shop-load-more { text-align: center; margin-top: 3rem; }
.theme-shop-empty-message { text-align: center; padding: 3rem 0; color: var(--color-muted-foreground); }

/* =========================================================================
   FAQ
   ========================================================================= */

.theme-faq-tabs { display: none; flex-wrap: wrap; justify-content: center; gap: 0.625rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-faq-tabs { display: flex; } }
.theme-faq-tab { flex-shrink: 0; border-radius: 999px; border: 1px solid var(--color-border); padding: 0.625rem 1.25rem; font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; background: transparent; color: var(--color-foreground); transition: all 0.3s; }
.theme-faq-tab.is-active.theme-faq-color-teal, .theme-faq-tab.theme-faq-color-teal { border-color: var(--color-teal); }
.theme-faq-tab.is-active.theme-faq-color-teal { background: var(--color-teal); color: var(--color-background); }
.theme-faq-tab.theme-faq-color-rosa { border-color: var(--color-rosa); }
.theme-faq-tab.is-active.theme-faq-color-rosa { background: var(--color-rosa); color: var(--color-background); }
.theme-faq-tab.theme-faq-color-lilac { border-color: var(--color-border); }
.theme-faq-tab.is-active.theme-faq-color-lilac { background: var(--color-secondary); color: var(--color-foreground); }
.theme-faq-tab.theme-faq-color-nopal { border-color: var(--color-nopal); }
.theme-faq-tab.is-active.theme-faq-color-nopal { background: var(--color-nopal); color: var(--color-background); }
.theme-faq-tab.theme-faq-color-marigold { border-color: var(--color-marigold); }
.theme-faq-tab.is-active.theme-faq-color-marigold { background: var(--color-marigold); color: var(--color-background); }

.theme-faq-panel { display: none; border-top: 1px solid var(--color-border); }
.theme-faq-panel.is-active { display: block; }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.theme-faq-item__trigger span:first-child { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; flex: 1; }
@media (min-width: 768px) { .theme-faq-item__trigger span:first-child { font-size: 1.5rem; } }
.theme-faq-item .theme-caret,
.theme-shop-price-toggle .theme-caret {
	flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--color-border);
	display: flex; align-items: center; justify-content: center; color: var(--color-foreground);
}
.theme-nav-dropdown-toggle .theme-caret {
	flex-shrink: 0; width: auto; height: auto; border: none; border-radius: 0; display: inline-flex; align-items: center; justify-content: center;
}
.theme-faq-item.is-open .theme-caret svg { transform: rotate(180deg); }
.theme-faq-item__panel { display: none; padding-bottom: 1.5rem; max-width: 48rem; }
.theme-faq-item.is-open .theme-faq-item__panel { display: block; }
.theme-faq-item__panel p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; margin: 0; }

@media (max-width: 767px) {
	.theme-faq-panels { display: none; }
}

.theme-faq-mobile { display: block; text-align: center; }
@media (min-width: 768px) { .theme-faq-mobile { display: none; } }
.theme-faq-mobile-group { margin-bottom: 2.5rem; }
.theme-faq-mobile-group:last-child { margin-bottom: 0; }
.theme-faq-mobile-label {
	display: inline-block; border-radius: 999px; border: 1px solid var(--color-border); padding: 0.625rem 1.25rem;
	font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem;
}
.theme-faq-mobile-group.theme-faq-color-teal .theme-faq-mobile-label { background: var(--color-teal); color: var(--color-background); border-color: var(--color-teal); }
.theme-faq-mobile-group.theme-faq-color-rosa .theme-faq-mobile-label { background: var(--color-rosa); color: var(--color-background); border-color: var(--color-rosa); }
.theme-faq-mobile-group.theme-faq-color-lilac .theme-faq-mobile-label { background: var(--color-secondary); color: var(--color-foreground); border-color: var(--color-border); }
.theme-faq-mobile-group.theme-faq-color-nopal .theme-faq-mobile-label { background: var(--color-nopal); color: var(--color-background); border-color: var(--color-nopal); }
.theme-faq-mobile-group.theme-faq-color-marigold .theme-faq-mobile-label { background: var(--color-marigold); color: var(--color-background); border-color: var(--color-marigold); }
.theme-faq-mobile-items { border-top: 1px solid var(--color-border); text-align: left; }

/* =========================================================================
   CONTACT CTA
   ========================================================================= */

.contact-cta-section { padding: 0; }
.theme-contact-cta__bg { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 5rem 1rem; background-size: cover; background-position: center; }
.theme-contact-cta__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 45%, transparent); }
.theme-contact-cta__panel { position: relative; z-index: 1; width: 100%; max-width: 56rem; border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-elevated); background: var(--color-background); border: 1px solid var(--color-border); padding: 3.5rem 2rem; text-align: center; }
@media (min-width: 768px) { .theme-contact-cta__panel { padding: 5rem 4rem; } }
.theme-contact-cta__text { max-width: 36rem; margin: 0 auto 2.5rem; color: var(--color-muted-foreground); line-height: 1.7; }
.theme-contact-cta__buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .theme-contact-cta__buttons { flex-direction: row; } }
.theme-contact-cta__notes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-contact-cta__divider { color: var(--color-border); }

/* =========================================================================
   FOOTER
   ========================================================================= */

.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
.site-footer__inner { padding: 4rem 1.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding: 5rem 2rem; } }
.site-footer__top { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__brand .site-logo-wrap { height: 7rem; }
@media (min-width: 768px) { .site-footer__brand .site-logo-wrap { height: 9rem; } }
.site-footer__intro { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__intro { text-align: right; } }
.site-footer__tagline { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; margin: 0 0 0.5rem; }
@media (min-width: 768px) { .site-footer__tagline { font-size: 1.875rem; } }
.site-footer__description { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 0.9375rem; line-height: 1.6; margin: 0 0 1rem; }
.site-footer__contacts { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .site-footer__contacts { align-items: flex-end; } }
.site-footer__contacts a { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 0.875rem; }
.site-footer__contacts .theme-inline-icon svg { width: 0.875rem; height: 0.875rem; stroke-width: 1.9; }
.site-footer__contacts a:hover { color: var(--color-primary); }
.site-footer__social { display: flex; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__social { justify-content: flex-end; } }
.theme-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--color-border); color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: all 0.3s; }
.theme-social-icon:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
.theme-social-icon svg { width: 1rem; height: 1rem; }

.site-footer__columns { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__columns { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.site-footer__col-title { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 1.25rem; }
.site-footer__col-icon svg { width: 1rem; height: 1rem; color: var(--color-accent); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__links--grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__links--grid { grid-template-columns: auto auto; gap: 0.75rem 2rem; } }
.site-footer__links a, .site-footer__links button { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); text-align: left; transition: all 0.3s; }
.site-footer__links a:hover, .site-footer__links button:hover { color: var(--color-primary); transform: translateX(2px); }

.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.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__note { font-size: 0.8125rem; color: var(--color-accent); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; margin: 0; }
.site-footer__copyright { font-size: 0.8125rem; color: var(--color-muted-foreground); letter-spacing: 0.02em; margin: 0; }

/* =========================================================================
   CART DRAWER (Section 12, 31.6)
   ========================================================================= */

#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background);
	z-index: 91; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.25,0.4,0.25,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.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(--color-border); flex-shrink: 0; }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; margin: 0; }
.theme-cart-drawer__close {
	display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem;
	background: none; border: none; color: var(--color-foreground); transition: opacity 0.2s;
}
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__close svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.5; }
.theme-cart-drawer__empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1.5rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__empty-icon { width: 3rem; height: 3rem; color: var(--color-muted-foreground); margin-bottom: 0.25rem; }
.theme-cart-drawer__empty-icon svg { width: 100%; height: 100%; stroke-width: 1; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; min-height: 0; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; font-family: var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price, .theme-cart-item__variation { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; font-family: var(--font-body); }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__controls .theme-qty-minus, .theme-cart-item__controls .theme-qty-plus {
	padding: 0.25rem; border-radius: 0.25rem; background: none; border: none; color: var(--color-foreground); transition: background 0.2s;
}
.theme-cart-item__controls .theme-qty-minus svg, .theme-cart-item__controls .theme-qty-plus svg { width: 0.75rem; height: 0.75rem; }
.theme-cart-item__controls .theme-qty-minus:hover, .theme-cart-item__controls .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-cart-item__qty { width: 1.5rem; text-align: center; font-size: 0.875rem; font-family: var(--font-body); }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); background: none; border: none; font-family: var(--font-body); transition: color 0.2s; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; font-family: var(--font-body); }
.theme-cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal-value { font-weight: 500; color: var(--color-foreground); }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; font-family: var(--font-body); }
.theme-cart-drawer__checkout { width: 100%; padding: 0.875rem 1.5rem; font-size: 1rem; }
.theme-cart-drawer__clear { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; }
.theme-cart-drawer__clear svg { width: 1rem; height: 1rem; }

/* =========================================================================
   CONTACT MODAL
   ========================================================================= */

#theme-contact-modal-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); z-index: 95; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.contact-modal-open #theme-contact-modal-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal { position: fixed; inset: 0; z-index: 96; display: flex; align-items: center; justify-content: center; padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.contact-modal-open #theme-contact-modal { opacity: 1; pointer-events: auto; }
.theme-contact-modal__panel { position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--color-background); border-radius: 1rem; box-shadow: var(--shadow-elevated); padding: 2.5rem; transform: scale(0.95) translateY(10px); transition: transform 0.3s cubic-bezier(0.25,0.4,0.25,1); }
body.contact-modal-open .theme-contact-modal__panel { transform: scale(1) translateY(0); }
.theme-contact-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 1.5rem; line-height: 1; }
#theme-contact-modal-title { font-family: var(--font-display); font-size: 1.875rem; text-transform: uppercase; margin: 0 0 0.75rem; }
.theme-contact-modal__desc { color: var(--color-muted-foreground); margin: 0 0 1.5rem; }
.theme-contact-modal__quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-modal__quicklinks a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.theme-contact-modal__quicklinks a:hover { color: var(--color-primary); }
.theme-contact-modal__quicklinks .theme-inline-icon svg { width: 1rem; height: 1rem; }
.theme-contact-modal__submit { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__submit-icon svg { width: 1rem; height: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field select, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; border-radius: 0.375rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 1rem; font-family: var(--font-body); color: var(--color-foreground);
}
.theme-form-field input:focus, .theme-form-field select:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__check { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--color-primary); margin: 0 auto 1rem; }
.theme-contact-modal__check-icon { width: 1.75rem; height: 1.75rem; color: var(--color-primary-foreground); }
.theme-contact-modal__check-icon svg { width: 100%; height: 100%; stroke-width: 2; }

/* =========================================================================
   404
   ========================================================================= */

.theme-404__inner { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.theme-404__title { font-family: var(--font-display); font-size: 2.5rem; }
.theme-404__text { color: var(--color-muted-foreground); font-size: 1.25rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

/* =========================================================================
   THEME PAGE / ENTRY CONTENT
   ========================================================================= */

.theme-page { padding: 3rem 0; }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
.entry-content { line-height: 1.7; }
.entry-content p { margin: 0 0 1.25rem; }

/* =========================================================================
   SINGLE PRODUCT (Section 11.13)
   ========================================================================= */

.single-product .site-main { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 4rem; }
.single-product .theme-breadcrumb { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.single-product .theme-breadcrumb a:hover { color: var(--color-foreground); }
.single-product .theme-breadcrumb span[aria-hidden] { margin: 0 0.5rem; opacity: 0.5; }
.single-product .theme-breadcrumb__current { color: var(--color-foreground); }

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

.single-product .theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.single-product .theme-main-product-img { width: 100%; height: 100%; object-fit: cover; }
.single-product .theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.single-product .theme-thumb-btn { aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); border: 1px solid transparent; }
.single-product .theme-thumb-btn.is-active { border-color: var(--color-foreground); }
.single-product .theme-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

.single-product .theme-product-category { font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
@media (min-width: 1024px) {
	.single-product .theme-product-info { position: sticky; top: 7rem; align-self: start; }
}
.single-product .product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .single-product .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .single-product .product-title { font-size: 2.75rem; } }
.single-product .theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.single-product .theme-product-price .price del { opacity: 0.5; margin-right: 0.5rem; }
.single-product .theme-stock-indicator--out { color: var(--color-destructive, var(--color-rosa)); font-weight: 600; margin-bottom: 1rem; }
.single-product .theme-product-lead { color: var(--color-muted-foreground); line-height: 1.625; margin: 0 0 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-features__description { margin-bottom: 1rem; }
.theme-product-features ul { margin: 0; padding: 0; list-style: none; }
.theme-product-features li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem; color: var(--color-muted-foreground); }
.theme-product-features li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 4px; height: 4px; border-radius: 999px; background: var(--color-foreground); }

.single-product .theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.single-product .theme-qty-minus, .single-product .theme-qty-plus { padding: 0.5rem 0.75rem; }
.single-product .theme-qty-minus:hover, .single-product .theme-qty-plus:hover { background: var(--color-secondary); }
.single-product .theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); -moz-appearance: textfield; }
.single-product .theme-qty-input::-webkit-outer-spin-button, .single-product .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area,
.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.single-product .theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; text-align: left; font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__trigger::after { content: '+'; font-size: 1.25rem; transition: transform 0.3s; }
.theme-accordion.is-open .theme-accordion__trigger::after { content: '\2212'; }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; color: var(--color-muted-foreground); line-height: 1.7; }
.theme-accordion.is-open .theme-accordion__panel { display: block; }
.theme-accordion__panel ul { padding-left: 0; list-style: none; margin: 0; }
.theme-accordion__panel li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem; }
.theme-accordion__panel li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 4px; height: 4px; border-radius: 999px; background: var(--color-foreground); }

.related-products-section { padding: 4rem 0; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.theme-related-heading { text-align: center; margin-bottom: 2.5rem; }
.theme-related-kicker { font-family: var(--font-display); font-style: italic; color: var(--color-muted-foreground); margin: 0 0 0.25rem; }
.theme-related-heading h2 { font-size: 1.875rem; text-transform: none; font-weight: 400; }

/* =========================================================================
   VARIABLE PRODUCT VARIATIONS TABLE (Section 11.5.1)
   ========================================================================= */

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-variation-row { margin-bottom: 1.5rem; }
.theme-variation-label { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); font-weight: 400; margin: 0 0 0.75rem; }
.theme-attr-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-border); border-radius: 999px; font-family: var(--font-body); transition: border-color 0.2s, background 0.2s, color 0.2s; }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-attr-pill--color.is-selected { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); color: var(--color-foreground); }
.theme-attr-swatch { width: 0.75rem; height: 0.75rem; border-radius: 999px; border: 1px solid var(--color-border); flex-shrink: 0; }
.single-product .theme-pdp-atc-btn,
.single-product .single_add_to_cart_button.theme-pdp-atc-btn {
	background: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: 999px !important;
	width: 100%;
	text-transform: uppercase !important;
	letter-spacing: 0.25em !important;
	font-weight: 500 !important;
	font-size: 0.75rem !important;
	padding: 1rem 1.5rem !important;
	min-height: auto !important;
}
.single-product .theme-pdp-atc-btn:hover:not(:disabled) { opacity: 0.9 !important; background: var(--color-foreground) !important; color: var(--color-background) !important; }

/* =========================================================================
   WOOCOMMERCE GLOBAL OVERRIDES (Section 14)
   ========================================================================= */

.woocommerce-notices-wrapper { max-width: 60rem; margin: 0 auto 1.5rem; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: 0.5rem; padding: 1rem 1.5rem;
	list-style: none; font-family: var(--font-body); color: var(--color-foreground);
}
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.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(--color-primary) !important;
	color: var(--color-button-text) !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;
	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 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !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: 0.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: 0.4 !important;
	background-color: var(--color-primary) !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 card variant */
.theme-product-card .theme-card-add-btn.add_to_cart_button,
.theme-product-card .theme-card-add-btn.theme-card-add-btn--select {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: 1px solid var(--color-primary) !important;
	border-radius: 999px !important;
	min-height: auto !important;
	padding: 0.75rem !important;
	font-size: 12px !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
}
.theme-product-card .theme-card-add-btn.add_to_cart_button:hover,
.theme-product-card .theme-card-add-btn.theme-card-add-btn--select:hover {
	background: var(--color-background) !important;
	color: var(--color-primary) !important;
	opacity: 1 !important;
}

.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0.65rem 1rem !important;
	border-radius: 999px !important;
	font-size: 11px !important;
}

.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; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* =========================================================================
   WOOCOMMERCE SHOP ARCHIVE
   ========================================================================= */

.theme-shop-archive { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
.theme-shop-archive__header { text-align: center; margin-bottom: 2.5rem; }
.theme-shop-empty { text-align: center; color: var(--color-muted-foreground); padding: 3rem 0; }
.woocommerce-breadcrumb { font-size: 0.8125rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

/* =========================================================================
   CHECKOUT BLOCK (Section 13)
   ========================================================================= */

body.woocommerce-checkout .site-main { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .entry-content { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { body.woocommerce-checkout .page-title, body.woocommerce-checkout .entry-content { padding: 0 2rem; } }
body.woocommerce-checkout .page-title { margin-bottom: 2rem; font-size: 2rem; }

body.woocommerce-checkout .wc-block-checkout { display: block !important; max-width: none !important; }
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: var(--checkout-gap) !important;
	align-items: start !important;
	width: 100% !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	}
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-checkout__sidebar {
	display: block !important;
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
	grid-column: auto !important;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-components-main > * {
	max-width: none !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__main .checkout-order-summary-block-fill-wrapper,
	body.woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block {
		display: none !important;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border-radius: var(--card-radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select,
body.woocommerce-checkout .woocommerce-checkout .form-row textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0.375rem !important;
	background-color: var(--color-background) !important;
	box-shadow: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
}
body.woocommerce-checkout .wc-blocks-components-select__container {
	border: 1px solid var(--color-border) !important;
	border-radius: 0.375rem !important;
	background-color: var(--color-background) !important;
}
body.woocommerce-checkout .wc-blocks-components-select__label {
	font-family: var(--font-body) !important;
	color: var(--color-muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text::placeholder,
body.woocommerce-checkout .woocommerce-checkout .form-row textarea::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text:focus,
body.woocommerce-checkout .woocommerce-checkout .form-row select:focus,
body.woocommerce-checkout .woocommerce-checkout .form-row textarea:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: uppercase !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	font-size: var(--btn-font-size) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
	font-family: var(--font-body);
}

/* =========================================================================
   CART / ACCOUNT PAGE WIDTH PARITY (Section 13.7)
   ========================================================================= */

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 4rem; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content { padding: 0 2rem; } }

/* =========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================= */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { border: 1px solid var(--color-border); border-radius: 0.5rem; padding: 1rem 1.5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; }
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; margin-top: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}

/* =========================================================================
   CUSTOMIZER MEDIA CONTROLS
   ========================================================================= */
/* moved to customizer-controls.css */
