/* =========================================================================
   Gypsy's Candles — theme.css
   ========================================================================= */

/* ---------- Fonts / tokens ---------- */
:root {
	--color-background: #fcfbf7;
	--color-foreground: #1f1f23;
	--color-primary: #c8a05b;
	--color-button-text: #ffffff;
	--color-secondary: #f6f4ee;
	--color-muted-foreground: #5d5d65;
	--color-accent: #8c6c4f;
	--color-border: #e3ddd3;
	--color-plum: #241730;
	--color-plum-deep: #180d21;
	--color-highlight: #849f86;

	--font-display: 'Cormorant Garamond', 'Playfair Display', serif;
	--font-body: 'Inter', 'Helvetica Neue', sans-serif;

	--radius: 4px;
	--card-radius: 4px;
	--shadow-soft: 0 6px 24px -8px rgba(31, 31, 35, 0.16);
	--shadow-elevated: 0 18px 48px -14px rgba(31, 31, 35, 0.28);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--header-height: 80px;
	--page-top-offset: 7rem;
	--logo-height: 64px;

	--btn-radius: 0px;
	--btn-height: 48px;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 11px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.32em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--checkout-gap: 2.5rem;
	--section-padding: 2rem;
	--wp-admin-bar-height: 0px;
}

body.admin-bar {
	--wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}

@media (min-width: 1024px) {
	:root {
		--page-top-offset: 8rem;
	}
}

@keyframes theme-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Clickable elements */
a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"],
select,
.nav-link,
.theme-cat-filter,
.theme-footer-link,
.theme-search-dialog__result,
.theme-search-dialog__cat-link,
.theme-search-dialog__backdrop,
.theme-search-dialog__close,
.theme-product-card,
.featured-card,
.collection-tile,
.faq-item__question,
.site-header__icon-btn,
.mobile-menu__close,
.site-header__menu-btn,
.featured-section__arrow,
.theme-back-to-top,
.theme-contact-modal__close,
.theme-contact-modal__overlay,
.mobile-menu__overlay {
	cursor: pointer;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; margin: 0; padding: 0; }
body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; }

/* Cover images excluded from generic responsive scaling (Section 15.1) */
img:not(.cover-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.theme-product-card__image-wrapper img.product-card-img,
.featured-card__image img.product-card-img,
.collection-tile img.product-card-img,
.theme-product-thumb img.product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Layout helpers ---------- */
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 767px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }
.scroll-mt-32 { scroll-margin-top: 8rem; }
.label-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.36em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.section-heading {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	color: var(--color-foreground);
	line-height: 1.15;
}
.section-intro { text-align: center; max-width: 640px; margin: 0 auto 3rem; }

