/* =====================================================================
   The Cost of Chaos — theme stylesheet
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens (fallback — live values are re-emitted inline by
      wp_add_inline_style from the Customizer, Section 22.9 / 6.1)
   --------------------------------------------------------------------- */
:root {
	--background: #0c0c0e;
	--foreground: #f5f4f6;
	--primary: #8b5ff1;
	--primary-foreground: #141216;
	--secondary: #271c40;
	--secondary-foreground: #f5f4f6;
	--accent: #fad24c;
	--accent-foreground: #141216;
	--destructive: #db2424;
	--ivory: #161519;
	--linen: #111013;
	--bone: #201e24;
	--ink: #050406;

	--font-display: 'Baloo 2', 'Fraunces', Georgia, serif;
	--font-body: 'Switzer', system-ui, -apple-system, sans-serif;

	--logo-height: 56px;
	--header-height: 108px;
	--radius: 0.85rem;
	--card-radius: 1rem;

	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0 1.6rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--color-button-text: var(--primary-foreground);
	--shadow-soft: 0 4px 20px -8px rgba(2, 1, 4, 0.6);
	--shadow-elevated: 0 20px 50px -18px rgba(2, 1, 4, 0.75);
}

/* ---------------------------------------------------------------------
   2. Reset / base
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
main, .site-main, #home-main {
	max-width: 100%;
	overflow-x: clip;
}
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	font-feature-settings: 'ss01', 'cv11';
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
img.cover-img, .hero-section__bg, .precta-section__bg,
.faq-section__card-bg, .theme-product-card__img, .theme-product-thumb__img {
	max-width: none;
	height: 100%;
	width: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }
select,
label[for],
.theme-faq-question,
.theme-cat-filter,
.theme-cart-toggle,
.theme-card-link,
.contact-section__social-link,
.contact-section__info-link,
.testimonials-block__arrow,
.theme-product-thumb,
.theme-related-products__viewall,
.theme-footer-link,
.theme-footer-social-link,
.theme-footer-contact-link,
.theme-mobile-nav-item { cursor: pointer; }

/* Tailwind-preflight-style heading reset (Section 2.2 rule 4) */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.014em;
	font-size: inherit;
	margin: 0;
}
.font-display { font-family: var(--font-display); font-weight: inherit; font-size: inherit; }
.font-sans { font-family: var(--font-body); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

section[id] { scroll-margin-top: 100px; }

.container-wide {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
}
@media (min-width: 640px) { .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* ---------------------------------------------------------------------
   3. Scroll-reveal animation utility layer (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); }

/* Customizer preview fallback — reveal content MUST be visible in the editor. */
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !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); } }
.theme-fade-in { animation: theme-fade-in 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: var(--btn-height);
	padding: var(--btn-padding);
	border: 1px solid transparent;
	transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
}
.theme-btn svg { pointer-events: none; flex-shrink: 0; }
.theme-btn-primary, .theme-btn.theme-btn-primary {
	background-color: var(--primary);
	color: var(--primary-foreground);
	border-color: var(--primary);
}
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-accent {
	background-color: var(--accent);
	color: var(--accent-foreground);
	border-color: var(--accent);
}
.theme-btn-accent:hover { opacity: 0.9; }
.theme-btn-outline {
	background: transparent;
	color: var(--foreground);
	border-color: color-mix(in srgb, var(--foreground) 25%, transparent);
}
.theme-btn-outline:hover { border-color: var(--foreground); background: color-mix(in srgb, var(--foreground) 4%, transparent); }
.theme-btn-ghost { background: transparent; border-color: transparent; color: var(--foreground); }
.theme-btn-ghost:hover { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.theme-btn-glass {
	background: color-mix(in srgb, #fff 10%, transparent);
	color: #fff;
	border-color: color-mix(in srgb, #fff 40%, transparent);
	backdrop-filter: blur(8px);
}
.theme-btn-glass:hover { background: color-mix(in srgb, #fff 20%, transparent); }
.theme-btn-lg { height: 48px; padding: 0 1.75rem; }
.theme-btn-sm { height: 36px; padding: 0 1rem; }
.theme-btn-block { width: 100%; }
.theme-btn.disabled, .theme-btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

.theme-btn-buynow {
	display: inline-flex; align-items: center; justify-content: center;
	height: var(--btn-height); padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	background: transparent;
	color: var(--foreground);
	border: 1px solid color-mix(in srgb, var(--foreground) 25%, transparent);
	font-size: var(--btn-font-size); font-weight: var(--btn-font-weight);
	flex: 1 1 auto; min-width: 160px;
}
.theme-btn-buynow:hover { border-color: var(--foreground); }
.theme-btn-buynow.disabled, .theme-btn-buynow:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ---------------------------------------------------------------------
   5. Header
   --------------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; width: 100%; max-width: 100%; }
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.theme-announcement-bar {
	background: var(--foreground);
	color: var(--background);
	font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
	padding: 0.5rem 1.25rem; text-align: center;
	line-height: 1.45;
}
.theme-announcement-highlight { color: var(--primary); }
.theme-header-bar {
	background: var(--ivory);
	border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	transition: background-color 0.5s ease, border-color 0.5s ease;
	max-width: 100%;
	overflow-x: clip;
}
.theme-header-row {
	display: flex; align-items: center; justify-content: space-between;
	height: 64px;
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) {
	.theme-header-row { height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; }
}
.theme-menu-toggle {
	order: 1;
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: transparent; border: none; color: var(--foreground);
	flex-shrink: 0;
	transition: color 0.3s ease, background-color 0.3s ease;
}
.theme-menu-toggle:hover { background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.theme-menu-toggle .theme-icon-close { display: none; }
.theme-menu-toggle[aria-expanded="true"] .theme-icon-menu { display: none; }
.theme-menu-toggle[aria-expanded="true"] .theme-icon-close { display: inline-flex; }
@media (min-width: 1024px) { .theme-menu-toggle { display: none; } }

.theme-site-logo {
	order: 2;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	flex-shrink: 0;
}
@media (min-width: 1024px) { .theme-site-logo { order: 1; justify-self: start; } }
.site-logo-img { height: 2.75rem !important; width: auto !important; display: block; }
@media (min-width: 640px) { .site-logo-img { height: 3rem !important; } }
@media (min-width: 1024px) { .site-logo-img { height: 3.5rem !important; } }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--foreground); line-height: 1.2; display: block; }

.theme-primary-nav { display: none; order: 3; }
@media (min-width: 1024px) {
	.theme-primary-nav { display: flex; justify-self: center; order: 2; }
}
.theme-primary-nav .theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-primary-nav .theme-nav-link,
.theme-primary-nav .theme-nav-list a {
	position: relative;
	font-size: 14px; font-weight: 500;
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
	transition: color 0.3s ease;
	padding-bottom: 4px;
}
.theme-primary-nav .theme-nav-link:hover,
.theme-primary-nav .theme-nav-list a:hover,
.theme-primary-nav .theme-nav-list a.is-active { color: var(--primary); }
.theme-primary-nav .theme-nav-list a.is-active::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--primary);
}

.theme-header-actions { display: flex; align-items: center; gap: 0.5rem; order: 3; justify-self: end; flex-shrink: 0; }
.theme-cart-toggle {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; background: transparent; border: none; color: var(--foreground);
	transition: color 0.3s ease, background-color 0.3s ease;
}
.theme-cart-toggle:hover { background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	background: var(--primary); color: var(--primary-foreground);
	font-size: 12px; font-weight: 500; min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

/* Mobile dropdown — mirrors Lovable Header.tsx panel */
.theme-mobile-nav {
	display: none;
	border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	background: hsl(260 8% 9% / 0.95);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	max-width: 100%;
}
.theme-mobile-nav.is-open { display: block; animation: theme-fade-in 0.7s ease-out both; }
.theme-mobile-nav[hidden] { display: none !important; }
.theme-mobile-nav-inner {
	padding-block: 1rem;
	display: flex;
	flex-direction: column;
}
.theme-mobile-nav-items {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}
.theme-mobile-nav-item {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	display: block;
	width: 100%;
	text-align: left;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	padding: 0.75rem 0;
	margin: 0;
	border: none;
	border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	border-radius: 0;
	background: transparent;
	color: color-mix(in srgb, var(--foreground) 80%, transparent);
	transition: color 0.3s ease;
	-webkit-tap-highlight-color: transparent;
}
.theme-mobile-nav-item:last-child { border-bottom: none; }
.theme-mobile-nav-item:hover { color: var(--primary); }
@media (min-width: 1024px) { .theme-mobile-nav { display: none !important; } }

/* ---------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------- */
.hero-section { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-section__bg { position: absolute; inset: 0; }
.hero-section__scrim-radial { position: absolute; inset: 0; background-image: radial-gradient(at center, color-mix(in srgb, var(--ink) 35%, transparent) 0%, color-mix(in srgb, var(--ink) 65%, transparent) 70%, color-mix(in srgb, var(--ink) 82%, transparent) 100%); pointer-events: none; }
.hero-section__scrim-ink { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 40%, transparent); pointer-events: none; }
.hero-section__inner { position: relative; z-index: 1; text-align: center; color: #fff; padding-top: 10rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .hero-section__inner { padding-top: 13rem; padding-bottom: 8rem; } }
.hero-section__title {
	font-family: var(--font-display); color: #fff; line-height: 1.02; letter-spacing: -0.01em;
	max-width: 62rem; margin: 0 auto; font-size: clamp(2rem, 5.4vw, 4.4rem);
	filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55));
	overflow-wrap: break-word;
	word-break: break-word;
}
.hero-section__title em { font-style: italic; color: #fff; }
.hero-section__subtext { margin-top: 1.75rem; max-width: 42rem; margin-left: auto; margin-right: auto; font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.hero-section__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; align-items: stretch; width: 100%; max-width: 28rem; margin-inline: auto; }
.hero-section__actions .theme-btn { width: 100%; }
@media (min-width: 640px) {
	.hero-section__actions { flex-direction: row; gap: 1rem; align-items: center; max-width: none; }
	.hero-section__actions .theme-btn { width: auto; }
}

/* ---------------------------------------------------------------------
   7. About
   --------------------------------------------------------------------- */
.about-section { background: var(--linen); padding: 6rem 0; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-section__inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.about-section__photo {
	width: 7rem;
	height: 7rem;
	border-radius: 50%;
	margin: 0 auto 2rem;
	object-fit: cover;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 50%, transparent);
}
@media (min-width: 768px) { .about-section__photo { width: 9rem; height: 9rem; } }
.theme-eyebrow { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.25rem; font-weight: 500; overflow-wrap: anywhere; }
.about-section .section-heading, .services-section .section-heading, .events-section .section-heading, .faq-section .section-heading, .contact-section .section-heading, .shop-section .section-heading {
	font-family: var(--font-display); color: var(--foreground); line-height: 1.05;
	overflow-wrap: break-word;
	word-break: break-word;
}
.about-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.4rem; } }
.about-section__quote { margin-top: 2rem; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.3; }
@media (min-width: 768px) { .about-section__quote { font-size: 1.5rem; } }
.about-section__body { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.about-section__stats {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	border-top: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	padding-top: 2rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
.about-section__stat { min-width: 0; }
.about-section__stat-value { font-family: var(--font-display); font-size: 1.25rem; color: var(--primary); }
@media (min-width: 768px) { .about-section__stat-value { font-size: 1.5rem; } }
.about-section__stat-label {
	margin-top: 0.25rem;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: color-mix(in srgb, var(--foreground) 60%, transparent);
	overflow-wrap: anywhere;
}
@media (min-width: 768px) {
	.about-section__stats { gap: 1.5rem; }
	.about-section__stat-label { font-size: 12px; letter-spacing: 0.18em; }
}

/* ---------------------------------------------------------------------
   8. Shop
   --------------------------------------------------------------------- */
.shop-section { background: var(--ivory); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; min-width: 0; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; }
.shop-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .shop-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-section__heading { font-size: 3.2rem; } }
.shop-section__subtext { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--foreground) 65%, transparent); line-height: 1.7; max-width: 36rem; }
.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--foreground) 40%, transparent); }
.shop-section__search input {
	width: 100%; max-width: 100%; height: 44px; padding-left: 2.75rem; padding-right: 1rem; border-radius: 999px;
	background: var(--linen); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	color: var(--foreground); font-size: 14px; box-sizing: border-box;
}
.shop-section__search input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }
.shop-section__search input:focus { outline: none; border-color: color-mix(in srgb, var(--primary) 60%, transparent); }
.shop-section__filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.theme-cat-filter {
	padding: 0 1.25rem; height: 40px; border-radius: 999px; font-size: 14px; font-weight: 500;
	background: transparent; color: color-mix(in srgb, var(--foreground) 75%, transparent);
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.theme-cat-filter:hover { border-color: var(--primary); color: var(--primary); }
.theme-cat-filter.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.shop-section__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.shop-section__viewmore { margin-top: 3rem; display: flex; justify-content: center; }

/* Product grid + card (shared, Section 31.13) */
.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-shop-archive__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.theme-shop-item-hidden { display: none !important; }

.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; background: var(--linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-card-link { position: absolute; inset: 0; z-index: 0; pointer-events: auto; }
.theme-product-card__image-wrapper .theme-product-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.theme-product-card__image-wrapper *:not(.theme-card-link):not(.theme-product-card__quick-actions):not(.theme-product-card__quick-actions *) { pointer-events: none; }
.theme-product-card__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 35%, transparent), transparent, transparent);
	opacity: 0;
	transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }
.theme-product-card__img { transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10;
	background: var(--foreground); color: var(--background); font-size: 11px; font-weight: 500;
	padding: 0.25rem 0.65rem; border-radius: 999px;
}
.theme-product-card__quick-actions {
	position: absolute;
	inset-inline: 0.75rem;
	bottom: 0.75rem;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease-out;
}
.theme-product-card:hover .theme-product-card__quick-actions {
	opacity: 1;
	pointer-events: auto;
}
.theme-product-card__add,
.theme-product-card .theme-product-card__add.add_to_cart_button {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.5rem;
	min-height: 2.5rem !important;
	padding: 0 1rem !important;
	border: none !important;
	border-radius: 999px !important;
	background: color-mix(in srgb, var(--background) 95%, transparent) !important;
	color: var(--foreground) !important;
	font-family: var(--font-body) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
	text-decoration: none;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: var(--shadow-soft);
	cursor: pointer;
	transition: color 0.3s ease, background-color 0.3s ease, opacity 0.3s ease !important;
}
.theme-product-card__add:hover,
.theme-product-card .theme-product-card__add.add_to_cart_button:hover {
	background: var(--primary) !important;
	color: var(--primary-foreground) !important;
	opacity: 1 !important;
}
.theme-product-card__quickview {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--background) 95%, transparent);
	color: var(--foreground);
	text-decoration: none;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: var(--shadow-soft);
	transition: color 0.3s ease, background-color 0.3s ease;
}
.theme-product-card__quickview:hover {
	background: var(--primary);
	color: var(--primary-foreground);
}
.theme-product-card__info { display: block; padding: 0 0.125rem; flex: 1; }
.theme-product-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--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.3; color: var(--foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { margin-top: 0.4rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--foreground) 85%, transparent); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35rem; }

