/* ==========================================================================
   Crafty by Design — theme.css
   ========================================================================== */

:root {
	--color-background: #f9f6f1;
	--color-foreground: #262b36;
	--color-primary: #213050;
	--color-accent: #b8d5ea;
	--color-ivory-soft: #efe9e1;
	--color-champagne: #ddcdb0;
	--color-glow: #f4d99a;
	--color-card: #f5f1ea;
	--color-button-text: #f9f6f1;

	--font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Inter', system-ui, sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;
	--shadow-soft: 0 6px 24px -10px rgba(38, 43, 54, 0.14);
	--shadow-elevated: 0 20px 60px -20px rgba(38, 43, 54, 0.28);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--btn-radius: 999px;
	--btn-height: 48px;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 13px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.02em;
	--btn-text-transform: none;
	--btn-icon-padding: 0.65rem;

	--logo-height: 56px;
	--header-height: 88px;
	--checkout-gap: 2rem;
}

/* ------------------------------------------------------------------------ *
 * RESET / BASE
 * ------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html {
	max-width: 100%;
	overflow-x: hidden;
	scroll-padding-top: var(--site-header-offset, 72px);
}
body {
	margin: 0;
	max-width: 100%;
	overflow-x: hidden;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
	padding-top: var(--site-header-offset, 72px);
}
@media (min-width: 768px) {
	:root { --site-header-offset: var(--header-height); }
	body { padding-top: var(--header-height); }
	html { scroll-padding-top: var(--header-height); }
}
body.admin-bar {
	--wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-media-frame img):not(.theme-product-card__img):not(.theme-product-gallery-img):not(.site-logo-img):not(.footer-logo-img) {
	height: auto;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"]::file-selector-button,
select,
summary,
label[for],
.theme-nav-link,
.footer-nav-link,
.cart-toggle,
.mobile-menu-toggle,
.mobile-menu-close,
.theme-cart-close,
.theme-cart-continue-link,
.theme-product-thumb,
.theme-attr-pill,
.theme-details-toggle,
.theme-qty-minus,
.theme-qty-plus,
.capability-card[href],
a.capability-card,
a.btn-primary,
a.btn-outline,
.theme-product-card__view-link,
.theme-product-card-wrap a,
.marquee-link,
.footer-social-btn,
.footer-contact-link,
.footer-brand,
.site-brand {
	cursor: pointer;
}
button:disabled,
[disabled],
.theme-attr-pill.is-disabled {
	cursor: not-allowed;
}
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.01em;
	margin: 0;
}

.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
@media (min-width: 640px) {
	.container-wide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
@media (min-width: 1024px) {
	.container-wide {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.page-container {
	padding-top: 2.5rem;
	padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
	.page-container {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
}

.section-py { padding-top: 5rem; padding-bottom: 5rem; }
.section-py--tight { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) {
	.section-py { padding-top: 7rem; padding-bottom: 7rem; }
}

/* ------------------------------------------------------------------------ *
 * EYEBROW / SECTION HEADINGS (Section 2.2.5 — per-section scoped scales)
 * ------------------------------------------------------------------------ */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 500;
	color: rgba(38, 43, 54, 0.7);
	margin-bottom: 1.25rem;
}
.eyebrow--center { justify-content: center; }
.eyebrow-line { display: inline-block; height: 1px; width: 1.5rem; background: var(--color-champagne); }

.section-header--center { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.section-subtitle { margin-top: 1.25rem; font-size: 16px; color: rgba(38, 43, 54, 0.8); line-height: 1.7; }
@media (min-width: 768px) { .section-subtitle { font-size: 17px; } }

.shop-heading { font-size: 2.25rem; line-height: 1.05; font-weight: 500; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }

.services-heading { font-size: 2.25rem; line-height: 1.05; font-weight: 500; }
@media (min-width: 768px) { .services-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 3.75rem; } }

.contact-title { font-size: 2.25rem; line-height: 1.05; font-weight: 500; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }

/* ------------------------------------------------------------------------ *
 * BUTTONS
 * ------------------------------------------------------------------------ */
