/* ==========================================================================
   Padillas Market — theme.css
   Design tokens are emitted as CSS variables via wp_add_inline_style();
   see functions.php padillas_enqueue_assets(). This file consumes them.
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* Reset & base                                                            */
/* ---------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: 'Switzer', system-ui, -apple-system, sans-serif;
	font-feature-settings: 'ss01', 'cv11';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Newsreader', 'Instrument Serif', Georgia, serif;
	letter-spacing: -0.014em;
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
}

a { color: inherit; text-decoration: none; }

/* Pointer cursor on every interactive control */
:is(
	a[href],
	button:not(:disabled),
	[role="button"]:not([aria-disabled="true"]),
	input[type="submit"]:not(:disabled),
	input[type="button"]:not(:disabled),
	input[type="reset"]:not(:disabled),
	select,
	summary,
	label[for],
	.theme-filter-pill,
	.theme-option-btn,
	.theme-card-carousel-btn,
	.theme-card-add-btn,
	.theme-card-quickview-btn,
	.theme-product-card-info,
	.theme-card-link,
	.theme-faq-question,
	.theme-promo-dismiss,
	.theme-cart-toggle,
	.theme-menu-toggle,
	.theme-footer-link,
	.theme-nav-link,
	.theme-mailto-link,
	.theme-tel-link,
	.theme-footer-brand-link,
	.theme-brand,
	[data-cart-open],
	[data-cart-close],
	[data-shop-view-more],
	[data-menu-toggle],
	[data-faq-toggle],
	[data-promo-dismiss]
) {
	cursor: pointer;
}
img { max-width: 100%; height: auto; display: block; }
img.theme-product-cover-img,
img.theme-service-image {
	max-width: none;
	height: 100%;
}
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select, button { font-family: inherit; }

section[id] { scroll-margin-top: 80px; }