/* ---------- Buttons ---------- */
.theme-btn-primary, .theme-btn-secondary, .theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	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);
	border-radius: var(--btn-radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.theme-btn-primary { background-color: var(--color-primary); color: var(--color-button-text); }
.theme-btn-primary:hover { opacity: 0.85; }
.theme-btn-secondary { background-color: var(--color-foreground); color: var(--color-background); }
.theme-btn-secondary:hover { background-color: var(--color-primary); color: var(--color-button-text); }
.theme-btn-outline { background: transparent; color: var(--color-foreground); border-color: var(--color-border); }
.theme-btn-outline:hover { border-color: var(--color-foreground); }
.theme-btn-primary:active, .theme-btn-secondary:active, .theme-btn-outline:active { transform: scale(0.96); }

.btn-gold-shimmer { position: relative; overflow: hidden; }
.btn-gold-shimmer::after {
	content: '';
	position: absolute;
	top: 0; left: -120%;
	width: 60%; height: 100%;
	background: linear-gradient(110deg, transparent, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
	transition: left 0.7s var(--transition-smooth);
	pointer-events: none;
}
.btn-gold-shimmer:hover::after { left: 130%; }

.theme-icon-inline { width: 14px; height: 14px; margin-left: 0.5rem; }

/* ---------- WooCommerce add-to-cart button override (Section 11.4.1) ---------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_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: none !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 {
	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; }

.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; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: var(--wp-admin-bar-height);
	left: 0; right: 0;
	z-index: 50;
	color: #fff;
	background-color: color-mix(in srgb, var(--color-plum) 60%, transparent);
	border-bottom: 1px solid transparent;
	transition: background-color 0.5s ease, border-color 0.5s ease;
	backdrop-filter: blur(6px);
}
.site-header.is-solid {
	background-color: color-mix(in srgb, var(--color-plum) 95%, transparent);
	border-color: rgba(255,255,255,0.1);
	box-shadow: var(--shadow-soft);
}
.site-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4.4rem;
	padding: 0 1rem;
}
@media (min-width: 768px) { .site-header__inner { height: 5rem; padding: 0 2rem; } }
@media (min-width: 1024px) { .site-header__inner { padding: 0 3rem; } }

.site-header__left { display: flex; align-items: center; gap: 1.75rem; }
.site-header__menu-btn { color: #fff; padding: 0.5rem; margin-left: -0.5rem; }
.site-header__menu-btn svg { width: 24px; height: 24px; }
@media (min-width: 1024px) { .site-header__menu-btn { display: none; } }

.site-header__nav { display: none; align-items: center; gap: 2rem; position: relative; }
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-list .nav-link,
.site-header .nav-link {
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 500;
	color: #fff;
	padding: 0.5rem 0;
	transition: color 0.3s ease;
}
.theme-nav-list .nav-link:hover, .site-header .nav-link:hover { color: var(--color-primary); }

.site-header__nav-item--shop { position: relative; }
.nav-link--shop { display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-link__chevron { display: inline-flex; align-items: center; line-height: 0; }
.nav-link__chevron svg { width: 14px; height: 14px; }
.site-header__dropdown-wrap {
	position: absolute;
	left: 0;
	top: 100%;
	padding-top: 0.75rem;
	width: 15rem;
	max-width: 80vw;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	z-index: 10;
	pointer-events: none;
}
.site-header__nav-item--shop:hover .site-header__dropdown-wrap {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
.site-header__dropdown-panel {
	background: #170525;
	border: 1px solid rgba(255,255,255,0.1);
	box-shadow: var(--shadow-elevated);
	padding: 0.5rem 0;
}
.site-header__dropdown-panel .theme-cat-filter {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.625rem 1.25rem;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: #fff;
	background: none;
	border: none;
	height: auto;
	transition: color 0.3s ease, background-color 0.3s ease;
}
.site-header__dropdown-panel .theme-cat-filter:hover { color: var(--color-primary); background: rgba(255,255,255,0.05); }
.site-header__dropdown-panel .theme-cat-filter.is-active {
	background: rgba(255,255,255,0.05);
	color: var(--color-primary);
}

.site-header__brand { position: absolute; left: 50%; transform: translateX(-50%); }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: #fff; line-height: var(--logo-height); display: block; }

.site-header__right { display: flex; align-items: center; gap: 0.125rem; }
.site-header__icon-btn {
	position: relative;
	width: 2.75rem; height: 2.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	transition: color 0.3s ease, transform 0.3s ease;
}
.site-header__icon-btn:hover { color: var(--color-primary); transform: scale(1.1); }
.site-header__icon-btn svg { width: 22px; height: 22px; }
.site-header__search-btn { display: none; }
@media (min-width: 640px) { .site-header__search-btn { display: inline-flex; } }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 3px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 500;
	background-color: var(--color-primary);
	color: var(--color-button-text);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

/* Scroll progress bar */
#gypsys-scroll-progress {
	position: fixed;
	top: var(--wp-admin-bar-height);
	left: 0; right: 0;
	height: 2px;
	background: var(--color-primary);
	transform: scaleX(0);
	transform-origin: 0 50%;
	z-index: 70;
	pointer-events: none;
	transition: transform 0.1s linear;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	visibility: hidden;
	pointer-events: none;
}
body.mobile-menu-open .mobile-menu { visibility: visible; pointer-events: auto; }
.mobile-menu__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0,0,0,0.4);
	opacity: 0;
	transition: opacity 0.3s ease;
}
body.mobile-menu-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel {
	position: relative;
	z-index: 1;
	width: 88vw;
	max-width: 380px;
	height: 100%;
	background: var(--color-plum);
	color: #fff;
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.mobile-menu-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 1.25rem; height: 4.8rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	flex-shrink: 0;
}
.mobile-menu__close { color: #fff; }
.mobile-menu__close svg { width: 24px; height: 24px; }
.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 0.75rem 1rem; }
.mobile-menu__nav .theme-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-menu__nav .nav-link {
	display: block;
	padding: 1rem 0.75rem;
	font-size: 16px;
	letter-spacing: 0.28em;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu__nav-item--shop { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu__nav-row { display: flex; align-items: stretch; }
.mobile-menu__nav-row .nav-link { flex: 1; border-bottom: none; }
.mobile-menu__shop-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	flex-shrink: 0;
	color: #fff;
	border-left: 1px solid rgba(255,255,255,0.1);
	transition: color 0.2s ease, transform 0.2s ease;
}
.mobile-menu__shop-toggle svg { width: 14px; height: 14px; }
.mobile-menu__shop-toggle:hover { color: var(--color-primary); }
.mobile-menu__nav-item--shop.is-open .mobile-menu__shop-toggle { transform: rotate(180deg); }
.mobile-menu__subnav {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 0.75rem;
}
.mobile-menu__nav-item--shop.is-open .mobile-menu__subnav { max-height: 14rem; }
.mobile-menu__subnav-link {
	display: block;
	width: 100%;
	padding: 0.625rem 0;
	font-size: 14px;
	color: rgba(255,255,255,0.8);
	background: none;
	text-align: left;
	letter-spacing: normal;
	text-transform: none;
}
.mobile-menu__subnav-link:hover { color: var(--color-primary); }

/* ---------- Search dialog ---------- */
.theme-search-dialog {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
}
body.search-open .theme-search-dialog { display: block; animation: theme-fade-in 0.25s ease; }
.theme-search-dialog__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 31, 35, 0.4);
	backdrop-filter: blur(4px);
	border: none;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
}
.theme-search-dialog__panel {
	position: relative;
	background: var(--color-background);
	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: 5;
	color: var(--color-foreground);
	opacity: 0.7;
	background: none;
	border: none;
	padding: 0.5rem;
}
@media (min-width: 1024px) {
	.theme-search-dialog__close { top: 1.75rem; right: 2rem; }
}
.theme-search-dialog__close:hover { opacity: 1; }
.theme-search-dialog__inner {
	position: relative;
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (max-width: 1023px) {
	.theme-search-dialog__inner.container-wide {
		padding-top: 4.5rem;
		padding-bottom: 2.5rem;
	}
}
@media (min-width: 1024px) {
	.theme-search-dialog__inner {
		grid-template-columns: 260px 1fr;
		gap: 4rem;
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
}
.theme-search-dialog__categories h3 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-style: italic;
	margin-bottom: 1.5rem;
}
.theme-search-dialog__categories ul { display: flex; flex-direction: column; gap: 0.875rem; }
.theme-search-dialog__cat-link {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 0;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(31,31,35,0.85);
	font-family: var(--font-body);
	transition: color 0.3s ease;
}
.theme-search-dialog__cat-link:hover { color: var(--color-primary); }
.theme-search-dialog__results { padding-right: 0; }
@media (min-width: 1024px) { .theme-search-dialog__results { padding-right: 4rem; } }
.theme-search-dialog__input-row { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid rgba(31,31,35,0.3); padding-bottom: 0.75rem; }
.theme-search-dialog__input-row svg { width: 16px; height: 16px; opacity: 0.6; flex-shrink: 0; }
.theme-search-dialog__input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-display); font-size: 1.5rem; }
.theme-search-dialog__input::placeholder { color: rgba(31,31,35,0.4); }
.theme-search-dialog__results-body { margin-top: 2.5rem; }
.theme-search-dialog__heading {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-style: italic;
	margin-bottom: 1.5rem;
}
.theme-search-dialog__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .theme-search-dialog__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-search-dialog__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.theme-search-dialog__result { display: block; text-decoration: none; color: inherit; }
.theme-search-dialog__result-image { display: block; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); position: relative; }
.theme-search-dialog__result-image img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.7s ease;
}
.theme-search-dialog__result:hover .theme-search-dialog__result-image img { transform: scale(1.05); }
.theme-search-dialog__result-name { display: block; margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.4; }
.theme-search-dialog__result-price { display: block; margin-top: 0.25rem; font-size: 12px; color: var(--color-muted-foreground); }
.theme-search-dialog__empty { font-size: 14px; color: var(--color-muted-foreground); }
.theme-search-dialog__empty-query { font-family: var(--font-display); font-style: italic; }

