/*
 * LayerOne theme stylesheet.
 * Color custom properties are injected inline via wp_add_inline_style()
 * (Section 6.1 / 22.9) — this file only declares structural/derived tokens.
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--font-display: 'Bodoni Moda', serif;
	--font-body: 'Manrope', sans-serif;

	--radius: 0.25rem;
	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 1rem 2rem;
	--btn-font-size: 0.6875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--card-radius: 0.5rem;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
	--header-height: 80px;
	--logo-height: 48px;

	--shadow-soft: 0 4px 20px -4px hsl(240 10% 6% / 0.12);
	--shadow-elevated: 0 12px 48px -12px hsl(240 10% 6% / 0.28);

	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	max-width: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

img, svg, video {
	max-width: 100%;
	display: block;
}

img:not(.cover-img):not(.theme-product-card__image):not(.theme-product-gallery__img) {
	height: auto;
}

.cover-img,
.theme-product-card__image,
.theme-product-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	border: none;
	background: none;
	cursor: pointer;
	color: inherit;
}

/* Clickable controls — pointer cursor on all interactive targets. */
a[href],
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="file"],
label[for],
select,
summary,
.theme-btn,
.theme-nav-link,
.theme-link-underline,
.theme-mobile-nav-list a,
.collection-tile,
.theme-product-thumb,
.theme-size-option,
.site-header__brand,
.site-header__icon-btn,
.site-footer__brand,
.site-footer__nav a,
.site-footer__contact-link,
.site-footer__credit a,
.theme-announcement-bar__dismiss,
.theme-cart-drawer__close,
.theme-cart-drawer__remove,
.theme-cart-drawer__qty-btn,
.theme-qty-minus,
.theme-qty-plus,
.theme-modal__close,
.theme-modal-trigger,
[data-modal-open],
[data-modal-close],
[data-scroll-to],
[data-cat-tile],
[data-cart-open],
[data-cart-close],
[data-accordion-trigger],
.theme-product-card .theme-card-link,
.theme-product-card__quick-add,
.theme-product-card__info a,
.add_to_cart_button,
.single_add_to_cart_button:not(.disabled),
.gallery-section__link,
.product-breadcrumb a {
	cursor: pointer;
}

button:disabled,
.single_add_to_cart_button.disabled,
.single_add_to_cart_button.requires-size.disabled,
[aria-disabled="true"] {
	cursor: not-allowed;
}

input, textarea, select {
	font-family: inherit;
	font-size: inherit;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	font-optical-sizing: none;
	font-synthesis: none;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}

p {
	margin: 0;
}

.theme-hr {
	border: 0;
	height: 1px;
	background-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
	margin: 0;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}

@media (min-width: 1024px) {
	.container-wide {
		padding: 0 2rem;
	}
}

