/* ==========================================================================
   Wilton's Goods — theme stylesheet
   ========================================================================== */

:root {
	--color-background: #f5f3f0;
	--color-foreground: #1f2229;
	--color-primary: #40a2e7;
	--color-primary-foreground: #14181f;
	--color-rose: #f55f14;
	--color-rose-foreground: #f9f8f5;
	--color-navy: #3d432d;
	--color-navy-foreground: #f7f6f2;
	--color-ivory: #f9f8f5;
	--color-linen: #f0eeea;
	--color-bone: #e9e7e2;
	--color-border: #cdd0d5;
	--color-destructive: #d32222;
	--logo-height: 44px;

	--font-body: 'Switzer', system-ui, -apple-system, sans-serif;
	--font-display: 'Bricolage Grotesque', 'Switzer', system-ui, sans-serif;

	--radius: 0.5rem;
	--shadow-soft: 0 4px 20px -8px rgba(31, 34, 41, 0.16);
	--shadow-elevated: 0 20px 50px -18px rgba(31, 34, 41, 0.32);

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--color-button-text: var(--color-primary-foreground);

	--header-height: 116px;
}

/* -------------------------------------------------------------------------
 * Reset / base
 * ---------------------------------------------------------------------- */
* { box-sizing: border-box; }
/* Author display rules (e.g. flex cards) must not override HTML hidden. */
[hidden],
.is-shop-hidden {
	display: none !important;
}
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
}

