/* ==========================================================================
   ScamShield Analytics — theme.css
   ========================================================================== */

:root {
	/* Design tokens — match source index.css (HSL → hex fallbacks) */
	--background: #fcfaf8;
	--foreground: #0e1b39;
	--primary: #5271ff;
	--primary-foreground: #ffffff;
	--secondary: #f7bf3b;
	--secondary-foreground: #0e1b39;
	--muted: #f4f1ec;
	--muted-foreground: #4e5974;
	--border: #dadee7;
	--destructive: #c91d1d;
	--surface-butter: #fdf2c3;
	--surface-blush: #fbe2da;
	--surface-mist: #deeff7;
	--surface-sage: #deede0;

	--radius: 1rem;
	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--color-button-text: var(--primary-foreground);
	--color-primary: var(--primary);
	--accent: var(--secondary);
	--accent-foreground: var(--secondary-foreground);
	--font-display: 'Roboto', system-ui, -apple-system, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--announcement-height: 33px;
	--header-nav-height: 6rem;
	--site-header-offset: calc(var(--announcement-height) + var(--header-nav-height));
	--admin-bar-offset: 0px;
	--header-height: var(--site-header-offset);
	--shadow-soft: 0 2px 4px rgba(15, 42, 61, 0.06);
	--shadow-elevated: 0 12px 28px rgba(15, 42, 61, 0.10);
	--transition-smooth: cubic-bezier(0.33, 0, 0.67, 1);
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 15px;
	letter-spacing: 0.01em;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	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; }
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.theme-product-card__image):not(.theme-carousel-image):not(.theme-product-detail__image) { max-width: 100%; height: auto; }
.cover-img, .theme-product-card__image, .services-carousel__image {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
input, textarea, select { font-family: inherit; font-size: inherit; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.theme-btn-primary, .theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-display);
	font-weight: var(--btn-font-weight);
	font-size: var(--btn-font-size);
	border-radius: 0.5rem;
	text-transform: none;
	transition: opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}
.theme-btn-pill { border-radius: var(--btn-radius); }
.theme-btn-primary {
	background-color: var(--primary);
	color: var(--primary-foreground);
	border: none;
}
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline {
	background-color: transparent;
	border: 1px solid var(--border);
	color: var(--foreground);
}
.theme-btn-outline:hover { background-color: var(--muted); }
.theme-round-btn {
	width: 2.75rem; height: 2.75rem;
	border-radius: 50%;
	border: 1px solid var(--border);
	background-color: var(--background);
	color: var(--foreground);
	display: inline-flex; align-items: center; justify-content: center;
	transition: background-color 0.2s ease;
}
.theme-round-btn:hover { background-color: var(--muted); }

