/* ==========================================================================
   Fungus Wear — theme.css
   Theme by The Free Website Guys.
   ========================================================================== */

/* Color tokens below are defaults; fungus_enqueue_assets() overrides them from theme_get_color_defaults(). */
:root {
	--color-background: #0c0e0b;
	--color-foreground: #edede8;
	--color-card: #151915;
	--color-primary: #517439;
	--color-primary-foreground: #f5f5f0;
	--color-secondary: #1f241e;
	--color-muted: #272c26;
	--color-muted-foreground: #b0b4a7;
	--color-accent: #2f6cee;
	--color-accent-foreground: #081021;
	--color-border: #2e342d;
	--color-gold: #2059df;
	--color-forest: #131712;
	--color-forest-deep: #0e110d;
	--color-mist: #151915;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Bebas Neue', sans-serif;
	--font-body: 'Space Grotesk', sans-serif;

	--radius: 0.25rem;
	--card-radius: 0.5rem;
	--btn-radius: 999px;
	--btn-height: 3.25rem;
	--btn-padding: 1rem 2.5rem;
	--btn-font-size: 0.72rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.65rem;
	--header-height: 96px;
	--logo-height: 60px;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--checkout-gap: 2rem;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; margin: 0; padding: 0; }
body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-main-image):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-main-image,
.theme-product-card__image-wrapper img,
.theme-product-main-frame img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-main-image {
	position: absolute; inset: 0;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0.01em;
	margin: 0;
	line-height: 1.15;
}
.font-display { font-family: var(--font-display); font-weight: inherit; font-size: inherit; }

p { margin: 0; }
.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; }

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

