/* ==========================================================================
   Doughlirium — theme.css
   Single stylesheet for all visual styling (Section 10 — no CSS in .php files).
   ========================================================================== */

:root {
	--dgh-background: #fff7f0;
	--dgh-foreground: #47301f;
	--dgh-primary: #401d72;
	--dgh-primary_foreground: #fff7f0;
	--dgh-accent: #d6af5c;
	--dgh-rosa: #ff70b5;
	--dgh-teal: #50aad7;
	--dgh-nopal: #8b5d3c;
	--dgh-muted_foreground: #745e4e;
	--dgh-border: #e2d6ca;
	--dgh-surface_deep: #2d1c40;
	--dgh-butter: #f7ebde;

	--color-background: var(--dgh-background);
	--color-foreground: var(--dgh-foreground);
	--color-primary: var(--dgh-primary);
	--color-button-text: var(--dgh-primary_foreground);
	--color-accent: var(--dgh-accent);
	--color-rosa: var(--dgh-rosa);
	--color-teal: var(--dgh-teal);
	--color-nopal: var(--dgh-nopal);
	--color-muted: var(--dgh-muted_foreground);
	--color-border: var(--dgh-border);
	--color-surface-deep: var(--dgh-surface_deep);
	--color-butter: var(--dgh-butter);
	--color-surface: color-mix(in srgb, var(--dgh-background) 92%, var(--dgh-foreground) 8%);

	--font-display: 'Playfair Display', serif;
	--font-body: 'Lato', sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;
	--section-padding: 2rem;

	--btn-radius: 0.375rem;
	--btn-radius-cta: 0;
	--btn-radius-pill: 999px;
	--btn-height: 2.75rem;
	--btn-padding: 1rem 2.25rem;
	--btn-font-size: 0.6875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;

	--shadow-soft: 0 4px 20px -4px rgb(45 28 64 / 0.10);
	--shadow-elevated: 0 8px 40px -8px rgb(45 28 64 / 0.22);

	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
	--logo-height: 56px;
	--header-height: 80px;
	--checkout-gap: 2rem;
}

/* --------------------------------------------------------------------- *
 * Reset / base
 * --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.theme-product-card__img):not(.theme-owners__img):not(.theme-celebrations__img):not(.theme-collection__tile-img):not(.theme-gallery__img):not(.theme-services__img):not(.hero-bg-img):not(.theme-cart-drawer__item-img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-card__img,
.theme-owners__img,
.theme-celebrations__img,
.theme-collection__tile-img,
.theme-gallery__img,
.theme-services__img,
.theme-cart-drawer__item-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a[href], button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"], label[for], select, summary {
	cursor: pointer;
}
button:disabled, input:disabled, [aria-disabled="true"] { cursor: not-allowed; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container-wide {
	width: 100%;
	max-width: 84rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.theme-divider { height: 1px; background: color-mix(in srgb, var(--color-nopal) 20%, transparent); max-width: 64rem; margin: 0 auto; }

.scroll-mt-anchor { scroll-margin-top: 6rem; }

/* WordPress admin bar — keep sticky header and drawers below the toolbar */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .scroll-mt-anchor { scroll-margin-top: calc(6rem + 32px); }
body.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .scroll-mt-anchor { scroll-margin-top: calc(6rem + 46px); }
	body.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}

.theme-section { background: var(--color-background); }
.theme-collection > .container-wide,
.theme-featured > .container-wide,
.theme-shop > .container-wide {
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
	.theme-collection > .container-wide,
	.theme-featured > .container-wide,
	.theme-shop > .container-wide {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.section-heading { font-family: var(--font-display); font-weight: 400; }

.theme-kicker { display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 0.75rem; }
.theme-kicker--teal { color: var(--color-teal); }
.theme-kicker--rosa { color: var(--color-rosa); }
.theme-kicker--marigold { color: var(--color-accent); }
.theme-kicker--bold { font-weight: 700; }

.link-underline, .link-underline-static { position: relative; display: inline-block; cursor: pointer; }
.link-underline::after, .link-underline-static::after {
	content: '';
	position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
	background: currentColor; transform-origin: left; transition: transform .3s;
}
.link-underline::after { transform: scaleX(0); }
.link-underline:hover::after { transform: scaleX(1); }
.link-underline-static::after { transform: scaleX(1); }
.theme-text-link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); cursor: pointer; }

/* --------------------------------------------------------------------- *
 * Animation / reveal system (Section 2.1)
 * --------------------------------------------------------------------- */
@keyframes dgh-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dgh-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.reveal-up, .reveal-fade, .reveal-item {
	opacity: 0;
	transition: opacity var(--reveal-duration, 0.7s) var(--transition-smooth) var(--reveal-delay, 0s),
		transform var(--reveal-duration, 0.7s) var(--transition-smooth) var(--reveal-delay, 0s);
}
.reveal-up { transform: translateY(32px); }
.reveal-item { transform: translateY(24px) scale(0.98); }
.reveal-fade { transform: none; }
.reveal-up.is-visible, .reveal-fade.is-visible, .reveal-item.is-visible { opacity: 1; transform: none; }

