/* ==========================================================================
   Nine Muses Eats — theme.css
   Theme by The Free Website Guys.
   ========================================================================== */

/* -------------------- TOKENS -------------------- */
:root {
	--color-background: #fffdf9;
	--color-foreground: #3d2645;
	--color-primary: #d4a373;
	--color-card: #faf4ea;
	--color-border: #e6d6c4;
	--color-button-text: #fffdf9;
	--logo-height: 56px;

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Jost', sans-serif;

	--radius: 0.75rem;
	--shadow-soft: 0 4px 24px -8px rgba(61, 38, 69, 0.10);
	--shadow-elevated: 0 18px 50px -20px rgba(61, 38, 69, 0.25);
	--shadow-gold: 0 14px 40px -18px rgba(212, 163, 115, 0.55);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 88px;
	--admin-bar-height: 0px;
	--gradient-twilight: linear-gradient(135deg, #3d2645 0%, #5a3d68 45%, #d4a373 100%);
	--gradient-dawn: linear-gradient(180deg, #fffdf9 0%, #f7efe4 60%, #ead9c4 100%);

	--btn-radius: 9999px;
	--btn-height: 48px;
	--btn-padding: 0 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
}

/* -------------------- RESET -------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.005em;
	margin: 0;
	line-height: 1.15;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

/* Pointer on all interactive controls (matches native button/link behavior site-wide). */
a[href],
button:not(:disabled),
[role="button"],
label[for],
input[type="submit"],
input[type="button"],
input[type="reset"],
select,
summary,
.theme-card-link,
[data-cart-open],
[data-contact-open],
[data-cart-close],
[data-contact-close],
[data-anchor],
[data-announcement-dismiss],
.theme-product-thumb,
.theme-accordion-toggle,
.theme-logo-link,
.theme-footer-logo-link,
.theme-footer-col a,
.theme-contact-cta-link,
.theme-contact-modal-links a,
.add_to_cart_button,
.single_add_to_cart_button,
.theme-cart-btn,
.theme-mobile-toggle,
.theme-back-to-top,
.theme-cart-drawer-close,
.theme-contact-modal-close,
.theme-qty-minus,
.theme-qty-plus,
#theme-cart-overlay,
.theme-contact-modal-overlay {
	cursor: pointer;
}
button:disabled,
.single_add_to_cart_button.disabled,
.add_to_cart_button.disabled {
	cursor: not-allowed;
}
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }

img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card__image):not(.theme-product-main-image):not(.theme-note-cover-img):not(.theme-note-cover img):not(.theme-cart-item-thumb-img):not(.theme-cart-item-thumb img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .theme-product-card__image, .theme-product-main-image, .theme-note-cover-img, .theme-note-cover img, .theme-cart-item-thumb-img, .theme-cart-item-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.container-wide { width: 100%; max-width: 84rem; margin: 0 auto; padding: 0 1.5rem; min-width: 0; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.scroll-mt-24 { scroll-margin-top: calc(6rem + var(--admin-bar-height)); }

/* WordPress admin bar — keep sticky chrome below #wpadminbar */
body.admin-bar { --admin-bar-height: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-height: 46px; }
}
body.admin-bar .site-header { top: var(--admin-bar-height); }
body.admin-bar #theme-cart-overlay,
body.admin-bar #theme-cart-drawer {
	top: var(--admin-bar-height);
	height: calc(100% - var(--admin-bar-height));
}
body.admin-bar .theme-pricing-sticky-title { top: calc(5rem + var(--admin-bar-height)); }
body.admin-bar .theme-single-product-main,
body.admin-bar .theme-page-main,
body.admin-bar .theme-shop-main {
	padding-top: calc(7rem + var(--admin-bar-height));
}
body.admin-bar.woocommerce-checkout .site-main {
	padding-top: calc(var(--header-height) + var(--admin-bar-height));
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* -------------------- REVEAL ANIMATIONS -------------------- */
.reveal-item { opacity: 0; }
.reveal-item[data-reveal="fade-up"] { transform: translateY(36px); filter: blur(6px); transition: opacity 0.8s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1), filter 0.8s cubic-bezier(0.25, 0.4, 0.25, 1); }
.reveal-item[data-reveal="clip"] { clip-path: inset(0 100% 0 0); transform: translateY(14px); transition: opacity 1.1s cubic-bezier(0.25, 0.4, 0.25, 1), clip-path 1.1s cubic-bezier(0.25, 0.4, 0.25, 1), transform 1.1s cubic-bezier(0.25, 0.4, 0.25, 1); }
.reveal-item[data-reveal="image"] { transform: scale(0.94); filter: blur(10px); transition: opacity 1s cubic-bezier(0.25, 0.4, 0.25, 1), transform 1s cubic-bezier(0.25, 0.4, 0.25, 1), filter 1s cubic-bezier(0.25, 0.4, 0.25, 1); }
.reveal-item:not([data-reveal]) { transform: translateY(20px); transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth); }

.reveal-item.is-visible { opacity: 1; transform: none; filter: none; clip-path: inset(0 0% 0 0); }

body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
	clip-path: inset(0 0% 0 0) !important;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* -------------------- DECORATIVE: STARDUST -------------------- */
.theme-stardust { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.theme-stardust-particle {
	position: absolute; border-radius: 9999px; opacity: 0; will-change: transform, opacity;
	mix-blend-mode: screen; animation-name: stardustDrift; animation-timing-function: ease-in-out; animation-iteration-count: infinite; filter: blur(0.4px);
}
@keyframes stardustDrift {
	0% { transform: translate3d(0, 12px, 0) scale(0.9); opacity: 0; }
	20% { opacity: var(--peak-opacity, 0.5); }
	50% { transform: translate3d(var(--drift, 0), -22px, 0) scale(1.05); opacity: var(--peak-opacity, 0.5); }
	80% { opacity: var(--peak-opacity, 0.5); }
	100% { transform: translate3d(0, -42px, 0) scale(0.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .theme-stardust-particle { animation: none; opacity: 0.35; } }

/* -------------------- DECORATIVE: NOISE -------------------- */
.theme-noise-overlay {
	pointer-events: none; position: fixed; inset: 0; z-index: 55; opacity: 0.05; mix-blend-mode: overlay;
	background-repeat: repeat; background-size: 180px 180px;
}

/* -------------------- DECORATIVE: CURSOR GLOW / TRAIL -------------------- */
.theme-cursor-glow {
	pointer-events: none; position: fixed; left: 0; top: 0; z-index: 60; height: 420px; width: 420px; border-radius: 9999px;
	opacity: 0; transition: opacity 0.3s ease;
	background: radial-gradient(circle, rgba(212,163,115,0.22) 0%, rgba(212,163,115,0.08) 35%, rgba(212,163,115,0) 70%);
	mix-blend-mode: soft-light; filter: blur(8px);
}
.theme-cursor-trail-dot {
	position: fixed; width: 8px; height: 8px; border-radius: 9999px; pointer-events: none;
	background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
	mix-blend-mode: screen; animation: cursorTrailFade 900ms ease-out forwards; will-change: transform, opacity; z-index: 59;
}
@keyframes cursorTrailFade {
	0% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
	100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2) translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) { .theme-cursor-glow, .theme-cursor-trail-dot { display: none !important; } }

/* -------------------- TWINKLE / SPARKLE -------------------- */
.theme-sparkle-field { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.theme-twinkle {
	position: absolute; color: var(--color-primary); opacity: 0; animation: twinkle 4.5s ease-in-out infinite; pointer-events: none;
	filter: drop-shadow(0 0 6px rgba(212,163,115,0.7));
}
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); } 50% { opacity: 0.9; transform: scale(1) rotate(45deg); } }

