/* Bookish Addictions - theme styles. Editable brand tokens come from the Customizer (inline :root override). */

:root {
	--color-background: #f3ece7;
	--color-foreground: #25122b;
	--color-chocolate: #2e1636;
	--color-chocolate-deep: #1a0b1e;
	--color-cocoa: #472a51;
	--color-cream: #f7f1ee;
	--color-vanilla: #ede4de;
	--color-nude: #e2dbd4;
	--color-caramel: #b59640;
	--color-strawberry: #3d2046;
	--color-gold-soft: #e7d6a6;
	--color-muted-foreground: #58455e;
	--color-body-on-dark: color-mix(in srgb, var(--color-cream) 82%, transparent);
	--color-body-on-dark-muted: color-mix(in srgb, var(--color-cream) 72%, transparent);

	/* Derived from the brand tokens (not editable) */
	--color-gold: #c8a851;
	--color-accent: #a68d32;
	--color-primary: var(--color-chocolate);
	--color-primary-foreground: var(--color-cream);
	--color-button-text: var(--color-cream);

	/* Match deployed Lovable: Tailwind font-display/label vs index.css tokens. */
	--font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
	--font-hero: 'Cormorant Garamond', 'Georgia', serif;
	/* Hero only — not used by section titles */
	--hero-title-family: 'Cormorant Garamond', 'Georgia', serif;
	--hero-title-weight: 400;
	--hero-subtitle-weight: 400;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-label: 'Inter', system-ui, sans-serif;
	--font-ui: 'Sora', system-ui, sans-serif;
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--gradient-cocoa: linear-gradient(135deg, var(--color-chocolate-deep) 0%, var(--color-cocoa) 100%);
	--gradient-berry: linear-gradient(135deg, var(--color-caramel) 0%, var(--color-strawberry) 100%);

	--logo-height: 76px;
	--logo-height-mobile: 52px;

	--btn-radius: 999px;
	--btn-height: 0px;
	--btn-padding: 16px 30px;
	--btn-font-size: 14px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: uppercase;
	--header-height: 6rem;
	--checkout-max-width: 1280px;
	--checkout-gap: 2rem;
}

/* ---------- Base (preflight parity) ---------- */
*, *::before, *::after {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: var(--color-nude);
}
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	max-width: 100%;
	overflow-x: clip;
}
body {
	margin: 0;
	max-width: 100%;
	overflow-x: clip;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol, menu { list-style: none; margin: 0; padding: 0; }
img, svg, video, canvas, iframe { display: block; vertical-align: middle; }
img, video { max-width: 100%; }
img:not(.hero-bg-img):not(.cover-img):not(.product-card-img):not(.product-main__img):not(.theme-thumb__img):not(.drawer-item-img):not(.lightbox__img):not(.gallery-img):not(.site-logo-img) { height: auto; }
a { color: inherit; text-decoration: inherit; }
button, input, optgroup, select, textarea {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
}
button, select { text-transform: none; }
button, [type='button'], [type='submit'] {
	-webkit-appearance: button;
	appearance: button;
	background-color: transparent;
	background-image: none;
	cursor: pointer;
}
:disabled { cursor: default; }
textarea { resize: vertical; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }
.relative { position: relative; }

p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
	font-size: max(0.875rem, 14px);
}

h1:not(.hero-title),
h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1.06;
	color: var(--color-foreground);
	text-wrap: balance;
}
p, li, blockquote, figcaption, dd, summary { text-wrap: pretty; }
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em,
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
	font-size: inherit;
	line-height: inherit;
	letter-spacing: inherit;
	font-family: inherit;
}
em { font-style: italic; }
::selection {
	background: color-mix(in srgb, var(--color-caramel) 28%, transparent);
	color: var(--color-chocolate-deep);
}

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap;
}

/* ---------- Layout / typography helpers ---------- */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 2.5rem; padding-right: 2.5rem; } }

.font-display { font-family: var(--font-display); }
.font-label,
.font-ui { font-family: var(--font-ui); font-style: normal; }
.intro-title em { font-style: italic; color: inherit; }
.font-hero { font-family: var(--font-hero); font-weight: 600; letter-spacing: -0.01em; line-height: 1.02; }
.feature-numeral,
.card-category,
.egg-list-title { font-family: var(--font-display); font-weight: 400; font-style: italic; }
.feature-title,
.benefit-title,
.section-title,
.intro-title,
.contact-title,
.card-title,
.card-price { font-family: var(--font-display); }
.cs-label {
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	line-height: 1.3;
}
.cs-section-dark { background-color: var(--color-chocolate-deep); color: var(--color-cream); }
.cs-section-cream { background-color: var(--color-cream); color: var(--color-foreground); }
.texture-linen { position: relative; }
.texture-linen::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.4;
	background-image:
		repeating-linear-gradient(90deg, color-mix(in srgb, var(--color-cocoa) 3%, transparent) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(0deg, color-mix(in srgb, var(--color-cocoa) 3%, transparent) 0 1px, transparent 1px 3px);
}
.section-pad { padding-top: 5rem; padding-bottom: 5rem; padding-left: 0; padding-right: 0; }
.section-pad-about { padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 640px) { .section-pad-about { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 768px) { .section-pad { padding-top: 7rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .section-pad-about { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* Cover / full-bleed images */
.cover-img, .hero-bg-img, .product-card-img, .gallery-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.product-card-img, .product-main__img, .theme-thumb__img, .drawer-item-img, .lightbox__img {
	height: 100% !important;
	width: 100%;
	object-fit: cover;
}

/* ---------- Eyebrow, buttons, nav underline, cards ---------- */
.doce-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	background: var(--color-cream);
	border: 1px solid color-mix(in srgb, var(--color-caramel) 30%, transparent);
	color: var(--color-strawberry);
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 14px;
	transition: transform 320ms var(--transition-smooth), opacity 320ms var(--transition-smooth);
}
.doce-eyebrow:hover { transform: translateY(-1px); opacity: 0.85; }
.doce-eyebrow-dark {
	background: hsla(44, 46%, 95%, 0.06);
	border-color: hsla(44, 46%, 95%, 0.28);
	color: var(--color-gold-soft);
}
.icon-eyebrow { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }

.doce-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 16px 30px;
	border-radius: 999px;
	font-family: var(--font-label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: transform 320ms var(--transition-smooth), opacity 320ms var(--transition-smooth),
		background-color 320ms, color 320ms, border-color 320ms;
}
.doce-btn::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 20%, hsla(44, 46%, 95%, 0.22) 50%, transparent 80%);
	transform: translateX(-120%);
	transition: transform 750ms var(--transition-smooth);
	pointer-events: none;
}
.doce-btn:hover::after { transform: translateX(120%); }
.doce-btn-primary { background: var(--color-chocolate); color: var(--color-cream); }
.doce-btn-primary:hover { transform: translateY(-3px); background: var(--color-cocoa); }
.doce-btn-ghost {
	background: transparent;
	color: var(--color-chocolate);
	border: 1.5px solid color-mix(in srgb, var(--color-chocolate) 42%, transparent);
}
.doce-btn-ghost:hover {
	transform: translateY(-3px);
	background: var(--color-chocolate);
	color: var(--color-cream);
	border-color: var(--color-chocolate);
}
.doce-btn-outline-cream {
	background: transparent;
	color: var(--color-cream);
	border: 1.5px solid hsla(44, 46%, 95%, 0.6);
}
.doce-btn-outline-cream:hover {
	transform: translateY(-3px);
	background: hsla(44, 46%, 95%, 0.14);
	border-color: var(--color-cream);
}
.doce-btn-cream { background: var(--color-cream); color: var(--color-chocolate); }
.doce-btn-cream:hover { transform: translateY(-3px); background: var(--color-vanilla); }

.alta-nav-link {
	position: relative;
	display: inline-block;
	padding-bottom: 3px;
	transition: color 280ms ease, opacity 280ms ease;
}
.alta-nav-link::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.alta-nav-link:hover::after,
.alta-nav-link:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left center;
}

.doce-card {
	background: var(--color-cream);
	border-radius: 1.25rem;
	border: 1px solid var(--color-nude);
	overflow: hidden;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms, opacity 400ms;
}
.doce-card:hover { border-color: color-mix(in srgb, var(--color-caramel) 55%, transparent); }
.gilded-card {
	background: var(--color-chocolate);
	border: 1px solid hsla(44, 48%, 55%, 0.35);
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 400ms, opacity 400ms;
}
.gilded-card:hover { border-color: hsla(44, 48%, 55%, 0.62); }
.doce-card-dark { background: hsla(44, 46%, 95%, 0.04); border-color: hsla(44, 46%, 95%, 0.16); }
.doce-card-dark:hover { border-color: hsla(44, 48%, 55%, 0.6); }

