/* ==========================================================================
   Kambiannas theme stylesheet
   ========================================================================== */

:root {
	--font-display: 'Jost', sans-serif;
	--font-body: 'Jost', sans-serif;
	--radius: 0.125rem;
	--shadow-soft: 0 1px 0 0 rgb(0 0 0 / 0.06);
	--shadow-elevated: 0 24px 60px -30px rgb(0 0 0 / 0.28);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 1.1rem 2.5rem;
	--btn-font-size: 12px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.32em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
	--header-height: 80px;
	--checkout-gap: 2rem;
	--checkout-max-width: 1280px;

	/* Color fallbacks (overridden by inline Customizer output — Section 22.9). */
	--color-background: #fbfaf9;
	--color-foreground: #141414;
	--color-card: #ffffff;
	--color-primary: #141414;
	--color-primary-foreground: #ffffff;
	--color-secondary: #f2f0ee;
	--color-muted-foreground: #666666;
	--color-marigold: #957737;
	--color-marigold-soft: #e1c78e;
	--color-border: #e4e1dd;
	--color-butter: #f4f3f0;
	--color-surface-deep: #0f0f0f;
	--color-on-dark: #ffffff;
	--logo-height: 60px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6, .font-display {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
}
h1, h2, h3, h4, h5, h6 { font-weight: 400; letter-spacing: 0.06em; margin: 0; }

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-section__img):not(.category-tile__img):not(.owners-section__photo):not(.service-card__img):not(.contact-cta-section__bg):not(.theme-product-card-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-section__img,
.category-tile__img,
.owners-section__photo,
.service-card__img,
.contact-cta-section__bg,
.theme-product-card-img,
.product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.container-wide {
	width: 100%;
	max-width: 84rem;
	margin: 0 auto;
	padding-inline: 1.5rem;
	min-width: 0;
}
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

.scroll-mt { scroll-margin-top: 6rem; }

.link-underline {
	position: relative;
	display: inline-block;
	cursor: pointer;
}
.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); }

.section-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-marigold);
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

.section-heading {
	font-family: var(--font-display);
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	line-height: 1.2;
}

/* ==========================================================================
   Reveal animations (Section 2.1) — with Customizer preview + no-JS fallback
   ========================================================================== */

.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item[data-reveal="fade"] { transform: none; }
.reveal-item.is-visible { opacity: 1; transform: none; }