/* -------------------- ORNAMENT DIVIDER -------------------- */
.theme-ornament-divider { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 2.5rem 0; }
@media (min-width: 768px) { .theme-ornament-divider { padding: 3.5rem 0; } }
.theme-ornament-line { height: 1px; flex: 1; max-width: 180px; }
.theme-ornament-line-left { background: linear-gradient(to right, transparent, rgba(212,163,115,0.5)); }
.theme-ornament-line-right { background: linear-gradient(to left, transparent, rgba(212,163,115,0.5)); }
.theme-ornament-icon { width: 1.75rem; height: 1.75rem; color: var(--color-primary); }
@media (min-width: 768px) { .theme-ornament-icon { width: 2.25rem; height: 2.25rem; } }
.theme-divider-bg-a { background: var(--color-background); }
.theme-divider-bg-b { background: var(--color-card); }

/* -------------------- FLOATING ORBS -------------------- */
.theme-floating-orbs { pointer-events: none; position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.theme-orb { position: absolute; border-radius: 9999px; filter: blur(64px); animation-name: orbBreathe; animation-timing-function: ease-in-out; animation-iteration-count: infinite; will-change: transform, opacity; }
@keyframes orbBreathe { 0%, 100% { transform: translate3d(0,0,0) scale(0.9); opacity: 0.55; } 50% { transform: translate3d(12px,-18px,0) scale(1.08); opacity: 0.95; } }
.theme-orb-gold { background: radial-gradient(circle, rgba(212,163,115,0.55) 0%, rgba(212,163,115,0) 70%); }
.theme-orb-fig { background: radial-gradient(circle, rgba(61,38,69,0.35) 0%, rgba(61,38,69,0) 70%); }
.theme-orb-cream { background: radial-gradient(circle, rgba(255,253,249,0.45) 0%, rgba(255,253,249,0) 70%); }
.theme-floating-orbs-dark .orb-1 { width: 34rem; height: 34rem; top: -8rem; left: -6rem; }
.theme-floating-orbs-dark .orb-2 { width: 28rem; height: 28rem; top: 33%; right: -8rem; }
.theme-floating-orbs-dark .orb-3 { width: 24rem; height: 24rem; bottom: -6rem; left: 33%; }
.theme-floating-orbs-light .orb-4 { width: 30rem; height: 30rem; top: -10rem; right: -8rem; }
.theme-floating-orbs-light .orb-5 { width: 22rem; height: 22rem; bottom: 0; left: -6rem; }
@media (prefers-reduced-motion: reduce) { .theme-orb { animation: none; } }

/* -------------------- CONSTELLATION -------------------- */
.theme-constellation { pointer-events: none; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; z-index: 0; }
.theme-constellation-line { stroke-dasharray: var(--line-len, 400); stroke-dashoffset: var(--line-len, 400); animation: drawLine 2.4s ease-out forwards; animation-delay: var(--line-delay, 0s); animation-play-state: paused; }
.theme-constellation.is-inview .theme-constellation-line { animation-play-state: running; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.theme-constellation-dot { opacity: 0; animation: dotIn 0.6s ease-out forwards; animation-delay: var(--dot-delay, 0s); animation-play-state: paused; }
.theme-constellation.is-inview .theme-constellation-dot { animation-play-state: running; }
@keyframes dotIn { to { opacity: 1; } }
body.is-customizer .theme-constellation-line,
body.is-customizer .theme-constellation-dot { opacity: 1; stroke-dashoffset: 0; }

/* -------------------- HIGHLIGHT UNDERLINE -------------------- */
.theme-highlight-underline { position: relative; display: inline; white-space: normal; }
.theme-highlight-underline > svg { position: absolute; left: -4px; right: -4px; bottom: -8px; width: calc(100% + 8px); height: 14px; overflow: visible; pointer-events: none; }
.theme-highlight-underline > svg path { stroke-dasharray: 240; stroke-dashoffset: 240; transition: stroke-dashoffset 1.4s var(--transition-smooth); }
.theme-highlight-underline.is-inview > svg path,
body.is-customizer .theme-highlight-underline > svg path { stroke-dashoffset: 0; }

/* -------------------- BUTTON SHIMMER -------------------- */
.btn-shimmer { position: relative; overflow: hidden; isolation: isolate; transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth); }
.btn-shimmer::before {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255,253,249,0.55) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform 0.9s var(--transition-smooth); pointer-events: none; z-index: 1;
}
.btn-shimmer:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(212,163,115,0.55); }
.btn-shimmer:hover::before { transform: translateX(120%); }
.btn-shimmer > * { position: relative; z-index: 2; }

/* -------------------- GENERIC BUTTONS -------------------- */
.single_add_to_cart_button, .add_to_cart_button {
	text-transform: none;
}
.theme-btn-hero-primary {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px; background: var(--color-primary); color: var(--color-button-text);
	padding: 1rem 2.25rem; font-size: 12px; letter-spacing: 0.26em; font-weight: 600;
	font-family: var(--font-body); text-transform: uppercase;
	box-shadow: var(--shadow-gold); border: none; cursor: pointer;
	transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
	max-width: 100%; min-width: 0; box-sizing: border-box;
}
.theme-btn-hero-outline {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px; border: 1px solid rgba(255,253,249,0.5); color: var(--color-background);
	padding: 1rem 2.25rem; font-size: 12px; letter-spacing: 0.26em; font-weight: 600;
	font-family: var(--font-body); text-transform: uppercase; background: transparent;
	transition: color 0.3s, border-color 0.3s;
	cursor: pointer;
	max-width: 100%; min-width: 0; box-sizing: border-box;
}
.theme-btn-hero-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.gold-frame { border: 1px solid rgba(212,163,115,0.45); box-shadow: var(--shadow-gold); }

/* -------------------- ANNOUNCEMENT BAR -------------------- */
.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-inner { padding: 0.5rem 2.75rem 0.5rem 1.5rem; text-align: center; }
.theme-announcement-text { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin: 0; max-width: 100%; line-height: 1.5; }
.theme-icon-sparkle-sm { color: var(--color-primary); width: 14px; height: 14px; flex-shrink: 0; }
.theme-hero-eyebrow .theme-icon-sparkle-sm { color: var(--color-primary); }
.theme-pricing-icon svg { color: var(--color-primary); }
.theme-note-icon { color: rgba(212,163,115,0.9); }
.theme-contact-cta-icon svg,
.theme-contact-modal-links svg,
.theme-footer-location svg,
.theme-footer-mailto svg,
.theme-footer-tel svg,
.theme-footer-col a svg,
.theme-contact-cta-location svg,
.theme-event-where svg { color: var(--color-primary); }
.theme-cart-btn svg, .theme-icon { flex-shrink: 0; display: block; }
.theme-announcement-dismiss { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); padding: 0.25rem; opacity: 0.7; color: inherit; }
.theme-announcement-dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* -------------------- HEADER -------------------- */
.site-header { position: sticky; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.3s; background: rgba(255,253,249,0.6); backdrop-filter: blur(10px); }
.site-header.is-solid, .site-header.theme-scrolled { background: rgba(255,253,249,0.72); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(212,163,115,0.25); }
.theme-nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; height: 5rem; }
@media (min-width: 768px) { .theme-nav-row { height: 6rem; } }
.theme-logo-link { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.theme-logo-avatar { height: 3rem; width: 3rem; object-fit: cover; border-radius: 9999px; box-shadow: var(--shadow-soft); border: 1px solid rgba(212,163,115,0.5); }
@media (min-width: 768px) { .theme-logo-avatar { height: 3.5rem; width: 3.5rem; } }
.theme-logo-img-only { height: var(--logo-height); width: auto; display: block; }
.theme-brand-text { display: none; font-family: var(--font-display); font-size: 1.25rem; color: var(--color-foreground); letter-spacing: -0.01em; line-height: 1; }
@media (min-width: 640px) { .theme-brand-text { display: block; } }
.theme-brand-sub { display: block; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-primary); font-family: var(--font-body); margin-top: 0.25rem; }

