/* =========================================================================
   NailsBy Jaden Rayn — theme stylesheet
   ========================================================================= */

/* ---------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------ */
:root {
	--color-background: #fdf7f9;
	--color-foreground: #221825;
	--color-primary: #f04c9e;
	--color-primary-foreground: #fdf7f9;
	--color-secondary: #ddcdf4;
	--color-muted: #f6eaee;
	--color-muted-foreground: #6c5a72;
	--color-accent: #cbaff4;
	--color-border: #edd4e0;
	--color-ivory: #fdf7f9;
	--color-linen: #faeff3;
	--color-bone: #f5e5ea;
	--color-rose: #f04c9e;
	--color-destructive: #ea2e4e;
	--color-button-text: #fdf7f9;

	--font-display: 'Newsreader', 'Instrument Serif', Georgia, serif;
	--font-body: 'Switzer', system-ui, -apple-system, sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;
	--shadow-soft: 0 4px 20px -8px rgba(122, 43, 92, 0.12);
	--shadow-elevated: 0 20px 50px -18px rgba(122, 43, 92, 0.25);

	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--header-height: 64px;
	--announcement-height: 0px;
	--header-offset: calc(var(--header-height) + var(--announcement-height));
	--logo-height: 36px;
	--checkout-gap: 2rem;
}

@media (min-width: 640px) {
	:root { --logo-height: 40px; }
}
@media (min-width: 1024px) {
	:root { --header-height: 80px; --logo-height: 44px; }
}
body.has-announcement { --announcement-height: 36px; }

/* Admin bar compensation for fixed header */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

/* ---------------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-feature-settings: 'ss01', 'cv11';
	-webkit-font-smoothing: antialiased;
	/* Defeat WP wp_die() #error-page injection (max-width:700px) if a plugin/theme fatal leaks styles */
	max-width: none !important;
	width: 100% !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}
html {
	max-width: none !important;
	width: 100% !important;
	background: var(--color-background);
}
body#error-page,
#error-page {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
	font-family: var(--font-body) !important;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
}
.font-display, h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	letter-spacing: -0.014em;
	font-weight: 400;
}
p { margin: 0; }
dl, dt, dd { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; }
img {
	max-width: 100%;
	height: auto;
	display: block;
}
/* Only force cover-fill on media that sits in a positioned frame */
img.cover-img,
.hero-section__video,
.cta-band__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	max-width: none;
}
.site-logo-img {
	height: var(--logo-height);
	width: var(--logo-height);
	max-width: none;
	object-fit: cover;
}
[hidden] { display: none !important; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: 14px; }
section[id] { scroll-margin-top: var(--header-offset, 80px); }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.eyebrow {
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 500;
	margin: 0 0 1rem;
}
.about-section .eyebrow { margin-bottom: 1.25rem; }
.testimonials .eyebrow { margin-bottom: 0.75rem; }
.text-rose { color: var(--color-rose); }

/* ---------------------------------------------------------------------
   3. Buttons — parity with Lovable button.tsx (h-11 / h-12 / h-9)
   ------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	height: 44px;
	padding: 0 1.5rem;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}
.btn-lg { height: 48px; padding: 0 1.75rem; }
.btn-sm { height: 36px; padding: 0 1rem; font-size: 13px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary,
.btn-hero-primary {
	background: var(--color-primary);
	color: var(--color-button-text);
	border-color: var(--color-primary);
	text-transform: none;
}
.btn-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.btn-hero-primary:hover { background: color-mix(in srgb, var(--color-rose) 90%, transparent); }

.btn-outline {
	background: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.btn-outline:hover { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 4%, transparent); }

.btn-ghost { background: transparent; border-color: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }

.btn-hero-outline {
	background: color-mix(in srgb, white 10%, transparent);
	color: #fff;
	border-color: color-mix(in srgb, white 40%, transparent);
	backdrop-filter: blur(12px);
	text-transform: none;
}
.btn-hero-outline:hover { background: color-mix(in srgb, white 20%, transparent); }

.btn:disabled, .btn.disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}

/* ---------------------------------------------------------------------
   4. Section heading scales (Section 2.2 — per-section, not one global clamp)
   ------------------------------------------------------------------ */
.section-heading { line-height: 1.05; color: var(--color-foreground); }
.about-section .section-heading { font-size: 2.25rem; }
.shop-heading, .services-heading, .faq-heading { font-size: 2.25rem; }
.contact-title { font-size: 2.25rem; }
@media (min-width: 768px) {
	.about-section .section-heading { font-size: 3rem; }
	.shop-heading, .services-heading { font-size: 3rem; }
	.faq-heading, .contact-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.about-section .section-heading { font-size: 3.4rem; }
	.shop-heading, .services-heading { font-size: 3.2rem; }
	.contact-title { font-size: 3.4rem; }
}

/* ---------------------------------------------------------------------
   5. Scroll-reveal animation system (Section 2.1)
   Progressive enhancement: only hide content when JS is available.
   Without .js on <html>, content stays visible (avoids "empty" layout).
   ------------------------------------------------------------------ */
