/* ==========================================================================
   Imagine That Tees and More — theme.css
   Ported from the source design (src/index.css + component styles).
   ========================================================================== */

:root {
	--color-background: #FBF7F1;
	--color-surface-alt: #F3ECDF;
	--color-sand: #E8DFD1;
	--color-primary: #6E1F2E;
	--color-primary-deep: #4A1420;
	--color-primary-hover: #8B2A3D;
	--color-blue-grey: #8FA3B0;
	--color-blue-grey-deep: #5F7683;
	--color-wood: #B08558;
	--color-charcoal: #2A2422;
	--color-button-text: #FBF7F1;

	--font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
	--font-body: 'Inter', system-ui, sans-serif;

	--radius: 0.35rem;
	--card-radius: 0.5rem;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 0.2rem;
	--btn-height: 52px;
	--btn-padding: 0.9rem 1.75rem;
	--btn-font-size: 14px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--logo-height: 56px;
	--header-height: 96px;
	--checkout-gap: 2rem;
}

/* -------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-charcoal);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button,
[role="button"],
.theme-filter-pill,
.cs-cta-primary,
.theme-btn-outline,
.theme-btn-outline-hero,
.theme-btn-primary,
.theme-product-card,
.theme-faq-question,
.theme-product-thumb,
.theme-category-card,
.theme-cart-btn,
.theme-nav-toggle,
summary,
label[for],
input[type="submit"],
input[type="button"],
input[type="reset"] {
	cursor: pointer;
}
button { font-family: inherit; border: none; background: none; }
button:disabled,
a[aria-disabled="true"],
.theme-btn-primary:disabled,
.theme-btn-primary.disabled {
	cursor: not-allowed;
}
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.005em;
	color: var(--color-charcoal);
	margin: 0;
}
p { margin: 0; }

/* Global image rule, excluding cover/full-bleed images (Section 15.1). */
img:not(.cover-img):not(.theme-product-card__image):not(.theme-product-main-img) {
	max-width: 100%;
	height: auto;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
/* Product cards: contain + padded, matching Lovable ProductCard (aspect 4/5). */
.theme-product-card__image {
	position: static;
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 0;
	transition: transform 1100ms ease-out;
}
.theme-product-card:hover .theme-product-card__image {
	transform: scale(1.05);
}

/* ------------------------------ Container ------------------------------ */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.theme-max-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.theme-max-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.theme-max-6xl { max-width: 72rem; margin-left: auto; margin-right: auto; }

/* -------------------------------- Sections ------------------------------ */
.theme-section { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-section { padding: 7rem 0; } }
.cs-section-cream { background-color: var(--color-background); color: var(--color-charcoal); }
.cs-section-cream-alt { background-color: var(--color-surface-alt); color: var(--color-charcoal); }

.theme-section--media { position: relative; overflow: hidden; padding: 6rem 0; }
@media (min-width: 1024px) { .theme-section--media { padding: 8rem 0; } }
.theme-section-bg { position: absolute; inset: 0; }
.theme-section-inner { position: relative; z-index: 2; }
.theme-section-scrim { position: absolute; inset: 0; }
.theme-section-scrim--journey { background: linear-gradient(180deg, rgba(30,24,22,0.78) 0%, rgba(58,14,24,0.88) 100%); }
.theme-section-scrim--craft { background: linear-gradient(180deg, rgba(42,36,34,0.55) 0%, rgba(74,20,32,0.7) 100%); }
.theme-section-scrim--cta { background: linear-gradient(180deg, rgba(42,36,34,0.6) 0%, rgba(74,20,32,0.75) 100%); }

.theme-section-heading-block { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.theme-section-heading-block--light .cs-label,
.theme-section-heading-block--light .section-heading { color: var(--color-background); }
.theme-eyebrow { color: var(--color-primary); display: block; }

.cs-label {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 14px;
	line-height: 1.2;
}

/* Per-section heading scales (Section 2.2.5) — never a single global clamp. */
.section-heading { font-weight: 500; margin-top: 0.75rem; }
.about-section-heading { font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 768px) { .about-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section-heading { font-size: 3.75rem; } }

.offerings-section-heading { font-size: 2.25rem; line-height: 1.1; }
@media (min-width: 768px) { .offerings-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .offerings-section-heading { font-size: 3.75rem; } }

.shop-heading, .craft-heading { font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .shop-heading, .craft-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading, .craft-heading { font-size: 3.75rem; } }

.cta-band__title { font-size: 2.25rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3.75rem; } }

.itm-script { font-family: var(--font-display); font-style: italic; }

/* -------------------------------- Buttons ------------------------------- */
.cs-cta-primary {
	background-color: var(--color-primary);
	color: var(--color-button-text);
	transition: transform 400ms ease-out, background-color 300ms ease-out;
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
}
.cs-cta-primary:hover { background-color: var(--color-primary-deep); color: var(--color-button-text); transform: translateY(-2px); }

.theme-btn-outline-hero {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: none;
	background-color: rgba(251,247,241,0.15);
	color: var(--color-background);
	border: 1px solid var(--color-background);
	backdrop-filter: blur(4px);
	transition: background-color 300ms ease-out;
}
.theme-btn-outline-hero:hover { background-color: rgba(251,247,241,0.28); }

.theme-btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: var(--btn-radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	background: transparent;
	color: var(--color-charcoal);
	font-size: 14px;
	transition: background-color 200ms ease-out;
}
.theme-btn-outline:hover { background-color: var(--color-surface-alt); }

.theme-btn-lg { padding: 1rem 2rem; }

.theme-btn-primary {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--card-radius) !important;
	padding: 1rem 1.5rem !important;
	text-transform: uppercase;
	letter-spacing: var(--btn-letter-spacing);
	font-weight: var(--btn-font-weight);
	font-size: var(--btn-font-size);
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	width: 100%;
}
.theme-btn-primary:hover { opacity: 0.88; }
.theme-btn-primary.disabled, .theme-btn-primary:disabled { opacity: 0.4 !important; cursor: not-allowed !important; pointer-events: none !important; }

/* Hero CTAs / single-product add-to-cart must never be uppercased if the
   source doesn't uppercase them — but the source DOES uppercase these
   (tracking-[0.16em] uppercase), so keep --btn-text-transform: uppercase
   consistently applied above; only the product title/variation labels
   are exempted (Section 2.2.4). */
.product-title, .variations label { text-transform: none; font-style: normal; }