body.is-customizer .reveal-up,
body.is-customizer .reveal-fade,
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-up, .reveal-fade, .reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Above-the-fold hero entrance — plays automatically on load, not scroll-triggered. */
.theme-hero-animate {
	opacity: 0;
	animation: dgh-hero-in var(--reveal-duration, 0.7s) var(--transition-smooth) var(--reveal-delay, 0s) forwards;
}
@keyframes dgh-hero-in {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: translateY(0); }
}
body.is-customizer .theme-hero-animate { opacity: 1 !important; transform: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
	.theme-hero-animate { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------- *
 * Announcement bar
 * --------------------------------------------------------------------- */
.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); margin: 0; }
.theme-announcement-bar__close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; color: inherit; cursor: pointer;
}
.theme-announcement-bar__close:hover { opacity: 1; }

/* --------------------------------------------------------------------- *
 * Header
 * --------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; position: relative; }
.site-header__brand { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--color-primary); }
.site-header__brand-text { display: none; flex-direction: column; line-height: 1; }
@media (min-width: 640px) { .site-header__brand-text { display: flex; } }
.site-header__brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; color: var(--color-primary); }
.site-header__brand-tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted); font-family: var(--font-body); margin-top: 0.25rem; }

.site-header__menu-desktop { display: none; position: absolute; left: 50%; transform: translateX(-50%); }
@media (min-width: 1024px) { .site-header__menu-desktop { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-link {
	font-size: 12px; font-family: var(--font-display); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
	cursor: pointer; transition: color .3s;
}

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__icon-btn { position: relative; padding: 0.5rem; transition: opacity .2s; cursor: pointer; }
.site-header__icon-btn:hover { opacity: .6; }
.theme-search-trigger { display: none; }
@media (min-width: 768px) { .theme-search-trigger { display: inline-flex; } }
.site-header__menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.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: 12px; font-weight: 500; background: var(--color-primary); color: var(--color-button-text);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.site-header__menu-toggle .theme-icon-close { display: none; }
.site-header__menu-toggle.is-open .theme-icon-menu { display: none; }
.site-header__menu-toggle.is-open .theme-icon-close { display: block; }

.site-header__menu-mobile { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.site-header__menu-mobile.is-open { display: block; animation: dgh-fade-in .3s ease forwards; }
.site-header__menu-mobile .theme-nav-list,
.theme-nav-list--mobile { flex-direction: column; align-items: flex-start; gap: 1rem; }
.site-header__menu-mobile .theme-nav-link,
.theme-nav-list--mobile .theme-nav-link { font-size: 14px; padding: 0.5rem 0; }

/* --------------------------------------------------------------------- *
 * Buttons
 * --------------------------------------------------------------------- */
.theme-btn-primary, .theme-btn-hero, .theme-btn-dark, .theme-btn-rosa, .theme-btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	font-family: var(--font-display); font-size: var(--btn-font-size); font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing); text-transform: var(--btn-text-transform);
	padding: var(--btn-padding); min-height: var(--btn-height); border-radius: var(--btn-radius-cta);
	transition: opacity .2s, background-color .2s, color .2s, border-color .2s; cursor: pointer;
}
.theme-btn-primary {
	background: var(--color-primary); color: var(--color-button-text);
	border-radius: var(--btn-radius); font-family: var(--font-display); font-size: 0.875rem;
	letter-spacing: 0.02em; text-transform: none; min-height: 2.75rem; padding: 0.625rem 2rem;
}
.theme-btn-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.theme-btn-hero {
	background: var(--color-background); color: var(--color-foreground);
	padding: 1.25rem 3rem; font-family: var(--font-display); letter-spacing: 0.28em;
}
.theme-btn-hero:hover { background: color-mix(in srgb, var(--color-background) 90%, transparent); }
.theme-btn-dark {
	background: var(--color-foreground); color: var(--color-background);
	font-family: var(--font-display); text-transform: uppercase;
}
.theme-btn-dark:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.theme-btn-rosa { background: var(--color-rosa); color: var(--color-background); font-family: var(--font-display); }
.theme-btn-rosa:hover { background: color-mix(in srgb, var(--color-rosa) 90%, transparent); }
.theme-btn-outline {
	background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground);
	border-radius: var(--btn-radius); font-family: var(--font-display); font-size: 0.875rem;
	letter-spacing: 0.02em; text-transform: none; min-height: 2.25rem; padding: 0.5rem 1rem;
}
.theme-btn-outline:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

/* --------------------------------------------------------------------- *
 * Hero
 * --------------------------------------------------------------------- */
.theme-hero__media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .theme-hero__media { height: 88vh; min-height: 680px; } }
.theme-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-hero__content { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.theme-hero__inner { max-width: 48rem; text-align: center; }
.theme-hero__title {
	font-family: var(--font-display); font-weight: 400; font-size: 2.75rem; line-height: 1.05;
	color: var(--color-background); margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 4.5rem; } }
