/* ==========================================================================
   Earth Frequency — theme.css
   ========================================================================== */

/* ---- Base tokens (non-color; colors are injected via wp_add_inline_style) --- */
:root {
	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Inter', sans-serif;
	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgba(46, 33, 26, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(46, 33, 26, 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 64px;
	--btn-radius: 999px;
	--btn-height: 52px;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--color-button-text: var(--color-primary-foreground);
}

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }

.scroll-mt-anchor { scroll-margin-top: 6rem; }

body.has-site-header {
	padding-top: var(--header-height);
}
body.has-site-header.has-announcement-bar {
	padding-top: calc( var(--header-height) + var(--announcement-height, 36px) );
}

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

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

p { margin: 0; }
ul { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

img:not(.cover-img):not(.hero-section__img):not(.collection-tile__img):not(.service-row__img):not(.gallery-figure__img):not(.cta-band__bg-img):not(.theme-product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-section__img,
.collection-tile__img,
.service-row__img,
.gallery-figure__img,
.cta-band__bg-img,
.theme-product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

.theme-kicker {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-family: var(--font-body);
	margin-bottom: 1rem;
}
.services-section__head .theme-kicker { 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); }

.theme-uppercase-link {
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
	background: none;
	border: none;
	padding: 0;
	color: inherit;
}

.section-heading { font-weight: 400; }

/* ---- Buttons ---- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease;
	text-decoration: none;
}
.theme-btn-primary,
.theme-btn-hero-primary,
.theme-btn-cta-primary {
	background-color: var(--color-foreground);
	color: var(--color-background);
	text-transform: none;
	letter-spacing: 0.02em;
}
.theme-btn-hero-primary,
.theme-btn-cta-primary {
	background-color: var(--color-background);
	color: var(--color-foreground);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	font-family: var(--font-display);
	padding: 0 3rem;
}
.theme-btn-cta-primary {
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.theme-btn:hover { opacity: 0.9; }
.theme-btn-outline {
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	text-transform: none;
	letter-spacing: normal;
	font-family: var(--font-body);
}
.theme-btn-outline:hover { background: var(--color-secondary); }

/* ==========================================================================
   Scroll reveal animation (Section 2.1)
   ========================================================================== */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

html.no-js .reveal-item {
	opacity: 1;
	transform: none;
}

body.is-customizer .reveal-item,
body.is-customizer .reveal-item.is-visible {
	opacity: 1 !important;
	transform: none !important;
}

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

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.4s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.4s var(--transition-smooth) forwards; }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.theme-announcement-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	background-color: var(--color-foreground);
	color: var(--color-background);
	--announcement-height: 36px;
}
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text {
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-family: var(--font-body);
}
.theme-announcement-bar__close {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: currentColor;
	opacity: 0.7;
	padding: 0.25rem;
}
.theme-announcement-bar__close:hover { opacity: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 50;
	background-color: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
body.has-announcement-bar .site-header {
	top: var(--announcement-height, 36px);
}
.site-header.is-scrolled {
	background-color: 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: 64px;
	position: relative;
}
.site-header__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	z-index: 2;
	max-height: var(--header-height);
	overflow: hidden;
	flex-shrink: 0;
}
.site-logo-img { max-height: var(--logo-height, 40px); height: auto; width: auto; object-fit: contain; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; }
.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;
	font-weight: 600;
	letter-spacing: -0.01em;
}
@media (min-width: 768px) {
	.site-header__brand-name { font-size: 1.25rem; }
}
.site-header__tagline {
	font-size: 10px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	margin-top: 0.25rem;
}
.site-header__nav-links {
	display: none;
}
@media (min-width: 1024px) {
	.site-header__nav-links {
		display: flex;
		align-items: center;
		gap: 2rem;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-link {
	font-size: 12px;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	cursor: pointer;
	background: none;
	border: none;
	transition: color 0.3s;
}
.site-header__actions { display: flex; align-items: center; gap: 0.5rem; z-index: 2; }
.site-header__icon-btn {
	position: relative;
	background: none;
	border: none;
	padding: 0.5rem;
	color: var(--color-foreground);
	display: inline-flex;
	transition: opacity 0.2s;
}
.site-header__icon-btn:hover { opacity: 0.6; }
.theme-shop-link.site-header__icon-btn { display: none; }
@media (min-width: 768px) {
	.theme-shop-link.site-header__icon-btn { display: inline-flex; }
}
.theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 20px;
	height: 20px;
	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: 50%;
}
.theme-cart-count:empty { display: none; }
.site-header__menu-toggle { display: inline-flex; }
@media (min-width: 1024px) {
	.site-header__menu-toggle { display: none; }
}
.icon-close { display: none; }
.site-header__menu-toggle.is-open .icon-menu { display: none; }
.site-header__menu-toggle.is-open .icon-close { display: block; }

.site-header__mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	padding: 1rem 0;
}
.site-header__mobile-menu.is-open { display: block; }
.site-header__mobile-menu .theme-nav-list,
.theme-nav-list--mobile {
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
.theme-nav-list--mobile .theme-nav-link {
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	padding: 0.5rem 0;
}
@media (min-width: 1024px) {
	.site-header__mobile-menu { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section__media { position: relative; }
.hero-section {
	background-color: 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 bottom, color-mix(in srgb, var(--color-foreground) 30%, transparent), color-mix(in srgb, var(--color-foreground) 50%, transparent), color-mix(in srgb, var(--color-foreground) 70%, transparent));
}
.hero-section__inner {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-section__content { max-width: 48rem; text-align: center; padding: 0 1.5rem; }
.hero-section__title {
	font-weight: 400;
	font-size: 3rem;
	line-height: 1.05;
	color: var(--color-background);
	margin-bottom: 1.5rem;
	max-width: 42rem;
	margin-inline: auto;
}
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 2.5rem;
	max-width: 36rem;
	margin-inline: auto;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }

/* ==========================================================================
   Generic section paddings
   ========================================================================== */
.collections-section,
.featured-section,
.faq-section,
.shop-section {
	background-color: var(--color-background);
	border-top: 1px solid var(--color-border);
}
.collections-section > .container-wide,
.featured-section > .container-wide,
.faq-section > .container-wide,
.shop-section > .container-wide {
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.collections-section > .container-wide,
	.faq-section > .container-wide { padding-top: 7rem; padding-bottom: 7rem; }
	.featured-section > .container-wide,
	.shop-section > .container-wide { padding-top: 6rem; padding-bottom: 6rem; }
}

/* ==========================================================================
   Collections
   ========================================================================== */
.collections-section__head { text-align: center; margin-bottom: 2.5rem; }
.collections-section__title { font-size: 1.875rem; }
@media (min-width: 768px) { .collections-section__title { font-size: 2.25rem; } }
.collections-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 768px) {
	.collections-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
.collection-tile {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: none;
	padding: 0;
	background: none;
	display: block;
	width: 100%;
	text-align: left;
}
.collection-tile__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: background 0.5s;
}
.collection-tile:hover .collection-tile__img { transform: scale(1.05); }
.collection-tile__img { transition: transform 0.7s var(--transition-smooth); }
.collection-tile__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
	color: var(--color-background);
	text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.collection-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;
	filter: brightness(1.5);
}
.collection-tile__tagline--rosa { color: var(--color-rosa); }
.collection-tile__tagline--marigold { color: var(--color-marigold); }
.collection-tile__tagline--teal { color: var(--color-teal); }
.collection-tile__tagline-bar { width: 1.5rem; height: 1px; background: currentColor; }
.collection-tile__label { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .collection-tile__label { font-size: 1.875rem; } }
.collection-tile__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
}

