/* ==========================================================================
   Mac's Magical Creations — theme stylesheet
   Ported from the original design tokens and component styles.
   ========================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
	--color-background: #180724;
	--color-foreground: #F5F5F5;
	--color-primary: #47D7D2;
	--color-primary-foreground: #0A0A0A;
	--color-secondary: #8D4ED8;
	--color-card: #0D0D0D;
	--color-border: #274948;
	--color-muted-foreground: #B3B3B3;
	--color-gold: #C9A65A;
	--color-input: #1F1F1F;
	--color-body-dark: #C7C7C7;
	--color-cream-alt: #E6E6E6;
	--color-button-text: var(--color-primary-foreground);

	--logo-height: 80px;

	--font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
	--font-hero: 'Cinzel', 'Playfair Display', Georgia, serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--font-label: 'Inter', system-ui, sans-serif;

	--radius: 0.5rem;
	--card-radius: 0.5rem;

	--btn-radius: 9999px;
	--btn-height: 44px;
	--btn-padding: 0 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.65rem;

	--shadow-soft: 0 4px 24px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6);
	--shadow-elevated: 0 24px 60px rgba(0,0,0,0.75);

	--header-height: 96px;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------------------------------------------------------------------
   2. Reset / base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	margin: 0;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: inherit;
	letter-spacing: 0.01em;
	color: var(--color-foreground);
	margin: 0;
}

p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
	font-size: max(0.875rem, 14px);
}

/* Customizer spans inside headings must match heading size (global span rule is same specificity as h1 *). */
h1 span, h1 em, h2 span, h2 em, h3 span, h3 em, h4 span, h4 em, h5 span, h5 em, h6 span, h6 em,
.theme-hero__title span, .theme-hero__title em,
.theme-section-heading span, .theme-section-heading em,
.theme-product-title span, .theme-product-title em,
.theme-related-heading span, .theme-related-heading em {
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}

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

.cs-label {
	font-family: var(--font-label);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 12px;
	line-height: 1.2;
}
.cs-body-dark {
	color: var(--color-body-dark);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.7;
}
.cs-flourish-line { display: inline-flex; align-items: center; gap: 12px; }
.cs-flourish-line::before { content: ''; width: 28px; height: 1px; background-color: currentColor; opacity: 0.7; }
.cs-filigree {
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto; width: 100%; max-width: 96px;
	color: var(--color-gold);
}
.cs-filigree::before {
	content: ''; flex: 1; height: 1px; background-color: currentColor; opacity: 0.6;
}
.cs-filigree > * { display: none; }
.font-hero { font-family: var(--font-hero); font-weight: 600; letter-spacing: 0.02em; }
.theme-primary-text { color: var(--color-primary); }

.theme-em { font-style: italic; }
.theme-em--primary { color: var(--color-primary); }
.theme-em--gold { color: var(--color-gold); }
.theme-em--teal { color: var(--color-primary); }

.theme-section-heading {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--color-foreground);
	margin-top: 1.25rem;
}

/* ---------------------------------------------------------------------
   3. Buttons
   --------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	height: var(--btn-height);
	padding: var(--btn-padding);
	border: 1px solid transparent;
	transition: background-color 0.2s, color 0.2s, opacity 0.2s, border-color 0.2s;
}
.theme-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.theme-btn--primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
	box-shadow: 0 0 28px rgba(71,215,210,0.35);
}
.theme-btn--primary:hover { background-color: var(--color-background); color: var(--color-primary); }
.theme-btn--outline {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-btn--outline:hover { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }

.btn-shimmer { position: relative; overflow: hidden; isolation: isolate; }
.btn-shimmer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(115deg, transparent 30%, rgba(71,215,210,0.35) 50%, transparent 70%);
	transform: translate3d(-120%, 0, 0);
	transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	z-index: 1;
	border-radius: inherit;
}
.btn-shimmer:hover::before { transform: translate3d(120%, 0, 0); }
.btn-shimmer > * { position: relative; z-index: 2; }

.glow-hover {
	transition: box-shadow 500ms cubic-bezier(0.22,1,0.36,1), border-color 400ms ease-out, transform 500ms cubic-bezier(0.22,1,0.36,1);
}
.glow-hover:hover { box-shadow: 0 0 32px rgba(71,215,210,0.22), 0 0 0 1px rgba(71,215,210,0.35); }

/* ---------------------------------------------------------------------
   4. Reveal / motion (Section 2.1)
   --------------------------------------------------------------------- */
.reveal-item, .reveal-blur {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 800ms cubic-bezier(0.22,1,0.36,1), transform 800ms cubic-bezier(0.22,1,0.36,1), filter 900ms cubic-bezier(0.22,1,0.36,1);
}
.reveal-blur { filter: blur(8px); transform: none; }
.reveal-item.is-visible, .reveal-blur.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }

body.is-customizer .reveal-item,
body.is-customizer .reveal-blur {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

@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); } }
.theme-animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.theme-animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-blur, .theme-mia-drift, .theme-mia-sparkle, .theme-mia-glow-pulse,
	.theme-ticker__track, .btn-shimmer::before {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
	}
}

/* ---------------------------------------------------------------------
   5. Announcement bar
   --------------------------------------------------------------------- */
.theme-announcement-bar {
	position: relative;
	background-color: var(--color-background);
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 12px; }
@media (min-width: 768px) { .theme-announcement-bar__text { font-size: 13px; } }
.theme-announcement-bar__close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	background: none; border: none; padding: 0.25rem;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.theme-announcement-bar__close:hover { color: var(--color-primary); }
.theme-announcement-bar__close svg { width: 14px; height: 14px; }
body.theme-announcement-dismissed .theme-announcement-bar { display: none; }

