/* =====================================================================
   MAXIMUS ART THEME — theme.css
   ===================================================================== */

:root {
	--font-display: 'Halant', serif;
	--font-body: 'Fira Sans', sans-serif;

	--radius: 0.5rem;
	--card-radius: 0.5rem;
	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 1rem 2.25rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;
	--color-button-text: var(--color-primary-foreground);

	--shadow-soft: 0 4px 20px -4px rgb(29 32 38 / 0.10);
	--shadow-elevated: 0 8px 40px -8px rgb(29 32 38 / 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 96px;
	--announcement-height: 2.375rem;
	--site-top-offset: var(--header-height);
	--checkout-gap: 2rem;
}
body.has-announcement {
	--site-top-offset: calc(var(--header-height) + var(--announcement-height));
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
* { border-color: var(--color-border); box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}

img { max-width: 100%; display: block; }
img:not(.cover-img):not(.theme-fill-img) { height: auto; }
.cover-img,
.theme-fill-img {
	position: absolute; inset: 0;
	width: 100%; height: 100% !important;
	object-fit: cover;
	max-width: none;
}

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

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.theme-icon-xs svg, .theme-icon-xs { width: 0.85rem; height: 0.85rem; }
.theme-icon-sm svg, .theme-icon-sm { width: 1.1rem; height: 1.1rem; }
.theme-icon-lg svg, .theme-icon-lg { width: 3rem; height: 3rem; }

.theme-kicker {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}
.theme-kicker--spaced { margin-bottom: 1.25rem; }
.theme-kicker--semibold { font-weight: 600; }
.theme-kicker--rosa { color: var(--color-primary); }
.theme-kicker--marigold { color: var(--color-accent); }
.theme-kicker--teal { color: var(--color-teal); }

.theme-link-underline { position: relative; display: inline-block; }
.theme-link-underline::after {
	content: '';
	position: absolute; bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

/* ---------------------------------------------------------------------
   SCROLL REVEAL
   --------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------------------------------------------------------------------
   HERO ENTRANCE ANIMATION (initial load, not scroll-triggered)
   --------------------------------------------------------------------- */
.theme-hero-anim { opacity: 0; }
.theme-hero-anim--title { animation: theme-hero-fade-up 0.9s var(--transition-smooth) 0.35s forwards; }
.theme-hero-anim--subtitle { animation: theme-hero-fade-up 0.7s var(--transition-smooth) 0.55s forwards; }
.theme-hero-anim--cta { animation: theme-hero-fade-up 0.65s var(--transition-smooth) 0.75s forwards; }
@keyframes theme-hero-fade-up {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}
body.is-customizer .theme-hero-anim { opacity: 1 !important; animation: none !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.theme-hero-anim { animation: none !important; opacity: 1 !important; }
}

/* ---------------------------------------------------------------------
   ANNOUNCEMENT BAR
   --------------------------------------------------------------------- */
.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-bar__dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	opacity: 0.7; padding: 0.25rem;
}
.theme-announcement-bar__dismiss:hover { opacity: 1; }

/* ---------------------------------------------------------------------
   FIXED TOP BAR (announcement + header)
   --------------------------------------------------------------------- */
.site-top {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
}
.site-header {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s var(--transition-smooth), border-color 0.3s var(--transition-smooth), backdrop-filter 0.3s var(--transition-smooth);
}
.site-header.is-solid,
body.theme-mobile-menu-open .site-header {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	border-bottom-color: color-mix(in srgb, var(--color-border) 100%, transparent);
}
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 6rem; position: relative; }
.site-header__brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.site-logo-img {
	height: var(--logo-height, 4rem) !important;
	width: auto !important;
	display: block;
	max-height: none;
	object-fit: contain;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; letter-spacing: -0.015em; }
.site-header__brand-text { display: none; flex-direction: column; line-height: 1; }
.site-header__brand-text.is-visible { display: flex; }
.site-header__brand-name { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -0.015em; }
.site-header__brand-tagline { font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }

.site-header__center { display: none; position: absolute; left: 50%; transform: translateX(-50%); }
@media (min-width: 1024px) { .site-header__center { display: flex; align-items: center; gap: 2rem; } }
.theme-nav-list { display: flex; gap: 2rem; }
.theme-nav-link {
	font-family: var(--font-display); font-weight: 500;
	font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
	transition: color 0.3s;
	position: relative; display: inline-block;
}
.theme-nav-link::after {
	content: '';
	position: absolute; bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }
.site-header__actions svg { width: 1.25rem; height: 1.25rem; }
.theme-nav-list--mobile,
.site-header__mobile-menu .theme-nav-list,
.site-header__mobile-menu ul {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem 0;
}
.theme-nav-list--mobile .theme-nav-link { font-size: 0.875rem; letter-spacing: 0.18em; padding: 0.5rem 0; display: block; width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-header__actions { gap: 0.75rem; } }
.site-header__search-btn { display: none; padding: 0.5rem; opacity: 1; transition: opacity 0.2s; }
@media (min-width: 768px) { .site-header__search-btn { display: inline-flex; } }
.site-header__search-btn:hover { opacity: 0.6; }
.site-header__cart-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s; }
.site-header__cart-btn:hover { opacity: 0.6; }
.theme-cart-count:empty { display: none; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.7rem; font-weight: 500; border-radius: 9999px;
	background: var(--color-primary); color: var(--color-primary-foreground);
}
.site-header__menu-toggle { padding: 0.5rem; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.site-header__mobile-menu { display: none; border-top: 1px solid var(--color-border); }
.site-header__mobile-menu:not([hidden]) { display: block; }
@media (min-width: 1024px) { .site-header__mobile-menu { display: none !important; } }

/* ---------------------------------------------------------------------
   HOME HERO — full viewport under fixed header
   --------------------------------------------------------------------- */
body:not(.theme-no-hero) .theme-home { padding-top: 0; }
.theme-hero { background: var(--color-background); }
.theme-hero__media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .theme-hero__media { height: 88vh; min-height: 680px; } }
.theme-hero__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 55%, transparent), color-mix(in srgb, var(--color-foreground) 25%, transparent), color-mix(in srgb, var(--color-foreground) 45%, transparent));
}
.theme-hero__content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.theme-hero__content-inner { max-width: 48rem; display: flex; flex-direction: column; align-items: center; }
.theme-hero__title {
	font-weight: 400; font-size: 3.5rem; line-height: 1.05;
	color: var(--color-background); margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .theme-hero__title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 6rem; } }