/* ---------- Ornaments ---------- */
.ornament { position: absolute; pointer-events: none; z-index: 10; border-color: var(--color-caramel); border-style: solid; border-width: 0; }
.ornament--sm { width: 1.25rem; height: 1.25rem; opacity: 0.7; }
.ornament--md { width: 1.5rem; height: 1.5rem; opacity: 0.7; }
.ornament--lg { width: 2.25rem; height: 2.25rem; opacity: 0.8; }
.ornament--tl { top: 0.375rem; left: 0.375rem; border-top-width: 1px; border-left-width: 1px; }
.ornament--tr { top: 0.375rem; right: 0.375rem; border-top-width: 1px; border-right-width: 1px; }
.ornament--bl { bottom: 0.375rem; left: 0.375rem; border-bottom-width: 1px; border-left-width: 1px; }
.ornament--br { bottom: 0.375rem; right: 0.375rem; border-bottom-width: 1px; border-right-width: 1px; }
.ornament--lg.ornament--tl, .ornament--lg.ornament--tr, .ornament--lg.ornament--bl, .ornament--lg.ornament--br { top: auto; right: auto; bottom: auto; left: auto; }
.ornament--lg.ornament--tl { top: 0.5rem; left: 0.5rem; border-top-width: 2px; border-left-width: 2px; }
.ornament--lg.ornament--tr { top: 0.5rem; right: 0.5rem; border-top-width: 2px; border-right-width: 2px; }
.ornament--lg.ornament--bl { bottom: 0.5rem; left: 0.5rem; border-bottom-width: 2px; border-left-width: 2px; }
.ornament--lg.ornament--br { bottom: 0.5rem; right: 0.5rem; border-bottom-width: 2px; border-right-width: 2px; }
.gilded-inner {
	position: absolute; inset: 0.625rem;
	border: 1px solid hsla(44, 48%, 55%, 0.22);
	pointer-events: none;
	opacity: 0.6;
}
.gilded-inner--card { inset: 0.5rem; z-index: 10; }

/* ---------- Announcement ticker ---------- */
.alta-ticker-viewport { overflow: hidden; position: relative; background: var(--gradient-cocoa); }
.alta-ticker-track {
	display: flex; align-items: center; height: 2.5rem;
	width: max-content;
	animation: alta-ticker 52s linear infinite;
	will-change: transform;
}
.alta-ticker-viewport:hover .alta-ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.ticker-item { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.ticker-text { white-space: nowrap; color: var(--color-vanilla); }
.ticker-dot { display: inline-block; width: 0.375rem; height: 0.375rem; border-radius: 999px; flex-shrink: 0; background-color: var(--color-gold); }
@keyframes alta-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
	background-color: transparent;
	border-bottom: 0 none;
	transition: background-color 600ms cubic-bezier(0.4, 0, 0.2, 1), border-color 600ms cubic-bezier(0.4, 0, 0.2, 1);
	--header-ink: var(--color-cream);
}
.site-header.is-solid {
	background-color: hsla(40, 33%, 97%, 0.95);
	border-bottom: 1px solid var(--color-nude);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	--header-ink: var(--color-chocolate);
}
.header-nav {
	position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
	height: 4.5rem; gap: 0.75rem;
}
@media (min-width: 768px) { .header-nav { height: 6rem; } }
.header-logo { position: relative; display: flex; align-items: center; flex-shrink: 0; cursor: pointer; min-width: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-header .site-logo-img { height: var(--logo-height-mobile) !important; }
@media (min-width: 768px) { .site-header .site-logo-img { height: var(--logo-height) !important; } }
.site-logo-text { line-height: var(--logo-height); display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--header-ink); }
.footer-logo .site-logo-img { height: 6rem !important; }
@media (min-width: 768px) { .footer-logo .site-logo-img { height: 120px !important; } }
.footer-logo .site-logo-text { color: var(--color-chocolate); }

.header-links { display: none; align-items: center; gap: 2rem; position: absolute; left: 50%; transform: translateX(-50%); }
@media (min-width: 1024px) { .header-links { display: flex; } }
.header-links a, .mobile-links a {
	white-space: nowrap;
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--header-ink);
	transition: color 600ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms;
}
.header-links a:hover { opacity: 0.8; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.header-cta { display: none; white-space: nowrap; padding: 12px 24px; font-size: 14px; background: var(--color-cream); color: var(--color-chocolate); }
.header-cta:hover { transform: translateY(-3px); background: var(--color-vanilla); }
.site-header.is-solid .header-cta { background: var(--color-chocolate); color: var(--color-cream); }
.site-header.is-solid .header-cta:hover { background: var(--color-cocoa); }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.header-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px;
	color: var(--header-ink);
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), color 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header-icon-btn:hover { transform: translateY(-0.125rem); }
.header-menu-toggle { transition-duration: 200ms; }
@media (min-width: 1024px) { .header-menu-toggle { display: none; } }
.header-menu-toggle .icon-close { display: none; }
.header-menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.header-menu-toggle[aria-expanded='true'] .icon-close { display: inline-flex; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.theme-cart-count {
	position: absolute; top: 0; right: 0;
	min-width: 19px; height: 19px; padding: 0 0.25rem; border-radius: 999px;
	font-size: 14px; font-weight: 600; font-family: var(--font-ui);
	display: flex; align-items: center; justify-content: center;
	background-color: var(--color-caramel); color: var(--color-cream);
}
.theme-cart-count:empty { display: none; }

.mobile-menu { display: none; }
.mobile-menu.is-open { display: block; }
@media (min-width: 1024px) { .mobile-menu, .mobile-menu.is-open { display: none; } }
.mobile-menu__inner {
	padding: 1rem 1.25rem; margin-left: -1.25rem; margin-right: -1.25rem;
	background-color: var(--color-cream); border-top: 1px solid var(--color-nude);
	display: flex; flex-direction: column; gap: 0.25rem;
	animation: fadeIn 0.6s var(--transition-smooth) forwards;
}
@media (min-width: 640px) { .mobile-menu__inner { padding-left: 1.5rem; padding-right: 1.5rem; margin-left: -1.5rem; margin-right: -1.5rem; } }
.mobile-links { display: flex; flex-direction: column; gap: 0.25rem; }
@media (max-width: 1023px) {
	.mobile-menu.is-open .mobile-links,
	.mobile-menu.is-open .mobile-menu__inner { flex-direction: column; }
}
.mobile-links a { align-self: flex-start; text-align: left; padding: 0.75rem 0.25rem; color: var(--color-chocolate); }
.mobile-menu__cta { margin-top: 0.75rem; width: 100%; }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: calc(100svh - 2.5rem); display: flex; align-items: center; overflow: hidden;
	margin-top: -4.5rem; padding-top: 4.5rem;
}
@media (min-width: 768px) { .hero { margin-top: -6rem; padding-top: 6rem; } }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background-color: var(--color-chocolate-deep); }
.hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-overlay--dark { z-index: 2; background: linear-gradient(180deg, hsla(288, 45%, 6%, 0.7) 0%, hsla(288, 45%, 6%, 0.5) 45%, hsla(288, 45%, 6%, 0.92) 100%); }
.hero-overlay--glow { z-index: 3; background: radial-gradient(ellipse at 22% 62%, hsla(44, 60%, 50%, 0.18) 0%, transparent 58%), radial-gradient(ellipse at 86% 22%, hsla(285, 45%, 42%, 0.16) 0%, transparent 55%); }
.particles { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
.particles--hero { z-index: 4; }
.particles--cta { z-index: 1; }
.hero-inner { position: relative; z-index: 5; padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .hero-inner { padding-top: 6rem; padding-bottom: 6rem; } }
.hero-content { max-width: 48rem; }

/*
 * Hero typography — scoped to .hero only (Cormorant headline + subhead; Inter body).
 * Do not reuse --font-display (Fraunces) here; section titles stay independent.
 */
.hero .hero-title {
	margin-top: 1.5rem;
	font-family: var(--hero-title-family);
	font-size: 2.6rem;
	font-weight: var(--hero-title-weight);
	font-style: normal;
	letter-spacing: -0.01em;
	line-height: 1.02;
	color: var(--color-cream);
	text-wrap: wrap;
}
@media (min-width: 640px) {
	.hero .hero-title { font-size: 3.75rem; line-height: 1; }
}
@media (min-width: 1024px) {
	.hero .hero-title { font-size: 4.5rem; line-height: 1; }
}
.hero .hero-subtitle {
	margin-top: 1.5rem;
	font-family: var(--hero-title-family);
	font-size: 1.5rem;
	font-weight: var(--hero-subtitle-weight);
	font-style: normal;
	line-height: 1.375;
	color: var(--color-gold-soft);
}
@media (min-width: 768px) {
	.hero .hero-subtitle { font-size: 1.875rem; line-height: 1.375; }
}
.hero .hero-text {
	margin-top: 1.25rem;
	max-width: 36rem;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.625;
	color: var(--color-body-on-dark);
}
@media (min-width: 768px) {
	.hero .hero-text { font-size: 1rem; line-height: 1.625; }
}
.hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* ---------- Section heads ---------- */
.section-head { max-width: 42rem; }
.section-head--wide { max-width: 42rem; }
.intro-title,
.section-title,
.contact-title,
.final-cta-content .section-title {
	text-wrap: wrap;
}
.section-title { font-size: 2.25rem; line-height: 1.06; margin-top: 1.5rem; font-weight: 600; letter-spacing: -0.005em; }
@media (min-width: 768px) { .section-title { font-size: 3.75rem; line-height: 1.06; } }
.section-title--light { color: var(--color-cream); }
.section-lead {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}
@media (min-width: 768px) { .section-lead { font-size: 1.125rem; line-height: 1.625; } }
.shop-ornament + .section-lead, .section-head > .section-lead { margin-top: 1.25rem; }
.section-lead--light { color: var(--color-body-on-dark); }
.shop-ornament { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.shop-ornament__line { height: 1px; width: 4rem; background: var(--color-caramel); }
.shop-ornament__diamond { width: 0.375rem; height: 0.375rem; transform: rotate(45deg); border: 1px solid var(--color-caramel); }

/* ---------- Intro panel ---------- */
.intro-panel {
	position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: stretch;
	border: 2px solid var(--color-caramel); background: var(--color-chocolate);
}
.intro-pattern {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.12;
	background-image: url('../images/bookish-pattern.svg');
	background-size: 360px 360px;
}
.intro-copy,
.intro-media {
	position: relative;
	z-index: 1;
}
@media (min-width: 768px) { .intro-panel { border-width: 4px; } }
@media (min-width: 1024px) { .intro-panel { grid-template-columns: 1fr 1fr; } }
.intro-copy {
	position: relative; display: flex; flex-direction: column; justify-content: center;
	padding: 2rem; border-bottom: 1px solid hsla(44, 48%, 55%, 0.3);
}
@media (min-width: 768px) { .intro-copy { padding: 3rem; } }
@media (min-width: 1024px) { .intro-copy { padding: 5rem; border-bottom-width: 0; border-right: 1px solid hsla(44, 48%, 55%, 0.3); } }
.intro-label-row { display: flex; align-items: center; gap: 1rem; }
.intro-label {
	font-family: var(--font-label);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.35em;
	color: var(--color-gold-soft);
}
.intro-label-line { height: 1px; width: 3rem; background: hsla(44, 48%, 55%, 0.5); }
.intro-title {
	margin-top: 1.75rem;
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.005em;
	color: var(--color-cream);
}
@media (min-width: 768px) { .intro-title { font-size: 3rem; line-height: 1.08; } }
@media (min-width: 1024px) { .intro-title { font-size: 3.75rem; line-height: 1.08; } }
.intro-text {
	margin-top: 1.75rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.625;
	max-width: 28rem;
	color: var(--color-body-on-dark);
}
@media (min-width: 768px) { .intro-text { font-size: 1.125rem; line-height: 1.625; } }
.intro-btn-wrap { margin-top: 2.5rem; }
.intro-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 1rem 2.25rem;
	border: 1px solid var(--color-caramel);
	border-radius: 0;
	font-family: var(--font-label);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: var(--color-gold-soft);
	background: transparent;
	transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.intro-btn:hover { transform: translateY(-0.125rem); }
.intro-btn__fill { position: absolute; inset: 0; transform: translateY(100%); transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1); background: var(--color-caramel); }
.intro-btn:hover .intro-btn__fill { transform: translateY(0); }
.intro-btn__label { position: relative; z-index: 10; font-size: 11px; transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.intro-btn:hover .intro-btn__label { color: var(--color-chocolate-deep); }
.intro-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--color-chocolate-deep); }
@media (min-width: 768px) { .intro-media { padding: 3rem; } }
@media (min-width: 1024px) { .intro-media { padding: 4rem; } }
.intro-arch-wrap { position: relative; width: 100%; height: 100%; min-height: 380px; }
@media (min-width: 768px) { .intro-arch-wrap { min-height: 480px; } }
@media (min-width: 1024px) { .intro-arch-wrap { min-height: 0; } }
.intro-arch-offset { position: absolute; inset: 0; border: 1px solid hsla(44, 48%, 55%, 0.3); border-radius: 10rem 10rem 2rem 2rem; pointer-events: none; transform: translate(12px, 12px); }
.intro-arch { position: absolute; inset: 0; overflow: hidden; border: 2px solid var(--color-caramel); border-radius: 10rem 10rem 2rem 2rem; }
.intro-arch-tint { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; background: hsla(285, 42%, 15%, 0.12); }
.intro-arch-line { position: absolute; inset: 0.75rem; border: 1px solid hsla(44, 48%, 55%, 0.25); border-radius: 9.5rem 9.5rem 1.5rem 1.5rem; pointer-events: none; }