/* ------------------------------- Signature -------------------------------- */
.itm-ribbon-tag {
	position: absolute; top: 12px; left: 12px; padding: 4px 10px;
	background: var(--color-background); color: var(--color-primary);
	border: 1px solid var(--color-primary);
	font-family: var(--font-display); font-style: italic; font-size: 12px;
	letter-spacing: 0.02em; border-radius: 2px; z-index: 2; pointer-events: none;
}
.itm-ribbon-tag::before {
	content: ''; position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
	width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
	border-right: 6px solid var(--color-primary);
}
.itm-wood-divider {
	height: 6px;
	background: repeating-linear-gradient(90deg,
		color-mix(in srgb, var(--color-wood) 18%, transparent) 0,
		color-mix(in srgb, var(--color-wood) 28%, transparent) 2px,
		color-mix(in srgb, var(--color-wood) 14%, transparent) 4px,
		color-mix(in srgb, var(--color-wood) 32%, transparent) 6px,
		color-mix(in srgb, var(--color-wood) 18%, transparent) 12px);
	border-top: 1px solid color-mix(in srgb, var(--color-wood) 40%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-wood) 40%, transparent);
}

.itm-icon-circle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--color-primary); color: var(--color-primary);
	transition: background-color 300ms ease-out, color 300ms ease-out, border-color 300ms ease-out;
}
.itm-icon-circle:hover,
a:hover .itm-icon-circle, button:hover .itm-icon-circle, .group:hover .itm-icon-circle,
.itm-card-interactive:hover .itm-icon-circle, .theme-category-card:hover .itm-icon-circle,
.theme-step-card:hover .itm-icon-circle, .theme-why-card:hover .itm-icon-circle {
	background-color: var(--color-primary) !important; color: var(--color-background) !important; border-color: var(--color-primary) !important;
}
.theme-icon-circle-sm { width: 32px; height: 32px; border-color: rgba(251,247,241,0.35); color: var(--color-background); }
.theme-icon-circle-md { width: 44px; height: 44px; }
.theme-step-icon { width: 104px; height: 104px; background-color: var(--color-background); }
.theme-why-icon { width: 52px; height: 52px; border-width: 1.5px; }
.theme-category-icon { width: 44px; height: 44px; flex-shrink: 0; }

.itm-card-interactive { transition: transform 500ms cubic-bezier(0.22,1,0.36,1), border-color 400ms ease-out, opacity 400ms ease-out; will-change: transform; }
.itm-card-interactive:hover { transform: translateY(-4px); border-color: var(--color-primary) !important; }
.cs-card-hover-aggressive { position: relative; z-index: 1; transition: transform 500ms cubic-bezier(0.22,1,0.36,1), border-color 300ms ease-out; will-change: transform; }
.cs-card-hover-aggressive:hover { z-index: 10; transform: translateY(-6px); }

.itm-moving-burgundy-bg {
	background: linear-gradient(135deg, var(--color-background) 0%, color-mix(in srgb, var(--color-primary) 14%, transparent) 30%, var(--color-surface-alt) 55%, color-mix(in srgb, var(--color-primary) 22%, transparent) 80%, var(--color-background) 100%);
	background-size: 400% 400%;
	animation: itm-burgundy-gradient-move 10s ease-in-out infinite;
}
@keyframes itm-burgundy-gradient-move {
	0% { background-position: 0% 50%; } 25% { background-position: 100% 0%; }
	50% { background-position: 100% 100%; } 75% { background-position: 0% 100%; } 100% { background-position: 0% 50%; }
}

.itm-perspective { perspective: 1200px; }
[data-tilt] { transform-style: preserve-3d; transition: transform 400ms cubic-bezier(0.22,1,0.36,1); }

@keyframes itm-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.itm-breathe { animation: itm-breathe 5s ease-in-out infinite; animation-delay: var(--itm-breathe-delay, 0ms); will-change: transform; }

.itm-line-top { position: relative; }
.itm-line-top::before {
	content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
	background: var(--color-primary); transform: scaleX(0); transform-origin: left center;
	transition: transform 1000ms cubic-bezier(0.22,1,0.36,1); transition-delay: var(--cs-fade-delay, 0ms);
	pointer-events: none; z-index: 2;
}
.reveal-item.is-visible.itm-line-top::before { transform: scaleX(1); }

.itm-linedraw-num { clip-path: inset(0 100% 0 0); transition: clip-path 1400ms cubic-bezier(0.22,1,0.36,1); transition-delay: var(--cs-fade-delay, 0ms); }
.reveal-item.is-visible .itm-linedraw-num { clip-path: inset(0 0 0 0); }

@keyframes ken-burns {
	0% { transform: scale(1) translate3d(0,0,0); }
	50% { transform: scale(1.22) translate3d(-3%,-2.5%,0); }
	100% { transform: scale(1) translate3d(0,0,0); }
}
.ken-burns { animation: ken-burns 40s ease-in-out infinite; will-change: transform; }

/* ------------------------- Scroll reveal system -------------------------- */
.reveal-item {
	opacity: 0; transform: translateY(20px);
	transition: opacity 900ms cubic-bezier(0.22,1,0.36,1), transform 900ms cubic-bezier(0.22,1,0.36,1);
	transition-delay: var(--cs-fade-delay, 0ms);
}
.reveal-item.is-visible { opacity: 1; transform: none; }
.reveal-item[data-reveal="fade-left"] { transform: translateX(-24px); }
.reveal-item[data-reveal="fade-left"].is-visible { transform: none; }
.reveal-item[data-reveal="fade-right"] { transform: translateX(24px); }
.reveal-item[data-reveal="fade-right"].is-visible { transform: none; }
.reveal-item.itm-3d-tilt { transform: translateY(20px) rotateX(6deg); transform-origin: center top; }
.reveal-item.itm-3d-tilt.is-visible { transform: none; }

/* Customizer preview fallback — reveal content must never stay hidden in
   the editor (Section 2.1 #5). */
body.is-customizer .reveal-item,
body.is-customizer .reveal-item[data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
	.itm-moving-burgundy-bg, .ken-burns, .itm-breathe { animation: none !important; }
	[data-tilt] { transform: none !important; }
	.itm-line-top::before, .itm-linedraw-num { transition: none !important; }
}

/* ---------------------------- Announcement bar ---------------------------- */
.theme-announcement-bar { position: relative; background-color: var(--color-primary); border-bottom: 1px solid color-mix(in srgb, var(--color-primary-deep) 40%, transparent); }
.theme-announcement-inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-text { color: var(--color-background); margin: 0; }
.theme-announcement-close { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); padding: 0.25rem; color: rgba(251,247,241,0.8); }
.theme-announcement-close:hover { color: var(--color-background); }

