/* ==========================================================================
   Hennie's Mini Luxury Scoops — theme stylesheet
   ========================================================================== */

:root {
	--color-background: #fcfaf8;
	--color-foreground: #422e35;
	--color-primary: #c49a45;
	--color-primary-foreground: #fcfaf8;
	--color-secondary: #f6e9eb;
	--color-muted: #f1e4e8;
	--color-muted-foreground: #836771;
	--color-accent: #edc0cb;
	--color-border: #e9d8dc;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Cormorant Garamond', 'Playfair Display', serif;
	--font-body: 'Jost', 'Inter', 'Helvetica Neue', sans-serif;
	--font-script: 'Great Vibes', 'Cormorant Garamond', cursive;

	--radius: 0.25rem;
	--btn-radius: 0;
	--btn-height: 3rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.72rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--header-height: 88px;
	--logo-height: 60px;
	--checkout-gap: 2rem;
	--shadow-soft: 0 6px 24px -8px rgba(178, 100, 130, 0.18);
	--shadow-elevated: 0 14px 40px -12px rgba(178, 100, 130, 0.24);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* -------------------------------------------------------------------- */
/* Base                                                                  */
/* -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9999;
	opacity: 0.025;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 128px 128px;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.theme-hero__img):not(.theme-product-card__img):not(.theme-row-card__img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .theme-product-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }
[role="button"], .theme-row-card, .theme-product-card-wrap, .theme-category-tile, .theme-faq-item__question, .site-header__icon-btn, .site-header__menu-toggle, .theme-chip, .theme-arrow-btn, .theme-product-thumb, .theme-cart-item__qty button, .theme-cart-item__remove, .theme-modal__overlay, .theme-search-dialog__overlay, .theme-cart-drawer__close, .theme-modal__close, .theme-search-dialog__close, label[for] { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: inherit;
	letter-spacing: -0.01em;
	margin: 0;
}
p { margin: 0; }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1.5rem; min-width: 0; }
@media (min-width: 1024px) { .container-wide { padding-inline: 2.5rem; } }
.scroll-mt { scroll-margin-top: 8rem; }

.theme-eyebrow, .label-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.625rem;
	letter-spacing: 0.36em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-weight: 600;
}
.theme-eyebrow-heading {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-foreground);
}
@media (min-width: 640px) { .theme-eyebrow-heading { font-size: 0.875rem; } }
.theme-section-heading {
	font-family: var(--font-display);
	font-style: italic;
	color: var(--color-foreground);
	line-height: 1.15;
	font-size: 2.25rem;
}
@media (min-width: 768px) { .theme-section-heading { font-size: 3rem; } }

/* -------------------------------------------------------------------- */
/* Buttons                                                               */
/* -------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border: 1px solid transparent;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}
.theme-btn--hero, .theme-btn--dark {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-btn--hero {
	height: 3rem;
	padding: 0 2.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.32em;
}
.theme-btn--dark {
	height: 2.75rem;
	padding: 0 2rem;
	font-size: 0.75rem;
	letter-spacing: 0.28em;
}
.theme-btn--hero:hover, .theme-btn--dark:hover {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-btn--primary {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-btn--primary:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn--outline {
	background: transparent;
	color: var(--color-foreground);
	border-color: var(--color-border);
}
.theme-btn--outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn--full { width: 100%; height: 3rem; }
.theme-btn--self-start { align-self: flex-start; }
.theme-btn.disabled, .theme-btn:disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }

/* -------------------------------------------------------------------- */
/* Header                                                                */
/* -------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0.75rem;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 0 0.75rem;
	pointer-events: none;
}
@media (min-width: 768px) { .site-header { top: 1.25rem; padding: 0 1.5rem; } }
body.admin-bar .site-header { top: calc(0.75rem + 46px); }
@media screen and (min-width: 783px) {
	body.admin-bar .site-header { top: calc(1.25rem + 32px); }
}
.site-header__bar {
	margin: 0 auto;
	max-width: 72rem;
	pointer-events: auto;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(12px);
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	border-radius: 0.5rem;
	box-shadow: 0 10px 40px -12px rgba(66, 46, 53, 0.18);
}
.site-header__row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4.2rem;
	padding: 0 1rem;
}
@media (min-width: 768px) { .site-header__row { padding: 0 1.5rem; } }
.site-header__left { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; z-index: 1; }
.site-header__menu-toggle { background: none; border: none; padding: 0.5rem; margin-left: -0.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.site-header__nav { display: none; }
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list .nav-link, .theme-nav-list a {
	font-size: 0.8125rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-foreground);
	transition: color 0.3s;
	background: none;
	border: none;
}
.theme-nav-list a:hover { color: var(--color-primary); }
.site-header__brand {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: min(12rem, calc(100vw - 7.5rem));
	min-width: 0;
	z-index: 0;
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-wordmark {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
	user-select: none;
	text-align: center;
}
.site-logo-wordmark--header,
.site-logo-wordmark--mobile {
	font-size: 1rem;
	width: auto;
	height: 3.4rem;
}
@media (min-width: 768px) {
	.site-logo-wordmark--header,
	.site-logo-wordmark--mobile { height: 3.8rem; }
}
.site-logo-wordmark--footer {
	font-size: 1rem;
	width: auto;
	height: 4.6rem;
	align-items: flex-start;
}
.site-logo-wordmark__script {
	font-family: var(--font-script);
	font-size: 1.85em;
	color: var(--color-foreground);
	line-height: 1;
}
.site-logo-wordmark__tagline {
	font-family: var(--font-body);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--color-primary);
}
.site-logo-wordmark--header .site-logo-wordmark__tagline,
.site-logo-wordmark--mobile .site-logo-wordmark__tagline {
	font-size: 0.5em;
	letter-spacing: 0.28em;
	margin-top: 0.3em;
}
.site-logo-wordmark--footer .site-logo-wordmark__tagline {
	font-size: 0.62em;
	letter-spacing: 0.3em;
	margin-top: 0.35em;
}
.site-header__right { display: flex; align-items: center; gap: 0.125rem; flex-shrink: 0; z-index: 1; }
.site-header__icon-btn {
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--color-foreground);
	transition: color 0.3s;
}
.site-header__icon-btn:hover { color: var(--color-primary); }
.site-header__search-btn { display: none; }
@media (min-width: 640px) { .site-header__search-btn { display: inline-flex; } }
.theme-cart-count {
	position: absolute;
	top: -0.05rem;
	right: -0.05rem;
	width: 1.15rem;
	height: 1.15rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.6875rem;
	font-weight: 500;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 50%;
}
.theme-cart-count-badge:empty,
.theme-cart-count:empty { display: none; }

.site-header.is-solid .site-header__bar { background: var(--color-background); }
body.theme-no-hero .site-main { padding-top: var(--header-height); }

/* Mobile menu drawer */
.theme-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 60;
	visibility: hidden;
	pointer-events: none;
}
.theme-mobile-menu::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(66, 46, 53, 0.4);
	opacity: 0;
	transition: opacity 0.3s;
}
.theme-mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.theme-mobile-menu.is-open::before { opacity: 1; }
.theme-mobile-menu__panel {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 88vw;
	max-width: 24rem;
	height: 100%;
	background: var(--color-background);
	border-right: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform 0.35s var(--transition-smooth);
}
.theme-mobile-menu.is-open .theme-mobile-menu__panel { transform: translateX(0); }
.theme-mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1.25rem;
	height: 4.8rem;
	border-bottom: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-mobile-menu__header .site-header__brand {
	position: static;
	left: auto;
	transform: none;
	max-width: none;
}
.theme-mobile-menu__close { background: none; border: none; color: var(--color-foreground); padding: 0.25rem; }
.theme-mobile-menu__nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; min-height: 0; }
.theme-mobile-nav-list { display: flex; flex-direction: column; }
.theme-mobile-nav-list li, .theme-mobile-menu__nav .theme-nav-list li { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.theme-mobile-nav-list a, .theme-mobile-menu__nav a, .theme-mobile-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	padding: 1rem 0.75rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-foreground);
	background: none;
	border: none;
	transition: color 0.3s;
}
.theme-mobile-nav-list a:hover, .theme-mobile-menu__nav a:hover, .theme-mobile-nav-link:hover { color: var(--color-primary); }
.theme-mobile-menu__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	padding: 1rem 0.75rem;
	border-top: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-mobile-menu__action {
	height: 3rem;
	padding: 0 0.5rem;
	font-size: 0.8125rem;
	letter-spacing: 0.24em;
	white-space: nowrap;
}
.theme-mobile-menu__action-icon { flex-shrink: 0; width: 1.375rem; height: 1.375rem; }
@media (max-width: 359px) {
	.theme-mobile-menu__action { font-size: 0.6875rem; letter-spacing: 0.16em; }
	.theme-mobile-menu__action-icon { width: 1.125rem; height: 1.125rem; }
}
body.theme-mobile-menu-open { overflow: hidden; }

