/* =========================================================================
   Kimberly Wischman Photography — theme.css
   ========================================================================= */

@font-face {
	font-family: "Brush Signature";
	src: url("../fonts/Brush_Signature.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--font-heading: "Playfair Display", Georgia, serif;
	--font-body: "Inter", system-ui, sans-serif;
	--radius: 0.25rem;
	--btn-radius: 0px;
	--btn-height: 46px;
	--btn-padding: 0.9rem 1.75rem;
	--btn-font-size: 0.7rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--section-padding: 2rem;
	--card-radius: 4px;
	--checkout-gap: 2rem;
	--header-height: 96px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; margin: 0; padding: 0; }

img:not(.cover-img):not(.hero-bg-video):not(.about-image):not(.owner-image):not(.theme-product-card__image):not(.product-main-img):not(.theme-cart-item__img) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-bg-video, .about-image, .owner-image, .theme-product-card__image, .product-main-img, .theme-cart-item__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.theme-container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) { .theme-container { padding: 0 2rem; } }

.italic-accent { font-style: italic; color: var(--color-clay); }
.hero-title .italic-accent,
.contact-title .italic-accent { color: var(--color-gold); }

.section-eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.35em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-gold);
	margin-bottom: 1rem;
	text-align: center;
}

.section-heading {
	font-family: var(--font-heading);
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--color-espresso);
}

/* Reveal / scroll-in animation (Section 2.1) */
.reveal-item {
	opacity: 0;
	transform: translateY(2rem);
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item,
body.is-customizer .scale-in-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; }
}

@keyframes heroFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-fade-anim { animation: heroFadeUp 1s ease-out both; }

/* =========================================================================
   HEADER
   ========================================================================= */
body.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: transparent;
	transition: background-color 0.5s ease, box-shadow 0.5s ease;
}
.site-header.is-solid {
	background-color: color-mix(in srgb, var(--color-ivory) 95%, transparent);
	backdrop-filter: blur(6px);
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.site-nav {
	max-width: 1320px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1rem;
	height: 7rem;
	transition: height 0.5s ease;
}
@media (min-width: 640px) { .site-nav { padding: 0 1.5rem; } }
.site-header.is-solid .site-nav { height: 6rem; }

.site-brand { display: flex; align-items: center; gap: 0.75rem; }
.site-logo-img {
	height: var(--logo-height, 72px) !important;
	width: var(--logo-height, 72px) !important;
	object-fit: contain;
	transition: filter 0.3s ease;
}
.site-header:not(.is-solid) .site-logo-img { filter: invert(1); }
.site-logo-text { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-espresso); }
.site-header:not(.is-solid) .site-logo-text { color: var(--color-ivory); }
.site-brand-name { font-family: var(--font-heading); font-size: 1rem; }

.site-nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }

.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.3s ease;
}
.site-header:not(.is-solid) .theme-nav-link { color: color-mix(in srgb, var(--color-ivory) 90%, transparent); }
.theme-nav-link:hover { color: var(--color-gold); }
.site-header:not(.is-solid) .theme-nav-link:hover { color: var(--color-ivory); }

.theme-nav-shop-btn {
	padding: 0.5rem 1rem;
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 500;
	border: 1px solid var(--color-gold);
	color: var(--color-gold);
	transition: all 0.3s ease;
}
.theme-nav-shop-btn:hover { background: var(--color-gold); color: var(--color-ivory); }
.site-header:not(.is-solid) .theme-nav-shop-btn {
	border-color: color-mix(in srgb, var(--color-ivory) 40%, transparent);
	color: var(--color-ivory);
}
.site-header:not(.is-solid) .theme-nav-shop-btn:hover { background: var(--color-ivory); color: var(--color-espresso); }

.site-nav-actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
}

