/* ==========================================================================
   Madd Belle Boutique — theme stylesheet
   Author: The Free Website Guys
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. CSS variables — hex fallback matches the source HSL tokens converted
   with theme_hsl_to_hex(); the live values are injected inline by PHP
   (Section 6 / 6.1 / 22.9).
   ------------------------------------------------------------------------- */
:root {
	--color-background: #ffffff;
	--color-foreground: #141414;
	--color-primary: #b38d42;
	--color-primary-light: #d6b566;
	--color-ink: #141414;
	--color-stone: #988f81;
	--color-cream: #f9f6f1;
	--color-muted: #f4f3f0;
	--color-muted-foreground: #666666;
	--color-border: #e4e2dd;
	--color-destructive: #c52020;
	--color-button-text: #ffffff;

	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Jost', system-ui, sans-serif;

	--radius: 0.25rem;
	--card-radius: 1rem;
	--logo-height: 56px;
	--header-height: 80px;

	--shadow-soft: 0 6px 20px -6px rgba(0, 0, 0, 0.14);
	--shadow-pop: 0 20px 50px -12px rgba(0, 0, 0, 0.22);

	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-standard: cubic-bezier(0.25, 0.4, 0.25, 1);

	--btn-radius: 0px;
	--btn-height: 48px;
	--btn-padding: 0.875rem 2rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.18em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.65rem;
	--checkout-gap: 2rem;
}

/* -------------------------------------------------------------------------
   2. Base / reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
	body { font-size: 17px; }
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); font-weight: 600; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea, label { font-family: var(--font-body); }
img { max-width: 100%; display: block; }

a, button {
	transition: color .25s var(--ease-smooth), background-color .25s var(--ease-smooth),
		border-color .25s var(--ease-smooth), transform .35s var(--ease-smooth),
		box-shadow .35s var(--ease-smooth), opacity .25s var(--ease-smooth);
}

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

/* Heading scale — matches Lovable index.css base layer. */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: inherit;
	letter-spacing: -0.02em;
	line-height: 1.08;
	color: var(--color-foreground);
	margin: 0;
}
h1 { font-weight: 800; letter-spacing: -0.03em; }

[data-price] {
	font-family: var(--font-body);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
[data-product-name] {
	font-family: var(--font-display);
	font-weight: 700;
}

/* Global img rule with the mandatory cover-image exclusion list (Section 15.1). */
img:not(.cover-img):not(.hero-section__video):not(.about-section__image):not(.theme-product-card__image):not(.theme-product-gallery__main-img):not(.theme-product-thumbnail__img):not(.site-logo-img):not(.theme-cart-drawer__item-img) {
	max-width: 100%;
	height: auto;
}

.theme-product-card__image,
.theme-product-gallery__main-img,
.theme-cart-drawer__item-img {
	height: 100% !important;
	width: 100%;
	object-fit: cover;
}

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

.eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-primary);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 500;
}

.gold-rule {
	height: 1px;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-primary) 70%, transparent), transparent);
}

.text-gradient {
	background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.heading-accent { font-style: italic; }
.heading-accent--gradient {
	background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.heading-accent--gold { color: var(--color-primary); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.icon-xs svg, .theme-icon.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-sm svg, .theme-icon.icon-sm { width: 1rem; height: 1rem; }
.icon-md svg, .theme-icon.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-xs, .icon-sm, .icon-md { display: inline-flex; flex-shrink: 0; }
.theme-icon.icon-xs { width: 0.875rem; height: 0.875rem; }
.theme-icon.icon-sm { width: 1rem; height: 1rem; }
.theme-icon.icon-md { width: 1.5rem; height: 1.5rem; }
.rotate-180 { transform: rotate(180deg); }

/* Buttons */
.btn-primary, .btn-ghost, .btn-ghost-dark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	font-weight: var(--btn-font-weight);
	white-space: nowrap;
}
.btn-primary {
	color: var(--color-button-text);
	background: var(--color-ink);
	border: 1px solid var(--color-ink);
}
.btn-primary:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	transform: translateY(-1px);
	box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--color-primary) 80%, transparent);
}
.btn-ghost {
	border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
	color: var(--color-foreground);
	background: transparent;
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-ghost-dark {
	border: 1px solid color-mix(in srgb, var(--color-background) 35%, transparent);
	color: var(--color-background);
	background: transparent;
}
.btn-ghost-dark:hover { border-color: var(--color-primary-light); color: var(--color-primary-light); }

/* Hero CTAs / single product title MUST stay sentence case (Section 2.2). */
.btn-hero-primary, .btn-hero-outline,
.single-product .single_add_to_cart_button,
.product-title {
	text-transform: none;
}
.product-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.875rem;
	line-height: 1.25;
	letter-spacing: -0.02em;
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3rem; } }

