/* =========================================================================
   DFB Knifeworks — theme.css
   All visual styling for the theme lives in this file (Section 10 / 14).
   Color custom properties are emitted at runtime via wp_add_inline_style
   (functions.php) from the Customizer; the values below are compile-time
   fallbacks matching theme_default() (Section 6.1).
   ========================================================================= */

:root {
	--color-background: #f1eeea;
	--color-foreground: #1a1614;
	--color-primary: #312a25;
	--color-primary-foreground: #f3f0ed;
	--color-secondary: #e3ded9;
	--color-muted: #ddd9d4;
	--color-muted-foreground: #5c534d;
	--color-accent: #cc4f19;
	--color-accent-foreground: #f7f5f3;
	--color-border: #d0cac3;
	--color-button-text: #f3f0ed;
	--color-surface: #f9f8f6;

	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'Inter', 'Helvetica Neue', sans-serif;
	--font-condensed: 'Barlow Condensed', 'Inter', 'Helvetica Neue', sans-serif;

	--radius: 0.25rem;
	--card-radius: 0.25rem;
	--btn-radius: 0;
	--btn-height: 3rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;
	--logo-height: 86px;
	--logo-height-mobile: 76px;
	--logo-height-scrolled-mobile: 46px;
	--logo-height-scrolled-desktop: 52px;
	--header-height: 84px;
	--checkout-gap: 2rem;
	--theme-announcement-height: 36px;
	--theme-nav-height: 108px;
	--theme-site-header-stack: calc(var(--theme-announcement-height) + var(--theme-nav-height));
	--theme-admin-offset: 0px;

	--shadow-soft: 0 6px 24px -8px rgba(26, 22, 20, 0.1);
	--shadow-elevated: 0 14px 40px -12px rgba(26, 22, 20, 0.18);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* -------------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

html,
body {
	overflow-x: clip;
	max-width: 100%;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img,
video {
	border: 0;
	max-width: 100%;
	vertical-align: middle;
}

img:not(.cover-img):not(.hero-bg-img):not(.hero-carousel__slide):not(.product-card-img):not(.theme-product-gallery-img):not(.theme-product-thumb img):not(.featured-piece__image):not(.site-logo-img):not(.site-footer__logo):not(.mobile-menu__logo img):not(.theme-cart-drawer__pair-img) {
	max-width: 100%;
	height: auto;
}

.cover-img,
.hero-bg-img,
.hero-carousel__slide,
.product-card-img,
.featured-piece__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	background: none;
	border: none;
	color: inherit;
}

a[href],
button:not(:disabled),
[role="button"],
label[for],
select,
summary,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
.category-tile,
.featured-piece,
.shop-filter-dropdown__trigger,
.shop-filter-option,
.faq-item__question,
.footer-link,
.nav-link,
.mega-menu-link,
.mega-menu-col__all,
.mega-menu-feature,
.mobile-menu__sublink,
.mobile-menu__action,
.mobile-menu__toggle,
.search-cat-link,
.hero-carousel__dot,
.hamburger-btn,
.icon-btn {
	cursor: pointer;
}

button:disabled,
input:disabled {
	cursor: not-allowed;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

p {
	margin: 0;
}

input, textarea, select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	transition: opacity 0.3s ease;
}
.icon-btn:hover {
	opacity: 0.7;
}

/* -------------------------------------------------------------------------
   LAYOUT CONTAINERS
   ------------------------------------------------------------------------- */

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-inline: 1.5rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.container-wide { padding-inline: 2.5rem; }
}
@media (max-width: 379px) {
	.container-wide,
	.container-editorial { padding-inline: 1rem; }
}

.container-editorial {
	width: 100%;
	max-width: 64rem;
	margin: 0 auto;
	padding-inline: 1.5rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.container-editorial { padding-inline: 2.5rem; }
}

.label-eyebrow {
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	color: var(--color-muted-foreground);
	display: block;
}

.section-heading-md {
	font-family: var(--font-condensed);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-foreground);
	font-size: 1.5rem;
	letter-spacing: -0.01em;
}
@media (min-width: 768px) {
	.section-heading-md { font-size: 1.875rem; }
}

/* -------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */

.btn-technical,
.btn-technical-inverse {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3rem;
	padding: 0 2rem;
	font-family: var(--font-condensed);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	border: 1px solid var(--color-foreground);
	transition: background-color 0.3s ease, color 0.3s ease;
	border-radius: 0;
}
.btn-technical {
	background: var(--color-foreground);
	color: var(--color-background);
}
.btn-technical:hover {
	background: transparent;
	color: var(--color-foreground);
}
.btn-technical-inverse {
	background: var(--color-background);
	color: var(--color-foreground);
}
.btn-technical-inverse:hover {
	background: var(--color-foreground);
	color: var(--color-background);
}

/* -------------------------------------------------------------------------
   REVEAL ANIMATIONS (Section 2.1)
   ------------------------------------------------------------------------- */

.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.theme-product-card-wrap.reveal-item {
	transform: translateY(24px);
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

/* Customizer preview fallback — never hide content in the editor (Section 2.1.5) */
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@keyframes theme-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.animate-fade-in { animation: theme-fade-in 0.4s var(--ease-smooth) forwards; }

/* -------------------------------------------------------------------------
   ANNOUNCEMENT BAR
   ------------------------------------------------------------------------- */

.theme-announcement {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding-block: 0.375rem;
	position: relative;
}
.theme-announcement__text {
	font-size: 10px;
	letter-spacing: 0.36em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	text-align: center;
	padding-inline: 2.25rem;
	max-width: 100%;
	overflow-wrap: anywhere;
}
@media (max-width: 479px) {
	.theme-announcement__text {
		font-size: 9px;
		letter-spacing: 0.22em;
		padding-inline: 1.75rem 2.5rem;
	}
}
.theme-announcement__close {
	position: absolute;
	right: 0.5rem;
	padding: 0.25rem;
	opacity: 0.85;
}
.theme-announcement__close:hover { opacity: 0.6; }
body.announcement-hidden .theme-announcement { display: none; }
body.announcement-hidden { --theme-announcement-height: 0px; }

@media (min-width: 1024px) {
	:root { --theme-nav-height: 130px; }
}

/* -------------------------------------------------------------------------
   HEADER / NAV
   ------------------------------------------------------------------------- */

.site-header {
	position: fixed;
	left: 0;
	right: 0;
	top: var(--theme-announcement-height);
	z-index: 50;
	overflow-x: clip;
	overflow-y: visible;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
	transition: top 0.3s ease;
}

.site-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 108px;
	transition: height 0.5s var(--ease-smooth);
	min-width: 0;
	max-width: 100%;
}
.site-nav__icons {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex: 1;
	justify-content: flex-end;
	flex-shrink: 0;
}
@media (min-width: 1024px) {
	.site-nav { height: 130px; }
}
.site-header.is-scrolled .site-nav {
	height: 72px;
}
.site-header.is-scrolled {
	--theme-nav-height: 72px;
}
@media (min-width: 1024px) {
	.site-header.is-scrolled .site-nav { height: 84px; }
	.site-header.is-scrolled { --theme-nav-height: 84px; }
}

.site-nav__mobile-toggle {
	display: flex;
	align-items: center;
	flex: 1;
}
@media (min-width: 1024px) {
	.site-nav__mobile-toggle { display: none; }
}
.hamburger-btn {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 5px;
	padding: 0.5rem;
}
.hamburger-line {
	display: block;
	height: 2.5px;
	width: 20px;
	background: var(--color-foreground);
	border-radius: 1px;
	transition: all 0.3s var(--ease-smooth);
	transform-origin: center;
}
.hamburger-line--bottom { width: 14px; }
.hamburger-btn:hover .hamburger-line--bottom { width: 24px; }
body.mobile-menu-open .hamburger-line--top { width: 28px; transform: translateY(7.5px) rotate(45deg); }
body.mobile-menu-open .hamburger-line--mid { opacity: 0; transform: scaleX(0); }
body.mobile-menu-open .hamburger-line--bottom { width: 28px; transform: translateY(-7.5px) rotate(-45deg); }

