/* =====================================================================
   FlowerGleam & Glow — theme.css
   Single source of truth for all visual styling. No CSS lives in any
   /woocommerce/*.php template file (Section 10).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. ROOT TOKENS
   --------------------------------------------------------------------- */
:root {
	--color-background: #170d21;
	--color-foreground: #f6efdf;
	--color-primary: #ddb75f;
	--color-primary-foreground: #170d21;
	--color-secondary: #2e1e3e;
	--color-secondary-foreground: #f6efdf;
	--color-muted: #291d35;
	--color-muted-foreground: #bcabc4;
	--color-accent: #ac4dcb;
	--color-accent-foreground: #f6efdf;
	--color-highlight: #f0d175;
	--color-highlight-foreground: #170d21;
	--color-border: #422e4c;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Cormorant Garamond', 'Playfair Display', serif;
	--font-body: 'Quicksand', 'Inter', 'Helvetica Neue', sans-serif;

	--radius: 0.5rem;
	--shadow-soft: 0 6px 24px -8px rgba(5, 2, 8, 0.6);
	--shadow-elevated: 0 14px 40px -12px rgba(5, 2, 8, 0.75);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--logo-height: 80px;
	--header-height: 88px;

	--btn-radius: 0;
	--btn-height: 3rem;
	--btn-padding: 0 2.5rem;
	--btn-font-size: 0.6875rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--card-radius: 0.75rem;
	--section-padding: 2rem;
	--checkout-gap: 2.5rem;
	--page-gutter: 1.5rem;
	--page-gutter-mobile: 2rem;
}

/* ---------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------- */
* {
	box-sizing: border-box;
	border-color: var(--color-border);
}

html, body {
	overflow-x: clip;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	background-image:
		radial-gradient(60% 50% at 15% 10%, rgba(160, 90, 210, 0.35), transparent 70%),
		radial-gradient(50% 45% at 85% 25%, rgba(190, 70, 160, 0.28), transparent 70%),
		radial-gradient(70% 60% at 50% 100%, rgba(60, 20, 90, 0.45), transparent 75%);
	background-attachment: fixed;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	opacity: 0.04;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 128px 128px;
}

body::after {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	background-image:
		radial-gradient(1.5px 1.5px at 6% 12%, rgba(255, 244, 200, 1), transparent 60%),
		radial-gradient(1px 1px at 14% 38%, rgba(255, 252, 240, 0.95), transparent 60%),
		radial-gradient(1.5px 1.5px at 22% 78%, rgba(250, 225, 150, 0.9), transparent 60%),
		radial-gradient(1px 1px at 31% 22%, rgba(255, 255, 255, 0.95), transparent 60%),
		radial-gradient(2px 2px at 38% 60%, rgba(255, 244, 200, 1), transparent 60%),
		radial-gradient(1px 1px at 46% 14%, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(1.5px 1.5px at 54% 84%, rgba(250, 225, 150, 0.95), transparent 60%),
		radial-gradient(1px 1px at 62% 46%, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(2px 2px at 70% 26%, rgba(255, 246, 210, 1), transparent 60%),
		radial-gradient(1px 1px at 78% 72%, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(1.5px 1.5px at 86% 34%, rgba(250, 225, 150, 0.9), transparent 60%),
		radial-gradient(1px 1px at 94% 88%, rgba(255, 255, 255, 0.95), transparent 60%),
		radial-gradient(1px 1px at 9% 64%, rgba(255, 244, 200, 0.9), transparent 60%),
		radial-gradient(1.5px 1.5px at 41% 92%, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(1px 1px at 67% 8%, rgba(255, 246, 210, 1), transparent 60%);
	background-size: 520px 520px;
	background-repeat: repeat;
	animation: sparkle-twinkle 5.5s ease-in-out infinite alternate, sparkle-drift 90s linear infinite;
	mix-blend-mode: screen;
	opacity: 1;
}

@keyframes sparkle-twinkle {
	0% { opacity: 0.55; }
	50% { opacity: 1; }
	100% { opacity: 0.7; }
}
@keyframes sparkle-drift {
	from { background-position: 0 0; }
	to { background-position: 520px 1040px; }
}
@media (prefers-reduced-motion: reduce) {
	body::after { animation: none; opacity: 0.5; }
}

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
}

h1, h2 {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.01em;
	position: relative;
	isolation: isolate;
	text-shadow: 0 0 2px rgba(255, 240, 190, 0.7), 0 0 24px rgba(230, 175, 60, 0.45), 0 0 50px rgba(150, 70, 190, 0.55);
}
h1::before, h2::before {
	content: '';
	position: absolute;
	inset: -40% -12%;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(60% 70% at 50% 55%, rgba(245, 205, 110, 0.45) 0%, rgba(225, 170, 60, 0.28) 38%, transparent 72%),
		radial-gradient(45% 60% at 50% 50%, rgba(160, 70, 200, 0.35), transparent 75%),
		radial-gradient(35% 50% at 50% 50%, rgba(255, 255, 255, 0.18), transparent 80%);
	filter: blur(22px);
}
h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.01em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a[href],
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select,
label[for],
summary,
.theme-pill,
.tile-card,
.theme-product-card,
.theme-search-cat-btn,
.theme-search-result,
.theme-footer-cat-link,
.theme-mobile-menu__action,
.theme-mobile-nav-list a,
.theme-mobile-menu__nav a,
.theme-nav-list a,
.nav-link,
.header-icon-btn,
.theme-btn,
.faq-item__question,
.theme-cart-drawer__pair-item,
.theme-thumb-btn,
[role="button"],
[data-cart-open],
[data-search-open],
[data-open-contact-modal],
[data-mobile-menu-open],
[data-mobile-menu-close] {
	cursor: pointer;
}
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; }

img:not(.cover-img):not(.hero-section__img):not(.tile-card__img):not(.product-card-img):not(.theme-product-main-image__img):not(.theme-thumb-btn__img):not(.theme-cart-drawer__item-image img):not(.theme-cart-drawer__pair-image img):not(.contact-section__bg img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-section__img,
.tile-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 var(--page-gutter-mobile);
}
@media (min-width: 768px) {
	.container-wide { padding: 0 var(--page-gutter); }
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2.5rem; }
}
.container-editorial {
	width: 100%;
	max-width: 64rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.label-eyebrow,
.label-eyebrow-sm {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-muted-foreground);
}
.label-eyebrow-sm { font-size: 0.625rem; letter-spacing: 0.28em; }

.scroll-mt { scroll-margin-top: 8rem; }

/* ---------------------------------------------------------------------
   3. BUTTONS
   --------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border-radius: var(--btn-radius);
	border: 1px solid var(--color-primary);
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}
.theme-btn:hover {
	background: var(--color-background);
	color: var(--color-primary);
}
.theme-btn-hero-primary {
	box-shadow: 0 0 30px rgba(230, 190, 90, 0.35);
	text-transform: none;
}
.theme-btn-dark {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-btn-dark:hover {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.theme-btn-outline {
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
}
.theme-btn-outline:hover {
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-btn-primary { text-transform: none; }
.theme-anchor-scroll { cursor: pointer; }

/* ---------------------------------------------------------------------
   4. HEADER
   --------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	padding: 0 1rem;
	background: rgba(23, 13, 33, 0.55);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}
.site-header.is-scrolled {
	background: rgba(23, 13, 33, 0.95);
	backdrop-filter: blur(18px);
	box-shadow: 0 4px 30px -10px rgba(5, 2, 8, 0.45);
	border-bottom: 1px solid rgba(66, 46, 76, 0.3);
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
@media (min-width: 768px) {
	.site-header { padding: 0 2.5rem; }
}
.site-header__inner {
	margin: 0 auto;
	max-width: 80rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
}
@media (min-width: 768px) {
	.site-header__inner { height: 6rem; }
}
.site-header__logo-link { flex-shrink: 0; display: inline-flex; }
.site-logo-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 4rem; }
@media (min-width: 768px) { .site-logo-wrap { height: 5rem; } }
.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 0 12px rgba(220, 180, 90, 0.45));
}
.site-logo-text {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.5rem;
	color: var(--color-primary);
	line-height: var(--logo-height);
	display: block;
}
.site-header__nav {
	display: none;
	align-items: center;
	gap: 2.5rem;
}
@media (min-width: 1024px) {
	.site-header__nav { display: flex; }
}
.theme-nav-list { display: flex; align-items: center; gap: 2.5rem; }
.theme-nav-list a, .nav-link {
	font-family: var(--font-display);
	font-size: 0.9375rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: rgba(221, 183, 95, 0.9);
	transition: color 0.3s ease;
}
.theme-nav-list a:hover, .nav-link:hover { color: var(--color-primary); }
.header-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(221, 183, 95, 0.8);
	transition: color 0.3s ease;
	width: 2.5rem; height: 2.5rem;
}
.header-icon-btn:hover { color: var(--color-primary); }
.theme-cart-count {
	position: absolute;
	top: -0.5rem; right: -0.5rem;
	width: 1.1rem; height: 1.1rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 500;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 50%;
}
.theme-cart-count:empty { display: none; }
.site-header__mobile-actions { display: flex; align-items: center; gap: 0.75rem; }
@media (min-width: 1024px) { .site-header__mobile-actions { display: none; } }

/* Mobile menu */
.theme-mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 88vw; max-width: 24rem;
	background: var(--color-background);
	border-right: 1px solid var(--color-border);
	display: flex; flex-direction: column;
	z-index: 90;
	transform: translateX(-100%);
	transition: transform 0.5s cubic-bezier(0.25, 0.4, 0.25, 1);
}
body.mobile-menu-open .theme-mobile-menu { transform: translateX(0); }
body.admin-bar .theme-mobile-menu { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .theme-mobile-menu { top: 46px; }
}
#theme-mobile-menu-overlay {
	position: fixed; inset: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 89;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