.variations label {
	font-family: var(--font-body);
	font-weight: 600;
	font-style: normal;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
}

/* -------------------------------------------------------------------------
   3. Scroll reveal animation system (Section 2.1)
   ------------------------------------------------------------------------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(32px) scale(0.985);
	filter: blur(8px);
	transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth), filter 0.8s var(--ease-smooth);
	will-change: opacity, transform, filter;
}
[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	filter: blur(0);
}
.services-carousel__card[data-reveal] {
	transition-duration: 0.5s;
}

/* Customizer preview + reduced-motion fallback — never permanently hidden. */
body.is-customizer [data-reveal],
.customize-partial-refreshing [data-reveal] {
	opacity: 1;
	transform: none;
	filter: none;
}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* -------------------------------------------------------------------------
   4. Announcement bar
   ------------------------------------------------------------------------- */
@keyframes announcement-bar-enter {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}
.announcement-bar {
	position: relative;
	color: var(--color-button-text);
	text-align: center;
	font-size: 0.875rem;
	font-weight: 500;
	background: linear-gradient(90deg, var(--color-primary), var(--color-ink) 50%, var(--color-stone));
	animation: announcement-bar-enter 0.4s var(--ease-standard);
}
@media (prefers-reduced-motion: reduce) {
	.announcement-bar { animation: none; }
}
.announcement-bar__inner { padding: 0.5rem 2.5rem 0.5rem 1rem; }
.announcement-bar__text { display: inline-block; }
.announcement-bar__close {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 9999px;
	color: var(--color-button-text);
}
.announcement-bar__close:hover { background: rgba(255, 255, 255, 0.2); }

/* -------------------------------------------------------------------------
   5. Header
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: background-color 0.3s var(--ease-standard), border-color 0.3s var(--ease-standard);
	background: color-mix(in srgb, var(--color-background) 80%, transparent);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom-color: var(--color-border);
}
.site-header__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 64px;
}
@media (min-width: 768px) { .site-header__nav { height: 80px; } }

.site-header__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-logo-frame {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	height: calc(var(--logo-height) * 0.786);
	max-width: 100%;
}
@media (min-width: 768px) {
	.site-logo-frame { height: var(--logo-height); }
}
.site-logo-frame .site-logo-img {
	height: 100% !important;
	width: auto !important;
	max-width: none;
	object-fit: contain;
}
.site-header__brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }

.site-header__links { display: none; }
@media (min-width: 1024px) { .site-header__links { display: flex; align-items: center; gap: 0.25rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-list a {
	display: inline-block;
	padding: 0.5rem 0.875rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
}
.theme-nav-list a:hover { color: var(--color-foreground); background: var(--color-muted); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__social {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
@media (min-width: 640px) { .site-header__social { display: inline-flex; } }
.site-header__social:hover { background: var(--color-muted); }
.site-header__social--instagram:hover { color: var(--color-primary); }
.site-header__social--facebook:hover { color: var(--color-ink); }

.site-header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	background: var(--color-foreground);
	color: var(--color-background);
}
.site-header__cart:hover { background: var(--color-ink); color: var(--color-button-text); }
.theme-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	border-radius: 9999px;
	background: var(--color-primary);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	position: relative;
}
.site-header__toggle:hover { background: var(--color-muted); }
@media (min-width: 1024px) { .site-header__toggle { display: none; } }
.site-header__toggle-icon { display: inline-flex; }
.site-header__toggle-icon--close { display: none; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon--menu { display: none; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-icon--close { display: inline-flex; }

.site-header__mobile-menu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	border-top: 0 solid transparent;
}
.site-header.is-mobile-open .site-header__mobile-menu { border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .site-header__mobile-menu { display: none; } }
.site-header__mobile-menu-inner { padding: 0.75rem 0; }
.theme-nav-list--mobile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
}
.theme-nav-list--mobile a { text-align: left; padding: 0.75rem 0.75rem; border-radius: 0.5rem; font-weight: 600; }
.theme-nav-list--mobile a:hover { color: var(--color-primary); background: var(--color-muted); }

/* -------------------------------------------------------------------------
   6. Hero section
   ------------------------------------------------------------------------- */
.hero-section {
	position: relative;
	margin-top: -64px;
	padding-top: 64px;
	min-height: 100dvh;
	height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--color-ink);
}
@media (min-width: 768px) { .hero-section { margin-top: -80px; padding-top: 80px; } }

