/* ==========================================================================
   Cozy Creek Body Care — theme stylesheet
   Built by The Free Website Guys
   ========================================================================== */

/* -----------------------------------------------------------------------
   1. TOKENS (non-color; colors are injected inline via wp_add_inline_style)
   ----------------------------------------------------------------------- */
:root {
	--font-display: 'Fraunces', serif;
	--font-body: 'Inter', sans-serif;
	--radius: 0.75rem;
	--shadow-elevated: 0 12px 40px -12px rgba(40, 30, 20, 0.18);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 81px;
	--header-height-mobile: 73px;
	--admin-bar-offset: 0px;

	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 0.7rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
}

/* -----------------------------------------------------------------------
   2. RESET / BASE
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
	line-height: 1.2;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
a,
button,
[role="button"],
[type="button"],
[type="submit"],
[type="reset"],
label[for],
select,
summary,
.category-tile,
.shop-cat-btn,
.shop-price-filter__toggle,
.faq-tab,
.faq-item__question,
.testimonial-carousel__arrow,
.testimonial-carousel__dot,
.theme-cat-link,
.theme-section-link,
.theme-nav-link,
.theme-product-card,
.theme-product-card a,
.theme-product-card button,
[data-contact-open],
[data-cart-open],
[data-contact-close],
[data-cart-close],
.site-logo-link,
.theme-cart-item__remove,
.theme-cart-qty button,
.service-card__cta,
.featured-section__cta a,
.back-to-shop-link {
	cursor: pointer;
}
ul { margin: 0; padding: 0; list-style: none; }

img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card__img):not(.product-main-img):not(.theme-cart-item__img) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-bg-img, .theme-product-card__img, .product-main-img, .theme-cart-item__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

/* -----------------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   ----------------------------------------------------------------------- */
.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: 0.75rem;
}
.section-heading {
	font-family: var(--font-display);
	font-weight: 400;
	color: var(--color-foreground);
}
.about-section .section-heading { font-size: 1.875rem; line-height: 1.05; }
.categories-section .section-heading { font-size: 1.875rem; line-height: 1.05; }
.services-section .section-heading,
.faq-section .section-heading,
.testimonials-section .section-heading { font-size: 1.875rem; line-height: 1.05; }
.shop-heading, .featured-section__heading { font-size: 1.875rem; }
.cta-band__title { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) {
	.about-section .section-heading { font-size: 3rem; }
	.categories-section .section-heading { font-size: 2.25rem; }
	.services-section .section-heading,
	.faq-section .section-heading,
	.testimonials-section .section-heading { font-size: 3rem; }
	.shop-heading, .featured-section__heading { font-size: 3rem; }
	.cta-band__title { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.about-section .section-heading { font-size: 3rem; }
	.categories-section .section-heading { font-size: 3rem; }
	.services-section .section-heading { font-size: 3.75rem; }
	.faq-section .section-heading,
	.testimonials-section .section-heading { font-size: 3.75rem; }
	.cta-band__title { font-size: 3.75rem; }
}
.cta-band__title em { font-style: italic; color: var(--color-primary); }

/* -----------------------------------------------------------------------
   4. BUTTONS
   ----------------------------------------------------------------------- */
.theme-btn-primary, .theme-btn-outline, .theme-btn-ghost,
.theme-btn-hero-primary, .theme-btn-hero-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	padding: 0.9rem 2rem;
	border: none;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}
.theme-btn-primary {
	background-color: var(--color-foreground);
	color: var(--color-background);
	text-transform: uppercase;
}
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline {
	background: transparent;
	border: 1px solid var(--color-primary);
	color: var(--color-primary);
	text-transform: uppercase;
}
.theme-btn-outline:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-ghost {
	background-color: color-mix(in srgb, var(--color-background) 70%, transparent);
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	text-transform: none;
	letter-spacing: normal;
	font-size: 0.875rem;
}
.theme-btn-ghost:hover { background-color: var(--color-background); }
.theme-btn-block { width: 100%; }