/* -------------------------------------------------------------------- */
/* Search dialog                                                        */
/* -------------------------------------------------------------------- */
.theme-search-dialog { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; }
.theme-search-dialog.is-open { visibility: visible; pointer-events: auto; animation: fadeIn 0.3s var(--transition-smooth) forwards; }
.theme-search-dialog__overlay { position: absolute; inset: 0; background: rgba(66, 46, 53, 0.4); backdrop-filter: blur(4px); border: none; padding: 0; }
.theme-search-dialog__panel {
	position: relative;
	background: var(--color-background);
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
}
.theme-search-dialog__close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 10; background: none; border: none; opacity: 0.7; color: var(--color-foreground); padding: 0.5rem; }
.theme-search-dialog__close:hover { opacity: 1; }
.theme-search-dialog__inner { padding-block: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-search-dialog__inner { grid-template-columns: 260px 1fr; gap: 4rem; } }
.theme-search-dialog__sidebar h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-search-dialog__cats { display: flex; flex-direction: column; gap: 0.875rem; }
.theme-search-dialog__cats a { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-search-dialog__cats a:hover { color: var(--color-primary); }
.theme-search-dialog__field { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); padding-bottom: 0.75rem; }
.theme-search-dialog__field input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.theme-search-dialog__results { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
@media (min-width: 768px) { .theme-search-dialog__results { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .theme-search-dialog__results { grid-template-columns: repeat(4,1fr); } }
.theme-search-dialog__results h4 { grid-column: 1 / -1; font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-search-result { display: block; text-align: left; background: none; border: none; padding: 0; }
.theme-search-result__img { aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); position: relative; }
.theme-search-result__img img { transition: transform 0.7s; }
.theme-search-result:hover .theme-search-result__img img { transform: scale(1.05); }
.theme-search-result p { margin-top: 0.75rem; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; }
.theme-search-result .price { margin-top: 0.25rem; opacity: 0.7; }
.theme-search-no-results { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.theme-home { background: var(--color-background); overflow-x: clip; }
.site-main { min-width: 0; overflow-x: clip; }

/* -------------------------------------------------------------------- */
/* Hero                                                                  */
/* -------------------------------------------------------------------- */
body.theme-no-hero .theme-hero { display: none; }
.theme-hero { position: relative; width: 100%; }
.theme-hero__media { position: relative; width: 100%; height: 88vh; min-height: 28rem; overflow: hidden; background: var(--color-secondary); }
@media (min-width: 768px) { .theme-hero__media { height: 92vh; } }
.theme-hero__img {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transform: scale(1.05);
	opacity: 0;
	animation: heroZoomIn 1.6s var(--transition-smooth) forwards;
}
.theme-hero__gradient { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--color-background) 80%, transparent) 0%, color-mix(in srgb, var(--color-background) 35%, transparent) 55%, transparent 100%); }
.theme-hero__content-wrap { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; pointer-events: none; }
.theme-hero__content-wrap a,
.theme-hero__content-wrap button { pointer-events: auto; }
.theme-hero__content-wrap .container-wide { width: 100%; padding-block-end: 4rem; }
@media (min-width: 768px) { .theme-hero__content-wrap .container-wide { padding-block-end: 6rem; } }
@media (min-width: 1024px) { .theme-hero__content-wrap .container-wide { padding-block-end: 7rem; } }
.theme-hero__content { max-width: 42rem; opacity: 0; transform: translateY(24px); animation: heroSlideUp 1s var(--transition-smooth) 0.4s forwards; }
.theme-hero__eyebrow { display: block; font-size: 0.6875rem; letter-spacing: 0.42em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 1rem; }
@media (min-width: 768px) { .theme-hero__eyebrow { font-size: 0.75rem; } }
.theme-hero__title { font-family: var(--font-display); font-style: italic; font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); margin-bottom: 1.5rem; max-width: 36rem; }
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.5rem; } }
.theme-hero__subtitle { font-size: 0.875rem; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); max-width: 28rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1rem; } }