/* ---------------------------------------------------------------------
   6. Header
   --------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	width: 100%;
	background-color: #000000;
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.site-header__nav {
	position: relative;
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem;
	height: 96px;
}
@media (min-width: 768px) { .site-header__nav { height: 144px; } }

.site-header__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; padding: 0.75rem 0; }
.site-header .site-logo-img {
	height: 5rem !important;
	width: auto !important;
	max-height: none !important;
	display: block;
	object-fit: contain;
	transition: transform 0.5s;
}
@media (min-width: 768px) { .site-header .site-logo-img { height: 8rem !important; } }
.site-header__brand:hover .site-logo-img { transform: scale(1.03); }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); line-height: 1.2; display: block; }

.site-header__links { display: none; align-items: center; gap: 1.75rem; margin-left: auto; }
@media (min-width: 1024px) { .site-header__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-link {
	font-family: var(--font-body); font-size: 14px;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	transition: color 0.2s; letter-spacing: 0.025em;
}
.theme-nav-link:hover { color: var(--color-primary); }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-toggle {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
	background: transparent;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	transition: background-color 0.2s, color 0.2s;
}
.theme-cart-toggle:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-cart-toggle svg { width: 16px; height: 16px; }
.theme-cart-count {
	position: absolute; top: -4px; right: -4px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 9999px;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 11px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle {
	background: none; border: none; padding: 0.5rem;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle svg { width: 20px; height: 20px; }
.theme-icon-menu-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .theme-icon-menu-open { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .theme-icon-menu-close { display: block; }

.theme-mobile-menu {
	display: none;
	border-top: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
	padding: 1rem 0;
}
.theme-mobile-menu.is-open { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-mobile-nav-list a {
	display: block; text-align: left; padding: 0.75rem 0.5rem; border-radius: 0.375rem;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 15px;
}
.theme-mobile-nav-list a:hover { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }

/* ---------------------------------------------------------------------
   7. Hero
   --------------------------------------------------------------------- */