.theme-btn-hero-primary {
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 0.68rem;
	box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--color-accent) 40%, transparent);
}
.theme-btn-hero-primary:hover { background-color: color-mix(in srgb, var(--color-accent) 90%, black); }
.theme-btn-hero-outline {
	background: transparent;
	border: 1px solid color-mix(in srgb, #fff 80%, transparent);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 0.68rem;
	padding: 0.9rem 1.75rem;
}
.theme-btn-hero-outline:hover { background-color: color-mix(in srgb, #fff 10%, transparent); border-color: #fff; }
.theme-bounce-arrow { display: inline-flex; animation: theme-bounce-y 1.6s ease-in-out infinite; }
@keyframes theme-bounce-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

.theme-pill {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	padding: 0.35rem 1rem;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-weight: 600;
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	color: var(--color-primary);
	background-color: color-mix(in srgb, var(--color-primary) 5%, transparent);
}

/* -----------------------------------------------------------------------
   5. ANIMATIONS / SCROLL REVEAL (Section 2.1)
   ----------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
body.is-customizer .theme-shop-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
	.theme-bounce-arrow { animation: none; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
.theme-fade-in { animation: theme-fade-in 0.4s var(--transition-smooth) forwards; }

.shimmer-loading {
	background: linear-gradient(90deg, var(--color-muted) 0%, var(--color-secondary) 50%, var(--color-muted) 100%);
	background-size: 200% 100%;
	animation: theme-shimmer 1.6s ease-in-out infinite;
}
@keyframes theme-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* -----------------------------------------------------------------------
   6. SITE HEADER
   ----------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: var(--admin-bar-offset);
	left: 0; right: 0;
	z-index: 50;
	width: 100%;
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(10px);
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	padding: 0.5rem 0;
}
body.admin-bar {
	--admin-bar-offset: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--admin-bar-offset: 46px;
	}
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
@media (min-width: 768px) { .site-nav { height: 4rem; } }
.site-nav__side { display: none; align-items: center; gap: 2.5rem; flex: 1; }
.site-nav__side--left { justify-content: flex-start; }
.site-nav__side--right { justify-content: flex-end; }
@media (min-width: 1024px) { .site-nav__side { display: flex; } }

.theme-nav-list { display: flex; align-items: center; gap: 2.5rem; }
.theme-nav-link {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	transition: color 0.2s ease;
	background: none; border: none; padding: 0;
}
.theme-nav-link:hover { color: var(--color-primary); }

.site-logo-link { display: none; align-items: center; justify-content: center; flex-shrink: 0; margin: 0 1rem; }
@media (min-width: 1024px) { .site-logo-link { display: flex; } }
.site-logo-img { height: var(--logo-height, 60px) !important; width: auto !important; display: block; object-fit: contain; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; display: block; }

.theme-cart-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem; height: 2.25rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	background: transparent;
	color: var(--color-foreground);
	transition: border-color 0.2s ease, color 0.2s ease;
}
.theme-cart-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cart-count {
	position: absolute;
	top: -6px; right: -6px;
	font-size: 10px;
	font-weight: 600;
	border-radius: 9999px;
	min-width: 18px; height: 18px;
	display: flex; align-items: center; justify-content: center;
	padding: 0 4px;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.theme-cart-count:empty { display: none; }

.site-nav__mobile { display: flex; align-items: center; justify-content: space-between; width: 100%; }
@media (min-width: 1024px) { .site-nav__mobile { display: none; } }
.site-nav__mobile .site-logo-link { display: flex; margin: 0; }
.site-nav__mobile .site-logo-img { height: 3.5rem !important; }
.site-nav__mobile-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-mobile-menu-toggle { background: none; border: none; padding: 0.5rem; color: var(--color-foreground); }
.icon-menu-close { display: none; }
.theme-mobile-menu-toggle.is-open .icon-menu-open { display: none; }
.theme-mobile-menu-toggle.is-open .icon-menu-close { display: block; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; }
.theme-mobile-menu .theme-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.theme-mobile-menu .theme-nav-link {
	text-align: left; padding: 0.75rem 0; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	font-size: 14px; display: block; width: 100%;
}

.site-content-offset { padding-top: var(--header-height-mobile); }
@media (min-width: 768px) { .site-content-offset { padding-top: var(--header-height); } }
body.admin-bar .site-content-offset {
	padding-top: calc(var(--header-height-mobile) + var(--admin-bar-offset));
}
@media (min-width: 768px) {
	body.admin-bar .site-content-offset {
		padding-top: calc(var(--header-height) + var(--admin-bar-offset));
	}
}

/* -----------------------------------------------------------------------
   7. HERO
   ----------------------------------------------------------------------- */
.hero-section__media {
	position: relative;
	width: 100%;
	height: calc(100dvh - 73px);
	min-height: 560px;
	overflow: hidden;
	background-color: var(--color-primary);
}
@media (min-width: 768px) { .hero-section__media { height: calc(100dvh - 81px); } }
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 50%, transparent) 0%, color-mix(in srgb, var(--color-foreground) 35%, transparent) 45%, color-mix(in srgb, var(--color-foreground) 70%, transparent) 100%);
}
.hero-section__content {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: center;
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}
.hero-section__kicker {
	display: block;
	font-size: 12px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: #fff;
	font-weight: 600;
	margin-bottom: 1.5rem;
}
.hero-section__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	color: #fff;
	line-height: 0.98;
	letter-spacing: -0.015em;
	font-size: clamp(2.75rem, 8vw, 6.5rem);
	max-width: 60rem;
}
.hero-section__subtitle {
	margin-top: 1.5rem;
	max-width: 36rem;
	color: color-mix(in srgb, #fff 85%, transparent);
	font-size: 1rem;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }
.hero-section__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; } }

/* -----------------------------------------------------------------------
   8. CATEGORY TILES
   ----------------------------------------------------------------------- */