.theme-hero__subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1.125rem; line-height: 1.6; margin-bottom: 3.5rem; max-width: 42rem;
	white-space: pre-line;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.25rem; } }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: 500;
	font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
	padding: 1rem 2.25rem; transition: opacity 0.2s, background-color 0.2s;
	border: none; cursor: pointer;
}
.theme-btn-full { width: 100%; }
.theme-btn-hero-primary {
	background: var(--color-background); color: var(--color-foreground);
	padding: 1.5rem 3.5rem; font-size: 0.75rem;
	letter-spacing: 0.3em; text-transform: uppercase;
}
.theme-btn-hero-primary:hover { background: color-mix(in srgb, var(--color-background) 90%, transparent); }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px; }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-accent { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-accent:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.theme-btn-dark { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-dark:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.theme-btn-outline { border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); border-radius: var(--radius); font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 0.875rem; }
.theme-btn-outline:hover { background: var(--color-secondary); }
.theme-btn[disabled], .theme-btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ---------------------------------------------------------------------
   SECTION HEADINGS — per-section scales (Section 2.2.5)
   --------------------------------------------------------------------- */
.theme-section { position: relative; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
.theme-section__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.theme-section__heading { margin-bottom: 2.5rem; }
.theme-section__heading--center { text-align: center; }
.theme-featured-section .theme-section__heading { margin-bottom: 3.5rem; }

.theme-collection-section .section-heading,
.theme-featured-section .section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-collection-section .section-heading { font-size: 2.25rem; } .theme-featured-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-featured-section .section-heading { font-size: 3rem; } }

.theme-about-section .section-heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-about-section .section-heading { font-size: 2.25rem; } }

.theme-process-section .section-heading { font-size: 2.25rem; line-height: 1.2; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .theme-process-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-process-section .section-heading { font-size: 3.75rem; } }

.theme-services-section .section-heading { font-size: 2.25rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-services-section .section-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-services-section .section-heading { font-size: 4.5rem; } }
.theme-service-row__title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-service-row__title { font-size: 2.75rem; } }
@media (min-width: 1024px) { .theme-service-row__title { font-size: 3.5rem; } }

.theme-smallworks-section .section-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-smallworks-section .section-heading { font-size: 2.75rem; } }
@media (min-width: 1024px) { .theme-smallworks-section .section-heading { font-size: 3.5rem; } }