/* -------------------------------- Header -------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	background-color: rgba(251,247,241,0.88);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	transition: background-color 500ms ease-out;
}
.site-header.is-solid,
.site-header.theme-header-scrolled { background-color: rgba(251,247,241,0.96); }
.theme-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 1rem; }
@media (min-width: 768px) { .theme-nav { height: 6rem; } }
.theme-logo-link { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; padding: 0.5rem 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: transform 500ms ease-out; }
.theme-logo-link:hover .site-logo-img { transform: scale(1.03); }
.site-logo-text { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--color-charcoal); line-height: var(--logo-height); }
.theme-nav-primary { display: none; }
@media (min-width: 1024px) { .theme-nav-primary { display: flex; align-items: center; gap: 1.75rem; position: absolute; left: 50%; transform: translateX(-50%); } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-link, .theme-nav-list a {
	font-size: 14px; color: var(--color-charcoal); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500;
	white-space: nowrap; transition: color 200ms ease-out;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-primary); }
.theme-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .theme-nav-actions { gap: 0.75rem; } }
.theme-shop-now-btn { padding: 0.65rem 1.25rem; display: none; }
@media (min-width: 640px) { .theme-shop-now-btn { display: inline-flex; } }
.theme-cart-btn {
	position: relative; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary);
	display: inline-flex; align-items: center; justify-content: center; transition: background-color 200ms;
}
.theme-cart-count {
	position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 50%; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center;
	background: var(--color-primary); color: var(--color-background);
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; color: var(--color-charcoal); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle:hover { color: var(--color-primary); }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-close { display: block !important; }

.theme-mobile-menu {
	display: none; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	background-color: var(--color-background); padding: 1rem 0;
}
.theme-mobile-menu.is-open { display: block; animation: fadeIn 0.4s var(--transition-smooth) forwards; }
.theme-mobile-nav-list,
#theme-mobile-menu .theme-nav-list {
	display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem;
}
.theme-mobile-nav-list li,
#theme-mobile-menu .theme-nav-list li { list-style: none; width: 100%; }
.theme-mobile-nav-list a,
#theme-mobile-menu .theme-nav-list a,
#theme-mobile-menu .theme-nav-link {
	display: block; width: 100%; padding: 0.75rem 0.5rem; border-radius: var(--radius);
	color: var(--color-charcoal); text-transform: uppercase; letter-spacing: 0.14em;
	font-size: 15px; font-weight: 500; white-space: normal; text-align: left;
	transition: background-color 200ms, color 200ms;
}
.theme-mobile-nav-list a:hover,
#theme-mobile-menu .theme-nav-list a:hover,
#theme-mobile-menu .theme-nav-link:hover {
	background-color: var(--color-surface-alt); color: var(--color-primary);
}
.theme-mobile-shop-btn { display: flex; width: 100%; margin-top: 0.5rem; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Hero must fill viewport under fixed transparent header (Section 22.7). */
body.theme-no-hero .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

