/* =========================================================================
   Wood Burning Designs — theme stylesheet
   ========================================================================= */

:root {
	--background: #f9f6f1;
	--foreground: #1d1916;
	--card: #ffffff;
	--primary: #b35309;
	--primary-foreground: #fbf8f4;
	--secondary: #f4efe6;
	--secondary-foreground: #1d1916;
	--muted: #eee7dd;
	--muted-foreground: #56524d;
	--accent: #a26907;
	--accent-foreground: #fbf8f4;
	--border: #e2d8ca;
	--gold: #db7706;
	--rose: #a26907;

	--font-display: 'Bitter', Georgia, serif;
	--font-body: 'Plus Jakarta Sans', sans-serif;
	--font-chaos: 'JetBrains Mono', monospace;

	--radius: 0.75rem;
	--card-radius: 1rem;
	--shadow-soft: 0 6px 24px -8px rgba(29, 25, 22, 0.16);
	--shadow-elevated: 0 24px 48px -18px rgba(29, 25, 22, 0.26);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 73px;
	--logo-height: 48px;

	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0.75rem 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.2em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--checkout-gap: 4rem;
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: inherit;
	letter-spacing: -0.015em;
	color: var(--foreground);
	margin: 0;
}
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.theme-product-card-img):not(.theme-founder__img):not(.theme-collection-card__bg):not(.theme-about__bg-img):not(.theme-faq__bg-img):not(.theme-hero__bg-img):not(.theme-featured-card__image):not(.theme-product-gallery__img):not(.theme-cart-drawer__item-image img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .theme-product-card-img, .theme-founder__img, .theme-collection-card__bg,
.theme-about__bg-img, .theme-faq__bg-img, .theme-hero__bg-img, .theme-featured-card__image,
.theme-product-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.scroll-mt-24 { scroll-margin-top: 6rem; }
.theme-hide-mobile { display: none; }
.theme-hide-tablet { display: none; }
@media (min-width: 640px) { .theme-hide-mobile { display: inline; } }
@media (min-width: 1024px) { .theme-hide-tablet { display: inline; } }
.theme-hide-mobile-lg { display: none; }
.theme-hide-desktop-lg { display: inline-flex; }
@media (min-width: 1024px) {
	.theme-hide-mobile-lg { display: flex; }
	.theme-hide-desktop-lg { display: none; }
}

/* -------------------------------------------------------------------------
   Reveal animation system (Section 2.1)
   ------------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(25px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@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); } }
.theme-anim-fade { animation: theme-fade-in 0.7s var(--transition-smooth) 0.25s both; }
.theme-anim-slide-up { animation: theme-slide-up 0.8s var(--transition-smooth) 0.45s both; }
.theme-hero__paragraph.theme-anim-slide-up { animation-delay: 0.85s; }
.theme-hero__actions.theme-anim-slide-up { animation-delay: 1.05s; }

@keyframes theme-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.theme-hero-anim-kenburns { animation: theme-kenburns 18s ease-in-out infinite alternate; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.reveal-item { opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.theme-btn-primary,
.theme-btn-hero-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	background: var(--primary);
	color: var(--primary-foreground);
	border: none;
	border-radius: 999px;
	padding: 0.9rem 2rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	transition: background-color 0.2s ease, box-shadow 0.22s var(--transition-smooth), transform 0.22s var(--transition-smooth);
	box-shadow: 0 0 0 1px rgba(179, 83, 9, 0.25), 0 10px 30px -12px rgba(179, 83, 9, 0.45);
}
.theme-btn-primary:hover, .theme-btn-hero-primary:hover {
	background: color-mix(in srgb, var(--primary) 90%, black);
	box-shadow: 0 0 0 1px rgba(179, 83, 9, 0.4), 0 14px 34px -12px rgba(179, 83, 9, 0.5);
	transform: translateY(-1px);
}
.theme-btn-hero-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(6px);
	padding: 0.9rem 2rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	color: #fff;
	transition: background-color 0.2s ease;
}
.theme-btn-hero-outline:hover { background: rgba(255, 255, 255, 0.2); }
.theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	border-radius: 999px;
	border: 1px solid var(--primary);
	background: transparent;
	color: var(--primary);
	padding: 0.9rem 2rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	transition: all 0.2s ease;
}
.theme-btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }
.theme-btn-accent {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	background: var(--accent);
	color: var(--accent-foreground);
	border: none;
	border-radius: 999px;
	padding: 0.9rem 1.75rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 600;
	transition: background-color 0.2s ease;
}
.theme-btn-accent:hover { background: color-mix(in srgb, var(--accent) 90%, black); }

.theme-link-underline { position: relative; display: inline-block; }
.theme-link-underline::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

.theme-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-chaos);
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 12px;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 0.75rem;
}
.theme-eyebrow--inverse { color: rgba(255, 255, 255, 0.85); }
.theme-italic-accent { font-style: italic; color: var(--primary); }

/* -------------------------------------------------------------------------
   Announcement bar
   ------------------------------------------------------------------------- */
.theme-announcement-bar { position: relative; background: var(--primary); color: var(--primary-foreground); }
.theme-announcement-bar__inner { padding: 0.6rem 2rem 0.6rem 0; text-align: center; }
.theme-announcement-bar__text {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	margin: 0;
}
.theme-announcement-bar__dot { color: var(--accent); }
.theme-announcement-bar__dismiss {
	position: absolute;
	right: 4px; top: 50%;
	transform: translateY(-50%);
	background: none; border: none; color: inherit;
	padding: 0.75rem; opacity: 0.7;
}
.theme-announcement-bar__dismiss:hover { opacity: 1; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	padding-block: 0.5rem;
	background: color-mix(in srgb, var(--background) 70%, transparent);
	backdrop-filter: blur(20px) saturate(150%);
	border-bottom: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
	transition: all 0.3s ease;
}
.site-header.is-solid, .site-header.has-open-menu {
	background: color-mix(in srgb, var(--background) 90%, transparent);
	border-bottom-color: color-mix(in srgb, var(--primary) 15%, transparent);
	box-shadow: var(--shadow-soft);
}
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; position: relative; }
@media (min-width: 1024px) { .site-header__nav { height: 3.5625rem; } }
.site-header__brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; height: 100%; padding-block: 0.25rem; }
.site-logo-img { height: var(--logo-height) !important; max-height: var(--logo-height); width: auto !important; max-width: 96px; display: block; transition: transform 0.3s ease; }
@media (max-width: 639px) {
	.site-logo-img { max-height: 40px !important; height: auto !important; max-width: 80px; }
}
.site-header__brand:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--primary); }