.theme-section-padding {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
@media (min-width: 768px) {
	.theme-section-padding {
		padding-top: 4rem;
		padding-bottom: 5rem;
	}
}

.theme-icon { width: 1.25rem; height: 1.25rem; }
.theme-icon-sm { width: 1rem; height: 1rem; }
.theme-icon-xs { width: 0.875rem; height: 0.875rem; }
.theme-icon-lg { width: 3rem; height: 3rem; }

/* ==========================================================================
   3. Animation / motion (Section 2.1)
   ========================================================================== */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-slide-down { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-scale-in { from { opacity: 0; transform: scale(0.96) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.reveal-item {
	opacity: 0;
	will-change: opacity, transform;
}
.reveal-item.reveal-slide-up { transform: translateY(28px); }
.reveal-item.reveal-slide-down { transform: translateY(-16px); }
.reveal-item.reveal-scale { transform: scale(0.96) translateY(16px); }

.reveal-item.is-visible {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-item.reveal-slide-down.is-visible { transition-duration: 0.6s; }
.reveal-item.reveal-scale.is-visible { transition-duration: 0.5s; }

.hero-section.reveal-fade {
	opacity: 1;
	animation: none;
}
.hero-section__image-wrap {
	opacity: 0;
	animation: theme-fade-in 1.1s var(--ease-smooth) forwards;
}
body.is-customizer .hero-section__image-wrap {
	opacity: 1 !important;
	animation: none !important;
}

/* Customizer preview fallback — content must never be stuck invisible. */
body.is-customizer .reveal-item,
body.is-customizer .hero-section.reveal-fade {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item,
	.hero-section.reveal-fade,
	.hero-section__image-wrap {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
		transition: none !important;
	}
}

.animate-fade-in { animation: theme-fade-in 0.6s var(--ease-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--ease-smooth) forwards; }

/* ==========================================================================
   4. Buttons & links
   ========================================================================== */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	padding: 1.25rem 3rem;
	transition: opacity 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
}

.theme-btn-hero-primary,
.theme-btn-hero-outline,
.single_add_to_cart_button.button {
	text-transform: none;
}
.theme-btn-hero-primary { text-transform: uppercase; }
.theme-btn-hero-outline { text-transform: uppercase; }

.theme-btn-hero-primary {
	background-color: var(--color-background);
	color: var(--color-foreground);
}
.theme-btn-hero-primary:hover { background-color: color-mix(in srgb, var(--color-background) 90%, transparent); }

.theme-btn-hero-outline {
	background-color: transparent;
	border: 1px solid color-mix(in srgb, var(--color-background) 60%, transparent);
	color: var(--color-background);
}
.theme-btn-hero-outline:hover { background-color: color-mix(in srgb, var(--color-background) 10%, transparent); }

.theme-btn-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-fg);
	text-transform: uppercase;
	padding: 1rem 2.25rem;
}
.theme-btn-primary:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

.theme-btn-cta-primary {
	background-color: var(--color-foreground);
	color: var(--color-background);
	text-transform: uppercase;
	padding: 1rem 2.25rem;
}
.theme-btn-cta-primary:hover { background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent); }

.theme-btn-outline {
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	text-transform: none;
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: normal;
	padding: 0.65rem 1.5rem;
	border-radius: var(--radius);
}
.theme-btn-outline:hover { background-color: var(--color-secondary); }

.theme-btn-full { width: 100%; }

.theme-link-underline {
	position: relative;
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.theme-link-underline--display { font-family: var(--font-display); letter-spacing: 0.28em; }
.theme-link-underline::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

.theme-kicker {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-family: var(--font-body);
	font-weight: 700;
	margin-bottom: 0.75rem;
}
.theme-kicker--sm { font-size: 0.6875rem; margin-bottom: 0; }

.section-heading {
	font-family: var(--font-display);
	font-weight: 500;
	font-optical-sizing: none;
	line-height: 1.25;
	-webkit-font-smoothing: auto;
}

/* ==========================================================================
   WordPress admin bar — keep sticky header / drawers below toolbar
   ========================================================================== */
@media screen {
	body.admin-bar .site-header {
		top: 32px;
	}

	body.admin-bar #theme-cart-drawer {
		top: 32px;
		height: calc(100% - 32px);
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar #theme-cart-drawer {
		top: 46px;
		height: calc(100% - 46px);
	}
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.theme-announcement-bar {
	position: relative;
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.theme-announcement-bar__inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-bar__text {
	font-size: 0.8125rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-family: var(--font-body);
	margin: 0;
}
.theme-announcement-bar__dismiss {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	opacity: 0.7;
}
.theme-announcement-bar__dismiss:hover { opacity: 1; }

.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background-color: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid,
.site-header.mobile-menu-open {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}

.site-header__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	position: relative;
}

.site-header__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-left: -0.5rem;
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; display: block; line-height: var(--logo-height); }
.site-logo-text--secondary { font-size: 0.85rem; opacity: 0.8; }

.site-header__center-nav {
	display: none;
}
@media (min-width: 1024px) {
	.site-header__center-nav {
		display: flex;
		align-items: center;
		gap: 2rem;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	position: relative;
}
.theme-nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: currentColor;
	transform: scaleX(0);
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__icon-btn {
	position: relative;
	padding: 0.5rem;
	transition: opacity 0.2s ease;
}
.site-header__icon-btn:hover { opacity: 0.6; }
.site-header__search-btn { display: none; }
@media (min-width: 768px) { .site-header__search-btn { display: inline-flex; } }

.site-header__cart-btn .theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 1.25rem;
	height: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 500;
	background-color: var(--color-primary);
	color: var(--color-primary-fg);
	border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.site-header__menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-btn { display: none; } }
.theme-icon-menu-close { display: none; }
.site-header__menu-btn.is-open .theme-icon-menu-open { display: none; }
.site-header__menu-btn.is-open .theme-icon-menu-close { display: block; }

.site-header__mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	padding: 1rem 0;
}
.site-header__mobile-menu.is-open { display: block; animation: theme-fade-in 0.3s var(--ease-smooth); }
.theme-mobile-nav-list,
.site-header__mobile-menu .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.25rem;
}
.theme-mobile-nav-list a,
.site-header__mobile-menu .theme-nav-list a {
	display: block;
	text-align: left;
	font-family: var(--font-display);
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.5rem 0;
}
.theme-mobile-nav-list a:hover,
.site-header__mobile-menu .theme-nav-list a:hover { color: var(--color-muted-fg); }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero-section { background-color: var(--color-background); }
.hero-section__media {
	position: relative;
	width: 100%;
	min-height: 85vh;
	height: 85vh;
	overflow: hidden;
}
.hero-section__image-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
}
.hero-section__img {
	object-position: center 35%;
}
.hero-section__gradient {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	/* No overlay — matches Lovable (Tailwind drops the arbitrary hsl opacity stops). */
	background: none;
}
.hero-section__badge-row {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	padding-top: 1.5rem;
}
@media (min-width: 768px) { .hero-section__badge-row { padding-top: 2rem; } }
.hero-section__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 1.25rem;
	font-size: 0.6875rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-weight: 700;
}
.hero-section__badge-line { display: inline-block; height: 1px; width: 1.5rem; background-color: var(--color-primary); }