.theme-hero {
	position: relative;
	min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	background-color: var(--color-background);
	overflow: hidden;
}
.theme-hero__bg { position: absolute; inset: 0; overflow: hidden; background-color: var(--color-background); z-index: 0; }
.theme-hero__video { z-index: 0; }
.theme-hero__scrim {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: radial-gradient(ellipse at center, rgba(24,7,36,0.35) 0%, rgba(24,7,36,0.7) 60%, rgba(24,7,36,0.9) 100%);
}
.theme-hero__inner { position: relative; z-index: 10; padding: 5.5rem 1.5rem 6.5rem; text-align: center; }
@media (min-width: 768px) { .theme-hero__inner { padding: 4rem 0 6rem; } }
@media (min-width: 1024px) { .theme-hero__inner { padding: 6rem 0; } }
.theme-hero__content { max-width: 56rem; margin: 0 auto; }
.theme-hero__eyebrow { font-size: 12px; color: var(--color-primary); }
.theme-hero__title {
	color: var(--color-foreground);
	font-family: var(--font-hero);
	font-weight: 600;
	font-size: 2.25rem;
	line-height: 1.08;
	margin-top: 1.5rem;
	letter-spacing: -0.025em;
}
@media (min-width: 640px) { .theme-hero__title { font-size: 3rem; } }
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } .theme-hero__break { display: inline; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.5rem; } }
.theme-hero__break { display: none; }
.theme-hero__subtitle {
	color: var(--color-body-dark);
	font-size: 1rem;
	font-weight: 400;
	margin-top: 2rem;
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
@media (min-width: 1024px) { .theme-hero__subtitle { font-size: 1.25rem; } }
.theme-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

.theme-butterfly-field { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.theme-butterfly { position: absolute; pointer-events: none; }
.theme-butterfly--h1 { top: 16%; left: 8%; opacity: 0.65; animation: theme-mia-drift 15s ease-in-out infinite; }
.theme-butterfly--h2 { top: 28%; right: 12%; opacity: 0.55; animation: theme-mia-drift 13s ease-in-out infinite 1.2s; }
.theme-butterfly--h3 { top: 68%; left: 16%; opacity: 0.45; animation: theme-mia-drift 16s ease-in-out infinite 0.6s; }
.theme-butterfly--h4 { top: 76%; right: 18%; opacity: 0.4; animation: theme-mia-drift 12s ease-in-out infinite 2s; }
.theme-butterfly--c1 { top: 10%; right: 8%; opacity: 0.35; animation: theme-mia-drift 15s ease-in-out infinite; }
.theme-butterfly--c2 { top: 78%; left: 10%; opacity: 0.3; animation: theme-mia-drift 13s ease-in-out infinite 1s; }
.theme-butterfly--footer-1 { position: absolute; top: 12%; left: 4%; opacity: 0.35; animation: theme-mia-drift 15s ease-in-out infinite; }
.theme-butterfly--footer-2 { position: absolute; top: 22%; right: 6%; opacity: 0.3; animation: theme-mia-drift 13s ease-in-out infinite 1s; }

@keyframes theme-mia-drift {
	0% { transform: translate3d(0,0,0); }
	25% { transform: translate3d(20px,-18px,0); }
	50% { transform: translate3d(-12px,-30px,0); }
	75% { transform: translate3d(-24px,-12px,0); }
	100% { transform: translate3d(0,0,0); }
}
.theme-mia-glow-pulse { animation: theme-mia-glow-pulse 5s ease-in-out infinite; }
@keyframes theme-mia-glow-pulse {
	0%, 100% { filter: drop-shadow(0 0 4px rgba(71,215,210,0.35)); }
	50% { filter: drop-shadow(0 0 12px rgba(141,78,216,0.55)); }
}
.theme-mia-sparkle { animation: theme-mia-sparkle 3.6s ease-in-out infinite; transform-origin: 78px 30px; }
.theme-mia-sparkle--delay { animation-delay: 1.4s; transform-origin: 20px 72px; }
@keyframes theme-mia-sparkle {
	0%, 100% { opacity: 0.35; transform: scale(0.7); }
	50% { opacity: 1; transform: scale(1.05); }
}
@media (max-width: 767px) {
	.theme-butterfly { animation-duration: 9s !important; }
}

/* Home hero must fill viewport under the fixed header (Section 22.7). */
body.theme-no-hero .front-page-main,
.single-product-main, .archive-product-main, .theme-page-main, .theme-404-main {
	padding-top: 2rem;
}

/* ---------------------------------------------------------------------
   8. Ticker / trust bar
   --------------------------------------------------------------------- */
.theme-ticker-section {
	background-color: var(--color-background);
	border-top: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
	padding: 1.5rem 0;
	overflow: hidden;
}
.theme-ticker { position: relative; }
.theme-ticker:hover .theme-ticker__track { animation-play-state: paused; }
.theme-ticker__track {
	display: flex; width: max-content; gap: 3.5rem; padding-right: 3.5rem;
	animation: theme-ticker-scroll 60s linear infinite;
	will-change: transform;
}
@keyframes theme-ticker-scroll {
	0% { transform: translate3d(0,0,0); }
	100% { transform: translate3d(-50%,0,0); }
}
.theme-ticker__item { display: flex; align-items: center; gap: 3.5rem; flex-shrink: 0; }
.theme-ticker__link {
	display: flex; align-items: center; gap: 0.75rem;
	color: color-mix(in srgb, var(--color-primary) 75%, transparent);
	transition: color 0.2s;
}
a.theme-ticker__link:hover { color: var(--color-primary); }
.theme-ticker__link svg { width: 16px; height: 16px; flex-shrink: 0; }
.theme-ticker__link .cs-label { font-size: 13px; white-space: nowrap; }
.theme-ticker__sparkle { color: color-mix(in srgb, var(--color-gold) 60%, transparent); flex-shrink: 0; }

/* ---------------------------------------------------------------------
   9. Generic section scaffolding
   --------------------------------------------------------------------- */
.theme-section { position: relative; padding: 5rem 0; }
@media (min-width: 1024px) { .theme-section { padding: 7rem 0; } }
.theme-section--intro { padding: 6rem 0; }
@media (min-width: 1024px) { .theme-section--intro { padding: 8rem 0; } }
.theme-section--lg { padding: 6rem 0; }
@media (min-width: 1024px) { .theme-section--lg { padding: 9rem 0; } }
.theme-section--default { background-color: var(--color-background); color: var(--color-foreground); }
.theme-section--alt { background-color: var(--color-background); color: var(--color-foreground); }
.theme-section--warm, .theme-section--warm-alt {
	background-color: #43195C;
	color: var(--color-foreground);
}
.theme-section--warm .cs-label, .theme-section--warm-alt .cs-label { color: var(--color-foreground); }

.theme-section-header { text-align: center; max-width: 48rem; margin: 0 auto 3.5rem; }
.theme-section-header--tight { margin-bottom: 2.5rem; }
.theme-section-subtext { color: var(--color-muted-foreground); font-size: 1rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .theme-section-subtext { font-size: 1.125rem; } }

.theme-gold-divider { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin: 2rem auto; max-width: 6rem; color: var(--color-gold); }
.theme-gold-divider span { display: block; width: 4rem; height: 1px; background-color: currentColor; opacity: 0.6; }
.theme-gold-icon { width: 14px; height: 14px; }

.theme-frame-glow {
	position: relative; margin: 0 auto; max-width: 28rem;
	border-radius: 28px; padding: 2px;
	background: linear-gradient(to bottom right, color-mix(in srgb, var(--color-primary) 60%, transparent), color-mix(in srgb, var(--color-secondary) 40%, transparent), color-mix(in srgb, var(--color-primary) 40%, transparent));
	box-shadow: 0 0 40px rgba(71,215,210,0.2);
}
@media (min-width: 1024px) { .theme-frame-glow { margin: 0; } }
.theme-frame-inner { border-radius: 26px; overflow: hidden; background-color: var(--color-background); }
.theme-frame-inner img { width: 100%; height: auto; object-fit: cover; transition: transform 0.9s ease-out; }
.theme-frame-glow:hover img { transform: scale(1.04); }

/* Intro */
.theme-intro__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-intro__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-intro__copy { display: flex; flex-direction: column; }
@media (min-width: 1024px) { .theme-intro__copy { grid-column: span 7; order: 1; } .theme-intro__image-col { grid-column: span 5; order: 2; } }
.theme-intro__heading { font-size: 1.875rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .theme-intro__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-intro__heading { font-size: 3.75rem; } }
.theme-intro__paragraphs { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .theme-intro__paragraphs { font-size: 1.125rem; } }
.theme-intro__cta { margin-top: 2rem; align-self: flex-start; }

/* About */
.theme-about__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-about__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } .theme-about__image-col { grid-column: span 5; } .theme-about__copy { grid-column: span 7; } }
.theme-about__copy { display: flex; flex-direction: column; }
.theme-about__heading { font-size: 2.25rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .theme-about__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about__heading { font-size: 3.75rem; } }
.theme-about__paragraphs { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .theme-about__paragraphs { font-size: 1.125rem; } }
.theme-about__cta { margin-top: 2rem; }

/* Jewelry heading */
.theme-jewelry__heading { font-size: 2.25rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .theme-jewelry__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-jewelry__heading { font-size: 4.5rem; } }
.theme-services__heading, .theme-why__heading { font-size: 1.875rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .theme-services__heading, .theme-why__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-services__heading, .theme-why__heading { font-size: 3.75rem; } }