.theme-aff-section .section-heading { font-size: 1.875rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .theme-aff-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-aff-section .section-heading { font-size: 3rem; } }

.theme-gallery-section .section-heading { font-size: 1.875rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-gallery-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-gallery-section .section-heading { font-size: 3.75rem; } }

.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

.cta-band__title { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }

/* ---------------------------------------------------------------------
   SHOP BY COLLECTION
   --------------------------------------------------------------------- */
.theme-collection-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-collection-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.theme-collection-tile__img { transition: transform 0.7s var(--transition-smooth); }
.theme-collection-tile:hover .theme-collection-tile__img { transform: scale(1.05); }
.theme-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;
}
.theme-collection-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; text-align: left; color: var(--color-background); text-shadow: 0 1px 8px rgb(0 0 0 / 0.45); }
@media (min-width: 768px) { .theme-collection-tile__content { padding: 1.75rem; } }
.theme-collection-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5); }
.theme-collection-tile__tagline-bar { height: 1px; width: 1.5rem; background: currentColor; }
.theme-collection-tile__tagline--rosa { color: var(--color-primary); }
.theme-collection-tile__tagline--marigold { color: var(--color-accent); }
.theme-collection-tile__tagline--teal { color: var(--color-teal); }
.theme-collection-tile__title { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .theme-collection-tile__title { font-size: 1.875rem; } }
.theme-collection-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; }

/* ---------------------------------------------------------------------
   PRODUCT GRID + CARD (Coming Soon overlay, no add-to-cart, Section 19.1)
   --------------------------------------------------------------------- */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-product-grid--featured { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap.is-filtered-out,
.theme-product-card-wrap.is-hidden-by-count { display: none !important; }

.theme-product-card { display: flex; flex-direction: column; height: 100%; transition: transform 0.35s cubic-bezier(0.25, 0.4, 0.25, 1); }
.theme-product-card-wrap:hover .theme-product-card { transform: translateY(-4px); }
.theme-product-card__image-wrapper img,
.theme-product-card__image-wrapper .attachment-woocommerce_thumbnail,
.theme-product-gallery__main,
.theme-product-gallery__main-wrap img,
.theme-product-gallery__desktop-item img,
.theme-product-thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}
.theme-product-card__image-wrapper img {
	position: absolute;
	inset: 0;
}
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 3 / 4; background: var(--color-secondary);
	overflow: hidden; margin-bottom: 1.25rem;
}
.theme-product-card__image-wrapper img.cover-img { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image-wrapper img.cover-img { transform: scale(1.04); }
.theme-product-card__blur {
	position: absolute; inset: 0;
	backdrop-filter: blur(4px);
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	pointer-events: none;
}
.theme-product-card__badge-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.theme-product-card__badge {
	padding: 0.5rem 1.25rem; font-size: 0.8125rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: 0.22em;
	background: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	color: var(--color-background); border-radius: 9999px;
	backdrop-filter: blur(6px);
	border: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent);
}
.theme-product-card-wrap:not(.is-coming-soon) .theme-product-card__blur,
.theme-product-card-wrap:not(.is-coming-soon) .theme-product-card__badge-wrap { display: none; }
.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; }
.theme-product-card__title {
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.4;
	color: var(--color-foreground); margin-bottom: 0.5rem;
	transition: color 0.3s;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price,
.theme-product-card__price .price { font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); font-weight: 400; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } .theme-product-card__price, .theme-product-card__price .price { font-size: 1.125rem; } }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35rem; }

