/* =========================================================================
   TRAIILBLAZZER THEME STYLES
   ========================================================================= */

:root {
	--font-display: 'Barlow Condensed', 'Inter', 'Helvetica Neue', sans-serif;
	--font-body: 'Inter', 'Helvetica Neue', sans-serif;
	--radius: 0.25rem;
	--shadow-elevated: 0 14px 40px -12px rgba(20, 31, 26, 0.16);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
	--header-height: 88px;
	--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;
	--card-radius: 0;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card-img):not(.theme-product-main-img):not(.site-logo-img):not(.footer-logo-img):not(.theme-cart-item-thumb) {
	height: auto;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.theme-product-main-img { width: 100%; height: 100%; object-fit: contain; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Pointer on all interactive / clickable controls */
a[href],
button:not(:disabled),
[role="button"],
[data-cart-open],
[data-cart-close],
[data-search-open],
[data-search-close],
[data-contact-modal],
[data-filter-toggle],
[data-filter-clear],
[data-cat-value],
[data-price-value],
[data-faq-toggle],
[data-scroll-top],
label[for],
summary,
.theme-filter-option,
.theme-filter-btn,
.theme-filter-clear,
.theme-faq-trigger,
.faq-item-toggle,
.theme-thumb-btn,
.theme-nav-anchor,
.icon-btn,
.mobile-menu-toggle,
.caption-cta,
.footer-link,
.footer-social-link,
.footer-email-link,
.theme-cart-qty-btn,
.theme-cart-remove-btn,
.theme-cart-pair-item,
.theme-search-result,
.theme-contact-modal-close,
.hero-indicator,
.single_add_to_cart_button,
.ajax_add_to_cart,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select {
	cursor: pointer;
}

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-editorial { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) {
	.container-wide, .container-editorial { padding: 0 2.5rem; }
}

.label-eyebrow {
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-muted-foreground);
	display: block;
}

.nav-link {
	font-family: var(--font-display);
	font-size: 13px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	transition: color 0.3s;
}

.scroll-mt-24 { scroll-margin-top: 6rem; }
.scroll-mt-28 { scroll-margin-top: 7rem; }

/* =========================================================================
   REVEAL / SCROLL ANIMATIONS (Section 2.1)
   ========================================================================= */
.reveal-item {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.9s var(--transition-smooth), transform 0.9s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
.no-js .reveal-item { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.4s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.4s var(--transition-smooth) forwards; }

/* =========================================================================
   WP ADMIN BAR — keep fixed header / overlays below the toolbar
   ========================================================================= */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .mobile-menu-panel { top: 32px; height: calc(100% - 32px); }
body.admin-bar .mobile-menu-overlay { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .mobile-menu-panel { top: 46px; height: calc(100% - 46px); }
	body.admin-bar .mobile-menu-overlay { top: 46px; }
}

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--color-border);
	transition: background-color 0.4s;
}
.site-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}
@media (min-width: 1024px) { .site-nav { height: 88px; } }

.mobile-menu-toggle-wrap { display: flex; align-items: center; flex: 1; }
@media (min-width: 1024px) { .mobile-menu-toggle-wrap { display: none; } }

.mobile-menu-toggle {
	padding: 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 5px;
}
.hamburger-line { display: block; height: 2.5px; background: var(--color-foreground); border-radius: 1px; transition: all 0.3s ease-out; }
.hamburger-line.line-1, .hamburger-line.line-2 { width: 20px; }
.hamburger-line.line-3 { width: 14px; }
.mobile-menu-toggle.is-open .line-1 { width: 28px; transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-toggle.is-open .line-2 { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.is-open .line-3 { width: 28px; transform: translateY(-7.5px) rotate(-45deg); }

.site-logo-link {
	display: flex;
	align-items: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
@media (min-width: 1024px) {
	.site-logo-link { position: static; transform: none; flex: 1; justify-content: flex-start; }
}
/* Match Lovable: header h-[28px] lg:h-[34px]; mobile drawer h-[30px]; footer h-16 */
.site-logo-img {
	height: 28px;
	width: auto !important;
	max-height: none;
	display: block;
}
@media (min-width: 1024px) {
	.site-header .site-logo-img { height: var(--logo-height, 34px); }
}
.mobile-menu-panel .site-logo-img { height: 30px; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 28px; font-size: 1.25rem; display: block; }
@media (min-width: 1024px) {
	.site-header .site-logo-text { line-height: var(--logo-height, 34px); }
}

.site-nav-center { display: none; align-items: center; justify-content: center; gap: 2.25rem; }
@media (min-width: 1024px) { .site-nav-center { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; }
.site-nav-center .theme-nav-list .nav-link { color: var(--color-foreground); }
.site-nav-center .theme-nav-list .nav-link:hover { color: var(--color-primary); }

.site-nav-icons { display: flex; align-items: center; gap: 0.25rem; flex: 1; justify-content: flex-end; }
.icon-btn { padding: 0.5rem; opacity: 1; transition: opacity 0.3s; position: relative; }
.icon-btn:hover { opacity: 0.7; }
.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-display); font-weight: 600;
	background: var(--color-accent); color: var(--color-accent-foreground);
	border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

/* Mobile menu panel */
.mobile-menu-panel {
	position: fixed; top: 0; left: 0; height: 100%; width: 88vw; max-width: 24rem;
	background: var(--color-background); border-right: 1px solid var(--color-border);
	z-index: 90; display: flex; flex-direction: column;
	transform: translateX(-100%); transition: transform 0.3s var(--transition-smooth);
}
.mobile-menu-panel.is-open { transform: translateX(0); }
.mobile-menu-overlay {
	position: fixed; inset: 0; background: rgba(20,31,26,0.4); z-index: 85;
	opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; height: 72px; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); flex-shrink: 0; }
.mobile-menu-close { padding: 0.25rem; }
.mobile-menu-nav { flex: 1; overflow-y: auto; padding: 0.75rem 0.5rem; }
.mobile-menu-nav .theme-nav-list,
.mobile-menu-nav .mobile-nav-list {
	display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%;
}
.mobile-menu-nav li { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.mobile-menu-nav .nav-link { display: block; width: 100%; text-align: left; padding: 1rem 0.75rem; font-family: var(--font-display); font-size: 1.125rem; text-transform: none; letter-spacing: normal; font-weight: 400; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero-section { position: relative; width: 100%; height: 100svh; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; }
.hero-video-slide {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.04);
	transition: opacity 1.4s var(--transition-smooth), transform 1.4s var(--transition-smooth);
}
.hero-video-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3), rgba(0,0,0,0.6)); z-index: 2; }
.hero-content-wrap { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: center; }
.hero-content-inner { width: 100%; padding-bottom: 6rem; }
@media (min-width: 768px) { .hero-content-inner { padding-bottom: 7rem; } }
.hero-copy { max-width: 42rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; opacity: 1; transform: none; }
.hero-eyebrow {
	display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600;
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	margin-bottom: 1.25rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-title {
	font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
	color: var(--color-background); font-size: 2.25rem; line-height: 0.95; letter-spacing: -0.01em;
	margin-bottom: 1.5rem; text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle {
	color: color-mix(in srgb, var(--color-background) 85%, transparent);
	font-family: var(--font-display); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	margin-bottom: 2rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-indicators { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 0.5rem; }
.hero-indicator { height: 2px; width: 1.5rem; background: color-mix(in srgb, var(--color-background) 40%, transparent); transition: all 0.5s; }
.hero-indicator.is-active { width: 3rem; background: var(--color-background); }

/* Buttons */
.btn-hero-primary, .btn-connect-outline {
	display: inline-flex; align-items: center; justify-content: center;
	width: 240px; height: var(--btn-height);
	background: var(--color-background); color: var(--color-foreground);
	font-family: var(--font-display); font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform); font-weight: 700;
	transition: background-color 0.3s, color 0.3s;
	border: none;
}
.btn-hero-primary:hover { background: var(--color-foreground); color: var(--color-background); }
.btn-two-up {
	display: inline-flex; align-items: center; justify-content: center;
	width: 200px; height: 44px;
	background: var(--color-background); color: var(--color-foreground);
	font-family: var(--font-display); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700;
	transition: background-color 0.3s, color 0.3s;
}
.btn-two-up:hover { background: var(--color-foreground); color: var(--color-background); }

/* =========================================================================
   CAPTION STRIP
   ========================================================================= */
.caption-strip-section { border-bottom: 1px solid var(--color-border); }
.caption-strip-inner { padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .caption-strip-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.caption-heading { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; text-transform: none; font-weight: inherit; }
@media (min-width: 768px) { .caption-heading { font-size: 1.5rem; } }
.caption-cta {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
	transition: color 0.3s;
}
.caption-cta:hover { color: var(--color-primary); }
.caption-cta:hover svg { transform: translateX(4px); }
.caption-cta svg { transition: transform 0.2s; }

/* =========================================================================
   SHOP
   ========================================================================= */
.shop-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.shop-heading-wrap { padding: 5rem 1.5rem 1rem; text-align: center; }
@media (min-width: 1024px) { .shop-heading-wrap { padding-top: 7rem; } }
.shop-heading { font-size: 2.25rem; line-height: 1.05; margin-top: 0.75rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }
.shop-body-wrap { padding: 0 1.5rem 5rem; }
@media (min-width: 1024px) { .shop-body-wrap { padding-bottom: 7rem; } }

.shop-filters {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
	justify-content: center;
	position: relative;
	z-index: 40;
	isolation: isolate;
}
@media (min-width: 640px) { .shop-filters { flex-direction: row; gap: 1rem; } }
.theme-filter-dropdown { position: relative; flex: 1; z-index: 1; }
.theme-filter-dropdown.is-open { z-index: 50; }
@media (min-width: 640px) { .theme-filter-dropdown { max-width: 20rem; } }
.theme-filter-btn {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 0.75rem 1rem; border: 1px solid var(--color-border); background: var(--color-background);
	transition: border-color 0.2s;
}
.theme-filter-btn:hover { border-color: var(--color-primary); }
.theme-filter-btn-text { display: flex; flex-direction: column; align-items: flex-start; }
.theme-filter-label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.theme-filter-value { font-size: 0.875rem; margin-top: 0.125rem; }
.theme-filter-btn svg { transition: transform 0.2s; }
.theme-filter-dropdown.is-open .theme-filter-btn svg { transform: rotate(180deg); }
.theme-filter-list {
	position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60;
	background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated);
	max-height: 20rem; overflow-y: auto; display: none;
}
.theme-filter-dropdown.is-open .theme-filter-list { display: block; }
.theme-filter-option { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 1rem; text-align: left; font-size: 0.875rem; }
.theme-filter-option:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-filter-option.is-active { color: var(--color-primary); }
.theme-filter-check svg { width: 16px; height: 16px; }
.theme-filter-clear { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-primary); align-self: center; }
.theme-filter-clear:hover { opacity: 0.7; }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 0.5rem 0.75rem;
	align-items: stretch;
	position: relative;
	z-index: 1;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.theme-product-card-wrap { display: flex; position: relative; z-index: 0; }
.theme-product-card-wrap[hidden] { display: none !important; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; width: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; cursor: pointer; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .add_to_cart_button { pointer-events: auto; position: relative; z-index: 3; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; background: var(--color-muted); overflow: hidden; }
.theme-product-card-img { transition: transform 0.7s; }
.theme-product-card:hover .theme-product-card-img { transform: scale(1.03); }
.theme-badge-soldout {
	position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.6rem;
	font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	background: var(--color-foreground); color: var(--color-background);
}
.theme-product-card__info { padding: 1rem 0 0.25rem; flex: 1; }
.theme-product-card__title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px; color: var(--color-foreground); transition: color 0.3s; }
.theme-product-card: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-display); font-weight: 600; }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-display); }

.theme-shop-empty-state { padding: 5rem 0; text-align: center; border: 1px dashed var(--color-border); }
.theme-shop-empty-state[hidden] { display: none !important; }
.theme-shop-empty-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; text-transform: none; }
.theme-shop-empty-text { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* =========================================================================
   PROMO BANNER
   ========================================================================= */
.promo-banner-media { position: relative; width: 100%; height: 60vh; overflow: hidden; }
@media (min-width: 768px) { .promo-banner-media { height: 70vh; } }
.promo-banner-gradient { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.55), rgba(0,0,0,0.15), transparent); }
.promo-banner-content { position: absolute; inset: 0; display: flex; align-items: flex-end; }
.promo-banner-content .container-wide { width: 100%; padding-bottom: 3rem; }
@media (min-width: 768px) { .promo-banner-content .container-wide { padding-bottom: 4rem; } }
.promo-banner-copy { max-width: 36rem; }
.promo-banner-eyebrow { display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-background) 90%, transparent); margin-bottom: 1rem; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.promo-banner-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--color-background); 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; } }

/* =========================================================================
   TWO-UP BANNERS
   ========================================================================= */
.two-up-section { padding: 4rem 0; }
@media (min-width: 1024px) { .two-up-section { padding: 5rem 0; } }
.two-up-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .two-up-grid { grid-template-columns: 1fr 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 ease-out; }
.two-up-banner:hover .two-up-banner-img { transform: scale(1.04); }
.two-up-banner-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15), transparent); }
.two-up-banner-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; }
@media (min-width: 768px) { .two-up-banner-content { padding: 2.5rem; } }
.two-up-banner-eyebrow { display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-background) 90%, transparent); margin-bottom: 0.75rem; }
.two-up-banner-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--color-background); 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; } }

/* =========================================================================
   ABOUT / PROCESS SECTION
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: 1fr; min-height: 80vh; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-media { position: relative; min-height: 50vh; order: 2; }
@media (min-width: 1024px) { .about-media { min-height: 100%; order: 1; } }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding: 5rem 2rem; order: 1; }
@media (min-width: 768px) { .about-copy { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .about-copy { padding: 5rem; order: 2; } }
.about-heading { font-size: 2.25rem; line-height: 1.05; margin: 1.5rem 0 2rem; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
.about-body { display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 15px; line-height: 1.7; margin-bottom: 2.5rem; max-width: 36rem; }
.about-quote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; text-transform: none; color: var(--color-foreground); border-top: 1px solid var(--color-border); padding-top: 2rem; }
@media (min-width: 768px) { .about-quote { font-size: 1.5rem; } }

/* =========================================================================
   BRAND SECTION
   ========================================================================= */
.brand-section { background: color-mix(in srgb, var(--color-secondary) 40%, transparent); padding: 5rem 0; }
@media (min-width: 1024px) { .brand-section { padding: 7rem 0; } }
.brand-story-banner { position: relative; width: 100%; height: 70vh; overflow: hidden; margin-top: -5rem; margin-bottom: 0; }
@media (min-width: 768px) { .brand-story-banner { height: 80vh; } }
@media (min-width: 1024px) { .brand-story-banner { margin-top: -7rem; } }
.brand-story-gradient { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.35), transparent); }
.brand-story-content { position: absolute; inset: 0; display: flex; align-items: center; }
.brand-story-copy { max-width: 36rem; }
.brand-story-heading { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--color-background); 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-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .brand-story-heading { font-size: 4.5rem; } }
.brand-story-text { color: color-mix(in srgb, var(--color-background) 90%, transparent); 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; } }

.founder-section { margin-bottom: 5rem; }
@media (min-width: 1024px) { .founder-section { margin-bottom: 7rem; } }
.founder-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: 1fr 1fr; } }
.founder-copy { padding: 4rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .founder-copy { padding: 6rem 5rem; } }
.founder-heading { font-size: 3rem; line-height: 0.9; letter-spacing: -0.01em; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .founder-heading { font-size: clamp(3rem, 7vw, 6rem); } }
.founder-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.7; max-width: 36rem; }
.founder-quote { font-family: var(--font-display); font-size: 1.5rem; text-transform: none; color: var(--color-foreground); padding-top: 1rem; }
@media (min-width: 1024px) { .founder-quote { font-size: 1.875rem; } }
.founder-media { position: relative; min-height: 400px; }
@media (min-width: 1024px) { .founder-media { min-height: 700px; } }

.whatbuild-heading-wrap { text-align: center; margin-bottom: 2.5rem; }
.whatbuild-heading { font-size: 1.875rem; line-height: 1.1; margin-top: 1rem; }
@media (min-width: 768px) { .whatbuild-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .whatbuild-heading { font-size: 3rem; } }
.whatbuild-para { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 15px; line-height: 1.7; margin: 0 auto 2.5rem; text-align: center; max-width: 42rem; }
.whatbuild-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .whatbuild-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.whatbuild-card { background: var(--color-background); padding: 1.5rem; border: 1px solid var(--color-border); text-align: center; }
.whatbuild-card-label { font-family: var(--font-display); font-size: 1.25rem; white-space: nowrap; text-transform: none; }
.whatbuild-card-sub { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.5rem; white-space: nowrap; }
@media (min-width: 768px) { .whatbuild-card-sub { font-size: 11px; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.resources-section { padding: 5rem 0; }
@media (min-width: 1024px) { .resources-section { padding: 7rem 0; } }
.faq-heading { font-size: 3rem; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 4rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .faq-heading { font-size: 4.5rem; } }
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 4fr 8fr; gap: 5rem; } }
.faq-intro-sticky { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .faq-intro-sticky { position: sticky; top: 8rem; } }
.faq-intro-sticky p { font-size: 1rem; line-height: 1.7; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-intro-sticky p { font-size: 1.125rem; } }
.faq-contact-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.75rem 2rem; border: 1px solid var(--color-foreground); border-radius: 9999px;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
	transition: all 0.2s; align-self: flex-start;
}
.faq-contact-btn:hover { background: var(--color-foreground); color: var(--color-background); }
.faq-accordion-col { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item-toggle { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item-q { font-size: 15px; line-height: 1.4; color: var(--color-foreground); transition: color 0.3s; padding-right: 1rem; }
@media (min-width: 768px) { .faq-item-q { font-size: 1rem; } }
.faq-item-toggle:hover .faq-item-q { color: var(--color-primary); }
.faq-item-icon { flex-shrink: 0; margin-top: 2px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.faq-item-toggle:hover .faq-item-icon { color: var(--color-primary); }
.icon-minus { display: none; }
.faq-item-toggle[aria-expanded="true"] .icon-plus { display: none; }
.faq-item-toggle[aria-expanded="true"] .icon-minus { display: inline-flex; }
.faq-item-panel { overflow: hidden; transition: max-height 0.4s var(--transition-smooth), opacity 0.4s var(--transition-smooth); max-height: 500px; opacity: 1; }
.faq-item-panel[hidden] { display: block; max-height: 0; opacity: 0; }
.faq-item-a { padding-bottom: 1.5rem; padding-right: 3rem; color: var(--color-muted-foreground); font-size: 15px; line-height: 1.7; }

/* =========================================================================
   CONNECT SECTION
   ========================================================================= */
.connect-section { position: relative; margin-top: 6rem; overflow: hidden; border-radius: 2px; }
@media (min-width: 1024px) { .connect-section { margin-top: 7rem; } }
.connect-bg-img { z-index: 0; }
.connect-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 65%, transparent); z-index: 1; }
.connect-inner { position: relative; z-index: 2; text-align: center; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .connect-inner { padding: 8rem 2.5rem; } }
.connect-eyebrow { color: color-mix(in srgb, var(--color-background) 80%, transparent); margin-bottom: 1.25rem; }
.connect-heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-background); margin-bottom: 2rem; }
@media (min-width: 768px) { .connect-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .connect-heading { font-size: 3.75rem; } }
.connect-para { max-width: 32rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--color-background) 85%, transparent); font-size: 15px; line-height: 1.7; }
.connect-actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .connect-actions { flex-direction: row; } }
.btn-connect-primary {
	display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 3.5rem; padding: 0 2rem;
	background: var(--color-accent); color: var(--color-accent-foreground);
	font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; 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;
}
.btn-connect-primary:hover { background: color-mix(in srgb, var(--color-accent) 90%, black); }
.btn-connect-outline {
	width: auto; min-width: 220px; height: 3.5rem; padding: 0 2rem;
	background: var(--color-background); color: var(--color-foreground); border: 1px solid var(--color-foreground);
	font-family: var(--font-display); letter-spacing: 0.22em; font-weight: 700;
}
.btn-connect-outline:hover { background: var(--color-foreground); color: var(--color-background); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--color-background); color: var(--color-foreground); }
.footer-main { padding: 4rem 1.5rem; }
@media (min-width: 1024px) { .footer-main { padding: 5rem 2.5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; } }
@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 2rem 1.25rem; /* tighter column gutters so Contact can fit the email */
	}
}
.footer-brand-col { grid-column: span 1; min-width: 0; }
@media (min-width: 1024px) { .footer-brand-col { grid-column: span 3; } }
.footer-logo-link { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo-img,
.site-footer .site-logo-img.footer-logo-img {
	height: 4rem; /* Lovable h-16 */
	width: auto !important;
	max-height: none;
}
.footer-tagline { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.24em; font-size: 10px; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.75rem; }
.footer-social { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.footer-social-link { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.2s; }
.footer-social-link:hover { color: var(--color-foreground); }
.footer-col { grid-column: span 1; min-width: 0; }
@media (min-width: 1024px) { .footer-col { grid-column: span 2; } }
.footer-contact-col { min-width: 0; }
@media (min-width: 1024px) {
	.footer-contact-col { grid-column: span 3; } /* brand 3 + 3×2 + contact 3 = 12 */
}
.footer-col-title { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 1.25rem; }
.footer-col-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-links li a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color 0.2s; }
.footer-col-links li a:hover { color: var(--color-foreground); }
.footer-contact-line {
	display: block;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	min-width: 0;
}
.footer-email-link {
	display: inline-block;
	max-width: 100%;
	font-size: 0.8125rem;
	line-height: 1.35;
	letter-spacing: 0;
	white-space: nowrap;
	overflow: visible;
	word-break: normal;
	overflow-wrap: normal;
}
@media (max-width: 1023px) {
	.footer-email-link {
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}
.footer-email-link:hover { color: var(--color-foreground); }
.footer-location { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); padding-top: 0.25rem; }
.footer-bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copyright, .footer-built-by { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.footer-built-by a { text-decoration: underline; text-underline-offset: 4px; }
.footer-built-by a:hover { color: var(--color-foreground); }

/* =========================================================================
   CART DRAWER + OVERLAY
   ========================================================================= */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); z-index: 199; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
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;
	background: var(--color-background); z-index: 200; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-family: var(--font-display); font-style: italic; text-transform: none; font-size: 1.5rem; }
.theme-cart-drawer-close { padding: 0.25rem; opacity: 1; }
.theme-cart-drawer-close:hover { opacity: 0.6; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.theme-cart-empty-icon { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-cart-empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-btn-outline { border: 1px solid var(--color-border); padding: 0.75rem 1.5rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; transition: all 0.2s; }
.theme-btn-outline:hover { background: var(--color-secondary); }
.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-img {
	display: block; position: relative; width: 6rem; height: 8rem;
	background: var(--color-secondary); overflow: hidden; flex-shrink: 0;
}
.theme-cart-item-img img,
.theme-cart-item-img .theme-cart-item-thumb {
	width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.theme-cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item-title { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.theme-cart-item-title:hover { opacity: 0.7; }
.theme-cart-item-variation { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.35rem; font-style: italic; }
.theme-cart-item-price { font-size: 0.875rem; margin-top: 0.35rem; }
.theme-cart-item-controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-qty-group { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-qty-btn { padding: 0.4rem 0.65rem; transition: background-color 0.2s; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { padding: 0 0.75rem; font-size: 0.875rem; min-width: 28px; text-align: center; }
.theme-cart-remove-btn { font-size: 12px; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; }
.theme-cart-remove-btn:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; text-transform: none; }
.theme-cart-tax-note { font-size: 12px; color: var(--color-muted-foreground); }

.theme-btn-primary {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	width: auto; height: var(--btn-height); padding: 0.5rem 1rem;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary); border-radius: 0;
	font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
	letter-spacing: 0.28em; text-transform: uppercase; white-space: nowrap;
	transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.theme-btn-primary:hover {
	background-color: var(--color-background); color: var(--color-primary);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.theme-btn-primary:active { transform: scale(0.98); }
.theme-cart-checkout-btn { width: 100%; height: 3rem; }

/* =========================================================================
   SEARCH DIALOG
   ========================================================================= */
.theme-search-overlay { position: fixed; inset: 0; z-index: 220; display: none; }
.theme-search-overlay.is-open { display: block; }
.theme-search-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);
}
.theme-search-close { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 10; padding: 0.5rem; opacity: 0.7; }
.theme-search-close:hover { opacity: 1; }
.theme-search-inner { padding: 2.5rem 1.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-search-inner { grid-template-columns: 260px 1fr; gap: 4rem; padding: 3.5rem 2.5rem; } }
.theme-search-categories h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; text-transform: none; }
#theme-search-cat-list { display: flex; flex-direction: column; gap: 0.875rem; }
#theme-search-cat-list button { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
#theme-search-cat-list button:hover { color: var(--color-primary); }
.theme-search-field { 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; outline: none; border: none; font-family: var(--font-display); font-size: 1.5rem; text-transform: none; }
.theme-search-results { margin-top: 2.5rem; }
.theme-search-results h4 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; text-transform: none; }
.theme-search-results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .theme-search-results-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-search-results-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.theme-search-result-item { text-align: left; }
.theme-search-result-img { aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); }
.theme-search-result-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.theme-search-result-item:hover .theme-search-result-img img { transform: scale(1.05); }
.theme-search-result-title { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.theme-search-result-price { margin-top: 0.25rem; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* =========================================================================
   CONTACT MODAL
   ========================================================================= */
.theme-contact-modal-overlay {
	position: fixed; inset: 0; z-index: 250; background: color-mix(in srgb, var(--color-foreground) 50%, transparent);
	display: flex; align-items: center; justify-content: center; padding: 1.5rem;
	opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.theme-contact-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.theme-contact-modal-panel {
	position: relative; background: var(--color-background); width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	border: 1px solid var(--color-border); padding: 2rem;
	transform: scale(0.96); transition: transform 0.25s;
}
.theme-contact-modal-overlay.is-open .theme-contact-modal-panel { transform: scale(1); }
.theme-contact-modal-close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; opacity: 0.6; }
.theme-contact-modal-close:hover { opacity: 1; }
.theme-contact-modal-title { font-size: 1.5rem; line-height: 1.3; margin: 0.5rem 0 0.5rem; text-transform: none; }
.theme-contact-modal-desc { font-size: 15px; line-height: 1.6; color: var(--color-muted-foreground); }
.theme-contact-modal-email { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 1rem; }
.theme-contact-modal-email a:hover { color: var(--color-foreground); }
.theme-contact-modal-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-modal-row { grid-template-columns: 1fr 1fr; } }
.theme-contact-modal-field { margin-top: 1rem; }
.theme-contact-modal-field label { margin-bottom: 0.375rem; }
.theme-contact-modal-field input, .theme-contact-modal-field textarea {
	width: 100%; padding: 0.6rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 0.875rem; transition: border-color 0.2s; resize: none;
}
.theme-contact-modal-field input:focus, .theme-contact-modal-field textarea:focus { outline: none; border-color: var(--color-primary); }
.theme-contact-modal-submit-row { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
.theme-contact-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: auto;
	min-width: 0;
	height: 2.75rem; /* h-11 */
	padding: 0 1.5rem; /* px-6 */
	border-radius: 0;
	border: 1px solid var(--color-primary);
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-family: var(--font-body);
	font-size: 0.75rem; /* text-xs */
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.theme-contact-submit-btn:hover {
	background: var(--color-background);
	color: var(--color-primary);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.theme-contact-submit-btn:active { transform: scale(0.98); }
.theme-contact-submit-btn:disabled {
	opacity: 0.5;
	pointer-events: none;
}
.theme-contact-submit-btn svg {
	width: 0.875rem;
	height: 0.875rem;
	flex-shrink: 0;
	pointer-events: none;
}
.theme-contact-modal-success { text-align: center; padding: 2rem 0; }
.theme-contact-modal-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-modal-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; text-transform: none; }
.theme-contact-modal-success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* =========================================================================
   ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
   ========================================================================= */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	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: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;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* =========================================================================
   SINGLE PRODUCT
   ========================================================================= */
.single-product { padding-top: 7rem; }
@media (min-width: 1024px) { .single-product { padding-top: 8rem; } }
.single-product-breadcrumb { padding-bottom: 1rem; }
.back-to-shop-link { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.2s; }
.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout {
	display: grid; grid-template-columns: 1fr; align-items: start; min-width: 0; gap: 1.5rem;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }

.theme-product-gallery { display: flex; flex-direction: column; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 8rem; } }
.theme-product-thumbnails { display: none; flex-direction: row; justify-content: flex-start; gap: 0.75rem; padding: 0 0 0.5rem; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails { display: flex; } }
.theme-thumb-btn { width: 3.5rem; height: 3.5rem; flex-shrink: 0; overflow: hidden; border: 1px solid transparent; opacity: 0.6; transition: all 0.2s; }
.theme-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.theme-thumb-btn.is-active, .theme-thumb-btn:hover { border-color: var(--color-foreground); opacity: 1; }
.theme-product-main-image-wrap { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 0 0 1rem; }
@media (min-width: 768px) { .theme-product-main-image-wrap { padding: 0 0 1rem; } }

.theme-product-info { padding: 0 0 2.5rem; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { padding: 0.5rem 0 4rem; } }
.posted_in { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 15px; letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.5; text-transform: uppercase; }
@media (min-width: 768px) { .product-title { font-size: 1rem; } }
.theme-product-sku { margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-price { font-size: 1.125rem; }
.theme-product-price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-stock-status { margin-top: 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.theme-out-of-stock { color: var(--color-accent); }
.theme-product-note-box { margin-top: 1.75rem; background: color-mix(in srgb, var(--color-secondary) 70%, transparent); padding: 1rem 1.25rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.6; }

.theme-attribute-group { margin-top: 1.75rem; }
.theme-attribute-label { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-weight: 600; font-family: var(--font-body); }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { min-width: 56px; padding: 0.6rem 1rem; font-size: 12px; letter-spacing: 0.05em; border: 1px solid var(--color-border); transition: all 0.2s; }
.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-hidden { display: none !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; }

.single-product .theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem;
}
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: 100%; min-height: var(--btn-height); transition: background-color 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; 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; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-description { margin-top: 3rem; font-family: var(--font-display); font-size: 19px; line-height: 1.55; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); white-space: pre-line; text-transform: none; }
.theme-product-details { margin-top: 1.5rem; }
.theme-details-title { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; }
.theme-details-list { display: flex; flex-direction: column; gap: 0.65rem; padding-left: 1.25rem; }
.theme-details-list li { list-style: disc; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-size: 14px; line-height: 1.6; }
.theme-details-list li::marker { color: var(--color-primary); }
.woocommerce-product-details__short-description,
.woocommerce-variation-description { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 6rem 0; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.related-products-heading { font-size: 1.875rem; margin-bottom: 3rem; text-transform: none; }
@media (min-width: 768px) { .related-products-heading { font-size: 2.25rem; } }

/* =========================================================================
   WOOCOMMERCE NOTICES
   ========================================================================= */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	list-style: none; padding: 1rem 1.5rem; border-radius: var(--radius); font-size: 0.875rem;
	background: var(--color-secondary); color: var(--color-foreground); border-left: 4px solid var(--color-primary);
	margin-bottom: 1.5rem;
}
.woocommerce-error { border-left-color: var(--color-accent); }

/* =========================================================================
   SHOP ARCHIVE
   ========================================================================= */
.shop-archive-main { padding-top: 8rem; padding-bottom: 5rem; }
.shop-archive-title { font-size: 2.25rem; margin-bottom: 2.5rem; }

/* =========================================================================
   GENERIC PAGES
   ========================================================================= */
.generic-page-main, .not-found-main { padding-top: 8rem; padding-bottom: 5rem; min-height: 60vh; }
.page-title { font-size: 2.25rem; margin-bottom: 2rem; }
.not-found-inner { text-align: center; padding: 5rem 0; }
.not-found-title { font-size: 4rem; margin-bottom: 1rem; }
.not-found-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* =========================================================================
   CHECKOUT (WooCommerce Blocks)
   ========================================================================= */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select { width: 100% !important; max-width: none !important; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	font-family: var(--font-body); font-size: 0.875rem; color: var(--color-foreground);
	border: 1px solid var(--color-border); border-radius: var(--radius); background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius); font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* =========================================================================
   THANK YOU PAGE
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-details { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; background: var(--color-secondary); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); 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; }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; text-transform: none; }
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; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.25rem; font-style: normal; }

/* =========================================================================
   UTILITY
   ========================================================================= */
.container-editorial .connect-inner { position: relative; }
.woocommerce-Price-amount { font-family: inherit; }
del .woocommerce-Price-amount { color: var(--color-muted-foreground); opacity: 0.7; }
ins { text-decoration: none; }

/* Icon sizing */
.icon-btn svg, .theme-thumb-btn svg { display: block; }