.theme-desktop-nav { display: none; align-items: center; }
@media (min-width: 1024px) { .theme-desktop-nav { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-list li { display: flex; align-items: center; }
.theme-desktop-nav .theme-nav-list a.theme-nav-link,
.theme-desktop-nav .theme-nav-list button.theme-nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 18px;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	font-size: 12px;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 400;
	color: rgba(61,38,69,0.8);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.3s;
	box-shadow: none;
	min-height: unset;
	-webkit-appearance: none;
	appearance: none;
}
.theme-desktop-nav .theme-nav-list a.theme-nav-link:hover,
.theme-desktop-nav .theme-nav-list button.theme-nav-link:hover,
.theme-desktop-nav .theme-nav-list a.theme-nav-link.is-active,
.theme-desktop-nav .theme-nav-list button.theme-nav-link.is-active {
	color: var(--color-primary);
}
.theme-nav-list a,
.theme-nav-list button.theme-nav-link,
.theme-nav-link {
	position: relative; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(61,38,69,0.8);
	transition: color 0.3s; font-family: var(--font-body); font-weight: 400; line-height: 1; white-space: nowrap;
}
.theme-nav-list a:hover, .theme-nav-list button.theme-nav-link:hover,
.theme-nav-link:hover, .theme-nav-link.is-active { color: var(--color-primary); }
button.theme-nav-link,
a.theme-nav-link {
	display: inline-block;
	padding: 0;
	border: none;
	background: none;
	font: inherit;
	color: rgba(61,38,69,0.8);
	text-align: left;
	text-decoration: none;
	min-height: unset;
	box-shadow: none;
}
.theme-nav-link::before {
	content: ''; position: absolute; left: -8px; top: -14px; width: 6px; height: 6px; border-radius: 9999px;
	background: var(--color-primary); box-shadow: 0 0 10px rgba(212,163,115,0.9), 0 0 22px rgba(212,163,115,0.55);
	opacity: 0; transform: scale(0.4); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22,1.5,0.36,1); pointer-events: none;
}
.theme-nav-link:hover::before { opacity: 1; transform: scale(1); }
.theme-nav-link::after {
	content: ''; position: absolute; bottom: -6px; left: 0; height: 2px; background: var(--color-primary); border-radius: 9999px;
	width: 0; opacity: 0; transition: all 0.3s;
}
.theme-nav-link.is-active::after { width: 100%; opacity: 1; }

.theme-header-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid rgba(212,163,115,0.5); color: var(--color-foreground);
	transition: background-color 0.3s;
}
.theme-cart-btn:hover { background: rgba(212,163,115,0.1); }
.theme-cart-count {
	position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 9999px;
	background: var(--color-primary); color: var(--color-button-text); font-size: 11px; font-weight: 600;
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-gold);
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; margin-right: -0.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.theme-mobile-nav { display: none; border-top: 1px solid rgba(212,163,115,0.2); padding: 1rem 0; }
.theme-mobile-nav.is-open { display: block; }
.theme-mobile-nav .theme-nav-list,
.theme-mobile-nav .theme-mobile-nav-list,
.theme-mobile-nav-list-wrap .theme-nav-list {
	display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem;
	margin: 0; padding: 0; list-style: none; width: 100%;
}
.theme-mobile-nav .theme-nav-list li,
.theme-mobile-nav .theme-mobile-nav-list li { display: block; width: 100%; }
.theme-mobile-nav-list a,
.theme-mobile-nav-list-wrap a,
.theme-mobile-nav .theme-nav-list a,
.theme-mobile-nav .theme-nav-list button.theme-nav-link,
.theme-mobile-nav-list button.theme-nav-link {
	display: block; width: 100%; text-align: left; font-size: 13px; letter-spacing: 0.16em;
	text-transform: uppercase; padding: 0.75rem 0; height: auto; white-space: normal;
	color: rgba(61,38,69,0.85); border-bottom: 1px solid rgba(61,38,69,0.1);
}
.theme-mobile-nav .theme-nav-list li:last-child a,
.theme-mobile-nav .theme-nav-list li:last-child button.theme-nav-link,
.theme-mobile-nav-list li:last-child a,
.theme-mobile-nav-list li:last-child button.theme-nav-link { border-bottom: none; }
.theme-mobile-nav .theme-nav-list a.is-active,
.theme-mobile-nav .theme-nav-list button.theme-nav-link.is-active,
.theme-mobile-nav-list a.is-active,
.theme-mobile-nav-list button.theme-nav-link.is-active {
	color: var(--color-primary); padding-left: 0.75rem; border-left: 2px solid var(--color-primary);
}
.theme-mobile-nav .theme-nav-link::before,
.theme-mobile-nav .theme-nav-link::after { display: none; }

/* -------------------- HERO -------------------- */
.theme-hero { position: relative; min-height: 100vh; background: var(--gradient-dawn); overflow: hidden; }
.theme-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.theme-hero-veil { position: absolute; inset: 0; background: linear-gradient(to bottom right, rgba(61,38,69,0.82), rgba(61,38,69,0.68), rgba(61,38,69,0.82)); pointer-events: none; }
.theme-hero-orb { position: absolute; border-radius: 9999px; filter: blur(64px); pointer-events: none; }
.theme-hero-orb-1 { top: -8rem; left: -6rem; width: 28rem; height: 28rem; background: rgba(212,163,115,0.3); }
.theme-hero-orb-2 { bottom: 0; right: -8rem; width: 36rem; height: 36rem; background: rgba(212,163,115,0.2); }
.theme-hero-inner { position: relative; padding: 4rem 0 4rem; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; width: 100%; max-width: 100%; min-width: 0; align-items: center; }
@media (min-width: 768px) { .theme-hero-inner { padding-top: 6rem; } }
@media (min-width: 1024px) { .theme-hero-inner { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.theme-hero-copy { grid-column: span 12; min-width: 0; }
@media (min-width: 1024px) { .theme-hero-copy { grid-column: span 6; } }
.theme-hero-empty { display: none; }
@media (min-width: 1024px) { .theme-hero-empty { display: block; grid-column: span 6; } }
.theme-hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.75rem; }
.theme-hero-title { color: var(--color-background); line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 2rem; filter: drop-shadow(0 2px 30px rgba(0,0,0,0.35)); font-size: clamp(3.5rem, 9vw, 7.5rem); }
.theme-hero-title em { font-style: italic; color: var(--color-primary); }
.theme-hero-paragraph { color: rgba(255,253,249,0.85); font-size: 1.125rem; line-height: 1.7; max-width: 36rem; margin-bottom: 2.5rem; min-width: 0; overflow-wrap: break-word; }
@media (min-width: 768px) { .theme-hero-paragraph { font-size: 1.25rem; } }
.theme-hero-ctas { display: flex; flex-direction: column; gap: 1rem; min-width: 0; max-width: 100%; box-sizing: border-box; }
@media (min-width: 1024px) { .theme-hero-ctas { flex-direction: row; } }

/* -------------------- SECTION HEADERS -------------------- */
.theme-section { position: relative; background: var(--color-background); }
.theme-section-header { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
@media (min-width: 768px) { .theme-section-header { margin-bottom: 4rem; } }
.theme-eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; }
.section-heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); margin-bottom: 1.25rem; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 3.75rem; } }
.section-heading em { font-style: italic; color: var(--color-primary); }
.theme-section-sub { color: rgba(61,38,69,0.7); font-size: 1rem; }
@media (min-width: 768px) { .theme-section-sub { font-size: 1.125rem; } }

