/* ==========================================================================
   Diamond Euphoria — theme.css
   Ports src/index.css + all component styling. Color custom properties
   (--de-color_*) and --logo-height are emitted at :root via wp_add_inline_style
   in functions.php from Customizer values (Section 6 / 22.9).
   ========================================================================== */

:root {
	/* Fallback values — overridden by the inline <style> block with live
	   Customizer values (Section 3.3 single source of truth). */
	--de-color_background: #fffcfa;
	--de-color_foreground: #080808;
	--de-color_primary: #080808;
	--de-color_primary_foreground: #fffcfa;
	--de-color_button_text: #fffcfa;
	--de-color_accent: #b66d78;
	--de-color_raspberry: #b66d78;
	--de-color_strawberry: #9c686a;
	--de-color_gold: #e5d1ae;
	--de-color_gold_soft: #f0e3cc;
	--de-color_cream: #fbf5ef;
	--de-color_vanilla: #fffcfa;
	--de-color_nude: #ebdbdb;
	--de-color_blush: #f6e5e5;
	--de-color_chocolate: #080808;
	--de-color_chocolate_deep: #050505;
	--logo-height: 60px;

	/* Display titles: match Tailwind `font-display` (tailwind.config.ts), which
	   is Fraunces → Georgia. Fraunces is intentionally NOT loaded (same as the
	   Lovable source), so Georgia is the font that actually renders — thicker
	   than Bodoni. Hero-only titles use Bodoni via --font-hero / .font-hero. */
	--font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
	--font-hero: 'Bodoni Moda', 'Didot', serif;
	--font-body: 'Jost', system-ui, -apple-system, sans-serif;
	--font-label: 'Jost', system-ui, sans-serif;
	--font-jost: 'Jost', system-ui, -apple-system, sans-serif;
	--font-bodoni: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;

	--radius: 1rem;

	--shadow-soft: 0 4px 20px rgba(8, 8, 8, 0.08);
	--shadow-elevated: 0 22px 60px -18px rgba(8, 8, 8, 0.34);
	--shadow-gold: 0 14px 34px -12px rgba(157, 102, 105, 0.42);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--gradient-cocoa: linear-gradient(135deg, var(--de-color_chocolate) 0%, #1f1f1f 100%);
	--gradient-berry: linear-gradient(135deg, var(--de-color_strawberry) 0%, var(--de-color_raspberry) 55%, var(--de-color_gold) 100%);

	--header-height: 96px;

	--btn-radius: 999px;
	--btn-height: 52px;
	--btn-padding: 16px 30px;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.18em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;

	--checkout-gap: 2.5rem;
	--card-radius: 1.25rem;
	--section-padding: 5rem;
}

/* Loaded fonts: Bodoni Moda (hero) + Jost (body/labels) via Google Fonts.
   Display headings intentionally use the unloaded Fraunces → Georgia stack
   so they match the Lovable Tailwind `.font-display` utility. */

/* --------------------------------------------------------------------
   RESET / BASE
   -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
	background-color: var(--de-color_background);
	color: var(--de-color_foreground);
	font-family: var(--font-jost);
	font-size: 16px;
	font-weight: 400;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
	font-size: max(0.875rem, 14px);
}

/* Match Lovable / Tailwind preflight: zero default paragraph margins. */
p { margin: 0; }

/* Match Lovable h1–h6 (src/index.css) — medium display weight, not body 400. */
h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
	font-size: inherit;
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	line-height: 1.06;
	color: var(--de-color_foreground);
	margin: 0;
	text-wrap: balance;
}
/* Parity with Tailwind utility `.font-display` (Fraunces/Georgia), not Bodoni. */
.font-display,
h1.font-display,
h2.font-display,
h3.font-display,
h4.font-display,
.section-heading {
	font-family: var(--font-display);
	font-weight: 500;
}

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;
	font-weight: inherit;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"],
label[for],
summary,
.select2-selection,
.woocommerce-loop-product__link,
.theme-card-link,
.theme-product-card__quick-add,
.de-cat-tile,
.de-ig-item,
.de-review-arrow,
.de-review-dot,
.de-faq-question,
.de-contact-method,
.de-social-btn,
.de-cart-btn,
.de-mobile-toggle,
.de-back-to-top,
.de-modal-close,
.theme-cart-close,
.add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button {
	cursor: pointer;
}
button { font-family: inherit; background: none; border: none; padding: 0; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(182, 109, 120, 0.25); color: var(--de-color_chocolate_deep); }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Cover / full-bleed images MUST be excluded from the global img rule
   (Section 15.1 completeness rule). Add every cover class here. */
img:not(.cover-img) { max-width: 100%; height: auto; }
img.cover-img,
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	max-width: none;
}

/* Lateral gutters match Lovable: px-5 / sm:px-6 / lg:px-10 (padding-inline
   so child padding-block utilities cannot wipe horizontal spacing). */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-inline: 2.5rem; } }

/* --------------------------------------------------------------------
   TYPE / TEXT UTILITIES
   -------------------------------------------------------------------- */
.cs-label {
	font-family: var(--font-jost);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 14px;
	line-height: 1.3;
}
.font-hero {
	font-family: var(--font-hero);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.02;
}
.section-heading,
.font-hero,
.font-display {
	font-weight: 500;
}
.de-accent-text, .de-gold-text { display: inline; }
.de-accent-text { color: var(--de-color_raspberry); }
.de-gold-text { color: var(--de-color_gold); }

/* --------------------------------------------------------------------
   SECTION SURFACES
   -------------------------------------------------------------------- */
.de-section { position: relative; padding: 5rem 0; }
@media (min-width: 768px) { .de-section { padding: 7rem 0; } }
.de-section-dark { background-color: var(--de-color_chocolate_deep); color: var(--de-color_vanilla); }
.de-section-dark h1,
.de-section-dark h2,
.de-section-dark h3,
.de-section-dark .section-heading,
.de-section-dark .philosophy-heading,
.de-section-dark .newsletter-heading { color: var(--de-color_vanilla); }
.de-section-cream { background-color: var(--de-color_vanilla); color: var(--de-color_foreground); }
.de-section-cream-alt { background-color: var(--de-color_cream); color: var(--de-color_foreground); }
.de-section-blush { background-color: var(--de-color_blush); color: var(--de-color_foreground); }
.de-shop-section { padding-top: 5rem; padding-bottom: 0; }
@media (min-width: 768px) { .de-shop-section { padding-top: 7rem; } }
.de-reviews-section .de-section-head { margin-bottom: 2.5rem; }

.texture-linen { position: relative; }
.texture-linen::before {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
	background-image:
		repeating-linear-gradient(90deg, rgba(51,51,51,0.03) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(0deg, rgba(51,51,51,0.03) 0 1px, transparent 1px 3px);
}
.texture-marble { position: relative; }
.texture-marble::before {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
	background-image:
		radial-gradient(ellipse at 18% 22%, rgba(229,208,174,0.6) 0%, transparent 45%),
		radial-gradient(ellipse at 82% 68%, rgba(255,253,250,0.7) 0%, transparent 50%),
		radial-gradient(ellipse at 55% 8%, rgba(197,146,158,0.35) 0%, transparent 42%);
}

/* --------------------------------------------------------------------
   EYEBROW / BUTTONS
   -------------------------------------------------------------------- */
.doce-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 16px; border-radius: 999px;
	background: var(--de-color_vanilla);
	border: 1px solid color-mix(in srgb, var(--de-color_gold) 75%, transparent);
	color: var(--de-color_strawberry);
	font-family: var(--font-jost); font-weight: 500; text-transform: uppercase;
	letter-spacing: 0.2em; font-size: 14px;
	transition: all 320ms var(--transition-smooth);
}
.doce-eyebrow.justify-center { justify-content: center; }
.doce-eyebrow:hover { background: color-mix(in srgb, var(--de-color_gold) 18%, transparent); transform: translateY(-1px); }