/* ---------- Feature cards (steps / differences) ---------- */
.how-section { padding-top: 5rem; padding-bottom: 1.5rem; }
@media (min-width: 768px) { .how-section { padding-top: 7rem; padding-bottom: 2rem; } }
.card-grid { margin-top: 3.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gilded-feature {
	position: relative; display: flex; flex-direction: column; height: 100%; padding: 2rem;
	border: 2px solid hsla(44, 48%, 55%, 0.35); background: var(--color-chocolate-deep);
}
.gilded-feature:hover { border-color: hsla(44, 48%, 55%, 0.35); }
@media (min-width: 768px) { .gilded-feature { padding: 2.25rem; } }
.feature-numeral { position: relative; font-family: var(--font-display); font-style: italic; font-size: 2.25rem; line-height: 1; color: var(--color-gold-soft); }
.feature-rule { position: relative; margin-top: 1.25rem; height: 1px; width: 3.5rem; opacity: 0.8; background: hsla(44, 48%, 55%, 0.5); }
.feature-icon { position: relative; width: 1.5rem; height: 1.5rem; margin-top: 1.5rem; margin-bottom: 1rem; color: var(--color-caramel); transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.gilded-feature:hover .feature-icon { transform: translateY(-0.125rem); }
.feature-title { position: relative; font-size: 1.5rem; line-height: 1.375; color: var(--color-cream); }
.feature-title--diff { margin-top: 1.5rem; }
@media (min-width: 768px) { .feature-title--diff { font-size: 1.7rem; } }
.feature-copy { position: relative; margin-top: 0.75rem; font-size: 14px; line-height: 1.625; color: var(--color-body-on-dark-muted); }

.egg-panel {
	position: relative; margin-top: 1.5rem; border: 2px solid hsla(44, 48%, 55%, 0.35); background: var(--color-chocolate-deep);
	padding: 2rem 2rem 1.5rem;
}
@media (min-width: 768px) { .egg-panel { padding: 2.5rem 2.5rem 1.75rem; } }
.egg-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .egg-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .egg-main { grid-column: span 5 / span 5; } .egg-list-wrap { grid-column: span 7 / span 7; } }
.egg-icon { width: 1.75rem; height: 1.75rem; margin-bottom: 1rem; color: var(--color-caramel); }
.egg-title { font-size: 1.875rem; line-height: 1.375; color: var(--color-cream); }
.egg-copy { margin-top: 0.75rem; }
.egg-list-title { font-style: italic; font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 0.75rem; color: var(--color-gold-soft); }
.egg-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.egg-list li { font-size: 13px; padding: 0.25rem 0.75rem; border-radius: 999px; border: 1px solid hsla(44, 48%, 55%, 0.4); color: var(--color-cream); }

/* ---------- Product grids and cards ---------- */
.theme-product-grid { margin-top: 3rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-featured-products, .theme-archive-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } .theme-product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-product-card-wrap { height: 100%; }

.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 0.625rem; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; display: block; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .theme-product-card__quick-add { pointer-events: auto; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; background-color: var(--color-chocolate-deep); }
.theme-product-card .product-card-img { transition: transform 1200ms ease-out; }
.theme-product-card:hover .product-card-img { transform: scale(1.07); }
.card-tint { position: absolute; inset: 0; pointer-events: none; background: hsla(44, 55%, 72%, 0.16); mix-blend-mode: multiply; }
.card-hover-shade { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms; pointer-events: none; background: linear-gradient(180deg, transparent 45%, hsla(288, 45%, 9%, 0.55) 100%); }
.theme-product-card:hover .card-hover-shade { opacity: 1; }
.theme-product-card__quick-wrap { position: absolute; bottom: 0.875rem; right: 0.875rem; z-index: 5; opacity: 0; transform: translateY(0.5rem); transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); pointer-events: auto; }
.theme-product-card:hover .theme-product-card__quick-wrap { opacity: 1; transform: translateY(0); }
.theme-product-card .theme-product-card__quick-add { width: 2.75rem; height: 2.75rem; transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.theme-product-card .theme-product-card__quick-add:hover { transform: scale(1.1); }
.icon-quick { width: 1.25rem; height: 1.25rem; }
.theme-product-card__info { position: relative; display: flex; flex-direction: column; flex: 1; padding: 1.25rem 0.625rem 0.75rem; min-height: 104px; }
.card-category { font-style: italic; font-size: 17px; line-height: 1; color: var(--color-gold-soft); }
.card-title { margin-top: 0.625rem; font-size: 21px; line-height: 1.375; color: var(--color-cream); }
@media (min-width: 768px) { .card-title { font-size: 23px; } }
.card-desc { margin-top: 0.5rem; font-size: 14px; line-height: 1.625; color: var(--color-body-on-dark-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price-row { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.card-price-line { height: 1px; width: 2rem; background: hsla(44, 48%, 55%, 0.5); }
.card-price { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--color-gold-soft); }
.card-price ins, .product-price ins { text-decoration: none; }
.card-price del, .product-price del { opacity: 0.6; margin-right: 0.5rem; }
[data-tilt] { transform-style: preserve-3d; transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }
.theme-product-card--soon { cursor: default; user-select: none; }
.theme-product-card--soon .product-card-img { filter: blur(12px); transform: scale(1.1); opacity: 0.8; }
.soon-veil { position: absolute; inset: 0; background-color: hsla(288, 45%, 9%, 0.4); }
.soon-label-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.soon-label { padding: 0.5rem 1rem; border: 1px solid hsla(44, 48%, 55%, 0.4); background-color: hsla(288, 45%, 9%, 0.72); color: var(--color-gold-soft); }
.theme-product-card__spacer { min-height: 96px; }

/* ---------- Curation / benefits / about / gallery ---------- */
.curation { position: relative; overflow: hidden; }
.curation-bg, .final-cta-bg { position: absolute; inset: 0; }
.final-cta-bg { background-color: var(--color-chocolate-deep); }
.curation-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, hsla(288, 45%, 6%, 0.74) 0%, hsla(288, 45%, 6%, 0.86) 100%); }
.curation-inner { position: relative; padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .curation-inner { padding-top: 9rem; padding-bottom: 9rem; } }
.section-head > .curation-text { margin-top: 1.5rem; max-width: 36rem; }
.benefit-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; min-height: 268px; }
.benefit-icon { width: 1.5rem; height: 1.5rem; margin-bottom: 1.25rem; color: var(--color-caramel); }
.benefit-title { font-size: 1.5rem; line-height: 1.375; font-weight: 600; }
.benefit-copy { margin-top: 0.75rem; font-size: 14px; line-height: 1.625; color: var(--color-muted-foreground); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.about-media { position: relative; overflow: hidden; border-radius: 1.75rem; order: 2; width: 100%; height: 100%; min-height: 380px; }
@media (min-width: 768px) { .about-media { min-height: 440px; } }
@media (min-width: 1024px) { .about-media { order: 1; min-height: 0; } }
.about-media__inner { position: absolute; inset: 0; overflow: hidden; }
.about-copy { order: 1; }
@media (min-width: 1024px) { .about-copy { order: 2; } }
.about-p1 { margin-top: 1.5rem; max-width: 36rem; }
.about-p2 { margin-top: 1.25rem; max-width: 36rem; }
.about-btn { margin-top: 2.25rem; }

.wick-divider { width: 100%; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.gallery-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery-item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 1rem; }
.gallery-img { transition: transform 1200ms ease-out; }
.gallery-item:hover .gallery-img { transform: scale(1.1); }

/* ---------- Contact ---------- */
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: 1.75rem; background-color: var(--color-vanilla); border: 1px solid var(--color-nude); }
@media (min-width: 1024px) { .contact-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-media { position: relative; min-height: 320px; overflow: hidden; }
@media (min-width: 1024px) { .contact-media { min-height: 100%; } }
.contact-body { padding: 1.75rem; }
@media (min-width: 768px) { .contact-body { padding: 3rem; } }
.contact-title { margin-top: 1.25rem; font-size: 2.25rem; line-height: 1.06; font-weight: 600; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; line-height: 1.06; } }
.contact-text { margin-top: 1rem; font-size: 15px; line-height: 1.625; color: var(--color-muted-foreground); max-width: none; }
.contact-links { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.625rem; font-size: 14px; }
.contact-link { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; color: var(--color-muted-foreground); }
.icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; }
.contact-form { margin-top: 2rem; }
.contact-form > * + * { margin-top: 1.25rem; }
.float-field { position: relative; }
.float-label { position: absolute; left: 1rem; top: 18px; font-family: var(--font-ui); font-size: 15px; font-weight: 500; color: var(--color-muted-foreground); pointer-events: none; transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.float-field.is-lifted .float-label { top: 8px; font-size: 14px; }
.float-field.is-focused .float-label { color: var(--color-caramel); }
.float-input { width: 100%; background-color: var(--color-cream); padding: 1.5rem 1rem 0.625rem; border-radius: 1rem; font-size: 1rem; line-height: 1.5rem; color: var(--color-foreground); border: 1px solid var(--color-nude); outline: none; transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.float-field.is-focused .float-input { border-color: var(--color-caramel); }
.float-input--textarea { resize: none; }
.contact-error { font-size: 14px; color: var(--color-strawberry); }
.contact-thanks { margin-top: 2rem; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.contact-thanks__icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; background-color: var(--color-chocolate); color: var(--color-cream); }
.icon-thanks { width: 1.75rem; height: 1.75rem; }
.contact-thanks__title { margin-top: 1rem; font-size: 1.5rem; line-height: 2rem; }
.contact-thanks__text { margin-top: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); }

.final-cta { position: relative; overflow: hidden; }
.final-cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, hsla(288, 45%, 6%, 0.78) 0%, hsla(288, 45%, 6%, 0.9) 100%); }
.final-cta-inner { position: relative; z-index: 2; padding-top: 6rem; padding-bottom: 6rem; text-align: center; }
@media (min-width: 768px) { .final-cta-inner { padding-top: 8rem; padding-bottom: 8rem; } }
.final-cta-content { max-width: 42rem; margin-left: auto; margin-right: auto; }
.final-cta-content .section-title { margin-top: 0; }
.final-cta-text { margin-top: 1.25rem; }
.final-cta-actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .final-cta-actions { flex-direction: row; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background-color: var(--color-cream); color: var(--color-chocolate); border-top: 1px solid var(--color-nude); }
.footer-watermark { pointer-events: none; position: absolute; right: -2rem; bottom: -2.5rem; width: 14rem; opacity: 0.07; }
@media (min-width: 768px) { .footer-watermark { width: 20rem; } }
.footer-inner { position: relative; padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .footer-inner { padding-top: 6rem; padding-bottom: 2.5rem; } }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .footer-brand { grid-column: span 5 / span 5; } .footer-col--explore { grid-column: span 3 / span 3; } .footer-col--hello { grid-column: span 4 / span 4; } }
@media (min-width: 1024px) { .footer-grid { gap: 3.5rem; } }
.footer-logo { display: inline-flex; align-items: center; }
.footer-text { margin-top: 1.5rem; max-width: 28rem; font-size: 15px; line-height: 1.625; color: var(--color-muted-foreground); }
.footer-socials { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.75rem; }
.footer-social-btn { width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--color-nude); color: var(--color-chocolate); display: flex; align-items: center; justify-content: center; transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.footer-social-btn:hover { transform: translateY(-0.25rem); }
.icon-social { width: 18px; height: 18px; }
.footer-heading { margin-bottom: 1.25rem; font-size: 14px; color: var(--color-strawberry); }
.footer-links > * + *, .footer-contact > * + * { margin-top: 0.75rem; }
.footer-links a { font-size: 14px; text-align: left; color: var(--color-muted-foreground); }
.footer-contact { font-size: 14px; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-muted-foreground); }
.footer-contact-link--email { word-break: break-all; }
.footer-cta { margin-top: 1.5rem; padding: 12px 24px; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem 1.5rem; border-top: 1px solid var(--color-nude); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.footer-copy, .footer-built { font-size: 14px; color: var(--color-muted-foreground); }
.footer-built-link { text-decoration: underline; text-underline-offset: 4px; }

.back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 2.75rem; height: 2.75rem; border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	background: var(--gradient-berry); color: var(--color-cream);
	opacity: 0; pointer-events: none;
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-0.25rem) scale(1.1); }
.icon-top { width: 1.25rem; height: 1.25rem; }
@media (min-width: 768px) { .back-to-top { width: 3rem; height: 3rem; } .icon-top { width: 1.5rem; height: 1.5rem; } }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 50;
	background-color: hsla(288, 45%, 9%, 0.45);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 0.45s var(--transition-smooth), visibility 0s linear 0.45s;
}
body.cart-open #theme-cart-overlay {
	opacity: 1; visibility: visible; pointer-events: auto;
	transition: opacity 0.45s var(--transition-smooth), visibility 0s;
}
.theme-cart-drawer {
	display: flex; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 51;
	flex-direction: column; background-color: var(--color-cream); border-left: 1px solid var(--color-nude);
	transform: translate3d(100%, 0, 0);
	visibility: hidden; pointer-events: none;
	transition: transform 0.5s var(--transition-smooth), visibility 0s linear 0.5s;
	will-change: transform;
}
body.cart-open .theme-cart-drawer {
	transform: translate3d(0, 0, 0);
	visibility: visible; pointer-events: auto;
	transition: transform 0.5s var(--transition-smooth), visibility 0s;
}
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-nude); }
.cart-drawer__title { font-size: 1.5rem; line-height: 2rem; color: var(--color-foreground); }
.cart-drawer__close { width: 2.5rem; height: 2.5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.cart-drawer__close:hover { transform: rotate(90deg); }
.icon-md { width: 1.25rem; height: 1.25rem; }
.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty-icon { width: 5rem; height: 5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; background-color: var(--color-vanilla); color: var(--color-caramel); }
.icon-xl { width: 2rem; height: 2rem; }
.cart-drawer__empty-text { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; }
.cart-drawer__items > * + * { margin-top: 1.25rem; }
.cart-drawer__item { display: flex; gap: 1rem; padding: 0.75rem; border-radius: 1rem; transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.cart-drawer__item:hover { background-color: var(--color-vanilla); }
.cart-drawer__thumb { width: 5rem; height: 6rem; overflow: hidden; flex-shrink: 0; border-radius: 0.75rem; background-color: var(--color-nude); display: block; }
.drawer-item-img { width: 100%; height: 100%; transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1); }
.cart-drawer__thumb:hover .drawer-item-img { transform: scale(1.05); }
.cart-drawer__info { flex: 1; min-width: 0; }
.cart-drawer__name { font-size: 16px; line-height: 1.375; display: block; transition: opacity 150ms; color: var(--color-foreground); }
.cart-drawer__name:hover { opacity: 0.75; }
.cart-drawer__meta { font-size: 14px; line-height: 1.25rem; margin-top: 0.25rem; color: var(--color-muted-foreground); }
.cart-drawer__price { font-size: 14px; line-height: 1.25rem; font-weight: 600; margin-top: 0.25rem; color: var(--color-strawberry); }
.cart-drawer__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-drawer__qty-btn { width: 1.75rem; height: 1.75rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-nude); transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.cart-drawer__qty-btn:hover { background-color: var(--color-vanilla); }
.icon-xs { width: 0.75rem; height: 0.75rem; }
.cart-drawer__qty { font-size: 14px; line-height: 1.25rem; width: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.cart-drawer__remove { margin-left: auto; font-size: 14px; line-height: 1.25rem; color: var(--color-muted-foreground); transition: opacity 150ms; }
.cart-drawer__remove:hover { opacity: 0.7; }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-nude); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.cart-drawer__subtotal .cs-label { color: var(--color-foreground); }
.cart-drawer__subtotal-value { font-size: 1.875rem; line-height: 2.25rem; color: var(--color-strawberry); }
.cart-drawer__checkout { width: 100%; }
.cart-drawer__clear {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
	width: 100%; height: 2.25rem; padding: 0 0.75rem; border-radius: calc(1rem - 4px);
	font-size: 14px; line-height: 1.25rem; font-weight: 500; color: var(--color-muted-foreground);
	transition: color 150ms, background-color 150ms;
}
.cart-drawer__clear svg { margin-right: 0.5rem; }
.cart-drawer__clear:hover { background-color: var(--color-accent); color: var(--color-cream); }

/* ---------- Product page ---------- */
.product-breadcrumb { padding: 1.5rem 0; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-ui); font-weight: 500; }
.product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.product-breadcrumb__current { color: var(--color-foreground); }
.theme-product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-bottom: 6rem; padding-top: 0.5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } .theme-product-gallery { grid-column: span 7 / span 7; } .theme-product-info { grid-column: span 5 / span 5; position: sticky; top: 7rem; align-self: start; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.product-main { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; border-radius: 1.75rem; background-color: var(--color-nude); position: relative; }
.product-main__img { width: 100%; height: 100%; transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1); }
.product-main:hover .product-main__img { transform: scale(1.05); }
.theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; max-width: 100%; }
.theme-thumb { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 0.75rem; background-color: var(--color-nude); box-shadow: 0 0 0 1px var(--color-nude); transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.theme-thumb:hover { transform: translateY(-0.25rem); }
.theme-thumb.is-active { box-shadow: 0 0 0 2px var(--color-caramel); }
.theme-thumb__img { width: 100%; height: 100%; }
.product-title { font-size: 1.875rem; line-height: 1.04; margin-top: 1.25rem; margin-bottom: 1.25rem; color: var(--color-foreground); }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3.1rem; } }
.product-price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; }
.product-price { font-size: 2.25rem; line-height: 2.5rem; font-variant-numeric: tabular-nums; color: var(--color-strawberry); }
.product-currency { font-size: 14px; color: var(--color-cocoa); }
.product-description { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }
.product-description p { font-size: 1rem; }
.product-options { margin-bottom: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 640px) { .product-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-options__label { display: block; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-select { width: 100%; padding: 0.75rem 1rem; border-radius: 1rem; font-size: 1rem; line-height: 1.5rem; color: var(--color-foreground); background-color: var(--color-vanilla); border: 1px solid var(--color-nude); outline: none; transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.theme-select:focus { border-color: var(--color-caramel); }
.product-note { font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; flex-wrap: wrap; gap: 0; }
.theme-qty-block { margin-bottom: 1.5rem; }
.theme-qty-block .product-options__label { margin-bottom: 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border-radius: 999px; overflow: hidden; background-color: var(--color-vanilla); border: 1px solid var(--color-nude); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-nude); }
.icon-qty { width: 0.875rem; height: 0.875rem; }
.theme-qty-input { width: 48px; padding: 0.75rem 0; text-align: center; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; outline: none; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-add-row { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-add-row { flex-direction: row; } }
.single-product .theme-add-row .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.icon-btn { width: 1rem; height: 1rem; }
.product-shipping { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.625rem; font-size: 14px; border-radius: 1rem; padding: 0.75rem 1rem; background-color: var(--color-vanilla); color: var(--color-cocoa); }
.product-shipping span { font-size: 14px; }
.product-details { margin-top: 2.5rem; border-top: 1px solid var(--color-nude); }
.product-details__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.product-details__title { font-size: 14px; transition: opacity 150ms; }
.product-details__toggle:hover .product-details__title { opacity: 0.7; }
.product-details__chevron { width: 1rem; height: 1rem; transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1); }
.product-details.is-open .product-details__chevron { transform: rotate(180deg); }
.product-details__content { display: none; padding-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; }
.product-details.is-open .product-details__content { display: block; animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.product-details__content ul > * + * { margin-top: 0.75rem; }
.product-details__content li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.product-details__content li::before { content: ''; width: 0.375rem; height: 0.375rem; border-radius: 999px; margin-top: 0.625rem; margin-right: 0.75rem; flex-shrink: 0; background-color: var(--color-caramel); }
.product-details__content p { font-size: 15px; color: var(--color-muted-foreground); }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-nude); }
.related-head { margin-bottom: 2.5rem; }
.related-title { font-size: 1.875rem; line-height: 2.25rem; margin-top: 1rem; color: var(--color-foreground); }
@media (min-width: 768px) { .related-title { font-size: 3rem; line-height: 1; } }
.related-products-section .theme-product-grid { margin-top: 0; }
.product-notfound { padding-top: 6rem; padding-bottom: 6rem; text-align: center; }
.product-notfound__title { font-size: 1.875rem; line-height: 2.25rem; margin-bottom: 1.5rem; }

.lightbox { position: fixed; inset: 0; z-index: 100; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 1rem; background-color: hsla(288, 45%, 6%, 0.93); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadeIn 0.6s var(--transition-smooth) forwards; }
@media (min-width: 768px) { .lightbox { padding: 2.5rem; } }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff; background-color: rgba(255, 255, 255, 0.1); transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
@media (min-width: 768px) { .lightbox__close { top: 1.5rem; right: 1.5rem; } }
.lightbox__close:hover { background-color: rgba(255, 255, 255, 0.25); }
.lightbox__img { margin: auto; max-width: 100%; max-height: min(90dvh, 100%); height: auto !important; object-fit: contain; cursor: default; border-radius: 1rem; }

/* Variable product attribute dropdowns (same .theme-select as simple bundles) */
.single-product .product-options.variations { margin-bottom: 0; }
.single-product .product-options.variations .product-options__field { min-width: 0; }
.single-product .product-options.variations select.theme-select { display: block; width: 100%; cursor: pointer; }
.single_variation_wrap .woocommerce-variation { margin-bottom: 1rem; font-size: 14px; color: var(--color-muted-foreground); }
.single-product .reset_variations { display: none !important; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* ---------- WooCommerce button overrides (functional classes kept) ---------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-label) !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: transform 320ms var(--transition-smooth), opacity 320ms var(--transition-smooth), background-color 320ms !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	background-color: var(--color-cocoa) !important;
	color: var(--color-button-text) !important;
	transform: translateY(-3px);
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
	transform: none;
}
.single-product .single_add_to_cart_button.is-added { opacity: 0.8 !important; pointer-events: none; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card compact button: overrides the global rules above */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .add_to_cart_button.theme-product-card__quick-add {
	min-height: unset !important;
	padding: 0 !important;
	width: 2.75rem !important;
	height: 2.75rem !important;
	border-radius: 0 !important;
	border: 1px solid hsla(44, 48%, 55%, 0.55) !important;
	background-color: hsla(288, 45%, 9%, 0.85) !important;
	color: var(--color-gold-soft) !important;
	letter-spacing: 0 !important;
	pointer-events: auto !important;
	position: relative;
	z-index: 3;
}
.theme-product-card .add_to_cart_button.theme-product-card__quick-add:hover { background-color: hsla(288, 45%, 9%, 0.85) !important; transform: scale(1.1); }

/* Hide "View cart" injected after an AJAX add */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Notices: hidden only where the drawer already gives feedback */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: 1rem; border: 1px solid var(--color-nude);
	background-color: var(--color-vanilla); color: var(--color-foreground); font-size: 14px;
}
.woocommerce-error { border-color: var(--color-strawberry); }
.woocommerce-error li { list-style: none; }