.theme-cart-btn { position: relative; padding: 0.5rem; color: var(--color-espresso); }
.site-header:not(.is-solid) .theme-cart-btn { color: var(--color-ivory); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px;
	background: var(--color-gold); color: var(--color-ivory);
	font-size: 10px; font-weight: 500;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle {
	display: flex; flex-direction: column; gap: 5px;
	padding: 0.5rem;
}
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle span {
	width: 22px; height: 2px; background: var(--color-espresso); transition: all 0.3s ease;
}
.site-header:not(.is-solid) .theme-mobile-toggle span { background: var(--color-ivory); }

.theme-mobile-menu {
	display: none;
	background: var(--color-ivory);
	border-top: 1px solid var(--color-border);
}
.theme-mobile-menu.is-open { display: block; }
.theme-mobile-nav-list { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-mobile-nav-list a {
	font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
	color: var(--color-espresso);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero-section {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
	background: var(--color-espresso);
}
.hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom,
		color-mix(in srgb, var(--color-espresso) 70%, transparent) 0%,
		color-mix(in srgb, var(--color-espresso) 40%, transparent) 50%,
		color-mix(in srgb, var(--color-espresso) 90%, transparent) 100%);
}
.hero-bg-video { opacity: 0.7; }
.hero-content { position: relative; z-index: 10; max-width: 1100px; margin: 0 auto; padding: 8rem 1.5rem; text-align: center; }
@media (min-width: 1024px) { .hero-content { padding: 8rem 2rem; } }

.hero-eyebrow {
	font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; font-weight: 500;
	color: var(--color-gold); margin-bottom: 1.5rem;
	display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.hero-eyebrow-line { height: 1px; width: 2.5rem; background: color-mix(in srgb, var(--color-gold) 60%, transparent); }

.hero-title {
	font-family: var(--font-heading);
	font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em;
	color: var(--color-ivory); margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
	font-size: 1rem; line-height: 1.6;
	color: color-mix(in srgb, var(--color-ivory) 80%, transparent);
	max-width: 42rem; margin: 0 auto 2.5rem;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; } }

.hero-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: stretch; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.btn-hero-primary, .btn-hero-outline, .btn-services-cta, .single_add_to_cart_button {
	text-transform: var(--btn-text-transform);
}
.btn-hero-primary, .btn-hero-outline, .btn-services-cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	width: 100%;
	padding: 0.875rem 1.75rem;
	font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing); font-weight: var(--btn-font-weight);
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-hero-primary { background: var(--color-gold); color: var(--color-ivory); }
.btn-hero-primary:hover { background: var(--color-clay); }
.btn-hero-outline { border: 1px solid color-mix(in srgb, var(--color-ivory) 40%, transparent); color: var(--color-ivory); }
.btn-hero-outline:hover { background: var(--color-ivory); color: var(--color-espresso); }
.btn-services-cta {
	width: auto;
	padding: 0.875rem 2rem;
	background: var(--color-gold);
	color: var(--color-espresso);
}
.btn-services-cta:hover { background: var(--color-ivory); }
.services-cta .btn-services-cta { width: auto; }

.hero-scroll-indicator {
	position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
	color: color-mix(in srgb, var(--color-ivory) 60%, transparent);
}
.hero-scroll-text { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; }
.hero-scroll-line { height: 2.5rem; width: 1px; background: color-mix(in srgb, var(--color-ivory) 40%, transparent); }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-section { padding: 6rem 0; background: var(--color-ivory); }
@media (min-width: 1024px) { .about-section { padding: 8rem 0; } }
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.about-image-wrap { position: relative; }
.about-image { position: static !important; aspect-ratio: 4/5; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.about-quote-badge {
	position: absolute; bottom: -1.5rem; right: -1.5rem;
	display: none;
	background: var(--color-gold); color: var(--color-ivory);
	padding: 1rem 1.5rem; max-width: 220px;
}
@media (min-width: 640px) { .about-quote-badge { display: block; } }
.about-quote-badge p { font-family: var(--font-heading); font-style: italic; font-size: 1.125rem; line-height: 1.3; }

.about-heading { font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .about-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3rem; } }

.about-body { display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-stone); }
.about-stat-value { font-family: var(--font-heading); font-size: 1.875rem; color: var(--color-gold); }
.about-stat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-section { padding: 6rem 0; background: var(--color-espresso); color: var(--color-ivory); position: relative; overflow: hidden; }
@media (min-width: 1024px) { .services-section { padding: 8rem 0; } }
.services-dots-bg {
	position: absolute; inset: 0; opacity: 0.04;
	background-image: radial-gradient(circle at 1px 1px, var(--color-ivory) 1px, transparent 0);
	background-size: 32px 32px;
}
.services-inner { position: relative; }
.services-section .section-eyebrow { color: var(--color-gold); }
.services-heading { font-size: 1.875rem; text-align: center; margin-bottom: 1rem; max-width: 42rem; margin-left: auto; margin-right: auto; color: var(--color-ivory); }
@media (min-width: 640px) { .services-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 3rem; } }
.services-subtitle { text-align: center; color: color-mix(in srgb, var(--color-ivory) 65%, transparent); max-width: 36rem; margin: 0 auto 4rem; line-height: 1.7; }