/* ---------------------------------------------------------------------
   9. Marquee
   --------------------------------------------------------------------- */
.marquee-section { background: var(--primary); padding: 1.25rem 0; overflow: hidden; }
.marquee-section__track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; }
@keyframes theme-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.3333%); } }
.marquee-section__item { display: flex; align-items: center; flex-shrink: 0; color: color-mix(in srgb, var(--primary-foreground) 95%, transparent); font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.02em; }
@media (min-width: 768px) { .marquee-section__item { font-size: 1.25rem; } }
.marquee-section__item > span:first-child { margin: 0 1.5rem; }
@media (min-width: 768px) { .marquee-section__item > span:first-child { margin: 0 2rem; } }
.marquee-section__dot { color: color-mix(in srgb, var(--primary-foreground) 50%, transparent); font-size: 0.875rem; }

/* ---------------------------------------------------------------------
   10. Services
   --------------------------------------------------------------------- */
.services-section { background: var(--ivory); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section__head { max-width: 48rem; margin-bottom: 3.5rem; }
.services-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.2rem; } }
.services-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.services-section__card {
	background: var(--linen); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	border-radius: 1rem; padding: 1.75rem;
	transition: border-color 0.3s ease, transform 0.3s ease;
	display: flex; flex-direction: column;
}
@media (min-width: 768px) { .services-section__card { padding: 2.25rem; } }
.services-section__card:hover { border-color: color-mix(in srgb, var(--primary) 40%, transparent); transform: translateY(-4px); }
.services-section__card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.services-section__icon {
	display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%;
	background: var(--secondary); box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 20%, transparent); color: var(--primary);
	transition: transform 0.3s ease;
}
.services-section__card:hover .services-section__icon { transform: rotate(12deg); }
.services-section__index { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--primary); font-weight: 500; padding-top: 0.5rem; }
.services-section__divider { height: 1px; background: color-mix(in srgb, var(--primary) 20%, transparent); margin-bottom: 1.5rem; }
.services-section__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--foreground); margin-bottom: 0.75rem; }
.services-section__body { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 70%, transparent); }