.theme-hero__subheading {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1rem; line-height: 1.6; margin: 0 auto 2.5rem; max-width: 36rem;
}
@media (min-width: 768px) { .theme-hero__subheading { font-size: 1.125rem; } }

/* --------------------------------------------------------------------- *
 * Shop by collection
 * --------------------------------------------------------------------- */
.theme-section__head { text-align: center; margin-bottom: 3.5rem; }
.theme-collection__heading { font-size: 1.875rem; margin-top: 0.25rem; }
@media (min-width: 768px) { .theme-collection__heading { font-size: 2.25rem; } }
.theme-collection__grid {
	display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 64rem; margin: 0 auto;
}
@media (min-width: 768px) { .theme-collection__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-collection__tile {
	position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; padding: 0; text-align: left; width: 100%;
	cursor: pointer;
}
.theme-collection__tile-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top,
		color-mix(in srgb, var(--color-foreground) 85%, transparent) 0%,
		color-mix(in srgb, var(--color-foreground) 40%, transparent) 55%,
		color-mix(in srgb, var(--color-foreground) 10%, transparent) 100%);
	transition: background-color .5s;
}
.theme-collection__tile:hover .theme-collection__tile-img { transform: scale(1.05); }
.theme-collection__tile-img { transition: transform .7s var(--transition-smooth); }
.theme-collection__tile-content {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
	padding: 1.5rem; color: var(--color-background); text-shadow: 0 1px 8px rgb(0 0 0 / 0.45);
}
.theme-collection__tile-tagline {
	display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5);
}
.theme-collection__tile-rule { height: 1px; width: 1.5rem; background: currentColor; }
.theme-collection__tile-label { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .theme-collection__tile-label { font-size: 1.875rem; } }
.theme-collection__tile-cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.accent-primary { color: var(--color-primary); }
.accent-rosa { color: var(--color-rosa); }
.accent-marigold { color: var(--color-accent); }
.accent-teal { color: var(--color-teal); }
.accent-nopal { color: var(--color-nopal); }

/* --------------------------------------------------------------------- *
 * Featured
 * --------------------------------------------------------------------- */
.theme-featured__heading { font-size: 1.875rem; margin-top: 0.25rem; }
@media (min-width: 768px) { .theme-featured__heading { font-size: 3rem; } }
.theme-featured__footer { text-align: center; margin-top: 3.5rem; }

/* --------------------------------------------------------------------- *
 * Product grid & card (shared: featured / shop / related / archive)
 * --------------------------------------------------------------------- */
.theme-product-grid {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-shop__grid, .theme-related-products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-featured__grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .theme-featured__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; cursor: pointer; }
.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: 3 / 4; overflow: hidden; background: var(--color-surface); margin-bottom: 1.25rem;
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__img { transition: transform .7s var(--transition-smooth); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500;
	letter-spacing: 0.18em; text-transform: uppercase; background: var(--color-foreground); color: var(--color-background);
	border-radius: 999px; z-index: 3; pointer-events: auto;
}
.theme-product-card__quick-add.add_to_cart_button {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3; pointer-events: auto;
	width: 2.5rem; height: 2.5rem; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important;
	display: flex; align-items: center; justify-content: center;
	background-color: var(--color-background) !important; color: var(--color-foreground) !important;
	box-shadow: var(--shadow-soft); opacity: 1;
	transition: opacity .3s, transform .2s;
}
@media (min-width: 768px) {
	.theme-product-card__quick-add.add_to_cart_button { opacity: 0; }
	.theme-product-card:hover .theme-product-card__quick-add.add_to_cart_button { opacity: 1; }
}
.theme-product-card__quick-add.add_to_cart_button:hover { transform: scale(1.08); }
.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.theme-product-card__name {
	font-size: 14px; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
	line-height: 1.4; color: var(--color-foreground); transition: color .3s;
	overflow: hidden; text-overflow: ellipsis;
}
.theme-product-card:hover .theme-product-card__name { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: var(--color-foreground); font-family: var(--font-body); }
.theme-product-card__price .woocommerce-Price-amount { font-size: inherit; }

/* --------------------------------------------------------------------- *
 * About
 * --------------------------------------------------------------------- */