.services-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
	position: relative; height: 100%; padding: 2rem;
	border: 1px solid color-mix(in srgb, var(--color-ivory) 15%, transparent);
	transition: border-color 0.3s ease;
}
.service-card:hover { border-color: color-mix(in srgb, var(--color-gold) 60%, transparent); }
.service-card-number {
	position: absolute; top: 1rem; right: 1.25rem;
	font-family: var(--font-heading); font-style: italic; font-size: 3rem;
	color: color-mix(in srgb, var(--color-ivory) 10%, transparent);
	transition: color 0.3s ease;
}
.service-card:hover .service-card-number { color: color-mix(in srgb, var(--color-gold) 30%, transparent); }
.service-card-icon { display: block; color: var(--color-gold); margin-bottom: 1.5rem; }
.service-card-title { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-ivory); margin-bottom: 0.75rem; }
.service-card-body { font-size: 0.875rem; color: color-mix(in srgb, var(--color-ivory) 65%, transparent); line-height: 1.7; }

.services-cta { text-align: center; margin-top: 3.5rem; }

/* =========================================================================
   SHOP / GALLERY
   ========================================================================= */
.shop-section { padding: 6rem 0; background: var(--color-ivory); }
@media (min-width: 1024px) { .shop-section { padding: 8rem 0; } }
.shop-heading { font-size: 1.875rem; text-align: center; margin-bottom: 1rem; }
@media (min-width: 640px) { .shop-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3rem; } }
.shop-subtitle { text-align: center; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); max-width: 36rem; margin: 0 auto 2.5rem; line-height: 1.7; }

.theme-category-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 3.5rem; }
.theme-cat-filter {
	padding: 0.5rem 1rem; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500;
	border: 1px solid var(--color-stone); color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-gold); color: var(--color-gold); }
.theme-cat-filter.is-active { background: var(--color-espresso); color: var(--color-ivory); border-color: var(--color-espresso); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	align-items: stretch;
	gap: 1.5rem;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.theme-product-card-wrap { display: flex; }
.theme-product-card-wrap.theme-card-hidden { display: none; }
.theme-product-card {
	position: relative;
	display: flex; flex-direction: column;
	width: 100%; height: 100%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
	transition: box-shadow 0.5s ease;
}
.theme-product-card:hover { box-shadow: 0 25px 50px rgba(0,0,0,0.18); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }

.theme-product-card__image-wrapper { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--color-muted); }
.theme-product-card__image { transition: transform 0.7s ease; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.05); }
.theme-product-card__image-wrapper::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-espresso) 60%, transparent), transparent 60%);
	opacity: 0; transition: opacity 0.3s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper::after { opacity: 1; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	padding: 0.25rem 0.6rem; background: color-mix(in srgb, var(--color-ivory) 90%, transparent);
	font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-espresso);
}
.theme-product-card__stock-badge {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	padding: 0.25rem 0.6rem; background: var(--color-espresso); color: var(--color-ivory);
	font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
}
.theme-product-card__info { flex: 1; padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.theme-product-card__title {
	font-family: var(--font-heading); font-size: 1.125rem; color: var(--color-espresso);
	transition: color 0.3s ease;
	min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-gold); }
.theme-product-card__price { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); white-space: nowrap; }

.shop-show-more-wrap { text-align: center; margin-top: 3.5rem; }
.btn-outline-gold {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.75rem 2rem; border: 1px solid var(--color-gold); color: var(--color-gold);
	font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing); text-transform: uppercase; font-weight: var(--btn-font-weight);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-gold:hover { background: var(--color-gold); color: var(--color-ivory); }

/* =========================================================================
   OWNER
   ========================================================================= */
