/* =========================================================================
   Mamorose theme stylesheet
   Author: The Free Website Guys
   ========================================================================= */

/* ---------------------------------------------------------------------
 * 1. Design tokens
 * ------------------------------------------------------------------- */
:root {
	--color-background: #fdf6f9;
	--color-foreground: #3a2a46;
	--color-primary: #9b72cf;
	--color-primary-foreground: #fdf6f9;
	--color-secondary: #f8e8ee;
	--color-muted: #f9f0f3;
	--color-muted-foreground: #6d6278;
	--color-accent: #c9a0dc;
	--color-border: #edd4de;
	--color-destructive: #dd3c3c;
	--color-blush: #f8e8ee;
	--color-rose: #e0aebe;
	--color-lavender: #9b72cf;
	--color-lavender-soft: #c9a0dc;
	--color-gold: #d8b564;
	--color-leaf: #80b288;

	/* Derived / intermediate tokens — computed, never exposed as controls. */
	--color-card: #ffffff;
	--color-secondary-foreground: var(--color-foreground);
	--color-accent-foreground: var(--color-foreground);

	--font-display: 'Instrument Serif', Georgia, serif;
	--font-body: 'Work Sans', ui-sans-serif, system-ui, sans-serif;

	--radius-lg: 14px;
	--radius-md: 10px;
	--radius-sm: 6px;
	--radius-pill: 9999px;

	--shadow-soft: 0 20px 50px -20px color-mix(in srgb, var(--color-lavender) 25%, transparent);
	--shadow-petal: 0 8px 30px -10px color-mix(in srgb, var(--color-rose) 40%, transparent);

	--header-height: 64px;
	--logo-height: 56px;

	/* single_add_to_cart_button / add_to_cart_button design tokens (Section 11.4.1) */
	--btn-radius: var(--radius-sm);
	--btn-height: 48px;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.08em;
	--btn-text-transform: uppercase;

	--btn-icon-padding: 0.5rem;
}

@media (min-width: 1024px) {
	:root { --header-height: 80px; }
}

/* ---------------------------------------------------------------------
 * 2. Reset & base
 * ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	margin: 0;
	overflow-x: hidden;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 400;
}

img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.site-logo-img):not(.theme-product-card__image-wrapper img):not(.theme-product-main-img):not(.theme-related-card__image img) {
	height: auto;
}
.cover-img,
.theme-product-card__image-wrapper img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.01em;
	line-height: 1.1;
	margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; padding: 0; }

[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px;
	width: 1px;
}
.theme-skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 999;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: 0.5rem 1rem;
	border-radius: var(--radius-sm);
	clip: auto;
	width: auto;
	height: auto;
}

.theme-container {
	max-width: 1152px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
.theme-container--narrow { max-width: 768px; }

@media (min-width: 1024px) {
	.theme-container { padding: 0 2rem; }
}

.theme-eyebrow {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--color-primary);
	font-weight: 500;
}

.section-heading {
	margin-top: 1rem;
	font-size: 2.25rem;
	color: var(--color-foreground);
}
@media (min-width: 1024px) {
	.section-heading { font-size: 3rem; }
}

/* ---------------------------------------------------------------------
 * 3. Buttons
 * ------------------------------------------------------------------- */