.site-nav__logo {
	display: flex;
	align-items: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
@media (min-width: 1024px) {
	.site-nav__logo {
		position: static;
		flex: 1;
		justify-content: flex-start;
		transform: none;
	}
}
.site-logo-img {
	height: var(--logo-height-mobile) !important;
	width: auto !important;
	max-width: none !important;
	transition: height 0.5s var(--ease-smooth);
	display: block;
	object-fit: contain;
}
@media (min-width: 1024px) {
	.site-logo-img { height: var(--logo-height) !important; }
}
.site-header.is-scrolled .site-logo-img { height: var(--logo-height-scrolled-mobile) !important; }
@media (min-width: 1024px) {
	.site-header.is-scrolled .site-logo-img { height: var(--logo-height-scrolled-desktop) !important; }
}
.site-logo-text {
	font-family: var(--font-display);
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.site-nav__desktop {
	display: none;
}
@media (min-width: 1024px) {
	.site-nav__desktop {
		display: flex;
		align-items: center;
		gap: 2.25rem;
		justify-content: center;
	}
}
.mega-nav-item { position: relative; }
@media (min-width: 1024px) {
	.mega-nav-item { position: static; }
}
.nav-link {
	font-size: 13px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	transition: color 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}
.nav-link:hover, .mega-nav-item.is-open .nav-link { color: var(--color-primary); }

.mega-menu-panel {
	display: none;
	z-index: 40;
	background: var(--color-background);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
}
@media (min-width: 1024px) {
	.mega-menu-panel {
		position: absolute;
		top: 100%;
		left: 50%;
		width: 100vw;
		max-width: 100vw;
		transform: translateX(-50%);
		margin: 0;
	}
	.mega-nav-item.is-open .mega-menu-panel { display: block; }
}
.mega-menu-panel > .container-wide {
	padding-block: 3rem;
}
.mega-menu-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem;
}
.mega-menu-grid--with-feature { grid-template-columns: 2fr 2fr 1.3fr; }
.mega-menu-grid--with-feature.mega-menu-grid--single-col { grid-template-columns: 2fr 1.3fr; }
.mega-menu-col__title {
	font-size: 11px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 700;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--color-border);
}
.mega-menu-col__list { display: flex; flex-direction: column; gap: 0.75rem; }
.mega-menu-link {
	text-align: left;
	font-size: 0.875rem;
	font-family: var(--font-condensed);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	transition: color 0.3s ease;
}
.mega-menu-link:hover { color: var(--color-primary); }
.mega-menu-col__all {
	margin-top: 2rem;
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	border-bottom: 1px solid var(--color-foreground);
	padding-bottom: 0.25rem;
	align-self: flex-start;
	transition: color 0.3s ease, border-color 0.3s ease;
}
.mega-menu-col__all:hover { color: var(--color-primary); border-color: var(--color-primary); }

.mega-menu-feature {
	position: relative;
	display: none;
	overflow: hidden;
	text-align: left;
}
@media (min-width: 1024px) {
	.mega-menu-feature { display: block; }
}
.mega-menu-feature__media {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4/5;
	overflow: hidden;
}
.mega-menu-feature .cover-img {
	transition: transform 1.2s var(--ease-smooth);
}
.mega-menu-feature:hover .cover-img { transform: scale(1.05); }
.mega-menu-feature__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.2));
}
.mega-menu-feature__eyebrow {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	right: 1.5rem;
	z-index: 2;
	font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
	font-family: var(--font-condensed); font-weight: 600; color: rgba(255,255,255,0.95);
}
.mega-menu-feature__title {
	position: absolute;
	bottom: 1.5rem;
	left: 1.5rem;
	right: 1.5rem;
	z-index: 2;
	font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase;
	font-size: 1.5rem; line-height: 1.05; color: #fff;
	display: flex; flex-direction: column; gap: 0.75rem;
	text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}
.mega-menu-feature__cta {
	font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600;
	border-bottom: 1px solid rgba(255,255,255,0.8); padding-bottom: 0.25rem; align-self: flex-start;
}

.theme-cart-toggle { position: relative; }
.theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-family: var(--font-condensed);
	font-weight: 600;
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

/* -------------------------------------------------------------------------
   MOBILE MENU
   ------------------------------------------------------------------------- */

