/* ==========================================================================
   Mimi's Be Calm and Create — theme stylesheet
   Colors are emitted as CSS variables via wp_add_inline_style (functions.php)
   ========================================================================== */

:root {
	--font-display: 'Cormorant Garamond', serif;
	--font-script: 'Dancing Script', cursive;
	--font-body: 'Montserrat', sans-serif;

	--radius: 0.5rem;

	--shadow-soft: 0 4px 20px -4px rgb(32 41 60 / 0.08);
	--shadow-elevated: 0 8px 40px -8px rgb(80 60 110 / 0.18);

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--color-button-text: var(--color-primary-foreground);
	--btn-radius: 0.375rem;
	--btn-height: 2.75rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.5rem;

	--header-height: 80px;
}

/* --------------------------------------------------------------------
 * RESET
 * ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
	border-color: var(--color-border);
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Hand cursor on every interactive control */
a[href],
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
[type="reset"]:not(:disabled),
label[for],
select:not(:disabled),
summary,
.theme-product-card,
.theme-product-thumb,
.theme-faq-question,
.theme-social-icon,
.theme-qty-minus,
.theme-qty-plus,
.theme-cart-toggle,
.theme-mobile-toggle,
.theme-btn {
	cursor: pointer;
}

img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card-img):not(.theme-product-main-img):not(.theme-product-thumb-img):not(.theme-cart-item__img):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-bg-img, .theme-product-card-img, .theme-product-main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* --------------------------------------------------------------------
 * LAYOUT UTILITIES
 * ------------------------------------------------------------------ */