.section-inner-md { width: 100%; max-width: 64rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section-inner-sm { width: 100%; max-width: 48rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.section-inner-lg { width: 100%; max-width: 72rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }

.eyebrow { font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.3em; font-family: var(--font-body); color: var(--color-accent); margin: 0 0 1rem; line-height: 1.4; }
.section-subtitle { font-family: var(--font-body); font-size: 0.875rem; font-weight: 400; line-height: 1.625; color: var(--color-muted-foreground); max-width: 36rem; margin: 0.75rem auto 0; }
.section-heading { font-family: var(--font-display); font-weight: inherit; font-size: 2.25rem; color: var(--color-foreground); margin: 0; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
.section-heading-block { text-align: center; margin-bottom: 3rem; }

.bg-forest { background: var(--color-forest); }
.bg-mist { background: var(--color-mist); }

/* ---------- BUTTONS ---------- */
.btn-gold, .btn-hero-primary, .btn-outline-light, .btn-hero-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: none;
	font-family: var(--font-body);
	border-radius: var(--btn-radius);
	cursor: pointer;
	transition: border-color 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), background-color 0.4s var(--transition-smooth), opacity 0.2s ease;
	white-space: nowrap;
}
.btn-gold {
	position: relative;
	border: 1px solid color-mix(in srgb, var(--color-gold) 50%, transparent);
	color: var(--color-primary-foreground);
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-gold) 8%, transparent), transparent);
}
.btn-gold:hover {
	border-color: color-mix(in srgb, var(--color-gold) 90%, transparent);
	background-color: color-mix(in srgb, var(--color-gold) 12%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-gold) 15%, transparent), inset 0 0 24px color-mix(in srgb, var(--color-gold) 12%, transparent);
}
.btn-hero-outline, .btn-outline-light {
	color: var(--color-muted-foreground);
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	background: transparent;
}
.btn-hero-outline:hover, .btn-outline-light:hover { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.btn-hero-primary, .single_add_to_cart_button, .single_add_to_cart_button.disabled { text-transform: none; }

/* ---------- ANIMATIONS ---------- */
.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item,
.theme-product-card-wrap.reveal-item { opacity: 1; transform: none; }
body.is-customizer .theme-product-card-wrap.reveal-item { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
}
.animate-fade-in { animation: themeFadeIn 0.6s var(--transition-smooth) forwards; }
@keyframes themeFadeIn { from { opacity: 0; } to { opacity: 1; } }

.scroll-anchor { scroll-margin-top: 8rem; }

.texture-fungus { position: relative; isolation: isolate; }
.texture-fungus::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: var(--texture-fungus-bg, var(--hero-bg));
	background-position: center;
	background-size: cover;
}
.texture-fungus::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: color-mix(in srgb, var(--color-background) 72%, transparent);
}
.texture-fungus > * { position: relative; z-index: 2; }
.texture-noise { position: relative; isolation: isolate; }
.texture-noise:not(.texture-fungus)::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.045;
	mix-blend-mode: soft-light;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.texture-fungus.texture-noise::after {
	background-image:
		linear-gradient(0deg, color-mix(in srgb, var(--color-background) 72%, transparent), color-mix(in srgb, var(--color-background) 72%, transparent)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-size: auto, 180px 180px;
	background-blend-mode: normal, soft-light;
	opacity: 1;
}
.texture-noise > * { position: relative; z-index: 1; }
.texture-fungus.texture-noise > * { z-index: 2; }
.texture-ornament { position: relative; }
.section-collage-piece {
	position: absolute; z-index: 0; height: auto; pointer-events: none; user-select: none;
	filter: invert(1) grayscale(1) contrast(1.15); mix-blend-mode: screen; opacity: 0.58;
}
.collage--mushroom { display: none; right: 2%; top: 2.5rem; width: 7rem; transform: rotate(12deg); }
.collage--pin { display: none; left: 4%; bottom: 2.5rem; width: 6rem; transform: rotate(-20deg); opacity: 0.5; }
.collage--burst { display: none; left: 0.5rem; top: 3.5rem; width: 6rem; transform: rotate(-9deg); }
.collage--roots { display: none; right: 0.5rem; bottom: 4rem; width: 9rem; transform: rotate(8deg); opacity: 0.45; }
.collage--star { display: none; right: 0.5rem; top: 2.5rem; width: 6rem; transform: rotate(12deg); }
.collage--flyer { display: none; left: 0.5rem; bottom: 3rem; width: 7rem; transform: rotate(-8deg); opacity: 0.45; }
@media (min-width: 768px) { .collage--mushroom, .collage--burst, .collage--star { display: block; } }
@media (min-width: 1024px) { .collage--pin, .collage--roots, .collage--flyer { display: block; } }

.frame-gold {
	position: relative;
	border: 1px solid color-mix(in srgb, var(--color-gold) 28%, transparent);
	background-image: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--color-gold) 7%, transparent), transparent 70%);
	background-color: var(--color-forest-deep);
}
.frame-gold::before {
	content: ''; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px;
	background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-gold) 75%, transparent), transparent);
}
.frame-gold::after {
	content: '✦'; position: absolute; top: 0.5rem; right: 0.75rem; font-size: 0.6rem; line-height: 1;
	color: color-mix(in srgb, var(--color-gold) 55%, transparent); pointer-events: none;
}
.frame-arch { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; isolation: isolate; aspect-ratio: 2/3; max-width: 24rem; margin: 0 auto; }
.frame-arch::after {
	content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	border: 1px solid color-mix(in srgb, var(--color-gold) 55%, transparent); border-radius: inherit;
	box-shadow: inset 0 24px 60px -30px color-mix(in srgb, var(--color-gold) 35%, transparent);
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
	background: currentColor; transform-origin: left; transform: scaleX(0);
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ---------- HEADER ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.announcement-bar {
	position: relative; background: var(--color-accent); color: var(--color-accent-foreground);
	text-align: center; padding: 0.625rem 2.5rem; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
}
@media (min-width: 768px) { .announcement-bar { font-size: 0.75rem; } }
.announcement-dismiss { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); padding: 0.375rem; color: color-mix(in srgb, var(--color-accent-foreground) 70%, transparent); transition: color 0.3s ease; }
.announcement-dismiss:hover { color: var(--color-accent-foreground); }
.site-header__bar { transition: background-color 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease; background: transparent; }
.site-header.is-solid .site-header__bar,
.site-header__bar.is-solid { background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(12px); box-shadow: 0 1px 0 0 var(--color-border); }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; width: 100%; }
@media (min-width: 768px) { .site-nav { height: 5.5rem; } }
.site-brand { display: flex; align-items: center; flex-shrink: 0; height: var(--brand-logo-height, var(--logo-height)); }
.site-brand--footer { margin-bottom: 1rem; }
.site-logo-img { height: 100% !important; width: auto !important; max-width: none !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.01em; line-height: 1; }
.site-nav__links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .site-nav__links { display: flex; } }
.theme-nav-list { display: flex; flex-direction: row; align-items: center; gap: 2rem; }
.theme-nav-list a, .mobile-menu__list a {
	font-size: 0.8125rem; font-family: var(--font-body); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground); transition: color 0.3s ease;
}
.theme-nav-list a:hover { color: var(--color-foreground); }
.mobile-menu .theme-nav-list,
.mobile-menu__list,
.mobile-menu__inner { display: flex; flex-direction: column; align-items: stretch; gap: 1.25rem; }
.mobile-menu__list a,
.mobile-menu .theme-nav-list a { font-size: 1rem; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.mobile-menu__list a:hover,
.mobile-menu .theme-nav-list a:hover { color: var(--color-foreground); }
.site-nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.cart-toggle { position: relative; color: var(--color-muted-foreground); padding: 0.5rem; transition: color 0.3s ease; }
.cart-toggle:hover { color: var(--color-foreground); }
.theme-cart-count {
	position: absolute; top: -0.1rem; right: -0.1rem; background: var(--color-accent); color: var(--color-accent-foreground);
	font-size: 0.7rem; font-weight: 600; width: 1.2rem; height: 1.2rem; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }
.mobile-menu-toggle { display: flex; color: var(--color-muted-foreground); padding: 0.5rem; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }
.mobile-menu-toggle .icon-menu-close { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu-open { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu-close { display: inline-flex; }
.mobile-menu { display: none; background: color-mix(in srgb, var(--color-background) 98%, transparent); backdrop-filter: blur(16px); border-top: 1px solid var(--color-border); }
.mobile-menu.is-open { display: block; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu__inner { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu__home { display: flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); }
.mobile-menu__list { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu__list a { display: block; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }

/* ---------- HERO ---------- */
.hero-section { position: relative; min-height: 100svh; overflow: hidden; background: transparent; }
.hero-section__gradient { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 95%, transparent), color-mix(in srgb, var(--color-background) 55%, transparent), color-mix(in srgb, var(--color-background) 70%, transparent)); }
.hero-section__inner { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100svh; padding: 9rem 1.5rem 5rem; text-align: center; }
.hero-title {
	font-family: var(--font-display); font-weight: inherit; color: var(--color-foreground); line-height: 1.05; margin-bottom: 1.5rem;
	font-size: 2rem; text-shadow: 0 2px 28px var(--color-background), 0 1px 6px var(--color-background);
	max-width: 48rem; word-break: break-word;
}
@media (min-width: 480px) { .hero-title { font-size: 2.5rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-muted-foreground); margin: 0 0 2.5rem; }
@media (min-width: 768px) { .hero-subtitle { font-size: 0.85rem; } }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* ---------- ABOUT ---------- */
.about-section { padding: 6rem 1.5rem; position: relative; }
.about-section__inner { max-width: 64rem; margin: 0 auto; position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__inner { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-section__media { display: flex; justify-content: center; }
@media (min-width: 1024px) { .about-section__media { justify-content: flex-start; } }
.about-section__copy { display: flex; flex-direction: column; justify-content: center; }
.about-section__heading { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
.about-section__paragraphs { color: var(--color-muted-foreground); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }
.about-section__paragraphs p { margin-bottom: 1rem; overflow-wrap: break-word; }
.about-section__credits { padding-top: 0.5rem; font-size: 0.875rem; }
.about-section__credits p { color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 0.25rem; }

/* ---------- TEAM ---------- */
.team-section,
.new-items-section,
.oak-section { padding: 6rem 1.5rem; position: relative; }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.team-card { overflow: hidden; }
.team-card__image { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.team-card__body { padding: 1.5rem; text-align: center; }
@media (min-width: 768px) { .team-card__body { padding: 2rem; } }
.team-card__body h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .team-card__body h3 { font-size: 1.875rem; } }
.team-card__role { font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; }
.team-card__bio { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; }

/* ---------- PRODUCT GRID / CARD (shared everywhere — 31.13) ---------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { gap: 1.5rem; } }
.theme-product-grid--shop { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 640px) { .theme-product-grid--shop { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--shop { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-product-grid--4col { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 768px) { .theme-product-grid--4col { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 2/3; overflow: hidden; background: var(--color-secondary); border: 1px solid var(--color-border); margin-bottom: 1rem; }
.theme-product-card__image-wrapper img { transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.03); }
.theme-product-card__badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; z-index: 2; }
.product-badge { padding: 0.25rem 0.6rem; font-size: 0.62rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.18em; border-radius: 0.2rem; }
.product-badge--soldout { background: var(--color-foreground); color: var(--color-background); }
.product-badge--new { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__info { text-align: center; flex: 1; min-width: 0; }
.theme-product-card__meta { font-size: 0.625rem; font-family: var(--font-body); font-weight: 400; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); margin-bottom: 0.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-product-card__meta--author { font-size: 0.75rem; text-transform: none; letter-spacing: normal; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 400; letter-spacing: 0.01em; color: var(--color-foreground); transition: color 0.3s ease; margin-bottom: 0.15rem; line-height: 1.2; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price { font-size: 0.9375rem; font-family: var(--font-body); font-weight: 400; color: var(--color-primary); }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }

/* ---------- CAROOUSEL ---------- */
.theme-carousel { position: relative; }
.theme-carousel__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 0.25rem; }
.theme-carousel__track::-webkit-scrollbar { display: none; }
.theme-carousel__slide { flex: 0 0 calc(50% - 10px); min-width: 0; scroll-snap-align: start; }
@media (min-width: 768px) { .theme-carousel__slide { flex: 0 0 calc(25% - 18px); } }
@media (min-width: 1.25rem) {}
.theme-carousel__controls { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.carousel-btn { width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-background) 80%, transparent); color: var(--color-foreground); transition: border-color 0.3s ease, color 0.3s ease; }
.carousel-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.carousel-btn:disabled { opacity: 0.3; pointer-events: none; }

/* ---------- CATEGORY TILES ---------- */
.tiles-section { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .tiles-section { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: block; height: 50vh; overflow: hidden; }
@media (min-width: 768px) { .tile { height: 55vh; } }
.tile__image { transition: transform 2s ease; }
.tile:hover .tile__image { transform: scale(1.05); }
.tile__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 90%, transparent), color-mix(in srgb, var(--color-background) 20%, transparent), transparent); }
.tile__content { position: absolute; bottom: 2.5rem; left: 2rem; right: 2rem; }
.tile__content h2 { font-size: 1.875rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .tile__content h2 { font-size: 2.25rem; } }
.tile__content p { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.tile__cta { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-accent); display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.3s ease; }
.tile:hover .tile__cta { color: var(--color-foreground); }

/* ---------- BOOK BANNER ---------- */
.book-banner { position: relative; height: 55vh; overflow: hidden; background-image: var(--book-bg); background-position: left center; background-size: cover; }
.book-banner__gradient { position: absolute; inset: 0; background: linear-gradient(to right, transparent, transparent, var(--color-forest-deep)); opacity: 0.95; }
.book-banner__inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; z-index: 10; }
.book-banner__content {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 32rem;
	margin-right: 2rem;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
}
@media (min-width: 768px) { .book-banner__content { margin-right: 4rem; } }
.book-banner__content .eyebrow,
.book-banner__content .section-heading,
.book-banner__content .book-banner__author,
.book-banner__content .book-banner__price { width: 100%; text-align: right; }
.book-banner__content .btn-gold { align-self: flex-end; }
.book-banner__content h2 { font-size: 2.25rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .book-banner__content h2 { font-size: 3rem; } }
.book-banner__author { font-family: var(--font-body); font-size: 0.9rem; color: var(--color-muted-foreground); font-style: italic; margin-bottom: 0.25rem; }
.book-banner__price { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }

/* ---------- GALLERY ---------- */
.gallery-section { padding: 6rem 1.5rem; position: relative; }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.gallery-card { padding: 1.25rem; }
.gallery-card__trigger { position: relative; display: block; width: 100%; aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.25rem; cursor: zoom-in; }
.gallery-card__trigger img { transition: transform 0.7s ease; }
.gallery-card__trigger:hover img { transform: scale(1.05); }
.gallery-card h3 { font-size: 1.5rem; line-height: 1.15; margin-bottom: 0.25rem; }
.gallery-card__role { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; }
.gallery-card__notes li { display: flex; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin-bottom: 0.5rem; }
.gallery-card__notes .dot { color: var(--color-accent); flex-shrink: 0; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(4px); padding: 1rem; }
.lightbox.is-open { display: flex; animation: themeFadeIn 0.25s var(--transition-smooth); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); z-index: 10; }
.lightbox__close:hover { color: var(--color-accent); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); padding: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); z-index: 10; }
.lightbox__nav:hover { color: var(--color-accent); }
.lightbox__nav--prev { left: 0.5rem; }
.lightbox__nav--next { right: 0.5rem; }
.lightbox__figure { max-width: 48rem; width: 100%; text-align: center; }
.lightbox__figure img { max-height: 75vh; width: auto; margin: 0 auto; object-fit: contain; position: static; }
.lightbox__name { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.lightbox__meta { display: block; font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-accent); margin-top: 0.25rem; }