.font-display,
h1, h2, h3, h4, h5, h6,
.section-heading {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.02em;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-slide-bg):not(.theme-product-card__image):not(.category-card-image):not(.service-card-image):not(.about-image):not(.product-main-image):not(.precta-bg):not(.cart-item-thumb-img) {
	height: auto;
}
.cover-img, .hero-slide-bg, .theme-product-card__image, .category-card-image, .service-card-image, .about-image, .product-main-image, .precta-bg, .cart-item-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a, button, [role="button"], .btn, .icon-btn, .filter-pill, .nav-link, .nav-dropdown-link, .mobile-nav-link, .footer-link, .footer-contact-link, .social-btn, .about-social-link, .hero-slide-cta, .hero-nav-btn, .hero-dot, .category-card, .js-faq-toggle, .theme-product-card__wishlist, .theme-product-card__add-btn, .theme-product-card__view-btn, .theme-card-link, label[for], select, .promo-dismiss {
	cursor: pointer;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
button:disabled, .btn:disabled, .btn.disabled {
	cursor: not-allowed;
}
input, textarea, select { font-family: inherit; font-size: inherit; }

section[id] { scroll-margin-top: 80px; }

/* Admin bar offset */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
body.admin-bar { padding-top: 0; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.text-primary { color: var(--color-primary); }
.text-rose { color: var(--color-rose); }
.font-semibold { font-weight: 600; }

/* -------------------------------------------------------------------------
 * Reveal animations (Section 2.1)
 * ---------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
body.is-customizer [data-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
}

@keyframes wg-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wg-slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wg-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }
.animate-fade-in { animation: wg-fade-in 0.7s ease-out both; }
.animate-slide-in-bottom { animation: wg-slide-in-bottom 0.7s ease-out both; }

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	height: 3rem;
	padding: 0 1.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	font-family: var(--font-body);
	border: 1px solid transparent;
	transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	text-transform: none;
}
.btn svg { flex-shrink: 0; width: 1rem; height: 1rem; }
.btn-rose { background: var(--color-rose); color: var(--color-rose-foreground); border-color: var(--color-rose); }
.btn-rose:hover { background: color-mix(in srgb, var(--color-rose) 90%, black); }
.btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.btn-outline { background: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.btn-outline:hover { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 4%, transparent); }
.btn-glass { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,0.2); }
.btn-ghost { background: transparent; border-color: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: 0.6; pointer-events: none; }

.eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 600;
	margin: 0 0 1rem;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
}

.announcement-bar {
	background: var(--color-navy);
	color: var(--color-navy-foreground);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 0.5rem 1rem;
	text-align: center;
}
.announcement-highlight { color: var(--color-primary); margin-left: 0.35em; }

.header-bar {
	transition: background-color 0.5s ease, border-color 0.5s ease;
	background: transparent;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid .header-bar {
	background: color-mix(in srgb, var(--color-ivory) 90%, transparent);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}

.header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
	gap: 1rem;
}
@media (min-width: 1024px) {
	.header-row { height: 5rem; display: grid; grid-template-columns: 1fr auto 1fr; }
}

.mobile-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	border: none;
	background: transparent;
	color: #fff;
	order: 1;
}
.site-header.is-solid .mobile-toggle { color: var(--color-foreground); }
.mobile-toggle:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.mobile-toggle svg { display: block; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

.site-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	order: 2;
	flex-shrink: 0;
}
@media (min-width: 1024px) { .site-brand { order: 1; justify-self: start; } }

.site-logo-frame {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255,255,255,0.1);
	box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
	flex-shrink: 0;
}
@media (min-width: 640px) {
	.site-logo-frame { width: 2.5rem; height: 2.5rem; }
}
@media (min-width: 1024px) {
	.site-logo-frame { width: 2.75rem; height: 2.75rem; }
}
.site-header.is-solid .site-logo-frame {
	background: var(--color-navy);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 60%, transparent);
}
.site-logo-frame .site-logo-img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	padding: 0.35rem;
	display: block;
}
.site-brand-name {
	display: none;
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1;
}
.site-header.is-solid .site-brand-name { color: var(--color-foreground); }
@media (min-width: 640px) { .site-brand-name { display: inline; font-size: 18px; } }

.primary-nav {
	display: none;
	align-items: center;
	gap: 1.75rem;
	order: 3;
}
@media (min-width: 1024px) { .primary-nav { display: flex; justify-self: center; order: 2; } }

.nav-item { position: relative; }
.nav-link {
	position: relative;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.85);
	transition: color 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding-bottom: 0.4rem;
}
.site-header.is-solid .nav-link { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.nav-link:hover { color: #fff; }
.site-header.is-solid .nav-link:hover { color: var(--color-primary); }
.nav-link.is-active { color: #fff; }
.site-header.is-solid .nav-link.is-active { color: var(--color-primary); }
.nav-link.is-active::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 2px;
	border-radius: 999px;
	background: var(--color-primary);
}

.nav-dropdown {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 100%;
	padding-top: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
	min-width: 190px;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; }
.nav-dropdown-link {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 0.65rem 0.75rem;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	border-radius: 0.5rem;
}
.nav-dropdown { border-radius: 0.75rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: var(--color-ivory); box-shadow: var(--shadow-elevated); padding: 0.35rem; }
.nav-dropdown-link:hover { color: var(--color-primary); background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }

.header-actions { display: flex; align-items: center; gap: 0.25rem; order: 3; justify-self: end; }
@media (min-width: 640px) { .header-actions { gap: 0.5rem; } }

.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	border: none;
	background: transparent;
	color: #fff;
}
.site-header.is-solid .icon-btn { color: var(--color-foreground); }
.icon-btn:hover { background: color-mix(in srgb, currentColor 8%, transparent); }

.badge {
	position: absolute;
	top: -2px; right: -2px;
	font-size: 12px;
	font-weight: 600;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.badge:empty { display: none; }
.badge-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.badge-rose { background: var(--color-rose); color: var(--color-rose-foreground); }

.mobile-panel {
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	background: color-mix(in srgb, var(--color-ivory) 95%, transparent);
	backdrop-filter: blur(20px);
	animation: wg-fade-in 0.3s ease-out both;
}
.mobile-panel-inner { padding: 1rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
.mobile-nav-link {
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.mobile-nav-link:hover { color: var(--color-primary); }
.mobile-nav-sub { padding-left: 1rem; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 1024px) { .mobile-panel { display: none !important; } }

.promo-banner {
	position: fixed;
	bottom: 1.5rem;
	left: 1rem;
	right: 1rem;
	z-index: 50;
	background: var(--color-navy);
	color: var(--color-navy-foreground);
	border-radius: 1rem;
	box-shadow: var(--shadow-elevated);
	padding: 1rem 1.25rem;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	animation: wg-fade-in 0.4s ease-out both;
}
@media (min-width: 640px) { .promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
@media (min-width: 640px) {
	.promo-banner-text { font-size: 15px; }
}
.promo-banner[hidden] { display: none !important; }
.promo-dismiss { background: none; border: none; color: inherit; font-size: 1.25rem; line-height: 1; padding: 0.25rem; border-radius: 999px; }
.promo-dismiss:hover { background: rgba(255,255,255,0.1); }

/* -------------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------------- */
body.theme-is-home .site-main,
body.theme-is-home main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }

.hero-section { position: relative; display: flex; flex-direction: column; min-height: 100vh; width: 100%; overflow: hidden; }
.hero-slideshow { position: relative; flex: 1; display: flex; flex-direction: column; }
.hero-slideshow-images { position: absolute; inset: 0; }
.hero-slide-bg { position: absolute; inset: 0; transition: opacity 1s ease; }
.hero-scrim-1 { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.55), rgba(0,0,0,0.25)); pointer-events: none; }
.hero-scrim-2 { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, rgba(0,0,0,0.3)); pointer-events: none; }

.hero-content-wrap { position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 8rem; padding-bottom: 3rem; color: #fff; }
@media (min-width: 1024px) {
	.hero-content-wrap {
		justify-content: flex-start;
		padding-top: 9rem;
		padding-bottom: 18rem;
	}
}
.hero-content { max-width: 56rem; }

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-primary) 20%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 60%, transparent);
	backdrop-filter: blur(8px);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
}
.hero-badge svg { color: var(--color-primary); }