/* ---------------------------------------------------------------------- */
/* Scroll reveal (Section 2.1)                                            */
/* ---------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-fade-up { opacity: 0; animation: theme-fade-up 0.8s var(--transition-smooth) forwards; }
@keyframes theme-fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

body.is-customizer .reveal-item,
body.is-customizer .reveal-fade-up {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-fade-up { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

.theme-eyebrow, .hero-section__eyebrow {
	font-size: 0.6875rem;
	font-family: var(--font-body);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: color-mix(in srgb, var(--primary) 70%, transparent);
}
.theme-title-accent {
	font-style: italic;
	font-weight: 300;
	color: inherit;
}
.about-section__heading .theme-title-accent {
	color: var(--primary, #5271ff);
}
.section-heading {
	font-family: var(--font-display);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
	:root { --header-nav-height: 7rem; }
}

body.admin-bar {
	--admin-bar-offset: 32px;
	--header-height: calc(var(--site-header-offset) + var(--admin-bar-offset));
}
@media screen and (max-width: 782px) {
	body.admin-bar { --admin-bar-offset: 46px; }
}

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: var(--admin-bar-offset);
	left: 0; right: 0;
	z-index: 50;
}
.site-header__announcement {
	background-color: var(--primary, #5271ff);
	color: var(--primary-foreground, #ffffff);
	text-align: center;
	padding: 0.5rem 1rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	line-height: 1.5;
}
.site-header__announcement-text,
.site-header__announcement-sep {
	display: inline;
	font: inherit;
	letter-spacing: inherit;
	text-transform: uppercase;
	color: inherit;
}
.site-header__announcement-link {
	display: inline;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: none;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.site-header__announcement-link:hover {
	text-decoration: none;
}

.site-header__nav {
	background-color: color-mix(in srgb, var(--background) 90%, transparent);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	transition: box-shadow 0.3s ease;
}
.site-header.is-solid .site-header__nav { box-shadow: var(--shadow-soft); }
.site-header__nav-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 6rem;
}
@media (min-width: 1024px) {
	.site-header__nav-row { height: 7rem; }
}

.site-header__nav-left,
.site-header__nav-right {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.site-header__nav-right { justify-content: flex-end; }
.site-header__logo {
	display: flex;
	align-items: center;
	justify-self: center;
	gap: 0.5rem;
}
.site-logo-img {
	height: var(--logo-height, 56px) !important;
	width: auto !important;
	display: block;
}
@media (min-width: 1024px) {
	.site-logo-img {
		height: calc(var(--logo-height, 56px) + 8px) !important;
	}
}
.site-logo-text { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; }

.theme-nav-list {
	display: none;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 1024px) {
	.theme-nav-list--desktop-left,
	.theme-nav-list--desktop-right {
		display: flex;
	}
}
.theme-nav-link,
.theme-nav-list a {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: color-mix(in srgb, var(--foreground) 70%, transparent);
	padding: 0.5rem 1rem;
	transition: color 0.2s ease;
	display: block;
}
.theme-nav-link:hover,
.theme-nav-list a:hover {
	color: var(--foreground);
}

.site-header__menu-toggle {
	display: inline-flex; padding: 0.5rem; border-radius: 50%; transition: background-color 0.2s ease;
}
.site-header__menu-toggle:hover { background-color: var(--muted); }
.site-header__menu-toggle .theme-icon--menu-close { display: none; }
.site-header__menu-toggle.is-open .theme-icon--menu-open { display: none; }
.site-header__menu-toggle.is-open .theme-icon--menu-close { display: block; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__cart-btn {
	position: relative; display: inline-flex; padding: 0.5rem; border-radius: 50%; transition: background-color 0.2s ease;
}
.site-header__cart-btn:hover { background-color: var(--muted); }
.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: 700;
	background-color: var(--secondary); color: var(--secondary-foreground);
	border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 40;
	pointer-events: none;
	visibility: hidden;
}
.mobile-menu.is-open {
	pointer-events: auto;
	visibility: visible;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

.mobile-menu__backdrop {
	position: absolute;
	inset: 0;
	top: calc(var(--site-header-offset) + var(--admin-bar-offset));
	background-color: color-mix(in srgb, var(--foreground) 28%, transparent);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity 0.28s var(--transition-smooth);
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }

.mobile-menu__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(var(--site-header-offset) + var(--admin-bar-offset));
	max-height: calc(100vh - var(--site-header-offset) - var(--admin-bar-offset));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background-color: color-mix(in srgb, var(--background) 96%, transparent);
	backdrop-filter: blur(20px);
	border-top: 1px solid var(--border);
	box-shadow: var(--shadow-elevated);
	transform: translateY(-12px);
	opacity: 0;
	transition:
		opacity 0.24s var(--transition-smooth),
		transform 0.28s var(--transition-smooth);
}
.mobile-menu.is-open .mobile-menu__panel {
	opacity: 1;
	transform: translateY(0);
}

body.mobile-menu-open { overflow: hidden; }

.mobile-menu__inner {
	padding: 1.25rem 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.mobile-menu__eyebrow {
	margin: 0 0 0.25rem;
	padding: 0 0.75rem;
	font-size: 0.6875rem;
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-foreground);
}

.mobile-menu__nav { flex: 1 1 auto; }

.mobile-menu .theme-nav-list,
.mobile-menu .theme-nav-list--mobile {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.mobile-menu .theme-nav-list li {
	opacity: 0;
	transform: translateY(-8px);
	transition:
		opacity 0.3s var(--transition-smooth),
		transform 0.3s var(--transition-smooth);
}
.mobile-menu.is-open .theme-nav-list li {
	opacity: 1;
	transform: translateY(0);
}
.mobile-menu.is-open .theme-nav-list li:nth-child(1) { transition-delay: 0.03s; }
.mobile-menu.is-open .theme-nav-list li:nth-child(2) { transition-delay: 0.06s; }
.mobile-menu.is-open .theme-nav-list li:nth-child(3) { transition-delay: 0.09s; }
.mobile-menu.is-open .theme-nav-list li:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open .theme-nav-list li:nth-child(5) { transition-delay: 0.15s; }

.mobile-menu .theme-nav-list li a,
.theme-nav-list--mobile li a {
	display: flex;
	align-items: center;
	width: 100%;
	padding: 0.75rem;
	font-size: 1.125rem;
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.3;
	color: var(--foreground);
	border-radius: calc(var(--radius) - 2px);
	transition: color 0.2s ease, background-color 0.2s ease;
}
.mobile-menu .theme-nav-list li a:hover,
.mobile-menu .theme-nav-list li a:focus-visible,
.theme-nav-list--mobile li a:hover,
.theme-nav-list--mobile li a:focus-visible {
	color: var(--primary);
	background-color: var(--accent);
	outline: none;
}
.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a {
	color: var(--primary);
	background-color: color-mix(in srgb, var(--primary) 10%, transparent);
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero-section {
	background-color: var(--background);
	scroll-margin-top: var(--header-height);
}
.hero-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	min-height: 600px;
}
@media (min-width: 1024px) { .hero-section__grid { grid-template-columns: 1.4fr 1fr; min-height: 680px; } }

.hero-section__media {
	position: relative; overflow: hidden;
	min-height: 380px;
	background-color: var(--foreground);
}
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__media-overlay {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to top right, color-mix(in srgb, var(--foreground) 45%, transparent), transparent 55%);
}

.hero-section__copy {
	display: flex; flex-direction: column; justify-content: center;
	background-color: var(--muted);
	padding: 4rem 2rem;
}
@media (min-width: 768px) { .hero-section__copy { padding: 4rem 3.5rem; } }
@media (min-width: 1024px) { .hero-section__copy { padding: 6rem 4rem; } }

.hero-section__eyebrow { display: block; margin-bottom: 1.25rem; }
.hero-section__title {
	font-family: var(--font-display);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.05;
	font-size: 2.25rem;
	color: var(--foreground, #0e1b39);
	margin: 0;
}
@media (min-width: 768px) { .hero-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 3.75rem; } }
.hero-section__title-line {
	display: block;
}
.hero-section__title-accent {
	display: inline-block;
	margin-top: 0.35rem;
	font-style: italic;
	font-weight: 300;
	color: color-mix(in srgb, var(--secondary-foreground, #0e1b39) 90%, transparent);
	background-color: var(--secondary, #f7bf3b);
	padding: 0.125rem 0.5rem 0;
	border-radius: 0.375rem;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	box-shadow: 0 2px 12px color-mix(in srgb, var(--secondary, #f7bf3b) 35%, transparent);
}
.hero-section__subtitle {
	font-size: 1rem; color: var(--muted-foreground); margin-top: 1.5rem; max-width: 28rem; line-height: 1.6;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }
.hero-section__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.25rem;
}
.hero-section__actions .theme-btn-primary,
.hero-section__actions .theme-btn-outline {
	height: 3rem;
	padding: 0 1.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	border-radius: 9999px;
}
.hero-section__actions .theme-btn-primary:hover {
	opacity: 1;
	background-color: color-mix(in srgb, var(--primary, #5271ff) 90%, transparent);
}
.hero-section__actions .theme-btn-outline {
	background-color: transparent;
	border: 1px solid color-mix(in srgb, var(--foreground, #0e1b39) 20%, transparent);
	color: var(--foreground, #0e1b39);
}
.hero-section__actions .theme-btn-outline:hover {
	background-color: var(--foreground, #0e1b39);
	border-color: var(--foreground, #0e1b39);
	color: var(--background, #fcfaf8);
}
.hero-section__actions .theme-btn-primary .theme-icon {
	margin-left: 0.125rem;
}
.hero-section__note { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 1.5rem; }

/* ---------------------------------------------------------------------- */
/* Best seller popup                                                       */
/* ---------------------------------------------------------------------- */
.theme-bestseller-popup {
	position: fixed;
	left: 1rem; right: 1rem; bottom: 1.5rem;
	z-index: 40;
	max-width: 24rem;
	display: flex; gap: 0.75rem; align-items: stretch;
	background-color: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(12px);
	border: 1px solid var(--border);
	border-radius: 1rem;
	box-shadow: var(--shadow-elevated);
	padding: 0.75rem 2.25rem 0.75rem 0.75rem;
	opacity: 0; transform: translateY(24px) scale(0.96);
	visibility: hidden;
	transition: opacity 0.45s var(--transition-smooth), transform 0.45s var(--transition-smooth), visibility 0.45s;
}
.theme-bestseller-popup.is-visible { opacity: 1; transform: translateY(0) scale(1); visibility: visible; }
@media (min-width: 640px) { .theme-bestseller-popup { left: 1.5rem; right: auto; bottom: 2rem; } }
.theme-bestseller-popup__close {
	position: absolute; top: 0.5rem; right: 0.5rem; padding: 0.25rem; border-radius: 50%; color: var(--muted-foreground);
}
.theme-bestseller-popup__close:hover { color: var(--foreground); background-color: var(--muted); }
.theme-bestseller-popup__image img { width: 5rem; height: 5rem; border-radius: 0.75rem; object-fit: cover; }
.theme-bestseller-popup__body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 0.125rem 0; }
.theme-bestseller-popup__badge {
	display: inline-flex; align-items: center; gap: 0.25rem;
	background-color: color-mix(in srgb, var(--primary) 10%, transparent);
	color: var(--primary);
	font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em;
	padding: 0.125rem 0.5rem; border-radius: 999px; margin-bottom: 0.375rem;
}
.theme-bestseller-popup__title {
	display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; line-height: 1.3;
	overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.theme-bestseller-popup__title:hover { color: var(--primary); }
.theme-bestseller-popup__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.375rem; }
.theme-bestseller-popup__price { font-family: var(--font-display); font-weight: 900; font-size: 1rem; }
.theme-bestseller-popup__link { font-size: 0.75rem; font-family: var(--font-display); font-weight: 600; color: var(--primary); }
.theme-bestseller-popup__link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------- */
/* About section                                                           */
/* ---------------------------------------------------------------------- */
.about-section, .services-section, .shop-section, .owner-section, .faq-section, .contact-section {
	scroll-margin-top: 6rem;
}
.about-section { background-color: var(--background); }
.about-section__inner {
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.about-section__inner {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}
}
.about-section__intro { max-width: 48rem; margin: 0 auto; text-align: center; margin-bottom: 3.5rem; }
.about-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
.about-section__text { font-size: 1rem; color: var(--muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .about-section__text { font-size: 1.125rem; } }

.about-section__grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.25rem; max-width: 64rem; margin: 0 auto;
}
@media (min-width: 768px) { .about-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.about-card {
	border-radius: 1rem; padding: 1.75rem;
	transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.about-card--surface-butter { background-color: var(--surface-butter); }
.about-card--surface-blush { background-color: var(--surface-blush); }
.about-card--surface-mist { background-color: var(--surface-mist); }
.about-card--surface-sage { background-color: var(--surface-sage); }
.about-card__icon { color: var(--foreground); margin-bottom: 1.25rem; }
.about-card__title { font-weight: 700; font-size: 1.125rem; color: var(--foreground); margin-bottom: 0.5rem; }
.about-card__desc { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; }
.about-section__cta { margin-top: 3rem; display: flex; justify-content: center; }

/* ---------------------------------------------------------------------- */
/* Services carousel                                                       */
/* ---------------------------------------------------------------------- */
.services-section {
	background-color: var(--muted);
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.services-section {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}
}
.services-section__intro { max-width: 48rem; margin: 0 auto; text-align: center; margin-bottom: 4rem; }
.services-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }

.services-carousel {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow: hidden;
}
.services-carousel__track {
	display: flex;
	align-items: center;
	transition: transform 0.5s var(--transition-smooth);
	will-change: transform;
}
.services-carousel__slide {
	flex: 0 0 88vw;
	width: 88vw;
	max-width: 88vw;
	padding: 0 0.5rem;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	.services-carousel__slide {
		flex-basis: min(72rem, 86vw);
		width: min(72rem, 86vw);
		max-width: min(72rem, 86vw);
	}
}

.services-carousel__slide-inner {
	transition: opacity 0.5s ease, transform 0.5s ease;
	opacity: 0.6;
	transform: scale(0.88);
}
.services-carousel__slide.is-active .services-carousel__slide-inner {
	opacity: 1;
	transform: scale(1);
}

.services-carousel__card {
	position: relative; border-radius: 1.5rem; overflow: hidden;
	aspect-ratio: 16 / 10;
	background-color: var(--foreground);
}
.services-carousel__gradient {
	position: absolute; inset-inline: 0; bottom: 0; height: 40%;
	background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 75%, transparent), color-mix(in srgb, var(--foreground) 35%, transparent), transparent);
	pointer-events: none;
}
.services-carousel__info-card {
	display: none;
	position: absolute; top: 1.5rem; left: 1.5rem;
	max-width: 340px;
	background-color: var(--background);
	border-radius: 1rem;
	box-shadow: var(--shadow-elevated);
	padding: 1.5rem;
}
@media (min-width: 768px) { .services-carousel__info-card { display: block; } }