.btn-primary, .btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	min-height: var(--btn-height);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: all 0.25s var(--transition-smooth);
	white-space: nowrap;
}
.btn-primary {
	background: var(--color-primary);
	color: var(--color-button-text);
	border: none;
}
.btn-primary:hover { box-shadow: var(--shadow-elevated); transform: translateY(-2px); }
.btn-outline {
	border: 1px solid rgba(38, 43, 54, 0.25);
	color: var(--color-foreground);
	background: rgba(249, 246, 241, 0.6);
	backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: var(--color-foreground); background: var(--color-background); }

/* ------------------------------------------------------------------------ *
 * SCROLL REVEAL ANIMATIONS (Section 2.1)
 * ------------------------------------------------------------------------ */
.reveal-item {
	opacity: 0;
	will-change: opacity, transform;
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal-item[data-reveal-type="fade-up"] { transform: translateY(24px); }
.reveal-item[data-reveal-type="slide-x"][data-reveal-dir="left"] { transform: translateX(-30px); transition-duration: 1s; }
.reveal-item[data-reveal-type="slide-x"][data-reveal-dir="right"] { transform: translateX(30px); transition-duration: 1s; }
.reveal-item.is-visible { opacity: 1; transform: none; }

body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition-duration: 0.01ms !important; opacity: 1; transform: none; }
}

