/* ==========================================================================
   CozyPaws Boutique — theme.css
   Design tokens ported verbatim (HSL values) from the original source.
   ========================================================================== */

:root {
	/* Color tokens are overridden inline by wp_add_inline_style() (functions.php)
	   with hex values converted from the same HSL source via theme_hsl_to_hex().
	   The hex fallbacks below match the source defaults exactly. */
	--color-background: #fbf8f4;
	--color-foreground: #493427;
	--color-primary: #ea7153;
	--color-primary-foreground: #fcfaf8;
	--color-accent: #89b390;
	--color-accent-foreground: #493427;
	--color-card: #f7f0e9;
	--color-blush: #f7dee3;
	--color-border: #dfd6cd;
	--color-muted-foreground: #766256;
	--color-muted: #e3dbd3;
	--color-surface-deep: #593c2c;
	--color-surface-deep-foreground: #f8f3ed;

	--color-secondary: #f3ebe2;
	--color-secondary-foreground: #50382b;

	--font-display: 'Quicksand', sans-serif;
	--font-body: 'Nunito Sans', sans-serif;

	--radius: 1.25rem;
	--shadow-soft: 0 6px 24px -8px rgba(73, 52, 39, 0.10);
	--shadow-elevated: 0 14px 44px -12px rgba(73, 52, 39, 0.18);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height: 64px;
	--header-height: 88px;
	--site-gutter: 1.5rem;

	--btn-radius: 9999px;
	--btn-height: 52px;
	--btn-padding: 0.875rem 2rem;
	--btn-font-size: 0.8rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.02em;
	--btn-text-transform: none;
	--btn-icon-padding: 0;
	--color-button-text: var(--color-primary-foreground);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img) { height: auto; }
.cover-img, .hero-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.01em;
	margin: 0;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-left: var(--site-gutter);
	padding-right: var(--site-gutter);
}
@media (min-width: 768px) {
	:root { --site-gutter: 2rem; }
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

/* ==========================================================================
   Reusable components (ported from source @layer components)
   ========================================================================== */
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.btn-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: all 0.3s;
	font-family: var(--font-body);
}
.btn-pill-primary, .btn-pill-secondary { text-transform: none; }
.btn-pill-primary {
	display: inline-flex; align-items: center; justify-content: center;
	border: none; border-radius: var(--btn-radius); padding: var(--btn-padding);
	font-size: var(--btn-font-size); font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing); font-family: var(--font-body);
	background: var(--color-primary); color: var(--color-primary-foreground);
	box-shadow: var(--shadow-soft); cursor: pointer;
	transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), filter 0.3s var(--transition-smooth);
}
.btn-pill-primary:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 18px 40px -14px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.btn-pill-secondary {
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--color-border); border-radius: var(--btn-radius); padding: var(--btn-padding);
	font-size: var(--btn-font-size); font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing); font-family: var(--font-body);
	background: var(--color-card); color: var(--color-foreground); cursor: pointer;
	transition: all 0.3s var(--transition-smooth);
}
.btn-pill-secondary:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); transform: translateY(-2px); }
.btn-pill__icon { margin-left: 0.5rem; }

.fabric-tag {
	display: inline-flex; align-items: center; gap: 0.4rem;
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	padding: 0.25rem 0.75rem; border-radius: 9999px;
	border: 1px dashed color-mix(in srgb, var(--color-primary) 40%, transparent);
	color: var(--color-primary);
	font-family: var(--font-body);
}
.fabric-tag--hero { background: color-mix(in srgb, var(--color-background) 70%, transparent); margin-bottom: 1.5rem; }
.fabric-tag--accent { border-color: var(--color-accent); color: var(--color-accent-foreground); background: color-mix(in srgb, var(--color-accent) 20%, transparent); }

.section-heading {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
}

/* ==========================================================================
   Scroll reveal system (Section 2.1)
   ========================================================================== */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item,