.theme-archive-shop { padding: 3rem 0 5rem; }
.theme-archive-shop__title { font-size: 2rem; margin-bottom: 2rem; }
.theme-archive-shop__empty { text-align: center; padding: 3rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   FEATURED PIECES FOOTER LINK
   --------------------------------------------------------------------- */
.theme-section__footer-cta { text-align: center; margin-top: 3.5rem; }

/* ---------------------------------------------------------------------
   ABOUT
   --------------------------------------------------------------------- */
.theme-about__inner { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .theme-about__inner { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .theme-about__inner { padding: 7rem 5rem; } }
.theme-about__content { max-width: 42rem; margin: 0 auto; text-align: center; }
.theme-about__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.theme-about__cta { display: inline-block; margin-top: 1rem; font-family: var(--font-display); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; }

/* ---------------------------------------------------------------------
   PROCESS
   --------------------------------------------------------------------- */
.theme-process__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-process__image-wrap { position: relative; min-height: 380px; }
@media (min-width: 768px) { .theme-process__image-wrap { min-height: 520px; } }
@media (min-width: 1024px) { .theme-process__image-wrap { min-height: 620px; } }
.theme-process__image { object-position: top; }
.theme-process__content-wrap { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-process__content-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-process__content-wrap { padding: 6rem 5rem; } }
.theme-process__content { max-width: 36rem; }
.theme-process__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) { .theme-process__quote { font-size: 1.5rem; } }
.theme-process__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* ---------------------------------------------------------------------
   WHAT WE DO — service rows
   --------------------------------------------------------------------- */
.theme-services-section { background: var(--color-butter); }
.theme-services__heading { padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .theme-services__heading { padding: 7rem 3.5rem; } }
.theme-service-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-service-row__image-wrap { position: relative; min-height: 360px; }
@media (min-width: 768px) { .theme-service-row__image-wrap { min-height: 500px; } }
@media (min-width: 1024px) {
	.theme-service-row__image-wrap { min-height: 560px; order: 1; }
	.theme-service-row.is-reversed .theme-service-row__image-wrap { order: 2; }
}
.theme-service-row__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-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
}
.theme-service-row__numeral--rosa { color: var(--color-primary); }
.theme-service-row__numeral--marigold { color: var(--color-accent); }
.theme-service-row__numeral--teal { color: var(--color-teal); }
.theme-service-row__content-wrap { display: flex; align-items: center; background: var(--color-butter); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-service-row__content-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) {
	.theme-service-row__content-wrap { padding: 6rem 5rem; order: 2; }
	.theme-service-row.is-reversed .theme-service-row__content-wrap { order: 1; }
}
.theme-service-row__content { max-width: 36rem; }
.theme-service-row__icon-line { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-service-row__icon {
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid;
}
.theme-service-row__icon svg { width: 1rem; height: 1rem; }
.theme-service-row__icon--rosa { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary); }
.theme-service-row__icon--marigold { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); color: var(--color-accent); }
.theme-service-row__icon--teal { border-color: color-mix(in srgb, var(--color-teal) 40%, transparent); color: var(--color-teal); }
.theme-service-row__kicker { font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--font-body); }
.theme-service-row__kicker--rosa { color: var(--color-primary); }
.theme-service-row__kicker--marigold { color: var(--color-accent); }
.theme-service-row__kicker--teal { color: var(--color-teal); }
.theme-service-row__desc { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .theme-service-row__desc { font-size: 1.125rem; } }

/* ---------------------------------------------------------------------
   SMALL WORKS — dark band
   --------------------------------------------------------------------- */
.theme-smallworks-section {
	background: var(--color-surface-deep);
	color: var(--color-surface-deep-foreground);
	border-top-color: color-mix(in srgb, var(--color-surface-deep-foreground) 15%, transparent);
}
.theme-smallworks__heading { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-smallworks__heading-italic { display: block; font-style: italic; color: var(--color-accent); }
.theme-smallworks__paragraph { font-family: var(--font-body); color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); line-height: 1.7; }
.theme-smallworks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-smallworks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-smallworks-tile { display: block; text-align: left; }
.theme-smallworks-tile__image-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: color-mix(in srgb, var(--color-surface-deep-foreground) 5%, transparent); }
.theme-smallworks-tile__image-wrap img.cover-img { transition: transform 0.6s var(--transition-smooth); }
.theme-smallworks-tile:hover .theme-smallworks-tile__image-wrap img.cover-img { transform: scale(1.05); }
.theme-smallworks-tile__row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding-top: 0.75rem; min-width: 0; }
.theme-smallworks-tile__title { font-size: 0.875rem; line-height: 1.3; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (min-width: 768px) { .theme-smallworks-tile__title { font-size: 1rem; } }
.theme-smallworks-tile__price,
.theme-smallworks-tile__price .price { font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); white-space: nowrap; }
.theme-smallworks__footer { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.theme-smallworks__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent); color: var(--color-accent); font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; }
.theme-smallworks__badge-bar { height: 1px; width: 1rem; background: var(--color-accent); }
.theme-smallworks__note { color: color-mix(in srgb, var(--color-surface-deep-foreground) 70%, transparent); font-size: 0.875rem; }

