/* =========================================================
   Mad Genie Music — theme.css
   Author: The Free Website Guys
   ========================================================= */

:root {
	--color-background: #0c0c18;
	--color-foreground: #efeff5;
	--color-card: #141424;
	--color-primary: #8c5af2;
	--color-primary-foreground: #0c0c18;
	--color-secondary: #25203c;
	--color-muted: #2d2d43;
	--color-muted-foreground: #8d8da5;
	--color-border: #2d2d43;
	--color-lilac: #ad77f8;
	--color-surface: var(--color-card);

	--font-display: 'Fraunces', serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.75rem;

	--header-height: 112px;
	--logo-height: 70px;

	--shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.25);
	--shadow-elevated: 0 8px 40px -8px rgba(0, 0, 0, 0.35);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--checkout-gap: 1.5rem;
}

/* ---------------------------------------------------------
   Base / reset
   --------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	margin: 0;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img) { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* Clickable elements — pointer cursor */
.btn,
.theme-link-underline,
.theme-service-card__cta,
.theme-genre-tile,
.theme-shop-cat-btn,
.theme-faq-tab,
.theme-faq-item__trigger,
.theme-cart-btn,
.theme-mobile-toggle,
.theme-nav-link,
.theme-nav-list a,
.theme-nav-mobile a,
.theme-price-filter__toggle,
.theme-accordion__trigger,
.theme-product-thumb,
[data-open-contact-modal],
[data-anchor-link],
[data-scroll-to],
[data-shop-link],
[data-cat-filter],
[data-mobile-menu-toggle],
[data-cart-open],
[data-testimonials-prev],
[data-testimonials-next],
[data-testimonials-dot],
label[for],
input[type="submit"],
input[type="button"],
input[type="reset"],
.theme-404__link,
.site-footer a,
.theme-final-cta__instagram-link,
.theme-final-cta__email-display {
	cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}
.font-display { font-family: var(--font-display); font-weight: inherit; font-size: inherit; }

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container-wide {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.dot { color: rgba(239, 239, 245, 0.3); margin: 0 0.5rem; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: 1px solid transparent;
	transition: all 0.3s var(--transition-smooth);
	white-space: nowrap;
}
.btn-primary,
.btn-hero-primary,
.btn-cta-band {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
	text-transform: none;
}
.btn-primary:hover,
.btn-hero-primary:hover,
.btn-cta-band:hover {
	transform: scale(1.05);
}
.btn-hero-primary:hover {
	background: color-mix(in srgb, var(--color-primary) 90%, transparent);
	color: var(--color-primary-foreground);
}
.btn-primary:hover,
.btn-cta-band:hover {
	background: var(--color-background);
	color: var(--color-primary);
}
.btn-primary:active,
.btn-hero-primary:active,
.btn-cta-band:active { transform: scale(0.95); }

.btn-outline {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.btn-hero-primary,
.btn-hero-outline {
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 600;
	padding: 1rem 2.5rem;
}
.btn-hero-outline {
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid rgba(239, 239, 245, 0.8);
}
.btn-hero-outline { padding: 1rem 2rem; }
.btn-hero-outline:hover { background: rgba(239, 239, 245, 0.1); border-color: var(--color-foreground); transform: scale(1.05); }

.btn-inverse {
	background: color-mix(in srgb, var(--color-background) 70%, transparent);
	color: var(--color-foreground);
	border-color: rgba(239, 239, 245, 0.15);
	text-transform: none;
	font-size: 14px;
	letter-spacing: normal;
}
.btn-inverse:hover { background: var(--color-background); transform: scale(1.05); }

.btn-primary, .btn-cta-band { font-size: 14px; letter-spacing: normal; }

/* ---------------------------------------------------------
   Reveal animations (Section 2.1)
   --------------------------------------------------------- */
.reveal-item {
	opacity: 1;
	transform: none;
}
body.js-reveal-ready .reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
body.js-reveal-ready .reveal-item.is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item,
	body.js-reveal-ready .reveal-item { transition: none; opacity: 1; transform: none; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@keyframes theme-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes theme-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes theme-pulse-soft { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }

/* ---------------------------------------------------------
   Page loader
   --------------------------------------------------------- */
#theme-page-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 1.5rem;
	background: var(--color-background);
	transition: opacity 0.6s var(--transition-smooth);
}
#theme-page-loader.is-hidden { opacity: 0; pointer-events: none; }
.theme-page-loader__spinner { position: relative; height: 4rem; width: 4rem; }
.theme-page-loader__spinner .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-page-loader__spinner .ring-spin { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--color-primary); border-right-color: color-mix(in srgb, var(--color-primary) 50%, transparent); animation: theme-spin 1.5s linear infinite; }
.theme-page-loader__spinner .dot { position: absolute; inset: 0.75rem; border-radius: 50%; background: linear-gradient(135deg, var(--color-primary), var(--color-lilac)); animation: theme-pulse-soft 2.2s ease-in-out infinite; }
#theme-page-loader p { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: color-mix(in srgb, var(--color-primary) 70%, transparent); }

/* ---------------------------------------------------------
   Scroll progress
   --------------------------------------------------------- */
#theme-scroll-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 3px;
	z-index: 60;
	transform-origin: left;
	transform: scaleX(0);
	background: linear-gradient(90deg, var(--color-primary), var(--color-lilac), var(--color-primary));
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	background: var(--color-background);
	transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
body.is-customizer.admin-bar .site-header,
body.customize-preview.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.is-customizer.admin-bar .site-header,
	body.customize-preview.admin-bar .site-header {
		top: 46px;
	}
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.site-header__inner { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 50%, transparent); }
.site-nav { position: relative; }
.site-nav__desktop {
	display: none;
	align-items: center;
	width: 100%;
	height: 80px;
}
@media (min-width: 1024px) {
	.site-nav__desktop {
		display: flex;
		height: 112px;
	}
}
.site-nav__mobile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 80px;
}
@media (min-width: 1024px) {
	.site-nav__mobile { display: none; }
}
.site-nav__mobile-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.site-logo-img--mobile { height: 48px !important; width: auto !important; }

