/* =========================================================
   CV Luxe Creation — theme.css
   All visual styling for the theme + WooCommerce overrides.
   ========================================================= */

/* ---------- Design tokens (defaults; live values re-emitted inline) ---------- */
:root {
	--color-background: #f8f1e7;
	--color-foreground: #10173c;
	--color-primary: #151e51;
	--color-primary-foreground: #f8eddd;
	--color-secondary: #f1e3d0;
	--color-muted: #e8dcc8;
	--color-muted-foreground: #434a70;
	--color-accent: #cda047;
	--color-accent-foreground: #10173c;
	--color-destructive: #c71f1f;
	--color-border: #dbcab3;
	--color-surface-soft: #f5e8d6;
	--color-button-text: #f8eddd;

	--font-display: 'Playfair Display', serif;
	--font-body: 'Poppins', sans-serif;

	--radius: 1rem;
	--shadow-soft: 0 4px 20px -4px rgba(21, 30, 81, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(21, 30, 81, 0.18);
	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--header-height: 6rem;
	--logo-height: 64px;
	--logo-height-mobile: 56px;
	--color-inverse: #ffffff;

	--btn-radius: 9999px;
	--btn-height: 40px;
	--btn-padding: 0 1.25rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.18em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
	--card-radius: 0.5rem;
	--checkout-gap: 2.5rem;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.theme-product-card__img):not(.theme-product-gallery__main-img):not(.about-image):not(.custom-image):not(.contact-bg):not(.hero-poster-img):not(.site-logo-img):not(.footer-logo-img) {
	height: auto;
}
.cover-img,
.theme-product-card__img,
.theme-product-gallery__main-img,
.custom-image,
.contact-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-height: none;
	object-fit: cover;
}
.theme-product-card__img,
.theme-product-gallery__main-img,
.theme-cart-line__image img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover !important;
	max-width: none;
}
.about-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
.lucide-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
ul { margin: 0; padding: 0; list-style: none; }

/* Tailwind-preflight-equivalent heading reset (Section 2.2.4) */
h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
	font-size: inherit;
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	margin: 0;
	color: inherit;
}
p { margin: 0; }

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

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: color-mix(in srgb, var(--color-primary) 80%, transparent);
}
.about-section .eyebrow,
.services-section .eyebrow,
.custom-section .eyebrow,
.faq-section .eyebrow {
	color: var(--color-accent);
}
.micro-label {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
}
.surface-soft { background-color: var(--color-surface-soft); }

/* ---------- Animations / scroll reveal (Section 2.1) ---------- */
.reveal-up, .reveal-up-slow, .reveal-up-delay, .reveal-right, .reveal-fade, .reveal-item {
	opacity: 0;
	transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.reveal-up { transform: translateY(30px); }
.reveal-up-slow { transform: translateY(40px); transition-duration: 0.9s; transition-delay: 0.05s; }
.reveal-up-delay { transform: translateY(30px); transition-delay: 0.15s; }
.reveal-right { transform: translateX(-30px); }
.reveal-fade { transform: none; }
.hero-eyebrow.reveal-fade { transform: translateY(12px); }
.reveal-item { transform: translateY(25px); transition-duration: 0.5s; }
.hero-cta-block.reveal-up {
	transform: translateY(20px);
	transition-duration: 0.7s;
	transition-delay: 0.4s;
}

.reveal-up.is-visible, .reveal-up-slow.is-visible, .reveal-up-delay.is-visible,
.reveal-right.is-visible, .reveal-fade.is-visible, .reveal-item.is-visible {
	opacity: 1;
	transform: none;
}

/* Customizer preview fallback (Section 2.1 item 5) */
body.is-customizer .reveal-up,
body.is-customizer .reveal-up-slow,
body.is-customizer .reveal-up-delay,
body.is-customizer .reveal-right,
body.is-customizer .reveal-fade,
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.6s var(--ease-smooth) forwards; }

.hover-lift { transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth); }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }

.press { transition: transform 0.2s var(--ease-smooth); }
.press:active { transform: scale(0.96); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* ---------- Buttons ---------- */
.theme-btn-pill,
.theme-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: none;
	border-radius: var(--btn-radius);
	height: var(--btn-height);
	padding: var(--btn-padding);
	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);
	background-color: var(--color-foreground);
	color: var(--color-background);
	box-shadow: var(--shadow-soft);
	transition: all 0.3s var(--ease-smooth);
	cursor: pointer;
}
.theme-btn-pill:hover, .theme-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-elevated);
	opacity: 0.92;
}
.theme-btn-pill .btn-arrow, .theme-btn-primary .btn-arrow { transition: transform 0.3s; }
.theme-btn-pill:hover .btn-arrow { transform: translateX(4px); }
.theme-btn-pill-light {
	background-color: var(--color-background);
	color: var(--color-foreground);
}
.theme-btn-full { width: 100%; }
.hero-content__left, .hero-content__right, .hero-content__row { text-transform: none; }
.btn-hero-primary, .btn-hero-outline { text-transform: none; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 40;
	transition: background-color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), backdrop-filter 0.3s var(--ease-smooth);
	background-color: transparent;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 6rem;
}
@media (min-width: 1024px) { .site-nav { height: 7rem; } }

.site-logo-link { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.site-logo-img {
	height: var(--logo-height-mobile) !important;
	max-height: var(--logo-height-mobile) !important;
	width: auto !important;
	max-width: none !important;
	flex-shrink: 0;
	display: block;
	transition: opacity 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth);
}
@media (min-width: 1024px) {
	.site-logo-img {
		height: var(--logo-height) !important;
		max-height: var(--logo-height) !important;
	}
}
.site-logo-dark { display: none; }
.site-header.is-solid .site-logo-light { display: none; }
.site-header.is-solid .site-logo-dark { display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.site-header:not(.is-solid) .site-logo-text { color: var(--color-inverse); }

.site-nav-links { display: none; align-items: center; gap: 2rem; margin-left: auto; margin-right: 2rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link, .theme-nav-list a {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	position: relative;
	color: var(--color-foreground);
	opacity: 0.8;
	transition: color 0.3s, opacity 0.3s;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}
.site-header:not(.is-solid) .theme-nav-link,
.site-header:not(.is-solid) .theme-nav-list a { color: var(--color-inverse); opacity: 0.9; }
.theme-nav-link:hover, .theme-nav-list a:hover { opacity: 1; }
.theme-nav-link::after, .theme-nav-list a::after {
	content: '';
	position: absolute; left: 0; bottom: -2px;
	height: 1px; width: 100%;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--ease-smooth);
}
.theme-nav-link:hover::after, .theme-nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-btn { position: relative; padding: 0.5rem; background: none; border: none; color: var(--color-foreground); transition: opacity 0.3s, color 0.3s; }
.theme-cart-btn:hover { opacity: 0.7; }
.site-header:not(.is-solid) .theme-cart-btn { color: var(--color-inverse); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	background: var(--color-accent); color: var(--color-accent-foreground);
	font-size: 10px; border-radius: 9999px; min-width: 18px; height: 18px;
	display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 500;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; background: none; border: none; color: var(--color-foreground); transition: opacity 0.3s, color 0.3s; }
.theme-mobile-toggle:hover { opacity: 0.6; }
.site-header:not(.is-solid) .theme-mobile-toggle { color: var(--color-inverse); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.icon-menu-close { display: none; }
.theme-mobile-menu.is-open ~ .site-nav-actions .icon-menu-open,
.mobile-menu-open .icon-menu-open { display: none; }
.mobile-menu-open .icon-menu-close { display: block; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; }
.theme-mobile-menu ul,
.theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list {
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 1rem !important;
}
.theme-mobile-nav-list a,
.theme-mobile-menu a,
.theme-mobile-menu .theme-nav-list a {
	display: block;
	text-align: left;
	padding: 0.5rem 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-foreground);
	opacity: 1;
}
.theme-mobile-menu a:hover { color: var(--color-muted-foreground); }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }

/* ---------- Hero ---------- */
.overflow-x-hidden { overflow-x: hidden; }
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: flex-end; }
body.theme-no-hero:not(.error404) .site-main { padding-top: 6rem; }
@media (min-width: 1024px) {
	body.theme-no-hero:not(.error404) .site-main { padding-top: 8rem; }
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity 1s var(--ease-smooth);
}
.hero-video.is-active { opacity: 1; }
.hero-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 70%, transparent), color-mix(in srgb, var(--color-foreground) 25%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent));
}
.hero-dots { position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 20; display: flex; gap: 0.5rem; }
.hero-dot { height: 6px; width: 16px; border-radius: 9999px; background: color-mix(in srgb, var(--color-background) 50%, transparent); border: none; transition: all 0.5s var(--ease-smooth); padding: 0; }
.hero-dot:hover { background: color-mix(in srgb, var(--color-background) 80%, transparent); }
.hero-dot.is-active { width: 32px; background: var(--color-background); }