/* ---------- Pages: generic, cart, checkout, account, thank you ---------- */
.page-main { padding-top: 2.5rem; padding-bottom: 6rem; min-height: 60vh; }
.page-title { font-size: 2.25rem; line-height: 2.5rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
@media (min-width: 768px) { .page-title { font-size: 3.75rem; line-height: 1; } }
.page-container .entry-content { margin-top: 1.5rem; }
.entry-content > * + * { margin-top: 1rem; }
.entry-content p { font-size: 1rem; line-height: 1.625; color: var(--color-muted-foreground); }
.entry-content li { color: var(--color-muted-foreground); }
.entry-content ul { list-style: disc; padding-left: 1.5rem; }
.entry-content ol { list-style: decimal; padding-left: 1.5rem; }
.entry-content a:not(.wp-block-button__link):not(.wc-block-components-button) { text-decoration: underline; text-underline-offset: 4px; }

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: none; }

/* ---------- Checkout: Lovable main.pt-10.pb-24 + container-wide ---------- */
body.woocommerce-checkout .theme-checkout-main {
	padding-top: 2.5rem;
	padding-bottom: 6rem;
	min-height: 60vh;
}
body.woocommerce-checkout .theme-checkout-inner,
body.woocommerce-checkout .theme-checkout-entry {
	max-width: none;
	width: 100%;
}
.theme-checkout-header {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	font-size: 14px;
	line-height: 1.3;
	color: var(--color-muted-foreground);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.24em;
}
.checkout-continue-link .icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-checkout-title {
	margin: 0 0 0.75rem;
	font-size: 2.25rem;
	line-height: 2.5rem;
	color: var(--color-foreground);
}
@media (min-width: 768px) {
	.theme-checkout-title { font-size: 3.75rem; line-height: 1; }
}
.theme-checkout-intro {
	margin: 0 0 2.5rem;
	max-width: 42rem;
	font-size: 1rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}