.site-nav__side { display: flex; align-items: center; flex: 1; }
.site-nav__side--left { justify-content: flex-start; gap: 3rem; }
.site-nav__side--right { justify-content: flex-end; gap: 2rem; }

.site-nav__desktop .theme-nav-list { display: flex; align-items: center; gap: 3rem; list-style: none; margin: 0; padding: 0; }
.site-nav__desktop .theme-nav-list li { display: flex; align-items: center; }
.site-nav__side--right .theme-nav-list { gap: 2rem; }
.theme-nav-link,
.site-nav__desktop .theme-nav-list a {
	font-size: 15px;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	transition: color 0.2s ease;
	background: none;
	border: none;
	padding: 0;
}
.theme-nav-link:hover,
.site-nav__desktop .theme-nav-list a:hover { color: var(--color-primary); }

.site-logo-link { display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0 1.5rem; text-decoration: none; }
.site-logo-link--mobile { padding: 0; justify-content: flex-start; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; border-radius: 6px; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; }
.site-logo-text-inline { font-family: var(--font-display); margin-left: 0.5rem; }

.theme-cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s;
}
.theme-cart-btn:hover { transform: scale(1.1); border-color: var(--color-primary); color: var(--color-primary); }
.theme-cart-count {
	position: absolute;
	top: -6px; right: -6px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 50%;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 10px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--color-foreground);
	padding: 0.5rem;
	margin-right: -0.5rem;
	transition: opacity 0.2s ease;
}
.theme-mobile-toggle:hover { opacity: 0.6; }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-active .icon-menu { display: none; }
.theme-mobile-toggle.is-active .icon-close { display: block; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

/* Mobile menu — vertical list, Lovable / theme parity */
.theme-mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	background: var(--color-background);
}
.theme-mobile-menu.is-open {
	display: block;
	padding: 1rem 0;
	animation: theme-fade-in 0.3s var(--transition-smooth) forwards;
}
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }

.theme-nav-mobile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
.theme-nav-mobile li {
	display: block;
	width: 100%;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
.theme-nav-mobile .theme-nav-link,
.theme-nav-mobile a {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.75rem 0;
	font-size: 14px;
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.5;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	background: none;
	border: none;
	transition: color 0.3s var(--transition-smooth), padding-left 0.3s var(--transition-smooth);
}
.theme-nav-mobile .theme-nav-link:hover,
.theme-nav-mobile a:hover,
.theme-nav-mobile .theme-nav-link:focus-visible,
.theme-nav-mobile a:focus-visible {
	color: var(--color-primary);
	padding-left: 0.5rem;
}

/* ---------------------------------------------------------
   Section heading system (Section 2.2.5 — per-section scales)
   --------------------------------------------------------- */
.theme-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 0.75rem;
	font-weight: 400;
}
.theme-section-head { text-align: center; margin-bottom: 3rem; }
.theme-section-cta { text-align: center; margin-top: 3.5rem; }

.section-heading { font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; }
.genre-section-heading, .featured-section-heading, .coming-soon-section-heading, .faq-section-heading { font-size: 2rem; }
@media (min-width: 768px) { .genre-section-heading, .featured-section-heading, .coming-soon-section-heading, .faq-section-heading { font-size: 3rem; } }

.about-section-heading { font-size: 1.5rem; line-height: 1.25; }
@media (min-width: 768px) { .about-section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-section-heading { font-size: 2.5rem; } }

.producer-section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .producer-section-heading { font-size: 3rem; } }

.services-section-heading, .shop-heading, .testimonials-section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .services-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section-heading { font-size: 3.75rem; } }
@media (min-width: 768px) { .shop-heading, .testimonials-section-heading { font-size: 3rem; } }

.cta-band__title { font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.theme-hero {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 620px;
	overflow: hidden;
	background: var(--color-primary);
	padding-top: 80px;
	margin-top: -80px;
}
@media (min-width: 768px) {
	.theme-hero { padding-top: 112px; margin-top: -112px; }
}
.theme-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.theme-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.theme-hero__overlay {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--color-background) 60%, transparent);
}
.theme-hero__overlay-fade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 0%, transparent 60%, var(--color-background) 100%);
	opacity: 0.8;
}

.theme-hero__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.theme-hero__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 64rem; padding: 0 0.5rem; }
.theme-hero__eyebrow { font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-foreground); font-weight: 600; margin-bottom: 1.5rem; }
.theme-hero__title { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--color-foreground); line-height: 0.98; letter-spacing: -0.015em; font-size: clamp(2.75rem, 8vw, 6.5rem); }
.theme-hero__subtitle { margin-top: 1.5rem; max-width: 36rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
.theme-hero__actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; } }
.theme-hero__marquee-wrap {
	width: 100vw;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
}