html.js [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
html.js [data-reveal].is-revealed,
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

body.is-customizer [data-reveal],
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html.js [data-reveal] { transition: none; opacity: 1; transform: none; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }
.animate-fade-in { animation: theme-fade-in 0.7s ease-out both; }
.animate-slide-in-bottom { animation: theme-slide-in-bottom 0.7s ease-out both; }

/* ---------------------------------------------------------------------
   6. Header
   ------------------------------------------------------------------ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.announcement-bar {
	background: var(--color-foreground);
	color: var(--color-background);
	font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
	padding: 0.5rem 1rem; text-align: center;
}
.announcement-before,
.announcement-after { opacity: 0.9; }
.announcement-code { color: var(--color-rose); margin: 0 0.35em; }

.site-header__bar { transition: background-color 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease; border-bottom: 1px solid transparent; }
.site-header:not(.is-solid) .site-header__bar:not(.is-solid) { background: transparent; }
.site-header.is-solid .site-header__bar,
.site-header__bar.is-solid {
	background: color-mix(in srgb, var(--color-ivory) 85%, transparent);
	backdrop-filter: blur(20px);
	border-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	height: 64px;
}
@media (min-width: 1024px) {
	.site-header__inner { height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; }
}

.site-header__burger {
	display: inline-flex; align-items: center; justify-content: center;
	position: relative;
	width: 40px; height: 40px; border-radius: 999px; color: #fff;
	order: 1; transition: background-color 0.3s ease, color 0.3s ease;
}
@media (min-width: 1024px) { .site-header__burger { display: none; } }
.site-header:not(.is-solid) .site-header__burger:hover,
.site-header__bar:not(.is-solid) .site-header__burger:hover { background: rgba(255,255,255,0.1); }
.site-header.is-solid .site-header__burger,
.site-header__bar.is-solid .site-header__burger { color: var(--color-foreground); }
.site-header__burger svg {
	width: 20px; height: 20px;
	transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header__burger .icon-open,
.site-header__burger .icon-close {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
}
.site-header__burger .icon-close {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(-90deg) scale(0.7);
	pointer-events: none;
}
.site-header__burger .icon-open {
	opacity: 1;
	transform: translate(-50%, -50%) rotate(0deg) scale(1);
}
.site-header__burger[aria-expanded="true"] .icon-open {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg) scale(0.7);
	pointer-events: none;
}
.site-header__burger[aria-expanded="true"] .icon-close {
	opacity: 1;
	transform: translate(-50%, -50%) rotate(0deg) scale(1);
	pointer-events: auto;
}
.site-header.is-solid .site-header__burger:hover,
.site-header__bar.is-solid .site-header__burger:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.site-header__brand {
	display: flex; align-items: center; gap: 0.75rem; order: 2; flex-shrink: 0;
}
@media (min-width: 1024px) { .site-header__brand { order: 1; justify-self: start; } }
.site-header__logo-ring {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; overflow: hidden;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.site-header:not(.is-solid) .site-header__logo-ring,
.site-header__bar:not(.is-solid) .site-header__logo-ring { box-shadow: 0 0 0 2px color-mix(in srgb, white 60%, transparent); }
.site-logo-text { font-family: var(--font-display); font-size: 20px; }
.site-header__brand-name {
	display: none;
	font-family: var(--font-display); font-size: 18px; line-height: 1; letter-spacing: -0.01em;
	color: #fff;
}
@media (min-width: 768px) { .site-header__brand-name { font-size: 20px; } }
.site-header.is-solid .site-header__brand-name,
.site-header__bar.is-solid .site-header__brand-name { color: var(--color-foreground); }
@media (min-width: 640px) { .site-header__brand-name { display: inline; } }

.site-header__nav { display: none; order: 3; }
@media (min-width: 1024px) { .site-header__nav { display: flex; justify-self: center; order: 2; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list a {
	position: relative; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
	transition: color 0.3s ease;
}
.theme-nav-list a:hover { color: #fff; }
.theme-nav-list a::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -0.375rem;
	height: 2px; border-radius: 999px; background: var(--color-rose);
	opacity: 0; transform: scaleX(0); transition: opacity 0.3s ease, transform 0.3s ease;
}
.theme-nav-list a.is-active { color: #fff; }
.theme-nav-list a.is-active::after { opacity: 1; transform: scaleX(1); }
.site-header.is-solid .theme-nav-list a,
.site-header__bar.is-solid .theme-nav-list a { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.site-header.is-solid .theme-nav-list a:hover,
.site-header__bar.is-solid .theme-nav-list a:hover,
.site-header.is-solid .theme-nav-list a.is-active,
.site-header__bar.is-solid .theme-nav-list a.is-active { color: var(--color-primary); }
.site-header.is-solid .theme-nav-list a::after,
.site-header__bar.is-solid .theme-nav-list a::after { background: var(--color-primary); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; justify-self: end; order: 3; }
.site-header__cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 999px; color: #fff;
}
.site-header.is-solid .site-header__cart-btn,
.site-header__bar.is-solid .site-header__cart-btn { color: var(--color-foreground); }
.site-header.is-solid .site-header__cart-btn:hover,
.site-header__bar.is-solid .site-header__cart-btn:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	background: var(--color-primary); color: var(--color-button-text);
	font-size: 12px; font-weight: 500; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-nav {
	display: grid;
	grid-template-rows: 0fr;
	border-top: 1px solid transparent;
	background: color-mix(in srgb, var(--color-ivory) 95%, transparent);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		grid-template-rows 0.48s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.35s ease,
		visibility 0.35s ease,
		border-color 0.35s ease;
}
.site-header__mobile-nav > .container-wide {
	overflow: hidden;
	min-height: 0;
}
.site-header__mobile-nav.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	border-top-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
@media (min-width: 1024px) {
	.site-header__mobile-nav { display: none !important; }
}

.theme-nav-list--mobile,
.site-header__mobile-nav .theme-nav-list {
	flex-direction: column;
	align-items: stretch;
	padding: 1rem 0;
	gap: 0;
}
.theme-nav-list--mobile a,
.site-header__mobile-nav .theme-nav-list a {
	display: block;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	opacity: 0;
	transform: translateY(12px);
	transition:
		color 0.25s ease,
		opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-nav-list--mobile a:hover,
.theme-nav-list--mobile a.is-active,
.site-header__mobile-nav .theme-nav-list a:hover,
.site-header__mobile-nav .theme-nav-list a.is-active { color: var(--color-primary); }
.theme-nav-list--mobile li:last-child a,
.site-header__mobile-nav .theme-nav-list li:last-child a { border-bottom: none; }
.theme-nav-list--mobile a::after,
.site-header__mobile-nav .theme-nav-list a::after { display: none; } /* no desktop underline on mobile list */

/* Staggered reveal when open */
.site-header__mobile-nav.is-open .theme-nav-list li a {
	opacity: 1;
	transform: translateY(0);
}
.site-header__mobile-nav.is-open .theme-nav-list li:nth-child(1) a { transition-delay: 0.06s; }
.site-header__mobile-nav.is-open .theme-nav-list li:nth-child(2) a { transition-delay: 0.1s; }
.site-header__mobile-nav.is-open .theme-nav-list li:nth-child(3) a { transition-delay: 0.14s; }
.site-header__mobile-nav.is-open .theme-nav-list li:nth-child(4) a { transition-delay: 0.18s; }
.site-header__mobile-nav.is-open .theme-nav-list li:nth-child(5) a { transition-delay: 0.22s; }
.site-header__mobile-nav.is-open .theme-nav-list li:nth-child(6) a { transition-delay: 0.26s; }
.site-header__mobile-nav.is-open .theme-nav-list li:nth-child(n+7) a { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
	.site-header__mobile-nav,
	.site-header__burger svg,
	.site-header__mobile-nav .theme-nav-list a {
		transition: none !important;
	}
	.site-header__mobile-nav .theme-nav-list a {
		opacity: 1;
		transform: none;
	}
}

body.theme-no-hero .site-header__bar,
.site-header.is-solid .site-header__bar { position: relative; }

/* Hero fills the viewport under the fixed header on the home only. */
body:not(.theme-no-hero) .site-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-offset); }