.services-carousel__info-mobile {
	display: block;
	margin-top: 1.5rem;
	padding: 0 0.5rem;
}
.services-carousel__info-mobile h3 {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.25rem;
	color: var(--foreground);
	margin-bottom: 0.5rem;
	line-height: 1.2;
}
.services-carousel__info-mobile p {
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--muted-foreground);
	line-height: 1.6;
	margin-bottom: 1rem;
}
@media (min-width: 768px) {
	.services-carousel__info-mobile { display: none; }
}

.services-carousel__icon { color: var(--primary); margin-bottom: 0.75rem; }
.services-carousel__info-card h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; color: var(--foreground); margin-bottom: 0.5rem; line-height: 1.2; }
.services-carousel__info-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; margin-bottom: 1rem; }
.services-carousel__link { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; color: var(--primary); }
.services-carousel__tagline {
	position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
	font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; line-height: 1.05;
	color: #fff; max-width: 48rem;
	text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
@media (min-width: 768px) { .services-carousel__tagline { font-size: 2.25rem; left: 2.5rem; right: 2.5rem; bottom: 2rem; } }
@media (min-width: 1024px) { .services-carousel__tagline { font-size: 3rem; } }

.services-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

/* ---------------------------------------------------------------------- */
/* Shop section + product grid/cards                                      */
/* ---------------------------------------------------------------------- */
.shop-section { background-color: var(--background); padding: 5rem 0; }
@media (min-width: 768px) { .shop-section { padding: 7rem 0; } }
.shop-section__header {
	display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; max-width: 72rem; margin-inline: auto;
}
@media (min-width: 768px) { .shop-section__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-section__count { font-size: 0.875rem; color: var(--muted-foreground); max-width: 20rem; }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
	align-items: stretch;
	max-width: 72rem;
	margin: 0 auto;
}
.theme-featured-products .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .theme-featured-products .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-featured-products .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex; flex-direction: column; height: 100%; width: 100%;
	border-radius: 1rem; overflow: hidden;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-product-card:hover { transform: translateY(-4px); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 1rem;
}
.theme-product-card__image-wrapper--surface-butter { background-color: var(--surface-butter); }
.theme-product-card__image-wrapper--surface-blush { background-color: var(--surface-blush); }
.theme-product-card__image-wrapper--surface-mist { background-color: var(--surface-mist); }
.theme-product-card__image-wrapper--surface-sage { background-color: var(--surface-sage); }
.theme-product-card__image { transition: transform 0.5s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.05); }