.theme-no-js .reveal-item {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1; transform: none; transition: none; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes stickerPop {
	0% { opacity: 0; transform: scale(0.6) rotate(-8deg); }
	60% { opacity: 1; transform: scale(1.08) rotate(3deg); }
	100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes pawWiggle { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes bagBump { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.08) rotate(-3deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes softFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes cozyMarquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dashScroll { to { stroke-dashoffset: -26; } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.animate-sticker-pop { animation: stickerPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.animate-bag-bump { animation: bagBump 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.animate-soft-float { animation: softFloat 6s ease-in-out infinite; }
.animate-paw-wiggle { animation: pawWiggle 2.6s ease-in-out infinite; transform-origin: 50% 70%; }

@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;
	}
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.theme-announcement-bar {
	position: relative;
	height: 1.75rem;
	background: var(--color-surface-deep);
	color: var(--color-surface-deep-foreground);
	overflow: hidden;
}
@media (min-width: 768px) { .theme-announcement-bar { height: 2rem; } }
.theme-announcement-bar__inner {
	position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%;
	padding-left: var(--site-gutter); padding-right: var(--site-gutter);
}
.theme-announcement-bar__mask {
	flex: 1; overflow: hidden; height: 100%; position: relative;
	-webkit-mask-image: linear-gradient(to right, transparent 0, black 32px, black calc(100% - 48px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, black 32px, black calc(100% - 48px), transparent 100%);
}
.marquee-track { display: flex; align-items: center; height: 100%; white-space: nowrap; will-change: transform; animation: cozyMarquee 40s linear infinite; }
.theme-announcement-bar__item { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0 1rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 768px) { .theme-announcement-bar__item { padding: 0 1.5rem; font-size: 13px; } }
.theme-announcement-bar__star { opacity: 0.7; flex-shrink: 0; }
.theme-announcement-bar__close { flex-shrink: 0; height: 100%; padding: 0 0.75rem; opacity: 0.7; background: transparent; border: none; color: inherit; display: flex; align-items: center; justify-content: center; }
.theme-announcement-bar__close:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; justify-content: center; } }

.theme-home { background: var(--color-background); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
	background: color-mix(in srgb, var(--color-background) 80%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-bottom: 1px solid transparent;
	transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-solid,
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-soft);
}
.theme-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; transition: height 0.3s; }
@media (min-width: 768px) { .theme-nav { height: 5.5rem; } }
@media (min-width: 1024px) { .theme-nav { height: 6rem; } }
.theme-logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.theme-logo-frame {
	position: relative; border-radius: 50%; background: var(--color-background);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
	width: 4rem; height: 4rem;
	box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--color-primary) 25%, transparent);
	transition: all 0.3s;
}
@media (min-width: 768px) { .theme-logo-frame { width: 4.5rem; height: 4.5rem; } }
@media (min-width: 1024px) { .theme-logo-frame { width: 5rem; height: 5rem; } }
.theme-logo-link:hover .theme-logo-frame { transform: rotate(-2deg); }
.theme-logo-frame--text {
	width: auto; height: auto; min-height: 0; border-radius: 0; background: transparent;
	box-shadow: none; overflow: visible; padding: 0;
}
.theme-logo-link:hover .theme-logo-frame--text { transform: none; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; padding: 4px; }
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.15; white-space: nowrap; }
.site-logo-text--header { font-size: clamp(1rem, 3.5vw, 1.25rem); max-width: min(12rem, 42vw); overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .site-logo-text--header { max-width: 14rem; font-size: 1.25rem; } }

.theme-nav-desktop { display: none; }
@media (min-width: 1024px) { .theme-nav-desktop { display: flex; align-items: center; gap: 2rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link, .nav-link {
	position: relative; display: inline-flex; align-items: center;
	font-size: 12px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.3s; cursor: pointer; background: none; border: none;
}
.theme-nav-link:hover, .nav-link:hover { color: var(--color-primary); }
.theme-nav-link.is-active { color: var(--color-primary); }

.theme-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .theme-nav-actions { gap: 0.75rem; } }
.theme-shop-cta {
	display: none; align-items: center; gap: 0.5rem; border-radius: 9999px;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.5rem 1rem 0.5rem 1.25rem; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
	border: none; box-shadow: var(--shadow-soft); transition: all 0.3s;
}
@media (min-width: 768px) { .theme-shop-cta { display: inline-flex; } }
.theme-shop-cta:hover { filter: brightness(1.05); transform: translateY(-2px); }
.theme-shop-cta__icon { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary-foreground) 20%, transparent); }

