/* ==========================================================================
   Legacy Builders theme stylesheet
   ========================================================================== */

:root {
	--color-background: #f5f1ea;
	--color-foreground: #15231e;
	--color-primary: #cc9933;
	--color-primary-foreground: #15231e;
	--color-secondary: #e8e3d8;
	--color-muted-foreground: #4e5f59;
	--color-accent: #234336;
	--color-highlight: #8a5938;
	--color-border: #d9d4c9;

	--font-display: 'Cormorant Garamond', 'Playfair Display', serif;
	--font-body: 'Jost', 'Inter', 'Helvetica Neue', sans-serif;

	--radius: 0.25rem;
	--shadow-soft: 0 6px 24px -8px rgba(21, 35, 30, 0.18);
	--shadow-elevated: 0 14px 40px -12px rgba(21, 35, 30, 0.32);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--logo-height: 60px;
	--header-height: 4.2rem;
	--admin-bar-height: 0px;

	--btn-radius: 0px;
	--btn-height: 3rem;
	--btn-padding: 0 2.5rem;
	--btn-font-size: 11px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.32em;
	--btn-text-transform: uppercase;
	--card-radius: 0.5rem;
	--section-padding: 2rem;
	--checkout-gap: 2.5rem;
}

/* -------------------------------------------------------------------- */
/* Reset & base                                                          */
/* -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: inherit; font-size: inherit; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
button:disabled, button.is-disabled { cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

img:not(.cover-img):not(.hero-section__img):not(.kickstarter-banner__img):not(.theme-product-card-img):not(.theme-product-main-image):not(.theme-related-card__img):not(.theme-product-thumb img):not(.theme-cart-item__image img):not(.theme-cart-drawer__pair-img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-card-img,
.hero-section__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.container-wide { width: 100%; max-width: 90rem; margin: 0 auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-inline: 2.5rem; } }
.page-shell { padding-top: 6rem; padding-bottom: 4rem; }
.page-shell--checkout { padding-top: 0; padding-bottom: 2.5rem; }
.theme-continue-shopping-link {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	margin-bottom: 2rem;
	transition: color 0.2s ease;
}
.theme-continue-shopping-link:hover { color: var(--color-foreground); }
.theme-continue-shopping-link svg { width: 1rem; height: 1rem; margin-right: 0.5rem; flex-shrink: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
body.theme-no-hero .site-main.single-product-main {
	padding-top: 7rem !important;
	padding-bottom: 0;
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main.single-product-main { padding-top: 8rem !important; }
}
body.admin-bar.theme-no-hero .site-main.single-product-main {
	padding-top: calc(7rem + var(--admin-bar-height)) !important;
}
@media (min-width: 1024px) {
	body.admin-bar.theme-no-hero .site-main.single-product-main {
		padding-top: calc(8rem + var(--admin-bar-height)) !important;
	}
}
body.home .site-main { padding-top: 0; }
.scroll-mt-32 { scroll-margin-top: calc(var(--header-height) + var(--admin-bar-height) + 2rem); }

/* WordPress admin bar offset */
body.admin-bar { --admin-bar-height: 32px; }
body.admin-bar .site-header { top: var(--admin-bar-height); }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-height: 46px; }
}
body.admin-bar.theme-no-hero .site-main {
	padding-top: calc(var(--header-height) + var(--admin-bar-height));
}
body.admin-bar .faq-section__intro,
body.admin-bar .theme-product-gallery {
	top: calc(8rem + var(--admin-bar-height));
}

.label-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.36em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.section-heading { font-family: var(--font-display); font-style: italic; color: var(--color-foreground); line-height: 1.15; }

/* Buttons */
.btn-hero-primary, .btn-hero-outline, .btn-solid, .btn-outline, .btn-outline-square {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3rem;
	padding: 0 2.5rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease, opacity .2s ease;
	border: 1px solid transparent;
	white-space: nowrap;
	cursor: pointer;
}
.btn-hero-primary { background: var(--color-background); color: var(--color-foreground); }
.btn-hero-primary:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-hero-outline { border-color: var(--color-background); color: var(--color-background); background: transparent; }
.btn-hero-outline:hover { background: var(--color-background); color: var(--color-foreground); }
.btn-solid { background: var(--color-foreground); color: var(--color-background); }
.btn-solid:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-outline { border-color: var(--color-border); color: var(--color-foreground); background: transparent; height: 2.75rem; padding: 0 1.5rem; }
.btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.btn-outline-square { border-color: var(--color-foreground); color: var(--color-foreground); background: transparent; height: 2.75rem; padding: 0 1.25rem; letter-spacing: 0.24em; }
.btn-outline-square:hover { background: var(--color-foreground); color: var(--color-background); }
.btn-outline-square.is-disabled { border-style: dashed; color: var(--color-muted-foreground); cursor: default; }