.mobile-menu-overlay {
	position: fixed; inset: 0; z-index: 65;
	background: rgba(0,0,0,0.4);
	opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.mobile-menu-open .mobile-menu-overlay { opacity: 1; pointer-events: auto; }

.mobile-menu {
	position: fixed; top: 0; left: 0; bottom: 0; z-index: 66;
	width: 88vw; max-width: 24rem;
	background: var(--color-background);
	border-right: 1px solid var(--color-border);
	display: flex; flex-direction: column;
	transform: translateX(-100%);
	transition: transform 0.4s var(--ease-smooth);
}
body.mobile-menu-open .mobile-menu { transform: translateX(0); }

.mobile-menu__header {
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 1.25rem; height: 108px;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	flex-shrink: 0;
}
.mobile-menu__logo img {
	height: 65px !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain;
}
.mobile-menu__nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }
.mobile-menu__section { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.mobile-menu__toggle {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 1rem 0.75rem; text-align: left;
	font-family: var(--font-display); font-size: 1.125rem; text-transform: none;
}
.mobile-menu__toggle svg { transition: transform 0.3s ease; }
.mobile-menu__section.is-open .mobile-menu__toggle svg { transform: rotate(180deg); }
.mobile-menu__submenu { display: none; padding: 0 0.75rem 0.75rem; }
.mobile-menu__section.is-open .mobile-menu__submenu { display: block; }
.mobile-menu__sublink {
	display: block; width: 100%; text-align: left; padding: 0.625rem 0;
	font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.mobile-menu__sublink--all { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary); text-decoration: underline; text-underline-offset: 4px; }
.mobile-menu__footer {
	border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 1rem 0.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; flex-shrink: 0;
}
.mobile-menu__action {
	display: flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: 0.75rem; border: 1px solid var(--color-border);
	font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; transition: all 0.2s ease;
}
.mobile-menu__action:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.mobile-menu__action--primary { grid-column: span 2; background: var(--color-primary); color: var(--color-primary-foreground); }

/* -------------------------------------------------------------------------
   SEARCH OVERLAY
   ------------------------------------------------------------------------- */

.search-overlay { position: fixed; inset: 0; z-index: 80; display: none; }
body.search-open .search-overlay { display: block; }
.search-overlay__scrim { position: absolute; inset: 0; background: rgba(26,22,20,0.4); backdrop-filter: blur(4px); }
.search-overlay__panel {
	position: relative; background: var(--color-background); width: 100%; max-height: 92vh; overflow-y: auto;
	border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-elevated);
}
.search-overlay__close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 10; }
@media (min-width: 1024px) { .search-overlay__close { top: 1.75rem; right: 2rem; } }
.search-overlay__grid { padding-block: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) {
	.search-overlay__grid { grid-template-columns: 260px 1fr; gap: 4rem; padding-block: 3.5rem; }
}
.search-overlay__categories h3 { font-family: var(--font-display); font-size: 1.5rem; text-transform: none; margin-bottom: 1.5rem; }
.search-overlay__categories ul { display: flex; flex-direction: column; gap: 0.875rem; }
.search-cat-link {
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	transition: color 0.3s ease;
}
.search-cat-link:hover { color: var(--color-primary); }
.search-overlay__input-row { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); padding-bottom: 0.75rem; }
#theme-search-input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-display); font-size: 1.5rem; text-transform: none; }
#theme-search-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.search-overlay__results { margin-top: 0; }
@media (min-width: 1024px) { .search-overlay__results { padding-right: 4rem; } }
.search-overlay__results-body { margin-top: 2.5rem; }
.search-overlay__results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 768px) { .search-overlay__results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .search-overlay__results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.search-result-item { text-align: left; display: block; }
.search-result-item__image { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); }
.search-result-item .cover-img { transition: transform 0.7s ease; }
.search-result-item:hover .cover-img { transform: scale(1.05); }
.search-result-item__name {
	margin-top: 0.75rem;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-family: var(--font-body);
	line-height: 1.375;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.search-result-item__price { margin-top: 0.25rem; font-size: 12px; font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.search-no-results { font-size: 0.875rem; font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.search-no-results em { font-family: var(--font-display); font-style: italic; }
.search-heading { font-family: var(--font-display); font-size: 1.5rem; text-transform: none; margin-bottom: 1.5rem; }

/* -------------------------------------------------------------------------
   HERO CAROUSEL
   ------------------------------------------------------------------------- */

.hero-carousel { position: relative; width: 100%; height: 100svh; overflow: hidden; }
body:not(.theme-no-hero) .hero-carousel { padding-top: 0; }
.hero-carousel__slides { position: absolute; inset: 0; }
.hero-carousel__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
	opacity: 0;
	transform: scale(1.04);
	transition: opacity 1.4s var(--ease-smooth), transform 1.4s var(--ease-smooth);
}
.hero-carousel__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-carousel__scrim {
	position: absolute; inset: 0; z-index: 2;
	background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2) 50%, transparent);
}
.hero-carousel__content-wrap { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; }
.hero-carousel__content-inner { width: 100%; padding-bottom: 6rem; }
@media (min-width: 768px) { .hero-carousel__content-inner { padding-bottom: 7rem; } }
.hero-carousel__content { max-width: 42rem; opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease-smooth) 0.3s, transform 1.2s var(--ease-smooth) 0.3s; }
.hero-carousel.is-ready .hero-carousel__content { opacity: 1; transform: translateY(0); }
.hero-carousel__eyebrow {
	display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
	font-family: var(--font-condensed); font-weight: 600; color: rgba(255,255,255,0.9);
	margin-bottom: 1.25rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-carousel__title {
	font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase;
	color: #fff; font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 1.5rem;
	text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .hero-carousel__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-carousel__title { font-size: 4.5rem; } }
.hero-carousel__subtitle {
	color: rgba(255,255,255,0.85); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
	font-family: var(--font-condensed); font-weight: 600; margin-bottom: 2rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-carousel__cta {
	display: inline-flex; align-items: center; justify-content: center;
	width: 240px; height: 3rem; background: #fff; color: var(--color-foreground);
	font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 700;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.hero-carousel__cta:hover { background: var(--color-foreground); color: #fff; }
.hero-carousel__dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 0.5rem; }
.hero-carousel__dot { height: 2px; width: 1.5rem; background: rgba(255,255,255,0.4); transition: all 0.5s ease; }
.hero-carousel__dot.is-active { width: 3rem; background: #fff; }

/* -------------------------------------------------------------------------
   CAPTION STRIP
   ------------------------------------------------------------------------- */

.caption-strip { border-bottom: 1px solid var(--color-border); }
.caption-strip__inner { padding-block: 2rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
@media (min-width: 768px) { .caption-strip__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.caption-strip__title { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.25rem; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .caption-strip__title { font-size: 1.5rem; } }
.caption-strip__cta {
	display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
	font-family: var(--font-body); transition: color 0.3s ease;
}
.caption-strip__cta:hover { color: var(--color-primary); }
.caption-strip__cta svg { transition: transform 0.3s ease; }
.caption-strip__cta:hover svg { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   SHOP BY CATEGORY
   ------------------------------------------------------------------------- */

.shop-categories-section { background: var(--color-background); scroll-margin-top: 6rem; }
.shop-categories__inner { padding-top: 4rem; padding-bottom: 3rem; }
@media (min-width: 1024px) {
	.shop-categories__inner { padding-top: 5rem; padding-bottom: 4rem; }
}
.shop-categories__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 1024px) { .shop-categories__top { margin-bottom: 2.5rem; } }
.shop-categories__clear { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; font-family: var(--font-condensed); color: var(--color-primary); }
.shop-categories__clear:hover { opacity: 0.7; }
.shop-categories__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
@media (min-width: 768px) { .shop-categories__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; } }
@media (min-width: 1024px) { .shop-categories__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.category-tile {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3/4;
	overflow: hidden;
	background: var(--color-secondary);
	text-align: left;
	grid-column: span 1;
	border: none;
	padding: 0;
	cursor: pointer;
}
@media (min-width: 768px) { .category-tile { aspect-ratio: 4/5; grid-column: span 2; } }
@media (min-width: 1024px) { .category-tile { aspect-ratio: 3/5; grid-column: span 1; } }
.category-tile--4 { grid-column: span 2; }
@media (min-width: 768px) {
	.category-tile--3,
	.category-tile--4 { grid-column: span 3; }
}
@media (min-width: 1024px) {
	.category-tile--3,
	.category-tile--4 { grid-column: span 1; }
}
.category-tile.is-active { box-shadow: inset 0 0 0 2px var(--color-primary); }
.category-tile .cover-img { transition: transform 1.2s var(--ease-smooth); }
.category-tile:hover .cover-img { transform: scale(1.05); }
.category-tile__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.15), transparent);
	pointer-events: none;
}
.category-tile__footer {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	padding: 1rem;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem;
}
@media (min-width: 1024px) { .category-tile__footer { padding: 1.25rem; } }
.category-tile__copy { min-width: 0; }
.category-tile__label {
	display: block;
	font-family: var(--font-condensed);
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-background);
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 10px rgba(0,0,0,0.6);
	overflow-wrap: anywhere;
}
@media (min-width: 1024px) { .category-tile__label { font-size: 1.125rem; } }
.category-tile__blurb {
	display: block;
	margin-top: 0.25rem;
	font-size: 12px;
	font-family: var(--font-body);
	color: color-mix(in srgb, var(--color-background) 75%, transparent);
	line-height: 1.375;
	overflow-wrap: anywhere;
}
@media (max-width: 479px) {
	.category-tile__blurb {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.category-tile__footer { padding: 0.75rem; }
	.category-tile__arrow { width: 2rem; height: 2rem; }
}
.category-tile__arrow {
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: var(--color-background);
	color: var(--color-foreground);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}
.category-tile:hover .category-tile__arrow { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   PROMO BANNER (full bleed)
   ------------------------------------------------------------------------- */

.promo-banner__media { position: relative; width: 100%; height: 60vh; overflow: hidden; }
@media (min-width: 768px) { .promo-banner__media { height: 70vh; } }
.promo-banner__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 55%, transparent); }
.promo-banner__content-wrap { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.promo-banner__content { width: 100%; padding-bottom: 3rem; max-width: 36rem; }
@media (min-width: 768px) { .promo-banner__content { padding-bottom: 4rem; } }
.promo-banner__eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 1rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.promo-banner__title { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.875rem; line-height: 0.95; margin-bottom: 2rem; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .promo-banner__title { font-size: 3rem; } }
@media (min-width: 1024px) { .promo-banner__title { font-size: 3.75rem; } }
.promo-banner__cta { display: inline-flex; align-items: center; justify-content: center; width: 220px; height: 3rem; background: #fff; color: var(--color-foreground); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 700; transition: all 0.3s ease; }
.promo-banner__cta:hover { background: var(--color-foreground); color: #fff; }

/* -------------------------------------------------------------------------
   FEATURED PIECES
   ------------------------------------------------------------------------- */

.featured-pieces-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 5rem 0; }
@media (min-width: 1024px) { .featured-pieces-section { padding: 6rem 0; } }
.featured-pieces__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .featured-pieces__top { margin-bottom: 3rem; } }
.featured-pieces__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .featured-pieces__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.featured-piece { display: block; }
.featured-piece__image-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--color-background); }
.featured-piece__image { transition: transform 1.2s var(--ease-smooth); }
.featured-piece:hover .featured-piece__image { transform: scale(1.03); }
.featured-piece__title { margin-top: 1.25rem; font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px; transition: color 0.3s ease; }
.featured-piece:hover .featured-piece__title { color: var(--color-primary); }
.featured-piece__cta { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s ease; }
.featured-piece:hover .featured-piece__cta { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   SHOP SECTION + FILTERS + PRODUCT GRID/CARD
   ------------------------------------------------------------------------- */

.shop-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.shop-section__top { padding-top: 5rem; padding-bottom: 1rem; text-align: center; }
@media (min-width: 1024px) { .shop-section__top { padding-top: 7rem; } }
.shop-section__top .label-eyebrow { text-align: center; margin-bottom: 0.75rem; }
.shop-heading { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }

.shop-filters {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 2.5rem 0;
	justify-content: center;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}
@media (min-width: 640px) {
	.shop-filters {
		flex-direction: row;
		gap: 1rem;
		flex-wrap: wrap;
		align-items: flex-end;
	}
}
.shop-filter-dropdown {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	max-width: none;
	min-width: 0;
}
@media (min-width: 640px) {
	.shop-filter-dropdown {
		flex: 1 1 12rem;
		width: auto;
		max-width: 20rem;
	}
}
.shop-filter-dropdown__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	background: var(--color-background);
	transition: border-color 0.3s ease;
}
.shop-filter-dropdown__trigger:hover { border-color: var(--color-primary); }
.shop-filter-dropdown__labels {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	flex: 1;
}
.shop-filter-dropdown__label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.shop-filter-dropdown__value {
	font-size: 0.875rem;
	margin-top: 0.125rem;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.shop-filter-dropdown__trigger svg { flex-shrink: 0; transition: transform 0.3s ease; }
.shop-filter-dropdown.is-open .shop-filter-dropdown__trigger svg { transform: rotate(180deg); }
.shop-filter-dropdown__menu {
	position: absolute; left: 0; right: 0; top: 100%; margin-top: 0.25rem; z-index: 30;
	background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated);
	max-height: 20rem; overflow-y: auto; display: none;
}
.shop-filter-dropdown.is-open .shop-filter-dropdown__menu { display: block; }
.shop-filter-option {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 0.625rem 1rem; text-align: left; font-size: 0.875rem; transition: background-color 0.2s ease;
}
.shop-filter-option:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.shop-filter-option.is-active { color: var(--color-primary); }
.shop-filter-option__check { display: none; }
.shop-filter-option.is-active .shop-filter-option__check { display: block; }
.shop-filters__clear-all { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-primary); align-self: center; }
.shop-filters__clear-all:hover { opacity: 0.7; }

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem 0.5rem;
	align-items: stretch;
	padding-bottom: 4rem;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; } }