.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
	position: relative;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: color-mix(in srgb, var(--primary) 80%, transparent);
	padding: 0.75rem 0;
	transition: color 0.2s ease;
}
.theme-nav-link::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.theme-nav-link:hover { color: var(--primary); }
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__shop-btn {
	width: 199px;
	height: 44px;
	min-height: 44px;
	padding-inline: 1.5rem;
}
.site-header__cart-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
	background: transparent; color: var(--primary);
	transition: all 0.2s ease;
}
.site-header__cart-btn:hover { border-color: var(--primary); background: var(--primary); color: var(--primary-foreground); }
.theme-cart-count {
	position: absolute; top: -4px; right: -4px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; background: var(--accent); color: var(--accent-foreground);
	font-size: 11px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }
.site-header__menu-toggle {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	background: none; border: none; color: var(--primary);
}
.site-header__menu-icon { display: inline-flex; align-items: center; justify-content: center; }
.site-header__menu-icon[hidden] { display: none !important; }
body.menu-open { overflow: hidden; }
.site-header__mobile-menu { border-top: 1px solid color-mix(in srgb, var(--primary) 15%, transparent); padding: 0.75rem 0; }
.theme-nav-list--mobile { flex-direction: column; align-items: stretch; gap: 0; }
.theme-nav-list--mobile .theme-nav-link { padding: 1rem 0.25rem; min-height: 44px; font-size: 14px; }
.site-header__shop-btn--mobile { margin-top: 0.75rem; width: 100%; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.theme-hero { position: relative; width: 100%; min-height: 100dvh; overflow: hidden; }
.theme-hero__media { position: absolute; inset: 0; overflow: hidden; }
.theme-hero__overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to bottom, rgba(28, 25, 23, 0.62) 0%, rgba(69, 26, 3, 0.6) 45%, rgba(28, 25, 23, 0.88) 100%);
}
.theme-hero__content { position: relative; z-index: 4; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.theme-hero__inner { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6rem 0; }
.theme-hero__badge {
	display: inline-flex; align-items: center;
	border-radius: 999px; background: color-mix(in srgb, var(--primary) 85%, transparent);
	backdrop-filter: blur(6px);
	padding: 0.5rem 1rem; font-size: 12px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary-foreground);
}
.theme-hero__heading { font-size: 2.25rem; line-height: 1.06; letter-spacing: -0.02em; margin-top: 1.5rem; color: #fff; }
.theme-hero__heading-line { display: block; }
.theme-hero__heading-line--italic { font-style: italic; }
@media (min-width: 640px) { .theme-hero__heading { font-size: 3rem; line-height: 1; } }
@media (min-width: 768px) { .theme-hero__heading { font-size: 3.75rem; line-height: 1; } }
@media (min-width: 1024px) { .theme-hero__heading { font-size: 4.5rem; line-height: 1; } }
.theme-hero__paragraph { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; color: rgba(255, 255, 255, 0.9); line-height: 1.7; }
@media (min-width: 768px) { .theme-hero__paragraph { font-size: 1.125rem; line-height: 1.75rem; } }
.theme-hero__actions { margin-top: 2.25rem; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1rem; width: 100%; }
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; align-items: center; width: auto; } }

