/* ==========================================================================
   Lovings Scents & More — theme stylesheet
   Design tokens mirror src/index.css / tailwind.config.ts exactly.
   ========================================================================== */

/* ---------------------------- ROOT TOKENS ------------------------------ */
:root {
	--font-display: 'Halant', serif;
	--font-body: 'Fira Sans', sans-serif;

	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgb(49 32 23 / 0.10);
	--shadow-elevated: 0 8px 40px -8px rgb(49 32 23 / 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 11px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--color-button-text: var(--color-primary-foreground);

	/* Colors are injected as inline <style> by functions.php (Section 22.9):
	   --color-background, --color-foreground, --color-card, --color-primary,
	   --color-primary-foreground, --color-secondary, --color-muted-foreground,
	   --color-border, --color-rosa, --color-marigold, --color-teal,
	   --color-butter, --color-surface-deep, --color-surface-deep-fg,
	   --logo-height. Derived tokens below. */
	--color-secondary-foreground: var(--color-foreground);
	/* --color-muted injected via functions.php (src/index.css hsl(30 18% 80%)) */
	--color-accent: var(--color-marigold);
	--color-accent-foreground: var(--color-foreground);
	--color-destructive: #c32222;
	--color-destructive-foreground: #ffffff;
	--color-input: var(--color-border);
	--color-ring: var(--color-primary);
	--checkout-gap: 2.5rem;
	--header-height: 80px;
}

/* ---------------------------- RESET / BASE ------------------------------ */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.5;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.theme-product-card__image):not(.theme-product-img):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
}
.theme-product-card__image-wrapper,
.theme-card-image-link,
.theme-cart-item-image {
	position: relative;
	display: block;
	overflow: hidden;
}
.theme-card-image-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.cover-img, .theme-product-card__image, .theme-product-img, .theme-cart-item-image img {
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.theme-product-card__image-wrapper .theme-product-card__image {
	position: absolute;
	inset: 0;
}
.theme-brand-logo-wrap {
	display: flex;
	align-items: center;
	height: var(--logo-height);
	max-height: var(--logo-height);
}
.site-logo-img {
	width: auto !important;
	height: 100% !important;
	max-height: 100%;
	object-fit: contain;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; }

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

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

.theme-text-center { text-align: center; }

/* ---------------------------- ANIMATIONS -------------------------------- */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-reveal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-reveal-up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-spin { to { transform: rotate(360deg); } }

.animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-item[data-reveal="fade"] { transform: none; }
.reveal-item[data-reveal="fade"].is-visible { transform: none; }

/* Above-the-fold hero content must never stay hidden before IO runs. */
.theme-hero .reveal-item {
	opacity: 1;
	transform: none;
}

/* Customizer preview fallback (Section 2.1 rule 5) — never hide content while editing. */
body.is-customizer .reveal-item,
body.is-customizer .reveal-item.is-visible {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
	* { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

.theme-link-underline {
	position: relative;
	display: inline-block;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.theme-link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

/* ---------------------------- BUTTONS ------------------------------ */
.theme-btn-invert,
.theme-btn-solid,
.theme-btn-outline,
.theme-btn-primary,
.theme-btn-rosa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 500;
	padding: 1.15rem 2.75rem;
	transition: opacity 0.2s ease, background-color 0.2s ease;
	border: none;
	cursor: pointer;
}
.theme-btn-invert { background: var(--color-background); color: var(--color-foreground); }
.theme-btn-invert:hover { background: color-mix(in srgb, var(--color-background) 90%, transparent); }
.theme-btn-solid { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-solid:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.theme-btn-rosa { background: var(--color-rosa); color: var(--color-background); }
.theme-btn-rosa:hover { background: color-mix(in srgb, var(--color-rosa) 90%, transparent); }
.theme-btn-primary {
	background: var(--color-foreground);
	color: var(--color-background);
	border-radius: 9999px;
	padding: 1rem 1.5rem;
	width: 100%;
	font-family: var(--font-body);
	font-size: 11px;
}
.theme-btn-primary:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.theme-btn-outline {
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	border-radius: 9999px;
	padding: 0.85rem 1.5rem;
	font-family: var(--font-body);
	font-size: 12px;
	text-transform: none;
	letter-spacing: normal;
}
.theme-btn-outline:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-btn-block { width: 100%; display: flex; }

/* Hero / CTA buttons render sentence-case per source; the uppercase style
   above is intentional here (source uses uppercase tracked labels), so no
   override is required — but per Section 2.2 rule 4, single-product title
   and add-to-cart text stay in the button's OWN case, not a global rule. */

/* ---------------------------- KICKERS / HEADINGS ------------------------- */
.theme-kicker {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}
.theme-kicker--teal { color: var(--color-teal); }
.theme-kicker--marigold { color: var(--color-marigold); }
.theme-kicker--rosa { color: var(--color-rosa); }
.theme-kicker--bold { font-weight: 600; }

.theme-heading-italic-accent { display: block; font-style: italic; color: var(--color-marigold); }
.theme-accent-rosa { color: var(--color-rosa) !important; }

.theme-section { background: var(--color-background); }
.theme-section-heading-block { text-align: center; margin-bottom: 2.5rem; }

/* Section vertical rhythm — matches Lovable py-16/md:py-20 and py-16/md:py-24 */
.theme-collections-section .container-wide {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-collections-section .container-wide {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.theme-collections-section .theme-section-heading-block { margin-bottom: 2.5rem; }

.theme-featured-products .container-wide {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-featured-products .container-wide {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}
.theme-featured-products .theme-section-heading-block { margin-bottom: 3.5rem; }
.theme-featured-products .theme-view-all-wrap { margin-top: 3.5rem; }
.theme-featured-products .theme-section-heading-block { margin-bottom: 3.5rem; }

/* Per-section heading scales (Section 2.2 rule 5) */
.collections-heading { font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .collections-heading { font-size: 2.25rem; } }

.featured-heading { font-size: 1.875rem; font-weight: 400; line-height: 1.2; }
@media (min-width: 768px) { .featured-heading { font-size: 3rem; } }

.about-heading { font-size: 1.875rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }

.smallfinds-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .smallfinds-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .smallfinds-heading { font-size: 3.75rem; } }

.gallery-heading { font-size: 1.875rem; font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .gallery-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-heading { font-size: 3.75rem; } }

.shop-heading { font-size: 1.875rem; font-weight: 400; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

.faq-heading { font-size: 1.875rem; font-weight: 400; line-height: 1.2; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }

.contact-cta-title { font-size: 1.875rem; font-weight: 400; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-cta-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-cta-title { font-size: 3.75rem; } }

.page-title { font-size: 2rem; font-weight: 600; margin-bottom: 1.5rem; }

/* ---------------------------- ANNOUNCEMENT BAR --------------------------- */
.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.theme-announcement-dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	color: var(--color-background); opacity: 0.7; font-size: 1.1rem; line-height: 1; padding: 0.25rem;
}
.theme-announcement-dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* ---------------------------- HEADER -------------------------------------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid,
.site-header.is-scrolled,
body.mobile-menu-open .site-header {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.theme-header-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; position: relative; }
.theme-brand { display: flex; align-items: center; gap: 0.5rem; }
.theme-brand-text { display: flex; flex-direction: column; line-height: 1; }
.theme-brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
@media (min-width: 768px) { .theme-brand-name { font-size: 1.25rem; } }
.theme-brand-name em { font-style: italic; font-weight: 300; color: var(--color-primary); }
.theme-brand-subtext { display: none; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }
@media (min-width: 640px) { .theme-brand-subtext { display: block; } }
.theme-header-center { display: none; align-items: center; gap: 1.75rem; position: absolute; left: 50%; transform: translateX(-50%); }
@media (min-width: 1024px) { .theme-header-center { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list a {
	font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
	position: relative; padding-bottom: 2px;
}
.theme-nav-list a::after {
	content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover::after { transform: scaleX(1); }

.theme-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-icon-btn { position: relative; padding: 0.5rem; display: inline-flex; align-items: center; justify-content: center; transition: opacity 0.2s; }
.theme-icon-btn:hover { opacity: 0.6; }
.theme-search-btn { display: none; }
@media (min-width: 768px) { .theme-search-btn { display: inline-flex; } }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-icon-close { display: none; }
body.mobile-menu-open .theme-icon-menu { display: none; }
body.mobile-menu-open .theme-icon-close { display: inline-flex; }
@media (max-width: 1023px) {
	.theme-mobile-menu .theme-nav-list,
	.theme-mobile-menu .theme-nav-list--mobile {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
}

.theme-cart-count {
	position: absolute; top: -2px; right: -2px; width: 20px; height: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
body.mobile-menu-open .theme-mobile-menu { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }
.theme-nav-list--mobile { flex-direction: column; align-items: flex-start; gap: 1rem; }
.theme-nav-list--mobile a { font-size: 14px; letter-spacing: 0.18em; }

/* ---------------------------- HERO --------------------------------------- */
.theme-hero-media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .theme-hero-media { height: 88vh; min-height: 680px; } }
.theme-hero-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-hero-content-wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; }
.theme-hero-content { max-width: 36rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.theme-hero-heading {
	font-weight: 400; font-size: 3rem; line-height: 1.05; color: var(--color-background); margin-bottom: 1.5rem; max-width: 32rem;
}
@media (min-width: 768px) { .theme-hero-heading { font-size: 3.75rem; } }
@media (min-width: 1280px) { .theme-hero-heading { font-size: 4.5rem; } }
.theme-hero-subtext { color: color-mix(in srgb, var(--color-background) 90%, transparent); font-size: 1rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 28rem; }
@media (min-width: 768px) { .theme-hero-subtext { font-size: 1.125rem; } }

body.theme-no-hero .theme-hero-media { display: none; }

/* Fixed header overlays hero on home; inner pages offset main content */
body:not(.home) main.site-main,
main.single-product-main,
main.theme-archive-main {
	padding-top: var(--header-height);
}
body.home main.site-main {
	padding-top: 0;
}

main.single-product-main {
	padding-top: 6rem;
}
@media (min-width: 1024px) {
	main.single-product-main { padding-top: 7rem; }
}

/* ---------------------------- COLLECTIONS --------------------------------- */
.theme-collections-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-collections-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.theme-collection-tile {
	position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; width: 100%; padding: 0;
}
.theme-collection-scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: background 0.5s ease;
}
.theme-collection-tile:hover .theme-collection-img { transform: scale(1.05); transition: transform 0.7s var(--transition-smooth); }
.theme-collection-img { transition: transform 0.7s var(--transition-smooth); }
.theme-collection-copy {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 1.5rem; text-align: left; color: var(--color-background);
	text-shadow: 0 1px 8px rgb(0 0 0 / 0.45);
}
.theme-collection-tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5); }
.theme-collection-tagline-dash { height: 1px; width: 1.5rem; background: currentColor; }
.theme-collection-label { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .theme-collection-label { font-size: 1.875rem; } }
.theme-collection-cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.accent-teal { color: var(--color-teal); }
.accent-marigold { color: var(--color-marigold); }
.accent-rosa { color: var(--color-rosa); }

/* ---------------------------- PRODUCT GRID / CARD -------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.theme-featured-grid { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) { .theme-featured-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem; } }
.theme-related-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--color-secondary);
	margin-bottom: 1.25rem;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-product-card:hover .theme-product-card__image-wrapper { transform: translateY(-4px); }
.theme-quick-add {
	z-index: 4;
	pointer-events: auto;
}
.theme-product-card__title a { color: inherit; transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title a { color: var(--color-primary); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }
.theme-product-card__image.is-coming-soon { filter: blur(8px); transform: scale(1.05); }
.theme-product-card:hover .theme-product-card__image.is-coming-soon { transform: scale(1.13); }

.theme-coming-soon-overlay {
	position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	pointer-events: none;
}
.theme-coming-soon-badge {
	padding: 0.5rem 1.25rem; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.28em;
	background: var(--color-background); color: var(--color-foreground); border-radius: 9999px; box-shadow: var(--shadow-soft);
}
.theme-sold-out-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem;
	font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
	background: var(--color-foreground); color: var(--color-background); border-radius: 9999px; z-index: 3;
}
.theme-quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem;
	width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
	border-radius: 9999px; background: var(--color-background); color: var(--color-foreground); box-shadow: var(--shadow-soft);
	opacity: 0; transition: opacity 0.3s ease, transform 0.2s ease;
}
.theme-product-card:hover .theme-quick-add { opacity: 1; }
@media (max-width: 767px) { .theme-quick-add { opacity: 1; } }
.theme-quick-add:hover { transform: scale(1.08); }
.theme-quick-add svg { width: 16px; height: 16px; }

.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-card__title {
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
	line-height: 1.4; color: var(--color-foreground); min-width: 0; overflow: hidden; text-overflow: ellipsis;
	transition: color 0.3s ease;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price {
	font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); margin: 0; font-weight: 400;
}
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price del { color: var(--color-muted-foreground); margin-right: 0.4rem; }
.theme-product-card__price ins { text-decoration: none; }

.theme-shop-item-extra { display: none; }
.theme-shop-item.is-filtered-out { display: none !important; }
.theme-view-all-wrap { margin-top: 3.5rem; }
.theme-showmore-wrap { margin-top: 3rem; }

.theme-shop-section .container-wide {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-shop-section .container-wide {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}

/* ---------------------------- ABOUT ---------------------------------------- */
.theme-about-inner { padding: 5rem 1.5rem; max-width: 56rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .theme-about-inner { padding: 7rem 3.5rem; } }
.theme-about-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin: 0 0 1.25rem 0; }

/* ---------------------------- SERVICES ------------------------------------- */
.theme-services-section { background: var(--color-butter); }
.theme-services-heading-block { padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .theme-services-heading-block { padding: 7rem 3.5rem; } }
.theme-services-heading-block .theme-kicker { display: block; margin-bottom: 1rem; }
.services-heading {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
}
@media (min-width: 768px) { .services-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 4.5rem; } }
.theme-service-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) {
	.theme-service-row { grid-template-columns: 1fr 1fr; }
	.theme-service-row .order-1 { order: 1; }
	.theme-service-row .order-2 { order: 2; }
}
.theme-service-media { position: relative; min-height: 360px; overflow: hidden; }
.theme-service-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
@media (min-width: 768px) { .theme-service-media { min-height: 500px; } }
@media (min-width: 1024px) { .theme-service-media { min-height: 560px; } }
.theme-service-numeral {
	position: absolute; top: 1.25rem; left: 1.25rem; font-family: var(--font-display); font-size: 0.875rem;
	letter-spacing: 0.3em; padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(4px);
}
.theme-service-copy-wrap { display: flex; align-items: center; background: var(--color-butter); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-service-copy-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-service-copy-wrap { padding-left: 5rem; padding-right: 5rem; } }
@media (min-width: 1280px) { .theme-service-copy-wrap { padding-left: 6rem; padding-right: 6rem; } }
.theme-service-copy { max-width: 36rem; }
.theme-service-kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-service-icon-circle {
	display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid currentColor;
}
.theme-service-kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--font-body); }
.theme-service-title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.02em; font-weight: 400; }
@media (min-width: 768px) { .theme-service-title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-service-title { font-size: 3.75rem; } }
.theme-service-desc { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .theme-service-desc { font-size: 1.125rem; } }

/* ---------------------------- SMALL FINDS ----------------------------------- */
.theme-smallfinds-section { background: var(--color-surface-deep); color: var(--color-surface-deep-fg); padding: 5rem 0; }
@media (min-width: 768px) { .theme-smallfinds-section { padding: 7rem 0; } }
.theme-smallfinds-heading-block { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-smallfinds-paragraph { color: color-mix(in srgb, var(--color-surface-deep-fg) 75%, transparent); line-height: 1.7; margin: 0; }
.theme-smallfinds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .theme-smallfinds-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-smallfinds-grid { grid-template-columns: repeat(6, 1fr); } }
.theme-smallfind-image-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: color-mix(in srgb, var(--color-surface-deep-fg) 5%, transparent); }
.theme-smallfind-item:hover .theme-smallfind-img { transform: scale(1.05); }
.theme-smallfind-img { transition: transform 0.6s var(--transition-smooth); }
.theme-smallfind-caption { padding-top: 0.75rem; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.theme-smallfind-caption h3 { font-size: 0.875rem; line-height: 1.2; color: var(--color-surface-deep-fg); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) { .theme-smallfind-caption h3 { font-size: 1rem; } }
.theme-smallfind-caption span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-marigold); font-family: var(--font-body); flex-shrink: 0; }
.theme-smallfinds-footer { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.theme-smallfinds-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid color-mix(in srgb, var(--color-marigold) 40%, transparent); color: var(--color-marigold); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.theme-smallfinds-badge-dash { height: 1px; width: 1rem; background: var(--color-marigold); }
.theme-smallfinds-caption-text { color: color-mix(in srgb, var(--color-surface-deep-fg) 70%, transparent); font-size: 0.875rem; }

/* ---------------------------- SPECIALTY ------------------------------------- */
.theme-specialty-section { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) {
	.theme-specialty-section { grid-template-columns: 1fr 1fr; }
	.theme-specialty-section .order-1 { order: 1; }
	.theme-specialty-section .order-2 { order: 2; }
}
.theme-specialty-media { position: relative; min-height: 420px; overflow: hidden; }
@media (min-width: 768px) { .theme-specialty-media { min-height: 560px; } }
@media (min-width: 1024px) { .theme-specialty-media { min-height: 640px; } }
.theme-specialty-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
}
.theme-specialty-inset-img {
	position: absolute; bottom: 1.5rem; left: 1.5rem; width: 8rem; aspect-ratio: 3/4; object-fit: cover;
	box-shadow: var(--shadow-elevated); border: 4px solid var(--color-background);
}
@media (min-width: 768px) { .theme-specialty-inset-img { width: 11rem; } }
@media (min-width: 1024px) { .theme-specialty-inset-img { width: 13rem; } }
.theme-specialty-copy-wrap { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-specialty-copy-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-specialty-copy-wrap { padding-left: 5rem; padding-right: 5rem; } }
@media (min-width: 1280px) { .theme-specialty-copy-wrap { padding-left: 6rem; padding-right: 6rem; } }
.theme-specialty-copy { max-width: 36rem; }
.theme-specialty-copy .theme-kicker { display: block; margin-bottom: 1.25rem; }
.specialty-heading {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin-bottom: 1.75rem;
}
@media (min-width: 768px) { .specialty-heading { font-size: 3rem; margin-bottom: 1.75rem; } }
@media (min-width: 1024px) { .specialty-heading { font-size: 3.75rem; } }
.theme-specialty-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin: 0 0 1.5rem 0; font-family: var(--font-body); }
.theme-specialty-paragraph.theme-italic { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2.5rem; }
.theme-btn-specialty {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-rosa);
	color: var(--color-background);
	padding: 1rem 2.25rem;
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 500;
	border: none;
	transition: background-color 0.2s ease;
}
.theme-btn-specialty:hover { background: color-mix(in srgb, var(--color-rosa) 90%, transparent); }
.theme-italic { font-style: italic; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* ---------------------------- GALLERY --------------------------------------- */
.theme-gallery-section { padding: 5rem 0; }
@media (min-width: 768px) { .theme-gallery-section { padding: 7rem 0; } }
.theme-gallery-heading-wrap { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-gallery-heading-wrap { margin-bottom: 3.5rem; } }
.theme-gallery-heading-block { display: block; text-align: left; }
.theme-gallery-heading-inner .theme-kicker { display: block; margin-bottom: 0.75rem; }
.theme-gallery-heading-inner .gallery-heading { margin: 0; }
.theme-gallery-track-wrap { overflow: hidden; }
.theme-gallery-track { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; padding-left: 1.5rem; padding-right: 1.5rem; scrollbar-width: none; }
.theme-gallery-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .theme-gallery-track { gap: 1.5rem; padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1024px) { .theme-gallery-track { padding-left: 4rem; padding-right: 4rem; } }
.theme-gallery-figure { flex-shrink: 0; width: 78%; margin: 0; }
@media (min-width: 640px) { .theme-gallery-figure { width: 55%; } }
@media (min-width: 768px) { .theme-gallery-figure { width: 40%; } }
@media (min-width: 1024px) { .theme-gallery-figure { width: 30%; } }
@media (min-width: 1280px) { .theme-gallery-figure { width: 26%; } }
.theme-gallery-link { display: block; position: relative; overflow: hidden; aspect-ratio: 4/5; }
.theme-gallery-link:hover .theme-gallery-img { transform: scale(1.04); }
.theme-gallery-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: top;
	transition: transform 0.9s var(--transition-smooth);
}
.theme-gallery-track-wrap.reveal-item.is-visible,
.theme-gallery-track-wrap.reveal-item {
	opacity: 1;
	transform: none;
}
.theme-gallery-controls-wrap { margin-top: 2.5rem; }
.theme-gallery-controls { display: flex; align-items: center; gap: 1rem; }
.theme-gallery-nav-btn {
	height: 3rem; width: 3rem; display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s, border-color 0.2s;
}
.theme-gallery-nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ---------------------------- SHOP ------------------------------------------ */
.theme-shop-heading-block { margin-bottom: 3rem; }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	font-size: 1rem; color: var(--color-foreground); outline: none; transition: border-color 0.2s;
}
.theme-shop-search input:focus { border-color: var(--color-foreground); }
.theme-shop-cat-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body);
	border: 1px solid var(--color-border); border-radius: 9999px; background: transparent; color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-rosa); color: var(--color-rosa); }