.container-wide {
	width: 100%;
	max-width: 80rem; /* max-w-7xl */
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

@media (max-width: 767px) {
	.theme-hero__content,
	.theme-about-section__inner,
	.site-footer__inner {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.theme-heading-italic { font-style: italic; color: var(--color-primary); }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.hover-lift { transition: transform 0.3s var(--transition-smooth); }
.hover-lift:hover { transform: translateY(-3px); }

.hover-tilt { transition: transform 0.3s var(--transition-smooth); }
.hover-tilt:hover { transform: rotate(-4deg) scale(1.08); }

.theme-icon-shrink { flex-shrink: 0; }

/* --------------------------------------------------------------------
 * ANIMATIONS (Section 2.1)
 * ------------------------------------------------------------------ */

@keyframes theme-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes theme-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes theme-spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.animate-fade-in { animation: theme-fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slideUp 0.6s var(--transition-smooth) forwards; }
.animate-slide-down { animation: theme-slideDown 0.35s var(--transition-smooth) forwards; }

/* Scroll-reveal system: elements start hidden and reveal on intersection.
   Per-element inventory: fade = opacity only; up/left/right = opacity + translate. */
.reveal-item {
	opacity: 0;
	will-change: opacity, transform;
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item[data-reveal="up"] { transform: translateY(40px); }
.reveal-item[data-reveal="left"] { transform: translateX(-60px); }
.reveal-item[data-reveal="right"] { transform: translateX(60px); }
.reveal-item[data-reveal="fade"] { transform: none; }
.reveal-item[data-reveal-delay="1"] { transition-delay: 0.12s; }

.reveal-item.is-visible {
	opacity: 1;
	transform: translate(0, 0);
}

/* Customizer preview + reduced-motion fallback: content must never stay hidden. */
body.is-customizer .reveal-item,
.theme-faq-list .reveal-item {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------
 * BUTTONS
 * ------------------------------------------------------------------ */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
}
.theme-btn svg { flex-shrink: 0; width: 1rem; height: 1rem; }

.theme-btn-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.theme-btn-primary:hover { opacity: 0.9; }

.theme-btn-outline {
	background-color: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
}
.theme-btn-outline:hover { background-color: var(--color-secondary); }

.theme-btn-hero-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: 0 2.5rem;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.theme-btn-hero-primary:hover { transform: scale(1.05); opacity: 0.95; }
.theme-btn-hero-primary:active { transform: scale(0.97); }

.theme-btn-hero-outline {
	background-color: rgb(255 255 255 / 0.1);
	color: #fff;
	border: 1px solid rgb(255 255 255 / 0.3);
	padding: 0 2.5rem;
	transition: transform 0.2s ease, background-color 0.2s ease;
}
.theme-btn-hero-outline:hover { background-color: rgb(255 255 255 / 0.2); transform: scale(1.05); }
.theme-btn-hero-outline:active { transform: scale(0.97); }

/* --------------------------------------------------------------------
 * SECTION / HEADING TYPOGRAPHY (per-section scales — Section 2.2.5)
 * ------------------------------------------------------------------ */

.theme-section { padding: 5rem 0; }
@media (min-width: 768px) { .theme-section { padding: 7rem 0; } }

.theme-section-header { text-align: center; margin-bottom: 3.5rem; }
.theme-section-header--narrow { max-width: 42rem; margin-left: auto; margin-right: auto; }

.theme-section-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.theme-section-subtitle {
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	max-width: 42rem;
	margin: 0 auto;
}

/* Shop heading: text-4xl md:text-5xl lg:text-6xl */
.theme-shop-section__heading {
	font-size: 2.25rem;
	line-height: 1.15;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .theme-shop-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-shop-section__heading { font-size: 3.75rem; } }

/* Services heading: text-4xl md:text-5xl */
.theme-services-section__heading {
	font-size: 2.25rem;
	line-height: 1.2;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .theme-services-section__heading { font-size: 3rem; } }

/* About name: text-4xl md:text-5xl lg:text-6xl */
.theme-about-name {
	font-size: 2.25rem;
	line-height: 1.2;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .theme-about-name { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about-name { font-size: 3.75rem; } }

/* FAQ heading: text-4xl md:text-5xl */
.theme-faq-section__heading {
	font-size: 2.25rem;
	line-height: 1.2;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .theme-faq-section__heading { font-size: 3rem; } }

/* Contact heading: text-3xl md:text-5xl */
.theme-contact-heading {
	font-size: 1.875rem;
	line-height: 1.25;
	color: #fff;
	margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .theme-contact-heading { font-size: 3rem; } }

/* --------------------------------------------------------------------
 * HEADER
 * ------------------------------------------------------------------ */

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
	background-color: transparent;
	border-bottom: 1px solid transparent;
	animation: theme-slideDown 0.6s var(--transition-smooth);
}

/* Offset fixed header under the WP admin bar */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

.site-header.is-solid,
.site-header.theme-header--scrolled {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}

.site-nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .site-nav { height: 5rem; } }

.site-branding { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }

/* Lovable: header h-[3.2rem] md:h-16 — footer h-[5.12rem] */
.site-logo-img {
	display: block;
	height: 3.2rem;
	max-height: 3.2rem;
	width: auto;
	max-width: none;
	object-fit: contain;
	transition: transform 0.3s var(--transition-smooth);
}
@media (min-width: 768px) {
	.site-logo-img:not(.site-logo-img--footer) {
		height: var(--logo-height, 64px);
		max-height: var(--logo-height, 64px);
	}
}
.site-branding:hover .site-logo-img:not(.site-logo-img--footer) { transform: scale(1.05) rotate(-2deg); }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: inherit; }
.site-logo-img--footer {
	height: var(--footer-logo-height, 5.12rem);
	max-height: var(--footer-logo-height, 5.12rem);
}

.site-nav__desktop { display: none; }
@media (min-width: 768px) { .site-nav__desktop { display: flex; align-items: center; gap: 2rem; } }

.theme-nav-list { display: flex; gap: 2rem; align-items: center; }
.theme-nav-link, .theme-nav-list a {
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: color 0.3s ease;
	color: var(--color-foreground);
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-foreground); }

/* White nav only on transparent hero header (matches Lovable isTransparent) */
.site-header:not(.is-solid):not(.theme-header--scrolled) .theme-nav-link,
.site-header:not(.is-solid):not(.theme-header--scrolled) .theme-nav-list a { color: rgb(255 255 255 / 0.9); }
.site-header:not(.is-solid):not(.theme-header--scrolled) .theme-nav-link:hover,
.site-header:not(.is-solid):not(.theme-header--scrolled) .theme-nav-list a:hover { color: #fff; }

.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; }

.theme-cart-toggle {
	position: relative;
	padding: 0.5rem;
	display: inline-flex;
	color: var(--color-foreground);
	transition: transform 0.2s ease, color 0.3s ease;
}
.theme-cart-toggle:hover { transform: scale(1.1) rotate(-6deg); }
.site-header:not(.is-solid):not(.theme-header--scrolled) .theme-cart-toggle { color: #fff; }

.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.625rem; font-weight: 500;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle {
	display: inline-flex;
	padding: 0.5rem;
	color: var(--color-foreground);
	transition: color 0.3s ease;
}
.site-header:not(.is-solid):not(.theme-header--scrolled) .theme-mobile-toggle { color: #fff; }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 768px) { .theme-mobile-toggle { display: none; } }

.site-nav__mobile {
	display: none;
	overflow: hidden;
	border-top: 1px solid var(--color-border);
}
.site-nav__mobile.is-open {
	display: block;
	animation: theme-slideDown 0.3s var(--transition-smooth);
}
.site-nav__mobile .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1rem 0; }
.site-nav__mobile .theme-nav-link, .site-nav__mobile a { transition: color 0.2s ease, transform 0.2s ease; }
.site-nav__mobile .theme-nav-link:hover, .site-nav__mobile a:hover { color: var(--color-primary); transform: translateX(4px); }
@media (min-width: 768px) { .site-nav__mobile { display: none !important; } }

/* --------------------------------------------------------------------
 * HERO
 * ------------------------------------------------------------------ */

.theme-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-botanical);
}
body.theme-no-hero .theme-hero { display: none; }