.hero-title { margin-top: 1.5rem; line-height: 0.98; letter-spacing: -0.02em; font-size: clamp(2.4rem, 6.2vw, 4.8rem); text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
.hero-title-highlight { color: var(--color-primary); }
.hero-subtitle { margin-top: 1.5rem; max-width: 36rem; font-size: 15px; color: rgba(255,255,255,0.9); line-height: 1.6; }
@media (min-width: 640px) { .hero-subtitle { font-size: 16px; } }

.hero-features { margin: 1.5rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 13px; color: rgba(255,255,255,0.85); }
.hero-features li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-features svg { color: var(--color-primary); }

.hero-ctas { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; position: relative; z-index: 30; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; gap: 1rem; } }

.hero-slide-panel-wrap {
	position: relative;
	z-index: 20;
	width: 100%;
	padding-bottom: 2.5rem;
	pointer-events: none;
}
@media (min-width: 1024px) {
	.hero-slide-panel-wrap {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 2.5rem;
		padding-bottom: 0;
	}
}
.hero-slide-panel-row { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 1024px) { .hero-slide-panel-row { align-items: flex-end; } }

.hero-slide-card {
	width: 100%;
	max-width: 28rem;
	border-radius: 1rem;
	background: rgba(0,0,0,0.45);
	border: 1px solid rgba(255,255,255,0.2);
	backdrop-filter: blur(20px);
	padding: 1rem 1.25rem 1.25rem;
	color: #fff;
	pointer-events: auto;
}
@media (min-width: 640px) {
	.hero-slide-card { padding: 1.25rem; }
}

.hero-slide-panel { width: 100%; }
.hero-slide-eyebrow { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin: 0; }
.hero-slide-title { margin-top: 0.4rem; font-size: 19px; line-height: 1.3; }
@media (min-width: 640px) { .hero-slide-title { font-size: 22px; } }
.hero-slide-text { margin-top: 0.4rem; font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.4; }
@media (min-width: 640px) { .hero-slide-text { font-size: 14px; } }
.hero-slide-cta { margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.hero-slide-cta:hover { color: var(--color-primary); }

.hero-slide-controls { margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem; }

.hero-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.3);
	background: transparent;
	color: #fff;
}
.hero-nav-btn:hover { background: rgba(255,255,255,0.15); }
.hero-dots { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.25rem; }
.hero-dot { height: 6px; width: 6px; border-radius: 999px; background: rgba(255,255,255,0.5); border: none; transition: all 0.3s ease; padding: 0; }
.hero-dot:hover { background: rgba(255,255,255,0.8); }
.hero-dot.is-active { width: 24px; background: var(--color-primary); }

/* -------------------------------------------------------------------------
 * Category showcase
 * ---------------------------------------------------------------------- */
.category-section { background: var(--color-ivory); padding: 5rem 0; }
@media (min-width: 768px) { .category-section { padding: 7rem 0; } }
.category-heading { max-width: 42rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .category-heading { margin-bottom: 3.5rem; } }
.category-heading-title { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .category-heading-title { font-size: 3rem; } }

.category-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
.category-card {
	display: block;
	overflow: hidden;
	border-radius: 1rem;
	background: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.5s ease;
}
.category-card:hover { box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .category-card--wide { grid-column: span 2; } }
@media (min-width: 1024px) { .category-card--wide { grid-column: span 1; } }
.category-card-image-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.category-card-image { transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
.category-card:hover .category-card-image { transform: scale(1.04); }
.category-card-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.25), transparent); pointer-events: none; }
.category-card-content { position: absolute; inset: auto 0 0 0; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
@media (min-width: 768px) { .category-card-content { padding: 1.75rem; } }
.category-card-title { color: #fff; font-size: 1.875rem; line-height: 1.05; margin-bottom: 1.5rem; text-transform: uppercase; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .category-card-title { font-size: 2.25rem; } }
.category-card-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.25rem; border-radius: 999px; background: var(--color-rose); color: var(--color-rose-foreground); font-size: 13px; font-weight: 600; }

/* -------------------------------------------------------------------------
 * About
 * ---------------------------------------------------------------------- */
.about-section { background: var(--color-linen); padding: 6rem 0; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.about-image-col { display: flex; }
.about-image-wrap { position: relative; width: 100%; min-height: 520px; overflow: hidden; border-radius: 1rem; background: var(--color-bone); box-shadow: var(--shadow-elevated); }
@media (min-width: 1024px) { .about-image-wrap { min-height: 0; height: 100%; } }
.about-image { position: absolute; inset: 0; }
.about-image-badge { position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 1024px) { .about-content-col { padding-left: 1.5rem; } }
.about-heading { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.4rem; } }
.about-quote { margin-top: 2rem; font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 1.25rem; line-height: 1.4; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); border-left: 4px solid var(--color-rose); padding-left: 1.25rem; }
@media (min-width: 768px) { .about-quote { font-size: 1.5rem; } }
.about-body { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 65ch; }
@media (min-width: 768px) { .about-body { font-size: 16px; } }
.about-social { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.about-social-link { display: inline-flex; align-items: center; gap: 0.5rem; height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); background: var(--color-ivory); font-size: 14px; font-weight: 600; transition: all 0.2s ease; }
.about-social-link:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.about-stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); padding-top: 2rem; }
.about-stat-value { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--color-primary); }
@media (min-width: 768px) { .about-stat-value { font-size: 1.875rem; } }
.about-stat-label { margin-top: 0.25rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* -------------------------------------------------------------------------
 * Shop section
 * ---------------------------------------------------------------------- */
.shop-section { background: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-heading-row { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 1024px) { .shop-heading-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-heading-text { max-width: 42rem; }
.shop-heading { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.2rem; } }
.shop-subtitle { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 36rem; }
@media (min-width: 768px) { .shop-subtitle { font-size: 15px; } }

.shop-search-wrap { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-search-wrap { width: 20rem; } }
.shop-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.shop-search-input { width: 100%; height: 2.75rem; padding-left: 2.75rem; padding-right: 1rem; border-radius: 999px; background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); font-size: 14px; }
.shop-search-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-search-input:focus { outline: none; border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }

.shop-shipping-note { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 999px; background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2rem; }
.shop-shipping-note svg { color: var(--color-rose); flex-shrink: 0; }
.shop-shipping-highlight { color: var(--color-rose); font-weight: 600; margin-left: 0.3em; }

.shop-filter-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 2.5rem; }
.shop-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem; margin-bottom: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.shop-status-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); margin-right: 0.25rem; }