.categories-section { background-color: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .categories-section { padding: 5rem 0; } }
.categories-section__head { text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .categories-section__head { margin-bottom: 4rem; } }
.categories-section__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	max-width: 56rem;
	margin: 0 auto;
}
@media (min-width: 768px) { .categories-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.category-tile {
	background: none; border: none; padding: 0;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	cursor: pointer;
}
.category-tile__icon-wrap {
	margin-bottom: 1.25rem;
	width: 7rem;
	height: 7rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	transition: transform 0.3s ease;
	border: 2px solid transparent;
}
@media (min-width: 768px) {
	.category-tile__icon-wrap {
		width: 10rem;
		height: 10rem;
		margin-bottom: 1.5rem;
	}
}
.category-tile__icon {
	width: 3rem !important;
	height: 3rem !important;
	flex-shrink: 0;
}
@media (min-width: 768px) {
	.category-tile__icon {
		width: 4rem !important;
		height: 4rem !important;
	}
}
.category-tile:hover .category-tile__icon-wrap { transform: scale(1.05); }
.category-tile--tone-0 .category-tile__icon-wrap { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.category-tile--tone-1 .category-tile__icon-wrap { background-color: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); border-color: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.category-tile--tone-2 .category-tile__icon-wrap { background-color: color-mix(in srgb, var(--color-teal) 10%, transparent); color: var(--color-teal); border-color: color-mix(in srgb, var(--color-teal) 30%, transparent); }
.category-tile__label {
	font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.25rem; display: block;
}
.category-tile--tone-0 .category-tile__label { color: var(--color-primary); }
.category-tile--tone-1 .category-tile__label { color: var(--color-accent); }
.category-tile--tone-2 .category-tile__label { color: var(--color-teal); }
.category-tile__title { font-family: var(--font-display); font-size: 1rem; color: var(--color-foreground); }
@media (min-width: 768px) { .category-tile__title { font-size: 1.125rem; } }

/* -----------------------------------------------------------------------
   9. FEATURED / SHOP PRODUCT GRID
   ----------------------------------------------------------------------- */
.featured-section, .shop-section { background-color: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .featured-section { padding: 6rem 0; } .shop-section { padding: 6rem 0; } }
.featured-section__head { text-align: center; margin-bottom: 3.5rem; }
.featured-section__grid { max-width: 56rem; margin: 0 auto 3.5rem; }
.featured-section__cta { text-align: center; }

.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; } }
.featured-section__grid.theme-product-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .featured-section__grid.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; } }

.theme-product-card-wrap { height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: var(--color-card);
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.25rem;
	z-index: 2;
	pointer-events: none;
}
.theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__img { transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1); }

.theme-product-badge {
	position: absolute; top: 1rem; left: 1rem; z-index: 4;
	padding: 0.25rem 0.75rem; border-radius: 0.375rem;
	font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
}
.theme-product-badge--stock { background-color: var(--color-foreground); color: var(--color-background); }

