/* =========================================================================
   Deanna Crochet Magician — theme.css
   Author: The Free Website Guys
   ========================================================================= */

/* ---------------------------------------------------------------------
   0. TOKENS (Section 6 / 6.1). --color-* vars are re-emitted inline by
   theme_enqueue_assets() from Customizer values; static fallbacks below.
   --------------------------------------------------------------------- */
:root {
	--color-background: #faeff5;
	--color-foreground: #2c1933;
	--color-primary: #602b78;
	--color-primary-foreground: #fcf3f7;
	--color-secondary: #f7e8ed;
	--color-muted: #f2e3ed;
	--color-muted-foreground: #67536e;
	--color-accent: #d96899;
	--color-accent-foreground: #ffffff;
	--color-border: #ead7e2;
	--color-gold: #ee943a;
	--color-card: #ffffff;
	--color-rose: var(--color-accent);
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Playfair Display', serif;
	--font-body: 'Inter', sans-serif;
	--font-cute: 'Plus Jakarta Sans', sans-serif;

	--radius: 1rem;
	--card-radius: 1.5rem;
	--shadow-soft: 0 6px 24px -8px rgba(96, 43, 120, 0.16);
	--shadow-elevated: 0 24px 48px -18px rgba(96, 43, 120, 0.24);
	--ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
	--logo-height: 58px;
	--logo-height-md: 70px;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.2em;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;
	--header-height: 76px;
	--checkout-gap: 1.5rem;
	--checkout-max-width: 1280px;
}

/* ---------------------------------------------------------------------
   1. RESET / BASE (Section 2.2, 15)
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img:not(.cover-img):not(.theme-product-card__image):not(.theme-featured-card__image):not(.theme-hero-video):not(.site-logo-img):not(.theme-footer-logo-img) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .theme-product-card__image, .theme-featured-card__image, .theme-hero-video, .theme-contact-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.01em;
	color: var(--color-foreground);
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; }
ul { margin: 0; padding: 0; list-style: none; }
.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container-wide { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.link-underline { position: relative; }
.link-underline::after {
	content: '';
	position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------------------------------------------------------------------
   2. ANIMATION / REVEAL SYSTEM (Section 2.1)
   --------------------------------------------------------------------- */
@keyframes themeFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes themeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.theme-anim-fade-in { animation: themeFadeIn 0.6s var(--ease-smooth) forwards; }
.theme-anim-slide-up { animation: themeSlideUp 0.6s var(--ease-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* Global fallback: content must never stay invisible if JS/observer fails */
.no-js .reveal-item,
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

/* ---------------------------------------------------------------------
   3. SCROLL PROGRESS BAR
   --------------------------------------------------------------------- */
#theme-scroll-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
	pointer-events: none; background: transparent;
}
#theme-scroll-progress-bar { height: 100%; width: 0%; background: var(--color-gold); transition: width 80ms linear; }

/* ---------------------------------------------------------------------
   4. ANNOUNCEMENT BAR
   --------------------------------------------------------------------- */
.theme-announce-bar { position: relative; background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-announce-inner { padding-block: 0.625rem; padding-inline-end: 1.5rem; text-align: center; }
.theme-announce-text {
	font-family: var(--font-cute); text-transform: uppercase; letter-spacing: 0.2em;
	font-size: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.625rem;
	color: rgba(255,255,255,0.95);
}
@media (min-width: 768px) { .theme-announce-text { font-size: 13px; } }
.theme-announce-sep { color: var(--color-gold); }
.theme-announce-sep--sm, .theme-announce-sm { display: none; }
.theme-announce-sep--lg, .theme-announce-lg { display: none; }
@media (min-width: 640px) { .theme-announce-sep--sm, .theme-announce-sm { display: inline; } }
@media (min-width: 1024px) { .theme-announce-sep--lg, .theme-announce-lg { display: inline; } }
.theme-announce-dismiss {
	position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
	padding: 0.75rem; opacity: 0.7; transition: opacity 0.2s; color: var(--color-primary-foreground);
}
.theme-announce-dismiss:hover { opacity: 1; }
.theme-announce-bar.is-dismissed { display: none; }

/* ---------------------------------------------------------------------
   5. HEADER
   --------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	padding: 0.5rem 0;
	background: transparent; border-bottom: 1px solid transparent;
	transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled, .site-header.is-mobile-open {
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(20px) saturate(150%);
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	box-shadow: var(--shadow-soft);
}
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 3.5rem; height: auto; }
@media (min-width: 768px) { .site-nav { min-height: 4.5rem; } }
.site-logo-link { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; height: 100%; padding: 0.25rem 0; transition: transform 0.3s; }
.site-logo-link:hover { transform: scale(1.05); }
/* !important beats WooCommerce `.woocommerce-page img { height: auto }` on PDP, checkout, etc. */
.site-header .site-logo-img,
.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	max-width: none !important;
	border-radius: 50%;
	display: block;
	object-fit: contain;
}
@media (min-width: 768px) {
	.site-header .site-logo-img,
	.site-logo-img { height: var(--logo-height-md) !important; }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-primary); }
.site-nav-desktop { display: none; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; align-items: center; gap: 2rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-link, a.theme-nav-link {
	position: relative; font-family: var(--font-body); font-weight: 600; font-size: 12px;
	text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-primary);
	transition: color 0.2s; cursor: pointer; padding: 0.75rem 0; display: inline-block;
	background: none; border: none;
}
.theme-nav-link:hover { color: var(--color-accent); }
.theme-nav-link::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 1px;
	background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.theme-nav-link:hover::after { transform: scaleX(1); }