/* ==========================================================================
   Product cards (shared — Section 31.13)
   ========================================================================== */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.featured-section__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 768px) { .featured-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.theme-product-card-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.theme-product-card-wrap.is-filtered-out { display: none; }
.theme-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
}
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background-color: var(--color-secondary);
	margin-bottom: 1.25rem;
}
.theme-product-card:hover .theme-product-card-img { transform: scale(1.04); }
.theme-product-card-img { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card__coming-soon-overlay {
	position: absolute;
	inset: 0;
	background-color: color-mix(in srgb, var(--color-background) 80%, transparent);
	backdrop-filter: blur(2px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
}
.theme-product-card__coming-soon-badge {
	padding: 0.5rem 1.25rem;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	background: var(--color-foreground);
	color: var(--color-background);
	border-radius: 999px;
}
.theme-product-card__soldout-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 4;
	padding: 0.25rem 0.75rem;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	background: var(--color-foreground);
	color: var(--color-background);
	border-radius: 999px;
}
.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-card__title {
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 1.4;
	transition: color 0.3s;
}
.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; 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__coming-soon-text {
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
}
.featured-section__head, .featured-section__footer { text-align: center; }
.featured-section__head { margin-bottom: 3.5rem; }
.featured-section__title { font-size: 1.875rem; line-height: 1.3; }
@media (min-width: 768px) { .featured-section__title { font-size: 3rem; } }
.featured-section__footer { margin-top: 3.5rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about-section {
	background-color: var(--color-background);
	border-top: 1px solid var(--color-border);
	padding: 5rem 1.5rem;
}
@media (min-width: 768px) { .about-section { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .about-section { padding: 7rem 5rem; } }
.about-section__content { max-width: 56rem; margin: 0 auto; text-align: center; }
.about-section__title { font-size: 1.875rem; line-height: 1.3; margin-bottom: 2rem; font-weight: 600; }
@media (min-width: 768px) { .about-section__title { font-size: 2.25rem; } }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.about-section__paragraph-2 { margin-bottom: 2.5rem; }
.about-section__button { font-family: var(--font-display); font-weight: 500; background: none; border: none; padding: 0; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section { background-color: var(--color-butter); border-top: 1px solid var(--color-border); }
.services-section__head { padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .services-section__head { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .services-section__head { padding: 7rem 5rem; } }
.services-section__title { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 0; }
@media (min-width: 768px) { .services-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-section__title { font-size: 4.5rem; } }
.services-section { padding-bottom: 0; }
.service-row {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
}
@media (min-width: 1024px) { .service-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-row__media { position: relative; min-height: 360px; }
@media (min-width: 768px) { .service-row__media { min-height: 500px; } }
@media (min-width: 1024px) { .service-row__media { min-height: 560px; } }
.service-row__media--order-1 { order: 1; }
.service-row__media--order-2 { order: 1; }
@media (min-width: 1024px) {
	.service-row__media--order-1 { order: 1; }
	.service-row__media--order-2 { order: 2; }
}
.service-row__numeral {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	font-family: var(--font-display);
	font-size: 0.875rem;
	letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(2px);
}
.service-row__numeral--rosa { color: var(--color-rosa); }
.service-row__numeral--marigold { color: var(--color-marigold); }
.service-row__numeral--teal { color: var(--color-teal); }
.service-row__content {
	display: flex;
	align-items: center;
	background-color: var(--color-butter);
	padding: 4rem 1.5rem;
}
@media (min-width: 768px) { .service-row__content { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .service-row__content { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .service-row__content { padding: 6rem 6rem; } }
.service-row__content--order-1 { order: 2; }
.service-row__content--order-2 { order: 2; }
@media (min-width: 1024px) {
	.service-row__content--order-1 { order: 1; }
	.service-row__content--order-2 { order: 2; }
}
.service-row__content-inner { max-width: 36rem; }
.service-row__badge-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.service-row__icon-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
}
.service-row__icon-badge--rosa { border-color: color-mix(in srgb, var(--color-rosa) 40%, transparent); }
.service-row__icon-badge--marigold { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.service-row__icon-badge--teal { border-color: color-mix(in srgb, var(--color-teal) 40%, transparent); }
.service-row__icon-badge--text-rosa { color: var(--color-rosa); }
.service-row__icon-badge--text-marigold { color: var(--color-marigold); }
.service-row__icon-badge--text-teal { color: var(--color-teal); }
.service-row__kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--font-body); }
.service-row__kicker.service-row__kicker--rosa { color: var(--color-rosa); }
.service-row__kicker--marigold { color: var(--color-marigold); }
.service-row__kicker--teal { color: var(--color-teal); }
.service-row__title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .service-row__title { font-size: 3rem; } }
@media (min-width: 1024px) { .service-row__title { font-size: 3.75rem; } }
.service-row__desc { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .service-row__desc { font-size: 1.125rem; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section__head { text-align: center; margin-bottom: 3.5rem; max-width: 42rem; margin-inline: auto; }
.faq-section__title { font-size: 1.875rem; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 1rem; }
@media (min-width: 768px) { .faq-section__title { font-size: 3rem; } }
.faq-section__subtext { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.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.5rem 0;
	text-align: left;
	background: none;
	border: none;
}
.faq-item__q-text { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1.25rem; } }
.faq-item__chevron { flex-shrink: 0; color: var(--color-muted-foreground); transition: transform 0.3s; }
.faq-item__question[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); color: var(--color-primary); }
.faq-item__answer-wrap { overflow: hidden; transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.faq-item__answer { padding-bottom: 1.5rem; padding-right: 2.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; font-size: 15px; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section { background-color: var(--color-background); border-top: 1px solid var(--color-border); padding: 5rem 0; }
@media (min-width: 768px) { .gallery-section { padding: 7rem 0; } }
.gallery-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .gallery-section__head { margin-bottom: 3.5rem; } }
.gallery-section__title { font-size: 1.875rem; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .gallery-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-section__title { font-size: 3.75rem; } }
.gallery-section__track-wrap { overflow: hidden; }
.gallery-section__track {
	display: flex;
	gap: 1rem;
	overflow-x: hidden;
	padding-bottom: 0.5rem;
	padding-inline: 1.5rem;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) { .gallery-section__track { gap: 1.5rem; padding-inline: 3rem; } }
@media (min-width: 1024px) { .gallery-section__track { padding-inline: 4rem; } }
.gallery-section__track::-webkit-scrollbar { display: none; }
.gallery-figure { flex-shrink: 0; width: 78%; }
@media (min-width: 640px) { .gallery-figure { width: 55%; } }
@media (min-width: 768px) { .gallery-figure { width: 40%; } }
@media (min-width: 1024px) { .gallery-figure { width: 30%; } }
@media (min-width: 1280px) { .gallery-figure { width: 26%; } }
.gallery-figure__frame { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery-figure__frame:hover .gallery-figure__img { transform: scale(1.04); }
.gallery-figure__img { transition: transform 0.9s var(--transition-smooth); }
.gallery-section__controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.gallery-nav-btn {
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	background: none;
	transition: color 0.3s, border-color 0.3s;
}
.gallery-nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop-section__head { 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-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;
	font-family: var(--font-body);
	color: var(--color-foreground);
	outline: none;
	transition: border-color 0.3s;
}
.shop-section__search-input:focus { border-color: var(--color-foreground); }
.shop-section__search-input::placeholder { color: var(--color-muted-foreground); }
.shop-section__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s;
}
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.shop-section__see-more, .shop-section__empty { text-align: center; margin-top: 3rem; }
.shop-section__empty p { color: var(--color-muted-foreground); font-family: var(--font-body); }

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background-color: var(--color-butter); border-top: 1px solid var(--color-border); }
.cta-band__bg-img { opacity: 0.4; }
.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: color-mix(in srgb, var(--color-background) 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) { .cta-band__card { padding: 4rem 3.5rem; } }
.cta-band__title { font-size: 1.875rem; line-height: 1.3; margin-bottom: 1.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }
.cta-band__text { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-inline: auto; }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background-color: var(--color-butter); }
.site-footer .container-wide {
	padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
	.site-footer .container-wide { padding-inline: 2rem; }
}
.site-footer__row {
	padding-block: 3rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
@media (min-width: 768px) { .site-footer__row { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__logo-img { height: 3.5rem; width: 3.5rem; object-fit: contain; }
.site-footer__brand-text { display: flex; flex-direction: column; line-height: 1; }
.site-footer__nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem 1.75rem; }
.theme-nav-list--footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-nav-list--footer .theme-nav-link {
	font-size: 12px;
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: 0.22em;
	color: var(--color-muted-foreground);
}
.theme-nav-list--footer .theme-nav-link:hover { color: var(--color-foreground); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	transition: color 0.3s;
}
a.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__bottom {
	padding-block: 1.5rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__quote { font-size: 12px; color: var(--color-muted-foreground); font-family: var(--font-display); font-style: italic; letter-spacing: 0.02em; }
.site-footer__copyright { font-size: 12px; color: var(--color-muted-foreground); font-family: var(--font-body); letter-spacing: 0.02em; }

/* ==========================================================================
   Contact modal (Section 9)
   ========================================================================== */
.theme-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.theme-modal.is-open { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); animation: fadeIn 0.2s var(--transition-smooth); }
.theme-modal__content {
	position: relative;
	z-index: 1;
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	margin: 0;
	width: 100%;
	background-color: var(--color-background);
	padding: 1.5rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow-elevated);
	animation: slideUp 0.25s var(--transition-smooth);
}
body.contact-modal-open { overflow: hidden; }
.theme-modal__close {
	position: absolute;
	right: 1rem;
	top: 1rem;
	background: none;
	border: none;
	opacity: 0.7;
	color: var(--color-foreground);
}
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { margin-bottom: 1rem; }
.theme-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__description { color: var(--color-muted-foreground); font-size: 0.9rem; line-height: 1.5; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-modal__contact-link { display: flex; align-items: center; gap: 0.5rem; }
a.theme-modal__contact-link:hover { color: var(--color-foreground); }
.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-modal__field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-modal__field input, .theme-modal__field textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-size: 1rem;
	font-family: var(--font-body);
	color: var(--color-foreground);
	transition: box-shadow 0.3s;
}
.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-ring) 50%, transparent);
}
.theme-modal__form-actions { display: flex; justify-content: flex-end; }
.theme-modal__form-error { color: var(--color-destructive); font-size: 0.875rem; }
.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);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
}
.theme-modal__success-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success-text { color: var(--color-muted-foreground); font-size: 0.9rem; }