.theme-product-card__add {
	position: absolute;
	z-index: 3;
	pointer-events: auto;
	left: 1rem; right: 1rem; bottom: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 9999px;
	background-color: var(--color-teal);
	color: var(--color-background);
	border: 1px solid var(--color-teal);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	text-align: center;
	opacity: 0; transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-product-card:hover .theme-product-card__add,
.theme-product-card:focus-within .theme-product-card__add { opacity: 1; transform: translateY(0); }
.theme-product-card__add:hover { background-color: var(--color-background); color: var(--color-teal); }

.theme-product-card__info {
	position: relative;
	z-index: 0;
	padding: 0 0.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	min-width: 0;
}
.theme-product-card__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-card__name {
	font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.3; color: var(--color-foreground);
	transition: color 0.3s ease;
	overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 768px) { .theme-product-card__name { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }

.shop-section__head { text-align: center; margin-bottom: 3rem; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { 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-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
	transition: border-color 0.2s ease;
}
.shop-search__input:focus { outline: none; border-color: var(--color-foreground); }

.shop-cats { display: flex; gap: 0.5rem; overflow-x: auto; margin-bottom: 1rem; padding-bottom: 0.25rem; justify-content: flex-start; }
.shop-cats::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .shop-cats { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.shop-cat-btn {
	flex-shrink: 0;
	padding: 0.5rem 1.25rem;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	border-radius: 9999px; border: 1px solid var(--color-border);
	background: transparent; color: var(--color-foreground);
	transition: all 0.3s ease;
}
.shop-cat-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-btn.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.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;
	background: none; border: none;
	padding: 0.5rem 1rem;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground);
	transition: color 0.3s ease;
}
.shop-price-filter__toggle:hover { color: var(--color-foreground); }
.shop-price-filter__chevron { transition: transform 0.3s ease; }
.shop-price-filter__toggle.is-open .shop-price-filter__chevron { transform: rotate(180deg); }
.shop-price-filter__panel { width: 100%; max-width: 24rem; padding: 0.5rem 0; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
	-webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto;
	width: 18px; height: 18px; border-radius: 9999px;
	background: var(--color-background); border: 2px solid var(--color-primary);
	cursor: pointer; margin-top: 0;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 18px; height: 18px; border-radius: 9999px;
	background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); }

.shop-note { text-align: center; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.theme-shop-item[hidden] { display: none; }
.shop-section__more { text-align: center; margin-top: 3rem; }
.shop-section__more[hidden] { display: none; }
.shop-section__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* -----------------------------------------------------------------------
   10. ABOUT SECTION
   ----------------------------------------------------------------------- */
.about-section { background-color: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .about-section { padding: 7rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-section__media { position: relative; border-radius: 1rem; overflow: hidden; min-height: 20rem; }
.about-section__copy { display: flex; flex-direction: column; justify-content: center; }
.about-section__heading { margin-bottom: 1.5rem; color: var(--color-foreground); }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .about-section__paragraph { font-size: 1.125rem; } }
.about-section__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.about-section__footnote { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 0.875rem; line-height: 1.7; max-width: 28rem; }
.theme-parallax-image { width: 100%; height: 100%; min-height: 20rem; position: relative; overflow: hidden; border-radius: 1rem; }

/* -----------------------------------------------------------------------
   11. SERVICES
   ----------------------------------------------------------------------- */
.services-section { background-color: var(--color-secondary); padding: 5rem 0; }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }
.services-section__head { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
@media (min-width: 768px) { .services-section__head { margin-bottom: 5rem; } }
.services-section__subtitle { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 1rem; line-height: 1.7; max-width: 36rem; margin: 0 auto; }
@media (min-width: 768px) { .services-section__subtitle { font-size: 1.125rem; } }
.services-section__grid {
	display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto;
}
@media (min-width: 640px) { .services-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.service-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	border-radius: 1rem; background-color: var(--color-background); border: 1px solid var(--color-border);
	padding: 2rem; transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.3s ease;
}
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.service-card--tone-0:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.service-card--tone-1:hover { border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); }
.service-card--tone-2:hover { border-color: color-mix(in srgb, var(--color-teal) 50%, transparent); }
.service-card--tone-3:hover { border-color: color-mix(in srgb, var(--color-nopal, var(--color-primary)) 50%, transparent); }
.service-card--tone-4:hover { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.service-card--tone-5:hover { border-color: color-mix(in srgb, var(--color-rosa) 50%, transparent); }

.service-card__icon-wrap {
	margin-bottom: 1.5rem; width: 4rem; height: 4rem; border-radius: 1rem;
	display: flex; align-items: center; justify-content: center;
	transition: background-color 0.5s ease, color 0.5s ease;
}
.service-card--tone-0 .service-card__icon-wrap { background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); }
.service-card--tone-1 .service-card__icon-wrap { background-color: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); }
.service-card--tone-2 .service-card__icon-wrap { background-color: color-mix(in srgb, var(--color-teal) 15%, transparent); color: var(--color-teal); }
.service-card--tone-3 .service-card__icon-wrap { background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); }
.service-card--tone-4 .service-card__icon-wrap { background-color: color-mix(in srgb, var(--color-marigold) 15%, transparent); color: var(--color-marigold); }
.service-card--tone-5 .service-card__icon-wrap { background-color: color-mix(in srgb, var(--color-rosa) 15%, transparent); color: var(--color-rosa); }
.service-card:hover .service-card__icon-wrap { background-color: currentColor; }
.service-card:hover.service-card--tone-0 .service-card__icon-wrap { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.service-card:hover.service-card--tone-1 .service-card__icon-wrap { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.service-card:hover.service-card--tone-2 .service-card__icon-wrap { background-color: var(--color-teal); color: #fff; }
.service-card:hover.service-card--tone-3 .service-card__icon-wrap { background-color: var(--color-primary); color: #fff; }
.service-card:hover.service-card--tone-4 .service-card__icon-wrap { background-color: var(--color-marigold); color: var(--color-foreground); }
.service-card:hover.service-card--tone-5 .service-card__icon-wrap { background-color: var(--color-rosa); color: #fff; }

.service-card__kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.service-card--tone-0 .service-card__kicker, .service-card--tone-0 .service-card__cta { color: var(--color-primary); }
.service-card--tone-1 .service-card__kicker, .service-card--tone-1 .service-card__cta { color: var(--color-accent); }
.service-card--tone-2 .service-card__kicker, .service-card--tone-2 .service-card__cta { color: var(--color-teal); }
.service-card--tone-3 .service-card__kicker, .service-card--tone-3 .service-card__cta { color: var(--color-primary); }
.service-card--tone-4 .service-card__kicker, .service-card--tone-4 .service-card__cta { color: var(--color-marigold); }
.service-card--tone-5 .service-card__kicker, .service-card--tone-5 .service-card__cta { color: var(--color-rosa); }
.service-card__title { font-size: 1.25rem; margin-bottom: 1rem; color: var(--color-foreground); }
@media (min-width: 768px) { .service-card__title { font-size: 1.5rem; } }
.service-card__desc { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; max-width: 16rem; margin-bottom: 2rem; flex-grow: 1; }
.service-card__cta { display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin-top: auto; transition: opacity 0.2s ease; }
.service-card__cta:hover { opacity: 0.8; }
.service-card__cta svg { margin-left: 0.25rem; transition: transform 0.3s ease; }
.service-card__cta:hover svg { transform: translateX(4px); }

/* -----------------------------------------------------------------------
   12. FAQ
   ----------------------------------------------------------------------- */
.faq-section { background-color: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-section__head { max-width: 40rem; margin: 0 auto 2.5rem; text-align: center; }
@media (min-width: 768px) { .faq-section__head { margin-bottom: 3.5rem; } }
.faq-section__intro { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .faq-section__intro { font-size: 1.125rem; } }
.faq-section__intro a { text-decoration: underline; text-underline-offset: 4px; }

.faq-tabs { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; justify-content: center; }
.faq-tab {
	border-radius: 9999px; border: 1px solid var(--color-border);
	padding: 0.625rem 1.25rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	background: transparent; color: var(--color-foreground); transition: all 0.2s ease;
}
.faq-tab.is-active.faq-tab--nopal, .faq-tab--nopal.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.faq-tab.is-active.faq-tab--teal { background-color: var(--color-teal); color: #fff; border-color: var(--color-teal); }
.faq-tab.is-active.faq-tab--lilac { background-color: var(--color-lilac); color: var(--color-foreground); border-color: var(--color-lilac); }
.faq-tab.is-active.faq-tab--rosa { background-color: var(--color-rosa); color: #fff; border-color: var(--color-rosa); }
.faq-tab.is-active.faq-tab--marigold { background-color: var(--color-marigold); color: var(--color-foreground); border-color: var(--color-marigold); }
.faq-tab--nopal:not(.is-active) { border-color: var(--color-primary); color: var(--color-foreground); }
.faq-tab--teal:not(.is-active) { border-color: var(--color-teal); }
.faq-tab--lilac:not(.is-active) { border-color: var(--color-lilac); }
.faq-tab--rosa:not(.is-active) { border-color: var(--color-rosa); }
.faq-tab--marigold:not(.is-active) { border-color: var(--color-marigold); }

.faq-panel { display: none; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-panel.is-active { display: block; animation: theme-fade-in 0.25s ease; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item__question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding: 1.25rem 0; background: none; border: none; text-align: center;
}
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); line-height: 1.4; flex: 1; }
.faq-item__icon {
	flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 9999px; border: 1px solid var(--color-primary);
	display: flex; align-items: center; justify-content: center; color: var(--color-primary); transition: all 0.2s ease;
}
.faq-item__icon svg { transition: transform 0.3s ease; }
.faq-item.is-open .faq-item__icon { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.faq-item.is-open .faq-item__icon svg { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.28s cubic-bezier(0.22,1,0.36,1); }
.faq-item__answer p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; line-height: 1.7; padding-bottom: 1.5rem; max-width: 48rem; margin: 0 auto; text-align: center; }
.faq-item.is-open .faq-item__answer { max-height: 40em; }

/* -----------------------------------------------------------------------
   13. TESTIMONIALS
   ----------------------------------------------------------------------- */
.testimonials-section {
	position: relative; overflow: hidden; padding: 5rem 0;
	background: linear-gradient(180deg, var(--color-background) 0%, color-mix(in srgb, var(--color-secondary) 60%, transparent) 50%, var(--color-background) 100%);
}
@media (min-width: 768px) { .testimonials-section { padding: 7rem 0; } }
.testimonials-section__head { text-align: center; margin-bottom: 3rem; }
.testimonials-section__kicker { display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; }
.testimonials-section__subtitle { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 1rem; max-width: 36rem; margin: 1rem auto 0; }

.testimonial-carousel { position: relative; max-width: 48rem; margin: 0 auto; }
.testimonial-carousel__track { position: relative; min-height: 440px; }
.testimonial-slide {
	display: none; position: absolute; inset: 0;
	opacity: 0; transform: translateX(24px) scale(0.95);
	transition: opacity 0.45s var(--transition-smooth), transform 0.45s var(--transition-smooth);
}
.testimonial-slide.is-active { display: block; opacity: 1; transform: translateX(0) scale(1); position: relative; }
.testimonial-card {
	position: relative; border-radius: 1rem; border: 2px dashed color-mix(in srgb, var(--color-accent) 20%, transparent);
	padding: 2rem; min-height: 440px; display: flex; flex-direction: column;
	background: linear-gradient(160deg, var(--color-card) 0%, color-mix(in srgb, var(--color-secondary) 70%, transparent) 50%, color-mix(in srgb, var(--color-butter) 50%, transparent) 100%);
	box-shadow: 0 8px 32px -8px rgba(38,26,20,0.12);
}
@media (min-width: 768px) { .testimonial-card { padding: 2.5rem; } }
.testimonial-card__handmade {
	align-self: center; display: inline-flex; align-items: center; gap: 0.375rem; margin-bottom: 1.25rem;
	border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary);
	padding: 0.25rem 0.75rem; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
}
.testimonial-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.testimonial-card__tag {
	display: inline-flex; align-items: center; gap: 0.375rem; border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent); background-color: color-mix(in srgb, var(--color-accent) 10%, transparent);
	color: var(--color-accent); padding: 0.375rem 1rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.testimonial-card__stars { display: flex; gap: 0.125rem; color: var(--color-marigold); }
.testimonial-card__stars svg.is-filled { fill: currentColor; }
.testimonial-card blockquote {
	flex: 1; display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-style: italic; font-size: 1.0625rem; line-height: 1.7; text-align: center;
	color: var(--color-foreground); margin: 1.25rem 0;
}
.testimonial-card__author { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: auto; }
.testimonial-card__avatar {
	width: 2.75rem; height: 2.75rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
	color: #fff; font-family: var(--font-display); font-weight: 600; border: 2px solid color-mix(in srgb, #fff 50%, transparent);
	background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
}
.testimonial-card__author strong { display: block; font-size: 0.875rem; color: var(--color-foreground); }
.testimonial-card__author em { display: block; font-size: 0.75rem; font-style: normal; color: var(--color-muted-foreground); }

.testimonial-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.testimonial-carousel__arrow {
	width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid var(--color-border);
	background-color: var(--color-background); display: flex; align-items: center; justify-content: center;
	color: var(--color-foreground); transition: all 0.3s ease;
}
.testimonial-carousel__arrow:hover { background-color: var(--color-secondary); border-color: color-mix(in srgb, var(--color-accent) 30%, transparent); }
.testimonial-carousel__dots { display: flex; align-items: center; gap: 0.5rem; }
.testimonial-carousel__dot { height: 0.5rem; width: 0.5rem; border-radius: 9999px; background-color: var(--color-border); transition: all 0.3s ease; padding: 0; border: none; }
.testimonial-carousel__dot.is-active { width: 1.5rem; background-color: var(--color-accent); }

/* -----------------------------------------------------------------------
   14. FINAL CTA BAND
   ----------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding: 0 !important; min-height: 85vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem !important; }
.cta-band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 40%, transparent) 0%, color-mix(in srgb, var(--color-foreground) 20%, transparent) 50%, color-mix(in srgb, var(--color-foreground) 50%, transparent) 100%); }
.cta-band__panel {
	position: relative; z-index: 2; width: 100%; max-width: 56rem; margin: 0 auto;
	border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); backdrop-filter: blur(8px);
	background: linear-gradient(135deg, color-mix(in srgb, var(--color-background) 96%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 90%, transparent) 55%, color-mix(in srgb, var(--color-accent) 30%, transparent) 100%);
	padding: 3.5rem 2rem; text-align: center;
}
@media (min-width: 768px) { .cta-band__panel { padding: 5rem 4rem; } }
.cta-band__eyebrow { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-primary) 80%, transparent); font-size: 1.125rem; margin-bottom: 1rem; }
.cta-band__title { margin-bottom: 1.5rem; }
.cta-band__paragraph { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1rem; }
@media (min-width: 768px) { .cta-band__paragraph { font-size: 1.125rem; } }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; } }
.cta-band__badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.cta-band__badges span { display: inline-flex; align-items: center; gap: 0.375rem; }
.cta-band__dot { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }

/* -----------------------------------------------------------------------
   15. FOOTER
   ----------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background-color: var(--color-card); }
.site-footer .container-wide { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .site-footer .container-wide { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__top { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__top .site-logo-link { display: flex; margin: 0; }
.site-footer .site-logo-img { height: 3rem !important; }
@media (min-width: 768px) { .site-footer .site-logo-img { height: 3.5rem !important; } }
.site-footer__intro { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__intro { text-align: right; } }
.site-footer__tagline { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-style: italic; line-height: 1.6; }
.site-footer__email { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.site-footer__email a:hover { color: var(--color-foreground); }
.site-footer__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.site-footer__col h3 { font-size: 1.25rem; margin-bottom: 1.25rem; color: var(--color-foreground); }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a, .site-footer__col button {
	font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	background: none; border: none; padding: 0; text-align: left; transition: color 0.2s ease;
}
.site-footer__col a:hover, .site-footer__col button:hover { color: var(--color-foreground); }
.site-footer__bottom {
	margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center;
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__quote { font-size: 12px; color: var(--color-primary); font-family: var(--font-display); font-style: italic; letter-spacing: 0.02em; }
.site-footer__copyright { font-size: 12px; color: var(--color-muted-foreground); }
.site-footer__copyright a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__copyright a:hover { color: var(--color-foreground); }
.site-footer__divider { margin: 0 0.5rem; color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }

/* -----------------------------------------------------------------------
   16. CONTACT MODAL
   ----------------------------------------------------------------------- */
#theme-contact-overlay {
	position: fixed; inset: 0; z-index: 100; background-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; z-index: 101; width: calc(100% - 2rem); max-width: 32rem;
	max-height: 90vh; overflow-y: auto;
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
body.contact-open #theme-contact-overlay { opacity: 1; visibility: visible; }
body.contact-open #theme-contact-modal { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-contact-modal__panel { background-color: var(--color-background); border-radius: 1rem; padding: 1.75rem; box-shadow: var(--shadow-elevated); position: relative; }
@media (min-width: 640px) { .theme-contact-modal__panel { padding: 2rem; } }
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--color-muted-foreground); padding: 0.25rem; }
.theme-contact-modal__close:hover { color: var(--color-foreground); }
.theme-contact-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal__desc { color: var(--color-muted-foreground); font-size: 0.9375rem; margin-bottom: 1rem; }
.theme-contact-modal__meta { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__meta-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__meta-item a:hover { color: var(--color-foreground); }

.theme-form-row { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.theme-form-row--split { flex-direction: column; }
@media (min-width: 640px) { .theme-form-row--split { flex-direction: row; } }
.theme-form-row--end { justify-content: flex-end; flex-direction: row; }
.theme-form-field { flex: 1; display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.theme-form-field label { font-size: 0.875rem; font-weight: 500; }
.theme-form-field input, .theme-form-field select, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background-color: var(--color-background);
	border: 1px solid var(--color-border); border-radius: 0.375rem; font-size: 1rem; font-family: var(--font-body);
	color: var(--color-foreground); transition: box-shadow 0.3s ease;
}
.theme-form-field textarea { resize: none; }
.theme-form-field input:focus, .theme-form-field select:focus, .theme-form-field textarea:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon {
	width: 3.5rem; height: 3.5rem; border-radius: 9999px; background-color: var(--color-primary); color: var(--color-primary-foreground);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-contact-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-modal__success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* -----------------------------------------------------------------------
   17. SIDE CART DRAWER
   ----------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
}
#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
	background-color: var(--color-background); 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-overlay { opacity: 1; visibility: visible; }
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { background: none; border: none; color: var(--color-foreground); 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: 1.5rem; }
.theme-cart-drawer__empty-icon { 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-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;
	position: relative;
	border-radius: 0.375rem;
}
.theme-cart-item__image img,
.theme-cart-item__image .theme-cart-item__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.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__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { 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-item__controls button.theme-qty-minus, .theme-cart-item__controls button.theme-qty-plus { padding: 0.25rem; background: none; border: none; border-radius: 0.25rem; color: var(--color-foreground); }
.theme-cart-item__controls button:hover { background-color: 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; background: none; border: none; color: var(--color-muted-foreground); }
.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__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -----------------------------------------------------------------------
   18. WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE (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;
}
.single-product .single_add_to_cart_button,
.theme-btn-primary { text-transform: none !important; }
.btn-hero-primary, .btn-hero-outline { text-transform: uppercase; }

/* Card compact button — overrides global rules for the floating card CTA */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__add {
	min-height: unset !important;
	padding: 0.75rem 1rem !important;
	border-radius: 9999px !important;
	background-color: var(--color-teal) !important;
	border: 1px solid var(--color-teal) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__add:hover {
	background-color: var(--color-background) !important;
	color: var(--color-teal) !important;
}

.single-product .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; }

/* -----------------------------------------------------------------------
   19. WOOCOMMERCE NOTICES (Section 14.1)
   ----------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error,
.single-product .woocommerce-notices-wrapper { display: none !important; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	border-radius: 0.5rem; padding: 1rem 1.5rem; font-family: var(--font-body); font-size: 0.9375rem;
	background-color: var(--color-secondary); color: var(--color-foreground); border: 1px solid var(--color-border); list-style: none;
}

/* -----------------------------------------------------------------------
   20. SINGLE PRODUCT PAGE (Lovable ProductDetail parity)
   ----------------------------------------------------------------------- */
.single-product-page { padding: 1.5rem 0 6rem; background-color: var(--color-background); }
@media (min-width: 1024px) { .single-product-page { padding-top: 2rem; } }

/* Defensive: never let product media blow out page height if absolute cover fails */
.single-product-page img {
	max-width: 100%;
}
.single-product-page .product-main-img,
.single-product-page .theme-product-thumb .cover-img,
.single-product-page .theme-product-card__img {
	max-width: none;
}

.single-product .woocommerce-notices-wrapper,
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error { display: none !important; }

.theme-product-breadcrumb {
	padding: 0.75rem 0;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
}
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.theme-product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-product-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; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-gallery { min-width: 0; width: 100%; }
.theme-product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background-color: var(--color-secondary);
	overflow: hidden;
}
.theme-product-gallery__main .product-main-img,
.theme-product-gallery__main .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transition: opacity 0.3s ease;
}
.theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails { gap: 0.75rem; } }
.theme-product-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--color-secondary);
	border: 1px solid transparent;
	padding: 0;
	transition: border-color 0.2s ease;
	cursor: pointer;
}
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-product-thumb.is-active { border-color: var(--color-foreground); }
.theme-product-thumb .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.theme-product-info { padding-left: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-left: 1rem; position: sticky; top: 7rem; } }
.theme-product-info__cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); display: block; }
.product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.1;
	margin: 0.75rem 0 1.25rem;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; color: var(--color-foreground); font-family: var(--font-body); }