.theme-cart-btn {
	position: relative; display: inline-flex; align-items: center; gap: 0.375rem;
	padding: 0.4rem 0.75rem 0.4rem 0.6rem; border-radius: 9999px;
	border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-background) 80%, transparent);
	color: var(--color-foreground); transition: all 0.3s; box-shadow: var(--shadow-soft);
}
.theme-cart-btn:hover { color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-cart-btn__icon-wrap { position: relative; display: inline-flex; }
.theme-cart-btn__icon { transition: all 0.3s; }
.theme-cart-btn:hover .theme-cart-btn__icon { transform: rotate(-3deg) scale(1.05); }
.theme-cart-btn__heart { position: absolute; top: -4px; right: -6px; width: 10px; height: 10px; color: var(--color-primary); opacity: 0.9; }
.theme-cart-btn__label { display: none; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 640px) { .theme-cart-btn__label { display: inline; } }
.theme-cart-count {
	margin-left: 2px; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 700; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px;
	box-shadow: 0 4px 10px -2px color-mix(in srgb, var(--color-primary) 55%, transparent);
}
.theme-cart-count:empty { display: none; margin: 0; }

.theme-mobile-toggle { display: inline-flex; padding: 0.5rem; border-radius: 9999px; background: transparent; border: none; color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle:hover { color: var(--color-primary); background: var(--color-secondary); }
.theme-mobile-toggle__close { display: none; }
.theme-mobile-toggle.is-open .theme-mobile-toggle__open { display: none; }
.theme-mobile-toggle.is-open .theme-mobile-toggle__close { display: block; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; animation: fadeIn 0.4s var(--transition-smooth); }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
.theme-mobile-menu__list { display: flex; flex-direction: column; gap: 0.25rem; width: 100%; }
.theme-mobile-nav-list,
.theme-mobile-menu .theme-nav-list {
	display: flex; flex-direction: column; gap: 0.25rem; width: 100%;
}
.theme-mobile-nav-list > li,
.theme-mobile-menu .theme-nav-list > li { width: 100%; display: block; }
.theme-mobile-nav-list a,
.theme-mobile-menu__list button:not(.theme-mobile-menu__shop),
.theme-mobile-menu .theme-nav-list a {
	display: block; text-align: left; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
	padding: 0.75rem; border-radius: 0.5rem; background: none; border: none; color: inherit; width: 100%;
}
.theme-mobile-nav-list a:hover,
.theme-mobile-menu__list button:not(.theme-mobile-menu__shop):hover,
.theme-mobile-menu .theme-nav-list a:hover { background: var(--color-secondary); color: var(--color-primary); }
.theme-mobile-menu__shop {
	margin-top: 0.75rem;
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-transform: none;
	letter-spacing: var(--btn-letter-spacing);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section { position: relative; overflow: hidden; }
.hero-section__wash { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom right, var(--color-blush), var(--color-background), var(--color-secondary)); }
.hero-section__blob { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(64px); z-index: -1; }
.hero-section__blob--tr { top: -6rem; right: -6rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.hero-section__blob--bl { bottom: -6rem; left: -6rem; background: color-mix(in srgb, var(--color-accent) 15%, transparent); }
.hero-section__floaters { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-floater { position: absolute; animation: floatY ease-in-out infinite; opacity: 0.5; }
.hero-floater--1 { top: 12%; left: 6%; animation-duration: 11s; }
.hero-floater--2 { top: 68%; left: 10%; animation-duration: 13s; animation-delay: 1.4s; color: color-mix(in srgb, var(--color-accent) 40%, transparent); }
.hero-floater--3 { top: 22%; left: 88%; animation-duration: 12s; animation-delay: 0.6s; color: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.hero-floater--4 { top: 78%; left: 82%; animation-duration: 14s; animation-delay: 2.1s; color: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.hero-floater--5 { top: 40%; left: 48%; animation-duration: 10s; animation-delay: 3s; color: color-mix(in srgb, var(--color-primary) 15%, transparent); }

.hero-section__container { padding-top: 1rem; padding-bottom: 4rem; min-height: 92vh; display: flex; align-items: center; }
@media (min-width: 768px) { .hero-section__container { padding-top: 2rem; padding-bottom: 6rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; width: 100%; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
.hero-copy { grid-column: 1 / -1; }
@media (min-width: 1024px) { .hero-copy { grid-column: span 6; } }
.hero-copy__title { font-weight: 700; font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; color: var(--color-foreground); }
@media (min-width: 640px) { .hero-copy__title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-copy__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-copy__title { font-size: 4.5rem; } }
.hero-copy__title-accent { display: block; color: var(--color-primary); }
.hero-copy__body { margin-top: 1.5rem; font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; max-width: 36rem; }
@media (min-width: 768px) { .hero-copy__body { font-size: 1.125rem; } }
.hero-copy__ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-copy__meta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.hero-copy__meta-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-copy__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.hero-copy__dot--primary { background: var(--color-primary); }
.hero-copy__dot--accent { background: var(--color-accent); }

.hero-image-col { grid-column: 1 / -1; position: relative; }
@media (min-width: 1024px) { .hero-image-col { grid-column: span 6; } }
.hero-image-frame {
	position: relative; aspect-ratio: 4 / 5; max-width: 28rem; margin: 0 auto; max-height: 55vh;
	border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); border: 6px solid var(--color-background);
	animation: floatY 7s ease-in-out infinite;
}
@media (min-width: 1024px) { .hero-image-frame { max-width: none; max-height: none; } }
.hero-image-frame__img { width: 100%; height: 100%; }
.hero-image-frame__overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, color-mix(in srgb, var(--color-blush) 25%, transparent) 0%, transparent 40%, color-mix(in srgb, var(--color-primary) 10%, transparent) 100%); }
.hero-image-frame__stitch { position: absolute; left: 0; right: 0; bottom: 0.75rem; width: 100%; height: 0.75rem; opacity: 0.7; }
.hero-chip {
	display: none; position: absolute; align-items: center; gap: 0.75rem;
	background: var(--color-background); border-radius: 1rem; box-shadow: var(--shadow-elevated);
	padding: 0.75rem 1rem; border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .hero-chip { display: flex; } }
.hero-chip--tag { bottom: -1.5rem; left: -1rem; animation: floatY 5s ease-in-out infinite 0.4s; }
@media (min-width: 1024px) { .hero-chip--tag { left: 1.5rem; } }
.hero-chip__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 15%, transparent); display: flex; align-items: center; justify-content: center; color: var(--color-primary); }
.hero-chip__text { text-align: left; }
.hero-chip__label { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 600; }
.hero-chip__value { display: block; font-size: 0.875rem; font-family: var(--font-display); font-weight: 600; }
.hero-chip--accent { top: -1rem; right: 0.5rem; background: color-mix(in srgb, var(--color-accent) 95%, transparent); color: var(--color-accent-foreground); font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; animation: floatY 6s ease-in-out infinite 1s; }
@media (min-width: 1024px) { .hero-chip--accent { right: 1.5rem; } }

.hero-section__divider { position: relative; margin-bottom: -1px; }
.hero-section__divider svg { display: block; width: 100%; height: 1rem; }

/* ==========================================================================
   Generic section scaffolding
   ========================================================================== */
.theme-section__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section__inner { padding-top: 6rem; padding-bottom: 6rem; } }
@media (max-width: 1023px) {
	.container-wide.theme-section__inner,
	.container-wide.theme-footer__inner {
		padding-left: var(--site-gutter);
		padding-right: var(--site-gutter);
	}
}
.theme-band-butter { background: var(--color-card); }
.theme-band-blush { background: var(--color-blush); }
.theme-section__head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-section__sub { margin-top: 1rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   Categories
   ========================================================================== */
.categories-section__heading { font-size: 1.875rem; margin-top: 1rem; }
@media (min-width: 768px) { .categories-section__heading { font-size: 3rem; } }
.category-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .category-tiles { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; } }
.category-tile {
	position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 1.5rem;
	box-shadow: var(--shadow-soft); border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	background: var(--color-card); transition: box-shadow 0.5s, transform 0.3s; padding: 0; text-align: left;
}
.category-tile:hover { box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.category-tile__img { transition: transform 0.7s var(--transition-smooth); }
.category-tile:hover .category-tile__img { transform: scale(1.08); }
.category-tile__overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 75%, transparent), color-mix(in srgb, var(--color-foreground) 15%, transparent), transparent); }
.category-tile__content { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; }
.category-tile__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--color-background); }
@media (min-width: 768px) { .category-tile__label { font-size: 1.5rem; } }
.category-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 95%, transparent); font-weight: 600; margin-top: 0.25rem; transition: gap 0.3s; }
.category-tile:hover .category-tile__cta { gap: 0.6rem; }
.category-tile__cta svg { transition: transform 0.3s; }
.category-tile:hover .category-tile__cta svg { transform: translateX(4px); }