/* ---------- COMMISSIONS ---------- */
.commissions-section { padding: 6rem 1.5rem; }
.commissions-layout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 1024px) { .commissions-layout { grid-template-columns: 2fr 1fr; } }
.commissions-media { padding: 0.75rem; display: flex; flex-direction: column; }
.commissions-media > img { width: 100%; height: auto; display: block; position: static; }
.commissions-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.commission-tab { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.4rem 0.75rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); color: var(--color-muted-foreground); transition: color 0.3s ease, border-color 0.3s ease; }
.commission-tab.is-active, .commission-tab:hover { color: var(--color-accent); border-color: var(--color-accent); }
.commissions-detail { padding: 2rem; display: flex; flex-direction: column; position: relative; }
.commission-panel { display: none; flex: 1; }
.commission-panel.is-active { display: flex; flex-direction: column; }
.commission-panel__kind { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.commission-panel h3 { font-size: 1.875rem; margin-bottom: 0.75rem; }
.commission-panel__summary { font-weight: 600; font-style: italic; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1rem; }
.commission-panel__details { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; }
.commissions-detail__cta { margin-top: auto; align-self: flex-start; }

/* ---------- MARQUEE ---------- */
.marquee-section { padding: 2.5rem 0; background: var(--color-forest); overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.marquee-track { display: flex; align-items: center; white-space: nowrap; animation: themeMarquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; gap: 3rem; flex-shrink: 0; padding-right: 3rem; }
.marquee-item { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
@media (min-width: 768px) { .marquee-item { font-size: 1.875rem; } }
@keyframes themeMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- BEST SELLERS / SHOP ---------- */
.bestsellers-section { padding: 6rem 1.5rem; }
.shop-section { padding: 6rem 1.5rem; }
.shop-section.bg-forest { background-color: var(--color-forest); }
.shop-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.theme-cat-filter { padding: 0.6rem 1.25rem; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); color: var(--color-muted-foreground); transition: all 0.3s ease; }
.theme-cat-filter.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); font-weight: 600; }
.theme-cat-filter:hover:not(.is-active) { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }

.price-filter { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; font-size: 0.75rem; color: var(--color-muted-foreground); flex-wrap: wrap; }
.price-range-wrapper { position: relative; height: 1.5rem; width: 10rem; }
@media (min-width: 768px) { .price-range-wrapper { width: 14rem; } }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 2px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-accent); }
.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-accent); cursor: pointer; border: 2px solid var(--color-background); }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent); cursor: pointer; border: 2px solid var(--color-background); }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-wrapper--single { width: 8rem; height: 1.5rem; }
@media (min-width: 768px) { .price-range-wrapper--single { width: 12rem; } }
.price-range-wrapper--single .range-input--max-only {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: auto; accent-color: var(--color-accent);
}
.range-track-fill { left: 0; width: 100%; }
.shop-empty-state { text-align: center; margin-top: 3rem; color: var(--color-muted-foreground); font-size: 0.875rem; }

/* ---------- REVIEWS ---------- */
.reviews-section { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .reviews-section { padding: 5rem 1.5rem; } }
.reviews-header { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .reviews-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.reviews-kicker { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); }
.reviews-rating { display: flex; align-items: center; gap: 0.5rem; }
.stars { display: flex; color: var(--color-primary); }
.reviews-rating__text { font-size: 0.8rem; color: var(--color-muted-foreground); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.review-card { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 640px) { .review-card { flex-direction: row; } }
.review-card__image { position: relative; flex-shrink: 0; display: block; width: 100%; height: 10rem; background: var(--color-secondary); overflow: hidden; }
@media (min-width: 640px) { .review-card__image { width: 7rem; height: 7rem; } }
.review-card__image img,
.review-card__image .review-card__img {
	position: static !important;
	inset: auto !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover;
	display: block;
}
.theme-variation-row--hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.review-card__text { font-size: 0.95rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin: 0.5rem 0 0.75rem; }
.review-card__meta { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.review-card__product { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.5rem; display: inline-block; }

/* ---------- EMPLOYER ---------- */
.employer-section { padding: 6rem 1.5rem; position: relative; }
.employer-section__inner { text-align: center; position: relative; z-index: 10; max-width: 48rem; }
.employer-section__title { margin-bottom: 1rem; }
.employer-intro { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.7; margin: 0 0 2rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.employer-card { padding: 2rem; text-align: left; background: var(--color-forest-deep); }
@media (min-width: 768px) { .employer-card { padding: 2.5rem; } }
.employer-card__label { font-size: 0.6875rem; letter-spacing: 0.3em; margin-bottom: 0.75rem; }
.employer-card h3 { font-size: 1.875rem; margin-bottom: 0.75rem; }
.employer-card p { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* ---------- FAN CLUB ---------- */
.fanclub-section { position: relative; padding: 6rem 0; overflow: hidden; background-image: var(--fanclub-bg); background-position: center; background-size: cover; }
.fanclub-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 80%, transparent); }
.fanclub-section__inner { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1.5rem; max-width: 36rem; margin: 0 auto; }
.fanclub-title { font-family: var(--font-display); font-size: 2.25rem; font-style: italic; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .fanclub-title { font-size: 3rem; } }
.fanclub-body { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-bottom: 2rem; }
.fanclub-form { width: 100%; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .fanclub-form { flex-direction: row; } }
.fanclub-input { flex: 1; background: color-mix(in srgb, var(--color-background) 70%, transparent); border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); padding: 0.9rem 1rem; font-size: 0.875rem; color: var(--color-foreground); }
.fanclub-input::placeholder { color: var(--color-muted-foreground); }
.fanclub-input:focus { outline: none; border-color: var(--color-accent); }
.fanclub-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.fanclub-success { color: var(--color-accent); font-family: var(--font-body); letter-spacing: 0.02em; font-size: 0.9rem; }
.fanclub-success[hidden] { display: none; }
.fanclub-embed { width: 100%; margin-top: 0.5rem; }
.fanclub-embed iframe { width: 100%; max-width: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq-section { padding: 6rem 1.5rem; position: relative; }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-item { overflow: hidden; }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; text-align: left; }
@media (min-width: 768px) { .faq-item__question { padding: 2rem; } }
.faq-item__question h3 { font-size: 1.25rem; }
.faq-item__chevron { flex-shrink: 0; color: var(--color-accent); transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-item__answer p { padding: 0 1.5rem 1.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .faq-item__answer p { padding: 0 2rem 2rem; } }

/* ---------- CONTACT ---------- */
.contact-section { position: relative; padding: 8rem 1.5rem; text-align: center; color: var(--color-primary-foreground); overflow: hidden; background-image: var(--contact-bg); background-position: center; background-size: cover; }
.contact-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 75%, transparent); }
.contact-section__inner { position: relative; z-index: 10; max-width: 36rem; margin: 0 auto; }
.contact-title { font-family: var(--font-display); font-size: 3rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-title { font-size: 3.75rem; } }
.contact-body { font-size: 1rem; color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; }
.contact-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .contact-actions { flex-direction: row; } }
.contact-location { margin-top: 2.5rem; font-size: 0.75rem; color: color-mix(in srgb, var(--color-primary-foreground) 60%, transparent); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--color-forest-deep); border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); padding: 3rem 0 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.footer-logo-img { margin-bottom: 1rem; }
.footer-bio { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; }
.site-footer h4 { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: var(--color-foreground); margin-bottom: 1rem; }
.theme-footer-nav-list, .site-footer__nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.theme-footer-nav-list a, .site-footer__nav a { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.theme-footer-nav-list a:hover, .site-footer__nav a:hover { color: var(--color-foreground); }
.site-footer__contact ul { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.site-footer__contact a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s ease; }
.site-footer__contact a:hover { color: var(--color-foreground); }
.footer-location { display: flex; align-items: center; gap: 0.5rem; }
.site-footer__bottom { padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-border) 30%, transparent); text-align: center; font-size: 0.7rem; color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent); letter-spacing: 0.02em; }