.doce-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: var(--btn-padding); border-radius: var(--btn-radius);
	font-family: var(--font-jost); font-weight: var(--btn-font-weight); font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing); text-transform: var(--btn-text-transform);
	line-height: 1.2;
	cursor: pointer; position: relative; overflow: hidden; border: none; text-align: center;
	transition: transform 320ms var(--transition-smooth), box-shadow 320ms var(--transition-smooth), background-color 320ms, color 320ms;
}
.doce-btn svg {
	flex-shrink: 0;
	display: block;
	width: 1rem;
	height: 1rem;
}
.doce-btn::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
	transform: translateX(-120%); transition: transform 750ms var(--transition-smooth);
}
.doce-btn:hover::after { transform: translateX(120%); }
.doce-btn-primary { background: var(--gradient-berry); color: var(--de-color_button_text); box-shadow: var(--shadow-gold); }
.doce-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -14px rgba(157,102,105,0.55); }
.doce-btn-choc { background: var(--de-color_chocolate); color: var(--de-color_vanilla); border: 1px solid color-mix(in srgb, var(--de-color_gold) 50%, transparent); }
.doce-btn-choc:hover { transform: translateY(-3px); background: #1f1f1f; box-shadow: var(--shadow-elevated); }
.doce-btn-ghost { background: transparent; color: var(--de-color_chocolate); border: 1px solid color-mix(in srgb, var(--de-color_chocolate) 35%, transparent); }
.doce-btn-ghost:hover { transform: translateY(-3px); background: var(--de-color_chocolate); color: var(--de-color_vanilla); border-color: var(--de-color_chocolate); }
.doce-btn-cream { background: var(--de-color_vanilla); color: var(--de-color_chocolate); border: 1px solid var(--de-color_gold); }
.doce-btn-cream:hover { transform: translateY(-3px); background: var(--de-color_cream); box-shadow: var(--shadow-elevated); }

.de-sparkle { position: relative; }
.de-sparkle::before {
	content: ''; position: absolute; top: 22%; left: 16%; width: 6px; height: 6px; border-radius: 999px;
	background: var(--de-color_gold_soft); opacity: 0; box-shadow: 0 0 8px 2px rgba(240,227,204,0.85); pointer-events: none;
}
.de-sparkle:hover::before { animation: de-glint 1.1s ease-in-out infinite; }
@keyframes de-glint {
	0%, 100% { opacity: 0; transform: scale(0.4); }
	35% { opacity: 1; transform: scale(1.15); }
	70% { opacity: 0; transform: scale(0.5) translate(22px, 10px); }
}

.alta-nav-link { position: relative; display: inline-block; padding-bottom: 3px; transition: color 280ms ease; }
.alta-nav-link::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px;
	background: linear-gradient(90deg, var(--de-color_raspberry), var(--de-color_gold));
	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(--de-color_vanilla); border-radius: 1.25rem; border: 1px solid var(--de-color_nude);
	box-shadow: var(--shadow-soft); overflow: hidden; position: relative;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 500ms var(--transition-smooth), border-color 400ms;
}
.doce-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); border-color: var(--de-color_gold); }

/* --------------------------------------------------------------------
   ANIMATIONS / MOTION (Section 2.1)
   -------------------------------------------------------------------- */
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.5s 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), box-shadow 500ms ease; will-change: transform; }
.cs-hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }

.de-facet { position: relative; overflow: hidden; }
.de-facet::after {
	content: ''; position: absolute; top: -60%; bottom: -60%; left: -30%; width: 28%;
	background: linear-gradient(100deg, transparent, rgba(233,210,168,0.45), transparent);
	transform: translateX(-160%) rotate(12deg); transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none; z-index: 4;
}
.de-facet:hover::after { transform: translateX(460%) rotate(12deg); }

[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);
	transition-delay: var(--cs-fade-delay, 0ms);
}
[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); }

/* Product card reveal — must resolve in ALL contexts (shop, related, homepage). */
.reveal-item { 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); }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item,
body.is-customizer [data-reveal],
body.is-customizer [data-reveal-child] { opacity: 1 !important; transform: none !important; }

.parallax-bg { transform: translate3d(0, var(--parallax-y, 0px), 0); }
.de-hero-bg, .de-philosophy-bg { transform: translate3d(0, var(--parallax-y, 0px), 0); }

@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 doce-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-14px) rotate(3deg); }
}
.doce-float { animation: doce-float 7s ease-in-out infinite; }
.doce-float-slow { animation: doce-float 11s ease-in-out infinite; }

@keyframes de-twinkle {
	0%, 100% { opacity: 0.25; transform: scale(0.85) rotate(45deg); }
	50% { opacity: 1; transform: scale(1.1) rotate(45deg); }
}
.de-twinkle { animation: de-twinkle 3.6s 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); }
body.is-customizer [data-icon-bounce] { opacity: 1 !important; animation: none !important; }