.hero-content { position: relative; z-index: 10; padding-bottom: 2.5rem; width: 100%; }
@media (min-width: 1024px) { .hero-content { padding-bottom: 4rem; } }
.hero-content__row { display: flex; flex-direction: column; gap: 2.5rem; }
@media (min-width: 1024px) { .hero-content__row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.hero-content__left { max-width: 48rem; }
.hero-eyebrow { color: color-mix(in srgb, var(--color-background) 80%, transparent); margin-bottom: 1.25rem; display: block; }
.hero-title {
	font-style: italic;
	color: var(--color-background);
	line-height: 0.95;
	letter-spacing: -0.025em;
	font-size: 3rem;
}
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
.hero-content__right { max-width: 20rem; }
@media (min-width: 1024px) { .hero-content__right { text-align: right; } }
.hero-description { color: color-mix(in srgb, var(--color-background) 85%, transparent); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }

/* ---------- About ---------- */
.about-section { padding: 5rem 0; }
@media (min-width: 1024px) { .about-section { padding: 8rem 0; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(12, 1fr); gap: 6rem; } }
.about-grid__image { order: 1; height: 100%; width: 100%; min-width: 0; }
@media (min-width: 1024px) { .about-grid__image { grid-column: span 5; } }
.about-image-wrap { position: relative; height: 100%; max-width: 100%; }
.about-image-backdrop { position: absolute; top: -1.25rem; left: -1.25rem; width: 100%; height: 100%; background: color-mix(in srgb, var(--color-accent) 15%, transparent); }
.about-image { position: relative; box-shadow: var(--shadow-elevated); aspect-ratio: 4/5; width: 100%; max-width: 100%; }
@media (min-width: 1024px) { .about-image { aspect-ratio: auto; } }
.about-grid__content { order: 2; display: flex; flex-direction: column; justify-content: center; width: 100%; min-width: 0; }
@media (min-width: 1024px) { .about-grid__content { grid-column: span 7; } }
.about-heading { margin-top: 1.5rem; font-size: 3rem; line-height: 0.92; letter-spacing: -0.02em; }
@media (min-width: 640px) { .about-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 4.5rem; } }
.about-copy { margin-top: 2.5rem; max-width: 36rem; display: flex; flex-direction: column; gap: 1.5rem; }
.about-lead { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
@media (min-width: 1024px) { .about-lead { font-size: 1.5rem; } }
.about-body { font-size: 0.875rem; line-height: 1.7; color: var(--color-muted-foreground); }
.about-promise { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); max-width: 36rem; }
.about-promise__title { font-size: 1.5rem; margin-bottom: 1.25rem; }
.about-promise__list { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 2rem; }
.about-promise__list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.about-promise__icon { color: var(--color-accent); margin-top: 0.15rem; flex-shrink: 0; }

/* ---------- Services ---------- */
.services-section { padding: 5rem 0; }
@media (min-width: 1024px) { .services-section { padding: 7rem 0; } }
.services-header { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.services-heading { margin-top: 1rem; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 640px) { .services-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 3rem; } }
.services-description { margin-top: 1rem; color: var(--color-muted-foreground); line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.services-card {
	background: color-mix(in srgb, var(--color-secondary) 60%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
	padding: 2rem;
	transition: all 0.5s var(--ease-smooth);
}
.services-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); background: var(--color-secondary); }
.services-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3rem; height: 3rem; border-radius: 9999px;
	background: color-mix(in srgb, var(--color-accent) 25%, transparent);
	color: var(--color-foreground);
	margin-bottom: 1.25rem;
	transition: transform 0.5s var(--ease-smooth);
}
.services-card:hover .services-card__icon { transform: scale(1.1); }
.services-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.services-card__desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.services-grid .reveal-item:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal-item:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal-item:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal-item:nth-child(4) { transition-delay: 0.3s; }

/* ---------- Shop section & product grid/cards ---------- */
.shop-section { padding: 5rem 0; }
@media (min-width: 1024px) { .shop-section { padding: 7rem 0; } }
.shop-header { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
.shop-heading { margin-top: 0.75rem; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 640px) { .shop-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3rem; } }
.shop-description { margin-top: 1rem; color: var(--color-muted-foreground); line-height: 1.6; }