/* ---------- 404 ---------- */
.theme-404 { padding: calc(var(--header-height) + 4rem) 1.5rem 6rem; text-align: center; }
.theme-404__title { font-size: 5rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ---------- GENERIC PAGE / INNER PAGE SPACING ---------- */
body.theme-no-hero .site-main { padding-top: calc(var(--header-h, var(--header-height)) + 1.5rem); }
body.single-product .site-main { padding-top: calc(var(--header-h, var(--header-height)) + 1rem); }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
.theme-page-content { padding-bottom: 5rem; }

/* ==========================================================================
   WOOCOMMERCE
   ========================================================================== */
.breadcrumb-trail { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); padding: 1.5rem 0; }
.breadcrumb-trail a:hover { color: var(--color-foreground); }
.breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-current { color: var(--color-foreground); }

.single-product-main .theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .single-product-main .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%; }
.theme-product-gallery--mobile { display: block; }
.theme-product-gallery--desktop { display: none; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) {
	.theme-product-gallery--mobile { display: none; }
	.theme-product-gallery--desktop { display: flex; }
	.single-product .theme-product-info { position: sticky; top: 7rem; align-self: start; padding-left: 1rem; }
}
.theme-product-main-frame {
	position: relative; width: 100%; aspect-ratio: 2 / 3; max-width: 32rem; margin: 0 auto 1rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); background: var(--color-secondary); overflow: hidden;
}
.theme-product-main-frame--mobile { aspect-ratio: 3 / 4; margin-bottom: 1rem; }
.theme-product-main-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.25rem; max-width: 100%; flex-wrap: nowrap; }
.product-thumb {
	position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary);
	opacity: 0.6; transition: opacity 0.3s ease; border: none;
}
.product-thumb.is-active, .product-thumb:hover { opacity: 1; }
.product-thumb.is-active::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-category { font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); display: block; margin-bottom: 0.75rem; }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.5rem; } }
.product-price { font-size: 1.25rem; margin-bottom: 1.25rem; }
.product-short-desc, .product-short-desc p { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; }
.stock-indicator--out { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.25rem; }