.theme-stock-indicator { font-size: 0.875rem; margin-bottom: 1rem; font-weight: 500; }
.theme-stock-indicator--out { color: var(--color-destructive, #c0392b); }
.theme-product-info__excerpt {
	color: var(--color-muted-foreground);
	line-height: 1.7;
	margin-bottom: 2rem;
	font-size: 1rem;
	font-family: var(--font-body);
}

.theme-quantity-block { margin-bottom: 1rem; }
.theme-field-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.5rem 0.75rem; background: transparent; border: none; color: var(--color-foreground);
	transition: background-color 0.2s ease; cursor: pointer;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	width: 2.75rem; min-width: 44px; text-align: center; border: none;
	background: transparent; font-family: var(--font-body); font-size: 0.875rem;
	-moz-appearance: textfield; padding: 0.5rem 0.25rem;
}
.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;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin-bottom: 0;
}
.single-product .single_add_to_cart_button.theme-product-atc,
.single-product a.single_add_to_cart_button.theme-product-atc,
.theme-product-info .theme-product-atc {
	width: 100% !important;
	min-height: unset !important;
	padding: 1rem 1.5rem !important;
	border-radius: 9999px !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	font-size: 0.75rem !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
	justify-content: center !important;
}
.single-product .single_add_to_cart_button.theme-product-atc:hover,
.single-product a.single_add_to_cart_button.theme-product-atc:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
	opacity: 1 !important;
}
.single-product .single_add_to_cart_button.theme-product-atc:disabled,
.single-product .single_add_to_cart_button.theme-product-atc.disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
}