@media (min-width: 768px) {
	.theme-checkout-intro { font-size: 1.125rem; line-height: 1.75rem; }
}
body.woocommerce-checkout .theme-checkout-entry,
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content.theme-checkout-entry,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}

/* ---------- Checkout block: width, spacing, 2-column grid ---------- */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.theme-checkout-entry .wc-block-checkout {
	display: block;
	max-width: none;
	width: 100%;
	min-width: 0;
	margin-inline: 0;
	margin-top: 0;
	padding-top: 0;
	box-sizing: border-box;
	background: transparent !important;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout.is-large,
.entry-content .wc-block-components-sidebar-layout {
	background: transparent !important;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
	margin-top: 0;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	padding-top: 0;
	min-width: 0;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.theme-checkout-entry .wc-block-checkout .wc-block-components-sidebar-layout {
		display: grid !important;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 2rem;
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 2rem;
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: none;
	width: 100%;
	margin-inline: 0;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: 2rem;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: 1rem;
	border: 1px solid var(--color-nude);
	background-color: var(--color-vanilla);
	color: var(--color-foreground);
}
/* Left column: Lovable stacked vanilla cards (not one outer box). */
body.woocommerce-checkout .wc-block-checkout__main,
.entry-content .wc-block-checkout__main {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
body.woocommerce-checkout .wc-block-checkout__main > .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout__main > [class*="wp-block-woocommerce-checkout-"]:not(.wp-block-woocommerce-checkout-actions-block),
.entry-content .wc-block-checkout__main > .wc-block-components-checkout-step,
.entry-content .wc-block-checkout__main > [class*="wp-block-woocommerce-checkout-"]:not(.wp-block-woocommerce-checkout-actions-block),
.theme-checkout-entry .wc-block-checkout__main > .wc-block-components-checkout-step {
	background-color: var(--color-vanilla);
	border: 1px solid var(--color-nude);
	border-radius: 1.5rem;
	padding: 1.5rem;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step .wc-block-components-checkout-step,
.entry-content .wc-block-checkout__main .wc-block-components-checkout-step .wc-block-components-checkout-step {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__main > .wc-block-components-checkout-step,
	body.woocommerce-checkout .wc-block-checkout__main > [class*="wp-block-woocommerce-checkout-"]:not(.wp-block-woocommerce-checkout-actions-block),
	.entry-content .wc-block-checkout__main > .wc-block-components-checkout-step,
	.entry-content .wc-block-checkout__main > [class*="wp-block-woocommerce-checkout-"]:not(.wp-block-woocommerce-checkout-actions-block),
	.theme-checkout-entry .wc-block-checkout__main > .wc-block-components-checkout-step {
		padding: 2rem;
	}
}
/* Lovable: 2-column field grid inside cards (name / phone). */
@media (min-width: 640px) {
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-address-form,
	.entry-content .wc-block-checkout__main .wc-block-components-address-form {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-address-form .wc-block-components-text-input:last-child,
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-address-form .wc-block-components-combobox:has(input[type="email"]),
	body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-address-form .wc-block-components-text-input:has(input[type="email"]),
	.entry-content .wc-block-checkout__main .wc-block-components-address-form .wc-block-components-text-input:last-child {
		grid-column: 1 / -1;
	}
}
body.woocommerce-checkout .wc-block-components-checkout-step__container,
.entry-content .wc-block-components-checkout-step__container {
	padding: 0;
	margin: 0;
}
body.woocommerce-checkout .wc-block-components-checkout-step__content,
.entry-content .wc-block-components-checkout-step__content {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description,
.entry-content .wc-block-components-checkout-step__description {
	display: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	border-radius: 0;
	padding: 0;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
	align-self: start;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar,
	.entry-content .wp-block-woocommerce-checkout-order-summary-block {
		position: sticky;
		top: 7rem;
	}
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	position: relative;
	width: 100%;
	background: var(--gradient-cocoa);
	color: var(--color-cream);
	border-radius: 1.5rem;
	padding: 1.5rem;
	box-sizing: border-box;
	overflow: hidden;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block::before,
.entry-content .wp-block-woocommerce-checkout-order-summary-block::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.35;
	background-image: url('../images/bookish-pattern.svg');
	background-repeat: repeat;
	background-size: 120px 120px;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	.entry-content .wp-block-woocommerce-checkout-order-summary-block { padding: 2rem; }
}
body.woocommerce-checkout .theme-checkout-order-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title,
.entry-content .theme-checkout-order-title,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-title {
	color: var(--color-gold-soft);
	margin: 0 0 1.25rem;
	letter-spacing: 0.24em;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin-bottom: 1rem;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.75rem;
	overflow: hidden;
	flex-shrink: 0;
	background-color: hsla(44, 46%, 95%, 0.1);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image img,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
	color: var(--color-cream);
	font-size: 14px;
	line-height: 1.4;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__individual-prices,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata {
	color: var(--color-body-on-dark-muted);
	font-size: 14px;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price {
	color: var(--color-cream);
	font-size: 14px;
	white-space: nowrap;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary__content,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary__content {
	max-height: 18rem;
	overflow: auto;
	margin-bottom: 1.25rem;
	padding-right: 0.25rem;
	scrollbar-width: thin;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 0.5rem;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__label,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__label {
	color: var(--color-body-on-dark-muted);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__value,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__value {
	color: var(--color-cream);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid hsla(44, 46%, 95%, 0.2);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: var(--color-cream);
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-formatted-money-amount,
.entry-content .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 2.25rem;
	color: var(--color-gold-soft);
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block,
.entry-content .wp-block-woocommerce-checkout-actions-block {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	margin-top: 1.5rem;
}
body.woocommerce-checkout .theme-checkout-handpacked-note,
.entry-content .theme-checkout-handpacked-note {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	width: 100%;
	margin: 0.75rem 0 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-body-on-dark-muted);
}
body.woocommerce-checkout .theme-checkout-handpacked-note .theme-checkout-note-icon,
.entry-content .theme-checkout-handpacked-note .theme-checkout-note-icon {
	width: 0.875rem;
	height: 0.875rem;
	flex-shrink: 0;
}
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__title,
.entry-content .wc-block-checkout__main .wc-block-components-title,
.entry-content .wc-block-checkout__main .wc-block-components-checkout-step__title {
	font-family: var(--font-label);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	line-height: 1.3;
	color: var(--color-strawberry);
	margin: 0 0 1.5rem;
}
body.woocommerce-checkout .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-combobox,
body.woocommerce-checkout .wc-block-components-select,
.entry-content .wc-block-components-text-input,
.entry-content .wc-block-components-combobox,
.entry-content .wc-block-components-select {
	margin-bottom: 1.25rem;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-country-input select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-combobox input,
.entry-content .wc-block-components-select select,
.entry-content .wc-block-components-textarea textarea,
.entry-content .wc-block-components-country-input select {
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
	background-color: var(--color-cream);
	color: var(--color-foreground);
	border: 1px solid var(--color-nude);
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	padding: 0.75rem 1rem !important;
	min-height: unset;
	transition: border-color 300ms var(--transition-smooth);
}
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-components-textarea textarea {
	border-radius: 1rem;
	min-height: 6rem;
	resize: vertical;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-combobox input:focus,
.entry-content .wc-block-components-select select:focus,
.entry-content .wc-block-components-textarea textarea:focus,
.entry-content .wc-block-components-country-input select:focus {
	border-color: var(--color-caramel);
	outline: none;
	box-shadow: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder,
.entry-content .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-select label,
.entry-content .wc-block-components-text-input label,
.entry-content .wc-block-components-combobox label,
.entry-content .wc-block-components-select label {
	color: var(--color-foreground);
	font-family: var(--font-label);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.25;
	margin-bottom: 0.375rem;
}
body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label,
.entry-content .wc-block-components-checkbox .wc-block-components-checkbox__label {
	font-size: 14px;
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-checkout-place-order-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: var(--color-cream);
	color: var(--color-chocolate);
	border: 0;
	border-radius: 999px;
	padding: 16px 30px;
	font-family: var(--font-label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: transform 320ms var(--transition-smooth), background-color 320ms;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover {
	transform: translateY(-3px);
	background: var(--color-vanilla);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text,
.entry-content .wc-block-components-checkout-place-order-button .wc-block-components-button__text {
	color: inherit;
}
body.woocommerce-checkout .wc-block-components-express-payment,
.entry-content .wc-block-components-express-payment {
	margin-bottom: 1rem;
}
body.woocommerce-checkout .wc-block-components-express-payment-continue-rule,
.entry-content .wc-block-components-express-payment-continue-rule {
	font-size: 14px;
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout .wc-block-cart__submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-cream);
	color: var(--color-chocolate);
	border: 0;
	border-radius: 999px;
	padding: 16px 30px;
	font-family: var(--font-label);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
body.woocommerce-checkout .wc-block-cart-items,
.entry-content .wc-block-cart-items {
	color: inherit;
}

/* Cart block and account pages share the same content width as checkout */
body.woocommerce-cart .wc-block-cart { gap: 2rem; }
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button:not(.is-link) {
	background: var(--color-chocolate); color: var(--color-cream); border-radius: 999px;
	font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
}

/* Classic WooCommerce cart & checkout (shortcode pages) */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce { max-width: none; }
body.woocommerce-cart form.woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
	background-color: var(--color-vanilla);
	border: 1px solid var(--color-nude);
	border-radius: 1.5rem;
	padding: 1.5rem;
}
@media (min-width: 768px) {
	body.woocommerce-cart .woocommerce {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
	body.woocommerce-cart form.woocommerce-cart-form { grid-column: 1; }
	body.woocommerce-cart .cart-collaterals { grid-column: 2; }
}
body.woocommerce-cart table.shop_table { width: 100%; border-collapse: collapse; }
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td { padding: 0.75rem 0; border-bottom: 1px solid var(--color-nude); font-size: 14px; }
body.woocommerce-cart .product-thumbnail img { height: 100% !important; width: 5rem; object-fit: cover; border-radius: 0.75rem; }

body.woocommerce-checkout form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}
@media (min-width: 768px) {
	body.woocommerce-checkout form.checkout.woocommerce-checkout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
body.woocommerce-checkout #customer_details {
	grid-column: 1;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}
body.woocommerce-checkout #order_review {
	grid-column: 1;
	min-width: 0;
}
@media (min-width: 768px) {
	body.woocommerce-checkout #customer_details {
		grid-column: 1;
		grid-row: 1;
		align-self: start;
	}
	body.woocommerce-checkout #order_review {
		grid-column: 2;
		grid-row: 1;
		align-self: start;
	}
}
body.woocommerce-checkout #order_review #order_review_heading.theme-checkout-order-title {
	font-family: var(--font-label);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.24em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--color-gold-soft);
	margin: 0 0 1.25rem;
	padding: 0;
}
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
	width: 100%;
	float: none;
	display: block;
}
body.woocommerce-checkout #customer_details .col-2 {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
/* Empty “ship to different address” shell (vanilla card with no visible fields) */
body.woocommerce-checkout .woocommerce-shipping-fields:empty {
	display: none !important;
}
body.woocommerce-checkout .woocommerce-shipping-fields:not(:has(.form-row, #ship-to-different-address)) {
	display: none !important;
}
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout #order_review {
	background-color: var(--color-vanilla);
	border: 1px solid var(--color-nude);
	border-radius: 1.5rem;
	padding: 1.5rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-shipping-fields,
	body.woocommerce-checkout #order_review { padding: 2rem; }
}
body.woocommerce-checkout #order_review {
	background: var(--gradient-cocoa);
	color: var(--color-cream);
	border: 0;
}
body.woocommerce-checkout #order_review .shop_table,
body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table {
	color: inherit;
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
	display: table-cell;
	vertical-align: top;
	padding: 0.65rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 18%, transparent);
	font-size: 14px;
	line-height: 1.45;
}
body.woocommerce-checkout #order_review table.shop_table thead th {
	font-family: var(--font-label);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-cream) 75%, transparent);
	padding-bottom: 0.75rem;
}
body.woocommerce-checkout #order_review table.shop_table th.product-name,
body.woocommerce-checkout #order_review table.shop_table td.product-name {
	text-align: left !important;
	width: auto;
	padding-right: 1.25rem;
	padding-left: 0;
}
body.woocommerce-checkout #order_review table.shop_table th.product-total,
body.woocommerce-checkout #order_review table.shop_table td.product-total {
	text-align: right !important;
	width: 7.5rem;
	padding-left: 0.75rem;
	padding-right: 0;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
body.woocommerce-checkout #order_review table.shop_table tfoot th,
body.woocommerce-checkout #order_review table.shop_table tfoot td {
	padding-top: 0.85rem;
	font-weight: 600;
}
body.woocommerce-checkout #order_review table.shop_table tfoot th {
	text-align: left !important;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-cream) 78%, transparent);
}
body.woocommerce-checkout #order_review table.shop_table tfoot td {
	text-align: right !important;
	color: var(--color-cream);
}
body.woocommerce-checkout #order_review table.shop_table tr.order-total th,
body.woocommerce-checkout #order_review table.shop_table tr.order-total td {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 400;
	color: var(--color-gold-soft);
	border-bottom: 0;
	padding-top: 1rem;
}
body.woocommerce-checkout #order_review dl.variation { margin: 0.35rem 0 0; }
body.woocommerce-checkout #order_review dl.variation dt,
body.woocommerce-checkout #order_review dl.variation dd {
	display: inline;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--color-body-on-dark-muted);
}
body.woocommerce-checkout #order_review dl.variation dt { font-weight: 600; }
body.woocommerce-checkout #order_review dl.variation dt::after { content: ': '; }
body.woocommerce-checkout #order_review dl.variation dd + dt::before { content: ' · '; font-weight: 400; }
body.woocommerce-checkout #order_review dl.variation dd p { margin: 0; display: inline; }
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
	font-family: var(--font-label);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-strawberry);
	margin: 0 0 1.25rem;
}
body.woocommerce-checkout .form-row {
	margin: 0 0 1rem;
	padding: 0;
}
body.woocommerce-checkout .form-row label {
	display: block;
	margin-bottom: 0.4rem;
	font-family: var(--font-label);
	font-size: 14px;
	line-height: 1.4;
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout #payment {
	background: transparent;
	border: 0;
	padding: 0;
	margin-top: 1.25rem;
}
body.woocommerce-checkout #payment ul,
body.woocommerce-checkout #payment ul li { list-style: none; margin: 0; padding: 0; }
body.woocommerce-checkout #payment .woocommerce-info,
body.woocommerce-checkout #payment .payment_box {
	background-color: var(--color-vanilla);
	color: var(--color-foreground);
	border: 0;
	border-radius: 1rem;
	padding: 1rem 1.15rem;
	font-size: 14px;
	line-height: 1.55;
	margin: 0 0 1rem;
}
body.woocommerce-checkout #payment div.form-row.place-order {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.25rem;
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--color-cream) 22%, transparent);
}
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
	order: 1;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-cream) !important;
}
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper p,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper label {
	color: var(--color-cream) !important;
}
body.woocommerce-checkout #payment #place_order {
	order: 2;
	width: 100%;
	margin: 0;
}
body.woocommerce-checkout #order_review #payment .woocommerce-privacy-policy-text {
	order: 3;
	margin: 0.75rem 0 0;
	padding: 0;
	max-width: none;
	text-align: center;
	font-size: 14px;
	line-height: 1.55;
	color: var(--color-body-on-dark-muted) !important;
}
/* .entry-content p forces muted-foreground on light backgrounds — override on cocoa sidebar */
body.woocommerce-checkout #order_review #payment .woocommerce-privacy-policy-text p {
	margin: 0 !important;
	color: var(--color-body-on-dark-muted) !important;
	font-size: inherit !important;
	line-height: inherit !important;
}
body.woocommerce-checkout #order_review #payment .woocommerce-privacy-policy-text a {
	color: var(--color-gold-soft) !important;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	font-weight: 500;
}
body.woocommerce-checkout #order_review #payment .woocommerce-privacy-policy-text a:hover {
	color: var(--color-cream) !important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	margin-bottom: 1.5rem;
	font-size: 14px;
	line-height: 1.55;
}
body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-cart .form-row input.input-text,
body.woocommerce-cart .form-row select {
	width: 100% !important;
	max-width: none !important;
	background-color: var(--color-cream) !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-nude) !important;
	border-radius: 999px !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	padding: 0.75rem 1rem !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .form-row textarea { border-radius: 1rem !important; min-height: 6rem; }
