/* ==========================================================================
   Sonii Decor — theme.css
   Design tokens match the site design system.
   ========================================================================== */

:root {
	--color-background: #f7f5f1;
	--color-foreground: #201d1b;
	--color-primary: #201d1b;
	--color-button-text: #f7f5f1;
	--color-secondary: #eae7e2;
	--color-muted: #efece7;
	--color-muted-foreground: #6c6560;
	--color-border: #e0dcd4;
	--color-nopal: #201d1b;
	--color-rosa: #ece9e4;
	--color-teal: #e0dcd4;
	--color-lilac: #eae7e2;
	--color-marigold: #e6e3dd;
	--logo-height: 60px;

	--font-display: 'Sora', sans-serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.25rem;
	--shadow-soft: 0 4px 20px -8px rgba(32, 29, 27, 0.08);
	--shadow-elevated: 0 20px 60px -20px rgba(32, 29, 27, 0.15);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--header-height: 84px;

	--btn-radius: 0.75rem;
	--btn-height: 2.75rem;
	--btn-padding: 0.75rem 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.65rem;
	--card-radius: 0.5rem;
	--checkout-gap: 3rem;
	--section-padding: 2rem;
}

/* ==========================================================================
   Base / reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

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

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

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

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; padding: 0; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.hero-section__img):not(.theme-product-card__img):not(#product-main-img):not(.theme-product-thumb img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-section__img,
.theme-product-card__img,
#product-main-img,
.theme-product-thumb img,
.theme-cart-item__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-cart { width: 1.125rem; height: 1.125rem; }
.icon-menu-open, .icon-menu-close { width: 1.25rem; height: 1.25rem; }

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

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute;
	bottom: -2px; 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); }

.wordmark {
	font-family: var(--font-display);
	font-weight: 300;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-foreground);
	font-size: 15px;
}
.site-footer__brand .wordmark { font-size: 18px; }

/* Section heading scales (§2.2.5) — per-section, not one global clamp */
.section-kicker {
	display: block;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	margin-bottom: 1rem;
}
.section-header--center { text-align: center; }

.section-heading { font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; }
.category-strip-section__heading, .featured-products-section__heading { font-size: 1.875rem; }
.owners-section__heading { font-size: 2.25rem; }
.services-section__heading, .shop-section__heading, .faq-section__heading, .testimonials-carousel + .testimonials-section__heading, .testimonials-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) {
	.category-strip-section__heading, .featured-products-section__heading { font-size: 2.25rem; }
	.owners-section__heading { font-size: 3rem; }
	.services-section__heading, .shop-section__heading, .faq-section__heading, .testimonials-section__heading { font-size: 3rem; }
	.about-section__lead { font-size: 2.25rem; }
	.cta-band-section__title { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.owners-section__heading { font-size: 3.75rem; }
	.shop-section__heading, .featured-products-section__heading { font-size: 3rem; }
	.about-section__lead { font-size: 2.5rem; }
	.cta-band-section__title { font-size: 3.5rem; }
}

/* ==========================================================================
   Animations (§2.1)
   ========================================================================== */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroZoom { 0% { transform: scale(1); } 100% { transform: scale(1.06); } }

.hero-zoom { animation: heroZoom 24s ease-in-out infinite alternate; }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

.reveal-item, .reveal-fade {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-fade { transform: none; }
.reveal-item.is-visible, .reveal-fade.is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
body.is-customizer .reveal-fade,
body.is-customizer .theme-product-card-wrap .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}
.no-js .reveal-item, .no-js .reveal-fade { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.hero-zoom { animation: none; }
	.reveal-item, .reveal-fade { transition: none; opacity: 1; transform: none; }
}

.hover-lift { transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth); }
.hover-lift:hover { transform: translateY(-2px); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: uppercase;
	border: 2px solid var(--color-nopal);
	border-radius: var(--btn-radius);
	color: var(--color-nopal);
	background: var(--color-background);
	box-shadow: 3px 3px 0 0 var(--color-nopal);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
	white-space: nowrap;
}
.theme-btn:hover:not(:disabled):not(.disabled) {
	background: var(--color-nopal);
	color: var(--color-background);
	transform: translateY(-2px);
}
.theme-btn:active:not(:disabled):not(.disabled) {
	transform: translate(1px, 1px);
	box-shadow: none;
}
.theme-btn-primary {
	background-color: var(--color-rosa);
	color: var(--color-nopal);
}
.theme-btn-primary:hover:not(:disabled):not(.disabled) {
	background-color: var(--color-background);
	color: var(--color-rosa);
	opacity: 1;
}
.theme-btn-outline {
	background: transparent;
	color: var(--color-nopal);
}
.theme-btn-outline:hover:not(:disabled):not(.disabled) {
	background: var(--color-nopal);
	color: var(--color-background);
	opacity: 1;
}
.theme-btn-hero-primary { background-color: var(--color-background); color: var(--color-foreground); border: none; box-shadow: none; border-radius: 0; font-weight: 500; letter-spacing: 0.28em; font-size: 11px; }
.theme-btn-hero-primary:hover { opacity: 0.9; transform: none; background-color: var(--color-background); color: var(--color-foreground); }
.theme-btn-hero-outline { background: transparent; border: 1px solid color-mix(in srgb, var(--color-background) 60%, transparent); color: var(--color-background); text-transform: uppercase; box-shadow: none; border-radius: 0; font-weight: 500; letter-spacing: 0.28em; font-size: 11px; }
.theme-btn-hero-outline:hover { background: var(--color-background); color: var(--color-foreground); transform: none; }
.theme-btn-cta-primary { background-color: var(--color-background); color: var(--color-foreground); border: none; box-shadow: none; border-radius: 0; font-weight: 500; letter-spacing: 0.28em; font-size: 11px; }
.theme-btn-cta-primary:hover { opacity: 0.9; transform: none; background-color: var(--color-background); color: var(--color-foreground); }
.theme-btn-cta-outline { background: transparent; border: 1px solid color-mix(in srgb, var(--color-background) 60%, transparent); color: var(--color-background); box-shadow: none; border-radius: 0; font-weight: 500; letter-spacing: 0.28em; font-size: 11px; }
.theme-btn-cta-outline:hover { background: var(--color-background); color: var(--color-foreground); transform: none; }