/* ==========================================================================
   Story / fabric
   ========================================================================== */
.story-section__heading, .about-section__heading, .popups-section__heading, .contact-section__heading {
	font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.01em; margin: 1rem 0 1.5rem;
}
@media (min-width: 768px) { .story-section__heading, .about-section__heading, .popups-section__heading, .contact-section__heading { font-size: 3rem; } }
.story-grid, .about-grid, .popups-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .story-grid, .about-grid, .popups-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.story-image-frame { position: relative; aspect-ratio: 1 / 1; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); border: 6px solid var(--color-background); }
@media (min-width: 1024px) { .story-image-frame { aspect-ratio: 4 / 5; } }
.story-badge { display: none; position: absolute; bottom: -1.5rem; right: -1rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 1rem; padding: 1rem 1.25rem; box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .story-badge { display: block; } }
.story-image-col { position: relative; }
.story-badge__label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; opacity: 0.8; margin: 0; }
.story-badge__value { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; margin: 0; }
.story-copy-col__p, .about-copy-col__p { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; }
@media (min-width: 768px) { .story-copy-col__p { font-size: 1.125rem; } }
.fact-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
@media (min-width: 640px) { .fact-grid { grid-template-columns: 1fr 1fr; } }
.fact-card { background: var(--color-background); border: 1px solid var(--color-border); border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow-soft); transition: all 0.3s; }
.fact-card:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); box-shadow: var(--shadow-elevated); transform: translateY(-4px); }
.fact-card__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 15%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; color: var(--color-primary); }
.fact-card__title { font-weight: 700; font-size: 1rem; margin-bottom: 0.375rem; }
.fact-card__body { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin: 0; }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop-section__heading { font-size: 1.875rem; margin-top: 1rem; }
@media (min-width: 768px) { .shop-section__heading { font-size: 3rem; } }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search__input {
	width: 100%; padding: 0.9rem 1rem 0.9rem 2.75rem; background: var(--color-card); border: 1px solid var(--color-border);
	border-radius: 9999px; font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
}
.shop-search__input::placeholder { color: var(--color-muted-foreground); }
.shop-search__input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent); }

.category-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; }
.category-chip {
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
	border-radius: 9999px; border: 1px solid var(--color-border); background: var(--color-card); color: var(--color-foreground);
	transition: all 0.3s;
}
.category-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.category-chip.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); box-shadow: var(--shadow-soft); }

.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.shop-empty-state { text-align: center; color: var(--color-muted-foreground); padding: 5rem 0; }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; transition: transform 0.3s cubic-bezier(0.2,0.6,0.3,1); }
.theme-product-card:hover { transform: translateY(-6px); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link):not(.theme-product-card__quick-add) { pointer-events: none; }
.theme-product-card__image-wrapper {
	position: relative; z-index: 3; aspect-ratio: 4 / 5; background: var(--color-card); overflow: hidden; margin-bottom: 1rem;
	border-radius: 1.5rem; box-shadow: var(--shadow-soft); border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	transition: transform 0.7s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image-wrapper .theme-product-card__img { transform: scale(1.06); }
.theme-product-card__img { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card__cat-tag { position: absolute; top: 0.75rem; left: 0.75rem; background: color-mix(in srgb, var(--color-background) 90%, transparent); backdrop-filter: blur(4px); color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; right: 0.75rem; padding: 0.25rem 0.75rem; font-size: 10px; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.2em; border-radius: 9999px; z-index: 3;
}
.theme-product-card__badge--sold-out { background: var(--color-foreground); color: var(--color-background); }
.theme-product-card__badge--coming-soon { background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 4; width: 2.75rem; height: 2.75rem;
	display: flex; align-items: center; justify-content: center; border-radius: 50%;
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important; box-shadow: var(--shadow-elevated);
	opacity: 1; transition: opacity 0.3s, transform 0.2s; pointer-events: auto; border: none !important; min-height: unset !important; padding: 0 !important;
}
@media (min-width: 768px) { .theme-product-card__quick-add { opacity: 0; } .theme-product-card:hover .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card__quick-add:hover { transform: scale(1.1); }
.theme-product-card__info { text-align: center; margin-top: 0.75rem; padding: 0 0.5rem; flex: 1; }
.theme-product-card__title { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.375rem; }
.theme-product-card__price ins { text-decoration: none; color: var(--color-primary); font-weight: 600; }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.375rem; }

.coming-soon-banner {
	margin-top: 3.5rem; position: relative; overflow: hidden; border-radius: 2rem;
	border: 1px dashed color-mix(in srgb, var(--color-primary) 40%, transparent);
	background: linear-gradient(to bottom right, var(--color-blush), var(--color-background), color-mix(in srgb, var(--color-secondary) 60%, transparent));
	box-shadow: var(--shadow-soft);
	display: grid; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .coming-soon-banner { grid-template-columns: 2fr 3fr; } }
.coming-soon-banner__image-col { position: relative; aspect-ratio: 4 / 3; min-height: 220px; overflow: hidden; }
@media (min-width: 768px) { .coming-soon-banner__image-col { aspect-ratio: auto; } }
.coming-soon-banner__image-fade { position: absolute; inset: 0; background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-background) 70%, transparent)); }
.coming-soon-banner__copy-col { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.coming-soon-banner__copy-col .fabric-tag {
	align-self: flex-start; width: auto; max-width: 100%;
	border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-background) 70%, transparent);
}
@media (min-width: 768px) { .coming-soon-banner__copy-col { padding: 2.5rem; } }
.coming-soon-banner__heading { font-size: 1.5rem; font-weight: 700; margin: 0.75rem 0; }
@media (min-width: 768px) { .coming-soon-banner__heading { font-size: 1.875rem; } }
.coming-soon-banner__body { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; max-width: 36rem; }
.coming-soon-banner__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.coming-soon-banner__chip { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; padding: 0.375rem 0.75rem; border-radius: 9999px; background: var(--color-background); border: 1px solid var(--color-border); color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.coming-soon-banner .btn-pill-secondary { align-self: flex-start; }

/* ==========================================================================
   About
   ========================================================================== */
.about-image-frame { position: relative; aspect-ratio: 4 / 5; max-width: 28rem; margin: 0 auto; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); border: 6px solid var(--color-background); }

