/* =====================================================================
   Storlie Studios — theme.css
   Theme by The Free Website Guys.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens (colors set inline via wp_add_inline_style; derived
      tokens computed here) — Section 6 / 6.1
   --------------------------------------------------------------------- */
:root {
	--color-background: #fcfaf8;
	--color-foreground: #1b1b1d;
	--color-card: #ffffff;
	--color-primary: #d2ab37;
	--color-primary-foreground: #0a0a0b;
	--color-secondary: #efebe7;
	--color-muted-foreground: #4a4f59;
	--color-accent: #e0b85c;
	--color-border: #e2e2e4;
	--color-midnight: #09090b;
	--color-midnight-2: #131316;
	--color-destructive: #ca2b35;
	--color-destructive-foreground: #fcfaf8;
	--color-ivory: #ffffff;
	--color-linen: #fcfaf8;
	--color-bone: #f5f3ef;
	--color-charcoal: #272421;
	--color-button-text: var(--color-primary-foreground);

	--logo-height: 60px;
	--radius: 0.75rem;
	--header-height: 80px;
	--header-height-mobile: 64px;

	--font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;

	--btn-radius: 9999px;
	--btn-height: 44px;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.01em;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--shadow-soft: 0 4px 24px -10px rgba(20, 18, 10, 0.14);
	--shadow-elevated: 0 24px 60px -22px rgba(20, 18, 10, 0.30);
}

/* ---------------------------------------------------------------------
   2. Reset & base — Section 2.2 typography parity
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }

body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	letter-spacing: 0.005em;
	-webkit-font-smoothing: antialiased;
	margin: 0;
}

img { max-width: 100%; height: auto; display: block; }
img.cover-img,
.hero-section__video,
.cta-band__video {
	max-width: none;
	height: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: inherit;
	letter-spacing: -0.012em;
	margin: 0;
	text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, a { cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font-family: var(--font-body); }

section[id] { scroll-margin-top: 80px; }

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

/* Cover / full-bleed image exclusion list (Section 15.1 completeness rule) */
img:not(.cover-img):not(.hero-section__video):not(.cta-band__video) {
	max-width: 100%;
	height: auto;
}
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------------------------------------------------------------
   3. Reveal / scroll animation system — Section 2.1
   --------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Customizer preview fallback (Section 2.1.5) — never hide content in the editor */
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }

.theme-fade-in { animation: theme-fade-in 0.7s ease-out both; }
.theme-slide-in-bottom { animation: theme-slide-in-bottom 0.7s ease-out both; }

/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	height: 44px;
	padding: 0 1.5rem;
	border: 1px solid transparent;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.theme-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.theme-btn-lg { height: 48px; padding: 0 1.75rem; }
.theme-btn-sm { height: 36px; padding: 0 1rem; font-size: 13px; }