@keyframes heroZoomIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
@keyframes heroSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
	.theme-hero__img, .theme-hero__content { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------- */
/* Product row (homepage carousel)                                      */
/* -------------------------------------------------------------------- */
.theme-product-row { padding: 3.5rem 0; overflow-x: clip; }
@media (min-width: 1024px) { .theme-product-row { padding: 5rem 0; } }
.theme-product-row__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; min-width: 0; }
.theme-product-row .container-wide { overflow-x: clip; }
.theme-product-row__arrows { display: flex; align-items: center; gap: 0.25rem; }
.theme-arrow-btn {
	width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
	transition: background-color 0.3s, color 0.3s;
}
.theme-arrow-btn:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-product-row__scroller {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	width: 100%;
	margin-inline: -1.5rem;
	padding-inline: 1.5rem;
	padding-block-end: 1rem;
	scroll-padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-product-row__scroller {
		gap: 1.5rem;
		margin-inline: -2.5rem;
		padding-inline: 2.5rem;
		scroll-padding-inline: 2.5rem;
	}
}
.theme-product-row__scroller::-webkit-scrollbar { display: none; }
.theme-row-card { flex: 0 0 68vw; scroll-snap-align: start; display: block; min-width: 0; box-sizing: border-box; }
@media (max-width: 639px) {
	.theme-product-row .container-wide { overflow: hidden; }
	.theme-product-row__scroller {
		gap: 0;
		margin-inline: -1.5rem;
		width: calc(100% + 3rem);
		max-width: 100vw;
		padding-inline: 0;
		scroll-padding-inline: 0;
		scroll-snap-type: x mandatory;
	}
	.theme-row-card {
		flex: 0 0 100%;
		width: 100%;
		padding-inline: 1.5rem;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}
@media (min-width: 640px) { .theme-row-card { flex-basis: 40vw; } }
@media (min-width: 768px) { .theme-row-card { flex-basis: 30vw; } }
@media (min-width: 1024px) { .theme-row-card { flex-basis: calc((100% - 4.5rem) / 4); scroll-snap-align: start; } }
.theme-row-card__image-wrap {
	display: grid;
	position: relative;
	aspect-ratio: 1/1;
	background: color-mix(in srgb, var(--color-muted) 60%, transparent);
	overflow: hidden;
}
.theme-row-card__image-wrap .theme-row-card__img {
	grid-area: 1 / 1;
	position: relative;
	inset: auto;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: cover;
	object-position: center;
	transition: opacity 0.5s;
}
.theme-row-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(4px);
	color: var(--color-foreground);
	padding: 0.375rem 0.75rem;
}
.theme-row-card__img.is-sold-out { opacity: 0.6; }
.theme-row-card:hover .theme-row-card__img:not(.is-sold-out) { opacity: 0.9; }
.theme-row-card__body { padding-top: 1rem; text-align: center; }
.theme-row-card__body h3 { font-family: var(--font-body); font-size: 0.8125rem; color: var(--color-foreground); transition: color 0.3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-row-card:hover .theme-row-card__body h3 { color: var(--color-primary); }
.theme-row-card__tagline { font-size: 0.6875rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-row-card__price { font-size: 0.75rem; color: var(--color-foreground); margin-top: 0.25rem; }

/* -------------------------------------------------------------------- */
/* Category tiles                                                       */
/* -------------------------------------------------------------------- */
.theme-category-tiles { padding-bottom: 1rem; }
.theme-category-tiles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 1024px) { .theme-category-tiles__grid { grid-template-columns: repeat(4, 1fr); } }
.theme-category-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--color-secondary); display: block; }
.theme-category-tile__img { transition: transform 0.7s; }
.theme-category-tile:hover .theme-category-tile__img { transform: scale(1.05); }
.theme-category-tile__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 40%, transparent); transition: background-color 0.3s; }
.theme-category-tile:hover .theme-category-tile__overlay { background: color-mix(in srgb, var(--color-background) 20%, transparent); }
.theme-category-tile__label {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 1rem;
	font-weight: 600; color: var(--color-foreground); font-size: 0.875rem; letter-spacing: 0.32em; text-transform: uppercase;
}
@media (min-width: 768px) { .theme-category-tile__label { font-size: 1rem; } }