@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 42s linear infinite; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ------------------------------------------------------------------------ *
 * HEADER
 * ------------------------------------------------------------------------ */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 40;
	background: rgba(249, 246, 241, 0.7);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid transparent;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body.admin-bar .site-header {
	top: var(--wp-admin-bar-height, 32px);
}
.site-header.is-scrolled {
	background: rgba(249, 246, 241, 0.92);
	backdrop-filter: blur(12px);
	border-bottom-color: rgba(221, 205, 176, 0.4);
	box-shadow: 0 6px 20px -12px rgba(38, 43, 54, 0.2);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
@media (min-width: 768px) { .site-nav { height: var(--header-height); } }

.site-brand { display: flex; align-items: center; min-width: 0; max-width: 60%; }
.site-header .site-logo-img,
.mobile-menu-top .site-logo-img {
	height: 2.5rem;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}
@media (min-width: 640px) {
	.site-header .site-logo-img,
	.mobile-menu-top .site-logo-img { height: 3rem; }
}
@media (min-width: 768px) {
	.site-header .site-logo-img,
	.mobile-menu-top .site-logo-img { height: var(--logo-height); }
}
.site-logo-img { height: 40px; width: auto; object-fit: contain; }
@media (min-width: 640px) { .site-logo-img { height: 48px; } }
@media (min-width: 768px) { .site-logo-img { height: var(--logo-height) !important; } }
.site-logo-text { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: var(--logo-height); display: block; }

.site-nav-links { display: none; align-items: center; gap: 2.75rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.75rem; }
.theme-nav-link {
	font-size: 14px;
	font-weight: 500;
	color: rgba(38, 43, 54, 0.8);
	transition: color 0.2s ease;
	letter-spacing: 0.01em;
}
.theme-nav-link:hover { color: var(--color-foreground); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-toggle { position: relative; padding: 0.5rem; color: var(--color-foreground); transition: color 0.2s ease; }
.cart-toggle:hover { color: var(--color-primary); }
.icon-bag { display: block; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 20px; height: 20px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 500;
	background: var(--color-primary); color: var(--color-background);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }
.mobile-menu-toggle { display: flex; padding: 0.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

/* ------------------------------------------------------------------------ *
 * MOBILE MENU
 * ------------------------------------------------------------------------ */
.mobile-menu { position: fixed; inset: 0; z-index: 70; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu-overlay { position: absolute; inset: 0; background: rgba(38, 43, 54, 0.5); backdrop-filter: blur(4px); }
.mobile-menu-panel {
	position: absolute; inset-inline: 0; top: 0;
	background: var(--color-background);
	box-shadow: var(--shadow-elevated);
	max-height: 100dvh; overflow: auto;
}
body.admin-bar .mobile-menu-panel {
	top: var(--wp-admin-bar-height, 32px);
	max-height: calc(100dvh - var(--wp-admin-bar-height, 32px));
}
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.mobile-menu-close { padding: 0.5rem; color: var(--color-foreground); }
.mobile-menu-links {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding-bottom: 2rem;
	padding-top: 0.5rem;
}
.theme-mobile-nav-list,
.mobile-menu-links .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	width: 100%;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-mobile-nav-list a,
.theme-mobile-nav-list .theme-nav-link,
.mobile-menu-links > li > a,
.mobile-menu-links > li > .theme-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.2;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(38, 43, 54, 0.1);
	color: var(--color-foreground);
	transition: color 0.2s ease;
}
.theme-mobile-nav-list li:last-child a,
.mobile-menu-links > li:last-child > a { border-bottom: none; }
.theme-mobile-nav-list a:hover,
.theme-mobile-nav-list .theme-nav-link:hover,
.mobile-menu-links > li > a:hover { color: var(--color-primary); }

@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ------------------------------------------------------------------------ *
 * HERO
 * ------------------------------------------------------------------------ */
.hero-section {
	position: relative;
	margin-top: -72px;
	padding-top: 72px;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 20% 40%, rgba(244, 217, 154, 0.18), transparent 55%),
		radial-gradient(ellipse at 80% 60%, rgba(184, 213, 234, 0.22), transparent 60%),
		var(--color-background);
}
@media (min-width: 768px) { .hero-section { margin-top: -88px; padding-top: 88px; } }

.hero-viewport { position: relative; flex: 1; display: flex; align-items: center; }
.hero-grid {
	width: 100%;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.hero-grid { grid-template-columns: repeat(12, 1fr); padding-top: 2.5rem; padding-bottom: 2.5rem; }
	.hero-media--left { grid-column: span 4; justify-self: start; }
	.hero-copy { grid-column: span 4; }
	.hero-media--right { grid-column: span 4; justify-self: end; }
}

.hero-media { position: relative; width: 100%; }
.hero-media-inner {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}
.hero-media--left { display: none; }
.hero-media--right { display: block; }
@media (min-width: 1024px) {
	.hero-media--left { display: block; }
	.hero-media--left .hero-media-inner,
	.hero-media--right .hero-media-inner {
		margin-left: 0;
		margin-right: 0;
	}
}
@media (max-width: 1023px) {
	.hero-media--right.reveal-item[data-reveal-type="slide-x"][data-reveal-dir="right"] {
		transform: none;
	}
}
.hero-media-glow { position: absolute; inset: -2.5rem; border-radius: 3rem; filter: blur(48px); pointer-events: none; }
.hero-media-glow--ice { background: rgba(184, 213, 234, 0.15); inset: -2rem; }
.hero-media-glow--warm { inset: -2.5rem; background: rgba(244, 217, 154, 0.35); }
.hero-media-frame {
	position: relative; aspect-ratio: 3 / 4; width: 100%;
	border-radius: 2rem; overflow: hidden;
	box-shadow: var(--shadow-soft);
	border: 1px solid rgba(221, 205, 176, 0.4);
}
.hero-media-frame--lit {
	box-shadow: 0 0 40px rgba(244, 217, 154, 0.35), 0 0 80px rgba(244, 217, 154, 0.2), 0 20px 60px -12px rgba(38, 43, 54, 0.4);
	border-color: rgba(244, 217, 154, 0.5);
}

.hero-copy { text-align: center; position: relative; z-index: 10; }
.hero-title {
	font-weight: 500;
	font-size: 42px;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}
@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: 68px; } }
.hero-title-italic { display: block; font-style: italic; color: var(--color-primary); }
.hero-subtitle {
	margin-top: 1.5rem; font-size: 17px; color: rgba(38, 43, 54, 0.8);
	line-height: 1.7; max-width: 28rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 18px; } }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }

.marquee-strip { position: relative; background: var(--color-primary); color: var(--color-background); padding: 1rem 0; overflow: hidden; }
.marquee-copy { display: flex; flex-shrink: 0; align-items: center; }
.marquee-item { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; white-space: nowrap; }
.marquee-link, .marquee-text {
	font-family: var(--font-display); font-style: italic; font-size: 1.125rem;
	transition: color 0.2s ease;
}
@media (min-width: 768px) { .marquee-link, .marquee-text { font-size: 1.25rem; } }
.marquee-link:hover { color: var(--color-accent); }
.marquee-dot { color: var(--color-champagne); }

/* ------------------------------------------------------------------------ *
 * SHOP SECTION / PRODUCT GRID / CARD
 * ------------------------------------------------------------------------ */