/* ---------- Contact modal ---------- */
.theme-contact-modal { position: fixed; inset: 0; z-index: 95; visibility: hidden; pointer-events: none; }
body.contact-modal-open .theme-contact-modal { visibility: visible; pointer-events: auto; }
.theme-contact-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity 0.3s ease; }
body.contact-modal-open .theme-contact-modal__overlay { opacity: 1; }
.theme-contact-modal__panel {
	position: relative;
	max-width: 32rem;
	margin: 6vh auto 0;
	max-height: 88vh;
	overflow-y: auto;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--card-radius);
	padding: 2rem;
	transform: scale(0.96);
	opacity: 0;
	transition: all 0.25s ease;
}
body.contact-modal-open .theme-contact-modal__panel { transform: scale(1); opacity: 1; }
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; opacity: 0.6; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-size: 1.5rem; margin-top: 0.5rem; line-height: 1.2; }
.theme-contact-modal__desc { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.6; margin-top: 0.5rem; }
.theme-contact-modal__email { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 1rem; }
.theme-contact-modal__email svg { width: 16px; height: 16px; }
.theme-contact-modal__email:hover { color: var(--color-foreground); }
.theme-contact-modal__form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-modal__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-modal__form label { display: block; margin-bottom: 0.375rem; }
.theme-contact-modal__form input, .theme-contact-modal__form textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	font-size: 14px;
	resize: none;
}
.theme-contact-modal__form input:focus, .theme-contact-modal__form textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-modal__submit-row { display: flex; justify-content: flex-end; }
.theme-contact-modal__success { text-align: center; padding: 1.5rem 0; font-family: var(--font-display); font-size: 1.1rem; }
.theme-contact-modal__error { color: #a63030; font-size: 13px; }

/* ---------- Hero ---------- */
.hero-section { position: relative; width: 100%; }
.hero-section__media { position: relative; width: 100%; height: 100svh; min-height: 600px; overflow: hidden; background: var(--color-foreground); }
.hero-section__video, .hero-section__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__video--desktop { display: none; }
.hero-section__image--mobile { display: block; }
@media (min-width: 768px) {
	.hero-section__video--desktop { display: block; }
	.hero-section__image--mobile { display: none; }
}
.hero-section__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-plum-deep) 90%, transparent), color-mix(in srgb, var(--color-plum) 35%, transparent) 55%, color-mix(in srgb, var(--color-plum) 45%, transparent)); }
.hero-section__vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 30%, transparent 40%, color-mix(in srgb, var(--color-plum-deep) 60%, transparent) 100%); }
.hero-section__content-wrap { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.hero-section__content { position: relative; width: 100%; max-width: 48rem; text-align: center; padding: 0 1.5rem 5rem; }
@media (min-width: 768px) { .hero-section__content { padding-bottom: 7rem; } }
.hero-section__eyebrow { display: block; font-size: 10px; letter-spacing: 0.46em; text-transform: uppercase; color: rgba(252,251,247,0.8); margin-bottom: 1.25rem; }
@media (min-width: 768px) { .hero-section__eyebrow { font-size: 11px; } }
.hero-section__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	font-size: 3rem;
	line-height: 1.05;
	color: var(--color-background);
	text-shadow: 0 0 28px color-mix(in srgb, var(--color-primary) 45%, transparent), 0 0 60px color-mix(in srgb, var(--color-primary) 25%, transparent);
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-section__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 6rem; } }
.hero-section__subtitle { font-size: 14px; color: rgba(252,251,247,0.8); max-width: 36rem; margin: 0 auto 2.25rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-section__subtitle { font-size: 16px; } }

/* ---------- Trust bar ---------- */
.trust-bar { position: relative; display: flex; align-items: center; height: 68px; overflow: hidden; background-color: var(--color-plum); }
.trust-bar__mask { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.trust-bar__track { display: flex; align-items: center; width: max-content; animation: trust-marquee 28s linear infinite; }
.trust-bar:hover .trust-bar__track { animation-play-state: paused; }
.trust-bar__group { display: flex; flex-shrink: 0; align-items: center; }
.trust-bar__item { display: flex; align-items: center; gap: 0.625rem; padding: 0 1.75rem; transition: transform 0.3s ease; }
.trust-bar__item:hover { transform: translateY(-2px); }
.trust-bar__item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-primary); }
.trust-bar__item span:not(.trust-bar__dot) { white-space: nowrap; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(252,251,247,0.8); }
.trust-bar__item:hover span:not(.trust-bar__dot) { color: var(--color-background); }
.trust-bar__dot { margin-left: 1.75rem; height: 4px; width: 4px; border-radius: 999px; background-color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
@keyframes trust-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust-bar__track { animation: none; } }

