/* ===================================================================
   Cénaé theme.css — full visual system ported from the original design
   (src/index.css + Tailwind config). All styling for the theme AND the
   mandatory WooCommerce overrides lives in this single file (Section 10).
=================================================================== */

/* -------------------------------------------------------------------
   1. Design tokens
------------------------------------------------------------------- */
:root {
	--color-ink: #121212;
	--color-background: #faf8f4;
	--color-sand: #f1ece1;
	--color-border: #ded4c4;
	--color-tan: #d8c4a9;
	--color-taupe: #ab9987;
	--color-accent: #6d5f4d;
	--color-muted-foreground: #5e574f;
	--color-destructive: #ac2020;

	--color-button-text: var(--color-background);
	--color-primary: var(--color-ink);

	--font-display: 'Marcellus', serif;
	--font-body: 'Manrope', sans-serif;
	--font-script: 'Mrs Saint Delafield', cursive;

	--radius: 2px;
	--card-radius: 2px;
	--btn-radius: 2px;
	--btn-height: 3.5rem;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.02em;
	--btn-text-transform: none;
	--btn-icon-padding: 0.65rem;
	--header-height: 96px;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
	--logo-height: 60px;
	--container-max: 80rem;
}

/* -------------------------------------------------------------------
   2. Reset & base
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-ink);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: inherit;
	line-height: 1.1;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Clickable affordance — match Lovable hand cursor on interactive UI */
a[href],
button:not(:disabled):not([aria-disabled="true"]),
[role="button"]:not([aria-disabled="true"]),
summary,
label[for],
.theme-product-card,
.theme-product-thumb,
.theme-footer-shop-link,
.ajax_add_to_cart,
input[type="submit"],
input[type="button"],
input[type="reset"],
select {
	cursor: pointer;
}
button:disabled,
button[aria-disabled="true"],
.ajax_add_to_cart.disabled,
a[aria-disabled="true"] {
	cursor: not-allowed;
}
::selection { background: color-mix(in srgb, var(--color-tan) 35%, transparent); color: var(--color-ink); }