body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row select:focus,
body.woocommerce-checkout .form-row textarea:focus {
	border-color: var(--color-caramel) !important;
	outline: none !important;
}

/* Select2 (country / state) — match pill inputs on classic checkout */
body.woocommerce-checkout .woocommerce-input-wrapper .select2-container {
	display: block;
	width: 100% !important;
	max-width: 100%;
}
body.woocommerce-checkout .select2-container .select2-selection--single {
	box-sizing: border-box;
	min-height: 3rem;
	height: auto;
	background-color: var(--color-cream) !important;
	border: 1px solid var(--color-nude) !important;
	border-radius: 999px !important;
	transition: border-color 300ms var(--transition-smooth);
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	display: block;
	padding: 0.75rem 2.75rem 0.75rem 1rem !important;
	line-height: 1.5 !important;
	font-family: var(--font-body);
	font-size: 1rem !important;
	color: var(--color-foreground) !important;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	top: 0;
	right: 0.85rem;
	width: 1.25rem;
}
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-width: 6px 5px 0;
	border-color: var(--color-chocolate) transparent transparent;
	margin-left: -5px;
	margin-top: -3px;
}
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-width: 0 5px 6px;
	border-color: transparent transparent var(--color-chocolate);
	margin-top: -4px;
}
body.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single,
body.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
	border-color: var(--color-caramel) !important;
	outline: none;
	box-shadow: none;
}
body.woocommerce-checkout .select2-dropdown {
	background-color: var(--color-cream);
	border: 1px solid var(--color-nude);
	border-radius: 1rem;
	overflow: hidden;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
	box-shadow: 0 12px 40px color-mix(in srgb, var(--color-chocolate) 12%, transparent);
}
body.woocommerce-checkout .select2-search--dropdown {
	padding: 0.65rem 0.75rem;
}
body.woocommerce-checkout .select2-search--dropdown .select2-search__field {
	border: 1px solid var(--color-nude) !important;
	border-radius: 999px !important;
	padding: 0.5rem 1rem !important;
	font-family: var(--font-body);
	font-size: 1rem;
	background: var(--color-vanilla);
	color: var(--color-foreground);
	outline: none;
}
body.woocommerce-checkout .select2-search--dropdown .select2-search__field:focus {
	border-color: var(--color-caramel) !important;
}
body.woocommerce-checkout .select2-results__option {
	padding: 0.55rem 1rem;
	line-height: 1.45;
}
body.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--color-vanilla);
	color: var(--color-foreground);
}
body.woocommerce-checkout .select2-container--default .select2-results__option[aria-selected='true'] {
	background-color: color-mix(in srgb, var(--color-caramel) 18%, var(--color-cream));
	color: var(--color-foreground);
}