/* ---------------------------------------------------------------------
   10. Product grid & cards
   --------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	max-width: 72rem;
	margin: 0 auto;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card {
	display: flex; flex-direction: column; height: 100%;
	background-color: var(--color-card);
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	border-radius: var(--card-radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	position: relative; z-index: 1;
	transition: transform 500ms cubic-bezier(0.22,1,0.36,1), box-shadow 500ms cubic-bezier(0.22,1,0.36,1), border-color 300ms ease-out;
	will-change: transform;
}
a.theme-product-card:hover,
.theme-product-card:hover {
	z-index: 10;
	transform: translateY(-8px);
	box-shadow: 0 30px 60px rgba(0,0,0,0.7), 0 0 0 1px color-mix(in srgb, var(--color-primary) 55%, transparent), 0 0 32px color-mix(in srgb, var(--color-primary) 22%, transparent);
}
.theme-product-card__image-link { display: block; position: absolute; inset: 0; z-index: 1; }
.theme-product-card__body.theme-product-card__link {
	display: flex; flex-direction: column; flex: 1; text-decoration: none; color: inherit;
	min-width: 0;
}
.theme-product-card__quick-atc {
	position: absolute; left: 50%; top: 50%; z-index: 6;
	transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.65rem 1.25rem;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: 11px; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border: none;
	box-shadow: 0 0 28px rgba(71,215,210,0.35);
	opacity: 0; pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s ease;
}
.theme-product-card--home:hover .theme-product-card__quick-atc,
.theme-product-card--home:focus-within .theme-product-card__quick-atc {
	opacity: 1; pointer-events: auto;
}
.theme-product-card__quick-atc:hover { color: var(--color-primary-foreground); }
.theme-product-card__image-wrapper { position: relative; overflow: hidden; background-color: var(--color-background); aspect-ratio: 4 / 5; width: 100%; }
.theme-product-card__image { transition: transform 900ms ease-out; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }
.theme-product-card__image-wrapper::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.45), transparent 60%);
	opacity: 0; transition: opacity 0.5s;
}
.theme-product-card:hover .theme-product-card__image-wrapper::after { opacity: 1; }
.theme-product-card__image--blur { filter: blur(12px); transform: scale(1.08); }
.theme-product-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.4)); }

.theme-coming-soon-badge {
	position: absolute; top: 1rem; right: 1rem;
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.4rem 0.85rem; border-radius: 9999px;
	background-color: color-mix(in srgb, var(--color-primary) 95%, transparent);
	color: var(--color-primary-foreground);
	font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	box-shadow: 0 0 18px rgba(71,215,210,0.35);
}
.theme-coming-soon-badge svg { width: 12px; height: 12px; }

.theme-product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; gap: 0.5rem; min-width: 0; }
.theme-product-card__category { color: var(--color-primary); font-size: 11px; }
.theme-product-card__category--muted { color: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.theme-product-card__title {
	font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.3; color: var(--color-foreground);
	overflow: hidden; text-overflow: ellipsis;
}
.theme-product-card__title--muted { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-product-card__desc { font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.25rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-product-card__footer {
	display: flex; align-items: center; justify-content: space-between;
	margin-top: 1rem; padding-top: 1rem;
	border-top: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
	min-width: 0;
}
.theme-product-card__footer--muted { justify-content: flex-start; }
.theme-product-card__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--color-foreground); }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-display); }
.theme-product-card__cta { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-primary); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.theme-product-card__cta svg { width: 12px; height: 12px; transition: transform 0.5s; }
.theme-product-card:hover .theme-product-card__cta svg { transform: translateX(4px); }
.theme-product-card__reveal-soon { color: var(--color-muted-foreground); font-size: 11px; }

.theme-stock-badge--card { position: absolute; bottom: 0.75rem; right: 0.75rem; }
.theme-stock-badge {
	display: inline-flex; align-items: center; padding: 0.3rem 0.75rem; border-radius: 9999px;
	font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
}
.theme-stock-badge--out { background-color: rgba(207,48,48,0.9); color: #fff; }

/* Services grid */
.theme-services-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.theme-filter-pill {
	padding: 0.5rem 1.25rem; border-radius: 9999px; font-family: var(--font-body); font-size: 13px;
	letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	background: transparent; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: all 0.2s;
}
.theme-filter-pill:hover { color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.theme-filter-pill.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); box-shadow: 0 0 18px rgba(71,215,210,0.35); }

.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 72rem; margin: 0 auto; transition: all 0.5s; }
@media (min-width: 640px) { .theme-services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; } }

.theme-service-card {
	position: relative; overflow: hidden; border-radius: var(--card-radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	background-color: var(--color-card);
	aspect-ratio: 3 / 4;
	box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.theme-service-card__image { transition: transform 900ms ease-out; }
.theme-service-card:hover .theme-service-card__image { transform: scale(1.04); }
.theme-service-card__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 55%, transparent);
	transition: opacity 0.5s;
}
.theme-service-card:hover .theme-service-card__scrim { opacity: 1; background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.55) 55%, transparent); }
.theme-service-card__content { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem 1.5rem; }
.theme-service-card__content h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-service-card__content h3 { font-size: 1.5rem; } }
.theme-service-card__content p { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-top: 0.4rem; }

.theme-service-card[data-hidden="true"] { display: none; }

.theme-services-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.theme-services-more[data-hidden="true"] { display: none; }

/* Why handmade */
.theme-why-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
@media (min-width: 640px) { .theme-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-why-grid { grid-template-columns: repeat(5, 1fr); } }
.theme-why-card {
	display: flex; flex-direction: column; height: 100%;
	padding: 1.5rem; border-radius: 0.375rem;
	background-color: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
}
.theme-why-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 9999px; margin-bottom: 1rem;
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	color: var(--color-primary);
	transition: transform 0.5s;
}
.theme-why-card:hover .theme-why-card__icon { transform: rotate(6deg) scale(1.1); }
.theme-why-card__icon svg { width: 18px; height: 18px; }
.theme-why-card h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.4rem; }
.theme-why-card p { font-size: 14px; line-height: 1.6; color: var(--color-muted-foreground); flex: 1; }

/* ---------------------------------------------------------------------
   11. CTA strip / murals strip
   --------------------------------------------------------------------- */