/* ---------------------------------------------------------------------
   11. Events
   --------------------------------------------------------------------- */
.events-section { background: var(--ivory); border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .events-section { padding: 8rem 0; } }
.events-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .events-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.events-section__intro { max-width: 42rem; }
.events-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .events-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .events-section__heading { font-size: 3.2rem; } }
.events-section__subtext { margin-top: 1.25rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 65%, transparent); max-width: 36rem; }
.events-section__list { border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.events-section__item {
	padding: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem;
	border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	min-width: 0;
}
.events-section__list li:last-child { border-bottom: none; }
@media (min-width: 768px) { .events-section__item { flex-direction: row; align-items: center; gap: 2rem; } }
.events-section__date-col { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 768px) { .events-section__date-col { width: 14rem; } }
.events-section__date-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--secondary); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.events-section__date { font-family: var(--font-display); font-size: 1.125rem; color: var(--foreground); }
.events-section__body { flex: 1; min-width: 0; }
.events-section__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--foreground); line-height: 1.3; }
@media (min-width: 768px) { .events-section__name { font-size: 1.5rem; } }
.events-section__location { margin-top: 0.25rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 13px; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.events-section__note { margin-top: 0.5rem; font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--foreground) 70%, transparent); max-width: 36rem; }
.events-section__status { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); border-radius: 999px; padding: 0.35rem 0.75rem; align-self: flex-start; }
@media (min-width: 768px) { .events-section__status { align-self: center; } }

/* ---------------------------------------------------------------------
   12. FAQ + Testimonials
   --------------------------------------------------------------------- */
.faq-section { background: var(--linen); border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); padding: 6rem 0; }
@media (min-width: 768px) { .faq-section { padding: 8rem 0; } }
.faq-section__stack { display: flex; flex-direction: column; gap: 5rem; }
@media (min-width: 768px) { .faq-section__stack { gap: 6rem; } }
.faq-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; } }
.faq-section__grid > * { min-width: 0; }
.faq-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.faq-section__subtext { margin-top: 1.5rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 65%, transparent); max-width: 24rem; }
.faq-section__card { display: none; position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); padding: 1.75rem; color: #fff; margin-top: 2.5rem; }
@media (min-width: 1024px) { .faq-section__card { display: block; } }
.faq-section__card-bg { position: absolute; inset: 0; }
.faq-section__card-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 60%, transparent); }
.faq-section__card-content { position: relative; }
.faq-section__card-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); margin-bottom: 1.25rem; }
.faq-section__card-heading { font-family: var(--font-display); font-size: 1.5rem; color: #fff; line-height: 1.3; margin-bottom: 0.5rem; }
.faq-section__card-text { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 1.5rem; }

.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); }
.theme-faq-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; color: inherit; }
.theme-faq-question span:first-child { font-family: var(--font-display); font-size: 1.125rem; color: var(--foreground); line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .theme-faq-question span:first-child { font-size: 1.25rem; } }
.theme-faq-icon { flex-shrink: 0; color: var(--primary); position: relative; width: 20px; height: 20px; }
.theme-faq-icon-minus { display: none; }
.theme-faq-question[aria-expanded="true"] .theme-faq-icon-plus { display: none; }
.theme-faq-question[aria-expanded="true"] .theme-faq-icon-minus { display: block; }
.theme-faq-answer-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.3s ease-out; }
.theme-faq-answer-inner { overflow: hidden; }
.theme-faq-answer { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 70%, transparent); max-width: 42rem; }