.hero-section__content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-section__inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.hero-section__title {
	font-weight: 500;
	font-optical-sizing: none;
	-webkit-font-smoothing: auto;
	font-size: 3rem;
	line-height: 1.02;
	color: var(--color-background);
	margin-bottom: 2rem;
	text-shadow: 0 2px 14px hsl(240 10% 4% / 0.35);
}
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; margin-bottom: 2.5rem; } }
@media (min-width: 1280px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__title-italic { font-style: italic; display: block; margin-top: 0.75rem; }
@media (min-width: 768px) { .hero-section__title-italic { margin-top: 1rem; } }

.hero-section__subtitle {
	color: color-mix(in srgb, var(--color-background) 85%, transparent);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 3rem;
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; margin-bottom: 3.5rem; } }

.hero-section__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
@media (min-width: 768px) { .hero-section__actions { gap: 1.5rem; } }

/* ==========================================================================
   7. Shop by Collection
   ========================================================================== */
.theme-section-header { text-align: center; margin-bottom: 2.5rem; }
.collection-section .theme-section-header { margin-bottom: 2.5rem; }
.collection-section__heading {
	font-size: 1.875rem;
	line-height: 1.25;
}
@media (min-width: 768px) { .collection-section__heading { font-size: 2.25rem; } }

.featured-section .theme-section-header { margin-bottom: 3.5rem; }
.featured-section__heading {
	font-size: 1.875rem;
	line-height: 1.25;
}
@media (min-width: 768px) { .featured-section__heading { font-size: 3rem; line-height: 1.1; } }

.collection-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	max-width: 64rem;
	margin: 0 auto;
}
@media (min-width: 768px) { .collection-section__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.collection-tile {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	display: block;
	width: 100%;
	text-align: left;
}
.collection-tile__img { transition: transform 0.7s var(--ease-smooth); }
.collection-tile:hover .collection-tile__img { transform: scale(1.05); }
.collection-tile__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: background-color 0.5s ease;
}
.collection-tile__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
	color: var(--color-background);
	text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .collection-tile__content { padding: 1.75rem; } }
.collection-tile__tagline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.6875rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: var(--color-primary);
	filter: brightness(1.5);
}
.collection-tile__tagline-bar { display: inline-block; height: 1px; width: 1.5rem; background-color: currentColor; }
.collection-tile__label { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--color-background); }
@media (min-width: 768px) { .collection-tile__label { font-size: 1.875rem; } }
.collection-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); }

/* ==========================================================================
   8. Product cards (shared: featured, shop, related — Section 31.13)
   ========================================================================== */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.featured-section__grid { grid-template-columns: 1fr; max-width: 48rem; margin: 0 auto; }