/* ---------- Featured carousel ---------- */
.featured-section { position: relative; overflow: hidden; padding: 4rem 0; background-color: var(--color-background); }
@media (min-width: 1024px) { .featured-section { padding: 6rem 0; } }
.featured-section__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.featured-section__title { font-size: 1.875rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .featured-section__title { font-size: 2.25rem; } }
.featured-section__nav { display: flex; align-items: center; gap: 0.25rem; }
.featured-section__arrow { width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); transition: all 0.3s ease; }
.featured-section__arrow svg { width: 16px; height: 16px; }
.featured-section__arrow:hover { background: var(--color-foreground); color: var(--color-background); }
.featured-section__arrow:active { transform: scale(0.95); }
.featured-section__scroller { display: flex; gap: 1.25rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 1rem; margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; scroll-snap-type: x mandatory; }
.featured-section__scroller::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .featured-section__scroller { gap: 1.5rem; } }
.featured-card { flex-shrink: 0; width: 68vw; scroll-snap-align: start; display: block; }
@media (min-width: 640px) { .featured-card { width: 40vw; } }
@media (min-width: 768px) { .featured-card { width: 30vw; } }
@media (min-width: 1024px) { .featured-card { width: calc((100% - 4.5rem) / 4); } }
.featured-card__image { position: relative; aspect-ratio: 1/1; background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent); overflow: hidden; }
.featured-card__image img { transition: transform 0.5s var(--transition-smooth); }
.featured-card:hover .featured-card__image img { transform: scale(1.05); }
.featured-card__info { padding-top: 1rem; text-align: center; }
.featured-card__info h3 { font-family: var(--font-body); font-style: normal; font-size: 13px; color: var(--color-foreground); transition: color 0.3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.featured-card:hover .featured-card__info h3 { color: var(--color-primary); }
.featured-card__cat { font-size: 11px; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.featured-card__price { font-size: 12px; color: var(--color-foreground); margin-top: 0.25rem; }

/* ---------- Collections ---------- */
.collections-section { position: relative; overflow: hidden; padding: 4rem 0; background-color: #dcd7cf; }
@media (min-width: 1024px) { .collections-section { padding: 6rem 0; } }
.collections-section__title { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .collections-section__title { font-size: 3rem; } }
.collections-section__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 1024px) { .collections-section__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.collection-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; background: #fff; text-align: left; display: block; width: 100%; border: 1px solid color-mix(in srgb, #6b5a30 65%, transparent); box-shadow: 0 15px 35px -10px rgba(0,0,0,0.15); transition: box-shadow 0.5s ease; }
.collection-tile:hover { box-shadow: 0 22px 48px -16px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.collection-tile__image { transition: transform 0.7s ease; }
.collection-tile:hover .collection-tile__image { transform: scale(1.1); }
.collection-tile__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 80%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent), transparent); transition: background 0.3s ease; }
.collection-tile:hover .collection-tile__gradient { background: linear-gradient(to top, color-mix(in srgb, var(--color-plum-deep) 90%, transparent), transparent); }
.collection-tile__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem; }
@media (min-width: 1024px) { .collection-tile__content { padding: 1.75rem; } }
.collection-tile__badge { display: inline-block; margin-bottom: 0.5rem; font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; background: color-mix(in srgb, var(--color-primary) 90%, transparent); color: var(--color-button-text); padding: 0.25rem 0.625rem; }
.collection-tile__content h3 { font-size: 1.5rem; color: var(--color-background); line-height: 1.15; }
@media (min-width: 1024px) { .collection-tile__content h3 { font-size: 1.875rem; } }