/* WordPress admin bar — keep fixed header below the toolbar */
.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}
.admin-bar section[id] {
	scroll-margin-top: calc(80px + var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
	.admin-bar section[id] {
		scroll-margin-top: calc(80px + var(--wp-admin--admin-bar--height, 46px));
	}
}

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

/* Phone — comfortable side margins on key full-bleed sections */
@media (max-width: 639px) {
	.theme-hero-content,
	.theme-precta-content,
	.site-header .theme-mobile-nav-inner {
		padding-inline: 1.5rem;
	}
}

.theme-eyebrow {
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin: 0 0 1rem 0;
	font-weight: 500;
	font-family: 'Switzer', system-ui, sans-serif;
}

/* ---------------------------------------------------------------------- */
/* Scroll reveal                                                           */
/* ---------------------------------------------------------------------- */
[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;
}
[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) {
	[data-reveal] { transition-duration: 1ms !important; transform: none !important; }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                  */
/* ---------------------------------------------------------------------- */
:root {
	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;
}

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	text-transform: var(--btn-text-transform);
	letter-spacing: var(--btn-letter-spacing);
	height: var(--btn-height);
	padding: var(--btn-padding);
	border: 1px solid transparent;
	transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
	font-family: var(--font-body, 'Switzer', sans-serif);
}
.theme-btn svg { pointer-events: none; flex-shrink: 0; }
.theme-btn:disabled { pointer-events: none; opacity: 0.6; }

.theme-btn-primary,
.btn-hero-primary {
	background-color: var(--color-cta);
	color: var(--color-cta-foreground);
	border-color: transparent;
	text-transform: none;
}
.theme-btn-primary:hover { opacity: 0.9; }

.theme-btn-outline,
.btn-hero-outline {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
	text-transform: none;
}
.theme-btn-outline:hover { border-color: var(--color-foreground); background-color: color-mix(in srgb, var(--color-foreground) 4%, transparent); }

.theme-btn-glass {
	background-color: rgba(255,255,255,0.1);
	color: #fff;
	border-color: rgba(255,255,255,0.4);
	backdrop-filter: blur(8px);
}
.theme-btn-glass:hover { background-color: rgba(255,255,255,0.2); }

.theme-btn-ghost {
	background-color: transparent;
	border-color: transparent;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-btn-ghost:hover { background-color: color-mix(in srgb, var(--color-foreground) 5%, transparent); }

.theme-btn-sm { height: 36px; padding: 0 1rem; }
.theme-btn-lg { height: 48px; padding: 0 1.75rem; }
.theme-btn-full { width: 100%; }

/* ---------------------------------------------------------------------- */
/* Header                                                                   */
/* ---------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
}

.theme-announcement-bar {
	background-color: 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;
}
.theme-announcement-dot { color: var(--color-rose); margin: 0 0.35em; }

.theme-header-bar {
	transition: background-color 0.5s ease, border-color 0.5s ease;
	background-color: transparent;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid .theme-header-bar,
.site-header.theme-menu-open .theme-header-bar {
	background-color: color-mix(in srgb, var(--color-ivory) 85%, transparent);
	backdrop-filter: blur(16px);
	border-bottom-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}

.theme-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	gap: 1rem;
}
@media (min-width: 1024px) {
	.theme-header-row {
		height: 80px;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
	}
}

.theme-menu-toggle {
	order: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: transparent;
	border: none;
	color: #fff;
	transition: background-color 0.3s, color 0.3s;
}
.site-header.is-solid .theme-menu-toggle { color: var(--color-foreground); }
.theme-menu-toggle:hover { background-color: rgba(255,255,255,0.1); }
.site-header.is-solid .theme-menu-toggle:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
@media (min-width: 1024px) { .theme-menu-toggle { display: none; } }

.theme-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	order: 2;
	flex-shrink: 0;
}
@media (min-width: 1024px) { .theme-brand { order: 1; justify-self: start; } }

.theme-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	overflow: hidden;
	background-color: var(--color-background);
	border: 2px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	width: 36px;
	height: 36px;
}
.site-header:not(.is-solid) .theme-brand-mark { border-color: rgba(255,255,255,0.6); }
@media (min-width: 640px) { .theme-brand-mark { width: 40px; height: 40px; } }
@media (min-width: 1024px) { .theme-brand-mark { width: 44px; height: 44px; } }

.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: cover; transform: scale(1.25); }
.theme-brand-mark .site-logo-img { height: 100% !important; width: 100% !important; }

.site-logo-text.theme-brand-name {
	display: none;
	font-family: 'Newsreader', serif;
	font-size: 18px;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
}
.site-header.is-solid .theme-brand-name { color: var(--color-foreground); }
.theme-brand-dot { color: var(--color-primary); }
@media (min-width: 640px) { .site-logo-text.theme-brand-name { display: inline; } }
@media (min-width: 768px) { .site-logo-text.theme-brand-name { font-size: 20px; } }

.theme-footer-brand .theme-brand-name,
.site-footer .theme-brand-name { color: var(--color-foreground); display: inline; }
.theme-footer-mark { border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); width: 48px; height: 48px; }

.theme-primary-nav { display: none; order: 3; }
@media (min-width: 1024px) {
	.theme-primary-nav { display: flex; order: 2; justify-self: center; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-link {
	position: relative;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s;
	color: rgba(255,255,255,0.85);
}
.theme-nav-link:hover { color: #fff; }
.site-header.is-solid .theme-nav-link { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.site-header.is-solid .theme-nav-link:hover { color: var(--color-primary); }
.theme-nav-link.is-active { color: #fff; }
.site-header.is-solid .theme-nav-link.is-active { color: var(--color-primary); }
.theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -6px;
	height: 2px;
	border-radius: 999px;
	background-color: var(--color-primary);
	opacity: 0;
	transform: scaleX(0);
	transition: all 0.3s;
}
.theme-nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.theme-header-actions { display: flex; align-items: center; gap: 0.5rem; order: 3; justify-self: end; }
.theme-cart-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 999px;
	border: none;
	background: transparent;
	color: #fff;
	transition: background-color 0.3s, color 0.3s;
}
.site-header.is-solid .theme-cart-toggle { color: var(--color-foreground); }
.theme-cart-toggle:hover { background-color: rgba(255,255,255,0.1); }
.site-header.is-solid .theme-cart-toggle:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	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; }

.theme-mobile-nav {
	display: none;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background-color: color-mix(in srgb, var(--color-ivory) 95%, transparent);
	backdrop-filter: blur(16px);
}
.theme-mobile-nav.is-open { display: block; animation: theme-fade-in 0.4s ease-out both; }
.theme-mobile-nav-inner { padding-block: 1rem; display: flex; flex-direction: column; }
.theme-mobile-nav-list,
.theme-mobile-nav-inner .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	gap: 0;
}
.theme-mobile-nav-list a,
.theme-mobile-nav-inner .theme-nav-list a,
.theme-mobile-nav-link,
.theme-mobile-nav-inner > a {
	display: block;
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	padding: 0.875rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.2s;
}
.theme-mobile-nav-list li:last-child a,
.theme-mobile-nav-inner .theme-nav-list li:last-child a { border-bottom: none; }
.theme-mobile-nav-list a:hover,
.theme-mobile-nav-inner .theme-nav-list a:hover,
.theme-mobile-nav-link:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */
.theme-hero {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
body.theme-no-hero .theme-hero { display: none; }
.theme-hero-video, .theme-precta-video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.theme-scrim-radial {
	position: absolute; inset: 0;
	background-image: radial-gradient(at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.65) 70%, rgba(0,0,0,0.82) 100%);
	pointer-events: none;
}
.theme-scrim-dark { position: absolute; inset: 0; background-color: rgba(0,0,0,0.35); pointer-events: none; }

.theme-hero-content, .theme-precta-content {
	position: relative;
	z-index: 10;
	text-align: center;
	color: #fff;
	padding-block: 10rem 6rem;
}
@media (min-width: 1024px) { .theme-hero-content { padding-block: 13rem 8rem; } }

.theme-hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.theme-hero-badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.375rem 1rem;
	border-radius: 999px;
	background-color: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.3);
	backdrop-filter: blur(8px);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	color: #fff;
}
.theme-hero-badge svg { color: var(--color-primary); }