@media (min-width: 768px) { .featured-section__grid { grid-template-columns: 1fr 1fr; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__quick-add,
.theme-product-card__info a { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background-color: var(--color-secondary);
	margin-bottom: 1.25rem;
}
.theme-product-card__image { transition: transform 0.7s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-product-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 3;
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	background-color: var(--color-foreground);
	color: var(--color-background);
	border-radius: 9999px;
	pointer-events: none;
}

.theme-product-card__quick-add {
	position: absolute;
	bottom: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--color-background);
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.2s ease;
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
.theme-product-card__quick-add:hover { transform: scale(1.08); }
@media (max-width: 767px) { .theme-product-card__quick-add { opacity: 1; } }

.theme-product-card__info { text-align: center; margin-top: 1rem; }
.theme-product-card__title {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 1.4;
	margin-bottom: 0.5rem;
	transition: color 0.3s ease;
	min-width: 0;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-family: var(--font-body); font-size: 1rem; font-weight: 400; }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4rem; }

/* ==========================================================================
   9. Featured / About / Founder
   ========================================================================== */
.featured-section__footer { text-align: center; margin-top: 3.5rem; }

.about-section__inner {
	padding: 4rem 1.5rem;
	max-width: 56rem;
	margin: 0 auto;
	text-align: center;
}
@media (min-width: 768px) { .about-section__inner { padding: 6rem 3.5rem; } }
.founder-section .section-heading,
.services-section .section-heading,
.artists-section .section-heading,
.fabric-section .section-heading,
.gallery-section .section-heading,
.shop-section .section-heading,
.faq-section .section-heading,
.cta-band__title,
.collection-tile__label,
.artists-section__tile-title,
.theme-accordion__question {
	font-weight: 500;
	font-optical-sizing: none;
}

.about-section .section-heading {
	font-size: 1.875rem;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 2rem;
	letter-spacing: -0.02em;
}
@media (min-width: 768px) { .about-section .section-heading { font-size: 2.25rem; } }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.about-section__paragraph--last { margin-bottom: 2.5rem; }

.founder-section__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .founder-section__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.founder-section__media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .founder-section__media { min-height: 520px; } }
@media (min-width: 1024px) { .founder-section__media { min-height: 620px; } }
.founder-section__img { object-position: top; }
.founder-section__content { display: flex; align-items: center; background-color: var(--color-background); padding: 3rem 1.5rem; }
@media (min-width: 768px) { .founder-section__content { padding: 5rem 3.5rem; } }
@media (min-width: 1280px) { .founder-section__content { padding: 5rem 6rem; } }
.founder-section__inner { max-width: 36rem; }
.founder-section .section-heading { font-size: 2.25rem; margin-bottom: 1.75rem; line-height: 1.15; }
@media (min-width: 768px) { .founder-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .founder-section .section-heading { font-size: 3.75rem; } }
.founder-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.4; margin-bottom: 2rem; }
@media (min-width: 768px) { .founder-section__quote { font-size: 1.5rem; } }
.founder-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* ==========================================================================
   10. Services / pillars
   ========================================================================== */
.services-section__header { text-align: center; padding: 4rem 1.5rem; }
@media (min-width: 768px) { .services-section__header { padding: 6rem 3.5rem; } }
.services-section .section-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 768px) { .services-section .section-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-section .section-heading { font-size: 4.5rem; } }

.services-section__row { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .services-section__row { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.services-section__row.is-reversed .services-section__media { order: 2; }
.services-section__row.is-reversed .services-section__text { order: 1; }
.services-section__media { position: relative; min-height: 360px; }
@media (min-width: 768px) { .services-section__media { min-height: 500px; } }
@media (min-width: 1024px) { .services-section__media { min-height: 560px; } }
.services-section__numeral {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	font-family: var(--font-display);
	font-size: 0.875rem;
	letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem;
	background-color: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	color: var(--color-primary);
	font-weight: 700;
	pointer-events: none;
}
.services-section__text { display: flex; align-items: center; background-color: var(--color-butter); padding: 3rem 1.5rem; }
@media (min-width: 768px) { .services-section__text { padding: 5rem 3.5rem; } }
@media (min-width: 1280px) { .services-section__text { padding: 5rem 6rem; } }
.services-section__text-inner { max-width: 36rem; }
.services-section__kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.services-section__icon-circle {
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	color: var(--color-primary);
	flex-shrink: 0;
}
.services-section__title {
	font-weight: 500;
	font-optical-sizing: none;
	font-size: 2.25rem;
	line-height: 1.05;
	margin-bottom: 1.5rem;
	letter-spacing: -0.02em;
}
@media (min-width: 768px) { .services-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__title { font-size: 3.75rem; } }
.services-section__description { font-size: 1rem; color: var(--color-muted-fg); line-height: 1.7; }
@media (min-width: 768px) { .services-section__description { font-size: 1.125rem; } }

/* ==========================================================================
   11. Artist series (dark band)
   ========================================================================== */
.artists-section { background-color: var(--color-surface-deep); color: var(--color-surface-deep-fg); }
.artists-section__header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.artists-section .section-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .artists-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .artists-section .section-heading { font-size: 3.75rem; } }
.artists-section__heading-italic {
	font-style: italic;
	color: var(--color-primary);
	font-weight: 700;
	display: block;
}
.artists-section__description { color: color-mix(in srgb, var(--color-surface-deep-fg) 75%, transparent); line-height: 1.7; }

.artists-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .artists-section__grid { grid-template-columns: repeat(3, 1fr); } }
.artists-section__tile-media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background-color: color-mix(in srgb, var(--color-surface-deep-fg) 5%, transparent);
	margin-bottom: 1.25rem;
}
.artists-section__tile-media img { transition: transform 0.7s var(--ease-smooth); }
.artists-section__tile:hover .artists-section__tile-media img { transform: scale(1.04); }
.artists-section__tile-title { font-size: 1.5rem; margin: 0.5rem 0; color: var(--color-surface-deep-fg); }
.artists-section__tile-body { color: color-mix(in srgb, var(--color-surface-deep-fg) 70%, transparent); font-size: 0.875rem; line-height: 1.7; }