body.mobile-menu-open #theme-mobile-menu-overlay { opacity: 1; pointer-events: auto; }
.theme-mobile-menu__header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 var(--page-gutter-mobile); height: 4.8rem;
	border-bottom: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-mobile-menu__logo { height: 3.4rem !important; }
.theme-mobile-menu__nav { flex: 1; overflow-y: auto; padding: 0.75rem var(--page-gutter-mobile); }
.theme-mobile-menu__nav .theme-nav-list,
.theme-mobile-menu__nav ul {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}
.theme-mobile-menu__nav .theme-nav-list a,
.theme-mobile-menu__nav .nav-link {
	font-family: var(--font-body);
	font-size: 1rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}
.theme-mobile-nav-list li, .theme-mobile-menu__nav ul li { border-bottom: 1px solid rgba(66, 46, 76, 0.4); }
.theme-mobile-nav-list a, .theme-mobile-menu__nav a {
	display: block; width: 100%;
	padding: 1rem 0.75rem;
	font-size: 1rem; letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--color-foreground);
	transition: color 0.3s ease;
}
.theme-mobile-nav-list a:hover, .theme-mobile-menu__nav a:hover { color: var(--color-primary); }
.theme-mobile-menu__footer {
	border-top: 1px solid var(--color-border);
	padding: 1rem var(--page-gutter-mobile);
	display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
	flex-shrink: 0;
}
.theme-mobile-menu__action {
	display: flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: 0.75rem 0;
	border: 1px solid var(--color-border);
	font-size: 0.875rem; letter-spacing: 0.24em; text-transform: uppercase;
	transition: all 0.3s ease;
}
.theme-mobile-menu__action:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-mobile-menu__action--filled { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-mobile-menu__action--filled:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

#theme-scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	z-index: 70;
	background: var(--color-primary-foreground);
	transform-origin: 0% 50%;
	transform: scaleX(0);
	transition: transform 0.1s linear;
	pointer-events: none;
}
body.admin-bar #theme-scroll-progress { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar #theme-scroll-progress { top: 46px; }
}