.single_add_to_cart_button, .theme-single-add-btn {
	text-transform: none;
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-bar__inner { padding: 0.65rem 0; text-align: center; }
.theme-announcement-bar__text { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; }
.theme-announcement-bar__close {
	position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
	width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center;
	opacity: 0.6; color: var(--color-background);
}
.theme-announcement-bar__close:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 50;
	background: var(--color-background);
	transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled, .site-header.is-mobile-open {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--color-border);
}
.site-header__row {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 0;
}
@media (min-width: 1024px) { .site-header__row { padding: 1.5rem 0; } }
.site-header__brand { justify-self: start; }
.site-header__nav { display: none; min-width: 0; justify-self: center; }
@media (min-width: 1024px) {
	.site-header__nav { display: flex; align-items: center; gap: 2.5rem; }
}
.theme-nav-list { display: flex; gap: 2.5rem; align-items: center; }
.theme-nav-link {
	font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.theme-nav-link:hover { color: var(--color-foreground); }
.site-header__actions { display: flex; align-items: center; gap: 1rem; justify-self: end; }
.theme-cart-toggle { position: relative; width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; color: var(--color-foreground); }
.theme-cart-toggle:hover { opacity: 0.7; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 3px;
	background: var(--color-foreground); color: var(--color-background);
	font-size: 9px; font-weight: 500; border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.icon-menu-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu-open { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu-close { display: block; }

.site-header__mobile-nav { display: none; padding-bottom: 2rem; padding-top: 0.5rem; }
.site-header__mobile-nav.is-open { display: block; animation: fadeIn 0.3s var(--transition-smooth); }
.theme-mobile-nav-list,
.site-header__mobile-nav .theme-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.theme-mobile-nav-list a,
.site-header__mobile-nav .theme-nav-list a {
	display: block; padding: 0.75rem 0; text-align: left;
	font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	border-bottom: 1px solid var(--color-border);
}
@media (min-width: 1024px) { .site-header__mobile-nav { display: none !important; } }

/* Header always uses solid background + dark text (matches Lovable) */

/* ==========================================================================
   Contact / Cart overlays + modal
   ========================================================================== */

#theme-cart-overlay, #theme-contact-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay, body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 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.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 500; }
.theme-cart-drawer__close {
	width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
	border-radius: 999px; border: 2px solid var(--color-nopal); background: var(--color-rosa); color: var(--color-nopal);
	box-shadow: 2px 2px 0 0 var(--color-nopal); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.theme-cart-drawer__close:active { transform: translateY(2px); box-shadow: none; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; display: block; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-bottom: 0.25rem; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-item__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}
.theme-cart-item__qty-btn {
	width: 1.5rem; height: 1.5rem; border-radius: 0.375rem; border: 2px solid var(--color-nopal); color: var(--color-nopal);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 2px 2px 0 0 var(--color-nopal); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.theme-cart-item__qty-btn:active { transform: translateY(2px); box-shadow: none; }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove {
	margin-left: auto; width: 1.5rem; height: 1.5rem; border-radius: 0.375rem; border: 2px solid var(--color-nopal); color: var(--color-nopal);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 2px 2px 0 0 var(--color-nopal); transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.theme-cart-item__remove:active { transform: translateY(2px); box-shadow: none; }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; z-index: 62; width: calc(100% - 2rem); max-width: 32rem;
	max-height: 90vh; overflow-y: auto; background: var(--color-background); box-shadow: var(--shadow-elevated);
	padding: 2rem; border-radius: var(--card-radius);
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
body.contact-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; opacity: 0.7; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal__desc { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-modal__meta a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__meta a:hover { color: var(--color-foreground); }
.theme-contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 480px) { .theme-contact-modal__row { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.65rem 0.75rem; background: var(--color-background);
	border: 1px solid var(--color-border); border-radius: 0.375rem; resize: vertical;
}
.theme-form-field input:focus, .theme-form-field textarea:focus {
	outline: none;
	border-color: var(--color-foreground);
	box-shadow: 0 0 0 1px var(--color-foreground);
}
.theme-contact-modal__actions { display: flex; justify-content: flex-end; }
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--color-primary); color: var(--color-button-text); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-modal__success p { color: var(--color-muted-foreground); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section { position: relative; background: var(--color-background); }
.hero-section__media { position: relative; width: 100%; height: 92vh; min-height: 620px; overflow: hidden; }
.hero-section__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.4); pointer-events: none; }
.hero-section__inner {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; z-index: 2; padding: 0 1rem;
}
.hero-section__kicker { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 80%, transparent); margin-bottom: 1.5rem; }
.hero-section__title { font-weight: 300; color: var(--color-background); line-height: 1.05; letter-spacing: -0.02em; font-size: 2.5rem; max-width: 56rem; }
@media (min-width: 480px) { .hero-section__title { font-size: 3.5rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 5.5rem; } }
.hero-section__ctas { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .hero-section__ctas { flex-direction: row; } }

body.theme-no-hero .hero-section { display: none; }

/* ==========================================================================
   Category strip
   ========================================================================== */

.category-strip-section { padding: 5rem 0; }
@media (min-width: 768px) { .category-strip-section { padding: 7rem 0; } }
.category-strip-section__heading { text-align: center; margin-bottom: 3.5rem; }
.category-strip-section__scroller-wrap { position: relative; }
.category-strip-section__scroller {
	display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none;
	justify-content: flex-start;
}
.category-strip-section__scroller::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .category-strip-section__scroller { justify-content: center; gap: 3.5rem; overflow-x: visible; flex-wrap: wrap; } }
.category-tile { display: flex; flex-direction: column; align-items: center; gap: 1rem; flex-shrink: 0; scroll-snap-align: start; }
.category-tile__icon {
	width: 6rem; height: 6rem; display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--color-border); color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
@media (min-width: 768px) { .category-tile__icon { width: 8rem; height: 8rem; } }
.category-tile:hover .category-tile__icon { border-color: var(--color-foreground); background: var(--color-muted); color: var(--color-foreground); }
.category-tile__label { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); }
.category-tile:hover .category-tile__label { color: var(--color-foreground); }
.category-strip-section__hint { display: block; text-align: center; margin-top: 1rem; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); }
@media (min-width: 768px) { .category-strip-section__hint { display: none; } }

/* ==========================================================================
   Product grid & card (§31.9, §31.13)
   ========================================================================== */

.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-grid--3up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .theme-product-grid--3up { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .add_to_cart_button,
.theme-product-card .theme-product-card__add-btn { pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; background: var(--color-muted); overflow: hidden; margin-bottom: 1rem; }
.theme-product-card__img { transition: transform 0.8s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__img { transform: scale(1.03); }
.theme-product-card__img--soldout { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; z-index: 3; padding: 0.35rem 0.6rem; font-size: 10px; font-weight: 500;
	letter-spacing: 0.18em; text-transform: uppercase; background: var(--color-background); color: var(--color-foreground);
}
.theme-product-card__badge--soldout { right: 0.75rem; background: var(--color-foreground); color: var(--color-background); }

.theme-product-card__add-btn.add_to_cart_button,
.theme-product-card__add-btn.button {
	position: absolute !important;
	inset-inline: 0 !important;
	bottom: 0 !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	z-index: 3 !important;
	padding: 0.9rem 0 !important;
	text-align: center !important;
	background: var(--color-foreground) !important;
	color: var(--color-background) !important;
	font-size: 10px !important;
	letter-spacing: 0.24em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
	opacity: 0;
	transform: translateY(0.5rem) !important;
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease !important;
	border-radius: 0 !important;
	min-height: unset !important;
	border: none !important;
	box-shadow: none !important;
	display: block !important;
	width: 100% !important;
}
.theme-product-card:hover .theme-product-card__add-btn.add_to_cart_button,
.theme-product-card:hover .theme-product-card__add-btn.button {
	opacity: 1;
	transform: translateY(0) !important;
}
.theme-product-card .theme-product-card__add-btn.add_to_cart_button:hover,
.theme-product-card .theme-product-card__add-btn.button:hover {
	background: var(--color-foreground) !important;
	color: var(--color-background) !important;
	transform: translateY(0) !important;
	box-shadow: none !important;
}

#shop-show-more.theme-btn-outline {
	border: 1px solid var(--color-foreground);
	border-radius: 0;
	box-shadow: none;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.28em;
	padding: 0.875rem 2.5rem;
	color: var(--color-foreground);
	background: transparent;
}
#shop-show-more.theme-btn-outline:hover {
	background: var(--color-foreground);
	color: var(--color-background);
	transform: none;
}

.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.theme-product-card__category { font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-size: 0.9375rem; font-weight: 400; color: var(--color-foreground); font-family: var(--font-body); }
.theme-product-card:hover .theme-product-card__title { color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-product-card__price { font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* ==========================================================================
   Owners / About / CTA band
   ========================================================================== */

.about-section .theme-btn-primary {
	background: var(--color-foreground);
	color: var(--color-background);
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.28em;
	padding: 0.875rem 2.5rem;
}
.about-section .theme-btn-primary:hover {
	background: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	color: var(--color-background);
	transform: none;
	opacity: 1;
}
.owners-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
}
@media (min-width: 1024px) { .owners-section__grid { grid-template-columns: 1fr 1fr; } }
.owners-section__media { position: relative; min-height: 320px; overflow: hidden; }
@media (min-width: 768px) { .owners-section__media { min-height: 460px; } }
@media (min-width: 1024px) { .owners-section__media { min-height: 600px; } }
.owners-section__content { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .owners-section__content { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .owners-section__content { padding: 6rem 6rem; } }
.owners-section__content-inner { max-width: 36rem; }
.owners-section__heading { margin-bottom: 2rem; }
.owners-section__quote { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.3; margin-bottom: 2rem; }
@media (min-width: 768px) { .owners-section__quote { font-size: 1.5rem; } }
.owners-section__paragraph { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.25rem; }

.about-section__media { position: relative; width: 100%; height: 45vh; min-height: 320px; margin-bottom: 4rem; }
@media (min-width: 768px) { .about-section__media { height: 60vh; margin-bottom: 4rem; } }
.about-section__copy { max-width: 48rem; margin: 0 auto; text-align: center; padding-bottom: 5rem; }
@media (min-width: 768px) { .about-section__copy { padding-bottom: 7rem; } }
.about-section__lead { font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 2.5rem; font-size: 1.5rem; }
@media (min-width: 768px) { .about-section__lead { font-size: 2.25rem; } }
.about-section__body { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2.5rem; }

.cta-band-section__grid { display: grid; grid-template-columns: 1fr; min-height: 420px; }
@media (min-width: 1024px) { .cta-band-section__grid { grid-template-columns: 1fr 1fr; } }
.cta-band-section__media { position: relative; min-height: 280px; }
@media (min-width: 1024px) { .cta-band-section__media { min-height: 520px; } }
.cta-band-section__content { position: relative; background: var(--color-foreground); color: var(--color-background); display: flex; align-items: center; justify-content: center; padding: 5rem 2rem; }
@media (min-width: 768px) { .cta-band-section__content { padding: 6rem 4rem; } }
.cta-band-section__copy { max-width: 28rem; text-align: center; }
.cta-band-section__kicker { color: color-mix(in srgb, var(--color-background) 60%, transparent); }
.cta-band-section__title { color: var(--color-background); margin-bottom: 1.5rem; font-weight: 300; }
.cta-band-section__text { color: color-mix(in srgb, var(--color-background) 75%, transparent); line-height: 1.7; margin-bottom: 2.5rem; }
.cta-band-section__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .cta-band-section__actions { flex-direction: row; } }

.featured-products-section, .owners-section, .about-section, .services-section, .faq-section, .testimonials-section { padding: 5rem 0; }
@media (min-width: 768px) { .featured-products-section, .owners-section, .about-section, .services-section, .faq-section, .testimonials-section { padding: 7rem 0; } }
.category-strip-section, .featured-products-section { background: var(--color-background); }
.section-header { margin-bottom: 3.5rem; }

/* ==========================================================================
   Shop section
   ========================================================================== */

.shop-section { background: var(--color-background); scroll-margin-top: 6rem; padding: 5rem 0; }
@media (min-width: 768px) { .shop-section { padding: 7rem 0; } }
.shop-section__search { position: relative; max-width: 28rem; margin: 0 auto 2.5rem; }
.shop-section__search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-section__search-input {
	width: 100%; padding: 0.6rem 0 0.6rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	color: var(--color-foreground);
}
.shop-section__search-input:focus { outline: none; border-color: var(--color-foreground); }
.shop-section__search-input::placeholder { color: var(--color-muted-foreground); }
.shop-section__cats { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.shop-section__cat-btn { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); padding-bottom: 0.25rem; border-bottom: 1px solid transparent; }
.shop-section__cat-btn:hover { color: var(--color-foreground); }
.shop-section__cat-btn.is-active { color: var(--color-foreground); border-bottom-color: var(--color-foreground); }
.shop-section__price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-section__price-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); }
.shop-section__price-toggle:hover { color: var(--color-foreground); }
.shop-section__price-summary { opacity: 0.7; text-transform: none; letter-spacing: normal; font-size: 0.8125rem; }
.shop-section__price-chevron { transition: transform 0.3s; }
.shop-section__price-toggle.is-open .shop-section__price-chevron { transform: rotate(180deg); }
.shop-section__price-panel { width: 100%; max-width: 22rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.shop-section__price-panel.is-open { max-height: 8rem; opacity: 1; padding: 0.5rem 0; }
.price-range-wrapper__labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.75rem; }

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