.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	background: var(--color-card);
	border: 1px solid rgba(38, 43, 54, 0.08);
	border-radius: var(--card-radius);
	box-shadow: var(--shadow-soft);
	overflow: hidden;
	transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}
.theme-product-card-wrap:hover .theme-product-card { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }

.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 .add_to_cart_button,
.theme-product-card .theme-card-add-btn { position: relative; z-index: 3; pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-ivory-soft); }
.theme-product-card__img { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card-wrap:hover .theme-product-card__img { transform: scale(1.04); }

.theme-stock-badge {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	background: var(--color-foreground); color: var(--color-background);
	font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
	padding: 0.35rem 0.75rem; border-radius: 999px;
}

.theme-product-card__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; flex: 1; }
@media (min-width: 768px) { .theme-product-card__body { padding: 1.75rem; } }
.theme-product-card__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; min-width: 0; }
.theme-product-card__title {
	font-weight: 500; font-size: 22px; line-height: 1.2; min-width: 0;
	overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 24px; } }
.theme-product-card-wrap:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price-col { text-align: right; flex-shrink: 0; }
.theme-product-card__price-col .price,
.theme-product-card__price-col .woocommerce-Price-amount {
	display: block; font-family: var(--font-display); font-weight: 500; font-size: 24px;
	color: var(--color-primary); line-height: 1;
}
.theme-product-card__price-col del .woocommerce-Price-amount { color: rgba(38,43,54,0.5); font-size: 16px; }
.theme-product-card__desc {
	font-size: 15px; color: rgba(38, 43, 54, 0.75); line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 1rem; min-width: 0; }
.theme-product-card__view-link {
	display: inline-flex; align-items: center; gap: 0.375rem; font-size: 13px; font-weight: 500;
	color: rgba(38, 43, 54, 0.8); min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.theme-product-card-wrap:hover .theme-product-card__view-link { color: var(--color-primary); }

.shop-empty-message { text-align: center; padding-top: 3rem; padding-bottom: 3rem; font-size: 1.125rem; color: rgba(38, 43, 54, 0.6); }

/* ------------------------------------------------------------------------ *
 * SERVICES SECTION
 * ------------------------------------------------------------------------ */
.services-section { position: relative; background: var(--color-ivory-soft); }
.section-fade-top { position: absolute; inset-inline: 0; top: 0; height: 6rem; pointer-events: none; background: linear-gradient(to bottom, var(--color-background), transparent); }
.services-layout { position: relative; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .services-layout { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.services-intro { max-width: 32rem; }
@media (min-width: 1024px) { .services-intro { grid-column: span 5; } }
.services-intro .section-subtitle { margin-bottom: 0; }
.services-intro .services-cta { margin-top: 2rem; }
.capability-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .capability-grid { grid-column: span 7; } }

.capability-card {
	display: block;
	background: var(--color-card);
	border: 1px solid rgba(38, 43, 54, 0.08);
	border-radius: var(--card-radius);
	box-shadow: var(--shadow-soft);
	padding: 1.25rem;
	height: 100%;
	transition: box-shadow 0.3s ease;
}
@media (min-width: 768px) { .capability-card { padding: 1.5rem; } }
a.capability-card:hover { box-shadow: var(--shadow-elevated); }
.capability-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; min-width: 0; }
.capability-icon-badge {
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 999px;
	background: color-mix(in srgb, var(--color-accent) 40%, transparent);
	color: var(--color-primary);
}
.capability-on-request {
	font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	color: rgba(38, 43, 54, 0.6); white-space: nowrap;
}
.capability-name { font-size: 1.25rem; line-height: 1.2; margin-bottom: 0.375rem; }
.capability-desc { font-size: 15px; color: rgba(38, 43, 54, 0.75); line-height: 1.6; }

/* ------------------------------------------------------------------------ *
 * ABOUT SECTION
 * ------------------------------------------------------------------------ */
.about-section { text-align: center; overflow: hidden; }
.about-inner { max-width: 48rem; margin: 0 auto; }
.about-quote {
	font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; letter-spacing: -0.01em;
}
@media (min-width: 768px) { .about-quote { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-quote { font-size: 2.5rem; } }
.about-quote-mark { font-style: italic; color: var(--color-primary); }

/* ------------------------------------------------------------------------ *
 * CONTACT SECTION
 * ------------------------------------------------------------------------ */
.contact-section { position: relative; background: var(--color-ivory-soft); overflow: hidden; min-height: 560px; }
.contact-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.contact-bg-img { filter: saturate(0.55) contrast(0.9) brightness(1.08); }
.contact-bg-video { filter: saturate(0.5) contrast(0.88) brightness(1.08); opacity: 0.95; }
.contact-bg-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ivory-soft) 86%, transparent); }
.contact-bg-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 40%, transparent), transparent, color-mix(in srgb, var(--color-background) 50%, transparent)); }
.contact-content { position: relative; z-index: 10; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.contact-intro { }
@media (min-width: 1024px) { .contact-intro { grid-column: span 5; } }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .contact-cards { grid-column: span 7; } }
.contact-card { background: var(--color-card); border: 1px solid rgba(38,43,54,0.08); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); padding: 1.5rem; }
.contact-card--wide { grid-column: 1 / -1; }
.contact-icon-badge {
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 999px; margin-bottom: 1rem;
	background: color-mix(in srgb, var(--color-accent) 40%, transparent);
	color: var(--color-primary);
}
.contact-card-label { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(38,43,54,0.7); margin-bottom: 0.5rem; }
.contact-card-value {
	font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3;
	transition: color 0.2s ease; word-break: break-word; overflow-wrap: break-word; display: block;
}
@media (min-width: 640px) { .contact-card-value { font-size: 1.25rem; } }
.contact-card:hover .contact-card-value { color: var(--color-primary); }
.contact-card-social { display: flex; align-items: center; gap: 1rem; }
.contact-card-social .contact-icon-badge { margin-bottom: 0; }