/* -------------------------------------------------------------------------
   Marquee
   ------------------------------------------------------------------------- */
.theme-marquee { border-top: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--primary) 20%, transparent); overflow: hidden; padding: 1rem 0; background: var(--primary); color: rgba(255, 255, 255, 0.85); }
.theme-marquee__track { display: flex; gap: 2.5rem; white-space: nowrap; width: max-content; animation-name: theme-marquee-scroll; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes theme-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.theme-marquee__item { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; }
.theme-marquee__text { font-family: var(--font-chaos); text-transform: uppercase; letter-spacing: 0.3em; font-size: 12px; }
@media (min-width: 768px) { .theme-marquee__text { font-size: 0.875rem; } }
.theme-marquee__sparkle { opacity: 0.5; }

/* -------------------------------------------------------------------------
   Product grid + cards (shared everywhere — Section 31.13)
   ------------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.theme-shop__grid.theme-product-grid {
		grid-template-columns: repeat(4, minmax(0, 280px));
		gap: 2rem;
		justify-content: space-between;
		max-width: 76rem;
		margin-inline: auto;
	}
	.theme-product-grid:not(.theme-shop__grid) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.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-product-card__title { pointer-events: auto; position: relative; z-index: 3; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--card-radius);
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
	margin-bottom: 1.25rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: color-mix(in srgb, var(--primary) 30%, transparent); box-shadow: var(--shadow-soft); }
.theme-product-card__image--primary { transition: opacity 0.3s ease; }
.theme-product-card:hover .theme-product-card__image--primary { opacity: 0; }
.theme-product-card__image--alt { opacity: 0; display: none; }
@media (min-width: 768px) {
	.theme-product-card__image--alt { display: block; }
	.theme-product-card:hover .theme-product-card__image--alt { opacity: 1; }
}
.theme-product-card__image.is-soldout { opacity: 0.6; }

.theme-product-badge {
	position: absolute; top: 1rem; left: 1rem; z-index: 3;
	padding: 0.4rem 0.9rem; border-radius: 999px;
	font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
	background: var(--primary); color: var(--primary-foreground);
}
.theme-product-badge--soldout { left: auto; right: 1rem; background: var(--foreground); color: #fff; }
.theme-product-badge--overlay { background: color-mix(in srgb, var(--primary) 90%, transparent); backdrop-filter: blur(4px); }

.theme-product-card__info { display: flex; flex-direction: column; flex: 1; padding: 0 0.25rem; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; color: var(--foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__subtitle { margin-top: 0.5rem; margin-bottom: 1rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--accent); }
.theme-product-card__add-btn, .theme-featured-card__add-btn {
	margin-top: auto; width: 100%; min-height: 44px; padding: 0.75rem 1rem;
	border-radius: 999px; background: var(--accent) !important; color: var(--accent-foreground) !important;
	font-size: 13px; font-weight: 600; letter-spacing: 0.02em; border: none !important;
	text-transform: none !important;
}
.theme-product-card__add-btn:hover, .theme-featured-card__add-btn:hover { background: color-mix(in srgb, var(--accent) 90%, black) !important; }

/* Featured card (offerings section) */
.theme-featured-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--card-radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent); box-shadow: var(--shadow-soft); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.theme-featured-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.theme-featured-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; }
.theme-featured-card *:not(.theme-card-link) { pointer-events: none; }
.theme-featured-card .theme-featured-card__add-btn { pointer-events: auto; position: relative; z-index: 3; }
.theme-featured-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--secondary); }
.theme-featured-card__image--primary { transition: opacity 0.3s ease; }
.theme-featured-card:hover .theme-featured-card__image--primary { opacity: 0; }
.theme-featured-card__image--alt { opacity: 0; display: none; }
@media (min-width: 768px) {
	.theme-featured-card__image--alt { display: block; }
	.theme-featured-card:hover .theme-featured-card__image--alt { opacity: 1; }
}
.theme-featured-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.5rem; }
.theme-featured-card__eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }
.theme-featured-card__title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-featured-card__subtitle { font-size: 13px; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.theme-featured-card__tags { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1rem; }
.theme-featured-card__tag {
	padding: 0.25rem 0.625rem; border-radius: 999px;
	background: var(--secondary); border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
	font-size: 12px; color: var(--muted-foreground);
}
.theme-featured-card__price { font-size: 1rem; font-weight: 600; margin-top: auto; margin-bottom: 1rem; }

/* -------------------------------------------------------------------------
   Offerings section
   ------------------------------------------------------------------------- */
.theme-offerings { position: relative; background: var(--secondary); border-top: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); }
.theme-offerings__inner { padding-block: 3rem 2.5rem; }
@media (min-width: 768px) { .theme-offerings__inner { padding-block: 5rem 3rem; } }
.theme-offerings__header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-offerings__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-offerings__heading { font-size: 1.875rem; line-height: 1.06; letter-spacing: -0.02em; text-align: left; }
@media (min-width: 768px) { .theme-offerings__heading { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .theme-offerings__heading { font-size: 3.75rem; line-height: 1; } }
.theme-offerings__rule { margin: 1rem 0 2rem; width: 60px; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.theme-offerings__link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--primary); padding: 0.75rem 0.25rem; }