.theme-product-card__badges { position: absolute; top: 1rem; left: 1rem; display: flex; flex-direction: column; gap: 0.375rem; z-index: 1; }
.theme-badge {
	padding: 0.125rem 0.625rem; font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
	background-color: color-mix(in srgb, var(--background) 80%, transparent);
	backdrop-filter: blur(6px);
	color: var(--foreground);
	border-radius: 999px;
}
.theme-product-card__quick-add {
	position: absolute; inset-inline: 0; bottom: 0; padding: 1rem;
	opacity: 0; transition: opacity 0.3s ease;
	z-index: 3;
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
.theme-product-card__quick-add .add_to_cart_button {
	pointer-events: auto;
	width: 100%;
}

.theme-product-card__info { flex: 1; display: flex; flex-direction: column; padding: 1rem 0.25rem 0; min-width: 0; }
.theme-product-card__title {
	font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--foreground);
	overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.theme-product-card:hover .theme-product-card__title { text-decoration: underline; text-underline-offset: 4px; }
.theme-product-card__price { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 1rem; color: var(--foreground); margin-top: 0.25rem; }
.theme-product-card__price .woocommerce-Price-amount { font-style: italic; }
.theme-product-card__actions { margin-top: auto; padding-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-pill-link {
	pointer-events: auto;
	display: inline-flex; align-items: center; gap: 0.25rem;
	padding: 0.375rem 0.75rem; border-radius: 999px; border: 1px solid var(--border);
	font-size: 0.6875rem; font-family: var(--font-display); font-weight: 700;
	transition: background-color 0.2s ease;
}
.theme-pill-link:hover { background-color: var(--muted); }

.theme-stock-badge--out {
	display: inline-block; margin-top: 0.5rem;
	font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
	color: var(--destructive);
}

/* Card compact button variant */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 2.5rem !important;
	padding: 0 1rem !important;
	border-radius: 999px !important;
	font-size: 0.75rem !important;
}

.theme-shop-empty { text-align: center; padding: 4rem 0; color: var(--muted-foreground); }

/* ---------------------------------------------------------------------- */
/* Owner / founder section                                                 */
/* ---------------------------------------------------------------------- */
.owner-section { background-color: var(--surface-mist); padding: 5rem 0; }
@media (min-width: 768px) { .owner-section { padding: 7rem 0; } }
.owner-section__inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.owner-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .owner-section__heading { font-size: 3rem; } }
.owner-section__body { display: flex; flex-direction: column; gap: 1rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; text-align: left; max-width: 40rem; margin: 0 auto; }
.owner-section__quote { font-size: 1.125rem; font-style: italic; font-weight: 300; color: var(--foreground); }
.owner-section__linkedin {
	display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem;
	font-size: 0.875rem; font-family: var(--font-display); font-weight: 600;
	border-bottom: 2px solid var(--foreground); padding-bottom: 0.125rem;
	transition: gap 0.2s ease;
}
.owner-section__linkedin:hover { gap: 0.75rem; }