.theme-hero-marquee { position: relative; width: 100%; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); background: color-mix(in srgb, var(--color-card) 80%, transparent); backdrop-filter: blur(4px); padding: 1rem 0; }
@media (min-width: 768px) { .theme-hero-marquee { padding: 1.25rem 0; } }
.theme-hero-marquee__track { display: flex; width: max-content; animation: theme-marquee 35s linear infinite; }
.theme-hero-marquee__track:hover { animation-play-state: paused; }
.theme-hero-marquee__item { display: flex; align-items: center; gap: 0.75rem; padding: 0 1.5rem; flex-shrink: 0; color: var(--color-primary); }
.theme-hero-marquee__item span { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); white-space: nowrap; }
@media (min-width: 768px) { .theme-hero-marquee__item span { font-size: 14px; } }

/* ---------------------------------------------------------
   Sections general spacing
   --------------------------------------------------------- */
.theme-section { padding: 4rem 0; }
@media (min-width: 768px) { .theme-section { padding: 5rem 0; } }
#about, #producer, #services, #shop, #collaborate, #customize, #coming-soon, #support, #testimonials, #contact {
	scroll-margin-top: 6rem;
}
.theme-genre-section, .theme-featured-section, .theme-services-section, .theme-shop-section, .theme-coming-soon-section { padding: 4rem 0; }
@media (min-width: 768px) { .theme-genre-section { padding: 4rem 0 5rem; } .theme-featured-section, .theme-services-section, .theme-coming-soon-section { padding: 5rem 0 7rem; } .theme-shop-section { padding: 4rem 0 6rem; } }

/* ---------------------------------------------------------
   Genre tiles
   --------------------------------------------------------- */
.theme-genre-tiles { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; gap: 2rem 1rem; padding: 1.5rem 0 1rem; }
@media (min-width: 768px) { .theme-genre-tiles { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; } }
.theme-genre-tile { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; background: none; border: none; color: inherit; }
.theme-genre-tile__icon {
	width: 6rem; height: 6rem;
	border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-secondary);
	color: var(--color-primary);
	overflow: hidden;
	transition: all 0.5s var(--transition-smooth);
	padding: 1.25rem;
	border: 2px solid transparent;
}
@media (min-width: 640px) { .theme-genre-tile__icon { width: 8rem; height: 8rem; } }
@media (min-width: 768px) { .theme-genre-tile__icon { width: 10rem; height: 10rem; padding: 2.5rem; } }
.theme-genre-tile:hover .theme-genre-tile__icon { transform: scale(1.05); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-genre-tile:hover .theme-genre-tile__icon svg { transform: scale(1.1) rotate(6deg); }
.theme-genre-tile__icon svg { width: 100%; height: 100%; transition: transform 0.7s var(--transition-smooth); }
.theme-genre-tile__label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); text-align: center; }
@media (min-width: 768px) { .theme-genre-tile__label { font-size: 14px; } }

/* ---------------------------------------------------------
   Product grid & cards
   --------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.theme-featured-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .theme-featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; height: 100%; transition: transform 0.35s var(--transition-smooth); }
.theme-product-card-wrap:hover { transform: translateY(-4px); }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}
.theme-product-card__image-wrapper .theme-card-image-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
}
.theme-product-card__image-wrapper .theme-card-image-link:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.theme-product-card__image-wrapper {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	border-radius: var(--card-radius);
	background: var(--color-card);
	margin-bottom: 1.25rem;
	transition: transform 0.35s var(--transition-smooth);
	transform-style: preserve-3d;
	will-change: transform;
}
.theme-product-card__shimmer {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card__image-wrapper.is-loaded .theme-product-card__shimmer { display: none; }
.theme-product-card__glare {
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0;
	pointer-events: none;
	mix-blend-mode: overlay;
	background: radial-gradient(240px circle at 50% 50%, rgba(255,255,255,0.35), transparent 60%);
	transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__glare { opacity: 1; }
.theme-product-card__image { width: 100%; height: 100%; transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }

.theme-badge {
	position: absolute;
	top: 1rem; right: 1rem;
	z-index: 3;
	padding: 0.25rem 0.75rem;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	background: var(--color-foreground);
	color: var(--color-background);
}

.theme-card-add-btn.add_to_cart_button.ajax_add_to_cart,
.theme-card-add-btn.theme-card-view-btn {
	position: absolute;
	left: 1rem; right: 1rem; bottom: 1rem;
	z-index: 4;
	padding: 0.75rem 0;
	border-radius: var(--btn-radius);
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: 1px solid var(--color-primary) !important;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	text-align: center;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth), background-color 0.2s, color 0.2s;
	cursor: pointer;
	display: block;
	width: auto;
	text-decoration: none;
	font-family: inherit;
	line-height: inherit;
	appearance: none;
	-webkit-appearance: none;
}
@media (hover: hover) and (pointer: fine) {
	.theme-card-add-btn.ajax_add_to_cart {
		opacity: 0;
		transform: translateY(8px);
	}
	.theme-product-card:hover .theme-card-add-btn.ajax_add_to_cart {
		opacity: 1;
		transform: translateY(0);
	}
}
.theme-product-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.3s;
}
.theme-product-card__title a:hover { color: var(--color-primary); }
.theme-card-add-btn:hover,
.theme-card-view-btn:hover {
	background: var(--color-background) !important;
	color: var(--color-primary) !important;
}

.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.theme-product-card__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-size: 1rem; font-family: var(--font-display); font-weight: 500; line-height: 1.3; color: var(--color-foreground); transition: color 0.3s; min-width: 0; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* ---------------------------------------------------------
   Story banner
   --------------------------------------------------------- */