.theme-menu-section, .theme-events-section, .theme-notes-section { padding: 5rem 0; }
@media (min-width: 768px) { .theme-menu-section, .theme-events-section, .theme-notes-section { padding: 7rem 0; } }

/* -------------------- PRODUCT GRID / CARDS -------------------- */
.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.theme-shop-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2.5rem; }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.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__image-wrapper {
	position: relative; aspect-ratio: 4 / 5; background: var(--color-card); border-radius: 1rem; overflow: hidden; margin-bottom: 1.25rem;
	border: 1px solid rgba(212,163,115,0.45); box-shadow: var(--shadow-gold); transition: transform 0.3s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image-wrapper { transform: translateY(-4px); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }
.theme-product-card__image { transition: transform 0.9s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card__wash {
	position: absolute; inset: 0; background: linear-gradient(to top, rgba(61,38,69,0.55), transparent 60%); opacity: 0;
	transition: opacity 0.5s; pointer-events: none;
}
.theme-product-card:hover .theme-product-card__wash { opacity: 1; }
.theme-badge {
	position: absolute; top: 1rem; z-index: 3; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 10px; font-weight: 600;
	letter-spacing: 0.2em; text-transform: uppercase;
}
.theme-badge-signature { left: 1rem; background: var(--color-primary); color: var(--color-button-text); box-shadow: var(--shadow-gold); }
.theme-badge-soldout { right: 1rem; background: var(--color-foreground); color: var(--color-background); }
.theme-product-card__image-wrapper:has(.theme-badge-soldout) .theme-product-card__image { opacity: 0.6; }

.theme-card-add-btn {
	position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3; pointer-events: auto;
	padding: 0.75rem 0; border-radius: 9999px; text-align: center;
	opacity: 0; transform: translateY(8px); transition: all 0.3s;
}
.theme-product-card:hover .theme-card-add-btn { opacity: 1; transform: translateY(0); }

.theme-product-card__info { padding: 0 0.25rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; flex: 1; }
.theme-product-card__text { min-width: 0; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em; color: var(--color-primary); margin-bottom: 0.375rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.3; color: var(--color-foreground); transition: color 0.3s; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price {
	flex-shrink: 0; margin-top: 0.25rem; display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 9999px;
	background: rgba(212,163,115,0.15); color: var(--color-primary); border: 1px solid rgba(212,163,115,0.4); font-size: 0.875rem; font-weight: 600;
}
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }

.theme-shop-empty { text-align: center; padding: 3rem 0; color: rgba(61,38,69,0.6); }
.theme-shop-heading { text-align: center; }
.theme-shop-main { padding: 7rem 0 5rem; }

/* -------------------- ADD TO CART BUTTON OVERRIDE (Section 11.4.1) -------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	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: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	box-shadow: var(--shadow-gold);
}
.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 override — overrides global rules for the card variant */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	height: auto !important;
	padding: 0.75rem 0 !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	border-radius: 9999px !important;
}

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.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; }

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* -------------------- 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; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius);
	background: var(--color-card); border: 1px solid var(--color-border); color: var(--color-foreground); font-family: var(--font-body);
}
.woocommerce-error { border-color: #c0392b; color: #7a2b21; }

/* -------------------- PRICING MENU -------------------- */
.theme-pricing-section { padding: 5rem 0; }
@media (min-width: 768px) { .theme-pricing-section { padding: 7rem 0; } }
.theme-pricing-list { max-width: 64rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.75rem; }
.theme-pricing-sticky-title { position: sticky; top: 5rem; z-index: 10; background: rgba(255,253,249,0.95); backdrop-filter: blur(4px); border-bottom: 1px solid rgba(212,163,115,0.2); padding: 1.25rem 1.5rem; margin: 0 -1.5rem; display: flex; align-items: center; gap: 1rem; }
.theme-pricing-icon { width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 9999px; background: rgba(212,163,115,0.15); border: 1px solid rgba(212,163,115,0.4); display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary); }
.theme-pricing-eyebrow-sm { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.125rem; }
.theme-pricing-sticky-title h3 { font-size: 1.5rem; }
@media (min-width: 768px) { .theme-pricing-sticky-title h3 { font-size: 1.75rem; } }
.theme-pricing-card { background: var(--color-card); border-radius: 1rem; padding: 1.75rem; border: 1px solid rgba(212,163,115,0.45); box-shadow: var(--shadow-gold); margin-top: 1.5rem; font-size: 15px; color: rgba(61,38,69,0.8); }
@media (min-width: 768px) { .theme-pricing-card { padding: 2.25rem; } }
.theme-pricing-card-row { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .theme-pricing-card-row { flex-direction: row; gap: 2.5rem; } }
.theme-pricing-card-row-tarts { align-items: flex-start; }
.theme-pricing-prices { width: 100%; flex-shrink: 0; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .theme-pricing-prices { width: 16rem; } }
.theme-pricing-prices-simple { width: 16rem; }
.theme-flavor-heading { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(61,38,69,0.55); margin-bottom: 0.5rem; }
.theme-price-line { display: flex; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid rgba(212,163,115,0.15); padding-bottom: 0.375rem; margin-bottom: 0.375rem; }
.theme-price-line span:last-child { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-primary); }
.theme-pricing-flavors-grid { flex: 1; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 480px) { .theme-pricing-flavors-grid { grid-template-columns: repeat(2, 1fr); } }
.theme-flavor-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 14.5px; margin-bottom: 0.25rem; }
.theme-flavor-dot { margin-top: 0.5rem; width: 4px; height: 4px; border-radius: 9999px; background: var(--color-primary); flex-shrink: 0; }
.theme-pricing-desc { flex: 1; color: rgba(61,38,69,0.65); font-size: 14.5px; }
.theme-pricing-table-wrap { width: 100%; flex-shrink: 0; overflow: hidden; border-radius: 0.75rem; border: 1px solid rgba(212,163,115,0.25); }
@media (min-width: 768px) { .theme-pricing-table-wrap { width: 26rem; } }
.theme-pricing-table { width: 100%; font-size: 14.5px; }
.theme-pricing-table thead { background: rgba(212,163,115,0.1); }
.theme-pricing-table th { text-align: right; padding: 0.5rem 0.75rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(61,38,69,0.7); }
.theme-pricing-table th:first-child { text-align: left; }
.theme-pricing-table td { padding: 0.625rem 0.75rem; text-align: right; color: var(--color-primary); font-variant-numeric: tabular-nums; border-top: 1px solid rgba(212,163,115,0.15); }
.theme-pricing-table td:first-child { text-align: left; color: var(--color-foreground); }
.theme-serves { color: rgba(61,38,69,0.55); font-size: 13px; }
.theme-pricing-flavors-single { flex: 1; }
.theme-pricing-footnote { text-align: center; margin-top: 3rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(61,38,69,0.6); }
.theme-pricing-footnote a { color: var(--color-primary); }
.theme-pricing-footnote a:hover { text-decoration: underline; }