.theme-cat-filter.is-active { background: var(--color-rosa); color: var(--color-background); border-color: var(--color-rosa); }

.theme-shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter-toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.3s;
}
.theme-price-filter-toggle:hover { color: var(--color-foreground); }
.theme-price-filter-current { opacity: 0.7; text-transform: none; letter-spacing: normal; font-size: 0.875rem; }
.theme-chevron { transition: transform 0.3s ease; }
.theme-price-filter-toggle.is-open .theme-chevron { transform: rotate(180deg); }
.theme-price-filter-panel {
	width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0;
	transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.theme-price-filter-panel.is-open { max-height: 12rem; opacity: 1; padding: 0.5rem 0; }
.theme-price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.75rem; }

/* Dual-handle range 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: 20px; height: 20px; border-radius: 9999px;
	border: 2px solid var(--color-primary); background: var(--color-background); cursor: pointer; margin-top: -8px;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 20px; height: 20px; border-radius: 9999px; border: 2px solid var(--color-primary); background: var(--color-background); cursor: pointer;
}
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-empty p, .theme-shop-empty-static { color: var(--color-muted-foreground); text-align: center; padding: 5rem 0; }

/* ---------------------------- FAQ -------------------------------------------- */
.theme-faq-section { background: var(--color-butter); padding: 5rem 0; }
@media (min-width: 768px) { .theme-faq-section { padding: 7rem 0; } }
.theme-faq-inner { max-width: 48rem; }
.theme-faq-heading-block { margin-bottom: 3rem; }
.theme-faq-list { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item:last-child { border-bottom: none; }
.theme-faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
@media (min-width: 768px) { .theme-faq-trigger { padding: 1.5rem 0; } }
.theme-faq-question { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.35; }
@media (min-width: 768px) { .theme-faq-question { font-size: 1.25rem; } }
.theme-faq-toggle-icon { flex-shrink: 0; width: 2rem; height: 2rem; border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; position: relative; }
.theme-faq-toggle-icon::before, .theme-faq-toggle-icon::after { content: ''; position: absolute; background: currentColor; transition: opacity 0.2s; }
.theme-faq-toggle-icon::before { width: 10px; height: 1.5px; }
.theme-faq-toggle-icon::after { width: 1.5px; height: 10px; }
.theme-faq-item.is-open .theme-faq-toggle-icon { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-faq-item.is-open .theme-faq-toggle-icon::after { opacity: 0; }
.theme-faq-panel { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.theme-faq-item.is-open .theme-faq-panel { max-height: 30rem; opacity: 1; }
.theme-faq-item.reveal-item.is-visible,
.theme-faq-item.reveal-item.is-open { opacity: 1; transform: none; }
.theme-coming-soon-badge--inline { display: inline-block; margin-bottom: 1.5rem; }
.theme-coming-soon-single { margin: 0 0 1.5rem; }
.theme-hero-media { position: relative; }
.theme-hero-img.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.theme-faq-panel p { padding: 0 3.5rem 1.5rem 0; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin: 0; }
.theme-faq-footer { margin-top: 2.5rem; }
.theme-faq-footer p { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0 0 1rem 0; }

/* ---------------------------- CONTACT CTA ------------------------------------ */
.theme-contact-cta-section { position: relative; background: var(--color-butter); overflow: hidden; }
.theme-contact-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-contact-cta-wrap { position: relative; padding: 6rem 0; }
@media (min-width: 768px) { .theme-contact-cta-wrap { padding: 8rem 0; } }
.theme-contact-cta-card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px); box-shadow: var(--shadow-elevated);
	padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .theme-contact-cta-card { padding: 4rem 3.5rem; } }
.theme-contact-cta-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin: 0 auto 2.5rem; max-width: 28rem; }
.theme-contact-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-contact-cta-actions { flex-direction: row; } }

/* ---------------------------- FOOTER ----------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer .theme-brand-subtext { display: block; }
.theme-footer-contact-link svg { flex-shrink: 0; width: 14px; height: 14px; }
.theme-footer-inner {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
@media (min-width: 1024px) {
	.theme-footer-inner {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
}
@media (max-width: 1023px) {
	.container-wide.theme-footer-inner,
	.site-footer .container-wide {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
}
.theme-footer-top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .theme-footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-footer-nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.theme-footer-nav-list a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.2s; font-family: var(--font-body); }
.theme-footer-nav-list a:hover { color: var(--color-foreground); }
.theme-footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-footer-contact { flex-direction: row; align-items: center; gap: 1.25rem; } }
.theme-footer-contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s; }
.theme-footer-contact-link:hover { color: var(--color-foreground); }
.theme-footer-bottom {
	margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center;
}
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; justify-content: space-between; } }
.theme-footer-quote, .theme-footer-copyright { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; margin: 0; }
.theme-footer-quote { font-style: italic; font-family: var(--font-display); }

/* ---------------------------- CART DRAWER + OVERLAY --------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 20%, 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; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
	background: var(--color-background); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; margin: 0; }
.theme-cart-empty-icon { display: flex; width: 3rem; height: 3rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-empty-icon svg { width: 3rem; height: 3rem; stroke-width: 1; }
.theme-cart-close { display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem; color: var(--color-foreground); opacity: 1; transition: opacity 0.2s; }
.theme-cart-close:hover { opacity: 0.6; }
.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty p { color: var(--color-muted-foreground); margin: 0 0 1.5rem; font-family: var(--font-body); }
.theme-cart-btn-continue {
	display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: 0.5rem 1rem;
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; text-transform: none; letter-spacing: normal;
	background: transparent; border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-foreground);
	transition: background-color 0.2s ease;
}
.theme-cart-btn-continue:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-cart-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item-image img { width: 100%; height: 100% !important; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name {
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	transition: opacity 0.2s ease;
}
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: var(--radius); transition: background-color 0.2s; line-height: 1; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty { font-family: var(--font-body); font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s; background: none; border: none; padding: 0; cursor: pointer; }
.theme-cart-remove:hover { color: var(--color-foreground); }
.theme-cart-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal { display: flex; justify-content: space-between; font-family: var(--font-body); font-size: 0.875rem; }
.theme-cart-subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-subtotal span:last-child { font-weight: 500; color: var(--color-foreground); }
.theme-cart-shipnote { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-btn-checkout {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 2.75rem; padding: 0.5rem 2rem;
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; text-transform: none; letter-spacing: normal;
	background: var(--color-primary); color: var(--color-primary-foreground); border: none; border-radius: var(--radius);
	text-decoration: none; transition: background-color 0.2s ease;
}
.theme-cart-btn-checkout:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); color: var(--color-primary-foreground); }
.theme-cart-empty-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.25rem; padding: 0.5rem 0.75rem;
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; text-transform: none; letter-spacing: normal;
}
.theme-cart-empty-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

/* ---------------------------- CONTACT MODAL ------------------------------------ */
#theme-contact-overlay {
	position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--color-foreground) 50%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.contact-modal-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; z-index: 71; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); box-shadow: var(--shadow-elevated); border-radius: var(--radius);
	border: 1px solid var(--color-border);
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
body.contact-modal-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-modal-inner { padding: 1.5rem; position: relative; }
@media (min-width: 640px) { .theme-modal-inner { padding: 1.75rem; } }
.theme-modal-close {
	position: absolute; top: 1rem; right: 1rem; display: inline-flex; align-items: center; justify-content: center;
	padding: 0.25rem; color: var(--color-foreground); opacity: 0.7; transition: opacity 0.2s;
}
.theme-modal-close:hover { opacity: 1; }
.theme-modal-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin: 0 0 0.5rem; padding-right: 2rem; line-height: 1.2; }
.theme-modal-description { font-family: var(--font-body); color: var(--color-muted-foreground); margin: 0 0 1rem; font-size: 0.875rem; line-height: 1.6; }
.theme-modal-contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; font-family: var(--font-body); }
.theme-modal-contact-link { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.theme-modal-contact-link:hover { color: var(--color-foreground); }
.theme-modal-contact-link svg { flex-shrink: 0; }
.theme-modal-success { text-align: center; padding: 2rem 0; }
.theme-modal-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 0.5rem; }
.theme-modal-success p { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-modal-success-icon {
	width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground);
	display: flex; align-items: center; justify-content: center; border-radius: 9999px; margin: 0 auto 1rem; font-size: 1.5rem;
}
.theme-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row--split { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--split { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: var(--radius); font-size: 1rem; color: var(--color-foreground); font-family: var(--font-body);
	transition: box-shadow 0.3s ease;
}
.theme-form-field input::placeholder, .theme-form-field textarea::placeholder { color: var(--color-muted-foreground); }
.theme-form-field input:focus, .theme-form-field textarea:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-ring) 50%, transparent);
}
.theme-form-field textarea { resize: none; }
.theme-form-submit-row { display: flex; justify-content: flex-end; }
.theme-modal-submit-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: 0.5rem 1rem;
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground);
	border: none; border-radius: var(--radius); transition: background-color 0.2s ease;
}
.theme-modal-submit-btn:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.theme-form-error { color: var(--color-destructive); font-size: 0.875rem; margin-top: 0.5rem; }

/* ---------------------------- SINGLE PRODUCT ------------------------------------ */
.single-product-main { padding-bottom: 4rem; }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.theme-product-gallery { display: flex; flex-direction: column; gap: 1rem; min-width: 0; max-width: 100%; }
.theme-product-image-frame { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.theme-product-image-frame:not(.is-primary) { display: none; }
@media (min-width: 1024px) { .theme-product-image-frame:not(.is-primary) { display: block; } }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 100%; overflow-x: auto; }
@media (min-width: 1024px) { .theme-product-thumbnails { display: none; } }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s; }
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-title { font-size: 1.875rem; font-weight: 400; line-height: 1.1; margin: 0.75rem 0 1.25rem; font-family: var(--font-body); }
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin: 0 0 1.5rem; }
.theme-product-price del { color: var(--color-muted-foreground); margin-right: 0.5rem; }
.theme-product-teaser { color: var(--color-muted-foreground); line-height: 1.7; margin: 0 0 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-out-of-stock { color: var(--color-destructive); font-weight: 600; margin: 0 0 1.5rem; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.1em; }

.theme-variations-form table.variations { width: 100%; border: none; margin: 0 0 1rem; }
.theme-variations-form table.variations th.label.theme-variation-label-cell { display: none; }
.theme-variations-form table.variations td.value { padding: 0; border: none; vertical-align: top; }
.theme-attribute-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin: 0 0 0.75rem; font-family: var(--font-body); }
.theme-attribute-group { margin-bottom: 1.5rem; position: relative; }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; position: relative; z-index: 1; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-border);
	border-radius: 9999px; transition: all 0.2s; font-family: var(--font-body);
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-variation-select-wrap {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-variation-select-wrap select,
.theme-attr-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}
.single-product .single_add_to_cart_button:disabled,
.single-product .single_add_to_cart_button.disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.theme-quantity-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; padding: 0.5rem 0; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
	background: transparent; -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area,
.theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion-trigger span:first-child { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.theme-accordion-chevron { width: 16px; height: 16px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; margin-top: -4px; }
.theme-accordion.is-open .theme-accordion-chevron { transform: rotate(225deg); margin-top: 4px; }
.theme-accordion-panel { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.theme-accordion.is-open .theme-accordion-panel { max-height: 60rem; padding-bottom: 1.5rem; }
.theme-product-description, .theme-accordion-panel ul, .theme-accordion-panel p { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion-panel ul li { display: flex; align-items: flex-start; }
.theme-accordion-panel ul li::before { content: ''; width: 4px; height: 4px; border-radius: 9999px; background: var(--color-foreground); margin: 0.55rem 0.75rem 0 0; flex-shrink: 0; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-heading { text-align: center; margin-bottom: 3rem; }
.theme-related-kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin: 0 0 0.5rem; }
.theme-related-title { font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .theme-related-title { font-size: 2.25rem; } }

/* ---------------------------- 404 ------------------------------------------------ */
.theme-404-main {
	min-height: 100vh; display: flex; align-items: center; justify-content: center;
	background: var(--color-muted); padding-top: 0;
}
.theme-404-inner { text-align: center; padding: 4rem 1.5rem; }
.theme-404-heading { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-404-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------------------------- GENERIC ARCHIVE ------------------------------------ */
.theme-archive-header { padding: 2rem 0; }
.theme-archive-title { font-size: 2rem; font-weight: 400; }
.theme-archive-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* ---------------------------- WOOCOMMERCE BUTTON 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;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact circular quick-add — overrides global rules (scoped after them) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-quick-add {
	min-height: unset !important;
	height: 2.5rem !important;
	width: 2.5rem !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-quick-add:hover {
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
	opacity: 1 !important;
}

/* Section 11.4.2 — hide WooCommerce's injected "View cart" link */
.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;
}

/* Section 31.8 — button loading state */
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

/* ---------------------------- WOOCOMMERCE NOTICES (Section 14.1) ------------------ */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body);
	border-radius: var(--radius);
	padding: 1rem 1.5rem;
	margin: 0 0 1.5rem;
	list-style: none;
	border: 1px solid var(--color-border);
	background: var(--color-secondary);
	color: var(--color-foreground);
}
.woocommerce-error { border-color: var(--color-destructive); background: color-mix(in srgb, var(--color-destructive) 8%, var(--color-background)); }

/* ---------------------------- WOOCOMMERCE CHECKOUT BLOCK (Section 13) -------------- */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
/* Text inputs — Lovable border/focus; padding stays WooCommerce default */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input {
	width: 100% !important;
	max-width: none !important;
	background: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	color: var(--color-foreground) !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	min-height: unset !important;
	box-shadow: none !important;
	transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-text-input input,
	body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input {
		font-size: 1rem !important;
	}
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}

/* Selects — match Lovable checkout fields; padding stays WC default */
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout select.wc-block-components-select-control-select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select {
	width: 100% !important;
	max-width: none !important;
	background: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	color: var(--color-foreground) !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	min-height: unset !important;
	box-shadow: none !important;
	transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select.wc-block-components-select-control-select:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
body.woocommerce-checkout .wc-block-components-state-input select:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__expand,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__label {
	color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container {
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	background: var(--color-background) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container:focus-within {
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
}

/* Section 13.2.1 — page title shares the site container, checkout is always 1fr 1fr */
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 80rem; margin: 0 auto 1.5rem; padding: 0 1.5rem; }
@media (min-width: 1024px) {
	body.woocommerce-checkout .page-title,
	body.woocommerce-cart .page-title,
	body.woocommerce-account .page-title { padding: 0 2rem; }
}

/* ---------------------------- WOOCOMMERCE THANK YOU (Section 22.8) ------------------ */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { border-right: 1px solid var(--color-border); padding-right: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
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 var(--color-border); padding: 1.25rem; border-radius: var(--radius); }
@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; }
}

/* ---------------------------- WOOCOMMERCE CART / ACCOUNT PAGE WIDTH (13.7) ---------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