.theme-cta-strip, .theme-murals-strip {
	position: relative; overflow: hidden; padding: 4rem 0;
	background-position: center; background-size: cover; background-attachment: fixed;
}
.theme-murals-strip { padding: 3.5rem 0; }
@media (min-width: 1024px) { .theme-cta-strip { padding: 5rem 0; } .theme-murals-strip { padding: 5rem 0; } }
.theme-cta-strip__blobs, .theme-murals-strip__blobs { position: absolute; inset: 0; pointer-events: none; }
.theme-blob { position: absolute; width: 24rem; height: 24rem; border-radius: 9999px; filter: blur(64px); }
.theme-blob--primary { background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); top: -6rem; left: -6rem; }
.theme-blob--secondary { background-color: color-mix(in srgb, var(--color-secondary) 20%, transparent); bottom: -6rem; right: -6rem; }
.theme-murals-strip .theme-blob { width: 20rem; height: 20rem; }
.theme-murals-strip .theme-blob--secondary { top: -6rem; left: -4rem; bottom: auto; right: auto; }
.theme-murals-strip .theme-blob--primary { bottom: -6rem; right: -4rem; top: auto; left: auto; }

.theme-cta-strip__inner, .theme-murals-strip__inner {
	position: relative; z-index: 10;
	display: flex; flex-direction: column; align-items: center; justify-content: space-between;
	gap: 2rem; text-align: center;
}
@media (min-width: 768px) { .theme-cta-strip__inner, .theme-murals-strip__inner { flex-direction: row; text-align: left; } }
.theme-cta-strip__copy, .theme-murals-strip__copy { max-width: 42rem; }
.theme-cta-strip__heading { font-size: 1.875rem; margin-top: 1rem; }
@media (min-width: 768px) { .theme-cta-strip__heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-cta-strip__heading { font-size: 3rem; } }
.theme-cta-strip__copy p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-top: 1rem; }
.theme-cta-strip__btn { flex-shrink: 0; border: none; }

.theme-murals-strip__heading { font-size: 1.5rem; margin-top: 1rem; }
@media (min-width: 768px) { .theme-murals-strip__heading { font-size: 1.875rem; } }
@media (min-width: 1024px) { .theme-murals-strip__heading { font-size: 2.25rem; } }
.theme-murals-strip__copy p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-top: 1rem; }
.theme-murals-strip__btn { flex-shrink: 0; }

/* ---------------------------------------------------------------------
   12. Newsletter + contact
   --------------------------------------------------------------------- */
.theme-contact__grid { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-contact__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-newsletter { display: flex; flex-direction: column; justify-content: center; }
.theme-newsletter__heading { font-size: 1.875rem; margin: 1.25rem 0 1rem; }
@media (min-width: 768px) { .theme-newsletter__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-newsletter__heading { font-size: 3.75rem; } }
.theme-newsletter p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); max-width: 32rem; margin-bottom: 1.5rem; }
.theme-newsletter__form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 32rem; }
@media (min-width: 640px) { .theme-newsletter__form { flex-direction: row; } }
.theme-newsletter__input {
	flex: 1; padding: 0.75rem 1rem; background-color: var(--color-input);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	border-radius: var(--radius); font-size: 1rem; color: var(--color-foreground); font-family: var(--font-body);
}
.theme-newsletter__input:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-newsletter__input::placeholder { color: var(--color-muted-foreground); }

.theme-contact-card {
	background-color: var(--color-card);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-soft);
	display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 1024px) { .theme-contact-card { padding: 2.5rem; } }
.theme-contact-card__heading { font-family: var(--font-display); font-size: 1.5rem; margin-top: 1rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .theme-contact-card__heading { font-size: 1.875rem; } }
.theme-contact-card__list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-contact-card__list li { display: flex; align-items: flex-start; gap: 0.5rem; }
.theme-contact-card__list a { display: inline-flex; align-items: flex-start; gap: 0.5rem; word-break: break-all; }
.theme-contact-card__list a:hover { color: var(--color-primary); }
.theme-contact-card__list svg { flex-shrink: 0; margin-top: 2px; }
.theme-contact-card__btn { width: 100%; margin-top: 2rem; }

.theme-icon-xxs { width: 10px; height: 10px; }
.theme-icon-xs { width: 14px; height: 14px; }
.theme-icon-sm { width: 18px; height: 18px; }
.theme-icon-md { width: 22px; height: 22px; }
.theme-icon-lg { width: 48px; height: 48px; }