.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-cart-toggle {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	color: var(--color-primary); transition: all 0.2s;
}
.theme-cart-toggle:hover { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-cart-count {
	position: absolute; top: -0.25rem; right: -0.25rem; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 50%; background: var(--color-gold); color: var(--color-primary);
	font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; color: var(--color-primary); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-open .icon-menu { display: none; }
.theme-mobile-toggle.is-open .icon-close { display: block; }
.site-nav-mobile { display: none; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); padding: 0.75rem 0; }
.site-nav-mobile.is-open { display: block; animation: themeFadeIn 0.3s var(--ease-smooth) forwards; }
.theme-nav-list--mobile { display: flex; flex-direction: column; }
.theme-nav-list--mobile .theme-nav-link {
	text-align: left;
	padding: 1rem 0.25rem;
	min-height: 44px;
	font-size: 0.875rem;
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--color-primary);
	transition: color 0.2s;
	cursor: pointer;
}
.theme-nav-list--mobile .theme-nav-link::after { display: none; }
.theme-nav-list--mobile .theme-nav-link:hover { color: var(--color-accent); }
@media (min-width: 1024px) { .site-nav-mobile { display: none !important; } }

/* WordPress admin bar offset (Customizer preview + logged-in editing) */
body.admin-bar .site-header { top: 32px; }
body.admin-bar #theme-scroll-progress { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar #theme-scroll-progress { top: 46px; }
}

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.theme-hero { background: var(--color-background); position: relative; }
.theme-hero-media, .theme-hero {
	position: relative;
	width: 100%;
	min-height: 60vh;
	overflow: hidden;
}
@media (min-width: 768px) { .theme-hero { min-height: 100vh; } }
.theme-hero-media { position: absolute; inset: 0; }
.theme-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.theme-hero-overlay {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to bottom, hsla(281, 47%, 20%, 0.58) 0%, hsla(334, 45%, 30%, 0.42) 55%, hsla(281, 47%, 16%, 0.74) 100%);
}
.theme-hero-content-wrap {
	position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; min-height: 60vh;
}
@media (min-width: 768px) { .theme-hero-content-wrap { min-height: 100vh; } }
.theme-hero-content { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4rem 0; }
.theme-hero-badge {
	display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; background: color-mix(in srgb, var(--color-gold) 95%, transparent);
	padding: 0.5rem 1rem; font-size: 12px; font-family: var(--font-cute); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-primary);
}
.theme-hero-heading {
	font-weight: 400; line-height: 1.06; letter-spacing: -0.02em; margin-top: 1.5rem; color: white; text-align: center;
	font-size: 1.875rem;
}
@media (min-width: 640px) { .theme-hero-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .theme-hero-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-hero-heading { font-size: 3.75rem; } }
.theme-hero-heading-line { display: block; }
.theme-hero-heading-line--italic { font-style: italic; }
.theme-hero-paragraph { margin-top: 1.5rem; max-width: 36rem; font-size: 1rem; color: rgba(255,255,255,0.9); line-height: 1.7; }
@media (min-width: 768px) { .theme-hero-paragraph { font-size: 1.125rem; } }
.theme-hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1rem; width: 100%; }
@media (min-width: 640px) { .theme-hero-actions { flex-direction: row; align-items: center; width: auto; } }
.theme-btn-hero-primary, .theme-btn-hero-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border-radius: 999px; padding: 1rem 2rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	font-family: var(--font-cute); font-weight: 600; transition: all 0.2s; text-transform: none;
}
.theme-btn-hero-primary { background: var(--color-accent); color: var(--color-accent-foreground); border: none; }
.theme-btn-hero-primary:hover { background: color-mix(in srgb, var(--color-accent) 90%, black); }
.theme-btn-hero-outline {
	border: 1px solid rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); color: white;
}
.theme-btn-hero-outline:hover { background: rgba(255,255,255,0.2); }

/* ---------------------------------------------------------------------
   7. MARQUEE
   --------------------------------------------------------------------- */
.theme-marquee { border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); overflow: hidden; padding: 1rem 0; background: var(--color-primary); color: rgba(255,255,255,0.85); }
.theme-marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; animation: themeMarquee 30s linear infinite; width: max-content; }
@keyframes themeMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.theme-marquee-item { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; }
.theme-marquee-text { font-family: var(--font-cute); text-transform: uppercase; letter-spacing: 0.3em; font-size: 12px; }
@media (min-width: 768px) { .theme-marquee-text { font-size: 0.875rem; } }
.theme-marquee-sparkle { opacity: 0.5; }

/* ---------------------------------------------------------------------
   8. SHARED SECTION TYPOGRAPHY (Section 2.2.5 — per-section scale)
   --------------------------------------------------------------------- */
.theme-eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-cute); text-transform: uppercase;
	letter-spacing: 0.24em; font-size: 12px; font-weight: 600; color: var(--color-accent); margin-bottom: 0.75rem;
}
.theme-eyebrow--center { justify-content: center; }
.theme-eyebrow--light { color: rgba(255,255,255,0.8); }
.theme-heading-rule { margin: 1rem 0 2rem; width: 60px; height: 2px; border: 0; background: var(--color-gold); }

.theme-offerings-heading, .theme-shop-heading {
	font-size: 1.875rem; line-height: 1.06; letter-spacing: -0.02em; text-align: left; color: var(--color-foreground);
}
@media (min-width: 768px) { .theme-offerings-heading, .theme-shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-offerings-heading, .theme-shop-heading { font-size: 3.75rem; } }
.theme-shop-heading { text-align: center; margin-bottom: 2rem; }