.theme-hero__media-wrap { position: absolute; inset: 0; }
.theme-hero__video { transition: transform 8s linear; }

.theme-hero__overlay { position: absolute; inset: 0; background: #000; opacity: 0.8; }
.theme-hero__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgb(0 0 0 / 0.4), rgb(0 0 0 / 0.2), rgb(0 0 0 / 0.6));
	pointer-events: none;
}

.theme-hero__content { position: relative; z-index: 10; text-align: center; padding-block: 5rem; }

.theme-hero__eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.theme-hero__eyebrow-line { height: 1px; width: 2rem; background: var(--color-blush); }
.theme-hero__eyebrow-text { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-blush); font-weight: 500; }

.theme-hero__title {
	font-size: 2.25rem;
	letter-spacing: -0.02em;
	margin-bottom: 0.25rem;
	color: #fff;
	font-weight: 300;
	line-height: 1.15;
}
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.5rem; } }

.theme-hero__title-script {
	font-family: var(--font-script);
	font-size: 2.25rem;
	color: var(--color-blush);
	margin-bottom: 2rem;
}
@media (min-width: 768px) { .theme-hero__title-script { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title-script { font-size: 4.5rem; } }

.theme-hero__subtitle {
	color: rgb(255 255 255 / 0.85);
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	font-size: 1rem;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }

.theme-hero__actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; padding: 0 1rem; }
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; } }

.theme-hero__scroll-cue { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 10; }
.theme-hero__scroll-btn { color: rgb(255 255 255 / 0.6); padding: 0.5rem; transition: color 0.2s ease; animation: theme-bob 2s ease-in-out infinite; }
.theme-hero__scroll-btn:hover { color: #fff; }

/* --------------------------------------------------------------------
 * SHOP / PRODUCT GRID / PRODUCT CARD
 * ------------------------------------------------------------------ */

.theme-shop-section { scroll-margin-top: 6rem; }
.theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-grid--single { display: flex; justify-content: center; }
.theme-product-grid--single .theme-product-card-wrap { width: 100%; max-width: 24rem; }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }

.theme-product-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
}

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background-color: var(--color-secondary);
	overflow: hidden;
	border-radius: var(--radius);
	margin-bottom: 1rem;
	transition: box-shadow 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image-wrapper {
	box-shadow: 0 20px 40px -12px rgb(150 60 190 / 0.15);
	transform: translateY(-8px);
}
.theme-product-card:hover .theme-product-card-img { transform: scale(1.08); }
.theme-product-card-img { transition: transform 0.6s var(--transition-smooth); }

.theme-badge {
	position: absolute;
	top: 0.5rem; left: 0.5rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: var(--radius);
	z-index: 2;
}
@media (min-width: 768px) { .theme-badge { top: 0.75rem; left: 0.75rem; } }
.theme-badge--sold-out { background-color: var(--color-foreground); color: var(--color-background); }

.theme-product-card__info { min-width: 0; }
.theme-product-card__title {
	font-size: 1rem;
	font-weight: 500;
	font-family: var(--font-body);
	transition: color 0.3s ease;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	font-weight: 600;
	margin-top: 0.25rem;
}
.theme-product-card__price .amount { font-family: var(--font-body); }

/* --------------------------------------------------------------------
 * SERVICES
 * ------------------------------------------------------------------ */

.theme-services-section { background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent); }

.theme-services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.theme-service-card {
	background-color: var(--color-background);
	border-radius: 0.75rem;
	padding: 2rem;
	box-shadow: var(--shadow-soft);
	border: 1px solid var(--color-border);
	transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}
.theme-service-card:hover { transform: translateY(-6px); }

.theme-service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem; height: 3.5rem;
	border-radius: 999px;
	background-color: color-mix(in srgb, var(--color-primary) 10%, transparent);
	color: var(--color-primary);
	margin-bottom: 1.25rem;
}
.theme-service-card__icon svg { width: 1.5rem; height: 1.5rem; }

.theme-service-card__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.theme-service-card__description { color: var(--color-muted-foreground); line-height: 1.6; }

/* --------------------------------------------------------------------
 * ABOUT
 * ------------------------------------------------------------------ */

.theme-about-section { position: relative; overflow: hidden; }

.theme-about-section__blob { position: absolute; border-radius: 999px; filter: blur(64px); pointer-events: none; }
.theme-about-section__blob--1 { top: -6rem; left: -6rem; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--color-blush) 20%, transparent); }
.theme-about-section__blob--2 { bottom: -6rem; right: -6rem; width: 24rem; height: 24rem; background: color-mix(in srgb, var(--color-primary) 15%, transparent); }

.theme-about-section__inner { position: relative; padding-block: 5rem; }
@media (min-width: 768px) { .theme-about-section__inner { padding-block: 7rem; } }

.theme-about-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 768px) {
	.theme-about-layout { grid-template-columns: 2fr 3fr; gap: 4rem; }
}

.theme-about-image-col { position: relative; min-width: 0; }
.theme-about-image-frame {
	position: absolute;
	inset: -0.75rem;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	border-radius: 1rem;
	transform: translate(0.75rem, 0.75rem);
}
@media (min-width: 768px) { .theme-about-image-frame { inset: -1rem; transform: translate(1rem, 1rem); } }
.theme-about-image-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: var(--shadow-elevated);
	aspect-ratio: 4 / 5;
}

.theme-about-copy-col { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.theme-about-eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.theme-about-eyebrow-line { height: 1px; width: 2.5rem; background: var(--color-accent); }
.theme-about-eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); }

.theme-about-script { font-family: var(--font-script); font-size: 1.5rem; color: var(--color-blush); margin-bottom: 1.5rem; }

.theme-about-bio { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); font-size: 1rem; line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-about-bio p { margin: 0; }
.theme-about-signature { font-family: var(--font-script); font-size: 1.5rem; color: var(--color-primary); padding-top: 0.5rem; }

.theme-about-socials { margin-top: 2rem; }

/* --------------------------------------------------------------------
 * SOCIAL ICONS
 * ------------------------------------------------------------------ */