img:not(.cover-img):not(.hero-section__img):not(.about-section__img):not(.founder-section__img):not(.haircare-section__img):not(.contact-section__bg):not(.coming-soon-overlay__img):not(.theme-product-card__image):not(.theme-product-card__image-wrapper img):not(.theme-product-gallery__img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-section__img, .about-section__img, .founder-section__img, .haircare-section__img, .contact-section__bg, .coming-soon-overlay__img, .theme-product-card__image, .theme-product-card__image-wrapper img, .theme-product-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.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 {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.75rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.eyebrow {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 500;
}
.text-tan { color: var(--color-tan); }
.text-accent { color: var(--color-accent); }
.text-muted, .text-muted-foreground { color: var(--color-muted-foreground); }

.surface-noir { background: var(--color-ink); color: var(--color-background); }
.surface-ivory { background: var(--color-sand); color: var(--color-ink); }
.surface-sand { background: var(--color-sand); color: var(--color-ink); }
.surface-warm { background: linear-gradient(180deg, var(--color-background) 0%, var(--color-sand) 100%); color: var(--color-ink); }
.bg-background { background: var(--color-background); }
.scroll-mt { scroll-margin-top: 6rem; }

.signature { font-family: var(--font-script); line-height: 1; font-size: 3rem; color: color-mix(in srgb, var(--color-ink) 85%, transparent); }
@media (min-width: 768px) { .signature { font-size: 3.75rem; } }

.section-heading { font-family: var(--font-display); font-weight: 400; }

/* -------------------------------------------------------------------
   3. Buttons
------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-hero-primary { background: var(--color-ink); color: var(--color-background); text-transform: none; }
.btn-hero-outline { background: transparent; border: 1px solid color-mix(in srgb, var(--color-background) 50%, transparent); color: var(--color-background); text-transform: none; }
.btn-hero-outline:hover { background: color-mix(in srgb, var(--color-background) 10%, transparent); }
.btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-ink); }
.btn-outline:hover { background: color-mix(in srgb, var(--color-ink) 6%, transparent); }
.btn-secondary-dark { background: var(--color-background); color: var(--color-ink); }
.btn-secondary-dark:hover { background: var(--color-tan); }
.btn-link-light { background: transparent; color: var(--color-background); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; height: auto; padding: 0; }
.btn-link-light:hover { color: var(--color-tan); opacity: 1; transform: none; }
.btn-filter {
	height: 2.5rem;
	padding: 0 1.1rem;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-ink);
	font-size: 0.8rem;
	border-radius: var(--btn-radius);
}
.btn-filter.is-active { background: var(--color-ink); color: var(--color-background); border-color: var(--color-ink); }
.btn-filter:hover { opacity: 1; border-color: var(--color-taupe); }

/* -------------------------------------------------------------------
   4. Animations & scroll reveal (Section 2.1)
------------------------------------------------------------------- */
@keyframes cenaeFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cenaeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cenaeZoomPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

.animate-fade-in { animation: cenaeFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-slide-up { animation: cenaeSlideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.animate-zoom-pulse { animation: cenaeZoomPulse 14s ease-in-out infinite; }

.reveal-fade, .reveal-word, .reveal-item {
	opacity: 0;
	transform: translateY(24px);
	filter: blur(6px);
	transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-fade.is-visible, .reveal-word.is-visible, .reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}
[data-reveal-delay="0"] { transition-delay: 0s; }
[data-reveal-delay="1"] { transition-delay: 0.09s; }
[data-reveal-delay="2"] { transition-delay: 0.18s; }
[data-reveal-delay="3"] { transition-delay: 0.27s; }
[data-reveal-delay="4"] { transition-delay: 0.36s; }

/* Customizer preview must never hide content (Section 2.1 item 5). */
body.is-customizer .reveal-fade,
body.is-customizer .reveal-word,
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

/* Keep cover framing identical to the front at the same viewport width. */
body.is-customizer .animate-zoom-pulse {
	animation: none !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-fade, .reveal-word, .reveal-item, .animate-fade-in, .animate-slide-up, .animate-zoom-pulse {
		animation: none !important;
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
	}
}

/* -------------------------------------------------------------------
   5. Header
------------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	background: transparent;
	transition: background-color 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
}
/* WordPress admin bar — keep the fixed header below it */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--color-border);
}
body.mobile-menu-open .site-header { background: var(--color-background); border-bottom: 1px solid var(--color-border); }

.site-nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); gap: 1rem; }
.site-logo-link { display: inline-flex; align-items: center; }
.site-logo-img { width: auto !important; display: block; }
/* Header logos — Lovable Wordmark h-[68px] lg:h-[78px] */
.site-header .site-logo-img { height: var(--logo-height, 68px) !important; }
@media (min-width: 1024px) {
	.site-header .site-logo-img { height: var(--logo-height-lg, 78px) !important; }
}
/* Footer logos — Lovable Wordmark h-[72px] md:h-[80px] */
.site-footer .site-logo-img { height: var(--footer-logo-height, 72px) !important; }
@media (min-width: 768px) {
	.site-footer .site-logo-img { height: var(--footer-logo-height-md, 80px) !important; }
}
.site-logo-img--dark { display: none; }
.site-logo-img--light { display: block; }
.site-header.is-solid .site-logo-img--dark { display: block; }
.site-header.is-solid .site-logo-img--light { display: none; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-ink); }
.site-header:not(.is-solid) .site-logo-text { color: var(--color-background); }

.site-nav-list-wrap { display: none; }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
.theme-nav-link {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--color-ink);
	padding: 0.4rem 0;
}
.site-header:not(.is-solid) .theme-nav-link { color: var(--color-background); }
.theme-nav-link:hover { color: var(--color-taupe); }
.site-header:not(.is-solid) .theme-nav-link:hover { color: var(--color-tan); }

@media (min-width: 1280px) {
	.site-nav-list-wrap { display: block; margin-left: auto; margin-right: 1.5rem; }
}

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-toggle, .theme-mobile-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	color: var(--color-ink);
	border-radius: 50%;
}
.site-header:not(.is-solid) .theme-cart-toggle,
.site-header:not(.is-solid) .theme-mobile-toggle { color: var(--color-background); }
.theme-cart-toggle:hover, .theme-mobile-toggle:hover { background: color-mix(in srgb, var(--color-ink) 8%, transparent); }
.site-header:not(.is-solid) .theme-cart-toggle:hover,
.site-header:not(.is-solid) .theme-mobile-toggle:hover { background: color-mix(in srgb, var(--color-background) 12%, transparent); }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 1rem; height: 1rem;
	padding: 0 0.25rem;
	background: var(--color-ink);
	color: var(--color-background);
	font-size: 0.6rem;
	line-height: 1rem;
	border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

@media (min-width: 1280px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
body.mobile-menu-open .theme-mobile-toggle .icon-open { display: none; }
body.mobile-menu-open .theme-mobile-toggle .icon-close { display: block; }

.site-mobile-menu { display: none; background: var(--color-background); border-top: 1px solid var(--color-border); }
.site-mobile-menu.is-open { display: block; }
.theme-nav-list--mobile,
.site-mobile-menu .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0.75rem 0 1.5rem;
	width: 100%;
}
.theme-nav-list--mobile > li,
.site-mobile-menu .theme-nav-list > li {
	width: 100%;
	border-bottom: 1px solid var(--color-border);
}
.theme-nav-list--mobile .theme-nav-link,
.site-mobile-menu .theme-nav-list .theme-nav-link {
	display: flex;
	width: 100%;
	min-height: 3rem;
	align-items: center;
	color: var(--color-ink);
	padding: 0.85rem 0;
}
@media (min-width: 1280px) { .site-mobile-menu { display: none !important; } }