.theme-hero-title {
	font-size: clamp(2rem, 5.4vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	max-width: 64rem;
	margin-inline: auto;
	color: #fff;
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55));
}
.theme-hero-title-break { display: none; }
@media (min-width: 640px) { .theme-hero-title-break { display: block; } }
.theme-hero-title-accent { font-style: italic; color: var(--color-primary); }

.theme-hero-subtitle {
	margin-top: 1.75rem;
	max-width: 42rem;
	margin-inline: auto;
	font-size: 14px;
	color: rgba(255,255,255,0.9);
	line-height: 1.7;
}
@media (min-width: 640px) { .theme-hero-subtitle { font-size: 15px; } }

.theme-hero-actions {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
}
@media (min-width: 640px) { .theme-hero-actions { flex-direction: row; gap: 1rem; } }

/* ---------------------------------------------------------------------- */
/* Marquee                                                                  */
/* ---------------------------------------------------------------------- */
.theme-marquee { background-color: var(--color-primary); padding: 1.25rem 0; overflow: hidden; }
.theme-marquee-track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; }
.theme-marquee-item {
	display: flex; align-items: center; flex-shrink: 0;
	color: rgba(255,255,255,0.95);
	font-family: 'Newsreader', serif;
	font-size: 18px;
}
@media (min-width: 768px) { .theme-marquee-item { font-size: 20px; } }
.theme-marquee-text { margin-inline: 1.5rem; }
@media (min-width: 768px) { .theme-marquee-text { margin-inline: 2rem; } }
.theme-marquee-star { color: rgba(255,255,255,0.6); font-size: 14px; }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }

/* ---------------------------------------------------------------------- */
/* Section heading scales (per-section, Section 2.2 §5)                    */
/* ---------------------------------------------------------------------- */
.section-heading { line-height: 1.05; color: var(--color-foreground); }
.about-heading, .shop-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .about-heading, .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading, .shop-heading { font-size: 3.4rem; } }

.services-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .services-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 3.2rem; } }

.faq-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }

.contact-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 3.4rem; } }

.theme-hero-title, .theme-precta-heading { font-weight: 400; }

/* ---------------------------------------------------------------------- */
/* Shop section                                                             */
/* ---------------------------------------------------------------------- */
.theme-shop, .theme-services, .theme-shop-archive { background-color: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .theme-shop, .theme-services { padding: 8rem 0; } }

.theme-shop-head {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
	.theme-shop-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.theme-shop-head-copy { max-width: 42rem; }
.theme-shop-description { margin-top: 1.25rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 40rem; }
@media (min-width: 768px) { .theme-shop-description { font-size: 15px; } }

.theme-shop-search-wrap { position: relative; width: 100%; }
@media (min-width: 1024px) { .theme-shop-search-wrap { width: 20rem; } }
.theme-shop-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-shop-search-input {
	width: 100%; height: 44px;
	padding-left: 2.75rem; padding-right: 1rem;
	border-radius: 999px;
	background-color: var(--color-linen);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	font-size: 14px;
	color: var(--color-foreground);
}
.theme-shop-search-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-shop-search-input:focus { outline: none; border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }

.theme-shop-filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.theme-filter-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-color: transparent;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: all 0.2s;
}
.theme-filter-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-filter-pill.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-shop-empty, .theme-shop-empty-archive { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

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

.theme-shop-more-wrap { margin-top: 3rem; display: flex; justify-content: center; }
.theme-shop-more-wrap[hidden],
[data-shop-view-more][hidden] { display: none !important; }

/* ---------------------------------------------------------------------- */
/* Product card                                                            */
/* ---------------------------------------------------------------------- */
.theme-product-card-wrap { display: flex; min-width: 0; }
.theme-product-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	position: relative;
}
.theme-product-card__image-wrapper,
.theme-product-card .theme-product-card__image-wrapper {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background-color: var(--color-linen);
	border-radius: 0.75rem;
	margin-bottom: 1rem;
}
.theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.theme-product-card-img,
.theme-product-card-scrim,
.theme-card-dots,
.theme-badge-soldout {
	pointer-events: none;
}
.theme-product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 1400ms cubic-bezier(0.22,0.61,0.36,1);
}
.theme-product-card:hover .theme-product-card-img { transform: scale(1.04); }
.theme-product-card-scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 35%, transparent), transparent 60%);
	opacity: 0;
	transition: opacity 0.5s;
}
.theme-product-card:hover .theme-product-card-scrim { opacity: 1; }