.theme-about__wrap { padding: 4rem 1rem; overflow: hidden; }
@media (min-width: 768px) { .theme-about__wrap { padding: 6rem 2rem; } }
.theme-about__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 72rem; margin: 0 auto; align-items: start; }
@media (min-width: 1024px) { .theme-about__grid { grid-template-columns: 5fr 7fr; gap: 3rem; } }
.theme-about__left { display: flex; flex-direction: column; gap: 1.5rem; }
.theme-about__heading { font-size: 2.25rem; line-height: 1.1; color: var(--color-primary); }
@media (min-width: 768px) { .theme-about__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about__heading { font-size: 3.25rem; } }
.theme-about__heading-italic { font-style: italic; color: var(--color-accent); }
.theme-about__paragraph { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
@media (min-width: 768px) { .theme-about__paragraph { font-size: 1.125rem; } }
.theme-about__meet-btn {
	font-weight: 700; font-size: 1rem; color: var(--color-primary);
	display: inline-flex; flex-direction: column; align-items: flex-start;
	text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer;
}
.theme-about__meet-btn::after {
	content: '';
	height: 2px; width: 100%; margin-top: 0.125rem;
	background: var(--color-accent); transform-origin: left;
	transition: transform .3s var(--transition-smooth);
}
.theme-about__meet-btn:hover { color: var(--color-rosa); }
.theme-about__meet-btn:hover::after { transform: scaleX(0.5); }
.theme-about__right { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .theme-about__right { padding-left: 2rem; } }
.theme-about__quote { position: relative; background: color-mix(in srgb, var(--color-butter) 60%, transparent); padding: 1.5rem; border-radius: 1rem; border-left: 6px solid var(--color-accent); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .theme-about__quote { padding: 2.5rem; } }
.theme-about__quote-mark { position: absolute; top: -1.25rem; left: 1.5rem; font-size: 3rem; color: var(--color-rosa); font-family: var(--font-display); opacity: 0.3; }
.theme-about__quote p { font-size: 1.125rem; font-style: italic; color: var(--color-primary); line-height: 1.6; font-family: var(--font-display); }
@media (min-width: 768px) { .theme-about__quote p { font-size: 1.25rem; } }
.theme-about__quote-attr { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; font-weight: 700; color: var(--color-accent); }
.theme-about__quote-rule { height: 1px; width: 2.5rem; background: var(--color-accent); }

/* --------------------------------------------------------------------- *
 * Owners
 * --------------------------------------------------------------------- */
.theme-owners__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-owners__grid { grid-template-columns: 1fr 1fr; } }
.theme-owners__media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .theme-owners__media { min-height: 520px; } }
@media (min-width: 1024px) { .theme-owners__media { min-height: 620px; } }
.theme-owners__img { object-position: top; }
.theme-owners__content { display: flex; align-items: center; padding: 3.5rem 1.5rem; }
@media (min-width: 768px) { .theme-owners__content { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .theme-owners__content { padding: 5rem 5rem; } }
.theme-owners__content-inner { max-width: 34rem; }
.theme-owners__heading { font-size: 2.25rem; line-height: 1.2; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .theme-owners__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-owners__heading { font-size: 3.75rem; } }
.theme-owners__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.35; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-owners__quote { font-size: 1.5rem; } }
.theme-owners__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* --------------------------------------------------------------------- *
 * Services
 * --------------------------------------------------------------------- */
.theme-services__head { text-align: center; padding: 3.5rem 1.5rem; }
@media (min-width: 768px) { .theme-services__head { padding: 5rem 3.5rem; } }
.theme-services__heading { font-size: 2.25rem; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .theme-services__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-services__heading { font-size: 3.75rem; } }
.theme-services__row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-services__row { grid-template-columns: 1fr 1fr; } }
.theme-services__media { position: relative; min-height: 280px; }
@media (min-width: 768px) { .theme-services__media { min-height: 360px; } }
@media (min-width: 1024px) { .theme-services__media { min-height: 420px; } }
.theme-services__media--left { order: 1; }
.theme-services__media--right { order: 2; }
@media (min-width: 1024px) { .theme-services__media--left { order: 1; } .theme-services__media--right { order: 2; } }
.theme-services__row:hover .theme-services__img { transform: scale(1.03); }
.theme-services__img { transition: transform .9s var(--transition-smooth); }
.theme-services__numeral {
	position: absolute; top: 1rem; left: 1rem; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(4px); z-index: 2;
}
.theme-services__content { display: flex; align-items: center; background: var(--color-butter); padding: 1.5rem 1.5rem; }
@media (min-width: 768px) { .theme-services__content { padding: 2.5rem 3rem; } }
@media (min-width: 1024px) { .theme-services__content { padding: 3rem 4rem; } }
.theme-services__content--left { order: 2; }
.theme-services__content--right { order: 1; }
@media (min-width: 1024px) { .theme-services__content--left { order: 1; } .theme-services__content--right { order: 2; } }
.theme-services__content-inner { max-width: 32rem; }
.theme-services__eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.theme-services__icon-badge {
	display: flex; align-items: center; justify-content: center; height: 2.25rem; width: 2.25rem;
	border-radius: 999px; border: 1px solid currentColor;
}
.theme-services__kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.theme-services__title { font-size: 1.875rem; line-height: 1.05; margin-bottom: 1rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-services__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-services__title { font-size: 3rem; } }
.theme-services__description { font-size: 1rem; color: var(--color-muted); line-height: 1.7; }

/* --------------------------------------------------------------------- *
 * Mission / Sanctuary
 * --------------------------------------------------------------------- */