.shop-section__empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }
.shop-section__load-more-wrap { text-align: center; margin-top: 3.5rem; padding-bottom: 0.5rem; }
.theme-product-card-wrap.is-hidden { display: none !important; }

/* ==========================================================================
   Services
   ========================================================================== */

.services-section { background: var(--color-muted); }
.services-section__grid {
	display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border);
	max-width: 80rem; margin: 0 auto; border: 1px solid var(--color-border);
}
@media (min-width: 640px) { .services-section__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(5, 1fr); } }
.service-card { display: flex; flex-direction: column; text-align: center; background: var(--color-background); padding: 2.5rem; transition: background-color 0.3s; }
.service-card:hover { background: var(--color-muted); }
.service-card__icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--color-foreground); }
.service-card__title { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.service-card__desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin-bottom: 1.5rem; }
.service-card__cta { margin-top: auto; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section__header { max-width: 42rem; margin: 0 auto 3rem; }
.faq-section__footer-text { color: var(--color-muted-foreground); margin-top: 1.25rem; }
.faq-section__mobile-select { display: block; position: relative; max-width: 20rem; margin: 0 auto 2rem; }
.faq-section__select { width: 100%; appearance: none; background: transparent; border: none; border-bottom: 1px solid var(--color-border); padding: 0.75rem 2rem 0.75rem 0.25rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.faq-section__select:focus { outline: none; border-color: var(--color-foreground); }
.faq-section__select-chevron { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); pointer-events: none; }
.faq-section__tabs { display: none; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .faq-section__mobile-select { display: none; } .faq-section__tabs { display: flex; } }
.faq-section__tab { padding-bottom: 0.25rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); border-bottom: 1px solid transparent; }
.faq-section__tab.is-active { color: var(--color-foreground); border-bottom-color: var(--color-foreground); }
.faq-section__panels { max-width: 48rem; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-section__panel { display: none; }
.faq-section__panel.is-active { display: block; animation: fadeIn 0.3s ease; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
@media (min-width: 768px) { .faq-item__question { padding: 1.5rem 0; } }
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; font-weight: 400; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.25rem; } }
.faq-item__toggle {
	flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--color-foreground);
	display: flex; align-items: center; justify-content: center; transition: background-color 0.3s, color 0.3s;
}
.faq-item__toggle .icon { transition: transform 0.3s; }
.faq-item.is-open .faq-item__toggle { background: var(--color-foreground); color: var(--color-background); }
.faq-item.is-open .faq-item__toggle .icon { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--transition-smooth); }
.faq-item__answer p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; padding-bottom: 1.5rem; padding-right: 3rem; max-width: 48rem; }
.faq-item.is-open .faq-item__answer { max-height: 40rem; }