/* ---------- Shop section ---------- */
.shop-section { position: relative; overflow: hidden; padding: 3.5rem 0; background-color: var(--color-secondary); }
@media (min-width: 1024px) { .shop-section { padding: 5rem 0; } }
.shop-section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.shop-heading { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; }
@media (min-width: 640px) { .shop-heading { font-size: 14px; } }
.shop-section__count { font-size: 12px; color: var(--color-muted-foreground); }
.shop-section__controls { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2.5rem; align-items: end; }
@media (min-width: 1024px) { .shop-section__controls { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.shop-section__search { position: relative; max-width: 28rem; width: 100%; }
.shop-section__search svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--color-muted-foreground); }
.shop-section__search input { width: 100%; height: 2.75rem; padding: 0 0.75rem 0 2.5rem; border: 1px solid var(--color-border); background: var(--color-background); font-size: 14px; }
.shop-section__search input:focus { outline: none; border-color: var(--color-foreground); }
.shop-section__price-filter { width: 100%; }
@media (min-width: 1024px) { .shop-section__price-filter { width: 18rem; } }
.shop-section__price-filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.shop-section__price-filter-head span:first-child { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.shop-section__price-filter-head span:last-child { font-size: 12px; }
.shop-section__categories { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.theme-cat-filter {
	height: 2.25rem;
	padding: 0 1rem;
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	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: all 0.3s ease;
}
.site-header__dropdown-panel .theme-cat-filter,
.site-footer__col .theme-cat-filter {
	height: auto;
	padding: 0;
	letter-spacing: normal;
	text-transform: none;
	font-size: 14px;
	font-weight: 400;
	border: none;
	background: transparent;
	color: rgba(255,255,255,0.7);
}
.site-header__dropdown-panel .theme-cat-filter {
	padding: 0.625rem 1.25rem;
	color: #fff;
}
.site-footer__col .theme-cat-filter {
	padding: 0;
	text-align: left;
}
.site-footer__col .theme-cat-filter:hover,
.site-footer__col .theme-footer-link:hover { color: var(--color-primary); }
.site-footer__col .theme-cat-filter.is-active {
	color: var(--color-primary);
	background: transparent;
	border-color: transparent;
}
.shop-section__categories .theme-cat-filter:hover { border-color: var(--color-foreground); }
.shop-section__categories .theme-cat-filter.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.shop-section__no-results { text-align: center; padding: 4rem 0; font-size: 14px; color: var(--color-muted-foreground); }

/* Dual-handle price range (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.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: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: 0; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* ---------- Product grid + card ---------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.25rem; 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)); gap: 1.25rem 2.5rem; } }
.theme-product-grid--related { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .theme-product-grid--related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.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-wrapper { position: relative; aspect-ratio: 1/1; background-color: color-mix(in srgb, var(--color-secondary) 55%, transparent); overflow: hidden; }
.theme-product-card__image-wrapper img { transition: transform 0.5s ease, opacity 0.5s ease; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); opacity: 0.9; }
.theme-product-card__info { flex: 1; padding-top: 1rem; text-align: center; min-width: 0; }
.theme-product-card__info h3 { font-family: var(--font-body); font-style: normal; font-size: 13px; color: var(--color-foreground); transition: color 0.3s ease; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-product-card:hover .theme-product-card__info h3 { color: var(--color-primary); }
.theme-product-card__cat { font-size: 11px; color: var(--color-muted-foreground); margin-top: 0.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-product-card__price { font-size: 12px; color: var(--color-foreground); margin-top: 0.25rem; }
.theme-stock-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	color: var(--color-foreground);
	padding: 0.375rem 0.75rem;
	backdrop-filter: blur(4px);
}

/* ---------- About section ---------- */
.about-section { position: relative; overflow: hidden; padding: 5rem 0; background-color: #dcd7cf; }
@media (min-width: 1024px) { .about-section { padding: 7rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-section__media { position: relative; }
.about-section__image-wrap {
	position: relative;
	aspect-ratio: 4/5;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, #6b5a30 65%, transparent);
	box-shadow: 0 15px 35px -10px rgba(0,0,0,0.15);
}
.about-section__image-wrap .about-section__image.cover-img {
	transition: transform 0.5s ease;
}
.about-section__image-wrap:hover .about-section__image { transform: scale(1.05); }
.about-section__gold-rule {
	display: block;
	width: 6rem;
	height: 1px;
	margin-bottom: 1.25rem;
	background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-primary) 90%, transparent), transparent);
}
.about-section__title { font-size: 2.25rem; margin: 1rem 0; }
@media (min-width: 768px) { .about-section__title { font-size: 3rem; } }
.about-section__flourish {
	display: block;
	width: 4rem;
	height: 4rem;
	color: color-mix(in srgb, var(--color-primary) 40%, transparent);
	margin-bottom: 1.5rem;
}
.about-section__sparkle-divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1.25rem 0;
	color: color-mix(in srgb, var(--color-primary) 60%, transparent);
}
.about-section__sparkle-line {
	flex: 1;
	height: 1px;
	background: var(--color-border);
}
.about-section__sparkle-icon {
	width: 0.75rem;
	height: 0.75rem;
	flex-shrink: 0;
}
.about-section__copy p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1rem; }
.about-section__badges { display: flex; flex-wrap: wrap; gap: 0.625rem; margin: 1.5rem 0 2rem; }
.about-section__badge {
	font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	padding: 0.5rem 1rem;
	transition: all 0.3s ease;
}
.about-section__badge:hover { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

/* ---------- Why choose us ---------- */
.why-section { position: relative; overflow: hidden; }
.why-section__bg { position: absolute; inset: 0; }
.why-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.why-section__overlay::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--color-plum) 55%, transparent); mix-blend-mode: multiply; }
.why-section__inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .why-section__inner { padding-top: 7rem; padding-bottom: 7rem; } }
.why-section__intro { color: var(--color-background); }
.why-section__eyebrow { color: var(--color-primary); }
.why-section__title { font-size: 2.25rem; margin: 0.75rem 0 1.25rem; color: var(--color-background); text-shadow: 0 0 28px color-mix(in srgb, var(--color-primary) 45%, transparent); }
@media (min-width: 768px) { .why-section__title { font-size: 3rem; } }
.why-section__intro p { color: color-mix(in srgb, var(--color-background) 75%, transparent); line-height: 1.7; }
.why-section__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .why-section__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-section__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.why-feature-card {
	background: color-mix(in srgb, var(--color-background) 10%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
	padding: 2rem;
	transition: transform 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth);
}
.why-feature-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px -16px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.why-feature-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3.5rem; height: 3.5rem; border-radius: 999px; margin-bottom: 1.25rem;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 25%, transparent), 0 12px 50px -8px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.why-feature-card__icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.why-feature-card h3 { font-size: 1.5rem; color: var(--color-background); margin-bottom: 0.75rem; }
.why-feature-card p { font-size: 14px; color: color-mix(in srgb, var(--color-background) 75%, transparent); line-height: 1.7; }