.shop-filter-bar {
	margin-bottom: 2.5rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
	background: color-mix(in srgb, var(--color-secondary) 40%, transparent);
	padding: 1.5rem;
}
@media (min-width: 1024px) { .shop-filter-bar { padding: 2rem; } }
.shop-filter-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.shop-cat-pill {
	font-size: 0.75rem; padding: 0.5rem 1rem; border-radius: 9999px; border: 1px solid var(--color-border);
	background: color-mix(in srgb, var(--color-background) 60%, transparent);
	color: var(--color-foreground);
	transition: all 0.2s;
}
.shop-cat-pill:hover { border-color: var(--color-foreground); }
.shop-cat-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.shop-filter-controls { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: end; }
@media (min-width: 768px) { .shop-filter-controls { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.shop-price-filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.shop-price-filter__value { font-size: 0.75rem; color: var(--color-muted-foreground); }
.shop-sort-controls { display: flex; align-items: center; gap: 0.75rem; justify-content: flex-end; }
.theme-select {
	border-radius: 9999px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em;
	height: 2.25rem; padding: 0 1rem; border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground);
	min-width: 12rem;
}
.shop-clear-btn { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); background: none; border: none; white-space: nowrap; }
.shop-clear-btn:hover { color: var(--color-foreground); text-decoration: underline; }