/* ==========================================================================
   Testimonials carousel
   ========================================================================== */

.testimonials-section { border-top: 1px solid var(--color-border); }
.testimonials-carousel { position: relative; max-width: 48rem; margin: 0 auto; }
.testimonials-carousel__track { position: relative; text-align: center; padding: 0 1rem; min-height: 14rem; }
.testimonials-carousel__slide { display: none; opacity: 0; transition: opacity 0.5s ease; }
.testimonials-carousel__slide.is-active { display: block; opacity: 1; }
.testimonials-carousel__stars { display: flex; justify-content: center; gap: 0.25rem; margin-bottom: 2rem; }
.testimonials-carousel__star { color: var(--color-foreground); fill: currentColor; stroke: none; }
.testimonials-carousel__quote { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .testimonials-carousel__quote { font-size: 1.75rem; } }
.testimonials-carousel__meta { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.testimonials-carousel__name { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.testimonials-carousel__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.testimonials-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 3rem; }
.testimonials-carousel__arrow { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; }
.testimonials-carousel__arrow:hover { color: var(--color-muted-foreground); }
.testimonials-carousel__dots { display: flex; align-items: center; gap: 0.5rem; }
.testimonials-carousel__dot { height: 1px; width: 1rem; background: var(--color-border); transition: all 0.3s; }
.testimonials-carousel__dot.is-active { width: 2rem; background: var(--color-foreground); }
.testimonials-carousel__dot:hover { background: var(--color-muted-foreground); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { border-top: 1px solid var(--color-border); background: var(--color-background); }
.site-footer__top {
	display: flex; flex-direction: column; gap: 2rem;
	padding-top: 5rem; padding-bottom: 2rem; margin-bottom: 4rem;
	border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.site-footer__tagline { max-width: 28rem; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; }
@media (min-width: 768px) { .site-footer__tagline { text-align: right; } }
.site-footer__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(4, 1fr); gap: 4rem; } }
.site-footer__col--reach { grid-column: span 2; }
@media (min-width: 768px) { .site-footer__col--reach { grid-column: span 1; } }
.site-footer__col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 1.5rem; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__links a { font-size: 0.875rem; color: var(--color-muted-foreground); }
.site-footer__links a:hover { color: var(--color-foreground); }
.site-footer__links--icons a { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__copyright, .site-footer__credit { font-size: 11px; color: var(--color-muted-foreground); letter-spacing: 0.02em; }
.site-footer__credit a { text-decoration: underline; }
.site-footer__credit a:hover { color: var(--color-foreground); }

/* ==========================================================================
   Logo
   ========================================================================== */

.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { line-height: var(--logo-height); display: block; }

/* ==========================================================================
   404 / blog fallback
   ========================================================================== */

.theme-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 5rem 0; }
.theme-404__code { font-size: 4rem; font-weight: 300; }
.theme-404__text { color: var(--color-muted-foreground); }
.theme-blog-loop { padding: 5rem 0; }
.theme-blog-card { margin-bottom: 2rem; }
.page-title { font-size: 2.25rem; font-weight: 300; padding: 3rem 0 1.5rem; }
.site-main--page .entry-content { padding-bottom: 4rem; }

/* ==========================================================================
   WooCommerce — single product
   ========================================================================== */

.single-product .site-main { padding-top: 2rem; padding-bottom: 6rem; }
body.single-product:not(.theme-no-hero) .site-main { padding-top: var(--header-height); }
.single-product .site-main { padding-top: calc(var(--header-height) - 0.5rem); }

.theme-breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 3rem; 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; }
.theme-product-gallery__stack-item { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
@media (min-width: 1024px) {
	.theme-product-gallery__mobile { display: none; }
	.theme-product-gallery__desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; border: none; padding: 0; cursor: pointer; }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s; }