.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;
}
.theme-quantity-wrapper { display: flex; flex-direction: column; gap: 0.4rem; }
.theme-quantity-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-quantity-controls { display: flex; align-items: center; border: 1px solid var(--color-border); height: var(--btn-height); }
.theme-qty-minus, .theme-qty-plus { padding: 0 0.85rem; height: 100%; display: flex; align-items: center; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; background: transparent; border: none; color: var(--color-foreground); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .single_add_to_cart_button.button,
.single-product .add_to_cart_button.button,
.single-product a.single_add_to_cart_button,
.single-product a.add_to_cart_button,
.single-product button.single_add_to_cart_button,
.single-product .theme-btn-primary.single_add_to_cart_button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: var(--radius) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.25em !important;
	width: 100%;
}
.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: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	flex: 1 1 auto;
	min-width: 160px;
}
.single-product .single_add_to_cart_button.button:hover,
.single-product a.single_add_to_cart_button:hover {
	opacity: 0.9 !important;
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !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; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !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; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.25rem !important; border-top: 3px solid var(--color-accent) !important;
	background: var(--color-secondary) !important; color: var(--color-foreground) !important; list-style: none !important;
}

/* Variations table */
.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.4rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--color-border); border-radius: 999px; transition: all 0.2s ease; }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.product-accordions { border-top: 1px solid var(--color-border); margin-top: 2.5rem; }
.product-accordion { border-bottom: 1px solid var(--color-border); }
.product-accordion__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; }
.accordion-chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.product-accordion.is-open .accordion-chevron { transform: rotate(180deg); }
.product-accordion__panel { padding-bottom: 1.5rem; font-size: 0.9rem; color: var(--color-muted-foreground); line-height: 1.7; }
.product-accordion__panel[hidden] { display: none; }
.product-accordion__panel p { margin-bottom: 0.75rem; }

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