/* -------------------------------- Hero -------------------------------- */
.theme-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: var(--color-background); }
.theme-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background-color: var(--color-background); }
.theme-hero-poster, .theme-hero-video { transition: opacity 700ms ease; }
.theme-hero-video { opacity: 0; }
.theme-hero-video.is-ready { opacity: 1; }
.theme-hero-video.is-ready + .theme-hero-poster,
.theme-hero-poster.is-hidden { opacity: 0; }
.theme-hero-radial {
	position: absolute; inset: 0; opacity: 0.7; mix-blend-mode: multiply;
	background: radial-gradient(600px circle at 18% 28%, color-mix(in srgb, var(--color-primary) 18%, transparent), transparent 60%),
		radial-gradient(500px circle at 82% 72%, color-mix(in srgb, var(--color-blue-grey) 22%, transparent), transparent 60%),
		radial-gradient(300px circle at 62% 18%, color-mix(in srgb, var(--color-wood) 15%, transparent), transparent 60%);
}
.theme-hero-scrim {
	position: absolute; inset: 0; pointer-events: none; z-index: 2;
	background: linear-gradient(180deg, rgba(42,36,34,0.35) 0%, rgba(42,36,34,0.15) 45%, rgba(42,36,34,0.55) 100%);
}
/* Only vertical padding — keep .container-wide side gutters for phone/tablet. */
.theme-hero-inner {
	position: relative; z-index: 10;
	padding-top: 6rem; padding-bottom: 8rem;
}
.theme-hero-inner.container-wide {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (max-width: 479px) {
	.theme-hero-inner.container-wide {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}
@media (min-width: 1024px) {
	.theme-hero-inner.container-wide {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}
.theme-hero-content { max-width: 48rem; margin: 0 auto; text-align: center; }
.theme-hero-badge {
	display: inline-block; margin-bottom: 1.5rem; padding: 0.4rem 1rem; border-radius: 999px;
	background-color: rgba(251,247,241,0.85); color: var(--color-primary); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.theme-hero-title {
	font-family: var(--font-display); font-weight: 500; color: var(--color-background);
	text-shadow: 0 2px 24px rgba(42,36,34,0.4); line-height: 1.02; margin-bottom: 1.5rem;
	font-size: 2.625rem;
}
@media (min-width: 640px) { .theme-hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .theme-hero-title { font-size: 5.5rem; } }
.theme-hero-title-script { color: var(--color-wood); }
.theme-hero-subtext { font-size: 15px; line-height: 1.7; margin-bottom: 2.25rem; max-width: 42rem; margin-left: auto; margin-right: auto; color: var(--color-background); opacity: 0.95; }
@media (min-width: 768px) { .theme-hero-subtext { font-size: 17px; } }
.theme-hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .theme-hero-ctas { flex-direction: row; } }

/* ------------------------------- Categories ------------------------------ */
.theme-categories-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .theme-categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-categories-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-category-card {
	display: flex; flex-direction: column; overflow: hidden; border-radius: var(--card-radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	background-color: var(--color-surface-alt); cursor: pointer;
}
.theme-category-card__image-wrapper { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.theme-category-card__image-wrapper .cover-img { transition: transform 1000ms ease-out; }
.theme-category-card:hover .theme-category-card__image-wrapper .cover-img { transform: scale(1.06); }
.theme-category-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(42,36,34,0.5) 100%); }
.theme-category-card__body { padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.theme-category-card__text { flex: 1; min-width: 0; }
.theme-category-card__title { font-size: 1.375rem; line-height: 1.25; margin-bottom: 0.25rem; }
.theme-category-card__tagline { font-size: 14px; opacity: 0.75; }
.theme-category-card__cta { display: inline-flex; align-items: center; gap: 0.375rem; margin-top: 0.75rem; color: var(--color-primary); transition: transform 200ms; }
.theme-category-card:hover .theme-category-card__cta { transform: translateX(4px); }

/* --------------------------------- Steps --------------------------------- */
.theme-steps-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .theme-steps-grid { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; } }
.theme-step-card {
	position: relative; text-align: center; padding: 2rem 1rem; border-radius: var(--card-radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	background-color: var(--color-surface-alt);
}
.theme-step-icon { margin: 0 auto 1.25rem; }
.theme-step-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-step-body { font-size: 14px; line-height: 1.6; opacity: 0.8; max-width: 17.5rem; margin: 0 auto; }

/* ---------------------------------- About --------------------------------- */
.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .theme-about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.theme-about-image-wrapper { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-about-image { transition: transform 1400ms ease-out; }
.theme-about-image-wrapper:hover .theme-about-image { transform: scale(1.1); }
.theme-about-paragraph { font-size: 15px; line-height: 1.7; margin-bottom: 1rem; }
.theme-about-quote { padding-left: 1.5rem; border-left: 2px solid var(--color-primary); margin: 2rem 0; }
.theme-about-quote p { font-size: 1.5rem; line-height: 1.3; color: var(--color-primary); }
@media (min-width: 768px) { .theme-about-quote p { font-size: 1.875rem; } }
.theme-about-quote footer { margin-top: 1rem; opacity: 0.7; }

/* ------------------------------- Why choose -------------------------------- */
.theme-why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .theme-why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-why-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.theme-why-card { position: relative; padding: 1.5rem; background-color: var(--color-background); overflow: hidden; border-top: 3px solid var(--color-primary); }
.theme-why-number { display: block; margin-bottom: 0.75rem; color: var(--color-primary); }
.theme-why-icon { margin-bottom: 1.5rem; background-color: transparent; border-width: 1.5px; }
.theme-why-title { font-size: 1.125rem; margin-bottom: 0.5rem; line-height: 1.25; }
.theme-why-body { font-size: 14px; line-height: 1.6; opacity: 0.75; }

/* -------------------------------- Timeline --------------------------------- */
.theme-timeline-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-timeline-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-timeline-grid { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; } }
.theme-timeline-card {
	position: relative; padding: 2rem; border-radius: var(--card-radius); overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	background-color: var(--color-surface-alt);
}
.theme-timeline-num { position: absolute; top: -0.5rem; right: -0.5rem; font-size: 6.5rem; line-height: 1; opacity: 0.1; color: var(--color-primary); user-select: none; }
.theme-timeline-chapter { display: inline-block; color: var(--color-primary); }
.theme-timeline-title { font-size: 1.5rem; margin: 0.75rem 0; position: relative; z-index: 1; }
.theme-timeline-body { font-size: 14px; line-height: 1.6; opacity: 0.8; position: relative; z-index: 1; }

/* -------------------------------- Founders --------------------------------- */
.theme-founders-subheading { font-size: 1.5rem; margin-top: 0.75rem; color: var(--color-primary); }
.theme-founders-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .theme-founders-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 3rem; } }
.theme-founder-card { border-radius: var(--card-radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); background-color: var(--color-background); }
.theme-founder-image-wrapper { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.theme-founder-image-wrapper .cover-img { transition: transform 1400ms ease-out; }
.theme-founder-card:hover .theme-founder-image-wrapper .cover-img { transform: scale(1.1); }
.theme-founder-body { padding: 1.5rem; }
@media (min-width: 1024px) { .theme-founder-body { padding: 2rem; } }
.theme-founder-name { font-size: 1.875rem; margin-bottom: 0.25rem; }
.theme-founder-role { font-size: 1.25rem; margin-bottom: 1rem; color: var(--color-primary); }
.theme-founder-bio { font-size: 14px; line-height: 1.6; margin-bottom: 1.25rem; opacity: 0.85; }
.theme-founder-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-founder-tag {
	display: inline-flex; align-items: center; padding: 0.375rem 0.75rem; border-radius: 999px; font-size: 13px; font-weight: 500;
	background-color: var(--color-surface-alt); color: var(--color-primary); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
}

/* ---------------------------- Craftsmanship banner ---------------------------- */
.theme-craft-section .theme-section-inner { text-align: center; }
.theme-craft-card {
	max-width: 42rem; margin: 0 auto; padding: 2.5rem; border-radius: var(--card-radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	background-color: rgba(251,247,241,0.94); backdrop-filter: blur(4px);
}
.theme-craft-card svg { display: block; margin: 0 auto 1rem; color: var(--color-primary); }
.theme-craft-body { font-size: 15px; line-height: 1.7; }

/* -------------------------------- Shop grid -------------------------------- */
.theme-category-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.theme-filter-pill {
	padding: 0.5rem 1rem; border-radius: 999px; font-size: 14px; font-weight: 500;
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); background: transparent; color: var(--color-charcoal);
	transition: background-color 200ms, color 200ms, border-color 200ms;
}
.theme-filter-pill.is-active { background-color: var(--color-primary); color: var(--color-background); border-color: var(--color-primary); }

.theme-product-grid {
	display: grid; grid-template-columns: 1fr; gap: 2rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.theme-product-grid--related { gap: 1.5rem; }
@media (min-width: 768px) {
	.theme-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.theme-product-grid--related { gap: 2rem; }
}
.theme-shop-empty { text-align: center; opacity: 0.7; padding: 2rem 0; }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap.theme-cat-hidden { display: none; }
.theme-product-card {
	position: relative; display: flex; flex-direction: column; height: 100%; width: 100%;
	background-color: var(--color-background); overflow: hidden; border-radius: var(--card-radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.theme-product-card__image-wrapper {
	position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background-color: var(--color-surface-alt);
	display: flex; align-items: center; justify-content: center;
	padding: 1.25rem;
}
@media (min-width: 768px) {
	.theme-product-card__image-wrapper { padding: 1.75rem; }
}
.theme-stock-badge {
	position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 2px;
	background: var(--color-charcoal); color: var(--color-background); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
}
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.25rem; width: 100%; }
.theme-product-card__meta { width: 100%; min-width: 0; }
.theme-product-card__category { color: var(--color-blue-grey-deep); }
.theme-product-card__title { font-size: 15px; line-height: 1.4; margin-top: 0.375rem; word-wrap: break-word; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 16px; } }
.theme-product-card__price { font-size: 14px; color: var(--color-primary); font-weight: 600; margin-top: 0.5rem; }
.theme-product-card__cta {
	display: inline-flex; align-items: center; gap: 0.375rem; font-size: 14px; text-transform: uppercase; letter-spacing: 0.22em;
	padding: 0.5rem 1rem; border-radius: 999px; background: var(--color-primary); color: var(--color-background); transition: transform 200ms;
}
.theme-product-card:hover .theme-product-card__cta svg { transform: translateX(2px); }
.theme-product-card__cta svg { transition: transform 200ms; }

/* ------------------------------ Testimonials ------------------------------- */
.theme-testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; } }
.theme-testimonial-card {
	position: relative; padding: 2rem; border-radius: var(--card-radius);
	background-color: var(--color-surface-alt); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.theme-testimonial-quote { font-size: 1.25rem; line-height: 1.35; margin-bottom: 1.25rem; display: block; }
@media (min-width: 768px) { .theme-testimonial-quote { font-size: 1.375rem; } }
.theme-testimonial-caption { display: flex; align-items: center; justify-content: space-between; font-size: 14px; gap: 0.75rem; }
.theme-testimonial-name { font-weight: 500; color: var(--color-primary); }
.theme-testimonial-context { opacity: 0.7; }

/* ----------------------------------- FAQ ------------------------------------ */
.theme-faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-faq-item {
	border-radius: var(--card-radius); overflow: hidden; transition: border-color 300ms, transform 300ms;
	background-color: var(--color-surface-alt); border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.theme-faq-item:hover { border-color: color-mix(in srgb, var(--color-primary) 55%, transparent); transform: translateY(-1px); }
.theme-faq-item.is-open { border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.theme-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 1rem 1.25rem; font-family: var(--font-display); font-size: 17px; gap: 1rem; }
.theme-faq-chevron { flex-shrink: 0; color: var(--color-primary); transition: transform 250ms; }
.theme-faq-item.is-open .theme-faq-chevron { transform: rotate(180deg); }
.theme-faq-answer { max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
.theme-faq-answer p { padding: 0 1.25rem 1.25rem; font-size: 14px; line-height: 1.6; opacity: 0.85; }
.theme-faq-item.is-open .theme-faq-answer { max-height: 40rem; }

/* --------------------------------- Gallery ---------------------------------- */
.theme-gallery-viewport {
	position: relative; width: 100%; overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
	mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.theme-gallery-track { display: flex; width: max-content; gap: 1rem; animation: gc-scroll 60s linear infinite; will-change: transform; }
@media (min-width: 768px) { .theme-gallery-track { gap: 1.5rem; } }
.theme-gallery-viewport:hover .theme-gallery-track { animation-play-state: paused; }
@keyframes gc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .theme-gallery-track { animation: none; } }
.theme-gallery-thumb {
	position: relative; flex-shrink: 0; overflow: hidden; border-radius: 0.2rem;
	border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
	width: 320px; height: 400px;
}
.theme-gallery-thumb img { transition: transform 500ms; }
.theme-gallery-thumb:hover img { transform: scale(1.05); }
.theme-gallery-lightbox {
	display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center;
	background-color: rgba(42,36,34,0.92);
}
.theme-gallery-lightbox.is-open { display: flex; }
.theme-gallery-lightbox img { max-width: 95vw; max-height: 92vh; object-fit: contain; }
.theme-gallery-lightbox-close, .theme-gallery-lightbox-prev, .theme-gallery-lightbox-next {
	position: absolute; z-index: 10; color: var(--color-background); padding: 0.75rem; transition: color 200ms;
}
.theme-gallery-lightbox-close:hover, .theme-gallery-lightbox-prev:hover, .theme-gallery-lightbox-next:hover { color: var(--color-wood); }
.theme-gallery-lightbox-close { top: 1.25rem; right: 1.25rem; }
.theme-gallery-lightbox-prev { left: 0.75rem; top: 50%; transform: translateY(-50%); }
.theme-gallery-lightbox-next { right: 0.75rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 768px) { .theme-gallery-lightbox-prev { left: 1.5rem; } .theme-gallery-lightbox-next { right: 1.5rem; } }

/* -------------------------------- CTA video --------------------------------- */
.theme-cta-video-section { position: relative; overflow: hidden; }
.theme-cta-video-inner { text-align: center; }
.theme-cta-video-inner svg { display: block; margin: 0 auto 1rem; color: var(--color-wood); }
.theme-cta-video-inner .cta-band__title { max-width: 48rem; margin: 0 auto 1.5rem; color: var(--color-background); }
.theme-cta-video-ctas { margin-top: 0; }

/* --------------------------------- Contact ---------------------------------- */
.theme-contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-contact-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.theme-contact-body { font-size: 15px; line-height: 1.7; margin: 1.5rem 0 2rem; }
.theme-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-list-link {
	display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--card-radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); background-color: var(--color-background);
	transition: background-color 200ms;
}
.theme-contact-list-link:hover { background-color: var(--color-surface-alt); }
.theme-contact-form { padding: 2rem; border-radius: var(--card-radius); background-color: var(--color-surface-alt); border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-contact-form-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-contact-form-fields { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea, .theme-form-field select {
	width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	background-color: var(--color-background); color: var(--color-charcoal); font-size: 14px; font-family: var(--font-body);
}
.theme-form-field input:focus, .theme-form-field textarea:focus, .theme-form-field select:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 45%, transparent);
}
.theme-required { color: var(--color-primary); }
.theme-contact-submit-btn { width: 100%; margin-top: 0.25rem; }
.theme-contact-form-success { display: none; text-align: center; padding: 2.5rem 0; }
.theme-contact-form-success.is-visible { display: block; }
.theme-contact-form-success svg { color: var(--color-primary); margin: 0 auto 0.75rem; }
.theme-contact-form-success-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.25rem; }
.theme-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-form-row-2 { grid-template-columns: 1fr 1fr; } }
.theme-form-actions-end { display: flex; justify-content: flex-end; }

/* --------------------------------- Footer ----------------------------------- */
.site-footer { background-color: var(--color-charcoal); color: var(--color-background); border-top: 1px solid color-mix(in srgb, var(--color-wood) 25%, transparent); }
/* Only set vertical padding so .container-wide keeps horizontal gutters. */
.theme-footer-inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .theme-footer-inner { padding-top: 5rem; padding-bottom: 5rem; } }
/* Extra breathing room on small screens if container-wide is overridden elsewhere. */
@media (max-width: 1023px) {
	.theme-footer-inner.container-wide,
	.site-footer .container-wide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
@media (max-width: 479px) {
	.theme-footer-inner.container-wide,
	.site-footer .container-wide {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.theme-footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.theme-footer-logo-link { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-footer-logo {
	height: 3.5rem !important;
	width: auto !important;
	max-width: none !important;
	filter: brightness(0) invert(1);
}
.theme-footer-logo-text { color: var(--color-background); }
.theme-footer-about { font-size: 14px; line-height: 1.6; opacity: 0.8; max-width: 20rem; margin: 0; }
.theme-footer-social {
	display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.25rem;
	font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-background);
	transition: color 200ms, opacity 200ms;
}
.theme-footer-social:hover { color: var(--color-wood); }
.theme-footer-heading { color: var(--color-wood); margin-bottom: 1.25rem; font-size: 14px; }
.theme-footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-links li { list-style: none; }
.theme-footer-links a, .theme-footer-links button {
	font-family: var(--font-body); font-size: 14px; opacity: 0.8; transition: opacity 200ms, color 200ms;
	background: none; border: none; padding: 0; color: inherit; text-align: left; cursor: pointer;
}
.theme-footer-links a:hover, .theme-footer-links button:hover { opacity: 1; color: var(--color-wood); }
.theme-footer-contact { display: flex; flex-direction: column; gap: 1rem; font-size: 14px; font-family: var(--font-body); }
.theme-footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; }
.theme-footer-contact svg { margin-top: 0.25rem; flex-shrink: 0; color: var(--color-wood); width: 1rem; height: 1rem; }
.theme-footer-contact a { opacity: 0.9; transition: opacity 200ms, color 200ms; word-break: break-word; }
.theme-footer-contact a:hover { opacity: 1; color: var(--color-wood); }
.theme-footer-bottom {
	margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,247,241,0.12);
	display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 0.75rem;
	font-size: 14px; font-family: var(--font-body); opacity: 0.7;
}
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; } }
.theme-footer-tagline { color: var(--color-wood); font-size: 15px; opacity: 1; }