.filter-pill {
	padding: 0 1.25rem;
	height: 2.5rem;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background: transparent;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	transition: all 0.2s ease;
}
.filter-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.filter-pill--dark:hover { border-color: var(--color-navy); color: var(--color-navy); }
.filter-pill--dark.is-active { background: var(--color-navy); color: var(--color-navy-foreground); border-color: var(--color-navy); }

.shop-status-note, .shop-empty-message { margin-bottom: 2rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.shop-empty-message { text-align: center; padding: 5rem 0; }

.theme-product-grid.shop-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 1.5rem;
}
.shop-grid .theme-product-card-wrap { width: 100%; }
@media (min-width: 640px) { .shop-grid .theme-product-card-wrap { width: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1024px) { .shop-grid .theme-product-card-wrap { width: calc((100% - 3rem) / 3); } }

.shop-view-more-row { margin-top: 3rem; display: flex; justify-content: center; }

/* -------------------------------------------------------------------------
 * Product cards (shared across shop, homepage, related, wishlist)
 * ---------------------------------------------------------------------- */
.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; overflow: hidden; border-radius: 0.75rem; background: var(--color-linen); margin-bottom: 1rem; }
.theme-product-card__image-wrapper > .theme-card-link { position: absolute; inset: 0; z-index: 1; }
.theme-product-card__image { position: absolute; inset: 0; transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); pointer-events: none; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-product-card__badges { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.badge-pill { font-size: 12px; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 999px; }
.badge-dark { background: var(--color-foreground); color: var(--color-background); }
.badge-rose { background: var(--color-rose); color: var(--color-rose-foreground); }
.badge-primary { background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__wishlist {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 4;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(6px);
	color: var(--color-foreground);
	border: none;
	box-shadow: var(--shadow-soft);
	transition: background-color 0.3s ease, color 0.3s ease;
	pointer-events: auto;
}
.theme-product-card__wishlist:hover,
.theme-product-card__wishlist.is-saved { background: var(--color-rose); color: var(--color-rose-foreground); }

.theme-product-card__quick-actions {
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart {
	flex: 1;
	min-height: 2.5rem !important;
	padding: 0 1rem !important;
	border-radius: 999px !important;
	background: var(--color-rose) !important;
	color: var(--color-rose-foreground) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem;
	border: none !important;
}
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart:hover { background: color-mix(in srgb, var(--color-rose) 90%, black) !important; }
.theme-product-card__view-btn {
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	border-radius: 999px;
	background: var(--color-rose);
	color: var(--color-rose-foreground);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.theme-product-card__view-btn:hover { background: color-mix(in srgb, var(--color-rose) 90%, black); }

.theme-product-card__body { display: block; padding: 0 0.125rem; flex: 1; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: 0.35rem; font-weight: 500; }
.theme-product-card__title { font-size: 1.15rem; line-height: 1.3; color: var(--color-foreground); transition: color 0.3s ease; min-width: 0; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.4rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.35rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-size: inherit; }

/* -------------------------------------------------------------------------
 * Marquee
 * ---------------------------------------------------------------------- */
.marquee-section { background: var(--color-navy); padding: 1.25rem 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: wg-marquee 22s linear infinite; }
.marquee-item { display: flex; align-items: center; flex-shrink: 0; color: var(--color-navy-foreground); font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.02em; }
@media (min-width: 768px) { .marquee-item { font-size: 1.25rem; } }
.marquee-item-text { margin: 0 1.5rem; }
@media (min-width: 768px) { .marquee-item-text { margin: 0 2rem; } }
.marquee-dot { color: var(--color-rose); font-size: 0.875rem; }

/* -------------------------------------------------------------------------
 * Services
 * ---------------------------------------------------------------------- */
.services-section { background: var(--color-ivory); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-heading { max-width: 48rem; margin-bottom: 3.5rem; }
.services-heading-title { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .services-heading-title { font-size: 3rem; } }
@media (min-width: 1024px) { .services-heading-title { font-size: 3.2rem; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1280px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { display: flex; flex-direction: column; background: var(--color-linen); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; overflow: hidden; transition: border-color 0.3s ease; }
.service-card:hover { border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.service-card-image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card-icon { position: absolute; top: 1rem; left: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--color-rose); color: var(--color-rose-foreground); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-elevated); }
.service-card-body { padding: 1.75rem; }
@media (min-width: 768px) { .service-card-body { padding: 2rem; } }
.service-card-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-card-title { font-size: 1.5rem; } }
.service-card-text { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* -------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------- */
.faq-section { background: var(--color-linen); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 4fr 8fr; } }
.faq-heading { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
.faq-subtitle { margin-top: 1.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.6; max-width: 24rem; }
@media (min-width: 768px) { .faq-subtitle { font-size: 15px; } }
.faq-cta-card { display: none; margin-top: 2.5rem; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: var(--color-ivory); padding: 1.75rem; }
@media (min-width: 1024px) { .faq-cta-card { display: block; } }
.faq-cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--color-rose); color: var(--color-rose-foreground); margin-bottom: 1.25rem; }
.faq-cta-title { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.5rem; }
.faq-cta-body { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; }

.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; background: none; border: none; }
.faq-question span:first-child { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: 1.125rem; line-height: 1.4; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-question span:first-child { font-size: 1.25rem; } }
.faq-icon { flex-shrink: 0; color: var(--color-primary); display: inline-flex; }
.faq-icon-minus { display: none; }
.faq-item.is-open .faq-icon-plus { display: none; }
.faq-item.is-open .faq-icon-minus { display: inline-flex; }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-panel-inner { overflow: hidden; }
.faq-panel-inner p { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 42rem; }
@media (min-width: 768px) { .faq-panel-inner p { font-size: 15px; } }

/* -------------------------------------------------------------------------
 * Pre-contact CTA
 * ---------------------------------------------------------------------- */
.precta-section { position: relative; overflow: hidden; }
.precta-bg { position: absolute; inset: 0; }
.precta-scrim-1 { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(20,24,15,0.35) 0%, rgba(20,24,15,0.6) 70%, rgba(20,24,15,0.82) 100%); pointer-events: none; }
.precta-scrim-2 { position: absolute; inset: 0; background: rgba(0,0,0,0.6); pointer-events: none; }
.precta-content {
	position: relative;
	z-index: 10;
	padding-top: 7rem;
	padding-bottom: 7rem;
	/* Keep .container-wide horizontal padding — do not use padding shorthand */
	text-align: center;
	color: #fff;
}
@media (min-width: 768px) {
	.precta-content { padding-top: 10rem; padding-bottom: 10rem; }
}
.precta-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-weight: 600; }
.precta-rule { height: 1px; width: 2rem; background: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.precta-title { line-height: 1.02; letter-spacing: -0.02em; margin: 0 auto; max-width: 56rem; font-size: clamp(2rem, 5.4vw, 4rem); text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
.precta-body { margin-top: 1.75rem; max-width: 36rem; margin-left: auto; margin-right: auto; font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.precta-content > div:last-child { margin-top: 2.5rem; }

/* -------------------------------------------------------------------------
 * Contact
 * ---------------------------------------------------------------------- */
.contact-section { background: var(--color-linen); padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .contact-section { padding-top: 8rem; padding-bottom: 4rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-info-col { display: flex; flex-direction: column; height: 100%; }
.contact-heading { font-size: 2.25rem; line-height: 1.02; }
@media (min-width: 768px) { .contact-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 3.4rem; } }
.contact-body { margin-top: 1.5rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 28rem; }
.contact-list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-list-link { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 0.2s ease; }
.contact-list-link:hover { color: var(--color-primary); }
.contact-list-icon { width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: 999px; background: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s ease; }
.contact-list-link:hover .contact-list-icon { border-color: var(--color-primary); }
.contact-list-text { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.contact-list-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-list-value { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

.contact-quote-card { position: relative; margin-top: auto; padding-top: 2.5rem; }
.contact-quote-card > * { position: relative; }
.contact-quote-card::before { content: ''; }
.contact-quote-card { border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-ivory) 70%, transparent); padding: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .contact-quote-card { padding: 1.75rem; } }
.contact-quote-badge { display: inline-flex; align-items: center; gap: 0.35rem; position: relative; top: -1.5rem; margin-bottom: -1rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.contact-quote { font-family: var(--font-display); font-weight: 400; font-style: italic; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1.125rem; line-height: 1.4; border-left: 4px solid var(--color-rose); padding-left: 1.25rem; }
@media (min-width: 768px) { .contact-quote { font-size: 1.25rem; } }
.contact-quote-footer { margin-top: 0.75rem; padding-left: 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.contact-form { background: var(--color-ivory); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-input {
	width: 100%;
	height: 3rem;
	padding: 0 1rem;
	background: var(--color-ivory);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: var(--radius);
	font-size: 14px;
	color: var(--color-foreground);
}
.form-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.form-input:focus { outline: none; border-color: var(--color-primary); }
.form-select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595e69' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; }
.form-textarea { height: auto; padding-top: 0.75rem; padding-bottom: 0.75rem; resize: none; }
.contact-form-submit { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-form-note { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); text-align: center; }

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */
.site-footer { background: var(--color-navy); color: var(--color-navy-foreground); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.footer-grid {
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	/* Keep .container-wide horizontal padding — do not use padding shorthand */
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 3rem;
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.footer-logo-img {
	height: 3rem !important;
	width: 3rem !important;
	border-radius: 999px;
	object-fit: contain;
	background: rgba(255,255,255,0.1);
	padding: 0.35rem;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 60%, transparent);
}
.footer-brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
.footer-tagline { margin-top: 1rem; font-size: 14px; color: rgba(247,246,242,0.75); line-height: 1.6; max-width: 20rem; }
.footer-social { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.social-btn { width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid rgba(247,246,242,0.25); color: rgba(247,246,242,0.8); display: inline-flex; align-items: center; justify-content: center; transition: color 0.2s ease, border-color 0.2s ease; }
.social-btn:hover { color: var(--color-rose); border-color: var(--color-rose); }
.footer-heading { font-family: var(--font-display); font-size: 1.125rem; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact-list { gap: 0.75rem; }
.footer-link, .footer-list-item a { font-size: 14px; color: rgba(247,246,242,0.75); transition: color 0.2s ease; }
.footer-link:hover, .footer-list-item a:hover { color: var(--color-primary); }
.footer-contact-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: rgba(247,246,242,0.85); }
.footer-contact-link svg { flex-shrink: 0; }
.footer-contact-link:hover { color: var(--color-primary); }
.footer-address { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: rgba(247,246,242,0.7); font-size: 14px; }
.footer-address svg { flex-shrink: 0; margin-top: 0.15rem; }
.footer-bottom {
	padding-top: 2rem;
	padding-bottom: 2rem;
	margin-top: 1rem;
	border-top: 1px solid rgba(247,246,242,0.15);
	text-align: center;
	font-size: 12px;
	color: rgba(247,246,242,0.6);
}

/* -------------------------------------------------------------------------
 * Generic page / 404 / archive shell
 * ---------------------------------------------------------------------- */
.site-main { padding-top: var(--header-height); }
.generic-page-main { padding-bottom: 5rem; background: var(--color-ivory); min-height: 60vh; }
.page-title { font-size: 2.5rem; padding: 2.5rem 0 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }

.not-found-main { background: var(--color-ivory); min-height: 70vh; display: flex; align-items: center; }
.not-found-inner { max-width: 32rem; margin: 0 auto; padding: 5rem 0; text-align: center; }
.not-found-title { font-size: 2.25rem; margin-bottom: 1rem; }
.not-found-body { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 2rem; }

.shop-archive-main { background: var(--color-ivory); padding-bottom: 5rem; }
.shop-archive-title { font-size: 2.5rem; padding: 2.5rem 0 2rem; }
.shop-archive-grid, .theme-product-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.shop-archive-grid .theme-product-card-wrap { width: 100%; }
@media (min-width: 640px) { .shop-archive-grid .theme-product-card-wrap { width: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1024px) { .shop-archive-grid .theme-product-card-wrap { width: calc((100% - 3rem) / 3); } }

/* -------------------------------------------------------------------------
 * Single product page (matches Lovable ProductDetail.tsx)
 * ---------------------------------------------------------------------- */
.single-product-main { background: var(--color-ivory); padding-bottom: 0; }
.product-breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.product-breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-current { color: var(--color-foreground); }

/* Kill Woo floats/clears that break the Lovable side-by-side layout */
.single-product-main div.product::before,
.single-product-main div.product::after,
.woocommerce .single-product-main div.product::before,
.woocommerce .single-product-main div.product::after {
	content: none !important;
	display: none !important;
}

.woocommerce .single-product-main div.product.theme-product-layout,
.single-product-main .theme-product-layout,
.theme-product-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 5rem;
	align-items: start;
	min-width: 0;
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	margin: 0 !important;
}
@media (min-width: 1024px) {
	.woocommerce .single-product-main div.product.theme-product-layout,
	.single-product-main .theme-product-layout,
	.theme-product-layout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr) !important;
		gap: 4rem;
	}
}

.theme-product-gallery,
.theme-product-info {
	min-width: 0;
	max-width: 100%;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
.theme-product-gallery { position: sticky; top: 7rem; align-self: start; }
@media (max-width: 1023px) { .theme-product-gallery { position: static; } }
.theme-product-main-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	background: var(--color-linen);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}
.product-main-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	border-radius: 0;
	background: transparent;
}
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.625rem; max-width: 100%; }
.theme-product-thumb { aspect-ratio: 1 / 1; background: var(--color-linen); border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:not(.is-active):hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }

.product-category { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.05;
	margin-bottom: 1rem;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.6rem; } }
.product-price { font-size: 1.25rem; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.product-description {
	font-size: 15px;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	margin-bottom: 2rem;
	white-space: pre-line;
	overflow-wrap: break-word;
}

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.625rem; }
.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	border-radius: 999px;
}
.theme-qty-minus, .theme-qty-plus {
	background: none;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-foreground);
	padding: 0.625rem 1rem;
	line-height: 1;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input {
	width: 2.75rem;
	min-width: 44px;
	border: none;
	background: none;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	padding: 0.625rem 0;
	-moz-appearance: textfield;
	pointer-events: none;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; min-height: 0; }
.product-badges:empty { display: none; }
.product-badges .badge-pill { font-size: 12px; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 999px; }

.single-product .theme-add-to-cart-area,
.single-product-main .theme-add-to-cart-area,
.theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0;
	width: 100%;
}
@media (min-width: 640px) {
	.single-product .theme-add-to-cart-area,
	.single-product-main .theme-add-to-cart-area,
	.theme-add-to-cart-area {
		flex-direction: row;
	}
}
.single-product-main .theme-add-to-cart-area > .single_add_to_cart_button,
.single-product-main .theme-add-to-cart-area > .theme-buy-now-button {
	flex: 1 1 0;
	min-width: 0;
	width: 100% !important;
	max-width: none;
	height: 3rem !important;
	min-height: 3rem !important;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}
.theme-wishlist-button {
	margin-top: 0.75rem;
	width: 100%;
	height: 3rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
.theme-wishlist-button.is-saved { border-color: var(--color-rose); color: var(--color-rose); }

.product-details-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.product-details-heading { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.product-details-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.product-details-list li {
	font-size: 14px;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	display: flex;
	align-items: flex-start;
	overflow-wrap: break-word;
}
.product-details-list li::before {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--color-primary);
	margin: 0.625rem 0.75rem 0 0;
	flex-shrink: 0;
}

.product-trust-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.trust-item { text-align: center; }
.trust-item svg { margin: 0 auto 0.5rem; color: var(--color-primary); display: block; }
.trust-item p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.related-products-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.related-products-heading-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; }
.related-products-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; color: var(--color-foreground); }
@media (min-width: 768px) { .related-products-title { font-size: 2.25rem; } }
.related-view-all { display: none; align-items: center; gap: 0.4rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 640px) { .related-view-all { display: inline-flex; } }
.related-view-all:hover { color: var(--color-primary); }
.related-products-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 1.5rem;
	width: 100%;
}
@media (min-width: 1024px) {
	.related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.related-products-grid .theme-product-card-wrap {
	width: auto !important;
	min-width: 0;
	margin: 0;
}

/* Hide Woo notices on the product detail surface */
.single-product-main .woocommerce-notices-wrapper,
.single-product-main .woocommerce-message,
.single-product-main .woocommerce-info,
.single-product-main .woocommerce-error { display: none !important; }

.woocommerce-variation-description, .posted_in { overflow-wrap: break-word; word-break: break-word; }
.variations.shop_attributes tbody, .variations tbody tr, .variations tbody td { display: block; width: 100%; }
.variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
/* -------------------------------------------------------------------------
 * Add to cart button style 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 {
	background-color: var(--color-rose) !important;
	color: var(--color-rose-foreground) !important;
	border: 1px solid var(--color-rose) !important;
	border-radius: var(--btn-radius) !important;
	height: var(--btn-height) !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-rose) !important;
	color: var(--color-rose-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-rose) !important;
}

/* Card compact button — overrides the global rules above (scoped after) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 2.5rem !important;
	padding: 0 1rem !important;
	border-radius: 999px !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (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; }

/* -------------------------------------------------------------------------
 * WooCommerce notices (Section 14.1)
 * ---------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	max-width: 80rem;
	margin: 1rem auto;
	padding: 1rem 1.5rem;
	border-radius: 0.5rem;
	background: var(--color-linen);
	border-left: 4px solid var(--color-primary);
	font-size: 14px;
	list-style: none;
}
.woocommerce-error { border-left-color: var(--color-destructive); }

/* -------------------------------------------------------------------------
 * Cart drawer
 * ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	z-index: 55;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background: var(--color-ivory);
	z-index: 60;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.cart-drawer-title { font-size: 1.5rem; }
.cart-drawer-close { background: none; border: none; font-size: 1.5rem; line-height: 1; padding: 0.35rem; border-radius: 999px; color: var(--color-foreground); }
.cart-drawer-close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer-empty svg { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.cart-drawer-empty p { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); font-size: 14px; margin-bottom: 1.5rem; }

.cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.cart-drawer-item { display: flex; gap: 1rem; }
.cart-item-thumb {
	display: block;
	position: relative;
	width: 5rem;
	height: 6rem;
	background: var(--color-bone);
	border-radius: 0.4rem;
	overflow: hidden;
	flex-shrink: 0;
}
.cart-item-thumb img,
.cart-item-thumb .cart-item-thumb-img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	margin: 0;
}
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-name:hover { color: var(--color-primary); }
.cart-item-price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.15rem; }
.cart-item-variation { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.15rem; }
.cart-item-controls { display: flex; align-items: center; gap: 0.65rem; margin-top: 0.65rem; }
.cart-qty-btn { padding: 0.25rem; background: none; border: none; border-radius: 0.25rem; color: var(--color-foreground); display: inline-flex; }
.cart-qty-btn:hover { background: var(--color-bone); }
.cart-qty-value { font-size: 13px; width: 1.5rem; text-align: center; }
.cart-remove-btn { margin-left: auto; font-size: 13px; background: none; border: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.cart-remove-btn:hover { color: var(--color-destructive); }

.cart-drawer-footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: flex; flex-direction: column; gap: 1rem; background: color-mix(in srgb, var(--color-linen) 40%, transparent); }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.cart-subtotal-row span:first-child { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.cart-subtotal-row span:last-child { font-weight: 500; }
.cart-shipping-note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

/* -------------------------------------------------------------------------
 * Wishlist page
 * ---------------------------------------------------------------------- */
/* Match Lovable Wishlist: pt-32 / md:pt-40 below fixed header */
.wishlist-page-main {
	background: var(--color-ivory);
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 6rem;
}
@media (min-width: 768px) {
	.wishlist-page-main {
		padding-top: calc(var(--header-height) + 3.5rem);
		padding-bottom: 8rem;
	}
}
body.admin-bar .wishlist-page-main {
	padding-top: calc(var(--header-height) + 2rem + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar .wishlist-page-main {
		padding-top: calc(var(--header-height) + 2rem + 46px);
	}
}
@media (min-width: 768px) {
	body.admin-bar .wishlist-page-main {
		padding-top: calc(var(--header-height) + 3.5rem + 32px);
	}
}
.wishlist-heading-row { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .wishlist-heading-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.wishlist-title { font-size: 2.25rem; line-height: 1.02; display: flex; align-items: center; gap: 0.75rem; }
@media (min-width: 768px) { .wishlist-title { font-size: 3rem; } }
.wishlist-subtitle { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 36rem; line-height: 1.6; }
@media (min-width: 768px) { .wishlist-subtitle { font-size: 15px; } }
.wishlist-empty-state { text-align: center; padding: 5rem 0; border: 1px dashed color-mix(in srgb, var(--color-foreground) 15%, transparent); border-radius: 1rem; }
.wishlist-empty-state p { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-size: 15px; margin-bottom: 1.5rem; }
.js-wishlist-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.js-wishlist-grid .js-wishlist-item { width: 100%; }
@media (min-width: 640px) { .js-wishlist-grid .js-wishlist-item { width: calc((100% - 1.5rem) / 2); } }
@media (min-width: 1024px) { .js-wishlist-grid .js-wishlist-item { width: calc((100% - 3rem) / 3); } }

/* -------------------------------------------------------------------------
 * WooCommerce Checkout Block (Section 13)
 * ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
	background: var(--color-ivory);
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	max-width: 80rem;
	margin: 0 auto;
	padding: 2.5rem 0 1.5rem;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		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-linen);
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-radius: var(--radius);
	background-color: var(--color-ivory);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: var(--color-primary);
	outline: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder {
	color: color-mix(in srgb, var(--color-foreground) 45%, transparent);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-rose) !important;
	color: var(--color-rose-foreground) !important;
	border-radius: var(--btn-radius) !important;
	border: none !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	font-weight: 500 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.85;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 {
	font-family: var(--font-display);
}

/* Classic shortcode selectors, for compatibility */
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
}

/* -------------------------------------------------------------------------
 * Thank you page (Section 22.8)
 * ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { background: var(--color-ivory); }
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: 80rem;
	margin: 0 auto;
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.75rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2.5rem;
	padding: 0;
	margin: 1.5rem 0 2.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 14px;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	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; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address {
	min-width: 0;
	overflow-wrap: break-word;
}