/* -------------------------------------------------------------------------
   Collections section
   ------------------------------------------------------------------------- */
.theme-collections { background: var(--primary); }
.theme-collections__inner { padding-block: 3rem 2.5rem; }
@media (min-width: 768px) { .theme-collections__inner { padding-block: 5rem 3rem; } }
.theme-collections__header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-collections__heading { font-size: 1.875rem; color: #fff; margin-bottom: 1rem; line-height: 1.06; }
@media (min-width: 768px) { .theme-collections__heading { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .theme-collections__heading { font-size: 3.75rem; line-height: 1; } }
.theme-collections__paragraph { font-size: 1rem; color: rgba(255, 255, 255, 0.85); line-height: 1.7; }
@media (min-width: 768px) { .theme-collections__paragraph { font-size: 1.125rem; line-height: 1.75rem; } }
.theme-collections__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-collections__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.theme-collections__grid {
		grid-template-columns: repeat(4, minmax(0, 286px));
		gap: 1.5rem;
		justify-content: space-between;
		max-width: 76rem;
		margin-inline: auto;
	}
}
.theme-collection-card { position: relative; overflow: hidden; border-radius: var(--card-radius); border: 1px solid rgba(255, 255, 255, 0.15); padding: 1.75rem; display: flex; flex-direction: column; min-height: 320px; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
.theme-collection-card:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--shadow-elevated); transform: translateY(-4px); }
.theme-collection-card__bg { transition: transform 0.7s ease; }
.theme-collection-card:hover .theme-collection-card__bg { transform: scale(1.05); }
.theme-collection-card__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28, 25, 23, 0.5) 0%, rgba(69, 26, 3, 0.78) 55%, rgba(28, 25, 23, 0.93) 100%); }
.theme-collection-card__content { position: relative; display: flex; flex-direction: column; flex: 1; }
.theme-collection-card__icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: #fff; }
.theme-collection-card__title { font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem; }
.theme-collection-card__description { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }
.theme-collection-card__link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-size: 0.875rem; font-weight: 600; color: #fff; align-self: flex-start; }
.theme-collection-card__link:hover { color: var(--accent); }

/* -------------------------------------------------------------------------
   Founder / owners section
   ------------------------------------------------------------------------- */
.theme-founder { background: var(--secondary); }
.theme-founder__inner {
	padding-block: 3rem 2.5rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 768px) { .theme-founder__inner { gap: 3rem; } }
@media (min-width: 1024px) {
	.theme-founder__inner {
		grid-template-columns: repeat(2, minmax(0, 576px));
		gap: 4rem;
		padding-block: 5rem 3rem;
		justify-content: space-between;
		max-width: 76rem;
		margin-inline: auto;
	}
}
.theme-founder__media { position: relative; order: -1; }
@media (min-width: 768px) { .theme-founder__media { order: 2; } }
.theme-founder__media { border-radius: var(--card-radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.theme-founder__img-wrap, .theme-founder__media { position: relative; aspect-ratio: 4 / 5; }
.theme-founder__badge { position: absolute; bottom: -1rem; left: 1.5rem; display: inline-flex; align-items: center; border-radius: 999px; background: var(--primary); padding: 0.65rem 1.25rem; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--primary-foreground); z-index: 2; }
.theme-founder__content { order: 1; }
@media (min-width: 768px) { .theme-founder__content { order: 1; } }
.theme-founder__heading { font-size: 1.875rem; margin-bottom: 1.5rem; line-height: 1.06; }
@media (min-width: 768px) { .theme-founder__heading { font-size: 3rem; line-height: 1; } }
.theme-founder__paragraph { font-size: 1rem; color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-founder__paragraph { font-size: 1.125rem; line-height: 1.75rem; } }
.theme-founder__quote-box { border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); background: #fff; padding: 1.5rem 1.75rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); margin-top: 1.5rem; }
.theme-founder__quote-icon { color: var(--accent); margin-bottom: 0.75rem; }
.theme-founder__quote-text { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; }
@media (min-width: 768px) { .theme-founder__quote-text { font-size: 1.5rem; } }
.theme-founder__quote-author { margin-top: 1rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--accent); font-weight: 600; }

/* -------------------------------------------------------------------------
   About / workshop section
   ------------------------------------------------------------------------- */