.theme-badge-soldout {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10;
	background-color: var(--color-foreground);
	color: var(--color-background);
	font-size: 11px; font-weight: 500;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
}

.theme-card-carousel-btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
	width: 32px; height: 32px;
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(6px);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	border: none;
	opacity: 0;
	transition: all 0.3s;
	pointer-events: auto;
	box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.theme-product-card:hover .theme-card-carousel-btn { opacity: 1; }
.theme-card-carousel-btn:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-card-carousel-prev { left: 0.5rem; }
.theme-card-carousel-next { right: 0.5rem; }

.theme-card-dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10; display: flex; gap: 0.25rem; }
.theme-card-dot { height: 4px; width: 4px; border-radius: 999px; background-color: color-mix(in srgb, var(--color-background) 60%, transparent); transition: all 0.2s; }
.theme-card-dot.is-active { width: 1rem; background-color: var(--color-background); }

.theme-card-quick-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 20;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0;
	transition: opacity 0.5s ease-out;
	pointer-events: auto;
}
.theme-product-card:hover .theme-card-quick-actions { opacity: 1; }
.theme-card-add-btn.add_to_cart_button.ajax_add_to_cart {
	flex: 1 1 auto;
	min-height: 40px !important;
	height: 40px;
	padding: 0 1rem !important;
	border-radius: 999px !important;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent) !important;
	color: var(--color-foreground) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	backdrop-filter: blur(6px);
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	text-transform: none !important;
}
.theme-card-add-btn.add_to_cart_button.ajax_add_to_cart:hover {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.theme-card-quickview-btn {
	width: 40px; height: 40px; flex-shrink: 0;
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	color: var(--color-foreground);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	transition: all 0.3s;
}
.theme-card-quickview-btn:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card-info { display: block; padding-inline: 0.125rem; min-width: 0; }
.theme-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-card-title {
	font-size: 1.15rem; line-height: 1.35;
	color: var(--color-foreground);
	transition: color 0.3s;
}
@media (min-width: 768px) { .theme-card-title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-card-title { font-size: 1.4rem; } }
.theme-product-card:hover .theme-card-title { color: var(--color-primary); }
.theme-card-price { margin-top: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-card-price ins { text-decoration: none; }
.theme-card-price del { opacity: 0.55; margin-right: 0.35rem; }

.theme-shop-extra { display: none; }

/* ---------------------------------------------------------------------- */
/* Services section                                                        */
/* ---------------------------------------------------------------------- */
.theme-section-intro { max-width: 48rem; margin-bottom: 3.5rem; }
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.theme-service-card {
	background-color: 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.3s;
}
.theme-service-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-service-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.theme-service-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.theme-service-card:hover .theme-service-image { transform: scale(1.05); }
.theme-service-icon-badge {
	position: absolute; top: 1rem; left: 1rem;
	width: 44px; height: 44px;
	border-radius: 999px;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(0,0,0,0.18);
	transition: transform 0.3s;
}
.theme-service-card:hover .theme-service-icon-badge { transform: rotate(20deg); }
.theme-service-body { padding: 1.75rem; }
@media (min-width: 768px) { .theme-service-body { padding: 2rem; } }
.theme-service-title { font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.theme-service-text { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* ---------------------------------------------------------------------- */
/* About section                                                            */
/* ---------------------------------------------------------------------- */
.theme-about { background-color: var(--color-linen); padding: 6rem 0; }
@media (min-width: 768px) { .theme-about { padding: 8rem 0; } }
.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.theme-about-media {
	position: relative;
	display: flex;
	min-width: 0;
	width: 100%;
}

.theme-about-media-inner {
	position: relative;
	width: 100%;
	min-width: 0;
	min-height: 520px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 1rem;
	background-color: color-mix(in srgb, var(--color-secondary) 50%, transparent);
	box-shadow: var(--shadow-elevated, 0 20px 50px -18px rgba(60,30,80,0.28));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem;
}
@media (min-width: 1024px) {
	.theme-about-media-inner {
		flex: 1;
		align-self: stretch;
		min-height: 0;
		aspect-ratio: auto;
		height: 100%;
	}
}
.theme-about-image {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: contain;
	object-position: center;
}
.theme-about-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-color: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.theme-about-badge-dot { width: 6px; height: 6px; border-radius: 999px; background-color: #fff; }

.theme-about-content { padding-left: 0; }
@media (min-width: 1024px) { .theme-about-content { padding-left: 1.5rem; } }
.theme-about-quote {
	margin: 2rem 0 0;
	font-family: 'Newsreader', serif;
	font-style: italic;
	font-size: 1.25rem;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	line-height: 1.4;
	border-left: 2px solid color-mix(in srgb, var(--color-primary) 70%, transparent);
	padding-left: 1.25rem;
}
@media (min-width: 768px) { .theme-about-quote { font-size: 1.5rem; } }
.theme-about-copy { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 42rem; }
@media (min-width: 768px) { .theme-about-copy { font-size: 16px; } }
.theme-text-highlight { color: var(--color-primary); font-weight: 500; }

.theme-about-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; }
.theme-about-stat svg { color: var(--color-primary); margin-bottom: 0.5rem; }
.theme-about-stat-value { font-family: 'Newsreader', serif; font-size: 1.5rem; color: var(--color-primary); }
@media (min-width: 768px) { .theme-about-stat-value { font-size: 1.75rem; } }
.theme-about-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); }

/* ---------------------------------------------------------------------- */
/* FAQ section                                                             */
/* ---------------------------------------------------------------------- */
.theme-faq { background-color: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .theme-faq { padding: 8rem 0; } }
.theme-faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-faq-grid { grid-template-columns: 4fr 8fr; } }
.theme-faq-description { margin-top: 1.5rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 24rem; }
@media (min-width: 768px) { .theme-faq-description { font-size: 15px; } }

.theme-faq-callout {
	margin-top: 2.5rem;
	display: none;
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background-color: var(--color-ivory);
	padding: 1.75rem;
}
@media (min-width: 1024px) { .theme-faq-callout { display: block; } }
.theme-faq-callout-icon {
	width: 44px; height: 44px;
	border-radius: 999px;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 1.25rem;
}
.theme-faq-callout-title { font-size: 1.5rem; color: var(--color-foreground); line-height: 1.35; margin-bottom: 0.5rem; }
.theme-faq-callout-body { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; }

.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-question {
	width: 100%;
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding: 1.25rem 0;
	text-align: left;
	background: none; border: none;
	color: var(--color-foreground);
}
.theme-faq-q-text { font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .theme-faq-q-text { font-size: 1.25rem; } }
.theme-faq-icon { flex-shrink: 0; color: var(--color-primary); display: inline-flex; }
.theme-faq-icon .icon-minus { display: none; }
.theme-faq-item.is-open .theme-faq-icon .icon-plus { display: none; }
.theme-faq-item.is-open .theme-faq-icon .icon-minus { display: inline-flex; }

.theme-faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.theme-faq-item.is-open .theme-faq-answer-wrap { grid-template-rows: 1fr; }
.theme-faq-answer-inner { overflow: hidden; }
.theme-faq-answer { padding: 0 2rem 1.5rem 0; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 42rem; }
@media (min-width: 768px) { .theme-faq-answer { font-size: 15px; } }

/* ---------------------------------------------------------------------- */
/* Pre-contact CTA                                                          */
/* ---------------------------------------------------------------------- */
.theme-precta { position: relative; overflow: hidden; }
.theme-precta-content { padding-block: 7rem; }
@media (min-width: 768px) { .theme-precta-content { padding-block: 10rem; } }
.theme-precta-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.9);
	font-weight: 500; margin-bottom: 1.5rem;
}
.theme-precta-rule { height: 1px; width: 2rem; background-color: color-mix(in srgb, var(--color-rose) 90%, transparent); }
.theme-precta-heading {
	font-size: clamp(2rem, 5.4vw, 4rem);
	line-height: 1.05; letter-spacing: -0.02em;
	max-width: 72rem; margin-inline: auto;
	color: #fff;
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55));
}
.theme-precta-heading-accent { font-style: italic; color: var(--color-rose); }
.theme-precta-body { margin-top: 1.75rem; max-width: 36rem; margin-inline: auto; font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.theme-precta-actions { margin-top: 2.5rem; }

/* ---------------------------------------------------------------------- */
/* Contact section                                                          */
/* ---------------------------------------------------------------------- */
.theme-contact { background-color: var(--color-linen); padding: 6rem 0 3rem; }
@media (min-width: 768px) { .theme-contact { padding: 8rem 0 4rem; } }
.theme-contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .theme-contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-contact-info { display: flex; flex-direction: column; height: 100%; }
.theme-contact-body { margin-top: 1.5rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 28rem; }

.theme-contact-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-contact-item { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 0.3s; }
.theme-contact-item:hover { color: var(--color-primary); }
.theme-contact-icon {
	width: 44px; height: 44px; flex-shrink: 0;
	border-radius: 999px;
	background-color: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	display: inline-flex; align-items: center; justify-content: center;
	transition: border-color 0.3s;
}
.theme-contact-item:hover .theme-contact-icon { border-color: var(--color-primary); }
.theme-contact-text { display: flex; flex-direction: column; text-align: left; }
.theme-contact-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-contact-value { font-size: 15px; font-weight: 500; margin-top: 0.125rem; }

.theme-contact-testimonial-wrap { margin-top: auto; padding-top: 2.5rem; }
.theme-contact-testimonial { position: relative; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background-color: color-mix(in srgb, var(--color-ivory) 70%, transparent); padding: 1.5rem 1.75rem; }
.theme-contact-testimonial-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-color: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.theme-contact-quote { margin: 0.5rem 0 0; font-family: 'Newsreader', serif; font-style: italic; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1.125rem; line-height: 1.4; border-left: 2px solid color-mix(in srgb, var(--color-primary) 70%, transparent); padding-left: 1.25rem; }
.theme-contact-quote-author { margin-top: 0.75rem; padding-left: 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); letter-spacing: 0.02em; }