.theme-story-banner { position: relative; width: 100%; overflow: hidden; height: 40vh; background: var(--color-background); }
@media (min-width: 768px) { .theme-story-banner { height: 55vh; } }
@media (min-width: 1024px) { .theme-story-banner { height: 65vh; } }
.theme-story-banner__shimmer { position: absolute; inset: 0; z-index: 1; }
.theme-story-banner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 120%;
	object-fit: cover;
	will-change: transform;
	transition: opacity 0.9s var(--transition-smooth);
}
.theme-story-banner.is-loaded .theme-story-banner__shimmer { display: none; }
.theme-story-banner__gradient { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 40%, transparent), transparent, color-mix(in srgb, var(--color-background) 40%, transparent)); pointer-events: none; }

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */
.theme-about__inner { max-width: 48rem; margin: 0 auto; padding: 2.5rem 1.5rem 6rem; text-align: center; }
@media (min-width: 768px) { .theme-about__inner { padding: 3.5rem 3.5rem 8rem; } }
.about-section-heading { font-size: 1.5rem; line-height: 1.25; }
@media (min-width: 768px) { .about-section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-section-heading { font-size: 2.5rem; } }
.about-section-heading__em { font-style: italic; }
.theme-about__body { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; font-size: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .theme-about__body { font-size: 1.125rem; } }
.theme-link-underline { position: relative; display: inline-block; margin-top: 2.5rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; background: none; border: none; color: var(--color-foreground); }
.theme-link-underline::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition-smooth); }
.theme-link-underline:hover::after { transform: scaleX(1); }

/* ---------------------------------------------------------
   Producer
   --------------------------------------------------------- */
.theme-producer-section { background: var(--color-card); }
.theme-producer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-producer__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-producer__photo { position: relative; display: flex; }
.theme-producer__photo-img,
.theme-producer__photo img { width: 100%; height: 100%; border-radius: 1rem; background: var(--color-secondary); min-height: 320px; object-fit: cover; transition: transform 1.2s; }
.theme-producer__photo:hover .theme-producer__photo-img,
.theme-producer__photo:hover img { transform: scale(1.05); }
.theme-producer__copy { display: flex; flex-direction: column; justify-content: center; }
.theme-producer__copy .theme-producer__bio-1,
.theme-producer__copy .theme-producer__bio-2 {
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 1rem;
}
@media (min-width: 768px) {
	.theme-producer__copy .theme-producer__bio-1,
	.theme-producer__copy .theme-producer__bio-2 { font-size: 1.125rem; }
}
.theme-producer__copy .theme-producer__bio-2 { margin-bottom: 1.5rem; }
.theme-producer__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
}
.theme-stat__value {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--color-primary);
	margin: 0;
}
@media (min-width: 768px) { .theme-stat__value { font-size: 1.875rem; } }
.theme-stat__label {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin: 0.25rem 0 0;
	line-height: 1.4;
}

/* ---------------------------------------------------------
   Services
   --------------------------------------------------------- */
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .theme-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-service-card {
	display: flex;
	flex-direction: column;
	text-align: center;
	background: var(--color-card);
	border-radius: var(--card-radius);
	padding: 2rem;
	border: 1px solid var(--color-border);
	transition: all 0.5s var(--transition-smooth);
}
.theme-service-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.theme-service-card__icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--color-primary); height: 2.5rem; }
.theme-service-card__kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); margin-bottom: 0.5rem; }
.theme-service-card__title { font-size: 1.125rem; font-family: var(--font-display); margin-bottom: 0.75rem; }
.theme-service-card__body { font-size: 14px; color: var(--color-muted-foreground); line-height: 1.6; margin-bottom: 1.5rem; }
.theme-service-card__cta { margin-top: auto; display: inline-block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); transition: color 0.2s; }
.theme-service-card__cta:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------
   CTA bands (collaborate / custom beat)
   --------------------------------------------------------- */
.theme-cta-band { position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); height: 66.6667vh; overflow: hidden; }
.theme-cta-band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-cta-band__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 1; }
.theme-cta-band__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; }
@media (min-width: 768px) { .theme-cta-band__inner { align-items: center; } }
.theme-cta-band__copy { max-width: 36rem; color: #fff; padding-bottom: 2.5rem; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9); }
@media (min-width: 768px) { .theme-cta-band__copy { padding-bottom: 0; } }
.theme-cta-band__eyebrow { display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 0.75rem; }
.theme-cta-band__body { margin: 1.25rem 0 2rem; font-size: 1rem; }
@media (min-width: 768px) { .theme-cta-band__body { font-size: 1.125rem; } }
.btn-cta-band { text-shadow: none; }

/* ---------------------------------------------------------
   Shop section
   --------------------------------------------------------- */
.theme-shop-section .shop-heading {
	margin-bottom: 2.5rem;
}
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--color-muted-foreground); }
.theme-shop-search input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-foreground);
	font-size: 1rem;
	outline: none;
	transition: border-color 0.2s;
}
.theme-shop-search input:focus { border-color: var(--color-foreground); }
.theme-shop-search input::placeholder { color: var(--color-muted-foreground); }

.theme-shop-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; overflow-x: auto; }
.theme-shop-cat-btn {
	flex-shrink: 0;
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border-radius: var(--btn-radius);
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s;
}
.theme-shop-cat-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-shop-cat-btn.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter__toggle { display: flex; align-items: center; gap: 0.5rem; background: none; border: none; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s; }
.theme-price-filter__toggle:hover { color: var(--color-foreground); }
.theme-price-filter__chevron { transition: transform 0.3s; }
.theme-price-filter__toggle.is-open .theme-price-filter__chevron { transform: rotate(180deg); }
.theme-price-filter__panel { width: 100%; max-width: 24rem; padding: 0.5rem 0; }

