/* =========================================================================
   Bellzbootik theme.css
   ========================================================================= */

:root {
	--color-background: #fbf8f4;
	--color-foreground: #2b1d2f;
	--color-card: #fefdfb;
	--color-primary: #643371;
	--color-primary-foreground: #fcfaf8;
	--color-secondary: #f1e9f2;
	--color-secondary-foreground: #2b1d2f;
	--color-muted: #f2edf2;
	--color-muted-foreground: #6c5c70;
	--color-accent: #d09e39;
	--color-accent-foreground: #2b1d2f;
	--color-border: #e3d9e3;
	--color-butter: #f6eef6;
	--color-marigold: #a9782d;
	--color-surface-deep: #27172c;
	--color-surface-deep-foreground: #f9f5f0;

	--font-display: 'Playfair Display', serif;
	--font-body: 'Karla', sans-serif;

	--radius: 0.5rem;
	--card-radius: 0.5rem;
	--logo-height: 56px;

	--shadow-soft: 0 2px 12px -6px rgba(43, 20, 46, 0.18);
	--shadow-elevated: 0 18px 40px -20px rgba(43, 20, 46, 0.35);

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 1.25rem 3rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;

	--header-height: 80px;
	--checkout-gap: 2rem;

	/* WP admin bar offsets: sticky = in-flow elements, fixed = overlays. */
	--admin-bar-sticky: 0px;
	--admin-bar-fixed: 0px;
}
body.admin-bar { --admin-bar-sticky: 32px; --admin-bar-fixed: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-sticky: 46px; --admin-bar-fixed: 46px; }
}
/* Below 600px the admin bar is position:absolute and scrolls away. */
@media screen and (max-width: 600px) {
	body.admin-bar { --admin-bar-sticky: 0px; }
}

/* ---------------------------- Reset & base ------------------------------ */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-section__img):not(.cat-tile__img):not(.craft-section__img):not(.service-card__img):not(.theme-product-card__img):not(.theme-product-thumb img):not(.cta-band__bg) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-section__img,
.cat-tile__img,
.craft-section__img,
.service-card__img,
.theme-product-card__img,
.theme-product-thumb img,
.cta-band__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	color: inherit;
	margin: 0;
}
button { cursor: pointer; background: none; border: none; padding: 0; text-transform: none; }

a[href],
button:not(:disabled),
[role="button"],
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
[type="reset"]:not(:disabled),
input[type="checkbox"],
input[type="radio"],
input[type="range"],
input[type="file"],
label[for],
select,
summary,
[data-nav-target],
[data-contact-open],
[data-contact-close],
[data-cart-open],
[data-cart-close],
[data-cart-empty],
[data-cart-remove],
[data-cart-qty-update],
.cat-tile,
.theme-color-swatch,
.theme-product-thumb,
.theme-card-link,
.add_to_cart_button {
	cursor: pointer;
}
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0;
	text-transform: none;
	margin: 0;
	line-height: 1.15;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-marigold);
	margin-bottom: 0.75rem;
}

.about-section .eyebrow, .craft-section .eyebrow { margin-bottom: 1.25rem; }
.services-section .eyebrow, .faq-section .eyebrow, .cta-band .eyebrow { margin-bottom: 1rem; }

.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); }

.icon-12 { width: 12px; height: 12px; }
.icon-14 { width: 14px; height: 14px; }
.icon-16 { width: 16px; height: 16px; }
.icon-20 { width: 20px; height: 20px; }
.icon-28 { width: 28px; height: 28px; }
.icon-48 { width: 48px; height: 48px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	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: var(--btn-text-transform);
	transition: opacity 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
}
.btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground); }
.btn-outline:hover { background: var(--color-secondary); }
/* shadcn-style UI button (cart drawer, contact modal), matching Lovable's <Button>. */
.btn-ui {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	height: 2.5rem;
	padding: 0.5rem 1rem;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid transparent;
	font-family: var(--font-display);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn-ui svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.btn-ui--primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-ui--primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.btn-ui--outline { background: var(--color-background); color: var(--color-foreground); border-color: var(--color-border); }
.btn-ui--outline:hover { background: var(--color-accent); color: var(--color-accent-foreground); }
.btn-ui--lg { height: 2.75rem; padding: 0 2rem; }
.btn-ui--sm { height: 2.25rem; padding: 0 0.75rem; }
.btn-ui:disabled { opacity: 0.5; pointer-events: none; }

.btn-hero-primary { background: var(--color-accent); color: var(--color-accent-foreground); }
.btn-hero-primary:hover { opacity: 0.9; }

/* ------------------------------ Animations -------------------------------- */
@keyframes bellzFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bellzSlideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bellzScaleIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes bellzRevealFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.reveal-item {
	opacity: 0;
	will-change: opacity, transform;
}
.reveal-item[data-reveal="fade"] { transform: translateY(16px); }
.reveal-item[data-reveal="slide-up"] { transform: translateY(28px); }
.reveal-item.is-visible[data-reveal="fade"] {
	animation: bellzRevealFade 0.6s var(--transition-smooth) forwards;
}
.reveal-item.is-visible[data-reveal="slide-up"] {
	animation: bellzSlideUp 0.7s var(--transition-smooth) forwards;
}
/* Customizer preview / no-JS fallback: never hide content (Section 2.1 / 4.2). */
body.is-customizer .reveal-item,
body.no-js .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------------------------- Announcement bar ---------------------------- */
.theme-announcement-bar {
	position: relative;
	background: var(--color-surface-deep);
	color: var(--color-surface-deep-foreground);
}
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}
.theme-announcement-bar__close {
	position: absolute;
	right: 0.75rem; top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	color: inherit;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}