.testimonials-block { overflow: hidden; max-width: 100%; }
.testimonials-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; min-width: 0; }
.testimonials-block__head > div:first-child { min-width: 0; }
.testimonials-block__heading { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.3; color: var(--foreground); overflow-wrap: break-word; }
@media (min-width: 768px) { .testimonials-block__heading { font-size: 2.25rem; } }
.testimonials-block__nav { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .testimonials-block__nav { display: flex; } }
.testimonials-block__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent); display: inline-flex; align-items: center; justify-content: center; background: transparent; color: inherit; }
.testimonials-block__arrow:hover { border-color: var(--primary); color: var(--primary); }
.testimonials-block__carousel {
	overflow: hidden;
	margin-inline: -0.75rem;
	max-width: calc(100% + 1.5rem);
}
.testimonials-block__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.testimonials-block__viewport::-webkit-scrollbar { display: none; }
.testimonials-block__track { display: flex; }
.testimonials-block__slide { flex: 0 0 100%; scroll-snap-align: start; padding: 0 0.75rem; }
@media (min-width: 768px) { .testimonials-block__slide { flex: 0 0 50%; } }
@media (min-width: 1024px) { .testimonials-block__slide { flex: 0 0 25%; } }
.testimonials-block__card { height: 100%; background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; }
.testimonials-block__stars { display: flex; gap: 0.125rem; margin-bottom: 1rem; color: var(--primary); }
.testimonials-block__text { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 80%, transparent); flex: 1; }
.testimonials-block__author { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.testimonials-block__name { font-size: 14px; font-weight: 500; color: var(--foreground); }
.testimonials-block__city { font-size: 12px; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.testimonials-block__dots { margin-top: 1.75rem; display: flex; justify-content: center; gap: 0.5rem; }
.testimonials-block__dot { height: 6px; width: 6px; border-radius: 999px; background: color-mix(in srgb, var(--foreground) 25%, transparent); border: none; transition: all 0.3s ease; }
.testimonials-block__dot.is-active { width: 24px; background: var(--primary); }

/* ---------------------------------------------------------------------
   13. Pre-Contact CTA
   --------------------------------------------------------------------- */
.precta-section { position: relative; overflow: hidden; }
.precta-section__bg { position: absolute; inset: 0; }
.precta-section__scrim-radial { position: absolute; inset: 0; background-image: radial-gradient(at center, color-mix(in srgb, var(--ink) 35%, transparent) 0%, color-mix(in srgb, var(--ink) 65%, transparent) 70%, color-mix(in srgb, var(--ink) 82%, transparent) 100%); pointer-events: none; }
.precta-section__scrim-ink { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 50%, transparent); pointer-events: none; }
.precta-section__inner { position: relative; z-index: 1; text-align: center; color: #fff; padding-block: 7rem; }
@media (min-width: 768px) { .precta-section__inner { padding-block: 10rem; } }
.precta-section__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-weight: 500; }
.precta-section__rule { height: 1px; width: 2rem; background: color-mix(in srgb, var(--accent) 80%, transparent); }
.precta-section__heading { font-family: var(--font-display); color: #fff; line-height: 1.05; max-width: 48rem; margin: 0 auto; font-size: clamp(2rem, 5.4vw, 4rem); filter: drop-shadow(0 2px 30px rgba(0,0,0,0.55)); overflow-wrap: break-word; word-break: break-word; }
.precta-section__heading em { font-style: italic; color: var(--accent); }
.precta-section__subtext { margin-top: 1.75rem; max-width: 36rem; margin-left: auto; margin-right: auto; font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.precta-section__actions { margin-top: 2.5rem; }

/* ---------------------------------------------------------------------
   14. Contact
   --------------------------------------------------------------------- */
.contact-section { background: var(--linen); padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .contact-section { padding-top: 8rem; padding-bottom: 4rem; } }
.contact-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }
.contact-section__grid > * { min-width: 0; }
.contact-section__intro { display: flex; flex-direction: column; height: 100%; }
.contact-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__heading { font-size: 3.4rem; } }
.contact-section__subtext { margin-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; max-width: 28rem; }
.contact-section__info-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__info-link { display: inline-flex; align-items: center; gap: 1rem; color: var(--foreground); }
.contact-section__info-link:hover { color: var(--primary); }
.contact-section__info-icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.2s ease; }
.contact-section__info-link:hover .contact-section__info-icon { border-color: var(--primary); }
.contact-section__info-text { display: flex; flex-direction: column; text-align: left; }
.contact-section__info-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.contact-section__info-value { font-size: 15px; font-weight: 500; }
.contact-section__socials { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.contact-section__social-link { display: inline-flex; align-items: center; gap: 0.5rem; height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); font-size: 13px; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.contact-section__social-link:hover { border-color: var(--primary); color: var(--primary); }
.contact-section__quote-card { margin-top: auto; padding-top: 2.5rem; }
.contact-section__quote-inner {
	position: relative;
	border-radius: 1rem;
	border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	background: color-mix(in srgb, var(--ivory) 70%, transparent);
	padding: 1.5rem;
}
@media (min-width: 768px) { .contact-section__quote-inner { padding: 1.75rem; } }
.contact-section__quote-tag {
	position: absolute;
	top: -0.75rem;
	left: 1.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--primary);
	color: var(--primary-foreground);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1;
	z-index: 1;
}
.contact-section__quote-tag svg { flex-shrink: 0; }
.contact-section__quote {
	margin: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	color: color-mix(in srgb, var(--foreground) 85%, transparent);
	font-size: 1.125rem;
	line-height: 1.375;
	border-left: 2px solid color-mix(in srgb, var(--primary) 70%, transparent);
	padding-left: 1.25rem;
}
.contact-section__quote::before { content: '\201C'; }
.contact-section__quote::after { content: '\201D'; }
@media (min-width: 768px) { .contact-section__quote { font-size: 1.25rem; } }
.contact-section__quote-author {
	margin: 0.75rem 0 0;
	padding-left: 1.25rem;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: color-mix(in srgb, var(--foreground) 60%, transparent);
}