.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; border-radius: 4px; }
.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: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.theme-price-filter__values { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.75rem; }

.theme-shop-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }
.theme-shop-loadmore { text-align: center; margin-top: 3rem; }

/* ---------------------------------------------------------
   Coming soon
   --------------------------------------------------------- */
.theme-coming-soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
@media (max-width: 640px) { .theme-coming-soon-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (min-width: 768px) { .theme-coming-soon-grid { gap: 2rem; } }
.theme-coming-soon-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--card-radius);
	background: var(--color-card);
	border: 1px solid var(--color-border);
	padding: 2.5rem;
	text-align: center;
	transition: all 0.5s var(--transition-smooth);
}
.theme-coming-soon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.theme-coming-soon-card__icon {
	width: 3.5rem; height: 3.5rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-primary) 15%, transparent);
	color: var(--color-primary);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1.25rem;
}
.theme-coming-soon-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-coming-soon-card p { font-size: 14px; color: var(--color-muted-foreground); line-height: 1.6; }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.theme-faq-intro { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
.theme-faq-intro p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-top: 1.25rem; }
.theme-faq-intro a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--color-foreground) 30%, transparent); text-underline-offset: 4px; }
.theme-faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; margin-bottom: 2.5rem; }
.theme-faq-tab { padding: 0.6rem 1.25rem; border-radius: var(--btn-radius); border: 1px solid var(--color-primary); background: transparent; color: var(--color-foreground); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; transition: all 0.3s; }
.theme-faq-tab:hover { background: color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-faq-tab.is-active { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-faq-panels { max-width: 48rem; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-item__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; background: none; border: none; color: inherit; text-align: left; }
.theme-faq-item__trigger span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; transition: color 0.2s; }
.theme-faq-item__trigger:hover span:first-child { color: var(--color-primary); }
.theme-faq-item__icon { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--color-primary); color: var(--color-primary); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.theme-faq-item.is-open .theme-faq-item__icon { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-faq-item.is-open .theme-faq-item__icon svg { transform: rotate(180deg); }
.theme-faq-item__panel p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; padding-bottom: 1.5rem; padding-right: 3rem; }
.theme-faq-desktop { display: block; }
.theme-faq-mobile { display: none; }
@media (max-width: 767px) {
	.theme-faq-desktop { display: none; }
	.theme-faq-mobile { display: block; max-width: 42rem; margin: 0 auto; text-align: center; }
	.theme-faq-mobile__group { margin-bottom: 2.5rem; }
	.theme-faq-mobile__badge {
		display: inline-block;
		margin-bottom: 1rem;
		padding: 0.5rem 1rem;
		border-radius: var(--btn-radius);
		border: 1px solid var(--color-primary);
		background: var(--color-primary);
		color: var(--color-primary-foreground);
		font-size: 11px;
		letter-spacing: 0.22em;
		text-transform: uppercase;
		font-weight: 600;
	}
	.theme-faq-mobile__items { border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); text-align: left; }
}

/* ---------------------------------------------------------
   Testimonials — studio UI
   --------------------------------------------------------- */