body.is-customizer .reveal-item,
.no-js .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
	* { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.theme-animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.theme-animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background-color: var(--color-foreground);
	color: var(--color-background);
	border: none;
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	font-weight: var(--btn-font-weight);
	transition: opacity 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
}
.theme-btn:hover { opacity: 0.85; }
.btn-hero-primary, .btn-hero-outline { text-transform: var(--btn-text-transform); }
.hero-cta-btn {
	background-color: var(--color-on-dark);
	color: var(--color-foreground);
	border-radius: 0;
	padding-block: 1.25rem;
	padding-inline: 2.5rem;
	font-weight: 500;
}
@media (min-width: 640px) { .hero-cta-btn { padding-inline: 3rem; } }
.hero-cta-btn:hover {
	background-color: color-mix(in srgb, var(--color-on-dark) 85%, transparent);
	opacity: 1;
}
.contact-cta-btn {
	background-color: var(--color-foreground);
	color: var(--color-background);
	border-radius: 0;
	padding-block: 1.25rem;
	padding-inline: 2.5rem;
	font-family: var(--font-display);
	letter-spacing: 0.2em;
}
@media (min-width: 640px) { .contact-cta-btn { padding-inline: 3rem; } }
.contact-cta-btn:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	opacity: 1;
}
.theme-btn-outline {
	background-color: transparent;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
}
.theme-btn-primary {
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.theme-btn-block { width: 100%; }

/* ==========================================================================
   Announcement bar
   ========================================================================== */

.theme-announcement-bar {
	position: relative;
	background: var(--color-background);
	color: var(--color-foreground);
	border-bottom: 1px solid var(--color-border);
}
.theme-announcement-bar__inner { padding-block: 0.5rem; padding-inline: 2.75rem; text-align: center; }
.theme-announcement-bar__text {
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-family: var(--font-body);
}
.theme-announcement-bar__close {
	position: absolute;
	right: 0.75rem; top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	opacity: 0.7;
}
.theme-announcement-bar__close:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0; 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;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid,
.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-color: var(--color-border);
}
.site-header__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	gap: 1rem;
	min-width: 0;
	width: 100%;
}
.site-header__brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex-shrink: 0; }
.site-logo-wrap { display: block; width: 3.5rem; height: 3.5rem; flex-shrink: 0; }
@media (min-width: 1024px) { .site-logo-wrap { width: 4rem; height: 4rem; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; object-fit: contain; display: block; }
.site-brand-text { display: none; flex-direction: column; line-height: 1; }
@media (min-width: 640px) { .site-brand-text { display: flex; } }
.site-brand-text__name {
	font-family: var(--font-display);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 1rem;
	letter-spacing: 0.36em;
	color: var(--color-foreground);
}
@media (min-width: 1024px) { .site-brand-text__name { font-size: 1.25rem; } }
.site-brand-text__subtitle {
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-top: 0.35rem;
	display: block;
}

.site-header__center-nav {
	display: none;
	flex: 1;
	justify-content: center;
	align-items: center;
	min-width: 0;
}
@media (min-width: 1024px) { .site-header__center-nav { display: flex; } }
.theme-nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 1rem;
}
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-list .menu-item { margin: 0; padding: 0; cursor: pointer; }
.theme-nav-link, .theme-nav-list a {
	display: inline-block;
	padding-block: 0.25rem;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 0.3s ease;
	cursor: pointer;
}
@media (min-width: 1280px) {
	.theme-nav-link, .theme-nav-list a {
		font-size: 12px;
		letter-spacing: 0.2em;
	}
}

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.site-header__menu-icon { display: inline-flex; align-items: center; justify-content: center; }
.site-header__menu-icon[hidden] { display: none !important; }
@media (min-width: 768px) { .site-header__actions { gap: 0.75rem; } }
.site-header__icon-btn {
	position: relative;
	padding: 0.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}
.site-header__icon-btn:hover { opacity: 0.6; }
.theme-search-trigger { display: none; }
@media (min-width: 768px) { .theme-search-trigger { display: inline-flex; } }
.site-header__mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .site-header__mobile-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; }

.site-header__mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	padding-block: 1rem;
}
.site-header__mobile-menu[hidden] { display: none !important; }
.site-header__mobile-menu.is-open {
	display: block;
	animation: theme-mobile-nav-in 0.2s ease;
}
@keyframes theme-mobile-nav-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
}
.theme-mobile-nav-item,
.theme-mobile-nav-list .menu-item { margin: 0; padding: 0; width: 100%; }
.theme-mobile-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-family: var(--font-display);
	font-weight: 500;
	padding: 0.5rem 0;
	line-height: 1.4;
	white-space: normal;
	transition: color 0.3s ease;
	cursor: pointer;
}
.theme-mobile-nav-link:hover { color: var(--color-muted-foreground); }

/* ==========================================================================
   Hero
   ========================================================================== */

body.theme-no-hero .hero-section { display: none; }

.hero-section { background: var(--color-background); }
.hero-section__media {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: var(--color-surface-deep);
}
.hero-section__img { object-position: 75% center; }
.hero-section__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, color-mix(in srgb, var(--color-surface-deep) 90%, transparent), color-mix(in srgb, var(--color-surface-deep) 60%, transparent), transparent);
}
.hero-section__inner { position: relative; height: 100%; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 5rem; }
.hero-section__content { max-width: 36rem; }
.hero-section__eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--color-marigold-soft);
	margin-bottom: 1rem;
}
.hero-section__title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: 2.25rem;
	line-height: 1.08;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-on-dark);
	margin-bottom: 1.5rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