.theme-attr-label-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.size-guide-trigger {
	display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase;
	font-family: var(--font-body); color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px;
	text-decoration-color: var(--color-border); transition: color 0.3s ease, text-decoration-color 0.3s ease;
}
.size-guide-trigger:hover { color: var(--color-foreground); text-decoration-color: var(--color-foreground); }
.size-guide-unit { border-radius: 999px; }
.size-guide-footnote { margin-top: 1rem; margin-bottom: 0; font-size: 0.8125rem; }

.theme-product-addons { margin-bottom: 1.5rem; }
.theme-product-addons__title { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-weight: 500; }
.theme-product-addons__title span { opacity: 0.6; text-transform: lowercase; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-border);
	border-radius: 999px; transition: all 0.2s ease; font-family: var(--font-body);
}
.theme-attr-pill:hover:not(.is-selected) { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-order-note {
	width: 100%; margin-top: 0.75rem; padding: 0.75rem 1rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); transition: border-color 0.2s ease;
}
.theme-order-note:focus { outline: none; border-color: var(--color-foreground); }
.theme-order-note::placeholder { color: var(--color-muted-foreground); }

body.theme-modal-open { overflow: hidden; }
.theme-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-modal[hidden] { display: none !important; }
.theme-modal__backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 55%, transparent); backdrop-filter: blur(4px); }
.theme-modal__dialog {
	position: relative; z-index: 2; width: 100%; max-width: 32rem; background: var(--color-card); border: 1px solid var(--color-border);
	padding: 2rem 1.75rem; max-height: 90vh; overflow-y: auto;
}
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.75rem; }
.theme-modal__lead { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; line-height: 1.6; }
.size-guide-units { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.size-guide-unit { padding: 0.35rem 0.75rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--color-border); }
.size-guide-unit.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.size-guide-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.size-guide-table th, .size-guide-table td { padding: 0.5rem 0.35rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.size-guide-table th { color: var(--color-muted-foreground); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem; }

/* Shop archive */
.shop-archive-title { padding: calc(var(--header-height) + 2rem) 0 1rem; }
.shop-archive-main .theme-product-grid { padding-bottom: 4rem; }

/* Cart drawer */
#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: 26rem; background: var(--color-background); z-index: 95;
	box-shadow: -16px 0 48px -10px rgba(0,0,0,0.75); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s 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__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-size: 1.125rem; font-weight: 700; font-family: var(--font-display); }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.8; }