.theme-btn-primary {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-btn-primary:hover { opacity: 0.9; }

.theme-btn-outline {
	background: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.theme-btn-outline:hover { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 4%, transparent); }

.theme-btn-hero-outline {
	background: color-mix(in srgb, #ffffff 5%, transparent);
	color: #ffffff;
	border-color: color-mix(in srgb, #ffffff 40%, transparent);
}
.theme-btn-hero-outline:hover { background: #ffffff; color: var(--color-midnight); }

.theme-btn-ghost { background: transparent; border-color: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-btn-ghost:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }

.single_add_to_cart_button, .single_add_to_cart_button, .theme-btn-hero-primary { text-transform: none; }

/* ---------------------------------------------------------------------
   5. Header
   --------------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.site-header__bar { background: var(--color-midnight); border-bottom: 1px solid color-mix(in srgb, #ffffff 10%, transparent); transition: background-color 0.3s ease; }
.site-header__row { display: flex; align-items: center; justify-content: space-between; height: var(--header-height-mobile); }
@media (min-width: 1024px) {
	.site-header__row { height: var(--header-height); display: grid; grid-template-columns: 1fr auto 1fr; }
}

.site-header__menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; background: transparent; border: none;
	color: #fff; order: 1;
}
.site-header__menu-toggle:hover { background: color-mix(in srgb, #ffffff 10%, transparent); }
.site-header__menu-toggle .icon-close { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__brand { display: flex; align-items: center; gap: 0.6rem; order: 2; }
@media (min-width: 1024px) { .site-header__brand { order: 1; justify-self: start; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.site-header .site-logo-img { height: 54px; }
@media (min-width: 1024px) { .site-header .site-logo-img { height: 64px; } }

.site-header__nav { display: none; order: 3; }
@media (min-width: 1024px) { .site-header__nav { display: flex; justify-self: center; order: 2; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-link {
	position: relative; font-size: 13px; font-weight: 500; letter-spacing: 0.025em;
	color: color-mix(in srgb, #ffffff 85%, transparent); transition: color 0.3s ease; padding-bottom: 6px; display: inline-block;
}
.theme-nav-link:hover, .theme-nav-link.is-active { color: var(--color-primary); }
.theme-nav-link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
	background: var(--color-primary); opacity: 0; transform: scaleX(0); transition: all 0.3s ease;
}
.theme-nav-link.is-active::after { opacity: 1; transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; order: 3; justify-self: end; }
.site-header__cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; background: transparent; border: none; color: #fff;
}
.site-header__cart-btn:hover { background: color-mix(in srgb, #ffffff 10%, transparent); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 12px; font-weight: 500; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9999px;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-panel { display: none; border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent); background: var(--color-midnight); }
.site-header__mobile-panel.is-open { display: block; }
.site-header__mobile-inner { padding-top: 1rem; padding-bottom: 1rem; display: flex; flex-direction: column; }
.mobile-nav-list,
.site-header__mobile-panel .theme-nav-list { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
.mobile-nav-list li,
.site-header__mobile-panel .theme-nav-list li { border-bottom: 1px solid color-mix(in srgb, #ffffff 10%, transparent); width: 100%; }
.mobile-nav-list li:last-child,
.site-header__mobile-panel .theme-nav-list li:last-child { border-bottom: none; }
.mobile-nav-list .theme-nav-link,
.site-header__mobile-panel .theme-nav-link { display: block; width: 100%; padding: 0.75rem 0; font-size: 14px; }
@media (min-width: 1024px) { .site-header__mobile-panel { display: none !important; } }

body:not(.theme-no-hero) main { padding-top: 0; }
body.theme-no-hero main { padding-top: var(--header-height-mobile); }
@media (min-width: 1024px) { body.theme-no-hero main { padding-top: var(--header-height); } }

/* ---------------------------------------------------------------------
   6. Section shell helpers
   --------------------------------------------------------------------- */
.section-heading { font-family: var(--font-display); font-weight: 600; }
.section-eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1rem; font-weight: 500; }
.section-subtext { margin-top: 1.25rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; max-width: 42rem; }
.section-subtext--light { color: color-mix(in srgb, #ffffff 70%, transparent); }
.section-intro { margin-bottom: 2.5rem; }
.section-intro--split { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .section-intro--split { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* ---------------------------------------------------------------------
   7. Hero — Section 22.7 full-viewport under fixed header
   --------------------------------------------------------------------- */
.hero-section {
	position: relative; min-height: 100vh; width: 100%;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden; background: var(--color-midnight);
}
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim-dark { position: absolute; inset: 0; background: rgba(0,0,0,0.6); pointer-events: none; }
.hero-section__scrim-radial {
	position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(at center, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.78) 100%);
}
.hero-section__content { position: relative; z-index: 10; text-align: center; color: #fff; padding-top: 10rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .hero-section__content { padding-top: 13rem; padding-bottom: 8rem; } }

.hero-badge {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; border-radius: 9999px;
	background: color-mix(in srgb, #ffffff 10%, transparent); border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	backdrop-filter: blur(8px); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; font-weight: 500;
}
.hero-badge svg { color: var(--color-primary); }

.hero-section__title {
	font-family: var(--font-display); color: #fff; line-height: 1.02; letter-spacing: -0.02em; margin: 1.75rem auto 0; max-width: 64rem;
	font-size: clamp(2.2rem, 5.8vw, 4.8rem);
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.6));
}
.hero-section__emphasis { font-style: italic; color: var(--color-primary); }
.hero-section__title-break { display: none; }
@media (min-width: 640px) { .hero-section__title-break { display: block; } }

.hero-section__subtext { margin: 1.75rem auto 0; max-width: 42rem; font-size: 14px; color: color-mix(in srgb, #ffffff 85%, transparent); line-height: 1.7; }
@media (min-width: 640px) { .hero-section__subtext { font-size: 15px; } }

.hero-section__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; gap: 1rem; } }

/* ---------------------------------------------------------------------
   8. About
   --------------------------------------------------------------------- */
.about-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.about-section .section-heading {
	font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground);
}
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3.4rem; } }

.about-section__image-wrap { margin-top: 2rem; position: relative; border-radius: 1rem; overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 4/5; }
.about-section__image { }

@media (min-width: 1024px) { .about-section__copy { padding-left: 1.5rem; } }
.pull-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.4; border-left: 2px solid var(--color-primary); padding-left: 1.25rem; margin: 0; }
@media (min-width: 768px) { .pull-quote { font-size: 1.5rem; } }
.pull-quote__author { margin-top: 0.75rem; padding-left: 1.25rem; font-size: 13px; color: var(--color-muted-foreground); letter-spacing: 0.02em; }

.about-section__paragraphs { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 65ch; }

.about-pillars { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .about-pillars { grid-template-columns: repeat(3, 1fr); } }
.about-pillar-card { border-radius: 0.75rem; border: 1px solid var(--color-border); background: var(--color-card); padding: 1.25rem; }
.about-pillar-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1rem; }
.about-pillar-card__title { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-foreground); margin-bottom: 0.35rem; }
.about-pillar-card__body { font-size: 13px; line-height: 1.6; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   9. Services
   --------------------------------------------------------------------- */
.services-section { background: var(--color-charcoal); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section .section-heading, .services-section .section-eyebrow, .testimonials-section .section-heading, .portfolio-section .section-heading, .faq-section .section-heading, .shop-section .section-heading { }
.services-section .section-heading { color: #fff; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .services-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section .section-heading { font-size: 3.2rem; } }
.services-section .section-intro { max-width: 48rem; }
.services-section .section-subtext { color: color-mix(in srgb, #ffffff 70%, transparent); }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.service-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 0.75rem; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: var(--color-primary); }
.service-card__image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card__image { transition: transform 0.7s ease; }
.service-card:hover .service-card__image { transform: scale(1.05); }
.service-card__body { padding: 1.75rem; }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1.25rem; }
.service-card__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 0.5rem; }
.service-card__desc { font-size: 14px; line-height: 1.6; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   10. Marquee
   --------------------------------------------------------------------- */
.marquee-strip { background: var(--color-midnight); padding: 1.25rem 0; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); }
.marquee-strip__track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; }
.marquee-strip__item { display: flex; align-items: center; flex-shrink: 0; color: var(--color-primary); font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.02em; }
@media (min-width: 768px) { .marquee-strip__item { font-size: 1.25rem; } }
.marquee-strip__text { padding: 0 1.5rem; }
@media (min-width: 768px) { .marquee-strip__text { padding: 0 2rem; } }
.marquee-strip__dot { color: color-mix(in srgb, var(--color-primary) 60%, transparent); font-size: 0.875rem; }
@media (prefers-reduced-motion: reduce) { .marquee-strip__track { animation: none; } }

/* ---------------------------------------------------------------------
   11. Shop section
   --------------------------------------------------------------------- */
.shop-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-section__intro { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-section__intro { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section .section-heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .shop-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section .section-heading { font-size: 3.2rem; } }
.shop-section__heading-break { display: none; }
@media (min-width: 1024px) { .shop-section__heading-break { display: block; } }

.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search-icon,
.shop-section__search > svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); pointer-events: none; }
.shop-section__search-input {
	width: 100%; height: 44px; padding-left: 2.75rem; padding-right: 1rem; border-radius: 9999px;
	background: var(--color-secondary); border: 1px solid var(--color-border); font-size: 14px;
	color: var(--color-foreground);
}
.shop-section__search-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-section__search-input:focus { outline: none; border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }

.shop-section__filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.shop-filter-pill {
	padding: 0 1.25rem; height: 40px; border-radius: 9999px; font-size: 14px; font-weight: 500; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	background: transparent; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); transition: all 0.2s ease;
}
.shop-filter-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-filter-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-section__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem 1.5rem; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; row-gap: 2.5rem; } }