.theme-craft-heading, .theme-faq-heading, .theme-contact-heading {
	font-size: 1.875rem; color: white; text-align: center; margin-bottom: 1rem;
}
@media (min-width: 768px) { .theme-craft-heading, .theme-faq-heading, .theme-contact-heading { font-size: 3rem; } }
.theme-faq-heading, .theme-contact-heading { color: var(--color-foreground); }
.theme-contact-heading { color: white; margin-bottom: 1.25rem; }

.theme-custom-heading, .theme-about-heading {
	font-size: 1.875rem; line-height: 1.15; color: var(--color-foreground); margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .theme-custom-heading, .theme-about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about-heading { font-size: 3.75rem; line-height: 1.04; } }

em, .theme-italic { font-style: italic; color: var(--color-primary); }

/* ---------------------------------------------------------------------
   9. FEATURED OFFERINGS
   --------------------------------------------------------------------- */
.theme-offerings-section { position: relative; background: var(--color-secondary); border-top: 1px solid color-mix(in srgb, var(--color-accent) 15%, transparent); }
.theme-offerings-wrap { padding-block: 3rem 2.5rem; }
@media (min-width: 768px) { .theme-offerings-wrap { padding-block: 5rem 3rem; } }
@media (min-width: 1024px) { .theme-offerings-wrap { padding-block-start: 6rem; } }
.theme-offerings-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-offerings-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.theme-offerings-link {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0.25rem; font-size: 12px; letter-spacing: 0.2em;
	text-transform: uppercase; font-family: var(--font-cute); font-weight: 600; color: var(--color-primary); align-self: flex-start;
	cursor: pointer;
}
.theme-offerings-link:hover { color: var(--color-accent); }
.theme-featured-grid {
	display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch;
}
@media (min-width: 640px) { .theme-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-featured-card-wrap { height: 100%; }
.theme-featured-card {
	position: relative; height: 100%; display: flex; flex-direction: column;
	background: var(--color-card); border-radius: var(--card-radius); overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.theme-featured-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.theme-featured-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-secondary); }
.theme-featured-card__image { transition: opacity 0.3s ease-out; }
.theme-featured-card__image--alt { opacity: 0; }
@media (min-width: 768px) { .theme-featured-card:hover .theme-featured-card__image--primary.has-alt { opacity: 0; } .theme-featured-card:hover .theme-featured-card__image--alt { opacity: 1; } }
.theme-badge {
	position: absolute; z-index: 3; padding: 0.375rem 0.875rem; border-radius: 999px; font-size: 12px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-body); pointer-events: none;
}
.theme-badge--category { top: 0.75rem; left: 0.75rem; background: color-mix(in srgb, var(--color-primary) 90%, transparent); color: var(--color-primary-foreground); }
.theme-badge--soldout { top: 0.75rem; right: 0.75rem; background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-badge--soldout-alt { background: color-mix(in srgb, var(--color-foreground) 85%, transparent); color: white; }
.theme-featured-card__body { position: relative; z-index: 2; display: flex; flex-direction: column; flex: 1; padding: 1.25rem 1.25rem 1.5rem; background: var(--color-card); }
.theme-featured-card__process { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-accent); font-weight: 600; margin-bottom: 0.5rem; }
.theme-featured-card__title { font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.5rem; }
.theme-featured-card__subtitle { font-size: 13px; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-featured-card__flavors { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1rem; }
.theme-flavor-pill { padding: 0.25rem 0.625rem; border-radius: 999px; background: var(--color-secondary); border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); font-size: 12px; color: var(--color-muted-foreground); }
.theme-featured-card__price { font-size: 1rem; font-weight: 600; color: var(--color-foreground); margin-top: auto; margin-bottom: 1rem; }