.theme-mission { background: var(--color-surface-deep); color: var(--dgh-background); padding: 4rem 0; }
@media (min-width: 768px) { .theme-mission { padding: 6rem 0; } }
.theme-mission__head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-mission__heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-mission__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-mission__heading { font-size: 3.75rem; } }
.theme-mission__heading em { font-style: italic; color: var(--color-accent); display: block; }
.theme-mission__paragraph { color: color-mix(in srgb, var(--dgh-background) 75%, transparent); line-height: 1.7; }
.theme-mission__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 768px) { .theme-mission__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-mission__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-mission__tile {
	border: 1px solid color-mix(in srgb, var(--dgh-background) 15%, transparent);
	padding: 1.5rem; transition: border-color .3s;
}
@media (min-width: 768px) { .theme-mission__tile { padding: 2rem; } }
.theme-mission__tile:hover { border-color: color-mix(in srgb, var(--color-accent) 60%, transparent); }
.theme-mission__tile-icon {
	display: inline-flex; align-items: center; justify-content: center; height: 2.75rem; width: 2.75rem;
	border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-accent) 50%, transparent); color: var(--color-accent);
	margin-bottom: 1.25rem;
}
.theme-mission__tile h3 { font-size: 1.125rem; line-height: 1.2; margin-bottom: 0.5rem; color: var(--dgh-background); }
@media (min-width: 768px) { .theme-mission__tile h3 { font-size: 1.25rem; } }
.theme-mission__tile p { font-size: 13px; color: color-mix(in srgb, var(--dgh-background) 70%, transparent); }
.theme-mission__footer { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.theme-mission__badge {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
	border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent); color: var(--color-accent);
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
}
.theme-mission__badge-rule { height: 1px; width: 1rem; background: var(--color-accent); }
.theme-mission__footer-text { color: color-mix(in srgb, var(--dgh-background) 70%, transparent); font-size: 14px; }

/* --------------------------------------------------------------------- *
 * Celebrations
 * --------------------------------------------------------------------- */
.theme-celebrations__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-celebrations__grid { grid-template-columns: 1fr 1fr; } }
.theme-celebrations__media { position: relative; min-height: 420px; order: 2; }
@media (min-width: 768px) { .theme-celebrations__media { min-height: 560px; } }
@media (min-width: 1024px) { .theme-celebrations__media { min-height: 640px; order: 2; } }
.theme-celebrations__content { display: flex; align-items: center; background: var(--color-background); padding: 3.5rem 1.5rem; order: 1; }
@media (min-width: 768px) { .theme-celebrations__content { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .theme-celebrations__content { padding: 5rem 5rem; order: 1; } }
.theme-celebrations__content-inner { max-width: 34rem; }
.theme-celebrations__heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .theme-celebrations__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-celebrations__heading { font-size: 3.75rem; } }
.theme-celebrations__heading em { font-style: italic; color: var(--color-rosa); }
.theme-celebrations__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }
.theme-celebrations__paragraph--italic { font-style: italic; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2.5rem; }

/* --------------------------------------------------------------------- *
 * Gallery
 * --------------------------------------------------------------------- */
.theme-gallery { padding: 4rem 0; }
@media (min-width: 768px) { .theme-gallery { padding: 6rem 0; } }
.theme-gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.theme-gallery__heading { font-size: 1.875rem; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .theme-gallery__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-gallery__heading { font-size: 3.75rem; } }
.theme-gallery__track-wrap { overflow: hidden; }
.theme-gallery__track {
	display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; padding-left: 1.5rem; padding-right: 1.5rem;
	scrollbar-width: none;
}
.theme-gallery__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .theme-gallery__track { gap: 1.5rem; padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1024px) { .theme-gallery__track { padding-left: 4rem; padding-right: 4rem; } }
.theme-gallery__item { flex-shrink: 0; width: 78%; }
@media (min-width: 640px) { .theme-gallery__item { width: 55%; } }
@media (min-width: 768px) { .theme-gallery__item { width: 40%; } }
@media (min-width: 1024px) { .theme-gallery__item { width: 30%; } }
@media (min-width: 1280px) { .theme-gallery__item { width: 26%; } }
.theme-gallery__link { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 5; cursor: pointer; }
.theme-gallery__link:hover .theme-gallery__img { transform: scale(1.04); }
.theme-gallery__img { object-position: top; transition: transform .9s var(--transition-smooth); }
.theme-gallery__controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.theme-gallery__nav-btn {
	height: 3rem; width: 3rem; display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color .2s, border-color .2s; cursor: pointer;
}
.theme-gallery__nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* --------------------------------------------------------------------- *
 * Shop section
 * --------------------------------------------------------------------- */
.theme-shop__head { text-align: center; margin-bottom: 3rem; }
.theme-shop__heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-shop__heading { font-size: 3rem; } }
.theme-shop__search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop__search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted); }
.theme-shop__search input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	font-size: 1rem; color: var(--color-foreground); outline: none; transition: border-color .2s;
}
.theme-shop__search input:focus { border-color: var(--color-foreground); }
.theme-shop__categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: var(--btn-radius-pill); background: transparent; color: var(--color-foreground);
	transition: all .3s; cursor: pointer;
}
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.theme-shop__price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-shop__price-toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--color-muted); transition: color .3s; cursor: pointer;
}
.theme-shop__price-toggle:hover { color: var(--color-foreground); }
.theme-shop__price-toggle svg { transition: transform .3s; }
.theme-shop__price-toggle.is-open svg { transform: rotate(180deg); }
.theme-shop__price-toggle-value { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.theme-shop__price-panel { width: 100%; max-width: 24rem; padding: 0.5rem 0; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); left: 0; width: 100%; }
.range-input {
	position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0;
	-webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto; height: 1.25rem; width: 1.25rem; border-radius: 999px;
	background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; height: 1.25rem; width: 1.25rem; border-radius: 999px; border: 2px solid var(--color-primary);
	background: var(--color-background); cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.theme-shop__price-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted); }