/* -------------------------------------------------------------------
   6. Hero
------------------------------------------------------------------- */
.hero-section { position: relative; width: 100%; min-height: 100vh; min-height: 100svh; overflow: clip; }
body.theme-no-hero .hero-section { display: none; }
.hero-section__media { position: absolute; inset: 0; }
.hero-section__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% top; }
@media (min-width: 640px) { .hero-section__img { object-position: 62% center; } }
.hero-section__scrim { position: absolute; inset: 0; pointer-events: none; }
.hero-section__scrim--dark { background: color-mix(in srgb, var(--color-ink) 25%, transparent); }
.hero-section__scrim--side { background: linear-gradient(90deg, color-mix(in srgb, var(--color-ink) 85%, transparent) 0%, color-mix(in srgb, var(--color-ink) 45%, transparent) 50%, color-mix(in srgb, var(--color-ink) 5%, transparent) 100%); }
.hero-section__scrim--bottom { background: linear-gradient(to top, color-mix(in srgb, var(--color-ink) 80%, transparent) 0%, transparent 55%, color-mix(in srgb, var(--color-ink) 25%, transparent) 100%); }

.hero-section__content { position: relative; z-index: 10; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: 4rem; }
@media (min-width: 1024px) { .hero-section__content { padding-bottom: 6rem; } }
.hero-section__inner { max-width: 56rem; }
.hero-section__title {
	font-size: 2.65rem;
	line-height: 1.04;
	color: var(--color-background);
}
.hero-section__line { display: block; overflow: hidden; }
@media (min-width: 640px) { .hero-section__title { font-size: 3.5rem; } }
@media (min-width: 768px) { .hero-section__title { font-size: 4.8rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 5.6rem; } }
.hero-section__subtitle { margin-top: 1.5rem; max-width: 36rem; color: color-mix(in srgb, var(--color-background) 80%, transparent); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }
.hero-section__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; } }

/* -------------------------------------------------------------------
   7. Shop rows / sliders / category grid / product cards
------------------------------------------------------------------- */
.shop-row, .shop-categories, .haircare-section, .about-section, .founder-section, .newsletter-section, .faq-section, .contact-section { border-top: 1px solid var(--color-border); }
.shop-row__inner, .shop-categories .container-wide, .about-section__inner, .founder-section__inner, .faq-section__inner { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .shop-row__inner, .shop-categories .container-wide, .about-section__inner, .founder-section__inner, .faq-section__inner { padding-top: 7rem; padding-bottom: 7rem; } }
.shop-categories { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .shop-categories { padding-top: 7rem; padding-bottom: 7rem; } }

.shop-row__header { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-row__header { margin-bottom: 3.5rem; } }
.shop-row__title { font-size: 2.25rem; margin-top: 0.75rem; line-height: 1; }
@media (min-width: 768px) { .shop-row__title { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-row__title { font-size: 3.75rem; } }

.theme-slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.theme-slider__viewport::-webkit-scrollbar { display: none; }
.theme-slider__track { display: flex; gap: 1.5rem; }
.theme-slider__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
@media (min-width: 768px) { .theme-slider__slide { flex: 0 0 calc(50% - 0.75rem); } }
@media (min-width: 1024px) { .theme-slider__slide { flex: 0 0 calc(33.333% - 1rem); } }
.theme-slider__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 2rem; }
.theme-slider__dots { display: flex; gap: 0.4rem; }
.theme-slider__dot { width: 0.4rem; height: 0.4rem; border-radius: 999px; background: color-mix(in srgb, var(--color-ink) 25%, transparent); transition: all 0.3s ease; }
.theme-slider__dot.is-active { width: 1.5rem; background: var(--color-ink); }
.theme-slider__arrows { display: flex; gap: 0.5rem; }
.theme-slider__arrow {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	color: var(--color-ink);
	background: var(--color-background);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.theme-slider__arrow:hover:not(:disabled) { background: var(--color-ink); color: var(--color-background); }
.theme-slider__arrow:disabled { opacity: 0.3; cursor: not-allowed; }

.shop-categories__header { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .shop-categories__header { grid-template-columns: 5fr 7fr; align-items: end; gap: 4rem; } }
.shop-categories__title { font-size: 2.25rem; margin-top: 1rem; line-height: 1.04; }
@media (min-width: 768px) { .shop-categories__title { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-categories__title { font-size: 3.75rem; } }
.shop-categories__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (min-width: 1024px) {
	.shop-categories__filters {
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: flex-end;
	}
	.shop-categories__filters .btn-filter { flex: 0 0 auto; }
}

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); } }
.theme-product-card-wrap { background: var(--color-background); display: flex; }
.theme-product-card { display: flex; flex: 1 1 auto; }
.theme-product-card__inner {
	display: flex; flex-direction: column;
	width: 100%; height: 100%;
	background: #fff;
	border: 1px solid transparent;
	transition: border-color 0.5s ease;
}
.theme-product-card:hover .theme-product-card__inner { border-color: var(--color-taupe); }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; background: var(--color-sand); overflow: hidden; }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }
.theme-product-card__image-wrapper img { transition: transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1); }
.theme-product-card__badge {
	position: absolute; bottom: 0.75rem; right: 0.75rem;
	background: var(--color-ink); color: var(--color-background);
	font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
	padding: 0.3rem 0.6rem;
}
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; padding: 1.5rem; }
@media (min-width: 768px) { .theme-product-card__info { padding: 1.75rem; } }
.theme-product-card__title { font-size: 1.25rem; line-height: 1.3; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card__desc {
	margin-top: 0.75rem; font-size: 0.875rem; color: var(--color-muted-foreground);
	font-weight: 300; line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	flex: 1;
}
.theme-product-card__footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; }
.theme-product-card__price { font-size: 1rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-product-card__cta { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--color-accent); flex-shrink: 0; }
.theme-product-card:hover .theme-product-card__title { text-decoration: none; }