.lov-sparkle {
	position: fixed; pointer-events: none; border-radius: 999px; background: var(--de-color_gold);
	z-index: 60; animation: sparkle-out 640ms ease-out forwards;
}
@keyframes sparkle-out {
	from { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
	to { opacity: 0; transform: translate(-50%, -160%) scale(0.2); }
}

[data-tilt] { transform-style: preserve-3d; transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@media (prefers-reduced-motion: reduce) {
	[data-reveal], [data-reveal-child], .reveal-item { 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, .de-ticker-track, .doce-float, .doce-float-slow, .de-twinkle { animation: none !important; }
	[data-tilt] { transform: none !important; }
}

/* --------------------------------------------------------------------
   ANNOUNCEMENT TICKER
   -------------------------------------------------------------------- */
.de-ticker-viewport { position: relative; overflow: hidden; background: var(--gradient-cocoa); }
.de-ticker-track { display: flex; width: max-content; animation: de-ticker 48s linear infinite; will-change: transform; padding: 10px 0; }
.de-ticker-viewport:hover .de-ticker-track { animation-play-state: paused; }
@keyframes de-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.de-ticker-set { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.de-ticker-item { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.de-ticker-text { color: var(--de-color_gold_soft); white-space: nowrap; }
.de-ticker-diamond { display: inline-block; width: 6px; height: 6px; background: var(--de-color_gold); transform: rotate(45deg); flex-shrink: 0; }

/* --------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------- */
.de-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
	transition: all 500ms ease;
	background-color: color-mix(in srgb, var(--de-color_cream) 90%, transparent);
	border-bottom: 1px solid var(--de-color_nude);
}
/* Keep sticky header below the WP admin bar when logged in. */
.admin-bar .de-header { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .de-header { top: 46px; }
}
.de-header.is-scrolled { background-color: color-mix(in srgb, var(--de-color_cream) 97%, transparent); border-bottom-color: var(--de-color_gold); box-shadow: var(--shadow-soft); }
.de-nav { position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 0.75rem; height: 5.5rem; transition: height 500ms ease; }
.de-header.is-scrolled .de-nav { height: 5rem; }
@media (min-width: 768px) { .de-nav { height: 7rem; } .de-header.is-scrolled .de-nav { height: 6rem; } }

.de-brand { display: flex; align-items: center; flex-shrink: 0; min-width: 0; cursor: pointer; }
/* Logo sizes match Lovable Header: h-16/md:h-24 → scrolled h-14/md:h-20 */
img.de-header-logo,
.de-header-logo,
.de-header-logo-text {
	height: 4rem; /* 64px / h-16 */
	width: auto;
	max-width: none;
	max-height: 4rem;
	object-fit: contain;
	transition: height 500ms ease, transform 500ms ease;
}
.de-header.is-scrolled img.de-header-logo,
.de-header.is-scrolled .de-header-logo,
.de-header.is-scrolled .de-header-logo-text {
	height: 3.5rem; /* 56px / h-14 */
	max-height: 3.5rem;
}
@media (min-width: 768px) {
	img.de-header-logo,
	.de-header-logo,
	.de-header-logo-text {
		height: 6rem; /* 96px / h-24 */
		max-height: 6rem;
	}
	.de-header.is-scrolled img.de-header-logo,
	.de-header.is-scrolled .de-header-logo,
	.de-header.is-scrolled .de-header-logo-text {
		height: 5rem; /* 80px / h-20 */
		max-height: 5rem;
	}
}
.de-brand:hover img.de-header-logo,
.de-brand:hover .de-header-logo { transform: scale(1.05); }
.de-header-logo-text { font-family: var(--font-hero); font-size: 1.5rem; color: var(--de-color_chocolate); display: inline-flex; align-items: center; }

.de-nav-links { display: none; }
@media (min-width: 1024px) {
	.de-nav-links { display: flex; align-items: center; gap: 1.75rem; position: absolute; left: 50%; transform: translateX(-50%); }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; margin: 0; padding: 0; }
.theme-nav-list li { list-style: none; }
.theme-nav-list a { white-space: nowrap; font-family: var(--font-jost); font-weight: 500; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--de-color_chocolate); }
.theme-nav-list a:hover { opacity: 0.8; }

.de-nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.de-shop-now-btn { display: none; padding: 12px 24px !important; font-size: 14px !important; }
@media (min-width: 768px) { .de-shop-now-btn { display: inline-flex; } }

.de-cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--de-color_chocolate); transition: all 300ms ease; }
.de-cart-btn:hover { background: rgba(0,0,0,0.05); transform: translateY(-2px); }
.theme-cart-count {
	position: absolute; top: 0; right: 0; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px;
	font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center;
	background: var(--de-color_raspberry); color: var(--de-color_vanilla); font-family: var(--font-jost);
}
.theme-cart-count:empty { display: none; }

.de-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; color: var(--de-color_chocolate); transition: background 200ms ease; }
.de-mobile-toggle:hover { background: rgba(0,0,0,0.05); }
@media (min-width: 1024px) { .de-mobile-toggle { display: none; } }
.de-icon-close { display: none; }
.de-mobile-toggle.is-active .de-icon-menu { display: none; }
.de-mobile-toggle.is-active .de-icon-close { display: block; }

.de-mobile-menu {
	display: none;
	padding-block: 1rem;
	padding-inline: 1.25rem;
	background: var(--de-color_cream);
	border-top: 1px solid var(--de-color_nude);
	margin-inline: -1.25rem;
}
@media (min-width: 640px) {
	.de-mobile-menu {
		padding-inline: 1.5rem;
		margin-inline: -1.5rem;
	}
}
.de-mobile-menu.is-open { display: block; animation: fadeIn 0.4s var(--transition-smooth) forwards; }
@media (min-width: 1024px) { .de-mobile-menu { display: none !important; } }
.de-mobile-menu ul,
.de-mobile-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.de-mobile-menu li { list-style: none; width: 100%; }
.de-mobile-menu a,
.de-mobile-nav-list a {
	display: block;
	width: 100%;
	text-align: left;
	font-family: var(--font-jost);
	font-weight: 500;
	padding: 0.75rem 0.25rem;
	font-size: 14px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--de-color_chocolate);
	white-space: normal;
}
.de-mobile-shop-btn { margin-top: 0.75rem; width: 100%; }

/* --------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------- */
.de-hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.de-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background-color: var(--de-color_chocolate_deep); }
.de-hero-poster, .de-hero-video { z-index: 0; }
.de-hero-video { position: absolute; inset: 0; }
.de-hero-gradient-1 { position: absolute; inset: 0; pointer-events: none; z-index: 2; background: linear-gradient(180deg, rgba(8,8,8,0.72) 0%, rgba(8,8,8,0.38) 42%, rgba(8,8,8,0.92) 100%); }
.de-hero-gradient-2 { position: absolute; inset: 0; pointer-events: none; z-index: 3; background: radial-gradient(ellipse at 18% 60%, rgba(182,109,120,0.24) 0%, transparent 58%), radial-gradient(ellipse at 88% 20%, rgba(229,208,174,0.18) 0%, transparent 55%); }
.de-hero-gem { pointer-events: none; position: absolute; right: 6%; top: 16%; width: 7rem; height: 7rem; opacity: 0.25; z-index: 4; color: var(--de-color_gold); display: none; }
@media (min-width: 640px) { .de-hero-gem { display: block; } }
@media (min-width: 768px) { .de-hero-gem { width: 11rem; height: 11rem; } }

/* padding-block only — must not reset .container-wide padding-inline (Lovable py-8/py-10). */
.de-hero-content { position: relative; z-index: 5; padding-block: 2rem; }
@media (min-width: 768px) { .de-hero-content { padding-block: 2.5rem; } }
.de-hero-copy { max-width: 48rem; }
.de-hero-badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
	background: rgba(229,208,174,0.12); color: var(--de-color_gold_soft); border: 1px solid rgba(229,208,174,0.4);
}
.de-hero-title {
	color: var(--de-color_vanilla);
	font-family: var(--font-hero);
	font-weight: 500;
	font-size: 2.3rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}
@media (min-width: 640px) { .de-hero-title { font-size: 3.2rem; } }
@media (min-width: 1024px) { .de-hero-title { font-size: 4.1rem; } }
.de-hero-em { font-style: normal; color: var(--de-color_gold); }
.de-hero-subtitle { max-width: 36rem; font-size: 1rem; line-height: 1.6; color: rgba(255,253,250,0.84); }
@media (min-width: 768px) { .de-hero-subtitle { font-size: 1.125rem; } }
.de-hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .de-hero-ctas { flex-direction: row; } }
.de-hero-tagline { margin-top: 1.5rem; color: rgba(240,227,204,0.9); }
.de-hero-divider { position: absolute; bottom: 0; left: 0; right: 0; z-index: 6; line-height: 0; }
.de-drip-divider { width: 100%; height: 34px; display: block; }
@media (min-width: 768px) { .de-drip-divider { height: 52px; } }

/* --------------------------------------------------------------------
   SECTION HEAD / HEADINGS (per-section scale — Section 2.2.5)
   -------------------------------------------------------------------- */
.de-section-head { max-width: 42rem; margin-bottom: 3rem; }
.de-section-subtitle { color: color-mix(in srgb, var(--de-color_foreground) 65%, transparent); font-size: 1rem; }
@media (min-width: 768px) { .de-section-subtitle { font-size: 1.125rem; } }

.section-heading {
	margin-top: 1.25rem;
	margin-bottom: 1rem;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.06;
}
.about-section-heading { margin-bottom: 1.5rem; }
.philosophy-heading { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.collections-heading, .shop-heading, .about-section-heading, .reviews-heading, .ig-heading, .faq-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .collections-heading, .shop-heading, .about-section-heading, .reviews-heading, .ig-heading { font-size: 3.75rem; } .faq-heading { font-size: 3rem; } }
.philosophy-heading, .newsletter-heading, .related-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .philosophy-heading, .newsletter-heading { font-size: 3.75rem; } .related-heading { font-size: 3rem; } }
.contact-title { font-size: 1.875rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }

/* --------------------------------------------------------------------
   COLLECTIONS
   -------------------------------------------------------------------- */
.de-collections-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .de-collections-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .de-collections-grid { grid-template-columns: 1fr 1fr 1fr; } }

.de-cat-tile {
	position: relative; display: block; width: 100%; overflow: hidden; border-radius: 1.5rem; aspect-ratio: 4 / 5;
	background-color: var(--de-color_nude); border: 1px solid var(--de-color_gold); text-align: left;
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 500ms ease; will-change: transform;
}
.de-cat-tile:hover { z-index: 10; transform: translateY(-8px); box-shadow: var(--shadow-elevated); }
.de-cat-tile-img { transition: transform 1200ms ease; }
.de-cat-tile:hover .de-cat-tile-img { transform: scale(1.08); }
.de-cat-tile-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,0.08) 30%, rgba(8,8,8,0.88) 100%); }
.de-cat-tile-copy { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem; }
.de-cat-tile-icon {
	display: inline-flex; width: 2.75rem; height: 2.75rem; border-radius: 999px; align-items: center; justify-content: center;
	margin-bottom: 0.75rem; background: var(--de-color_gold); color: var(--de-color_chocolate);
	transition: transform 500ms ease;
}
.de-cat-tile:hover .de-cat-tile-icon { transform: translateY(-4px) rotate(6deg); }
.de-cat-tile-title {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--de-color_vanilla);
	font-size: 1.5rem;
}
.de-cat-tile-desc { margin-top: 0.25rem; font-size: 14px; color: rgba(255,253,250,0.82); }
.de-cat-tile-explore {
	margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 8px; color: var(--de-color_gold_soft);
	opacity: 0; transform: translateX(-8px); transition: all 500ms ease;
}
.de-cat-tile:hover .de-cat-tile-explore { opacity: 1; transform: translateX(0); }

/* --------------------------------------------------------------------
   PRODUCT GRID / CARDS
   -------------------------------------------------------------------- */
.de-product-grid,
.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) {
	.de-product-grid,
	.theme-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.de-product-grid,
	.theme-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}
.theme-featured-products.theme-product-grid,
.theme-featured-products.de-product-grid {
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.theme-featured-products.theme-product-grid,
	.theme-featured-products.de-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (min-width: 1024px) {
	.theme-featured-products.theme-product-grid,
	.theme-featured-products.de-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.de-product-grid > [data-reveal-child],
.theme-product-grid > [data-reveal-child] {
	display: flex;
	height: 100%;
	min-width: 0;
}
.theme-product-card-wrap { display: flex; height: 100%; width: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; width: 100%; position: relative; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__quick-add,
.theme-product-card .add_to_cart_button { pointer-events: auto; }

.theme-product-card__image-wrapper { position: relative; overflow: hidden; aspect-ratio: 4/5; width: 100%; background-color: var(--de-color_nude); }
.theme-product-card__image { transition: transform 1200ms ease; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.07); }
.theme-product-card__image-wrapper::after {
	content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 500ms ease;
	background: linear-gradient(180deg, transparent 45%, rgba(8,8,8,0.6) 100%);
}
.theme-product-card:hover .theme-product-card__image-wrapper::after { opacity: 1; }

.theme-product-card__badge-row { position: absolute; top: 0.875rem; left: 0.875rem; z-index: 3; display: flex; gap: 0.5rem; }
.theme-badge { font-family: var(--font-jost); font-weight: 500; text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; padding: 6px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.theme-badge--category { background: var(--de-color_cream); color: var(--de-color_strawberry); }
.theme-badge--soldout { background: rgba(8,8,8,0.8); color: var(--de-color_gold_soft); }

.theme-product-card__quick-add {
	position: absolute; bottom: 0.875rem; right: 0.875rem; z-index: 3; width: 48px; height: 48px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center; background: var(--gradient-berry); color: var(--de-color_cream);
	opacity: 0; transform: translateY(8px); transition: all 400ms ease; box-shadow: var(--shadow-gold);
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; transform: translateY(0); }
.theme-product-card__quick-add:hover { transform: scale(1.1); }

.theme-product-card__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem; flex: 1; }
.theme-product-card__info-text { min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 19px; line-height: 1.35; color: var(--de-color_foreground); font-weight: 500; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 21px; } }
.theme-product-card__desc { margin-top: 0.375rem; font-size: 14px; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-product-card__price { font-family: var(--font-display); font-size: 21px; flex-shrink: 0; font-weight: 500; color: var(--de-color_strawberry); font-variant-numeric: tabular-nums; }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.5; font-size: 0.85em; margin-right: 4px; }

.de-empty-shop-note { color: color-mix(in srgb, var(--de-color_foreground) 55%, transparent); }

.de-shop-head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .de-shop-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.de-shop-head-copy { max-width: 42rem; }
.de-shop-ask-btn { flex-shrink: 0; align-self: flex-start; }

.de-scallop-divider { position: relative; width: 100%; line-height: 0; margin-top: 4rem; margin-bottom: -1px; }
@media (min-width: 768px) { .de-scallop-divider { margin-top: 6rem; } }
.de-scallop-svg { width: 100%; height: 70px; display: block; }
@media (min-width: 768px) { .de-scallop-svg { height: 130px; } }

/* --------------------------------------------------------------------
   STORY / PURPOSE
   -------------------------------------------------------------------- */
.de-story-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .de-story-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 4rem; } }
.de-story-media { position: relative; }
@media (min-width: 1024px) { .de-story-media { grid-column: span 6 / span 6; } }
.de-story-media-inner { position: relative; }
.de-story-img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 1.75rem; box-shadow: var(--shadow-elevated); position: static; }
.de-story-img-overlap { display: none; position: absolute; bottom: -2.5rem; right: -1.5rem; width: 50%; aspect-ratio: 1/1; object-fit: cover; border-radius: 1.25rem; box-shadow: var(--shadow-elevated); border: 4px solid var(--de-color_vanilla); }
@media (min-width: 640px) { .de-story-img-overlap { display: block; } }
.de-story-badge {
	display: none;
	position: absolute;
	top: -1.5rem;
	left: -1rem;
	padding: 1rem 1.25rem;
	border-radius: 1rem;
	box-shadow: var(--shadow-soft);
	background: var(--de-color_vanilla);
	border: 1px solid var(--de-color_gold);
	line-height: 1.2;
}
@media (min-width: 640px) { .de-story-badge { display: block; } }
.de-story-badge-number {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.875rem;
	line-height: 1.1;
	color: var(--de-color_strawberry);
	margin: 0;
}
.de-story-badge-label {
	margin: 0;
	color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent);
}
.de-story-copy { }
@media (min-width: 1024px) { .de-story-copy { grid-column: span 6 / span 6; padding-left: 1.5rem; } }
.de-story-text { margin-top: 1.5rem; max-width: 42rem; color: color-mix(in srgb, var(--de-color_foreground) 62%, transparent); font-size: 1rem; line-height: 1.7; }
.de-story-text p + p { margin-top: 1.25rem; }
.de-story-tagline {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.375;
	color: var(--de-color_chocolate);
}
@media (min-width: 768px) { .de-story-tagline { font-size: 1.5rem; } }
.de-story-ctas {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 2rem;
	align-items: stretch;
}
@media (min-width: 640px) {
	.de-story-ctas {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}
}
.de-story-ctas .doce-btn {
	flex: 0 0 auto;
	white-space: nowrap;
	max-width: 100%;
}
/* Narrow story column (lg 2-col): keep full label readable — stack instead of clipping. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.de-story-ctas {
		flex-direction: column;
		align-items: stretch;
	}
	.de-story-ctas .doce-btn {
		width: 100%;
		justify-content: center;
	}
}

.de-diamond-divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 4rem; }
@media (min-width: 768px) { .de-diamond-divider { margin-top: 6rem; } }
.de-diamond-line { height: 1px; width: 4rem; }
@media (min-width: 640px) { .de-diamond-line { width: 7rem; } }
.de-diamond-line-l { background: linear-gradient(90deg, transparent, var(--de-color_gold)); }
.de-diamond-line-r { background: linear-gradient(90deg, var(--de-color_gold), transparent); }
.de-diamond-dot { display: block; width: 10px; height: 10px; background: var(--de-color_gold); transform: rotate(45deg); animation: de-twinkle 3.6s ease-in-out infinite; }
.de-newsletter-divider { margin-top: 0; margin-bottom: 2rem; }

/* --------------------------------------------------------------------
   PHILOSOPHY
   -------------------------------------------------------------------- */
.de-philosophy-section {
	overflow: hidden;
	padding-top: 6rem;
	padding-bottom: 7rem;
}
@media (min-width: 768px) {
	.de-philosophy-section {
		padding-top: 8rem;
		padding-bottom: 10rem;
	}
}
.de-philosophy-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.de-philosophy-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0.22;
	max-width: none;
}
.de-philosophy-bg-gradient {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(120deg, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.55) 55%, rgba(8,8,8,0.9) 100%);
}
.de-philosophy-inner { position: relative; z-index: 2; }
.de-philosophy-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .de-philosophy-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 4rem; } }
.de-philosophy-copy { }
@media (min-width: 1024px) { .de-philosophy-copy { grid-column: span 7 / span 7; } }
.de-philosophy-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(229,208,174,0.12); color: var(--de-color_gold_soft); border: 1px solid rgba(229,208,174,0.35); }
.philosophy-heading { color: var(--de-color_vanilla); }
.philosophy-heading .de-gold-text { color: var(--de-color_gold); }
.de-philosophy-paragraph { margin-top: 1.5rem; max-width: 42rem; font-size: 1rem; line-height: 1.7; color: rgba(255,253,250,0.78); }
@media (min-width: 768px) { .de-philosophy-paragraph { font-size: 1.125rem; } }
.de-philosophy-cta { margin-top: 2.25rem; }
.de-philosophy-image-wrap { }
@media (min-width: 1024px) { .de-philosophy-image-wrap { grid-column: span 5 / span 5; } }
.de-philosophy-image-inner { position: relative; overflow: hidden; border-radius: 1.75rem; border: 1px solid rgba(229,208,174,0.4); }
/* Static + aspect-ratio (Lovable) — do NOT use .cover-img absolute here or the box collapses. */
img.de-philosophy-image,
.de-philosophy-image {
	position: static;
	inset: auto;
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}
/* Absolute bottom edge like Lovable — avoids dark padding strip under the SVG. */
.de-philosophy-divider {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	width: 100%;
	line-height: 0;
	margin: 0;
}

/* --------------------------------------------------------------------
   REVIEWS
   -------------------------------------------------------------------- */
.de-review-slider { position: relative; }
.de-review-card { border-radius: 1.75rem; padding: 2rem; position: relative; overflow: hidden; background: var(--de-color_cream); border: 1px solid var(--de-color_gold); box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .de-review-card { padding: 3.5rem; } }
.de-review-quote-icon { position: absolute; top: -0.5rem; right: 1.5rem; width: 6rem; height: 6rem; opacity: 0.1; color: var(--de-color_raspberry); }
.de-review-stars { display: flex; gap: 4px; margin-bottom: 1.25rem; }
.de-review-quote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; max-width: 48rem; }
@media (min-width: 768px) { .de-review-quote { font-size: 1.875rem; } }
.de-review-author { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.75rem; }
.de-review-avatar { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--gradient-berry); color: var(--de-color_vanilla); }
.de-review-role { font-family: var(--font-display); font-size: 1.125rem; }
.de-review-context { font-size: 14px; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }
.de-review-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 2.25rem; }
.de-review-arrow { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: transform 300ms ease; border: 1px solid var(--de-color_nude); color: var(--de-color_chocolate); }
.de-review-arrow:hover { transform: translateX(2px); }
.de-review-dots { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.75rem; }
.de-review-dot { height: 8px; width: 8px; border-radius: 999px; background: var(--de-color_nude); transition: all 500ms ease; }
.de-review-dot.is-active { width: 28px; background: var(--de-color_raspberry); }
.de-review-dot:hover { opacity: 0.8; }

/* --------------------------------------------------------------------
   INSTAGRAM
   -------------------------------------------------------------------- */
.de-ig-head { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .de-ig-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.de-ig-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
@media (min-width: 768px) { .de-ig-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.de-ig-item { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: 1rem; background-color: var(--de-color_nude); border: 1px solid var(--de-color_nude); }
.de-ig-img { transition: transform 1200ms ease; }
.de-ig-item:hover .de-ig-img { transform: scale(1.1); }
.de-ig-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 500ms ease; background: rgba(8,8,8,0.55); color: var(--de-color_gold); }
.de-ig-item:hover .de-ig-overlay { opacity: 1; }

/* --------------------------------------------------------------------
   NEWSLETTER
   -------------------------------------------------------------------- */
.de-newsletter-section .newsletter-heading,
.de-newsletter-section .section-heading { color: var(--de-color_vanilla); }
.de-newsletter-inner { text-align: center; }
.de-newsletter-subtitle { margin-top: 1.25rem; margin-left: auto; margin-right: auto; max-width: 42rem; font-size: 1rem; line-height: 1.7; color: rgba(255,253,250,0.78); }
@media (min-width: 768px) { .de-newsletter-subtitle { font-size: 1.125rem; } }
.de-newsletter-form { margin-top: 2.25rem; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; gap: 0.75rem; max-width: 36rem; }
@media (min-width: 640px) { .de-newsletter-form { flex-direction: row; } }
.de-newsletter-input {
	flex: 1; border-radius: 999px; padding: 1rem 1.5rem; font-size: 15px; outline: none; transition: all 300ms ease;
	background: rgba(255,253,250,0.07); border: 1px solid rgba(229,208,174,0.35); color: var(--de-color_vanilla);
}
.de-newsletter-input::placeholder { color: rgba(255,253,250,0.5); }
.de-newsletter-input:focus { border-color: var(--de-color_gold); }
.de-newsletter-success { margin-top: 1rem; font-size: 14px; color: var(--de-color_gold_soft); }

/* --------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------- */
.de-faq-head { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
@media (min-width: 768px) { .de-faq-head { margin-bottom: 4rem; } }
.de-faq-eyebrow { justify-content: center; }
.de-faq-cta { margin-top: 1.5rem; display: inline-flex; }
.de-faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.de-faq-item { border-radius: 1rem; overflow: hidden; transition: all 500ms ease; background: var(--de-color_blush); border: 1px solid var(--de-color_nude); }
.de-faq-item.is-open { background: var(--de-color_cream); border-color: var(--de-color_gold); }
.de-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; padding: 1.25rem 1.5rem; transition: background-color 200ms ease; }
.de-faq-question:hover { background: rgba(229,208,174,0.25); }
.de-faq-q-text { font-family: var(--font-display); font-size: 1.125rem; }
@media (min-width: 768px) { .de-faq-q-text { font-size: 1.25rem; } }
.de-faq-question:hover .de-faq-q-text { color: var(--de-color_raspberry); }
.de-faq-chevron { flex-shrink: 0; transition: transform 500ms ease; color: var(--de-color_raspberry); }
.de-faq-item.is-open .de-faq-chevron { transform: rotate(180deg); }
.de-faq-answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 500ms ease-out; }
.de-faq-item.is-open .de-faq-answer-wrap { grid-template-rows: 1fr; }
.de-faq-answer-inner { overflow: hidden; }
.de-faq-answer { padding: 0 1.5rem 1.5rem; margin-top: -0.25rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }

/* --------------------------------------------------------------------
   CONTACT SECTION
   -------------------------------------------------------------------- */
.de-contact-card { display: grid; grid-template-columns: 1fr; border-radius: 1.75rem; overflow: hidden; box-shadow: var(--shadow-elevated); border: 1px solid var(--de-color_gold); }
@media (min-width: 1024px) { .de-contact-card { grid-template-columns: 1fr 1fr; } }
.de-contact-media { position: relative; min-height: 320px; }
@media (min-width: 1024px) { .de-contact-media { min-height: 100%; } }
.de-contact-media-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,8,8,0.72) 0%, rgba(157,102,105,0.42) 100%); }
.de-contact-media-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; }
@media (min-width: 768px) { .de-contact-media-copy { padding: 2.5rem; } }
.de-contact-gem { margin-bottom: 1.25rem; opacity: 0.9; color: var(--de-color_gold); }
.de-contact-quote { font-family: var(--font-display); font-size: 1.5rem; color: var(--de-color_vanilla); }
@media (min-width: 768px) { .de-contact-quote { font-size: 1.875rem; } }
.de-contact-form-col { padding: 2rem; background: var(--de-color_vanilla); }
@media (min-width: 768px) { .de-contact-form-col { padding: 3rem; } }
@media (min-width: 1024px) { .de-contact-form-col { padding: 3.5rem; } }
.de-contact-subtitle { margin-top: 1rem; margin-bottom: 2rem; max-width: 28rem; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }
.de-contact-methods { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.de-contact-method { display: flex; align-items: center; gap: 1rem; padding: 0.75rem; border-radius: 1rem; transition: background-color 200ms ease; }
.de-contact-method:hover { background: var(--de-color_blush); }
.de-contact-method-icon { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 500ms ease; background: var(--de-color_blush); color: var(--de-color_strawberry); }
.de-contact-method:hover .de-contact-method-icon { transform: scale(1.1); }
.de-contact-method-label { display: block; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }
.de-contact-method-value { display: block; font-size: 15px; color: var(--de-color_foreground); }
.de-contact-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .de-contact-ctas { flex-direction: row; } .de-contact-ctas > * { flex: 1; } }

/* --------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------- */
.de-footer { position: relative; overflow: hidden; background: var(--de-color_cream); color: var(--de-color_chocolate); border-top: 1px solid var(--de-color_gold); }
.de-footer-gem { pointer-events: none; position: absolute; right: -2.5rem; bottom: -2.5rem; width: 16rem; height: 16rem; opacity: 0.07; color: var(--de-color_raspberry); }
@media (min-width: 768px) { .de-footer-gem { width: 24rem; height: 24rem; } }
.de-footer-inner { position: relative; padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .de-footer-inner { padding-top: 6rem; padding-bottom: 2.5rem; } }
.de-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .de-footer-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 3.5rem; } }
.de-footer-brand { }
@media (min-width: 768px) { .de-footer-brand { grid-column: span 5 / span 5; } }
.de-footer-logo,
.de-footer-logo-text,
img.de-footer-logo {
	height: 7rem; /* 112px / h-28 */
	width: auto;
	max-width: none;
	max-height: 7rem;
	object-fit: contain;
	transition: transform 500ms ease;
}
@media (min-width: 768px) {
	.de-footer-logo,
	.de-footer-logo-text,
	img.de-footer-logo {
		height: 10rem; /* 160px / h-40 */
		max-height: 10rem;
	}
}
a:hover img.de-footer-logo { transform: scale(1.05); }
.de-footer-logo-text { font-family: var(--font-hero); font-size: 2rem; }
.de-footer-tagline { margin-top: 1.5rem; max-width: 28rem; font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }
.de-footer-socials { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.75rem; }
.de-social-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--de-color_nude); display: flex; align-items: center; justify-content: center; color: var(--de-color_chocolate); transition: all 300ms ease; }
.de-social-btn:hover { transform: translateY(-4px); background: var(--de-color_raspberry); border-color: var(--de-color_raspberry); color: var(--de-color_vanilla); }
.de-footer-col { }
@media (min-width: 768px) { .de-footer-col:nth-of-type(2) { grid-column: span 3 / span 3; } }
.de-footer-contact-col { }
@media (min-width: 768px) { .de-footer-contact-col { grid-column: span 4 / span 4; } }
.de-footer-col-label { margin-bottom: 1.25rem; color: var(--de-color_strawberry); }
.de-footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.de-footer-links a { font-size: 14px; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }
.de-footer-links a:hover { color: var(--de-color_raspberry); }
.de-footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 14px; margin-bottom: 1.5rem; }
.de-footer-contact-link { display: inline-flex; align-items: flex-start; gap: 8px; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }
.de-footer-contact-link:hover { color: var(--de-color_raspberry); }
.de-footer-address { word-break: break-word; }
.de-footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 0.75rem; border-top: 1px solid var(--de-color_nude); }
@media (min-width: 640px) { .de-footer-bottom { flex-direction: row; align-items: center; } }
.de-footer-copy, .de-footer-built { font-size: 14px; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }
.de-footer-built a { text-decoration: underline; text-underline-offset: 4px; }
.de-footer-built a:hover { color: var(--de-color_raspberry); }

.de-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 44px; height: 44px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-gold);
	background: var(--gradient-berry); color: var(--de-color_cream); opacity: 0; pointer-events: none;
	transition: all 300ms ease;
}
.de-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.de-back-to-top:hover { transform: scale(1.1) translateY(-4px); }
@media (min-width: 768px) { .de-back-to-top { width: 48px; height: 48px; } }

/* --------------------------------------------------------------------
   404
   -------------------------------------------------------------------- */
.de-404-main { min-height: 60vh; display: flex; align-items: center; }
.de-404-inner { text-align: center; padding-block: 6rem; max-width: 40rem; margin-inline: auto; }
.de-404-title { margin-bottom: 1.5rem; font-size: 2.5rem; }
.de-404-text { color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); margin-bottom: 2rem; }

/* --------------------------------------------------------------------
   CONTACT MODAL
   -------------------------------------------------------------------- */
#de-contact-overlay { position: fixed; inset: 0; z-index: 100090; background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity 250ms ease; }
body.contact-open #de-contact-overlay { opacity: 1; pointer-events: auto; }
#de-contact-modal {
	position: fixed; left: 50%; top: 50%; z-index: 100091; width: min(92vw, 32rem);
	max-height: min(90vh, 100dvh - 2rem);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	background: var(--de-color_cream); border: 1px solid var(--de-color_nude); border-radius: 1.75rem; padding: 1.25rem;
	transition: opacity 250ms ease, transform 250ms ease;
}
@media (min-width: 640px) { #de-contact-modal { padding: 1.5rem; } }
body.contact-open #de-contact-modal { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.de-modal-inner { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.de-modal-close { position: absolute; right: 0.75rem; top: 0.75rem; width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: opacity 200ms ease; cursor: pointer; }
.de-modal-close:hover { opacity: 1; background: var(--de-color_blush); }
.de-modal-header { margin-bottom: 0.75rem; padding-right: 2rem; flex-shrink: 0; }
.de-modal-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.875rem;
	line-height: 1.15;
	color: var(--de-color_foreground);
}
@media (min-width: 640px) { .de-modal-title { font-size: 1.875rem; } }
.de-modal-subtitle { color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); font-size: 14px; margin-top: 0.35rem; line-height: 1.4; }
.de-modal-contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	font-size: 14px;
	color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent);
	margin-bottom: 1rem;
	flex-shrink: 0;
}
.de-modal-contacts a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	line-height: 1.3;
}
.de-modal-contacts a:hover { color: var(--de-color_raspberry); }
.de-modal-contacts svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	display: block;
	stroke: currentColor;
	fill: none;
	overflow: visible;
}
.de-modal-contacts span { font-size: 14px; }
.de-modal-form { display: flex; flex-direction: column; gap: 0.65rem; min-height: 0; }
.de-form-row-2 { display: grid; grid-template-columns: 1fr; gap: 0.65rem; }
@media (min-width: 640px) { .de-form-row-2 { grid-template-columns: 1fr 1fr; } }
.de-modal-form label { font-size: 14px; font-weight: 500; margin-bottom: 0.35rem; display: block; font-family: var(--font-jost); color: var(--de-color_foreground); }
.de-modal-form input, .de-modal-form textarea {
	width: 100%; padding: 0.75rem 1rem; border-radius: 1rem; font-size: 1rem; color: var(--de-color_foreground);
	background: var(--de-color_vanilla); border: 1px solid var(--de-color_nude); outline: none;
	transition: box-shadow 200ms ease; font-family: var(--font-jost);
}
.de-modal-form input::placeholder,
.de-modal-form textarea::placeholder {
	color: color-mix(in srgb, var(--de-color_foreground) 45%, transparent);
	opacity: 1;
}
.de-modal-form input:focus, .de-modal-form textarea:focus { box-shadow: 0 0 0 2px var(--de-color_raspberry); }
.de-modal-form textarea { resize: none; min-height: 6rem; }
.de-modal-form-actions { display: flex; justify-content: flex-end; margin-top: 0.25rem; }
.de-modal-form-actions .doce-btn svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	display: block;
	stroke: currentColor;
}
.de-modal-close svg {
	width: 1rem;
	height: 1rem;
	display: block;
	stroke: currentColor;
}
body.is-customizer #de-contact-modal,
body.is-customizer #de-contact-overlay {
	/* Keep modal usable and fully styled in Customizer preview. */
	z-index: 100091;
}
.de-modal-error { color: var(--de-color_strawberry); font-size: 13px; }
.de-modal-success { text-align: center; padding: 1.5rem 0; }
.de-modal-success-icon { width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; background: var(--gradient-berry); color: var(--de-color_cream); box-shadow: var(--shadow-gold); }
.de-modal-success h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.de-modal-success p { font-size: 13px; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }

/* When admin bar is visible, keep modal clear of it. */
.admin-bar #de-contact-modal { max-height: min(90vh, calc(100dvh - 3.5rem)); }

/* --------------------------------------------------------------------
   SIDE CART DRAWER (Section 12)
   -------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(8,8,8,0.55); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 96;
	box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	background: var(--de-color_cream); transform: translateX(100%); transition: transform 400ms cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--de-color_nude); }
.theme-cart-drawer-title { font-size: 1.5rem; }
.theme-cart-close { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: all 300ms ease; }
.theme-cart-close:hover { background: rgba(0,0,0,0.05); transform: rotate(90deg); }
.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty-icon { width: 80px; height: 80px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; background: var(--de-color_blush); color: var(--de-color_raspberry); }
.theme-cart-empty-text { color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); margin-bottom: 1.5rem; }
.theme-cart-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; padding: 0.75rem; border-radius: 1rem; transition: background-color 200ms ease; }
.theme-cart-item:hover { background: var(--de-color_vanilla); }
.theme-cart-item-thumb { position: relative; width: 80px; height: 96px; flex-shrink: 0; border-radius: 0.75rem; overflow: hidden; background: var(--de-color_nude); display: block; }
.theme-cart-item-thumb img,
.theme-cart-item-thumb .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	max-width: none;
	display: block;
}
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-title { font-size: 15px; font-family: var(--font-display); line-height: 1.35; display: block; color: var(--de-color_foreground); }
.theme-cart-item-title:hover { color: var(--de-color_raspberry); }
.theme-cart-item-price { font-size: 14px; font-weight: 600; margin-top: 0.25rem; color: var(--de-color_strawberry); }
.theme-cart-item-variation { font-size: 12px; color: color-mix(in srgb, var(--de-color_foreground) 55%, transparent); margin-top: 0.125rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { width: 28px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: background-color 200ms ease; border: 1px solid var(--de-color_nude); }
.theme-cart-qty-btn:hover { background: var(--de-color_blush); }
.theme-cart-item-qty { font-size: 14px; width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.theme-cart-remove { margin-left: auto; font-size: 14px; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); transition: color 200ms ease; }
.theme-cart-remove:hover { color: var(--de-color_strawberry); }
.theme-cart-drawer-footer { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; border-top: 1px solid var(--de-color_nude); }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-subtotal-label { color: var(--de-color_foreground); }
.theme-cart-subtotal-value { font-family: var(--font-display); font-size: 1.875rem; color: var(--de-color_strawberry); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); transition: color 200ms ease; }
.theme-cart-empty-btn:hover { color: var(--de-color_strawberry); }

/* Hide WooCommerce's own "View cart" link injected after AJAX add (Section 11.4.2). */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* WooCommerce notices scoped visibility (Section 14.1). */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { font-family: var(--font-jost); border-radius: 0.75rem; }

/* --------------------------------------------------------------------
   ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
   -------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--de-color_primary) !important;
	color: var(--de-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-jost) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	background-image: var(--gradient-berry) !important;
	box-shadow: var(--shadow-gold) !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	color: var(--de-color_button_text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
}
/* Card compact circular quick-add — overrides the global rules above. */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	width: 48px !important;
	height: 48px !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
}
.single_add_to_cart_button.button.theme-btn-loading,
.add_to_cart_button.button.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* --------------------------------------------------------------------
   SINGLE PRODUCT PAGE
   -------------------------------------------------------------------- */
.de-single-product { padding-top: 0; }
.de-product-breadcrumb { padding: 1.5rem 0; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); font-family: var(--font-jost); }
.de-product-breadcrumb a:hover { color: var(--de-color_raspberry); }
.de-product-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.de-product-breadcrumb-current { color: var(--de-color_foreground); }

.de-product-layout, .theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 6rem; padding-top: 0.5rem; align-items: flex-start; min-width: 0; }
@media (min-width: 1024px) { .de-product-layout, .theme-product-layout { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 4rem; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7 / span 7; } }
.theme-product-main-img-btn { display: block; width: 100%; aspect-ratio: 4/5; overflow: hidden; cursor: zoom-in; border-radius: 2rem; box-shadow: var(--shadow-elevated); background-color: var(--de-color_nude); position: relative; }
.theme-product-main-image { transition: transform 700ms ease; }
.theme-product-main-img-btn:hover .theme-product-main-image { transform: scale(1.05); }
.theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0.75rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 0.75rem; transition: all 300ms ease; background-color: var(--de-color_nude); border: 1px solid var(--de-color_nude); }
.theme-product-thumb:hover { transform: translateY(-4px); }
.theme-product-thumb.is-active { border: 2px solid var(--de-color_raspberry); }

.theme-product-info { min-width: 0; max-width: 100%; align-self: start; }
@media (min-width: 1024px) { .theme-product-info { grid-column: span 5 / span 5; position: sticky; top: 7rem; } }
.product-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.875rem;
	line-height: 1.02;
	letter-spacing: -0.01em;
	margin-top: 1.25rem;
	margin-bottom: 1.25rem;
	color: var(--de-color_foreground);
	text-transform: none;
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 3.1rem; } }
.theme-product-price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.theme-product-price { font-family: var(--font-display); font-weight: 500; font-size: 2.25rem; color: var(--de-color_strawberry); font-variant-numeric: tabular-nums; }
.theme-product-price ins { text-decoration: none; }
.theme-product-price del { opacity: 0.5; font-size: 0.7em; margin-right: 6px; }
.theme-product-currency { color: var(--de-color_strawberry); }
.theme-stock-indicator--out { font-family: var(--font-jost); text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; color: var(--de-color_strawberry); }
.theme-product-description {
	color: color-mix(in srgb, var(--de-color_foreground) 62%, transparent);
	line-height: 1.7;
	margin: 0 0 2rem;
	font-size: 1rem;
	overflow-wrap: break-word;
	word-break: break-word;
}

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-qty-label { margin: 0 0 0.75rem; color: color-mix(in srgb, var(--de-color_foreground) 60%, transparent); }
.theme-add-to-cart-area { display: block; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border-radius: 999px; overflow: hidden; background: var(--de-color_cream); border: 1px solid var(--de-color_nude); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 200ms ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--de-color_blush); }
.theme-qty-input { width: 48px; min-width: 48px; padding: 0.75rem 0; text-align: center; background: transparent; border: none; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-product-actions { flex-direction: row; } }
.theme-product-actions .single_add_to_cart_button,
.theme-product-actions .theme-ask-btn {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
}
.theme-shipping-note {
	margin-top: 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 14px;
	border-radius: 1rem;
	padding: 0.75rem 1rem;
	background: var(--de-color_vanilla);
	color: var(--de-color_strawberry);
}
.theme-shipping-note svg { flex-shrink: 0; }

.theme-product-details { margin-top: 2.5rem; border-top: 1px solid var(--de-color_nude); }
.theme-details-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-details-toggle:hover .cs-label { color: var(--de-color_raspberry); }
.theme-details-chevron { transition: transform 300ms ease; flex-shrink: 0; }
[aria-expanded="true"] .theme-details-chevron { transform: rotate(180deg); }
.theme-details-content { display: none; padding-bottom: 1.5rem; }
.theme-details-content.is-open { display: block; animation: fadeIn 0.4s ease forwards; }
.theme-details-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-details-list li {
	position: relative;
	padding-left: 1.125rem;
	font-size: 15px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--de-color_foreground) 62%, transparent);
}
.theme-details-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--de-color_raspberry);
}
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

.theme-related-products { padding-top: 5rem; border-top: 1px solid var(--de-color_nude); padding-bottom: 5rem; }
.theme-related-head { margin-bottom: 2.5rem; }
.theme-related-head .related-heading { margin-top: 1rem; margin-bottom: 0; }

.theme-lightbox {
	position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
	padding: 1rem; background: rgba(8,8,8,0.94); backdrop-filter: blur(4px);
}
.theme-lightbox.is-open { display: flex; animation: fadeIn 0.3s ease forwards; }
@media (min-width: 768px) { .theme-lightbox { padding: 2.5rem; } }
.theme-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 1rem; }
.theme-lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color 200ms ease; }
.theme-lightbox-close:hover { background: rgba(255,255,255,0.25); }
@media (min-width: 768px) { .theme-lightbox-close { top: 1.5rem; right: 1.5rem; } }

/* --------------------------------------------------------------------
   NO GLOBAL TEXT-TRANSFORM LEAK (Section 2.2.4)
   -------------------------------------------------------------------- */
.btn-hero-primary, .btn-hero-outline,
.single-product .single_add_to_cart_button,
.product-title { text-transform: none; }

/* --------------------------------------------------------------------
   SHOP ARCHIVE PAGINATION
   -------------------------------------------------------------------- */
.de-shop-pagination { margin-top: 3rem; display: flex; justify-content: center; }
.de-shop-pagination .page-numbers { display: inline-flex; align-items: center; gap: 0.5rem; }
.de-shop-pagination .page-numbers li { list-style: none; }
.de-shop-pagination a, .de-shop-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--de-color_nude); font-family: var(--font-jost); }
.de-shop-pagination .current { background: var(--de-color_raspberry); color: var(--de-color_vanilla); border-color: var(--de-color_raspberry); }

/* --------------------------------------------------------------------
   THANK YOU PAGE (Section 22.8)
   -------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou-content { max-width: 48rem; margin: 0 auto; padding: 4rem 0; text-align: center; }
.theme-thankyou-icon { width: 80px; height: 80px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; background: var(--gradient-berry); color: var(--de-color_cream); box-shadow: var(--shadow-gold); }
body.theme-thankyou-page .woocommerce-order { text-align: left; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 1.5rem 0; border-radius: 1rem; background: var(--de-color_vanilla); border: 1px solid var(--de-color_nude); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; } }
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; font-style: normal; border: 1px solid var(--de-color_nude); border-radius: 1rem; padding: 1.25rem; }
body.theme-thankyou-page .woocommerce-order-details { margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--de-color_nude); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; }

/* --------------------------------------------------------------------
   CHECKOUT (native WooCommerce Blocks) — Section 13
   -------------------------------------------------------------------- */
body.woocommerce-checkout .site-main { padding-top: 2rem; padding-bottom: 4rem; }
.de-page-main { padding-top: 2rem; }
.de-page-main .page-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 2.25rem;
	line-height: 1.06;
	letter-spacing: -0.01em;
	color: var(--de-color_foreground);
	margin: 0 0 1.5rem;
	text-transform: none;
}
@media (min-width: 768px) {
	.de-page-main .page-title { font-size: 3.75rem; margin-bottom: 2rem; }
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	margin-bottom: 2rem;
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
	display: block;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--de-color_cream);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-jost);
	color: var(--de-color_foreground);
	background: var(--de-color_vanilla);
	border: 1px solid var(--de-color_nude);
	border-radius: 1rem;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--de-color_raspberry);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--de-color_foreground) 45%, transparent); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--gradient-berry) !important;
	color: var(--de-color_button_text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-jost) !important;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 500;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 1rem; font-family: var(--font-jost); grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-jost); }
body.woocommerce-checkout h2, body.woocommerce-checkout h3 { font-family: var(--font-display); }

/* --------------------------------------------------------------------
   OTHER WOOCOMMERCE PAGES — WIDTH & ALIGNMENT PARITY (Section 13.7)
   -------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce-MyAccount-content { max-width: none; }

/* --------------------------------------------------------------------
   RESPONSIVE SAFETY (Section 15.1 / 31.9)
   -------------------------------------------------------------------- */
.theme-card-title-row { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.theme-card-title-row .title { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