@media (min-width: 640px) { .hero-section__title { font-size: 3rem; } }
@media (min-width: 1280px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__subtitle {
	color: color-mix(in srgb, var(--color-on-dark) 85%, transparent);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 2.5rem;
	max-width: 40rem;
	font-weight: 300;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }

/* ==========================================================================
   About / Story section
   ========================================================================== */

.about-section { background: var(--color-card); }
.about-section__inner { max-width: 42rem; margin: 0 auto; text-align: center; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .about-section__inner { padding: 7rem 3.5rem; } }
.about-section .section-heading { font-size: 1.875rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-section .section-heading { font-size: 3rem; } }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.about-section__link { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; margin-top: 1rem; display: inline-block; }

/* ==========================================================================
   Shop by category tiles
   ========================================================================== */

.category-section { background: var(--color-background); }
.category-section__inner { padding-block: 4rem 5rem; }
@media (min-width: 768px) { .category-section__inner { padding-block: 5rem; } }
.category-section__header { text-align: center; margin-bottom: 2.5rem; }
.category-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .category-section__heading { font-size: 3rem; } }
.category-section__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .category-section__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.category-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; width: 100%; text-align: left; cursor: pointer; }
.category-tile__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-surface-deep) 95%, transparent), color-mix(in srgb, var(--color-surface-deep) 45%, transparent), transparent);
	transition: background 0.5s ease;
}
.category-tile:hover .category-tile__scrim {
	background: linear-gradient(
		to top,
		var(--color-surface-deep),
		color-mix(in srgb, var(--color-surface-deep) 45%, transparent),
		transparent
	);
}
.category-tile:hover .category-tile__img { transform: scale(1.05); }
.category-tile__img { transition: transform 0.7s var(--transition-smooth); }
.category-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--color-on-dark); text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
@media (min-width: 768px) { .category-tile__content { padding: 1.75rem; } }
.category-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-soft); }
.category-tile__rule { height: 1px; width: 1.5rem; background: currentColor; }
.category-tile__label { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--color-on-dark); }
@media (min-width: 768px) { .category-tile__label { font-size: 2.25rem; } }
.category-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-on-dark); }

/* ==========================================================================
   Owners section
   ========================================================================== */

.owners-section { background: var(--color-background); }
.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 { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
@media (min-width: 1024px) { .owners-section__media { padding: 5rem 4rem; } }
.owners-section__photo-frame { position: relative; width: 100%; max-width: 32rem; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-secondary); box-shadow: var(--shadow-elevated); }
.owners-section__content-wrap { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .owners-section__content-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .owners-section__content-wrap { padding: 6rem 6rem; } }
.owners-section__content { max-width: 36rem; }
.owners-section__heading { font-size: 1.875rem; line-height: 1.15; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .owners-section__heading { font-size: 3rem; } }
.owners-section__quote { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; letter-spacing: 0.06em; margin-bottom: 2rem; font-style: italic; }
@media (min-width: 768px) { .owners-section__quote { font-size: 1.5rem; } }
.owners-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* ==========================================================================
   Services section
   ========================================================================== */

.services-section { background: var(--color-butter); }
.services-section__inner { padding-block: 5rem; }
@media (min-width: 768px) { .services-section__inner { padding-block: 7rem; } }
.services-section__header { text-align: center; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .services-section__header { margin-bottom: 5rem; } }
.services-section__heading { font-size: 1.875rem; line-height: 1.15; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
.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)); gap: 2rem; } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card { display: flex; flex-direction: column; height: 100%; background: var(--color-card); border: 1px solid var(--color-border); overflow: hidden; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s ease; }
.service-card:hover { box-shadow: var(--shadow-elevated); }
.service-card__image-wrapper { 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-weight: 400; font-size: 1.25rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.5rem; } }
.service-card__description { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; flex: 1; }