.hero-section__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero-section__overlay { position: absolute; inset: 0; }
.hero-section__overlay--1 { background: color-mix(in srgb, var(--color-ink) 45%, transparent); }
.hero-section__overlay--2 { background: linear-gradient(to top, var(--color-ink), color-mix(in srgb, var(--color-ink) 25%, transparent), color-mix(in srgb, var(--color-ink) 50%, transparent)); }
.hero-section__overlay--3 { background: radial-gradient(ellipse at center, color-mix(in srgb, var(--color-ink) 55%, transparent) 0%, transparent 70%); }

.hero-section__content {
	position: relative;
	z-index: 10;
	padding-top: 2.5rem;
	padding-bottom: 3.5rem;
}
.hero-section__inner {
	max-width: 48rem;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.hero-section__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 1rem;
	border: 1px solid color-mix(in srgb, var(--color-primary-light) 50%, transparent);
	width: fit-content;
}
.hero-section__dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--color-primary-light); }
.hero-section__eyebrow span:last-child { color: var(--color-primary-light); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.28em; }

.hero-section__title {
	font-family: var(--font-display);
	color: var(--color-background);
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 800;
	font-size: 3rem;
}
@media (min-width: 640px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-section__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 6rem; } }
.hero-section__title-line2 { display: block; font-style: italic; }

.hero-section__rule { width: 10rem; }

.hero-section__tagline { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--color-background) 90%, transparent); }
@media (min-width: 768px) { .hero-section__tagline { font-size: 1.5rem; } }

.hero-section__description {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-background) 75%, transparent);
	line-height: 1.65;
	max-width: 36rem;
}
@media (min-width: 768px) { .hero-section__description { font-size: 1rem; } }

.hero-section__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; padding-top: 0.5rem; }
.btn-hero-primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-button-text); }
.btn-hero-primary:hover { background: var(--color-background); border-color: var(--color-background); color: var(--color-foreground); }
.btn-hero-primary svg { transition: transform 0.25s var(--ease-standard); }
.btn-hero-primary:hover svg { transform: translateX(4px); }

.hero-marquee {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: color-mix(in srgb, var(--color-ink) 60%, transparent);
	backdrop-filter: blur(4px);
	border-top: 1px solid color-mix(in srgb, var(--color-primary-light) 25%, transparent);
	padding: 0.75rem 0;
	overflow: hidden;
	z-index: 10;
}
.hero-marquee__track {
	display: flex;
	gap: 2.5rem;
	white-space: nowrap;
	color: color-mix(in srgb, var(--color-background) 80%, transparent);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	animation: theme-marquee-scroll 30s linear infinite;
}
@media (min-width: 768px) { .hero-marquee__track { font-size: 0.875rem; } }
.hero-marquee__group { display: flex; gap: 2.5rem; flex-shrink: 0; }
.hero-marquee__group span.is-accent { color: var(--color-primary-light); }
@keyframes theme-marquee-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------
   7. Section heading scale (per-section — Section 2.2.5)
   ------------------------------------------------------------------------- */
.section-heading { font-family: var(--font-display); }
.services-heading, .shop-heading, .about-heading { font-size: 2.25rem; }
.services-heading, .about-heading { color: var(--color-foreground); }
@media (min-width: 768px) { .services-heading, .shop-heading, .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 3.75rem; } }
.contact-title { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
.contact-info-title, .related-products-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 2.5rem; } }

/* -------------------------------------------------------------------------
   8. Services carousel
   ------------------------------------------------------------------------- */
.services-section { padding: 5rem 0; }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }

.services-carousel__header {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .services-carousel__header { flex-direction: row; align-items: flex-end; margin-bottom: 3.5rem; } }
.services-carousel__header-text { max-width: 36rem; }
.services-carousel__description { margin-top: 1rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .services-carousel__description { font-size: 1.125rem; } }

.services-carousel__arrows { display: none; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 768px) { .services-carousel__arrows { display: flex; } }
.services-carousel__arrow {
	width: 56px;
	height: 56px;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-foreground);
}
.services-carousel__arrow:hover { border-color: var(--color-primary); color: var(--color-primary); }
.services-carousel__arrow svg { transition: transform 0.25s var(--ease-standard); }

.services-carousel__viewport { overflow: visible; }
.services-carousel__track {
	display: flex;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	gap: 1.5rem;
	padding: 1.5rem 0 4rem;
	scrollbar-width: none;
}
@media (min-width: 768px) { .services-carousel__track { padding: 2rem 0 5rem; } }

.services-carousel__card { flex: 0 0 auto; width: 82vw; scroll-snap-align: start; }
@media (min-width: 480px) { .services-carousel__card { width: min(340px, 88vw); } }
@media (min-width: 768px) { .services-carousel__card { width: calc((100% - 48px) / 2); } }
@media (min-width: 1024px) { .services-carousel__card { width: calc((100% - 60px) / 3); } }