.owner-section { padding: 6rem 0; background: color-mix(in srgb, var(--color-muted) 40%, transparent); }
@media (min-width: 1024px) { .owner-section { padding: 8rem 0; } }
.owner-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .owner-grid { grid-template-columns: 2fr 3fr; gap: 4rem; } }
.owner-image-wrap { position: relative; }
.owner-image { position: static !important; aspect-ratio: 1/1; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.owner-signature-badge { position: absolute; bottom: -1rem; left: -1rem; background: var(--color-forest); color: var(--color-ivory); padding: 0.75rem 1.25rem; }
.owner-signature-badge .font-signature { font-family: "Brush Signature", cursive; font-size: 1.5rem; line-height: 1; }
.owner-content-col h2 { font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .owner-content-col h2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .owner-content-col h2 { font-size: 3rem; } }
.owner-body { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 2rem; }
.owner-link { display: inline-block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500; color: var(--color-gold); border-bottom: 1px solid var(--color-gold); padding-bottom: 0.25rem; transition: color 0.3s ease; }
.owner-link:hover { color: var(--color-clay); border-color: var(--color-clay); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-section { padding: 6rem 0; background: var(--color-espresso); color: var(--color-ivory); }
@media (min-width: 1024px) { .contact-section { padding: 8rem 0; } }
.contact-section .section-eyebrow { color: var(--color-gold); }
.contact-title { font-size: 1.875rem; text-align: center; margin-bottom: 1.5rem; color: var(--color-ivory); }
@media (min-width: 640px) { .contact-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3rem; } }
.contact-subtitle { text-align: center; color: color-mix(in srgb, var(--color-ivory) 65%, transparent); max-width: 36rem; margin: 0 auto 3.5rem; line-height: 1.7; }

.contact-grid { display: grid; gap: 2.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 3.5rem; } }

.contact-info-col { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-row { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.contact-info-icon {
	width: 3rem; height: 3rem; border-radius: 999px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-ivory) 10%, transparent);
	color: var(--color-gold);
	transition: background-color 0.3s ease;
}
.contact-info-row:hover .contact-info-icon { background: var(--color-gold); color: var(--color-espresso); }
.contact-info-label { display: block; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: color-mix(in srgb, var(--color-ivory) 45%, transparent); }
.contact-info-value { display: block; font-size: 0.875rem; color: color-mix(in srgb, var(--color-ivory) 85%, transparent); }
.contact-info-value--break { word-break: break-all; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-input, .contact-textarea {
	width: 100%; padding: 0.75rem 1rem;
	background: color-mix(in srgb, var(--color-ivory) 5%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-ivory) 15%, transparent);
	color: var(--color-ivory); font-size: 0.875rem;
}
.contact-input::placeholder, .contact-textarea::placeholder { color: color-mix(in srgb, var(--color-ivory) 40%, transparent); }
.contact-input:focus, .contact-textarea:focus { outline: none; border-color: var(--color-gold); }
.contact-textarea { resize: none; }
.btn-contact-submit {
	display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
	padding: 0.9rem 1.75rem; background: var(--color-gold); color: var(--color-espresso);
	font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 500;
	transition: background-color 0.3s ease;
}
.btn-contact-submit:hover { background: var(--color-ivory); }
.contact-form-toast { min-height: 1.2em; font-size: 0.8rem; color: var(--color-gold); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--color-ivory); border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; gap: 3rem; padding: 4rem 0 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { height: 5.4rem; width: 5.4rem; object-fit: contain; }
.footer-tagline { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); line-height: 1.7; max-width: 20rem; margin-top: 1rem; }
.footer-col-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; color: var(--color-gold); margin-bottom: 1rem; }
.footer-nav-list, .footer-contact-list { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav-list { gap: 0.625rem; }
.footer-contact-list { gap: 0.75rem; }
.footer-nav-list a, .footer-contact-list a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s ease; }
.footer-nav-list a { display: block; }
.footer-nav-list a:hover { color: var(--color-gold); }
.footer-nav-list a.footer-external-link { display: inline-flex; align-items: center; gap: 0.25rem; }
.footer-contact-list a { display: flex; align-items: center; gap: 0.625rem; }
.footer-contact-list a.footer-email-link { align-items: flex-start; }
.footer-contact-list a:hover { color: var(--color-espresso); }
.footer-contact-icon { flex-shrink: 0; color: var(--color-gold); }
.footer-contact-list a.footer-email-link .footer-contact-icon { margin-top: 0.125rem; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 2rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copyright, .footer-credit { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.footer-credit a { color: var(--color-gold); font-weight: 500; }
.footer-credit a:hover { color: var(--color-clay); }

/* =========================================================================
   404
   ========================================================================= */
.theme-404-inner { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.theme-404-code { font-family: var(--font-heading); font-size: 4rem; }
.theme-404-message { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-btn-primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: var(--btn-padding); background: var(--color-espresso); color: var(--color-ivory);
	font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing); font-weight: var(--btn-font-weight);
	text-transform: none; transition: background-color 0.3s ease;
}
.theme-btn-primary:hover { background: var(--color-gold); }

/* =========================================================================
   SIDE CART DRAWER
   ========================================================================= */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90;
	background: rgba(0,0,0,0.5);
	opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
	width: 100%; max-width: 420px;
	background: var(--color-ivory);
	box-shadow: -10px 0 30px rgba(0,0,0,0.15);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s ease;
}
body.admin-bar #theme-cart-drawer {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar #theme-cart-drawer {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-espresso); }
.theme-cart-drawer__close { color: var(--color-espresso); padding: 0.25rem; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 2rem; }
.theme-cart-drawer__empty-title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-espresso); }
.theme-cart-drawer__empty-body { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-item__image { position: relative; flex-shrink: 0; width: 5rem; height: 6rem; overflow: hidden; background: #fff; display: block; }
#theme-cart-drawer .theme-cart-item__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-family: var(--font-heading); font-size: 1rem; color: var(--color-espresso); display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__variation { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-cart-item__price { font-size: 0.8rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 1rem; margin-top: 0.6rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-stone); }
.theme-cart-item__qty button { padding: 0.35rem 0.6rem; color: var(--color-espresso); }
.theme-cart-item__qty span { padding: 0 0.5rem; font-size: 0.85rem; }
.theme-cart-item__remove { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-item__remove:hover { color: var(--color-clay); }
.theme-cart-item__total { font-family: var(--font-heading); font-size: 1rem; color: var(--color-espresso); white-space: nowrap; }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.95rem; margin-bottom: 1rem; color: var(--color-espresso); }
.theme-cart-drawer__checkout { width: 100%; }

/* =========================================================================
   WOOCOMMERCE — GLOBAL OVERRIDES
   ========================================================================= */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 1.5rem; padding: 1rem 1.5rem;
	background: #fff; border-left: 4px solid var(--color-gold);
	font-size: 0.9rem; color: var(--color-espresso);
}
.woocommerce-error { border-left-color: var(--color-secondary); }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: 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,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.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; }