.theme-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 44px; height: 44px; border-radius: 50%;
	background-color: var(--color-primary); color: var(--color-background); display: flex; align-items: center; justify-content: center;
	opacity: 0; pointer-events: none; transition: transform 200ms, opacity 200ms;
}
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1); }
@media (min-width: 768px) { .theme-back-to-top { width: 48px; height: 48px; } }

/* -------------------------------- 404 page ---------------------------------- */
.theme-404-main { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 4rem 0; }
.theme-404-inner { text-align: center; max-width: 32rem; margin: 0 auto; }
.theme-404-title { font-size: 2.5rem; margin-bottom: 0.75rem; }
.theme-404-body { opacity: 0.75; margin-bottom: 2rem; }

/* ---------------------------- Admin bar offset ---------------------------- */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

/* ---------------------------- Cart drawer (off-canvas) ---------------------------- */
#theme-cart-overlay {
	display: none; position: fixed; inset: 0; z-index: 60; background-color: rgba(42,36,34,0.4);
}
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.3s var(--transition-smooth) forwards; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; z-index: 61;
	display: flex; flex-direction: column;
	width: 100%; max-width: 28rem; height: 100%;
	background-color: var(--color-background);
	border-left: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	transform: translateX(100%);
	transition: transform 280ms var(--transition-smooth);
	overflow: hidden;
	pointer-events: none;
}
body.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}
body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	pointer-events: auto;
}
body.cart-open,
body.contact-open {
	overflow: hidden;
}
.theme-cart-drawer-header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); flex-shrink: 0;
}
.theme-cart-drawer-header h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.theme-cart-drawer-close { padding: 0.25rem; opacity: 0.8; }
.theme-cart-drawer-close:hover { opacity: 0.55; }
.theme-cart-drawer-empty {
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
	padding: 1.5rem; text-align: center; gap: 0.5rem;
}
.theme-cart-drawer-empty svg { color: var(--color-blue-grey-deep); margin-bottom: 0.5rem; }
.theme-cart-drawer-empty p { font-size: 14px; opacity: 0.7; margin-bottom: 1rem; }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image {
	position: relative; display: block;
	width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: var(--card-radius);
	background-color: var(--color-surface-alt);
}
.theme-cart-item__image img,
#theme-cart-drawer .theme-cart-item__image img {
	position: absolute; inset: 0;
	display: block; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: center;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__title { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__price { font-size: 14px; font-weight: 600; color: var(--color-primary); margin-top: 0.125rem; text-transform: uppercase; letter-spacing: 0.14em; }
.theme-cart-item__variation { font-size: 14px; opacity: 0.7; margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: var(--radius); }
.theme-cart-qty-btn:hover { background-color: var(--color-surface-alt); }
.theme-cart-qty-value { font-size: 14px; min-width: 1.25rem; text-align: center; }
.theme-cart-remove { font-size: 12px; text-decoration: underline; opacity: 0.7; margin-left: auto; }
.theme-cart-drawer-footer {
	flex-shrink: 0; padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	display: flex; flex-direction: column; gap: 0.75rem;
}
.theme-cart-drawer-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer-row--total { font-weight: 600; font-size: 16px; }
.theme-cart-checkout-btn { width: 100%; justify-content: center; text-align: center; }
.theme-cart-empty-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* ---------------------------- Contact modal ---------------------------- */
#theme-contact-modal-overlay {
	display: none; position: fixed; inset: 0; z-index: 60; background-color: rgba(42,36,34,0.55);
}
body.contact-open #theme-contact-modal-overlay { display: block; animation: fadeIn 0.3s var(--transition-smooth) forwards; }