.theme-about { position: relative; overflow: hidden; }
.theme-about__bg-img { z-index: 0; }
.theme-about__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(28, 25, 23, 0.8), rgba(120, 53, 15, 0.62), rgba(28, 25, 23, 0.85)); }
.theme-about__inner { position: relative; z-index: 1; padding-block: 4rem; }
@media (min-width: 768px) { .theme-about__inner { padding-block: 6rem; } }
.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: repeat(2, 1fr); gap: 3.5rem; } }
.theme-about__heading { font-size: 1.875rem; color: #fff; margin-bottom: 1.5rem; line-height: 1.06; }
@media (min-width: 768px) { .theme-about__heading { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .theme-about__heading { font-size: 3.75rem; line-height: 1; } }
.theme-about__paragraph { font-size: 1rem; color: rgba(255, 255, 255, 0.85); line-height: 1.7; margin-bottom: 1.25rem; }
.theme-about__paragraph:first-of-type { color: rgba(255, 255, 255, 0.9); font-size: 1.125rem; line-height: 1.75rem; }
@media (min-width: 768px) {
	.theme-about__paragraph { font-size: 1.125rem; line-height: 1.75rem; }
	.theme-about__paragraph:first-of-type { font-size: 1.25rem; line-height: 1.75rem; }
}
.theme-about__cta { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: #fff; margin-top: 0.5rem; }
.theme-about__pillars { display: flex; flex-direction: column; gap: 1.25rem; }
.theme-about__pillar { display: flex; align-items: center; gap: 1.25rem; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(4px); border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); padding: 1.5rem 1.75rem; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
.theme-about__pillar:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: var(--shadow-elevated); transform: translateY(-4px); }
.theme-about__pillar-icon { flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.theme-about__pillar-title { font-size: 1.25rem; }
@media (min-width: 768px) { .theme-about__pillar-title { font-size: 1.5rem; } }

/* -------------------------------------------------------------------------
   Shop section
   ------------------------------------------------------------------------- */
.theme-shop__inner { padding-block: 3rem 3.5rem; }
@media (min-width: 768px) { .theme-shop__inner { padding-block: 5rem; } }
.theme-shop__header { text-align: center; margin-bottom: 3rem; }
.theme-shop__heading { font-size: 1.875rem; margin-bottom: 2rem; line-height: 1.06; }
@media (min-width: 768px) { .theme-shop__heading { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .theme-shop__heading { font-size: 3.75rem; line-height: 1; } }
.theme-shop__search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop__search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.theme-shop__search-input { width: 100%; height: 48px; background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0.5rem 0 0.5rem 1.75rem; font-size: 1rem; }
.theme-shop__search-input:focus { outline: none; border-color: var(--primary); }
.theme-shop__categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.75rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	font-weight: 600; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
	background: var(--card); color: var(--primary); transition: all 0.3s ease;
}
.theme-cat-filter.is-active, .theme-cat-filter:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.theme-shop__price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-shop__price-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); background: none; border: none; transition: color 0.3s ease; }
.theme-shop__price-toggle:hover { color: var(--accent); }
.theme-shop__price-chevron { transition: transform 0.3s ease; }
.theme-shop__price-toggle.is-open .theme-shop__price-chevron { transform: rotate(180deg); }
.theme-shop__price-panel { width: 100%; max-width: 24rem; padding-top: 0.5rem; }

.theme-price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--border); }
.range-track-fill { background: var(--primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--background); border: 2px solid var(--primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--background); border: 2px solid var(--primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.theme-price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--muted-foreground); }