body.woocommerce-checkout #place_order,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart button[name='update_cart'] {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-cream) !important;
	color: var(--color-chocolate) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 16px 30px !important;
	font-family: var(--font-label) !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	transition: transform 320ms var(--transition-smooth), background-color 320ms;
}
body.woocommerce-checkout #place_order:hover { transform: translateY(-3px); background: var(--color-vanilla) !important; }

/* Interactive affordances */
a[href], button, [role='button'], .doce-btn, .header-icon-btn, .theme-product-card, .gallery-item, .accordion summary, .cart-drawer__qty-btn, .cart-drawer__remove, .back-to-top, label[for] { cursor: pointer; }
input[type='text'], input[type='email'], input[type='number'], input[type='search'], input[type='tel'], input[type='url'], input[type='password'], textarea, select { cursor: text; }
body.woocommerce-account .woocommerce { display: block; }
body.woocommerce-account .woocommerce-MyAccount-navigation li + li { margin-top: 0.5rem; }
body.woocommerce-account .woocommerce-MyAccount-navigation a { font-family: var(--font-label); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; }
body.woocommerce-account .woocommerce-MyAccount-content { margin-top: 1.5rem; }
body.woocommerce-account input.input-text, body.woocommerce-account select {
	background-color: var(--color-cream); border: 1px solid var(--color-nude); border-radius: 999px; padding: 0.75rem 1rem; width: 100%; font-size: 1rem;
}
body.woocommerce-account .button, body.woocommerce-cart .button {
	display: inline-flex; background: var(--color-chocolate); color: var(--color-cream); border-radius: 999px; padding: 16px 30px;
	font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
}

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-size: 1rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin: 1.5rem 0; padding: 1.5rem; border-radius: 1.5rem; background-color: var(--color-vanilla); border: 1px solid var(--color-nude); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.875rem; line-height: 2.25rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 0; border-bottom: 1px solid var(--color-nude); text-align: left; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; line-height: 1.625; }