.theme-announcement-bar__close:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* --------------------------------- Header --------------------------------- */
.site-header {
	position: sticky;
	top: var(--admin-bar-sticky); left: 0; right: 0;
	z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
body.theme-no-hero .site-header { background: var(--color-background); border-bottom-color: var(--color-border); }

.site-header__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	gap: 1rem;
}
.site-header__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-header__logo-wrap { position: relative; width: 3rem; height: 3rem; flex-shrink: 0; }
@media (min-width: 640px) { .site-header__logo-wrap { width: 3.5rem; height: 3.5rem; } }
@media (min-width: 1024px) { .site-header__logo-wrap { width: 4rem; height: 4rem; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; max-width: none; }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); }
.site-header__logo-wrap .site-logo-img { height: 100% !important; width: 100% !important; object-fit: contain; }
.site-header__brand-text { display: none; flex-direction: column; line-height: 1; }
@media (min-width: 640px) { .site-header__brand-text { display: flex; } }
.site-header__brand-name { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.02em; color: var(--color-primary); }
@media (min-width: 1024px) { .site-header__brand-name { font-size: 1.25rem; } }
.site-header__brand-tagline { font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }

.site-header__links { display: none; flex: 1; justify-content: center; }
@media (min-width: 1024px) { .site-header__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 0.75rem; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; }
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-list li { list-style: none; }
.theme-nav-list a,
.theme-nav-list .theme-nav-link {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.3s ease;
	cursor: pointer;
}
@media (min-width: 1280px) { .theme-nav-list a, .theme-nav-list .theme-nav-link { font-size: 12px; letter-spacing: 0.2em; } }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__icon-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s ease; color: var(--color-foreground); }
.site-header__icon-btn:hover { opacity: 0.6; }
.site-header__search { display: none; }
@media (min-width: 768px) { .site-header__search { display: inline-flex; } }
.site-header__menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }
.icon-menu { display: block; }
.icon-close { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-header__mobile-panel {
	display: none;
	border-top: 1px solid var(--color-border);
	padding: 1rem 0;
}
.site-header__mobile-panel.is-open { display: block; animation: bellzFadeIn 0.4s var(--transition-smooth); }
@media (min-width: 1024px) { .site-header__mobile-panel { display: none !important; } }
.theme-nav-list--mobile { flex-direction: column; align-items: flex-start; gap: 1rem; }
.theme-nav-list--mobile a, .theme-nav-list--mobile .theme-nav-link { font-size: 14px; letter-spacing: 0.18em; padding: 0.5rem 0; text-align: left; }
.theme-nav-list--mobile a:hover, .theme-nav-list--mobile .theme-nav-link:hover { color: var(--color-muted-foreground); }

/* --------------------------------- Hero ----------------------------------- */
.hero-section { position: relative; background: var(--color-background); }
.hero-section__media {
	position: relative;
	width: 100%;
	height: 78vh;
	min-height: 560px;
	overflow: hidden;
}
@media (min-width: 768px) { .hero-section__media { height: 88vh; min-height: 680px; } }
.hero-section__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to right, color-mix(in srgb, var(--color-background) 70%, transparent) 0%, color-mix(in srgb, var(--color-background) 25%, transparent) 50%, transparent 100%);
}
.hero-section__inner {
	position: absolute; inset: 0;
	display: flex; align-items: center;
}
.hero-section__content { max-width: 32rem; }
@media (min-width: 768px) { .hero-section__content { max-width: 36rem; } }
.hero-section__eyebrow { font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-marigold); margin-bottom: 1rem; display: block; }
.hero-section__title {
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1.02;
	color: var(--color-foreground);
	margin-bottom: 1.5rem;
}
.hero-section__title em { font-style: italic; }
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__description {
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	font-size: 1rem;
	line-height: 1.625;
	margin-bottom: 2.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 768px) { .hero-section__description { font-size: 1.125rem; } }