/* ---------------------------------------------------------------------
   10. PRODUCT CARDS (standard) + ADD-TO-CART (Section 11.4.1 / 31.9 / 31.3)
   --------------------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { height: 100%; }
.theme-shop-grid-slot { height: 100%; }
.theme-shop-grid-slot.theme-hidden-overflow { display: none; }
.theme-shop-grid-slot.theme-filtered-out { display: none !important; }

.theme-product-card { position: relative; height: 100%; display: flex; flex-direction: column; }
.theme-product-card__image-wrapper .theme-card-link,
.theme-featured-card__image-wrapper .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
}
.theme-product-card__title-link,
.theme-featured-card__title-link {
	color: inherit;
	text-decoration: none;
}
.theme-product-card:hover .theme-product-card__title-link,
.theme-featured-card:hover .theme-featured-card__title-link {
	color: var(--color-primary);
}
.theme-card-addtocart {
	position: relative;
	z-index: 1;
}

.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1 / 1; background: var(--color-card); border-radius: var(--card-radius);
	overflow: hidden; margin-bottom: 1.25rem; border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	transition: border-color 0.3s, box-shadow 0.3s;
}
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); box-shadow: var(--shadow-elevated); }
.theme-product-card__image { transition: opacity 0.3s ease-out, transform 0.3s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image-wrapper { transform: none; }
.theme-product-card:hover .theme-product-card__image-wrapper { }
.theme-product-card:hover .theme-product-card__image-wrapper img { }
.theme-product-card:hover .theme-product-card__image-wrapper { }
.theme-product-card:hover { transform: translateY(-4px); transition: transform 0.25s var(--ease-smooth); }
.theme-product-card__image--alt { opacity: 0; }
@media (min-width: 768px) {
	.theme-product-card:hover .theme-product-card__image--primary.has-alt { opacity: 0; }
	.theme-product-card:hover .theme-product-card__image--alt { opacity: 1; }
}
.theme-product-card__image.is-soldout { opacity: 0.6; }
.theme-product-card__body { padding: 0 0.25rem; display: flex; flex-direction: column; flex: 1; }
.theme-product-card__title { font-size: 1.25rem; line-height: 1.3; transition: color 0.3s; min-width: 0; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card__subtitle { margin-top: 0.5rem; margin-bottom: 1rem; font-size: 11px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.24em; color: var(--color-accent); }

/* Card add-to-cart button (Section 11.4.1 override) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
.theme-card-addtocart {
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: 44px !important;
	padding: 0.75rem 1.5rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	font-family: var(--font-body) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease, background-color 0.2s ease !important;
	margin-top: auto;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover,
.theme-card-addtocart:hover {
	opacity: 0.9 !important;
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !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,
.theme-card-addtocart--disabled {
	cursor: not-allowed !important;
	opacity: 0.5 !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.5 !important;
	background-color: var(--color-accent) !important;
}
/* Loading / added states (Section 31.8) */
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
/* Hide WooCommerce "View cart" link (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Single-product CTA button variant */
.theme-btn-cta {
	width: 100%;
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	min-height: 48px !important;
	border-radius: 999px !important;
	padding: 1rem !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

/* ---------------------------------------------------------------------
   11. CRAFTSMANSHIP SECTION
   --------------------------------------------------------------------- */
.theme-craft-section { position: relative; background: var(--color-primary); overflow: hidden; }
.theme-craft-section::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--color-accent) 35%, transparent) 0%, transparent 45%),
		radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--color-gold) 28%, transparent) 0%, transparent 45%);
}
.theme-craft-wrap { position: relative; padding-block: 3rem; }
@media (min-width: 768px) { .theme-craft-wrap { padding-block: 5rem; } }
@media (min-width: 1024px) { .theme-craft-wrap { padding-block: 7rem; } }
.theme-craft-header { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .theme-craft-header { margin-bottom: 3.5rem; } }
.theme-craft-paragraph { font-size: 1rem; color: rgba(255,255,255,0.8); line-height: 1.7; }
@media (min-width: 768px) { .theme-craft-paragraph { font-size: 1.125rem; } }
.theme-craft-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-craft-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-craft-card {
	background: var(--color-card); border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
	padding: 1.75rem; display: flex; flex-direction: column; transition: all 0.3s var(--ease-smooth);
}
.theme-craft-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px -8px rgba(0,0,0,0.15); }
.theme-craft-icon {
	width: 3.5rem; height: 3.5rem; border-radius: 50%; background: color-mix(in srgb, var(--color-accent) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent); display: flex; align-items: center; justify-content: center;
	margin-bottom: 1.25rem; color: var(--color-accent); transition: background-color 0.3s;
}
.theme-craft-card:hover .theme-craft-icon { background: color-mix(in srgb, var(--color-accent) 20%, transparent); }
.theme-craft-card-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.theme-craft-card-desc { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.7; flex: 1; }
@media (min-width: 768px) { .theme-craft-card-desc { font-size: 1rem; } }

/* ---------------------------------------------------------------------
   12. CUSTOM ORDERS SECTION
   --------------------------------------------------------------------- */
.theme-custom-section { background: var(--color-background); }
.theme-custom-wrap { padding-block: 3rem; }
@media (min-width: 768px) { .theme-custom-wrap { padding-block: 5rem; } }
@media (min-width: 1024px) { .theme-custom-wrap { padding-block: 7rem; } }
.theme-custom-card {
	position: relative; overflow: hidden; border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
	background: var(--color-card); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
@media (min-width: 640px) { .theme-custom-card { padding: 2rem; } }
@media (min-width: 768px) { .theme-custom-card { padding: 3.5rem; } }
.theme-custom-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .theme-custom-grid { grid-template-columns: 1fr 1fr; } }
.theme-custom-paragraph { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-custom-paragraph { font-size: 1.125rem; } }
.theme-custom-note { display: inline-flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 2rem; }
.theme-custom-note svg { color: var(--color-accent); margin-top: 0.125rem; flex-shrink: 0; }
.theme-custom-actions { display: flex; flex-direction: column; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 640px) { .theme-custom-actions { flex-direction: row; } }
.theme-btn-accent, .theme-btn-outline-primary, .theme-btn-gold, .theme-btn-outline, .theme-btn-primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px;
	padding: 1rem 1.75rem; font-size: 12px; letter-spacing: 0.2em; text-transform: none; font-family: var(--font-cute);
	font-weight: 600; transition: all 0.2s; border: 1px solid transparent;
}
.theme-btn-accent { background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn-accent:hover { opacity: 0.9; }
.theme-btn-outline-primary { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.theme-btn-outline-primary:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-gold { background: var(--color-gold); color: var(--color-primary); }
.theme-btn-gold:hover { opacity: 0.9; }
.theme-btn-outline { border-color: color-mix(in srgb, var(--color-primary) 25%, transparent); color: var(--color-primary); background: transparent; }
.theme-btn-outline:hover { background: var(--color-secondary); }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); width: 100%; padding: 1.1rem; }
.theme-btn-primary:hover { opacity: 0.92; }
.theme-custom-steps { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .theme-custom-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .theme-custom-steps { gap: 1rem; } }
.theme-custom-step {
	border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
	background: var(--color-secondary); padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 110px;
}
@media (min-width: 768px) { .theme-custom-step { padding: 1.25rem; } }
.theme-custom-step-label {
	display: block; font-family: var(--font-cute); text-transform: uppercase; letter-spacing: 0.18em;
	font-size: 12px; color: var(--color-accent); font-weight: 600; overflow-wrap: break-word;
}
.theme-custom-step-value {
	display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 400; line-height: 1.25;
	color: var(--color-foreground); margin-top: 0.75rem; text-wrap: pretty; overflow-wrap: break-word;
}
@media (min-width: 1024px) { .theme-custom-step-value { font-size: 1.25rem; } }