/* ---------- 404 ---------- */
.not-found { display: flex; min-height: 100vh; align-items: center; justify-content: center; background-color: var(--color-muted, var(--color-nude)); }
.not-found__inner { text-align: center; }
.not-found__title { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.not-found__text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--color-muted-foreground); }
.not-found__link { color: var(--color-primary); text-decoration: underline; }
.not-found__link:hover { opacity: 0.9; }

/* ---------- Motion ---------- */
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.cs-hover-lift { transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease; will-change: transform; }
.cs-hover-lift:hover { transform: translateY(-6px); }

[data-reveal] {
	opacity: 0; transform: translateY(26px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-child] {
	opacity: 0; transform: translateY(22px);
	transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal-child].is-revealed { opacity: 1; transform: translateY(0); }
body.is-customizer [data-reveal],
body.is-customizer [data-reveal-child],
body.is-customizer .reveal-item { opacity: 1; transform: none; }
body.is-customizer [data-icon-bounce] { opacity: 1; }

.parallax-bg { transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.1); }

@keyframes ken-burns {
	0% { transform: scale(1.02) translate3d(0, 0, 0); }
	50% { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
	100% { transform: scale(1.02) translate3d(0, 0, 0); }
}
.ken-burns { animation: ken-burns 24s ease-in-out infinite; will-change: transform; }

@keyframes sp-flicker {
	0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
	28% { opacity: 0.78; transform: translate(-50%, -50%) scale(1.08); }
	46% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.96); }
	68% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.05); }
}
.sp-flame-glow { position: relative; }
.sp-flame-glow::before {
	content: '';
	position: absolute;
	top: 42%; left: 20%;
	width: 26rem; height: 16rem;
	max-width: 90%;
	border-radius: 999px;
	pointer-events: none;
	z-index: -1;
	background: radial-gradient(ellipse at center, hsla(30, 60%, 58%, 0.34) 0%, hsla(30, 60%, 58%, 0.12) 45%, transparent 72%);
	animation: sp-flicker 4.2s ease-in-out infinite;
	will-change: opacity, transform;
}
@keyframes sp-drift {
	0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
	12% { opacity: 0.85; }
	75% { opacity: 0.5; }
	100% { opacity: 0; transform: translate3d(var(--sp-drift-x, 18px), -78vh, 0) scale(1.15); }
}
.sp-particle {
	position: absolute;
	bottom: -2rem;
	border-radius: 999px;
	background: radial-gradient(circle, hsla(38, 72%, 80%, 0.95) 0%, hsla(32, 60%, 62%, 0.35) 60%, transparent 72%);
	animation: sp-drift linear infinite;
	will-change: transform, opacity;
}
@keyframes sp-wick-pulse {
	0%, 100% { opacity: 0.35; transform: scaleX(0.86); }
	50% { opacity: 0.9; transform: scaleX(1); }
}
.sp-wick {
	position: relative;
	height: 1px;
	width: min(30rem, 70%);
	margin: 0 auto;
	background: linear-gradient(90deg, transparent, var(--color-caramel), transparent);
	animation: sp-wick-pulse 4.6s ease-in-out infinite;
	will-change: opacity, transform;
}
.sp-wick::after {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 7px; height: 7px;
	margin: -3.5px 0 0 -3.5px;
	border-radius: 999px;
	background: var(--color-caramel);
	animation: sp-flicker 3.4s ease-in-out infinite;
}
@keyframes doce-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-14px) rotate(3deg); }
}
.doce-float-slow { animation: doce-float 11s ease-in-out infinite; }
@keyframes icon-bounce {
	0% { transform: scale(0.6); opacity: 0; }
	60% { transform: scale(1.12); opacity: 1; }
	100% { transform: scale(1); opacity: 1; }
}
[data-icon-bounce] { opacity: 0; }
[data-icon-bounce].is-bounced { animation: icon-bounce 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--icon-bounce-delay, 0ms); }

/* ---------- Typography lock (WP core / plugins must not override Lovable stacks) ---------- */
body,
.site-main,
.site-main p,
.site-main li {
	font-family: var(--font-body);
	font-weight: 400;
}
.site-main h1:not(.hero-title),
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5,
.site-main h6 {
	font-family: var(--font-display);
	font-weight: 600;
}
.site-main .cs-label,
.site-main .doce-eyebrow,
.site-main .doce-btn,
.site-main .intro-label,
.site-main .intro-btn,
.site-main .ticker-text {
	font-family: var(--font-label);
}
.header-links a,
.mobile-links a,
.float-label,
.product-breadcrumb,
.theme-cart-count {
	font-family: var(--font-ui);
}

/* Hero H1 — last in file; must not pick up Fraunces / 600 from section titles */
section.hero .hero-content > h1.hero-title {
	font-family: var(--hero-title-family);
	font-weight: var(--hero-title-weight);
	font-style: normal;
	letter-spacing: -0.01em;
	line-height: 1.02;
	color: var(--color-cream);
}
section.hero .hero-content > p.hero-subtitle {
	font-family: var(--hero-title-family);
	font-weight: var(--hero-subtitle-weight);
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal], [data-reveal-child] { opacity: 1 !important; transform: none !important; transition: none !important; }
	[data-icon-bounce] { opacity: 1 !important; animation: none !important; }
	.cs-hover-lift, .cs-hover-lift:hover, .doce-card, .doce-card:hover { transition: none !important; transform: none !important; }
	.ken-burns, .alta-ticker-track, .doce-float-slow, .sp-particle, .sp-wick, .sp-wick::after, .sp-flame-glow::before { animation: none !important; }
	.sp-particle { display: none !important; }
	.parallax-bg { transform: none !important; }
	[data-tilt] { transform: none !important; }
}