/* Dual-range price slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent); box-shadow: var(--shadow-soft); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent); box-shadow: var(--shadow-soft); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-count-label { text-align: center; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 2rem; }
.shop-empty-message { padding: 5rem 0; text-align: center; color: var(--color-muted-foreground); }
.shop-reset-inline { margin-left: 0.5rem; color: var(--color-foreground); text-decoration: underline; background: none; border: none; }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	column-gap: 1.5rem;
	row-gap: 2.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .theme-product-grid { grid-template-columns: repeat(4, 1fr); } }
.theme-product-grid--related { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 640px) { .theme-product-grid--related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(3, 1fr); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth); }
.theme-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }

.theme-product-card__image-wrapper { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--color-secondary); }
.theme-product-card__image-link { position: absolute; inset: 0; z-index: 1; }
.theme-product-card__img {
	position: absolute; inset: 0; z-index: 0;
	width: 100% !important; height: 100% !important;
	object-fit: cover !important;
	transition: transform 0.9s var(--ease-smooth);
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.1); }
.theme-product-card__overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 40%, transparent), transparent 55%);
	opacity: 0; transition: opacity 0.5s var(--ease-smooth);
}
.theme-product-card:hover .theme-product-card__overlay { opacity: 1; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	padding: 0.25rem 0.75rem;
	font-family: var(--font-body);
	font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
	color: var(--color-foreground);
	box-shadow: 0 1px 2px color-mix(in srgb, var(--color-foreground) 8%, transparent);
	transition: transform 0.5s var(--ease-smooth);
	pointer-events: none;
}
.theme-product-card:hover .theme-product-card__badge { transform: translateY(-0.125rem); }
.theme-product-card__quick-add {
	position: absolute; bottom: 1rem; right: 1rem; z-index: 5;
	width: 2.5rem; height: 2.5rem; border-radius: 2px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-foreground); color: var(--color-background);
	opacity: 0; transform: translateY(0.75rem);
	transition: all 0.5s var(--ease-smooth);
	pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; transform: translateY(0); }
.theme-product-card .theme-product-card__quick-add:hover,
.theme-product-card:hover .theme-product-card__quick-add:hover {
	background: var(--color-accent) !important;
	transform: translateY(0) rotate(90deg) !important;
}
.theme-product-card__soldout {
	position: absolute; bottom: 1rem; right: 1rem; z-index: 3;
	background: var(--color-destructive); color: var(--color-inverse); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
	padding: 0.35rem 0.6rem;
}
.theme-product-card__info { margin-top: 1rem; flex: 1; display: flex; flex-direction: column; }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; min-width: 0; }
.theme-product-card__title-col { min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-weight: 600; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.theme-product-card__title:hover { color: var(--color-accent); }
.theme-product-card__size { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.1rem; }
.theme-product-card__price { font-family: var(--font-body); font-weight: 600; color: var(--color-foreground); font-size: 0.875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.theme-product-card__desc { margin-top: 0.5rem; font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.625; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.theme-shop-archive__header { padding-top: 0; padding-bottom: 2rem; }
.theme-shop-archive { padding-bottom: 6rem; }

/* ---------- Marquee ---------- */
.marquee-section { background: var(--color-foreground); padding: 1.25rem 0; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-background) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-background) 10%, transparent); }
@media (min-width: 1024px) { .marquee-section { padding: 1.5rem 0; } }
.marquee-track { display: flex; white-space: nowrap; animation: theme-marquee 30s linear infinite; width: max-content; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 1.5rem; padding: 0 1.5rem; }
.marquee-icon { color: var(--color-accent); flex-shrink: 0; }
.marquee-item span { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-background) 85%, transparent); font-weight: 500; }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Custom requests ---------- */
.custom-section { padding: 5rem 0; }
@media (min-width: 1024px) { .custom-section { padding: 7rem 0; } }
.custom-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .custom-grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; } }
.custom-grid__image { width: 100%; min-width: 0; }
@media (min-width: 1024px) { .custom-grid__image { grid-column: span 5; } }
.custom-image-wrap { position: relative; max-width: 24rem; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .custom-image-wrap { margin: 0; } }
.custom-image-backdrop { position: absolute; top: -1rem; right: -1rem; width: 100%; height: 100%; background: color-mix(in srgb, var(--color-accent) 25%, transparent); }
.custom-image { position: relative; aspect-ratio: 1/1; box-shadow: var(--shadow-elevated); background: var(--color-secondary); width: 100%; max-width: 100%; }
.custom-grid__content { width: 100%; min-width: 0; }
@media (min-width: 1024px) { .custom-grid__content { grid-column: span 7; } }
.custom-heading { margin-top: 1rem; font-size: 2.25rem; line-height: 0.95; }
@media (min-width: 640px) { .custom-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .custom-heading { font-size: 3.75rem; } }
.custom-lead { margin-top: 1.5rem; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 36rem; }
@media (min-width: 1024px) { .custom-lead { font-size: 1.5rem; } }
.custom-body { margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.7; color: var(--color-muted-foreground); max-width: 36rem; }
.custom-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- FAQ ---------- */
.faq-section { padding: 5rem 0; }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-container { max-width: 56rem; margin: 0 auto; }
.faq-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.faq-heading { margin-top: 1rem; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 640px) { .faq-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .faq-heading { font-size: 3rem; } }
.faq-description { margin-top: 1rem; color: var(--color-muted-foreground); line-height: 1.6; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent); background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 1.5rem; transition: background 0.3s; }
@media (min-width: 1024px) { .faq-item { padding: 1.75rem; } }
.faq-item:hover, .faq-item[open] { background: var(--color-secondary); }
.faq-item__summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.faq-item__summary::-webkit-details-marker { display: none; }
.faq-item__question { font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 1024px) { .faq-item__question { font-size: 1.25rem; } }
.faq-item__icon { color: var(--color-accent); margin-top: 0.25rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
.faq-list .reveal-item:nth-child(1) { transition-delay: 0s; }
.faq-list .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.faq-list .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.faq-list .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.faq-list .reveal-item:nth-child(5) { transition-delay: 0.32s; }
.faq-list .reveal-item:nth-child(6) { transition-delay: 0.4s; }
.faq-list .reveal-item:nth-child(7) { transition-delay: 0.48s; }
.faq-list .reveal-item:nth-child(8) { transition-delay: 0.56s; }

/* ---------- Contact ---------- */
.contact-section { position: relative; padding: 5rem 0; color: var(--color-background); overflow: hidden; }
@media (min-width: 1024px) { .contact-section { padding: 7rem 0; } }
.contact-bg { z-index: 0; }
.contact-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 85%, transparent); z-index: 1; }
.contact-container { position: relative; z-index: 2; max-width: 64rem; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .contact-header { margin-bottom: 4rem; } }
.contact-title { font-size: 2.25rem; line-height: 1.2; }
@media (min-width: 640px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }
.contact-divider { height: 1px; width: 6rem; background: color-mix(in srgb, var(--color-background) 20%, transparent); margin: 1.5rem auto 1rem; }
.contact-tagline { color: color-mix(in srgb, var(--color-background) 60%, transparent); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(5, 1fr); gap: 4rem; } }
.contact-details { grid-column: span 1; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .contact-details { grid-column: span 2; } }
.contact-details__intro h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.contact-details__intro p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 60%, transparent); line-height: 1.6; }
.contact-details__list { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-details__list a { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 80%, transparent); transition: color 0.3s; }
.contact-details__list a:hover { color: var(--color-background); }
.contact-icon-circle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent);
	transition: background 0.3s, border-color 0.3s;
}
.contact-details__list a:hover .contact-icon-circle { background: var(--color-accent); border-color: var(--color-accent); }
.contact-icon-circle svg { color: var(--color-accent); transition: color 0.3s; }
.contact-details__list a:hover .contact-icon-circle svg { color: var(--color-foreground); }
.contact-hours { padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); }
.contact-hours h4 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.contact-hours__lines { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 60%, transparent); }
.contact-hours__note { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 60%, transparent); line-height: 1.6; }