.shop-categories__empty { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 4rem 0; text-align: center; }
@media (min-width: 768px) { .shop-categories__empty { padding: 6rem 0; } }
.shop-categories__empty-title { font-size: 1.5rem; margin-top: 1rem; }
@media (min-width: 768px) { .shop-categories__empty-title { font-size: 1.875rem; } }

/* -------------------------------------------------------------------
   8. Haircare strip
------------------------------------------------------------------- */
.haircare-section__grid { display: grid; grid-template-columns: 1fr; min-height: 70vh; }
@media (min-width: 1024px) { .haircare-section__grid { grid-template-columns: 1fr 1fr; } }
.haircare-section__media { position: relative; min-height: 52vh; }
@media (min-width: 1024px) { .haircare-section__media { min-height: 100%; } }
.haircare-section__content { display: flex; align-items: center; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .haircare-section__content { padding: 5rem 3rem; } }
@media (min-width: 1024px) { .haircare-section__content { padding: 5rem 4rem; } }
@media (min-width: 1280px) { .haircare-section__content { padding: 5rem 6rem; } }
.haircare-section__inner { max-width: 36rem; }
.haircare-section__title { font-size: 2.25rem; line-height: 1.04; }
@media (min-width: 768px) { .haircare-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .haircare-section__title { font-size: 3.75rem; } }
.haircare-section__body { margin-top: 1.75rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); font-weight: 300; line-height: 1.7; }
.haircare-section__list { margin-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent); }
.haircare-section__list li { padding: 1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent); font-family: var(--font-display); font-size: 1.25rem; transition: color 0.5s ease; }
.haircare-section__list li:hover { color: var(--color-tan); }

/* -------------------------------------------------------------------
   9. About & Founder
------------------------------------------------------------------- */
.about-section__grid, .founder-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-section__grid, .founder-section__grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.founder-section__grid { align-items: start; }
.about-section__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-sand); order: 2; }
@media (min-width: 1024px) { .about-section__media { order: 1; } }
.about-section__content { order: 1; }
@media (min-width: 1024px) { .about-section__content { order: 2; } }
.about-section__title, .founder-section__title { font-size: 2.25rem; margin-top: 1rem; line-height: 1.04; }
@media (min-width: 768px) { .about-section__title, .founder-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__title, .founder-section__title { font-size: 3.75rem; } }
.about-section__rule, .founder-section__rule { display: block; height: 1px; width: 4rem; background: var(--color-tan); margin: 2rem 0; }
.about-section__body, .founder-section__body { display: flex; flex-direction: column; gap: 1.25rem; color: var(--color-muted-foreground); font-weight: 300; font-size: 1rem; line-height: 1.7; max-width: 42rem; overflow-wrap: break-word; }
@media (min-width: 768px) { .about-section__body, .founder-section__body { font-size: 1.125rem; } }
.founder-section__media { position: relative; }
@media (min-width: 1024px) { .founder-section__media { position: sticky; top: 7rem; } }
.founder-section__frame { aspect-ratio: 2 / 3; overflow: hidden; background: var(--color-sand); }
.founder-section__frame img { transition: transform 1.4s cubic-bezier(0.25, 0.4, 0.25, 1); }
.founder-section__frame:hover img { transform: scale(1.04); }
.founder-section__signature { display: flex; align-items: flex-end; gap: 0.75rem; margin-top: 2.5rem; }
.founder-section__heart { width: 1.25rem; height: 1.25rem; color: var(--color-taupe); flex-shrink: 0; margin-bottom: 0.4rem; }
@media (min-width: 768px) { .founder-section__heart { width: 1.5rem; height: 1.5rem; } }