body.theme-no-hero .site-main { padding-top: var(--header-height); }

/* --------------------------------- Sections base --------------------------- */
section { position: relative; }
section[id] { scroll-margin-top: calc(6rem + var(--admin-bar-sticky)); }
.section-heading { font-family: var(--font-display); }

/* About */
.about-section { background: var(--color-card); padding: 5rem 1.5rem; }
@media (min-width: 768px) { .about-section { padding: 7rem 3.5rem; } }
.about-section__inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.about-section__heading { font-size: 2.25rem; line-height: 1.25; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.625; margin: 0 0 1.25rem; }
.about-section__paragraph:last-of-type { margin-bottom: 2.5rem; }
.about-section__link {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-foreground);
}

/* Category tiles */
.cat-tiles-section { background: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .cat-tiles-section { padding: 5rem 0; } }
.cat-tiles-section__head { text-align: center; margin-bottom: 2.5rem; }
.cat-tiles-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .cat-tiles-section__heading { font-size: 3rem; } }
.cat-tiles-section__grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 768px) { .cat-tiles-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.cat-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); display: block; width: 100%; }
.cat-tile__img { transition: transform 0.7s var(--transition-smooth); }
.cat-tile:hover .cat-tile__img { transform: scale(1.05); }
.cat-tile__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent) 0%, color-mix(in srgb, var(--color-foreground) 40%, transparent) 55%, color-mix(in srgb, var(--color-foreground) 10%, transparent) 100%);
	transition: background 0.5s ease;
}
.cat-tile:hover .cat-tile__overlay { background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 95%, transparent) 0%, color-mix(in srgb, var(--color-foreground) 45%, transparent) 55%, color-mix(in srgb, var(--color-foreground) 12%, transparent) 100%); }
.cat-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; text-align: left; color: var(--color-background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
@media (min-width: 768px) { .cat-tile__content { padding: 1.75rem; } }
.cat-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--color-marigold); filter: brightness(1.5); }
.cat-tile__tagline-bar { height: 1px; width: 1.5rem; background: currentColor; }
.cat-tile__label { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 0.5rem; color: var(--color-background); }
@media (min-width: 768px) { .cat-tile__label { font-size: 2.25rem; } }
.cat-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-background); }

/* Craft */
.craft-section { background: var(--color-background); display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .craft-section { grid-template-columns: 1fr 1fr; } }
.craft-section__media { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
@media (min-width: 768px) { .craft-section__media { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .craft-section__media { padding: 6rem 4rem; } }
.craft-section__frame { position: relative; width: 100%; max-width: 36rem; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--color-secondary); box-shadow: var(--shadow-elevated); }
.craft-section__content { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .craft-section__content { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .craft-section__content { padding: 6rem 6rem; } }
.craft-section__content-inner { max-width: 36rem; }
.craft-section__heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .craft-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .craft-section__heading { font-size: 3.75rem; } }
.craft-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.3; margin-bottom: 2rem; }
@media (min-width: 768px) { .craft-section__quote { font-size: 1.875rem; } }
.craft-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.625; margin-bottom: 1.25rem; }

/* Services */
.services-section { background: var(--color-butter); padding: 5rem 0; }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }
.services-section__head { text-align: center; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .services-section__head { margin-bottom: 5rem; } }
.services-section__heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.75rem; } }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.service-card { display: flex; flex-direction: column; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s ease; }
.service-card:hover { box-shadow: var(--shadow-elevated); }
.service-card__image-wrap { position: relative; aspect-ratio: 1/1; width: 100%; overflow: hidden; background: var(--color-secondary); }
.service-card__img { transition: transform 0.5s ease; }
.service-card:hover .service-card__img { transform: scale(1.05); }
.service-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 768px) { .service-card__body { padding: 2rem; } }
.service-card__subtitle { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.service-card__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.875rem; } }
.service-card__description { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.625; flex: 1; }