/* ==========================================================================
   Pop-ups
   ========================================================================== */
.popups-section__body { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .popups-section__body { font-size: 1.125rem; } }
.popups-card { background: var(--color-background); border-radius: 1.5rem; border: 2px dashed color-mix(in srgb, var(--color-primary) 40%, transparent); padding: 2rem; box-shadow: var(--shadow-soft); }
.popups-card__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.popups-card__icon { width: 3rem; height: 3rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 15%, transparent); display: flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0; }
.popups-card__eyebrow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 600; margin: 0; }
.popups-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; margin: 0; }
.popups-card__rows { display: flex; flex-direction: column; gap: 0.75rem; }
.popups-card__row { display: flex; align-items: center; justify-content: space-between; border-radius: 1rem; background: color-mix(in srgb, var(--color-secondary) 60%, transparent); border: 1px solid var(--color-border); padding: 0.75rem 1rem; }
.popups-card__row-title { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; margin: 0; }
.popups-card__row-meta { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.popups-card__row-tba { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 600; }
.popups-card__note { margin-top: 1.25rem; font-size: 0.75rem; color: var(--color-muted-foreground); font-style: italic; }

/* ==========================================================================
   Shelter game
   ========================================================================== */
.shelter-panel { position: relative; overflow: hidden; border-radius: 2rem; background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); padding: 2rem; }
@media (min-width: 768px) { .shelter-panel { padding: 3rem; } }
@media (min-width: 1024px) { .shelter-panel { padding: 3.5rem; } }
.shelter-panel__blob { position: absolute; border-radius: 50%; filter: blur(64px); }
.shelter-panel__blob--tr { top: -4rem; right: -4rem; width: 16rem; height: 16rem; background: color-mix(in srgb, var(--color-primary) 15%, transparent); }
.shelter-panel__blob--bl { bottom: -5rem; left: -4rem; width: 18rem; height: 18rem; background: color-mix(in srgb, var(--color-accent) 20%, transparent); }
.shelter-panel__grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .shelter-panel__grid { grid-template-columns: 2fr 7fr 3fr; } }
.shelter-panel__icon-col { display: flex; }
@media (min-width: 1024px) { .shelter-panel__icon-col { justify-content: center; } }
.shelter-panel__icon-frame { position: relative; width: 5rem; height: 5rem; border-radius: 1.5rem; background: color-mix(in srgb, var(--color-primary) 15%, transparent); display: flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); color: var(--color-primary); }
.shelter-panel__paw { position: absolute; bottom: -0.5rem; right: -0.5rem; width: 1.75rem; height: 1.75rem; color: var(--color-accent); }
.shelter-panel__heading { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin: 1rem 0 0.75rem; }
@media (min-width: 768px) { .shelter-panel__heading { font-size: 2.25rem; } }
.shelter-panel__body { color: var(--color-muted-foreground); line-height: 1.7; margin: 0; }
.shelter-panel__cta-col { display: flex; }
@media (min-width: 1024px) { .shelter-panel__cta-col { justify-content: flex-end; } }
.shelter-panel__pill { background: var(--color-background); border: 1px dashed color-mix(in srgb, var(--color-primary) 40%, transparent); color: color-mix(in srgb, var(--color-primary) 80%, transparent); cursor: default; user-select: none; }
.shelter-panel__cta-btn { white-space: nowrap; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section__heading { font-size: 1.875rem; margin-top: 1rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-card); overflow: hidden; box-shadow: var(--shadow-soft); transition: all 0.3s; }
.faq-item:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); box-shadow: var(--shadow-elevated); transform: translateY(-2px); }
.faq-item.is-open { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); box-shadow: var(--shadow-elevated); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 1rem 1.25rem; gap: 1rem; background: none; border: none; }
@media (min-width: 768px) { .faq-item__question { padding: 1.25rem 1.5rem; } }
.faq-item__question span { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1.125rem; } }
.faq-item__chevron { flex-shrink: 0; color: var(--color-primary); transition: transform 0.3s; }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: all 0.3s; }
.faq-item.is-open .faq-item__answer-wrap { grid-template-rows: 1fr; opacity: 1; }
.faq-item__answer-inner { overflow: hidden; }
.faq-item__answer { padding: 0 1.25rem 1.25rem; color: var(--color-muted-foreground); line-height: 1.7; margin: 0; }
@media (min-width: 768px) { .faq-item__answer { padding: 0 1.5rem 1.5rem; } }