/* -------------------------------------------------------------------
   10. Newsletter
------------------------------------------------------------------- */
.newsletter-section { border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); }
.newsletter-section__inner { padding-block: 5rem; text-align: center; }
@media (min-width: 768px) { .newsletter-section__inner { padding-block: 7rem; } }
.newsletter-section__title { font-size: 2.25rem; margin-top: 1rem; }
@media (min-width: 768px) { .newsletter-section__title { font-size: 3rem; } }
.newsletter-section__body { margin: 1.25rem auto 0; max-width: 36rem; color: color-mix(in srgb, var(--color-background) 65%, transparent); line-height: 1.7; }
.newsletter-section__form-wrap { margin-top: 2.25rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.newsletter-section__form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .newsletter-section__form { flex-direction: row; } }
.newsletter-section__success { color: var(--color-background); }

.theme-field {
	min-height: 3rem;
	flex: 1;
	min-width: 0;
	border: 1px solid var(--color-border);
	background: transparent;
	padding: 0 1rem;
	color: var(--color-ink);
	outline: none;
	border-radius: var(--radius);
}
.theme-field--dark { border-color: color-mix(in srgb, var(--color-background) 35%, transparent); color: var(--color-background); }
.theme-field--dark::placeholder { color: color-mix(in srgb, var(--color-background) 45%, transparent); }
.theme-field--dark:focus { border-color: var(--color-tan); }
.theme-field--textarea { min-height: 8rem; padding: 0.75rem 1rem; resize: vertical; }

/* -------------------------------------------------------------------
   11. FAQ
------------------------------------------------------------------- */
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 4fr 8fr; gap: 4rem; } }
.faq-section__intro { position: relative; }
@media (min-width: 1024px) { .faq-section__intro { position: sticky; top: 7rem; align-self: start; } }
.faq-section__title { font-size: 2.25rem; margin-top: 1rem; line-height: 1.05; }
@media (min-width: 768px) { .faq-section__title { font-size: 3rem; } }
.faq-section__groups { display: flex; flex-direction: column; gap: 3rem; }
.faq-group__title { margin-bottom: 1rem; }
.faq-group__list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; min-height: 3.5rem; }
.faq-item__question span { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; }
@media (min-width: 768px) { .faq-item__question span { font-size: 1.4rem; } }
.faq-item__icon { flex-shrink: 0; margin-top: 0.3rem; transition: transform 0.5s ease; }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { padding-bottom: 1.5rem; padding-right: 2.5rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.7; }

/* -------------------------------------------------------------------
   12. Contact
------------------------------------------------------------------- */
.contact-section { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; }
@media (min-width: 1024px) { .contact-section { min-height: 720px; } }
.contact-section__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 40%, transparent); }
.contact-section__inner { position: relative; z-index: 1; width: 100%; padding-block: 6rem; }
@media (min-width: 768px) { .contact-section__inner { padding-block: 8rem; } }
@media (min-width: 1024px) { .contact-section__inner { padding-block: 9rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }
.contact-section__title { font-size: 2.25rem; margin-top: 1rem; color: var(--color-background); line-height: 1.04; }
@media (min-width: 768px) { .contact-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__title { font-size: 3.75rem; } }
.contact-section__details { margin-top: 2.5rem; color: color-mix(in srgb, var(--color-background) 75%, transparent); display: flex; flex-direction: column; gap: 1.25rem; }
.contact-section__email { display: flex; align-items: center; gap: 0.75rem; }
.contact-section__email:hover { color: var(--color-background); }
.contact-section__social { padding-top: 1rem; }
.contact-section__social-label { color: color-mix(in srgb, var(--color-background) 60%, transparent); margin-bottom: 1rem; }
.contact-section__social-links { display: flex; gap: 1.5rem; }
.contact-section__social-links a { color: color-mix(in srgb, var(--color-background) 75%, transparent); }
.contact-section__social-links a:hover { color: var(--color-background); }
.contact-section__form { display: grid; grid-template-columns: 1fr; gap: 1.75rem 2.5rem; }
@media (min-width: 640px) { .contact-section__form { grid-template-columns: 1fr 1fr; } }
.theme-field-label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 70%, transparent); }
.theme-field-label--full { grid-column: 1 / -1; }
.contact-section__submit-wrap { grid-column: 1 / -1; padding-top: 0.5rem; }
.contact-section__success { border-top: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent); padding: 4rem 0; text-align: center; color: var(--color-background); }
@media (min-width: 1024px) { .contact-section__success { text-align: left; } }
.contact-section__success-body { margin-top: 0.75rem; color: color-mix(in srgb, var(--color-background) 65%, transparent); max-width: 28rem; }