.theme-testimonials-section { background: var(--color-card); padding: 4rem 0; }
@media (min-width: 768px) { .theme-testimonials-section { padding: 6rem 0; } }
.theme-testimonials-head { margin-bottom: 3rem; }
@media (min-width: 768px) { .theme-testimonials-head { margin-bottom: 4rem; } }
.theme-testimonials-kicker { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; }
.theme-testimonials-kicker .line { height: 2px; width: 2.5rem; background: var(--color-primary); }
.theme-testimonials-kicker span:nth-child(2) { color: var(--color-primary); font-weight: 700; letter-spacing: 0.32em; font-size: 11px; text-transform: uppercase; }
.theme-testimonials-stage { position: relative; max-width: 48rem; margin: 0 auto; }
.theme-testimonials-glow {
	position: absolute;
	inset: -0.25rem;
	background: color-mix(in srgb, var(--color-primary) 20%, transparent);
	filter: blur(32px);
	opacity: 0.4;
	pointer-events: none;
}
.theme-testimonials-device {
	position: relative;
	background: var(--color-background);
	border: 2px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	box-shadow: var(--shadow-elevated);
}
.theme-testimonials-bracket {
	position: absolute;
	width: 2rem;
	height: 2rem;
	z-index: 3;
	pointer-events: none;
}
.theme-testimonials-bracket--tl { top: 0; left: 0; border-top: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent); border-left: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent); }
.theme-testimonials-bracket--tr { top: 0; right: 0; border-top: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent); border-right: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent); }
.theme-testimonials-bracket--bl { bottom: 0; left: 0; border-bottom: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent); border-left: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent); }
.theme-testimonials-bracket--br { bottom: 0; right: 0; border-bottom: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent); border-right: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent); }
.theme-testimonials-device__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem 0.75rem;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
@media (min-width: 768px) { .theme-testimonials-device__header { padding: 1.25rem 2.5rem 0.75rem; } }
.theme-testimonials-recording { display: flex; align-items: center; gap: 0.4rem; }
.theme-testimonials-recording__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-primary);
	animation: theme-pulse-soft 2.2s ease-in-out infinite;
}
.theme-testimonials-carousel { overflow: hidden; }
.theme-testimonials-track { display: flex; transition: transform 0.7s ease-out; }
.theme-testimonial-slide { min-width: 100%; padding: 2.5rem 1.5rem; position: relative; }
@media (min-width: 768px) { .theme-testimonial-slide { padding: 2.5rem 3rem 3.5rem; } }
.theme-testimonial-slide__waveform {
	position: absolute;
	bottom: 1.5rem;
	right: 1.5rem;
	display: flex;
	align-items: flex-end;
	gap: 3px;
	opacity: 0.3;
	pointer-events: none;
}
@media (min-width: 768px) { .theme-testimonial-slide__waveform { right: 2.5rem; } }
.theme-testimonial-slide__waveform span { width: 3px; background: var(--color-primary); border-radius: 2px; }
.theme-testimonial-slide__stars { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; color: var(--color-primary); }
.theme-testimonial-slide__stars svg { flex-shrink: 0; fill: currentColor; stroke: none; }
.theme-testimonial-slide blockquote {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.35;
	color: var(--color-foreground);
	margin-bottom: 2rem;
	position: relative;
}
@media (min-width: 768px) { .theme-testimonial-slide blockquote { font-size: 1.875rem; } }
.theme-testimonial-slide__quote-mark {
	position: absolute;
	left: -0.5rem;
	top: -1.5rem;
	font-size: 3.75rem;
	line-height: 1;
	color: color-mix(in srgb, var(--color-primary) 25%, transparent);
	pointer-events: none;
}
.theme-testimonial-slide figcaption {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	position: relative;
	z-index: 1;
}
.theme-testimonial-slide__avatar {
	width: 3rem;
	height: 3rem;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	background: var(--color-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.theme-testimonial-slide__avatar::after {
	content: '';
	position: absolute;
	inset: 4px;
	border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.theme-testimonial-slide__avatar span { font-weight: 700; color: var(--color-primary); font-size: 14px; letter-spacing: 0.05em; position: relative; }
.theme-testimonial-slide__name { font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 14px; }
.theme-testimonial-slide__role { font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-muted-foreground); }
.theme-testimonials-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.theme-testimonials-nav { width: 3rem; height: 3rem; border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); background: transparent; color: var(--color-foreground); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.theme-testimonials-nav:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-testimonials-dots { display: flex; gap: 0.5rem; padding: 0 0.75rem; }
.theme-testimonials-dot { height: 3px; width: 1rem; background: color-mix(in srgb, var(--color-foreground) 25%, transparent); border: none; transition: all 0.3s; }
.theme-testimonials-dot:hover { background: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-testimonials-dot.is-active { width: 2rem; background: var(--color-primary); }

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */
.theme-final-cta { position: relative; overflow: hidden; }
.theme-final-cta__bg { position: relative; min-height: 85vh; width: 100%; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem; background-size: cover; background-position: center; }
.theme-final-cta__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 40%, transparent); }
.theme-final-cta__card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 56rem;
	border-radius: 2rem;
	overflow: hidden;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	background: linear-gradient(135deg, color-mix(in srgb, var(--color-background) 96%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 90%, transparent) 55%, color-mix(in srgb, var(--color-primary) 35%, transparent) 100%);
	padding: 3.5rem 2rem;
	text-align: center;
}
@media (min-width: 768px) { .theme-final-cta__card { padding: 5rem 4rem; } }
.theme-final-cta__kicker { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-primary) 80%, transparent); font-size: 1.125rem; margin-bottom: 1rem; }
.theme-final-cta__body { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; max-width: 36rem; margin: 1.5rem auto 2.5rem; font-size: 1rem; }
@media (min-width: 768px) { .theme-final-cta__body { font-size: 1.125rem; } }
.theme-final-cta__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .theme-final-cta__actions { flex-direction: row; } }
.theme-final-cta__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-final-cta__meta a { display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.theme-final-cta__meta a:hover { color: var(--color-primary); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
.site-footer__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__top { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__tagline { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__tagline { text-align: right; } }
.site-footer__tagline p { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.site-footer__tagline a { transition: color 0.2s; }
.site-footer__tagline a:hover { color: var(--color-foreground); }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(5, 1fr); gap: 2.5rem; } }
.site-footer__col h3 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__col a:hover { color: var(--color-foreground); transform: translateX(4px); }
.site-footer__social-x svg { display: block; flex-shrink: 0; fill: currentColor; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__quote { font-size: 12px; color: var(--color-primary); font-family: var(--font-display); font-style: italic; letter-spacing: 0.02em; }
.site-footer__copy { font-size: 12px; color: var(--color-muted-foreground); }
.site-footer__copy a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.site-footer__copy a:hover { color: var(--color-primary); }

/* ---------------------------------------------------------
   Contact modal
   --------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-modal.is-open { display: flex; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); }
.theme-modal__panel { position: relative; z-index: 1; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--color-background); border-radius: var(--card-radius); border: 1px solid var(--color-border); padding: 2rem; box-shadow: var(--shadow-elevated); animation: theme-slide-up 0.4s var(--transition-smooth); color: var(--color-foreground); color-scheme: dark; }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--color-muted-foreground); padding: 0.5rem; }
.theme-modal__close:hover { color: var(--color-foreground); }
.theme-modal__panel h2 { font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 2rem; color: var(--color-foreground); }
.theme-modal__desc { color: var(--color-muted-foreground); font-size: 14px; margin-bottom: 1rem; }
.theme-modal__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__meta a { color: var(--color-muted-foreground); }
.theme-modal__meta a:hover { color: var(--color-foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form label { font-size: 14px; font-weight: 500; display: block; margin-bottom: 0.375rem; color: var(--color-foreground); font-family: var(--font-body); }
.theme-contact-form input,
.theme-contact-form select,
.theme-contact-form textarea,
.theme-modal__panel input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]),
.theme-modal__panel select,
.theme-modal__panel textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	color: var(--color-foreground);
	-webkit-text-fill-color: var(--color-foreground);
	caret-color: var(--color-foreground);
	font-size: 1rem;
	line-height: 1.5;
	font-family: var(--font-body);
	outline: none;
	transition: box-shadow 0.3s;
}
.theme-contact-form input::placeholder,
.theme-contact-form textarea::placeholder,
.theme-modal__panel input::placeholder,
.theme-modal__panel textarea::placeholder {
	color: var(--color-muted-foreground);
	opacity: 1;
}
.theme-contact-form select option,
.theme-modal__panel select option {
	background: var(--color-background);
	color: var(--color-foreground);
}
.theme-contact-form input:-webkit-autofill,
.theme-contact-form textarea:-webkit-autofill,
.theme-modal__panel input:-webkit-autofill,
.theme-modal__panel textarea:-webkit-autofill {
	-webkit-text-fill-color: var(--color-foreground);
	box-shadow: 0 0 0 1000px var(--color-background) inset;
}
.theme-contact-form input:focus, .theme-contact-form select:focus, .theme-contact-form textarea:focus,
.theme-modal__panel input:focus, .theme-modal__panel select:focus, .theme-modal__panel textarea:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-contact-form textarea { resize: none; }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { color: var(--color-muted-foreground); font-size: 14px; }

/* ---------------------------------------------------------
   Cart drawer + overlay (Section 12)
   --------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.4); display: none; }
body.cart-open #theme-cart-overlay { display: block; }
#theme-cart-drawer {
	position: fixed;
	top: 0; right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background: var(--color-background);
	z-index: 91;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s 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; }
.theme-cart-drawer__close { background: none; border: none; color: var(--color-foreground); padding: 0.25rem; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 6px; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; margin-bottom: 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 14px; color: var(--color-muted-foreground); }
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.15rem 0.5rem; background: none; border: 1px solid var(--color-border); border-radius: 4px; color: var(--color-foreground); font-size: 14px; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 13px; color: var(--color-muted-foreground); background: none; border: none; }
.theme-cart-remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
.theme-cart-drawer__note { font-size: 13px; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { width: 100%; text-align: center; }
.theme-cart-empty-btn { width: 100%; text-align: center; }

/* Hide WooCommerce "View cart" link 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; }

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	max-width: 1400px;
	margin: 1rem auto;
	padding: 1rem 1.5rem;
	border-radius: 8px;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	font-size: 14px;
	list-style: none;
}
.woocommerce-error { border-color: #dd3c3c; }

/* ---------------------------------------------------------
   Add to cart button overrides (Section 11.4.1)
   --------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--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;
}

/* Card compact button — overrides global rules for the product card variant */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0.75rem 0 !important;
}

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* ---------------------------------------------------------
   Single product page (Section 11.13)
   --------------------------------------------------------- */
.single-product .site-main { padding: 1.5rem 0 6rem; }
@media (min-width: 1024px) { .single-product .site-main { padding-top: 2rem; } }
.theme-breadcrumb { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .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; }
@media (min-width: 1024px) { .theme-product-gallery__mobile { display: none; } }
.theme-product-gallery__main-wrap { aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; border-radius: var(--card-radius); position: relative; }
.theme-product-main-img { width: 100%; height: 100%; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); border: none; padding: 0; border-radius: 8px; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.3s; }
.theme-product-thumb.is-active img, .theme-product-thumb:hover img { opacity: 1; }

.theme-product-gallery__desktop { display: none; }
@media (min-width: 1024px) { .theme-product-gallery__desktop { display: flex; flex-direction: column; gap: 1rem; } }
.theme-product-gallery__stacked-img { aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; border-radius: var(--card-radius); position: relative; }
.theme-product-gallery__stacked-img img { width: 100%; height: 100%; }

.theme-product-info { padding-left: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-left: 1rem; } }
.theme-product-info__cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__stock.is-out { color: #dd3c3c; font-weight: 600; margin-bottom: 1rem; }
.theme-product-info__desc { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__desc p { margin-bottom: 0.75rem; }

.theme-sample-player { margin-bottom: 2rem; }
.theme-field-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-sample-player__frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-card); }

