/* ==========================================================================
   CrumbStudio theme.css — the theme's design system styles.
   ========================================================================== */

:root {
	--color-background: #F4F0EA;
	--color-foreground: #1C1C1C;
	--color-primary: #D4A373;
	--color-primary-deep: #C08A58;
	--color-secondary: #EAE5D9;
	--color-dark-alt: #252526;
	--color-button-text: #1C1C1C;
	--logo-height: 96px;
	--footer-logo-height: 128px;

	--font-display: 'Playfair Display', serif;
	--font-body: 'Inter', sans-serif;
	--font-label: 'Montserrat', sans-serif;

	--radius: 0.5rem;
	--card-radius: 0.5rem;
	--btn-radius: 9999px;
	--btn-height: 44px;
	--btn-padding: 0 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
	--header-height: 112px;
	--checkout-gap: 2.5rem;
	--section-padding: 2rem;

	--shadow-soft: 0 8px 24px rgba(28, 28, 28, 0.10);
	--shadow-elevated: 0 18px 40px rgba(28, 28, 28, 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.01em;
	color: inherit;
	margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.container-wide {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2rem);
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.cs-section-dark { background-color: var(--color-foreground); color: var(--color-background); }
.cs-section-cream { background-color: var(--color-background); color: var(--color-foreground); }
.cs-section-cream-alt { background-color: var(--color-secondary); color: var(--color-foreground); }

.text-caramel { color: var(--color-primary); }
.text-caramel-deep { color: var(--color-primary-deep); }

.theme-section { padding: 5rem 0; }
@media (min-width: 1024px) { .theme-section { padding: 7rem 0; } }
.theme-section-relative { position: relative; z-index: 1; }
.theme-section-head { text-align: center; margin-bottom: 3rem; }

.cs-label {
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 12px;
	line-height: 1.2;
}
.cs-flourish-line { display: inline-flex; align-items: center; gap: 10px; }
.cs-flourish-line::before, .cs-flourish-line::after {
	content: '';
	width: 24px;
	height: 1px;
	background-color: currentColor;
	opacity: 0.5;
}

.cs-filigree { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 1.5rem auto 0; width: 100%; max-width: 260px; color: var(--color-primary-deep); }
.cs-filigree--light { color: var(--color-primary); }
.cs-filigree::before, .cs-filigree::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, transparent, currentColor, transparent); opacity: 0.6; }

/* Section headings — per-section scale (Section 2.2.5) */
.section-heading { font-weight: 700; margin-top: 1.25rem; line-height: 1.15; }
.offer-section .theme-section-head,
.testimonials-section .theme-section-head { color: var(--color-background); }
.offer-card-title,
.offer-card-body,
.category-card-title,
.testimonial-text,
.theme-card-title { color: var(--color-foreground); }
.categories-heading, .featured-heading, .about-heading, .founder-heading,
.offer-heading, .shop-heading, .faq-heading, .testimonials-heading {
	font-size: 1.875rem;
}
@media (min-width: 768px) {
	.categories-heading, .featured-heading, .about-heading, .founder-heading,
	.offer-heading, .shop-heading, .faq-heading, .testimonials-heading {
		font-size: 3rem;
	}
}
.contact-title { font-size: 1.875rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: 1px solid transparent;
	white-space: nowrap;
	transition: transform 320ms cubic-bezier(0.25,0.4,0.25,1), box-shadow 320ms cubic-bezier(0.25,0.4,0.25,1), background-color 200ms ease, color 200ms ease;
}
.btn-primary, .btn-hero-primary {
	background-color: var(--color-primary);
	color: var(--color-button-text);
	border-color: var(--color-primary);
	text-transform: none;
}
.btn-primary:hover, .btn-hero-primary:hover {
	background-color: var(--color-background);
	color: var(--color-foreground);
}
.btn-outline, .btn-hero-outline {
	background-color: transparent;
	border-color: rgba(244,240,234,0.6);
	color: var(--color-background);
	text-transform: none;
}
.btn-hero-outline:hover, .btn-outline:hover { background-color: var(--color-background); color: var(--color-foreground); }
.single_add_to_cart_button, .single-product .single_add_to_cart_button { text-transform: none; }
.product-title { font-family: var(--font-body); font-weight: 600; }

.btn:hover, .cs-hover-lift:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(212,163,115,0.55), 0 0 0 1px rgba(212,163,115,0.35); }
.cs-hover-lift { transition: transform 320ms cubic-bezier(0.25,0.4,0.25,1), box-shadow 320ms cubic-bezier(0.25,0.4,0.25,1); will-change: transform; }

.shimmer-btn { position: relative; overflow: hidden; }
.shimmer-btn::after {
	content: '';
	position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
	background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
	transform: skewX(-20deg);
	animation: shimmerSlide 3.2s ease-in-out infinite;
	pointer-events: none;
}
@keyframes shimmerSlide { 0% { left: -75%; } 60% { left: 125%; } 100% { left: 125%; } }
@media (prefers-reduced-motion: reduce) { .shimmer-btn::after { animation: none; display: none; } }

/* ==========================================================================
   SCROLL REVEAL (data-cs-fade) — with Customizer preview fallback
   ========================================================================== */