.theme-shop__grid { margin-top: 2rem; }
.theme-shop-grid-item.is-hidden-initial { display: none; }
.theme-shop__show-more { text-align: center; margin-top: 3rem; }
.theme-shop__empty { text-align: center; padding: 5rem 0; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
   FAQ section
   ------------------------------------------------------------------------- */
.theme-faq { position: relative; overflow: hidden; background: var(--foreground); }
.theme-faq__bg-img { z-index: 0; }
.theme-faq__overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, rgba(28, 25, 23, 0.7) 0%, rgba(120, 53, 15, 0.5) 50%, rgba(28, 25, 23, 0.8) 100%); }
.theme-faq__inner { position: relative; z-index: 1; padding-block: 3rem; max-width: 48rem; margin-inline: auto; width: 100%; }
@media (min-width: 768px) { .theme-faq__inner { padding-block: 5rem; } }
.theme-faq__header { text-align: center; margin-bottom: 2.5rem; }
.theme-faq__heading { font-size: 1.875rem; color: #fff; line-height: 1.06; }
@media (min-width: 768px) { .theme-faq__heading { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) { .theme-faq__heading { font-size: 3.75rem; line-height: 1; } }
.theme-faq__list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-faq-item { border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.05); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.theme-faq-item:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: var(--shadow-soft); }
.theme-faq-item__question { width: 100%; min-height: 44px; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem 1.25rem; background: none; border: none; }
@media (min-width: 768px) { .theme-faq-item__question { padding: 1.25rem 1.75rem; } }
.theme-faq-item__question h3 { font-size: 1.125rem; }
@media (min-width: 768px) { .theme-faq-item__question h3 { font-size: 1.25rem; } }
.theme-faq-item__icon { flex-shrink: 0; color: var(--accent); margin-top: 0.25rem; transition: transform 0.3s ease; }
.theme-faq-item.is-open .theme-faq-item__icon { transform: rotate(45deg); }
.theme-faq-item__answer { overflow: hidden; }
.theme-faq-item__answer p { padding: 0 1.25rem 1.5rem; font-size: 1rem; color: var(--muted-foreground); line-height: 1.5rem; }
@media (min-width: 768px) { .theme-faq-item__answer p { padding: 0 1.75rem 1.5rem; } }

/* -------------------------------------------------------------------------
   Contact section
   ------------------------------------------------------------------------- */
.theme-contact { position: relative; overflow: hidden; background: var(--primary); }
.theme-contact__overlay { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary) 60%, transparent) 0%, transparent 55%), linear-gradient(to bottom, var(--primary) 0%, color-mix(in srgb, var(--primary) 92%, transparent) 100%); }
.theme-contact__inner { position: relative; padding-block: 3rem; }
@media (min-width: 768px) { .theme-contact__inner { padding-block: 5rem; } }
.theme-contact__content { max-width: 42rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .theme-contact__content { max-width: 56rem; } }
.theme-contact__heading { font-size: 1.875rem; color: #fff; margin-bottom: 1.25rem; line-height: 1.06; }
@media (min-width: 768px) { .theme-contact__heading { font-size: 3rem; line-height: 1; } }
.theme-contact__paragraph { color: rgba(255, 255, 255, 0.85); font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-contact__paragraph { font-size: 1.125rem; line-height: 1.75rem; } }
.theme-newsletter-embed { max-width: 28rem; margin: 0 auto; width: 100%; }
.theme-newsletter-embed iframe,
.theme-newsletter-embed form { width: 100%; max-width: 100%; }
.theme-newsletter-form { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 640px) { .theme-newsletter-form { flex-direction: row; } }
.theme-newsletter-form__input { flex: 1; min-height: 48px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; border-radius: 999px; padding: 0.75rem 1.25rem; font-size: 1rem; }
.theme-newsletter-form__input::placeholder { color: rgba(255, 255, 255, 0.6); }
.theme-newsletter-form__input:focus { outline: none; border-color: #fff; }
.theme-contact__meta { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: rgba(255, 255, 255, 0.9); font-size: 0.875rem; }
@media (min-width: 640px) { .theme-contact__meta { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; } }
.theme-contact__meta-link, .theme-contact__meta-text, .theme-contact__meta-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0; }
.theme-contact__meta-link:hover, .theme-contact__meta-btn:hover { color: #fff; }
.theme-contact__meta-btn { background: none; border: none; color: rgba(255, 255, 255, 0.9); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--foreground); color: #fff; }
.site-footer__inner { padding-block: 3rem 1.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 4rem 2rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__brand { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.site-footer .site-logo-img { height: 4rem !important; width: auto !important; filter: brightness(0) invert(1); }
.site-footer .site-logo-text { color: #fff; }
.site-footer__tagline { font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); line-height: 1.6; }
.site-footer__stamp { margin-top: 1rem; font-family: var(--font-chaos); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); }
.site-footer__col-heading { font-family: var(--font-chaos); text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px; color: var(--gold); margin-bottom: 1rem; }
.site-footer__link { display: inline-block; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); padding: 0.5rem 0; background: none; border: none; text-align: left; }
.site-footer__link:hover { color: #fff; }
.site-footer__contact-list li { padding: 0.5rem 0; }
.site-footer__contact-link { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.85); font-size: 0.875rem; }
.site-footer__contact-link:hover { color: #fff; }
.site-footer__contact-address { display: flex; align-items: flex-start; gap: 0.5rem; color: rgba(255, 255, 255, 0.85); font-size: 0.875rem; }
.site-footer__icon { flex-shrink: 0; color: var(--gold); }
.site-footer__bottom { padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.15); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__copyright, .site-footer__credit { font-size: 12px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.02em; }
.site-footer__credit a:hover { color: #fff; }

/* -------------------------------------------------------------------------
   Contact modal
   ------------------------------------------------------------------------- */
#theme-contact-modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.8); opacity: 0; visibility: hidden; transition: opacity 0.2s ease; }
body.contact-modal-open #theme-contact-modal-overlay { opacity: 1; visibility: visible; }
#theme-contact-modal { position: fixed; left: 50%; top: 50%; z-index: 91; width: calc(100% - 2rem); max-width: 34rem; max-height: 90vh; overflow-y: auto; transform: translate(-50%, -48%) scale(0.97); opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; }
body.contact-modal-open #theme-contact-modal { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.theme-contact-modal__panel { position: relative; background: var(--background); border-radius: var(--card-radius); padding: 1.75rem; box-shadow: var(--shadow-elevated); }
.theme-contact-modal__close { position: absolute; right: 1rem; top: 1rem; background: none; border: none; opacity: 0.7; color: var(--foreground); padding: 0.5rem; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 1.5rem; }
.theme-contact-modal__description { font-size: 0.9375rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-contact-modal__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__meta-link, .theme-contact-modal__meta-text { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__meta-link:hover { color: var(--accent); }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.theme-contact-form__field label { font-size: 0.875rem; font-weight: 500; }
.theme-contact-form__field input, .theme-contact-form__field textarea {
	width: 100%; padding: 0.65rem 0.75rem; background: var(--background); border: 1px solid var(--border);
	border-radius: 0.375rem; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.theme-contact-form__field textarea { resize: none; }
.theme-contact-form__field input:focus, .theme-contact-form__field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent); }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__error { color: #b91c1c; font-size: 0.875rem; margin-top: 0.75rem; }
.theme-contact-form__success { text-align: center; padding: 2rem 0; }
.theme-contact-form__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-form__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-form__success p { font-size: 0.875rem; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
   Side cart
   ------------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 95; background: color-mix(in srgb, var(--primary) 30%, transparent); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.25s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer { position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: #fff; z-index: 96; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s var(--transition-smooth); }
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.theme-cart-drawer__title { font-size: 1.25rem; color: var(--primary); }
.theme-cart-drawer__close { background: none; border: none; color: var(--primary); opacity: 1; padding: 0.25rem; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { color: color-mix(in srgb, var(--primary) 40%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image {
	display: block;
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
	background: var(--secondary);
}
.theme-cart-drawer__item-image-inner {
	display: block;
	width: 100%;
	height: 100%;
}
.theme-cart-drawer__item-image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
}
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-size: 0.875rem; font-weight: 500; color: var(--primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-drawer__item-name:hover { color: var(--rose); }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.theme-cart-drawer__item-option { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; background: none; border: none; color: var(--primary); border-radius: 0.25rem; }
.theme-cart-drawer__qty-btn:hover { background: var(--secondary); }
.theme-cart-drawer__qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 0.875rem; color: var(--muted-foreground); background: none; border: none; }
.theme-cart-drawer__remove:hover { color: var(--rose); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; background: #fff; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 600; color: var(--primary); }
.theme-cart-drawer__note { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* WooCommerce "View cart" injected link — not part of the design */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -------------------------------------------------------------------------
   WooCommerce 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;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button — overrides global rules for card context */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-featured-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 44px !important;
	background-color: var(--accent) !important;
	text-transform: none !important;
}

/* -------------------------------------------------------------------------
   Single product page
   ------------------------------------------------------------------------- */
.single-product-page { padding-top: 1.5rem; background: var(--background); }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.theme-breadcrumb a:hover { color: var(--foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: flex-start; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--secondary); overflow: hidden; border-radius: var(--card-radius); }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--secondary); border: none; padding: 0; border-radius: 0.5rem; }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.3s ease; }
.theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--foreground); }

@media (min-width: 1024px) { .theme-product-info { position: sticky; top: 7rem; padding-left: 1rem; } }
.theme-variations-table {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.theme-product-title { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .theme-product-title { font-size: 3rem; } }
.theme-product-subtitle { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.theme-product-option-label { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.125rem; margin-bottom: 0.75rem; }
.theme-product-option-group { margin-top: 2rem; }
.theme-product-option-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-wood-option-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--border); background: transparent; border-radius: 999px; transition: all 0.2s ease; }
.theme-wood-option-btn:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-wood-option-btn.is-selected { border-color: var(--foreground); background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.theme-wood-option-swatch { width: 0.75rem; height: 0.75rem; border-radius: 999px; border: 1px solid var(--border); }

.theme-quantity-wrapper-group { margin-top: 2rem; margin-bottom: 1.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--foreground) 70%, transparent); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 1rem; background: none; border: none; transition: background-color 0.2s ease; }
.theme-qty-minus { border-radius: 999px 0 0 999px; }
.theme-qty-plus { border-radius: 0 999px 999px 0; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.theme-qty-input { width: 3.5rem; padding: 0.5rem 0; text-align: center; border: none; background: none; -moz-appearance: textfield; }
.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; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; width: 100%; }

.theme-product-tabs { margin-top: 2.5rem; }
.theme-product-tabs__nav { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--foreground) 30%, transparent); padding-bottom: 0.5rem; overflow-x: auto; }
@media (min-width: 640px) { .theme-product-tabs__nav { gap: 1.5rem; } }
.theme-product-tab { position: relative; font-family: var(--font-display); font-size: 0.875rem; padding-bottom: 0.5rem; background: none; border: none; color: color-mix(in srgb, var(--foreground) 60%, transparent); white-space: nowrap; flex-shrink: 0; }
@media (min-width: 768px) { .theme-product-tab { font-size: 1rem; } }
.theme-product-tab.is-active { font-style: italic; color: var(--foreground); }
.theme-product-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--foreground); }
.theme-product-tabs__panel { padding-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.7; }
.theme-product-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li { display: flex; align-items: flex-start; }
.theme-product-details-list li::before { content: ''; width: 4px; height: 4px; background: var(--foreground); border-radius: 999px; margin: 0.55rem 0.75rem 0 0; flex-shrink: 0; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--border); }
.theme-related-products__heading { text-align: center; margin-bottom: 3rem; }
.theme-related-products__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--muted-foreground); margin-bottom: 0.5rem; }
.theme-related-products__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__title { font-size: 2.25rem; } }
.theme-related-products__grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .theme-related-products__grid { grid-template-columns: repeat(4, 1fr); } }