.theme-social-icons { display: flex; gap: 0.75rem; }
.theme-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	border-radius: 999px;
	background-color: var(--color-secondary);
	border: 1px solid var(--color-border);
	color: var(--color-muted-foreground);
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.3s ease;
}
.theme-social-icon:hover { color: var(--color-primary); border-color: var(--color-primary); }
.theme-social-icon--lg { padding: 0.75rem; }
.theme-social-icon--onlight {
	background-color: rgb(255 255 255 / 0.1);
	border-color: rgb(255 255 255 / 0.2);
	color: rgb(255 255 255 / 0.9);
}
.theme-social-icon--onlight:hover { background-color: color-mix(in srgb, var(--color-blush) 40%, transparent); color: #fff; }

/* --------------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------------ */

.theme-faq-section { background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent); }

.theme-faq-list {
	max-width: 48rem;
	margin: 0 auto;
	background-color: var(--color-background);
	border-radius: 0.75rem;
	padding: 0 1.5rem;
	box-shadow: var(--shadow-soft);
	border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .theme-faq-list { padding: 0 2.5rem; } }

.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item:last-child { border-bottom: none; }

.theme-faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
	text-align: left;
	gap: 1rem;
}
.theme-faq-question__text {
	font-family: var(--font-display);
	font-size: 1.125rem;
	color: var(--color-foreground);
	transition: color 0.2s ease;
	min-width: 0;
}
@media (min-width: 768px) { .theme-faq-question__text { font-size: 1.25rem; } }
.theme-faq-question:hover .theme-faq-question__text { color: var(--color-primary); }
.theme-faq-question__icon { flex-shrink: 0; color: var(--color-primary); }
.theme-faq-question__icon .icon-minus { display: none; }
.theme-faq-item.is-open .theme-faq-question__icon .icon-plus { display: none; }
.theme-faq-item.is-open .theme-faq-question__icon .icon-minus { display: block; }

.theme-faq-answer {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.35s var(--transition-smooth), opacity 0.35s var(--transition-smooth);
}
.theme-faq-item.is-open .theme-faq-answer { max-height: 32rem; opacity: 1; }
.theme-faq-answer p { padding-bottom: 1.25rem; padding-right: 2rem; color: var(--color-muted-foreground); line-height: 1.6; overflow-wrap: break-word; }

/* --------------------------------------------------------------------
 * CONTACT
 * ------------------------------------------------------------------ */

.theme-contact-section { position: relative; overflow: hidden; }
.theme-contact-section__overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-botanical) 75%, transparent); }
.theme-contact-section__inner { position: relative; z-index: 10; padding: 4rem 0; }
@media (min-width: 768px) { .theme-contact-section__inner { padding: 6rem 0; } }

.theme-contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 768px) { .theme-contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.theme-contact-info-card,
.theme-contact-form-card {
	border-radius: 0.75rem;
	padding: 2rem;
	border: 1px solid rgb(255 255 255 / 0.2);
	background: rgb(255 255 255 / 0.1);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 8px 32px rgb(0 0 0 / 0.25), inset 0 1px 0 rgb(255 255 255 / 0.15);
}
@media (min-width: 768px) { .theme-contact-info-card, .theme-contact-form-card { padding: 3rem; } }
.theme-contact-info-card { display: flex; flex-direction: column; justify-content: center; background: rgb(255 255 255 / 0.1); }
.theme-contact-form-card { background: rgb(255 255 255 / 0.12); }

.theme-contact-script { font-family: var(--font-script); font-size: 1.875rem; color: var(--color-blush); margin-bottom: 0.5rem; display: block; }
@media (min-width: 768px) { .theme-contact-script { font-size: 2.25rem; } }

.theme-contact-description { color: rgb(255 255 255 / 0.8); margin-bottom: 2rem; line-height: 1.6; overflow-wrap: break-word; }

.theme-contact-details { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.2); }
.theme-contact-detail { display: flex; align-items: center; gap: 0.75rem; color: rgb(255 255 255 / 0.9); font-size: 0.875rem; }
.theme-contact-detail a { transition: color 0.2s ease; overflow-wrap: break-word; word-break: break-word; }
.theme-contact-detail a:hover { color: var(--color-blush); }
.theme-contact-socials { padding-top: 0.5rem; }