/* ==========================================================================
   Contact section
   ========================================================================== */
.contact-section__wrap { max-width: 48rem; margin: 0 auto; text-align: center; }
.contact-section__body { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .contact-section__body { font-size: 1.125rem; } }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 42rem; margin: 0 auto 2.5rem; text-align: left; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { border-radius: 1rem; background: var(--color-background); border: 1px solid var(--color-border); padding: 1.25rem; box-shadow: var(--shadow-soft); transition: all 0.3s; display: block; }
.contact-card:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.contact-card__label { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 700; margin: 0 0 0.25rem; }
.contact-card__value { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; margin: 0; word-break: break-all; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-card); border-top: 1px solid var(--color-border); }
.theme-footer__inner { padding-top: 3.5rem; padding-bottom: 4rem; }
.theme-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.theme-footer__brand-link { display: inline-flex; align-items: center; gap: 0.75rem; transition: transform 0.3s; }
.theme-footer__brand-link:hover { transform: translateY(-2px); }
.theme-footer__logo { width: 3.5rem; height: 3.5rem; }
.theme-footer__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.theme-footer__brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-footer__brand-sub { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-footer__blurb { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; margin-top: 1.25rem; }
.theme-footer__heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.theme-footer__list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-footer__link { font-size: 0.875rem; color: var(--color-muted-foreground); background: none; border: none; padding: 0; text-align: left; transition: color 0.3s; }
.theme-footer__link:hover { color: var(--color-primary); }
.theme-footer__list--contact { gap: 0.75rem; }
.theme-footer__contact-link { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.3s; }
.theme-footer__contact-link:hover { color: var(--color-primary); }
.theme-footer__address { align-items: flex-start; }
.theme-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .theme-footer__bottom { flex-direction: row; } }
.theme-footer__tagline { font-size: 0.875rem; color: var(--color-muted-foreground); font-weight: 500; display: inline-flex; align-items: center; gap: 0.375rem; margin: 0; }
.theme-footer__heart-icon { color: var(--color-primary); }
.theme-footer__copyright { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; margin: 0; }

/* ==========================================================================
   Cart drawer + overlay
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); backdrop-filter: blur(2px); z-index: 60; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background);
	z-index: 61; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth); visibility: hidden;
}
body.cart-open #theme-cart-drawer { transform: translateX(0); visibility: visible; }
#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 1.5rem; border-bottom: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-blush) 40%, transparent); }
.theme-cart-drawer__title-wrap { display: flex; align-items: center; gap: 0.5rem; }
.theme-cart-drawer__icon { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 15%, transparent); display: flex; align-items: center; justify-content: center; color: var(--color-primary); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1; margin: 0; }
.theme-cart-drawer__count { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 600; margin: 0.25rem 0 0; }
.theme-cart-drawer__close { padding: 0.5rem; border-radius: 50%; background: none; border: none; color: var(--color-foreground); }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-background) 60%, transparent); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { width: 5rem; height: 5rem; border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 10%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--color-primary); }
.theme-cart-drawer__empty-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-cart-drawer__empty-body { color: var(--color-muted-foreground); margin-bottom: 1.5rem; max-width: 20rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-cart-item { display: flex; gap: 0.75rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: 1rem; padding: 0.75rem; box-shadow: var(--shadow-soft); transition: all 0.3s; }
.theme-cart-item:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); box-shadow: var(--shadow-elevated); }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 0.75rem; display: block; position: relative; }
.theme-cart-item__image img { width: 100%; height: 100% !important; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-family: var(--font-display); font-weight: 600; line-height: 1.35; display: block; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__variation { font-size: 11px; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-primary); font-family: var(--font-display); font-weight: 600; margin: 0.25rem 0 0; }
.theme-cart-item__price ins { text-decoration: none; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.theme-cart-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: 9999px; background: var(--color-background); overflow: hidden; }
.theme-cart-item__qty-btn { padding: 0.375rem 0.6rem; background: none; border: none; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty-value { font-size: 0.875rem; width: 1.75rem; text-align: center; font-weight: 600; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); background: none; border: none; display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 600; }
.theme-cart-item__remove:hover { color: var(--color-primary); }
.theme-cart-drawer__footer { padding: 1.25rem; border-top: 1px solid var(--color-border); background: var(--color-card); display: flex; flex-direction: column; gap: 0.75rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.theme-cart-drawer__shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__footer-row { display: flex; gap: 0.5rem; }
.theme-cart-drawer__keep-shopping { flex: 1; display: inline-flex; align-items: center; justify-content: center; background: var(--color-background); border: 1px solid var(--color-border); padding: 0.75rem; border-radius: 9999px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.theme-cart-drawer__keep-shopping:hover { border-color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 15%, transparent); }
.theme-cart-drawer__empty-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1rem; border-radius: 9999px; border: 1px solid var(--color-border); background: none; color: var(--color-muted-foreground); }
.theme-cart-drawer__empty-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ==========================================================================
   Contact modal
   ========================================================================== */