/* -------------------------------------------------------------------- */
/* Shop section                                                         */
/* -------------------------------------------------------------------- */
.theme-shop { padding: 3.5rem 0; }
@media (min-width: 1024px) { .theme-shop { padding: 5rem 0; } }
.theme-shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.theme-shop__count { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-shop__controls { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; align-items: end; }
@media (min-width: 1024px) { .theme-shop__controls { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.theme-shop__search { position: relative; max-width: 28rem; width: 100%; }
.theme-shop__search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop__search input {
	height: 2.75rem; width: 100%; padding: 0 0.75rem 0 2.5rem; border: 1px solid var(--color-border); background: var(--color-background);
	font-family: var(--font-body); font-size: 0.875rem; color: var(--color-foreground);
}
.theme-shop__search input::placeholder { color: var(--color-muted-foreground); }
.theme-shop__search input:focus { outline: none; border-color: var(--color-foreground); }
.theme-shop__price-filter { width: 100%; }
@media (min-width: 1024px) { .theme-shop__price-filter { width: 18rem; } }
.theme-shop__price-filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.75rem; }
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 4px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.theme-chip {
	height: 2.25rem; padding: 0 1rem; display: inline-flex; align-items: center;
	font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground);
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.theme-chip:hover { border-color: var(--color-foreground); }
.theme-chip.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-shop__empty { padding: 4rem 0; text-align: center; font-size: 0.875rem; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------- */
/* Product grid + cards (shared: shop, archive, related) — Section 31.13 */
/* -------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1.25rem;
	row-gap: 2.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .theme-product-grid--related { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1/1; background: color-mix(in srgb, var(--color-muted) 60%, transparent); overflow: hidden; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	background: color-mix(in srgb, var(--color-background) 90%, transparent); backdrop-filter: blur(4px);
	color: var(--color-foreground); padding: 0.375rem 0.75rem;
}
.theme-product-card__img { transition: opacity 0.5s; }
.theme-product-card__img.is-sold-out { opacity: 0.6; }
.theme-product-card:hover .theme-product-card__img:not(.is-sold-out) { opacity: 0.9; }
.theme-product-card__body { padding-top: 1rem; text-align: center; flex: 1; }
.theme-product-card__title { font-family: var(--font-body); font-weight: 400; font-size: 0.8125rem; color: var(--color-foreground); transition: color 0.3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__cat { font-size: 0.6875rem; color: var(--color-muted-foreground); margin-top: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-product-card__price { font-size: 0.75rem; color: var(--color-foreground); margin-top: 0.25rem; }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }

.theme-related-products {
	padding-block: 6rem;
	border-top: 1px solid var(--color-border);
	margin-top: 3rem;
}
.theme-related-products__head { margin-bottom: 3rem; }
.theme-related-products__head h2 {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.2;
	font-weight: 500;
}
@media (min-width: 768px) { .theme-related-products__head h2 { font-size: 2.25rem; } }
.theme-related-products__love { font-style: italic; color: var(--color-primary); }
.theme-product-grid--related { column-gap: 2rem; row-gap: 3rem; }

/* Reveal fallback (Section 2.1 rule 5) — theme uses no scroll-hidden classes,
   but keep the safety rule for any future reveal-item usage. */
.reveal-item { opacity: 1; }
body.is-customizer .reveal-item, body.is-customizer .scale-in-item { opacity: 1 !important; transform: none !important; }

/* -------------------------------------------------------------------- */
/* About                                                                 */
/* -------------------------------------------------------------------- */
.theme-about { padding: 5rem 0; background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
@media (min-width: 1024px) { .theme-about { padding: 7rem 0; } }
.theme-about__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-about__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-about__media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.theme-about__sparkle { position: absolute; top: 1.25rem; right: 1.25rem; color: var(--color-primary); }
.theme-about__title { margin-top: 1rem; margin-bottom: 1.5rem; }
.theme-about__copy p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.625; margin-bottom: 1rem; }
.theme-about__copy p:last-of-type { margin-bottom: 2rem; }
.theme-about__badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 28rem; width: 100%; margin-top: 0; }
.theme-about__badge { border: 1px solid var(--color-border); padding: 1rem 0; text-align: center; min-width: 0; }
.theme-about__badge span {
	display: block;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-foreground);
}

/* -------------------------------------------------------------------- */
/* Services                                                              */
/* -------------------------------------------------------------------- */
.theme-services { padding: 5rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .theme-services { padding: 7rem 0; } }
.theme-services__intro { max-width: 42rem; }
.theme-services__title { margin-top: 0.75rem; margin-bottom: 1.5rem; }
.theme-services__intro p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.65; }
.theme-services__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .theme-services__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.theme-service-card { border: 1px solid var(--color-border); padding: 2rem 2.5rem; background: color-mix(in srgb, var(--color-secondary) 30%, transparent); }
.theme-service-card h3 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin-bottom: 0.75rem; line-height: 1.2; }
.theme-service-card p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.65; }