[data-cs-fade] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 800ms cubic-bezier(0.22,1,0.36,1), transform 800ms cubic-bezier(0.22,1,0.36,1);
	transition-delay: var(--cs-fade-delay, 0ms);
}
[data-cs-fade].is-visible { opacity: 1; transform: translateY(0); }
.reveal-item { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(0.25,0.4,0.25,1), transform 700ms cubic-bezier(0.25,0.4,0.25,1); transition-delay: var(--cs-fade-delay, 0ms); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer [data-cs-fade],
body.is-customizer .reveal-item,
.theme-product-card-wrap.reveal-item {
	opacity: 1;
}
body.is-customizer [data-cs-fade],
body.is-customizer .reveal-item {
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	[data-cs-fade], .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.theme-announcement-bar { position: relative; background-color: var(--color-secondary); border-bottom: 1px solid rgba(212,163,115,0.3); }
.theme-announcement-inner { padding: 0.5rem 1.5rem; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.theme-announcement-icon { color: var(--color-primary-deep); width: 14px; height: 14px; flex-shrink: 0; }
.theme-announcement-icon--flip { transform: scaleX(-1); }
.theme-announcement-text { color: var(--color-foreground); font-size: 13px; }
.theme-announcement-dismiss { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); padding: 0.25rem; opacity: 0.7; color: var(--color-foreground); }
.theme-announcement-dismiss:hover { opacity: 1; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	width: 100%;
	background-color: #1C1C1C;
	border-bottom: 1px solid rgba(244,240,234,0.1);
	transition: background-color 300ms ease, backdrop-filter 300ms ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-scrolled { background-color: rgba(28,28,28,0.94); backdrop-filter: blur(10px); }
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1rem; }
@media (min-width: 768px) { .site-nav { height: 112px; } }
.site-brand { display: flex; align-items: center; flex-shrink: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; max-width: 280px; object-fit: contain; border-radius: 2px; transition: transform 300ms ease; display: block; }
.site-brand:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { font-family: var(--font-display); font-weight: 700; color: var(--color-background); font-size: 1.5rem; line-height: var(--logo-height); }
.site-logo-img--footer { height: var(--footer-logo-height) !important; }
.site-logo-text.site-brand--footer, .site-brand--footer .site-logo-text { line-height: var(--footer-logo-height); }

.site-nav-links { display: none; align-items: center; gap: 2rem; margin-left: auto; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-list a { color: rgba(244,240,234,0.85); transition: color 200ms ease; }
.theme-nav-list a:hover { color: var(--color-primary); }

.site-nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 9999px; border: 1px solid rgba(212,163,115,0.6);
	color: var(--color-background); transition: background-color 200ms ease, color 200ms ease, transform 320ms ease;
}
.theme-cart-btn:hover { background-color: var(--color-primary); color: var(--color-foreground); transform: translateY(-2px); }
.theme-cart-count {
	position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 9999px; background-color: var(--color-primary); color: var(--color-foreground);
	font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; color: var(--color-background); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-menu { display: none; border-top: 1px solid rgba(244,240,234,0.15); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; animation: fadeIn 0.3s var(--transition-smooth) forwards; }
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-mobile-nav-list a { display: block; text-align: left; padding: 0.75rem 0.5rem; border-radius: 6px; color: var(--color-background); transition: background-color 200ms ease; }
.theme-mobile-nav-list a:hover { background-color: rgba(244,240,234,0.1); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
body.theme-no-hero .hero-section { display: none; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-bg-video {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
	filter: contrast(1.1) saturate(0.9) brightness(0.85);
	animation: heroVideoZoom 22s ease-in-out infinite alternate;
	transform-origin: center center;
}
@media (max-width: 1023px) {
	.hero-section { padding-inline: clamp(1.25rem, 4vw, 2rem); }
	.hero-content.container-wide { padding-inline: 0; }
	.hero-bg-video {
		animation: none;
		transform: scale(1);
	}
}
@keyframes heroVideoZoom { 0% { transform: scale(1.05); } 100% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero-bg-video { animation: none !important; transform: scale(1.05); } }
.hero-gradient { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(28,28,28,0.55) 0%, rgba(28,28,28,0.45) 45%, rgba(28,28,28,0.85) 100%); pointer-events: none; }
.hero-vignette { position: absolute; inset: 0; z-index: 3; box-shadow: inset 0 0 200px rgba(0,0,0,0.5); pointer-events: none; }
.hero-content { position: relative; z-index: 10; padding: 6rem 0; }
@media (min-width: 1024px) { .hero-content { padding: 8rem 0; } }
.hero-copy { max-width: 48rem; }
.hero-title { font-family: var(--font-display); font-weight: 700; color: var(--color-background); font-size: 2.25rem; line-height: 1.1; margin-top: 1.5rem; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle { color: rgba(244,240,234,0.85); font-weight: 300; font-size: 1rem; margin-top: 1.5rem; max-width: 36rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }

/* ==========================================================================
   SHOP BY CATEGORY
   ========================================================================== */
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; } }
.category-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	background-color: var(--color-secondary); border: 1px solid rgba(212,163,115,0.3);
	border-radius: var(--card-radius); padding: 1.5rem; height: 100%;
}
@media (min-width: 768px) { .category-card { padding: 2rem; } }
.category-icon {
	width: 56px; height: 56px; border-radius: 9999px; background-color: var(--color-background);
	border: 1px solid rgba(212,163,115,0.5); display: flex; align-items: center; justify-content: center;
	color: var(--color-primary-deep); margin-bottom: 1rem; transition: background-color 200ms ease, color 200ms ease;
}
.category-card:hover .category-icon { background-color: var(--color-primary); color: var(--color-foreground); }
.category-card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
@media (min-width: 768px) { .category-card-title { font-size: 1.25rem; } }
.category-card-cta { font-size: 11px; color: var(--color-primary-deep); margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 4px; }

/* ==========================================================================
   FEATURED PIECES
   ========================================================================== */
.featured-section { position: relative; overflow: hidden; }
.featured-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.featured-bg-overlay { position: absolute; inset: 0; background: rgba(28,28,28,0.75); z-index: 1; }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
@media (min-width: 768px) { .featured-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .featured-grid { grid-template-columns: repeat(5, minmax(0,1fr)); } }
.featured-card {
	display: flex; flex-direction: column; height: 100%;
	background-color: var(--color-dark-alt); border: 1px solid rgba(212,163,115,0.3);
	border-top-left-radius: 9999px; border-top-right-radius: 9999px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
	overflow: hidden;
}
.featured-card-img-wrap { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.featured-card-img-wrap img { transition: transform 500ms ease; }
.featured-card:hover .featured-card-img-wrap img { transform: scale(1.05); }
.featured-card-caption { padding: 1rem; text-align: center; }
.featured-card-caption .cs-label { color: var(--color-primary); font-size: 11px; }

/* ==========================================================================
   OUR STORY
   ========================================================================== */
.about-section { padding: 3.5rem 0; }
@media (min-width: 1024px) { .about-section { padding: 5rem 0; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.about-body { font-weight: 300; opacity: 0.8; font-size: 1rem; line-height: 1.7; margin-top: 1.5rem; }
@media (min-width: 768px) { .about-body { font-size: 1.125rem; } }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.about-tag {
	display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-label); font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px; opacity: 0.8;
	border: 1px solid transparent; padding: 0.375rem 0.75rem; border-radius: 4px;
	transition: all 200ms ease-out; cursor: default;
}
.about-tag:hover { border-color: var(--color-primary); background-color: rgba(212,163,115,0.08); opacity: 1; transform: scale(1.05); }
.about-tag svg { color: var(--color-primary-deep); }
.about-image-wrap {
	position: relative; aspect-ratio: 1/1; overflow: hidden;
	border-top-left-radius: 9999px; border-top-right-radius: 9999px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
	border: 1px solid rgba(212,163,115,0.4);
}
.about-image-wrap img { transition: transform 400ms ease; }
.about-image-wrap:hover img { transform: scale(1.03); }

/* ==========================================================================
   FOUNDER
   ========================================================================== */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.founder-image-wrap {
	position: relative; aspect-ratio: 3/4; overflow: hidden;
	border-top-left-radius: 9999px; border-top-right-radius: 9999px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
	border: 4px solid rgba(212,163,115,0.3); transition: border-width 300ms ease;
}
.founder-image-wrap:hover { border-width: 5px; }
.founder-image-wrap img { transition: transform 400ms ease; }
.founder-image-wrap:hover img { transform: scale(1.03); }
.founder-body { font-weight: 300; opacity: 0.8; font-size: 1rem; line-height: 1.7; margin-top: 1.5rem; }
@media (min-width: 768px) { .founder-body { font-size: 1.125rem; } }
.founder-name { font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px; color: var(--color-primary); transition: letter-spacing 250ms ease; cursor: default; }
.founder-name:hover { letter-spacing: calc(0.28em + 0.5px); }

/* ==========================================================================
   WHAT WE OFFER
   ========================================================================== */
.offer-section { position: relative; overflow: hidden; }
.offer-bg-img { z-index: 0; }
.offer-bg-overlay { position: absolute; inset: 0; background: rgba(28,28,28,0.75); z-index: 1; }
.offer-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .offer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.offer-card {
	display: flex; flex-direction: column; height: 100%;
	background-color: var(--color-secondary); border: 1px solid rgba(212,163,115,0.3);
	border-radius: var(--card-radius); padding: 1.75rem;
}
.offer-icon { width: 48px; height: 48px; border-radius: 9999px; background-color: var(--color-foreground); color: var(--color-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.offer-card-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.offer-card-body { font-weight: 300; opacity: 0.75; font-size: 15px; line-height: 1.7; flex: 1; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { padding: 4rem 0; border-top: 1px solid rgba(212,163,115,0.2); border-bottom: 1px solid rgba(212,163,115,0.2); }
@media (min-width: 1024px) { .cta-band { padding: 5rem 0; } }
.cta-band-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .cta-band-inner { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.cta-band-copy { grid-column: span 1; }
@media (min-width: 768px) { .cta-band-copy { grid-column: span 2; } }
.cta-band-title { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; margin-top: 0.75rem; line-height: 1.2; }
@media (min-width: 768px) { .cta-band-title { font-size: 2.25rem; } }
.cta-band-body { font-weight: 300; opacity: 0.85; margin-top: 0.75rem; max-width: 36rem; }
.cta-band-action { display: flex; }
@media (min-width: 768px) { .cta-band-action { justify-content: flex-end; } }

/* ==========================================================================
   SHOP
   ========================================================================== */
.shop-filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.shop-filter-pill {
	font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.28em;
	font-size: 11px; padding: 0.5rem 1rem; border-radius: 9999px; border: 1px solid rgba(212,163,115,0.5);
	color: var(--color-foreground); background-color: transparent; transition: background-color 200ms ease, color 200ms ease;
}
.shop-filter-pill:hover { background-color: var(--color-primary); color: var(--color-foreground); }
.shop-filter-pill.is-active { background-color: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0,1fr));
	gap: 1.5rem;
	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)); } }
@media (min-width: 1280px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.related-products-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

.theme-product-card-wrap.is-hidden-initial { display: none; }
.theme-product-card-wrap.is-filtered-out { display: none !important; }

.theme-product-card {
	position: relative;
	display: flex; flex-direction: column; height: 100%;
	background-color: var(--color-background); border: 1px solid rgba(212,163,115,0.3);
	border-top-left-radius: 9999px; border-top-right-radius: 9999px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
	overflow: hidden;
}
.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-quick-add-btn, a.theme-quick-add-btn { pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; background-color: var(--color-secondary); }
.theme-product-card__image-wrapper img { transition: transform 500ms ease; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); }
.theme-badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px; background-color: var(--color-foreground); color: var(--color-background); padding: 0.25rem 0.5rem; border-radius: 3px; }

.theme-quick-add-btn {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 40px; height: 40px; border-radius: 9999px; background-color: var(--color-foreground); color: var(--color-background);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transform: translateY(4px); transition: opacity 300ms ease, transform 300ms ease, background-color 200ms ease, color 200ms ease;
}
.theme-product-card:hover .theme-quick-add-btn { opacity: 1; transform: translateY(0); }
.theme-quick-add-btn:hover { background-color: var(--color-primary); color: var(--color-foreground); }

.theme-product-card__info { display: flex; flex-direction: column; gap: 0.375rem; padding: 1rem; flex: 1; }
.theme-card-category { color: var(--color-primary-deep); font-size: 11px; }
.theme-card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.theme-card-desc { font-size: 14px; opacity: 0.7; margin-top: 0.25rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-card-price { font-size: 14px; font-weight: 600; margin-top: 0.5rem; }

.byob-card { border-color: transparent; }
.byob-card:hover { border-color: var(--color-primary-deep); box-shadow: 0 0 24px rgba(192,138,88,0.25); transform: translateY(-6px); }
.byob-filigree { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; width: 100%; color: var(--color-primary); }
.byob-filigree::before, .byob-filigree::after { content: ''; flex: 1; height: 1px; max-width: 80px; background: linear-gradient(to right, transparent, currentColor, transparent); opacity: 0.6; }
.byob-corner { position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 10; }
.byob-corner--tl { top: 10px; left: 10px; border-top: 1px solid var(--color-primary); border-left: 1px solid var(--color-primary); }
.byob-corner--br { bottom: 10px; right: 10px; border-bottom: 1px solid var(--color-primary); border-right: 1px solid var(--color-primary); }

.shop-toggle-wrap { display: flex; justify-content: center; margin-top: 2.5rem; }
.shop-toggle-btn {
	font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: 0.24em; font-size: 12px;
	padding: 0.75rem 1.5rem; border-radius: 9999px; border: 1px solid var(--color-foreground); color: var(--color-foreground);
	transition: background-color 200ms ease, color 200ms ease;
}
.shop-toggle-btn:hover { background-color: var(--color-foreground); color: var(--color-background); }
.shop-empty-message { text-align: center; padding: 3rem 0; opacity: 0.7; grid-column: 1 / -1; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-texture { background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(212,163,115,0.04) 8px, rgba(212,163,115,0.04) 9px); }
.faq-border-frame { border-top: 1px solid rgba(212,163,115,0.3); border-bottom: 1px solid rgba(212,163,115,0.3); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 5fr 7fr; } }
.faq-image-wrap { position: relative; overflow: hidden; height: 100%; min-height: 260px; border: 1px solid rgba(212,163,115,0.4); border-top-left-radius: 9999px; border-top-right-radius: 9999px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
.faq-accordion-list { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.faq-accordion {
	position: relative;
	border: 1px solid rgba(212,163,115,0.3); border-radius: var(--card-radius);
	background-color: rgba(37,37,38,0.6);
	transition: transform 320ms cubic-bezier(0.25,0.4,0.25,1), box-shadow 320ms cubic-bezier(0.25,0.4,0.25,1), border-color 320ms cubic-bezier(0.25,0.4,0.25,1);
}
.faq-accordion:hover { transform: translateY(-6px); border-color: var(--color-primary-deep); box-shadow: 0 22px 44px -18px rgba(212,163,115,0.55), 0 0 0 1px rgba(212,163,115,0.35); }
.faq-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; text-align: left; }
.faq-question { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--color-background); }
.faq-chevron { color: var(--color-primary); flex-shrink: 0; transition: transform 300ms ease; }
.faq-accordion-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-accordion-panel { padding: 0 1.25rem 1.25rem; }
.faq-answer { font-weight: 300; color: rgba(244,240,234,0.85); font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section { background-size: cover; background-position: center; }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.testimonial-card {
	display: flex; flex-direction: column; height: 100%;
	background-color: var(--color-secondary); border: 1px solid rgba(212,163,115,0.3); border-left: 3px solid var(--color-primary);
	border-radius: 0 var(--card-radius) var(--card-radius) 0; padding: 1.5rem;
}
.testimonial-quote { color: var(--color-primary); margin-bottom: 0.75rem; }
.testimonial-text { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.6; flex: 1; }
@media (min-width: 768px) { .testimonial-text { font-size: 1.125rem; } }
.testimonial-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.5rem; }
.testimonial-avatar { width: 32px; height: 32px; border-radius: 9999px; background-color: rgba(212,163,115,0.2); display: flex; align-items: center; justify-content: center; color: var(--color-primary-deep); }
.testimonial-name { color: var(--color-primary-deep); font-size: 11px; }
.testimonial-stars { display: flex; align-items: center; gap: 2px; color: var(--color-primary); }
.testimonials-cta { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.contact-copy { text-align: center; }
@media (min-width: 1024px) { .contact-copy { text-align: left; } }
.contact-body { font-weight: 300; opacity: 0.85; font-size: 1rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .contact-body { font-size: 1.125rem; } }
.contact-copy .btn { margin-top: 1.5rem; }
.contact-tiles { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.contact-tile {
	display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0.5rem;
	background-color: rgba(37,37,38,0.6); border: 1px solid rgba(212,163,115,0.3); border-radius: var(--card-radius);
	padding: 1.25rem; text-align: center; height: 100%;
	transition: transform 320ms cubic-bezier(0.25,0.4,0.25,1), box-shadow 320ms cubic-bezier(0.25,0.4,0.25,1);
}
.contact-tile:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -18px rgba(212,163,115,0.55), 0 0 0 1px rgba(212,163,115,0.35); }
.contact-tile-label { color: var(--color-primary); display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-tile-icon, .contact-social-icon { transition: transform 200ms ease, color 200ms ease; }
.contact-tile:hover .contact-tile-icon { transform: scale(1.1); color: var(--color-primary); }
.contact-tile-value { color: var(--color-background); font-size: 15px; word-break: break-word; }
.contact-social-row { display: flex; align-items: center; gap: 0.75rem; }
.contact-social-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; border: 1px solid rgba(212,163,115,0.4); color: var(--color-background); transition: background-color 200ms ease, color 200ms ease; }
.contact-social-btn:hover { background-color: var(--color-primary); color: var(--color-foreground); }
.contact-social-btn:hover .contact-social-icon { color: var(--color-primary); }
.contact-follow-body { font-weight: 300; color: rgba(244,240,234,0.85); font-size: 14px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid rgba(212,163,115,0.15); background-color: var(--color-foreground); color: var(--color-background); }
.theme-footer-inner { padding-block: 4rem 3rem; }
@media (min-width: 1024px) { .theme-footer-inner { padding-block: 5rem 3.5rem; } }
.theme-footer-top { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-bottom: 3rem; text-align: center; }
@media (min-width: 768px) { .theme-footer-top { flex-direction: row; justify-content: space-between; text-align: left; } }
.theme-footer-tagline { max-width: 28rem; font-size: 15px; color: rgba(244,240,234,0.75); }
.theme-footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer-columns { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 3rem; } }
.theme-footer-heading { color: var(--color-primary); margin-bottom: 1.25rem; }
.theme-footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-links a { font-size: 14px; color: rgba(244,240,234,0.75); transition: color 200ms ease; word-break: break-word; }
.theme-footer-links--contact a { display: inline-flex; align-items: flex-start; gap: 0.5rem; }
.theme-footer-links--contact svg { flex-shrink: 0; margin-top: 2px; }
.theme-footer-links a:hover { color: var(--color-primary); }
.theme-footer-social { display: flex; align-items: center; gap: 1rem; }
.theme-footer-filigree { margin: 3.5rem auto 2rem; color: var(--color-primary-deep); }
.theme-footer-bottom { display: grid; grid-template-columns: 1fr; gap: 0.75rem; align-items: center; text-align: center; }
@media (min-width: 768px) { .theme-footer-bottom { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.theme-footer-copyright, .theme-footer-builtby, .theme-back-to-top-inline { font-size: 14px; color: rgba(244,240,234,0.75); }
@media (min-width: 768px) { .theme-footer-copyright { text-align: left; } }
.theme-footer-builtby a { color: var(--color-primary); }
.theme-footer-builtby a:hover { text-decoration: underline; }
.theme-back-to-top-inline { display: inline-flex; align-items: center; gap: 0.375rem; justify-content: center; }
@media (min-width: 768px) { .theme-back-to-top-inline { justify-self: end; } }
.theme-back-to-top-inline:hover { color: var(--color-primary); }

.theme-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
	width: 44px; height: 44px; border-radius: 9999px; background-color: var(--color-primary); color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
	opacity: 0; pointer-events: none; transition: transform 200ms ease, opacity 200ms ease;
}
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1); }

/* ==========================================================================
   MODALS (Contact / Review)
   ========================================================================== */
.theme-modal-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transition: opacity 200ms ease; }
.theme-modal-overlay.is-open { opacity: 1; visibility: visible; }
.theme-modal {
	position: fixed; left: 50%; top: 50%; z-index: 61; width: calc(100% - 2rem); max-width: 34rem; max-height: 90vh; overflow-y: auto;
	background-color: var(--color-background); border: 1px solid rgba(212,163,115,0.3); border-radius: var(--card-radius);
	padding: 1.5rem; box-shadow: var(--shadow-elevated);
	transform: translate(-50%, -46%) scale(0.95); opacity: 0; visibility: hidden;
	transition: transform 200ms ease, opacity 200ms ease, visibility 200ms;
}
.theme-modal.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.theme-modal-close { position: absolute; right: 1rem; top: 1rem; padding: 0.375rem; border-radius: 4px; opacity: 0.7; }
.theme-modal-close:hover { opacity: 1; background-color: rgba(212,163,115,0.1); }
.theme-modal-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-right: 2rem; }
.theme-modal-title--center { text-align: center; margin-right: 0; }
.theme-modal-description { color: rgba(28,28,28,0.7); font-size: 15px; margin-top: 0.5rem; }
.theme-modal-contact-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; row-gap: 0.5rem; font-size: 14px; color: rgba(28,28,28,0.75); margin: 1rem 0; }
.theme-modal-contact-link { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 200ms ease; }
.theme-modal-contact-link:hover { color: var(--color-primary-deep); }
.theme-modal-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.theme-form-field label, .theme-form-label-static { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.875rem; background-color: var(--color-secondary);
	border: 1px solid rgba(212,163,115,0.4); border-radius: var(--card-radius); font-family: var(--font-body); font-size: 15px; color: var(--color-foreground);
	transition: box-shadow 200ms ease;
}
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(212,163,115,0.5); }
.theme-form-field textarea { resize: none; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-submit-full { width: 100%; }
.theme-review-stars { display: flex; align-items: center; gap: 4px; }
.theme-review-star { padding: 2px; color: rgba(28,28,28,0.3); transition: transform 150ms ease, color 150ms ease; }
.theme-review-star:hover { transform: scale(1.1); }
.theme-review-star.is-active, .theme-review-star.is-hover { color: var(--color-primary); }
.theme-review-star.is-active svg, .theme-review-star.is-hover svg { fill: currentColor; }
.theme-modal-success { text-align: center; padding: 1rem 0; }
.theme-modal-success svg { margin: 0 auto 0.75rem; color: var(--color-primary-deep); }

/* Contact modal — parity with ContactModal.tsx */
.theme-contact-modal { max-width: 32rem; display: grid; gap: 1rem; }
.theme-contact-modal-header { display: flex; flex-direction: column; gap: 0.375rem; }
.theme-contact-modal .theme-modal-title { font-size: 1.5rem; line-height: 1.2; color: var(--color-foreground); margin-right: 2rem; }
.theme-contact-modal .theme-modal-description { margin-top: 0; line-height: 1.6; }
.theme-contact-modal .theme-modal-contact-links { margin: 0; }
.theme-contact-modal .theme-modal-form { margin-top: 0; }
.theme-contact-modal .theme-form-field label { font-family: var(--font-body); font-weight: 500; color: var(--color-foreground); }
.theme-contact-modal .theme-form-field input::placeholder,
.theme-contact-modal .theme-form-field textarea::placeholder { color: rgba(28,28,28,0.4); }
.theme-contact-submit {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-color: var(--color-foreground) !important;
	text-transform: none;
}
.theme-contact-submit:hover {
	background-color: var(--color-primary) !important;
	color: var(--color-foreground) !important;
	border-color: var(--color-primary) !important;
}
.theme-modal-success-icon {
	width: 3.5rem; height: 3.5rem; border-radius: 9999px;
	background-color: var(--color-primary); color: var(--color-foreground);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1rem;
}
.theme-modal-success-icon svg { margin: 0; color: inherit; }
.theme-modal-success-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); margin-bottom: 0.5rem; }
.theme-modal-success-body { font-size: 14px; color: rgba(28,28,28,0.7); }

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(28,28,28,0.2); opacity: 0; visibility: hidden; transition: opacity 200ms 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; z-index: 56;
	background-color: var(--color-background); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 300ms 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 rgba(212,163,115,0.25); }