/* ---------------------------------------------------------------------- */
/* FAQ accordion                                                           */
/* ---------------------------------------------------------------------- */
.faq-section { background-color: var(--background); padding: 5rem 0; }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-section__inner { max-width: 48rem; margin: 0 auto; }
.faq-section__header { text-align: center; margin-bottom: 3rem; }
.faq-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }

.theme-accordion__item { border-bottom: 1px solid var(--border); }
.theme-accordion__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	padding: 1.5rem 0; text-align: left;
	font-family: var(--font-display); font-weight: 700; font-size: 1rem;
	color: var(--foreground);
}
@media (min-width: 768px) { .theme-accordion__trigger { font-size: 1.125rem; } }
.theme-accordion__icon { transition: transform 0.25s ease; flex-shrink: 0; }
.theme-accordion__item.is-open .theme-accordion__icon { transform: rotate(45deg); }
.theme-accordion__panel { overflow: hidden; }
.theme-accordion__panel p {
	font-size: 1rem; color: var(--muted-foreground); line-height: 1.7; padding-bottom: 1.5rem; max-width: 42rem;
}

/* ---------------------------------------------------------------------- */
/* Contact section + modal                                                 */
/* ---------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; background-color: var(--background); padding: 6rem 0; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0; } }
.contact-section__glow {
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse at center, color-mix(in srgb, var(--primary) 55%, transparent) 0%, color-mix(in srgb, var(--primary) 25%, transparent) 40%, transparent 72%);
}
.contact-section__inner { position: relative; max-width: 42rem; margin: 0 auto; text-align: center; }
.contact-section__title { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-section__title { font-size: 3.75rem; } }
.contact-section__subtitle { margin-top: 1.5rem; font-size: 1rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
@media (min-width: 768px) { .contact-section__subtitle { font-size: 1.125rem; } }
.contact-section__open-btn { margin-top: 2.5rem; height: 3rem; padding: 0 2rem; font-size: 1rem; }

.theme-modal-overlay {
	position: fixed; inset: 0; z-index: 60;
	background-color: color-mix(in srgb, var(--foreground) 20%, transparent);
	backdrop-filter: blur(4px);
	opacity: 0; transition: opacity 0.25s ease;
}
.theme-modal-overlay.is-open { opacity: 1; }
.theme-modal {
	position: fixed; top: 50%; left: 50%;
	transform: translate(-50%, -48%) scale(0.96);
	z-index: 61;
	width: min(90vw, 32rem);
	max-height: 88vh;
	overflow-y: auto;
	background-color: var(--background);
	border-radius: 1.5rem;
	box-shadow: var(--shadow-elevated);
	padding: 2rem;
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
.theme-modal.is-open { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.theme-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.375rem; border-radius: 50%; color: var(--muted-foreground); }
.theme-modal__close:hover { background-color: var(--muted); color: var(--foreground); }
.theme-modal__header h3 { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-modal__header h3 { font-size: 1.875rem; } }
.theme-modal__header p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.theme-modal__success { text-align: center; padding: 2.5rem 0; }
.theme-modal__success-icon {
	width: 3rem; height: 3rem; background-color: var(--primary); color: var(--primary-foreground);
	border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-modal__success-title { font-family: var(--font-display); font-weight: 700; }
.theme-modal__success-desc { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.25rem; }

.theme-contact-form { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 480px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__input, .theme-contact-form__textarea {
	width: 100%; border: none; background-color: var(--muted); color: var(--foreground);
	padding: 0.875rem 1.25rem; border-radius: 999px; font-size: 0.875rem;
}
.theme-contact-form__textarea { border-radius: 1.5rem; resize: none; }
.theme-contact-form__input::placeholder, .theme-contact-form__textarea::placeholder { color: var(--muted-foreground); }
.theme-contact-form__input:focus, .theme-contact-form__textarea:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 40%, transparent);
}
.theme-contact-form__submit { width: 100%; height: 3rem; }
.theme-modal__email-note { text-align: center; font-size: 0.75rem; color: var(--muted-foreground); margin-top: 1rem; }
.theme-modal__email-note a { text-decoration: underline; text-underline-offset: 2px; color: var(--foreground); }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer {
	background-color: var(--muted, #f4f1ec);
	color: var(--foreground, #0e1b39);
	border-top: 1px solid var(--border, #dadee7);
}
.site-footer__inner {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
}
@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: 2fr 1fr 1fr;
		gap: 4rem;
	}
}
.site-footer__brand {
	grid-column: span 2;
}
@media (min-width: 768px) {
	.site-footer__brand {
		grid-column: span 1;
	}
}
.site-footer__brand .site-logo-img {
	height: 3.5rem !important;
	width: auto !important;
}
.site-footer__brand .site-logo-text {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.25rem;
}
.site-footer__tagline {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--muted-foreground, #4e5974);
	margin-top: 0.75rem;
	max-width: 20rem;
	line-height: 1.625;
}
.site-footer__links h4,
.site-footer__contact h4 {
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--foreground, #0e1b39) 80%, transparent);
	margin: 0 0 1rem;
}
.site-footer__link-list {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}
.site-footer__link-list li a,
.site-footer__link-list li span {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--muted-foreground, #4e5974);
	transition: color 0.2s ease;
}
.site-footer__link-list li a:hover {
	color: var(--foreground, #0e1b39);
}

.site-footer__bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border, #dadee7);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
@media (min-width: 640px) {
	.site-footer__bottom {
		flex-direction: row;
		align-items: center;
	}
}
.site-footer__copyright,
.site-footer__credit {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: var(--muted-foreground, #4e5974);
	margin: 0;
}
.site-footer__credit a {
	color: inherit;
	text-decoration: underline;
	transition: color 0.2s ease;
}
.site-footer__credit a:hover {
	color: var(--foreground, #0e1b39);
}
.site-footer__disclaimer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border, #dadee7);
}
.site-footer__disclaimer p {
	font-family: var(--font-body);
	font-size: 0.625rem;
	color: color-mix(in srgb, var(--muted-foreground, #4e5974) 70%, transparent);
	line-height: 1.625;
	max-width: 56rem;
	margin: 0 auto;
	text-align: center;
}

/* ---------------------------------------------------------------------- */
/* 404                                                                     */
/* ---------------------------------------------------------------------- */
.theme-404-main { min-height: 70vh; display: flex; align-items: center; justify-content: center; background-color: var(--muted); }
.theme-404__content { text-align: center; }
.theme-404__code { font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }
.theme-404__message { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--primary); text-decoration: underline; }
.theme-404__link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ---------------------------------------------------------------------- */
/* Generic page/back link                                                  */
/* ---------------------------------------------------------------------- */
.theme-page-main, .theme-generic-main { padding-top: calc(var(--header-height) + 2rem); }
body.theme-no-hero .site-main, body.theme-no-hero .theme-page-main { padding-top: calc(var(--header-height) + 2rem); }
body.home .theme-home {
	padding-top: var(--header-height);
}
.page-title { font-size: 2rem; font-weight: 900; margin-bottom: 2rem; }