/* -------------------- STORY SECTION -------------------- */
.theme-story-section { position: relative; overflow: hidden; background: var(--color-card); padding: 5rem 0; }
@media (min-width: 768px) { .theme-story-section { padding: 7rem 0; } }
.theme-story-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: start; width: 100%; max-width: 100%; }
@media (min-width: 1024px) { .theme-story-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.theme-story-copy { grid-column: span 12; position: relative; z-index: 1; min-width: 0; }
@media (min-width: 1024px) { .theme-story-copy { grid-column: span 5; } }
.theme-story-paragraph { color: rgba(61,38,69,0.75); font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-story-paragraph { font-size: 1.125rem; } }
.theme-story-quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: rgba(61,38,69,0.85); line-height: 1.4; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-story-quote { font-size: 1.75rem; } }
.theme-story-badges { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.theme-story-badges span { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(61,38,69,0.7); }
.theme-story-badges svg { color: var(--color-primary); }

.theme-story-gallery { grid-column: span 12; width: 100%; max-width: 100%; min-width: 0; }
@media (min-width: 1024px) { .theme-story-gallery { grid-column: span 7; } }
/* Lovable: #gallery > .grid.grid-cols-2 */
.theme-story-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
@media (min-width: 768px) { .theme-story-gallery-grid { gap: 1.25rem; } }
.theme-gallery-item {
	position: relative; border-radius: 1rem; overflow: hidden;
	border: 1px solid rgba(212,163,115,0.45); box-shadow: var(--shadow-gold);
	will-change: transform;
}
.theme-gallery-item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-gallery-item.h-1 { height: 16rem; }
.theme-gallery-item.h-2 { height: 18rem; margin-top: 2rem; }
.theme-gallery-item.h-3 { height: 18rem; margin-top: -1rem; }
.theme-gallery-item.h-4 { height: 16rem; margin-top: 1rem; }
@media (min-width: 768px) {
	.theme-gallery-item.h-1 { height: 20rem; }
	.theme-gallery-item.h-2 { height: 24rem; }
	.theme-gallery-item.h-3 { height: 24rem; }
	.theme-gallery-item.h-4 { height: 20rem; }
}
.theme-gallery-item:hover img { transform: scale(1.05); }

/* -------------------- EVENTS -------------------- */
.theme-events-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .theme-events-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.25rem; } }
.theme-event-card { background: var(--color-card); border-radius: 1rem; padding: 2rem; border: 1px solid rgba(212,163,115,0.45); box-shadow: var(--shadow-gold); transition: transform 0.5s; }
.theme-event-card:hover { transform: translateY(-6px); }
.theme-event-icon { width: 3rem; height: 3rem; border-radius: 9999px; background: rgba(212,163,115,0.15); border: 1px solid rgba(212,163,115,0.4); display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary); margin-bottom: 1.5rem; }
.theme-event-card h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.75rem; }
.theme-event-where { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.theme-event-when { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(61,38,69,0.55); margin-bottom: 1.25rem; }
.theme-event-note { font-size: 0.875rem; color: rgba(61,38,69,0.7); line-height: 1.6; }

/* -------------------- NOTES (MAGAZINE GRID) -------------------- */
.theme-notes-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 768px) { .theme-notes-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2.25rem; } }
.theme-note-card { position: relative; background: var(--color-card); border-radius: 1rem; overflow: hidden; border: 1px solid rgba(212,163,115,0.45); box-shadow: var(--shadow-gold); transition: transform 0.5s; display: flex; flex-direction: column; height: 100%; }
.theme-note-card:hover { transform: translateY(-6px); }
.theme-note-cover { position: relative; height: 14rem; background: var(--gradient-twilight); overflow: hidden; }
@media (min-width: 768px) { .theme-note-cover { height: 15rem; } }
.theme-note-cover-img,
.theme-note-cover img {
	position: absolute; inset: 0; z-index: 0;
	width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-note-cover-wash { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(61,38,69,0.8), rgba(61,38,69,0.3) 60%, rgba(61,38,69,0.4)); pointer-events: none; }
.theme-note-icon { position: absolute; bottom: 1rem; right: 1rem; color: rgba(212,163,115,0.9); z-index: 2; }
.theme-note-kicker { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); background: rgba(61,38,69,0.6); backdrop-filter: blur(4px); padding: 0.25rem 0.75rem; border-radius: 9999px; border: 1px solid rgba(212,163,115,0.4); }
.theme-note-card:hover .theme-note-cover-img,
.theme-note-card:hover .theme-note-cover img { transform: scale(1.05); }
.theme-note-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 768px) { .theme-note-body { padding: 2rem; } }
.theme-note-body h3 { font-size: 1.5rem; line-height: 1.3; margin-bottom: 0.75rem; transition: color 0.3s; }
.theme-note-card:hover .theme-note-body h3 { color: var(--color-primary); }
.theme-note-body p { font-size: 0.9375rem; color: rgba(61,38,69,0.7); line-height: 1.6; margin-bottom: 1.5rem; flex: 1; }
.theme-note-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(212,163,115,0.2); padding-top: 1rem; }
.theme-note-date { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(61,38,69,0.55); }
.theme-note-readmore { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary); }
.theme-note-readmore-link { text-decoration: none; transition: opacity 0.2s; }
.theme-note-readmore-link:hover { opacity: 0.75; }

/* -------------------- SINGLE NOTE POST -------------------- */
.theme-single-note-main { padding: 7rem 0 6rem; }
.theme-single-note-article { max-width: 48rem; margin: 0 auto; }
.theme-single-note-hero {
	position: relative; height: 18rem; border-radius: 1rem; overflow: hidden;
	background: var(--gradient-twilight); margin-bottom: 2.5rem;
	border: 1px solid rgba(212,163,115,0.45); box-shadow: var(--shadow-gold);
}
@media (min-width: 768px) { .theme-single-note-hero { height: 22rem; } }
.theme-single-note-hero-img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.theme-single-note-hero-wash {
	position: absolute; inset: 0; background: linear-gradient(to top, rgba(61,38,69,0.75), rgba(61,38,69,0.25) 55%, rgba(61,38,69,0.35));
}
.theme-single-note-kicker { top: 1.25rem; left: 1.25rem; }
.theme-single-note-header { margin-bottom: 2rem; text-align: center; }
.theme-single-note-eyebrow { margin-bottom: 0.75rem; }
.theme-single-note-title {
	font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin-bottom: 0.75rem;
}
.theme-single-note-date {
	font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
	color: rgba(61,38,69,0.55); margin-bottom: 1.25rem;
}
.theme-single-note-lede {
	font-size: 1.0625rem; line-height: 1.7; color: rgba(61,38,69,0.75);
	max-width: 38rem; margin: 0 auto 1.5rem;
}
.theme-single-note-content {
	font-size: 1rem; line-height: 1.8; color: rgba(61,38,69,0.85);
}
.theme-single-note-content p { margin-bottom: 1.25rem; }
.theme-single-note-content p:last-child { margin-bottom: 0; }