.services-carousel__card-inner {
	height: 100%;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	transition: transform 0.5s var(--ease-standard), border-color 0.5s var(--ease-standard), box-shadow 0.5s var(--ease-standard);
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .services-carousel__card-inner { padding: 2.5rem; } }
.services-carousel__card:hover .services-carousel__card-inner {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
	box-shadow: var(--shadow-soft);
}
.services-carousel__icon { width: 2rem; height: 2rem; margin-bottom: 1.75rem; color: var(--color-primary); stroke-width: 1.25; flex-shrink: 0; transition: transform 0.5s var(--ease-standard); }
.services-carousel__card:hover .services-carousel__icon { transform: scale(1.05); }
.services-carousel__card-rule { width: 2rem; height: 1px; background: color-mix(in srgb, var(--color-primary) 40%, transparent); margin-bottom: 1.25rem; transition: width 0.5s var(--ease-standard); }
.services-carousel__card:hover .services-carousel__card-rule { width: 3.5rem; }
.services-carousel__card-title { font-size: 1.5rem; margin-bottom: 0.75rem; line-height: 1.2; }
@media (min-width: 768px) { .services-carousel__card-title { font-size: 1.6rem; } }
.services-carousel__card-body { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; font-size: 0.9375rem; }

.services-carousel__mobile-indicator { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: -2.5rem; margin-bottom: 0.5rem; gap: 0.5rem; }
@media (min-width: 768px) { .services-carousel__mobile-indicator { display: none; } }
.services-carousel__swipe-hint { display: flex; align-items: center; gap: 0.375rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-size: 0.875rem; font-weight: 500; }
.services-carousel__swipe-hint svg:first-child { transform: rotate(-12deg); }
.services-carousel__dots { display: flex; align-items: center; gap: 0.375rem; }
.services-carousel__dot { display: block; height: 8px; width: 8px; border-radius: 9999px; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); transition: width 0.3s var(--ease-standard); }
.services-carousel__dot.is-active { width: 20px; background: var(--color-foreground); }

/* -------------------------------------------------------------------------
   9. Shop section + product cards (Sections 19, 27.1, 31.9, 31.13)
   ------------------------------------------------------------------------- */
.shop-section { padding: 5rem 0; background: var(--color-foreground); color: var(--color-background); }
@media (min-width: 768px) { .shop-section { padding: 7rem 0; } }
.shop-section__header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-section__header { margin-bottom: 3.5rem; } }
.shop-section__header-text .shop-heading { color: var(--color-background); margin-top: 0.75rem; }
.shop-eyebrow, .contact-eyebrow { color: var(--color-primary-light); }
.shop-section__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	background: var(--color-primary);
	color: var(--color-ink);
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border: 1px solid var(--color-primary);
}
.shop-section__cta:hover { background: var(--color-primary-light); border-color: var(--color-primary-light); transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--color-primary); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 2rem;
	align-items: stretch;
}
.shop-section .theme-product-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
}
.shop-section .theme-product-grid .theme-product-card-wrap {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
@media (min-width: 640px) {
	.shop-section .theme-product-grid .theme-product-card-wrap {
		width: calc((100% - 2rem) / 2);
	}
}
@media (min-width: 1024px) {
	.shop-section .theme-product-grid .theme-product-card-wrap {
		width: calc((100% - 4rem) / 3);
	}
}
.shop-section__header-text { max-width: 36rem; }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }

.theme-product-card__image-link { display: block; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 1rem;
	margin-bottom: 1rem;
	border: 2px solid var(--color-border);
	background: var(--color-muted);
	transition: border-color 0.3s var(--ease-standard);
}
.is-dark .theme-product-card__image-wrapper { background: color-mix(in srgb, var(--color-background) 10%, transparent); border-color: color-mix(in srgb, var(--color-background) 20%, transparent); }
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); transform: translateY(-6px); transition: transform 0.3s var(--ease-standard), border-color 0.3s var(--ease-standard); }
.theme-product-card__image {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease-standard);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.05); }