/* ==========================================================================
   12. Fabric spotlight
   ========================================================================== */
.fabric-section__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .fabric-section__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.fabric-section__media { position: relative; min-height: 420px; }
@media (min-width: 768px) { .fabric-section__media { min-height: 560px; } }
@media (min-width: 1024px) { .fabric-section__media { min-height: 640px; } }
.fabric-section__inset {
	position: absolute !important;
	bottom: 1.5rem; left: 1.5rem;
	width: 8rem; height: 8rem;
	inset: auto !important;
	aspect-ratio: 1 / 1;
	box-shadow: var(--shadow-elevated);
	border: 4px solid var(--color-background);
}
@media (min-width: 768px) { .fabric-section__inset { width: 11rem; height: 11rem; } }
@media (min-width: 1024px) { .fabric-section__inset { width: 13rem; height: 13rem; } }
.fabric-section__content { display: flex; align-items: center; background-color: var(--color-background); padding: 3rem 1.5rem; }
@media (min-width: 768px) { .fabric-section__content { padding: 5rem 3.5rem; } }
@media (min-width: 1280px) { .fabric-section__content { padding: 5rem 6rem; } }
.fabric-section__inner { max-width: 36rem; }
.fabric-section .section-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .fabric-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .fabric-section .section-heading { font-size: 3.75rem; } }
.fabric-section__heading-italic { display: block; font-style: italic; color: var(--color-primary); font-weight: 700; }
.fabric-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }
.fabric-section__paragraph--italic { font-style: italic; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2.5rem; }

/* ==========================================================================
   13. Gallery marquee
   ========================================================================== */
.gallery-section__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .gallery-section__header { margin-bottom: 3.5rem; } }
.gallery-section .section-heading { font-size: 1.875rem; line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 768px) { .gallery-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-section .section-heading { font-size: 3.75rem; } }

.gallery-section__track-wrap { overflow: hidden; }
.gallery-section__track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	scrollbar-width: none;
}
@media (min-width: 768px) { .gallery-section__track { gap: 1.5rem; padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1024px) { .gallery-section__track { padding-left: 4rem; padding-right: 4rem; } }
.gallery-section__track::-webkit-scrollbar { display: none; }
.gallery-section__item { flex-shrink: 0; width: 78%; }
@media (min-width: 480px) { .gallery-section__item { width: 55%; } }
@media (min-width: 768px) { .gallery-section__item { width: 40%; } }
@media (min-width: 1024px) { .gallery-section__item { width: 30%; } }
@media (min-width: 1280px) { .gallery-section__item { width: 26%; } }
.gallery-section__link { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery-section__link img { object-position: top; transition: transform 0.9s var(--ease-smooth); }
.gallery-section__link:hover img { transform: scale(1.04); }

.gallery-section__controls-wrap { margin-top: 2.5rem; }
.gallery-section__controls { display: flex; align-items: center; gap: 1rem; }
.gallery-section__nav-btn {
	width: 3rem; height: 3rem;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.gallery-section__nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ==========================================================================
   14. Shop section
   ========================================================================== */
.shop-section__header { text-align: center; margin-bottom: 3rem; }
.shop-section .section-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-section .section-heading { font-size: 3rem; } }

.shop-section__search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-section__search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--color-muted-fg); }
.shop-section__search-input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	font-size: 1rem;
	color: var(--color-foreground);
	transition: border-color 0.2s ease;
}
.shop-section__search-input::placeholder { color: var(--color-muted-fg); }
.shop-section__search-input:focus { outline: none; border-color: var(--color-foreground); }