.theme-contact-form { background-color: 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; height: 100%; box-shadow: var(--shadow-soft, 0 4px 20px -8px rgba(60,30,80,0.14)); }
@media (min-width: 768px) { .theme-contact-form { padding: 2rem; } }
.theme-contact-form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.theme-field-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-field-row { grid-template-columns: 1fr 1fr; } }
.theme-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; }
.theme-input {
	width: 100%; height: 48px; padding: 0 1rem;
	background-color: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 6px;
	font-size: 14px; color: var(--color-foreground);
	transition: border-color 0.2s;
}
.theme-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-input:focus { outline: none; border-color: var(--color-primary); }
.theme-textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.theme-select-wrap { position: relative; }
.theme-select { appearance: none; padding-right: 2.5rem; }
.theme-select-caret { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-contact-form-actions { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-contact-note { font-size: 12px; text-align: center; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer { background-color: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.site-footer > .container-wide { padding-inline: 1.25rem; }
@media (min-width: 480px) { .site-footer > .container-wide { padding-inline: 1.75rem; } }
@media (min-width: 640px) { .site-footer > .container-wide { padding-inline: 2rem; } }
@media (min-width: 1024px) { .site-footer > .container-wide { padding-inline: 2.5rem; } }
.theme-footer-grid { padding: 3.5rem 0; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; padding: 5rem 0; } }
.theme-footer-brand-link { display: inline-flex; }
.theme-footer-tagline { margin-top: 1rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 20rem; }
.theme-footer-heading { font-size: 1.125rem; color: var(--color-foreground); margin-bottom: 1rem; }
.theme-footer-list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-footer-link { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); transition: color 0.2s; text-align: left; }
.theme-footer-link:hover { color: var(--color-primary); }
.theme-footer-contact { gap: 0.75rem; }
.theme-footer-contact .theme-mailto-link,
.theme-footer-contact .theme-tel-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
}
.theme-footer-contact .theme-mailto-link:hover,
.theme-footer-contact .theme-tel-link:hover {
	color: var(--color-primary);
}
.theme-footer-address {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 14px;
}
.theme-footer-address svg { margin-top: 0.125rem; flex-shrink: 0; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.theme-footer-address .theme-address-text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.5; }

.theme-footer-bottom {
	margin-top: 0; padding: 2rem 0;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
	font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	text-align: left;
}
@media (min-width: 640px) {
	.theme-footer-bottom { flex-direction: row; align-items: center; }
}
.theme-footer-credit { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s; }
.theme-footer-credit:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------- */
/* Promo banner                                                            */
/* ---------------------------------------------------------------------- */
.theme-promo-banner {
	position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 50;
	background-color: var(--color-foreground); color: var(--color-background);
	border-radius: 1rem;
	box-shadow: var(--shadow-elevated, 0 20px 50px -18px rgba(0,0,0,0.4));
	padding: 1rem 1.25rem;
	display: flex; align-items: flex-start; gap: 0.75rem;
	opacity: 0; transform: translateY(12px);
	transition: opacity 0.5s, transform 0.5s;
}
@media (min-width: 640px) { .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-banner.is-visible { opacity: 1; transform: translateY(0); }
.theme-promo-text { font-size: 13px; line-height: 1.6; flex: 1; margin: 0; }
@media (min-width: 640px) { .theme-promo-text { font-size: 15px; } }
.theme-promo-highlight { color: var(--color-rose); font-weight: 600; }
.theme-promo-dismiss { flex-shrink: 0; margin-top: 0.125rem; padding: 0.375rem; border-radius: 999px; background: none; border: none; color: inherit; transition: background-color 0.2s; }
.theme-promo-dismiss:hover { background-color: rgba(255,255,255,0.1); }

/* ---------------------------------------------------------------------- */
/* Cart drawer                                                              */
/* ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 55;
	background-color: rgba(0,0,0,0.3);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background-color: var(--color-ivory);
	z-index: 56;
	box-shadow: var(--shadow-elevated, 0 20px 50px -18px rgba(0,0,0,0.4));
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer-title { font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-close { padding: 0.375rem; border-radius: 999px; background: none; border: none; color: var(--color-foreground); transition: background-color 0.2s; }
.theme-cart-close:hover { background-color: 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-empty-icon { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-empty-text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 14px; }

.theme-cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 80px; height: 96px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background-color: var(--color-bone); display: block; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 14px; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s; }
.theme-cart-item-name:hover { color: var(--color-primary); }
.theme-cart-item-price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.125rem; }
.theme-cart-item-meta { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); 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: 4px; background: none; border: none; color: var(--color-foreground); transition: background-color 0.2s; display: inline-flex; }
.theme-cart-qty-btn:hover { background-color: var(--color-bone); }
.theme-cart-qty-value { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); background: none; border: none; transition: color 0.2s; }
.theme-cart-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: color-mix(in srgb, var(--color-linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-subtotal-label { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin: 0; }

/* ---------------------------------------------------------------------- */
/* WooCommerce: Add to cart button overrides (Section 11.4.1)              */
/* ---------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_add_to_cart_button {
	background-color: var(--color-cta) !important;
	color: var(--color-cta-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: 'Switzer', sans-serif !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-cta) !important;
	color: var(--color-cta-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-cta) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0 1rem !important;
	border-radius: 999px !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ---------------------------------------------------------------------- */
/* WooCommerce notices (scoped, Section 14.1)                              */
/* ---------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: 'Switzer', sans-serif;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	font-size: 14px;
	list-style: none;
	background-color: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: var(--color-foreground);
}
.woocommerce-error { border-color: color-mix(in srgb, var(--color-destructive) 40%, transparent); color: var(--color-destructive); }

/* ---------------------------------------------------------------------- */
/* Single product page                                                     */
/* ---------------------------------------------------------------------- */
.theme-single-product { background-color: var(--color-ivory); padding-top: 6rem; }
@media (min-width: 1024px) { .theme-single-product { padding-top: 7rem; } }

.theme-breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-breadcrumb a { transition: color 0.2s; }
.theme-breadcrumb a:hover { color: var(--color-primary); }
.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: 5rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; align-self: start; } }