.theme-cart-drawer-title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.theme-cart-drawer-close { padding: 0.25rem; opacity: 0.7; }
.theme-cart-drawer-close:hover { opacity: 1; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: rgba(28,28,28,0.6); }
.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-thumb {
	display: block;
	width: 80px;
	height: 96px;
	flex-shrink: 0;
	overflow: hidden;
	background-color: var(--color-secondary);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 4px;
}
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name { display: block; font-size: 14px; font-weight: 500; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price, .theme-cart-item-variation { font-size: 13px; opacity: 0.7; margin-top: 2px; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 4px; border-radius: 4px; }
.theme-cart-qty-btn:hover { background-color: var(--color-secondary); }
.theme-cart-qty-value { font-size: 14px; width: 24px; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; font-size: 13px; opacity: 0.7; }
.theme-cart-remove-btn:hover { opacity: 1; }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid rgba(212,163,115,0.25); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-subtotal-value { font-weight: 600; }
.theme-cart-note { font-size: 13px; opacity: 0.7; }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	height: 36px;
	min-height: 36px;
	padding: 0 1.25rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	background-color: transparent;
	color: var(--color-foreground);
	border: 1px solid rgba(28, 28, 28, 0.4);
	border-radius: 9999px;
	white-space: nowrap;
	transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.theme-cart-empty-btn:hover {
	background-color: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-cart-empty-btn:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

/* ==========================================================================
   WOOCOMMERCE — GLOBAL NOTICE SCOPING
   ========================================================================== */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ==========================================================================
   WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
   ========================================================================== */
.single_add_to_cart_button.button:not(.theme-quick-add-btn),
.add_to_cart_button.button:not(.theme-quick-add-btn),
a.single_add_to_cart_button:not(.theme-quick-add-btn),
a.add_to_cart_button:not(.theme-quick-add-btn) {
	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:not(.theme-quick-add-btn):hover,
.add_to_cart_button.button:not(.theme-quick-add-btn):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,
.single_add_to_cart_button.is-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; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card compact quick-add button — overrides global rules, scoped after them */
.theme-product-card .theme-quick-add-btn.ajax_add_to_cart,
a.theme-quick-add-btn.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0 !important;
	border-radius: 50% !important;
	width: 40px !important;
	height: 40px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* Hide "View cart" injected by WooCommerce after AJAX add */
.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 PAGE
   ========================================================================== */
.single-product-main {
	padding: 3rem 0 6rem;
	padding-top: calc(3rem + var(--wp-admin-bar-height, 0px));
}
@media (min-width: 1024px) {
	.single-product-main { padding-top: calc(3.5rem + var(--wp-admin-bar-height, 0px)); }
}
.theme-breadcrumb {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(28,28,28,0.6);
	padding: 1.5rem 0;
}
.theme-breadcrumb a { color: rgba(28,28,28,0.6); transition: color 200ms ease; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	min-width: 0;
	padding-bottom: 6rem;
	padding-top: 1rem;
	align-items: start;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
	}
}
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7; } }
.theme-product-info {
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) {
	.theme-product-info {
		grid-column: span 5;
		padding-left: 1rem;
		position: sticky;
		top: 7rem;
	}
}
body.admin-bar .theme-product-info { top: calc(7rem + var(--wp-admin-bar-height, 32px)); }