/* ==========================================================================
   Shop / Collection section
   ========================================================================== */

.shop-section { background: var(--color-background); }
.shop-section__inner { padding-block: 4rem; }
@media (min-width: 768px) { .shop-section__inner { padding-block: 6rem; } }
.shop-section__header { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-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;
	font-family: var(--font-body);
	color: var(--color-foreground);
	transition: border-color 0.2s ease;
}
.shop-search__input::placeholder { color: var(--color-muted-foreground); }
.shop-search__input:focus { outline: none; border-color: var(--color-foreground); }

.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-category-pill {
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 9999px;
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.shop-category-pill:hover { border-color: var(--color-foreground); }
.shop-category-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter__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;
	cursor: pointer;
}
.shop-price-filter__toggle:hover { color: var(--color-foreground); }
.shop-price-filter__toggle svg { transition: transform 0.3s ease; }
.shop-price-filter__toggle.is-open svg { transform: rotate(180deg); }
.shop-price-filter__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-price-filter__panel.is-open { height: auto; opacity: 1; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

.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: 2px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-marigold); }
.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-foreground);
	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-foreground);
	cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.shop-section__show-more { text-align: center; margin-top: 3rem; }
.shop-section__show-more button { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); }
.shop-section__show-more.is-hidden { display: none; }
.shop-section__empty { text-align: center; padding: 5rem 0; }
.shop-section__empty p { color: var(--color-muted-foreground); }

/* ==========================================================================
   Product grid / card (shared: homepage, archive, related products) — Section 31.13
   ========================================================================== */

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	width: 100%;
}
@media (min-width: 768px) {
	.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.theme-product-grid__item {
	width: auto;
	max-width: 100%;
	min-width: 0;
}
.theme-product-grid__item.is-extra-item { display: none; }
.theme-product-grid__item.is-hidden-filter { display: none; }

.theme-product-grid--related {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-grid--related .theme-product-grid__item { width: auto; }

.theme-product-card {
	display: block;
	width: 100%;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	width: 100%;
	background: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1.25rem;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image-wrapper { transform: translateY(-4px); }
.theme-product-card:hover .theme-product-card-img { transform: scale(1.04); }
.theme-product-card__image-wrapper .theme-product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s var(--transition-smooth);
}

.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem;
	padding: 0.35rem 0.85rem;
	font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	background: var(--color-foreground); color: var(--color-background);
	border-radius: 9999px;
}
.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: 1;
	transition: opacity 0.3s ease, transform 0.2s ease;
	min-height: unset !important;
	padding: 0 !important;
}
@media (min-width: 768px) {
	.theme-product-card__quick-add { opacity: 0; }
	.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
}
.theme-product-card__quick-add:hover { transform: scale(1.08); }

.theme-product-card__info {
	text-align: center;
	margin-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.theme-product-card__title {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 1.375;
	color: var(--color-foreground);
	transition: color 0.3s ease;
	margin: 0;
	min-width: 0;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price {
	font-size: 1rem;
	color: var(--color-foreground);
	font-weight: 400;
	line-height: 1.25;
	margin: 0;
}
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price del { color: var(--color-muted-foreground); margin-right: 0.4rem; }
.theme-product-card__price ins { text-decoration: none; }

/* WooCommerce native loop wrapper compatibility */
ul.products, ul.products li.product { list-style: none; margin: 0; padding: 0; }

/* ==========================================================================
   FAQ section
   ========================================================================== */

.faq-section { background: var(--color-background); }
.faq-section__inner { padding-block: 5rem; }
@media (min-width: 768px) { .faq-section__inner { padding-block: 7rem; } }
.faq-section__header { text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .faq-section__header { margin-bottom: 4rem; } }
.faq-section__heading { font-size: 1.875rem; line-height: 1.02; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.faq-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: 1rem; letter-spacing: 0.06em; transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1.125rem; } }
.faq-item__question:hover span { color: var(--color-marigold); }
.faq-item__question svg { flex-shrink: 0; color: var(--color-marigold); transition: transform 0.3s ease; }
.faq-item__question[aria-expanded="true"] svg { 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.7; overflow-wrap: break-word; }

/* ==========================================================================
   Contact CTA section
   ========================================================================== */

.contact-cta-section { position: relative; background: var(--color-butter); overflow: hidden; }
.contact-cta-section__bg { opacity: 0.8; }
.contact-cta-section__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 70%, transparent), color-mix(in srgb, var(--color-background) 60%, transparent), color-mix(in srgb, var(--color-background) 85%, transparent)); }
.contact-cta-section__inner { position: relative; padding-block: 6rem; }
@media (min-width: 768px) { .contact-cta-section__inner { padding-block: 8rem; } }
.contact-cta-card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-card) 95%, transparent);
	backdrop-filter: blur(4px);
	box-shadow: var(--shadow-elevated);
	padding: 3rem 2rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .contact-cta-card { padding: 4rem 3.5rem; } }