#theme-contact-modal {
	display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.97); z-index: 61;
	width: min(92vw, 32rem); max-height: 90vh; overflow-y: auto; border-radius: var(--card-radius);
	background-color: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	padding: 2rem; opacity: 0; transition: opacity 250ms ease, transform 250ms ease;
}
body.contact-open #theme-contact-modal { display: block; }
body.contact-open #theme-contact-modal.is-open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.theme-contact-modal-close { position: absolute; top: 1rem; right: 1rem; padding: 0.375rem; }
.theme-contact-modal-title { font-size: 1.875rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.theme-contact-modal-desc { font-size: 14px; opacity: 0.8; margin-bottom: 1.25rem; }
.theme-contact-modal-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 14px; margin-bottom: 1.5rem; }
.theme-contact-modal-links a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal-links a:hover { color: var(--color-primary); }
.theme-contact-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-modal-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; }
.theme-contact-modal-form input, .theme-contact-modal-form textarea {
	width: 100%; padding: 0.625rem 0.75rem; border-radius: var(--radius); font-size: 14px; font-family: var(--font-body);
	background-color: var(--color-surface-alt); border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); color: var(--color-charcoal);
}
.theme-contact-modal-form input:focus, .theme-contact-modal-form textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 45%, transparent); }
.theme-modal-submit-btn { align-self: flex-end; padding: 0.75rem 1.5rem; }
.theme-contact-modal-success { display: none; text-align: center; padding: 2rem 0; }
.theme-contact-modal-success.is-visible { display: block; }
.theme-contact-modal-success-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-background); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* Customizer preview fallback for modal/drawer visibility rules is not
   required — these are user-triggered overlays, not scroll reveals. */