.theme-product-card__chip { position: absolute; top: 0.75rem; z-index: 2; }
.theme-product-card__chip.chip { box-shadow: var(--shadow-soft); }
.theme-product-card__chip--category { left: 0.75rem; background: color-mix(in srgb, #ffffff 95%, transparent); color: var(--color-foreground); }
.is-dark .theme-product-card__chip--category { background: color-mix(in srgb, var(--color-background) 95%, transparent); }
.theme-product-card__chip--featured { right: 0.75rem; background: linear-gradient(135deg, var(--color-primary), var(--color-ink)); color: #fff; }
.theme-product-card__chip--soldout { right: 0.75rem; background: var(--color-foreground); color: #fff; }
.theme-product-card__chip--badge { right: 0.75rem; background: var(--color-primary-light); color: var(--color-foreground); }

.theme-product-card__info { flex: 1; padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-product-card__title { font-size: 1.125rem; line-height: 1.35; transition: color 0.25s var(--ease-standard); color: var(--color-foreground); }
.is-dark .theme-product-card__title { color: var(--color-background); }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.is-dark .theme-product-card__price { color: color-mix(in srgb, var(--color-background) 80%, transparent); }
.theme-product-card__muted-label { color: var(--color-muted-foreground); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.theme-quick-add-button {
	margin-top: 1rem;
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
.theme-empty-state { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); text-align: center; grid-column: 1 / -1; padding: 3rem 0; }
.shop-section .theme-empty-state { color: color-mix(in srgb, var(--color-background) 70%, transparent); }

/* -------------------------------------------------------------------------
   10. About section
   ------------------------------------------------------------------------- */
.about-section { padding: 5rem 0; }
@media (min-width: 768px) { .about-section { padding: 7rem 0; } }
.about-section__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.about-section__image-col { grid-column: span 12; }
@media (min-width: 1024px) { .about-section__image-col { grid-column: span 5; } }
.about-section__image-frame { position: relative; min-height: 360px; height: 100%; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-cream); border-radius: 0.5rem; }
.about-section__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-section__text-col { grid-column: span 12; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .about-section__text-col { grid-column: span 7; } }
.about-heading { margin-top: 0.75rem; color: var(--color-foreground); }
.about-section__paragraphs {
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	line-height: 1.625;
}
.about-section__paragraphs p { margin: 0; }
.about-section__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* -------------------------------------------------------------------------
   11. Contact / CTA section + form
   ------------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; background: var(--color-foreground); color: var(--color-background); }
.contact-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.contact-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 75%, transparent); }
.contact-section__inner {
	position: relative;
	padding-top: 6rem;
	padding-bottom: 8rem;
}
@media (min-width: 768px) {
	.contact-section__inner { padding-top: 8rem; padding-bottom: 8rem; }
}

.contact-section__card {
	max-width: 64rem;
	margin: 0 auto;
	border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
	background: color-mix(in srgb, var(--color-background) 5%, transparent);
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow-pop);
	padding: 3rem 1.5rem;
}
@media (min-width: 640px) { .contact-section__card { padding: 3rem 2.5rem; } }
@media (min-width: 768px) { .contact-section__card { padding: 4rem 3.5rem; } }

.contact-section__grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: flex-start; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.contact-section__description { margin-top: 1rem; font-size: 0.9375rem; color: color-mix(in srgb, var(--color-background) 75%, transparent); }
@media (min-width: 768px) { .contact-section__description { font-size: 1rem; } }

.contact-section__form { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__field {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid color-mix(in srgb, var(--color-background) 25%, transparent);
	padding: 0.75rem 0;
	color: var(--color-background);
	font-family: var(--font-body);
}
.contact-section__field::placeholder { color: color-mix(in srgb, var(--color-background) 45%, transparent); }
.contact-section__field:focus { outline: none; border-color: var(--color-primary-light); }
.contact-section__field--textarea { resize: none; }
.contact-section__submit { width: 100%; background: var(--color-primary); border-color: var(--color-primary); color: var(--color-ink); }
.contact-section__submit:hover { background: var(--color-primary-light); border-color: var(--color-primary-light); }
@media (min-width: 640px) { .contact-section__submit { width: auto; } }

.contact-section__info-col { padding-left: 0; border-left: none; display: flex; flex-direction: column; justify-content: flex-start; gap: 2rem; }
@media (min-width: 1024px) { .contact-section__info-col { padding-left: 3rem; border-left: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); } }
.contact-section__info-eyebrow { display: flex; align-items: center; gap: 0.5rem; }
.contact-section .contact-title,
.contact-section .contact-info-title {
	color: var(--color-background);
}
.contact-info-title { margin-top: 0.75rem; }
.contact-section__links { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 80%, transparent); }
.contact-section__link { display: flex; align-items: center; gap: 0.75rem; }
.contact-section__link:hover { color: var(--color-primary-light); }
.contact-section__location-chip {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 1px solid color-mix(in srgb, var(--color-primary-light) 50%, transparent);
	color: var(--color-primary-light);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.22em;
}
.contact-section__donation { display: flex; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 75%, transparent); line-height: 1.65; }
.contact-section__donation svg { flex-shrink: 0; color: var(--color-primary-light); }

/* -------------------------------------------------------------------------
   12. Contact modal (Radix-dialog-equivalent)
   ------------------------------------------------------------------------- */