.theme-product-main-image { position: relative; width: 100%; aspect-ratio: 1 / 1; background-color: var(--color-linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-cover-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-color: var(--color-linen); border-radius: 6px; overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s; padding: 0; }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-product-thumb.is-active { border-color: var(--color-primary); }

.theme-product-category { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.theme-product-title { font-size: 1.875rem; line-height: 1.05; color: var(--color-foreground); margin-bottom: 1rem; font-weight: 400; }
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.6rem; } }
.theme-product-price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-price ins { text-decoration: none; }
.theme-stock-indicator { margin-bottom: 1.5rem; font-size: 13px; font-weight: 500; }
.theme-stock-out { color: var(--color-destructive); }

.theme-product-description, .woocommerce-product-details__short-description, .posted_in {
	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-description p:last-child { margin-bottom: 0; }

.theme-option-group { margin-bottom: 1.25rem; }
.theme-option-label { 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-option-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-option-btn {
	height: 40px; padding: 0 1rem;
	border-radius: 999px; font-size: 13px; font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	background-color: transparent;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: all 0.2s;
}
.theme-option-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-option-btn.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-wrapper { 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.6rem 1rem; background: none; border: none; color: var(--color-foreground); transition: color 0.2s; display: inline-flex; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input {
	width: 3rem; padding: 0.6rem 0; text-align: center; font-size: 14px; font-weight: 500;
	border: none; background: none; color: var(--color-foreground);
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}
.theme-add-to-cart-area .single_add_to_cart_button,
.theme-add-to-cart-area .theme-buy-now-btn {
	flex: 1 1 auto;
	min-width: 160px;
}
.theme-buy-now-btn {
	background-color: transparent;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
	border-radius: var(--btn-radius);
	height: var(--btn-height);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	transition: all 0.2s;
}
.theme-buy-now-btn:hover { border-color: var(--color-foreground); background-color: color-mix(in srgb, var(--color-foreground) 4%, transparent); }
.theme-buy-now-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.theme-product-details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); margin-bottom: 2rem; }
.theme-details-list ul { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-details-list li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; }
.theme-details-list li::before { content: ''; width: 4px; height: 4px; border-radius: 999px; background-color: var(--color-primary); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-product-trust-row { 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-item { text-align: center; }
.theme-trust-item svg { color: var(--color-primary); margin: 0 auto 0.5rem; display: block; }
.theme-trust-item p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin: 0; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-related-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.theme-related-heading { font-size: 1.875rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-related-heading { font-size: 2.25rem; } }
.theme-related-viewall { 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; }
@media (min-width: 640px) { .theme-related-viewall { display: inline-flex; } }
.theme-related-viewall:hover { color: var(--color-primary); }

/* ---------------------------------------------------------------------- */
/* Variable-product (variations table) support — kept for completeness    */
/* ---------------------------------------------------------------------- */
.theme-attr-select-hidden { display: none !important; }
.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; }
.single-product .variations tbody td.value { padding-top: 0; }

/* ---------------------------------------------------------------------- */
/* Generic pages / 404                                                     */
/* ---------------------------------------------------------------------- */
.theme-page-main, .theme-generic-main { background-color: var(--color-ivory); padding-top: 7rem; padding-bottom: 4rem; min-height: 50vh; }
.theme-page-container { max-width: 60rem; }
.page-title { font-size: 2.5rem; margin-bottom: 2rem; color: var(--color-foreground); font-weight: 400; }

.theme-404-main { background-color: var(--color-ivory); min-height: 70vh; display: flex; align-items: center; }
.theme-404-container { max-width: 32rem; margin-inline: auto; text-align: center; padding: 5rem 0; }
.theme-404-code { font-size: 4rem; color: var(--color-primary); margin-bottom: 1rem; }
.theme-404-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.theme-404-body { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 2rem; }

/* ---------------------------------------------------------------------- */
/* WooCommerce Checkout Block (Section 13)                                 */
/* ---------------------------------------------------------------------- */
body.woocommerce-checkout .theme-page-container {
	max-width: 80rem;
	width: 100%;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: 100%;
}
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	max-width: none;
	width: 100%;
}
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(7rem + 2.5rem);
	padding-bottom: 4rem;
	background-color: var(--color-ivory);
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-account .site-main {
		padding-top: calc(7rem + 3rem);
	}
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	margin-bottom: 2rem;
}

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 2.5rem;
		align-items: start;
	}
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		gap: 3.5rem;
	}
}
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-sidebar-layout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	flex: none;
	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: 'Switzer', sans-serif;
	font-size: 14px;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent) !important;
	border-radius: 6px !important;
	background-color: var(--color-ivory) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary) !important;
	outline: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-cta) !important;
	color: var(--color-cta-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: 'Switzer', sans-serif !important;
	text-transform: 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: 8px; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-linen);
	border-radius: 1rem;
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-cart-items { font-family: 'Switzer', sans-serif; }

/* ---------------------------------------------------------------------- */
/* Thank-you page                                                          */
/* ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
	font-family: 'Switzer', sans-serif;
}
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) 15%, 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 h2, body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
	color: var(--color-foreground);
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem;
}
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; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem;
}
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) 10%, transparent);
	border-radius: 8px; padding: 1.25rem; font-style: normal;
}

/* ---------------------------------------------------------------------- */
/* Animations                                                               */
/* ---------------------------------------------------------------------- */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