/* ==========================================================================
   Side Cart drawer
   ========================================================================== */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 90;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed;
	right: 0;
	top: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background-color: var(--color-background);
	z-index: 91;
	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-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { background: none; border: none; padding: 0.25rem; opacity: 0.7; }
.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-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { 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-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background-color: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img { width: 100% !important; height: 100% !important; object-fit: cover !important; max-width: none !important; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__meta { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { background: none; border: none; padding: 0.25rem; border-radius: 4px; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); background: none; border: none; }
.theme-cart-item__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__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* ==========================================================================
   Single product page
   ========================================================================== */
.single-product-page { padding-top: 6rem; padding-bottom: 4rem; background-color: var(--color-background); }
.single-product-page__breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.single-product-page__breadcrumb a:hover { color: var(--color-foreground); }
.single-product-page__breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product-page__breadcrumb-current { color: var(--color-foreground); }
.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding: 1rem 0 4rem;
	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__desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery__mobile { display: none; }
	.theme-product-gallery__desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background-color: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; padding-bottom: 0.25rem; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background-color: var(--color-secondary); border: none; padding: 0; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.3s; }
.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.3s; }
.theme-product-thumb.is-active::after { opacity: 1; }
.theme-product-gallery__desktop-frame { position: relative; aspect-ratio: 1/1; background-color: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__desktop-frame img { width: 100%; height: 100%; object-fit: cover; }

.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-product-info__title,
.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;
}
@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, .theme-product-info__coming-soon { font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-info__coming-soon { font-size: 0.875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__stock--out { color: var(--color-destructive); font-size: 0.875rem; margin-bottom: 1rem; font-weight: 500; }
.theme-product-info__excerpt { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-product-info__size-block { margin-bottom: 1.5rem; }
.theme-size-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-pill {
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.2s;
}
.theme-size-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-size-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	min-width: 2.5rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--color-border);
	border-radius: 9999px;
	background: transparent;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--color-foreground);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.theme-variation-pill:hover:not(.is-disabled) { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-variation-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-variation-pill.is-disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.theme-product-info__qty-block { margin-bottom: 1rem; }
.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; background: none; border: none; transition: background 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem;
	text-align: center;
	border: none;
	background: none;
	font-family: var(--font-body);
	font-size: 0.875rem;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.75rem;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-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; background: none; border: none; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.theme-accordion__chevron { transition: transform 0.3s; }
.theme-accordion__chevron--open { transform: rotate(180deg); }
.theme-accordion__panel { overflow: hidden; height: auto; transition: height 0.3s var(--transition-smooth); }
.theme-accordion__panel-inner { padding-bottom: 1.5rem; font-family: var(--font-body); color: var(--color-muted-foreground); line-height: 1.7; font-size: 15px; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__panel-inner p { margin-bottom: 0.75rem; }
.theme-accordion__panel-inner ul { list-style: none; padding: 0; margin-top: 1rem; }
.theme-accordion__panel-inner li { position: relative; padding-left: 1.25rem; margin-bottom: 0.5rem; }
.theme-accordion__panel-inner li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 50%; }

.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__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-section__title { font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }
.related-products-section__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ==========================================================================
   WooCommerce global overrides (Section 14)
   ========================================================================== */
.woocommerce-breadcrumb { display: none; }

.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.woocommerce-error {
	background: color-mix(in srgb, var(--color-destructive) 10%, var(--color-background));
	color: var(--color-destructive);
	border-radius: 6px;
	padding: 1rem 1.25rem;
	font-family: var(--font-body);
	list-style: none;
	margin-bottom: 1.5rem;
}

.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-foreground) !important;
	color: var(--color-background) !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;
	width: 100%;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.9 !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !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-foreground) !important;
}
.single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