/* ------------------------------ Shop section -------------------------------- */
.shop-section { background: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .shop-section { padding: 6rem 0; } }
.shop-section__head { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 2.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-section__search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.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.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	font-size: 1rem;
	color: var(--color-foreground);
	transition: border-color 0.3s ease;
}
.shop-section__search-input:focus { outline: none; border-color: var(--color-foreground); }
.shop-section__categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.cat-filter-btn {
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.cat-filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.cat-filter-btn.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.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 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.shop-section__price-toggle:hover { color: var(--color-foreground); }
.shop-section__price-toggle-value { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.shop-section__price-toggle .icon-14 { transition: transform 0.3s ease; }
.shop-section__price-toggle[aria-expanded="true"] .icon-14 { transform: rotate(180deg); }
.shop-section__price-panel { width: 100%; max-width: 24rem; overflow: hidden; height: 0; opacity: 0; transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.shop-section__price-panel.is-open { height: auto; opacity: 1; }

.price-range-wrapper { position: relative; height: 1.5rem; margin: 0.5rem 0; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 4px; }
.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: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); }

.theme-product-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 1024px) { .theme-product-grid { gap: 2rem; } }
.theme-product-card-wrap {
	width: calc(50% - 12px);
	display: flex;
	flex-direction: column;
}
@media (min-width: 768px) { .theme-product-card-wrap { width: calc(33.333% - 16px); } }
@media (min-width: 1024px) { .theme-product-card-wrap { width: calc(25% - 24px); } }
.theme-product-card-wrap.is-hidden-filter { display: none !important; }

.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__image-wrapper {
	position: relative;
	aspect-ratio: 3/4;
	background: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.theme-product-card__img { transition: transform 0.7s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem;
	padding: 0.25rem 0.75rem;
	font-size: 12px; font-weight: 500;
	letter-spacing: 0.18em; text-transform: uppercase;
	background: var(--color-foreground); color: var(--color-background);
	border-radius: 9999px;
	z-index: 3;
}
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem;
	width: 2.5rem; height: 2.5rem;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--color-background); color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.2s ease;
	z-index: 3;
	pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__quick-add,
.theme-product-card__quick-add:focus-visible { opacity: 1; }
@media (max-width: 767px) { .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__quick-add:active { transform: scale(0.92); }
.theme-product-card__info { text-align: center; margin-top: 1rem; }
.theme-product-card__title {
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 1.5;
	color: var(--color-foreground);
	transition: color 0.3s ease;
	font-family: var(--font-body);
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card__price { font-size: 1rem; color: var(--color-foreground); margin-top: 0.5rem; font-family: var(--font-body); }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }

.shop-section__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.shop-section__show-more { text-align: center; margin-top: 3rem; }
#theme-show-more-btn { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* --------------------------------- FAQ ------------------------------------- */
.faq-section { background: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-section__head { text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .faq-section__head { margin-bottom: 4rem; } }
.faq-section__heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.faq-section__list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.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 { font-family: var(--font-display); font-size: 1.125rem; transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1.25rem; } }
.faq-item__question:hover span { color: var(--color-primary); }
.faq-item__chevron { color: var(--color-primary); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item__question[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer { overflow: hidden; height: auto; opacity: 1; transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.faq-item__answer p { padding-bottom: 1.5rem; padding-right: 2.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.625; margin: 0; }

/* ------------------------------- Final CTA ---------------------------------- */
.cta-band { position: relative; background: var(--color-butter); overflow: hidden; }
.cta-band__bg { opacity: 0.7; }
.cta-band__gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 60%, transparent) 0%, color-mix(in srgb, var(--color-background) 40%, transparent) 50%, color-mix(in srgb, var(--color-background) 80%, transparent) 100%); }
.cta-band__inner { position: relative; padding: 6rem 0; }
@media (min-width: 768px) { .cta-band__inner { padding: 8rem 0; } }
.cta-band__card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-radius: var(--radius);
	box-shadow: var(--shadow-elevated);
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 3rem 2rem;
}
@media (min-width: 768px) { .cta-band__card { padding: 4rem 3.5rem; } }
.cta-band__title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
.cta-band__description { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.625; margin-bottom: 2.5rem; max-width: 32rem; margin-left: auto; margin-right: auto; }