.theme-back-link-row { padding: 1.5rem 0; }
.theme-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-family: var(--font-body); color: var(--muted-foreground); transition: color 0.2s ease; }
.theme-back-link:hover { color: var(--foreground); }

/* ==========================================================================
   Single product — mirrors src/pages/ProductDetail.tsx
   ========================================================================== */
body.theme-no-hero .site-main.single-product-main,
body.single-product .site-main.single-product-main {
	padding-top: calc(var(--header-height) + 1rem) !important;
	padding-bottom: 0;
}

body.single-product .site-main,
body.theme-product-detail-page .site-main,
body.single-product #primary,
body.theme-product-detail-page #primary {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

.theme-product-detail__back {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.theme-product-detail__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 5rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-detail__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 4rem;
	}
}

.theme-product-detail__media,
.theme-product-detail__info {
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) {
	.theme-product-detail__info {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}
}

.theme-product-detail__image-frame {
	background-color: var(--muted);
	border-radius: var(--radius);
	overflow: hidden;
}
.theme-product-detail__image,
#product-main-img.theme-product-detail__image {
	position: static !important;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
}

.theme-product-detail__category {
	display: inline-block;
	font-size: 0.75rem;
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--primary);
}
.theme-product-detail__format {
	margin-left: 0.75rem;
	font-size: 0.75rem;
	font-family: var(--font-body);
	color: var(--muted-foreground);
	border: 1px solid var(--border);
	padding: 0.125rem 0.5rem;
	border-radius: calc(var(--radius) - 2px);
}
.theme-product-detail__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.25;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) {
	.theme-product-detail__title { font-size: 1.875rem; }
}
.theme-product-detail__price {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.875rem;
	margin-bottom: 1.5rem;
	color: var(--foreground);
}
.theme-product-detail__currency {
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--muted-foreground);
	margin-left: 0.25rem;
}
.theme-product-detail__sold-out {
	color: var(--destructive);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}