/* -------------------------------------------------------------------------
   Shop archive (category/tag pages)
   ------------------------------------------------------------------------- */
.shop-archive-page__inner { padding: 3rem 0 5rem; }
.shop-archive-page__header { text-align: center; margin-bottom: 2.5rem; }
.shop-heading { font-size: 2rem; }
.shop-archive-page__pagination { margin-top: 3rem; text-align: center; }
.shop-archive-page__pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin: 0 0.25rem; border-radius: 999px; border: 1px solid var(--border); }
.shop-archive-page__pagination .page-numbers.current { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--muted-foreground); }

/* -------------------------------------------------------------------------
   Generic pages, 404
   ------------------------------------------------------------------------- */
.site-main { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 4rem; }
body.theme-no-hero .site-main { padding-top: calc(var(--header-height) + 1.5rem); }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
.entry-content { max-width: 48rem; }

.theme-404-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; background: var(--muted); }
.theme-404-page__inner { text-align: center; padding: 5rem 0; }
.theme-404-page__heading { font-size: 3rem; margin-bottom: 1rem; }
.theme-404-page__text { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-404-page__link { color: var(--primary); text-decoration: underline; }
.theme-404-page__link:hover { color: color-mix(in srgb, var(--primary) 90%, black); }

/* -------------------------------------------------------------------------
   WooCommerce notices (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 {
	list-style: none; padding: 1rem 1.25rem !important; margin: 0 0 1.5rem !important;
	border-radius: 0.5rem; background: var(--secondary) !important; border-top: 3px solid var(--primary) !important;
	font-family: var(--font-body); color: var(--foreground);
}
.woocommerce-error { border-top-color: #b91c1c !important; }

/* -------------------------------------------------------------------------
   Checkout block (Section 13)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .entry-content { max-width: none; }

/* Outer wrapper must NOT become a grid (avoids nested grids). */
body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout {
	display: block !important;
	max-width: 76rem;
	margin-inline: auto;
}

/* Single two-column grid: summary left, form right — 576 + 64 + 576 = 1216px. */
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid !important;
		grid-template-columns: 576px 576px !important;
		gap: var(--checkout-gap) !important;
		align-items: start !important;
		justify-content: space-between !important;
		max-width: 76rem;
		margin-inline: auto;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar { order: 1; }
	body.woocommerce-checkout .wc-block-checkout__main { order: 2; }
}