.theme-shop-card-hidden { display: none !important; }

.theme-product-card-wrap { min-width: 0; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1/1; background: var(--color-linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.theme-card-link { position: absolute; inset: 0; z-index: 0; }
.theme-product-card__image {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: transform 1.4s cubic-bezier(0.22,0.61,0.36,1); pointer-events: none;
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__scrim {
	position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 35%, transparent), transparent 60%);
}
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10; background: var(--color-foreground); color: var(--color-background);
	font-size: 11px; font-weight: 500; padding: 0.3rem 0.65rem; border-radius: 9999px; pointer-events: none;
}
.theme-product-card__quick-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 20; display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}
.theme-product-card:hover .theme-product-card__quick-actions { pointer-events: auto; }
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn.add_to_cart_button.button,
.theme-product-card__add-btn.theme-product-card__select-btn {
	flex: 1; display: inline-flex !important; align-items: center; justify-content: center; gap: 0.5rem;
	height: 40px !important; border-radius: 9999px !important; background: color-mix(in srgb, var(--color-background) 95%, transparent) !important;
	color: var(--color-foreground) !important; font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0.025em !important;
	backdrop-filter: blur(6px); box-shadow: var(--shadow-soft);
	pointer-events: auto; min-height: unset !important; padding: 0 1rem !important; border: none !important;
	transition: background-color 0.3s ease, color 0.3s ease !important;
}
.theme-product-card__add-btn.add_to_cart_button.button:hover,
.theme-product-card__add-btn.theme-product-card__select-btn:hover {
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important; opacity: 1 !important;
}
.theme-product-card__view-btn {
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px;
	background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(6px);
	color: var(--color-foreground); transition: background-color 0.3s ease, color 0.3s ease; box-shadow: var(--shadow-soft); pointer-events: auto;
}
.theme-product-card__view-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__carousel-btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 32px; height: 32px; border-radius: 50%;
	background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(6px);
	display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground);
	opacity: 0; transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease; border: none; box-shadow: var(--shadow-soft);
}
.theme-product-card:hover .theme-product-card__carousel-btn { opacity: 1; }
.theme-product-card__carousel-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-product-card__carousel-btn--prev { left: 0.5rem; }
.theme-product-card__carousel-btn--next { right: 0.5rem; }
.theme-product-card__dots {
	position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10; display: flex; gap: 0.25rem; pointer-events: none;
}
.theme-product-card__dot {
	height: 4px; border-radius: 9999px; background: color-mix(in srgb, var(--color-background) 60%, transparent); width: 4px; transition: width 0.3s ease, background-color 0.3s ease;
}
.theme-product-card__dot.is-active { width: 16px; background: var(--color-background); }