/* -------------------------------------------------------------------
   13. Coming Soon overlay
------------------------------------------------------------------- */
.coming-soon-overlay {
	position: fixed; inset: 0; z-index: 100;
	background: var(--color-ink);
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
body.admin-bar .coming-soon-overlay { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .coming-soon-overlay { top: 46px; }
}
.coming-soon-overlay[hidden] { display: none; }
.coming-soon-overlay.is-open { opacity: 1; }
.coming-soon-overlay.is-closing { opacity: 0; }
.coming-soon-overlay__media { position: absolute; inset: 0; }
.coming-soon-overlay__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.coming-soon-overlay__scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-ink) 80%, transparent); }
.coming-soon-overlay__scrim--gradient { background: linear-gradient(to bottom, color-mix(in srgb, var(--color-ink) 40%, transparent) 0%, color-mix(in srgb, var(--color-ink) 70%, transparent) 55%, color-mix(in srgb, var(--color-ink) 90%, transparent) 100%); }
.coming-soon-overlay__scroll { position: relative; height: 100%; width: 100%; overflow-y: auto; }
.coming-soon-overlay__viewport { min-height: 100%; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding-block: 3.5rem; }
.coming-soon-overlay__panel { width: 100%; max-width: 36rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.coming-soon-overlay__logo { height: 86px; width: auto; display: block; }
@media (min-width: 768px) { .coming-soon-overlay__logo { height: 104px; } }
.coming-soon-overlay__eyebrow { margin-top: 2.5rem; }
.coming-soon-overlay__title { font-family: var(--font-display); font-size: 2.4rem; color: var(--color-background); line-height: 1.05; margin-top: 1rem; font-weight: 400; }
@media (min-width: 640px) { .coming-soon-overlay__title { font-size: 3rem; } }
@media (min-width: 768px) { .coming-soon-overlay__title { font-size: 3.75rem; } }
.coming-soon-overlay__body { margin-top: 1.5rem; max-width: 28rem; color: color-mix(in srgb, var(--color-background) 75%, transparent); line-height: 1.7; font-weight: 300; font-size: 1rem; }
.coming-soon-overlay__form-wrap { margin-top: 2rem; width: 100%; max-width: 28rem; }
.coming-soon-overlay__form { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; }
@media (min-width: 640px) {
	.coming-soon-overlay__form { flex-direction: row; align-items: stretch; }
}
.coming-soon-overlay__form .theme-field {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 3rem;
	height: 3rem;
	padding: 0 1rem;
	background: transparent;
	border: 1px solid color-mix(in srgb, var(--color-background) 35%, transparent);
	color: var(--color-background);
	outline: none;
}
.coming-soon-overlay__form .theme-field::placeholder {
	color: color-mix(in srgb, var(--color-background) 45%, transparent);
}
.coming-soon-overlay__form .theme-field:focus {
	border-color: var(--color-tan);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-tan) 50%, transparent);
}
.coming-soon-overlay__form .btn-secondary-dark {
	flex: 0 0 auto;
	align-self: stretch;
	min-height: 3rem;
	height: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	text-transform: none;
	letter-spacing: normal;
	font-size: 0.9375rem;
	font-weight: 500;
}
.coming-soon-overlay__success { color: var(--color-background); border-top: 1px solid color-mix(in srgb, var(--color-background) 25%, transparent); padding-top: 1.5rem; line-height: 1.7; }
.coming-soon-overlay__error { color: var(--color-tan); font-size: 0.875rem; margin-top: 0.75rem; }
.coming-soon-overlay__skip { margin-top: 2rem; }
.coming-soon-overlay__skip .btn-link-light {
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-background);
	height: auto;
	padding: 0;
	background: transparent;
}
.coming-soon-overlay__skip .btn-link-light:hover {
	color: var(--color-tan);
	background: transparent;
	opacity: 1;
	transform: none;
}