/* -------------------------------- Footer ------------------------------------ */
.site-footer { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.site-footer__main { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .site-footer__main { padding-top: 4.5rem; padding-bottom: 4.5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 3rem; } }
.site-footer__brand-col { grid-column: span 12; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 1024px) { .site-footer__brand-col { grid-column: span 4; } }
.site-footer__logo-link { display: inline-block; width: 4rem; height: 4rem; }
@media (min-width: 640px) { .site-footer__logo-link { width: 5rem; height: 5rem; } }
.site-footer__logo-link .site-logo-img { width: 100% !important; height: 100% !important; object-fit: contain; }
.site-footer__brand-text { display: flex; flex-direction: column; line-height: 1; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.6; margin-top: 0.5rem; }
.site-footer__nav-col, .site-footer__contact-col { grid-column: span 12; }
@media (min-width: 1024px) { .site-footer__nav-col, .site-footer__contact-col { grid-column: span 4; } }
.site-footer__col-heading { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1.25rem; }
.site-footer__nav-list { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.site-footer__nav-list a, .site-footer__nav-list .theme-nav-link {
	text-align: left; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	opacity: 0.75; transition: opacity 0.3s ease; width: fit-content;
}
.site-footer__nav-list a:hover, .site-footer__nav-list .theme-nav-link:hover { opacity: 1; }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; opacity: 0.75; transition: opacity 0.3s ease; }
.site-footer__contact-item:hover { opacity: 1; }
.site-footer__contact-item--static { align-items: flex-start; }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--color-surface-deep-foreground) 10%, transparent); }
.site-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; } }
.site-footer__copyright, .site-footer__credit { margin: 0; font-size: 12px; opacity: 0.6; letter-spacing: 0.02em; text-align: center; }
@media (min-width: 640px) { .site-footer__copyright { text-align: left; } .site-footer__credit { text-align: right; } }
.site-footer__credit a { font-weight: 700; opacity: 0.9; transition: opacity 0.2s ease; }
.site-footer__credit a:hover { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* -------------------------------- Contact modal ------------------------------ */
.theme-modal { position: fixed; inset: 0; z-index: 70; display: none; }
.theme-modal.is-open { display: block; }
.theme-modal__overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); animation: bellzFadeIn 0.3s ease; }
.theme-modal__panel {
	position: relative;
	max-width: 32rem; max-height: calc(90vh - var(--admin-bar-fixed)); overflow-y: auto;
	margin: calc(4vh + var(--admin-bar-fixed)) auto 4vh; background: var(--color-background);
	border-radius: var(--radius); box-shadow: var(--shadow-elevated);
	padding: 2rem; animation: bellzScaleIn 0.3s var(--transition-smooth);
}
.theme-modal.is-closing .theme-modal__panel { animation: bellzFadeIn 0.2s ease reverse; }
.theme-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 0.5rem; }
.theme-modal__description { color: var(--color-muted-foreground); margin-bottom: 1.5rem; line-height: 1.6; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__contact-link { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__contact-link:hover { color: var(--color-foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; }
.theme-contact-form__field input, .theme-contact-form__field textarea {
	width: 100%; padding: 0.625rem 0.75rem;
	background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 0.375rem; font-size: 1rem; color: var(--color-foreground);
	transition: box-shadow 0.3s ease;
}
.theme-contact-form__field input::placeholder, .theme-contact-form__field textarea::placeholder { color: var(--color-muted-foreground); }
.theme-contact-form__field input:focus, .theme-contact-form__field textarea:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-contact-form__field textarea { resize: none; }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form button[disabled] { opacity: 0.7; cursor: wait; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon {
	width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.theme-modal__success-heading { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__success-text { color: var(--color-muted-foreground); font-size: 14px; }

/* -------------------------------- 404 ---------------------------------------- */
.theme-404 { min-height: 60vh; display: flex; align-items: center; padding-top: var(--header-height); }
.theme-404__inner { text-align: center; width: 100%; padding: 4rem 0; }
.theme-404__title { font-size: 3rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }

body:not(.theme-no-hero) .site-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-size: 2rem; margin: 2rem 0 1.5rem; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 80rem; margin-left: auto; margin-right: auto; padding: 0 1.5rem; }
@media (min-width: 1024px) {
	body.woocommerce-checkout .page-title,
	body.woocommerce-cart .page-title,
	body.woocommerce-account .page-title { padding: 0 2rem; }
}

/* =========================================================================
   WooCommerce overrides (Section 14)
   ========================================================================= */

.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-primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after,
.add_to_cart_button.added::after { display: none !important; }

/* Card compact quick-add button overrides the global rule (scoped after it). */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__quick-add {
	min-height: unset !important;
	height: 2.5rem !important;
	width: 2.5rem !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
	box-shadow: var(--shadow-soft);
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__quick-add:hover {
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
	opacity: 1 !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 { font-family: var(--font-body); border-radius: var(--radius); }

/* ------------------------------ Single product ------------------------------ */
.single-product .site-main { padding-top: calc(var(--header-height) + 1rem); }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a { transition: color 0.2s ease; }
.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-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__main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__main--mobile { display: block; }
@media (min-width: 1024px) { .theme-product-gallery__main--mobile { display: none; } }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; padding-bottom: 0.25rem; }
@media (min-width: 1024px) { .theme-product-thumbnails { display: none; } }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.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: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-gallery__stack { display: none; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .theme-product-gallery__stack { display: flex; } }
.theme-product-gallery__stack-item { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }

.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem; line-height: 1.1;
	margin-top: 0.75rem; margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.5rem; }
.theme-product-info__price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-product-info__stock--out { color: var(--color-foreground); font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; font-size: 13px; letter-spacing: 0.15em; }
.theme-product-info__lead { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__option-group { margin-bottom: 1.5rem; }
.theme-product-info__option-label { font-family: var(--font-body); line-height: 1.5; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-color-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-color-swatch {
	display: flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: 9999px; transition: all 0.2s ease;
}
.theme-color-swatch:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-color-swatch.is-active { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.theme-color-swatch__dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 1px solid var(--color-border); display: inline-block; }

.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; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 2.75rem; min-width: 44px; text-align: center;
	border: none; background: transparent; padding: 0.5rem 0.25rem;
	-moz-appearance: textfield; font-size: 14px; line-height: 1.25rem; color: var(--color-foreground);
}
.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: 1rem; margin-bottom: 0.5rem; }
.theme-product-info__qty .theme-product-info__option-label { margin-bottom: 0.75rem; }

/* Lovable product-page CTA: full width, foreground pill, uppercase. */
.single-product .theme-add-to-cart-area .single_add_to_cart_button.button,
.single-product .theme-add-to-cart-area a.single_add_to_cart_button {
	width: 100% !important;
	min-height: 0 !important;
	padding: 1rem 1.5rem !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: 9999px !important;
	font-size: 12px !important;
	line-height: 1rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	transition: background-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 .theme-add-to-cart-area a.single_add_to_cart_button:hover {
	opacity: 1 !important;
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !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 {
	opacity: 0.6 !important;
	background-color: var(--color-foreground) !important;
}

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__chevron { transition: transform 0.2s ease; }
.theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { overflow: hidden; height: auto; opacity: 1; transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); padding-bottom: 1.5rem; }
.theme-accordion__panel p, .theme-accordion__long-desc { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__panel ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__panel li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.theme-accordion__panel li::before { content: ''; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 50%; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.woocommerce-product-details__short-description ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.woocommerce-product-details__short-description li { font-size: 15px; color: var(--color-muted-foreground); position: relative; padding-left: 1rem; }
.woocommerce-product-details__short-description li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 50%; }
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__head { text-align: center; margin-bottom: 3rem; }
.related-products-section__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-section__heading { font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.theme-product-grid--related { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; justify-content: initial; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }
.theme-product-grid--related .theme-product-card-wrap { width: auto; }

/* ------------------------------- Archive ------------------------------------- */
.woocommerce-archive { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
.woocommerce-archive__header { text-align: center; margin-bottom: 2.5rem; }
.woocommerce-archive__empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* -------------------------------- Cart drawer --------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: var(--admin-bar-fixed); height: calc(100% - var(--admin-bar-fixed)); 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);
}
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__header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 1; }
.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 svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; }
.theme-cart-drawer__item-image .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.theme-cart-drawer__item-body { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-drawer__item-variation { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__item-controls button { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-drawer__item-controls button:hover { background: var(--color-secondary); }
.theme-cart-drawer__item-qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-drawer__remove:hover { color: var(--color-foreground); }
.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: 14px; }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__shipping-note { font-size: 14px; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* -------------------------------- Checkout Block ------------------------------ */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { width: 100%; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
@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 { display: block; }
}
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);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	background: var(--color-background);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: uppercase;
	letter-spacing: var(--btn-letter-spacing);
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 { font-family: var(--font-display); margin-bottom: 1rem; }

/* -------------------------------- Thank-you page ------------------------------ */
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 h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.75rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { border: none; padding: 0; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
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;
	margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
}

/* -------------------------------- Cart / Account pages ------------------------ */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