/* ---------------------------------------------------------------------
   ANTI FAST FASHION
   --------------------------------------------------------------------- */
.theme-aff__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-aff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-aff__image-wrap { position: relative; min-height: 420px; order: 2; }
@media (min-width: 768px) { .theme-aff__image-wrap { min-height: 560px; } }
@media (min-width: 1024px) { .theme-aff__image-wrap { min-height: 640px; order: 2; } }
.theme-aff__image-small {
	position: absolute; bottom: 1.5rem; left: 1.5rem;
	width: 8rem; height: auto; max-width: none;
	aspect-ratio: 3 / 4; object-fit: cover;
	box-shadow: var(--shadow-elevated);
	border: 4px solid var(--color-background);
}
@media (min-width: 768px) { .theme-aff__image-small { width: 11rem; } }
@media (min-width: 1024px) { .theme-aff__image-small { width: 13rem; } }
.theme-aff__content-wrap { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; order: 1; }
@media (min-width: 768px) { .theme-aff__content-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-aff__content-wrap { padding: 6rem 5rem; order: 1; } }
.theme-aff__content { max-width: 36rem; }
.theme-aff__heading-italic { display: block; font-style: italic; color: var(--color-primary); }
.theme-aff__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }
.theme-aff__paragraph--italic { font-style: italic; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2.5rem; }

/* ---------------------------------------------------------------------
   GALLERY MARQUEE
   --------------------------------------------------------------------- */
.theme-gallery-section { padding: 5rem 0; }
@media (min-width: 768px) { .theme-gallery-section { padding: 7rem 0; } }
.theme-gallery__heading { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-gallery__heading { margin-bottom: 3.5rem; } }
.theme-gallery__track-wrap { overflow: hidden; }
.theme-gallery__track { display: flex; gap: 1rem; overflow-x: auto; padding: 0 1.5rem 0.5rem; scrollbar-width: none; }
@media (min-width: 768px) { .theme-gallery__track { gap: 1.5rem; padding: 0 3rem 0.5rem; } }
@media (min-width: 1024px) { .theme-gallery__track { padding: 0 4rem 0.5rem; } }
.theme-gallery__track::-webkit-scrollbar { display: none; }
.theme-gallery__item { flex-shrink: 0; width: 78%; }
@media (min-width: 640px) { .theme-gallery__item { width: 55%; } }
@media (min-width: 768px) { .theme-gallery__item { width: 40%; } }
@media (min-width: 1024px) { .theme-gallery__item { width: 30%; } }
@media (min-width: 1280px) { .theme-gallery__item { width: 26%; } }
.theme-gallery__link { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; }
.theme-gallery__img { object-position: top; transition: transform 0.9s var(--transition-smooth); }
.theme-gallery__link:hover .theme-gallery__img { transform: scale(1.04); }
.theme-gallery__controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.theme-gallery__nav-btn {
	height: 3rem; width: 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.3s, border-color 0.3s;
}
.theme-gallery__nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ---------------------------------------------------------------------
   SHOP SECTION
   --------------------------------------------------------------------- */
.theme-shop__heading { text-align: center; margin-bottom: 3rem; }
.theme-shop__search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop__search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop__search-input {
	width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	padding: 0.5rem 0 0.5rem 1.75rem; font-size: 1rem; color: var(--color-foreground);
	transition: border-color 0.2s;
}
.theme-shop__search-input:focus { outline: none; border-bottom-color: var(--color-foreground); }
.theme-shop__categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-category-pill {
	padding: 0.5rem 1.25rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
	border-radius: 9999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
	transition: all 0.3s;
}
.theme-category-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-category-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-shop__price-filter-toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-shop__price-filter-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-foreground);
	transition: color 0.3s;
}
.theme-shop__price-filter-toggle:hover { color: var(--color-foreground); }
.theme-shop__price-filter-toggle svg { transition: transform 0.3s; }
.theme-shop__price-filter-toggle.is-open svg { transform: rotate(180deg); }
.theme-price-filter-panel { width: 100%; max-width: 22rem; padding: 0.5rem 0 1.5rem; }
.theme-price-filter__values { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.75rem; }

/* Dual-handle range slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 4px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
	-webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto;
	width: 1.25rem; height: 1.25rem; border-radius: 9999px;
	background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 9999px;
	background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop__show-more-wrap { text-align: center; margin-top: 3rem; }
.theme-shop__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   FINAL CTA
   --------------------------------------------------------------------- */