/* -------------------------------------------------------------------
   14. Footer
------------------------------------------------------------------- */
.site-footer { background: var(--color-sand); color: var(--color-ink); }
.site-footer__inner { padding-block: 4rem 1.75rem; }
@media (min-width: 768px) { .site-footer__inner { padding-top: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; gap: 3rem; } }
.site-footer__brand { padding-right: 0; }
@media (min-width: 1024px) { .site-footer__brand { padding-right: 2.5rem; } }
.site-footer__tagline { margin-top: 1.5rem; max-width: 16rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-ink) 70%, transparent); line-height: 1.7; }
.site-footer__col-title { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: color-mix(in srgb, var(--color-ink) 60%, transparent); margin-bottom: 1.25rem; font-family: var(--font-body); }
.site-footer__list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list a, .theme-footer-shop-link, .theme-footer-mail-link { font-size: 0.875rem; font-weight: 300; color: color-mix(in srgb, var(--color-ink) 80%, transparent); text-align: left; }
.site-footer__list a:hover, .theme-footer-shop-link:hover, .theme-footer-mail-link:hover { color: var(--color-ink); }
.site-footer__link--muted { color: color-mix(in srgb, var(--color-ink) 40%, transparent) !important; }
.site-footer__link--muted:hover { color: color-mix(in srgb, var(--color-ink) 60%, transparent) !important; }
.site-footer__list--connect a { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__divider { margin-top: 3rem; border-top: 1px solid color-mix(in srgb, var(--color-ink) 10%, transparent); }
@media (min-width: 768px) { .site-footer__divider { margin-top: 3.5rem; } }
.site-footer__bottom { padding-top: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.72rem; letter-spacing: 0.08em; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__copyright { color: color-mix(in srgb, var(--color-ink) 55%, transparent); font-weight: 300; }
.site-footer__credit { color: color-mix(in srgb, var(--color-ink) 45%, transparent); font-weight: 300; }
.site-footer__credit a { color: color-mix(in srgb, var(--color-ink) 75%, transparent); font-weight: 400; }
.site-footer__credit a:hover { color: var(--color-ink); }

/* -------------------------------------------------------------------
   15. Generic pages / 404
------------------------------------------------------------------- */
/* The homepage <main id="top"> intentionally has NO .site-main class so the
   full-bleed hero sits directly under the transparent fixed header
   (Section 22.7 — no top padding on the home). Inner pages use .site-main. */
.site-main { padding-top: var(--header-height); }
.generic-page__inner { padding-block: 6rem; }
.not-found-page__inner { text-align: center; padding-block: 8rem; }
.not-found-page__title { font-size: 2.5rem; margin-bottom: 1rem; }
.not-found-page__body { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* =====================================================================
   WOOCOMMERCE OVERRIDES (Section 14) — no default WC styling remains.
===================================================================== */

/* -- Product single page layout — replica of ProductDetail.tsx ---------- */
.single-product-page.site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
	animation: cenaeFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@media (min-width: 1024px) {
	.single-product-page.site-main { padding-bottom: 6rem; }
}
.single-product-page__back { padding: 1.5rem 0; margin-bottom: 0; }
.theme-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-back-link:hover { color: var(--color-ink); }
.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 4rem;
	min-width: 0;
}
@media (min-width: 768px) {
	.theme-product-layout { padding-bottom: 6rem; }
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info { padding-top: 2rem; padding-bottom: 2rem; }
}
.theme-product-gallery__main { position: relative; aspect-ratio: 3 / 4; background: var(--color-sand); overflow: hidden; }
.theme-product-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.theme-product-info__eyebrow { color: var(--color-muted-foreground); }
.theme-product-info__title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	margin-top: 1rem;
	margin-bottom: 1.25rem;
	line-height: 1.08;
}
@media (min-width: 768px) {
	.theme-product-info__title { font-size: 3rem; }
}
.theme-product-info__price { font-size: 1.5rem; margin-bottom: 2rem; }
.theme-product-info__stock.is-out { color: var(--color-destructive); margin-bottom: 1rem; font-size: 0.875rem; }
.theme-product-info__description {
	color: var(--color-muted-foreground);
	line-height: 1.7;
	margin-bottom: 2.5rem;
	font-size: 1rem;
	overflow-wrap: break-word;
}
@media (min-width: 768px) {
	.theme-product-info__description { font-size: 1.125rem; }
}
.theme-quantity-row { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 2rem; }

.theme-variation-row { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.theme-variation-select {
	width: 100%;
	border: 1px solid var(--color-border);
	background: var(--color-background, #faf8f4);
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	color: var(--color-foreground);
	appearance: auto;
}
.theme-product-stock { color: var(--color-muted-foreground); margin: 0 0 1rem; font-size: 0.875rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; }
.theme-qty-input { width: 2.5rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-coming-soon-banner {
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	background: color-mix(in srgb, var(--color-sand) 60%, transparent);
	padding: 1.75rem 1.5rem;
}
.theme-coming-soon-banner__title { font-size: 1.5rem; margin-top: 0.75rem; }
.theme-coming-soon-banner__body { color: var(--color-muted-foreground); margin-top: 0.75rem; line-height: 1.7; }
.theme-coming-soon-banner .btn { margin-top: 1.5rem; }

.theme-product-details { margin-top: 3rem; border-top: 1px solid var(--color-border); }
.theme-product-details__item { padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); }
.theme-product-details__summary {
	font-family: var(--font-display);
	font-size: 1.25rem;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}
.theme-product-details__summary::-webkit-details-marker { display: none; }
.theme-product-details__icon {
	flex-shrink: 0;
	margin-top: 0.25rem;
	transition: transform 0.5s ease;
}
.theme-product-details__item[open] > .theme-product-details__summary .theme-product-details__icon {
	transform: rotate(45deg);
}
.theme-product-details__body { color: var(--color-muted-foreground); margin-top: 0.75rem; line-height: 1.7; overflow-wrap: break-word; }

/* Hide every WooCommerce notice on the product page (Lovable has none). */
.single-product-page .woocommerce-notices-wrapper,
.single-product-page .woocommerce-message,
.single-product-page .woocommerce-info,
.single-product-page .woocommerce-error,
.single-product .woocommerce-notices-wrapper,
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error,
body.single-product .woocommerce-notices-wrapper {
	display: none !important;
}

/* -- Add to cart button style 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-button-text) !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-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* -- Hide WooCommerce's injected "View cart" link (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; }

/* -- Notices — hidden on product pages; errors elsewhere keep styling ---- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error {
	background: color-mix(in srgb, var(--color-destructive) 10%, transparent);
	color: var(--color-destructive);
	border: 1px solid var(--color-destructive);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	list-style: none;
	font-size: 0.9rem;
}

/* -- Shop archive page -------------------------------------------------- */
.shop-archive-page { padding-top: calc(var(--header-height) + 2.5rem); padding-bottom: 5rem; }
.shop-archive-page__header { margin-bottom: 2.5rem; }
.shop-archive-page__title { font-size: 2.5rem; }

/* -- Side cart drawer (Section 12) -------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 55;
	background: color-mix(in srgb, var(--color-ink) 45%, transparent);
	opacity: 0; visibility: hidden;
	transition: opacity 0.4s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 26rem;
	background: var(--color-background);
	z-index: 60;
	display: flex; flex-direction: column;
	box-shadow: -24px 0 60px -20px color-mix(in srgb, var(--color-ink) 28%, transparent);
	transform: translateX(100%);
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
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.25rem; }
.theme-cart-drawer__close { display: inline-flex; padding: 0.25rem; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty-text { color: var(--color-muted-foreground); font-weight: 300; }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { width: 5rem; height: 6rem; background: var(--color-sand); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-drawer__item-body { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 0.9rem; display: block; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 0.85rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-attrs { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-drawer__item-controls .theme-qty-minus, .theme-cart-drawer__item-controls .theme-qty-plus { width: 1.75rem; height: 1.75rem; }
.theme-cart-drawer__item-controls .theme-qty-minus:hover, .theme-cart-drawer__item-controls .theme-qty-plus:hover { background: var(--color-sand); }
.theme-cart-drawer__item-qty { font-size: 0.85rem; width: 1.5rem; text-align: center; }
.theme-cart-drawer__item-remove { margin-left: auto; color: var(--color-muted-foreground); padding: 0.25rem; }
.theme-cart-drawer__item-remove:hover { color: var(--color-destructive); }
.theme-cart-drawer__footer { border-top: 1px solid var(--color-border); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__totals { display: flex; justify-content: space-between; font-size: 1rem; }
.theme-cart-drawer__checkout { width: 100%; }

/* -- Checkout (Section 13) — native WooCommerce Checkout Block -------- */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { margin-bottom: 2rem; font-size: 2rem; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-sand);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
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);
	color: var(--color-ink);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	width: 100% !important;
	max-width: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-taupe);
	outline: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	min-height: var(--btn-height) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.88; }
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-background);
	color: var(--color-ink);
}

/* -- Thank you page (Section 22.8) ------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); }
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 { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; border: 1px solid var(--color-border); padding: 1.25rem; }
body.theme-thankyou-page .woocommerce-order-overview li { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.25rem; font-style: normal; line-height: 1.7; }

/* -- Product/quantity area layout (Section 11.13) ---------------------- */
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; flex-wrap: wrap; gap: 0; }
.theme-add-to-cart-area .single_add_to_cart_button {
	width: 100%;
	max-width: 100%;
}
@media (min-width: 640px) {
	.theme-add-to-cart-area .single_add_to_cart_button {
		width: auto;
		min-width: 16rem;
	}
}