.contact-modal { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.contact-modal.is-open { visibility: visible; }
.contact-modal__overlay {
	position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8);
	opacity: 0; transition: opacity 0.2s var(--ease-standard);
}
.contact-modal.is-open .contact-modal__overlay { opacity: 1; }
.contact-modal__panel {
	position: fixed;
	left: 50%; top: 50%;
	width: calc(100% - 2rem);
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	transform: translate(-50%, -48%) scale(0.95);
	opacity: 0;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	box-shadow: var(--shadow-pop);
	padding: 1.25rem 1.5rem;
	transition: opacity 0.2s var(--ease-standard), transform 0.2s var(--ease-standard);
}
.contact-modal.is-open .contact-modal__panel { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.contact-modal__close {
	position: absolute; right: 1rem; top: 1rem;
	opacity: 0.7;
	display: inline-flex; padding: 0.25rem;
}
.contact-modal__close:hover { opacity: 1; }
.contact-modal__title { font-size: 1.5rem; font-weight: 600; }
.contact-modal__description { margin-top: 0.375rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.contact-modal__contacts { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 0.75rem; font-size: 0.875rem; }
.contact-modal__contact-link { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.contact-modal__contact-link:hover { color: var(--color-primary); }
.contact-modal__form { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-modal__input {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--color-background);
	border: 2px solid var(--color-border);
	border-radius: 0.75rem;
	font-size: 1rem;
	font-family: var(--font-body);
}
.contact-modal__input:focus { outline: none; border-color: var(--color-ink); }
.contact-modal__textarea { resize: none; }
.contact-modal__submit { width: 100%; }
.contact-modal__success { text-align: center; padding: 2rem 0; }
.contact-modal__success-icon {
	width: 3.5rem; height: 3.5rem; border-radius: 9999px;
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1rem;
	background: linear-gradient(135deg, var(--color-primary), var(--color-ink));
	color: #fff;
}
.contact-modal__success-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-modal__success-message { font-size: 0.875rem; color: var(--color-muted-foreground); }

body.contact-modal-open { overflow: hidden; }

/* -------------------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--color-foreground); color: var(--color-background); }
.site-footer__inner {
	padding-top: 4rem;
	padding-bottom: 3rem;
}
@media (min-width: 768px) {
	.site-footer__inner { padding-bottom: 4rem; }
}
.site-footer__top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; } }
.site-footer__brand-col { grid-column: span 12; }
@media (min-width: 768px) { .site-footer__brand-col { grid-column: span 4; } }
.site-footer__logo-link { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.site-footer__logo-link .site-logo-frame { height: 5rem; }
.site-footer__logo-link .site-logo-img { height: 100% !important; width: auto !important; object-fit: contain; }
.site-footer__description { color: color-mix(in srgb, var(--color-background) 85%, transparent); line-height: 1.65; max-width: 24rem; margin-bottom: 1.5rem; }
.site-footer__socials { display: flex; align-items: center; gap: 0.5rem; }
.site-footer__social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; background: rgba(255, 255, 255, 0.1); }
.site-footer__social:hover { background: var(--color-ink); }

.site-footer__cols { grid-column: span 12; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: 1fr 1fr 1.5fr; } }
@media (min-width: 768px) { .site-footer__cols { grid-column: span 8; } }
.site-footer__col--contact { grid-column: span 2; }
@media (min-width: 640px) { .site-footer__col--contact { grid-column: span 1; } }
.site-footer__heading { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-primary-light); margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.site-footer__list a, .site-footer__list button { color: color-mix(in srgb, var(--color-background) 85%, transparent); background: none; border: none; padding: 0; text-align: left; font: inherit; }
.site-footer__list a:hover, .site-footer__list button:hover { color: #fff; }
.site-footer__contact-link { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in srgb, var(--color-background) 85%, transparent); white-space: nowrap; }
.site-footer__contact-link:hover { color: #fff; }
.site-footer__contact-link svg { margin-top: 0.125rem; flex-shrink: 0; }

.site-footer__bottom { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 0.75rem; text-align: center; padding-top: 2rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; gap: 2.5rem; } }
.site-footer__copyright, .site-footer__credit { font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 75%, transparent); margin: 0; }
.site-footer__credit a { color: var(--color-primary-light); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__credit a:hover { color: #fff; }

/* -------------------------------------------------------------------------
   14. Cart drawer (Section 12)
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 55;
	background: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	backdrop-filter: blur(4px);
	opacity: 0; visibility: hidden;
	transition: opacity 0.2s var(--ease-standard);
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	border-left: 1px solid var(--color-border);
	z-index: 56;
	display: flex; flex-direction: column;
	box-shadow: var(--shadow-pop);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.25, 0.4, 0.25, 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 {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--color-border);
	display: flex; align-items: center; justify-content: space-between;
	background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 10%, transparent), color-mix(in srgb, var(--color-ink) 10%, transparent));
}
.theme-cart-drawer__count { font-size: 1.5rem; margin-top: 0.25rem; }
.theme-cart-drawer__close { display: inline-flex; padding: 0.5rem; border-radius: 9999px; }
.theme-cart-drawer__close:hover { background: var(--color-muted); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.theme-cart-drawer__empty-icon {
	width: 64px; height: 64px; border-radius: 9999px; margin-bottom: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--color-primary), var(--color-ink)); color: #fff;
}
.theme-cart-drawer__empty-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-cart-drawer__empty-message { color: var(--color-muted-foreground); margin-bottom: 2rem; max-width: 20rem; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; padding: 0.75rem; border-radius: 0.75rem; border: 2px solid var(--color-border); }
.theme-cart-drawer__item-image { width: 80px; height: 96px; border-radius: 0.5rem; background: var(--color-muted); overflow: hidden; flex-shrink: 0; }
.theme-cart-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-family: var(--font-display); font-size: 1rem; line-height: 1.3; display: block; }
.theme-cart-drawer__item-name:hover { color: var(--color-primary); }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-price { font-size: 0.875rem; font-weight: 600; color: var(--color-primary); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.625rem; }
.theme-cart-drawer__remove { margin-left: auto; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__remove:hover { color: var(--color-destructive); }

.theme-cart-drawer__footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--color-border); background: var(--color-muted); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-drawer__subtotal-label { text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-cart-drawer__subtotal-value { font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-action { width: 100%; text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted-foreground); padding: 0.25rem 0; }
.theme-cart-drawer__empty-action:hover { color: var(--color-destructive); }

/* Quantity controls (shared between single product, checkout, and cart drawer) */
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 2px solid var(--color-border); border-radius: 9999px; }
.theme-quantity-wrapper--sm { border-width: 2px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; display: inline-flex; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-quantity-wrapper__value, .theme-qty-input {
	width: 2.5rem; text-align: center; font-weight: 600; border: none; background: transparent;
	font-family: var(--font-body); -moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* -------------------------------------------------------------------------
   15. Single product page (Section 11)
   ------------------------------------------------------------------------- */
.single-product-page { padding-top: 3rem; min-height: 100vh; }
.single-product-page__breadcrumb { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; padding: 1rem 0; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted-foreground); }
.single-product-page__breadcrumb a:hover { color: var(--color-primary); }
.single-product-page__breadcrumb .is-current { color: var(--color-foreground); }
.single-product-page__back { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: var(--color-muted-foreground); font-size: 0.875rem; }
.single-product-page__back:hover { color: var(--color-primary); }

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

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info {
		position: sticky;
		top: 7rem;
		align-self: start;
	}
}
.theme-product-gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 1rem;
	overflow: hidden;
	background: var(--color-muted);
	border: 2px solid var(--color-border);
}
.theme-product-gallery__main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-gallery__featured-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	color: #fff;
	background: linear-gradient(135deg, var(--color-primary), var(--color-ink));
	box-shadow: var(--shadow-soft);
}
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-thumbnail { position: relative; width: 80px; height: 80px; flex-shrink: 0; border-radius: 0.5rem; overflow: hidden; border: 2px solid var(--color-border); }
.theme-product-thumbnail:hover { border-color: color-mix(in srgb, var(--color-ink) 50%, transparent); }
.theme-product-thumbnail.is-active { border-color: var(--color-primary); }
.theme-product-thumbnail__img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-info__price { font-size: 1.875rem; font-weight: 700; margin: 0.5rem 0 1.5rem; }
.theme-product-info__price .price { background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.theme-product-info__muted { color: var(--color-muted-foreground); font-size: 1.125rem; font-weight: 500; }
.theme-product-info__description { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.65; margin-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; font-size: 1rem; }
.theme-product-details__description { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.65; margin-bottom: 1rem; }
.theme-product-details__bullets ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details__bullets li {
	position: relative;
	padding-left: 1.125rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	line-height: 1.5;
}
.theme-product-details__bullets li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 9999px;
	background: var(--color-primary);
}
.theme-product-info__contact-btn, .theme-product-info__soldout-box .btn-ghost { width: 100%; }
.theme-product-info__soldout-box { margin-top: 1rem; padding: 1.25rem; border-radius: 0.75rem; border: 2px solid var(--color-border); background: var(--color-muted); text-align: center; }
.theme-product-info__soldout-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-product-info__soldout-text { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 1rem; }

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