/* -------------------------------------------------------------------- */
/* How it works                                                          */
/* -------------------------------------------------------------------- */
.theme-howitworks { padding: 5rem 0; background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
@media (min-width: 1024px) { .theme-howitworks { padding: 7rem 0; } }
.theme-howitworks__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-howitworks__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-howitworks__media {
	display: grid;
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	order: 1;
}
.theme-howitworks__media img {
	grid-area: 1 / 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
@media (min-width: 1024px) { .theme-howitworks__media { order: 2; } }
.theme-howitworks__copy { order: 2; min-width: 0; }
@media (min-width: 1024px) { .theme-howitworks__copy { order: 1; } }
.theme-howitworks .theme-eyebrow { font-weight: 400; }
.theme-howitworks__title { margin-top: 1rem; margin-bottom: 1.5rem; line-height: 1.25; }
.theme-steps { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-steps li { display: flex; gap: 1.25rem; align-items: flex-start; }
.theme-steps__number { font-family: var(--font-body); font-size: 0.6875rem; letter-spacing: 0.24em; color: var(--color-primary); padding-top: 0.25rem; flex-shrink: 0; }
.theme-steps h3 { font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 1rem; margin: 0 0 0.25rem; color: var(--color-foreground); }
.theme-steps p { font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.625; margin: 0; }
.theme-howitworks .theme-btn--dark { height: 2.75rem; padding: 0 2rem; font-size: 0.75rem; letter-spacing: 0.28em; font-weight: 600; }

/* -------------------------------------------------------------------- */
/* Testimonials                                                          */
/* -------------------------------------------------------------------- */
.theme-testimonials { padding: 5rem 0; background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
@media (min-width: 1024px) { .theme-testimonials { padding: 7rem 0; } }
.theme-testimonials__head { text-align: center; margin-bottom: 3rem; }
@media (min-width: 1024px) { .theme-testimonials__head { margin-bottom: 4rem; } }
.theme-testimonials__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-testimonials__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.theme-testimonial-card { background: var(--color-background); border: 1px solid var(--color-border); padding: 2rem 2.5rem; display: flex; flex-direction: column; min-height: 100%; }
.theme-testimonial-card blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.35; margin: 0 0 1.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-testimonial-card blockquote { font-size: 1.5rem; } }
.theme-testimonial-card figcaption { margin-top: auto; }
.theme-testimonial-card__name { font-size: 0.875rem; }
.theme-testimonial-card__place { font-size: 0.75rem; color: var(--color-muted-foreground); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.25rem; }

/* -------------------------------------------------------------------- */
/* Divider                                                               */
/* -------------------------------------------------------------------- */
.theme-divider { position: relative; width: 100%; height: 12rem; overflow: hidden; }
@media (min-width: 768px) { .theme-divider { height: 18rem; } }
@media (min-width: 1024px) { .theme-divider { height: 24rem; } }

/* -------------------------------------------------------------------- */
/* FAQ                                                                   */
/* -------------------------------------------------------------------- */
.theme-faq { padding: 5rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .theme-faq { padding: 7rem 0; } }
.theme-faq__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: flex-start; }
@media (min-width: 1024px) { .theme-faq__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-faq__intro { position: static; }
@media (min-width: 1024px) { .theme-faq__intro { position: sticky; top: 8rem; align-self: flex-start; } }
.theme-faq__title { margin-top: 0.75rem; margin-bottom: 1.5rem; }
.theme-faq__intro p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.65; max-width: 28rem; }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item__question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	text-align: left; padding: 1.25rem 0; background: none; border: none; color: var(--color-foreground);
}
.theme-faq-item__question span:first-child { font-size: 0.9375rem; transition: color 0.3s; }
.theme-faq-item__question:hover span:first-child { color: var(--color-primary); }
.theme-faq-item__icon { flex-shrink: 0; display: inline-flex; }
.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: inline-flex; }
.theme-faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--transition-smooth); }
.theme-faq-item__answer p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.65; padding-bottom: 1.5rem; padding-right: 2.5rem; }
.theme-faq-item.is-open .theme-faq-item__answer { max-height: 400px; }