.shop-section__categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 9999px;
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background-color: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); }

.shop-section__price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-section__price-toggle {
	display: flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-fg);
	transition: color 0.3s ease;
}
.shop-section__price-toggle:hover { color: var(--color-foreground); }
.shop-section__price-toggle .theme-icon-xs { transition: transform 0.3s ease; }
.shop-section__price-toggle.is-open .theme-icon-xs { transform: rotate(180deg); }
.shop-section__price-toggle-value { text-transform: none; letter-spacing: normal; opacity: 0.7; }

.shop-section__price-panel {
	width: 100%; max-width: 24rem;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}
.shop-section__price-panel.is-open { max-height: 12rem; opacity: 1; }
.shop-section__price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.75rem; }

.price-range-wrapper { position: relative; height: 1.5rem; padding: 0 0.5rem; }
.range-track-bg, .range-track-fill {
	position: absolute; height: 4px; top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	border-radius: 9999px;
}
.range-track-bg { left: 0.5rem; right: 0.5rem; background-color: var(--color-border); }
.range-track-fill { background-color: 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-color: 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-color: var(--color-background);
	cursor: pointer;
}
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-section__show-more, .shop-section__empty { text-align: center; margin-top: 3rem; }
.shop-section__empty p { color: var(--color-muted-fg); }

/* ==========================================================================
   15. FAQ accordion
   ========================================================================== */
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.faq-section__intro { grid-column: auto; min-width: 0; }
@media (min-width: 1024px) { .faq-section__intro { grid-column: span 4; } }
.faq-section .section-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .faq-section .section-heading { font-size: 3rem; } }
.faq-section__heading-italic { display: block; font-style: italic; color: var(--color-primary); }
.faq-section__description { color: var(--color-muted-fg); line-height: 1.7; overflow-wrap: break-word; }
.faq-section__list { grid-column: auto; min-width: 0; }
@media (min-width: 1024px) { .faq-section__list { grid-column: span 8; } }

.theme-accordion { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.theme-accordion__item { border-bottom: 1px solid var(--color-border); }
.theme-accordion__item:last-child { border-bottom: none; }
.theme-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem 0;
	text-align: left;
}
.theme-accordion__question {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.4;
	color: var(--color-foreground);
	transition: color 0.2s ease;
	min-width: 0;
	overflow-wrap: break-word;
}
@media (min-width: 768px) { .theme-accordion__question { font-size: 1.25rem; } }
.theme-accordion__trigger:hover .theme-accordion__question { color: var(--color-primary); }
.theme-accordion__icon {
	flex-shrink: 0;
	margin-top: 0.25rem;
	display: flex; align-items: center; justify-content: center;
	width: 2rem; height: 2rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	border-radius: 50%;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: all 0.3s ease;
}
.theme-accordion__item.is-open .theme-accordion__icon { background-color: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); transform: rotate(45deg); }
.theme-accordion__icon--chevron { transform: none !important; border: none; }
.theme-accordion__item.is-open .theme-accordion__icon--chevron { background: none; color: var(--color-foreground); transform: rotate(180deg) !important; }

.theme-accordion__panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth);
	opacity: 0;
}
.theme-accordion__item.is-open .theme-accordion__panel { max-height: 60rem; opacity: 1; }
.theme-accordion__answer { padding-bottom: 1.5rem; padding-right: 3rem; color: var(--color-muted-fg); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion--product .theme-accordion__answer { padding-right: 0; }

/* ==========================================================================
   16. Final CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background-color: var(--color-butter); }
.cta-band__bg { z-index: 0; }
.cta-band__overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); z-index: 1; }
.cta-band__inner { position: relative; z-index: 2; padding: 5rem 0; }
@media (min-width: 768px) { .cta-band__inner { padding: 7rem 0; } }
.cta-band__card {
	max-width: 42rem;
	margin: 0 auto;
	text-align: center;
	background-color: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(6px);
	box-shadow: var(--shadow-elevated);
	padding: 3rem 2rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .cta-band__card { padding: 4rem 3.5rem; } }
.cta-band__title { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }
.cta-band__description { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; } }

/* ==========================================================================
   17. Contact modal
   ========================================================================== */
.theme-modal-overlay {
	position: fixed; inset: 0;
	background-color: color-mix(in srgb, var(--color-foreground) 50%, transparent);
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}
body.theme-modal-open .theme-modal-overlay { opacity: 1; visibility: visible; }

.theme-modal {
	position: fixed;
	top: 50%; left: 50%;
	transform: translate(-50%, -46%) scale(0.96);
	width: calc(100% - 2rem);
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	background-color: var(--color-background);
	border-radius: var(--card-radius);
	box-shadow: var(--shadow-elevated);
	z-index: 101;
	padding: 2rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth), visibility 0.3s;
}
.theme-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem; opacity: 0.7; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.theme-modal__description { color: var(--color-muted-fg); margin-bottom: 1.5rem; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-fg); margin-bottom: 1.5rem; }
.theme-modal__contact-row a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__contact-row a:hover { color: var(--color-foreground); }