.theme-shop__show-more { text-align: center; margin-top: 3rem; }
.theme-shop__empty { text-align: center; padding: 5rem 0; color: var(--color-muted); }

/* --------------------------------------------------------------------- *
 * Final CTA
 * --------------------------------------------------------------------- */
.theme-cta { position: relative; background: var(--color-butter); overflow: hidden; padding: 5rem 0; }
@media (min-width: 768px) { .theme-cta { padding: 7rem 0; } }
.theme-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-cta__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 60%, transparent); }
.theme-cta__wrap { position: relative; }
.theme-cta__card {
	max-width: 42rem; margin: 0 auto; text-align: center; background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px); box-shadow: var(--shadow-elevated); padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .theme-cta__card { padding: 4rem 3.5rem; } }
.theme-cta__heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-cta__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-cta__heading { font-size: 3.75rem; } }
.theme-cta__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin: 0 auto 2.5rem; max-width: 28rem; }
.theme-cta__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-cta__actions { flex-direction: row; } }

/* --------------------------------------------------------------------- *
 * Footer
 * --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer__inner { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.site-footer__top {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2rem;
	min-width: 0;
	max-width: 100%;
}
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; min-width: 0; }
.site-footer__brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--color-primary); }
.site-footer__brand-tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted); margin-top: 0.25rem; }

.site-footer__nav {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
.site-footer__nav .theme-nav-list,
.theme-nav-list--footer {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1rem;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 480px) {
	.site-footer__nav .theme-nav-list,
	.theme-nav-list--footer {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.site-footer__nav .theme-nav-link,
.theme-nav-list--footer .theme-nav-link {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--color-muted);
	white-space: nowrap;
}
@media (min-width: 640px) {
	.site-footer__nav .theme-nav-link,
	.theme-nav-list--footer .theme-nav-link {
		font-size: 12px;
		letter-spacing: 0.22em;
	}
}
.site-footer__nav .theme-nav-link:hover,
.theme-nav-list--footer .theme-nav-link:hover { color: var(--color-foreground); }

.site-footer__contact {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}
@media (min-width: 480px) {
	.site-footer__contact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
.site-footer__contact-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 13px;
	color: var(--color-muted);
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}
@media (min-width: 640px) {
	.site-footer__contact-link { font-size: 14px; }
}
.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__contact-link svg { flex-shrink: 0; }

/* Desktop footer top — mirrors Lovable md:flex-row items-center justify-between gap-8 */
@media (min-width: 1024px) {
	.site-footer__top {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
		flex-wrap: nowrap;
	}
	.site-footer__brand {
		flex: 0 0 auto;
	}
	.site-footer__brand .site-logo-img {
		height: 3.5rem !important;
		width: 3.5rem !important;
		object-fit: contain;
	}
	.site-footer__nav {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
		display: flex;
		justify-content: center;
		min-width: 0;
	}
	.site-footer__nav .theme-nav-list,
	.theme-nav-list--footer {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 1.75rem;
		width: auto;
		max-width: none;
	}
	.site-footer__contact {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 1.25rem;
		flex: 0 0 auto;
		width: auto;
		max-width: none;
	}
	.site-footer__contact-link {
		white-space: nowrap;
		overflow-wrap: normal;
		word-break: normal;
	}
}