@media (max-width: 1023px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: flex !important;
		flex-direction: column !important;
		gap: 2.5rem !important;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

/* No card wrapper on sidebar — Lovable shows summary flat. */
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-product-metadata__description {
	display: none !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.woocommerce-checkout .wc-block-cart-item__image {
	width: 5rem !important;
	height: 6rem !important;
	flex-shrink: 0 !important;
	overflow: hidden !important;
	border-radius: 0.5rem !important;
	background: var(--secondary) !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img,
body.woocommerce-checkout .wc-block-cart-item__image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
	border-radius: 0 !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-form .input-text,
body.woocommerce-checkout select.components-select-control__input {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	color: var(--foreground) !important;
	background: var(--background) !important;
	border: 1px solid var(--border) !important;
	border-radius: 0.5rem !important;
	box-shadow: none !important;
	min-height: 3rem !important;
}

body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control,
body.woocommerce-checkout .wc-block-components-select .components-base-control,
body.woocommerce-checkout .wc-block-components-text-input {
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-combobox-control input.components-combobox-control__input:focus,
body.woocommerce-checkout select.components-select-control__input:focus {
	border-color: var(--primary) !important;
	outline: none !important;
	box-shadow: 0 0 0 1px var(--primary) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--muted-foreground) !important;
	opacity: 1 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: 999px !important;
	text-transform: none !important;
	font-weight: 600 !important;
	font-family: var(--font-body) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
	font-family: var(--font-body);
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

/* -------------------------------------------------------------------------
   Cart / Account / Thank you page width parity (Section 13.7)
   ------------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: calc(var(--header-height) + 1.5rem); }

/* -------------------------------------------------------------------------
   Thank you page (Section 22.8)
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou-content { padding-top: 1rem; }
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-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem;
	background: var(--secondary); border-radius: var(--card-radius);
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@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-style: normal; }

/* -------------------------------------------------------------------------
   Contact form global (reused by checkout inputs — Section 13.4)
   ------------------------------------------------------------------------- */