/* -------------------- CONTACT CTA SECTION -------------------- */
.theme-contact-cta-section { position: relative; overflow: hidden; padding: 6rem 0; }
@media (min-width: 768px) { .theme-contact-cta-section { padding: 8rem 0; } }
.theme-contact-cta-bg { position: absolute; inset: 0; background: var(--gradient-twilight); }
.theme-contact-cta-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .theme-contact-cta-grid { grid-template-columns: repeat(2, 1fr); gap: 5rem; } }
.theme-contact-cta-section h2 { color: var(--color-background); }
.theme-contact-cta-paragraph { color: rgba(255,253,249,0.85); font-size: 1rem; line-height: 1.7; max-width: 32rem; margin: 1.75rem 0 2.5rem; }
@media (min-width: 768px) { .theme-contact-cta-paragraph { font-size: 1.125rem; } }
.theme-contact-cta-links { display: flex; flex-direction: column; gap: 1.25rem; }
.theme-contact-cta-link {
	display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; border-radius: 1rem; background: rgba(255,253,249,0.1);
	border: 1px solid rgba(212,163,115,0.3); backdrop-filter: blur(4px); transition: background-color 0.3s;
}
.theme-contact-cta-link:hover { background: rgba(255,253,249,0.15); }
.theme-contact-cta-icon { width: 3rem; height: 3rem; border-radius: 9999px; background: rgba(212,163,115,0.2); border: 1px solid rgba(212,163,115,0.5); display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0; }
.theme-contact-cta-label { display: block; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.25rem; }
.theme-contact-cta-value { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-background); transition: color 0.3s; }
.theme-contact-cta-link:hover .theme-contact-cta-value { color: var(--color-primary); }
.theme-contact-cta-location { display: flex; align-items: center; gap: 0.75rem; padding: 0 1.5rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(255,253,249,0.7); }
.theme-contact-cta-location svg { color: var(--color-primary); }

/* -------------------- FOOTER -------------------- */
.site-footer { position: relative; background: var(--color-foreground); color: var(--color-background); overflow: hidden; }
.theme-footer-twilight-wash { position: absolute; inset: 0; background: var(--gradient-twilight); opacity: 0.9; pointer-events: none; }
.theme-footer-inner { position: relative; padding: 4rem 0 5rem; }
@media (min-width: 1024px) { .theme-footer-inner { padding: 5rem 0; } }
.theme-footer-brand-row { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(212,163,115,0.3); }
@media (min-width: 768px) { .theme-footer-brand-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-footer-logo-link { display: flex; align-items: center; gap: 1rem; }
.theme-footer-logo { height: 4rem; width: 4rem; object-fit: cover; border-radius: 9999px; box-shadow: var(--shadow-gold); border: 1px solid rgba(212,163,115,0.6); }
.theme-footer-brand-name { display: block; font-family: var(--font-display); font-size: 1.875rem; line-height: 1; }
.theme-footer-bakery-sub { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-top: 0.5rem; }
.theme-footer-quote-block { max-width: 28rem; }
@media (min-width: 768px) { .theme-footer-quote-block { text-align: right; } }
.theme-footer-quote { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: rgba(255,253,249,0.9); line-height: 1.4; }
.theme-footer-location { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,253,249,0.7); display: inline-flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .theme-footer-location { justify-content: flex-end; } }
.theme-footer-location svg { color: var(--color-primary); }

.theme-footer-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer-columns { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.theme-footer-col h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--color-primary); }
.theme-footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-col a { font-size: 0.875rem; color: rgba(255,253,249,0.85); transition: color 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-footer-col button.theme-footer-nav-link {
	font: inherit;
	font-size: 0.875rem;
	color: rgba(255,253,249,0.85);
	background: none;
	border: none;
	padding: 0;
	text-align: left;
	transition: color 0.3s;
}
.theme-footer-col button.theme-footer-nav-link:hover { color: var(--color-primary); }
.theme-footer-col a:hover { color: var(--color-primary); }
.theme-footer-mailto { word-break: break-all; }

.theme-footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(212,163,115,0.3); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.theme-footer-copyright { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,253,249,0.65); }
.theme-footer-credit { font-size: 0.875rem; color: rgba(255,253,249,0.8); }
.theme-footer-credit a { color: var(--color-primary); font-weight: 600; }
.theme-footer-credit a:hover { text-decoration: underline; }

/* -------------------- BACK TO TOP -------------------- */
.theme-back-to-top {
	position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40; width: 3rem; height: 3rem; border-radius: 9999px;
	background: var(--color-primary); color: var(--color-button-text); box-shadow: var(--shadow-gold);
	display: inline-flex; align-items: center; justify-content: center;
	opacity: 0; transform: translateY(12px); pointer-events: none; transition: all 0.3s;
}
.theme-back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.05); background: rgba(212,163,115,0.9); }

/* -------------------- CONTACT MODAL -------------------- */
.theme-contact-modal-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,0.8); opacity: 0; visibility: hidden; transition: opacity 0.2s; }
.theme-contact-modal {
	position: fixed; left: 50%; top: 50%; z-index: 71; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	transform: translate(-50%, -48%) scale(0.96); background: var(--color-background); border: 1px solid rgba(212,163,115,0.3);
	border-radius: 1rem; box-shadow: var(--shadow-elevated); padding: 1.5rem; opacity: 0; visibility: hidden;
	transition: opacity 0.2s, transform 0.2s;
}
body.contact-modal-open .theme-contact-modal-overlay { opacity: 1; visibility: visible; }
body.contact-modal-open .theme-contact-modal { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-contact-modal-close { position: absolute; right: 1rem; top: 1rem; padding: 0.375rem; border-radius: 0.25rem; opacity: 0.7; }
.theme-contact-modal-close:hover { opacity: 1; background: var(--color-card); }
.theme-contact-modal-title { font-size: 1.875rem; margin-bottom: 0.5rem; }
.theme-contact-modal-description { color: rgba(61,38,69,0.7); margin-bottom: 1rem; }
.theme-contact-modal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; padding: 0.5rem 0; border-top: 1px solid rgba(212,163,115,0.2); border-bottom: 1px solid rgba(212,163,115,0.2); margin: 0.5rem 0 1rem; }
.theme-contact-modal-links a { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(61,38,69,0.8); }
.theme-contact-modal-links a:hover { color: var(--color-primary); }
.theme-contact-modal-links svg { color: var(--color-primary); }
.theme-contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form-row { grid-template-columns: repeat(2, 1fr); } }
.theme-contact-form-field { margin-bottom: 1rem; }
.theme-contact-form-field label { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.375rem; color: rgba(61,38,69,0.7); }
.theme-contact-form-field input, .theme-contact-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 0.5rem; font-size: 1rem; font-family: var(--font-body); color: var(--color-foreground); transition: border-color 0.2s;
}
.theme-contact-form-field input:focus, .theme-contact-form-field textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-form-actions { display: flex; justify-content: flex-end; }
.theme-contact-submit-btn {
	display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px; padding: 0.75rem 1.75rem; background: var(--color-primary);
	color: var(--color-button-text); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; transition: box-shadow 0.3s;
}
.theme-contact-submit-btn:hover { box-shadow: var(--shadow-gold); }
.theme-contact-submit-btn:disabled { opacity: 0.6; cursor: wait; }
.theme-contact-form-success { text-align: center; padding: 2rem 0; }
.theme-contact-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-button-text); border-radius: 9999px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: var(--shadow-gold); }
.theme-contact-form-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-form-success p { font-size: 0.875rem; color: rgba(61,38,69,0.7); }

/* -------------------- SINGLE PRODUCT -------------------- */
.theme-single-product-main { padding: 7rem 0 6rem; }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(61,38,69,0.55); }
.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-breadcrumb-category { color: inherit; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--color-card); overflow: hidden; border-radius: 1rem; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-card); border-radius: 0.5rem; opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-foreground); }