/* -------------------------------------------------------------------- */
/* Contact                                                               */
/* -------------------------------------------------------------------- */
.theme-contact { padding: 5rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .theme-contact { padding: 7rem 0; } }
.theme-contact__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-contact__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.theme-contact__title { margin-top: 0.75rem; margin-bottom: 1.5rem; }
.theme-contact__grid > div > p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.65; max-width: 28rem; margin-bottom: 2rem; }
.theme-contact__links { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact__links a { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--color-foreground); transition: color 0.3s; word-break: break-all; }
.theme-contact__links a:hover { color: var(--color-primary); }
.theme-contact__links svg { flex-shrink: 0; }
.theme-contact__card { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .theme-contact__card { padding: 3rem; } }
.theme-contact__card .theme-eyebrow { margin-bottom: 0.75rem; }
.theme-contact__card h3 { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; margin: 0 0 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-contact__card h3 { font-size: 1.875rem; } }
.theme-contact__card p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.65; margin-bottom: 2rem; }

/* -------------------------------------------------------------------- */
/* Contact modal                                                         */
/* -------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; visibility: hidden; pointer-events: none; padding: 1.5rem; }
.theme-modal.is-open { visibility: visible; pointer-events: auto; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); border: none; padding: 0; opacity: 0; transition: opacity 0.2s; }
.theme-modal.is-open .theme-modal__overlay { opacity: 1; }
.theme-modal__panel {
	position: relative; z-index: 1; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: 0.5rem; padding: 1.5rem;
	transform: scale(0.95) translateY(1%); opacity: 0; transition: transform 0.2s var(--transition-smooth), opacity 0.2s;
}
.theme-modal.is-open .theme-modal__panel { transform: scale(1) translateY(0); opacity: 1; }
.theme-modal__close { position: absolute; right: 1rem; top: 1rem; background: none; border: none; opacity: 0.7; color: var(--color-foreground); }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.5rem; margin: 0.5rem 0 0.25rem; line-height: 1.2; }
.theme-modal__subtitle { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.5; margin-bottom: 0; }
.theme-modal__contact-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.5rem; }
.theme-modal__contact-links a { display: flex; align-items: center; gap: 0.5rem; word-break: break-all; }
.theme-modal__contact-icon { flex-shrink: 0; width: 1rem; height: 1rem; }
.theme-modal__contact-links a:hover { color: var(--color-foreground); }
.theme-modal__form-wrap { margin-top: 1rem; }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-field label { margin-bottom: 0.375rem; }
.theme-field input, .theme-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-family: var(--font-body); font-size: 0.875rem; color: var(--color-foreground); resize: none;
}
.theme-field input:focus, .theme-field textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-modal__form-actions { display: flex; justify-content: flex-end; margin-top: 1rem; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------- */
/* Cart drawer                                                          */
/* -------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: rgba(66,46,53,0.3); z-index: 55; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 32rem; background: var(--color-background);
	z-index: 56; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--color-border); flex-shrink: 0; }
@media (min-width: 640px) { .theme-cart-drawer__header { padding: 2rem 2rem 1.25rem; } }
.theme-cart-drawer__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__close { background: none; border: none; padding: 0.25rem; color: var(--color-foreground); opacity: 0.7; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; color: var(--color-muted-foreground); }
.theme-cart-drawer__empty svg { margin-bottom: 1.25rem; }
.theme-cart-drawer__empty p { margin-bottom: 1.5rem; }
.theme-cart-drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 640px) { .theme-cart-drawer__items { padding: 1.5rem 2rem; } }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image { position: relative; width: 6rem; height: 8rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; display: grid; }
.theme-cart-item__image img {
	grid-area: 1 / 1;
	position: relative;
	inset: auto;
	width: 100%;
	height: 100%;
	max-width: none;
	min-width: 0;
	min-height: 0;
	object-fit: cover;
	object-position: center;
}
.theme-cart-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__title { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-foreground); }
.theme-cart-item__title:hover { opacity: 0.7; }
.theme-cart-item-meta { list-style: none; margin: 0.375rem 0 0; padding: 0; font-size: 0.75rem; color: var(--color-muted-foreground); font-style: italic; }
.theme-cart-item-meta__row { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.25rem; }
.theme-cart-item-meta-swatch { width: 0.75rem; height: 0.75rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent); flex-shrink: 0; }
.theme-cart-item-meta__label { font-style: normal; text-transform: capitalize; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); font-style: italic; margin-top: 0.375rem; }
.theme-cart-item__price { font-size: 0.875rem; margin-top: 0.375rem; }
.theme-cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty button { width: 2rem; height: 2rem; background: none; border: none; display: inline-flex; align-items: center; justify-content: center; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty span { min-width: 1.75rem; text-align: center; font-size: 0.875rem; }
.theme-cart-item__remove { font-size: 0.75rem; color: var(--color-muted-foreground); background: none; border: none; text-decoration: underline; text-underline-offset: 4px; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__pair { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.theme-cart-drawer__pair-title { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; }
.theme-cart-drawer__pair-row { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; }
.theme-cart-drawer__pair-item { flex-shrink: 0; width: 8rem; text-align: left; display: block; }
.theme-cart-drawer__pair-image {
	display: grid;
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	background: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 0.5rem;
}
.theme-cart-drawer__pair-image img {
	grid-area: 1 / 1;
	position: relative;
	inset: auto;
	width: 100%;
	height: 100%;
	max-width: none;
	min-width: 0;
	min-height: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s;
}
.theme-cart-drawer__pair-item:hover .theme-cart-drawer__pair-image img { transform: scale(1.05); }
.theme-cart-drawer__pair-name { display: block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-drawer__pair-price { display: block; font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-drawer__footer { padding: 1.5rem 1.25rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0; }
@media (min-width: 640px) { .theme-cart-drawer__footer { padding: 1.5rem 2rem; } }
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }

/* Hide WooCommerce "View cart" injected after AJAX add (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; }

/* Scoped 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-info, .woocommerce-error {
	font-family: var(--font-body); font-size: 0.875rem; border-radius: var(--radius); border: 1px solid var(--color-border);
	background: var(--color-secondary); color: var(--color-foreground); padding: 1rem 1.5rem; list-style: none; margin: 0 0 1.5rem;
}

/* -------------------------------------------------------------------- */
/* WooCommerce: add to cart button overrides (Section 11.4.1)           */
/* -------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Cart-drawer "pair with" card reuses ajax_add_to_cart — override the global
   button rules to render it as a plain unstyled card link, not a button. */