/* ---------------------------------------------------------------------
   13. ABOUT / ARTISAN SECTION
   --------------------------------------------------------------------- */
.theme-about-section { position: relative; z-index: 1; background: var(--color-secondary); }
.theme-about-wrap { position: relative; z-index: 10; padding-block: 4rem; }
@media (min-width: 768px) { .theme-about-wrap { padding-block: 6rem; } }
.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .theme-about-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.theme-about-copy { order: 2; }
@media (min-width: 1024px) { .theme-about-copy { order: 1; } }
.theme-about-image-col { order: 1; }
@media (min-width: 1024px) { .theme-about-image-col { order: 2; } }
.theme-about-paragraphs p { font-family: var(--font-body); line-height: 1.7; color: var(--color-muted-foreground); margin-bottom: 1.25rem; font-size: 1rem; }
.theme-about-paragraphs p:first-child { font-size: 1.125rem; }
@media (min-width: 768px) { .theme-about-paragraphs p:first-child { font-size: 1.25rem; } .theme-about-paragraphs p { font-size: 1.125rem; } }
.theme-about-cta {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 0; margin-bottom: 2.5rem;
	font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-cute); font-weight: 600;
	color: var(--color-primary); transition: color 0.2s;
}
.theme-about-cta:hover { color: var(--color-accent); }
.theme-about-pillars { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .theme-about-pillars { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.theme-pillar-card {
	background: var(--color-card); border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
	padding: 1.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; transition: all 0.3s;
}
.theme-pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -8px rgba(0,0,0,0.12); }
.theme-pillar-icon {
	flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); display: flex; align-items: center; justify-content: center; color: var(--color-primary);
}
.theme-pillar-title { font-size: 1rem; }
@media (min-width: 768px) { .theme-pillar-title { font-size: 1.125rem; } }
.theme-about-image-wrap { border-radius: var(--card-radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent); background: white; box-shadow: var(--shadow-soft); position: relative; aspect-ratio: 4/5; }

/* ---------------------------------------------------------------------
   14. SHOP SECTION (search / pills / price filter / grid)
   --------------------------------------------------------------------- */
.theme-shop-section { background: var(--color-background); }
.theme-shop-wrap { padding-block: 3rem; }
@media (min-width: 768px) { .theme-shop-wrap { padding-block: 5rem; } }
@media (min-width: 1024px) { .theme-shop-wrap { padding-block: 7rem; } }
.theme-shop-header { text-align: center; margin-bottom: 3rem; }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search input {
	width: 100%; height: 3rem; padding-left: 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	border-radius: 0; font-size: 1rem; color: var(--color-foreground); transition: border-color 0.2s; outline: none;
}
.theme-shop-search input:focus { border-color: var(--color-primary); }
.theme-shop-search input::placeholder { color: var(--color-muted-foreground); }
.theme-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-category-pill {
	padding: 0.75rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.3s;
	font-family: var(--font-cute); font-weight: 600; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	background: var(--color-card); color: var(--color-primary);
}
.theme-category-pill:hover { border-color: var(--color-primary); }
.theme-category-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter-toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground); transition: color 0.3s; font-family: var(--font-body);
}
.theme-price-filter-toggle:hover { color: var(--color-accent); }
.theme-price-filter-toggle svg { transition: transform 0.3s; }
.theme-price-filter-toggle.is-open svg { transform: rotate(180deg); }
.theme-price-filter-panel { width: 100%; max-width: 22rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.theme-price-filter-panel.is-open { max-height: 200px; opacity: 1; padding: 0.5rem 0; }
.theme-price-values { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.75rem; }

/* Dual-handle price range (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
	-webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%;
	background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: 0;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--color-background);
	border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-showmore-wrap { text-align: center; margin-top: 3rem; }
.theme-shop-showmore-wrap[hidden] { display: none; }
.theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.theme-shop-empty[hidden] { display: none; }

/* ---------------------------------------------------------------------
   15. FAQ SECTION
   --------------------------------------------------------------------- */
.theme-faq-section { background: var(--color-secondary); }
.theme-faq-wrap { padding-block: 3rem; }
@media (min-width: 768px) { .theme-faq-wrap { padding-block: 5rem; } }
@media (min-width: 1024px) { .theme-faq-wrap { padding-block: 7rem; } }
.theme-faq-inner { max-width: 48rem; margin: 0 auto; }
.theme-faq-header { text-align: center; margin-bottom: 2.5rem; }
.theme-faq-accordion {
	background: var(--color-card); border-radius: var(--card-radius); border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
	padding: 0 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
@media (min-width: 640px) { .theme-faq-accordion { padding: 0 2rem; } }
.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 15%, transparent); }
.theme-faq-item:last-child { border-bottom: none; }
.theme-faq-question {
	width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; text-align: left;
	padding: 1.25rem 0; min-height: 44px;
}
.theme-faq-question span { font-family: var(--font-display); font-size: 1.125rem; transition: color 0.2s; }
@media (min-width: 768px) { .theme-faq-question span { font-size: 1.25rem; } }
.theme-faq-question:hover span { color: var(--color-primary); }
.theme-faq-chevron { margin-top: 0.25rem; flex-shrink: 0; color: var(--color-accent); transition: transform 0.3s; }
.theme-faq-question.is-open .theme-faq-chevron { transform: rotate(180deg); }
.theme-faq-answer { overflow: hidden; transition: height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.theme-faq-answer p { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.7; padding-bottom: 1.25rem; padding-right: 2rem; }
@media (min-width: 768px) { .theme-faq-answer p { font-size: 1rem; } }

/* ---------------------------------------------------------------------
   16. CONTACT SECTION
   --------------------------------------------------------------------- */
.theme-contact-section { position: relative; background: var(--color-primary); overflow: hidden; }
.theme-contact-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-contact-overlay {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(color-mix(in srgb, var(--color-primary) 88%, transparent), color-mix(in srgb, var(--color-primary) 88%, transparent)),
		radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--color-accent) 35%, transparent) 0%, transparent 45%),
		radial-gradient(circle at 85% 80%, color-mix(in srgb, var(--color-gold) 28%, transparent) 0%, transparent 45%);
}
.theme-contact-wrap { position: relative; padding-block: 3rem; }
@media (min-width: 768px) { .theme-contact-wrap { padding-block: 5rem; } }
@media (min-width: 1024px) { .theme-contact-wrap { padding-block: 7rem; } }
.theme-contact-inner { max-width: 42rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .theme-contact-inner { max-width: 56rem; } }
.theme-contact-paragraph { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 2.5rem; line-height: 1.7; }
@media (min-width: 768px) { .theme-contact-paragraph { font-size: 1.125rem; } }
.theme-contact-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-actions { flex-direction: row; align-items: center; } }
.theme-contact-info-row { margin-top: 2.5rem; display: flex; flex-direction: column; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; color: rgba(255,255,255,0.9); font-size: 0.875rem; }
@media (min-width: 640px) { .theme-contact-info-row { flex-direction: row; gap: 1.5rem; } }
.theme-contact-info-row a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0; transition: color 0.2s; word-break: break-all; }
.theme-contact-info-row a:hover { color: white; }

/* ---------------------------------------------------------------------
   17. FOOTER
   --------------------------------------------------------------------- */
.site-footer { background: var(--color-primary); color: white; }
.theme-footer-inner { padding-block: 3rem 1.5rem; }
@media (min-width: 1024px) { .theme-footer-inner { padding-block: 4rem 2rem; } }
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 2.5rem; padding-bottom: 2rem; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 3rem; } }
.theme-footer-logo-link { display: inline-flex; margin-bottom: 1.25rem; transition: transform 0.3s; }
.theme-footer-logo-link:hover { transform: scale(1.02); }
.theme-footer-logo-img {
	height: 84px !important;
	width: 84px !important;
	max-width: none !important;
	border-radius: 50%;
	object-fit: cover;
}
.theme-footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.75); line-height: 1.7; }
.theme-footer-col-title { font-family: var(--font-cute); text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px; color: var(--color-gold); margin-bottom: 1rem; }
.theme-footer-link, .theme-footer-contact-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); padding: 0.5rem 0; transition: color 0.2s; text-align: left; }
.theme-footer-link:hover, .theme-footer-contact-link:hover { color: white; }
.theme-footer-contact-list li { display: block; }
.theme-footer-bottom {
	padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; align-items: center;
	justify-content: space-between; gap: 0.75rem; text-align: center;
}
@media (min-width: 768px) { .theme-footer-bottom { flex-direction: row; text-align: left; } }
.theme-footer-copy, .theme-footer-credit { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 0.02em; }
.theme-footer-credit a { text-decoration: none; }
.theme-footer-credit a:hover { color: white; }

/* ---------------------------------------------------------------------
   18. SIDE CART DRAWER (Section 12)
   --------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--color-primary) 30%, transparent); backdrop-filter: blur(4px);
	z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: white; z-index: 91;
	box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%);
	transition: transform 0.35s var(--ease-smooth); overflow: hidden;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.7; pointer-events: none; }
.theme-cart-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent); }
.theme-cart-title { font-size: 1.25rem; color: var(--color-primary); }
.theme-cart-close { padding: 0.25rem; color: var(--color-primary); transition: opacity 0.2s; }
.theme-cart-close:hover { opacity: 0.6; }
.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty svg { color: color-mix(in srgb, var(--color-primary) 40%, transparent); margin-bottom: 1rem; }
.theme-cart-empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; line-height: 1.6; }
.theme-cart-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 5rem; height: 6rem; background: var(--color-secondary); border-radius: 0.75rem; overflow: hidden; flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--color-gold) 30%, transparent); display: block; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; color: var(--color-primary); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s; }
.theme-cart-item-name:hover { color: var(--color-rose); }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item-meta {
	list-style: none;
	margin: 0.375rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.8125rem;
	color: var(--color-muted-foreground);
}
.theme-cart-item-meta__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
}
.theme-cart-item-meta__label {
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
}
.theme-cart-item-meta__value {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}
.theme-cart-item-meta__swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background-color: var(--cart-swatch-color, transparent);
	flex-shrink: 0;
}
.theme-cart-item-meta__custom em {
	font-style: italic;
}
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; color: var(--color-primary); border-radius: 4px; transition: background-color 0.2s; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 24px; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s; }
.theme-cart-remove:hover { color: var(--color-rose); }
.theme-cart-footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-gold) 40%, transparent); background: white; 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 span:first-child { color: var(--color-muted-foreground); }
.theme-cart-subtotal { font-weight: 600; color: var(--color-primary); }
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); text-transform: uppercase; letter-spacing: 0.16em; }
.theme-cart-checkout-btn { display: block; text-align: center; box-shadow: var(--shadow-soft); }
.theme-cart-empty-btn { display: flex; }

/* ---------------------------------------------------------------------
   19. CONTACT MODAL (Section 9)
   --------------------------------------------------------------------- */
.theme-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 95; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
body.modal-open .theme-modal-overlay { opacity: 1; pointer-events: auto; }
.theme-modal {
	position: fixed; left: 50%; top: 50%; z-index: 96; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	background: var(--color-background); border-radius: 1rem; box-shadow: var(--shadow-elevated); transition: opacity 0.2s, transform 0.2s;
}
body.modal-open .theme-modal { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.theme-modal-inner { padding: 1.75rem; position: relative; }
.theme-modal-close { position: absolute; right: 1rem; top: 1rem; padding: 0.4rem; border-radius: 4px; opacity: 0.7; transition: opacity 0.2s; }
.theme-modal-close:hover { opacity: 1; background: var(--color-secondary); }
.theme-modal-title { font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 1.5rem; }
.theme-modal-description { font-size: 0.9375rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal-contact-row { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal-contact-row a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.theme-modal-contact-row a:hover { color: var(--color-accent); }
.theme-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-form-row-2 { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: white; border: 1px solid var(--color-border); border-radius: 0.5rem;
	font-size: 1rem; transition: all 0.3s;
}
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-error { color: #ca2b2b; font-size: 0.875rem; margin-top: 0.75rem; }
.theme-form-error[hidden] { display: none; }
.theme-modal-success { text-align: center; padding: 2rem 0; }
.theme-modal-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: white; }
.theme-modal-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal-success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   20. SINGLE PRODUCT PAGE (Section 11.13)
   --------------------------------------------------------------------- */
.single-product .theme-product-page { padding-top: 1.5rem; background: var(--color-background); min-height: 60vh; }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a { transition: color 0.2s; }
.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); }

.single-product .theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s; }
.theme-product-thumb.is-active::after { opacity: 1; }

.product-title { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .product-title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3rem; } }
.theme-product-subtitle { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-option-block { margin-top: 2rem; }
.theme-option-label, .theme-option-heading { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 0.75rem; }
.theme-select-wrapper { position: relative; width: 100%; }
.theme-select-wrapper select,
.theme-select-wrapper .theme-variation-select {
	width: 100%;
	min-height: 3rem;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 70%, transparent);
	background: transparent;
	padding: 0.75rem 3rem 0.75rem 1.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.25;
	color: var(--color-foreground);
	cursor: pointer;
	transition: border-color 0.2s var(--ease-smooth);
}
.theme-select-wrapper select:hover,
.theme-select-wrapper .theme-variation-select:hover {
	border-color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
.theme-select-wrapper select:focus,
.theme-select-wrapper .theme-variation-select:focus {
	outline: none;
	border-color: var(--color-foreground);
}
.theme-select-wrapper select:invalid,
.theme-select-wrapper .theme-variation-select:invalid {
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-select-wrapper select option,
.theme-select-wrapper .theme-variation-select option {
	color: var(--color-foreground);
	background: var(--color-background);
}
.theme-select-chevron {
	pointer-events: none;
	position: absolute;
	right: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-foreground);
}

/* Screen reader only (sync selects, a11y) */
.screen-reader-text,
.theme-variation-sync-select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Variation pills (Lovable ProductDetail — driven by WC attribute swatches) */
.theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.theme-variation-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	transition: border-color 0.2s var(--ease-smooth), background-color 0.2s var(--ease-smooth);
}
.theme-variation-pill:hover {
	border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-variation-pill.is-active {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.theme-variation-pill--color.is-active {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
	color: var(--color-foreground);
}
.theme-variation-pill__dot {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background-color: var(--variation-pill-swatch, transparent);
	flex-shrink: 0;
}
.theme-variation-pill__label {
	white-space: nowrap;
}
.theme-custom-request-input {
	width: 100%;
	min-height: 5.5rem;
	padding: 0.75rem 1rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 70%, transparent);
	border-radius: 0.75rem;
	background: transparent;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--color-foreground);
	resize: vertical;
}
.theme-custom-request-input:focus {
	outline: none;
	border-color: var(--color-primary);
}
.theme-option-block[data-variation-axis] .theme-option-heading,
.theme-option-block[data-variation-axis] .theme-option-label {
	text-transform: lowercase;
}

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 1rem; transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-qty-minus { border-radius: 999px 0 0 999px; }
.theme-qty-plus { border-radius: 0 999px 999px 0; }
.theme-qty-input { width: 44px; text-align: center; border: none; background: transparent; padding: 0.5rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area, .theme-product-form-wrapper { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.theme-product-tabs { margin-top: 2.5rem; }
.theme-tabs-nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: 1.5rem;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	padding-bottom: 0.5rem;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.theme-tab { position: relative; font-family: var(--font-display); font-size: 0.9375rem; padding-bottom: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); white-space: nowrap; flex-shrink: 0; transition: color 0.2s; }
.theme-tab:hover { color: var(--color-foreground); }
.theme-tab.is-active { font-style: italic; color: var(--color-foreground); }
.theme-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.5625rem; height: 2px; background: var(--color-foreground); pointer-events: none; }
.theme-tab-panel { display: none; padding-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; }
.theme-tab-panel.is-active { display: block; }
.theme-details-list li { display: flex; align-items: flex-start; margin-bottom: 0.5rem; }
.theme-dot { width: 4px; height: 4px; background: var(--color-foreground); border-radius: 50%; margin-top: 0.55rem; margin-right: 0.75rem; flex-shrink: 0; }
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-related-products { 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: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-title { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-title { font-size: 2.25rem; } }

/* ---------------------------------------------------------------------
   21. 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: 0.75rem; font-size: 0.9375rem;
	background: var(--color-secondary); color: var(--color-foreground); border-left: 4px solid var(--color-primary);
}
.woocommerce-error { border-left-color: #ca2b2b; }

/* ---------------------------------------------------------------------
   22. WOOCOMMERCE ARCHIVE (direct shop / category visits)
   --------------------------------------------------------------------- */
.theme-archive-main { background: var(--color-background); padding: 6rem 0 5rem; }
.theme-archive-wrap .page-title { font-size: 2.25rem; margin-bottom: 2rem; text-align: center; }
.theme-archive-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   23. CHECKOUT BLOCK (Section 13) — dual selectors for dedicated + embedded checkout
   --------------------------------------------------------------------- */
.theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-shell,
body.theme-checkout-page .theme-checkout-shell {
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	padding-inline: 1rem;
	box-sizing: border-box;
}
@media (min-width: 640px) {
	.theme-checkout-shell { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 2rem; }
}

body.woocommerce-checkout .site-main,
body.theme-checkout-page .site-main.theme-checkout-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}