.contact-form-wrap { grid-column: span 1; }
@media (min-width: 1024px) { .contact-form-wrap { grid-column: span 3; } }
.contact-form { background: color-mix(in srgb, var(--color-background) 5%, transparent); border: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); padding: 2rem; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
@media (min-width: 1024px) { .contact-form { padding: 3rem; } }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-form__field label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: color-mix(in srgb, var(--color-background) 60%, transparent); font-weight: 500; }
.contact-form__field input, .contact-form__field textarea {
	width: 100%; background: transparent; border: none; border-bottom: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
	color: var(--color-background); padding: 0.75rem 0; font-size: 0.875rem; font-family: var(--font-body);
}
.contact-form__field textarea { resize: none; }
.contact-form__field input::placeholder, .contact-form__field textarea::placeholder { color: color-mix(in srgb, var(--color-background) 30%, transparent); }
.contact-form__field input:focus, .contact-form__field textarea:focus { outline: none; border-color: var(--color-accent); }
.contact-form__submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	width: 100%; background: var(--color-accent); color: var(--color-foreground);
	padding: 1rem 2rem; border-radius: 9999px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500;
	transition: all 0.3s var(--ease-smooth); border: none; box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .contact-form__submit { width: auto; } }
.contact-form__submit:hover { background: var(--color-background); transform: translateY(-2px); }
.contact-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-form__status { font-size: 0.8rem; }
.contact-form__status.is-success { color: var(--color-accent); }
.contact-form__status.is-error { color: color-mix(in srgb, var(--color-destructive) 55%, var(--color-background)); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-secondary); }
.site-footer-inner {
	padding-top: 3rem;
	padding-bottom: 3rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.site-footer-inner {
		padding-top: 4rem;
		padding-bottom: 4rem;
		padding-left: 2rem;
		padding-right: 2rem;
	}
}
.site-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.footer-logo-img {
	height: calc(var(--logo-height) * 1.25) !important;
	max-height: calc(var(--logo-height) * 1.25) !important;
	width: auto !important;
	max-width: none !important;
	display: block;
}
.footer-description { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 24rem; line-height: 1.6; }
.footer-col-title { font-family: var(--font-body); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-foreground); margin-bottom: 1rem; }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.3s; }
.theme-footer-nav-list a:hover { color: var(--color-foreground); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.footer-contact-list a { transition: color 0.3s; word-break: break-all; }
.footer-contact-list a:hover { color: var(--color-foreground); }
.site-footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
@media (min-width: 640px) { .site-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-copyright, .footer-credit { font-size: 0.75rem; color: var(--color-muted-foreground); }
.footer-credit a { text-decoration: underline; }

/* ---------- 404 ---------- */
.theme-404 {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: var(--color-muted);
}
.theme-404-inner { text-align: center; }
.theme-404-code { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-message { 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 { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* =========================================================
   WooCommerce overrides
   ========================================================= */

/* Hide WooCommerce "View cart" injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Scoped notice visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body);
	border-radius: var(--card-radius);
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	border-top: 3px solid var(--color-accent);
	background: var(--color-secondary);
	color: var(--color-foreground);
	list-style: none;
}
.woocommerce-error { border-top-color: var(--color-destructive); }

/* Add to cart button style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !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: uppercase !important;
	cursor: pointer !important;
	box-shadow: var(--shadow-soft) !important;
	transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth) !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.92 !important;
	transform: translateY(-2px) !important;
	box-shadow: var(--shadow-elevated) !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !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;
	transform: none !important;
	background-color: var(--color-foreground) !important;
}
/* Card compact quick-add button (scoped override — after globals) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 2px !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
	transform: translateY(0) rotate(90deg) !important;
	background-color: var(--color-accent) !important;
	box-shadow: none !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; }

/* Variations — pills + hidden native select for WooCommerce JS */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td,
.single-product .variations tbody th { display: block; width: 100%; }
.single-product .variations tbody th.label,
.single-product .variations tbody td.label {
	padding-bottom: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-muted-foreground);
	text-align: left;
}
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1.25rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	background: color-mix(in srgb, var(--color-background) 60%, transparent);
	color: var(--color-foreground);
	transition: all 0.2s;
	cursor: pointer;
}
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-selected {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.reset_variations { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.5rem; display: inline-block; }
.reset_variations:hover { color: var(--color-foreground); text-decoration: underline; }
.variations_form .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.variations_form .single_add_to_cart_button { margin-top: 0; }

/* Single product layout (Section 11.13) — scope to main only; body also gets .single-product from WooCommerce */
.site-main.single-product { padding-top: 0; padding-bottom: 5rem; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-muted-foreground); margin-bottom: 2rem; }
.back-to-shop-link:hover { color: var(--color-foreground); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info { position: sticky; top: 7rem; align-self: start; }
}
.theme-product-gallery__main { position: relative; overflow: hidden; background: var(--color-secondary); aspect-ratio: 4/5; }
@media (min-width: 1024px) { .theme-product-gallery__main { aspect-ratio: 5/6; } }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; }
.theme-product-thumb { width: 4.5rem; height: 4.5rem; overflow: hidden; border: 2px solid transparent; opacity: 0.6; padding: 0; background: none; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--color-accent); }
.theme-product-info .eyebrow { display: block; margin-bottom: 0.5rem; }
.product-title { font-family: var(--font-display); font-weight: 600; margin-top: 0.75rem; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 640px) { .product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3.75rem; } }
.product-tagline { margin-top: 1rem; color: var(--color-muted-foreground); font-style: italic; }
.theme-separator { border: none; border-top: 1px solid var(--color-border); margin: 1.5rem 0; }
.theme-stock-status--out { color: var(--color-destructive); font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; }
.product-description,
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { color: color-mix(in srgb, var(--color-foreground) 90%, transparent); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-price-qty-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 2rem; gap: 1rem; flex-wrap: wrap; }
.theme-size-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-price { font-family: var(--font-body); font-size: 1.5rem; font-weight: 600; margin-top: 0.25rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 9999px; }
.theme-quantity-wrapper button { background: none; border: none; padding: 0.5rem; display: inline-flex; }
.theme-quantity-wrapper button:hover { color: var(--color-accent); }
.theme-qty-input { width: 2.5rem; text-align: center; border: none; background: transparent; font-size: 0.875rem; font-weight: 500; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { margin-top: 1.5rem; width: 100%; flex: 1 1 auto; min-width: 160px; }

.theme-accordion { margin-top: 2rem; }
.theme-accordion__item { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 1rem 0; background: none; border: none; font-family: var(--font-body);
	font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500;
	color: var(--color-foreground);
}
.theme-accordion__trigger:hover { text-decoration: underline; }
.theme-accordion__chevron { transition: transform 0.2s; }
.theme-accordion__item.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__content { display: none; padding-bottom: 1rem; color: var(--color-muted-foreground); font-size: 0.9rem; line-height: 1.6; }
.theme-accordion__item.is-open .theme-accordion__content { display: block; }
.theme-accordion__list { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-product-disclaimer { margin-top: 2rem; font-size: 0.75rem; font-style: italic; color: var(--color-muted-foreground); line-height: 1.6; }

.related-products-section { margin-top: 6rem; }
.related-products-title { margin-top: 0.75rem; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }
@media (min-width: 640px) { .related-products-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .related-products-title { font-size: 2.25rem; } }
.theme-product-grid--related { margin-top: 2.5rem; }

/* ---------- Side cart drawer ---------- */
#theme-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 50; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 51;
	width: 75%; max-width: 28rem; background: var(--color-background);
	box-shadow: -4px 0 24px color-mix(in srgb, var(--color-foreground) 15%, transparent);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--ease-smooth);
}
@media (min-width: 640px) {
	#theme-cart-drawer { width: 100%; max-width: 28rem; }
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.5rem 1rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.5rem; }
.theme-cart-drawer__close { background: none; border: none; padding: 0.25rem; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.5rem; gap: 1rem; }
.theme-cart-drawer__empty-icon { color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-line { display: flex; gap: 1rem; }
.theme-cart-line__image { flex-shrink: 0; width: 5rem; height: 6rem; overflow: hidden; }
.theme-cart-line__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-line__info { flex: 1; min-width: 0; }
.theme-cart-line__top { display: flex; justify-content: space-between; gap: 0.5rem; }
.theme-cart-line__title { font-family: var(--font-display); font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.theme-cart-line__title:hover { color: var(--color-accent); }
.theme-cart-line__remove { background: none; border: none; color: var(--color-muted-foreground); flex-shrink: 0; }
.theme-cart-line__remove:hover { color: var(--color-foreground); }
.theme-cart-line__meta { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.1rem; }
.theme-cart-line__bottom { margin-top: 0.75rem; display: flex; align-items: center; justify-content: space-between; }
.theme-cart-line__qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 9999px; }
.theme-cart-line__qty button { background: none; border: none; padding: 0.35rem; }
.theme-cart-line__qty button:hover { color: var(--color-accent); }
.theme-cart-line__qty-value { padding: 0 0.6rem; font-size: 0.75rem; font-weight: 500; }
.theme-cart-line__price { font-weight: 600; font-size: 0.875rem; }
.theme-cart-drawer__footer { border-top: 1px solid var(--color-border); padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 600; font-size: 1rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__links { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.theme-cart-drawer__link { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); background: none; border: none; }
.theme-cart-drawer__link:hover { color: var(--color-foreground); }
.theme-cart-drawer__link--danger:hover { color: var(--color-destructive); }

/* ---------- WooCommerce Checkout Block (Section 13) ---------- */
body.woocommerce-checkout .site-main { padding-bottom: 4rem; }
body.woocommerce-checkout .container-wide { max-width: 72rem; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.875rem;
	margin-bottom: 2rem;
	margin-top: 1rem;
}
@media (min-width: 640px) {
	body.woocommerce-checkout .page-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .page-title { font-size: 3rem; }
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
	font-family: var(--font-body);
	color: var(--color-foreground);
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}
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-checkout__sidebar {
	background-color: var(--color-surface-soft);
	border-radius: var(--card-radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout form.woocommerce-checkout input.input-text,
body.woocommerce-checkout form.woocommerce-checkout textarea,
body.woocommerce-checkout form.woocommerce-checkout select,
body.woocommerce-checkout .select2-container .select2-selection,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
	width: 100% !important;
	max-width: none !important;
	height: 2.5rem !important;
	min-height: 2.5rem !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0.375rem !important;
	box-shadow: none !important;
	outline: none !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-text-input input,
	body.woocommerce-checkout .wc-block-components-combobox input,
	body.woocommerce-checkout .wc-block-components-combobox-control input,
	body.woocommerce-checkout .wc-block-components-select select,
	body.woocommerce-checkout .wc-block-components-country-input select,
	body.woocommerce-checkout .wc-block-components-state-input select,
	body.woocommerce-checkout form.woocommerce-checkout input.input-text,
	body.woocommerce-checkout form.woocommerce-checkout select,
	body.woocommerce-checkout .select2-container .select2-selection {
		font-size: 0.875rem !important;
	}
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout form.woocommerce-checkout input.input-text::placeholder {
	color: var(--color-muted-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
body.woocommerce-checkout .wc-block-components-state-input select:focus,
body.woocommerce-checkout form.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout form.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
	outline: none !important;
	border-color: var(--color-accent) !important;
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-accent) !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout form.woocommerce-checkout label,
body.woocommerce-checkout .woocommerce-billing-fields label,
body.woocommerce-checkout .woocommerce-shipping-fields label {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--card-radius); }

/* ---------- Thank you page (Section 22.8) ---------- */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou { max-width: 42rem; margin: 0 auto; text-align: center; }
.theme-thankyou__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 4rem; height: 4rem; border-radius: 9999px;
	background: color-mix(in srgb, var(--color-accent) 12%, transparent);
	color: var(--color-accent);
	margin-bottom: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { text-align: left; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem;
	background: var(--color-surface-soft); border-radius: var(--card-radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { flex: 1 1 auto; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; 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); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* ---------- CSS cascade guard (Section 15.1) ---------- */
.theme-product-card .theme-product-card__quick-add { pointer-events: auto !important; z-index: 5; }

/* ---------- Mobile homepage parity (Lovable reference) ---------- */
@media (max-width: 1023px) {
	.hero-content__row { gap: 2.5rem; }
	.about-section,
	.custom-section {
		overflow-x: clip;
	}
	.about-grid,
	.custom-grid {
		display: flex;
		flex-direction: column;
		gap: 3rem;
	}
	.about-grid__image,
	.about-grid__content,
	.custom-grid__image,
	.custom-grid__content {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
	.about-image-wrap,
	.custom-image-wrap {
		overflow: hidden;
	}
	.about-image-backdrop {
		top: 0;
		left: 0;
	}
	.custom-image-backdrop {
		top: 0;
		right: 0;
	}
	.shop-filter-controls { gap: 1.5rem; }
	.shop-sort-controls {
		width: 100%;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 0.75rem;
	}
	.shop-sort-controls .theme-select {
		flex: 1 1 auto;
		min-width: 0;
		width: auto;
	}
	.contact-grid { gap: 3rem; }
	.contact-form { padding: 2rem; }
	.services-grid { gap: 1.5rem; }
}
