/* ==========================================================================
   Apparel Doctor — theme.css
   Design tokens are injected as CSS variables via wp_add_inline_style()
   (Section 22.9); defaults below match the values computed in
   theme_hsl_to_hex() so the page never flashes unstyled.
   ========================================================================== */

:root {
	--color-background: #f7f5f2;
	--color-foreground: #1a1d23;
	--color-primary: #d52020;
	--color-secondary: #e8eaed;
	--color-muted: #f0edea;
	--color-muted-foreground: #575e6b;
	--color-accent: #cba14d;
	--color-border: #d7dae0;
	--color-ivory: #f9f7f5;
	--color-linen: #f1ede9;
	--color-bone: #e8e3de;
	--color-destructive: #d52020;

	/* Derived tokens, computed from the brand palette (Section 6.1). */
	--color-primary-foreground: #f9f7f5;
	--color-secondary-foreground: #1a1d23;
	--color-accent-foreground: #1a1d23;
	--color-destructive-foreground: #ffffff;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Newsreader', 'Instrument Serif', Georgia, serif;
	--font-body: 'Switzer', system-ui, -apple-system, sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;
	--shadow-soft: 0 4px 20px -8px hsl(220 20% 10% / 0.10);
	--shadow-elevated: 0 20px 50px -18px hsl(220 20% 10% / 0.22);

	--logo-height: 84px;
	--header-height: 96px;
	--admin-bar-height: 0px;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--checkout-gap: 2rem;
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	font-feature-settings: 'ss01', 'cv11';
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.014em;
	margin: 0;
}
h1, h2, h3, h4, h5, h6 { font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; font-family: inherit; background: none; border: none; padding: 0; color: inherit; }
button:disabled,
button[disabled],
input:disabled,
select:disabled,
textarea:disabled { cursor: not-allowed; }
a[href],
[role="button"],
.theme-filter-pill,
.theme-nav-link,
.theme-footer-link,
.theme-contact__item,
.theme-social-pill,
.theme-social-btn,
.theme-service-card__cta,
.theme-cart-btn,
.theme-nav-toggle,
.theme-carousel-dot,
.theme-carousel-arrow,
.theme-faq-item__toggle,
.theme-promo-close,
.theme-file-dropzone,
.theme-product-card__info,
.theme-card-link,
.theme-product-card__add-btn,
.theme-product-card__eye-btn,
label[for],
select,
summary { cursor: pointer; }
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-cart-item-img) {
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
input, textarea, select { font-family: inherit; font-size: inherit; }
section[id] { scroll-margin-top: calc(80px + var(--admin-bar-height)); }
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-height: 46px; }
}
.theme-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

body.theme-no-hero { padding-top: calc(var(--header-height) + var(--admin-bar-height)); }
body.woocommerce-checkout.theme-no-hero,
body.woocommerce-cart.theme-no-hero,
body.woocommerce-account.theme-no-hero,
body.theme-thankyou-page.theme-no-hero { padding-top: calc(var(--header-height) + var(--admin-bar-height)); }

/* ==========================================================================
   SCROLL REVEAL (Section 2.1)
   ========================================================================== */