/* ---------------------------------------------------------------------
   5. SCROLL REVEAL SYSTEM (Section 2.1)
   --------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-item[data-stagger="2"] { transition-delay: 0.12s; }
.reveal-item[data-stagger="3"] { transition-delay: 0.24s; }
.reveal-item[data-stagger="4"] { transition-delay: 0.36s; }
.reveal-item[data-stagger="5"] { transition-delay: 0.48s; }
.reveal-item[data-stagger="6"] { transition-delay: 0.6s; }

body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: opacity 0.3s ease; transform: none !important; }
}

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero-section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
}
.hero-section__media {
	position: absolute;
	inset: -10%;
	animation: hero-fade-in 1.6s var(--transition-smooth) both;
}
@keyframes hero-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.hero-section__img { position: absolute; inset: 0; }
.hero-section__tint {
	position: absolute; inset: 0;
	background:
		radial-gradient(70% 60% at 50% 100%, rgba(45, 10, 70, 0.65), transparent 75%),
		linear-gradient(180deg, rgba(35, 10, 55, 0.45) 0%, rgba(45, 15, 70, 0.35) 50%, rgba(30, 8, 50, 0.7) 100%);
}
.hero-stars {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		radial-gradient(1.2px 1.2px at 8% 14%, rgba(255, 246, 210, 1), transparent 60%),
		radial-gradient(1px 1px at 17% 42%, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(1.6px 1.6px at 26% 76%, rgba(255, 240, 190, 1), transparent 60%),
		radial-gradient(1px 1px at 33% 24%, rgba(255, 255, 255, 0.85), transparent 60%),
		radial-gradient(2px 2px at 42% 62%, rgba(255, 244, 200, 1), transparent 60%),
		radial-gradient(1px 1px at 49% 12%, rgba(255, 255, 255, 0.85), transparent 60%),
		radial-gradient(1.4px 1.4px at 58% 82%, rgba(255, 240, 190, 1), transparent 60%),
		radial-gradient(1px 1px at 64% 48%, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(2px 2px at 73% 28%, rgba(255, 246, 210, 1), transparent 60%),
		radial-gradient(1px 1px at 81% 70%, rgba(255, 255, 255, 0.9), transparent 60%),
		radial-gradient(1.5px 1.5px at 88% 36%, rgba(255, 240, 190, 1), transparent 60%),
		radial-gradient(1px 1px at 95% 86%, rgba(255, 255, 255, 0.95), transparent 60%);
	background-size: 380px 380px;
	background-repeat: repeat;
	animation: hero-twinkle 3.4s ease-in-out infinite alternate;
	mix-blend-mode: screen;
}
.hero-stars--slow {
	background-size: 620px 620px;
	background-position: 120px 80px;
	animation: hero-twinkle 6.2s ease-in-out infinite alternate, hero-drift 120s linear infinite;
	opacity: 0.8;
}
@keyframes hero-twinkle { 0% { opacity: 0.45; } 50% { opacity: 1; } 100% { opacity: 0.6; } }
@keyframes hero-drift { from { background-position: 0 0; } to { background-position: 620px 1240px; } }

.hero-section__content-wrap {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	z-index: 10;
}
.hero-section__content {
	position: relative;
	isolation: isolate;
	text-align: center;
	padding: 0 1.5rem;
	max-width: 42rem;
	text-shadow: 0 2px 14px rgba(30, 8, 50, 0.85), 0 0 34px rgba(30, 8, 50, 0.55);
}
.hero-section__content::before {
	content: '';
	position: absolute;
	inset: -30% -20%;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(60% 70% at 50% 50%, rgba(35, 10, 55, 0.62) 0%, rgba(25, 8, 45, 0.45) 55%, transparent 85%),
		radial-gradient(45% 55% at 50% 50%, rgba(150, 65, 190, 0.32), transparent 75%);
	filter: blur(28px);
}
.hero-section__eyebrow {
	display: block;
	font-size: 0.625rem;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: rgba(221, 183, 95, 0.9);
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .hero-section__eyebrow { font-size: 0.6875rem; } }
.hero-section__title {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 2.25rem;
	line-height: 1.05;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__title::before { display: none !important; }
.hero-section__subtitle {
	font-size: 0.875rem;
	max-width: 28rem;
	margin: 0 auto 2rem;
	line-height: 1.6;
	color: rgba(246, 239, 223, 0.95);
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1rem; } }

.hero-gold-title {
	background: linear-gradient(180deg, #fdf3d8 0%, #f6dfa8 30%, #e6a94a 60%, #a97128 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	filter: drop-shadow(0 2px 14px rgba(230, 170, 60, 0.35)) drop-shadow(0 0 40px rgba(150, 65, 190, 0.35));
}
.hero-gold-title::before { display: none !important; }

/* ---------------------------------------------------------------------
   7. CATEGORY TILES
   --------------------------------------------------------------------- */
.tiles-section { padding: 4rem 0; }
@media (min-width: 1024px) { .tiles-section { padding: 6rem 0; } }
.tiles-section__heading-wrap { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
@media (min-width: 1024px) { .tiles-section__heading-wrap { margin-bottom: 4rem; } }
.tiles-section__heading { font-style: italic; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .tiles-section__heading { font-size: 3rem; } }
.tiles-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.tiles-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.tile-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tile-card__frame {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	border-radius: 50%;
	overflow: hidden;
	background: var(--color-secondary);
	transition: transform 0.3s ease;
	box-shadow:
		0 0 0 1px rgba(221, 183, 95, 0.9),
		0 0 0 4px rgba(23, 13, 33, 0.95),
		0 0 0 6px rgba(221, 183, 95, 0.7),
		0 0 0 9px rgba(23, 13, 33, 0.85),
		0 0 0 11px rgba(221, 183, 95, 0.45),
		0 18px 50px -12px rgba(5, 2, 8, 0.7);
}
.tile-card:hover .tile-card__frame { transform: scale(1.02); }
.tile-card__img { transition: transform 0.7s ease; }
.tile-card:hover .tile-card__img { transform: scale(1.05); }
.tile-card__tint { position: absolute; inset: 0; background: rgba(246, 239, 223, 0.25); transition: background 0.3s ease; }
.tile-card:hover .tile-card__tint { background: rgba(246, 239, 223, 0.35); }
.tile-card__title {
	margin-top: 1.25rem;
	font-style: italic;
	font-size: 1.5rem;
}
@media (min-width: 768px) { .tile-card__title { font-size: 2.25rem; } }

/* ---------------------------------------------------------------------
   8. SHOP GRID
   --------------------------------------------------------------------- */
.shop-section { padding: 3.5rem 0; }
@media (min-width: 1024px) { .shop-section { padding: 5rem 0; } }
.shop-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; }
.shop-section__label { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 640px) { .shop-section__label { font-size: 0.875rem; } }
.shop-section__count { font-size: 0.75rem; color: var(--color-muted-foreground); }
.shop-section__controls {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
	align-items: end;
}
@media (min-width: 1024px) {
	.shop-section__controls { grid-template-columns: 1fr auto; gap: 2.5rem; }
}
.theme-search-field {
	position: relative;
	max-width: 28rem;
	width: 100%;
}
.theme-search-field svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-search-field input {
	width: 100%;
	height: 2.75rem;
	padding: 0 0.75rem 0 2.25rem;
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-foreground);
	font-size: 0.875rem;
}
.theme-search-field input::placeholder { color: var(--color-muted-foreground); }
.theme-price-filter { width: 100%; }
@media (min-width: 1024px) { .theme-price-filter { width: 18rem; } }
.theme-price-filter__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.theme-price-filter__values { font-size: 0.75rem; }