.theme-product-thumb.is-active::after { opacity: 1; }

@media (min-width: 1024px) { .theme-product-info { position: sticky; top: calc(var(--header-height) + 1rem); padding-left: 1rem; } }
.theme-product-info__cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.product-title { font-family: var(--font-display); font-weight: 400; font-style: normal; font-size: 1.875rem; line-height: 1.1; margin-bottom: 1.25rem; }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.25rem; }
.theme-product-info__stock--out { font-size: 0.875rem; font-weight: 500; color: #b3261e; margin-bottom: 1rem; }
.theme-product-info__description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; }
.theme-product-info__description p { margin-bottom: 1rem; }

.theme-attr-pills { margin-bottom: 1.5rem; }
.theme-attr-group { margin-bottom: 1.25rem; }
.theme-attr-group__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 400; margin-bottom: 0.75rem; }
.theme-attr-group__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
	border: 2px solid var(--color-nopal); border-radius: var(--btn-radius); background: transparent;
	color: var(--color-nopal); box-shadow: 3px 3px 0 0 var(--color-nopal);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-attr-pill:hover { background: var(--color-nopal); color: var(--color-background); transform: translateY(-2px); }
.theme-attr-pill:active { transform: translate(1px, 1px); box-shadow: none; }
.theme-attr-pill.is-selected { background: var(--color-teal); color: var(--color-nopal); }
.theme-attr-pill.is-selected:hover { background: var(--color-teal); color: var(--color-nopal); transform: none; }