.theme-quantity-wrapper, .theme-add-to-cart-area .theme-quantity-wrapper { display: flex; }
.theme-qty-group { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.9rem; background: none; border: none; color: var(--color-foreground); }
.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 .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; background: none; border: none; color: inherit; text-align: left; }
.theme-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__trigger svg { transition: transform 0.3s; }
.theme-accordion.is-open .theme-accordion__trigger svg { transform: rotate(180deg); }
.theme-accordion__panel { padding-bottom: 1.5rem; color: var(--color-muted-foreground); line-height: 1.7; font-size: 15px; }
.theme-accordion__panel ul { padding-left: 0; }
.theme-accordion__panel li { position: relative; padding-left: 1rem; margin-bottom: 0.5rem; }
.theme-accordion__panel li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 50%; background: var(--color-foreground); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-heading { text-align: center; margin-bottom: 3rem; }
.theme-related-heading__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-heading h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-heading h2 { font-size: 2.25rem; } }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Variable product attribute pills (Lovable ProductDetail parity) */
.theme-variations {
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.theme-variation-label {
	display: block;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-bottom: 0.75rem;
	font-family: var(--font-body);
}
.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}
.theme-attr-pill {
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--btn-radius, 9999px);
	background: transparent;
	color: var(--color-foreground);
	cursor: pointer;
	transition: border-color 0.3s var(--transition-smooth, ease), background-color 0.3s var(--transition-smooth, ease), color 0.3s var(--transition-smooth, ease);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	line-height: 1.2;
}
.theme-attr-pill:hover {
	border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-attr-pill.is-selected.theme-attr-pill--size {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-attr-pill.is-selected.theme-attr-pill--color {
	background: color-mix(in srgb, var(--color-foreground) 5%, transparent);
	color: var(--color-foreground);
	border-color: var(--color-foreground);
}
.theme-attr-pill__swatch {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-attr-pill.is-selected .theme-attr-pill__swatch {
	border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
}
.theme-attr-select-hidden { display: none !important; }
.single-product .theme-variations .reset_variations {
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	text-decoration: underline;
	margin-top: -0.5rem;
}
.single-product .theme-variations .reset_variations:hover {
	color: var(--color-foreground);
}
.single-product .woocommerce-variation-price {
	margin-bottom: 1rem;
	font-size: 1.125rem;
}
.single-product .theme-add-to-cart-area .theme-btn-full {
	width: 100%;
	margin-top: 1rem;
	padding: 1rem 1.5rem;
	font-size: 12px;
	letter-spacing: 0.25em;
}

/* ---------------------------------------------------------
   Archive / shop page
   --------------------------------------------------------- */
.theme-archive-page .site-main { padding: 3rem 0 6rem; }
.theme-archive-header { text-align: center; margin-bottom: 3rem; }
.theme-archive-header .page-title { font-size: 2.25rem; }
@media (min-width: 768px) { .theme-archive-header .page-title { font-size: 3rem; } }
.theme-archive-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------
   404 page
   --------------------------------------------------------- */
.theme-404__inner { text-align: center; padding: 8rem 0; }
.theme-404__inner h1 { font-size: 3rem; margin-bottom: 1rem; }
.theme-404__inner p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; font-size: 1.25rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------------------------------------------------------
   Generic page template
   --------------------------------------------------------- */
.site-main { min-height: 40vh; }
.page-title { font-size: 2rem; margin: 2rem 0 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }

/* ---------------------------------------------------------
   WooCommerce Checkout Block (Section 13)
   --------------------------------------------------------- */
body.woocommerce-checkout .site-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}

/* Parents must not compress checkout width */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
body.woocommerce-checkout #page-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .container-wide {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

/* Checkout block container — centered, full intended width */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	color: var(--color-foreground);
	background: var(--color-background);
	border: 1px solid var(--color-border) !important;
	border-radius: 8px !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus-visible {
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-components-text-input input::placeholder {
	color: var(--color-muted-foreground);
}

/* Notices — same width/alignment as checkout content */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* 2-column layout on sidebar-layout wrapper (real DOM structure) */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap, 1.5rem);
		align-items: start;
		width: 100%;
		max-width: 1280px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > *,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > *,
	.entry-content .wc-block-components-sidebar-layout > *,
	.entry-content .wc-block-checkout-sidebar-layout > * {
		min-width: 0;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-checkout-sidebar-layout > .wc-block-components-notices {
		grid-column: 1 / -1;
		order: 1;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-components-main,
	.entry-content .wc-block-checkout__main,
	.entry-content .wc-block-components-main {
		order: 2;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar {
		order: 3;
		min-width: 360px;
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	.entry-content .wp-block-woocommerce-checkout-order-summary-block {
		width: 100%;
		min-width: 0;
	}
}

/* Sidebar wrappers — transparent; card style only on order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	background-color: var(--color-surface);
	border-radius: var(--card-radius);
	padding: 2rem;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: none;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: 8px;
}

body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
.entry-content .wc-block-checkout h2,
.entry-content .wc-block-checkout h3 {
	font-family: var(--font-display);
	font-weight: inherit;
}

body.woocommerce-checkout .wc-block-checkout label,
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label,
.entry-content .wc-block-checkout label,
.entry-content .wc-block-components-text-input label,
.entry-content .wc-blocks-components-select__label {
	color: #000;
}

body.woocommerce-checkout .wc-block-components-checkbox__label,
.entry-content .wc-block-components-checkbox__label {
	color: var(--color-foreground);
}

/* Checkout page intro (Lovable Checkout.tsx) */
.theme-checkout-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 14px;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin-bottom: 2rem;
	transition: color 0.2s var(--transition-smooth, ease);
}
.theme-checkout-back:hover { color: var(--color-foreground); }
.theme-checkout-title { margin-bottom: 0.5rem; }
.theme-checkout-note {
	font-size: 14px;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin-bottom: 2.5rem;
	line-height: 1.5;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
.entry-content .wc-block-components-order-summary-item__quantity {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px var(--color-surface);
	color: var(--color-primary-foreground);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity span,
.entry-content .wc-block-components-order-summary-item__quantity span {
	color: var(--color-primary-foreground);
}

/* ---------------------------------------------------------
   Cart / Account pages width parity (Section 13.7)
   --------------------------------------------------------- */
.woocommerce-cart .site-main,
.woocommerce-account .site-main { padding: 3rem 0 6rem; }

/* ---------------------------------------------------------
   Thank-you page (Section 22.8)
   --------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding: 2rem 0 6rem; }
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: 1rem 2rem;
	list-style: none;
	padding: 1.5rem;
	background: var(--color-card);
	border-radius: var(--card-radius);
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
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;
	max-width: 480px;
	overflow-wrap: break-word;
	background: var(--color-card);
	padding: 1.25rem;
	border-radius: 10px;
	border: 1px solid var(--color-border);
}
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.75rem;
	border-bottom: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