.theme-product-gallery-mobile { display: block; }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery-mobile { display: none; }
	.theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-product-stack-image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--color-secondary);
}
.theme-product-stack-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.theme-product-thumbnails--mobile {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding-bottom: 4px;
	margin-top: 1rem;
	flex-wrap: nowrap;
	max-width: 100%;
}
.theme-thumb {
	position: relative;
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	overflow: hidden;
	background-color: var(--color-secondary);
	opacity: 0.6;
	transition: opacity 200ms ease;
	border: none;
	padding: 0;
	cursor: pointer;
}
.theme-thumb.is-active { opacity: 1; }
.theme-thumb.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background-color: var(--color-foreground);
}
.theme-product-main-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--color-secondary);
}

.theme-product-category {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: rgba(28,28,28,0.6);
}
.theme-product-info .product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
	line-height: 1.1;
	color: var(--color-foreground);
}
@media (min-width: 1024px) { .theme-product-info .product-title { font-size: 2.75rem; } }
.theme-product-price {
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
	color: var(--color-foreground);
}
.theme-stock-status--out { color: #BE0203; font-weight: 600; font-size: 14px; margin-bottom: 1rem; }
.theme-product-description {
	color: rgba(28,28,28,0.75);
	line-height: 1.7;
	margin-bottom: 2rem;
	font-size: 1rem;
}

.theme-size-selector,
.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-field-label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(28,28,28,0.6);
	margin-bottom: 0.75rem;
	font-family: var(--font-body);
	font-weight: 400;
}
.theme-size-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-pill {
	padding: 0.5rem 1rem;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	border: 1px solid rgba(28,28,28,0.2);
	border-radius: 9999px;
	transition: all 200ms ease;
	background: transparent;
	color: var(--color-foreground);
}
.theme-size-pill:hover { border-color: rgba(28,28,28,0.6); }
.theme-size-pill.is-selected {
	background-color: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid rgba(28,28,28,0.2);
	border-radius: 0;
	overflow: hidden;
}
.theme-qty-minus, .theme-qty-plus {
	padding: 0.5rem 0.75rem;
	display: flex;
	align-items: center;
	transition: background-color 200ms ease;
	color: var(--color-foreground);
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-display {
	padding: 0.5rem 1rem;
	min-width: 44px;
	text-align: center;
	font-size: 14px;
	color: var(--color-foreground);
}
.theme-qty-input { display: none; }

.theme-add-to-cart-area { margin-bottom: 0; }
.theme-single-atc-btn {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 1rem 2rem;
	border-radius: 9999px;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	transition: background-color 200ms ease, opacity 200ms ease;
}
.theme-single-atc-btn:hover:not(.is-disabled):not(.disabled) {
	background-color: rgba(28,28,28,0.9) !important;
	color: var(--color-background) !important;
	opacity: 1;
}
.theme-single-atc-btn.is-disabled,
.theme-single-atc-btn.disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}