.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; border: 2px solid var(--color-border); border-radius: 9999px; }
.theme-attr-pill:hover { border-color: var(--color-ink); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: #fff; border-color: var(--color-foreground); }

.theme-product-accordions { margin-top: 2rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.theme-accordion__chevron { transition: transform 0.25s var(--ease-standard); }
.theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease-standard); }
.theme-accordion.is-open .theme-accordion__panel { max-height: 60rem; }
.theme-accordion__content { padding-bottom: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.65; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__content ul { padding-left: 0; list-style: none; }
.theme-accordion__content ul li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem; }
.theme-accordion__content ul li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 6px; height: 6px; border-radius: 9999px; background: var(--color-primary); }

.related-products-section { border-top: 1px solid var(--color-border); padding: 4rem 0; }
.related-products-section__header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.related-products-section__link { font-size: 0.875rem; font-weight: 600; color: var(--color-primary); }
.related-products-section__link:hover { text-decoration: underline; }
.related-products-section__grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .related-products-section__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Single-product responsive safety rules (Section 11.13) */
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.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; margin-bottom: 0.75rem; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1.25rem; }
.single-product .variations tbody tr { margin-bottom: 0.25rem; }

/* -------------------------------------------------------------------------
   16. WooCommerce add-to-cart button overrides (Section 11.4.1 / 11.4.2)
   ------------------------------------------------------------------------- */