/* ---------- Testimonials ---------- */
.testimonials-section { position: relative; overflow: hidden; padding: 5rem 0; background-color: #dcd7cf; }
@media (min-width: 1024px) { .testimonials-section { padding: 7rem 0; } }
.testimonials-section__title { font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .testimonials-section__title { font-size: 3rem; } }
.testimonials-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-section__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .testimonials-section__grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { padding: 0.75rem; background: #f3ecdd; border-radius: 3px; box-shadow: 0 24px 48px -18px rgba(60,40,15,0.28), 0 8px 20px -10px rgba(60,40,15,0.18); }
.testimonial-card__frame {
	position: relative;
	height: 100%;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 2.5rem 1.75rem 3rem;
	border: 1.5px solid color-mix(in srgb, #6b5a30 70%, transparent);
	box-shadow: inset 0 0 0 4px color-mix(in srgb, #6b5a30 30%, transparent);
}
.testimonial-card__corner { position: absolute; width: 26px; height: 26px; color: color-mix(in srgb, #6b5a30 85%, transparent); }
.testimonial-card__corner--tl { top: 6px; left: 6px; }
.testimonial-card__corner--tr { top: 6px; right: 6px; transform: rotate(90deg); }
.testimonial-card__corner--br { bottom: 6px; right: 6px; transform: rotate(180deg); }
.testimonial-card__corner--bl { bottom: 6px; left: 6px; transform: rotate(-90deg); }
.testimonial-card__emblem { width: 44px; height: 44px; margin-bottom: 1.5rem; color: var(--color-primary); }
.testimonial-card blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .testimonial-card blockquote { font-size: 1.5rem; } }
.testimonial-card figcaption { margin-top: auto; }
.testimonial-card__name { font-size: 12px; letter-spacing: 0.16em; }
.testimonial-card__place { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.375rem; }

/* ---------- Photo divider ---------- */
.photo-divider { position: relative; width: 100%; height: 14rem; overflow: hidden; }
@media (min-width: 768px) { .photo-divider { height: 20rem; } }
@media (min-width: 1024px) { .photo-divider { height: 28rem; } }
.photo-divider__video, .photo-divider__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-divider__video--desktop { display: none; }
.photo-divider__image--mobile { display: block; }
@media (min-width: 768px) {
	.photo-divider__video--desktop { display: block; }
	.photo-divider__image--mobile { display: none; }
}
.photo-divider__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-plum-deep) 55%, transparent); }
.photo-divider__text-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 1.5rem; text-align: center; }
.photo-divider__text { font-family: var(--font-display); font-style: italic; font-size: 1.875rem; line-height: 1.2; color: var(--color-background); }
@media (min-width: 768px) { .photo-divider__text { font-size: 2.75rem; } }
@media (min-width: 1024px) { .photo-divider__text { font-size: 3.75rem; white-space: nowrap; } }

/* ---------- FAQ ---------- */
.faq-section { position: relative; padding: 5rem 0; background-color: #dcd7cf; }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.faq-section__intro { text-align: left; margin: 0; max-width: none; position: sticky; top: 6rem; height: fit-content; }
.faq-section__title { font-size: 2.25rem; margin: 0.75rem 0 1.5rem; }
@media (min-width: 768px) { .faq-section__title { font-size: 3rem; } }
.faq-section__intro p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; max-width: 28rem; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-left: 2px solid transparent; padding-left: 1rem; transition: border-color 0.3s ease; }
.faq-item.is-open { border-left-color: var(--color-primary); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.25rem 0.5rem 1.25rem 0; }
.faq-item__question span:first-child { font-size: 14px; color: var(--color-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 16px; } }
.faq-item:hover .faq-item__question span:first-child { color: var(--color-primary); }
.faq-item.is-open .faq-item__question span:first-child { color: var(--color-primary); }
.faq-item__icon { position: relative; flex-shrink: 0; width: 16px; height: 16px; color: var(--color-primary); }
.faq-item__icon svg { position: absolute; inset: 0; width: 16px; height: 16px; transition: all 0.3s ease; }
.faq-item__icon-plus { opacity: 1; transform: rotate(0) scale(1); color: var(--color-foreground); }
.faq-item__icon-minus { opacity: 0; transform: rotate(-90deg) scale(0.75); }
.faq-item.is-open .faq-item__icon-plus { opacity: 0; transform: rotate(90deg) scale(0.75); }
.faq-item.is-open .faq-item__icon-minus { opacity: 1; transform: rotate(0) scale(1); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.is-open .faq-item__answer { max-height: 400px; }
.faq-item__answer p { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; padding: 0 2.5rem 1.5rem 0; }

/* ---------- Newsletter ---------- */
.newsletter-section { position: relative; overflow: hidden; background-color: var(--color-plum); }
.newsletter-section__bg { position: absolute; inset: 0; background: linear-gradient(120deg, var(--color-plum-deep), color-mix(in srgb, var(--color-accent) 50%, transparent), color-mix(in srgb, var(--color-primary) 40%, transparent), var(--color-plum-deep)); background-size: 200% 200%; animation: gradient-drift 12s ease-in-out infinite; }
@keyframes gradient-drift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.newsletter-section__inner { position: relative; padding-top: 4rem; padding-bottom: 5rem; text-align: center; }
@media (min-width: 1024px) { .newsletter-section__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.newsletter-section__content { max-width: 32rem; margin: 0 auto; }
.newsletter-section__eyebrow { color: var(--color-primary); }
.newsletter-section__title { font-size: 1.875rem; margin: 0.75rem 0 1rem; color: var(--color-background); text-shadow: 0 0 28px color-mix(in srgb, var(--color-primary) 45%, transparent); }
@media (min-width: 768px) { .newsletter-section__title { font-size: 2.25rem; } }
.newsletter-section__content p { color: color-mix(in srgb, var(--color-background) 75%, transparent); line-height: 1.7; margin-bottom: 2rem; }
.newsletter-section__form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 640px) { .newsletter-section__form { flex-direction: row; } }
.newsletter-section__form input {
	flex: 1 1 auto;
	width: 100%;
	min-height: 3rem;
	height: 3rem;
	padding: 0 1rem;
	background: color-mix(in srgb, var(--color-background) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-background) 25%, transparent);
	color: var(--color-background);
	font-size: 14px;
	line-height: normal;
	-webkit-appearance: none;
	appearance: none;
}
@media (max-width: 639px) {
	.newsletter-section__form input { flex: none; }
	.newsletter-section__form .theme-btn-primary { width: 100%; }
}
.newsletter-section__form input::placeholder { color: color-mix(in srgb, var(--color-background) 50%, transparent); }
.newsletter-section__form input:focus { outline: none; border-color: var(--color-primary); }

/* ---------- Contact section ---------- */
.contact-section { position: relative; overflow: hidden; }
.contact-section__bg { position: absolute; inset: 0; }
.contact-section__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.contact-section__overlay::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--color-plum) 45%, transparent); mix-blend-mode: multiply; }
.contact-section__inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; min-height: 640px; display: flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .contact-section__inner { padding-top: 7rem; padding-bottom: 7rem; min-height: 720px; } }
.contact-section__panel { width: 100%; max-width: 32rem; background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--color-border); padding: 2rem; box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 25%, transparent), 0 12px 50px -8px color-mix(in srgb, var(--color-primary) 50%, transparent); }
@media (min-width: 1024px) { .contact-section__panel { padding: 3rem; } }
.contact-section__title { font-size: 2.25rem; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .contact-section__title { font-size: 3rem; } }
.contact-section__panel > p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2rem; }
.contact-section__email { display: flex; align-items: center; gap: 0.75rem; font-size: 14px; margin-bottom: 2rem; word-break: break-all; }
.contact-section__email:hover { color: var(--color-primary); }
.contact-section__email svg { width: 16px; height: 16px; flex-shrink: 0; }
.contact-section__cta { width: 100%; }
@media (min-width: 640px) { .contact-section__cta { width: auto; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background-color: var(--color-plum); color: #fff; }
.site-footer__top-rule { display: block; height: 1px; width: 100%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-primary) 70%, transparent), transparent); }
.site-footer__inner { position: relative; padding-top: 4rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 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 { filter: none; height: 6rem !important; }
.site-footer__brand-link {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
}
.site-footer__logo-tagline {
	display: block;
	margin-top: 0.375rem;
	font-family: var(--font-body);
	font-size: 0.7rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.7);
}
.site-footer__tagline { margin-top: 1.5rem; font-size: 14px; color: rgba(255,255,255,0.7); max-width: 20rem; line-height: 1.7; }
.site-footer__col h4 { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); margin-bottom: 1.25rem; font-family: var(--font-body); font-style: normal; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-link { font-size: 14px; color: rgba(255,255,255,0.7); text-align: left; transition: color 0.3s ease; background: none; border: none; padding: 0; font-family: var(--font-body); text-transform: none; letter-spacing: normal; }
.theme-footer-link:hover { color: var(--color-primary); }
.site-footer__connect li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 14px; color: rgba(255,255,255,0.7); }
.site-footer__connect li a { word-break: break-all; }
.site-footer__connect li a:hover { color: var(--color-primary); }
.site-footer__connect svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom p { display: flex; align-items: center; gap: 0.5rem; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.site-footer__bottom svg { width: 14px; height: 14px; color: var(--color-primary); }

/* ---------- Back to top ---------- */
.theme-back-to-top {
	position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40;
	width: 3rem; height: 3rem; border-radius: 999px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-primary); color: var(--color-button-text);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 25%, transparent), 0 12px 50px -8px color-mix(in srgb, var(--color-primary) 50%, transparent);
	opacity: 0; transform: translateY(1rem); pointer-events: none;
	transition: all 0.5s ease;
}
.theme-back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1); }
.theme-back-to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal-item, .reveal-fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth); }
.reveal-item.is-visible, .reveal-fade-up.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item, body.is-customizer .reveal-fade-up { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-fade-up { transition: none; opacity: 1; transform: none; }
}