.theme-cart-drawer__pair-item.ajax_add_to_cart.add_to_cart_button {
	background: none !important; color: var(--color-foreground) !important; border: none !important;
	min-height: unset !important; padding: 0 !important; display: block !important;
	text-transform: none !important; letter-spacing: normal !important; font-weight: 400 !important;
}
.theme-cart-drawer__pair-item.ajax_add_to_cart.add_to_cart_button:hover { opacity: 1 !important; background: none !important; }

/* -------------------------------------------------------------------- */
/* Single product                                                       */
/* -------------------------------------------------------------------- */
.theme-single-product { padding-top: 7rem; }
@media (min-width: 1024px) { .theme-single-product { padding-top: 8rem; } }
.theme-product-layout { display: grid; grid-template-columns: 1fr; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 440px; align-items: start; } }
@media (min-width: 1280px) { .theme-product-layout { grid-template-columns: 1fr 500px; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 8rem; align-self: flex-start; } }
.theme-product-gallery__row { display: flex; }
.theme-product-thumbnails { display: none; flex-direction: column; gap: 0.75rem; padding: 1rem; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails { display: flex; } }
.theme-product-thumb { width: 4rem; height: 4rem; overflow: hidden; border: 1px solid transparent; border-radius: 0.375rem; opacity: 0.6; transition: all 0.2s; background: none; padding: 0; position: relative; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--color-foreground); }
.theme-product-main-image { flex: 1; min-height: 60vh; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .theme-product-main-image { min-height: 78vh; } }
#product-main-img { width: 100%; height: 100%; max-height: 88vh; object-fit: contain; }
.theme-product-info { padding: 2.5rem 1.5rem; }
@media (min-width: 768px) { .theme-product-info { padding: 3rem 2.5rem; } }
.theme-product-breadcrumb { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-product-breadcrumb span { margin: 0 0.5rem; }
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5; color: var(--color-foreground); }
.theme-product-sku { margin-top: 0.75rem; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-price { font-size: 1.125rem; }
.theme-product-price .woocommerce-Price-amount { color: inherit; }
.theme-product-stock.is-out-of-stock { color: #b23; margin-top: 0.75rem; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.14em; }
.theme-product-note { margin-top: 1.75rem; background: color-mix(in srgb, var(--color-secondary) 70%, transparent); padding: 1rem 1.25rem; font-size: 0.8125rem; line-height: 1.6; border-radius: 0.375rem; overflow-wrap: break-word; }
.theme-add-to-cart-area { margin-top: 2rem; display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-quantity-wrapper button { width: 2.75rem; height: var(--btn-height); background: none; border: none; font-size: 1rem; }
.theme-quantity-wrapper button:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: none; font-family: var(--font-body); font-size: 0.875rem; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; width: 100%; }
.theme-product-details { margin-top: 3rem; }
.theme-product-details h2 { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; }
.theme-product-description { font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.55; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p { margin-bottom: 1rem; }
.theme-product-short-description ul { margin-top: 1.5rem; padding-left: 1.25rem; list-style: disc; }
.theme-product-short-description li { font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.65; margin-bottom: 0.625rem; }
.theme-product-short-description li::marker { color: var(--color-primary); }
.posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Variable product variations table (Section 11.5.1) */
/* Variable product attributes (swatches + selects) */
.theme-product-attrs { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 1.75rem; }
.theme-product-attr__label { display: block; margin-bottom: 0.75rem; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-attr-select { width: 100%; max-width: 20rem; height: 2.75rem; border: 1px solid var(--color-border); background: var(--color-background); padding: 0 0.75rem; font-family: var(--font-body); border-radius: var(--radius); }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills--color { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-attr-pill--color { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: transparent; color: var(--color-foreground); font-family: var(--font-body); font-size: 0.8125rem; transition: border-color 0.2s, background 0.2s; }
.theme-attr-pill--color.is-selected { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 5%, transparent); }
.theme-attr-pill__swatch { width: 1.25rem; height: 1.25rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent); flex-shrink: 0; }
.theme-attr-pill__label { white-space: nowrap; }

.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-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select { width: 100%; max-width: 20rem; height: 2.75rem; border: 1px solid var(--color-border); background: var(--color-background); padding: 0 0.75rem; font-family: var(--font-body); }

/* -------------------------------------------------------------------- */
/* Shop archive (WooCommerce loop)                                      */
/* -------------------------------------------------------------------- */
.theme-shop-archive { padding: 7rem 0 5rem; }
.theme-shop-archive__title { font-size: 2rem; margin-bottom: 2rem; }
.theme-shop-archive__empty { padding: 4rem 0; text-align: center; color: var(--color-muted-foreground); }
.woocommerce-pagination { margin-top: 3rem; text-align: center; }
.woocommerce-pagination ul { display: inline-flex; gap: 0.5rem; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--color-border); font-size: 0.8125rem; }
.woocommerce-pagination .current { background: var(--color-foreground); color: var(--color-background); }

/* -------------------------------------------------------------------- */
/* Generic pages / 404                                                   */
/* -------------------------------------------------------------------- */
.theme-page { padding: 7rem 0 5rem; }
.page-title { font-size: 2rem; margin-bottom: 2rem; }
.theme-404 { min-height: 70vh; display: flex; align-items: center; }
.theme-404__inner { text-align: center; padding-block: 6rem; }
.theme-404 h1 { font-size: 3rem; margin-bottom: 1rem; }
.theme-404 p { margin-bottom: 1.5rem; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */
.site-footer { background: var(--color-secondary); color: var(--color-foreground); border-top: 1px solid var(--color-border); }
.site-footer__inner { padding-block: 4rem 5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__logo { height: calc(var(--logo-height) * 1.15) !important; }
.site-footer__desc { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 20rem; line-height: 1.6; }
.site-footer__col h4 { font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); margin-bottom: 1.25rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a, .site-footer__col button {
	font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); background: none; border: none; padding: 0; text-align: left;
	transition: color 0.3s;
}
.site-footer__col a:hover, .site-footer__col button:hover { color: var(--color-primary); }
.site-footer__contact-list li { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.site-footer__contact-list a { overflow-wrap: anywhere; word-break: break-word; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom p { font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom a:hover { color: var(--color-primary); }

/* -------------------------------------------------------------------- */
/* WooCommerce Checkout Block                                         */
/* -------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
.theme-checkout-main { padding-top: var(--header-height); padding-bottom: 4rem; }
.theme-checkout-header { padding-top: 2.5rem; padding-bottom: 2rem; }
.theme-checkout-header__back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 2rem; }
.theme-checkout-header__back:hover { color: var(--color-foreground); }
.theme-checkout-header__title { font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 700; margin: 0 0 0.5rem; }
.theme-checkout-header__intro { margin: 0; color: var(--color-muted-foreground); font-size: 0.9375rem; max-width: 42rem; }
.theme-checkout-main > .theme-checkout-content,
body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .entry-content,
.entry-content .wc-block-checkout { max-width: 1280px; width: 100%; margin-inline: auto; box-sizing: border-box; }
.theme-checkout-main > .container-wide,
.theme-checkout-content {
	max-width: none;
	width: 100%;
	padding-inline: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-checkout-main > .container-wide,
	.theme-checkout-content { padding-inline: 2.5rem; }
}
body.woocommerce-checkout .site-main:not(.theme-checkout-main) .entry-content {
	padding-inline: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main:not(.theme-checkout-main) .entry-content { padding-inline: 2.5rem; }
}
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout { max-width: 1280px; width: 100%; margin-inline: auto; box-sizing: border-box; min-width: 0; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices { grid-column: 1 / -1; }
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: none;
	padding: 0;
	border-radius: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: color-mix(in srgb, var(--color-secondary) 50%, transparent);
	border-radius: var(--radius);
	padding: 2rem;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: 1280px;
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 1rem;
}
body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) .wc-block-components-notice-banner,
.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

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,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	color: var(--color-foreground);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-checkout .wc-block-components-notice-banner { border-radius: var(--radius); }
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
.entry-content .wc-block-checkout h2,
.entry-content .wc-block-checkout h3 { font-family: var(--font-display); font-style: italic; }

/* Cart + My Account width/alignment parity (Section 13.7) */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce-MyAccount-content { max-width: 100%; }

/* Thank-you page (Section 22.8) */
body.theme-thankyou-page { overflow-x: hidden; padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
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-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-style: italic; padding: 0 0 1rem; }
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: 30rem; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.25rem; border-radius: var(--radius); }

/* -------------------------------------------------------------------- */
/* Animations                                                            */
/* -------------------------------------------------------------------- */
.animate-fade-in { animation: fadeIn 0.3s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.4s var(--transition-smooth) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