.contact-section__form { background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .contact-section__form { padding: 2rem; } }
.contact-section__form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.theme-field { display: flex; flex-direction: column; min-width: 0; }
.theme-field label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 0.5rem; line-height: 1.35; }
.theme-field input, .theme-field select, .theme-field textarea {
	width: 100%; height: 48px; padding: 0 1rem; background: var(--linen);
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); border-radius: 6px;
	font-size: 14px; color: var(--foreground); box-sizing: border-box;
}
.theme-field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 2.5rem;
	cursor: pointer;
}
.theme-field__select-wrap { position: relative; width: 100%; }
.theme-field__select-icon {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: color-mix(in srgb, var(--foreground) 55%, transparent);
}
.theme-field textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.theme-field input::placeholder, .theme-field textarea::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }
.theme-field input:focus, .theme-field select:focus, .theme-field textarea:focus { outline: none; border-color: var(--primary); }
.theme-field-row { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: end; }
@media (min-width: 640px) { .theme-field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.theme-field-row .theme-field label { min-height: 2.75rem; display: flex; align-items: flex-end; }
.contact-section__form-submit { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-section__note { font-size: 12px; color: color-mix(in srgb, var(--foreground) 55%, transparent); text-align: center; }

/* ---------------------------------------------------------------------
   15. Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--linen); border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-footer-inner { padding-block: 3.5rem; }
@media (min-width: 1024px) { .theme-footer-inner { padding-block: 5rem; } }
.theme-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.theme-footer-grid > * { min-width: 0; }
.theme-footer-logo-link { display: inline-flex; align-items: center; }
.theme-footer-logo { height: 6rem; width: auto; max-width: none; }
@media (min-width: 640px) { .theme-footer-logo { height: 7rem; } }
.theme-footer-tagline { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--foreground) 65%, transparent); line-height: 1.625; max-width: 20rem; }
.theme-footer-socials { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.theme-footer-social-link {
	height: 2.25rem; padding: 0 0.75rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 12px; color: color-mix(in srgb, var(--foreground) 70%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-footer-social-link.is-icon { width: 2.25rem; padding: 0; }
.theme-footer-social-link:hover { color: var(--primary); border-color: var(--primary); }
.theme-footer-heading { font-family: var(--font-display); font-size: 1.125rem; color: var(--foreground); margin-bottom: 1rem; }
.theme-footer-list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-footer-link { font-size: 14px; color: color-mix(in srgb, var(--foreground) 65%, transparent); transition: color 0.2s ease; }
.theme-footer-link:hover { color: var(--primary); }
.theme-footer-contact-list { gap: 0.75rem; }
.theme-footer-contact-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 14px; color: color-mix(in srgb, var(--foreground) 75%, transparent);
	transition: color 0.2s ease;
}
.theme-footer-contact-link:hover { color: var(--primary); }
.theme-footer-contact-static {
	display: inline-flex; align-items: flex-start; gap: 0.5rem;
	font-size: 14px; color: color-mix(in srgb, var(--foreground) 65%, transparent);
}
.theme-footer-contact-static svg { margin-top: 0.125rem; flex-shrink: 0; }
.theme-footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; font-size: 12px; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------------------------------------------------------------------
   16. Promo toast
   --------------------------------------------------------------------- */
.theme-promo-toast {
	position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 55;
	background: var(--foreground); color: var(--background); border-radius: 1rem;
	box-shadow: var(--shadow-elevated); padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: 0.75rem;
	animation: theme-fade-in 0.5s ease-out both;
}
.theme-promo-toast[hidden],
.theme-promo-toast.is-dismissed { display: none !important; animation: none; }
@media (min-width: 640px) { .theme-promo-toast { left: auto; right: 1.5rem; max-width: 26rem; } }
.theme-promo-text { font-size: 13px; line-height: 1.6; flex: 1; }
@media (min-width: 640px) { .theme-promo-text { font-size: 15px; } }
.theme-promo-highlight { color: var(--primary); font-weight: 600; }
.theme-promo-dismiss { flex-shrink: 0; margin-top: 0.125rem; padding: 0.375rem; border-radius: 50%; background: transparent; border: none; color: inherit; }
.theme-promo-dismiss:hover { background: color-mix(in srgb, var(--background) 10%, transparent); }

/* ---------------------------------------------------------------------
   17. Side cart drawer + overlay (Section 12)
   --------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--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; z-index: 91;
	background: var(--ivory); box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s 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(--foreground) 10%, transparent); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--foreground); }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 50%; background: transparent; border: none; color: inherit; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--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; color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--foreground) 30%, transparent); }
.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__thumb { width: 5rem; height: 6rem; background: var(--bone); border-radius: 6px; overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { color: var(--primary); }
.theme-cart-item__price { font-size: 13px; color: color-mix(in srgb, var(--foreground) 60%, transparent); margin-top: 0.2rem; }
.theme-cart-item__variation { font-size: 12px; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-top: 0.2rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.6rem; }
.theme-cart-item__qty-btn { padding: 0.2rem 0.4rem; background: transparent; border: none; color: inherit; border-radius: 4px; }
.theme-cart-item__qty-btn:hover { background: var(--bone); }
.theme-cart-item__qty { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--foreground) 55%, transparent); background: none; border: none; }
.theme-cart-item__remove:hover { color: var(--destructive); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); background: color-mix(in srgb, var(--linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal span:first-child { color: color-mix(in srgb, var(--foreground) 65%, transparent); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 13px; color: color-mix(in srgb, var(--foreground) 55%, transparent); }

/* ---------------------------------------------------------------------
   18. WooCommerce overrides (Section 14)
   --------------------------------------------------------------------- */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--ivory); border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	border-radius: 0.75rem; padding: 1rem 1.25rem; color: var(--foreground); font-size: 14px; list-style: none;
}

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button:not(.theme-product-card__add) {
	background-color: var(--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:not(.theme-product-card__add) {
	opacity: 0.85 !important;
	background-color: var(--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:not(.theme-product-card__add),
.add_to_cart_button.button.disabled:not(.theme-product-card__add) {
	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:not(.theme-product-card__add),
.add_to_cart_button.button.disabled:hover:not(.theme-product-card__add) {
	opacity: 0.4 !important;
	background-color: var(--primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* PDP / archive ATC only — not product cards (cards use .theme-product-card__add) */
.single-product .single_add_to_cart_button.button,
.single-product a.single_add_to_cart_button {
	background-color: var(--primary) !important;
	color: var(--color-button-text) !important;
}

.theme-attr-select-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-product-options { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-option { position: relative; }
.theme-product-option__label {
	margin: 0 0 0.75rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--foreground) 55%, transparent);
}
.theme-color-swatches { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-color-swatch {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.75rem 0.35rem 0.35rem;
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	border-radius: 999px;
	background: transparent;
	color: var(--foreground);
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.theme-color-swatch.is-selected {
	border-color: var(--primary);
	background: color-mix(in srgb, var(--primary) 5%, transparent);
}
.theme-color-swatch__dot {
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	flex-shrink: 0;
}
.theme-color-swatch__name { font-size: 14px; line-height: 1.2; }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pill {
	padding: 0.5rem 1rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	background: transparent;
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
	font-size: 14px;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-attribute-pill.is-selected {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--primary-foreground);
}
.theme-cart-item__meta-list {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.theme-cart-item__meta-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
	font-size: 12px;
	color: color-mix(in srgb, var(--foreground) 60%, transparent);
}
.theme-cart-item__meta-label { font-weight: 500; }
.theme-cart-item__meta-color { display: inline-flex; align-items: center; gap: 0.35rem; }
.theme-cart-item__meta-swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   19. Single product page (Section 11.13)
   --------------------------------------------------------------------- */
.theme-single-product,
body.single-product .site-main.single-product-main {
	background: var(--ivory);
	padding-top: 6rem !important;
	padding-bottom: 0 !important;
}
@media (min-width: 1024px) {
	body.single-product .site-main.single-product-main {
		padding-top: 7rem !important;
	}
}
body.theme-no-hero .site-main.single-product-main {
	padding-top: 6rem !important;
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main.single-product-main {
		padding-top: 7rem !important;
	}
}
.theme-breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-breadcrumb a:hover { color: var(--primary); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}

.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; align-self: start; } }
.theme-product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--linen);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-gallery__main-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: static !important;
	max-width: none;
}
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.625rem; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--linen); border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; }
.theme-product-thumb.is-active { border-color: var(--primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--foreground) 20%, transparent); }
.theme-product-thumb__img { width: 100%; height: 100%; object-fit: cover; display: block; position: static !important; max-width: none; }

.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-info__cat { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--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(--foreground);
	margin-bottom: 1rem;
}
@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(--foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-info__stock { margin-bottom: 1.5rem; font-size: 14px; font-weight: 500; }
.theme-product-info__stock.is-out-of-stock { color: var(--destructive); }
.theme-product-info__description {
	font-size: 15px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
	margin-bottom: 2rem;
	white-space: pre-line;
	overflow-wrap: break-word;
	word-break: break-word;
}

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-block__label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 0.6rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { background: none; border: none; color: inherit; padding: 0.625rem 1rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--primary); }
.theme-qty-value { padding: 0.625rem 1rem; min-width: 44px; text-align: center; font-size: 14px; font-weight: 500; }
.theme-qty-input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; overflow: hidden; }

.theme-add-to-cart-area { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .theme-add-to-cart-area { flex-direction: row; align-items: stretch; } }
.single-product-main .theme-add-to-cart-area .theme-btn,
.single-product-main .theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; width: 100%; min-width: 0; }
@media (min-width: 640px) {
	.single-product-main .theme-add-to-cart-area .theme-btn,
	.single-product-main .theme-add-to-cart-area .single_add_to_cart_button { width: auto; }
}

.theme-product-details { padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); margin-bottom: 2rem; }
.theme-product-details__label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 1rem; }
.theme-product-details ul { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.theme-product-details li { position: relative; padding-left: 1.1rem; font-size: 14px; color: color-mix(in srgb, var(--foreground) 75%, transparent); overflow-wrap: break-word; word-break: break-word; }
.theme-product-details li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }

.theme-trust-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-trust-badge { text-align: center; }
.theme-trust-badge svg { margin: 0 auto 0.5rem; color: var(--primary); }
.theme-trust-badge p { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 60%, transparent); }

.theme-related-products { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-related-products__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; gap: 1rem; }
.theme-related-products__heading { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; color: var(--foreground); }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 2.25rem; } }
.theme-related-products__viewall { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
@media (min-width: 640px) { .theme-related-products__viewall { display: inline-flex; } }
.theme-related-products__viewall:hover { color: var(--primary); }
.theme-related-products__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
@media (min-width: 1024px) { .theme-related-products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; } }

.theme-related-card { display: block; color: inherit; text-decoration: none; }
.theme-related-card__media { aspect-ratio: 1 / 1; background: var(--linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-related-card__img { width: 100%; height: 100%; object-fit: cover; display: block; position: static !important; max-width: none; transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
.theme-related-card:hover .theme-related-card__img { transform: scale(1.04); }
.theme-related-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--primary) 90%, transparent); margin-bottom: 0.4rem; font-weight: 500; padding: 0 0.125rem; }
.theme-related-card__title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; color: var(--foreground); transition: color 0.3s ease; padding: 0 0.125rem; font-weight: 400; }
@media (min-width: 768px) { .theme-related-card__title { font-size: 1.3rem; } }
.theme-related-card:hover .theme-related-card__title { color: var(--primary); }
.theme-related-card__price { margin-top: 0.4rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--foreground) 85%, transparent); padding: 0 0.125rem; }

/* Suppress WooCommerce chrome on single product */
.single-product-main .woocommerce-product-gallery,
.single-product-main .woocommerce-tabs,
.single-product-main .product_meta,
.single-product-main .woocommerce-breadcrumb,
.single-product-main .woocommerce-notices-wrapper { display: none !important; }
.theme-related-products .reveal-item,
.theme-related-products [data-reveal] { opacity: 1 !important; transform: none !important; }

.posted_in, .woocommerce-variation-description { overflow-wrap: break-word; word-break: break-word; }

/* Global img cover exclusion list (Section 15.1 — completeness rule) */
img:not(.cover-img):not(.hero-section__bg):not(.about-section__photo):not(.precta-section__bg):not(.faq-section__card-bg):not(.theme-product-card__img):not(.theme-product-gallery__main-img):not(.theme-product-thumb__img):not(.theme-related-card__img):not(.theme-footer-logo) {
	max-width: 100%;
	height: auto;
}

/* ---------------------------------------------------------------------
   20. Shop archive
   --------------------------------------------------------------------- */
.theme-shop-archive { padding-top: 8rem; padding-bottom: 5rem; }
.theme-shop-archive__title { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 2rem; }
.theme-shop-archive__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-shop-archive__pagination { margin-top: 3rem; display: flex; justify-content: center; gap: 0.5rem; }
.theme-shop-archive__pagination a, .theme-shop-archive__pagination span { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent); }
.theme-shop-archive__pagination .current { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

/* ---------------------------------------------------------------------
   21. 404 page
   --------------------------------------------------------------------- */
.theme-404-main { min-height: 70vh; display: flex; align-items: center; padding-top: 7rem; }
.theme-404-content { text-align: center; max-width: 32rem; margin: 0 auto; padding: 5rem 0; }
.theme-404-heading { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404-text { color: color-mix(in srgb, var(--foreground) 65%, transparent); margin-bottom: 2rem; }

/* ---------------------------------------------------------------------
   22. Generic page shell (page.php)
   --------------------------------------------------------------------- */
.site-main { padding-top: 8rem; padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 2rem; }
.theme-fallback-main { padding-top: 8rem; padding-bottom: 5rem; }

/* ---------------------------------------------------------------------
   23. WooCommerce Checkout Block (Section 13)
   --------------------------------------------------------------------- */
:root { --checkout-gap: 1.5rem; --checkout-max-width: 1280px; }

.theme-checkout-page .site-main,
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 108px); padding-bottom: 4rem; }
.theme-checkout-shell {
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	padding-top: 1.5rem;
	padding-inline: 1.25rem;
	box-sizing: border-box;
}
@media (min-width: 640px) { .theme-checkout-shell { padding-inline: 1.5rem; padding-top: 2rem; } }
@media (min-width: 1024px) { .theme-checkout-shell { padding-inline: 2.5rem; padding-top: 2.5rem; } }
.theme-checkout-page .entry-content,
body.woocommerce-checkout .entry-content { max-width: none !important; width: 100%; }

.theme-checkout-header { margin-bottom: 2.5rem; }
.theme-checkout-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 14px;
	color: color-mix(in srgb, var(--foreground) 65%, transparent);
	margin-bottom: 1.5rem;
}
.theme-checkout-back:hover { color: var(--primary); }
.theme-checkout-title {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 4vw, 3rem);
	line-height: 1.05;
	margin: 0 0 1rem;
}
.theme-checkout-intro {
	font-size: 15px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--foreground) 70%, transparent);
	max-width: 42rem;
	margin: 0;
}

body.woocommerce-checkout .wc-block-checkout,
.entry-content .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wp-block-woocommerce-checkout {
	display: block;
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-cart-items,
.entry-content .wc-block-cart-items {
	font-family: var(--font-body);
	color: var(--foreground);
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
.theme-checkout-page .wc-block-components-text-input label,
.theme-checkout-page .wc-block-components-select label,
.entry-content .wc-block-checkout .wc-block-components-text-input label,
.entry-content .wc-block-checkout .wc-block-components-select label {
	color: color-mix(in srgb, var(--foreground) 68%, transparent);
	-webkit-text-fill-color: color-mix(in srgb, var(--foreground) 68%, transparent);
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input.is-active label,
body.woocommerce-checkout .wc-block-components-text-input.has-value label,
body.woocommerce-checkout .wc-block-components-select.is-active label,
.theme-checkout-page .wc-block-components-text-input.is-active label,
.theme-checkout-page .wc-block-components-text-input.has-value label,
.theme-checkout-page .wc-block-components-select.is-active label,
.entry-content .wc-block-checkout .wc-block-components-text-input.is-active label,
.entry-content .wc-block-checkout .wc-block-components-text-input.has-value label,
.entry-content .wc-block-checkout .wc-block-components-select.is-active label {
	color: var(--foreground);
	-webkit-text-fill-color: var(--foreground);
}
body.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label,
.entry-content .wc-block-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label,
.entry-content .wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label,
.wc-block-checkout span.wc-block-components-checkbox__label,
.wc-block-checkout .wc-block-components-checkbox label {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner__content,
body.woocommerce-checkout .wc-block-components-notice-banner__content > div,
.entry-content .wc-block-checkout .wc-block-components-notice-banner__content,
.entry-content .wc-block-checkout .wc-block-components-notice-banner__content > div {
	color: var(--ink) !important;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout.wc-block-checkout.is-large,
	.entry-content .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	.entry-content .wc-block-checkout-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-notices,
	.entry-content .wc-block-components-notices { grid-column: 1 / -1; order: 1; }
	body.woocommerce-checkout .wc-block-checkout__main,
	.entry-content .wc-block-checkout__main { order: 2; }
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout__sidebar { order: 3; }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout > *,
.entry-content .wc-block-components-sidebar-layout > * {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	background: var(--linen);
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	border-radius: 6px;
	color: var(--foreground);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	border-color: var(--primary);
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	border-radius: 0;
	padding: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--ivory);
	border-radius: var(--card-radius);
	padding: 2rem;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout-empty .wc-block-components-button,
.entry-content .wc-block-checkout-empty .wc-block-components-button {
	margin-inline: auto;
}

/* ---------------------------------------------------------------------
   24. Cart / My Account / Thank-you width parity (Section 13.7)
   --------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
	padding-top: var(--header-height, 108px);
}

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 {
	font-size: 14px;
	color: var(--foreground);
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { border: none; padding: 0; }
body.theme-thankyou-page 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 0; border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }
