/* =========================================================================
   BreakneckBennie Storefront — theme.css
   Poster / stamp visual system. All colors are CSS variables sourced from
   the Customizer (see functions.php wp_add_inline_style). Non-color design
   tokens (fonts, radius, spacing scale) are declared below.
   ========================================================================= */

:root {
	--font-display: 'Anton', 'Archivo Black', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, monospace;

	--radius: 2px;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 0;
	--btn-height: 46px;
	--btn-padding: 0.875rem 1.5rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.14em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--header-height: 80px;
	--admin-bar-height: 0px;
	--checkout-gap: 2rem;
}

html {
	scroll-behavior: smooth;
}

body.admin-bar {
	--admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--admin-bar-height: 46px;
	}
}

[id] {
	scroll-margin-top: calc(var(--header-height) + var(--admin-bar-height) + 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	margin: 0;
	background-image:
		radial-gradient(color-mix(in srgb, var(--color-foreground) 2.5%, transparent) 1px, transparent 1px),
		radial-gradient(color-mix(in srgb, var(--color-foreground) 2%, transparent) 1px, transparent 1px);
	background-size: 3px 3px, 7px 7px;
	background-position: 0 0, 1px 2px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	line-height: 0.95;
	margin: 0;
}

p { margin: 0; }
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"]:not([aria-disabled="true"]),
input[type="submit"],
input[type="button"],
input[type="reset"],
label[for],
select,
summary,
.theme-nav-list a,
.theme-nav-list-mobile a,
.nav-icon-btn,
.btn-stamp-primary,
.btn-stamp-ghost,
.shop-tab,
.theme-card-link,
.theme-card-add-btn,
.theme-attr-pill:not(.is-unavailable),
.futuredrop-cta-btn,
.footer-wordmark-btn,
.announcement-dismiss,
.theme-product-thumb,
.woocommerce a.button,
.woocommerce button.button {
	cursor: pointer;
}
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: var(--font-body); }

img:not(.cover-img):not(.hero-bg-img):not(.theme-card-image):not(.single-product-main-image):not(.theme-product-thumb img):not(.theme-cart-item-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .theme-card-image, .single-product-main-image, .theme-product-thumb img, .theme-cart-item-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-inline: 2rem; }
}

.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-muted-foreground); }
.text-foreground-80 { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.block { display: block; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* -------------------------------------------------------------------------
   TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------------- */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }

.label-mono {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.2;
}

.tape-bar {
	position: relative;
	display: inline-block;
	padding: 0.3rem 0.75rem;
	background: var(--color-foreground);
	color: var(--color-background);
	font-family: var(--font-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.1;
}
.tape-bar-inline {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}
.single-product-category-icon { flex-shrink: 0; }

/* -------------------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------------- */
.btn-stamp, .btn-stamp-primary, .btn-stamp-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.875rem;
	border: 2px solid var(--color-foreground);
	transition: all 150ms;
	user-select: none;
	text-transform: none; /* buttons carry their own copy case, not forced uppercase globally on hero/CTA */
}
.btn-stamp-primary, .btn-stamp-ghost { text-transform: uppercase; }
.btn-stamp-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
	box-shadow: 4px 4px 0 0 var(--color-foreground);
}
.btn-stamp-primary:hover { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--color-foreground); }
.btn-stamp-ghost {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: var(--color-foreground);
}
.btn-stamp-ghost:hover { background-color: var(--color-foreground); color: var(--color-background); }
.btn-justify { justify-content: space-between; width: 100%; }
.btn-inline { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-badge { opacity: 0.8; }
.btn-full { width: 100%; }

/* -------------------------------------------------------------------------
   POSTER TILE / WAVEFORM / MARQUEE
   ---------------------------------------------------------------------- */
.poster-tile {
	position: relative;
	background-color: var(--color-card);
	border: 2px solid color-mix(in srgb, var(--color-foreground) 90%, transparent);
	transition: transform 200ms;
	box-shadow: 6px 6px 0 0 var(--color-primary);
}
.poster-tile:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 0 var(--color-primary); }

.waveform {
	height: 24px;
	width: 100%;
	background-image: repeating-linear-gradient(
		to right,
		color-mix(in srgb, var(--color-foreground) 90%, transparent) 0 2px,
		transparent 2px 6px
	);
	mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track { overflow: hidden; }
.marquee-viewport { display: flex; overflow: hidden; padding-block: 0.5rem; }
.marquee-track-inner { display: flex; align-items: center; flex-shrink: 0; will-change: transform; }
.animate-marquee { animation: theme-marquee 40s linear infinite; }
.marquee-track:hover .animate-marquee { animation-duration: 80s; }
@keyframes theme-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
.marquee-item-wrap { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
	text-transform: uppercase; font-weight: 500; white-space: nowrap;
	padding-inline: 1.25rem;
}
.marquee-dot { display: inline-block; border-radius: 50%; flex-shrink: 0; width: 4px; height: 4px; background-color: currentColor; opacity: 0.9; }

/* -------------------------------------------------------------------------
   ANIMATIONS (Section 2.1)
   ---------------------------------------------------------------------- */
.animate-fade-in { animation: theme-fade-in 0.5s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.4s var(--transition-smooth) forwards; }
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.reveal-item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.scale-in-item {
	opacity: 0;
	transform: scale(0.96);
	transition: opacity 0.45s var(--transition-smooth), transform 0.45s var(--transition-smooth);
}
.scale-in-item.is-visible { opacity: 1; transform: scale(1); }

/* Customizer preview fallback — never hide content in the editor (Section 2.1.5) */
body.is-customizer .reveal-item,
body.is-customizer .scale-in-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.animate-marquee { animation: none !important; }
	.reveal-item, .scale-in-item { opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------
   ANNOUNCEMENT BAR
   ---------------------------------------------------------------------- */
.announcement-bar {
	position: relative;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-bottom: 2px solid var(--color-foreground);
}
.announcement-dismiss {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	opacity: 0.8;
	background-color: var(--color-primary);
}
.announcement-dismiss:hover { opacity: 1; }
body.theme-announcement-dismissed .announcement-bar { display: none; }

/* -------------------------------------------------------------------------
   HEADER / NAV
   ---------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: var(--admin-bar-height, 0);
	left: 0; right: 0;
	z-index: 50;
	border-bottom: 2px solid var(--color-foreground);
	background-color: var(--color-background);
	transition: background-color 200ms;
}

/* Keep the WP admin bar above the sticky theme header. */
body.admin-bar #wpadminbar {
	z-index: 100000;
}
.site-header.is-scrolled,
.site-header.is-solid { background-color: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(4px); }

.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
@media (min-width: 768px) { .site-nav { height: 80px; } }

.site-brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.site-brand-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	font-family: var(--font-display); font-size: 1.125rem; line-height: 1;
	border: 2px solid var(--color-foreground);
	box-shadow: 4px 4px 0 0 var(--color-foreground);
}
@media (min-width: 768px) { .site-brand-mark { width: 36px; height: 36px; } }
.site-brand-text { display: none; flex-direction: column; line-height: 1; }
@media (min-width: 640px) { .site-brand-text { display: flex; } }
.site-brand-name { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.05em; color: var(--color-foreground); }
@media (min-width: 768px) { .site-brand-name { font-size: 1.25rem; } }
.site-brand-tagline { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }

.site-nav-desktop { display: none; }
@media (min-width: 1024px) { .site-nav-desktop { display: flex; align-items: center; gap: 1.75rem; } }
.theme-nav-list, .theme-nav-list-mobile, .footer-nav-list { display: flex; gap: 1.75rem; }
.theme-nav-list-mobile { flex-direction: column; gap: 0; }
.theme-nav-list a, .theme-nav-list-mobile a {
	position: relative;
	font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
	color: var(--color-foreground);
	transition: color 200ms;
}
.theme-nav-list a::after {
	content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px;
	background-color: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform 200ms;
}
.theme-nav-list a:hover, .theme-nav-list a.is-current { color: var(--color-primary); }
.theme-nav-list a:hover::after, .theme-nav-list a.is-current::after { transform: scaleX(1); }
.theme-nav-list-mobile a {
	display: block; font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.02em;
	padding: 0.75rem 0; border-bottom: 1px solid var(--color-border);
}
.theme-nav-list-mobile a.is-current { color: var(--color-primary); }
.mobile-nav-drawer .theme-nav-list {
	flex-direction: column;
	gap: 0;
	width: 100%;
}
.mobile-nav-drawer .theme-nav-list a {
	display: block;
	font-family: var(--font-display);
	font-size: 1.75rem;
	letter-spacing: 0.02em;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--color-border);
}
.mobile-nav-drawer .theme-nav-list a::after { display: none; }
.mobile-nav-drawer .theme-nav-list a.is-current { color: var(--color-primary); }

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.nav-icon-btn { position: relative; padding: 0.5rem; color: var(--color-foreground); transition: color 200ms; display: inline-flex; }
.nav-icon-btn:hover { color: var(--color-primary); }
.nav-icon-instagram, .nav-icon-search { display: none; }
@media (min-width: 768px) { .nav-icon-instagram, .nav-icon-search { display: inline-flex; } }
.nav-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .nav-mobile-toggle { display: none; } }
.nav-mobile-toggle .icon-close { display: none; }
.nav-mobile-toggle.is-open .icon-menu { display: none; }
.nav-mobile-toggle.is-open .icon-close { display: inline-flex; }

.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 20px; height: 20px; padding-inline: 0.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 11px; font-family: var(--font-mono); font-weight: 600;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	border: 1px solid var(--color-foreground);
}
.theme-cart-count:empty { display: none; }

.mobile-nav-drawer { display: none; border-top: 2px solid var(--color-foreground); background-color: var(--color-background); }
.mobile-nav-drawer.is-open { display: block; }
@media (min-width: 1024px) { .mobile-nav-drawer { display: none !important; } }
.mobile-nav-inner { padding-block: 2rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-actions { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-nav-ig { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); padding-top: 0.5rem; }
.mobile-nav-ig:hover { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   HOME HERO / MAIN SPACING
   ---------------------------------------------------------------------- */
.site-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main,
.generic-page-main, .shop-archive-main, .notfound-main {
	padding-top: 1rem;
}
body.single-product.theme-no-hero .single-product-main {
	padding-top: var(--header-height);
}
@media (min-width: 768px) {
	body.single-product.theme-no-hero .single-product-main { padding-top: 5rem; }
}

.hero-section { position: relative; border-bottom: 2px solid var(--color-foreground); overflow: hidden; }
.hero-inner { padding-top: 1rem; padding-bottom: 1.5rem; min-height: calc(100svh - 9.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .hero-inner { padding-top: 1.25rem; padding-bottom: 2rem; gap: 1.5rem; } }
.hero-meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.hero-meta-left { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: center; } }
.hero-left { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
@media (min-width: 1024px) { .hero-left { grid-column: span 7; gap: 1.5rem; } }

.hero-title { line-height: 1; letter-spacing: -0.01em; color: var(--color-foreground); }
.hero-title-line { display: block; font-size: 16vw; }
@media (min-width: 480px) { .hero-title-line { font-size: 14vw; } }
@media (min-width: 768px) { .hero-title-line { font-size: 10vw; } }
@media (min-width: 1024px) { .hero-title-line { font-size: 8.4vw; } }
@media (min-width: 1280px) { .hero-title-line { font-size: 8vw; } }
.hero-title-line-2 { margin-top: 0.25rem; }
@media (min-width: 768px) { .hero-title-line-2 { margin-top: 0.375rem; } }
.hero-title-suffix {
	display: block; font-family: var(--font-display); font-size: 5vw; color: var(--color-muted-foreground);
	letter-spacing: 0.2em; margin-top: 0.5rem;
}
@media (min-width: 480px) { .hero-title-suffix { font-size: 4.4vw; } }
@media (min-width: 768px) { .hero-title-suffix { font-size: 3vw; margin-top: 0.75rem; } }
@media (min-width: 1024px) { .hero-title-suffix { font-size: 2.2vw; } }
@media (min-width: 1280px) { .hero-title-suffix { font-size: 2vw; } }

.hero-waveform { opacity: 0.7; }
.hero-description { font-family: var(--font-body); font-size: 1rem; line-height: 1.4; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); max-width: 42rem; font-weight: 400; text-transform: none; }
@media (min-width: 768px) { .hero-description { font-size: 1.125rem; } }
.hero-description-sub { display: block; color: var(--color-muted-foreground); font-size: 0.875rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .hero-description-sub { font-size: 1rem; } }
.hero-cta-row { display: flex; flex-direction: column; gap: 0.75rem; max-width: 36rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }

.hero-panel {
	border: 2px solid var(--color-foreground); background-color: var(--color-card);
	box-shadow: 4px 4px 0 0 var(--color-foreground);
	padding: 0.75rem; display: flex; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 768px) { .hero-panel { padding: 1.25rem; gap: 1rem; } }
@media (min-width: 1024px) { .hero-panel { grid-column: 8 / span 5; } }
@media (min-width: 1280px) { .hero-panel { grid-column: 9 / span 4; } }
.hero-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.hero-panel-live-badge { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; padding: 0.125rem 0.5rem; border: 2px solid var(--color-primary); color: var(--color-primary); }
.hero-panel-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.375rem; }
@media (min-width: 768px) { .hero-panel-features { gap: 0.5rem; } }
.hero-panel-feature {
	display: flex; align-items: center; gap: 0.5rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	padding: 0.375rem 0.5rem; background-color: var(--color-background);
}
@media (min-width: 768px) { .hero-panel-feature { padding: 0.5rem 0.625rem; } }
.hero-panel-feature svg { color: var(--color-primary); flex-shrink: 0; }
.hero-panel-feature span { color: color-mix(in srgb, var(--color-foreground) 90%, transparent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-panel-currency { border-top: 2px dashed color-mix(in srgb, var(--color-foreground) 40%, transparent); padding-top: 0.625rem; display: flex; align-items: center; justify-content: space-between; }
.hero-panel-note { display: none; font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-foreground); line-height: 1.6; text-transform: none; }
@media (min-width: 640px) { .hero-panel-note { display: block; } }
@media (min-width: 768px) { .hero-panel-note { font-size: 0.875rem; } }
.hero-panel-ctas { display: flex; flex-direction: column; gap: 0.5rem; }

/* -------------------------------------------------------------------------
   TICKER
   ---------------------------------------------------------------------- */
.ticker-section { border-bottom: 2px solid var(--color-foreground); background-color: var(--color-foreground); color: var(--color-background); }
.ticker-item { color: var(--color-background); font-size: 11px; letter-spacing: 0.16em; }
.ticker-track { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   SECTION HEADINGS (Section 2.2.5 — per-section scoped scales)
   ---------------------------------------------------------------------- */
.section-heading { line-height: 0.95; margin-top: 1rem; }
.about-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
.shop-heading, .related-products-heading { font-size: 2.25rem; line-height: 1; margin-top: 1rem; }
@media (min-width: 768px) { .shop-heading, .related-products-heading { font-size: 3rem; } }
.events-heading, .contact-heading { font-size: 2.25rem; line-height: 0.9; margin-top: 1rem; }
@media (min-width: 768px) { .events-heading, .contact-heading { font-size: 3rem; } }

/* -------------------------------------------------------------------------
   ABOUT
   ---------------------------------------------------------------------- */
.about-section { border-bottom: 2px solid var(--color-foreground); }
.about-grid { padding-block: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(12, 1fr); padding-block: 4rem; } }
.about-heading-col { grid-column: span 12; }
@media (min-width: 1024px) { .about-heading-col { grid-column: span 4; } }
.about-copy-col { grid-column: span 12; display: flex; flex-direction: column; gap: 1.25rem; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.6; text-transform: none; font-family: var(--font-body); }
@media (min-width: 1024px) { .about-copy-col { grid-column: span 8; } }
@media (min-width: 768px) { .about-copy-col { font-size: 1.125rem; } }
.about-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 0.25rem; }

/* -------------------------------------------------------------------------
   SHOP
   ---------------------------------------------------------------------- */
.shop-section { border-bottom: 2px solid var(--color-foreground); }
.shop-section .container-wide { padding-block: 2.5rem; }
@media (min-width: 768px) { .shop-section .container-wide { padding-block: 4rem; } }
.shop-header-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .shop-header-row { margin-bottom: 2rem; } }
.shop-description { font-family: var(--font-body); color: var(--color-muted-foreground); margin-top: 0.75rem; max-width: 36rem; font-size: 0.875rem; text-transform: none; }
@media (min-width: 768px) { .shop-description { font-size: 1rem; } }

.shop-tabs-scroll { margin-inline: 0; margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .shop-tabs-scroll { margin-inline: 0; } }
.shop-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	overflow-x: visible;
	padding-inline: 0;
	padding-bottom: 0.25rem;
}
@media (min-width: 480px) {
	.shop-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.shop-tabs {
		display: flex;
		flex-wrap: wrap;
		grid-template-columns: none;
		gap: 0.5rem;
	}
}
.shop-tab {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 500;
	padding: 0.375rem 0.5rem;
	border: 2px solid color-mix(in srgb, var(--color-foreground) 40%, transparent);
	background-color: transparent;
	color: var(--color-foreground);
	transition: all 150ms;
	text-align: center;
	white-space: normal;
	line-height: 1.2;
}
@media (min-width: 480px) {
	.shop-tab { font-size: 11px; padding: 0.4rem 0.625rem; }
}
@media (min-width: 768px) { .shop-tab { font-size: 12px; letter-spacing: 0.14em; padding: 0.5rem 1rem; } }
.shop-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-tab.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-foreground); box-shadow: 4px 4px 0 0 var(--color-foreground); }

.shop-item-count { margin-bottom: 1.5rem; }

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap.is-filtered-out { display: none; }

/* Lovable featured grid: first product spans 2×2 when all 5 items are visible. */
.shop-product-grid[data-layout="featured"] {
	grid-auto-rows: 1fr;
}
@media (min-width: 640px) {
	.shop-product-grid[data-layout="featured"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.shop-product-grid[data-layout="featured"] .theme-product-card-wrap.is-featured {
		grid-column: span 2;
		grid-row: span 2;
	}
}
@media (min-width: 1024px) {
	.shop-product-grid[data-layout="featured"] {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
.shop-product-grid[data-layout="featured"].is-category-filtered .theme-product-card-wrap.is-featured {
	grid-column: auto;
	grid-row: auto;
}

/* Shop cards — Lovable ProductCard parity */
.shop-product-grid .theme-product-card.poster-tile {
	position: relative;
	transition: transform 200ms var(--transition-smooth), box-shadow 200ms var(--transition-smooth);
}
.shop-product-grid .theme-product-card.poster-tile:hover {
	transform: translateY(-3px);
	box-shadow: 6px 9px 0 0 var(--color-primary);
}

.theme-product-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	position: relative;
	padding: 0.625rem; /* compact: p-2.5 */
	--theme-card-footer-height: 3.25rem;
}
.theme-product-card.is-compact {
	padding: 0.625rem;
}
@media (min-width: 768px) {
	.theme-product-card.is-compact { padding: 0.875rem; } /* md:p-3.5 */
}
.theme-product-card.is-featured {
	padding: 0.75rem; /* p-3 */
}
@media (min-width: 768px) {
	.theme-product-card.is-featured { padding: 1.25rem; } /* md:p-5 */
}
.theme-product-card > .theme-card-link {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: var(--theme-card-footer-height);
	z-index: 2;
	pointer-events: auto;
}
.theme-product-card *:not(.theme-card-link):not(.theme-card-footer):not(.theme-card-footer *) { pointer-events: none; }
.theme-card-footer,
.theme-card-footer * {
	pointer-events: auto;
}
.theme-card-add-btn, a.theme-card-add-btn { position: relative; z-index: 3; pointer-events: auto; }

.theme-card-top-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.625rem; min-width: 0; }
.theme-card-badge {
	font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
	padding: 0.125rem 0.5rem; border: 1px solid var(--color-primary); color: var(--color-primary); flex-shrink: 0;
}
.theme-card-badge.is-soldout { border-color: color-mix(in srgb, var(--color-foreground) 50%, transparent); color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

.theme-card-image-wrap {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 2px solid var(--color-foreground);
	background-color: var(--color-secondary);
}
@media (min-width: 640px) {
	.theme-product-card.is-compact .theme-card-image-wrap,
	.theme-product-card:not(.is-featured) .theme-card-image-wrap {
		aspect-ratio: 5 / 4;
	}
	.theme-product-card.is-featured .theme-card-image-wrap {
		aspect-ratio: 4 / 5;
	}
}
.theme-card-image-wrap img.is-soldout-img { opacity: 0.5; filter: grayscale(1); }
.theme-card-image-wrap img { transition: transform 0.6s var(--transition-smooth); }
.theme-product-card:hover .theme-card-image-wrap img { transform: scale(1.04); }
.theme-card-soldout-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.theme-card-soldout-stamp {
	transform: rotate(-8deg); font-family: var(--font-display); font-size: 1.75rem;
	padding: 0.25rem 1rem; background-color: var(--color-foreground); color: var(--color-background);
	border: 2px solid var(--color-background);
}

.theme-card-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	margin-top: 0.625rem;
	min-width: 0;
}
@media (min-width: 768px) {
	.theme-product-card .theme-card-title-row { margin-top: 0.75rem; }
}
.theme-card-title {
	font-family: var(--font-display);
	font-size: 15px;
	line-height: 1.15;
	letter-spacing: 0.025em;
	color: var(--color-foreground);
	transition: color 200ms;
	min-width: 0;
}
.theme-product-card:hover .theme-card-title { color: var(--color-primary); }
@media (min-width: 768px) {
	.theme-product-card.is-compact .theme-card-title,
	.theme-product-card:not(.is-featured) .theme-card-title {
		font-size: 1.125rem;
	}
}
@media (min-width: 640px) {
	.theme-product-card.is-featured .theme-card-title { font-size: 1.5rem; }
}
@media (min-width: 768px) {
	.theme-product-card.is-featured .theme-card-title { font-size: 1.875rem; }
}
.theme-card-price {
	flex-shrink: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em;
	color: var(--color-foreground); background-color: color-mix(in srgb, var(--color-foreground) 5%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); padding: 0.125rem 0.375rem;
}
.theme-card-price bdi, .theme-card-price .woocommerce-Price-amount { font-family: var(--font-mono); }

.theme-card-footer {
	margin-top: 0.625rem;
	padding-top: 0.5rem;
	border-top: 1px dashed color-mix(in srgb, var(--color-foreground) 30%, transparent);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-height: var(--theme-card-footer-height);
	position: relative;
	z-index: 4;
}
.theme-card-footer-meta {
	min-width: 0;
}
.theme-card-footer-action {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.theme-card-add-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	box-sizing: border-box;
	width: 5rem;
	min-width: 5rem;
	max-width: 5rem;
	height: 36px;
	padding-inline: 0.5rem;
	white-space: nowrap;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 2px solid var(--color-foreground);
	box-shadow: 4px 4px 0 0 var(--color-foreground);
	transition: all 150ms;
	flex-shrink: 0;
}
@media (min-width: 640px) {
	.theme-product-card .theme-card-footer {
		margin-top: auto;
		padding-top: 0.625rem;
	}
}
@media (min-width: 768px) {
	.theme-product-card .theme-card-footer { padding-top: 0.625rem; }
}
.theme-card-add-btn:hover { transform: translate(2px, 2px); box-shadow: none; }
.theme-card-add-btn.is-disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

.shop-empty-state { border: 2px dashed color-mix(in srgb, var(--color-foreground) 50%, transparent); padding-block: 3.5rem; text-align: center; }
.shop-empty-title { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .shop-empty-title { font-size: 2.25rem; } }

.shop-notice-box { margin-top: 2.5rem; border: 2px dashed color-mix(in srgb, var(--color-foreground) 50%, transparent); padding: 1.25rem; background-color: var(--color-card); }
.shop-notice-inner { display: flex; align-items: flex-start; gap: 1rem; }
.shop-notice-inner svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.125rem; }
.shop-notice-title { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.01em; margin-bottom: 0.375rem; }
@media (min-width: 768px) { .shop-notice-title { font-size: 1.5rem; } }
.shop-notice-desc { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; text-transform: none; }
@media (min-width: 768px) { .shop-notice-desc { font-size: 1rem; } }

/* -------------------------------------------------------------------------
   FUTURE DROPS
   ---------------------------------------------------------------------- */
.futuredrops-block { margin-top: 2.5rem; }
@media (min-width: 768px) { .futuredrops-block { margin-top: 4rem; } }
.futuredrops-header-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.futuredrops-heading { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; margin-top: 0.75rem; }
@media (min-width: 768px) { .futuredrops-heading { font-size: 1.875rem; } }
.futuredrops-description { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; max-width: 32rem; text-transform: none; }
.futuredrops-cta-row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .futuredrops-cta-row { flex-direction: row; } }
.futuredrops-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .futuredrops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .futuredrops-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.futuredrop-tile { display: flex; flex-direction: column; padding: 0.75rem; }
@media (min-width: 768px) { .futuredrop-tile { padding: 1rem; } }
.futuredrop-top-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.625rem; }
.futuredrop-badge-soon { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.125rem 0.5rem; border: 1px solid var(--color-gold); color: var(--color-gold); }
.futuredrop-visual { position: relative; aspect-ratio: 16 / 10; border: 2px solid var(--color-foreground); background-color: var(--color-secondary); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.futuredrop-visual-pattern { position: absolute; inset: 0; opacity: 0.3; background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--color-foreground) 8%, transparent) 0 1px, transparent 1px 10px); }
.futuredrop-visual-content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.futuredrop-visual-content svg { margin-bottom: 0.5rem; }
.futuredrop-visual-label { font-family: var(--font-display); font-size: 1.25rem; line-height: 1; letter-spacing: 0.02em; color: var(--color-foreground); }
@media (min-width: 768px) { .futuredrop-visual-label { font-size: 1.5rem; } }
.futuredrop-visual-soon { margin-top: 0.5rem; }
.futuredrop-next-tag { position: absolute; top: 0.5rem; left: 0.5rem; transform: rotate(-6deg); font-family: var(--font-display); font-size: 0.875rem; padding: 0.125rem 0.375rem; background-color: var(--color-foreground); color: var(--color-background); border: 2px solid var(--color-background); }
.futuredrop-title-row { margin-top: 0.75rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.futuredrop-title { font-family: var(--font-display); font-size: 1rem; line-height: 1.2; letter-spacing: 0.02em; color: var(--color-foreground); }
@media (min-width: 768px) { .futuredrop-title { font-size: 1.125rem; } }
.futuredrop-tba { flex-shrink: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--color-muted-foreground); background-color: color-mix(in srgb, var(--color-foreground) 5%, transparent); border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); padding: 0.125rem 0.375rem; }
.futuredrop-blurb { font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.375rem; line-height: 1.5; text-transform: none; }
@media (min-width: 768px) { .futuredrop-blurb { font-size: 0.875rem; } }
.futuredrop-footer { margin-top: auto; padding-top: 0.75rem; }
.futuredrop-footer-inner { padding-top: 0.625rem; border-top: 1px dashed color-mix(in srgb, var(--color-foreground) 30%, transparent); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 44px; }
.futuredrop-cta-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem;
	height: 36px; padding-inline: 0.75rem; min-width: 128px; white-space: nowrap;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
	border: 2px solid var(--color-foreground); box-shadow: 4px 4px 0 0 var(--color-foreground); transition: all 150ms;
}
.futuredrop-cta-btn:hover { transform: translate(2px, 2px); box-shadow: none; }

/* -------------------------------------------------------------------------
   EVENTS
   ---------------------------------------------------------------------- */
.events-section { border-bottom: 2px solid var(--color-foreground); }
.events-section .container-wide { padding-block: 2.5rem; }
@media (min-width: 768px) { .events-section .container-wide { padding-block: 4rem; } }
.events-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .events-grid { grid-template-columns: repeat(12, 1fr); } }
.events-heading-col { grid-column: span 12; }
@media (min-width: 1024px) { .events-heading-col { grid-column: span 5; } }
.events-empty-col { grid-column: span 12; }
@media (min-width: 1024px) { .events-empty-col { grid-column: span 7; } }
.events-empty-box { border: 2px dashed color-mix(in srgb, var(--color-foreground) 60%, transparent); padding: 1.5rem; background-color: var(--color-card); display: flex; gap: 1rem; }
@media (min-width: 768px) { .events-empty-box { padding: 2rem; } }
.events-empty-box > svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.25rem; }
.events-empty-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .events-empty-title { font-size: 1.875rem; } }
.events-empty-desc { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin-bottom: 1.25rem; text-transform: none; }
@media (min-width: 768px) { .events-empty-desc { font-size: 1rem; } }
.events-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* -------------------------------------------------------------------------
   CONTACT BLOCK
   ---------------------------------------------------------------------- */
.contact-block-section .container-wide { padding-block: 2.5rem; }
@media (min-width: 768px) { .contact-block-section .container-wide { padding-block: 4rem; } }
.contact-block-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .contact-block-grid { grid-template-columns: repeat(12, 1fr); } }
.contact-heading-col { grid-column: span 12; }
@media (min-width: 1024px) { .contact-heading-col { grid-column: span 5; } }
.contact-card-col { grid-column: span 12; }
@media (min-width: 1024px) { .contact-card-col { grid-column: span 7; } }
.contact-description { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 1rem; line-height: 1.6; max-width: 28rem; text-transform: none; }
@media (min-width: 768px) { .contact-description { font-size: 1rem; } }
.contact-open-cta { margin-top: 1.25rem; }
.contact-card { border: 2px solid var(--color-foreground); background-color: var(--color-card); padding: 1.25rem; box-shadow: 6px 6px 0 0 var(--color-primary); }
@media (min-width: 768px) { .contact-card { padding: 1.75rem; } }
.contact-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.contact-card-waveform { margin-bottom: 1rem; opacity: 0.6; }
.contact-card-list { display: flex; flex-direction: column; }
.contact-card-row { padding-block: 0.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.contact-card-row:last-child { border-bottom: none; }
.contact-card-link { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 200ms; }
@media (min-width: 768px) { .contact-card-link { font-size: 1.25rem; } }
.contact-card-link:hover { color: var(--color-primary); }
.contact-card-business { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.02em; }
@media (min-width: 768px) { .contact-card-business { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------------- */
.site-footer { border-top: 2px solid var(--color-foreground); background-color: var(--color-background); color: var(--color-foreground); }
.footer-wordmark-band { border-bottom: 1px solid var(--color-border); overflow: hidden; }
.footer-wordmark-band .container-wide { padding-block: 1.5rem; }
@media (min-width: 768px) { .footer-wordmark-band .container-wide { padding-block: 2rem; } }
.footer-wordmark-btn { display: block; width: 100%; text-align: left; cursor: pointer; }
.footer-wordmark { font-family: var(--font-display); font-size: 10vw; line-height: 1; letter-spacing: -0.01em; color: color-mix(in srgb, var(--color-foreground) 95%, transparent); transition: color 200ms; }
@media (min-width: 768px) { .footer-wordmark { font-size: 6.5vw; } }
@media (min-width: 1024px) { .footer-wordmark { font-size: 5.5vw; } }
.footer-wordmark-btn:hover .footer-wordmark { color: var(--color-foreground); }
.footer-waveform { margin-top: 0.75rem; opacity: 0.4; transition: opacity 200ms; }
.footer-wordmark-btn:hover .footer-waveform { opacity: 0.7; }

.footer-grid { padding-block: 2rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); padding-block: 2.5rem; } }
.footer-col-mission { grid-column: span 1; }
@media (min-width: 768px) { .footer-col-mission { grid-column: span 2; } }
.footer-mission-text { margin-top: 0.75rem; font-family: var(--font-body); font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.6; max-width: 28rem; text-transform: none; }
@media (min-width: 768px) { .footer-mission-text { font-size: 1rem; } }
.footer-nav, .footer-contact-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; }
.footer-nav-list { flex-direction: column; gap: 0.5rem; }
.footer-nav-list a, .footer-contact-link {
	font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
	color: var(--color-muted-foreground); transition: color 200ms; display: flex; align-items: center; gap: 0.5rem;
	background: none; border: none; padding: 0; text-align: left;
}
.footer-nav-list a:hover, .footer-contact-link:hover { color: var(--color-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.footer-bottom { border-top: 1px solid var(--color-border); }
.footer-bottom-inner { padding-block: 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; text-align: left; } }
.footer-copyright, .footer-credit { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); }
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; transition: color 200ms; }
.footer-credit a:hover { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   SIDE CART DRAWER + OVERLAY (Section 12)
   ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 55; background-color: color-mix(in srgb, var(--color-background) 70%, transparent);
	backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 250ms;
}
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: 28rem;
	background-color: var(--color-background); z-index: 60; border-left: 2px solid var(--color-foreground);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 300ms var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; border-bottom: 2px solid var(--color-foreground); background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-cart-drawer-eyebrow { opacity: 0.8; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; display: block; }
.theme-cart-drawer-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; }
.theme-cart-close-btn { padding: 0.5rem; border: 2px solid var(--color-primary-foreground); transition: all 150ms; }
.theme-cart-close-btn:hover { background-color: var(--color-primary-foreground); color: var(--color-primary); }

.theme-cart-empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty-state svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-empty-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.theme-cart-empty-desc { color: var(--color-muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); font-size: 0.875rem; text-transform: none; }

.theme-cart-items-list { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px dashed color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.theme-cart-item:last-child { border-bottom: none; padding-bottom: 0; }
.theme-cart-item-image { position: relative; width: 80px; height: 96px; background-color: var(--color-secondary); border: 2px solid var(--color-foreground); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item-image img,
.theme-cart-item-image .theme-cart-item-img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.01em; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 200ms; }
.theme-cart-item-name:hover { color: var(--color-primary); }
.theme-cart-item-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-group { display: flex; align-items: center; border: 2px solid var(--color-foreground); }
.theme-cart-qty-btn { padding: 0.375rem; transition: all 150ms; display: inline-flex; }
.theme-cart-qty-btn:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-cart-qty-value { font-family: var(--font-mono); font-size: 12px; width: 2rem; text-align: center; letter-spacing: 0.05em; }
.theme-cart-remove-btn { margin-left: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 200ms; }
.theme-cart-remove-btn:hover { color: var(--color-primary); }

.theme-cart-drawer-footer { border-top: 2px solid var(--color-foreground); background-color: var(--color-card); }
.theme-cart-summary-rows { padding: 1.25rem 1.25rem 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-cart-summary-row { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--color-muted-foreground); text-transform: uppercase; }
.theme-cart-subtotal-row { align-items: baseline; padding-top: 0.5rem; border-top: 1px dashed color-mix(in srgb, var(--color-foreground) 40%, transparent); color: var(--color-foreground); }
.theme-cart-subtotal-value { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; color: var(--color-foreground); }
.theme-cart-footnote { padding-top: 0.25rem; }
.theme-cart-footer-actions { padding: 0.5rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-cart-empty-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted-foreground); padding-block: 0.5rem; transition: color 200ms; }
.theme-cart-empty-btn:hover { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   CONTACT MODAL (Radix-dialog equivalent)
   ---------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 70; display: none; }
.theme-modal.is-open { display: block; }
.theme-modal-overlay { position: fixed; inset: 0; background-color: color-mix(in srgb, var(--color-background) 80%, transparent); opacity: 0; transition: opacity 200ms; }
.theme-modal.is-open .theme-modal-overlay { opacity: 1; }
.theme-modal-content {
	position: fixed; top: 50%; left: 50%; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background-color: var(--color-background); border: 2px solid var(--color-foreground); box-shadow: 6px 6px 0 0 var(--color-primary);
	padding: 1.5rem; transform: translate(-50%, -48%) scale(0.97); opacity: 0; transition: transform 220ms var(--transition-smooth), opacity 220ms var(--transition-smooth);
}
.theme-modal.is-open .theme-modal-content { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media (min-width: 768px) { .theme-modal-content { padding: 2rem; } }
.theme-modal-close { position: absolute; top: 1rem; right: 1rem; padding: 0.375rem; color: var(--color-muted-foreground); transition: color 200ms; }
.theme-modal-close:hover { color: var(--color-primary); }
.theme-modal-header { margin-bottom: 1rem; }
.theme-modal-title { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: 0.02em; margin-top: 0.75rem; }
@media (min-width: 768px) { .theme-modal-title { font-size: 2.25rem; } }
.theme-modal-desc { font-family: var(--font-body); color: var(--color-muted-foreground); margin-top: 0.5rem; text-transform: none; }
.theme-modal-contactlist { display: flex; flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding-block: 1rem; margin-block: 0.5rem; }
.theme-modal-contact-link { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-foreground); transition: color 200ms; }
.theme-modal-contact-link:hover { color: var(--color-primary); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.375rem; color: var(--color-foreground); }
.form-field input, .form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background-color: var(--color-background);
	border: 2px solid var(--color-border); font-size: 1rem; color: var(--color-foreground); transition: border-color 200ms;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent); }
.form-field textarea { resize: none; }
.form-actions-end { display: flex; justify-content: flex-end; }
.theme-modal-success { text-align: center; padding-block: 2rem; }
.theme-modal-success-icon { width: 56px; height: 56px; background-color: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: 1rem; border: 2px solid var(--color-foreground); box-shadow: 4px 4px 0 0 var(--color-foreground); }
.theme-modal-success h4 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.theme-modal-success p { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); text-transform: none; }

/* -------------------------------------------------------------------------
   SINGLE PRODUCT PAGE (Section 11)
   ---------------------------------------------------------------------- */
.single-product-toprow { padding-top: 0.75rem; padding-bottom: 0.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 768px) { .single-product-toprow { padding-top: 1rem; } }
.btn-back-to-shop {
	display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
	border: 2px solid var(--color-foreground); padding: 0.375rem 0.75rem; background-color: var(--color-background); transition: all 150ms;
}
.btn-back-to-shop:hover { background-color: var(--color-foreground); color: var(--color-background); }
.single-product-breadcrumb a { transition: color 200ms; }
.single-product-breadcrumb a:hover { color: var(--color-foreground); }
.single-product-breadcrumb .crumb-sep { margin-inline: 0.5rem; opacity: 0.5; }
.single-product-breadcrumb .crumb-current { color: var(--color-foreground); }
.single-product-breadcrumb .posted_in, .single-product-breadcrumb .posted_in a { display: inline; }

.theme-product-layout { border-top: 2px solid var(--color-foreground); padding-bottom: 4rem; padding-top: 0.75rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(12, 1fr); gap: 3rem; padding-top: 1rem; } }
.theme-product-gallery { grid-column: span 12; padding-top: 1.5rem; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7; } }
.theme-product-info { grid-column: span 12; padding-top: 1.5rem; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { grid-column: span 5; position: sticky; top: 6rem; align-self: start; } }

.single-product-frame { position: relative; border: 2px solid var(--color-foreground); background-color: var(--color-secondary); box-shadow: 4px 4px 0 0 var(--color-foreground); overflow: hidden; }
.single-product-tag-left, .single-product-tag-right { position: absolute; top: 0.75rem; z-index: 10; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.125rem 0.5rem; border: 2px solid var(--color-background); }
.single-product-tag-left { left: 0.75rem; background-color: var(--color-foreground); color: var(--color-background); }
.single-product-tag-right { right: 0.75rem; background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-foreground); }
.single-product-main-image-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.single-product-main-image { object-fit: cover; object-position: center; }
.single-product-sprocket {
	height: 12px; background-color: var(--color-foreground);
	-webkit-mask-image: radial-gradient(circle at 8px 50%, transparent 3px, black 3.5px);
	mask-image: radial-gradient(circle at 8px 50%, transparent 3px, black 3.5px);
	-webkit-mask-size: 16px 100%; mask-size: 16px 100%;
	-webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; max-width: 100%; padding-bottom: 0.25rem; }
.theme-product-thumb { position: relative; width: 80px; height: 80px; flex-shrink: 0; overflow: hidden; border: 2px solid color-mix(in srgb, var(--color-foreground) 40%, transparent); transition: border-color 200ms; }
.theme-product-thumb:hover { border-color: var(--color-foreground); }
.theme-product-thumb.is-active { border-color: var(--color-primary); box-shadow: 4px 4px 0 0 var(--color-foreground); }

.single-product-badges-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.badge-soldout { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.125rem 0.5rem; background-color: var(--color-foreground); color: var(--color-background); border: 2px solid var(--color-foreground); }

.product-title.single-product-title,
.single-product-title {
	font-family: var(--font-display) !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	line-height: 0.9 !important;
	letter-spacing: -0.01em !important;
	color: var(--color-foreground);
	font-size: 2.25rem;
	margin-top: 1rem;
	margin-bottom: 1.25rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
@media (min-width: 768px) { .single-product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .single-product-title { font-size: 3.75rem; } }

.single-product-tag-badges { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1.25rem; }
.single-product-badge-chip { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.5rem; border: 2px solid color-mix(in srgb, var(--color-foreground) 70%, transparent); background-color: var(--color-background); color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }

.single-product-price-block { border: 2px solid var(--color-foreground); background-color: var(--color-card); box-shadow: 4px 4px 0 0 var(--color-foreground); padding: 1rem; margin-bottom: 1.25rem; }
.price-block-row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.price-block-value { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; letter-spacing: -0.01em; }
@media (min-width: 768px) { .price-block-value { font-size: 3rem; } }
.price-block-currency { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px dashed color-mix(in srgb, var(--color-foreground) 40%, transparent); }

.single-product-desc { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.6; margin-bottom: 1.5rem; font-size: 0.9375rem; text-transform: none; overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 768px) { .single-product-desc { font-size: 1rem; } }
.single-product-desc p { margin-bottom: 0.75rem; }

.theme-attr-block { margin-bottom: 1.25rem; }
.theme-attr-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 0.5rem; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 0.875rem; border: 2px solid color-mix(in srgb, var(--color-foreground) 50%, transparent); background-color: var(--color-background); color: var(--color-foreground); transition: all 150ms; }
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-selected { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-foreground); box-shadow: 4px 4px 0 0 var(--color-foreground); }
.theme-attr-pill.is-unavailable { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.single-product .variations.shop_attributes,
table.variations { display: none; } /* visual selection handled by theme-attr-pills; native select stays in DOM for WC scripts */
.theme-attr-select-hidden { display: none !important; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-direction: column; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-add-to-cart-area { flex-direction: row; } }
.single-product-main .theme-add-to-cart-area { align-items: stretch; gap: 0.75rem; }
.single-product-main .theme-quantity-wrapper { flex-shrink: 0; align-self: auto; width: auto; }
.single-product-main .theme-qty-minus,
.single-product-main .theme-qty-plus { padding-inline: 0.75rem; padding-block: 0; min-height: 0; }
.single-product-main .theme-qty-input { width: 3rem; min-height: 0; padding-block: 0; line-height: 1; }
.single-product-main .theme-add-to-cart-area > .theme-quantity-wrapper,
.single-product-main .theme-add-to-cart-area > .single_add_to_cart_button,
.single-product-main .theme-add-to-cart-area > a.single_add_to_cart_button,
.single-product-main .theme-add-to-cart-area > button.single_add_to_cart_button,
.single-product-main .theme-add-to-cart-area > span.single_add_to_cart_button {
	height: 52px;
	min-height: 52px;
	box-sizing: border-box;
}
@media (max-width: 639px) {
	.single-product-main .theme-add-to-cart-area { align-items: flex-start; }
	.single-product-main .theme-quantity-wrapper,
	.single-product-main .theme-add-to-cart-area > .theme-quantity-wrapper {
		align-self: flex-start;
		width: auto;
		height: 40px;
		min-height: 40px;
	}
	.single-product-main .theme-qty-minus,
	.single-product-main .theme-qty-plus {
		padding-inline: 0.625rem;
		min-width: 36px;
	}
	.single-product-main .theme-qty-input { width: 2.75rem; }
	.single-product-main .theme-add-to-cart-area > a.single_add_to_cart_button,
	.single-product-main .theme-add-to-cart-area > button.single_add_to_cart_button,
	.single-product-main .theme-add-to-cart-area > span.single_add_to_cart_button {
		align-self: stretch;
		width: 100%;
	}
}
.theme-quantity-wrapper { display: inline-flex; align-items: stretch; border: 2px solid var(--color-foreground); background-color: var(--color-background); }
.theme-qty-minus, .theme-qty-plus { padding-inline: 0.75rem; transition: all 150ms; display: inline-flex; align-items: center; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-foreground); color: var(--color-background); }
.theme-qty-input {
	width: 3rem;
	text-align: center;
	border: none;
	border-inline: 2px solid var(--color-foreground);
	background-color: transparent;
	color: var(--color-foreground);
	-webkit-text-fill-color: var(--color-foreground);
	caret-color: var(--color-foreground);
	font-family: var(--font-mono);
	font-size: 12px;
	-moz-appearance: textfield;
}
.theme-qty-input:-webkit-autofill,
.theme-qty-input:-webkit-autofill:hover,
.theme-qty-input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px var(--color-background) inset;
	-webkit-text-fill-color: var(--color-foreground);
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !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;
	box-shadow: 4px 4px 0 0 var(--color-foreground) !important;
	flex: 1 1 auto;
	min-width: 160px;
}
/* Single product CTA uses stamp button (Lovable btn-stamp-primary parity) */
.single-product-main .single_add_to_cart_button.btn-stamp-primary,
.single-product-main a.single_add_to_cart_button.btn-stamp-primary,
.single-product-main button.single_add_to_cart_button.btn-stamp-primary {
	font-family: var(--font-display) !important;
	font-size: 0.875rem !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	padding: 0 1.5rem !important;
	border: 2px solid var(--color-primary) !important;
	border-radius: 0 !important;
	min-height: 52px !important;
	height: 52px !important;
	min-width: 0 !important;
	flex: 1 1 0 !important;
	transition: transform 150ms, box-shadow 150ms, opacity 150ms !important;
}
.single-product-main .single_add_to_cart_button.btn-stamp-primary:hover:not(:disabled):not(.disabled):not(.is-disabled),
.single-product-main a.single_add_to_cart_button.btn-stamp-primary:hover:not(:disabled):not(.disabled) {
	transform: translate(2px, 2px);
	box-shadow: 0 0 0 0 var(--color-foreground) !important;
	opacity: 1 !important;
}
.single-product-cta-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.single-product-cta-icon { flex-shrink: 0; }
.single-product-main .single_add_to_cart_button.is-added .single-product-cta-arrow,
.single-product-main a.single_add_to_cart_button.is-added .single-product-cta-arrow { display: none; }
.single-product-main .single_add_to_cart_button.is-added .single-product-cta-check,
.single-product-main a.single_add_to_cart_button.is-added .single-product-cta-check { display: block; }
.single-product-main .single_add_to_cart_button.is-disabled,
.single-product-main span.single_add_to_cart_button.is-disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}
.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-primary-foreground) !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;
	box-shadow: 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_add_to_cart_button.button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card-scoped compact add-to-cart override (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .add_to_cart_button {
	min-height: unset !important;
	height: 36px !important;
	width: 5rem !important;
	min-width: 5rem !important;
	max-width: 5rem !important;
	padding-inline: 0.5rem !important;
	border-radius: 0 !important;
	box-shadow: 4px 4px 0 0 var(--color-foreground) !important;
	font-family: var(--font-mono) !important;
	font-size: 12px !important;
	letter-spacing: 0.1em !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-delivery-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.single-product-accordions { border-top: 2px solid var(--color-foreground); margin-top: 1rem; }
.theme-accordion { border-bottom: 2px solid var(--color-foreground); }
.theme-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; text-align: left; }
.theme-accordion-chevron { transition: transform 200ms; }
.theme-accordion.is-open .theme-accordion-chevron { transform: rotate(180deg); }
.theme-accordion-panel { max-height: 0; overflow: hidden; transition: max-height 250ms var(--transition-smooth); }
.theme-accordion.is-open .theme-accordion-panel { max-height: 1200px; }
.theme-accordion-panel-inner { padding-bottom: 1.25rem; font-family: var(--font-body); font-size: 0.9375rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; text-transform: none; overflow-wrap: break-word; word-break: break-word; }
.single-product-accordion-desc { font-size: 0.9375rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; margin-bottom: 0.75rem; }
.single-product-detail-list { list-style: none; padding: 0; margin: 0; }
.single-product-detail-list li {
	display: flex;
	align-items: flex-start;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	margin-bottom: 0.375rem;
}
.single-product-detail-list li::before {
	content: '';
	width: 6px;
	height: 6px;
	background-color: var(--color-primary);
	margin-top: 0.5rem;
	margin-right: 0.625rem;
	flex-shrink: 0;
}
.single-product-accordion-end { border-top: 2px solid var(--color-foreground); }
.single-product-delivery-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-bottom: 1.25rem;
}
.single-product-delivery-inner p {
	font-size: 0.875rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	margin: 0;
}

.single-product-details-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--color-foreground); }
.single-product-details-heading { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.75rem; }
/* Hide default WooCommerce product meta on single product (Lovable has no SKU row) */
.single-product-main .product_meta { display: none !important; }
.woocommerce-variation-description, .woocommerce-product-details__short-description, .posted_in { overflow-wrap: break-word; word-break: break-word; }

.woocommerce-variation.single_variation { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; text-transform: none; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* -------------------------------------------------------------------------
   RELATED PRODUCTS
   ---------------------------------------------------------------------- */
.related-products-section { padding-block: 3.5rem; border-top: 2px solid var(--color-foreground); }
@media (min-width: 768px) { .related-products-section { padding-block: 4rem; } }
.related-products-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.related-products-grid.theme-product-grid {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) {
	.related-products-grid.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.related-products-grid.theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* -------------------------------------------------------------------------
   SHOP ARCHIVE
   ---------------------------------------------------------------------- */
.shop-archive-inner { padding-block: 2rem 4rem; }
.shop-archive-title { font-size: 2.5rem; margin-bottom: 1.5rem; }
.woocommerce-breadcrumb { display: none; }

/* -------------------------------------------------------------------------
   GENERIC PAGE / 404
   ---------------------------------------------------------------------- */
.generic-page-inner { padding-block: 3rem 4rem; min-height: 40vh; }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }
.notfound-inner { padding-block: 6rem; text-align: center; min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.notfound-code { font-size: 4rem; }
.notfound-message { font-family: var(--font-body); text-transform: none; color: var(--color-muted-foreground); }
.notfound-link { color: var(--color-primary); text-decoration: underline; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; }

/* -------------------------------------------------------------------------
   WOOCOMMERCE NOTICES (Section 14.1 — scoped, never global)
   ---------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); font-size: 0.875rem; border: 2px solid var(--color-foreground); background-color: var(--color-card);
	color: var(--color-foreground); padding: 1rem 1.25rem; margin-bottom: 1.5rem; list-style: none; text-transform: none;
}
.woocommerce-error { border-color: var(--color-primary); }

/* -------------------------------------------------------------------------
   CHECKOUT BLOCK OVERRIDES (Section 13)
   ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
	font-family: var(--font-body);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--checkout-gap);
	align-items: start;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart.is-large {
		grid-template-columns: 1fr 1fr;
	}
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-cart { display: block; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	font-family: var(--font-body);
	color: var(--color-foreground);
	background-color: var(--color-background);
	border: 2px solid var(--color-border);
	border-radius: 0;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input {
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: 0 !important;
	font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.85; }
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: var(--color-card);
	border-radius: 0;
	padding: 2rem;
	border: 2px solid var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	font-family: var(--font-body);
	border-radius: 0;
}

/* Order summary quantity badge — readable on dark theme */
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
body.woocommerce-cart .wc-block-components-order-summary-item__quantity {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: 2px solid var(--color-background) !important;
	box-shadow: none !important;
	font-family: var(--font-mono) !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	min-width: 20px !important;
	min-height: 20px !important;
	padding: 2px 4px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity span[aria-hidden="true"],
body.woocommerce-cart .wc-block-components-order-summary-item__quantity span[aria-hidden="true"] {
	color: var(--color-background) !important;
	-webkit-text-fill-color: var(--color-background) !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity .screen-reader-text,
body.woocommerce-cart .wc-block-components-order-summary-item__quantity .screen-reader-text {
	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;
}

/* -------------------------------------------------------------------------
   THANK YOU PAGE (Section 22.8)
   ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.thankyou-wrap { padding-block: 2rem 4rem; }
.thankyou-banner { text-align: center; border: 2px solid var(--color-foreground); background-color: var(--color-card); box-shadow: 4px 4px 0 0 var(--color-foreground); padding: 2rem; margin-bottom: 2rem; }
.thankyou-check-icon { width: 56px; height: 56px; background-color: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: 1.25rem; border: 2px solid var(--color-foreground); box-shadow: 4px 4px 0 0 var(--color-foreground); }
.thankyou-title { font-size: 2.25rem; margin-top: 1rem; margin-bottom: 0.75rem; }
.thankyou-desc { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 85%, transparent); max-width: 32rem; margin-inline: auto; text-transform: none; }

body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 1.5rem 0 1rem; font-size: 1.5rem; }
@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; }
}