/* ---------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------ */
.hero-section {
	position: relative; min-height: 100vh; width: 100%;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
}
.hero-section__scrim-radial {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(at center, color-mix(in srgb, #17101c 35%, transparent) 0%, color-mix(in srgb, #17101c 60%, transparent) 70%, color-mix(in srgb, #17101c 78%, transparent) 100%);
}
.hero-section__scrim-dark { position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.hero-section__content {
	position: relative; z-index: 10; text-align: center; color: #fff;
	/* Only vertical — keep .container-wide horizontal inset */
	padding-top: 10rem; padding-bottom: 6rem;
}
@media (min-width: 1024px) { .hero-section__content { padding-top: 13rem; padding-bottom: 8rem; } }

.hero-section__badge-wrap { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.hero-section__badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.375rem 1rem; border-radius: 999px;
	background: color-mix(in srgb, white 10%, transparent);
	border: 1px solid color-mix(in srgb, white 30%, transparent);
	backdrop-filter: blur(12px);
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.hero-section__badge svg { color: var(--color-rose); width: 14px; height: 14px; }

.hero-section__title {
	font-family: var(--font-display); color: #fff; line-height: 1.02; letter-spacing: -0.02em;
	margin: 0 auto; max-width: 64rem;
	font-size: clamp(2rem, 5.4vw, 4.4rem);
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55));
}
.hero-section__title-break { display: none; }
@media (min-width: 640px) { .hero-section__title-break { display: block; } }
.hero-section__title-emphasis { font-style: italic; color: var(--color-rose); }

.hero-section__subtitle { margin: 1.75rem auto 0; max-width: 42rem; font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.625; }
@media (min-width: 640px) { .hero-section__subtitle { font-size: 15px; } }

.hero-section__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.hero-section__actions .btn {
	width: auto;
	max-width: 100%;
	align-self: center;
}
@media (min-width: 640px) {
	.hero-section__actions { flex-direction: row; gap: 1rem; }
}

/* ---------------------------------------------------------------------
   8. About section
   ------------------------------------------------------------------ */
.about-section { background: var(--color-linen); padding: 6rem 0; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-section__grid {
	display: grid; gap: 3rem; align-items: stretch;
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
	.about-section__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
	}
	.about-section__media { grid-column: span 5; min-width: 0; }
	.about-section__body { grid-column: span 7; min-width: 0; padding-left: 1.5rem; }
}

.about-section__media { display: flex; }
.about-section__image-wrap {
	position: relative; width: 100%; min-height: 520px; overflow: hidden;
	border-radius: 1rem; background: var(--color-bone); box-shadow: var(--shadow-elevated);
	aspect-ratio: 4/5;
}
@media (min-width: 1024px) { .about-section__image-wrap { min-height: 0; aspect-ratio: auto; height: 100%; } }
.about-section__image { object-position: center top; }
.about-section__badge {
	position: absolute; top: 1rem; left: 1rem;
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.25rem 0.75rem; border-radius: 999px;
	background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.about-section__badge-dot { width: 6px; height: 6px; border-radius: 999px; background: #fff; }

.about-section__quote {
	margin-top: 2rem; font-family: var(--font-display); font-style: italic; font-size: 1.25rem;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	line-height: 1.35; border-left: 2px solid color-mix(in srgb, var(--color-primary) 70%, transparent); padding-left: 1.25rem;
}
@media (min-width: 768px) { .about-section__quote { font-size: 1.5rem; } }
.about-section__paragraphs { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 65ch; }
@media (min-width: 768px) { .about-section__paragraphs { font-size: 16px; } }

.about-section__socials { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.about-section__social-link {
	display: inline-flex; align-items: center; gap: 0.5rem; height: 44px; padding: 0 1.25rem;
	border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background: var(--color-ivory); font-size: 14px; font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.about-section__social-link:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.about-section__social-link svg,
.theme-social-icon,
.contact-section__icon svg,
.site-footer__social-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	display: block;
}

.about-section__stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); padding-top: 2rem; }
.about-section__stat-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
@media (min-width: 768px) { .about-section__stat-value { font-size: 1.75rem; } }
.about-section__stat-label { margin-top: 0.25rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ---------------------------------------------------------------------
   9. Shop section
   ------------------------------------------------------------------ */
.shop-section { background: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-section__header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-section__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; }
.shop-section__subtitle { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 36rem; }
@media (min-width: 768px) { .shop-section__subtitle { font-size: 15px; } }

.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.shop-section__search input {
	width: 100%; height: 44px; padding: 0 1rem 0 2.75rem; border-radius: 999px;
	background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	font-size: 14px; color: var(--color-foreground);
}
.shop-section__search input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-section__search input:focus { outline: none; border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }

.shop-section__pills { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.shop-pill {
	padding: 0 1.25rem; height: 40px; border-radius: 999px; font-size: 14px; font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background: transparent; color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.shop-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-product-grid {
	display: grid; grid-template-columns: 1fr; gap: 1.5rem 1.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, minmax(0,1fr)); gap: 2.5rem 1.5rem; } }

.shop-card-slot.is-hidden-filter,
.shop-card-slot.is-hidden-more { display: none !important; }

.shop-section__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.shop-section__more { margin-top: 3rem; display: flex; justify-content: center; }

/* Product card */
.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	display: flex; flex-direction: column; height: 100%; width: 100%;
}
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1/1; background: var(--color-linen);
	border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem;
}
.theme-product-card__image {
	opacity: 0; transition: opacity 0.4s ease, transform 1.4s cubic-bezier(0.22,0.61,0.36,1);
	pointer-events: none;
}
.theme-product-card__image.is-active { opacity: 1; }
.theme-product-card:hover .theme-product-card__image.is-active { transform: scale(1.04); }
.theme-card-link { position: absolute; inset: 0; z-index: 2; }
/* Overlay link captures empty space; interactive controls must stay clickable above it */
.theme-product-card__image-wrapper > *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__nav,
.theme-product-card__nav *,
.theme-product-card__quick-actions,
.theme-product-card__quick-actions a,
.theme-product-card__quick-actions button {
	pointer-events: auto;
}
.theme-product-card__scrim {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 35%, transparent), transparent 60%);
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }

.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	font-size: 11px; font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 999px;
	background: var(--color-foreground); color: var(--color-background);
}

.theme-product-card__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
	width: 32px; height: 32px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(6px);
	color: var(--color-foreground); opacity: 0; transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	cursor: pointer;
}
.theme-product-card__nav--prev { left: 0.5rem; }
.theme-product-card__nav--next { right: 0.5rem; }
.theme-product-card:hover .theme-product-card__nav { opacity: 1; }
.theme-product-card__nav:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3; display: flex; gap: 0.25rem; }
.theme-product-card__dot { height: 4px; width: 4px; border-radius: 999px; background: color-mix(in srgb, var(--color-background) 60%, transparent); transition: width 0.2s ease, background-color 0.2s ease; }
.theme-product-card__dot.is-active { width: 16px; background: var(--color-background); }

.theme-product-card__quick-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 3;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart {
	flex: 1; min-height: 40px; height: 40px; padding: 0 0.5rem; border-radius: 999px !important;
	display: inline-flex !important; align-items: center; justify-content: center; gap: 0.5rem;
	background: color-mix(in srgb, var(--color-background) 95%, transparent) !important; color: var(--color-foreground) !important;
	font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0.01em;
	backdrop-filter: blur(6px); border: none !important;
}
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart:hover { background: var(--color-primary) !important; color: var(--color-primary-foreground) !important; }
.theme-product-card__eye-btn {
	width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent); color: var(--color-foreground);
	backdrop-filter: blur(6px); transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-product-card__eye-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__info { display: block; padding: 0 0.125rem; flex: 1; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: 0.375rem; font-weight: 500; }