.theme-product-detail__description {
	font-family: var(--font-body);
	color: var(--muted-foreground);
	line-height: 1.625;
	margin-bottom: 2rem;
}

.theme-product-detail__purchase {
	display: flex;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 1rem;
	margin-bottom: 2rem;
}
@media (max-width: 480px) {
	.theme-product-detail__purchase { flex-wrap: wrap; }
}

.theme-product-detail__qty {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) - 2px);
	overflow: hidden;
	background-color: var(--background);
}
.theme-product-detail__qty-btn {
	padding: 0.75rem 1rem;
	transition: background-color 0.2s ease;
}
.theme-product-detail__qty-btn:hover { background-color: var(--accent); }
.theme-product-detail__qty-value {
	padding: 0.75rem 1rem;
	min-width: 3rem;
	text-align: center;
	font-family: var(--font-body);
}
.theme-product-detail__purchase .theme-qty-input { display: none !important; }

.theme-product-detail__atc {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 2.75rem;
	padding: 0.75rem 2rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background-color: var(--primary);
	color: var(--primary-foreground);
	border: none;
	border-radius: calc(var(--radius) - 2px);
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 700;
	text-transform: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}
.theme-product-detail__atc:hover {
	opacity: 0.9;
	color: var(--primary-foreground);
}
.theme-product-detail__atc.is-added {
	opacity: 0.85;
	pointer-events: none;
}
.theme-product-detail__atc--disabled {
	cursor: not-allowed;
	opacity: 0.4;
	pointer-events: none;
}
.theme-product-detail__atc.is-loading,
.theme-product-detail__atc.theme-btn-loading {
	opacity: 0.6;
	pointer-events: none;
	cursor: wait;
}

.theme-product-detail__canva { margin-bottom: 2rem; }
.theme-product-detail__canva-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid var(--border);
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.875rem;
	transition: background-color 0.2s ease;
}
.theme-product-detail__canva-btn:hover { background-color: var(--accent); }

.theme-product-detail__delivery {
	background-color: var(--muted);
	border-radius: calc(var(--radius) - 2px);
	padding: 1rem;
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.theme-product-detail__delivery-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.875rem;
}
.theme-product-detail__delivery-title svg { color: var(--primary); flex-shrink: 0; }
.theme-product-detail__delivery-desc {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--muted-foreground);
}
.theme-product-detail__delivery-desc svg {
	margin-top: 0.125rem;
	flex-shrink: 0;
}

.theme-product-detail__included {
	border-top: 1px solid var(--border);
	padding-top: 2rem;
}
.theme-product-detail__included-title {
	font-size: 0.875rem;
	font-family: var(--font-display);
	font-weight: 600;
	margin-bottom: 1rem;
}
.theme-product-detail__included-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.theme-product-detail__included-item {
	display: flex;
	align-items: flex-start;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--muted-foreground);
}
.theme-product-detail__bullet {
	width: 0.375rem;
	height: 0.375rem;
	background-color: var(--primary);
	border-radius: 50%;
	margin-top: 0.5rem;
	margin-right: 0.75rem;
	flex-shrink: 0;
}