/* ---------------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); background-color: #000000; padding-left: 1.5rem; padding-right: 1.5rem; }
.site-footer .container-wide { padding-left: 0; padding-right: 0; }
@media (min-width: 1024px) { .site-footer { padding-left: 0; padding-right: 0; } .site-footer .container-wide { padding-left: 2rem; padding-right: 2rem; } }
.site-footer__inner { padding: 4rem 0; position: relative; z-index: 10; }
@media (min-width: 1024px) { .site-footer__inner { padding: 5rem 0; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } .site-footer__brand-col { grid-column: span 5; } .site-footer__nav-col { grid-column: span 3; } .site-footer__contact-col { grid-column: span 4; } }
.site-footer__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__logo { height: 8rem !important; }
@media (min-width: 768px) { .site-footer__logo { height: 10rem !important; } }
.site-footer__desc { margin-top: 1.5rem; max-width: 28rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; }
.site-footer__heading { color: var(--color-primary); margin-bottom: 1.25rem; font-size: 12px; }
.site-footer__nav-list, .theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__nav-link, a.theme-footer-nav-link {
	font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); text-align: left; background: none; border: none; padding: 0;
}
a.theme-footer-nav-link:hover { color: var(--color-primary); }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 14px; }
.site-footer__contact-list a { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); word-break: break-all; }
.site-footer__contact-list a:hover { color: var(--color-primary); }
.site-footer__address { display: flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; text-align: center; }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__copy, .site-footer__credit { font-size: 14px; color: var(--color-muted-foreground); }
.site-footer__credit a:hover { color: var(--color-primary); }
.site-footer__totop { display: none; }
button.site-footer__totop, .theme-back-to-top ~ .site-footer__totop { }
.site-footer__totop { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 14px; color: var(--color-muted-foreground); background: none; border: none; }
.site-footer__totop:hover { color: var(--color-primary); }

.theme-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
	width: 40px; height: 40px; border-radius: 9999px;
	background-color: var(--color-primary); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-soft);
	border: none;
	opacity: 0; pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
}
@media (min-width: 768px) { .theme-back-to-top { width: 48px; height: 48px; } }
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1); }
.theme-back-to-top svg { color: #fff; }

/* ---------------------------------------------------------------------
   14. Contact modal (ported tailwindcss-animate keyframes)
   --------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 60; display: none; }
.theme-modal.is-open { display: block; }
.theme-modal__overlay {
	position: fixed; inset: 0; background-color: rgba(0,0,0,0.8);
	animation: theme-fade-in 0.2s ease-out;
}
.theme-modal__panel {
	position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%);
	width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background-color: var(--color-card);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	border-radius: 0.5rem; padding: 1.5rem;
	box-shadow: var(--shadow-elevated);
	animation: theme-modal-in 0.2s ease-out;
}
@keyframes theme-modal-in { from { opacity: 0; transform: translate(-50%,-48%) scale(0.95); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes theme-modal-out { from { opacity: 1; transform: translate(-50%,-50%) scale(1); } to { opacity: 0; transform: translate(-50%,-48%) scale(0.95); } }
.theme-modal.is-closing .theme-modal__panel { animation: theme-modal-out 0.2s ease-in forwards; }
.theme-modal.is-closing .theme-modal__overlay { animation: theme-fade-in 0.2s ease-in reverse; }

.theme-modal__close {
	position: absolute; right: 1rem; top: 1rem; background: none; border: none;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent); opacity: 0.7;
}
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-weight: 500; font-size: 1.875rem; color: var(--color-foreground); padding-right: 2rem; }
.theme-modal__desc { color: var(--color-muted-foreground); font-size: 15px; margin-top: 0.5rem; }
.theme-modal__quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1rem; font-size: 14px; color: var(--color-muted-foreground); margin-top: 1rem; }
.theme-modal__quicklinks a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-modal__quicklinks a:hover { color: var(--color-primary); }
.theme-modal__form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.4rem; color: var(--color-foreground); }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.6rem 0.75rem; background-color: var(--color-input);
	border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	border-radius: var(--radius); font-size: 1rem; color: var(--color-foreground); font-family: var(--font-body);
}
.theme-form-field textarea { resize: none; }
.theme-form-field input::placeholder, .theme-form-field textarea::placeholder { color: var(--color-muted-foreground); }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-modal__form-actions { display: flex; justify-content: flex-end; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon {
	width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 9999px;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 28px rgba(71,215,210,0.4);
}
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__success p { color: var(--color-muted-foreground); font-size: 14px; }
.theme-modal__error { color: #ff8080; font-size: 13px; margin-top: 0.5rem; }

/* ---------------------------------------------------------------------
   15. Side cart drawer
   --------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 55; background-color: rgba(245,245,245,0.4); display: none; }
body.cart-open #theme-cart-overlay { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background-color: var(--color-background); z-index: 56;
	box-shadow: var(--shadow-elevated);
	display: none; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { display: flex; 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__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--color-foreground); }
.theme-cart-drawer__close { background: none; border: none; padding: 0.25rem; color: var(--color-foreground); 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: 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: 80px; height: 96px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background-color: var(--color-card); }
.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 { display: block; font-size: 14px; font-weight: 500; color: var(--color-foreground); 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-primary); font-weight: 600; margin-top: 0.15rem; }
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; background: none; border: none; color: var(--color-foreground); border-radius: 0.25rem; }
.theme-cart-qty-btn:hover { background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-cart-qty-value { font-size: 14px; width: 24px; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 14px; 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; align-items: baseline; }
.theme-cart-drawer__subtotal span:first-child { font-weight: 500; color: var(--color-foreground); }
.theme-cart-drawer__subtotal-value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; color: var(--color-foreground); }
.theme-cart-drawer__checkout { width: 100%; border: none; }
.theme-cart-drawer__clear { width: 100%; height: 40px; font-size: 12px; }

/* Hide WooCommerce-injected "View cart" link (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; }

/* ---------------------------------------------------------------------
   16. WooCommerce style overrides (Section 14)
   --------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

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

.woocommerce-Price-amount { font-family: var(--font-display); }

/* ---------------------------------------------------------------------
   17. Single product page
   --------------------------------------------------------------------- */