.theme-add-to-cart-area--variable .variations { margin-bottom: 1.5rem; }
.theme-add-to-cart-area--variable .variations .label label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}
.theme-add-to-cart-area--variable .woocommerce-variation-add-to-cart {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.theme-add-to-cart-area--variable .woocommerce-variation-add-to-cart .quantity,
.theme-add-to-cart-area--variable .woocommerce-variation-add-to-cart input.qty:not(.theme-qty-input) {
	display: none !important;
}
.theme-add-to-cart-area--variable .theme-product-info__qty-block--variable,
.theme-add-to-cart-area--variable .theme-product-info__qty-block--in-form {
	margin-bottom: 1rem;
}
.theme-add-to-cart-area--variable .variations_form .theme-quantity-wrapper {
	margin-bottom: 0.5rem;
}

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.single-product .reset_variations { display: none !important; }
.single-product .woocommerce-variation-price { margin-bottom: 1rem; }

/* ==========================================================================
   Shop archive
   ========================================================================== */
.shop-archive { padding-top: 6rem; padding-bottom: 4rem; }
.shop-archive__title { font-size: 2.25rem; margin-bottom: 2rem; font-weight: 400; }
.shop-archive__pagination { margin-top: 3rem; text-align: center; }
.shop-archive__empty { color: var(--color-muted-foreground); text-align: center; padding: 3rem 0; }

/* ==========================================================================
   Generic page / 404
   ========================================================================== */
.generic-page { padding-top: 6rem; padding-bottom: 4rem; min-height: 50vh; }
.page-title { font-size: 2rem; font-weight: 400; margin-bottom: 1.5rem; }
.not-found-page { min-height: 70vh; display: flex; align-items: center; }
.not-found-page__inner { text-align: center; padding: 4rem 0; }
.not-found-page__title { font-size: 2.5rem; margin-bottom: 1rem; }
.not-found-page__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* Home page: header offset handled via body.has-site-header padding-top. */
body.theme-no-hero .site-main { padding-top: 0; }

/* ==========================================================================
   Checkout Block (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: 2rem; padding-bottom: 4rem; }
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: 2rem;
		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 {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border-color: var(--color-border) !important;
	border-radius: 6px !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	box-shadow: 0 0 0 1px var(--color-ring) !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 6px;
	font-family: var(--font-body);
}
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	border-color: var(--color-border);
	border-radius: 6px;
}

/* ==========================================================================
   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-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 0;
	margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	border: none;
	padding: 0;
}
body.theme-thankyou-page h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
	font-weight: 400;
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; margin-top: 1rem; }
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; }