/* Suppress all default WooCommerce single-product chrome */
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-tabs,
body.single-product .related.products,
body.single-product .woocommerce-breadcrumb,
body.single-product .product_meta,
body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-notices-wrapper,
body.theme-single-product-page .woocommerce-product-gallery,
body.theme-single-product-page .woocommerce-tabs,
body.theme-single-product-page .related.products,
body.theme-single-product-page .woocommerce-breadcrumb,
body.theme-single-product-page .product_meta {
	display: none !important;
}

body.single-product .single-product-main .woocommerce-message,
body.single-product .single-product-main .woocommerce-info,
body.single-product a.added_to_cart.wc-forward {
	display: none !important;
}

/* Shop cards only — pill ATC (never bleed into single product) */
.theme-product-card .add_to_cart_button.button,
.theme-product-card a.add_to_cart_button,
.theme-shop-archive .add_to_cart_button.button,
.theme-shop-archive a.add_to_cart_button,
.theme-product-card .ajax_add_to_cart,
.theme-shop-archive .ajax_add_to_cart {
	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;
}

/* ==========================================================================
   WooCommerce — Shop archive
   ========================================================================== */
.theme-shop-archive { padding-top: calc(var(--header-height) + 1rem); }
.theme-shop-archive__title { font-size: 2rem; font-weight: 900; margin-bottom: 2rem; }

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-radius: 0.5rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
	background-color: var(--muted); color: var(--foreground); list-style: none;
}
.woocommerce-error { background-color: color-mix(in srgb, var(--destructive) 10%, transparent); color: var(--destructive); }

/* ==========================================================================
   Side cart drawer + overlay (Section 12)
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 55;
	background-color: color-mix(in srgb, var(--foreground) 20%, transparent);
	backdrop-filter: blur(4px);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s 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: 28rem;
	z-index: 56;
	background-color: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(20px);
	box-shadow: var(--shadow-elevated);
	border-left: 1px solid var(--border);
	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(--border); }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 0.5rem; }
.theme-cart-drawer__close:hover { background-color: var(--muted); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty svg { color: var(--muted-foreground); }
.theme-cart-drawer__empty p { color: var(--muted-foreground); }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; border-radius: 0.5rem; overflow: hidden; background-color: var(--muted); }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__title { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__title:hover { color: var(--primary); }
.theme-cart-item__price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-qty-btn { padding: 0.25rem; border-radius: 0.375rem; }
.theme-qty-btn:hover { background-color: var(--muted); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-item__remove:hover { color: var(--foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__delivery-note { font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* ==========================================================================
   WooCommerce Checkout Block
   ========================================================================== */
body.woocommerce-checkout {
	--checkout-max-width: 80rem;
	--checkout-gap: 1.5rem;
	--checkout-sidebar-min: 360px;
	--checkout-sidebar-max: 400px;
}

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-page-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
	max-width: 100%;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Parents must not compress the checkout block */
body.woocommerce-checkout .theme-page-container,
body.woocommerce-checkout .theme-page-container.container-wide,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout article,
body.woocommerce-checkout #page-content {
	max-width: 100% !important;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}
body.woocommerce-checkout .theme-page-container.container-wide {
	padding-left: 0;
	padding-right: 0;
}

/* Checkout block shell — centered max-width */
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content > .wc-block-checkout,
.entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout,
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: var(--checkout-max-width);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .entry-content > .wc-block-checkout,
	.entry-content > .wp-block-woocommerce-checkout,
	.entry-content > .wc-block-checkout,
	body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .entry-content .wc-block-checkout,
	.entry-content .wp-block-woocommerce-checkout,
	.entry-content .wc-block-checkout {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Store notices above checkout — same width/alignment as checkout */
body.woocommerce-checkout .entry-content > .wc-block-components-notices,
.entry-content > .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .entry-content > .wc-block-components-notices,
	.entry-content > .wc-block-components-notices {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Two-column layout — grid lives on sidebar-layout, not the outer shell */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout-sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--checkout-gap);
	align-items: start;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout {
		grid-template-columns: minmax(0, 1fr) minmax(var(--checkout-sidebar-min), var(--checkout-sidebar-max));
	}
}

/* Notices/banners inside layout — full width row */
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notice-banner,
.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notices,
.entry-content .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
.entry-content .wc-block-checkout-sidebar-layout > .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	order: 1;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
.entry-content .wc-block-checkout__main,
.entry-content .wp-block-woocommerce-checkout-fields-block {
	order: 2;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	order: 3;
	width: 100%;
	min-width: var(--checkout-sidebar-min);
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--muted);
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: 100% !important;
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 30%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-text-input input { padding: revert; }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }

/* ==========================================================================
   Other WooCommerce pages — width/alignment parity (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

/* ==========================================================================
   Thank-you page (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: calc(var(--header-height) + 1rem); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-weight: 900; 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; margin: 0 0 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
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(--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;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--border); border-radius: 0.5rem; padding: 1rem; font-style: normal;
}
@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; max-width: none; }
}