.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-ink) !important;
	color: var(--color-button-text) !important;
	border: 1px solid var(--color-ink) !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;
	gap: 0.5rem;
	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: none !important;
	cursor: pointer !important;
	transition: color 0.25s var(--ease-smooth), background-color 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth) !important;
}
.single_add_to_cart_button.button:hover:not(:disabled):not(.disabled),
.add_to_cart_button.button:hover:not(:disabled):not(.disabled) {
	opacity: 1 !important;
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--color-primary) 80%, transparent);
}
.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;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact quick-add button — overrides global rules (scoped, after). */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-quick-add-button {
	min-height: 44px !important;
	padding: 0.65rem 1.5rem !important;
}

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

/* -------------------------------------------------------------------------
   17. WooCommerce notices (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: var(--font-body);
	border-radius: 0.5rem;
	border: 1px solid var(--color-border);
	padding: 1rem 1.25rem;
	margin: 1rem 0;
	list-style: none;
}
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* -------------------------------------------------------------------------
   18. Shop archive
   ------------------------------------------------------------------------- */
.shop-archive-page { padding: 3rem 0 5rem; min-height: 60vh; }
.shop-archive-page__header { margin-bottom: 2.5rem; }
.shop-archive-page__header .page-title { font-size: 2.5rem; margin-bottom: 0.5rem; }
.shop-archive-page__grid { margin-top: 2rem; }

/* -------------------------------------------------------------------------
   19. Generic page / 404
   ------------------------------------------------------------------------- */
.generic-page { padding: 3rem 0 5rem; min-height: 50vh; }
.page-title { font-size: 2.5rem; margin-bottom: 1.5rem; }

.not-found-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.not-found-page__inner { text-align: center; }
.not-found-page__code { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.not-found-page__message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.not-found-page__link { color: var(--color-primary); text-decoration: underline; }
.not-found-page__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* -------------------------------------------------------------------------
   20. Checkout / Cart / Account (Sections 13, 13.7, 22.6)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce-MyAccount-content {
	font-family: var(--font-body);
}

/* Single two-column grid owner (no nested checkout grids). */
body.woocommerce-checkout .wc-block-checkout {
	display: block !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: var(--checkout-gap) !important;
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100% !important;
	max-width: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control button,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 2px solid var(--color-border) !important;
	border-radius: 0.75rem !important;
	box-shadow: none !important;
	transition: border-color 0.25s var(--ease-smooth) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: var(--color-ink) !important;
	outline: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__expand {
	color: var(--color-foreground) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-muted);
	border-radius: var(--card-radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-ink) !important;
	border-radius: var(--btn-radius) !important;
	color: #fff !important;
	font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background: var(--color-primary) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
}

/* Mobile: form first, summary second (default DOM order already matches). */
@media (max-width: 767px) {
	body.woocommerce-checkout .wc-block-checkout { display: flex; flex-direction: column; }
}

/* Cart / My Account width parity (Section 13.7) */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce-MyAccount-content {
	max-width: none;
}

/* -------------------------------------------------------------------------
   21. Thank-you page (Section 22.8)
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou { padding: 2rem 0 4rem; }
.theme-thankyou__intro { text-align: center; max-width: 32rem; margin: 0 auto 2rem; }
.theme-thankyou__icon {
	width: 80px; height: 80px; border-radius: 9999px; margin: 0 auto 1.5rem;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--color-primary), var(--color-ink)); color: #fff;
}
.theme-thankyou__title { font-size: 2.5rem; margin: 0.75rem 0 1.25rem; }
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0 0 1.5rem; margin: 0; border-bottom: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; margin: 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: 0.75rem; padding: 1.25rem; font-style: normal;
}
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}