.theme-product-card-wrap { display: block; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1/1; background: var(--color-muted); overflow: hidden; }
.theme-product-card__image { transition: transform 0.7s var(--ease-smooth); }
.theme-product-card-wrap:hover .theme-product-card__image { transform: scale(1.03); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.625rem;
	font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 600;
	background: var(--color-foreground); color: var(--color-background); z-index: 2;
}
.theme-product-card:has(.theme-product-card__badge) .theme-product-card__image { opacity: 0.6; }
.theme-product-card__info { padding-top: 1rem; padding-bottom: 0.25rem; flex: 1; min-width: 0; }
.theme-product-card__title {
	font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em;
	font-size: 15px; color: var(--color-foreground); transition: color 0.3s ease;
	overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.theme-product-card-wrap:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.5rem; font-size: 0.875rem; font-family: var(--font-condensed); font-weight: 600; color: var(--color-foreground); }
.theme-product-card__price del { color: var(--color-muted-foreground); font-weight: 400; text-decoration: line-through; margin-left: 0.375rem; }
.theme-product-card__price ins { text-decoration: none; color: var(--color-accent); }

.shop-empty-state { padding: 5rem 0; text-align: center; border: 1px dashed var(--color-border); }
.shop-empty-state__title { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.5rem; margin-bottom: 0.5rem; }
.shop-empty-state__text { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-product-card-wrap.is-filtered-out { display: none; }

/* -------------------------------------------------------------------------
   TWO-UP BANNERS
   ------------------------------------------------------------------------- */

.two-up-banners { padding: 4rem 0; }
@media (min-width: 1024px) { .two-up-banners { padding: 5rem 0; } }
.two-up-banners__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .two-up-banners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.two-up-banner { position: relative; aspect-ratio: 4/5; overflow: hidden; }
@media (min-width: 768px) { .two-up-banner { aspect-ratio: 5/6; } }
.two-up-banner img { transition: transform 1.2s var(--ease-smooth); }
.two-up-banner:hover img { transform: scale(1.04); }
.two-up-banner__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15) 55%, transparent); }
.two-up-banner__content { position: absolute; inset-inline: 0; bottom: 0; padding: 2rem; }
@media (min-width: 768px) { .two-up-banner__content { padding: 2.5rem; } }
.two-up-banner__eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 0.75rem; }
.two-up-banner__title { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 1.5rem; line-height: 0.95; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .two-up-banner__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .two-up-banner__title { font-size: 2.25rem; } }
.two-up-banner__cta { display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 2.75rem; background: #fff; color: var(--color-foreground); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-condensed); font-weight: 700; transition: all 0.3s ease; }
.two-up-banner__cta:hover { background: var(--color-foreground); color: #fff; }

/* -------------------------------------------------------------------------
   PROCESS / CRAFT
   ------------------------------------------------------------------------- */

.process-section__grid { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 80vh; min-width: 0; }
@media (min-width: 1024px) { .process-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.process-section__media { position: relative; min-height: 50vh; overflow: hidden; order: 2; min-width: 0; }
@media (min-width: 1024px) { .process-section__media { min-height: 100%; order: 1; } }
.process-section__copy { display: flex; flex-direction: column; justify-content: center; padding: 3rem 1.5rem; order: 1; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .process-section__copy { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .process-section__copy { padding: 5rem 5rem; order: 2; } }
.process-section__copy .label-eyebrow { margin-bottom: 1.5rem; }
.process-section__title { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; }
@media (min-width: 768px) { .process-section__title { font-size: 3rem; } }
.process-section__body { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); font-size: 15px; line-height: 1.6; margin-bottom: 2.5rem; max-width: 34rem; }
.process-section__quote { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.25rem; line-height: 1.4; border-top: 1px solid var(--color-border); padding-top: 2rem; }
@media (min-width: 768px) { .process-section__quote { font-size: 1.5rem; } }

/* -------------------------------------------------------------------------
   BRAND / ABOUT
   ------------------------------------------------------------------------- */

.brand-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 5rem 0; overflow-x: clip; max-width: 100%; }
@media (min-width: 1024px) { .brand-section { padding: 7rem 0; } }

.brand-story { position: relative; width: 100%; height: 70vh; overflow: hidden; margin-top: -5rem; margin-bottom: 0; }
@media (min-width: 768px) { .brand-story { height: 80vh; } }
@media (min-width: 1024px) { .brand-story { margin-top: -7rem; } }
.brand-story__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.35) 50%, transparent); }
.brand-story__content-wrap { position: absolute; inset: 0; display: flex; align-items: center; }
.brand-story__content { max-width: 36rem; }
.brand-story__title { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; color: #fff; font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.01em; margin-bottom: 1.5rem; text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .brand-story__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .brand-story__title { font-size: 4.5rem; } }
.brand-story__text { color: rgba(255,255,255,0.9); font-size: 14px; line-height: 1.7; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .brand-story__text { font-size: 15px; } }

.brand-maker { margin-bottom: 5rem; }
@media (min-width: 1024px) { .brand-maker { margin-bottom: 7rem; } }
.brand-maker__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; min-width: 0; }
@media (min-width: 1024px) { .brand-maker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand-maker__copy { padding: 3rem 1.5rem; display: flex; flex-direction: column; justify-content: center; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 1024px) { .brand-maker__copy { padding: 6rem 5rem; } }
.brand-maker__copy .label-eyebrow { margin-bottom: 1.5rem; }
.brand-maker__name { font-family: var(--font-display); font-weight: 400; text-transform: none; line-height: 0.9; letter-spacing: -0.01em; margin-bottom: 2.5rem; font-size: 2.5rem; overflow-wrap: anywhere; }
@media (min-width: 480px) { .brand-maker__name { font-size: 3rem; } }
@media (min-width: 768px) { .brand-maker__name { font-size: 4.5rem; } }
@media (min-width: 1024px) { .brand-maker__name { font-size: 6rem; } }
.brand-maker__body { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 15px; line-height: 1.6; max-width: 36rem; }
.brand-maker__quote { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.5rem; padding-top: 1rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .brand-maker__quote { font-size: 1.875rem; } }
.brand-maker__media { position: relative; min-height: 400px; min-width: 0; overflow: hidden; }
@media (min-width: 1024px) { .brand-maker__media { min-height: 700px; } }

.brand-make { text-align: center; }
.brand-make__top { margin-bottom: 2.5rem; }
.brand-make__title { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.875rem; line-height: 1.1; margin-top: 1rem; }
@media (min-width: 768px) { .brand-make__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .brand-make__title { font-size: 3rem; } }
.brand-make__body { max-width: 42rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 15px; line-height: 1.6; }
.brand-make__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .brand-make__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand-make__card { background: var(--color-background); padding: 1.5rem; border: 1px solid var(--color-border); text-align: center; }
.brand-make__card-label { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.25rem; }
.brand-make__card-sub { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.5rem; }

/* -------------------------------------------------------------------------
   FAQ + CONTACT
   ------------------------------------------------------------------------- */

.resources-section {
	padding: 5rem 0;
	max-width: 100%;
	overflow-x: clip;
}
@media (min-width: 1024px) { .resources-section { padding: 7rem 0; } }

.faq-block {
	min-width: 0;
	max-width: 100%;
}

.faq-block__heading {
	font-family: var(--font-condensed); font-weight: 400; text-transform: uppercase; letter-spacing: -0.01em;
	font-size: 2.25rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem;
	overflow-wrap: anywhere;
	max-width: 100%;
}
@media (min-width: 480px) {
	.faq-block__heading { font-size: 3rem; margin-bottom: 4rem; }
}
@media (min-width: 768px) { .faq-block__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .faq-block__heading { font-size: 4.5rem; } }

.faq-block__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.faq-block__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 5rem;
	}
}