.theme-product-card__info-link { display: block; padding: 0 0.125rem; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: 0.4rem; font-weight: 500; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.375; color: var(--color-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.4rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.4rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }

.shop-section__more { margin-top: 3rem; display: flex; justify-content: center; }

/* ---------------------------------------------------------------------
   12. Portfolio
   --------------------------------------------------------------------- */
.portfolio-section { background: var(--color-midnight); padding: 6rem 0; border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent); border-bottom: 1px solid color-mix(in srgb, #ffffff 10%, transparent); }
@media (min-width: 768px) { .portfolio-section { padding: 8rem 0; } }
.portfolio-section .section-heading { color: #fff; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .portfolio-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .portfolio-section .section-heading { font-size: 3.2rem; } }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.portfolio-tag { padding: 0 1rem; height: 36px; border-radius: 9999px; font-size: 13px; font-weight: 500; border: 1px solid color-mix(in srgb, #ffffff 25%, transparent); background: transparent; color: color-mix(in srgb, #ffffff 75%, transparent); transition: all 0.2s ease; }
.portfolio-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }
.portfolio-tag.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.portfolio-item { position: relative; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--color-border); background: var(--color-card); aspect-ratio: 1/1; display: block; width: 100%; padding: 0; }
.portfolio-item[hidden] { display: none; }
.portfolio-item__image { transition: transform 1.2s ease-out; }
.portfolio-item:hover .portfolio-item__image { transform: scale(1.06); }
.portfolio-item__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1) 60%, transparent); opacity: 0.7; transition: opacity 0.3s ease; }
.portfolio-item:hover .portfolio-item__scrim { opacity: 0.9; }
.portfolio-item__caption { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.portfolio-item__tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; }
.portfolio-item__alt { font-size: 12px; color: color-mix(in srgb, #ffffff 85%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; min-width: 0; }

.portfolio-lightbox {
	position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.95); display: flex; align-items: center; justify-content: center;
	padding: 1rem; animation: theme-fade-in 0.3s ease-out;
}
.portfolio-lightbox[hidden] { display: none; }
.portfolio-lightbox__close, .portfolio-lightbox__nav { position: absolute; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, #ffffff 10%, transparent); color: #fff; border: none; transition: background-color 0.2s ease; }
.portfolio-lightbox__close:hover, .portfolio-lightbox__nav:hover { background: color-mix(in srgb, #ffffff 20%, transparent); }
.portfolio-lightbox__close { top: 1rem; right: 1rem; width: 44px; height: 44px; }
.portfolio-lightbox__nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.portfolio-lightbox__nav--prev { left: 0.75rem; }
.portfolio-lightbox__nav--next { right: 0.75rem; }
.portfolio-lightbox__figure { position: relative; max-width: 72rem; max-height: 100%; display: flex; flex-direction: column; align-items: center; margin: 0; }
.portfolio-lightbox__image { max-height: 82vh; width: auto; object-fit: contain; border-radius: 0.5rem; box-shadow: var(--shadow-elevated); }
.portfolio-lightbox__caption { margin-top: 1rem; text-align: center; color: color-mix(in srgb, #ffffff 85%, transparent); font-size: 13px; }

/* ---------------------------------------------------------------------
   13. Testimonials
   --------------------------------------------------------------------- */
.testimonials-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .testimonials-section { padding: 8rem 0; } }
.testimonials-section .section-heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .testimonials-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .testimonials-section .section-heading { font-size: 3.2rem; } }
.testimonials-section .section-intro { max-width: 48rem; }

.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.testimonial-card { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 0.75rem; padding: 1.75rem; display: flex; flex-direction: column; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.testimonial-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-elevated); }
.testimonial-card__quote-icon { color: var(--color-primary); margin-bottom: 1.25rem; }
.testimonial-card__quote { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); flex: 1; }
.testimonial-card__stars { display: flex; align-items: center; gap: 0.15rem; margin: 1.5rem 0 0.75rem; color: var(--color-primary); }
.testimonial-card__stars svg { fill: currentColor; stroke: currentColor; }
.testimonial-card__name { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-foreground); }
.testimonial-card__context { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.15rem; }

/* ---------------------------------------------------------------------
   14. FAQ
   --------------------------------------------------------------------- */
.faq-section { background: var(--color-secondary); border-top: 1px solid var(--color-border); padding: 6rem 0 6rem; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 4fr 8fr; } }
.faq-section .section-heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-section .section-heading { font-size: 3rem; } }
.faq-section__intro .section-subtext { max-width: 24rem; }