[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,
body.is-customizer .scale-in-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { transition: none; opacity: 1; transform: none; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid transparent;
	height: 2.75rem;
	padding: 0 1.5rem;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	text-transform: none;
}
.theme-btn--lg { height: 3rem; padding: 0 1.75rem; }
.theme-btn--sm { height: 2.25rem; padding: 0 1rem; }
.theme-btn--block { width: 100%; }
.theme-btn--default,
.theme-btn--rose {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-btn--default:hover, .theme-btn--rose:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, black); }
.theme-btn--outline {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.theme-btn--outline:hover { border-color: var(--color-foreground); background-color: color-mix(in srgb, var(--color-foreground) 4%, transparent); }
.theme-btn--ghost { background: 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--glass {
	background-color: color-mix(in srgb, #ffffff 10%, transparent);
	color: #fff;
	border-color: color-mix(in srgb, #ffffff 40%, transparent);
	backdrop-filter: blur(10px);
}
.theme-btn--glass:hover { background-color: color-mix(in srgb, #ffffff 20%, transparent); }
.theme-btn:disabled { opacity: 0.6; pointer-events: none; }

.theme-eyebrow {
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 500;
	margin-bottom: 1rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: fixed; top: var(--admin-bar-height); left: 0; right: 0; z-index: 50; }
.theme-announce-bar {
	background-color: var(--color-foreground);
	color: var(--color-background);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	padding: 0.5rem 1rem;
}
.theme-announce-code { color: var(--color-primary); }
.theme-header-bar { transition: background-color 0.5s ease, border-color 0.5s ease; border-bottom: 1px solid transparent; }
.site-header.is-transparent .theme-header-bar { background-color: transparent; }
.site-header.is-solid .theme-header-bar,
.site-header.is-menu-open .theme-header-bar {
	background-color: color-mix(in srgb, var(--color-ivory) 85%, transparent);
	backdrop-filter: blur(20px);
	border-bottom-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.theme-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 96px;
}
@media (min-width: 1024px) {
	.theme-header-inner { height: 112px; display: grid; grid-template-columns: 1fr auto 1fr; }
}
.theme-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	color: #fff;
	order: 1;
}
.site-header.is-solid .theme-nav-toggle,
.site-header.is-menu-open .theme-nav-toggle { color: var(--color-foreground); }
.theme-nav-toggle:hover { background-color: color-mix(in srgb, currentColor 8%, transparent); }
@media (min-width: 1024px) { .theme-nav-toggle { display: none; } }

.theme-site-identity { display: flex; align-items: center; flex-shrink: 0; order: 2; }
@media (min-width: 1024px) { .theme-site-identity { order: 1; justify-self: start; } }
.site-logo-img { height: var(--logo-height) !important; width: var(--logo-height) !important; object-fit: contain; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.site-header.is-transparent .site-logo-text { color: #fff; }

.theme-primary-nav { display: none; order: 3; }
@media (min-width: 1024px) { .theme-primary-nav { display: flex; align-items: center; gap: 1.75rem; justify-self: center; order: 2; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; }
.theme-nav-link {
	position: relative;
	font-size: 14px;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: color 0.3s ease;
	padding-bottom: 0.375rem;
}
.site-header.is-transparent .theme-nav-link { color: color-mix(in srgb, #fff 85%, transparent); }
.theme-nav-link:hover { color: var(--color-primary); }
.site-header.is-transparent .theme-nav-link:hover { color: #fff; }
.theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	border-radius: 999px;
	background-color: var(--color-primary);
	opacity: 0;
	transform: scaleX(0);
	transition: all 0.3s ease;
}
.site-header.is-transparent .theme-nav-link::after { background-color: var(--color-primary); }
.theme-nav-link.is-active { color: var(--color-primary); }
.site-header.is-transparent .theme-nav-link.is-active { color: #fff; }
.theme-nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.theme-header-actions { display: flex; align-items: center; gap: 0.5rem; justify-self: end; order: 3; }
.theme-cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; color: #fff; }
.site-header.is-solid .theme-cart-btn, .site-header.is-menu-open .theme-cart-btn { color: var(--color-foreground); }
.theme-cart-btn:hover { background-color: color-mix(in srgb, currentColor 8%, 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-panel {
	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(20px);
}
@media (min-width: 1024px) { .theme-mobile-panel { display: none !important; } }
.theme-mobile-panel-inner { padding-block: 1rem; }
.theme-mobile-panel .theme-nav-list {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	list-style: none;
}
.theme-mobile-panel .theme-nav-list .theme-nav-link {
	display: block;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-mobile-panel .theme-nav-list > li:last-child .theme-nav-link { border-bottom: 0; }

/* ==========================================================================
   HOME HERO
   ========================================================================== */
.theme-hero { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.theme-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__scrim-radial {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(at center, hsl(285 30% 8% / 0.35) 0%, hsl(285 30% 8% / 0.6) 70%, hsl(285 30% 8% / 0.78) 100%);
}
.theme-hero__scrim-dark { position: absolute; inset: 0; background-color: rgba(0,0,0,0.55); pointer-events: none; }
.theme-hero__content { position: relative; z-index: 10; text-align: center; color: #fff; padding-block: 10rem 6rem; }
@media (max-width: 639px) { .theme-hero__content { padding-inline: 1.5rem; } }
@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: color-mix(in srgb, #fff 10%, transparent);
	border: 1px solid color-mix(in srgb, #fff 30%, transparent);
	backdrop-filter: blur(10px);
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.theme-icon--rose { color: var(--color-primary); }
.theme-icon,
.theme-icon svg {
	display: block;
	flex-shrink: 0;
}
.theme-icon--sm,
.theme-social-pill .theme-icon,
.theme-social-pill svg,
.theme-contact__item-icon .theme-icon,
.theme-contact__item-icon svg,
.theme-social-btn .theme-icon,
.theme-social-btn svg {
	width: 1rem;
	height: 1rem;
}
.theme-hero__title {
	color: #fff; line-height: 1.02; letter-spacing: -0.02em;
	margin: 0 auto; max-width: 64rem;
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55));
	font-size: 2rem;
}
@media (min-width: 640px) { .theme-hero__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.4rem; } }
.theme-hero__title-em, .theme-precta__title-em { font-style: italic; color: var(--color-primary); font-weight: inherit; }
.theme-hero__title-break { display: none; }
@media (min-width: 640px) { .theme-hero__title-break { display: block; } }
.theme-hero__subtitle { margin: 1.75rem auto 0; max-width: 42rem; font-size: 14px; color: color-mix(in srgb, #fff 85%, transparent); 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; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.theme-about { position: relative; background-color: var(--color-linen); padding: 6rem 0; overflow: hidden; }
@media (min-width: 768px) { .theme-about { padding: 9rem 0; } }
.theme-about__top-line { position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-foreground) 15%, transparent), transparent); }
.theme-about__glow { position: absolute; top: -10rem; left: 50%; transform: translateX(-50%); width: 720px; height: 720px; border-radius: 50%; background-color: color-mix(in srgb, var(--color-primary) 6%, transparent); filter: blur(80px); pointer-events: none; }
.theme-about__inner { position: relative; }
.theme-about__intro { max-width: 48rem; margin: 0 auto; text-align: center; }
.theme-about__eyebrow-row { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; }
.theme-about__eyebrow-line { height: 1px; width: 2rem; background-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-about__title { margin-top: 1.5rem; font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-about__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about__title { font-size: 3.6rem; } }
.theme-about__title-em { font-style: italic; color: var(--color-primary); }
.theme-about__quote { margin-top: 2rem; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 768px) { .theme-about__quote { font-size: 1.5rem; } }

.theme-about__steps { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 64rem; margin-inline: auto; text-align: left; }
@media (min-width: 768px) { .theme-about__steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 5rem; } }
.theme-about__step { position: relative; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-about__step-icon {
	position: absolute; top: -22px; left: 0;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	box-shadow: var(--shadow-elevated);
	transition: transform 0.3s ease;
}
.theme-about__step:hover .theme-about__step-icon { transform: rotate(20deg); }
.theme-about__step-num { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.22em; color: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.theme-about__step-title { margin-top: 0.75rem; font-size: 1.5rem; color: var(--color-foreground); }
.theme-about__step-body { margin-top: 0.75rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }

.theme-about__bottom { margin-top: 4rem; max-width: 64rem; margin-inline: auto; }
.theme-about__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background-color: color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
@media (min-width: 768px) { .theme-about__stats { grid-template-columns: repeat(4, 1fr); } }
.theme-about__stat { background-color: var(--color-ivory); padding: 2rem 1.5rem; text-align: center; }
.theme-about__stat-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
@media (min-width: 768px) { .theme-about__stat-value { font-size: 1.875rem; } }
.theme-about__stat-label { margin-top: 0.5rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-about__social-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.theme-social-pill {
	display: inline-flex; align-items: center; gap: 0.5rem;
	height: 2.75rem; padding: 0 1.5rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background-color: var(--color-ivory);
	font-size: 14px; font-weight: 500;
	transition: all 0.2s ease;
}
.theme-social-pill:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-product-card-wrap.is-filter-hidden { display: none !important; }

/* ==========================================================================
   SHOP
   ========================================================================== */
.theme-shop { background-color: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .theme-shop { 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__intro { max-width: 42rem; }
.theme-shop__title { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-shop__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-shop__title { font-size: 3.2rem; } }
.theme-shop__subtitle { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 36rem; }
.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 {
	width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem;
	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: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: 2.5rem; 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 ease;
}
.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 { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-shop__view-more-wrap { margin-top: 3rem; display: flex; justify-content: center; }

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap { min-width: 0; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: var(--color-linen);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-card__image-wrap > .theme-card-link { position: absolute; inset: 0; z-index: 2; }
.theme-product-card__image-wrap *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__image { transition: transform 1.4s cubic-bezier(0.22,0.61,0.36,1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-badge { position: absolute; z-index: 3; font-size: 11px; font-weight: 500; padding: 0.25rem 0.65rem; border-radius: 999px; }
.theme-badge--sold-out { top: 0.75rem; left: 0.75rem; background-color: var(--color-foreground); color: var(--color-background); }
.theme-product-card__quick-actions {
	position: absolute; z-index: 4; inset-inline: 0.75rem; bottom: 0.75rem;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn, .theme-product-card__eye-btn { pointer-events: auto; }
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart {
	flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	height: 2.5rem; border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	color: var(--color-foreground);
	font-size: 14px; font-weight: 500;
	backdrop-filter: blur(6px);
	box-shadow: var(--shadow-soft);
	min-height: unset;
	padding: 0 1rem;
}
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__eye-btn {
	width: 2.5rem; height: 2.5rem; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
}
.theme-product-card__eye-btn:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__info { display: block; padding: 0 0.125rem; flex: 1; }
.theme-product-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: 0.375rem; font-weight: 500; }
.theme-product-card__name { font-size: 1.15rem; line-height: 1.35; color: var(--color-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__name { font-size: 1.3rem; } }
.theme-product-card:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }

/* ==========================================================================
   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-scroll 20s linear infinite; width: max-content; }
.theme-marquee__item { display: flex; align-items: center; flex-shrink: 0; color: color-mix(in srgb, var(--color-primary-foreground) 95%, transparent); font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.02em; }
@media (min-width: 768px) { .theme-marquee__item { font-size: 1.25rem; } }
.theme-marquee__text { margin: 0 1.5rem; }
@media (min-width: 768px) { .theme-marquee__text { margin: 0 2rem; } }
.theme-marquee__dot { color: color-mix(in srgb, var(--color-primary-foreground) 50%, transparent); font-size: 14px; }
@keyframes theme-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.theme-services { background-color: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .theme-services { padding: 8rem 0; } }
.theme-services__intro { max-width: 48rem; margin-bottom: 3.5rem; }
.theme-services__title { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-services__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-services__title { font-size: 3.2rem; } }
.theme-services__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .theme-services__grid { grid-template-columns: repeat(3, minmax(0,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 ease; }
.theme-service-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-service-card__image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.theme-service-card__image { transition: transform 0.7s ease; }
.theme-service-card:hover .theme-service-card__image { transform: scale(1.05); }
.theme-service-card__icon {
	position: absolute; top: 1rem; left: 1rem; z-index: 2;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	box-shadow: var(--shadow-elevated);
	transition: transform 0.3s ease;
}
.theme-service-card:hover .theme-service-card__icon { transform: rotate(20deg); }
.theme-service-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 768px) { .theme-service-card__body { padding: 2rem; } }
.theme-service-card__title { font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.theme-service-card__text { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 1.25rem; flex: 1; }
.theme-service-card__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--color-primary); margin-top: auto; transition: gap 0.3s ease; }
.theme-service-card__cta:hover { gap: 0.625rem; }

/* ==========================================================================
   FAQ + TESTIMONIALS
   ========================================================================== */
.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__stack { display: flex; flex-direction: column; gap: 5rem; }
@media (min-width: 768px) { .theme-faq__stack { gap: 6rem; } }
.theme-faq__row { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-faq__row { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.theme-faq__intro { grid-column: 1 / span 4; }
.theme-faq__title { margin-top: 0; font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-faq__title { font-size: 3rem; } }
.theme-faq__subtitle { margin-top: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 24rem; }
.theme-faq__side-card { display: none; margin-top: 2.5rem; position: relative; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background-color: var(--color-linen); padding: 1.75rem; overflow: hidden; }
@media (min-width: 1024px) { .theme-faq__side-card { display: block; } }
.theme-faq__side-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background-color: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1.25rem; }
.theme-faq__side-card-title { font-size: 1.5rem; color: var(--color-foreground); line-height: 1.3; margin-bottom: 0.5rem; }
.theme-faq__side-card-body { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }

.theme-faq__list { grid-column: 5 / span 8; }
.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-item__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.theme-faq-item__q { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); line-height: 1.4; }
@media (min-width: 768px) { .theme-faq-item__q { font-size: 1.25rem; } }
.theme-faq-item__icon { flex-shrink: 0; color: var(--color-primary); }
.theme-faq-item__icon-minus { display: none; }
.theme-faq-item.is-open .theme-faq-item__icon-plus { display: none; }
.theme-faq-item.is-open .theme-faq-item__icon-minus { display: block; }
.theme-faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.theme-faq-item.is-open .theme-faq-item__panel { grid-template-rows: 1fr; }
.theme-faq-item__panel-inner { overflow: hidden; }
.theme-faq-item__a { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; max-width: 42rem; }

.theme-testimonials__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.theme-testimonials__title { margin-top: 0.75rem; font-size: 1.875rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-testimonials__title { font-size: 2.25rem; } }
.theme-testimonials__arrows { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .theme-testimonials__arrows { display: flex; } }
.theme-carousel-arrow { width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.theme-carousel-arrow:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-testimonials__track-wrap { overflow: hidden; margin: 0 -0.75rem; }
.theme-testimonials__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.theme-testimonials__track::-webkit-scrollbar { display: none; }
.theme-testimonial-slide { flex: 0 0 100%; scroll-snap-align: start; padding: 0 0.75rem; }
@media (min-width: 768px) { .theme-testimonial-slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .theme-testimonial-slide { flex: 0 0 25%; } }
.theme-testimonial-card { height: 100%; 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; }
.theme-testimonial-card__stars { display: flex; gap: 0.125rem; margin-bottom: 1rem; color: var(--color-primary); }
.theme-testimonial-card__text { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); flex: 1; }
.theme-testimonial-card__meta { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-testimonial-card__name { font-size: 14px; font-weight: 500; color: var(--color-foreground); }
.theme-testimonial-card__city { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.125rem; }
.theme-testimonials__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.theme-carousel-dot { height: 6px; width: 6px; border-radius: 999px; background-color: color-mix(in srgb, var(--color-foreground) 25%, transparent); transition: all 0.2s ease; }
.theme-carousel-dot:hover { background-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-carousel-dot.is-active { width: 2rem; background-color: var(--color-primary); }

/* ==========================================================================
   PRE-CONTACT CTA
   ========================================================================== */
.theme-precta { position: relative; overflow: hidden; }
.theme-precta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-precta__scrim-radial { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(at center, hsl(285 30% 8% / 0.35) 0%, hsl(285 30% 8% / 0.6) 70%, hsl(285 30% 8% / 0.78) 100%); }
.theme-precta__scrim-dark { position: absolute; inset: 0; background-color: rgba(0,0,0,0.55); pointer-events: none; }
.theme-precta__content { position: relative; z-index: 10; padding-block: 7rem 10rem; text-align: center; color: #fff; }
@media (max-width: 639px) { .theme-precta__content { padding-inline: 1.5rem; } }
@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: color-mix(in srgb, #fff 85%, transparent); margin-bottom: 1.5rem; font-weight: 500; }
.theme-precta__eyebrow-line { height: 1px; width: 2rem; background-color: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.theme-precta__title { color: #fff; line-height: 1.05; letter-spacing: -0.02em; margin: 0 auto; max-width: 56rem; filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55)); font-size: 2rem; }
@media (min-width: 640px) { .theme-precta__title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .theme-precta__title { font-size: 4rem; } }
.theme-precta__body { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; color: color-mix(in srgb, #fff 85%, transparent); line-height: 1.7; }
.theme-precta__cta-wrap { margin-top: 2.5rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.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: repeat(2, 1fr); gap: 5rem; } }
.theme-contact__info { display: flex; flex-direction: column; height: 100%; }
.theme-contact__title { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-contact__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-contact__title { font-size: 3.4rem; } }
.theme-contact__body { margin-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; 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.2s ease; }
.theme-contact__item:hover { color: var(--color-primary); }
.theme-contact__item-icon { width: 2.75rem; height: 2.75rem; 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; flex-shrink: 0; transition: border-color 0.2s ease; }
.theme-contact__item:hover .theme-contact__item-icon { border-color: var(--color-primary); }
.theme-contact__item-text { display: flex; flex-direction: column; text-align: left; }
.theme-contact__item-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-contact__item-value { font-size: 15px; font-weight: 500; }
.theme-contact__quote-card { margin-top: auto; padding-top: 2.5rem; }
.theme-contact__quote-card { 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__quote-badge { position: absolute; top: -0.75rem; left: 1.5rem; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; border-radius: 999px; background-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 { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1.125rem; line-height: 1.5; border-left: 2px solid color-mix(in srgb, var(--color-primary) 70%, transparent); padding-left: 1.25rem; }
@media (min-width: 768px) { .theme-contact__quote { font-size: 1.25rem; } }
.theme-contact__quote-sub { 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;
	box-shadow: var(--shadow-soft);
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
@media (min-width: 768px) { .theme-contact__form { padding: 2rem; } }
.theme-contact__form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row { grid-template-columns: repeat(2, 1fr); } }
.theme-form-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-form-input {
	width: 100%; height: 3rem; padding: 0 1rem;
	background-color: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 0.5rem;
	font-size: 14px; color: var(--color-foreground);
}
.theme-form-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-form-input:focus { outline: none; border-color: var(--color-primary); }
.theme-form-textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.theme-select-wrap { position: relative; }
.theme-form-select { appearance: none; padding-right: 2.5rem; }
.theme-select-chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-file-dropzone {
	width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.75rem;
	height: 6rem; padding: 0 1rem;
	border-radius: 0.5rem; border: 2px dashed color-mix(in srgb, var(--color-foreground) 20%, transparent);
	background-color: color-mix(in srgb, var(--color-linen) 40%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: all 0.2s ease;
}
.theme-file-dropzone:hover { border-color: var(--color-primary); background-color: var(--color-linen); color: var(--color-primary); }
.theme-file-dropzone__text { font-size: 13px; text-align: left; }
.theme-file-dropzone__title { display: block; font-weight: 500; }
.theme-file-dropzone__sub { display: block; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-form-note { margin-top: 0.5rem; font-size: 11px; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-form-note--center { text-align: center; font-size: 12px; }
.theme-contact-file-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-contact-file-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem; border-radius: 0.5rem; background-color: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-contact-file-name { font-size: 13px; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-contact-file-size { font-size: 11px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-contact-file-remove { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-contact-file-remove:hover { color: var(--color-primary); }
.theme-form-error { font-size: 13px; color: var(--color-destructive); background-color: color-mix(in srgb, var(--color-destructive) 10%, transparent); border: 1px solid color-mix(in srgb, var(--color-destructive) 30%, transparent); border-radius: 0.5rem; padding: 0.5rem 0.75rem; }
.theme-contact__form-actions { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background-color: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-footer-inner { padding-block: 3.5rem 2rem; }
@media (min-width: 640px) and (max-width: 1023px) {
	.site-footer .theme-footer-inner { padding-inline: 2.5rem; }
}
@media (min-width: 1024px) { .theme-footer-inner { padding-block: 5rem 2.5rem; } }
.theme-footer-grid { 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; } }
.theme-footer-logo-badge { height: 78px; width: 78px; border-radius: 999px; background-color: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.theme-footer-logo-badge .site-logo-img { height: 64px !important; width: 64px !important; }
.theme-footer-about { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 20rem; }
.theme-footer-socials { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.theme-social-btn { width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: all 0.2s ease; }
.theme-social-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.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 ease; }
.theme-footer-link:hover { color: var(--color-primary); }
.theme-footer-link--icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-footer-link--muted { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; } }

/* ==========================================================================
   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);
	padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem;
	transform: translateY(20px); opacity: 0; pointer-events: none;
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.theme-promo-banner.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (min-width: 640px) { .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-text { font-size: 13px; line-height: 1.6; flex: 1; }
@media (min-width: 640px) { .theme-promo-text { font-size: 15px; } }
.theme-promo-highlight { color: var(--color-primary); font-weight: 600; }
.theme-promo-close { flex-shrink: 0; margin-top: 0.125rem; padding: 0.375rem; border-radius: 999px; }
.theme-promo-close:hover { background-color: color-mix(in srgb, #fff 10%, transparent); }

/* ==========================================================================
   SIDE CART (Section 12)
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	z-index: 60; 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: var(--admin-bar-height); height: calc(100% - var(--admin-bar-height)); width: 100%; max-width: 28rem;
	background-color: var(--color-ivory); z-index: 61; box-shadow: var(--shadow-elevated);
	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-drawer__close { padding: 0.375rem; border-radius: 999px; }
.theme-cart-drawer__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-drawer__empty-icon { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__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: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image {
	display: block;
	position: relative;
	width: 5rem;
	height: 6rem;
	background-color: var(--color-bone);
	border-radius: 0.5rem;
	overflow: hidden;
	flex-shrink: 0;
}
.theme-cart-item__image img,
.theme-cart-item__image .theme-cart-item-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { display: block; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.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__variation { 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-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-item__qty-btn:hover { background-color: var(--color-bone); }
.theme-cart-item__qty { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-item__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-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* ==========================================================================
   WOOCOMMERCE — GLOBAL OVERRIDES (Section 14)
   ========================================================================== */
.woocommerce-message, .woocommerce-info { display: none; }
body .woocommerce-error { display: block; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.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; }

.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;
}
.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; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* ==========================================================================
   SINGLE PRODUCT (Section 11)
   ========================================================================== */
.single-product-main { padding-top: 7rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 8rem; } }
.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:hover { color: var(--color-primary); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.single-product .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) { .single-product .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .single-product .theme-product-gallery { position: sticky; top: 7rem; align-self: start; } }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; width: 100%; background-color: var(--color-linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-gallery__main .theme-product-main-img,
#product-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
.single-product .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: 0.5rem; overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s ease; }
.theme-product-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }

.theme-product-info__cat { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.product-title.theme-product-info__title {
	font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.05; color: var(--color-foreground); margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-info__title { font-size: 2.6rem; } }
.theme-product-info__price { font-size: 1.25rem; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-info__stock--out { color: var(--color-destructive); font-weight: 500; margin-bottom: 1rem; }
.theme-product-info__description,
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-info__description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; }
.theme-product-info__description p { margin-bottom: 1rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 999px; height: var(--btn-height); }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: 100%; display: inline-flex; align-items: center; justify-content: center; transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { width: 3rem; border: none; background: transparent; text-align: center; font-size: 14px; font-weight: 500; padding: 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }

.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: 1.5rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-info__details-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-info__details-body ul { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-product-info__details-body li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; }
.theme-product-info__details-body li::before { content: ''; width: 4px; height: 4px; background-color: var(--color-primary); border-radius: 999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-product-info__trust-badges { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-trust-badge { text-align: center; }
.theme-trust-badge svg { margin: 0 auto 0.5rem; color: var(--color-primary); }
.theme-trust-badge p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.related-products-section { 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__title { font-size: 1.875rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-related__title { font-size: 2.25rem; } }
.theme-related__view-all { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 640px) { .theme-related__view-all { display: inline-flex; } }
.theme-related__view-all:hover { color: var(--color-primary); }

/* ==========================================================================
   ARCHIVE / SHOP PAGE
   ========================================================================== */
.theme-archive-main { padding-top: 7rem; padding-bottom: 5rem; }
.theme-archive-header { padding: 2rem 0; }
.theme-archive-header .page-title { font-size: 2.25rem; color: var(--color-foreground); }
.theme-archive-pagination { margin-top: 3rem; text-align: center; }
.theme-archive-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin: 0 0.25rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-archive-pagination .page-numbers.current { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404 { min-height: 70vh; display: flex; align-items: center; padding-top: 7rem; }
.theme-404__inner { text-align: center; padding: 5rem 0; }
.theme-404__title { font-size: 4rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 2rem; }

/* ==========================================================================
   GENERIC PAGES
   ========================================================================== */
.page-title { font-size: 2.25rem; color: var(--color-foreground); margin: 2rem 0 1.5rem; }
body.theme-no-hero .entry-content { padding-bottom: 4rem; }

/* ==========================================================================
   CHECKOUT BLOCK (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
	font-family: var(--font-body);
	color: var(--color-foreground);
}
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 {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: 0.5rem;
	background-color: var(--color-ivory);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: 999px !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-linen);
	border-radius: var(--card-radius);
	padding: 2rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

/* ==========================================================================
   THANK YOU PAGE (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 {
	font-family: var(--font-display);
	font-size: 1.75rem;
	color: var(--color-foreground);
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem;
	list-style: none; padding: 1.5rem; margin: 1.5rem 0;
	background-color: var(--color-linen); border-radius: var(--card-radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
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;
}

/* ==========================================================================
   RESPONSIVE / MISC
   ========================================================================== */
@media (max-width: 1023px) {
	.theme-faq__intro, .theme-faq__list { grid-column: auto; }
}