.btn-hero-primary,
.btn-hero-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0 1.75rem;
	border-radius: var(--radius-pill);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	white-space: nowrap;
	transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1), background-color 0.2s ease;
	border: none;
	cursor: pointer;
}
.btn-hero-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.btn-hero-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-hero-outline {
	background-color: color-mix(in srgb, #ffffff 60%, transparent);
	backdrop-filter: blur(6px);
	color: var(--color-primary);
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
}
.btn-hero-outline:hover { background-color: color-mix(in srgb, #ffffff 80%, transparent); transform: translateY(-2px); }

/* ---------------------------------------------------------------------
 * 4. Header
 * ------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background-color: color-mix(in srgb, var(--color-background) 60%, transparent);
	backdrop-filter: blur(6px);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
	background-color: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(10px);
	box-shadow: 0 2px 20px -15px color-mix(in srgb, var(--color-lavender) 50%, transparent);
}
.site-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.25rem;
	height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
@media (min-width: 1024px) { .site-header__inner { padding: 0 2rem; } }

.site-header__brand {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	flex-shrink: 0;
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--color-foreground); display: block; }

.site-header__nav { display: none; }
@media (min-width: 1024px) { .site-header__nav { display: block; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-list a {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	font-weight: 500;
	transition: color 0.2s ease;
}
.theme-nav-list a:hover { color: var(--color-primary); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .site-header__actions { gap: 0.75rem; } }

.site-header__cart-btn {
	position: relative;
	padding: 0.5rem;
	border-radius: var(--radius-pill);
	background: transparent;
	border: none;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.site-header__cart-btn:hover { background-color: var(--color-secondary); color: var(--color-primary); }
.site-header__cart-btn svg { width: 20px; height: 20px; }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 11px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__cta { display: none; }
@media (min-width: 1024px) { .site-header__cta { display: inline-flex; } }
.site-header__cta.btn-hero-primary {
	min-height: 36px;
	padding: 0 1.25rem;
	font-size: 0.875rem;
}

.site-header__mobile-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 38px;
	height: 38px;
	background: none;
	border: none;
	padding: 0;
	color: var(--color-foreground);
	flex-shrink: 0;
}
@media (min-width: 1024px) { .site-header__mobile-toggle { display: none; } }

.site-header__mobile-toggle .theme-icon-menu,
.site-header__mobile-toggle .theme-icon-close {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header__mobile-toggle .theme-icon-close {
	opacity: 0;
	transform: rotate(-90deg) scale(0.75);
	pointer-events: none;
}
.site-header__mobile-toggle.is-open .theme-icon-menu {
	opacity: 0;
	transform: rotate(90deg) scale(0.75);
	pointer-events: none;
}
.site-header__mobile-toggle.is-open .theme-icon-close {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}
.site-header__mobile-toggle svg { width: 22px; height: 22px; }

.site-header__mobile-panel {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-top: 1px solid transparent;
	padding: 0 1.5rem;
	transition:
		max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0.45s step-end,
		padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.35s ease;
}
@media (min-width: 1024px) {
	.site-header__mobile-panel { display: none !important; }
}
.site-header__mobile-panel.is-open {
	max-height: 28rem;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	border-top-color: color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 1.25rem 1.5rem;
	transition:
		max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		visibility 0s,
		padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
		border-color 0.35s ease;
}

.site-header__mobile-panel__inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	transform: translateY(-10px);
	opacity: 0;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header__mobile-panel.is-open .site-header__mobile-panel__inner {
	transform: translateY(0);
	opacity: 1;
}

.site-header__mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.site-header__mobile-link {
	display: block;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.2s ease;
}
.site-header__mobile-link:hover { color: var(--color-primary); }

.site-header__cta-mobile.btn-hero-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 0.75rem;
	min-height: 40px;
	padding: 0 1.75rem;
	font-size: 0.875rem;
	border-radius: var(--radius-pill);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.12s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}
.site-header__mobile-panel.is-open .site-header__cta-mobile.btn-hero-primary {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.site-header__mobile-panel,
	.site-header__mobile-panel__inner,
	.site-header__mobile-toggle .theme-icon-menu,
	.site-header__mobile-toggle .theme-icon-close,
	.site-header__cta-mobile.btn-hero-primary {
		transition: none !important;
	}
	.site-header__mobile-panel.is-open .site-header__mobile-panel__inner,
	.site-header__mobile-panel.is-open .site-header__cta-mobile.btn-hero-primary {
		opacity: 1;
		transform: none;
	}
}

/* ---------------------------------------------------------------------
 * 5. Hero
 * ------------------------------------------------------------------- */
.site-main { padding-top: var(--header-height); }
.site-main--front { padding-top: 0; }

.hero-section {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	padding-top: var(--header-height);
}
.hero-section__media {
	position: absolute;
	inset: 0;
	will-change: transform;
}
.hero-section__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 115%;
	object-fit: cover;
}
.hero-section__wash {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, color-mix(in srgb, var(--color-blush) 75%, transparent) 0%, color-mix(in srgb, var(--color-lavender-soft) 55%, transparent) 100%);
}
.hero-section__sparkles {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}
.hero-section__sparkle {
	position: absolute;
	border-radius: 50%;
	background: color-mix(in srgb, #ffffff 70%, transparent);
	filter: blur(0.5px);
	animation: theme-sparkle-float ease-in-out infinite;
}
@keyframes theme-sparkle-float {
	0%, 100% { transform: translateY(0); opacity: 0.4; }
	50% { transform: translateY(-14px); opacity: 1; }
}

.hero-section__content {
	position: relative;
	z-index: 10;
	max-width: 56rem;
	margin: 0 auto;
	padding: 4rem 1.5rem 6rem;
	min-height: calc(100vh - var(--header-height));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
@media (min-width: 1024px) { .hero-section__content { padding: 6rem 1.5rem 8rem; } }

.hero-section__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 1rem;
	border-radius: var(--radius-pill);
	background-color: color-mix(in srgb, #ffffff 80%, transparent);
	backdrop-filter: blur(6px);
	color: var(--color-primary);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
	margin-bottom: 1.5rem;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.hero-section__badge-icon { width: 14px; height: 14px; }

.hero-section__title {
	font-size: 2.75rem;
	line-height: 1.05;
	color: var(--color-foreground);
	filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.05));
}
@media (min-width: 640px) { .hero-section__title { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__emphasis { color: var(--color-primary); font-style: normal; }

.hero-section__subtitle {
	margin-top: 1.5rem;
	font-size: 1.125rem;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.hero-section__ctas {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
	align-items: stretch;
	width: 100%;
	padding: 0 1rem;
}
@media (min-width: 640px) {
	.hero-section__ctas { flex-direction: row; align-items: center; padding: 0; }
	.hero-section__ctas .btn-hero-primary,
	.hero-section__ctas .btn-hero-outline { width: auto; min-width: 200px; }
}
.hero-section__ctas > a { width: 100%; }

/* ---------------------------------------------------------------------
 * 6. About
 * ------------------------------------------------------------------- */
.about-section, .services-section, .store-section, .owner-section, .faq-section {
	position: relative;
	padding: 6rem 0;
}
@media (min-width: 1024px) { .about-section, .services-section, .store-section, .owner-section, .faq-section { padding: 8rem 0; } }
.about-section { background-color: var(--color-background); }
.services-section { background-color: color-mix(in srgb, var(--color-blush) 50%, var(--color-background)); }
.store-section { background-color: var(--color-background); }
.owner-section { background-color: color-mix(in srgb, var(--color-blush) 50%, var(--color-background)); overflow: hidden; }
.faq-section { background-color: var(--color-background); }

.about-section__intro { max-width: 48rem; margin: 0 auto; text-align: center; }
.about-section__body { margin-top: 1.5rem; font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; }

.about-section__grid {
	margin-top: 4rem;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) { .about-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-section__grid .theme-stagger-item,
.services-section__grid .theme-stagger-item { min-width: 0; height: 100%; }

.about-pillar-card {
	border-radius: 1.5rem;
	background-color: color-mix(in srgb, var(--color-blush) 60%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 2rem;
	text-align: center;
	box-shadow: var(--shadow-petal);
	height: 100%;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}
.about-pillar-card:hover { transform: translateY(-6px); }
.about-pillar-card__icon {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: #ffffff;
	display: grid;
	place-items: center;
	margin: 0 auto 1.25rem;
	color: var(--color-primary);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.about-pillar-card__icon svg { width: 24px; height: 24px; }
.about-pillar-card__title { font-size: 1.5rem; color: var(--color-foreground); }
.about-pillar-card__body { margin-top: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 0.875rem; line-height: 1.6; }

/* ---------------------------------------------------------------------
 * 7. Services
 * ------------------------------------------------------------------- */
.services-section__intro { max-width: 42rem; }
.services-section__subtitle { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.services-section__grid {
	margin-top: 3.5rem;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.service-card {
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	background: #ffffff;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 2rem;
	box-shadow: var(--shadow-soft);
	height: 100%;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}
.service-card:hover { transform: translateY(-6px); }
.service-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.service-card__audience { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em; color: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.service-card__name { margin-top: 0.5rem; font-size: 1.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .service-card__name { font-size: 1.75rem; } }
.service-card__duration {
	font-size: 0.875rem; font-weight: 500; color: var(--color-primary);
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	border-radius: var(--radius-pill);
	padding: 0.25rem 0.75rem;
	white-space: nowrap;
}
.service-card__body { margin-top: 1rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; flex: 1; }
.service-card__footer {
	margin-top: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding-top: 1.25rem;
}
.service-card__price { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); }
.service-card__cta {
	color: var(--color-primary);
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-pill);
	transition: background-color 0.2s ease;
}
.service-card__cta:hover { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }

/* ---------------------------------------------------------------------
 * 8. Store / product cards (shared with archive + related — Section 31.13)
 * ------------------------------------------------------------------- */
.store-section__intro { max-width: 42rem; }
.store-section__subtitle { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.store-section__footnote {
	margin-top: 2.5rem;
	text-align: center;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
	font-style: italic;
}

.theme-product-grid {
	margin-top: 3.5rem;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--store { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-product-grid--related { margin-top: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap { height: 100%; }
.theme-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: 1.5rem;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	box-shadow: var(--shadow-petal);
	transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.theme-product-card:hover { transform: translateY(-8px); }

.theme-product-card__image-link { position: relative; display: block; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.06); }
.theme-product-card__image-wrapper img { transition: transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.theme-product-card__badge {
	position: absolute;
	top: 0.75rem; left: 0.75rem;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	background-color: color-mix(in srgb, #ffffff 90%, transparent);
	backdrop-filter: blur(6px);
	color: var(--color-primary);
	padding: 0.25rem 0.625rem;
	border-radius: var(--radius-pill);
}

.theme-product-card__info { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; min-width: 0; }
.theme-product-card__title-link { display: block; }
.theme-product-card__title {
	font-size: 1.25rem;
	line-height: 1.25;
	color: var(--color-foreground);
	transition: color 0.2s ease;
}
.theme-product-card__title-link:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__desc {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.theme-product-card__footer { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-product-card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.theme-product-card__price del { opacity: 0.5; font-size: 0.85em; margin-right: 0.35em; }

.theme-out-of-stock {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-destructive);
	font-weight: 600;
}

/* Card compact add-to-cart pill (overrides global rules below — Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.375rem !important;
	border-radius: var(--radius-pill) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	font-weight: 500 !important;
	font-size: 0.8125rem !important;
	min-height: 36px !important;
	padding: 0 0.875rem !important;
	white-space: nowrap;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart svg { width: 16px; height: 16px; }
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover { transform: translateY(-2px); }

/* ---------------------------------------------------------------------
 * 9. Owner
 * ------------------------------------------------------------------- */
.owner-section__layout {
	display: grid;
	gap: 3rem;
	align-items: center;
	grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
	.owner-section__layout { grid-template-columns: 5fr 7fr; gap: 4rem; }
}
.owner-section__portrait-wrap { position: relative; min-width: 0; }
.owner-section__glow {
	position: absolute;
	inset: -1rem;
	border-radius: 2rem;
	background-color: color-mix(in srgb, var(--color-lavender-soft) 40%, transparent);
	filter: blur(40px);
	z-index: -1;
	animation: theme-glow-pulse 8s ease-in-out infinite;
}
@keyframes theme-glow-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.owner-section__portrait-wrap { aspect-ratio: 1024/1280; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-soft); }
.owner-section__portrait { border-radius: 2rem; }

.owner-section__body { margin-top: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; }
.owner-section__body p + p { margin-top: 1rem; }
.owner-section__quote { color: var(--color-primary); font-style: italic; font-family: var(--font-display); font-size: 1.125rem; }
.owner-section__stats { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; max-width: 28rem; }
.owner-section__stats dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.owner-section__stats dd { margin: 0.25rem 0 0; font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); }

/* ---------------------------------------------------------------------
 * 10. FAQ accordion
 * ------------------------------------------------------------------- */
.faq-section__intro { text-align: center; margin-bottom: 3rem; }
.faq-accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
	border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	background-color: color-mix(in srgb, var(--color-blush) 40%, transparent);
	overflow: hidden;
}
.faq-item__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: none;
	border: none;
	text-align: left;
	padding: 1.25rem;
	font-family: var(--font-display);
	font-size: 1.125rem;
	color: var(--color-foreground);
}
.faq-item__chevron { flex-shrink: 0; display: inline-flex; transition: transform 0.2s ease; color: var(--color-primary); }
.faq-item__chevron svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-item__chevron { transform: rotate(45deg); }
.faq-item__panel {
	height: 0;
	overflow: hidden;
	transition: height 0.2s ease-out;
}
.faq-item__panel-inner { padding: 0 1.25rem 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; }

/* ---------------------------------------------------------------------
 * 11. Contact
 * ------------------------------------------------------------------- */
.contact-section {
	position: relative;
	padding: 6rem 0;
	background: linear-gradient(135deg, var(--color-blush) 0%, color-mix(in srgb, var(--color-lavender-soft) 50%, transparent) 100%);
}
@media (min-width: 1024px) { .contact-section { padding: 8rem 0; } }
.contact-section__layout { display: grid; gap: 3rem; align-items: start; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-section__layout { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.contact-section__subtitle { margin-top: 1.25rem; font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; }
.contact-section__links { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-section__link { display: flex; align-items: center; gap: 1rem; transition: transform 0.3s ease; }
.contact-section__link:hover { transform: translateX(4px); }
.contact-section__link-icon {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: #ffffff;
	display: grid;
	place-items: center;
	color: var(--color-primary);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}
.contact-section__link-icon svg { width: 20px; height: 20px; }
.contact-section__link:hover .contact-section__link-icon { transform: scale(1.05); }
.contact-section__link-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.contact-section__link-value { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); }

.contact-section__form {
	border-radius: 1.5rem;
	background-color: color-mix(in srgb, #ffffff 85%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 1.75rem;
	box-shadow: var(--shadow-soft);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}
@media (min-width: 1024px) { .contact-section__form { padding: 2.25rem; } }
.contact-section__form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-section__form-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.theme-field { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.theme-field label { font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); }
.theme-field input,
.theme-field textarea {
	width: 100%;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background-color: #ffffff;
	padding: 0.625rem 0.875rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--color-foreground);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-section__form .theme-field input,
.contact-section__form .theme-field textarea {
	border-radius: 12px;
}
.theme-field input:focus-visible,
.theme-field textarea:focus-visible {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.contact-section__submit { width: 100%; transition: transform 0.2s ease; }
.contact-section__submit:active { transform: scale(0.99); }
.contact-section__submit:disabled { opacity: 0.7; cursor: wait; }
.contact-section__submit svg { width: 16px; height: 16px; }
.contact-section__disclaimer { font-size: 11px; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); text-align: center; }

/* ---------------------------------------------------------------------
 * 12. Footer
 * ------------------------------------------------------------------- */
.site-footer {
	position: relative;
	background-color: var(--color-secondary);
	color: var(--color-foreground);
	padding: 3.5rem 0;
}
.site-footer__grid {
	max-width: 1152px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer__brand { display: flex; align-items: center; gap: 0.625rem; }
.site-footer__tagline { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 20rem; line-height: 1.7; }
.site-footer__col-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); font-weight: 500; margin-bottom: 0.75rem; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); list-style: none; margin: 0; padding: 0; }
.site-footer__links > li { margin: 0; padding: 0; }
.site-footer__links a, .site-footer__links button.theme-policy-trigger {
	background: none; border: none; padding: 0; text-align: left; font-size: inherit; color: inherit; transition: color 0.2s ease;
}
.site-footer__links a:hover, .site-footer__links button.theme-policy-trigger:hover { color: var(--color-primary); }

.site-footer__bottom {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	max-width: 1152px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.theme-footer-credit { text-decoration: underline; transition: color 0.2s ease; }
.theme-footer-credit:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------
 * 13. Policy modals
 * ------------------------------------------------------------------- */
.theme-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
}
.theme-modal.is-open { display: block; }
.theme-modal__overlay {
	position: fixed;
	inset: 0;
	background-color: rgb(0 0 0 / 0.8);
	opacity: 0;
	animation: theme-fade-in 0.2s ease forwards;
}
.theme-modal.is-closing .theme-modal__overlay { animation: theme-fade-out 0.2s ease forwards; }
.theme-modal__panel {
	position: fixed;
	top: 50%; left: 50%;
	transform: translate(-50%, -48%) scale(0.95);
	width: calc(100% - 2rem);
	max-width: 32rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	opacity: 0;
	animation: theme-modal-in 0.2s ease forwards;
}
.theme-modal.is-closing .theme-modal__panel { animation: theme-modal-out 0.2s ease forwards; }
@keyframes theme-fade-in { to { opacity: 1; } }
@keyframes theme-fade-out { to { opacity: 0; } }
@keyframes theme-modal-in { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes theme-modal-out { to { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } }
.theme-modal__close {
	position: absolute;
	top: 1rem; right: 1rem;
	background: none;
	border: none;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	padding: 0.25rem;
}
.theme-modal__close svg { width: 16px; height: 16px; }
.theme-modal__title { font-size: 1.125rem; margin-bottom: 0.5rem; padding-right: 1.5rem; font-family: var(--font-body); font-weight: 600; }
.theme-modal__body { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }

/* ---------------------------------------------------------------------
 * 14. Scroll reveal animations (Section 2.1)
 * ------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(6px);
	transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1), filter 0.9s cubic-bezier(0.16,1,0.3,1);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}
.reveal-item[data-reveal-direction="left"] {
	transform: translateX(-40px);
	filter: blur(10px);
}
.reveal-item[data-reveal-direction="left"].is-visible {
	transform: translateX(0);
	filter: blur(0);
}
.theme-stagger-item {
	opacity: 0;
	transform: translateY(24px);
	filter: blur(6px);
	transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1), filter 0.8s cubic-bezier(0.16,1,0.3,1);
}
.theme-stagger-item.is-visible {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}

/* Customizer preview / no-JS fallback: never leave content invisible. */
body.is-customizer .reveal-item,
body.is-customizer .theme-stagger-item,
.no-js .reveal-item,
.no-js .theme-stagger-item {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .theme-stagger-item {
		transition: opacity 0.3s ease !important;
		transform: none !important;
		filter: none !important;
	}
	.reveal-item[data-reveal-direction="left"] { transform: none !important; filter: none !important; }
	.hero-section__sparkle, .owner-section__glow { animation: none !important; }
}

/* ---------------------------------------------------------------------
 * 15. Side cart drawer + overlay
 * ------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgb(0 0 0 / 0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed;
	top: 0; right: 0;
	bottom: 0;
	z-index: 95;
	width: 100%;
	max-width: 420px;
	background: var(--color-background);
	box-shadow: -20px 0 50px -20px rgb(0 0 0 / 0.3);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	overflow-y: auto;
}
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; margin-bottom: 1.25rem; }
.theme-cart-drawer__title { font-size: 1.25rem; color: var(--color-foreground); }
.theme-cart-drawer__close { background: none; border: none; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); padding: 0.375rem; border-radius: var(--radius-sm); }
.theme-cart-drawer__close:hover { background: var(--color-secondary); }
.theme-cart-drawer__close svg { width: 18px; height: 18px; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 3rem 0; }
.theme-cart-drawer__empty-icon { color: color-mix(in srgb, var(--color-muted-foreground) 40%, transparent); }
.theme-cart-drawer__empty-icon svg { width: 40px; height: 40px; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); font-size: 0.875rem; }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.theme-cart-drawer__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	border-radius: var(--radius-sm);
	padding: 0.625rem;
	background-color: color-mix(in srgb, var(--color-card) 50%, transparent);
}
.theme-cart-drawer__item-thumb { width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.theme-cart-drawer__item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; color: var(--color-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.theme-cart-drawer__item-name:hover { color: var(--color-primary); }
.theme-cart-drawer__item-price, .theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__item-qty { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); flex-shrink: 0; }
.theme-cart-drawer__item-qty button { background: none; border: none; padding: 0.25rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__item-qty button:hover { color: var(--color-foreground); }
.theme-cart-drawer__item-qty button svg { width: 12px; height: 12px; }
.theme-cart-drawer__item-qty span { padding: 0 0.5rem; font-size: 0.75rem; color: var(--color-foreground); }
.theme-cart-drawer__item-total { width: 64px; text-align: right; font-size: 0.75rem; color: var(--color-foreground); flex-shrink: 0; }
.theme-cart-drawer__item-remove { background: none; border: none; color: var(--color-muted-foreground); flex-shrink: 0; }
.theme-cart-drawer__item-remove:hover { color: var(--color-destructive); }
.theme-cart-drawer__item-remove svg { width: 14px; height: 14px; }

.theme-cart-drawer__footer { border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding-top: 1rem; margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; align-items: center; justify-content: space-between; }
.theme-cart-drawer__subtotal span:first-child { font-family: var(--font-display); font-size: 0.9375rem; color: var(--color-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-size: 1.125rem; color: var(--color-foreground); }
.theme-cart-drawer__checkout-btn {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 0.875rem;
}
.theme-cart-drawer__checkout-btn.btn-hero-primary {
	border-radius: var(--radius-sm) !important;
	min-height: 0 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	padding: 0.75rem 1rem !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; }
.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: 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;
	box-shadow: none !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.9 !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;
}

/* ---------------------------------------------------------------------
 * 17. WooCommerce notices (Section 14.1)
 * ------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	max-width: 1152px;
	margin: 1rem auto;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-md);
	background-color: var(--color-secondary);
	color: var(--color-foreground);
	border-left: 4px solid var(--color-primary);
	list-style: none;
	font-size: 0.9375rem;
}
.woocommerce-error { border-left-color: var(--color-destructive); }
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ---------------------------------------------------------------------
 * 18. Shop archive
 * ------------------------------------------------------------------- */
.shop-archive-section { padding: 3rem 0 6rem; }
.shop-heading { font-size: 2.5rem; margin-bottom: 2rem; }
.shop-empty { color: var(--color-muted-foreground); padding: 3rem 0; text-align: center; }

/* ---------------------------------------------------------------------
 * 19. Single product page — scoped under .single-product-main
 * ------------------------------------------------------------------- */
body.theme-no-hero .site-main.single-product-main {
	padding-top: 0 !important;
}

.single-product-wrap {
	max-width: 64rem;
	margin: 0 auto;
	padding: 7rem 1.5rem 5rem;
}

.single-product__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin-bottom: 2.5rem;
	transition: color 0.2s ease;
}
.single-product__back:hover { color: var(--color-foreground); }
.single-product__back svg { width: 16px; height: 16px; }

.single-product-main .theme-product-layout {
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
}
@media (min-width: 768px) {
	.single-product-main .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.single-product-main .theme-product-gallery,
.single-product-main .theme-product-info { min-width: 0; max-width: 100%; }

.single-product-main .theme-product-main-image {
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
	background-color: var(--color-card);
}

.single-product-main .theme-product-main-img {
	position: static !important;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	object-position: center;
}

.single-product-main .theme-product-info__cat {
	display: block;
	font-family: var(--font-body);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: color-mix(in srgb, var(--color-primary) 70%, transparent);
}

.single-product-main .theme-product-info__title {
	margin: 0.5rem 0 1rem;
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 600;
	color: var(--color-foreground);
	line-height: 1.1;
}
@media (min-width: 768px) {
	.single-product-main .theme-product-info__title { font-size: 2.25rem; }
}

.single-product-main .theme-product-info__price {
	margin: 0 0 1.5rem;
	font-family: var(--font-body);
	font-size: 1.5rem;
	color: var(--color-foreground);
}

.single-product-main .theme-product-info__description {
	margin: 0 0 2rem;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	line-height: 1.7;
	overflow-wrap: break-word;
	word-break: break-word;
}
.single-product-main .theme-product-info__description p + p { margin-top: 0.75rem; }

.single-product-main .theme-product-info__details-list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.single-product-main .theme-product-info__details-list li {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}
.single-product-main .theme-product-info__details-list li::before {
	content: '✦';
	color: var(--color-primary);
	margin-top: 0.15em;
	flex-shrink: 0;
}

.single-product-main .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
}

.single-product-main .theme-quantity-wrapper {
	display: flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	flex-shrink: 0;
}
.single-product-main .theme-quantity-wrapper button {
	background: none;
	border: none;
	padding: 0.5rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s ease;
}
.single-product-main .theme-quantity-wrapper button:hover { color: var(--color-foreground); }
.single-product-main .theme-quantity-wrapper button svg { width: 16px; height: 16px; }
.single-product-main .theme-qty-display {
	padding: 0 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-foreground);
	min-width: 2.5rem;
	text-align: center;
}
.single-product-main .theme-qty-input { display: none !important; }

.single-product-main .theme-product-atc,
.single-product-main .theme-product-atc.button,
.single-product-main a.theme-product-atc {
	flex: 1 1 auto;
	min-width: 160px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	padding: 0.75rem 1rem !important;
	min-height: 0 !important;
	border: none !important;
	border-radius: var(--radius-sm) !important;
	box-shadow: none !important;
	transition: opacity 0.2s ease !important;
}
.single-product-main .theme-product-atc:hover { opacity: 0.9 !important; }
.single-product-main .theme-product-atc--disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.single-product-main .theme-product-atc:disabled,
.single-product-main .theme-product-atc[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
}

.single-product-main .theme-variation-attributes {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.single-product-main .theme-variation-field select {
	width: 100%;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	background-color: #ffffff;
	padding: 0.625rem 0.875rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--color-foreground);
}

/* Hide any leftover WooCommerce chrome on single product */
.single-product-main .woocommerce-product-gallery,
.single-product-main .woocommerce-tabs,
.single-product-main .product_meta,
.single-product-main .woocommerce-breadcrumb,
.single-product-main a.added_to_cart { display: none !important; }

.single-product-main .related-products-section { margin-top: 6rem; }
.single-product-main .related-products-section__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 2rem;
	color: var(--color-foreground);
}

.single-product-main .theme-related-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
	.single-product-main .theme-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.single-product-main .theme-related-card {
	display: block;
	border: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
	border-radius: var(--radius-sm);
	background-color: color-mix(in srgb, var(--color-card) 50%, transparent);
	overflow: hidden;
	transition: border-color 0.2s ease;
	min-width: 0;
}
.single-product-main .theme-related-card:hover {
	border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.single-product-main .theme-related-card__image { overflow: hidden; }
.single-product-main .theme-related-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
}
.single-product-main .theme-related-card:hover .theme-related-card__image img { transform: scale(1.05); }
.single-product-main .theme-related-card__body { padding: 1rem; min-width: 0; }
.single-product-main .theme-related-card__cat {
	display: block;
	font-family: var(--font-body);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: color-mix(in srgb, var(--color-primary) 70%, transparent);
}
.single-product-main .theme-related-card__title {
	margin-top: 0.25rem;
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-foreground);
	line-height: 1.3;
}
.single-product-main .theme-related-card__price {
	margin-top: 0.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-foreground);
}

/* ---------------------------------------------------------------------
 * 20. Checkout Block (Section 13) — allowed to differ visually, but must
 *     be fully re-skinned to match the theme design system.
 * ------------------------------------------------------------------- */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .theme-page-container { max-width: 1152px; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout {
		display: block;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

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;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	font-family: var(--font-body);
	color: var(--color-foreground);
	background-color: #ffffff;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
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(--radius-sm) !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 500;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--radius-lg);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius-md); }

.page-title { font-size: 2.25rem; margin-bottom: 2rem; color: var(--color-foreground); }
.theme-page-container { padding-top: 3rem; padding-bottom: 5rem; }

/* ---------------------------------------------------------------------
 * 21. Cart page + My Account width parity (Section 13.7)
 * ------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .theme-page-container,
body.woocommerce-account .theme-page-container { max-width: 1152px; }
.woocommerce table.shop_table { border-radius: var(--radius-md); border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding: 0.75rem; }
.woocommerce-cart-form .button, .woocommerce a.button, .woocommerce input.button {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: var(--radius-sm);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8125rem;
	padding: 0.75rem 1.5rem;
	border: none;
}

/* ---------------------------------------------------------------------
 * 22. Thank you page (Section 22.8)
 * ------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
	color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	list-style: none;
	padding: 1.5rem;
	margin: 0 0 2rem;
	background: var(--color-secondary);
	border-radius: var(--radius-lg);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
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;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address {
	min-width: 0;
	max-width: 480px;
	overflow-wrap: break-word;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	border-radius: var(--radius-md);
	padding: 1rem;
	font-style: normal;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	margin-top: 1.5rem;
}
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. 404
 * ------------------------------------------------------------------- */
.theme-404 {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 1rem;
	padding: 4rem 0;
	background-color: var(--color-muted);
}
.theme-404__code { font-size: 2.25rem; font-weight: 700; color: var(--color-foreground); }
.theme-404__text { color: var(--color-muted-foreground); font-size: 1.25rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; transition: color 0.2s ease; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* Admin bar offset for fixed header */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

/* ---------------------------------------------------------------------
 * 24. Generic page content
 * ------------------------------------------------------------------- */
.theme-generic-content { padding: 3rem 0 5rem; }
.entry-content { line-height: 1.75; color: var(--color-foreground); }
.entry-content p { margin-bottom: 1rem; }