/* Dual-handle range slider (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: 4px;
}
.range-track-bg { left: 0; right: 0; background: var(--color-secondary); }
.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: 1.25rem; height: 1.25rem;
	border-radius: 50%;
	border: 2px solid var(--color-primary);
	background: var(--color-background);
	cursor: pointer;
	margin-top: 0;
}
.range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 1.25rem; height: 1.25rem;
	border-radius: 50%;
	border: 2px solid var(--color-primary);
	background: var(--color-background);
	cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-section__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.theme-pill {
	height: 2.25rem;
	padding: 0 1rem;
	display: inline-flex; align-items: center;
	font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-foreground);
	transition: all 0.2s ease;
}
.theme-pill:hover { border-color: var(--color-foreground); }
.theme-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.shop-section__empty { padding: 4rem 0; text-align: center; color: var(--color-muted-foreground); font-size: 0.875rem; }

/* ---------------------------------------------------------------------
   9. PRODUCT GRID / CARD (shared across shop, archive, related — 31.13)
   --------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 1.25rem;
	row-gap: 2.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.related-products-section__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .related-products-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: rgba(41, 29, 53, 0.4);
}
.theme-product-card__image,
.product-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: opacity 0.5s ease;
	display: block;
}
.theme-product-card:hover .theme-product-card__image { opacity: 0.9; }
.theme-product-card__image.is-muted { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	background: rgba(23, 13, 33, 0.9);
	backdrop-filter: blur(4px);
	color: var(--color-foreground);
	padding: 0.375rem 0.75rem;
}
.theme-product-card__info { flex: 1; padding-top: 1rem; text-align: center; display: flex; flex-direction: column; }
.theme-product-card__title {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.8125rem;
	color: var(--color-foreground);
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color 0.3s ease;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__cat { font-size: 0.6875rem; color: var(--color-muted-foreground); margin-top: 0.25rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-product-card__price { font-size: 0.75rem; margin-top: 0.25rem; }
.theme-product-card__price .price del { opacity: 0.6; margin-right: 0.35rem; }

/* ---------------------------------------------------------------------
   10. WOOCOMMERCE OVERRIDES (Section 11.4.1 / 11.4.2 / 11.5.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: 1px solid var(--color-primary) !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.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;
}

.theme-cart-drawer__pair-item.add_to_cart_button {
	background: none !important;
	border: none !important;
	min-height: unset !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body);
	border-top-color: var(--color-primary);
	padding: 1em 2em 1em 3.5em;
	background: var(--color-secondary);
	color: var(--color-foreground);
	border-radius: var(--radius);
	list-style: none;
	margin: 0 0 1.5rem;
}
.woocommerce-error { border-top-color: #c0392b; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select {
	width: 100%;
	height: 2.75rem;
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-foreground);
	padding: 0 0.75rem;
}
.theme-attr-select-hidden { display: none !important; }

/* ---------------------------------------------------------------------
   11. SINGLE PRODUCT PAGE
   --------------------------------------------------------------------- */