.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 1rem;
	color: var(--color-foreground);
	transition: box-shadow 0.3s ease, border-color 0.2s ease;
}
.theme-form-field input::placeholder, .theme-form-field textarea::placeholder { color: var(--color-muted-fg); }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__submit-label { display: inline-flex; }

.theme-contact-form__success { text-align: center; padding: 2rem 0; }
.theme-contact-form__success-icon {
	width: 3.5rem; height: 3.5rem;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background-color: var(--color-primary);
	color: var(--color-primary-fg);
	margin: 0 auto 1rem;
}
.theme-contact-form__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-form__success p { color: var(--color-muted-fg); font-size: 0.875rem; }

/* ==========================================================================
   18. Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background-color: var(--color-butter); }
/* Use padding-top/bottom only so .container-wide horizontal padding is preserved. */
.site-footer__inner {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
@media (min-width: 1024px) {
	.site-footer__inner {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
}
.site-footer__top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__brand { display: flex; align-items: center; }
@media (min-width: 768px) { .site-footer__brand { margin-left: -0.5rem; } }
.theme-footer-nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
@media (min-width: 768px) { .theme-footer-nav-list { gap: 1.75rem; } }
.theme-footer-nav-list a, .site-footer__nav .theme-nav-list a {
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-muted-fg);
	transition: color 0.2s ease;
}
.theme-footer-nav-list a:hover, .site-footer__nav .theme-nav-list a:hover { color: var(--color-foreground); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__contact { flex-direction: row; align-items: center; gap: 1.25rem; } }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-fg); transition: color 0.2s ease; }
.site-footer__contact-link:hover { color: var(--color-foreground); }

.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__tagline, .site-footer__copyright { font-size: 0.75rem; color: var(--color-muted-fg); letter-spacing: 0.02em; }
.site-footer__tagline { font-family: var(--font-display); font-style: italic; }
.site-footer__credit { margin-top: 1rem; display: flex; justify-content: center; }
.site-footer__credit p { font-size: 0.75rem; color: var(--color-muted-fg); }
.site-footer__credit a { text-decoration: underline; }
.site-footer__credit a:hover { color: var(--color-foreground); }

/* ==========================================================================
   19. Side cart drawer + overlay
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 199;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed;
	top: 0; right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background-color: var(--color-background);
	box-shadow: var(--shadow-elevated);
	z-index: 200;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; }
.theme-cart-drawer__close:hover { opacity: 1; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-fg); }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-thumb { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; background-color: var(--color-secondary); display: block; }
.theme-cart-drawer__item-thumb img,
.theme-cart-drawer__item-thumb .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
}
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-size: 0.875rem; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--color-muted-fg); margin-top: 0.125rem; }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-fg); margin-top: 0.25rem; }
.theme-cart-drawer__item-variation dl { margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.theme-cart-drawer__item-variation dt { font-weight: 500; }
.theme-cart-drawer__item-variation dt::after { content: ':'; }
.theme-cart-drawer__item-variation dd { margin: 0; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: var(--radius); transition: background-color 0.2s ease; }
.theme-cart-drawer__qty-btn:hover { background-color: var(--color-secondary); }
.theme-cart-drawer__qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-fg); transition: color 0.2s ease; }
.theme-cart-drawer__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-fg); }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ==========================================================================
   20. Add-to-cart button overrides (Section 11.4.1)
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: 9999px !important;
	min-height: 3.25rem !important;
	padding: 1rem 2rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100%;
	font-family: var(--font-body) !important;
	font-size: 0.8125rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !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-foreground) !important;
	color: var(--color-background) !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.6 !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.6 !important;
	background-color: var(--color-foreground) !important;
}
.single-product .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; }

/* Card compact quick-add button — overrides the global rules above (scoped, after). */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
	opacity: 1 !important;
}

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body);
	border-top-color: var(--color-primary);
	padding: 1rem 1.5rem;
	border-radius: var(--radius);
}