.theme-product-card__title {
	font-family: var(--font-display); font-size: 1.15rem; line-height: 1.375; color: var(--color-foreground);
	transition: color 0.3s ease; min-width: 0; font-weight: 400;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.4rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }

/* ---------------------------------------------------------------------
   10. Marquee
   ------------------------------------------------------------------ */
.marquee-section { background: var(--color-primary); padding: 1.25rem 0; overflow: hidden; }
.marquee-section__track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; }
.marquee-section__item {
	display: flex; align-items: center; flex-shrink: 0;
	color: color-mix(in srgb, var(--color-primary-foreground) 95%, transparent);
	font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.01em;
}
@media (min-width: 768px) { .marquee-section__item { font-size: 1.25rem; } }
.marquee-section__text { margin: 0 1.5rem; }
@media (min-width: 768px) { .marquee-section__text { margin: 0 2rem; } }
.marquee-section__dot { color: color-mix(in srgb, var(--color-primary-foreground) 50%, transparent); font-size: 14px; }

/* ---------------------------------------------------------------------
   11. Services
   ------------------------------------------------------------------ */
.services-section { background: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section__intro { max-width: 48rem; margin-bottom: 3.5rem; }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.services-section__card {
	background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column;
	transition: border-color 0.2s ease;
}
.services-section__card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.services-section__image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.services-section__image { transition: transform 0.7s ease; }
.services-section__card:hover .services-section__image { transform: scale(1.05); }
.services-section__icon-badge {
	position: absolute; top: 1rem; left: 1rem; width: 44px; height: 44px; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-primary); color: var(--color-primary-foreground);
	box-shadow: var(--shadow-elevated); transition: transform 0.3s ease;
}
.services-section__card:hover .services-section__icon-badge { transform: rotate(20deg); }
.services-section__body { padding: 1.75rem; }
@media (min-width: 768px) { .services-section__body { padding: 2rem; } }
.services-section__card-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.services-section__card-text { font-size: 14px; line-height: 1.65; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* ---------------------------------------------------------------------
   12. FAQ + testimonials
   ------------------------------------------------------------------ */
.faq-section { background: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section__stack { display: flex; flex-direction: column; gap: 5rem; }
@media (min-width: 768px) { .faq-section__stack { gap: 6rem; } }
.faq-section__grid {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem;
}
@media (min-width: 1024px) {
	.faq-section__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 3rem;
	}
	.faq-section__intro { grid-column: span 4; min-width: 0; }
	.faq-section__accordion { grid-column: span 8; min-width: 0; }
}
.faq-section__subtitle { margin-top: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 24rem; }

.faq-section__side-card { display: none; margin-top: 2.5rem; position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: var(--color-linen); padding: 1.75rem; }
@media (min-width: 1024px) { .faq-section__side-card { display: block; } }
.faq-section__side-glow { position: absolute; top: -2.5rem; right: -2.5rem; width: 8rem; height: 8rem; border-radius: 999px; background: color-mix(in srgb, var(--color-secondary) 100%, transparent); filter: blur(40px); }
.faq-section__side-card-inner { position: relative; }
.faq-section__side-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1.25rem; }
.faq-section__side-card-inner h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.faq-section__side-card-inner p { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; margin-bottom: 1.5rem; }

.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; color: var(--color-primary); display: inline-flex; }
.faq-item__icon .icon-minus { display: none; }
.faq-item.is-open .faq-item__icon .icon-plus { display: none; }
.faq-item.is-open .faq-item__icon .icon-minus { display: block; }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__panel p { padding: 0 2rem 1.5rem 0; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.65; max-width: 42rem; }
@media (min-width: 768px) { .faq-item__panel p { font-size: 15px; } }

/* Testimonials */
.testimonials__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.testimonials__title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; color: var(--color-foreground); }
@media (min-width: 768px) { .testimonials__title { font-size: 2.25rem; } }
.testimonials__arrows { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.testimonials__arrow {
	width: 40px; height: 40px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s ease, color 0.2s ease;
}
.testimonials__arrow:hover { border-color: var(--color-primary); color: var(--color-primary); }

.testimonials__viewport {
	overflow: hidden;
	margin: 0 -0.75rem;
	touch-action: pan-y;
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
}
.testimonials__viewport.is-dragging { cursor: grabbing; }
.testimonials__track {
	display: flex;
	transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
	will-change: transform;
}
.testimonials__track.is-dragging { transition: none; }
.testimonials__slide { flex: 0 0 100%; padding: 0 0.75rem; }
@media (min-width: 768px) { .testimonials__slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .testimonials__slide { flex: 0 0 25%; } }
.testimonials__card { height: 100%; background: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; }
.testimonials__stars { display: flex; gap: 0.125rem; margin-bottom: 1rem; color: var(--color-primary); }
.testimonials__stars svg.is-filled { fill: currentColor; }
.testimonials__text { font-size: 14px; line-height: 1.65; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); flex: 1; }
.testimonials__meta { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.testimonials__name { font-size: 14px; font-weight: 500; color: var(--color-foreground); }
.testimonials__city { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

.testimonials__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.testimonials__dot { height: 6px; width: 6px; border-radius: 999px; background: color-mix(in srgb, var(--color-foreground) 25%, transparent); transition: width 0.2s ease, background-color 0.2s ease; }
.testimonials__dot.is-active { width: 32px; background: var(--color-primary); }

/* ---------------------------------------------------------------------
   13. CTA band
   ------------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; }
.cta-band__scrim-radial {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(at center, color-mix(in srgb, #17101c 35%, transparent) 0%, color-mix(in srgb, #17101c 60%, transparent) 70%, color-mix(in srgb, #17101c 78%, transparent) 100%);
}
.cta-band__scrim-dark { position: absolute; inset: 0; pointer-events: none; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.cta-band__content {
	position: relative; z-index: 10; text-align: center; color: #fff;
	/* Only vertical — keep .container-wide horizontal inset */
	padding-top: 7rem; padding-bottom: 7rem;
}
@media (min-width: 768px) { .cta-band__content { padding-top: 10rem; padding-bottom: 10rem; } }
.cta-band__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-weight: 500; max-width: 100%; }
.cta-band__rule { display: inline-block; height: 1px; width: 2rem; background: color-mix(in srgb, var(--color-rose) 80%, transparent); flex-shrink: 0; }
.cta-band__title {
	font-family: var(--font-display); color: #fff; line-height: 1.05; letter-spacing: -0.02em;
	margin: 0 auto; max-width: 56rem; width: 100%;
	font-size: clamp(2rem, 5.4vw, 4rem);
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55));
	overflow-wrap: anywhere; word-wrap: break-word;
}
.cta-band__title em { font-style: italic; color: var(--color-rose); }
.cta-band__body {
	margin: 1.75rem auto 0;
	max-width: min(36rem, 100%);
	width: 100%;
	font-size: 15px;
	color: rgba(255,255,255,0.85);
	line-height: 1.6;
	overflow-wrap: anywhere;
	word-wrap: break-word;
	box-sizing: border-box;
}
.cta-band__action { margin-top: 2.5rem; }

/* ---------------------------------------------------------------------
   14. Contact
   ------------------------------------------------------------------ */
.contact-section { background: var(--color-linen); padding: 6rem 0 3rem; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0 4rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }
.contact-section__info { display: flex; flex-direction: column; height: 100%; }
.contact-section__info > .eyebrow { margin-bottom: 1rem; }
.contact-section__body {
	margin-top: 1.5rem; font-size: 15px;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	line-height: 1.625; max-width: 28rem;
}
.contact-section__list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__link { display: inline-flex; align-items: center; gap: 1rem; transition: color 0.2s ease; }
.contact-section__link:hover { color: var(--color-primary); }
.contact-section__icon {
	width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); transition: border-color 0.2s ease;
}
.contact-section__link:hover .contact-section__icon { border-color: var(--color-primary); }
.contact-section__link-text { display: flex; flex-direction: column; text-align: left; gap: 0.125rem; }
.contact-section__link-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-section__link-value { font-size: 15px; font-weight: 500; }

/* Lovable: mt-auto pt-10 wrapper around quote card */
.contact-section__quote-wrap { margin-top: auto; padding-top: 2.5rem; }
.contact-section__quote-card {
	position: relative; border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: color-mix(in srgb, var(--color-ivory) 70%, transparent);
	padding: 1.5rem;
}
.contact-section__quote-badge {
	position: absolute; top: -0.75rem; left: 1.5rem; display: inline-flex; align-items: center; gap: 0.375rem;
	padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.contact-section__quote {
	font-family: var(--font-display); font-style: italic;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	font-size: 1.125rem; line-height: 1.375;
	border-left: 2px solid color-mix(in srgb, var(--color-primary) 70%, transparent);
	padding-left: 1.25rem;
}
@media (min-width: 768px) { .contact-section__quote { font-size: 1.25rem; } }
.contact-section__quote-note {
	margin-top: 0.75rem; padding-left: 1.25rem; font-size: 13px;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent); letter-spacing: 0.025em;
}

.contact-section__form {
	background: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) {
	.contact-section__quote-card { padding: 1.75rem; }
	.contact-section__form { padding: 2rem; }
}
.contact-section__form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.form-field-row { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: end; }
@media (min-width: 640px) { .form-field-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; min-width: 0; }
.form-field label { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; min-height: 1.1em; line-height: 1.1; }
.form-field input, .form-field textarea, .form-field select {
	width: 100%; box-sizing: border-box;
	height: 48px; min-height: 48px; max-height: 48px;
	padding: 0 1rem; margin: 0; background: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); border-radius: 0.5rem;
	font-size: 14px; line-height: normal; color: var(--color-foreground);
	transition: border-color 0.2s ease;
}
.form-field textarea {
	height: auto; min-height: 0; max-height: none;
	line-height: 1.5; padding: 0.75rem 1rem; resize: none;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--color-primary); }
.select-wrap { position: relative; display: block; width: 100%; height: 48px; }
.select-wrap select {
	appearance: none; -webkit-appearance: none; -moz-appearance: none;
	padding-right: 2.5rem; line-height: normal;
	display: block; width: 100%;
}
.select-wrap svg { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); width: 16px; height: 16px; }

.contact-section__form-actions { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
.contact-section__submit { width: 100%; }
.contact-section__form-note { text-align: center; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* ---------------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------------ */
.site-footer { background: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__logo,
img.site-footer__logo {
	height: 48px !important;
	width: 48px !important;
	max-width: none;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); line-height: 1.2; }
.site-footer__tagline {
	margin-top: 1rem; font-size: 14px;
	color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	line-height: 1.625; max-width: 20rem;
}
.site-footer__socials { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.site-footer__social-btn {
	width: 36px; height: 36px; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	display: inline-flex; align-items: center; justify-content: center;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer__social-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.site-footer__heading { font-family: var(--font-display); font-size: 1.125rem; margin: 0 0 1rem; color: var(--color-foreground); font-weight: 400; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__col:last-child .site-footer__list { gap: 0.75rem; }
.site-footer__list a, .site-footer__list button {
	font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	transition: color 0.2s ease; text-align: left;
}
.site-footer__list a:hover, .site-footer__list button:hover { color: var(--color-primary); }
.site-footer__email {
	display: inline-flex; align-items: center; gap: 0.5rem;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent) !important;
}
.site-footer__email svg { width: 16px; height: 16px; flex-shrink: 0; }
.site-footer__muted { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-size: 14px; }
.site-footer__bottom {
	margin-top: 3.5rem; padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between;
	gap: 0.75rem; font-size: 12px;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__bottom a { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; }
.site-footer__bottom a:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------
   16. Promo banner
   ------------------------------------------------------------------ */
.theme-promo-banner {
	position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 50;
	background: var(--color-foreground); color: var(--color-background); border-radius: 1rem;
	box-shadow: var(--shadow-elevated); padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem;
	animation: theme-fade-in 0.4s ease-out both;
}
@media (min-width: 640px) { .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-banner__text { font-size: 13px; line-height: 1.5; flex: 1; margin: 0; }
@media (min-width: 640px) { .theme-promo-banner__text { font-size: 15px; } }
.theme-promo-banner__highlight { color: var(--color-rose); font-weight: 600; }
.theme-promo-banner__dismiss { flex-shrink: 0; margin-top: 0.125rem; padding: 0.375rem; border-radius: 999px; color: inherit; }
.theme-promo-banner__dismiss:hover { background: color-mix(in srgb, white 10%, transparent); }
.theme-promo-banner.is-hidden { display: none; }

/* ---------------------------------------------------------------------
   17. 404 page — parity with Lovable NotFound.tsx
   ------------------------------------------------------------------ */
.theme-404 {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-muted);
	padding-top: var(--header-offset);
}
.theme-404__inner { text-align: center; padding-top: 4rem; padding-bottom: 4rem; }
.theme-404__code {
	font-family: var(--font-body);
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
	letter-spacing: 0;
}
.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); }

.theme-page-shell { padding-top: 6rem; padding-bottom: 6rem; }
.page-title { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 1.5rem; }

/* =========================================================================
   18. WooCommerce — single product page
   ========================================================================= */
.single-product-main {
	background: var(--color-ivory);
	padding: 6rem 0 0;
}
@media (min-width: 1024px) {
	.single-product-main { padding-top: 7rem; }
}
body.theme-no-hero .single-product-main { padding-top: 6rem; }
@media (min-width: 1024px) {
	body.theme-no-hero .single-product-main { padding-top: 7rem; }
}
.breadcrumb-trail { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.breadcrumb-trail a { transition: color 0.2s ease; }
.breadcrumb-trail a:hover { color: var(--color-primary); }
.breadcrumb-trail__sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-trail__current { color: var(--color-foreground); }
.breadcrumb-trail__cat a { color: inherit; }

.single-product-grid.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 5rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) {
	.single-product-grid.theme-product-layout {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
	}
	.theme-product-gallery { grid-column: span 7; }
	.theme-product-info { grid-column: span 5; }
}

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; align-self: start; } }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; width: 100%; background: var(--color-linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
#product-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.625rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb {
	position: relative; aspect-ratio: 1/1; background: var(--color-linen); border-radius: 0.375rem; overflow: hidden;
	border: 2px solid transparent; transition: border-color 0.2s ease;
}
.theme-product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:not(.is-active):hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }

.theme-product-info__category { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.product-title.theme-product-info__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.05;
	color: var(--color-foreground);
	margin-bottom: 1rem;
	letter-spacing: -0.014em;
}
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-info__title { font-size: 2.6rem; } }
.theme-product-info__price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-info__price ins { text-decoration: none; }
.theme-product-info__price del { opacity: 0.5; margin-right: 0.5em; }
.theme-product-info__stock.is-out-of-stock { display: inline-block; margin-bottom: 1.5rem; font-size: 13px; font-weight: 600; color: var(--color-destructive); }
.theme-product-info__description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p { margin-bottom: 1em; }