.faq-block__intro,
.faq-block__accordion {
	grid-column: 1;
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) { .faq-block__intro { grid-column: span 4; } }
.faq-block__intro-sticky {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) { .faq-block__intro-sticky { position: sticky; top: 8rem; } }
.faq-block__intro-sticky p {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-foreground);
	overflow-wrap: anywhere;
}
@media (min-width: 768px) { .faq-block__intro-sticky p { font-size: 1.125rem; } }
.faq-block__contact-btn {
	display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 2rem;
	border: 1px solid var(--color-foreground); border-radius: 999px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
	font-weight: 500; transition: all 0.3s ease; align-self: flex-start;
}
.faq-block__contact-btn:hover { background: var(--color-foreground); color: var(--color-background); }
.faq-block__accordion {
	border-top: 1px solid var(--color-border);
}
@media (min-width: 1024px) { .faq-block__accordion { grid-column: span 8; } }
.faq-item { border-bottom: 1px solid var(--color-border); min-width: 0; }
.faq-item__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; text-align: left; min-width: 0; }
.faq-item__question span:first-child { font-size: 15px; line-height: 1.4; transition: color 0.3s ease; padding-right: 0.5rem; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1rem; } }
.faq-item__question:hover span:first-child { color: var(--color-primary); }
.faq-item__icon { flex-shrink: 0; margin-top: 0.125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s ease; }
.faq-item__question:hover .faq-item__icon { color: var(--color-primary); }
.faq-item__icon-minus { display: none; }
.faq-item[data-open="true"] .faq-item__icon-plus { display: none; }
.faq-item[data-open="true"] .faq-item__icon-minus { display: block; }
.faq-item__answer-wrap { height: auto; overflow: hidden; transition: height 0.4s var(--ease-smooth); }
.faq-item__answer { padding-bottom: 1.5rem; padding-right: 0.5rem; color: var(--color-muted-foreground); font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
@media (min-width: 768px) {
	.faq-item__question span:first-child { padding-right: 1rem; }
	.faq-item__answer { padding-right: 3rem; }
}

.contact-band {
	position: relative;
	margin-top: 6rem;
	margin-bottom: -5rem;
	overflow: hidden;
	border-radius: 2px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
@media (min-width: 1024px) { .contact-band { margin-bottom: -7rem; } }
.contact-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.contact-band__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.contact-band__inner {
	position: relative;
	text-align: center;
	padding-block: 6rem;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
@media (min-width: 768px) { .contact-band__inner { padding-block: 8rem; } }
.contact-band__eyebrow { text-align: center; color: rgba(255,255,255,0.8) !important; margin-bottom: 1.25rem; }
.contact-band__title { font-family: var(--font-display); font-weight: 400; text-transform: none; color: #fff; font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; }
@media (min-width: 768px) { .contact-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-band__title { font-size: 3.75rem; } }
.contact-band__body { max-width: 32rem; margin: 0 auto 2.5rem; color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.6; }
.contact-band__actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; align-items: center; width: 100%; min-width: 0; }
@media (min-width: 640px) { .contact-band__actions { flex-direction: row; flex-wrap: wrap; } }
.contact-band__email-btn,
.contact-band__address {
	max-width: 100%;
	width: 100%;
	text-align: center;
	overflow-wrap: anywhere;
	box-sizing: border-box;
}
@media (min-width: 640px) {
	.contact-band__email-btn,
	.contact-band__address {
		width: auto;
	}
}
.contact-band__email-btn {
	display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem;
	background: var(--color-accent); color: var(--color-accent-foreground); font-family: var(--font-condensed); text-transform: uppercase;
	letter-spacing: 0.18em; font-size: 0.875rem; font-weight: 700; border: 1px solid var(--color-accent);
	box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--color-accent) 60%, transparent); transition: background-color 0.2s ease;
}
.contact-band__email-btn:hover { background: color-mix(in srgb, var(--color-accent) 90%, black); }
.contact-band__address {
	display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2rem;
	border: 1px solid rgba(255,255,255,0.4); color: #fff; font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */

.site-footer {
	background: var(--color-foreground);
	color: var(--color-background);
	max-width: 100%;
	overflow-x: clip;
}

.site-footer__newsletter {
	border-bottom: 1px solid rgba(255,255,255,0.15);
	max-width: 100%;
	overflow-x: clip;
}

.site-footer__newsletter-inner {
	padding-block: 3.5rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.site-footer__newsletter-inner {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}
}

.site-footer__newsletter-copy {
	grid-column: 1;
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) { .site-footer__newsletter-copy { grid-column: span 6; } }

.site-footer__newsletter-eyebrow {
	color: rgba(255,255,255,0.6) !important;
	margin-bottom: 0.75rem;
	overflow-wrap: anywhere;
}
@media (max-width: 479px) {
	.site-footer__newsletter-eyebrow {
		font-size: 10px;
		letter-spacing: 0.22em;
	}
}

.site-footer__newsletter-title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: none;
	font-size: 1.875rem;
	line-height: 1.05;
	overflow-wrap: anywhere;
	max-width: 100%;
}
@media (min-width: 1024px) { .site-footer__newsletter-title { font-size: 2.25rem; } }

.site-footer__newsletter-form {
	grid-column: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.site-footer__newsletter-form {
		flex-direction: row;
		align-items: flex-end;
		gap: 0;
		grid-column: span 6;
	}
}

.site-footer__newsletter-input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255,255,255,0.4);
	padding: 0.75rem 0.25rem;
	font-size: 0.875rem;
	color: #fff;
	box-sizing: border-box;
}
.site-footer__newsletter-input::placeholder { color: rgba(255,255,255,0.5); }
.site-footer__newsletter-input:focus { outline: none; border-color: #fff; }

.site-footer__newsletter-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	max-width: 100%;
	padding: 0 1rem;
	height: 3rem;
	margin-left: 0;
	background: #fff;
	color: var(--color-foreground);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	transition: all 0.2s ease;
	box-sizing: border-box;
	flex-shrink: 0;
}
@media (min-width: 1024px) {
	.site-footer__newsletter-submit {
		width: auto;
		margin-left: 0.75rem;
		padding: 0 1.5rem;
		letter-spacing: 0.3em;
		flex-shrink: 0;
	}
}
.site-footer__newsletter-submit:hover { background: var(--color-accent); color: var(--color-accent-foreground); }