.theme-product-options { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-option-field label.theme-option-label,
.theme-option-field span.theme-option-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(28,28,28,0.6);
	margin-bottom: 0.5rem;
}
.theme-option-select-wrap { position: relative; }
.theme-option-select {
	width: 100%;
	padding: 0.75rem 2.5rem 0.75rem 1rem;
	background-color: var(--color-background);
	border: 1px solid rgba(28,28,28,0.2);
	border-radius: var(--card-radius);
	font-size: 14px;
	color: var(--color-foreground);
	appearance: none;
}
.theme-option-select-wrap::after {
	content: '';
	position: absolute;
	right: 1rem;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid rgba(28,28,28,0.6);
	border-bottom: 1.5px solid rgba(28,28,28,0.6);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
}
.theme-option-checklist {
	border: 1px solid rgba(28,28,28,0.2);
	border-radius: var(--card-radius);
	padding: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	background-color: rgba(244,240,234,0.6);
}
.theme-option-checklist li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 14px; color: var(--color-foreground); }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid rgba(28,28,28,0.1); }
.theme-product-accordion { border-top: 1px solid rgba(28,28,28,0.1); }
.theme-product-accordion:first-child { border-top: none; }
.theme-product-accordion-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0;
	text-align: left;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: var(--color-foreground);
}
.theme-product-accordion-chevron { transition: transform 300ms ease; flex-shrink: 0; }
.theme-product-accordion.is-open .theme-product-accordion-chevron { transform: rotate(180deg); }
.theme-product-accordion-panel { padding-bottom: 1.5rem; }
.theme-product-accordion-copy {
	font-size: 15px;
	line-height: 1.7;
	color: rgba(28,28,28,0.75);
	margin-bottom: 1rem;
	white-space: pre-line;
}
.theme-product-accordion-copy--stack { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 0; }
.theme-details-list { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.theme-details-list li {
	font-size: 15px;
	color: rgba(28,28,28,0.75);
	padding-left: 1rem;
	position: relative;
}
.theme-details-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 4px;
	height: 4px;
	border-radius: 9999px;
	background-color: var(--color-foreground);
}