.theme-contact-form-eyebrow { display: block; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(255 255 255 / 0.7); margin-bottom: 0.25rem; }
.theme-contact-form-heading { font-size: 1.5rem; color: #fff; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-contact-form-heading { font-size: 1.875rem; } }

.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field { margin-bottom: 1.25rem; min-width: 0; }
.theme-contact-form__row .theme-contact-form__field { margin-bottom: 0; }
.theme-contact-form__field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; color: rgb(255 255 255 / 0.8); }
.theme-contact-form__field input,
.theme-contact-form__field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.2);
	border-radius: var(--radius);
	color: #fff;
	font-size: 0.875rem;
	transition: box-shadow 0.3s ease;
}
.theme-contact-form__field input::placeholder,
.theme-contact-form__field textarea::placeholder { color: rgb(255 255 255 / 0.4); }
.theme-contact-form__field input:focus,
.theme-contact-form__field textarea:focus { outline: none; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.3); }
.theme-contact-form__field textarea { resize: none; }

.theme-contact-submit { width: 100%; transition: transform 0.2s ease; }
.theme-contact-submit:hover { transform: scale(1.03); }
.theme-contact-submit:active { transform: scale(0.97); }
.theme-contact-submit:disabled { opacity: 0.7; cursor: wait; }

.theme-contact-form__error {
	color: #fff;
	background: color-mix(in srgb, var(--color-destructive) 60%, transparent);
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	margin-bottom: 1.25rem;
}

.theme-contact-form-success { text-align: center; padding: 2.5rem 0; }
.theme-contact-form-success__icon {
	width: 4rem; height: 4rem;
	background: rgb(255 255 255 / 0.2);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1.5rem;
	border-radius: 999px;
	color: #fff;
	animation: theme-slideUp 0.5s var(--transition-smooth);
}
.theme-contact-form-success h3 { font-size: 1.5rem; color: #fff; margin-bottom: 0.5rem; }
.theme-contact-form-success p { color: rgb(255 255 255 / 0.7); }

/* --------------------------------------------------------------------
 * FOOTER
 * ------------------------------------------------------------------ */

.site-footer { border-top: 1px solid var(--color-border); background-color: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.site-footer__inner { padding-block: 3rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 4rem; } }

.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.site-footer__logo-link { display: inline-flex; }
.site-footer__description { margin-top: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 24rem; line-height: 1.6; }

.site-footer__col-heading { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; font-family: var(--font-body); }
.site-footer__nav-list, .site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-link {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	text-transform: capitalize;
	display: inline-block;
	transition: color 0.2s ease, transform 0.2s ease;
}
.theme-footer-nav-link:hover { color: var(--color-primary); transform: translateX(4px); }

.site-footer__contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.site-footer__contact-item a { word-break: break-all; transition: color 0.2s ease; }
.site-footer__contact-item a:hover { color: var(--color-foreground); }

.site-footer__bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__copyright { font-size: 0.75rem; color: var(--color-muted-foreground); text-align: center; }
@media (min-width: 640px) { .site-footer__copyright { text-align: left; } }
.site-footer__tagline { font-size: 0.75rem; color: var(--color-muted-foreground); font-style: italic; }

.site-footer__credit { margin-top: 1rem; display: flex; justify-content: center; }
.site-footer__credit p { font-size: 0.75rem; color: var(--color-muted-foreground); }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s ease; }
.site-footer__credit a:hover { color: var(--color-foreground); }

/* --------------------------------------------------------------------
 * CART DRAWER + OVERLAY
 * ------------------------------------------------------------------ */

#theme-cart-overlay {
	position: fixed; inset: 0;
	background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 60;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; animation: theme-fadeIn 0.3s var(--transition-smooth); }

#theme-cart-drawer {
	position: fixed;
	right: 0; top: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background-color: var(--color-background);
	z-index: 61;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; }