.site-footer__bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}
@media (min-width: 640px) {
	.site-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.site-footer__quote {
	font-size: 12px;
	color: var(--color-muted);
	letter-spacing: 0.02em;
	font-style: italic;
	font-family: var(--font-display);
	text-align: center;
	max-width: 100%;
	overflow-wrap: break-word;
}
@media (min-width: 640px) { .site-footer__quote { text-align: left; } }
.site-footer__copyright {
	font-size: 12px;
	color: var(--color-muted);
	letter-spacing: 0.02em;
	text-align: center;
}
@media (min-width: 640px) { .site-footer__copyright { text-align: right; } }

/* --------------------------------------------------------------------- *
 * Cart drawer + overlay
 * --------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 50; opacity: 0; pointer-events: none; transition: opacity .3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background);
	z-index: 51; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .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-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity .2s; cursor: pointer; }
.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; }
.theme-cart-drawer__empty-icon { color: var(--color-muted); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { position: relative; width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-surface); overflow: hidden; display: block; }
.theme-cart-drawer__item-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .2s; cursor: pointer; }
.theme-cart-drawer__item-name:hover { opacity: 0.7; }
.theme-cart-drawer__item-price { font-size: 14px; color: var(--color-muted); margin-top: 0.125rem; }
.theme-cart-drawer__item-variation { font-size: 12px; color: var(--color-muted); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 4px; transition: background .2s; cursor: pointer; }
.theme-cart-qty-btn:hover { background: var(--color-surface); }
.theme-cart-qty-value { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 14px; color: var(--color-muted); transition: color .2s; cursor: pointer; }
.theme-cart-drawer__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: 14px; }
.theme-cart-drawer__shipping-note { font-size: 14px; color: var(--color-muted); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; font-size: 12px; min-height: 2.5rem; padding: 0 1rem; }

/* Hide WooCommerce's own "View cart" link after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* --------------------------------------------------------------------- *
 * WooCommerce add-to-cart button overrides (Section 11.4.1)
 * --------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: var(--btn-radius-pill) !important;
	min-height: auto !important;
	padding: 1rem 2rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
	opacity: 1 !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,
.single_add_to_cart_button.button.is-size-required,
.add_to_cart_button.button.is-size-required {
	cursor: not-allowed !important;
	opacity: 0.6 !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,
.single_add_to_cart_button.button.is-size-required:hover,
.add_to_cart_button.button.is-size-required:hover {
	opacity: 0.6 !important;
	background-color: var(--color-foreground) !important;
}
/* Card compact button — overrides global rules above (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__quick-add {
	min-height: unset !important;
	padding: 0 !important;
	border-radius: 50% !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; }

/* --------------------------------------------------------------------- *
 * WooCommerce notices (scoped visibility — Section 14.1)
 * --------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.5rem; margin: 0 0 1.5rem;
	background: var(--color-surface); border: 1px solid var(--color-border); list-style: none;
}
.woocommerce-error { border-color: color-mix(in srgb, red 30%, var(--color-border)); }

/* --------------------------------------------------------------------- *
 * Contact modal
 * --------------------------------------------------------------------- */
.theme-modal { position: fixed; inset: 0; z-index: 60; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.theme-modal.is-open { visibility: visible; opacity: 1; }
.theme-modal__overlay { position: absolute; inset: 0; background: rgb(0 0 0 / 0.5); }
.theme-modal__panel {
	position: relative; max-width: 32rem; max-height: 90vh; overflow-y: auto; margin: 5vh auto 0; background: var(--color-background);
	border-radius: var(--card-radius); padding: 2rem; box-shadow: var(--shadow-elevated);
	transform: translateY(16px) scale(0.98); transition: transform .25s var(--transition-smooth);
}
.theme-modal.is-open .theme-modal__panel { transform: translateY(0) scale(1); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem; opacity: 0.6; transition: opacity .2s; cursor: pointer; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__header { margin-bottom: 1rem; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__description { color: var(--color-muted); }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 14px; color: var(--color-muted); margin-bottom: 1.25rem; }
.theme-modal__contact-row a { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__contact-row a:hover { color: var(--color-foreground); }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field label { font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-contact-form__field input,
.theme-contact-form__field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 6px; font-size: 1rem; resize: none; transition: box-shadow .3s;
}
.theme-contact-form__field input:focus, .theme-contact-form__field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__success { text-align: center; padding: 2rem 0; }
.theme-contact-form__success-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--color-primary); color: var(--color-button-text); margin-bottom: 1rem; }
.theme-contact-form__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-form__success p { color: var(--color-muted); font-size: 14px; }
body.theme-modal-open { overflow: hidden; }

/* --------------------------------------------------------------------- *
 * Single product page — mirrors ProductDetail.tsx
 * --------------------------------------------------------------------- */
.theme-single-product {
	padding-top: 6rem;
	padding-bottom: 0;
}
@media (min-width: 1024px) {
	.theme-single-product { padding-top: 7rem; }
}
body.admin-bar .theme-single-product {
	padding-top: calc(6rem + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar .theme-single-product { padding-top: calc(6rem + 46px); }
}
@media (min-width: 1024px) {
	body.admin-bar .theme-single-product { padding-top: calc(7rem + 32px); }
}

.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted); font-family: var(--font-body); }
.theme-breadcrumb a { transition: color .2s; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0;
	padding-top: 1rem; padding-bottom: 6rem;
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; }
}

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info {
		position: sticky; top: 7rem; align-self: start; padding-left: 1rem;
	}
	body.admin-bar .theme-product-info { top: calc(7rem + 32px); }
}
@media screen and (max-width: 782px) {
	body.admin-bar .theme-product-info { top: calc(7rem + 46px); }
}