.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(61,38,69,0.55); display: block; }
.theme-product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.75rem; } }
.theme-product-price { display: inline-flex; align-items: center; padding: 0.375rem 1rem; border-radius: 9999px; background: rgba(212,163,115,0.15); color: var(--color-primary); border: 1px solid rgba(212,163,115,0.4); font-size: 1.125rem; font-weight: 600; margin-bottom: 1.5rem; }
.theme-stock-status { margin-bottom: 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.theme-stock-out { color: #c0392b; }
.theme-product-excerpt { color: rgba(61,38,69,0.7); line-height: 1.625; margin-bottom: 2rem; font-size: 1rem; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 9999px; overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: 48px; display: inline-flex; align-items: center; color: var(--color-foreground); transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-card); }
.theme-qty-input {
	width: 3.5rem; height: 48px; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
	font-family: var(--font-body); font-size: 0.95rem; background: transparent; color: var(--color-foreground);
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-add-to-cart-area span.single_add_to_cart_button.disabled { display: inline-flex; }

.theme-details-heading { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 0.75rem; }
.theme-product-short-description, .woocommerce-product-details__short-description, .woocommerce-variation-description, .posted_in {
	overflow-wrap: break-word; word-break: break-word; color: rgba(61,38,69,0.7); line-height: 1.7;
}
.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-product-accordion { border-top: 1px solid var(--color-border); }
.theme-product-accordion:first-child { border-top: none; }
.theme-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.theme-accordion-toggle svg { transition: transform 0.2s; flex-shrink: 0; }
.theme-accordion-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-accordion-panel { padding-bottom: 1.5rem; color: rgba(61,38,69,0.7); font-size: 15px; line-height: 1.7; font-family: var(--font-body); }
.theme-accordion-panel p { margin-bottom: 0.75rem; }
.theme-accordion-panel p:last-child { margin-bottom: 0; }
.theme-product-features-description { margin-bottom: 1rem; white-space: pre-line; }
.theme-product-features-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.theme-product-features-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 15px; line-height: 1.6; color: rgba(61,38,69,0.7); }
.theme-product-features-list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--color-foreground); margin-top: 0.55rem; flex-shrink: 0; }

.theme-related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-heading { text-align: center; margin-bottom: 3rem; }
.theme-related-eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: rgba(61,38,69,0.6); margin-bottom: 0.5rem; }
.theme-related-heading h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-heading h2 { font-size: 2.25rem; } }

/* -------------------- SIDE CART DRAWER -------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: rgba(61,38,69,0.4); backdrop-filter: blur(4px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
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: 26rem; background: var(--color-background); z-index: 91;
	box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; border-left: 1px solid rgba(212,163,115,0.3);
	transform: translateX(100%); transition: transform 0.35s 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.2); }
.theme-cart-drawer-header h2 { font-size: 1.5rem; }
.theme-cart-drawer-close { padding: 0.25rem; opacity: 0.8; }
.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; }
.theme-cart-drawer-empty svg { color: var(--color-primary); margin-bottom: 1rem; }
.theme-cart-drawer-empty p { margin-bottom: 1.5rem; color: rgba(61,38,69,0.7); }
.theme-cart-continue-btn { display: inline-flex; border-radius: 9999px; border: 1px solid var(--color-primary); color: var(--color-primary); padding: 0.625rem 1.5rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; transition: all 0.2s; }
.theme-cart-continue-btn:hover { background: var(--color-primary); color: var(--color-button-text); }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer-item { display: flex; gap: 1rem; }
.theme-cart-item-thumb {
	display: block; position: relative; flex-shrink: 0;
	width: 5rem; height: 6rem;
	border-radius: 0.5rem; overflow: hidden;
	background: var(--color-card);
	border: 1px solid rgba(212,163,115,0.2);
}
.theme-cart-item-thumb img,
.theme-cart-item-thumb-img {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
}
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-title { display: block; font-family: var(--font-display); font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item-title:hover { color: var(--color-primary); }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-primary); font-weight: 600; margin-top: 0.125rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: rgba(61,38,69,0.6); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s; }
.theme-cart-qty-btn:hover { background: var(--color-card); }
.theme-cart-item-qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item-remove { margin-left: auto; font-size: 0.875rem; color: rgba(61,38,69,0.6); transition: color 0.2s; }
.theme-cart-item-remove:hover { color: #c0392b; }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid rgba(212,163,115,0.2); background: rgba(250,244,234,0.5); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-row .theme-cart-subtotal-value { font-weight: 600; }
.theme-cart-note { font-size: 12px; color: rgba(61,38,69,0.6); }
.theme-cart-checkout-btn { display: block; text-align: center; width: 100%; border-radius: 9999px; background: var(--color-primary); color: var(--color-button-text); padding: 0.875rem 1.5rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; transition: box-shadow 0.3s; }
.theme-cart-checkout-btn:hover { box-shadow: var(--shadow-gold); }
.theme-cart-empty-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 9999px; border: 1px solid var(--color-border); color: rgba(61,38,69,0.7); padding: 0.625rem 1.5rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; transition: all 0.2s; }
.theme-cart-empty-btn:hover { color: #c0392b; border-color: #c0392b; }

/* -------------------- THANK YOU PAGE -------------------- */
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 { font-family: var(--font-body); color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin: 2rem 0; background: var(--color-card); border-radius: var(--radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
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-details table { margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem; font-style: normal; }
.theme-thankyou-title { margin-bottom: 0.5rem; }
.theme-thankyou-intro { color: rgba(61,38,69,0.7); margin-bottom: 1rem; }

/* -------------------- PAGE / 404 -------------------- */
.theme-page-main, .theme-fallback-main, .theme-404-main { padding: 7rem 0 6rem; min-height: 50vh; }
.page-title { font-size: 2.25rem; margin-bottom: 2rem; }
.theme-404-content { text-align: center; padding: 6rem 0; }
.theme-404-content h1 { font-size: 4rem; margin-bottom: 1rem; }
.theme-404-content p { margin-bottom: 1.5rem; color: rgba(61,38,69,0.7); }

/* -------------------- CHECKOUT BLOCK (Section 13) -------------------- */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
@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: 2.5rem; align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}
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; border: 1px solid var(--color-border) !important; border-radius: 0.5rem !important;
	font-family: var(--font-body) !important; color: var(--color-foreground) !important; background: var(--color-background) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none !important; border-color: var(--color-primary) !important; }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card); border-radius: var(--radius); padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important; color: var(--color-button-text) !important; border-radius: 9999px !important;
	font-family: var(--font-body) !important; letter-spacing: 0.15em !important; text-transform: uppercase !important; font-size: 12px !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius) !important; font-family: var(--font-body) !important; }

/* -------------------- CART / ACCOUNT PAGE WIDTH PARITY -------------------- */
body.woocommerce-cart .theme-page-container,
body.woocommerce-account .theme-page-container { max-width: 84rem; }

/* -------------------- HERO + TABLET RESPONSIVE (phone & tablet) -------------------- */
@media (max-width: 1023px) {
	.theme-hero-inner {
		display: block;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	.theme-hero-copy {
		display: block;
		grid-column: auto;
		min-width: 0;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	.theme-hero-empty { display: none; }

	.theme-story-grid {
		display: block;
		min-width: 0;
		max-width: 100%;
	}

	.theme-story-copy,
	.theme-story-gallery {
		display: block;
		grid-column: auto;
		min-width: 0;
		max-width: 100%;
		width: 100%;
		box-sizing: border-box;
	}

	/* Lovable: gap-12 between story copy and gallery on mobile/tablet */
	.theme-story-copy + .theme-story-gallery {
		margin-top: 3rem;
	}

	.theme-hero-eyebrow {
		flex-wrap: wrap;
		row-gap: 0.375rem;
		max-width: 100%;
	}
	.theme-hero-title {
		overflow-wrap: break-word;
		max-width: 100%;
		min-width: 0;
	}
	/* Match Lovable: text-lg / leading-relaxed / max-w-xl */
	.theme-hero-paragraph {
		font-size: 1.125rem;
		line-height: 1.625;
		max-width: 36rem;
		width: 100%;
		min-width: 0;
		height: auto;
		box-sizing: border-box;
		white-space: normal;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}
	.theme-hero-paragraph .theme-highlight-underline {
		display: inline;
		white-space: normal;
		max-width: 100%;
	}
	.theme-hero-ctas {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}
	/* Match Lovable: stretch in flex-col, px-9 py-4, 12px / 0.26em */
	.theme-hero-ctas .theme-btn-hero-primary,
	.theme-hero-ctas .theme-btn-hero-outline {
		display: inline-flex;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		flex-shrink: 1;
		justify-content: center;
		text-align: center;
		white-space: normal;
		box-sizing: border-box;
		padding: 1rem 2.25rem;
		font-size: 12px;
		letter-spacing: 0.26em;
		line-height: 1.4;
		height: auto;
	}
	.theme-hero-ctas .theme-btn-hero-primary > span,
	.theme-hero-ctas .theme-btn-hero-outline > span {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: break-word;
	}

	.theme-story-paragraph {
		font-size: 1rem;
		line-height: 1.625;
		margin-bottom: 1.25rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		white-space: normal;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.theme-story-gallery {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.theme-story-gallery-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.theme-gallery-item {
		min-width: 0;
		max-width: 100%;
		overflow: hidden;
	}

	.theme-gallery-item.h-1 { height: 16rem; margin-top: 0; }
	.theme-gallery-item.h-2 { height: 18rem; margin-top: 2rem; }
	.theme-gallery-item.h-3 { height: 18rem; margin-top: -1rem; }
	.theme-gallery-item.h-4 { height: 16rem; margin-top: 1rem; }
}

/* -------------------- TABLET RESPONSIVE -------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
	.container-wide {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.theme-footer-inner { min-width: 0; box-sizing: border-box; }
	.theme-footer-brand-row { gap: 1.5rem; }
	.theme-footer-brand-name { font-size: 1.5rem; overflow-wrap: break-word; }
	.theme-footer-quote { font-size: 1rem; overflow-wrap: break-word; }
	.theme-footer-location { flex-wrap: wrap; }
	.theme-footer-columns { gap: 2rem; }
	.theme-footer-mailto { word-break: break-word; }
}

/* -------------------- MOBILE RESPONSIVE (Lovable parity) -------------------- */
@media (max-width: 767px) {
	.container-wide {
		width: 100%;
		max-width: 100%;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
		box-sizing: border-box;
	}

	.theme-announcement-inner { padding: 0.625rem 2.75rem 0.625rem 1.5rem; }
	.theme-announcement-text { font-size: 11px; letter-spacing: 0.16em; white-space: normal; }

	/* ---- HERO (Lovable: text-lg leading-relaxed max-w-xl, flex-col gap-4 buttons) ---- */
	#theme-hero .container-wide {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	/* Lovable uses a simple stacked column — avoid grid-column:span 12 expanding min track size */
	#theme-hero .theme-hero-inner {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		padding-top: 4rem;
		padding-bottom: 4rem;
		min-height: auto;
	}

	#theme-hero .theme-hero-copy {
		display: block;
		grid-column: auto;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	#theme-hero .theme-hero-empty {
		display: none;
	}

	.theme-hero-eyebrow {
		font-size: 10px;
		letter-spacing: 0.24em;
		line-height: 1.5;
		max-width: 100%;
		flex-wrap: wrap;
	}

	.theme-hero-title {
		font-size: clamp(2.75rem, 12vw, 4rem);
		overflow-wrap: break-word;
		max-width: 100%;
	}

	.theme-hero-paragraph {
		color: rgba(255, 253, 249, 0.85);
		font-size: 1.125rem;
		line-height: 1.625;
		max-width: 36rem;
		width: 100%;
		margin-bottom: 2.5rem;
		box-sizing: border-box;
		min-width: 0;
		white-space: normal;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.theme-hero-paragraph .theme-highlight-underline {
		display: inline;
		white-space: normal;
	}

	.theme-hero-paragraph .theme-highlight-underline > svg {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
	}

	.theme-hero-ctas {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.theme-hero-ctas .theme-btn-hero-primary,
	.theme-hero-ctas .theme-btn-hero-outline {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		align-self: stretch;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		flex-shrink: 1;
		box-sizing: border-box;
		padding: 1rem 2.25rem;
		font-size: 12px;
		letter-spacing: 0.26em;
		line-height: 1.4;
		height: auto;
		white-space: normal;
		text-align: center;
		text-transform: uppercase;
	}

	.theme-hero-ctas .theme-btn-hero-primary > span,
	.theme-hero-ctas .theme-btn-hero-outline > span {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: break-word;
	}

	.theme-highlight-underline {
		white-space: normal;
		display: inline;
		max-width: 100%;
		overflow-wrap: break-word;
	}

	.theme-highlight-underline > svg {
		left: 0;
		right: 0;
		width: 100%;
		max-width: 100%;
	}

	/* ---- STORY (Lovable: text-base leading-relaxed mb-5, 2-col gallery) ---- */
	#story .container-wide {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	#story .theme-story-grid {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	#story .theme-story-copy,
	#story .theme-story-gallery {
		display: block;
		grid-column: auto;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	#story .theme-story-gallery-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.theme-story-section { overflow: hidden; }

	.theme-story-grid {
		gap: 3rem;
	}

	.theme-story-copy .section-heading {
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.theme-story-paragraph {
		font-size: 1rem;
		line-height: 1.625;
		margin-bottom: 1.25rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		white-space: normal;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.theme-story-paragraph .theme-highlight-underline {
		display: inline;
		white-space: normal;
	}

	.theme-story-paragraph span {
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.theme-story-quote {
		width: 100%;
		max-width: 100%;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	/* Lovable: grid-cols-2 gap-4 masonry heights */
	.theme-story-gallery-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.theme-gallery-item {
		min-width: 0;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}

	.theme-gallery-item.h-1 { height: 16rem; margin-top: 0; }
	.theme-gallery-item.h-2 { height: 18rem; margin-top: 2rem; }
	.theme-gallery-item.h-3 { height: 18rem; margin-top: -1rem; }
	.theme-gallery-item.h-4 { height: 16rem; margin-top: 1rem; }

	.theme-story-gallery-grid .theme-gallery-item img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		max-width: 100%;
		object-fit: cover;
		object-position: center;
	}

	.theme-story-badges {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.theme-story-badges span { white-space: normal; }

	.theme-footer-inner { min-width: 0; box-sizing: border-box; }
	.theme-footer-brand-row { gap: 1.5rem; }
	.theme-footer-brand-name { font-size: 1.5rem; overflow-wrap: break-word; }
	.theme-footer-quote { font-size: 1rem; overflow-wrap: break-word; }
	.theme-footer-location { flex-wrap: wrap; }
	.theme-footer-columns { gap: 2rem; }
	.theme-footer-mailto { word-break: break-word; }
}