/* ------------------------------------------------------------------------ *
 * FOOTER
 * ------------------------------------------------------------------------ */
.site-footer { background: var(--color-foreground); color: var(--color-background); }
.footer-divider { height: 1px; width: 100%; background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-champagne) 50%, transparent), transparent); }
.footer-inner { padding-top: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) {
	.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; } }
.footer-col--brand { }
@media (min-width: 768px) { .footer-col--brand { grid-column: span 5; } .footer-col--nav { grid-column: span 3; } .footer-col--contact { grid-column: span 4; } }
.footer-logo-img { width: 170px; height: auto !important; }
@media (min-width: 640px) { .footer-logo-img { width: 200px; } }
@media (min-width: 768px) { .footer-logo-img { width: 220px; } }
.footer-tagline { margin-top: 1rem; font-size: 15px; color: rgba(249,246,241,0.85); line-height: 1.6; max-width: 24rem; }
.footer-social-btn {
	margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0 1rem; height: 2.5rem; border: 1px solid rgba(249,246,241,0.25); border-radius: 999px;
	font-size: 13px; font-weight: 500; transition: all 0.2s ease;
}
.footer-social-btn:hover { color: var(--color-foreground); background: var(--color-accent); border-color: var(--color-accent); }
.footer-col-label { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-champagne); margin-bottom: 1.25rem; }
.footer-col--nav ul,
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.footer-col--nav a,
.footer-nav-list a,
.footer-nav-list .theme-nav-link,
.footer-nav-link {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 15px;
	color: rgba(249, 246, 241, 0.85);
	transition: color 0.2s ease;
	background: none;
	border: none;
	padding: 0;
	text-align: left;
}
.footer-col--nav a:hover,
.footer-nav-list a:hover,
.footer-nav-list .theme-nav-link:hover,
.footer-nav-link:hover { color: var(--color-accent); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-link { display: inline-flex; align-items: flex-start; gap: 0.625rem; font-size: 14px; color: rgba(249,246,241,0.9); transition: color 0.2s ease; word-break: break-word; overflow-wrap: break-word; }
.footer-contact-link:hover { color: var(--color-accent); }
.footer-contact-link svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-address { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 15px; color: rgba(249,246,241,0.9); }
.footer-contact-address svg { flex-shrink: 0; margin-top: 2px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(249,246,241,0.12); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copyright { font-size: 12px; color: rgba(249,246,241,0.55); }

/* ------------------------------------------------------------------------ *
 * SIDE CART DRAWER + OVERLAY (Sections 12, 22.5, 31)
 * ------------------------------------------------------------------------ */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 59;
	background: rgba(38, 43, 54, 0.5); backdrop-filter: blur(4px);
	opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
body.cart-open #theme-cart-drawer { pointer-events: auto; }
.theme-cart-panel {
	position: absolute; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); color: var(--color-foreground);
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.cart-open .theme-cart-panel { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-header { padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(221,205,176,0.4); }
.theme-cart-eyebrow { display: block; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(38,43,54,0.6); margin-bottom: 0.25rem; }
.theme-cart-title { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1; }
.theme-cart-close { padding: 0.5rem; transition: color 0.2s ease; }
.theme-cart-close:hover { color: var(--color-primary); }

.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.theme-cart-empty-icon { width: 4rem; height: 4rem; border-radius: 999px; border: 1px solid rgba(221,205,176,0.6); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: rgba(38,43,54,0.6); }
.theme-cart-empty-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-cart-empty-text { font-size: 14px; color: rgba(38,43,54,0.7); margin-bottom: 1.5rem; }

.theme-cart-items { flex: 1; overflow: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-item { display: flex; gap: 1rem; background: color-mix(in srgb, var(--color-background) 60%, transparent); border: 1px solid rgba(38,43,54,0.08); border-radius: var(--radius); padding: 0.75rem; }
.theme-cart-item-thumb { width: 5rem; height: 5rem; background: var(--color-ivory-soft); overflow: hidden; flex-shrink: 0; border-radius: 0.5rem; display: block; }
.theme-cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-cart-item-name { font-family: var(--font-display); font-size: 17px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; transition: color 0.2s ease; }
.theme-cart-item-name:hover { color: var(--color-primary); }
.theme-cart-item-line-total { font-family: var(--font-display); font-size: 16px; color: var(--color-primary); flex-shrink: 0; }
.theme-cart-item-each, .theme-cart-item-variation { font-size: 11px; color: rgba(38,43,54,0.6); margin-top: 0.125rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.625rem; }
.theme-cart-qty-stepper { display: inline-flex; align-items: center; border: 1px solid rgba(38,43,54,0.15); border-radius: 999px; background: var(--color-background); }
.theme-cart-qty-btn { padding: 0.375rem 0.625rem; transition: color 0.2s ease; }
.theme-cart-qty-btn:hover { color: var(--color-primary); }
.theme-cart-qty-value { padding: 0 0.5rem; font-size: 14px; font-weight: 500; min-width: 28px; text-align: center; }
.theme-cart-remove { margin-left: auto; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 11px; color: rgba(38,43,54,0.6); transition: color 0.2s ease; }
.theme-cart-remove:hover { color: var(--color-primary); }

.theme-cart-footer { border-top: 1px solid rgba(221,205,176,0.4); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; background: var(--color-ivory-soft); }
.theme-cart-subtotal-row { display: flex; align-items: baseline; justify-content: space-between; }
.theme-cart-subtotal-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(38,43,54,0.7); }
.theme-cart-subtotal-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-continue-link { width: 100%; text-align: center; font-size: 12px; color: rgba(38,43,54,0.7); padding: 0.25rem 0; transition: color 0.2s ease; }
.theme-cart-continue-link:hover { color: var(--color-foreground); }
.theme-cart-empty-link { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 11px; color: rgba(38,43,54,0.6); transition: color 0.2s ease; }
.theme-cart-empty-link:hover { color: var(--color-primary); }

/* ------------------------------------------------------------------------ *
 * WOOCOMMERCE ADD-TO-CART BUTTON OVERRIDES (Section 11.4.1)
 * ------------------------------------------------------------------------ */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
/* Card compact button — overrides global rules for the product card variant */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-card-add-btn {
	min-height: unset !important;
	padding: 0.65rem 1rem !important;
	border-radius: 999px !important;
	font-size: 12px !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Hide WooCommerce's injected "View cart" link (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Scoped notice hiding (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body);
	border-top-color: var(--color-primary);
	border-radius: var(--radius);
}

/* ------------------------------------------------------------------------ *
 * SINGLE PRODUCT PAGE
 * ------------------------------------------------------------------------ */
.single-product-breadcrumb { border-bottom: 1px solid rgba(38,43,54,0.08); }
.breadcrumb-nav { padding-top: 1rem; padding-bottom: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 12px; color: rgba(38,43,54,0.6); }
.breadcrumb-link { display: inline-flex; align-items: center; gap: 0.375rem; transition: color 0.2s ease; }
.breadcrumb-link:hover { color: var(--color-foreground); }
.breadcrumb-current { color: var(--color-foreground); max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.single-product-container { padding-top: 2.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .single-product-container { padding-top: 3.5rem; padding-bottom: 4rem; } }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; padding-bottom: 4rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }

.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7; } }
.theme-product-main-image {
	position: relative; border-radius: var(--card-radius); overflow: hidden;
	border: 1px solid rgba(38,43,54,0.08); background: var(--color-ivory-soft); box-shadow: var(--shadow-soft);
	aspect-ratio: 1 / 1;
}
.theme-product-gallery-img { display: block; }
.theme-product-category-badge {
	position: absolute; top: 1rem; left: 1rem; z-index: 2;
	display: inline-flex; padding: 0.25rem 0.75rem; border-radius: 999px;
	font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
	background: color-mix(in srgb, var(--color-background) 92%, transparent);
	backdrop-filter: blur(4px); border: 1px solid rgba(221,205,176,0.4);
}
.theme-product-category-badge a { color: inherit; }
.theme-product-thumbnails { display: flex; flex-wrap: nowrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; padding-bottom: 0.25rem; overflow-x: auto; }
.theme-product-thumb {
	position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden;
	border-radius: 0.75rem; border: 2px solid rgba(38,43,54,0.12); transition: border-color 0.2s ease;
}
@media (min-width: 768px) { .theme-product-thumb { width: 6rem; height: 6rem; } }
.theme-product-thumb:hover { border-color: rgba(38,43,54,0.4); }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { grid-column: span 5; position: sticky; top: calc(var(--header-height) + 1.5rem); align-self: start; } }
body.admin-bar .theme-product-info { top: calc(var(--header-height) + var(--wp-admin-bar-height, 32px) + 1.5rem); }
.theme-product-info-card { background: var(--color-card); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); border: 1px solid rgba(38,43,54,0.08); padding: 1.5rem; }
@media (min-width: 768px) { .theme-product-info-card { padding: 2rem; } }
.theme-product-eyebrow { margin-bottom: 0.75rem; }
.theme-product-eyebrow a { color: inherit; }
.product-title.theme-product-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.875rem;
	line-height: 1.1;
	letter-spacing: -0.01em;
}
@media (min-width: 768px) { .product-title.theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-title { font-size: 42px; } }
.theme-product-price-row { margin-top: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-price-wrap { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.theme-product-price-row .theme-product-price .woocommerce-Price-amount,
.theme-product-price-row .price .woocommerce-Price-amount {
	font-family: var(--font-display); font-weight: 500; font-size: 2.5rem; color: var(--color-primary); line-height: 1;
}
@media (min-width: 768px) {
	.theme-product-price-row .theme-product-price .woocommerce-Price-amount,
	.theme-product-price-row .price .woocommerce-Price-amount { font-size: 3rem; }
}
.theme-product-price-currency {
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(38, 43, 54, 0.6);
	font-family: var(--font-body);
	font-weight: 500;
}
.theme-product-price-row .price { margin: 0; }
.theme-product-description { font-size: 15px; color: rgba(38,43,54,0.75); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-product-description p { margin-bottom: 1em; }
.theme-product-divider { height: 1px; margin: 1.75rem 0; background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-champagne) 50%, transparent), transparent); }