.site-footer__main { padding-block: 4rem 5rem; }
@media (min-width: 1024px) { .site-footer__main { padding-block: 5rem 6rem; } }
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	min-width: 0;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; } }
.site-footer__brand { grid-column: 1; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .site-footer__brand { grid-column: span 4; } }
.site-footer__logo-link { display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; }
.site-footer__logo { display: block; height: 3.5rem; width: auto; max-width: 100%; object-fit: contain; }
.site-footer__tagline { font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: 0.24em; font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.6); margin-top: 0.75rem; }
.site-footer__about { margin-top: 1.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); max-width: 24rem; line-height: 1.6; }
.site-footer__social { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.site-footer__social-link { color: rgba(255,255,255,0.7); transition: color 0.3s ease; }
.site-footer__social-link:hover { color: #fff; }
.site-footer__col { grid-column: 1; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .site-footer__col { grid-column: span 2; } }
.site-footer__col-title {
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	color: rgba(255,255,255,0.6);
	margin-bottom: 1.25rem;
	overflow-wrap: anywhere;
}
@media (max-width: 479px) {
	.site-footer__col-title { letter-spacing: 0.22em; }
}
.site-footer__col-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link { font-size: 0.875rem; color: rgba(255,255,255,0.8); text-align: left; transition: color 0.3s ease; }
.footer-link:hover { color: #fff; }
.site-footer__contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.site-footer__contact-item svg { flex-shrink: 0; margin-top: 0.125rem; }
.site-footer__contact-item a { word-break: break-all; }
.site-footer__contact-item a:hover { color: #fff; }
.site-footer__contact-item--muted { color: rgba(255,255,255,0.6); padding-top: 0.25rem; }
.site-footer__bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__copyright {
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	color: rgba(255,255,255,0.55);
	text-align: center;
	max-width: 100%;
	overflow-wrap: anywhere;
}
@media (max-width: 479px) {
	.site-footer__copyright {
		font-size: 9px;
		letter-spacing: 0.18em;
	}
}

/* -------------------------------------------------------------------------
   CART DRAWER
   ------------------------------------------------------------------------- */

#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 32rem; z-index: 91;
	background: var(--color-background); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s 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: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); flex-shrink: 0; }
.theme-cart-drawer__title { font-family: var(--font-display); font-style: italic; font-weight: 400; text-transform: none; font-size: 1.5rem; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image { width: 6rem; height: 8rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-foreground); transition: opacity 0.3s ease; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem; font-style: italic; }
.theme-cart-item__price { font-size: 0.875rem; margin-top: 0.375rem; }
.theme-cart-item__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-quantity-wrapper--sm .theme-qty-minus, .theme-quantity-wrapper--sm .theme-qty-plus { padding: 0.375rem 0.625rem; }
.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: var(--color-secondary); }
.theme-quantity-wrapper__value, .theme-qty-input { padding: 0 0.75rem; font-size: 0.875rem; min-width: 28px; 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-cart-item__remove { font-size: 0.75rem; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; transition: color 0.3s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__pair { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.theme-cart-drawer__pair-title { font-family: var(--font-display); font-style: italic; font-weight: 400; text-transform: none; font-size: 1.125rem; margin-bottom: 1rem; }
.theme-cart-drawer__pair-row {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	padding-bottom: 0.5rem;
	max-width: 100%;
}
.theme-cart-drawer__pair-item {
	flex-shrink: 0;
	width: 8rem;
	text-align: left;
	display: block;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	min-height: unset !important;
	padding: 0 !important;
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	cursor: pointer;
}
.theme-cart-drawer__pair-item:hover {
	opacity: 1 !important;
	background: transparent !important;
	color: inherit !important;
}
.theme-cart-drawer__pair-media {
	position: relative;
	aspect-ratio: 3 / 4;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	background: var(--color-secondary);
	margin-bottom: 0.5rem;
}
.theme-cart-drawer__pair-media img,
.theme-cart-drawer__pair-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.7s ease;
}
.theme-cart-drawer__pair-item:hover .theme-cart-drawer__pair-media img { transform: scale(1.05); }
.theme-cart-drawer__pair-name { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-cart-drawer__pair-price { display: block; font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }

.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0; }
.theme-cart-drawer__subtotal-row { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* -------------------------------------------------------------------------
   CONTACT MODAL
   ------------------------------------------------------------------------- */

.contact-modal-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,0.8); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
body.contact-modal-open .contact-modal-overlay { opacity: 1; pointer-events: auto; }
.contact-modal {
	position: fixed; left: 50%; top: 50%; z-index: 96; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border: 1px solid var(--color-border); padding: 1.5rem;
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
body.contact-modal-open .contact-modal { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.contact-modal__close { position: absolute; right: 1rem; top: 1rem; }
.contact-modal__title { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.5rem; line-height: 1.2; margin-top: 0.5rem; }
.contact-modal__description { font-size: 15px; line-height: 1.6; color: var(--color-muted-foreground); margin-top: 0.5rem; }
.contact-modal__meta { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 0.5rem; }
.contact-modal__meta-row { display: flex; align-items: center; gap: 0.5rem; }
.contact-modal__meta-row a:hover { color: var(--color-foreground); }
.contact-modal__form { margin-top: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-modal__form-row { grid-template-columns: 1fr 1fr; } }
.contact-modal__field label { margin-bottom: 0.375rem; }
.contact-modal__field input, .contact-modal__field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 0.875rem; transition: border-color 0.3s ease;
}
.contact-modal__field textarea { resize: none; }
.contact-modal__field input:focus, .contact-modal__field textarea:focus { outline: none; border-color: var(--color-primary); }
.contact-modal__form-footer { display: flex; justify-content: flex-end; }
.contact-modal__submit { height: 2.75rem; padding: 0 1.5rem; }
.contact-modal__success { text-align: center; padding-block: 2rem; }
.contact-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.contact-modal__success h3 { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 1.25rem; margin-bottom: 0.5rem; }
.contact-modal__success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* =========================================================================
   WOOCOMMERCE OVERRIDES (Section 14)
   ========================================================================= */

.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message,
#theme-cart-drawer .woocommerce-info { display: none; }

.woocommerce-error {
	display: block; background: var(--color-background); border: 1px solid var(--color-accent); color: var(--color-foreground);
	padding: 1rem 1.5rem; font-size: 0.875rem; border-radius: var(--radius); margin: 1rem 0; list-style: none;
}

/* Add-to-cart button (Section 11.4.1) — exclude cart drawer pair tiles */
.single_add_to_cart_button.button,
.add_to_cart_button.button:not(.theme-cart-drawer__pair-item),
a.single_add_to_cart_button,
a.add_to_cart_button:not(.theme-cart-drawer__pair-item) {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:not(.theme-cart-drawer__pair-item):hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide WooCommerce's injected "View cart" link (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; }

/* Single product layout — ProductDetail.tsx parity */
body.single-product .single-product-main,
body.single-product .single-product-page.single-product-main {
	padding-top: var(--theme-site-header-stack) !important;
	padding-bottom: 0;
	background: var(--color-background);
}
body.admin-bar.single-product .single-product-main,
body.admin-bar.single-product .single-product-page.single-product-main {
	padding-top: calc(var(--theme-site-header-stack) + var(--theme-admin-offset)) !important;
}

.single-product-main .theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-layout { grid-template-columns: minmax(0, 1fr) 440px; }
}
@media (min-width: 1280px) {
	.single-product-main .theme-product-layout { grid-template-columns: minmax(0, 1fr) 500px; }
}

.single-product-main .theme-product-gallery,
.single-product-main .theme-product-info { min-width: 0; max-width: 100%; }
.single-product-main .theme-product-gallery { position: relative; background: var(--color-background); }
@media (min-width: 1024px) {
	.single-product-main .theme-product-gallery {
		position: sticky;
		top: var(--theme-site-header-stack);
		align-self: start;
	}
}
body.admin-bar.single-product .single-product-main .theme-product-gallery {
	top: calc(var(--theme-site-header-stack) + var(--theme-admin-offset));
}

.single-product-main .theme-product-gallery__inner {
	display: flex;
	align-items: center;
}
.single-product-main .theme-product-thumbnails--desktop {
	display: none;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem;
	background: color-mix(in srgb, var(--color-background) 40%, transparent);
	flex-shrink: 0;
	align-self: center;
}
@media (min-width: 768px) {
	.single-product-main .theme-product-thumbnails--desktop { display: flex; }
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-thumbnails--desktop { padding: 1.5rem; }
}
.single-product-main .theme-product-thumbnails--mobile {
	display: flex;
	gap: 0.5rem;
	padding: 1rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	max-width: 100%;
}
@media (min-width: 768px) {
	.single-product-main .theme-product-thumbnails--mobile { display: none; }
}

.single-product-main .theme-product-thumb {
	width: 3.5rem;
	height: 3.5rem;
	overflow: hidden;
	border: 1px solid transparent;
	opacity: 0.6;
	transition: all 0.3s ease;
	flex-shrink: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-thumb { width: 4rem; height: 4rem; }
}
.single-product-main .theme-product-thumbnails--mobile .theme-product-thumb { width: 4rem; height: 4rem; }
.single-product-main .theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-product-main .theme-product-thumb.is-active,
.single-product-main .theme-product-thumb:hover { border-color: var(--color-foreground); opacity: 1; }

.single-product-main .theme-product-gallery__main {
	flex: 1;
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}
@media (min-width: 768px) {
	.single-product-main .theme-product-gallery__main { min-height: 78vh; padding: 2rem; }
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-gallery__main { min-height: 88vh; }
}

.single-product-main .theme-product-gallery-img {
	position: static !important;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
	display: block;
}

.single-product-main .theme-product-info { padding: 2.5rem 1.5rem; }
@media (min-width: 768px) {
	.single-product-main .theme-product-info { padding: 2.5rem 2.5rem; }
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-info { padding: 4rem 3rem; }
}

.single-product-main .theme-product-breadcrumb {
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin-bottom: 1.5rem;
}
.single-product-main .theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.single-product-main .theme-product-breadcrumb span { margin: 0 0.5rem; }

.single-product-main .product-title.theme-product-title {
	font-family: var(--font-body);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 0.22em;
	line-height: 1.5;
	color: var(--color-foreground);
}
@media (min-width: 768px) {
	.single-product-main .product-title.theme-product-title { font-size: 1rem; }
}

.single-product-main .theme-product-sku {
	margin-top: 0.75rem;
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
}
.single-product-main .theme-product-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.single-product-main .theme-product-price {
	font-family: var(--font-body);
	font-size: 1.125rem;
	color: var(--color-foreground);
}
.single-product-main .theme-product-stock--out {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent);
	font-weight: 600;
}
.single-product-main .theme-product-note {
	margin-top: 1.75rem;
	margin-bottom: 0;
	background: color-mix(in srgb, var(--color-secondary) 70%, transparent);
	padding: 1rem 1.25rem;
	font-size: 13px;
	font-family: var(--font-body);
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	line-height: 1.625;
}

.single-product-main .theme-product-cta { margin-top: 2rem; }
.single-product-main .theme-btn-pdp,
.single-product-main .single_add_to_cart_button.theme-btn-pdp {
	width: 100% !important;
	height: 3.5rem !important;
	min-height: 3.5rem !important;
	border-radius: 0 !important;
	background: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: 1px solid var(--color-foreground) !important;
	font-size: 12px !important;
	letter-spacing: 0.28em !important;
	text-transform: uppercase !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	padding: 0 1rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: none !important;
	min-width: 0 !important;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}
.single-product-main .theme-btn-pdp:hover:not(:disabled):not(.disabled),
.single-product-main .single_add_to_cart_button.theme-btn-pdp:hover:not(:disabled):not(.disabled) {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-color: var(--color-primary) !important;
	opacity: 1 !important;
}
.single-product-main .theme-btn-pdp:disabled,
.single-product-main .theme-btn-pdp.disabled,
.single-product-main .single_add_to_cart_button.theme-btn-pdp:disabled,
.single-product-main .single_add_to_cart_button.theme-btn-pdp.disabled {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.single-product-main .theme-product-details { margin-top: 3rem; }
.single-product-main .theme-product-details__heading {
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-foreground);
	margin-bottom: 1.25rem;
}
.single-product-main .theme-product-description {
	font-family: var(--font-display);
	font-size: 19px;
	line-height: 1.55;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	font-weight: 400;
	overflow-wrap: break-word;
	white-space: pre-line;
}
.single-product-main .theme-product-description p { margin-bottom: 0; }
.single-product-main .theme-product-details__list {
	margin-top: 1.5rem;
	list-style: disc;
	padding-left: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	font-family: var(--font-body);
	font-size: 14px;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.single-product-main .theme-product-details__list li { line-height: 1.625; }
.single-product-main .theme-product-details__list li::marker { color: var(--color-primary); }

.single-product-main .woocommerce-variation-price,
.single-product-main .woocommerce-variation-availability,
.single-product-main .woocommerce-variation-description,
.single-product-main .single_variation_wrap > .woocommerce-variation,
.single-product-main .reset_variations { display: none !important; }

.single-product-main .related-products-section {
	padding: 6rem 0;
	border-top: 1px solid var(--color-border);
	margin-top: 3rem;
}
.single-product-main .related-products__top { margin-bottom: 3rem; }
.single-product-main .related-products__heading {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: none;
	font-size: 1.875rem;
	line-height: 1.2;
}
@media (min-width: 768px) {
	.single-product-main .related-products__heading { font-size: 2.25rem; }
}
.single-product-main .related-products__heading em { font-style: italic; }

.single-product-main .theme-related-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem 2rem;
}
@media (min-width: 640px) {
	.single-product-main .theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.single-product-main .theme-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.single-product-main .theme-related-card { display: block; }
.single-product-main .theme-related-card__image-wrap {
	position: relative;
	aspect-ratio: 1/1;
	background: var(--color-muted);
	overflow: hidden;
}
.single-product-main .theme-related-card__image { transition: transform 0.7s var(--ease-smooth); }
.single-product-main .theme-related-card:hover .theme-related-card__image { transform: scale(1.03); }
.single-product-main .theme-related-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.25rem 0.625rem;
	font-size: 10px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	background: var(--color-foreground);
	color: var(--color-background);
}
.single-product-main .theme-related-card:has(.theme-related-card__badge) .theme-related-card__image { opacity: 0.6; }
.single-product-main .theme-related-card__info { padding-top: 1rem; padding-bottom: 0.25rem; }
.single-product-main .theme-related-card__title {
	font-family: var(--font-condensed);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-size: 15px;
	color: var(--color-foreground);
	transition: color 0.3s ease;
}
.single-product-main .theme-related-card:hover .theme-related-card__title { color: var(--color-primary); }
.single-product-main .theme-related-card__price {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	font-family: var(--font-condensed);
	font-weight: 600;
	color: var(--color-foreground);
	font-variant-numeric: tabular-nums;
}

/* Legacy single-product selectors (shop/archive safety) */
.single-product-page { padding-top: var(--theme-site-header-stack); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 440px; } }
@media (min-width: 1280px) { .theme-product-layout { grid-template-columns: 1fr 500px; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

/* Product card compact button variant safety-net (card currently has no button, kept for future use) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
}

/* Variations + attribute swatches */
.theme-product-variations { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-attr-row { margin-top: 1.75rem; }
.theme-attr-label { display: block; margin-bottom: 0.75rem; }
.theme-attr-select-wrap { position: relative; }
.theme-attr-select-wrap--sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-attr-options--color { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-color-swatch {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	max-width: 20rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--color-border);
	background: transparent;
	text-align: left;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.theme-color-swatch.is-selected {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}
.theme-color-swatch__dot {
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	flex-shrink: 0;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
}
.theme-color-swatch__name { font-size: 0.875rem; font-family: var(--font-body); }
.theme-attr-options--pill { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	min-width: 3.5rem;
	padding: 0.625rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	border: 1px solid var(--color-border);
	background: transparent;
	transition: all 0.2s ease;
}
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-selected {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-attr-select-sr-only,
.theme-attr-select-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.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; }

/* Cart drawer line meta */
.theme-cart-item__meta { list-style: none; margin: 0.375rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-cart-item__meta-row { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--color-muted-foreground); font-style: italic; font-family: var(--font-body); }
.theme-cart-item__meta-label { flex-shrink: 0; }
.theme-cart-item__meta-swatch { width: 0.75rem; height: 0.75rem; border-radius: 999px; flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-cart-item__variation { display: none; }

/* Thank you page */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-thankyou { padding: 3rem 0; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-weight: 400; text-transform: none; 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: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.25rem; font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; margin-top: 1.5rem; border-collapse: collapse; }
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); font-size: 0.875rem; text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* -------------------------------------------------------------------------
   CHECKOUT BLOCK (Section 13 — Lovable-aligned)
   ------------------------------------------------------------------------- */

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-checkout-main,
body.theme-no-hero .theme-checkout-main {
	padding-top: var(--theme-site-header-stack);
	padding-bottom: 4rem;
}

body.woocommerce-checkout .theme-page-container,
body.woocommerce-checkout .theme-page-container--checkout {
	max-width: 80rem;
	width: 100%;
	margin-inline: auto;
}

body.woocommerce-checkout .entry-content {
	max-width: none;
	width: 100%;
}

.theme-checkout-header {
	margin-bottom: 2rem;
	scroll-margin-top: var(--theme-site-header-stack);
}
.theme-checkout-header__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-family: var(--font-condensed);
	font-weight: 600;
	color: var(--color-muted-foreground);
	margin-bottom: 1.5rem;
	transition: color 0.2s ease;
}
.theme-checkout-header__back:hover { color: var(--color-foreground); }
.theme-checkout-header__title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: none;
	font-size: 2.25rem;
	margin: 0 0 0.75rem;
}
.theme-checkout-header__intro {
	font-size: 0.9375rem;
	color: var(--color-muted-foreground);
	max-width: 42rem;
	margin: 0;
	line-height: 1.6;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: 80rem;
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

@media (min-width: 960px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
		gap: var(--checkout-gap, 1.5rem);
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > *,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > *,
	.entry-content .wc-block-components-sidebar-layout > *,
	.entry-content .wc-block-checkout-sidebar-layout > * {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-components-notice-banner,
	.entry-content .wc-block-components-notices,
	.entry-content .wc-block-components-notice-banner {
		grid-column: 1 / -1;
		order: 1;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
	.entry-content .wc-block-checkout__main,
	.entry-content .wp-block-woocommerce-checkout-fields-block {
		order: 2;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wp-block-woocommerce-checkout-totals-block {
		order: 3;
		min-width: 0;
	}
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: 80rem;
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	background-color: var(--color-surface);
	border-radius: var(--card-radius);
	padding: 2rem;
	width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

body.woocommerce-checkout .wc-block-checkout-empty .wc-block-components-button,
.entry-content .wc-block-checkout-empty .wc-block-components-button {
	margin-inline: auto;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 0.875rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-background);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary); outline: none; }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-condensed);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 700;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-cart-items { width: 100%; }

/* Section 13.7 — cart / account / thank-you width parity */
body.woocommerce-cart .theme-page-container,
body.woocommerce-account .theme-page-container,
body.theme-thankyou-page .theme-page-container { max-width: 80rem; }

/* -------------------------------------------------------------------------
   RESPONSIVE + OVERFLOW GUARDS
   ------------------------------------------------------------------------- */

#main-content {
	overflow-x: clip;
	max-width: 100%;
}

.hero-carousel,
.promo-banner,
.shop-categories-section,
.featured-pieces-section,
.shop-section,
.two-up-banners,
.process-section,
.resources-section {
	max-width: 100%;
	overflow-x: clip;
}

.hero-carousel__content,
.hero-carousel__title,
.hero-carousel__eyebrow,
.hero-carousel__subtitle,
.shop-heading,
.promo-banner__title,
.brand-story__title,
.two-up-banner__title,
.process-section__title,
.contact-band__title,
.theme-checkout-header__title,
.page-title {
	overflow-wrap: anywhere;
}

.shop-categories__top,
.featured-pieces__top {
	min-width: 0;
}

.shop-categories__top .section-heading-md,
.featured-pieces__top .section-heading-md {
	min-width: 0;
	overflow-wrap: anywhere;
}

@media (max-width: 479px) {
	.label-eyebrow {
		font-size: 10px;
		letter-spacing: 0.22em;
	}

	.hero-carousel__title { font-size: 2rem; }
	.hero-carousel__content-inner { padding-bottom: 5rem; }

	.hero-carousel__cta,
	.promo-banner__cta,
	.two-up-banner__cta {
		width: 100%;
		max-width: 100%;
		padding-inline: 1rem;
		letter-spacing: 0.22em;
	}

	.shop-heading { font-size: 2rem; }
	.promo-banner__title { font-size: 1.625rem; }
	.brand-story__title { font-size: 2rem; }
	.two-up-banner__content { padding: 1.5rem; }

	.theme-cart-drawer__header,
	.theme-cart-drawer__items,
	.theme-cart-drawer__footer {
		padding-inline: 1.25rem;
	}

	.single-product-main .theme-product-info {
		padding-inline: 1.25rem;
	}

	.single-product-main .theme-product-breadcrumb {
		font-size: 10px;
		letter-spacing: 0.18em;
		overflow-wrap: anywhere;
	}

	.site-logo-img {
		max-width: min(52vw, 180px) !important;
	}
}

body.woocommerce-checkout .theme-page-container,
body.woocommerce-checkout .theme-page-container--checkout,
body.woocommerce-checkout .entry-content {
	padding-inline: 1.5rem;
	box-sizing: border-box;
}
@media (max-width: 379px) {
	body.woocommerce-checkout .theme-page-container,
	body.woocommerce-checkout .theme-page-container--checkout,
	body.woocommerce-checkout .entry-content {
		padding-inline: 1rem;
	}
}

/* -------------------------------------------------------------------------
   GENERIC PAGES
   ------------------------------------------------------------------------- */

.generic-content { padding-top: var(--theme-site-header-stack); padding-bottom: 3rem; }
body.theme-no-hero .generic-content { padding-top: var(--theme-site-header-stack); }
.page-title { font-family: var(--font-display); font-weight: 400; text-transform: none; font-size: 2.25rem; margin-bottom: 1.5rem; }

.not-found-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.not-found-page__inner { text-align: center; }
.not-found-page__code { font-family: var(--font-display); font-weight: 700; text-transform: none; font-size: 2.5rem; margin-bottom: 1rem; }
.not-found-page__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.not-found-page__link { color: var(--color-primary); text-decoration: underline; }
.not-found-page__link:hover { opacity: 0.9; }

/* Home hero must sit under the fixed transparent header (Section 22.7) */
body.theme-no-hero .site-header { position: fixed; }
body:not(.theme-no-hero) #main-content { padding-top: 0; }
body.theme-no-hero #main-content.generic-content,
body.theme-no-hero .single-product-page,
body.theme-no-hero .shop-archive-page,
body.theme-no-hero .theme-checkout-main {
	padding-top: var(--theme-site-header-stack);
}

/* Header solid state on inner pages */
.site-header.is-solid { background: color-mix(in srgb, var(--color-background) 97%, transparent); }
body.theme-no-hero .hero-carousel__scrim,
body.theme-no-hero .hero-carousel__content-wrap { display: none; }

/* WordPress admin bar offset */
body.admin-bar {
	--theme-admin-offset: 32px;
}
body.admin-bar .site-header {
	top: calc(var(--theme-admin-offset) + var(--theme-announcement-height));
}
body.admin-bar.announcement-hidden .site-header {
	top: var(--theme-admin-offset);
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--theme-admin-offset: 46px;
	}
}
body.admin-bar.theme-no-hero #main-content.generic-content,
body.admin-bar.theme-no-hero .single-product-page,
body.admin-bar.theme-no-hero .shop-archive-page,
body.admin-bar.theme-no-hero .theme-checkout-main,
body.admin-bar.woocommerce-checkout .theme-checkout-main {
	padding-top: calc(var(--theme-site-header-stack) + var(--theme-admin-offset));
}