/* -------------------------------------------------------------------- */
/* Reveal / scroll animation utilities (Section 2.1)                     */
/* -------------------------------------------------------------------- */
.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--transition-smooth), transform .8s var(--transition-smooth); }
.reveal-item[data-reveal="fade-in"] { transform: none; }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
}
.animate-fade-in { animation: theme-fade-in 0.8s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.8s var(--transition-smooth) forwards; }
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: rgba(245,241,234,0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	transition: background-color .3s ease;
}
.site-header__inner { width: 100%; max-width: 80rem; margin: 0 auto; }
.site-header__row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
	padding-inline: 1rem;
}
@media (min-width: 768px) {
	.site-header__row { padding-inline: 2rem; }
}
.site-header__left { display: flex; align-items: center; gap: 1.5rem; }
.site-header__right { display: flex; align-items: center; gap: 1.25rem; }
@media (min-width: 1280px) {
	.site-header__right { gap: 1.75rem; }
}
.site-header__menu-toggle { display: inline-flex; padding: 0.5rem; margin-left: -0.5rem; cursor: pointer; }
.site-header__nav { display: none; }
@media (min-width: 1024px) {
	.site-header__menu-toggle { display: none; }
	.site-header__nav { display: flex; align-items: center; gap: 1.25rem; }
}
@media (min-width: 1280px) {
	.site-header__nav { gap: 1.75rem; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1280px) {
	.theme-nav-list { gap: 1.75rem; }
}
.nav-link { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; transition: color .2s ease; cursor: pointer; }
@media (min-width: 1280px) {
	.nav-link { font-size: 13px; letter-spacing: 0.24em; }
}
.nav-link:hover { color: var(--color-primary); }
.site-header__logo { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
.site-logo-img:not(.site-logo-img--footer) { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-img--footer { height: 7rem !important; width: auto !important; display: block; object-fit: contain; }
@media (min-width: 1024px) { .site-logo-img--footer { height: 8rem !important; } }
.site-logo-text { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.site-header__icons { display: flex; align-items: center; gap: 0.125rem; }
.site-header__icon-btn { position: relative; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; transition: color .2s ease; cursor: pointer; }
.site-header__icon-btn[data-search-open] { display: none; }
@media (min-width: 640px) {
	.site-header__icon-btn[data-search-open] { display: inline-flex; }
}
.site-header__icon-btn:hover { color: var(--color-primary); }
.theme-cart-count { position: absolute; top: -2px; right: -2px; width: 1.15rem; height: 1.15rem; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; }
.theme-cart-count:empty { display: none; }

/* Mobile menu */
.mobile-menu,
.mobile-menu-overlay { position: fixed; inset: 0; visibility: hidden; }
.mobile-menu-overlay { z-index: 90; background: rgba(21,35,30,.4); opacity: 0; transition: opacity .3s ease; }
.mobile-menu { z-index: 91; pointer-events: none; }
.mobile-menu__panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: 88vw; max-width: 24rem;
	background: var(--color-background); border-right: 1px solid var(--color-border);
	display: flex; flex-direction: column;
	transform: translateX(-100%); transition: transform .3s var(--transition-smooth);
	pointer-events: auto;
}
body.mobile-menu-open .mobile-menu,
body.mobile-menu-open .mobile-menu-overlay { visibility: visible; }
body.mobile-menu-open .mobile-menu-overlay { opacity: 1; }
body.mobile-menu-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { position: relative; display: flex; align-items: center; justify-content: center; height: 4.8rem; border-bottom: 1px solid var(--color-border); flex-shrink: 0; padding: 0 1.25rem; }
.site-logo-img--mobile { height: 3.5rem; width: auto; display: block; }
.mobile-menu__close { position: absolute; right: 0.75rem; padding: 0.25rem; cursor: pointer; }
.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }
.theme-nav-list--mobile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-nav-list--mobile li { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.theme-nav-list--mobile .nav-link {
	display: block;
	width: 100%;
	text-align: left;
	padding: 1rem 0.75rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-foreground);
	transition: color 0.2s ease;
}
.theme-nav-list--mobile .nav-link:hover { color: var(--color-primary); }
.mobile-menu__actions { border-top: 1px solid var(--color-border); padding: 1rem 0.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; flex-shrink: 0; }
.mobile-menu__action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem;
	border: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mobile-menu__action:not(.mobile-menu__action--cart):hover {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.mobile-menu__action--cart {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.mobile-menu__action--cart:hover {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.mobile-menu__action svg { width: 1.375rem; height: 1.375rem; flex-shrink: 0; }

/* Search dialog */
.theme-search-dialog { position: fixed; inset: 0; z-index: 95; background: var(--color-background); visibility: hidden; opacity: 0; transition: opacity .25s ease; overflow-y: auto; }
body.search-open .theme-search-dialog { visibility: visible; opacity: 1; }
.theme-search-dialog__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.5rem; z-index: 2; }
.theme-search-dialog__inner { padding-block: 3rem; }
.theme-search-dialog__field { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.75rem; max-width: 40rem; }
.theme-search-dialog__field input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-display); font-size: 1.5rem; }
.theme-search-dialog__results { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .theme-search-dialog__results { grid-template-columns: repeat(4, 1fr); } }
.theme-search-result { display: block; text-align: left; cursor: pointer; }
.theme-product-card-wrap { cursor: pointer; }
.theme-search-result__img { aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); position: relative; }
.theme-search-result__label { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.theme-search-result__price { margin-top: 0.25rem; font-size: 12px; color: var(--color-muted-foreground); }
.theme-search-empty { font-size: 0.875rem; color: var(--color-muted-foreground); }

#theme-cart-overlay { position: fixed; inset: 0; background: rgba(21,35,30,.3); z-index: 149; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
.hero-section { position: relative; width: 100%; }
.hero-section__media {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 600px;
	overflow: hidden;
	background: var(--color-secondary);
}
.hero-section__parallax {
	position: absolute;
	inset: 0;
	overflow: hidden;
	will-change: transform;
}
.hero-section__img {
	transform-origin: center center;
	will-change: transform;
}
.hero-section__gradient { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to right, rgba(21,35,30,.92), rgba(21,35,30,.72) 55%, rgba(21,35,30,.25)); }
.hero-section__content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; opacity: 1; pointer-events: none; }
.hero-section__content a,
.hero-section__content button { pointer-events: auto; }
.hero-section__inner { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1rem; }
@media (min-width: 768px) { .hero-section__inner { padding-inline: 2rem; } }
.hero-section__copy { max-width: 42rem; animation: theme-hero-enter 1s var(--transition-smooth) 0.4s both; }
@keyframes theme-hero-enter {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
	.hero-section__copy { animation: none; }
}
.hero-section__eyebrow { display: block; font-size: 10px; letter-spacing: 0.42em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }
.hero-section__title { font-family: var(--font-display); font-style: italic; font-size: 2.25rem; line-height: 1.05; color: var(--color-background); margin-bottom: 1.5rem; max-width: 36rem; }
.hero-section__subtitle { font-size: 0.875rem; color: rgba(245,241,234,.85); max-width: 28rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-section__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-section__stats { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 2rem 2rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(245,241,234,.75); }
.hero-section__stats li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-section__stats svg { color: var(--color-primary); }
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 4.5rem; } }