.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;
	cursor: pointer;
	font-size: 13px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-foreground);
}
.theme-accordion__chevron { transition: transform 0.25s ease; flex-shrink: 0; }
.theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { padding-bottom: 1.5rem; }
.theme-accordion__panel[hidden] { display: none; }
.theme-accordion__text {
	font-size: 0.9375rem;
	color: var(--color-muted-foreground);
	line-height: 1.7;
	font-family: var(--font-body);
	margin: 0 0 0.75rem;
	white-space: pre-line;
}
.theme-accordion__text:last-child { margin-bottom: 0; }
.theme-accordion__list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__list li {
	position: relative;
	padding-left: 1rem;
	font-size: 0.9375rem;
	color: var(--color-muted-foreground);
	line-height: 1.5;
	font-family: var(--font-body);
}
.theme-accordion__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 9999px;
	background-color: var(--color-foreground);
}

.related-products-section { padding: 5rem 0 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-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }
.related-products-section__grid.theme-product-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.related-products-section__grid.theme-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}

/* Variations table layout (Section 11.5.1) */
.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; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.theme-attr-select-hidden { display: none !important; }

/* -----------------------------------------------------------------------
   21. SHOP ARCHIVE
   ----------------------------------------------------------------------- */
.shop-archive { padding: 4rem 0 6rem; }
.shop-archive .page-title { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.shop-archive__empty { text-align: center; color: var(--color-muted-foreground); padding: 4rem 0; }
.woocommerce-pagination { text-align: center; margin-top: 3rem; }
.woocommerce-pagination ul { display: inline-flex; gap: 0.5rem; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem;
	border-radius: 9999px; border: 1px solid var(--color-border); font-size: 0.875rem;
}
.woocommerce-pagination .current { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* -----------------------------------------------------------------------
   22. GENERIC PAGES / 404
   ----------------------------------------------------------------------- */
.generic-page { padding: 6rem 0; min-height: 50vh; }
.generic-page .page-title { font-size: 2rem; margin-bottom: 2rem; }
.theme-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.theme-404__inner { text-align: center; }
.theme-404__code { font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

/* -----------------------------------------------------------------------
   23. CHECKOUT / CART / ACCOUNT / THANK YOU (Sections 13, 13.7, 22.8)
   ----------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-size: 2rem;
	margin-bottom: 2rem;
}

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 {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
	border-color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-text-input input {
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-checkbox label { display: inline-flex; }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 2rem;
}

/* Case A — site uses a global container with max-width; do not override entry-content width. */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		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-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
}

/* Thank you page */
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.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 0 0 2rem; margin: 0;
	border-bottom: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.9375rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-weight: 600; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.7;
}
@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; }
}

/* My account */
body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 0.5rem; }
body.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block; padding: 0.625rem 1rem; border-radius: 0.375rem; font-size: 0.9375rem; color: var(--color-foreground);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background-color: var(--color-secondary); font-weight: 600; }