.theme-product-gallery-mobile { display: block; }
@media (min-width: 1024px) { .theme-product-gallery-mobile { display: none; } }
.theme-product-gallery-mobile__main { position: relative; aspect-ratio: 1 / 1; background: var(--color-surface); overflow: hidden; }
.theme-product-gallery-mobile__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnails {
	display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: nowrap;
	max-width: 100%; padding-bottom: 0.25rem; scrollbar-width: none;
}
.theme-product-thumbnails::-webkit-scrollbar { display: none; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-surface); border: none; padding: 0; cursor: pointer; }
.theme-product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity .2s; }
.theme-product-thumb:hover img { opacity: 1; }
.theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity .2s; }
.theme-product-thumb.is-active::after { opacity: 1; }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) { .theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; } }
.theme-product-gallery-desktop__item { position: relative; aspect-ratio: 1 / 1; background: var(--color-surface); overflow: hidden; }
.theme-product-gallery-desktop__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted); font-family: var(--font-body); }
.theme-product-info__title {
	font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; font-weight: 400;
	margin: 0.75rem 0 1.25rem;
}
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin: 0 0 1.5rem; font-family: var(--font-body); color: var(--color-foreground); }
.theme-product-info__teaser { color: var(--color-muted); line-height: 1.625; margin-bottom: 2rem; font-family: var(--font-body); font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }

.theme-product-sizes { margin-bottom: 1.5rem; }
.theme-product-sizes__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-option {
	padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: var(--btn-radius-pill); background: transparent;
	color: var(--color-foreground); font-family: var(--font-body); transition: all .2s; cursor: pointer;
}
.theme-size-option:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-size-option.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-field-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.75rem; font-family: var(--font-body); }
.theme-quantity-block { margin-bottom: 1rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.5rem 0.75rem; transition: background .2s; cursor: pointer;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-surface); }
.theme-qty-value {
	display: inline-block; min-width: 2.75rem; padding: 0.5rem 1rem; text-align: center;
	font-family: var(--font-body); font-size: 0.875rem;
}
.theme-qty-input { display: none; }

.theme-product-cta { margin-bottom: 0; }
.single-product .theme-product-cta .single_add_to_cart_button {
	width: 100%; display: flex !important;
}

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 1.25rem 0; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
	text-align: left; cursor: pointer; font-family: var(--font-body); background: none; border: none;
}
.theme-accordion__trigger svg { transition: transform .3s; flex-shrink: 0; }
.theme-accordion.is-open .theme-accordion__trigger svg { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; font-family: var(--font-body); }
.theme-accordion.is-open .theme-accordion__panel { display: block; }
.theme-accordion__description { font-size: 15px; color: var(--color-muted); line-height: 1.625; margin-bottom: 1rem; white-space: pre-line; }
.theme-accordion__panel--shipping p { font-size: 15px; color: var(--color-muted); line-height: 1.625; margin-bottom: 0.75rem; }
.theme-accordion__panel--shipping p:last-child { margin-bottom: 0; }
.theme-accordion__details ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__details li { font-size: 15px; color: var(--color-muted); display: flex; align-items: flex-start; }
.theme-accordion__details li::before { content: ''; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 999px; margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }
.theme-accordion__footer-rule { border-top: 1px solid var(--color-border); }
.woocommerce-product-details__short-description,
.woocommerce-variation-description,
.posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-products__head { text-align: center; margin-bottom: 3rem; }
.theme-related-products__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted); margin-bottom: 0.5rem; }
.theme-related-products__heading { font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; line-height: 1.1; }
@media (min-width: 768px) { .theme-related-products__heading { font-size: 2.25rem; } }
.theme-related-products__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-related-products__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}

/* --------------------------------------------------------------------- *
 * Shop archive / 404 / generic pages
 * --------------------------------------------------------------------- */
.theme-shop-archive, .theme-generic-page { padding: 5rem 0 6rem; }
.theme-shop-archive .page-title, .theme-generic-page .page-title, .page-title { font-size: 2.25rem; margin-bottom: 2rem; font-weight: 400; }
.theme-archive__empty { text-align: center; padding: 4rem 0; color: var(--color-muted); }
.theme-archive__pagination { margin-top: 3rem; text-align: center; }
.theme-404 { min-height: 60vh; display: flex; align-items: center; }
.theme-404__inner { text-align: center; padding: 5rem 0; }
.theme-404__title { font-size: 4rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted); margin-bottom: 1.5rem; }

body.theme-no-hero .site-main { padding-top: 0; }

/* --------------------------------------------------------------------- *
 * WooCommerce Checkout Block (Section 13)
 * --------------------------------------------------------------------- */
body.woocommerce-checkout .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-checkout .theme-page-container { max-width: 84rem; }
body.woocommerce-checkout .wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
@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: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }
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);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background: var(--color-background);
	color: var(--color-foreground);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted); }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-surface);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	letter-spacing: var(--btn-letter-spacing) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}

/* --------------------------------------------------------------------- *
 * Cart / My Account width parity (Section 13.7)
 * --------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-cart .theme-page-container,
body.woocommerce-account .theme-page-container { max-width: 84rem; }

/* --------------------------------------------------------------------- *
 * Thank-you page (Section 22.8)
 * --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 14px; color: var(--color-muted);
}
body.theme-thankyou-page .woocommerce-order-overview li strong { color: var(--color-foreground); display: block; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1.5rem; border-radius: var(--radius);
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