.single-product-main { padding: 2.5rem 0 6rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 3.5rem; } }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.15em; 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-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7; } }
.theme-product-gallery__main { aspect-ratio: 4 / 5; background-color: var(--color-card); overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.theme-product-main-img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; }
.theme-product-thumb { width: 72px; height: 72px; border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; flex-shrink: 0; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { grid-column: span 5; padding-left: 1rem; position: sticky; top: 7rem; } }
.theme-product-category { color: var(--color-primary); font-size: 12px; }
.theme-product-title, .product-title {
	font-family: var(--font-display); font-weight: 500;
	font-size: 2.25rem; line-height: 1.05; margin-top: 0.75rem; margin-bottom: 1.25rem; color: var(--color-foreground);
	text-transform: none;
}
@media (min-width: 768px) { .theme-product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 3.75rem; } }
.theme-product-price { font-family: var(--font-display); font-size: 1.875rem; font-weight: 500; color: var(--color-foreground); margin-bottom: 1rem; }
.theme-product-description {
	color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem;
	overflow-wrap: break-word; word-break: break-word;
}

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-label { color: var(--color-muted-foreground); font-size: 12px; margin-bottom: 0.75rem; }
/* Lovable ProductDetail: flex-col sm:flex-row + flex-1 on each CTA */
.theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0;
	width: 100%;
}
@media (min-width: 640px) {
	.theme-add-to-cart-area {
		flex-direction: row;
	}
}
.single-product-main .theme-add-to-cart-area > .theme-add-to-cart-area__btn,
.single-product-main .theme-add-to-cart-area > .theme-btn,
.single-product-main .theme-add-to-cart-area > button.single_add_to_cart_button,
.single-product-main .theme-add-to-cart-area > a.single_add_to_cart_button {
	flex: 1 1 0% !important;
	min-width: 0 !important;
	max-width: none !important;
	width: 100% !important;
	align-self: stretch !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box;
	text-transform: uppercase;
}
@media (min-width: 640px) {
	.single-product-main .theme-add-to-cart-area > .theme-add-to-cart-area__btn,
	.single-product-main .theme-add-to-cart-area > .theme-btn,
	.single-product-main .theme-add-to-cart-area > button.single_add_to_cart_button,
	.single-product-main .theme-add-to-cart-area > a.single_add_to_cart_button {
		width: auto !important;
	}
}
.single-product-main .theme-btn,
.single-product-main .single_add_to_cart_button {
	font-size: 13px !important;
	letter-spacing: 0.15em !important;
	border-radius: var(--radius) !important;
	padding: 1rem 1.5rem !important;
	min-height: auto !important;
	height: auto !important;
}
.single-product-main .theme-btn--outline {
	border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	color: var(--color-foreground);
}
.single-product-main .theme-btn--outline:hover {
	background-color: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); background-color: var(--color-card); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.85rem; background: none; border: none; color: var(--color-foreground); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-qty-input {
	width: 44px; text-align: center; padding: 0.6rem 0; border: none; background: none; color: var(--color-foreground);
	font-family: var(--font-body); font-size: 14px;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Single product Add to Bag — Lovable ProductDetail parity */
.single-product-main .theme-add-to-cart-area .btn-shimmer {
	overflow: hidden !important;
	position: relative !important;
}
.single-product-main .theme-add-to-cart-area .single_add_to_cart_button.theme-btn--primary {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: 1px solid var(--color-primary) !important;
	-webkit-appearance: none;
	appearance: none;
}
.single-product-main .single_add_to_cart_button.theme-btn--primary,
.single-product-main button.single_add_to_cart_button,
.single-product-main a.single_add_to_cart_button.ajax_add_to_cart {
	box-shadow: none !important;
	font-weight: 600 !important;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease !important;
}
.single-product-main .single_add_to_cart_button.theme-btn--primary:hover:not(.disabled):not(:disabled):not(.added):not(.loading):not(.theme-btn-loading):not(.is-atc-pending),
.single-product-main button.single_add_to_cart_button:hover:not(.disabled):not(:disabled):not(.added):not(.loading):not(.theme-btn-loading):not(.is-atc-pending),
.single-product-main a.single_add_to_cart_button.ajax_add_to_cart:hover:not(.disabled):not(:disabled):not(.added):not(.loading):not(.theme-btn-loading):not(.is-atc-pending) {
	background-color: var(--color-background) !important;
	color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
	opacity: 1 !important;
}
.single-product-main .single_add_to_cart_button.added,
.single-product-main .single_add_to_cart_button.is-atc-pending,
.single-product-main .single_add_to_cart_button.theme-btn-loading,
.single-product-main .single_add_to_cart_button.loading {
	opacity: 0.7 !important;
	pointer-events: none !important;
	cursor: default !important;
}
.single-product-main .single_add_to_cart_button.added svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.theme-details-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-details-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; background: none; border: none; color: var(--color-foreground); text-align: left; }
.theme-details-chevron { transition: transform 0.2s; }
.theme-details-toggle[aria-expanded="true"] .theme-details-chevron { transform: rotate(180deg); }
.theme-details-panel { padding-bottom: 1.5rem; display: none; }
.theme-details-panel.is-open { display: block; }
.theme-details-list ul { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-details-list li { position: relative; padding-left: 1.25rem; font-size: 15px; color: var(--color-muted-foreground); }
.theme-details-list li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 9999px; background-color: var(--color-primary); }
.theme-details-accordion { border-bottom: 1px solid var(--color-border); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-header { text-align: center; margin-bottom: 3rem; }
.theme-related-eyebrow { color: var(--color-secondary); font-size: 12px; }
.theme-related-heading { font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; margin-top: 0.75rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-related-heading { font-size: 3rem; } }

/* ---------------------------------------------------------------------
   18. Variable product variations table (defensive; theme ships no
   variable products by default, kept for future-proofing per Section 11.5)
   --------------------------------------------------------------------- */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr.theme-variation-row,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0; }
.single-product .variations tbody td.value { padding-top: 0; position: relative; }

/* ---------------------------------------------------------------------
   19. Archive / shop page
   --------------------------------------------------------------------- */
.archive-product-main { padding: 3rem 0 6rem; }
.theme-archive-header { text-align: center; margin-bottom: 3rem; }
.theme-archive-eyebrow { color: var(--color-primary); font-size: 12px; }
.theme-archive-heading { font-family: var(--font-display); font-size: 2.5rem; margin-top: 0.75rem; }
.theme-shop-empty { text-align: center; color: var(--color-muted-foreground); padding: 4rem 0; }

/* ---------------------------------------------------------------------
   20. 404
   --------------------------------------------------------------------- */
.theme-404-main { min-height: 60vh; display: flex; align-items: center; }
.theme-404-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { opacity: 0.9; }

/* ---------------------------------------------------------------------
   21. Checkout Block override (Section 13)
   --------------------------------------------------------------------- */