.contact-cta-card__title { font-size: 1.875rem; line-height: 1.15; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-cta-card__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-cta-card__title { font-size: 3rem; } }
.contact-cta-card__text { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 30rem; margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--color-surface-deep); color: var(--color-on-dark); }
.site-footer__main { padding-block: 3.5rem; }
@media (min-width: 1024px) { .site-footer__main { padding-block: 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, 1fr); gap: 3rem; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 1024px) { .site-footer__brand { grid-column: span 4; } }
.site-footer__logo-link .site-logo-wrap { width: 4rem; height: 4rem; }
@media (min-width: 640px) { .site-footer__logo-link .site-logo-wrap { width: 5rem; height: 5rem; } }
.site-footer .site-brand-text { display: flex; }
.site-footer .site-brand-text__name { font-size: 1.5rem; letter-spacing: 0.26em; color: var(--color-on-dark); }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-on-dark) 60%, transparent); margin-top: 0.5rem; }
.site-footer__nav, .site-footer__contact { }
@media (min-width: 1024px) { .site-footer__nav, .site-footer__contact { grid-column: span 4; } }
.site-footer__heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-on-dark) 50%, transparent); margin-bottom: 1.25rem; }
.theme-footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a {
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-on-dark) 75%, transparent);
	transition: color 0.3s ease;
}
.theme-footer-nav-list a:hover { color: var(--color-on-dark); }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-link, .site-footer__contact-line {
	display: flex; align-items: flex-start; gap: 0.5rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-on-dark) 75%, transparent);
	transition: color 0.3s ease;
}
.site-footer__contact-link:hover { color: var(--color-on-dark); }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--color-on-dark) 10%, transparent); }
.site-footer__bottom-inner { padding-block: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; } }
.site-footer__copy, .site-footer__credit { font-size: 12px; color: color-mix(in srgb, var(--color-on-dark) 60%, transparent); letter-spacing: 0.02em; text-align: center; }
@media (min-width: 640px) { .site-footer__copy { text-align: left; } .site-footer__credit { text-align: right; } }
.site-footer__credit a { font-weight: 700; color: color-mix(in srgb, var(--color-on-dark) 90%, transparent); }
.site-footer__credit a:hover { text-decoration: underline; }

/* ==========================================================================
   Contact modal
   ========================================================================== */