.related-products-section { padding: 5rem 0 2rem; border-top: 1px solid rgba(28,28,28,0.1); margin-top: 0; }
.related-products-head { text-align: center; margin-bottom: 3rem; }
.related-heading-italic {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	color: rgba(28,28,28,0.6);
	margin-bottom: 0.25rem;
}
.related-heading-main {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .related-heading-main { font-size: 2.25rem; } }

/* ==========================================================================
   VARIATIONS TABLE LAYOUT (forward-compat, Section 11.5.1)
   ========================================================================== */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* ==========================================================================
   WOOCOMMERCE ARCHIVE / SHOP PAGE (direct visits to category archives)
   ========================================================================== */
.theme-archive-main { padding: 3rem 0 6rem; }
.theme-archive-header { text-align: center; margin-bottom: 2.5rem; }
.theme-archive-header .page-title { font-size: 2.25rem; }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404-main { padding: 8rem 0; }
.theme-404-inner { max-width: 32rem; margin: 0 auto; text-align: center; }
.theme-404-title { font-size: 2rem; margin-bottom: 1rem; }
.theme-404-body { opacity: 0.7; margin-bottom: 2rem; }

/* ==========================================================================
   GENERIC PAGE
   ========================================================================== */
.theme-generic-page { padding: 4rem 0 6rem; }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; }

/* ==========================================================================
   CHECKOUT (WooCommerce Blocks) — Section 13
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 112px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title { max-width: 1400px; margin: 0 auto 1.5rem; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
	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;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-foreground);
	border: 1px solid rgba(28,28,28,0.2);
	border-radius: var(--card-radius);
	background-color: var(--color-background);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px rgba(212,163,115,0.5);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: rgba(28,28,28,0.4); }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: var(--card-radius); }

/* ==========================================================================
   CART / MY ACCOUNT / THANK YOU PAGE WIDTH PARITY — Section 13.7
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
	padding-top: var(--header-height, 112px);
	padding-bottom: 4rem;
}
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
	max-width: 1400px;
	margin: 0 auto 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; }
body.theme-thankyou-page .woocommerce-order-overview li { border: 1px solid rgba(28,28,28,0.15); border-radius: var(--card-radius); padding: 0.75rem 1rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* ==========================================================================
   MISC UTILITIES
   ========================================================================== */
.theme-section-anchor { cursor: pointer; }