.theme-cta-section { position: relative; overflow: hidden; background: var(--color-butter); }
.theme-cta__bg { z-index: 0; }
.theme-cta__inner { position: relative; padding: 6rem 0; }
@media (min-width: 768px) { .theme-cta__inner { padding: 8rem 0; } }
.theme-cta__card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px); box-shadow: var(--shadow-elevated);
	padding: 3rem 2rem; border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .theme-cta__card { padding: 4rem 3.5rem; } }
.theme-cta__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 26rem; margin-inline: auto; }
.theme-cta__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-cta__actions { flex-direction: row; } }

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer__top { padding-top: 3rem; padding-bottom: 1.5rem; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 3.5rem; padding-bottom: 2rem; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.site-footer__brand .site-logo-img { height: var(--logo-height, 5rem) !important; width: auto !important; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: -0.015em; }
.site-footer__brand-name-italic { font-style: italic; font-weight: 300; color: var(--color-primary); }
.site-footer__brand-tagline { font-size: 0.625rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); }
.site-footer__nav-list { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
@media (min-width: 1024px) {
	.site-footer__nav-list { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; }
}
.site-footer__nav-list a { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.2s; }
.site-footer__nav-list a:hover { color: var(--color-foreground); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__contact-row { flex-direction: row; align-items: flex-start; gap: 1.25rem; } }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s; }
.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__address { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-style: normal; overflow-wrap: break-word; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__quote { font-size: 0.75rem; color: var(--color-muted-foreground); font-style: italic; font-family: var(--font-display); letter-spacing: 0.02em; }
.site-footer__bottom-right { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .site-footer__bottom-right { flex-direction: row; gap: 1rem; } }
.site-footer__copyright, .site-footer__credit { font-size: 0.75rem; color: var(--color-muted-foreground); letter-spacing: 0.02em; }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.site-footer__credit a:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------------------
   CONTACT MODAL
   --------------------------------------------------------------------- */
#theme-contact-overlay {
	position: fixed; inset: 0; z-index: 100; background: rgb(0 0 0 / 0.6);
	opacity: 0; transition: opacity 0.2s;
}
#theme-contact-overlay:not([hidden]) { opacity: 1; }
.theme-modal {
	position: fixed; top: 50%; left: 50%; z-index: 101;
	width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border-radius: var(--radius); box-shadow: var(--shadow-elevated);
	padding: 1.5rem; transform: translate(-50%, -48%) scale(0.97); opacity: 0;
	transition: opacity 0.2s, transform 0.2s;
}
.theme-modal:not([hidden]) { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.theme-modal__content { position: relative; }
.theme-modal__close { position: absolute; right: 0; top: 0; opacity: 0.7; padding: 0.35rem; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { margin-bottom: 1rem; padding-right: 1.5rem; }
.theme-modal__title { font-size: 1.5rem; margin-bottom: 0.35rem; }
.theme-modal__description { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-modal__contact-link { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.theme-modal__contact-link:hover { color: var(--color-foreground); }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success-text { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-modal__field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.35rem; display: block; }
.theme-modal__field input, .theme-modal__field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background);
	border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 1rem;
	transition: box-shadow 0.3s;
}
.theme-modal__field textarea { resize: none; }
.theme-modal__field input:focus, .theme-modal__field textarea:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-modal__form-actions { display: flex; justify-content: flex-end; }

body.theme-contact-open { overflow: hidden; }

/* ---------------------------------------------------------------------
   CART DRAWER
   --------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 91; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-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-foreground); }
.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-image {
	position: relative; display: block;
	width: 5rem; height: 6rem; background: var(--color-secondary);
	overflow: hidden; flex-shrink: 0;
}
.theme-cart-drawer__item-image img {
	position: static; display: block;
	width: 100%; height: 100% !important; max-width: 100%;
	object-fit: cover;
}
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-drawer__item-meta { font-size: 0.75rem; color: var(--color-muted-foreground); }
.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: 4px; transition: background 0.2s; }
.theme-cart-drawer__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-drawer__qty { 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-foreground); transition: color 0.2s; }
.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 { 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-foreground); }

/* Hide WooCommerce's own "View cart" link (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Scoped notice hiding (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }

/* ---------------------------------------------------------------------
   ADD TO CART BUTTON OVERRIDE (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,
button.single_add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	width: 100%;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.ajax_add_to_cart.theme-btn-loading,
.theme-single-add-to-cart.theme-btn-loading {
	opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important;
}
.btn-hero-primary, .theme-btn-hero-primary { text-transform: uppercase; letter-spacing: 0.3em; }

/* ---------------------------------------------------------------------
   SINGLE PRODUCT PAGE
   --------------------------------------------------------------------- */
.single-product-page { padding-top: calc(var(--site-top-offset) + 1.5rem); }
@media (min-width: 1024px) { .single-product-page { padding-top: calc(var(--site-top-offset) + 2rem); } }
.theme-product-detail .container-wide { padding-bottom: 6rem; }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a { transition: color 0.2s; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

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

.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-gallery__mobile { display: block; }
@media (min-width: 1024px) { .theme-product-gallery__mobile { display: none; } }
.theme-product-gallery__main-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__main { position: absolute; inset: 0; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; max-width: 100%; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground);
	opacity: 0; transition: opacity 0.2s;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-gallery__desktop { display: none; }
@media (min-width: 1024px) { .theme-product-gallery__desktop { display: flex; flex-direction: column; gap: 1rem; } }
.theme-product-gallery__desktop-item { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { position: sticky; top: 7rem; align-self: flex-start; padding-left: 1rem; } }
.theme-product-info__category { font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__title {
	font-family: var(--font-display); font-weight: 400; font-size: 1.875rem;
	line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 2.75rem; } }
.theme-product-info__price,
.theme-product-info__price .price { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 1.5rem; }
.theme-product-info__teaser { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__stock--out { color: var(--color-primary); font-weight: 600; margin-bottom: 1.5rem; }
.theme-product-info__block { margin-bottom: 1.5rem; }
.theme-product-info__label { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 600; font-style: normal; }

.theme-size-selector { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-pill {
	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; font-family: var(--font-body);
}
.theme-size-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-size-pill.is-selected { background: 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 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; padding: 0.5rem 0; text-align: center; font-size: 0.875rem;
	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-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem; }
.theme-variations-form .theme-variation-select { display: none !important; }
.theme-single-add-to-cart {
	flex: 1 1 auto; min-width: 160px;
	border-radius: 9999px !important;
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
}
.theme-single-add-to-cart:disabled,
.theme-single-add-to-cart.disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}
.theme-single-add-to-cart:hover:not(:disabled):not(.disabled) {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
	opacity: 1 !important;
}

.theme-accordion-group { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 1.25rem 0; text-align: left; font-size: 0.8125rem; letter-spacing: 0.25em; text-transform: uppercase;
}
.theme-accordion__chevron { transition: transform 0.3s; }
.theme-accordion__trigger.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { padding-bottom: 1.5rem; font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__desc p { margin-bottom: 1rem; }
.theme-accordion__details { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__details li { display: flex; align-items: flex-start; font-size: 0.9375rem; color: var(--color-muted-foreground); }
.theme-accordion__dot { width: 0.25rem; height: 0.25rem; border-radius: 9999px; background: var(--color-foreground); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-products__heading { text-align: center; margin-bottom: 3rem; }
.theme-related-products__heading-italic { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-products__heading-main { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__heading-main { font-size: 2.25rem; } }

/* ---------------------------------------------------------------------
   404
   --------------------------------------------------------------------- */
.theme-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.theme-404__inner { text-align: center; }
.theme-404__code { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------------------------------------------------------------------
   GENERIC PAGE
   --------------------------------------------------------------------- */
.theme-generic-content { padding: 7rem 0 5rem; }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }
.entry-content { line-height: 1.7; }
.entry-content p { margin-bottom: 1rem; }

/* =====================================================================
   WOOCOMMERCE CHECKOUT BLOCK OVERRIDE (Section 13)
   ===================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--site-top-offset); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-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, 2rem);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout__main { grid-column: 1; }
	body.woocommerce-checkout .wc-block-checkout__sidebar { grid-column: 2; }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-combobox .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	font-style: normal !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

/* ---------------------------------------------------------------------
   CART / MY ACCOUNT / THANK YOU — width & alignment parity (13.7)
   --------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main {
	padding-top: var(--site-top-offset);
	padding-bottom: 4rem;
}
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

/* ---------------------------------------------------------------------
   THANK YOU PAGE (Section 22.8)
   --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
	display: block;
}
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; }
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-order-details__title + table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
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; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px; overflow-wrap: break-word;
}
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}