/* ============================================================================
   WooCommerce overrides
   ============================================================================ */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.5rem;
	border-top: 3px solid var(--color-primary); background: var(--color-surface-alt); color: var(--color-charcoal); list-style: none;
	max-width: 80rem; margin: 1rem auto;
}
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* Add-to-cart button style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--card-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease, transform 400ms ease-out, background-color 300ms ease-out !important;
}
.single_add_to_cart_button.button:hover, .add_to_cart_button.button:hover {
	opacity: 1 !important; background-color: var(--color-primary-deep) !important; color: var(--color-button-text) !important;
	transform: translateY(-2px);
}
.single-product .single_add_to_cart_button.button:hover {
	background-color: var(--color-primary-deep) !important;
}
.single_add_to_cart_button.button:disabled, .single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled, .add_to_cart_button.button.disabled {
	cursor: not-allowed !important; opacity: 0.4 !important; pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover, .single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover, .add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important; background-color: var(--color-primary) !important;
}
.single_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; }

/* Single product layout (mirrors ProductDetail.tsx) */
.single-product .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; min-width: 0; }
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.single-product .theme-product-info {
		position: sticky;
		top: 7rem;
		align-self: start;
		padding-left: 1rem;
	}
}

.theme-product-breadcrumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0;
	padding: 1.5rem 0; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase;
	font-family: var(--font-body); color: var(--color-charcoal); opacity: 0.7;
}
.theme-product-breadcrumbs a { color: inherit; transition: color 200ms, opacity 200ms; }
.theme-product-breadcrumbs a:hover { color: var(--color-primary); opacity: 1; }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-charcoal); }

.theme-product-main-image {
	position: relative; aspect-ratio: 4 / 5; overflow: hidden;
	border-radius: var(--card-radius); background-color: var(--color-surface-alt);
}
.theme-product-main-img {
	position: absolute; inset: 0;
	display: block; width: 100%; height: 100%; max-width: none;
	object-fit: contain; object-position: center;
	padding: 1.5rem; box-sizing: border-box;
}
@media (min-width: 768px) { .theme-product-main-img { padding: 2.5rem; } }
.theme-product-main-img.is-fading { animation: themeProductFadeIn 300ms ease-out; }
@keyframes themeProductFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.theme-product-thumbnails {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1rem; max-width: 100%;
}
.theme-product-thumb {
	position: relative; aspect-ratio: 1; width: 100%; height: auto; border-radius: var(--card-radius); overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	opacity: 0.8; transition: opacity 200ms, border-color 200ms, box-shadow 200ms;
	background: transparent; padding: 0; cursor: pointer;
}
.theme-product-thumb img {
	position: absolute; inset: 0;
	display: block; width: 100%; height: 100%; max-width: none;
	object-fit: contain; object-position: center; padding: 0.5rem; box-sizing: border-box;
}
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active {
	opacity: 1; border-color: var(--color-primary);
	box-shadow: 0 0 0 2px var(--color-primary);
}

.theme-product-category { color: var(--color-blue-grey-deep); }
.product-title {
	font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; line-height: 1.05;
	margin-top: 0.75rem; margin-bottom: 1rem; color: var(--color-charcoal);
}
@media (min-width: 768px) { .product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3.75rem; } }
.theme-product-price-badge {
	display: inline-block; padding: 0.375rem 0.75rem; border-radius: 999px; margin-bottom: 1.5rem;
	background-color: var(--color-surface-alt); color: var(--color-primary);
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
}
.theme-stock-status { margin-bottom: 1rem; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }
.theme-stock-status--out { color: var(--color-primary); font-weight: 600; }
.theme-product-description { font-size: 15px; line-height: 1.7; margin-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; color: var(--color-charcoal); }
.theme-product-description p { margin: 0; }
.theme-info-box {
	display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.75rem; border-radius: var(--card-radius);
	margin-bottom: 1.5rem; background-color: var(--color-surface-alt);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
}
.theme-info-box svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--color-primary); }
.theme-info-box--notice {
	background-color: color-mix(in srgb, var(--color-blue-grey) 15%, transparent);
	border-color: color-mix(in srgb, var(--color-blue-grey-deep) 30%, transparent);
}
.theme-info-box--notice svg { color: var(--color-blue-grey-deep); }
.theme-info-box p { font-size: 14px; margin: 0; color: var(--color-charcoal); }
.theme-info-box__emphasis { font-weight: 500; }

.theme-option-group { margin-bottom: 1.25rem; }
.theme-option-label {
	display: block; font-size: 14px; margin-bottom: 0.75rem; opacity: 0.7;
	text-transform: uppercase; letter-spacing: 0.22em; font-family: var(--font-body); font-weight: 500;
	color: var(--color-charcoal);
}
.theme-option-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-option-pill {
	padding: 0.5rem 1rem; border-radius: var(--radius); font-size: 14px; font-weight: 500; font-family: var(--font-body);
	border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	background: transparent; color: var(--color-charcoal); transition: background-color 200ms, color 200ms, border-color 200ms;
	cursor: pointer;
}
.theme-option-pill.is-active { border-color: var(--color-primary); background-color: var(--color-primary); color: var(--color-background); }
.theme-option-pill--color { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.75rem; background: transparent !important; color: var(--color-charcoal) !important; }
.theme-option-pill--color.is-active { border-color: var(--color-primary); background: transparent !important; color: var(--color-charcoal) !important; }
.theme-color-swatch { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid rgba(42,36,34,0.2); display: inline-block; }

.theme-personalize-panel {
	margin: 1rem 0 1.5rem; padding: 1.25rem; border-radius: var(--card-radius);
	background-color: var(--color-surface-alt); border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.theme-personalize-title { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--color-primary); }
.theme-personalize-panel .theme-form-field { display: block; margin-bottom: 0.75rem; }
.theme-personalize-panel .theme-option-label { margin-bottom: 0.375rem; }
.theme-select,
.theme-text-input {
	width: 100%; padding: 0.5rem 0.75rem; border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	background-color: var(--color-background); font-size: 14px; font-family: var(--font-body); color: var(--color-charcoal);
}
.theme-select:focus, .theme-text-input:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.theme-upload-btn {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; width: 100%;
	padding: 0.5rem 0.75rem; border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	background-color: var(--color-background); font-size: 14px; color: var(--color-charcoal); cursor: pointer;
}
.theme-upload-btn svg { flex-shrink: 0; color: var(--color-primary); }
.theme-upload-filename { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-upload-input-hidden { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.theme-personalize-note { font-size: 14px; font-style: italic; margin-top: 0.5rem; opacity: 0.75; color: var(--color-charcoal); }

.theme-quantity-wrapper {
	display: inline-flex; align-items: center;
	border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	border-radius: var(--card-radius); background-color: var(--color-background);
}
.theme-qty-minus, .theme-qty-plus {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.5rem 0.75rem; transition: background-color 200ms; background: transparent; border: none; cursor: pointer; color: var(--color-charcoal);
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-surface-alt); }
.theme-qty-input {
	width: 2.75rem; min-width: 44px; text-align: center; border: none; background: transparent;
	font-size: 14px; font-family: var(--font-body); padding: 0.5rem 0; -moz-appearance: textfield; color: var(--color-charcoal);
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; margin: 0 0 0; }
@media (min-width: 640px) { .single-product .theme-add-to-cart-area { flex-direction: row; } }
.single-product .single_add_to_cart_button {
	flex: 1 1 auto; min-width: 160px; gap: 0.5rem !important;
	border-radius: var(--card-radius) !important; padding: 1rem 1.5rem !important;
}
.single-product .single_add_to_cart_button .btn-label {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.single-product .single_add_to_cart_button .btn-label-price { opacity: 0.85; }
.single-product .single_add_to_cart_button .btn-added {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
}
.single-product .single_add_to_cart_button.is-added .btn-label { display: none; }
.single-product .single_add_to_cart_button.is-added .btn-added { display: inline-flex; }
.single-product .single_add_to_cart_button .btn-added[hidden] { display: none !important; }
.theme-add-to-cart-area .single_add_to_cart_button.is-loading { position: relative; opacity: 0.7; pointer-events: none; }
.theme-add-to-cart-area .single_add_to_cart_button:disabled { opacity: 0.7 !important; }

.theme-details-accordion {
	margin-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
}
.theme-details-toggle {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 1.25rem 0; text-align: left; background: transparent; border: none; cursor: pointer; color: var(--color-charcoal);
}
.theme-details-toggle svg { transition: transform 250ms; flex-shrink: 0; }
.theme-details-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-details-content { padding-bottom: 1.5rem; }
.theme-details-content ul.itm-product-details-list { list-style: none; margin: 0; padding: 0; }
.theme-details-content li {
	position: relative; padding-left: 1.25rem; font-size: 14px; margin-bottom: 0.75rem;
	opacity: 0.85; color: var(--color-charcoal);
}
.theme-details-content li:last-child { margin-bottom: 0; }
.theme-details-content li::before {
	content: ''; position: absolute; left: 0; top: 0.5rem;
	width: 0.375rem; height: 0.375rem; border-radius: 50%; background-color: var(--color-primary);
}

.related-products-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); }
.related-products-section .theme-section-heading-block { margin-bottom: 3rem; }
.related-eyebrow { color: var(--color-primary); }
.related-heading {
	font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; margin-top: 0.75rem;
	color: var(--color-charcoal); text-align: center;
}
@media (min-width: 768px) { .related-heading { font-size: 3rem; } }
.related-handmade { color: var(--color-primary); margin: 0 0.2em; }

.posted_in, .woocommerce-variation-description, .woocommerce-product-details__short-description { overflow-wrap: break-word; word-break: break-word; }

/* Shop archive heading */
.theme-shop-header { text-align: center; margin: 2.5rem 0; }

/* Checkout — native WooCommerce Checkout Block overrides (Section 13). */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .theme-page-container { max-width: 80rem; }
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 {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body); border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	background-color: var(--color-background); color: var(--color-charcoal); padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 45%, transparent);
}
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;
	text-transform: uppercase; letter-spacing: var(--btn-letter-spacing); font-weight: var(--btn-font-weight);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { background-color: var(--color-primary-deep) !important; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap); align-items: start;
	}
}
/* Page titles (Checkout, Cart, My Account, generic pages) — Lovable text-4xl / md:text-6xl */
.page-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 2.25rem;
	line-height: 1.1;
	letter-spacing: -0.005em;
	color: var(--color-charcoal);
	margin: 0 0 0.75rem;
}
@media (min-width: 768px) {
	.page-title { font-size: 3.75rem; }
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-surface-alt); border-radius: var(--card-radius); padding: 2rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	margin: 2rem 0 1.5rem;
}

/* Cart / My Account width & alignment parity (Section 13.7) */
body.woocommerce-cart .site-main, body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

/* Thank-you page (Section 22.8) */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
.theme-thankyou-content { max-width: 48rem; margin: 0 auto; text-align: center; padding: 2rem 0; }
.theme-thankyou-icon { width: 4rem; height: 4rem; border-radius: 50%; background-color: var(--color-primary); color: var(--color-background); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.theme-thankyou-title { font-size: 2.5rem; margin-bottom: 0.75rem; }
.theme-thankyou-lead { opacity: 0.8; margin-bottom: 2rem; max-width: 32rem; margin-left: auto; margin-right: auto; }
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 { text-align: left; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 1.5rem; background: var(--color-surface-alt); border-radius: var(--card-radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page h2 { font-size: 1.5rem; padding: 2rem 0 1rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th, body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; font-size: 14px; }

/* Variations table layout (unused in this catalog but kept for robustness). */
.single-product .variations.shop_attributes tbody, .single-product .variations tbody tr, .single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* Card compact add-to-cart button variant (not used — no card CTA in this design). */