.theme-quantity-wrapper__label { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.625rem; }
.theme-quantity-wrapper__control { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input {
	width: 44px; text-align: center; font-size: 14px; font-weight: 500; border: none; background: transparent;
	-moz-appearance: textfield; padding: 0.625rem 0;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { margin-bottom: 1.5rem; }
.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.theme-quantity-wrapper { margin-bottom: 1.5rem; }
.theme-single-product-actions { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; }
@media (min-width: 640px) { .theme-single-product-actions { flex-direction: row; } }
.single-product .single_add_to_cart_button,
.single-product .theme-buy-now-button { flex: 1 1 auto; min-width: 160px; width: 100%; }

.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__details-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-info__details ul { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-product-info__details li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; gap: 0.75rem; }
.theme-product-info__details li::before { content: ''; width: 4px; height: 4px; margin-top: 0.5rem; border-radius: 999px; background: var(--color-primary); flex-shrink: 0; }

.theme-product-info__trust-row { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-trust-badge { text-align: center; }
.theme-trust-badge svg { margin: 0 auto 0.5rem; color: var(--color-primary); display: block; }
.theme-trust-badge span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* Variable product attribute table (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1rem; }
.theme-attr-select-hidden,
.single-product .variations td.value select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
.single-product .variations td.value { position: relative; }
.single-product .variations td.value .reset_variations { display: none; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	font-size: 13px; font-weight: 500; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-attr-pill:hover { border-color: var(--color-primary); }
.theme-attr-pill.is-selected { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-foreground); }
.single_variation_wrap { margin-top: 1rem; }

/* Related products */
.related-products-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.related-products-section__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; }
.related-products-section__title { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; color: var(--color-foreground); }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }
.related-products-section__view-all { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; }
@media (min-width: 640px) { .related-products-section__view-all { display: inline-flex; } }
.related-products-section__view-all:hover { color: var(--color-primary); }
.related-products-section .theme-product-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 1.5rem;
}
@media (min-width: 1024px) {
	.related-products-section .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Never leave related cards stuck invisible from scroll-reveal */
.related-products-section [data-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

/* ---------------------------------------------------------------------
   19. 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-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}

/* Card compact button override — after the global rules (Section 11.4.1). */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 40px !important;
	height: 40px !important;
	padding: 0 0.5rem !important;
	border-radius: 999px !important;
}

.single-product .single_add_to_cart_button.btn-lg,
.single-product .theme-buy-now-button.btn-lg {
	min-height: 48px !important;
	height: 48px !important;
	padding: 0 1.75rem !important;
}

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (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; }

/* ---------------------------------------------------------------------
   20. WooCommerce notices (Section 14.1) — scoped, never global
   ------------------------------------------------------------------ */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message,
#theme-cart-drawer .woocommerce-info,
#theme-cart-drawer .woocommerce-error { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 12%, transparent);
	border-radius: 0.75rem; padding: 1rem 1.5rem; font-size: 14px; color: var(--color-foreground);
	list-style: none; margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: color-mix(in srgb, var(--color-destructive) 40%, transparent); color: var(--color-destructive); }

/* ---------------------------------------------------------------------
   21. Off-canvas cart drawer (Section 12)
   ------------------------------------------------------------------ */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
	background: var(--color-ivory); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	opacity: 0; transform: translateY(20px); pointer-events: none;
	transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}
body.cart-open #theme-cart-drawer {
	opacity: 1; transform: translateY(0); pointer-events: auto;
}
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 999px; transition: background-color 0.2s ease; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 14px; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-thumb { width: 80px; height: 96px; flex-shrink: 0; border-radius: 0.5rem; overflow: hidden; background: var(--color-bone); }
.theme-cart-drawer__item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-body { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-size: 14px; font-weight: 500; 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 { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.125rem; }
.theme-cart-drawer__item-variation { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-drawer__qty-btn:hover { background: var(--color-bone); }
.theme-cart-drawer__qty-value { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); transition: color 0.2s ease; }
.theme-cart-drawer__remove:hover { color: var(--color-destructive); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* ---------------------------------------------------------------------
   22. WooCommerce checkout block (Section 13)
   ------------------------------------------------------------------ */
body.woocommerce-checkout .site-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title { max-width: 80rem; margin: 0 auto 1.5rem; }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@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, 2rem);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-components-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;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 0.5rem;
	background: var(--color-ivory);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary);
	box-shadow: none;
	outline: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }

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;
	font-family: var(--font-body) !important;
	font-weight: 500 !important;
	text-transform: none !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.75rem;
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-linen);
	border-radius: var(--card-radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 0.5rem;
}

/* ---------------------------------------------------------------------
   23. Other WooCommerce pages: width & alignment parity (Section 13.7)
   ------------------------------------------------------------------ */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 80rem; margin: 0 auto; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 80rem; margin: 0 auto 1.5rem; }

/* ---------------------------------------------------------------------
   24. Thank-you page (Section 22.8)
   ------------------------------------------------------------------ */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-thankyou { max-width: 60rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.75rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	border-right: 1px solid color-mix(in srgb, var(--color-foreground) 12%, transparent);
	padding-right: 1.5rem; font-size: 14px;
}
body.theme-thankyou-page .woocommerce-order-overview li:last-child { border-right: none; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px; overflow-wrap: break-word; border: 1px solid color-mix(in srgb, var(--color-foreground) 12%, transparent);
	border-radius: 0.75rem; padding: 1.25rem; font-style: normal;
}
body.theme-thankyou-page .woocommerce-order-details { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px;
}
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 color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* ---------------------------------------------------------------------
   25. Cover-image exclusions — header logo keeps --logo-height; footer is 48px
   ------------------------------------------------------------------ */
img.site-logo-img:not(.site-footer__logo) {
	height: var(--logo-height);
	width: var(--logo-height);
	max-width: none;
	object-fit: cover;
}