.theme-quantity-block { margin-bottom: 1rem; }
.theme-quantity-block__label {
	font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground); font-weight: 400; margin-bottom: 0.75rem;
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus {
	padding: 0.5rem 0.75rem; display: flex; align-items: center; justify-content: center;
	border-radius: 999px; border: 2px solid var(--color-nopal); color: var(--color-nopal);
	box-shadow: 2px 2px 0 0 var(--color-nopal); transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-minus:active, .theme-qty-plus:active { transform: translateY(2px); box-shadow: none; }
.theme-qty-input { width: 2.75rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; font-size: 0.875rem; padding: 0.5rem 0; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 1rem; }
.theme-add-to-cart-area .single_add_to_cart_button { width: 100%; margin-top: 0.25rem; }

.theme-product-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__summary { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; cursor: pointer; list-style: none; }
.theme-accordion__summary::-webkit-details-marker { display: none; }
.theme-accordion__chevron { transition: transform 0.2s; }
.theme-accordion[open] .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__content { padding-bottom: 1.5rem; color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__content p { margin-bottom: 0.75rem; }
.theme-accordion__content ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__content li { position: relative; padding-left: 1rem; }
.theme-accordion__content li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 4px; height: 4px; border-radius: 999px; background: var(--color-foreground); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__heading { text-align: center; margin-bottom: 3rem; }
.related-products-section__kicker { font-family: var(--font-display); font-style: italic; color: var(--color-muted-foreground); margin-bottom: 0.25rem; font-size: 1rem; }
.related-products-section__title { font-size: 1.875rem; font-weight: 400; }

/* Single-product add to cart — Lovable pop style (not product cards) */
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button,
.single-product form.variations_form .single_add_to_cart_button.button {
	background-color: var(--color-rosa) !important;
	color: var(--color-nopal) !important;
	border: 2px solid var(--color-nopal) !important;
	border-radius: var(--btn-radius) !important;
	min-height: 3.25rem !important;
	padding: 1rem 2rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	box-shadow: 3px 3px 0 0 var(--color-nopal) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease !important;
}
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button:hover,
.single-product form.variations_form .single_add_to_cart_button.button:hover {
	opacity: 1 !important;
	background-color: var(--color-background) !important;
	color: var(--color-rosa) !important;
	transform: translateY(-2px) !important;
}
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button:active,
.single-product form.variations_form .single_add_to_cart_button.button:active {
	transform: translate(1px, 1px) !important;
	box-shadow: none !important;
}
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button:disabled,
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button.disabled,
.single-product form.variations_form .single_add_to_cart_button.button:disabled,
.single-product form.variations_form .single_add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.6 !important;
	pointer-events: none !important;
}
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button:disabled:hover,
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button.disabled:hover,
.single-product form.variations_form .single_add_to_cart_button.button:disabled:hover,
.single-product form.variations_form .single_add_to_cart_button.button.disabled:hover {
	opacity: 0.6 !important;
	background-color: var(--color-rosa) !important;
	color: var(--color-nopal) !important;
	transform: none !important;
	box-shadow: 3px 3px 0 0 var(--color-nopal) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add (§11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.theme-attr-select-hidden { display: none !important; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

/* Notices — scoped visibility (§14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	max-width: 60rem; margin: 1.5rem auto; padding: 1rem 1.5rem; border-radius: var(--radius);
	font-size: 0.875rem; list-style: none; background: var(--color-muted); color: var(--color-foreground);
	border-left: 3px solid var(--color-primary);
}
.woocommerce-error { border-left-color: #b3261e; }

/* ==========================================================================
   WooCommerce — archive
   ========================================================================== */

.woocommerce-archive { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 5rem; }
.archive-header { margin-bottom: 3rem; }
.shop-heading { font-size: 2.25rem; font-weight: 300; }
.theme-archive-pagination { text-align: center; margin-top: 3rem; }
.theme-archive-pagination .page-numbers { display: inline-flex; gap: 0.5rem; }
.theme-archive-pagination .page-numbers li { display: inline-block; }
.theme-archive-pagination a, .theme-archive-pagination span { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--color-border); font-size: 0.875rem; }
.theme-archive-pagination .current { background: var(--color-foreground); color: var(--color-background); }

/* ==========================================================================
   WooCommerce — Checkout Block (§13)
   ========================================================================== */

body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

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,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0.375rem !important;
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus-visible,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus-visible {
	border-color: var(--color-foreground) !important;
	outline: none !important;
	box-shadow: 0 0 0 1px var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-textarea textarea { padding: revert; }
body.woocommerce-checkout ::placeholder { color: var(--color-muted-foreground); }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap); align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-muted); border-radius: var(--card-radius); padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-rosa) !important;
	color: var(--color-nopal) !important;
	border: 2px solid var(--color-nopal) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 12px;
	font-weight: 700;
	box-shadow: 3px 3px 0 0 var(--color-nopal) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: var(--color-background) !important;
	color: var(--color-rosa) !important;
	opacity: 1 !important;
	transform: translateY(-2px);
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); }

/* ==========================================================================
   WooCommerce — Cart / Account pages (§13.7)
   ========================================================================== */

.woocommerce-cart .site-main, .woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

/* ==========================================================================
   WooCommerce — Thank-you page (§22.8)
   ========================================================================== */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order { max-width: 48rem; margin: 0 auto; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; font-weight: 400; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; border: 1px solid var(--color-border); border-radius: var(--card-radius); }
body.theme-thankyou-page .woocommerce-order-overview li { padding: 1rem 1.5rem; flex: 1; }
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 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; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: var(--card-radius); padding: 1.25rem; }

/* ==========================================================================
   Responsive helpers
   ========================================================================== */

@media (max-width: 639px) {
	.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