.single-product .site-main { padding-top: var(--header-height); }
.theme-product-layout-wrap { max-width: 90rem; margin: 0 auto; padding: 7rem 1rem 4rem; }
@media (min-width: 768px) { .theme-product-layout-wrap { padding: 8rem 2.5rem 4rem; } }
.theme-breadcrumb { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-product-info .theme-breadcrumb { margin-bottom: 1.5rem; }
.theme-breadcrumb a { transition: color 0.2s ease; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; }

.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		gap: 2.5rem;
	}
}
.theme-product-gallery,
.theme-product-info {
	min-width: 0;
	max-width: 100%;
}
.theme-product-gallery {
	display: flex;
	flex-direction: column;
}
@media (min-width: 1024px) {
	.theme-product-gallery {
		position: sticky;
		top: calc(var(--header-height) + 1rem);
	}
}
body.admin-bar .theme-product-gallery {
	top: calc(32px + var(--header-height) + 1rem);
}
@media screen and (max-width: 782px) {
	body.admin-bar .theme-product-gallery {
		top: calc(46px + var(--header-height) + 1rem);
	}
}
.theme-product-thumbnails {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 100%;
	padding: 1rem 0 0;
	overflow-x: auto;
}
.theme-thumb-btn {
	width: 3.5rem;
	height: 3.5rem;
	flex-shrink: 0;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 0.375rem;
	opacity: 0.6;
	transition: all 0.2s ease;
}
@media (min-width: 768px) {
	.theme-product-thumbnails {
		justify-content: flex-start;
		padding: 1.25rem 0 0;
	}
	.theme-thumb-btn { width: 4rem; height: 4rem; }
}
.theme-thumb-btn.is-active,
.theme-thumb-btn:hover {
	opacity: 1;
	border-color: var(--color-foreground);
}
.theme-thumb-btn__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-product-main-image {
	width: 100%;
	background: rgba(41, 29, 53, 0.25);
	border-radius: 0.375rem;
	overflow: hidden;
}
.theme-product-main-image__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.theme-product-info { padding: 1.5rem 0 2.5rem; }
@media (min-width: 1024px) {
	.theme-product-info { padding: 0.5rem 0 4rem; }
}
.product-title.theme-product-info__title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.9375rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	line-height: 1.5;
}
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 1rem; } }
.theme-product-info__sku { margin-top: 0.75rem; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__rule { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-info__price { font-size: 1.125rem; }
.theme-product-info__price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-stock-badge--out { margin-top: 0.75rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: #d98a4f; }
.theme-product-info__cats.posted_in { margin-top: 0.75rem; font-size: 0.75rem; color: var(--color-muted-foreground); overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__cats a { text-decoration: underline; text-underline-offset: 3px; }
.theme-product-note-box {
	margin-top: 1.75rem;
	background: rgba(41, 29, 53, 0.7);
	padding: 1rem 1.25rem;
	font-size: 0.8125rem;
	line-height: 1.6;
	border-radius: 0.375rem;
}

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}
.theme-quantity-wrapper {
	display: flex;
	align-items: center;
	border: 1px solid var(--color-border);
}
.theme-qty-minus, .theme-qty-plus {
	width: 3rem; height: var(--btn-height);
	display: flex; align-items: center; justify-content: center;
	transition: background 0.2s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3.25rem;
	height: var(--btn-height);
	text-align: center;
	background: transparent;
	border: none;
	border-left: 1px solid var(--color-border);
	border-right: 1px solid var(--color-border);
	color: var(--color-foreground);
	font-size: 0.875rem;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.theme-product-details { margin-top: 3rem; }
.theme-product-details__heading { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; }
.theme-product-details__description {
	font-family: var(--font-display);
	font-size: 1.1875rem;
	line-height: 1.55;
	color: rgba(246, 239, 223, 0.9);
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-details__description p { margin-bottom: 1rem; }
.theme-product-details__short.woocommerce-product-details__short-description {
	margin-top: 1.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: rgba(246, 239, 223, 0.8);
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-details__short ul {
	list-style: disc;
	padding-left: 1.25rem;
}
.theme-product-details__short li { margin-top: 0.6rem; line-height: 1.6; }
.theme-product-details__short li::marker { color: var(--color-primary); }

.related-products-section { padding: 6rem 0; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.related-products-section__heading { font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-section__highlight { font-style: italic; color: var(--color-primary); }

/* ---------------------------------------------------------------------
   12. OUR VALUES
   --------------------------------------------------------------------- */
.values-section { background: rgba(46, 30, 62, 0.5); padding: 5rem 0; }
@media (min-width: 1024px) { .values-section { padding: 6rem 0; } }
.values-section__head { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
.values-section__heading { font-style: italic; font-size: 2.25rem; margin-top: 0.75rem; line-height: 1.2; }
@media (min-width: 768px) { .values-section__heading { font-size: 3rem; } }
.values-section__body { margin-top: 1.25rem; line-height: 1.6; color: rgba(246, 239, 223, 0.75); }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.value-card {
	position: relative;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 2rem 2.5rem;
	text-align: center;
	overflow: hidden;
	transition: all 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
	border-color: rgba(221, 183, 95, 0.6);
	box-shadow: 0 20px 60px -20px rgba(221, 183, 95, 0.45);
	transform: translateY(-8px);
}
.value-card__sheen {
	position: absolute; inset: 0;
	pointer-events: none;
	transform: translateX(-100%);
	transition: transform 1.4s ease-out;
	background: linear-gradient(90deg, transparent, rgba(221, 183, 95, 0.15), transparent);
}
.value-card:hover .value-card__sheen { transform: translateX(100%); }
.value-card__sparkle { position: absolute; opacity: 0; transition: opacity 0.5s ease; color: var(--color-primary); }
.value-card:hover .value-card__sparkle { opacity: 1; }
.value-card__sparkle--tr { top: 0.75rem; right: 0.75rem; }
.value-card__sparkle--bl { bottom: 0.75rem; left: 0.75rem; transition-delay: 0.1s; }
.value-card__icon-wrap {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 3.5rem; height: 3.5rem;
	margin: 0 auto;
	border-radius: 50%;
	background: rgba(221, 183, 95, 0.1);
	box-shadow: 0 0 0 1px rgba(221, 183, 95, 0.3);
	color: var(--color-primary);
	transition: all 0.5s ease;
}
.value-card:hover .value-card__icon-wrap { box-shadow: 0 0 0 1px rgba(221, 183, 95, 0.7); background: rgba(221, 183, 95, 0.15); transform: scale(1.1); }
.value-card__title { font-style: italic; font-size: 1.5rem; margin-top: 1.25rem; margin-bottom: 0.75rem; transition: color 0.5s ease; }
.value-card:hover .value-card__title { color: var(--color-primary); }
.value-card__body { font-size: 0.875rem; line-height: 1.6; color: rgba(246, 239, 223, 0.75); }

/* ---------------------------------------------------------------------
   13. ABOUT / MEET MIRANDA
   --------------------------------------------------------------------- */
.story-section { position: relative; padding: 6rem 0; overflow: hidden; }
@media (min-width: 1024px) { .story-section { padding: 8rem 0; } }
.story-section__decor { position: absolute; inset: 0; pointer-events: none; }
.story-section__glow {
	position: absolute; top: -6rem; left: 50%; transform: translateX(-50%);
	width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
	border-radius: 50%; filter: blur(48px); opacity: 0.3;
	background: radial-gradient(circle, rgba(221, 183, 95, 0.45), transparent 60%);
}
.story-section__spark { position: absolute; color: rgba(221, 183, 95, 0.6); animation: story-pulse 2.4s ease-in-out infinite; }
.story-section__spark--1 { top: 4rem; left: 12%; }
.story-section__spark--2 { top: 7rem; right: 14%; animation-delay: 0.6s; color: rgba(221, 183, 95, 0.7); }
.story-section__spark--3 { bottom: 6rem; left: 18%; animation-delay: 1.2s; color: rgba(221, 183, 95, 0.5); }
.story-section__spark--4 { bottom: 4rem; right: 10%; animation-delay: 0.3s; color: rgba(221, 183, 95, 0.6); }
@keyframes story-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.story-section__inner { position: relative; }
.story-section__content { max-width: 48rem; margin: 0 auto; text-align: center; }
.story-section__divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--color-primary); }
.story-section__divider-line { height: 1px; width: 4rem; background: linear-gradient(90deg, transparent, rgba(221, 183, 95, 0.7)); }
.story-section__divider:first-of-type .story-section__divider-line:last-child { background: linear-gradient(90deg, rgba(221, 183, 95, 0.7), transparent); }
.story-section__eyebrow { text-align: center; color: var(--color-primary); }
.story-section__heading { font-style: italic; font-size: 2.25rem; margin-top: 1rem; margin-bottom: 2rem; line-height: 1.2; }
@media (min-width: 768px) { .story-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .story-section__heading { font-size: 3.75rem; } }
.story-section__paragraph { line-height: 1.7; color: rgba(246, 239, 223, 0.8); margin-bottom: 1.25rem; }
@media (min-width: 768px) { .story-section__paragraph:first-of-type { font-size: 1.125rem; } }
.story-section__quote { font-family: var(--font-display); font-style: italic; color: var(--color-primary); font-size: 1.25rem; line-height: 1.6; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .story-section__quote { font-size: 1.5rem; } }
.story-section__divider--closing { margin-top: 3rem; margin-bottom: 0; }
.story-section__star { font-size: 1.125rem; }

/* ---------------------------------------------------------------------
   14. TESTIMONIALS
   --------------------------------------------------------------------- */
.testimonials-section { background: rgba(46, 30, 62, 0.5); padding: 5rem 0; }
@media (min-width: 1024px) { .testimonials-section { padding: 7rem 0; } }
.testimonials-section__head { text-align: center; margin-bottom: 3rem; }
@media (min-width: 1024px) { .testimonials-section__head { margin-bottom: 4rem; } }
.testimonials-section__heading { font-style: italic; font-size: 2.25rem; margin-top: 0.75rem; line-height: 1.2; }
@media (min-width: 768px) { .testimonials-section__heading { font-size: 3rem; } }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) {
	.testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
}
@media (min-width: 1024px) {
	.testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

.papyrus-card {
	position: relative;
	background:
		radial-gradient(ellipse at 20% 10%, rgba(240, 224, 190, 0.9), transparent 60%),
		radial-gradient(ellipse at 80% 85%, rgba(220, 195, 155, 0.85), transparent 65%),
		linear-gradient(135deg, #f0e6d2 0%, #e0d0ae 50%, #d3bd97 100%);
	color: #4a3220;
	box-shadow:
		0 1px 0 rgba(180, 145, 90, 0.6) inset,
		0 0 0 1px rgba(200, 165, 105, 0.4),
		0 12px 30px -12px rgba(70, 40, 20, 0.35);
	clip-path: polygon(2% 1%, 8% 0%, 18% 2%, 32% 0%, 48% 2%, 62% 0%, 78% 2%, 92% 0%, 99% 3%, 100% 12%, 98% 28%, 100% 44%, 99% 62%, 100% 78%, 98% 92%, 99% 99%, 88% 100%, 72% 98%, 56% 100%, 40% 98%, 24% 100%, 10% 98%, 1% 99%, 0% 86%, 2% 70%, 0% 54%, 1% 38%, 0% 22%, 2% 10%);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
	padding: 2rem 2.5rem;
	display: flex; flex-direction: column;
}
.papyrus-card.rotate-neg { transform: rotate(-1.5deg); }
.papyrus-card.rotate-pos { transform: rotate(1.5deg); }
.papyrus-card:hover { transform: rotate(0deg) translateY(-10px) scale(1.03); box-shadow: 0 1px 0 rgba(180, 150, 95, 0.7) inset, 0 0 0 1px rgba(230, 180, 60, 0.6), 0 24px 50px -16px rgba(70, 35, 15, 0.5), 0 0 40px -6px rgba(230, 180, 60, 0.45); }
.testimonial-card__sparkle { position: absolute; top: 1rem; right: 1rem; opacity: 0; transition: opacity 0.5s ease; }
.testimonial-card:hover .testimonial-card__sparkle { opacity: 1; }
.testimonial-card__quotemark { position: absolute; top: -0.75rem; left: 1.5rem; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: rgba(210, 165, 90, 0.7); user-select: none; }
.testimonial-card__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; margin-bottom: 1.5rem; position: relative; z-index: 1; }
@media (min-width: 768px) { .testimonial-card__quote { font-size: 1.5rem; } }
.testimonial-card__caption { margin-top: auto; position: relative; z-index: 1; }
.testimonial-card__rule { display: block; height: 1px; width: 3rem; background: rgba(210, 165, 90, 0.6); margin-bottom: 0.75rem; }
.testimonial-card__name { font-size: 0.875rem; font-weight: 500; }
.testimonial-card__place { font-size: 0.625rem; letter-spacing: 0.28em; text-transform: uppercase; margin-top: 0.25rem; color: rgba(74, 50, 32, 0.7); }

/* ---------------------------------------------------------------------
   15. FAQ
   --------------------------------------------------------------------- */
.faq-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-section__head { max-width: 48rem; margin: 0 auto; text-align: center; }
.faq-section__heading { font-style: italic; font-size: 2.25rem; margin-top: 0.75rem; line-height: 1.2; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.faq-section__body { margin-top: 1.5rem; line-height: 1.6; color: rgba(246, 239, 223, 0.75); }
.faq-list { max-width: 48rem; margin: 3rem auto 0; }
@media (min-width: 1024px) { .faq-list { margin-top: 4rem; } }
.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;
	text-align: left;
	padding: 1.25rem 0;
	font-size: 0.875rem;
	transition: color 0.3s ease;
}
@media (min-width: 768px) { .faq-item__question { font-size: 1rem; } }
.faq-item:hover .faq-item__question { color: var(--color-primary); }
.faq-item__icon { flex-shrink: 0; position: relative; width: 16px; height: 16px; }
.faq-item__icon-plus, .faq-item__icon-minus { position: absolute; top: 0; left: 0; transition: opacity 0.2s ease; }
.faq-item__icon-minus { opacity: 0; }
.faq-item.is-open .faq-item__icon-plus { opacity: 0; }
.faq-item.is-open .faq-item__icon-minus { opacity: 1; }
.faq-item__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-item__answer { max-height: 400px; }
.faq-item__answer p { padding-bottom: 1.5rem; padding-right: 2.5rem; font-size: 0.875rem; line-height: 1.6; color: rgba(246, 239, 223, 0.75); }
body.is-customizer .faq-item__answer { max-height: none; }

/* ---------------------------------------------------------------------
   16. CONTACT SECTION
   --------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; padding: 6rem 0; border-top: 1px solid var(--color-border); }
@media (min-width: 1024px) { .contact-section { padding: 8rem 0; } }
.contact-section__bg { position: absolute; inset: 0; }
.contact-section__tint {
	position: absolute; inset: 0;
	background:
		radial-gradient(70% 60% at 50% 50%, rgba(45, 15, 70, 0.72), transparent 85%),
		linear-gradient(180deg, rgba(25, 8, 42, 0.82) 0%, rgba(45, 15, 70, 0.75) 50%, rgba(25, 8, 42, 0.88) 100%);
}
.contact-section__grid { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.contact-section__eyebrow { color: rgba(221, 183, 95, 0.9); }
.contact-section__heading { font-style: italic; font-size: 2.25rem; margin-top: 0.75rem; margin-bottom: 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .contact-section__heading { font-size: 3rem; } }
.contact-section__body { color: rgba(246, 239, 223, 0.9); line-height: 1.6; margin-bottom: 2rem; max-width: 28rem; }
.contact-section__links { display: flex; flex-direction: column; gap: 1rem; }
.contact-section__link { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; transition: color 0.3s ease; }
.contact-section__link:hover { color: var(--color-primary); }
.contact-section__card {
	background: rgba(23, 13, 33, 0.4);
	backdrop-filter: blur(6px);
	padding: 2rem;
	display: flex; flex-direction: column; justify-content: center;
	border: 1px solid rgba(66, 46, 76, 0.4);
}
@media (min-width: 1024px) { .contact-section__card { padding: 3rem; } }
.contact-section__card-eyebrow { margin-bottom: 0.75rem; color: rgba(221, 183, 95, 0.9); }
.contact-section__card-heading { font-style: italic; font-size: 1.5rem; margin-bottom: 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .contact-section__card-heading { font-size: 1.875rem; } }
.contact-section__card-body { font-size: 0.875rem; color: rgba(246, 239, 223, 0.9); line-height: 1.6; margin-bottom: 2rem; }
.contact-section__card .theme-btn { align-self: flex-start; }

/* ---------------------------------------------------------------------
   17. CART DRAWER
   --------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: rgba(23, 13, 33, 0.3);
	z-index: 55;
	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; right: 0; top: 0; bottom: 0;
	width: 100%; max-width: 32rem;
	background: var(--color-background);
	z-index: 56;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--transition-smooth), opacity 0.3s ease;
}
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: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); flex-shrink: 0; }
.theme-cart-drawer__title { font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; color: var(--color-muted-foreground); }
.theme-cart-drawer__empty svg { margin-bottom: 1.25rem; }
.theme-cart-drawer__empty p { margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-drawer__item { display: flex; gap: 1.25rem; }
#theme-cart-drawer .theme-cart-drawer__item-image { position: relative; width: 6rem; height: 8rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); display: block; }
#theme-cart-drawer .theme-cart-drawer__item-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-drawer__item-name { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem; font-style: italic; }
.theme-cart-drawer__item-price { font-size: 0.875rem; margin-top: 0.375rem; }
.theme-cart-drawer__item-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-drawer__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-drawer__qty button { padding: 0.375rem 0.625rem; transition: background 0.2s ease; }
.theme-cart-drawer__qty button:hover { background: var(--color-secondary); }
.theme-cart-drawer__qty-value { padding: 0 0.75rem; font-size: 0.875rem; min-width: 28px; text-align: center; }
.theme-cart-drawer__remove { font-size: 0.75rem; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s ease; }
.theme-cart-drawer__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__pair { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.theme-cart-drawer__pair-heading { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; }
.theme-cart-drawer__pair-grid { display: flex; gap: 0.75rem; overflow: hidden; padding-bottom: 0.5rem; }
.theme-cart-drawer__pair-item { flex: 1; min-width: 0; text-align: left; }
#theme-cart-drawer .theme-cart-drawer__pair-image { position: relative; display: block; aspect-ratio: 3/4; background: var(--color-secondary); overflow: hidden; margin-bottom: 0.5rem; }
#theme-cart-drawer .theme-cart-drawer__pair-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform 0.7s ease; display: block; }
.theme-cart-drawer__pair-item:hover .theme-cart-drawer__pair-image img { transform: scale(1.05); }
.theme-cart-drawer__pair-name { display: block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-cart-drawer__pair-price { display: block; font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); flex-shrink: 0; }
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* ---------------------------------------------------------------------
   18. CONTACT MODAL (fade + zoom + slide, matching shadcn Dialog timing)
   --------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.theme-modal[aria-hidden="false"] { visibility: visible; }
.theme-modal__overlay {
	position: absolute; inset: 0;
	background: rgba(0, 0, 0, 0.8);
	opacity: 0;
	transition: opacity 0.2s ease;
}
body.contact-modal-open .theme-modal__overlay { opacity: 1; }
.theme-modal__content {
	position: absolute; top: 50%; left: 50%;
	width: calc(100% - 2rem);
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	padding: 1.5rem;
	box-shadow: var(--shadow-elevated);
	transform: translate(-50%, -48%) scale(0.95);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
body.contact-modal-open .theme-modal__content { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { text-align: left; margin-bottom: 1rem; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; margin-top: 0.5rem; }
.theme-modal__description { font-size: 0.9375rem; line-height: 1.6; margin-top: 0.5rem; color: var(--color-muted-foreground); }
.theme-modal__contact-links { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin: 0.5rem 0 0; }
.theme-modal__contact-links a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__contact-links a:hover { color: var(--color-foreground); }
.theme-modal__body { margin-top: 1rem; }
.theme-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	font-size: 0.875rem;
	transition: border-color 0.2s ease;
	resize: none;
}
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-modal-submit { height: 2.75rem; padding: 0 1.5rem; }
.theme-form-status { font-size: 0.8125rem; color: #d98a4f; min-height: 1.2em; }
.theme-modal-success { text-align: center; padding: 2rem 0; }
.theme-modal-success__icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal-success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   19. SEARCH OVERLAY
   --------------------------------------------------------------------- */
.theme-search-overlay { position: fixed; inset: 0; z-index: 85; visibility: hidden; }
.theme-search-overlay[aria-hidden="false"] { visibility: visible; }
.theme-search-overlay__backdrop { position: absolute; inset: 0; background: rgba(23, 13, 33, 0.4); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s ease; border: none; padding: 0; }
body.search-open .theme-search-overlay__backdrop { opacity: 1; }
.theme-search-overlay__panel {
	position: relative;
	background: var(--color-background);
	width: 100%; max-height: 92vh; overflow-y: auto;
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
	transform: translateY(-16px);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
}
body.search-open .theme-search-overlay__panel { opacity: 1; transform: translateY(0); }
body.admin-bar .theme-search-overlay__panel { margin-top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .theme-search-overlay__panel { margin-top: 46px; }
}
.theme-search-overlay__close { position: absolute; top: 1.25rem; right: var(--page-gutter-mobile); z-index: 10; padding: 0.5rem; opacity: 0.7; transition: opacity 0.2s ease; }
@media (min-width: 1024px) { .theme-search-overlay__close { top: 1.75rem; right: 2rem; } }
.theme-search-overlay__close:hover { opacity: 1; }
.theme-search-overlay__inner {
	padding-top: 3.25rem;
	padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
	.theme-search-overlay__inner {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
}
.theme-search-overlay__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-search-overlay__grid { grid-template-columns: 260px 1fr; gap: 4rem; } }
.theme-search-overlay__aside h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-search-cat-list { display: flex; flex-direction: column; gap: 0.875rem; }
.theme-search-cat-btn { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; text-align: left; transition: color 0.2s ease; }
.theme-search-cat-btn:hover { color: var(--color-primary); }
@media (min-width: 1024px) { .theme-search-overlay__main { padding-right: 4rem; } }
.theme-search-overlay__inputwrap { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.75rem; }
.theme-search-overlay__inputwrap svg { opacity: 0.6; flex-shrink: 0; }
.theme-search-overlay__inputwrap input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.theme-search-overlay__inputwrap input::placeholder { color: rgba(246, 239, 223, 0.4); }
.theme-search-overlay__results { margin-top: 2.5rem; }
.theme-search-overlay__results h4 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-search-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 768px) { .theme-search-results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-search-results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-search-result { text-align: left; }
.theme-search-result__image { display: block; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); margin-bottom: 0.75rem; }
.theme-search-result__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; display: block; }
.theme-search-result:hover .theme-search-result__image img { transform: scale(1.05); }
.theme-search-result__label { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; }
.theme-search-result__price { display: block; font-size: 0.75rem; margin-top: 0.25rem; color: rgba(246, 239, 223, 0.7); }

/* ---------------------------------------------------------------------
   20. FOOTER
   --------------------------------------------------------------------- */
.site-footer { background: var(--color-foreground); color: var(--color-background); }
.site-footer__inner {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	.site-footer__inner {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.site-footer__logo-link { display: inline-block; }
.site-footer__logo { height: 4.2rem !important; }
.site-footer__tagline { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(23, 13, 33, 0.7); max-width: 20rem; line-height: 1.6; }
.site-footer__col-heading { font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); margin-bottom: 1.25rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list a, .site-footer__list button { font-size: 0.875rem; color: rgba(23, 13, 33, 0.7); transition: color 0.2s ease; text-align: left; }
.site-footer__list a:hover, .site-footer__list button:hover { color: var(--color-primary); }
.site-footer__contact-list li { display: flex; align-items: flex-start; gap: 0.5rem; }
.site-footer__icon { margin-top: 0.125rem; flex-shrink: 0; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(23, 13, 33, 0.15); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__copyright { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(23, 13, 33, 0.6); }

/* ---------------------------------------------------------------------
   21. GENERIC / 404 / GENERIC PAGES
   --------------------------------------------------------------------- */
.site-main { min-height: 40vh; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
.theme-page-wrap {
	padding-top: 3rem;
	padding-bottom: 5rem;
}
.page-title { font-family: var(--font-display); font-style: italic; font-size: 2.25rem; margin-bottom: 2rem; }
.theme-404 { display: flex; align-items: center; justify-content: center; min-height: 70vh; text-align: center; }
.theme-404__code { font-family: var(--font-display); font-size: 4rem; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

/* ---------------------------------------------------------------------
   22. WOOCOMMERCE SHOP ARCHIVE (category/tag pages)
   --------------------------------------------------------------------- */
.shop-archive-section { padding-top: calc(var(--header-height) + 3rem); }
.shop-archive-section__head { margin-bottom: 2.5rem; }
.shop-archive-section__title { font-style: italic; font-size: 2.25rem; }
.woocommerce-breadcrumb { display: none; }

/* ---------------------------------------------------------------------
   23. CHECKOUT / CART BLOCKS (Section 13)
   --------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + 1rem);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
	background: transparent;
	color: var(--color-foreground);
	font-family: var(--font-body);
	width: 100%;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: flex;
	flex-direction: column;
	gap: var(--checkout-gap);
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout,
	body.woocommerce-cart .wc-block-cart {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	background: var(--color-secondary);
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	border-radius: 4px;
}
body.woocommerce-checkout .wc-block-components-text-input label {
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-order-summary-item__quantity,
.wc-block-checkout .wc-block-components-order-summary-item__quantity {
	color: #fff !important;
	background: #fff !important;
	border: 1px solid #000;
	box-shadow: 0 0 0 2px #fff;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-order-summary-item__quantity > span,
.wc-block-checkout .wc-block-components-order-summary-item__quantity > span {
	color: #000 !important;
	background-color: #fff;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-order-summary-item__quantity .screen-reader-text,
.wc-block-checkout .wc-block-components-order-summary-item__quantity .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-cart .wc-block-components-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius);
	text-transform: none;
	font-family: var(--font-body);
}
.container-wide.theme-page-wrap,
.container-wide.site-footer__inner,
.container-wide.theme-search-overlay__inner {
	padding-left: var(--page-gutter-mobile);
	padding-right: var(--page-gutter-mobile);
}
@media (min-width: 768px) {
	.container-wide.theme-page-wrap,
	.container-wide.site-footer__inner,
	.container-wide.theme-search-overlay__inner {
		padding-left: var(--page-gutter);
		padding-right: var(--page-gutter);
	}
}
@media (min-width: 1024px) {
	.container-wide.theme-page-wrap,
	.container-wide.site-footer__inner,
	.container-wide.theme-search-overlay__inner {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}

.theme-thankyou-title { margin-bottom: 2rem; }

@media (max-width: 767px) {
	.theme-search-overlay__inputwrap input { font-size: 1.25rem; }
	.theme-search-overlay__grid { gap: 2rem; }
	.theme-search-results-grid { gap: 1.25rem; }

	.site-footer__inner {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
	.site-footer__bottom {
		width: 100%;
		text-align: center;
	}

	body.woocommerce-checkout .theme-page-wrap,
	body.woocommerce-cart .theme-page-wrap,
	body.woocommerce-account .theme-page-wrap {
		padding-top: 2rem;
		padding-bottom: 3rem;
	}
	body.woocommerce-checkout .page-title,
	body.woocommerce-cart .page-title,
	body.woocommerce-account .page-title {
		margin-bottom: 1.5rem;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-cart .wc-block-cart__sidebar {
		padding: 1.5rem;
	}
	body.woocommerce-checkout .wc-block-components-form,
	body.woocommerce-cart .wc-block-cart {
		padding-left: 0;
		padding-right: 0;
	}
	body.woocommerce-checkout .wc-block-components-checkout-step,
	body.woocommerce-cart .wc-block-cart__main {
		padding-left: 0;
		padding-right: 0;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation,
	body.woocommerce-account .woocommerce-MyAccount-content {
		padding-left: 0;
		padding-right: 0;
	}
}

/* ---------------------------------------------------------------------
   24. THANK YOU PAGE (Section 22.8)
   --------------------------------------------------------------------- */
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-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	border: 1px solid var(--color-border);
	padding: 1rem 1.25rem;
	border-radius: 6px;
}

/* ---------------------------------------------------------------------
   25. RESPONSIVE SAFETY (Section 31.9 / min-width:0)
   --------------------------------------------------------------------- */
.theme-product-card__info, .value-card, .testimonial-card { min-width: 0; }