.theme-stock-indicator { font-size: 13px; font-weight: 500; margin-bottom: 1rem; }
.theme-stock-indicator--out { color: #a02323; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: stretch; border: 1px solid rgba(38,43,54,0.15); border-radius: 999px; background: var(--color-background); flex-shrink: 0; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input {
	width: 3.25rem; min-width: 3.25rem; text-align: center; border: none; background: transparent;
	font-family: var(--font-body); font-weight: 500; font-size: 15px; color: var(--color-foreground);
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-details-card { margin-top: 1.5rem; background: var(--color-card); border-radius: var(--card-radius); box-shadow: var(--shadow-soft); border: 1px solid rgba(38,43,54,0.08); overflow: hidden; }
.theme-details-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; text-align: left; }
.theme-details-toggle-label { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; }
.theme-details-chevron { transition: transform 0.2s ease; }
.theme-details-toggle[aria-expanded="false"] .theme-details-chevron { transform: rotate(180deg); }
.theme-details-content { padding: 0 1.25rem 1.5rem; }
.theme-details-content[hidden] { display: none; }
.theme-details-list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-details-list li { display: flex; align-items: flex-start; font-size: 15px; color: rgba(38,43,54,0.75); }
.theme-details-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--color-champagne); margin-top: 8px; margin-right: 0.75rem; flex-shrink: 0; }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.5rem; font-weight: 500; }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1.25rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	padding: 0.625rem 1rem; font-size: 12px; font-weight: 500; border: 1px solid rgba(38,43,54,0.2);
	border-radius: 999px; color: var(--color-foreground); transition: all 0.2s ease;
}
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

/* Related products */
.related-products-section { padding-top: 4rem; padding-bottom: 4rem; border-top: 1px solid rgba(38,43,54,0.08); }
.related-products-header { text-align: center; margin-bottom: 2.5rem; }
.related-products-title { font-size: 1.875rem; line-height: 1.2; font-weight: 500; }
@media (min-width: 768px) { .related-products-title { font-size: 2.25rem; } }
.related-products-footer { text-align: center; margin-top: 2.5rem; }

/* Screen reader + hide leaked block editor product output */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.single-product-main .entry-content,
.single-product-main .wp-block-woocommerce-product-meta,
.single-product-main .product_meta,
.single-product-main .woocommerce-tabs { display: none !important; }

.single_add_to_cart_button .theme-atc-icon--check[hidden] { display: none; }
.single_add_to_cart_button.theme-atc-added .theme-atc-icon--add { display: none; }
.single_add_to_cart_button.theme-atc-added .theme-atc-icon--check { display: inline-flex; }

/* ------------------------------------------------------------------------ *
 * SHOP ARCHIVE / GENERIC PAGES / 404
 * ------------------------------------------------------------------------ */
.shop-archive-header { text-align: center; margin-bottom: 3rem; }
.page-title { font-weight: 500; font-size: 2.5rem; margin-bottom: 1.5rem; }
.not-found-main { display: flex; align-items: center; justify-content: center; min-height: 70vh; background: var(--color-ivory-soft); }
.not-found-inner { text-align: center; }
.not-found-code { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.not-found-message { font-size: 1.25rem; color: rgba(38,43,54,0.7); margin-bottom: 1rem; }
.not-found-link { color: var(--color-primary); text-decoration: underline; }
.not-found-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, black); }

/* ------------------------------------------------------------------------ *
 * THANK YOU PAGE (Section 22.8)
 * ------------------------------------------------------------------------ */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { border-right: none; padding: 0.75rem 1.25rem; background: var(--color-card); border-radius: var(--radius); }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1rem 0 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 rgba(38,43,54,0.1); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid rgba(38,43,54,0.1); border-radius: var(--radius); padding: 1rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}

/* ------------------------------------------------------------------------ *
 * WOOCOMMERCE CHECKOUT BLOCK OVERRIDES (Section 13)
 * ------------------------------------------------------------------------ */
body.woocommerce-checkout .site-main { padding-top: 1rem; padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-cart .entry-content > .woocommerce,
body.woocommerce-cart .entry-content > .wp-block-woocommerce-cart {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { margin-bottom: 2rem; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notice-banner { grid-column: 1 / -1; }
}

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-card);
	border-radius: var(--card-radius);
	padding: 2rem;
	order: 2;
}
body.woocommerce-checkout .wc-block-checkout__main { order: 1; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout__sidebar { order: initial; }
}

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: 15px;
	color: var(--color-foreground);
	border: 1px solid rgba(38,43,54,0.2);
	border-radius: var(--radius);
	background-color: var(--color-background);
	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 {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 60%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: rgba(38,43,54,0.4); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 500 !important;
	text-transform: none !important;
	min-height: var(--btn-height) !important;
	width: 100%;
}
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); }

/* Cart & My Account width/alignment parity (Section 13.7) */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 1rem; padding-bottom: 4rem; }

/* ------------------------------------------------------------------------ *
 * CUSTOMIZER CONTROLS PANEL (Section 22.3.8)
 * ------------------------------------------------------------------------ */