body.woocommerce-checkout .theme-page-main,
body.woocommerce-checkout .site-main {
	padding-top: 2.5rem;
	padding-bottom: 6rem;
}
body.woocommerce-checkout .theme-checkout-back {
	display: inline-flex; align-items: center; gap: 0.5rem;
	color: var(--color-muted-foreground); font-size: 12px;
	margin-bottom: 1.5rem; transition: color 0.2s;
}
body.woocommerce-checkout .theme-checkout-back:hover { color: var(--color-secondary); }
body.woocommerce-checkout .theme-checkout-back svg { width: 16px; height: 16px; }
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .theme-checkout-title {
	font-family: var(--font-display); font-weight: 500;
	font-size: 2.25rem; color: var(--color-foreground);
	margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .page-title,
	body.woocommerce-checkout .theme-checkout-title { font-size: 3.75rem; }
}
body.woocommerce-checkout .theme-checkout-subtitle {
	font-size: 1rem; color: var(--color-muted-foreground);
	margin-bottom: 2.5rem; max-width: 42rem; line-height: 1.6;
}
@media (min-width: 768px) { body.woocommerce-checkout .theme-checkout-subtitle { font-size: 1.125rem; } }
body.woocommerce-checkout .entry-content { width: 100%; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout { background: transparent; }
body.woocommerce-checkout .wc-block-checkout h1,
body.woocommerce-checkout .wp-block-woocommerce-checkout h1 { display: none !important; }

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid !important;
		grid-template-columns: 7fr 5fr;
		gap: 2.5rem;
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-components-checkout-step {
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: var(--card-radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-checkout-step { padding: 2rem; }
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-label) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.22em !important;
	color: var(--color-secondary) !important;
	margin-bottom: 1.5rem !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	border-radius: var(--card-radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { body.woocommerce-checkout .wc-block-checkout__sidebar { padding: 2rem; } }
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		position: sticky;
		top: 7rem;
	}
}
body.woocommerce-checkout .wc-block-components-order-summary-item__description-label,
body.woocommerce-checkout .wc-block-components-product-name {
	font-size: 14px;
}
body.woocommerce-checkout .wc-block-components-totals-item__label {
	font-family: var(--font-label);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 500;
	color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label {
	font-size: 14px;
	font-weight: 500;
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-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;
	font-size: 13px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.15em !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85 !important; }
body.woocommerce-checkout .wc-block-checkout-order-summary-block {
	border-top: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	padding-top: 1.25rem;
}
body.woocommerce-checkout .wc-block-checkout-order-summary-block::before {
	content: '';
	display: block;
	width: 100%;
	max-width: 96px;
	height: 1px;
	margin: 0 auto 1.25rem;
	background-color: color-mix(in srgb, var(--color-gold) 60%, transparent);
}

/* Cart / My Account width & alignment parity (Section 13.7) */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2.5rem; padding-bottom: 4rem; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 2rem; }

/* ---------------------------------------------------------------------
   22. Thank-you page (Section 22.8)
   --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: 2.5rem; padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-weight: 500; padding: 0 0 1rem; font-size: 1.75rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { color: var(--color-foreground); display: block; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
@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); border-radius: var(--radius); padding: 1.25rem; font-style: normal; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; margin-top: 1.5rem; border-collapse: collapse; }
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); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* ---------------------------------------------------------------------
   23. Customizer control styling helpers used inline
   --------------------------------------------------------------------- */
.theme-fallback-main, .theme-page-main { padding: 3rem 0 5rem; }
.page-title { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 1.5rem; }

/* ---------------------------------------------------------------------
   24. Lovable parity — section padding, CTAs, product images, variations, checkout
   --------------------------------------------------------------------- */
.section-pad-about,
.section-pad-intro,
.section-pad-services,
.section-pad-why,
.section-pad-jewelry,
.section-pad-contact {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.front-page-main .theme-btn,
.theme-hero .theme-btn,
.theme-intro__cta,
.theme-about__cta,
.theme-newsletter__form .theme-btn,
.theme-cta-strip__btn,
.theme-murals-strip .theme-btn {
	font-size: 13px;
	letter-spacing: 0.15em;
}

.theme-hero__subtitle { color: var(--color-body-dark); }

.theme-product-main-img,
.theme-product-card__image,
.product-card-img,
.theme-cart-item__image img {
	height: 100% !important;
	object-fit: cover;
}

.theme-newsletter__embed { margin-top: 1.5rem; max-width: 100%; }
.theme-newsletter__embed iframe { max-width: 100%; border: 0; }

.theme-variation-row { display: block; margin-bottom: 1.25rem; }
.theme-variation-row .label { display: block; padding-bottom: 0; }
.theme-variation-label { color: var(--color-muted-foreground); font-size: 12px; display: block; margin-bottom: 0.75rem; }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	padding: 0.5rem 1.25rem;
	border-radius: 9999px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	background: transparent;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.theme-variation-pill:hover { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-primary) 45%, transparent); }
.theme-variation-pill.is-active {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
	box-shadow: 0 0 18px rgba(71, 215, 210, 0.35);
}
.theme-variation-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
.single-product .variations_form .single_add_to_cart_button.disabled,
.single-product .variations_form .single_add_to_cart_button:disabled {
	opacity: 0.4 !important;
	pointer-events: none !important;
	cursor: not-allowed !important;
}
.theme-add-to-cart-area--variable { margin-top: 1rem; }

/* Checkout — single parent grid, equal column widths */
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content > .wc-block-checkout {
	width: 100% !important;
	max-width: none !important;
}
body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout.wc-block-checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 2.5rem !important;
	width: 100% !important;
	max-width: none !important;
	align-items: start !important;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout.wc-block-checkout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	grid-column: auto !important;
}
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-sidebar-layout {
	display: block !important;
}

/* Checkout inputs — dark fields, legible text on card panels */
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-select,
body.woocommerce-checkout .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-textarea {
	background: transparent !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-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-form .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .components-select-control__input,
body.woocommerce-checkout .components-text-control__input {
	background-color: var(--color-input) !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	box-shadow: none !important;
	-webkit-text-fill-color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-form .components-custom-select-control__button:focus,
body.woocommerce-checkout .components-select-control__input:focus,
body.woocommerce-checkout .components-text-control__input:focus {
	outline: none !important;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent) !important;
	border-color: var(--color-border) !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;
	-webkit-text-fill-color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__input-container,
body.woocommerce-checkout .wc-block-components-select .components-input-control__container {
	background-color: var(--color-input) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
}
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__input,
body.woocommerce-checkout .wc-block-components-select .components-select-control__input {
	background: transparent !important;
	color: var(--color-foreground) !important;
}