#theme-contact-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 70; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
body.contact-open #theme-contact-overlay { opacity: 1; visibility: visible; }
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border-radius: 1.25rem; box-shadow: var(--shadow-elevated); padding: 1.75rem;
	z-index: 71; transform: translate(-50%, -50%) scale(0.95); opacity: 0; visibility: hidden; transition: all 0.25s var(--transition-smooth);
}
body.contact-open #theme-contact-modal { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; border-radius: 50%; background: none; border: none; color: var(--color-muted-foreground); }
.theme-contact-modal__close:hover { background: var(--color-secondary); }
.theme-contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 1.5rem; }
.theme-contact-modal__description { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__info { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__info-row { display: flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__info-row:hover { color: var(--color-foreground); }
.theme-contact-modal__field { margin-bottom: 1rem; }
.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 label { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; display: block; }
.theme-contact-modal__field input, .theme-contact-modal__field textarea {
	width: 100%; padding: 0.625rem 0.875rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 1rem; font-family: var(--font-body); color: var(--color-foreground);
}
.theme-contact-modal__field input { border-radius: 9999px; }
.theme-contact-modal__field textarea { border-radius: 1rem; resize: none; }
.theme-contact-modal__field input:focus, .theme-contact-modal__field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-contact-modal__submit-row { display: flex; justify-content: flex-end; margin-top: 0.5rem; }
.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); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 50%; }
.theme-contact-modal__success-title { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-modal__success-body { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   Single product page
   ========================================================================== */
/* Suppress default / block WooCommerce output when legacy hooks still fire */
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-Tabs-panel,
body.single-product .product_meta,
body.single-product .woocommerce-product-gallery__trigger,
body.single-product .wp-block-woocommerce-product-details,
body.single-product .wc-block-product-details,
body.single-product .wp-block-woocommerce-product-meta,
body.single-product section.related.products:not(.theme-related-products) {
	display: none !important;
}

.theme-single-product { padding-top: 1.5rem; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-blush) 40%, transparent), var(--color-background), var(--color-background)); min-height: 100vh; }
@media (min-width: 768px) { .theme-single-product { padding-top: 2rem; } }
.theme-breadcrumb { padding: 1rem 0 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 600; }
.theme-breadcrumb a:hover { color: var(--color-primary); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__mobile { display: block; }
.theme-product-gallery__desktop { display: none; flex-direction: column; gap: 1.25rem; }
@media (min-width: 1024px) {
	.theme-product-gallery__mobile { display: none; }
	.theme-product-gallery__desktop { display: flex; }
	.theme-product-info { position: sticky; top: 7rem; align-self: start; padding-left: 0.5rem; }
}
.theme-product-gallery__main { aspect-ratio: 1 / 1; background: var(--color-card); overflow: hidden; border-radius: 2rem; box-shadow: var(--shadow-elevated); border: 6px solid var(--color-background); position: relative; }
.theme-product-gallery__main-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.theme-product-gallery__main:hover .theme-product-gallery__main-img { transform: scale(1.03); }
.theme-product-gallery__stack-item {
	aspect-ratio: 1 / 1; background: var(--color-card); overflow: hidden; border-radius: 2rem;
	box-shadow: var(--shadow-elevated); border: 6px solid var(--color-background); position: relative;
}
.theme-product-gallery__stack-item:hover .theme-product-gallery__stack-img { transform: scale(1.04); }
.theme-product-gallery__stack-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s ease-out; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding: 0.25rem 0.75rem 0.5rem; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-card); border-radius: 1rem; border: none; padding: 0; opacity: 0.7; transition: all 0.3s; }
.theme-product-thumb:hover { opacity: 1; transform: translateY(-2px); }
.theme-product-thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--color-primary), 0 0 0 4px var(--color-background); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-info__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.fabric-tag--category { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary); background: color-mix(in srgb, var(--color-background) 70%, transparent); }
.fabric-tag--category svg { fill: var(--color-primary); }
.product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.5rem; font-family: var(--font-display); font-weight: 600; color: var(--color-primary); margin-bottom: 1.5rem; }
.theme-product-info__price .price { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; }
@media (min-width: 768px) { .theme-product-info__price { font-size: 1.875rem; } }
.theme-product-info__price ins { text-decoration: none; }
.theme-product-info__price del { opacity: 0.5; margin-right: 0.5rem; font-size: 1rem; }
.theme-product-info__excerpt { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }

.theme-attribute-group { margin-bottom: 1.5rem; }
.theme-attribute-group__label {
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	color: var(--color-muted-foreground); margin: 0 0 0.75rem;
}
.single-product form.variations_form { position: relative; }
.theme-variation-attributes { margin-bottom: 0.5rem; display: block; }
.theme-variation-selects {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.theme-variation-selects .variations,
.theme-variation-selects .variations th,
.theme-variation-selects .variations td { display: none !important; }
.theme-attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attribute-pill {
	padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border); font-weight: 600; border-radius: 9999px;
	background: var(--color-card); color: var(--color-foreground); cursor: pointer;
	transition: all 0.3s; font-family: var(--font-body); line-height: 1.2;
}
.theme-attribute-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-attribute-pill.is-selected {
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-color: var(--color-primary); box-shadow: var(--shadow-soft);
}
.theme-attribute-pill--color.is-selected {
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	color: var(--color-primary);
	border-color: var(--color-primary);
	box-shadow: none;
}
.theme-attribute-pill--color:hover:not(.is-selected) {
	border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
	color: var(--color-foreground);
}
.theme-attr-select-hidden { display: none !important; }

.single-product .variations { border: none; margin: 0; }
.single-product .reset_variations { display: none !important; }
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability { display: none !important; }