.faq-side-card { display: none; margin-top: 2.5rem; position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-card); padding: 1.75rem; }
@media (min-width: 1024px) { .faq-side-card { display: block; } }
.faq-side-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1.25rem; }
.faq-side-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--color-foreground); margin-bottom: 0.5rem; }
.faq-side-card__body { font-size: 14px; line-height: 1.6; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; background: none; border: none; }
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; color: var(--color-primary); display: inline-flex; }
.faq-icon-minus { display: none; }
.faq-item.is-open .faq-icon-plus { display: none; }
.faq-item.is-open .faq-icon-minus { display: inline-flex; }
.faq-icon-plus { display: inline-flex; }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease-out; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__panel p { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 14px; line-height: 1.7; color: var(--color-muted-foreground); max-width: 42rem; }
@media (min-width: 768px) { .faq-item__panel p { font-size: 15px; } }

/* ---------------------------------------------------------------------
   15. CTA band
   --------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--color-midnight); }
.cta-band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.cta-band__scrim-dark { position: absolute; inset: 0; background: rgba(0,0,0,0.6); pointer-events: none; }
.cta-band__scrim-radial { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(at center, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.78) 100%); }
.cta-band__content { position: relative; z-index: 10; text-align: center; color: #fff; padding-top: 7rem; padding-bottom: 7rem; }
@media (min-width: 768px) { .cta-band__content { padding-top: 10rem; padding-bottom: 10rem; } }
.cta-band__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.5rem; font-weight: 500; }
.cta-band__eyebrow-line { height: 1px; width: 2rem; background: color-mix(in srgb, var(--color-primary) 60%, transparent); display: inline-block; }
.cta-band__title { font-family: var(--font-display); color: #fff; line-height: 1.05; letter-spacing: -0.02em; margin: 0 auto; max-width: 56rem; font-size: clamp(2rem, 5.4vw, 4rem); filter: drop-shadow(0 2px 30px rgba(0,0,0,0.6)); }
.cta-band__emphasis { font-style: italic; color: var(--color-primary); }
.cta-band__subtext { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; color: color-mix(in srgb, #ffffff 85%, transparent); line-height: 1.7; }
.cta-band__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; gap: 1rem; } }

/* ---------------------------------------------------------------------
   16. Contact section
   --------------------------------------------------------------------- */