/* -------------------------------------------------------------------- */
/* Carousels (product row / mechanics)                                   */
/* -------------------------------------------------------------------- */
.theme-carousel-arrows { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.theme-carousel-arrows button { width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); transition: background-color .2s ease, color .2s ease; cursor: pointer; }
.theme-carousel-arrows button:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-carousel-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.theme-carousel-track::-webkit-scrollbar { display: none; }

.product-row-section { padding-block: 3.5rem; }
@media (min-width: 1024px) { .product-row-section { padding-block: 5rem; } }
.product-row-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; }
.product-row-section__title { font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; }

.theme-product-card { display: block; scroll-snap-align: start; flex-shrink: 0; width: 68vw; }
.theme-product-carousel .theme-product-card { width: 68vw; }
@media (min-width: 640px) { .theme-product-carousel .theme-product-card { width: calc((100% - 1.25rem) / 2); } }
@media (min-width: 768px) { .theme-product-carousel .theme-product-card { width: calc((100% - 2.5rem) / 3); } }
@media (min-width: 1024px) { .theme-product-carousel .theme-product-card { width: calc((100% - 4.5rem) / 4); } }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1/1; background: rgba(232,227,216,.4); overflow: hidden; }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; background: rgba(245,241,234,.9); backdrop-filter: blur(4px); color: var(--color-foreground); padding: 0.4rem 0.75rem; }
.theme-product-card-img { transition: opacity .5s ease; }
.theme-product-card-img.is-muted { opacity: 0.6; }
.theme-product-card:hover .theme-product-card-img { opacity: 0.9; }
.theme-product-card__info { padding-top: 1rem; text-align: center; }
.theme-product-card__title { font-family: var(--font-body); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__subtitle { font-family: var(--font-display); font-style: italic; font-size: 12px; color: rgba(21,35,30,.7); margin-top: 0.15rem; }
.theme-product-card__category { font-size: 11px; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-product-card__price { font-size: 12px; margin-top: 0.25rem; }
.theme-price-coming-soon { font-size: 12px; }

/* -------------------------------------------------------------------- */
/* Legacy Paths                                                          */
/* -------------------------------------------------------------------- */
.paths-section { padding-bottom: 1rem; }
.paths-section__intro { max-width: 42rem; margin-bottom: 2rem; }
.paths-section .section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .paths-section .section-heading { font-size: 3rem; } }
.paths-section__body { margin-top: 1.25rem; line-height: 1.7; color: rgba(21,35,30,.75); }
.paths-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 1024px) { .paths-tiles { grid-template-columns: repeat(4, 1fr); } }
.paths-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--color-secondary); }
.paths-tile__img { transition: transform .7s ease; }
.paths-tile:hover .paths-tile__img { transform: scale(1.05); }
.paths-tile__gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,35,30,.85), rgba(21,35,30,.35) 60%, rgba(21,35,30,.15)); }
.paths-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; }
.paths-tile__name { font-family: var(--font-body); font-weight: 600; color: var(--color-background); font-size: 0.875rem; letter-spacing: 0.32em; text-transform: uppercase; }
.paths-tile__line { font-family: var(--font-display); font-style: italic; color: rgba(245,241,234,.85); font-size: 1rem; line-height: 1.4; margin-top: 0.5rem; }
.paths-list { display: grid; grid-template-columns: 1fr; gap: 2rem 2.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .paths-list { grid-template-columns: 1fr 1fr; } }
.paths-list__name { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); }
.paths-list__body { font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; margin-top: 0.5rem; }

/* -------------------------------------------------------------------- */
/* Shop section                                                          */
/* -------------------------------------------------------------------- */
.shop-section { padding-block: 3.5rem; }
@media (min-width: 1024px) { .shop-section { padding-block: 5rem; } }
.shop-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.shop-heading { font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; }
.shop-section__count { font-size: 0.75rem; color: var(--color-muted-foreground); }
.shop-controls { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; align-items: end; }
@media (min-width: 1024px) { .shop-controls { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.shop-search { position: relative; max-width: 28rem; width: 100%; }
.shop-search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search input { width: 100%; height: 2.75rem; padding: 0 1rem 0 2.5rem; border: 1px solid var(--color-border); background: var(--color-background); font-size: 0.875rem; }
.shop-search input:focus { outline: none; border-color: var(--color-foreground); }
.shop-price-filter { width: 100%; }
@media (min-width: 1024px) { .shop-price-filter { width: 18rem; } }
.shop-price-filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.shop-price-filter__values { font-size: 0.75rem; }
.shop-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.shop-cat-chip { padding: 0 1rem; height: 2.25rem; display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--color-border); background: var(--color-background); transition: border-color .2s ease, background-color .2s ease, color .2s ease; cursor: pointer; }
.shop-cat-chip:hover { border-color: var(--color-foreground); }
.shop-cat-chip.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.shop-empty-message { text-align: center; padding-block: 4rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.25rem; row-gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-product-grid .theme-product-card { width: 100%; display: flex; flex-direction: column; height: 100%; }
.theme-product-grid .theme-product-card__info { flex: 1; }

/* Dual-handle price range (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.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: 16px; height: 16px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: 0; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* -------------------------------------------------------------------- */
/* Mechanics / How it plays                                              */
/* -------------------------------------------------------------------- */
.mechanics-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding-block: 3.5rem; }
@media (min-width: 1024px) { .mechanics-section { padding-block: 5rem; } }
.mechanics-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.mechanics-section .section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .mechanics-section .section-heading { font-size: 3rem; } }
.mechanics-carousel { padding-top: 1.5rem; padding-bottom: 4rem; margin-top: -1.5rem; }
.mechanics-card { flex-shrink: 0; width: 82vw; scroll-snap-align: start; background: var(--color-background); border: 1px solid var(--color-border); padding: 2rem; display: flex; flex-direction: column; transition: all .5s var(--transition-smooth); }
.mechanics-card:hover { transform: translateY(-8px); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); box-shadow: 0 28px 60px -24px rgba(21,35,30,.35); border-color: var(--color-primary); }
@media (min-width: 640px) { .mechanics-card { width: calc((100% - 1.25rem) / 2); } }
@media (min-width: 1024px) { .mechanics-card { width: calc((100% - 3rem) / 3); } }
.mechanics-card__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.3; margin-bottom: 1rem; transition: color .5s ease; }
.mechanics-card:hover .mechanics-card__title { color: var(--color-primary); }
.mechanics-card__body { font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; }