.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; color: var(--color-muted-foreground); }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image {
	position: relative;
	width: 5rem; /* w-20 */
	height: 6rem; /* h-24 */
	flex-shrink: 0;
	overflow: hidden;
	border-radius: var(--radius);
	background-color: var(--color-secondary);
	display: block;
}
.theme-cart-item__image img,
.theme-cart-item__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
}
.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; transition: opacity 0.2s ease; }
.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; overflow-wrap: break-word; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: var(--radius); transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background-color: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-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.75rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }

/* --------------------------------------------------------------------
 * WOOCOMMERCE: BUTTON OVERRIDES (Section 11.4.1 / 11.4.2)
 * ------------------------------------------------------------------ */

.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;
}

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.theme-add-to-cart-added-label { display: none; align-items: center; gap: 0.5rem; }
.single_add_to_cart_button.theme-just-added .theme-add-to-cart-label { display: none; }
.single_add_to_cart_button.theme-just-added .theme-add-to-cart-added-label { display: inline-flex; }

.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;
}

/* --------------------------------------------------------------------
 * WOOCOMMERCE: NOTICES (scoped — Section 14.1)
 * ------------------------------------------------------------------ */

.single-product .woocommerce-message,
.single-product .woocommerce-info,
.theme-shop-archive .woocommerce-message,
.theme-shop-archive .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.woocommerce-error {
	background: color-mix(in srgb, var(--color-destructive) 12%, var(--color-background));
	border: 1px solid var(--color-destructive);
	color: var(--color-foreground);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	list-style: none;
	margin: 0 0 1.5rem;
}

/* --------------------------------------------------------------------
 * SINGLE PRODUCT PAGE (mirrors Lovable ProductDetail.tsx)
 * ------------------------------------------------------------------ */

main.single-product.site-main {
	padding-top: 6rem; /* pt-24 */
	padding-bottom: 0;
}
@media (min-width: 1024px) {
	main.single-product.site-main { padding-top: 7rem; } /* lg:pt-28 */
}

.theme-back-to-shop-row { padding: 1.5rem 0; } /* py-6 */
.theme-back-to-shop {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	transition: color 0.2s ease;
}
.theme-back-to-shop:hover { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem; /* gap-10 */
	padding-bottom: 5rem; /* pb-20 */
	min-width: 0;
}
@media (min-width: 768px) {
	.theme-product-layout { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.theme-product-layout { gap: 4rem; } /* lg:gap-16 */
}

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 768px) {
	.theme-product-info { padding-top: 1rem; padding-bottom: 1rem; } /* md:py-4 */
}
@media (min-width: 1024px) {
	.theme-product-info { padding-top: 2.5rem; padding-bottom: 2.5rem; } /* lg:py-10 */
}

.theme-product-main-image {
	position: relative;
	aspect-ratio: 3 / 4;
	background-color: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1rem;
	border-radius: var(--radius);
}

/* Lovable: w-full h-full object-cover */
.theme-product-main-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
	max-width: 100%;
}
.theme-product-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--radius);
	border: 2px solid transparent;
	opacity: 0.6;
	padding: 0;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}
.theme-product-thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }

.theme-product-category {
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	display: block;
}

.product-title.theme-product-title {
	font-family: var(--font-display);
	font-size: 1.5rem; /* text-2xl */
	font-weight: 700;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) {
	.product-title.theme-product-title { font-size: 1.875rem; } /* md:text-3xl */
}

.theme-product-price {
	font-size: 1.5rem; /* text-2xl */
	margin-bottom: 1.5rem; /* mb-6 */
	font-weight: 600;
	color: var(--color-accent);
	font-family: var(--font-body);
}
.theme-product-price .woocommerce-Price-amount,
.theme-product-price__amount { font-family: var(--font-body); font-weight: 600; color: var(--color-accent); }

.theme-product-description {
	color: var(--color-muted-foreground);
	line-height: 1.625; /* leading-relaxed */
	margin-bottom: 2rem; /* mb-8 */
	font-family: var(--font-body);
	white-space: pre-line;
	overflow-wrap: break-word;
	word-break: break-word;
}

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem; /* gap-4 */
	margin-bottom: 2rem; /* mb-8 */
}
.theme-quantity-wrapper {
	display: flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: var(--btn-radius);
	overflow: hidden;
}
.theme-qty-minus,
.theme-qty-plus {
	padding: 0.75rem 1rem; /* py-3 px-4 */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	min-width: 3rem; /* min-w-[48px] */
	width: 3rem;
	text-align: center;
	border: none;
	background: transparent;
	padding: 0.75rem 0;
	font-family: var(--font-body);
	-moz-appearance: textfield;
	appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
	min-height: 2.75rem; /* size lg ~ h-11 */
}

.theme-product-details {
	border-top: 1px solid var(--color-border);
	padding-top: 2rem;
}
.theme-product-details__heading {
	font-size: 1rem;
	font-weight: 600;
	font-family: var(--font-body);
	margin-bottom: 1rem;
}
.theme-product-details__list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-product-details__list li {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	display: flex;
	align-items: flex-start;
	overflow-wrap: break-word;
}
.theme-product-details__bullet {
	width: 0.375rem; /* w-1.5 */
	height: 0.375rem; /* h-1.5 */
	background-color: var(--color-accent);
	border-radius: 999px;
	margin-top: 0.5rem; /* mt-2 */
	margin-right: 0.75rem; /* mr-3 */
	flex-shrink: 0;
}

/* Hide any stray WooCommerce single-product chrome */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-tabs,
.single-product .related.products,
.single-product .upsells.products,
.single-product .woocommerce-notices-wrapper {
	display: none !important;
}

/* 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; }
.single-product .variations select {
	width: 100%;
	max-width: 20rem;
	height: var(--btn-height);
	border-radius: var(--btn-radius);
	border: 1px solid var(--color-border);
	padding: 0 1rem;
	background: var(--color-background);
}

.theme-related-products {
	padding: 5rem 0; /* py-20 */
	border-top: 1px solid var(--color-border);
}
.theme-related-products__heading {
	font-family: var(--font-display);
	font-size: 1.25rem; /* text-xl */
	font-weight: 700;
	margin-bottom: 2.5rem; /* mb-10 */
}
@media (min-width: 768px) {
	.theme-related-products__heading { font-size: 1.5rem; } /* md:text-2xl */
}

/* --------------------------------------------------------------------
 * SHOP ARCHIVE PAGE
 * ------------------------------------------------------------------ */

.theme-shop-archive .site-main,
.theme-shop-archive { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 4rem; }
.theme-shop-archive__header { margin-bottom: 2.5rem; }
.theme-shop-archive .page-title { font-size: 2.25rem; }

/* --------------------------------------------------------------------
 * PLAIN CONTENT PAGES / 404
 * ------------------------------------------------------------------ */

.theme-page .site-main, .theme-page { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
.theme-page__container { max-width: 60rem; }
.page-title { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; }

.theme-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding-top: var(--header-height); }
.theme-404__inner { text-align: center; }
.theme-404__code { font-size: 3rem; font-weight: 700; 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; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, black); }

/* --------------------------------------------------------------------
 * WOOCOMMERCE DEFAULT PAGES — header clearance (checkout, cart, account)
 * ------------------------------------------------------------------ */

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 4rem;
}

/* --------------------------------------------------------------------
 * WOOCOMMERCE CHECKOUT BLOCK (Section 13)
 * ------------------------------------------------------------------ */

body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .page-title { max-width: 80rem; margin: 0 auto 2rem; }

body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}

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,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 1px var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); }

/* --------------------------------------------------------------------
 * THANK YOU PAGE (Section 22.8)
 * ------------------------------------------------------------------ */

body.theme-thankyou-page { overflow-x: hidden; }

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	margin: 1.5rem 0;
	border-collapse: collapse;
}
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;
	word-break: break-word;
}
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-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: 1.5rem;
	background: var(--color-secondary);
	border-radius: var(--radius);
	margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; }

@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; }

/* --------------------------------------------------------------------
 * CUSTOMIZER MEDIA CONTROL (Section 22.3 rule 8)
 * ------------------------------------------------------------------ */
/* Loaded separately via customizer-controls.css — see that file. */