/* ==========================================================================
   21. Single product page
   ========================================================================== */
.single-product-page { padding-top: 1.5rem; padding-bottom: 6rem; }
.product-breadcrumb { padding: 1.5rem 0; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); }
.product-breadcrumb a { transition: color 0.2s ease; }
.product-breadcrumb a:hover { color: var(--color-foreground); }
.product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.product-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-top: 1rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main-wrap { position: relative; aspect-ratio: 4 / 5; background-color: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__thumbs { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; padding-bottom: 0.25rem; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background-color: var(--color-secondary); border: 0; padding: 0; cursor: pointer; }
@media (min-width: 768px) { .theme-product-thumb { width: 5.5rem; height: 5.5rem; } }
.theme-product-thumb img { transition: opacity 0.2s ease; opacity: 0.6; }
.theme-product-thumb.is-active img, .theme-product-thumb:hover img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background-color: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info__category { font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-fg); }
.theme-product-info__category a { color: inherit; }
.theme-product-info__title.product-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-optical-sizing: none;
	font-size: 1.875rem;
	line-height: 1.1;
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .theme-product-info__title.product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title.product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-product-info__teaser { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; }
.theme-product-info__block { margin-bottom: 1.5rem; }
.theme-product-info__block-label { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 600; font-style: normal; }

.theme-size-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-option {
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 9999px;
	transition: all 0.2s ease;
}
.theme-size-option:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-size-option.is-selected { background-color: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	width: 3rem;
	padding: 0.5rem 0;
	text-align: center;
	border: none;
	background: transparent;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-description { color: var(--color-muted-fg); line-height: 1.7; margin-bottom: 1rem; }
.theme-product-details ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details li { display: flex; align-items: flex-start; color: var(--color-muted-fg); font-size: 0.9375rem; line-height: 1.6; }
.theme-product-details li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background-color: var(--color-foreground); margin-top: 0.55rem; margin-right: 0.75rem; flex-shrink: 0; }

.woocommerce-product-details__short-description,
.woocommerce-variation-description,
.posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.related-products-section__header { text-align: center; margin-bottom: 3rem; }
.related-products-section__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-fg); margin-bottom: 0.5rem; }
.related-products-section .section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section .section-heading { font-size: 2.25rem; } }
.related-products-section__grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   22. Shop archive (native WooCommerce category/tag pages)
   ========================================================================== */
.shop-archive__header { text-align: center; margin-bottom: 3rem; }
.shop-archive__heading { font-size: 2.25rem; }
.shop-archive__empty { text-align: center; color: var(--color-muted-fg); padding: 3rem 0; }

/* ==========================================================================
   23. 404
   ========================================================================== */
.theme-404 { min-height: 60vh; display: flex; align-items: center; padding-top: var(--header-height); }
.theme-404__inner { text-align: center; }
.theme-404__title { font-size: 3rem; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.125rem; color: var(--color-muted-fg); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

/* ==========================================================================
   24. Generic pages (page.php)
   ========================================================================== */
body.theme-no-hero .site-main { padding-top: var(--header-height); }
.theme-page-content { padding-bottom: 4rem; }
.page-title { font-size: 2rem; padding: 2rem 0 1rem; }

/* ==========================================================================
   25. WooCommerce Checkout Block (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { width: 100%; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-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 {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	width: 100% !important;
	max-width: none !important;
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder {
	color: var(--color-muted-fg);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: 9999px !important;
	font-family: var(--font-display) !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	width: 100%;
	min-height: 3.25rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.85;
	background-color: var(--color-foreground) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
}

/* ==========================================================================
   26. Cart / My Account pages — width & alignment parity (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}

/* ==========================================================================
   27. Thank-you page
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); }
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; padding: 2rem 0 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	padding: 1.5rem;
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-top: 0.25rem; }

body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
	overflow-wrap: break-word;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	border: 1px solid var(--color-border);
	border-radius: var(--card-radius);
	padding: 1.25rem;
	font-style: normal;
}
@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; }
}

/* ==========================================================================
   28. Variable product variations table (kept for forward-compat; theme
   currently ships simple products only, per Section 11.5 layout rule).
   ========================================================================== */
.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; }
.theme-attr-select-hidden { display: none !important; }

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}