.theme-checkout-header {
	margin-bottom: 2.5rem;
}
.theme-checkout-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	margin-bottom: 2rem;
	transition: color 0.2s;
}
.theme-checkout-back:hover { color: var(--color-foreground); }
.theme-checkout-back__icon { flex-shrink: 0; }
.theme-checkout-heading {
	font-family: var(--font-display);
	font-size: clamp(1.875rem, 4vw, 2.5rem);
	font-weight: 700;
	margin: 0 0 0.75rem;
}
.theme-checkout-intro {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-muted-foreground);
	margin: 0;
	max-width: 42rem;
	line-height: 1.6;
}

/* Neutralize parent width compression */
body.woocommerce-checkout .entry-content,
body.theme-checkout-page .entry-content,
.entry-content:has(.wc-block-checkout) {
	max-width: 100% !important;
	width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	box-sizing: border-box;
}

/* Notices aligned with checkout width */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		max-width: var(--checkout-max-width);
		width: 100%;
		margin-inline: auto;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > *,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > *,
	.entry-content .wc-block-components-sidebar-layout > *,
	.entry-content .wc-block-checkout-sidebar-layout > * {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-components-notices,
	.entry-content .wc-block-components-notices {
		grid-column: 1 / -1;
		order: 1;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-components-main,
	.entry-content .wc-block-checkout__main,
	.entry-content .wc-block-components-main {
		order: 2;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar {
		order: 3;
		min-width: 360px;
		background: transparent;
		border-radius: 0;
		padding: 0;
	}

	body.woocommerce-checkout .wc-block-components-notice-banner,
	.entry-content .wc-block-components-notice-banner {
		grid-column: 1 / -1;
	}
}

/* Sidebar wrappers transparent; background only on order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
	box-sizing: border-box;
}

/* Empty checkout cart */
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

body.woocommerce-checkout h2,
body.woocommerce-checkout .wc-block-components-title,
.entry-content .wc-block-checkout h2 {
	font-family: var(--font-display);
	font-weight: 400;
}

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,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background-color: white;
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	border-color: var(--color-accent);
	outline: none;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: white !important;
	border-radius: 999px !important;
	font-family: var(--font-cute) !important;
	text-transform: none !important;
	letter-spacing: 0.05em;
	height: auto !important;
	padding: 1rem 2rem !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}

/* Hide default page title when theme checkout header is used */
body.theme-checkout-page .page-title { display: none; }

/* ---------------------------------------------------------------------
   24. CART / MY ACCOUNT / THANK YOU (Section 13.7, 22.8)
   --------------------------------------------------------------------- */
.woocommerce-cart .site-main, .woocommerce-account .site-main { padding-top: 3rem; padding-bottom: 4rem; }
.woocommerce-cart .page-title, .woocommerce-account .page-title { font-size: 2rem; margin-bottom: 2rem; }

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 { background: var(--color-secondary); border-radius: var(--card-radius); padding: 2rem; margin-bottom: 2rem; }
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-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
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; }

/* ---------------------------------------------------------------------
   25. 404
   --------------------------------------------------------------------- */
.theme-404-main { min-height: 70vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.theme-404-content { text-align: center; padding: 3rem 1.5rem; }
.theme-404-heading { font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, black); }

/* ---------------------------------------------------------------------
   26. GENERIC PAGES
   --------------------------------------------------------------------- */
.theme-generic-page { padding: 3rem 0 5rem; min-height: 50vh; }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; font-family: var(--font-display); }
.theme-no-hero .site-header { position: sticky; }

/* Pointer cursor on interactive elements */
.theme-nav-link, .theme-cart-toggle, .theme-mobile-toggle, .theme-footer-link, .theme-footer-contact-link,
.theme-contact-trigger, .theme-shop-scroll, .theme-section-anchor, .theme-about-cta, .theme-offerings-link,
.theme-category-pill, .theme-faq-question, .theme-product-thumb, .theme-variation-pill, .theme-variation-select, .theme-tab,
.theme-price-filter-toggle, .theme-btn-hero-primary, .theme-btn-hero-outline, .theme-btn-accent,
.theme-btn-outline-primary, .theme-btn-gold, .theme-btn-outline, .theme-btn-primary, .theme-btn-cta,
.theme-card-link, .theme-announce-dismiss, .theme-modal-close, .theme-cart-close, .theme-cart-remove,
.theme-404-link, .add_to_cart_button, .theme-card-addtocart, label[for] {
	cursor: pointer;
}
button:disabled, .disabled, .theme-card-addtocart--disabled, .theme-btn-cta.disabled {
	cursor: not-allowed;
}