.theme-modal {
	position: fixed; inset: 0; z-index: 70;
	display: none;
	align-items: center; justify-content: center;
	padding: 1.5rem;
}
.theme-modal.is-open { display: flex; }
.theme-modal__overlay {
	position: fixed; inset: 0;
	background: rgba(0,0,0,0.8);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.theme-modal.is-open .theme-modal__overlay { opacity: 1; }
.theme-modal__content {
	position: relative;
	background: var(--color-background);
	max-width: 32rem;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 1.75rem;
	box-shadow: var(--shadow-elevated);
	transform: scale(0.95);
	opacity: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.theme-modal.is-open .theme-modal__content { transform: scale(1); opacity: 1; }
.theme-modal__close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; padding: 0.4rem; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { margin-bottom: 1rem; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-modal__description { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-modal__quicklinks { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal__quicklink { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__quicklink:hover { color: var(--color-foreground); }
.theme-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__row { grid-template-columns: 1fr 1fr; } }
.theme-modal__field { margin-bottom: 1rem; }
.theme-modal__field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.theme-modal__field input, .theme-modal__field textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	font-size: 1rem;
	transition: box-shadow 0.3s ease;
}
.theme-modal__field textarea { resize: none; }
.theme-modal__field input:focus, .theme-modal__field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-modal__actions { display: flex; justify-content: flex-end; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 50%; }
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.theme-modal__success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   Cart drawer + overlay
   ========================================================================== */

#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	display: none;
}
body.cart-open #theme-cart-overlay { display: block; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; bottom: 0;
	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__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { 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-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-img { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.theme-cart-drawer__item-img img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.2rem; }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background 0.2s ease; }
.theme-cart-drawer__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-drawer__qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.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: 0.875rem; }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   WooCommerce: add-to-cart button overrides (Section 11.4.1)
   ========================================================================== */

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-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;
}

/* Card compact circular button — overrides global rules (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0 !important;
	border-radius: 50% !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
}

.single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.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; }

/* Scoped WooCommerce notices (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body);
	border-top-color: var(--color-marigold) !important;
	background: var(--color-card);
	padding: 1rem 1.5rem;
	border-radius: 0.25rem;
}

/* ==========================================================================
   Single product page
   ========================================================================== */

.single-product-main { padding-top: 6rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 7rem; } }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; 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 6rem;
	align-items: start;
	min-width: 0;
	width: 100%;
}
@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-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; }
.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.3s ease; }
.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 ease;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info__cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__cat a { color: inherit; }
.product-title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.875rem;
	line-height: 1.1;
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
	text-transform: none;
	letter-spacing: normal;
}
@media (min-width: 768px) { .product-title { font-size: 2.5rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__preview { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-stock-indicator { font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.theme-stock-indicator--out { color: #be2d2d; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-quantity-wrapper button { padding: 0.5rem 0.75rem; transition: background 0.2s ease; }
.theme-quantity-wrapper button:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; text-align: center; border: none; background: transparent;
	font-family: var(--font-body); font-size: 0.875rem; padding: 0.5rem 0;
	-moz-appearance: textfield;
}
.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; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 0; }
@media (min-width: 480px) { .theme-add-to-cart-area .single_add_to_cart_button { min-width: 160px; } }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td,
.variations_form.cart .variations.shop_attributes tbody,
.variations_form.cart .variations tbody tr,
.variations_form.cart .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label,
.variations_form.cart .variations tbody td.label { padding-bottom: 0.5rem; }
.single-product .variations tbody td.value,
.variations_form.cart .variations tbody td.value { padding-top: 0; position: relative; }
.single-product .variations tbody td.label label,
.variations_form.cart .variations tbody td.label label {
	font-family: var(--font-body); font-weight: 600; font-style: normal;
	font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground);
}
.single-product .theme-attr-select-hidden,
.single-product .theme-variation-select-hidden,
.variations_form.cart .theme-attr-select-hidden,
.variations_form.cart .theme-variation-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-variation-pill {
	padding: 0.5rem 1rem;
	font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.theme-variation-pill:hover:not(:disabled) { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-variation-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-variation-pill:disabled { opacity: 0.4; cursor: not-allowed; }
.theme-cart-drawer__item-meta { list-style: none; margin: 0.2rem 0 0; padding: 0; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__item-meta li { margin: 0; }
.theme-cart-drawer__meta-label { font-weight: 600; }

.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__trigger svg { transition: transform 0.3s ease; }
.theme-accordion__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-accordion__panel { overflow: hidden; height: auto; opacity: 1; padding-bottom: 1.5rem; transition: height 0.3s ease, opacity 0.3s ease; }
.theme-accordion__panel p { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__description p { margin-bottom: 1rem; }
.theme-accordion__details ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__details li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.theme-accordion__details li::before {
	content: ''; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 50%;
	margin: 0.5rem 0.75rem 0 0; flex-shrink: 0;
}

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__header { text-align: center; margin-bottom: 3rem; }
.related-products-section__heading-1 { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-section__heading-2 { font-size: 1.875rem; text-transform: none; letter-spacing: normal; font-weight: 400; }
@media (min-width: 768px) { .related-products-section__heading-2 { font-size: 2.25rem; } }

/* ==========================================================================
   Shop archive
   ========================================================================== */

.woo-archive-main { padding-top: 6rem; }
@media (min-width: 1024px) { .woo-archive-main { padding-top: 7rem; } }
.woo-archive__inner { padding-block: 2rem 6rem; }
.woo-archive__header { text-align: center; margin-bottom: 3rem; }
.woo-archive__empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* ==========================================================================
   Checkout (WooCommerce Blocks) — Sections C–H
   ========================================================================== */

body.woocommerce-checkout .theme-checkout-main {
	padding-top: 0;
	padding-bottom: 0;
}

.theme-checkout-shell {
	width: 100%;
	max-width: none;
	padding-inline: 1.5rem;
	padding-block: 0.5rem 4rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 2rem; }
}

.theme-checkout-header {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	margin-bottom: 0;
	box-sizing: border-box;
}

.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	text-decoration: none;
	transition: color 0.2s ease;
}
.checkout-continue-link:hover { color: var(--color-foreground); }

.theme-checkout-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.875rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
}

.theme-checkout-intro {
	margin: 0.75rem 0 0;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-muted-foreground);
	line-height: 1.6;
}

/* Collapse vertical gap between header and checkout block */
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .theme-checkout-main > .container-wide,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content {
	max-width: none;
	width: 100%;
}

body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}

/* D. Root checkout container — 1280px centered, no compression */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout {
	display: block;
	max-width: var(--checkout-max-width);
	width: 100%;
	min-width: 0;
	margin-inline: auto;
	margin-top: 0;
	padding-top: 0;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
	margin-top: 0;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	padding-top: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}

/* G. Notices — aligned to checkout width */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}

/* E. Two-column grid — internal sidebar layout only */
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(320px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}

	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-components-notices,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-notices,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout .wc-block-components-notices {
		grid-column: 1 / -1;
	}

	/* Fallback: main + sidebar as direct children */
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(320px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) > .wc-block-components-notices,
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) > .wc-block-components-notices {
		grid-column: 1 / -1;
	}

	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) > .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) > .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) > .wc-block-checkout__main,
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) > .wc-block-checkout__sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
	}
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	font-family: var(--font-body);
	border-radius: 0.375rem;
}

/* F. Sidebar wrappers transparent; card only on order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 2rem;
	box-sizing: border-box;
}

/* H. Empty checkout cart */
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* Form fields + place order button */
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,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	background: var(--color-card);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	border-color: var(--color-foreground);
	outline: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input input::placeholder {
	color: var(--color-muted-foreground);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-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;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	font-size: var(--btn-font-size) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.85 !important;
}

/* Cart page (unchanged container) */
body.woocommerce-cart .theme-generic-page__inner,
body.woocommerce-account .theme-generic-page__inner { max-width: 84rem; }
body.woocommerce-cart .wc-block-cart { display: block; }

/* ==========================================================================
   Thank you page — Section 22.8
   ========================================================================== */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
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;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 400;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1rem 2rem;
	list-style: none; padding: 0; margin: 1.5rem 0 2.5rem;
	border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
	padding: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { list-style: none; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* ==========================================================================
   Responsive utility overrides
   ========================================================================== */

@media (max-width: 767px) {
	.category-section__grid, .services-section__grid { gap: 1rem; }
}