.theme-attr-select-hidden { display: none !important; }

/* =========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================= */
.site-main.single-product { background: var(--color-ivory); }
.single-product .theme-product-page { padding-top: 8rem; padding-bottom: 6rem; }
.back-to-shop-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing); text-transform: uppercase; font-weight: var(--btn-font-weight);
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	margin-bottom: 2.5rem; transition: color 0.3s ease;
}
.back-to-shop-link:hover { color: var(--color-gold); }

.theme-product-layout { display: grid; gap: 2.5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-info { display: flex; flex-direction: column; }

.theme-product-gallery__main { position: relative; aspect-ratio: 4/5; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.06); overflow: hidden; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; }
.theme-thumb { width: 4.5rem; height: 4.5rem; overflow: hidden; opacity: 0.6; border: 2px solid transparent; transition: all 0.2s ease; cursor: pointer; background: none; padding: 0; }
.theme-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-thumb.is-active, .theme-thumb:hover { opacity: 1; border-color: var(--color-gold); }

.product-category-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 0.75rem; }
.product-title {
	font-family: var(--font-heading); font-weight: 400;
	font-size: 1.875rem; color: var(--color-espresso); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 1.25rem;
}
@media (min-width: 640px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3rem; } }
.theme-stock-indicator--out { display: inline-block; padding: 0.35rem 0.75rem; background: var(--color-secondary); color: var(--color-button-text); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.product-long-description {
	font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	line-height: 1.625; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word;
}
.product-long-description p { margin: 0; }

.theme-product-actions-stack { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-attr-group { margin-bottom: 1.5rem; }
.theme-attr-group--bordered { border-top: 1px solid color-mix(in srgb, var(--color-stone) 30%, transparent); padding-top: 1.5rem; }
.theme-attr-group__label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.75rem; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-stone) 40%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.theme-attr-pill:hover { border-color: var(--color-gold); color: var(--color-gold); }
.theme-attr-pill.is-active { background: var(--color-espresso); color: var(--color-ivory); border-color: var(--color-espresso); }
.theme-attr-pill.is-hidden { display: none; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability,
.single-product .single_variation:empty { display: none !important; }

.theme-product-purchase-row { display: flex; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.theme-purchase-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-stone) 40%, transparent); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; color: var(--color-espresso); line-height: 1; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: color-mix(in srgb, var(--color-stone) 20%, transparent); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-size: 0.875rem; color: var(--color-espresso); padding: 0.5rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-product-total { margin-left: auto; text-align: right; }
.theme-product-total__price { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-espresso); line-height: 1.2; margin: 0; }

.theme-product-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-product-actions--secondary { margin-top: 0; }

.theme-btn-add-cart,
.single-product .single_add_to_cart_button.theme-btn-add-cart {
	display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 0.5rem !important;
	width: 100% !important; min-height: auto !important;
	padding: 0.875rem 1.5rem !important;
	background: var(--color-espresso) !important; color: var(--color-ivory) !important;
	border: none !important; border-radius: 0 !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: uppercase !important; cursor: pointer !important;
	transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease !important;
	opacity: 1 !important;
}
.theme-btn-add-cart:hover,
.single-product .single_add_to_cart_button.theme-btn-add-cart:hover:not(:disabled):not(.disabled) {
	background: var(--color-gold) !important; color: var(--color-ivory) !important; opacity: 1 !important;
}
.theme-btn-add-cart.is-added,
.single-product .single_add_to_cart_button.theme-btn-add-cart.is-added {
	background: var(--color-espresso) !important;
}
.theme-btn-add-cart:disabled,
.theme-btn-add-cart.disabled,
.single-product .single_add_to_cart_button.theme-btn-add-cart:disabled,
.single-product .single_add_to_cart_button.theme-btn-add-cart.disabled {
	opacity: 0.4 !important; cursor: not-allowed !important; pointer-events: none !important;
}

.theme-btn-secondary, .theme-btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	width: 100%; padding: 0.875rem 1.5rem;
	font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing); font-weight: var(--btn-font-weight);
	text-transform: uppercase; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.theme-btn-secondary { background: var(--color-gold); color: var(--color-ivory); border: none; }
.theme-btn-secondary:hover { background: var(--color-clay); color: var(--color-ivory); }
.theme-btn-outline { border: 1px solid color-mix(in srgb, var(--color-espresso) 20%, transparent); color: var(--color-espresso); background: transparent; }
.theme-btn-outline:hover { background: var(--color-espresso); color: var(--color-ivory); }

.theme-product-disclaimer { font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); line-height: 1.625; margin-top: 1.5rem; overflow-wrap: break-word; }
.theme-details-block { margin-top: 2rem; }
.theme-details-title { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 0.75rem; }

.related-products-section { margin-top: 6rem; }
.related-products-heading { font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-espresso); margin-bottom: 2rem; line-height: 1.1; }
.theme-related-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; padding: 0; max-width: none; }
@media (min-width: 640px) { .theme-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-related-card .theme-product-card { box-shadow: 0 1px 2px rgba(0,0,0,0.06); transition: box-shadow 0.5s ease; }
.theme-related-card .theme-product-card:hover { box-shadow: 0 20px 25px rgba(0,0,0,0.12); }
.theme-related-card .theme-product-card__info { padding: 1rem; justify-content: flex-start; }
.theme-related-card .theme-product-card__price { display: none; }
.theme-related-card .theme-product-card__badge { display: none; }

/* =========================================================================
   CHECKOUT (WooCommerce Blocks) — Section 13
   ========================================================================= */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title { font-family: var(--font-heading); font-size: 2rem; color: var(--color-espresso); margin-bottom: 2rem; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body); font-size: 0.95rem; color: var(--color-espresso);
	border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff;
	padding: revert;
}
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-gold); }

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-muted);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

/* =========================================================================
   CART / MY ACCOUNT PAGE PARITY — Section 13.7
   ========================================================================= */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { font-family: var(--font-heading); font-size: 2rem; color: var(--color-espresso); margin-bottom: 2rem; }
body.woocommerce-cart .wc-block-cart {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
		display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap); align-items: start;
	}
}

/* =========================================================================
   THANK YOU PAGE
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou { max-width: 720px; margin: 0 auto; text-align: center; padding: 2rem 0; }
.theme-thankyou__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 4rem; height: 4rem; border-radius: 999px;
	background: color-mix(in srgb, var(--color-forest) 10%, transparent); color: var(--color-forest);
	margin-bottom: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-heading); font-size: 1.75rem; color: var(--color-espresso); padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; padding: 0; margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.9rem; }
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; text-align: left; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; margin: 0 auto; }

/* =========================================================================
   PAGE (generic)
   ========================================================================= */
.theme-page-container { padding-top: 8rem; padding-bottom: 6rem; }
.page-title { font-family: var(--font-heading); font-size: 2.5rem; color: var(--color-espresso); margin-bottom: 2rem; }

/* Prevent BOM/text-node ghost columns from breaking grids (defensive) */
.theme-product-grid > *:empty { display: none; }