/* ---------- Single product page ---------- */
.single-product-main {
	padding-top: 7rem;
	background: var(--color-background);
}
@media (min-width: 1024px) { .single-product-main { padding-top: 8rem; } }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: start;
	min-width: 0;
	padding: 0 1rem 4rem;
}
@media (min-width: 768px) { .theme-product-layout { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
		padding-left: 3rem;
		padding-right: 3rem;
	}
}

.theme-product-gallery {
	position: relative;
	background: var(--color-background);
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-gallery {
		position: sticky;
		top: 8rem;
		align-self: start;
	}
}

.theme-product-gallery__stage { display: flex; }
.theme-product-gallery__main {
	flex: 1;
	min-width: 0;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (min-width: 768px) { .theme-product-gallery__main { min-height: 78vh; } }
@media (min-width: 1024px) { .theme-product-gallery__main { min-height: 88vh; } }

.theme-product-gallery__image {
	width: 100%;
	height: 100%;
	max-height: 88vh;
	object-fit: contain;
	display: block;
}

.theme-product-thumbnails { display: flex; gap: 0.75rem; }
.theme-product-thumbnails--rail {
	display: none;
	flex-direction: column;
	flex-shrink: 0;
	padding: 1rem;
	background: color-mix(in srgb, var(--color-background) 40%, transparent);
}
@media (min-width: 768px) { .theme-product-thumbnails--rail { display: flex; } }
@media (min-width: 1024px) { .theme-product-thumbnails--rail { padding: 1.5rem; } }

.theme-product-thumbnails--mobile {
	padding: 1rem;
	overflow-x: auto;
}
@media (min-width: 768px) { .theme-product-thumbnails--mobile { display: none; } }

.theme-product-thumb {
	position: relative;
	width: 3.5rem;
	height: 3.5rem;
	flex-shrink: 0;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: var(--card-radius);
	opacity: 0.6;
	transition: opacity 0.3s ease, border-color 0.3s ease;
}
@media (min-width: 1024px) { .theme-product-thumb { width: 4rem; height: 4rem; } }
.theme-product-thumb.is-active,
.theme-product-thumb:hover { opacity: 1; border-color: var(--color-foreground); }

.theme-product-info {
	min-width: 0;
	padding: 2.5rem 0;
}
@media (min-width: 1024px) { .theme-product-info { padding: 4rem 0; } }

.theme-product-info__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-product-info__breadcrumb a { transition: color 0.2s ease; }
.theme-product-info__breadcrumb a:hover { color: var(--color-foreground); }

.theme-product-info__title {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 15px;
	letter-spacing: 0.22em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .theme-product-info__title { font-size: 1rem; } }

.theme-product-info__sku {
	margin-top: 0.75rem;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}

.theme-product-info__divider {
	height: 1px;
	background: var(--color-border);
	margin: 1.75rem 0;
}

.theme-product-info__price {
	font-family: var(--font-body);
	font-size: 1.125rem;
	color: var(--color-foreground);
}

.theme-product-info__note {
	margin-top: 1.75rem;
	background: color-mix(in srgb, var(--color-secondary) 70%, transparent);
	padding: 1rem 1.25rem;
	font-size: 13px;
	line-height: 1.65;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	border-radius: var(--card-radius);
}

.theme-product-info__details {
	margin-top: 3rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-info__details h2 {
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
	font-family: var(--font-body);
	font-weight: 600;
	color: var(--color-foreground);
}
.theme-product-info__description p {
	font-family: var(--font-display);
	font-size: 19px;
	line-height: 1.55;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	white-space: pre-line;
}
.theme-product-info__details-list {
	margin-top: 1.5rem;
	padding-left: 1.25rem;
	list-style: disc;
}
.theme-product-info__details-list li {
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.65;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	margin-bottom: 0.625rem;
}
.theme-product-info__details-list li::marker { color: var(--color-primary); }

.theme-add-to-cart-area { display: block; margin-top: 2rem; }
.theme-add-to-cart-area .single_add_to_cart_button {
	width: 100%;
	min-height: 3.5rem !important;
	height: 3.5rem !important;
	text-transform: uppercase !important;
	letter-spacing: 0.28em !important;
	font-size: 12px !important;
	border: 1px solid var(--color-primary) !important;
}
.theme-add-to-cart-area .single_add_to_cart_button:hover:not(:disabled):not(.disabled) {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	opacity: 1 !important;
}

.stock, .theme-stock-badge--out {
	display: inline-block;
	margin-top: 1rem;
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #a63030;
}

.variations_form { margin-top: 1.75rem; }
.variations.shop_attributes tbody, .variations tbody tr, .variations tbody td { display: block; width: 100%; }
.variations tbody td.label {
	padding-bottom: 0.75rem;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.variations tbody td.label label { font-weight: 400; }
.variations tbody td.value { padding-top: 0; padding-bottom: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	min-width: 3.5rem;
	padding: 0.625rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--card-radius);
	font-size: 12px;
	letter-spacing: 0.05em;
	transition: all 0.2s ease;
}
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-active {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.single_variation_wrap { margin-top: 0; }
.single_variation_wrap .woocommerce-variation-price,
.single_variation_wrap .woocommerce-variation-description { display: none; }

.related-products-section {
	padding: 6rem 1rem;
	border-top: 1px solid var(--color-border);
	margin-top: 3rem;
}
@media (min-width: 768px) { .related-products-section { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .related-products-section { padding-left: 3rem; padding-right: 3rem; } }
.related-products-section__heading {
	font-size: 1.875rem;
	margin-bottom: 3rem;
	line-height: 1.15;
}
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-section__heading-accent {
	font-style: italic;
	color: var(--color-primary);
}

.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 55; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
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: 30rem;
	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), opacity 0.2s ease;
}
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: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); flex-shrink: 0; }
.theme-cart-drawer__header h2 { font-size: 1.5rem; font-style: italic; }
.theme-cart-drawer__close svg { width: 20px; height: 20px; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.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 svg { width: 48px; height: 48px; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image {
	position: relative;
	width: 6rem;
	height: 8rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
}
.theme-cart-item__image a {
	position: absolute;
	inset: 0;
	display: block;
}
#theme-cart-drawer .theme-cart-item__image img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
	display: block;
}
.theme-cart-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; display: block; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__variation { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.375rem; font-style: italic; }
.theme-cart-item__price { font-size: 14px; 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 { padding: 0.375rem 0.625rem; }
.theme-cart-item__qty button:hover { background: var(--color-secondary); }
.theme-cart-item__qty button svg { width: 12px; height: 12px; }
.theme-cart-item__qty span { padding: 0 0.75rem; font-size: 14px; min-width: 28px; text-align: center; display: inline-block; }
.theme-cart-item__remove { font-size: 12px; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); flex-shrink: 0; }
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-cart-drawer__note { font-size: 12px; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__checkout { display: flex; width: 100%; }

/* ---------- WooCommerce Checkout Block override (Section 13) ---------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--page-top-offset);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title { max-width: 1400px; margin: 0 auto 2rem; padding: 0 1.5rem; font-size: 2rem; }
@media (min-width: 1024px) { body.woocommerce-checkout .page-title { padding: 0 2.5rem; } }
body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
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,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 13px;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: var(--radius); }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

/* ---------- Thank you page ---------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	padding: 1.5rem;
	background: var(--color-secondary);
	border-radius: var(--card-radius);
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th, body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
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; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.25rem; border-radius: var(--card-radius); }

/* ---------- 404 ---------- */
.theme-404 { padding: 10rem 0; text-align: center; }
.theme-404 h1 { font-size: 4rem; margin-bottom: 1rem; }
.theme-404 p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

/* ---------- Page title (generic pages) ---------- */
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
.entry-content { padding-bottom: 3rem; }

/* Home hero fills the viewport under the fixed transparent header;
   inner pages keep top padding so content clears the solid header. */
.site-main { padding-top: var(--page-top-offset); padding-bottom: 3rem; }
.home-main { padding-top: 0; }