/* -------------------------------------------------------------------- */
/* Artist section                                                        */
/* -------------------------------------------------------------------- */
.artist-section { padding-block: 5rem; border-top: 1px solid var(--color-border); }
.artist-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .artist-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.artist-section__copy { display: flex; flex-direction: column; justify-content: center; }
.artist-section .section-heading { font-size: 2.25rem; margin: 1rem 0 0.75rem; }
@media (min-width: 768px) { .artist-section .section-heading { font-size: 3rem; } }
.artist-section__role { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: var(--color-primary); margin-bottom: 1.5rem; }
.artist-section__body { display: flex; flex-direction: column; gap: 1rem; color: rgba(21,35,30,.8); line-height: 1.7; }
.artist-section__video-block { margin-top: 2.5rem; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); display: grid; grid-template-columns: 1fr; overflow: hidden; }
@media (min-width: 640px) { .artist-section__video-block { grid-template-columns: 3fr 2fr; } }
.artist-section__video-wrap { position: relative; aspect-ratio: 4/3; }
@media (min-width: 640px) { .artist-section__video-wrap { aspect-ratio: auto; } }
.artist-section__video-caption { padding: 1.5rem 2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; border-top: 1px solid var(--color-border); }
@media (min-width: 640px) { .artist-section__video-caption { border-top: none; border-left: 1px solid var(--color-border); } }
.artist-section__video-caption .label-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-primary); }
.artist-section__video-caption h3 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-top: 1rem; }
@media (min-width: 768px) { .artist-section__video-caption h3 { font-size: 1.75rem; } }
.artist-section__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.artist-section__photo { position: relative; width: 100%; aspect-ratio: 4/5; min-height: 28rem; overflow: hidden; }
@media (min-width: 1024px) { .artist-section__photo { aspect-ratio: auto; height: 100%; } }

/* -------------------------------------------------------------------- */
/* Playtest section                                                      */
/* -------------------------------------------------------------------- */
.playtest-section { padding-block: 5rem; border-top: 1px solid var(--color-border); }
.playtest-section__intro { max-width: 42rem; }
.playtest-section .section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .playtest-section .section-heading { font-size: 3rem; } }
.playtest-formats { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); margin-top: 3rem; }
@media (min-width: 1024px) { .playtest-formats { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.playtest-format { background: var(--color-background); padding: 2rem; display: flex; flex-direction: column; }
.playtest-format > .label-eyebrow { color: var(--color-primary); letter-spacing: 0.32em; }
.playtest-format__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .playtest-format__title { font-size: 1.75rem; } }
.playtest-format__body { font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; margin-top: 1rem; }
.playtest-format__includes { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.playtest-format__includes li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: rgba(21,35,30,.8); }
.playtest-format__includes svg { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.playtest-format__best { margin-top: auto; padding-top: 1.5rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); }
.playtest-form-block { margin-top: 3rem; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 2rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .playtest-form-block { grid-template-columns: 20rem 1fr; padding: 3rem; } }
.playtest-form-block__intro .label-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-primary); }
.playtest-form-block__intro h3 { font-family: var(--font-display); font-style: italic; font-size: 1.875rem; margin-top: 0.75rem; }
.playtest-form-block__intro p { margin-top: 1rem; font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; }

/* Forms (shared) */
.theme-form, .legacy-list-form { display: grid; }
.theme-form--grid { grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form--grid { grid-template-columns: 1fr 1fr; } }
.theme-form__row { display: grid; gap: 1rem; }
.theme-form__row--2col { grid-template-columns: 1fr 1fr; }
.theme-form__field { display: flex; flex-direction: column; gap: 0.35rem; }
.theme-form__field--full, .theme-form__actions--full { grid-column: 1 / -1; }
.theme-form__actions--end { display: flex; justify-content: flex-end; }
.theme-form input, .theme-form select, .theme-form textarea {
	width: 100%; padding: 0.65rem 0.85rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 0.875rem; transition: border-color .2s ease;
}
.theme-form input::placeholder, .theme-form textarea::placeholder { color: var(--color-muted-foreground); }
.theme-form input:focus, .theme-form select:focus, .theme-form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-form textarea { resize: none; }
.theme-form__success { text-align: center; padding-block: 2rem; }
.theme-form__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-form__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-form__success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------- */
/* Creator section                                                       */
/* -------------------------------------------------------------------- */
.creator-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding-block: 5rem; border-top: 1px solid var(--color-border); }
.creator-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .creator-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.creator-section__photo { position: relative; width: 100%; aspect-ratio: 1/1; min-height: 28rem; overflow: hidden; }
@media (min-width: 1024px) { .creator-section__photo { aspect-ratio: auto; height: 100%; } }
.creator-section .section-heading { font-size: 2.25rem; margin: 1rem 0 1.5rem; }
@media (min-width: 768px) { .creator-section .section-heading { font-size: 3rem; } }
.creator-section__body { display: flex; flex-direction: column; gap: 1rem; color: rgba(21,35,30,.8); line-height: 1.7; margin-bottom: 2rem; }
.creator-section__signoff { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: var(--color-foreground); }
.creator-section__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* -------------------------------------------------------------------- */
/* Legacy List section                                                   */
/* -------------------------------------------------------------------- */
.legacy-list-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding-block: 5rem; border-top: 1px solid var(--color-border); }
.legacy-list-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .legacy-list-section__grid { grid-template-columns: minmax(0,26rem) 1fr; gap: 5rem; } }
.legacy-list-section .section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .legacy-list-section .section-heading { font-size: 3rem; } }
.legacy-list-section__body { margin-top: 1.25rem; color: rgba(21,35,30,.75); line-height: 1.7; }
.legacy-list-section__note { margin-top: 1.5rem; display: flex; align-items: flex-start; gap: 0.5rem; border-left: 2px solid var(--color-primary); padding: 0.25rem 0 0.25rem 1rem; }
.legacy-list-section__note svg { color: var(--color-primary); margin-top: 2px; flex-shrink: 0; }
.legacy-list-section__note p { font-size: 0.875rem; color: rgba(21,35,30,.7); line-height: 1.7; }
.legacy-list-form { grid-template-columns: 1fr auto; margin-top: 2rem; gap: 0.5rem; max-width: 28rem; }
@media (max-width: 639px) { .legacy-list-form { grid-template-columns: 1fr; } }
.legacy-list-form input { height: 2.75rem; padding: 0 0.75rem; background: var(--color-background); border: 1px solid var(--color-border); font-size: 0.875rem; }
.legacy-list-form input:focus { outline: none; border-color: var(--color-primary); }
.legacy-list-form button { height: 2.75rem; }
.legacy-list-perks { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
@media (min-width: 640px) { .legacy-list-perks { grid-template-columns: 1fr 1fr; } }
.legacy-list-perk { background: var(--color-background); padding: 1.75rem; }
.legacy-list-perk--wide { grid-column: 1 / -1; }
.legacy-list-perk svg { color: var(--color-primary); }
.legacy-list-perk h3 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-top: 1rem; }
.legacy-list-perk p { font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; margin-top: 0.75rem; }

/* -------------------------------------------------------------------- */
/* Media section                                                         */
/* -------------------------------------------------------------------- */
.media-section { padding-block: 5rem; border-top: 1px solid var(--color-border); }
.media-section__intro { max-width: 42rem; }
.media-section .section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .media-section .section-heading { font-size: 3rem; } }
.media-section__body { margin-top: 1.25rem; color: rgba(21,35,30,.75); line-height: 1.7; }
.media-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .media-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.media-card { border: 1px solid var(--color-border); background: var(--color-background); }
.media-card__thumb-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--color-secondary); }
.media-card__thumb-wrap img { transition: transform .7s ease; }
.media-card:hover .media-card__thumb-wrap img:not([hidden]) { transform: scale(1.05); }
.media-card__poster { z-index: 0; }
.media-card__video { z-index: 1; }
.media-card__embed { position: absolute; inset: 0; z-index: 1; background: #000; }
.media-card__iframe { width: 100%; height: 100%; border: 0; display: block; }
.media-card--playing .media-card__poster,
.media-card--playing .media-card__overlay,
.media-card--playing .media-card__play,
.media-card--playing .media-card__tag { display: none; }
.media-card--playing .media-card__video,
.media-card--playing .media-card__embed { display: block !important; }
.media-card__overlay { position: absolute; inset: 0; background: rgba(21,35,30,.45); z-index: 2; pointer-events: none; }
.media-card__play { position: absolute; inset: 0; margin: auto; width: 3.5rem; height: 3.5rem; border-radius: 999px; border: 1px solid rgba(245,241,234,.7); background: rgba(245,241,234,.15); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; color: var(--color-background); z-index: 3; }
.media-card--has-video .media-card__play { cursor: pointer; }
.media-card__play:disabled { cursor: default; opacity: 0.85; }
.media-card__tag { position: absolute; bottom: 0.75rem; left: 0.75rem; z-index: 4; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; background: rgba(245,241,234,.9); color: var(--color-foreground); padding: 0.4rem 0.75rem; }
.media-card__body { padding: 1.5rem; }
.media-card__body h3 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.media-card__body p { font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; margin-top: 0.5rem; }
.media-follow { margin-top: 3rem; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1.75rem; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .media-follow { flex-direction: row; align-items: center; justify-content: space-between; padding: 2.5rem; } }
.media-follow__eyebrow { color: var(--color-primary); }
.media-follow__copy h3 { font-family: var(--font-display); font-style: italic; font-size: 1.875rem; margin-top: 0.75rem; }
.media-follow__copy p { font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; margin-top: 0.75rem; max-width: 28rem; }
.media-follow__links { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* -------------------------------------------------------------------- */
/* Roadmap                                                                */
/* -------------------------------------------------------------------- */
.roadmap-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding-block: 5rem; border-top: 1px solid var(--color-border); }
.roadmap-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .roadmap-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.roadmap-section .section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .roadmap-section .section-heading { font-size: 3rem; } }
.roadmap-section__body { margin-top: 1.25rem; max-width: 36rem; color: rgba(21,35,30,.75); line-height: 1.7; }
.roadmap-steps { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
@media (min-width: 768px) { .roadmap-steps { grid-template-columns: 1fr 1fr; } }
.roadmap-step { background: var(--color-background); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; transition: background-color .2s ease; }
.roadmap-step:hover { background: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.roadmap-step__meta { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-primary); }
.roadmap-step h3 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
@media (min-width: 768px) { .roadmap-step h3 { font-size: 1.75rem; } }
.roadmap-step p { font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; }
.roadmap-step__note { color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------- */
/* Kickstarter banner                                                    */
/* -------------------------------------------------------------------- */
.kickstarter-banner { position: relative; width: 100%; height: 70vh; overflow: hidden; }
@media (min-width: 768px) { .kickstarter-banner { height: 80vh; } }
@media (min-width: 1024px) { .kickstarter-banner { height: 85vh; } }
.kickstarter-banner__media { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--color-secondary); }
.kickstarter-banner__parallax { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.kickstarter-banner__img {
	position: absolute;
	left: 0;
	width: 100%;
	height: 124%;
	top: -12%;
	object-fit: cover;
	object-position: center;
	transform-origin: center center;
	will-change: transform;
}
.kickstarter-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.kickstarter-banner__content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0 1.5rem; }
.kickstarter-banner__content figure { max-width: 48rem; text-align: center; }
.kickstarter-banner__content blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.875rem; color: var(--color-background); line-height: 1.15; margin: 0; }
@media (min-width: 768px) { .kickstarter-banner__content blockquote { font-size: 3rem; } }
@media (min-width: 1024px) { .kickstarter-banner__content blockquote { font-size: 3.75rem; } }
.kickstarter-banner__content figcaption { margin-top: 2rem; font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase; color: rgba(245,241,234,.8); }
.kickstarter-banner__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* -------------------------------------------------------------------- */
/* FAQ                                                                    */
/* -------------------------------------------------------------------- */
.faq-section { padding-block: 5rem; border-top: 1px solid var(--color-border); }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.faq-section__intro { position: sticky; top: 8rem; }
.faq-section .section-heading { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .faq-section .section-heading { font-size: 3rem; } }
.faq-section__body { margin-top: 1.25rem; color: rgba(21,35,30,.75); line-height: 1.7; max-width: 28rem; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding-block: 1.25rem; cursor: pointer; }
.faq-item__question span { font-size: 0.875rem; transition: color .2s ease; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1rem; } }
.faq-item__question:hover span { color: var(--color-primary); }
.faq-item__icon-minus { display: none; }
.faq-item.is-open .faq-item__icon-plus { display: none; }
.faq-item.is-open .faq-item__icon-minus { display: block; }
.faq-item__answer { padding-bottom: 1.5rem; padding-right: 2.5rem; font-size: 0.875rem; color: rgba(21,35,30,.75); line-height: 1.7; }

/* -------------------------------------------------------------------- */
/* Marquee                                                                */
/* -------------------------------------------------------------------- */
.marquee-section { position: relative; background: var(--color-foreground); color: var(--color-background); border-top: 1px solid rgba(245,241,234,.2); border-bottom: 1px solid rgba(245,241,234,.2); padding-block: 1.5rem; overflow: hidden; }
@media (min-width: 1024px) { .marquee-section { padding-block: 2rem; } }
.marquee-track-wrap { display: flex; white-space: nowrap; }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 2.5rem; padding-right: 2.5rem; animation: theme-marquee 38s linear infinite; }
@media (min-width: 1024px) { .marquee-track { gap: 3.5rem; padding-right: 3.5rem; } }
.marquee-track-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 2.5rem; }
@media (min-width: 1024px) { .marquee-item { gap: 3.5rem; } }
.marquee-word { font-family: var(--font-display); font-style: italic; font-size: 1.875rem; }
@media (min-width: 768px) { .marquee-word { font-size: 2.25rem; } }
@media (min-width: 1024px) { .marquee-word { font-size: 3rem; } }
.marquee-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--color-primary); flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* -------------------------------------------------------------------- */
/* Contact section                                                       */
/* -------------------------------------------------------------------- */
.contact-section { padding-block: 5rem; border-top: 1px solid var(--color-border); }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__copy { display: flex; flex-direction: column; justify-content: center; }
.contact-section .section-heading { font-size: 2.25rem; margin: 0.75rem 0 1.5rem; }
@media (min-width: 768px) { .contact-section .section-heading { font-size: 3rem; } }
.contact-section__body { color: rgba(21,35,30,.8); line-height: 1.7; margin-bottom: 2rem; max-width: 28rem; }
.contact-section__links { display: flex; flex-direction: column; gap: 1rem; }
.contact-section__links a { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; transition: color .2s ease; word-break: break-all; }
.contact-section__links a:hover { color: var(--color-primary); }
.contact-section__card { position: relative; overflow: hidden; padding: 2rem; display: flex; flex-direction: column; justify-content: center; min-height: 22rem; height: 100%; }
@media (min-width: 1024px) { .contact-section__card { padding: 3rem; } }
.contact-section__card-overlay { position: absolute; inset: 0; background: rgba(21,35,30,.7); }
.contact-section__card-content { position: relative; color: var(--color-background); }
.contact-section__card-content .label-eyebrow { color: rgba(245,241,234,.8); margin-bottom: 0.75rem; }
.contact-section__card-content h3 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-section__card-content h3 { font-size: 1.875rem; } }
.contact-section__card-content p { font-size: 0.875rem; color: rgba(245,241,234,.85); line-height: 1.7; margin-bottom: 2rem; max-width: 28rem; }
.btn-contact-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	height: 2.75rem;
	padding: 0 2rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	background: var(--color-background);
	color: var(--color-foreground);
	border: 1px solid var(--color-primary);
	border-radius: 0;
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
	cursor: pointer;
}
.btn-contact-trigger:hover {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

/* -------------------------------------------------------------------- */
/* Contact modal & mobile toast                                          */
/* -------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1.5rem; visibility: hidden; opacity: 0; transition: opacity .25s ease; }
body.contact-modal-open .theme-modal { visibility: visible; opacity: 1; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.theme-modal__panel { position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--color-background); border: 1px solid var(--color-border); padding: 1.75rem; transform: scale(.96); transition: transform .25s ease; }
body.contact-modal-open .theme-modal__panel { transform: scale(1); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; opacity: .7; cursor: pointer; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin: 0.5rem 0; }
.theme-modal__desc { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.6; }
.theme-modal__contact-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.5rem; }
.theme-modal__contact-row a:hover { color: var(--color-foreground); }
.theme-modal__body { margin-top: 1rem; }

/* -------------------------------------------------------------------- */
/* Footer                                                                 */
/* -------------------------------------------------------------------- */
.site-footer { background: var(--color-foreground); color: var(--color-background); }
.site-footer__top { padding-block: 4rem 0.5rem; }
@media (min-width: 1024px) { .site-footer__top { padding-block-start: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__logo { display: inline-block; }
.site-footer__tagline { margin-top: 1.25rem; font-size: 0.875rem; color: rgba(245,241,234,.7); max-width: 20rem; line-height: 1.7; }
.site-footer__heading { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); margin-bottom: 1.25rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list a, .site-footer__list button { font-size: 0.875rem; color: rgba(245,241,234,.7); transition: color .2s ease; text-align: left; cursor: pointer; }
.site-footer__list a:hover, .site-footer__list button:hover { color: var(--color-primary); }
.site-footer__list--connect li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: rgba(245,241,234,.7); }
.site-footer__list--connect svg { flex-shrink: 0; width: 1rem; height: 1rem; margin-top: 0.125rem; }
.site-footer__list--connect li.site-footer__muted svg { margin-top: 0; }
.site-footer__list--connect a { word-break: break-all; }
.site-footer__muted { color: rgba(245,241,234,.5) !important; }
.site-footer__bottom { margin-top: 1.5rem; padding-top: 0.75rem; border-top: 1px solid rgba(245,241,234,.15); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__legal { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(245,241,234,.6); }
.site-footer__legal a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal a:hover { color: var(--color-primary); }

/* -------------------------------------------------------------------- */
/* Single product page (Section 11)                                      */
/* -------------------------------------------------------------------- */
.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; min-width: 0; align-items: start; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 1fr 440px; } }
@media (min-width: 1280px) { .single-product .theme-product-layout { grid-template-columns: 1fr 500px; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { display: flex; flex-direction: column; position: relative; background: var(--color-background); }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 8rem; align-self: start; } }
.theme-product-gallery__row { display: flex; width: 100%; min-width: 0; }
.theme-product-thumbnails:not(.theme-product-thumbnails--mobile) { display: none; flex-direction: column; gap: 0.75rem; padding: 1rem; flex-shrink: 0; }
@media (min-width: 768px) {
	.theme-product-thumbnails:not(.theme-product-thumbnails--mobile) { display: flex; padding: 1rem 1.5rem; }
}
.theme-product-thumbnails--mobile {
	display: flex;
	flex-direction: row;
	gap: 0.5rem;
	padding: 1rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) { .theme-product-thumbnails--mobile { display: none; } }
.theme-product-thumb { width: 3.5rem; height: 3.5rem; flex-shrink: 0; overflow: hidden; border: 1px solid transparent; border-radius: 0.375rem; opacity: .6; transition: all .2s ease; cursor: pointer; background: transparent; }
@media (min-width: 1024px) { .theme-product-thumb { width: 4rem; height: 4rem; } }
.theme-product-thumb.is-active { border-color: var(--color-foreground); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-product-main-image-wrap {
	position: relative;
	flex: 1;
	min-width: 0;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (min-width: 768px) { .theme-product-main-image-wrap { min-height: 78vh; } }
@media (min-width: 1024px) { .theme-product-main-image-wrap { min-height: 88vh; } }
.theme-product-main-image {
	position: static !important;
	inset: auto !important;
	width: 100%;
	height: auto;
	max-height: 88vh;
	object-fit: contain;
	object-position: center;
	display: block;
}
.theme-product-info { padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .theme-product-info { padding: 2.5rem 2.5rem; } }
@media (min-width: 1024px) { .theme-product-info { padding: 4rem 3rem; } }
.theme-product-breadcrumb { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.theme-product-breadcrumb span { margin: 0 0.5rem; }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5; }
@media (min-width: 768px) { .product-title { font-size: 1rem; } }
.theme-product-edition { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: rgba(21,35,30,.7); margin-top: 0.5rem; }
.theme-product-ref { margin-top: 0.75rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-price { font-size: 1.125rem; }
.theme-product-note { margin-top: 1.75rem; background: color-mix(in srgb, var(--color-secondary) 70%, transparent); padding: 1rem 1.25rem; font-size: 13px; color: rgba(21,35,30,.85); line-height: 1.6; border-radius: 0.375rem; }
.theme-product-stock { margin-top: 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.theme-product-stock.is-out { color: var(--color-highlight); }
.theme-product-details { margin-top: 3rem; }
.theme-product-details h2 { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; }
.theme-product-description { font-family: var(--font-display); font-size: 19px; line-height: 1.55; color: rgba(21,35,30,.9); white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }
.theme-product-bullets { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; list-style: disc; padding-left: 1.25rem; }
.theme-product-bullets li::marker { color: var(--color-primary); }
.theme-product-bullets li { font-size: 14px; color: rgba(21,35,30,.8); line-height: 1.7; }

/* Variation swatches (ProductDetail size chips) */
.theme-product-variations { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1.75rem; }
.theme-product-variation-label {
	display: block;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-bottom: 0.75rem;
}
.theme-product-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-product-swatch {
	min-width: 3.5rem;
	padding: 0.625rem 1rem;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.2;
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	background: transparent;
	color: var(--color-foreground);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
	cursor: pointer;
}
.theme-product-swatch:hover:not(:disabled):not(.is-disabled) { border-color: var(--color-foreground); }
.theme-product-swatch.is-active {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-product-swatch:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}
.theme-product-swatch:disabled,
.theme-product-swatch.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}
.theme-product-swatches--color .theme-product-swatch--color {
	width: 2.25rem;
	height: 2.25rem;
	min-width: 2.25rem;
	padding: 0.125rem;
	border-radius: 999px;
}
.theme-product-swatch--color .theme-product-swatch__fill {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: var(--swatch-color, var(--color-border));
	box-shadow: inset 0 0 0 1px rgba(21,35,30,.12);
}
.theme-product-swatch--color.is-active {
	background: transparent;
	color: inherit;
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 3px var(--color-foreground);
}
.theme-variable-product-form .theme-product-atc { margin-top: 2rem; }

.single-product .theme-add-to-cart-area { margin-top: 2rem; }
.single-product .theme-product-atc {
	width: 100%;
	min-height: 3.5rem !important;
	border: 1px solid var(--color-primary) !important;
}
.single-product .theme-product-atc:hover:not(.disabled) {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-color: var(--color-foreground) !important;
	opacity: 1 !important;
}
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-tabs,
.single-product .product_meta,
.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-notices-wrapper { display: none !important; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { width: 3rem; height: var(--btn-height); display: flex; align-items: center; justify-content: center; font-size: 1.125rem; cursor: pointer; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; height: var(--btn-height); text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); -moz-appearance: textfield; background: transparent; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* WooCommerce add-to-cart button style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button:not(.theme-cart-drawer__pair-item),
a.add_to_cart_button:not(.theme-cart-drawer__pair-item) {
	background-color: var(--color-primary) !important;
	color: var(--color-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;
	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-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: 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; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Hide "View cart" injected 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; }

/* Related products */
.related-products-section { padding-block: 6rem; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.related-products-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.related-products-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .related-products-title { font-size: 2.25rem; } }
.related-products-title em { color: var(--color-primary); font-style: italic; }
.theme-product-grid--related { grid-template-columns: 1fr; gap: 3rem 2rem; }
@media (min-width: 640px) { .theme-product-grid--related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-related-card { display: block; text-decoration: none; color: inherit; }
.theme-related-card__image-wrap { position: relative; aspect-ratio: 1 / 1; background: rgba(232,227,216,.4); overflow: hidden; }
.theme-related-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; background: rgba(245,241,234,.9); backdrop-filter: blur(4px); color: var(--color-foreground); padding: 0.4rem 0.75rem; }
.theme-related-card__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; display: block; }
.theme-related-card__img.is-muted { opacity: 0.6; }
.theme-related-card:hover .theme-related-card__img { opacity: 0.9; }
.theme-related-card__info { padding-top: 1rem; text-align: center; }
.theme-related-card__title { font-family: var(--font-body); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s ease; }
.theme-related-card:hover .theme-related-card__title { color: var(--color-primary); }
.theme-related-card__subtitle { font-family: var(--font-body); font-style: italic; font-size: 12px; color: rgba(21,35,30,.7); margin-top: 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-related-card__category { font-size: 11px; color: var(--color-muted-foreground); margin-top: 0.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-related-card__price { font-size: 12px; margin-top: 0.25rem; }

/* -------------------------------------------------------------------- */
/* Cart drawer (Section 12)                                              */
/* -------------------------------------------------------------------- */
#theme-cart-drawer { position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 32rem; background: var(--color-background); z-index: 150; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--transition-smooth); }
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: .8; cursor: pointer; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image { width: 6rem; height: 8rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-cart-item__name:hover { opacity: .7; }
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); font-style: italic; margin-top: 0.4rem; }
.theme-cart-item__price { font-size: 0.875rem; margin-top: 0.4rem; }
.theme-cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty button { padding: 0.4rem 0.65rem; cursor: pointer; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty span { padding: 0 0.75rem; font-size: 0.875rem; min-width: 28px; text-align: center; }
.theme-cart-item__remove { font-size: 12px; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__pair { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.theme-cart-drawer__pair-title { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; }
.theme-cart-drawer__pair-list { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; }
.theme-cart-drawer__pair-item { flex-shrink: 0; width: 8rem; text-align: left; display: block; cursor: pointer; text-decoration: none; color: inherit; }
#theme-cart-drawer .theme-cart-drawer__pair-item.add_to_cart_button {
	display: block !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	background: transparent !important;
	color: inherit !important;
	border: none !important;
	min-height: 0 !important;
	padding: 0 !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	border-radius: 0 !important;
}
#theme-cart-drawer .theme-cart-drawer__pair-item.add_to_cart_button:hover {
	opacity: 1 !important;
	background: transparent !important;
	color: inherit !important;
}
.theme-cart-drawer__pair-image { display: block; width: 100%; height: 10.667rem; background: var(--color-secondary); overflow: hidden; margin-bottom: 0.5rem; }
.theme-cart-drawer__pair-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.theme-cart-drawer__pair-item:hover .theme-cart-drawer__pair-img { transform: scale(1.05); }
.theme-cart-drawer__pair-name { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.theme-cart-drawer__pair-price { font-size: 11px; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.85rem; }
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 3rem;
	padding: 0 1rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary);
	border-radius: 0;
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.theme-cart-drawer__checkout:hover {
	background: var(--color-background);
	color: var(--color-primary);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

/* Notices scoped visibility (Section 14.1) */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	font-family: var(--font-body); border-radius: 0.375rem; padding: 1rem 1.25rem; font-size: 0.875rem;
	border: 1px solid var(--color-border); background: var(--color-secondary); color: var(--color-foreground); list-style: none; margin-bottom: 1.5rem;
}
.woocommerce-error { border-color: var(--color-highlight); }

/* -------------------------------------------------------------------- */
/* Checkout / Cart / My Account / Thank you (Section 13, 22.8)           */
/* -------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: calc(var(--header-height) + var(--admin-bar-height) + 2rem); padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-style: italic; font-size: 2rem; margin-bottom: 2rem; }
.page-title--checkout { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-cart { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 { font-family: var(--font-display); font-style: italic; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
	min-width: 0; width: 100%; max-width: none;
}
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 { width: 100% !important; max-width: none !important; }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-cart .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
	background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
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 {
	font-family: var(--font-body); font-size: 0.9rem; color: var(--color-foreground);
	border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wp-block-woocommerce-proceed-to-checkout-block a {
	background-color: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important; font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing) !important; text-transform: var(--btn-text-transform) !important;
	font-size: var(--btn-font-size) !important; font-weight: var(--btn-font-weight) !important;
}

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-style: italic; font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin-bottom: 2rem; background: var(--color-secondary); border-radius: var(--card-radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
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 th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-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; }
@media (min-width: 768px) { body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } }
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; font-style: normal; line-height: 1.7; }
body.theme-thankyou-page { overflow-x: hidden; }

/* -------------------------------------------------------------------- */
/* 404                                                                    */
/* -------------------------------------------------------------------- */
.theme-404 { min-height: 60vh; display: flex; align-items: center; }
.theme-404__inner { text-align: center; padding-block: 4rem; }
.theme-404__code { font-family: var(--font-display); font-size: 4rem; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

/* -------------------------------------------------------------------- */
/* Customizer preview stability                                          */
/* -------------------------------------------------------------------- */
body.is-customizer .reveal-item,
body.is-customizer .paths-tile,
body.is-customizer [data-parallax-content] { opacity: 1 !important; transform: none !important; }
body.is-customizer [data-parallax-img] { transform: none !important; }
body.is-customizer [data-parallax-layer] { transform: none !important; }