.theme-quantity-group { margin-bottom: 1.5rem; }
.theme-quantity-group__label {
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	color: var(--color-muted-foreground); margin-bottom: 0.75rem;
}

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); background: var(--color-card); border-radius: 9999px; overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; background: none; border: none; color: var(--color-foreground); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: auto; min-width: 2.75rem; padding: 0.5rem 1rem; text-align: center; border: none; background: none; font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-product-ctas {
	display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 0;
}
.single-product .single_add_to_cart_button { width: 100%; }
.single-product .single_add_to_cart_button.theme-btn-primary {
	text-transform: uppercase !important;
	letter-spacing: 0.25em !important;
	font-weight: 700 !important;
	font-size: 0.75rem !important;
	padding: 1rem 2rem !important;
	box-shadow: var(--shadow-soft) !important;
}
.single-product .single_add_to_cart_button.theme-btn-primary:not(:disabled):hover {
	filter: brightness(1.05);
	transform: translateY(-2px);
}
.theme-keep-browsing-link {
	display: inline-flex; width: 100%; align-items: center; justify-content: center;
	background: var(--color-card); border: 1px solid var(--color-border);
	padding: 1rem; border-radius: 9999px; font-size: 0.75rem; letter-spacing: 0.25em;
	text-transform: uppercase; font-weight: 600; transition: all 0.3s;
}
.theme-keep-browsing-link:hover {
	border-color: var(--color-accent);
	background: color-mix(in srgb, var(--color-accent) 15%, transparent);
	color: var(--color-accent-foreground);
}
.theme-fact-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.theme-fact-chip { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 11px; color: var(--color-muted-foreground); padding: 0.375rem 0.75rem; border-radius: 9999px; background: var(--color-secondary); }
.theme-fact-chip svg { color: var(--color-primary); }

.theme-accordions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.theme-accordion { border-radius: 1rem; background: var(--color-card); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); overflow: hidden; }
.theme-accordion__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; text-align: left; background: none; border: none; }
.theme-accordion__toggle span { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.theme-accordion__chevron { color: var(--color-primary); transition: transform 0.3s; }
.theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding: 0 1.25rem 1.25rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion.is-open .theme-accordion__panel { display: block; }
.theme-accordion__description p { margin: 0 0 1rem; }
.posted_in, .woocommerce-product-details__short-description, .woocommerce-variation-description { overflow-wrap: break-word; word-break: break-word; }

.theme-related-products { padding: 1.5rem 0 6rem; border-top: 1px solid var(--color-border); }
.theme-related-products__head { text-align: center; margin-bottom: 3rem; padding-top: 3rem; }
.theme-related-products__head .fabric-tag--category { margin-bottom: 1rem; }
.theme-related-products__head h2 { font-size: 1.875rem; font-weight: 700; margin-top: 1rem; }
@media (min-width: 768px) { .theme-related-products__head h2 { font-size: 2.25rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) {
	.theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}

/* ==========================================================================
   Generic pages / 404 / thank you
   ========================================================================== */
.theme-generic-main, .theme-404-main { padding: 6rem 0 8rem; min-height: 60vh; }
.theme-404-content { max-width: 32rem; margin: 0 auto; text-align: center; }
.theme-404-title { font-size: 2rem; margin: 1rem 0; }
.theme-404-body { color: var(--color-muted-foreground); margin-bottom: 2rem; }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }

.theme-thankyou { max-width: 40rem; margin: 0 auto; text-align: center; padding: 3rem 0 6rem; }
.theme-thankyou__icon { width: 4.5rem; height: 4.5rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; border-radius: 50%; box-shadow: var(--shadow-elevated); }
.theme-thankyou__title { font-size: 2rem; font-weight: 700; margin: 1rem 0; }
@media (min-width: 768px) { .theme-thankyou__title { font-size: 3rem; } }
body.theme-thankyou-page { overflow-x: clip; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details { margin-top: 2rem; text-align: left; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0; }
body.theme-thankyou-page .woocommerce-order-overview li { background: var(--color-card); border-radius: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--color-border); }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@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; }

/* ==========================================================================
   WooCommerce global overrides
   ========================================================================== */
.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;
}
/* Card compact button — overrides global rules, must come after them */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	width: 2.75rem !important;
	height: 2.75rem !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Single product page — override global WooCommerce button rules for Lovable parity */
.single-product .single_add_to_cart_button.button,
.single-product .single_add_to_cart_button.button.theme-btn-primary {
	min-height: 0 !important;
	padding: 1rem 2rem !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	box-shadow: var(--shadow-soft) !important;
}
.single-product .single_add_to_cart_button.button:not(:disabled):hover,
.single-product .single_add_to_cart_button.button.theme-btn-primary:not(:disabled):hover {
	opacity: 1 !important;
	filter: brightness(1.05);
	transform: translateY(-2px);
}
.single-product .single_add_to_cart_button.button:disabled,
.single-product .single_add_to_cart_button.button.disabled,
.single-product .single_add_to_cart_button.button.wc-variation-selection-needed:disabled {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: not-allowed !important;
}
.single-product .single_add_to_cart_button.button:disabled:hover,
.single-product .single_add_to_cart_button.button.disabled:hover {
	opacity: 0.6 !important;
	transform: none !important;
	filter: 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; }
.woocommerce-error {
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	border: 1px solid var(--color-primary);
	border-radius: 1rem;
	padding: 1rem 1.25rem;
	color: var(--color-foreground);
	font-family: var(--font-body);
	list-style: none;
}

/* ==========================================================================
   WooCommerce Checkout Block
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 88px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body); border-radius: 0.75rem; border-color: var(--color-border);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border-radius: var(--radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
	border-radius: 9999px !important; font-family: var(--font-body) !important; text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 1rem; grid-column: 1 / -1; }

/* ==========================================================================
   Cart / My Account width parity (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 88px); padding-bottom: 4rem; }

/* ==========================================================================
   Customizer media control (front-end no-op safeguard)
   ========================================================================== */
.theme-media-control { display: none; }