.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: 1.5rem; text-align: center; gap: 1.25rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-line-item { display: flex; gap: 1rem; align-items: flex-start; }
.cart-line-item__image {
	position: relative;
	display: block;
	width: 5rem;
	height: 6rem;
	min-width: 5rem;
	max-width: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
}
.theme-cart-drawer__items .cart-line-item__image img,
.cart-line-item__image img {
	position: static !important;
	inset: auto !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: cover;
	display: block;
}
.cart-line-item__body { flex: 1; min-width: 0; }
.cart-line-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-line-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.15rem 0; }
.cart-line-item__variation { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.25rem; }
.cart-line-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cart-qty-btn { padding: 0.25rem; border-radius: 0.2rem; transition: background 0.2s ease; }
.cart-qty-btn:hover { background: var(--color-secondary); }
.cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.cart-remove-btn { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.cart-remove-btn: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; }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.cart-shipping-note { font-size: 0.8rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn, .theme-cart-empty-btn { width: 100%; }

/* ==========================================================================
   CHECKOUT / CART / ACCOUNT BLOCKS
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

body.woocommerce-checkout .wp-block-woocommerce-checkout {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main-area,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

/* Single 2-column checkout layout (no nested sidebar-layout grids). */
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: block !important;
	flex-wrap: nowrap !important;
	gap: 0 !important;
}

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 3rem 4rem !important;
		align-items: start !important;
	}

	body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		flex: none !important;
		grid-column: auto !important;
		position: static !important;
		top: auto !important;
	}

	/* Order summary lives in the sidebar column only (Blocks also injects a copy in actions). */
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper,
	body.woocommerce-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill,
	body.woocommerce-checkout .wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block {
		display: none !important;
	}

	body.woocommerce-cart .wc-block-cart {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 3rem 4rem !important;
		align-items: start !important;
	}
}

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1 !important; }

body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-components-form,
body.woocommerce-checkout .wc-block-checkout__form {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	grid-template-columns: none !important;
}

/* Billing/shipping fields: single column stack (avoid nested address grids). */
body.woocommerce-checkout .wc-block-components-address-form,
body.woocommerce-checkout .wc-block-components-address-form-wrapper {
	display: flex !important;
	flex-direction: column !important;
	gap: 1rem !important;
	grid-template-columns: none !important;
	grid-template-areas: none !important;
}

body.woocommerce-checkout .wc-block-components-address-form > *,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-address-form .wc-blocks-components-select,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-country-input,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-state-input {
	width: 100% !important;
	max-width: none !important;
	grid-column: auto !important;
}

body.woocommerce-checkout .wc-block-checkout__actions,
body.woocommerce-checkout .wc-block-checkout__actions_row {
	display: block !important;
	width: 100% !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0.375rem !important;
	width: 100% !important;
	max-width: none !important;
	box-shadow: none !important;
	appearance: auto !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder { color: var(--color-muted-foreground) !important; opacity: 1 !important; }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button {
	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; font-size: var(--btn-font-size) !important;
	text-transform: none !important; min-height: var(--btn-height) !important; border: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius); font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}

/* Thank you page */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-thankyou { padding: calc(var(--header-height) + 2rem) 0 5rem; max-width: 48rem; margin: 0 auto; }
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-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; background: var(--color-secondary); border-radius: var(--card-radius); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.85rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th, body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.6rem; border-bottom: 1px solid var(--color-border); font-size: 0.85rem; }
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; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1rem; border-radius: var(--radius); }

/* Sold-individually / disabled pill states already covered by global add-to-cart rules above */