.contact-section { background: var(--color-secondary); padding: 6rem 0 3rem; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0 4rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__info { display: flex; flex-direction: column; height: 100%; }
.contact-section .section-heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .contact-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section .section-heading { font-size: 3.4rem; } }

.contact-info-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 0.3s ease; }
.contact-info-item--static { align-items: flex-start; }
.contact-info-item:hover { color: var(--color-primary); }
.contact-info-item__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--color-card); border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.3s ease; }
.contact-info-item:hover .contact-info-item__icon { border-color: var(--color-primary); }
.contact-info-item__text { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.contact-info-item__label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); }
.contact-info-item__value { font-size: 15px; font-weight: 500; overflow-wrap: break-word; }

.contact-quote-card-wrap { margin-top: auto; padding-top: 2.5rem; }
.contact-quote-card { position: relative; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-card); padding: 1.5rem; overflow: visible; }
@media (min-width: 768px) { .contact-quote-card { padding: 1.75rem; } }
.contact-quote-card__badge { position: absolute; top: -0.75rem; left: 1.5rem; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.75rem; border-radius: 9999px; background: var(--color-primary); color: var(--color-primary-foreground); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }

.contact-form { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form__fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-form__field label { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form input, .contact-form select, .contact-form textarea {
	width: 100%; height: 48px; padding: 0 1rem; background: var(--color-background); border: 1px solid var(--color-border); border-radius: calc(var(--radius) - 2px);
	font-size: 14px; color: var(--color-foreground); transition: border-color 0.2s ease;
}
.contact-form textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-form__submit { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
.contact-form__submit-btn { width: 100%; }
.contact-form__note { font-size: 12px; color: var(--color-muted-foreground); text-align: center; }

/* ---------------------------------------------------------------------
   17. Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--color-midnight); color: #fff; border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent); }
.site-footer__top { padding-top: 3.5rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .site-footer__top { padding-top: 5rem; padding-bottom: 1.5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }

.site-footer__brand { display: inline-flex; align-items: center; }
.footer-logo-img { height: 80px !important; }
.footer-tagline { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, #ffffff 70%, transparent); line-height: 1.6; max-width: 20rem; }
.footer-social { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.footer-social-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, #ffffff 20%, transparent); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: all 0.2s ease; }
.footer-social-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.footer-pixieset-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-primary); transition: color 0.2s ease; }
.footer-pixieset-link:hover { color: #fff; }

.footer-col__heading { font-family: var(--font-display); font-size: 1.125rem; color: #fff; margin-bottom: 1rem; }
.footer-nav-list, .footer-contact-list { display: flex; flex-direction: column; gap: 0.6rem; font-size: 14px; }
.theme-nav-link.footer-nav-link, .footer-nav-list .theme-nav-link { color: color-mix(in srgb, #ffffff 70%, transparent); }
.footer-nav-list .theme-nav-link:hover { color: var(--color-primary); }
.footer-contact-link { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in srgb, #ffffff 75%, transparent); transition: color 0.2s ease; overflow-wrap: break-word; }
.footer-contact-link:hover { color: var(--color-primary); }
.footer-contact-link svg { margin-top: 0.15rem; flex-shrink: 0; }

.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; font-size: 12px; color: color-mix(in srgb, #ffffff 55%, transparent); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-signoff { font-style: italic; color: color-mix(in srgb, #ffffff 70%, transparent); }

/* ---------------------------------------------------------------------
   18. Promo banner
   --------------------------------------------------------------------- */
.theme-promo-banner {
	position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 60; background: var(--color-midnight); color: #fff;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); border-radius: 1rem; box-shadow: var(--shadow-elevated);
	padding: 1rem 1.25rem; display: none; align-items: flex-start; gap: 0.75rem;
}
.theme-promo-banner.is-visible { display: flex; animation: theme-fade-in 0.4s ease-out both; }
@media (min-width: 640px) { .theme-promo-banner { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-banner__text { font-size: 13px; line-height: 1.6; flex: 1; }
@media (min-width: 640px) { .theme-promo-banner__text { font-size: 15px; } }
.promo-highlight { font-weight: 600; color: var(--color-primary); }
.theme-promo-banner__close { flex-shrink: 0; margin-top: 0.1rem; padding: 0.35rem; border-radius: 50%; background: transparent; border: none; color: #fff; transition: background-color 0.2s ease; }
.theme-promo-banner__close:hover { background: color-mix(in srgb, #ffffff 10%, transparent); }

/* ---------------------------------------------------------------------
   19. Cart drawer + overlay — Section 12
   --------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-ivory); z-index: 91;
	box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-drawer__close { padding: 0.35rem; border-radius: 50%; background: transparent; border: none; color: var(--color-foreground); transition: background-color 0.2s ease; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.theme-cart-drawer__empty p { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); font-size: 14px; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { position: relative; width: 80px; height: 96px; background: var(--color-bone); border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img,
.theme-cart-item__thumb-img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color 0.2s ease; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.15rem; }
.theme-cart-item__prefs {
	margin-top: 0.5rem; display: inline-flex; align-items: flex-start; gap: 0.375rem; max-width: 100%;
	border-radius: 0.375rem; background: color-mix(in srgb, var(--color-accent) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent); padding: 0.25rem 0.5rem;
}
.theme-cart-item__prefs svg { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.theme-cart-item__prefs-text { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.375; word-break: break-word; }
.theme-cart-item__prefs-label { text-transform: uppercase; letter-spacing: 0.14em; font-size: 10px; color: var(--color-accent); font-weight: 500; margin-right: 0.25rem; }
.theme-cart-item__variation { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.35rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.6rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; background: transparent; border: none; color: var(--color-foreground); transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-bone); }
.theme-cart-item__qty-value { font-size: 13px; width: 24px; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); background: none; border: none; transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-destructive); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal-row span:first-child { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-cart-drawer__subtotal-row span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* Hide WooCommerce "View cart" link injected after AJAX add (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; }

/* Loading state (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; }

/* ---------------------------------------------------------------------
   20. WooCommerce notices (Section 14.1)
   --------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	list-style: none; padding: 1rem 1.25rem; border-radius: 0.5rem; font-size: 14px; margin: 1.5rem auto; max-width: 80rem;
	background: var(--color-secondary); border-left: 3px solid var(--color-primary); color: var(--color-foreground);
}
.woocommerce-error { border-left-color: var(--color-destructive); }

/* ---------------------------------------------------------------------
   21. Add to cart button overrides (Section 11.4.1)
   --------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
/* Card compact button — overrides globals above (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
}

/* ---------------------------------------------------------------------
   22. Single product page — Section 11 / 11.13
   --------------------------------------------------------------------- */
.single-product-main { background: var(--color-ivory); padding-top: calc(var(--header-height-mobile) + 1.5rem); }
@media (min-width: 1024px) { .single-product-main { padding-top: calc(var(--header-height) + 1.5rem); } }

.breadcrumb-trail { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.breadcrumb-trail a { transition: color 0.2s ease; }
.breadcrumb-trail a:hover { color: var(--color-primary); }
.breadcrumb-trail__sep { margin: 0 0.5rem; opacity: 0.5; }
.breadcrumb-trail__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: calc(var(--header-height) + 1.5rem); } }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; width: 100%; background: var(--color-linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-gallery__main .cover-img,
.theme-product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: 100%; }
.theme-product-thumb { width: calc((100% - 4 * 0.6rem) / 5); aspect-ratio: 1/1; background: var(--color-linen); border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; transition: border-color 0.2s ease; padding: 0; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }

.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-info__category { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.theme-product-info__title {
	font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.05; color: var(--color-foreground); margin-bottom: 1rem;
	overflow-wrap: break-word;
}
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 2.6rem; } }
.theme-product-info__price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-info__stock { display: inline-block; margin-bottom: 1.5rem; font-size: 13px; font-weight: 500; padding: 0.35rem 0.9rem; border-radius: 9999px; }
.theme-product-info__stock.is-out-of-stock { background: color-mix(in srgb, var(--color-destructive) 12%, transparent); color: var(--color-destructive); }
.theme-product-info__description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-quantity-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.6rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); border-radius: 9999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 1rem; background: transparent; border: none; color: var(--color-foreground); transition: color 0.2s ease; display: inline-flex; align-items: center; justify-content: center; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { width: 44px; text-align: center; font-size: 14px; font-weight: 500; background: transparent; border: none; -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 { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }
.theme-product-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-product-buttons { flex-direction: row; } }
.theme-product-buttons .single_add_to_cart_button,
.theme-product-buttons .theme-btn-buy-now { flex: 1; width: 100%; }
.theme-add-to-cart-area .theme-quantity-wrapper { margin-bottom: 0; }

.theme-product-info__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-product-info__details-label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-info__details ul { display: flex; flex-direction: column; gap: 0.6rem; }
.theme-product-info__details li { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); display: flex; align-items: flex-start; overflow-wrap: break-word; word-break: break-word; }
.theme-detail-dot { width: 4px; height: 4px; background: var(--color-primary); border-radius: 50%; margin-top: 0.6rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-product-info__perks { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.theme-perk { text-align: center; }
.theme-perk svg { color: var(--color-primary); margin: 0 auto 0.5rem; display: block; }
.theme-perk p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.related-products-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; }
.related-products-section__heading { font-size: 1.875rem; color: var(--color-foreground); }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-section__viewall { display: none; align-items: center; gap: 0.4rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s ease; white-space: nowrap; }
@media (min-width: 640px) { .related-products-section__viewall { display: inline-flex; } }
.related-products-section__viewall:hover { color: var(--color-primary); }
.related-products-section__grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, 1fr); } }

/* Variations table (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody tr { margin-bottom: 1.5rem; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 500; border: none; }
.single-product .variations tbody td.value { padding-top: 0; border: none; }
.theme-variation-label {
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent); display: block; margin-bottom: 0.25rem;
}
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; border-radius: 9999px; border: 1px solid var(--color-border); background: transparent;
	font-size: 13px; font-weight: 500; color: var(--color-foreground); transition: all 0.2s ease; cursor: pointer;
}
.theme-attr-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-attr-pill.is-selected { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.single-product .woocommerce-variation-description { overflow-wrap: break-word; word-break: break-word; }

/* ---------------------------------------------------------------------
   23. Checkout — WooCommerce Blocks (Section 13)
   --------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height-mobile) + 0.75rem);
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-account .site-main { padding-top: calc(var(--header-height) + 1rem); }
}
body.woocommerce-checkout .page-shell,
body.woocommerce-cart .page-shell,
body.woocommerce-account .page-shell { max-width: 80rem; padding-top: 0; padding-bottom: 4rem; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { font-size: 2.5rem; margin-top: 0; margin-bottom: 1.5rem; }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout__main-and-sidebar {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select {
	width: 100% !important;
	max-width: none !important;
	height: 3rem !important;
	font-family: var(--font-body) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-ivory) !important;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent) !important;
	border-radius: 0.375rem !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder {
	color: color-mix(in srgb, var(--color-foreground) 45%, transparent) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important; font-family: var(--font-body) !important; text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* ---------------------------------------------------------------------
   24. Thank-you page (Section 22.8)
   --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
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 { margin-top: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; background: var(--color-secondary); border-radius: var(--radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.75rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.6rem; border-bottom: 1px solid var(--color-border); word-break: break-word; }
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; }
@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; max-width: none; }
}

/* ---------------------------------------------------------------------
   25. Generic page shell + 404
   --------------------------------------------------------------------- */
.page-shell { padding-top: calc(var(--header-height-mobile) + 2rem); padding-bottom: 4rem; }
@media (min-width: 1024px) { .page-shell { padding-top: calc(var(--header-height) + 2.5rem); } }
.page-title { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 1.5rem; }

.theme-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-secondary); }
.theme-404__inner { text-align: center; padding: 4rem 0; width: 100%; }
.theme-404__code { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; transition: color 0.2s ease; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }
