/* ==========================================================================
   Crama Jechel (demo) – page-crama.php
   Direcție: tunel de beci săpat în calcar (ca la Mileștii Mici). Piatră luminoasă,
   nișe întunecate unde stau sticlele, butoaie de stejar, lăzi ștanțate.
   Bordo + cupru; titluri înalte, industriale (Big Shoulders), etichete Bodoni.
   Intenționat diferit de La Bunica (fundal închis, auriu, serif clasic, butoane drepte).
   ========================================================================== */

:root {
	--bg: #e8e1d4;
	--bg-2: #ddd4c4;
	--bg-3: #f3eee5;
	--ink: #2a1418;
	--ink-2: #4d3a36;
	--muted: #7b6b62;
	--line: rgba(42, 20, 24, .14);
	--line-2: rgba(42, 20, 24, .28);
	--wine: #6e1a2c;
	--wine-2: #8c2440;
	--wine-deep: #3a0d17;
	--copper: #b06a35;
	--copper-2: #cf8448;
	--chalk: #f4eee4;
	--chalk-2: #d9cfc0;
	--niche: #241913;
	--ok: #2f6b3c;
	--err: #b3261e;
	--white: #c4ad55;
	--rose: #d9907f;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
	--stencil: 'Big Shoulders Stencil Display', 'Big Shoulders Display', 'Arial Narrow', sans-serif;
	--label: 'Bodoni Moda', Didot, Georgia, serif;
	--sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--shadow: 0 26px 60px rgba(42, 20, 24, .22);
	--glow: radial-gradient(ellipse 62% 56% at 50% 40%, rgba(236, 172, 96, .32), rgba(236, 172, 96, .07) 55%, transparent 76%);
	--stone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .22 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--planks: repeating-linear-gradient(180deg, #8a5a34 0 54px, #4d3019 54px 57px, #96643b 57px 112px, #4d3019 112px 115px);
	--shelf: linear-gradient(180deg, #a06a3c, #6e4524 50%, #452a15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.crama { position: relative; margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/26px var(--sans); -webkit-font-smoothing: antialiased; }
/* Textura de piatră de calcar peste tot. */
body.crama::before { content: ''; position: fixed; inset: 0; z-index: 1000; pointer-events: none; background: var(--stone); opacity: .16; mix-blend-mode: multiply; }
:where(.crama) :where(h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; }
:where(.crama) :where(ul, ol) { padding: 0; list-style: none; }
:where(.crama) :where(a) { color: inherit; text-decoration: none; }
:where(.crama) :where(h1, h2, h3) { text-wrap: balance; }
:where(.crama) :where(p) { text-wrap: pretty; }
.crama img { max-width: 100%; display: block; }
.crama :focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
::selection { background: var(--wine); color: var(--chalk); }
body.age-lock, body.cart-open { overflow: hidden; }
/* Atributul hidden trebuie să câștige peste display: grid/flex din componente (pașii comenzii, adresa). */
.crama [hidden] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1100; padding: 8px 12px; background: var(--wine); color: #fff; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografie ---------- */
.cr-display, .cr-h1, .cr-h2, .cr-h3, .cr-card-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; }
.cr-display { font-size: clamp(60px, 9vw, 140px); line-height: .88; }
.cr-h1 { font-size: clamp(52px, 7vw, 104px); line-height: .9; }
.cr-h2 { font-size: clamp(40px, 5vw, 72px); line-height: .92; }
.cr-h3 { font-size: 30px; line-height: 1; font-weight: 700; }
.cr-accent { color: var(--copper-2); }
.cr-lead { font-size: 18px; line-height: 30px; color: var(--ink-2); max-width: 560px; }
.cr-meta { display: inline-block; font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cr-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 12px; border: 1.5px solid currentColor; border-radius: 9999px; font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wine); }

/* ---------- Structură ---------- */
.cr-container { width: min(1280px, 100% - 48px); margin-inline: auto; }
@media (max-width: 760px) { .cr-container { width: calc(100% - 32px); } }
.cr-section { position: relative; padding: 120px 0; }
.cr-section-tight { padding: 56px 0; }
.cr-section-first { padding-top: 40px; }
.cr-section-soft { background: var(--bg-2); }
@media (max-width: 760px) { .cr-section { padding: 76px 0; } .cr-section-first { padding-top: 24px; } }
.cr-head { max-width: 760px; margin-bottom: 64px; }
.cr-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px 26px; }
@media (max-width: 1080px) { .cr-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cr-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 14px; } }

/* ---------- Butoane (pastilă) ---------- */
.cr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border: 1.5px solid transparent; border-radius: 9999px;
	font: 600 15px/20px var(--sans); cursor: pointer; white-space: nowrap;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease), box-shadow .35s var(--ease);
}
.cr-btn:hover { transform: translateY(-2px); }
.cr-btn:active { transform: scale(.98); }
.cr-btn-dark, .cr-btn-brass { background: var(--wine); color: var(--chalk); box-shadow: 0 12px 28px rgba(110, 26, 44, .28); }
.cr-btn-dark:hover, .cr-btn-brass:hover { background: var(--wine-2); }
.cr-btn-line { border-color: currentColor; color: inherit; background: transparent; }
.cr-btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.cr-btn-light { background: var(--chalk); color: var(--wine); }
.cr-btn-light:hover { background: #fff; }
.cr-btn-block { width: 100%; }
.cr-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cr-link { display: inline-flex; align-items: center; gap: 8px; padding: 0 0 3px; border: 0; border-bottom: 1.5px solid currentColor; background: none; font: 600 15px/20px var(--sans); color: var(--wine); cursor: pointer; transition: color .3s var(--ease), gap .4s var(--ease); }
.cr-link:hover { color: var(--wine-2); gap: 12px; }
.cr-back { display: flex; width: max-content; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s var(--ease); }
.cr-back:hover { color: var(--wine); }

/* ---------- Header ---------- */
.cr-header { position: sticky; top: 0; z-index: 100; isolation: isolate; border-bottom: 1px solid var(--line); }
/* Fundalul pe pseudo-element: un backdrop-filter pe .cr-header ar închide meniul mobil (position: fixed) în bară. */
.cr-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(232, 225, 212, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.admin-bar .cr-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cr-header { top: 46px; } }
.cr-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 78px; }
.cr-header-end { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }

.cr-logo { display: inline-flex; align-items: center; gap: 10px; }
.cr-mark { width: 40px; height: 40px; flex: none; }
.cr-logo-text { display: flex; flex-direction: column; font: 800 28px/.85 var(--stencil); letter-spacing: .04em; text-transform: uppercase; color: var(--wine); }
.cr-logo-text small { font: 700 10px/12px var(--sans); letter-spacing: .42em; color: var(--ink); margin-bottom: 3px; }
.cr-logo-lg .cr-mark { width: 58px; height: 58px; }
.cr-logo-lg .cr-logo-text { font-size: 48px; color: var(--chalk); }
.cr-logo-lg .cr-logo-text small { font-size: 12px; color: var(--copper-2); }

.d-menu ul { display: flex; gap: 6px; }
.d-menu a { display: block; padding: 8px 16px; border-radius: 9999px; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.d-menu a:hover { background: rgba(110, 26, 44, .08); color: var(--wine); }
.d-menu a[aria-current="page"] { background: var(--ink); color: var(--chalk); }

.cr-cart-btn {
	position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 9999px;
	background: var(--wine); color: var(--chalk); font: 600 14px/20px var(--sans); cursor: pointer; transition: background-color .3s var(--ease);
}
.cr-cart-btn:hover { background: var(--wine-2); }
.cr-cart-btn i { font-size: 18px; }
.cr-cart-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 9999px; background: var(--chalk); color: var(--wine); font-size: 12px; font-weight: 700; }
.cr-cart-count.is-empty { opacity: .6; }
.cr-cart-btn.is-bump { animation: cr-bump .6s var(--ease); }
@keyframes cr-bump { 30% { transform: scale(1.1) rotate(-3deg); } }

.d-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; }
.d-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--ease); }
.d-toggle span:nth-child(1) { transform: translateY(-4px); }
.d-toggle span:nth-child(2) { transform: translateY(4px); }
.d-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.d-toggle[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

@media (max-width: 960px) {
	.cr-header-inner { grid-template-columns: auto 1fr; min-height: 68px; }
	.cr-cart-label { display: none; }
	.d-toggle { display: block; }
	/* Panou pe tot ecranul; 100dvh ține cont de bara browserului pe telefon. */
	.d-menu {
		position: fixed; top: 0; left: 0; z-index: 1; width: 100%; height: 100vh; height: 100dvh; padding: 116px 20px 40px;
		overflow-y: auto; overscroll-behavior: contain; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
	}
	.d-menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
	.d-menu ul { flex-direction: column; gap: 6px; }
	.d-menu li { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
	.d-menu.is-open li { opacity: 1; transform: none; }
	.d-menu.is-open li:nth-child(2) { transition-delay: 60ms; }
	.d-menu.is-open li:nth-child(3) { transition-delay: 120ms; }
	.d-menu.is-open li:nth-child(4) { transition-delay: 180ms; }
	.d-menu a { padding: 14px 22px; border-radius: 20px; font: 800 44px/1 var(--display); text-transform: uppercase; color: var(--ink); }
	.cr-logo, .cr-header-end { position: relative; z-index: 2; }
	html:has(body.menu-open) { overflow: hidden; }
}
@media (max-width: 520px) {
	.cr-header-inner { gap: 8px; }
	.cr-header-end { gap: 4px; }
	.cr-logo { gap: 8px; }
	.cr-mark { width: 34px; height: 34px; }
	.cr-logo-text { font-size: 24px; }
	.cr-cart-btn { padding: 8px 11px; gap: 6px; }
	.d-lang-btn { padding: 8px 6px !important; }
}

/* Selector de limbă */
.d-lang { position: relative; z-index: 3; }
.d-lang-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 10px; border: 0; background: none; color: var(--ink); font: 600 14px/20px var(--sans); cursor: pointer; }
.d-lang-btn:hover, .d-lang-btn[aria-expanded="true"] { color: var(--wine); }
.d-caret { transition: transform .5s var(--ease); }
.d-lang-btn[aria-expanded="true"] .d-caret { transform: rotate(180deg); }
.d-lang-list { position: absolute; top: calc(100% + 10px); right: 0; z-index: 5; min-width: 180px; padding: 6px; border-radius: 18px; background: var(--bg-3); border: 1px solid var(--line); box-shadow: var(--shadow); animation: cr-pop .3s var(--ease); }
@keyframes cr-pop { from { opacity: 0; transform: translateY(-6px); } }
.d-lang-list a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; transition: background-color .3s var(--ease); }
.d-lang-list a:hover, .d-lang-list a[aria-current] { background: var(--bg-2); }
.d-lang-code { width: 24px; font-weight: 700; color: var(--wine); }

/* ---------- Sticle în nișe săpate în piatră, pe rafturi ---------- */
.cr-bottle { display: block; height: 100%; width: auto; }
.cr-card { display: flex; flex-direction: column; }
.cr-card[hidden] { display: none; }
.cr-card-media {
	position: relative; display: flex; justify-content: center; align-items: flex-end; aspect-ratio: 4 / 5; min-height: 0; padding: 14% 0 0;
	border-radius: 999px 999px 0 0; background: var(--glow), var(--niche);
	box-shadow: inset 0 26px 50px rgba(0, 0, 0, .75), 0 0 0 8px rgba(255, 255, 255, .35), 0 0 0 9px rgba(42, 20, 24, .12);
}
.cr-card-media::after { content: ''; position: absolute; left: -16px; right: -16px; bottom: -14px; height: 16px; border-radius: 3px; background: var(--shelf); box-shadow: 0 14px 22px rgba(42, 20, 24, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.cr-card-media .cr-bottle { position: relative; z-index: 1; height: 88%; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .6)) drop-shadow(0 0 24px rgba(236, 172, 96, .14)); transform-origin: 50% 100%; transition: transform .8s var(--ease), filter .8s var(--ease); }
.cr-card:hover .cr-card-media .cr-bottle { transform: translateY(-14px) rotate(-3deg); filter: drop-shadow(0 22px 14px rgba(0, 0, 0, .55)) drop-shadow(0 0 32px rgba(236, 172, 96, .3)); }
/* Etichetă de hârtie atârnată cu sfoară, în loc de insignă. */
.cr-badge {
	position: absolute; top: 18%; right: -8px; z-index: 2; padding: 6px 10px 6px 14px; border-radius: 3px 6px 6px 3px;
	background: var(--chalk); color: var(--wine); font-size: 10px; line-height: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	box-shadow: 0 6px 12px rgba(0, 0, 0, .3); transform: rotate(6deg);
}
.cr-badge::before { content: ''; position: absolute; left: 5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--niche); }
.cr-badge-medal { background: #e9c66b; color: #3a2a07; }
.cr-badge-new { background: #cfe3c6; color: #234a2b; }
.cr-badge-limited { background: var(--wine); color: var(--chalk); }
.cr-card-body { display: flex; flex-direction: column; flex: 1; padding: 32px 2px 0; }
.cr-card-title { margin: 6px 0 2px; font-size: 30px; line-height: .95; }
.cr-card-title a { transition: color .3s var(--ease); }
.cr-card-title a:hover { color: var(--wine); }
.cr-card-sub { font-size: 13px; color: var(--muted); }
.cr-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.cr-price { font: 800 28px/1 var(--display); color: var(--wine); }
.cr-add { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 9999px; background: transparent; font: 600 13px/18px var(--sans); color: var(--ink); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.cr-add:hover { background: var(--wine); border-color: var(--wine); color: var(--chalk); }
@media (max-width: 760px) {
	.cr-card-media { box-shadow: inset 0 20px 40px rgba(0, 0, 0, .75), 0 0 0 5px rgba(255, 255, 255, .35); }
	.cr-card-media::after { left: -9px; right: -9px; height: 12px; bottom: -10px; }
	.cr-badge { font-size: 8px; line-height: 12px; padding: 4px 7px 4px 11px; right: -6px; }
	.cr-card-body { padding-top: 24px; }
	.cr-card-title { font-size: 23px; }
	.cr-card-sub { font-size: 12px; line-height: 17px; }
	.cr-price { font-size: 23px; }
	.cr-add span { display: none; }
	.cr-add { padding: 7px 9px; }
}

/* ---------- Acasă ---------- */
.h-hero { position: relative; display: flex; align-items: center; min-height: calc(100svh - 78px); padding: 64px 0; overflow: hidden; isolation: isolate; color: var(--chalk); background: var(--wine-deep); }
.h-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.62); transform: scale(1.06); animation: h-zoom 20s var(--ease) forwards; }
@keyframes h-zoom { to { transform: scale(1); } }
/* Voal bordo peste poza tunelului, ca textul să se citească. */
.h-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(58, 13, 23, .95) 0%, rgba(58, 13, 23, .78) 45%, rgba(58, 13, 23, .3) 100%); }
.h-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; background: var(--bg); clip-path: ellipse(60% 100% at 50% 100%); }
.h-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; width: min(1280px, 100% - 48px); }
.h-hero .cr-eyebrow { color: var(--copper-2); }
.h-hero .cr-display { margin-bottom: 26px; }
.h-hero .cr-lead { color: var(--chalk-2); }
.h-hero .cr-btn-line { color: var(--chalk); }
.h-hero .cr-btn-line:hover { background: var(--chalk); border-color: var(--chalk); color: var(--wine); }
.h-hero-art { --bw: 500px; position: relative; height: calc(var(--bw) * .594 + 300px); }
@media (max-width: 1200px) { .h-hero-art { --bw: 420px; } }
.h-glow { position: absolute; left: 50%; top: 4%; width: 120%; height: 90%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 45%, rgba(240, 175, 95, .38), rgba(240, 175, 95, .08) 45%, transparent 70%); animation: h-flicker 4s ease-in-out infinite alternate; pointer-events: none; }
@keyframes h-flicker { 0% { opacity: .85; } 40% { opacity: 1; } 55% { opacity: .9; } 100% { opacity: 1; } }
.h-hero-barrel { position: absolute; left: 50%; bottom: 0; width: var(--bw); transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.h-hero-bottles { position: absolute; left: 50%; bottom: calc(var(--bw) * .56); display: flex; align-items: flex-end; gap: 4px; height: 310px; transform: translateX(-50%); }
.h-hero-bottle { height: 86%; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 24px rgba(240, 175, 95, .2)); animation: cr-rise 1.1s var(--ease) both; }
.h-hero-bottle-1 { height: 100%; animation-delay: .12s; }
.h-hero-bottle-2 { height: 80%; animation-delay: .24s; }
@keyframes cr-rise { from { transform: translateY(40px); opacity: 0; } }
@media (max-width: 960px) {
	.h-hero { min-height: 0; padding: 40px 0 88px; }
	.h-hero-grid { grid-template-columns: 1fr; width: calc(100% - 32px); }
	.h-hero-art { --bw: min(400px, calc(100vw - 48px)); height: calc(var(--bw) * .594 + 240px); }
	.h-hero-bottles { height: 240px; }
}

.h-perks { padding: 12px 0 0; }
.h-perks-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.h-perks-list li { display: flex; gap: 14px; padding: 22px; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }
.h-perks-list i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--wine); color: var(--chalk); font-size: 22px; }
.h-perks-list strong { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 600; font-size: 15px; }
@media (max-width: 960px) { .h-perks-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .h-perks-list { grid-template-columns: 1fr; gap: 8px; } }

/* Lăzi de lemn cu ștampila categoriei */
.h-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.h-cat { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 380px; padding: 24px; border-radius: 6px; overflow: hidden; background: var(--planks); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), inset 0 0 50px rgba(0, 0, 0, .35), 0 18px 34px rgba(42, 20, 24, .25); transition: transform .6s var(--ease); }
.h-cat::before { content: ''; position: absolute; inset: 0; background: var(--stone); opacity: .35; mix-blend-mode: multiply; pointer-events: none; }
.h-cat:hover { transform: translateY(-6px) rotate(-.5deg); }
.h-cat-name { position: relative; z-index: 2; font: 800 38px/.9 var(--stencil); text-transform: uppercase; color: rgba(255, 244, 226, .92); text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.h-cat-count { position: relative; z-index: 2; margin-top: 10px; padding: 3px 10px; border-radius: 9999px; background: rgba(0, 0, 0, .35); font-size: 13px; font-weight: 600; color: #fff; }
.h-cat-bottle { position: absolute; right: -2%; bottom: -14%; height: 84%; transform: rotate(-12deg); transition: transform .8s var(--ease); filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .5)); }
.h-cat:hover .h-cat-bottle { transform: rotate(-4deg) translateY(-14px); }
.h-cat-arrow { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--chalk); color: var(--wine); font-size: 18px; transition: background-color .3s var(--ease), color .3s var(--ease), transform .5s var(--ease); }
.h-cat:hover .h-cat-arrow { background: var(--wine); color: var(--chalk); transform: rotate(45deg); }
.h-cat-red .h-cat-name { color: #ffd7dc; }
.h-cat-white .h-cat-name { color: #fff1c2; }
.h-cat-rose .h-cat-name { color: #ffe2db; }
.h-cat-sparkling .h-cat-name { color: #e4f1db; }
@media (max-width: 960px) { .h-cats { grid-template-columns: repeat(2, 1fr); } .h-cat { height: 290px; } }
@media (max-width: 520px) { .h-cat { height: 230px; padding: 18px; } .h-cat-name { font-size: 28px; } .h-cat-arrow { left: 18px; bottom: 18px; width: 40px; height: 40px; } }

.h-regions { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.h-regions-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 24px 24px; box-shadow: 0 0 0 10px var(--bg-3), var(--shadow); }
.h-regions-list { margin-top: 36px; }
.h-regions-list li { display: flex; gap: 22px; padding: 22px; margin-bottom: 10px; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--line); }
.h-regions-no { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--wine); color: var(--chalk); font: 800 22px/1 var(--display); }
.h-regions-list h3 { margin-bottom: 4px; font: 800 28px/1 var(--display); text-transform: uppercase; }
.h-regions-list p { color: var(--muted); }
@media (max-width: 900px) { .h-regions { grid-template-columns: 1fr; gap: 48px; } .h-regions-img img { aspect-ratio: 4 / 3; } }

/* Cutia de degustare: sticle într-o ladă, pe un perete bordo */
.h-box { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 72px; border-radius: 32px; overflow: hidden; background: var(--glow), var(--wine-deep); color: var(--chalk); box-shadow: var(--shadow); }
.h-box .cr-eyebrow { color: var(--copper-2); }
.h-box-art { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 420px; }
.h-box-bottles { display: flex; align-items: flex-end; height: 100%; padding-bottom: 20px; }
.h-box-bottles .cr-bottle { height: 92%; margin: 0 -10px; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .55)); }
.h-box-bottles .cr-bottle:nth-child(2) { height: 100%; position: relative; z-index: 1; }
.h-crate {
	position: absolute; left: 50%; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(360px, 92%); height: 46%;
	transform: translateX(-50%); border-radius: 4px; background: var(--planks); background-size: 100% 115px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), inset 0 0 40px rgba(0, 0, 0, .4), 0 24px 40px rgba(0, 0, 0, .5);
}
.h-crate span { font: 800 34px/.9 var(--stencil); letter-spacing: .06em; text-transform: uppercase; color: rgba(40, 18, 8, .72); }
.h-crate small { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(40, 18, 8, .6); }
.h-box-text p { color: var(--chalk-2); margin-top: 16px; max-width: 480px; }
.h-box-price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 28px !important; }
.h-box-price strong { font: 800 64px/1 var(--display); color: var(--chalk); }
.h-box-price s { color: var(--chalk-2); opacity: .7; }
@media (max-width: 900px) { .h-box { grid-template-columns: 1fr; padding: 40px 22px; gap: 32px; border-radius: 24px; } .h-box-art { height: 300px; } .h-crate span { font-size: 26px; } }

.h-story { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.h-story .cr-h2 { margin-bottom: 22px; }
.h-story .cr-lead { margin-bottom: 32px; }
.h-story-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 999px 999px 24px 24px; box-shadow: 0 0 0 10px var(--bg-3), var(--shadow); }
@media (max-width: 900px) { .h-story { grid-template-columns: 1fr; gap: 48px; } }

/* Tabla de cretă pentru newsletter */
.h-news {
	display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 52px; border-radius: 10px;
	background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, .06), transparent 60%), #232a26; border: 12px solid #7a4f2c;
	box-shadow: inset 0 0 40px rgba(0, 0, 0, .55), 0 20px 40px rgba(42, 20, 24, .3); color: #f2efe6;
}
.h-news .cr-h3 { font-size: 40px; }
.h-news p { color: #c9c8bf; margin-top: 8px; }
.h-news-field { display: flex; gap: 8px; }
.h-news-field input { flex: 1; min-width: 0; padding: 14px 20px; border: 1.5px dashed rgba(242, 239, 230, .45); border-radius: 9999px; background: rgba(255, 255, 255, .04); font: 400 16px/20px var(--sans); color: #f2efe6; }
.h-news-field input::placeholder { color: rgba(242, 239, 230, .55); }
.h-news-field input:focus { outline: none; border-color: var(--copper-2); }
.h-news-field input.is-invalid { border-color: #ff9b8f; }
.h-news .cr-btn-dark { background: #f2efe6; color: #232a26; box-shadow: none; }
.h-news-ok { grid-column: 2; color: #a8e0b4 !important; font-weight: 600; }
@media (max-width: 760px) { .h-news { grid-template-columns: 1fr; padding: 28px 18px; border-width: 8px; } .h-news-field { flex-direction: column; } .h-news-ok { grid-column: 1; } }

/* ---------- Antete de pagină ---------- */
.cr-pagehead { position: relative; padding: 80px 0 32px; }
.cr-pagehead .cr-lead { margin-top: 22px; }
@media (max-width: 760px) { .cr-pagehead { padding: 44px 0 12px; } }

/* ---------- Magazin ---------- */
.s-toolbar { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 26px; background: var(--bg-3); border: 1px solid var(--line); }
.s-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.s-chips::-webkit-scrollbar { display: none; }
.s-chip { flex: none; padding: 10px 18px; border: 1.5px solid var(--line-2); border-radius: 9999px; background: transparent; font: 600 14px/20px var(--sans); color: var(--ink); cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.s-chip:hover { border-color: var(--wine); color: var(--wine); }
.s-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.s-chip-red.is-on { background: var(--wine); border-color: var(--wine); }
.s-chip-white.is-on { background: var(--white); border-color: var(--white); color: var(--ink); }
.s-chip-rose.is-on { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.s-chip-sparkling.is-on { background: #3f5638; border-color: #3f5638; }
.s-controls { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.s-search { position: relative; }
.s-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; }
.s-search input, .s-select select { width: 100%; min-width: 0; height: 50px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 9999px; background: #fff; font: 400 15px/20px var(--sans); color: var(--ink); }
.s-select select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e1a2c' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.s-search input { padding-left: 46px; }
.s-search input:focus, .s-select select:focus { outline: none; border-color: var(--wine); }
.s-count { margin: 24px 0 40px; font: 800 20px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.s-empty { padding: 72px 0; text-align: center; color: var(--muted); }
.s-empty .cr-btn { margin-top: 18px; }
@media (max-width: 760px) { .s-toolbar { padding: 12px; border-radius: 22px; } .s-controls { grid-template-columns: 1fr 1fr; } .s-search { grid-column: 1 / -1; } }

/* ---------- Pagina vinului ---------- */
.w-hero { padding: 40px 0 112px; }
.w-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.w-media {
	position: sticky; top: 104px; display: flex; justify-content: center; align-items: flex-end; height: min(760px, calc(100vh - 150px)); padding: 64px 0 0;
	border-radius: 999px 999px 0 0; background: var(--glow), var(--niche); box-shadow: inset 0 30px 60px rgba(0, 0, 0, .8), 0 0 0 12px rgba(255, 255, 255, .35), 0 0 0 13px rgba(42, 20, 24, .12);
}
.w-media::after { content: ''; position: absolute; left: -26px; right: -26px; bottom: -18px; height: 20px; border-radius: 3px; background: var(--shelf); box-shadow: 0 18px 28px rgba(42, 20, 24, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.w-bottle { position: relative; z-index: 1; height: 86%; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .65)) drop-shadow(0 0 40px rgba(240, 175, 95, .22)); animation: cr-rise 1s var(--ease) both; }
.w-media .cr-badge { top: 30%; right: 12%; font-size: 12px; padding: 8px 14px 8px 18px; }
.w-sub { margin-top: 14px; color: var(--muted); }
.w-desc { margin-top: 26px; font-size: 18px; line-height: 30px; color: var(--ink-2); }
.w-buy { margin-top: 34px; padding: 26px; border-radius: 26px; background: var(--bg-3); border: 1px solid var(--line); }
.w-price strong { font: 800 64px/1 var(--display); color: var(--wine); }
.w-price span { margin-left: 8px; color: var(--muted); font-size: 14px; }
.w-buy-row { display: flex; gap: 10px; margin-top: 20px; }
.w-add { flex: 1; }
.w-stock { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ok); }
.cr-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 9999px; background: #fff; }
.cr-qty button { display: grid; place-items: center; width: 44px; height: 48px; border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 16px; transition: color .3s var(--ease); }
.cr-qty button:hover { color: var(--wine); }
.cr-qty input { width: 40px; border: 0; background: none; text-align: center; font: 600 16px/1 var(--sans); color: var(--ink); -moz-appearance: textfield; }
.cr-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cr-qty-sm button { width: 32px; height: 32px; }
.cr-qty-sm span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.w-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.w-specs div { padding: 14px 16px; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line); }
.w-specs dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.w-specs dd { margin-top: 4px; font: 700 22px/1.05 var(--display); text-transform: uppercase; }
.w-details { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; }
.w-profile { margin-top: 24px; }
.w-profile li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.w-bar { display: flex; gap: 6px; }
.w-bar i { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2); }
.w-bar i.on { background: var(--wine); border-color: var(--wine); }
.w-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.w-tags li { padding: 9px 16px; border-radius: 9999px; background: var(--bg-3); border: 1px solid var(--line); font-size: 15px; }
.w-pair-title { margin-top: 48px; }
.w-pair { display: flex; gap: 12px; margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.w-pair i { margin-top: 4px; color: var(--wine); font-size: 22px; }
@media (max-width: 900px) {
	.w-hero { padding: 24px 0 72px; }
	.w-grid { grid-template-columns: 1fr; gap: 56px; }
	.w-media { position: relative; top: 0; height: 460px; }
	.w-details { grid-template-columns: 1fr; gap: 48px; }
	.w-specs { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Despre ---------- */
.a-story { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.a-story .cr-h2 { margin-bottom: 22px; }
.a-story p + p { margin-top: 16px; color: var(--muted); }
.a-story-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 24px 24px; box-shadow: 0 0 0 10px var(--bg-3), var(--shadow); }
.a-wineries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.a-winery-art { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 300px; padding-top: 28px; margin-bottom: 34px; border-radius: 999px 999px 0 0; background: var(--glow), var(--niche); box-shadow: inset 0 24px 48px rgba(0, 0, 0, .75), 0 0 0 8px rgba(255, 255, 255, .35); }
.a-winery-art::after { content: ''; position: absolute; left: -16px; right: -16px; bottom: -14px; height: 16px; border-radius: 3px; background: var(--shelf); box-shadow: 0 14px 22px rgba(42, 20, 24, .35); }
.a-winery-art .cr-bottle { position: relative; z-index: 1; height: 90%; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .6)); }
.a-winery .cr-h3 { margin: 8px 0 10px; }
.a-winery p { color: var(--muted); font-size: 15px; line-height: 24px; }
.a-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.a-steps li { padding: 34px; border-radius: 28px; background: var(--bg-3); border: 1px solid var(--line); }
.a-step-no { display: block; margin-bottom: 18px; font: 800 96px/.8 var(--stencil); color: var(--wine); }
.a-steps p { margin-top: 10px; color: var(--muted); }
.a-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 32px; }
@media (max-width: 960px) { .a-story { grid-template-columns: 1fr; gap: 48px; } .a-wineries { grid-template-columns: repeat(2, 1fr); gap: 52px 22px; } .a-steps { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .a-wineries { grid-template-columns: 1fr; } .a-wide img { aspect-ratio: 4 / 3; border-radius: 22px; } }

/* ---------- Contact ---------- */
.c-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.c-rows { margin-top: 20px; }
.c-rows div { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 8px; border-radius: 18px; background: var(--bg-3); border: 1px solid var(--line); font-size: 17px; }
.c-rows dt { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--wine); color: var(--chalk); font-size: 18px; }
.c-rows dd { min-width: 0; overflow-wrap: anywhere; }
.c-rows a { transition: color .3s var(--ease); }
.c-rows a:hover { color: var(--wine); }
.c-hours-title { margin-top: 44px; }
.c-hours { margin-top: 14px; }
.c-hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-hours dt { color: var(--muted); }
.c-hours dd { font-weight: 600; }
.c-form { display: grid; gap: 20px; padding: 48px; border-radius: 32px; background: var(--bg-3); border: 1px solid var(--line); box-shadow: var(--shadow); }
.c-note { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .c-grid { grid-template-columns: 1fr; gap: 56px; } .c-form { padding: 28px 18px; border-radius: 24px; } }

.cr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cr-field-row > *, .c-grid > *, .c-form > * { min-width: 0; }
@media (max-width: 560px) { .cr-field-row { grid-template-columns: 1fr; } }
.d-field { display: grid; gap: 8px; }
.d-field label, .k-radios legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.d-field input, .d-field textarea { width: 100%; min-width: 0; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; font: 400 16px/22px var(--sans); color: var(--ink); transition: border-color .3s var(--ease); }
.d-field textarea { resize: vertical; }
.d-field input:focus, .d-field textarea:focus { outline: none; border-color: var(--wine); }
.d-field.has-error input { border-color: var(--err); }
.d-error { color: var(--err); font-size: 13px; }
.cr-notice { padding: 14px 18px; border-radius: 16px; font-weight: 600; font-size: 14px; }
.cr-notice-ok { background: #e1ecdf; color: var(--ok); }
.cr-notice-err { background: #f6e0dc; color: var(--err); }

/* ---------- Comandă ---------- */
.k-steps { display: flex; gap: 8px; margin-bottom: 40px; }
.k-steps li { display: flex; align-items: center; gap: 10px; flex: 1; padding: 12px 16px; border-radius: 9999px; background: var(--bg-3); border: 1.5px solid var(--line); color: var(--muted); font-weight: 600; font-size: 14px; }
.k-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 13px; }
.k-steps li.is-on { border-color: var(--wine); color: var(--wine); }
.k-steps li.is-on span { background: var(--wine); border-color: var(--wine); color: var(--chalk); }
.k-steps li.is-done { color: var(--ok); }
.k-steps li.is-done span { background: var(--ok); border-color: var(--ok); color: #fff; }
.k-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.k-summary { position: sticky; top: 100px; padding: 28px; border-radius: 28px; background: var(--wine-deep); color: var(--chalk); box-shadow: var(--shadow); }
.k-summary .cr-h3 { margin-bottom: 16px; }
.k-summary .cr-free p, .k-summary .cr-totals dt { color: var(--chalk-2); }
.k-summary .cr-total dt, .k-summary .cr-total dd { color: var(--chalk) !important; }
.k-summary .cr-free-bar { background: rgba(255, 255, 255, .12); }
.k-summary .cr-total { border-top-color: rgba(255, 255, 255, .16); }
.k-form { display: grid; gap: 20px; }
.k-radios { display: grid; gap: 8px; padding: 0; border: 0; }
.k-radios legend { margin-bottom: 8px; }
.k-radios label { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; transition: border-color .3s var(--ease); }
.k-radios label:has(input:checked) { border-color: var(--wine); }
.k-radios input { accent-color: var(--wine); width: 18px; height: 18px; }
.k-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; }
.k-review dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.k-review dt { color: var(--muted); }
.k-review dd { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.k-review-items { margin-top: 24px; }
.k-review-items li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.k-review-items strong { color: var(--wine); }
.k-demo { display: flex; gap: 10px; margin-top: 24px; padding: 16px 18px; border-radius: 18px; background: #f6e7c8; color: #6b4e00; font-size: 14px; }
.k-done { padding: 48px 0; text-align: center; }
.k-done > i { font-size: 64px; color: var(--ok); }
.k-done .cr-h2 { margin: 16px 0; }
.k-done p { max-width: 520px; margin: 0 auto 28px; color: var(--muted); }
.k-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.k-empty .cr-btn { margin-top: 20px; }
@media (max-width: 900px) { .k-grid { grid-template-columns: 1fr; } .k-summary { position: static; order: -1; } .k-steps li { padding: 10px; font-size: 13px; } }
@media (max-width: 520px) { .k-steps li { flex-direction: column; text-align: center; gap: 4px; border-radius: 18px; } }

/* ---------- Coș (sertar) ---------- */
.cr-drawer { position: fixed; inset: 0; z-index: 200; }
.cr-drawer-backdrop { position: absolute; inset: 0; background: rgba(42, 20, 24, .5); opacity: 0; transition: opacity .35s var(--ease); }
.cr-drawer-panel { position: absolute; top: 8px; right: 8px; bottom: 8px; display: flex; flex-direction: column; width: min(440px, calc(100% - 16px)); border-radius: 28px; overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow); transform: translateX(110%); transition: transform .45s var(--ease); }
.cr-drawer.is-open .cr-drawer-backdrop { opacity: 1; }
.cr-drawer.is-open .cr-drawer-panel { transform: none; }
.cr-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cr-drawer-head h2 { font: 800 34px/1 var(--display); text-transform: uppercase; }
.cr-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line-2); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; font-size: 18px; transition: border-color .3s var(--ease), color .3s var(--ease); }
.cr-icon-btn:hover { border-color: var(--wine); color: var(--wine); }
.cr-drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.cr-drawer-foot { padding: 20px 22px 22px; border-top: 1px solid var(--line); background: var(--bg); }
.cr-drawer-foot:empty { display: none; }
.cr-drawer-continue { display: flex; margin: 14px auto 0; }
.cr-lines li { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cr-lines-lg { border-top: 1px solid var(--line); }
.cr-lines-lg li { grid-template-columns: 84px 1fr auto; }
.cr-line-thumb { display: flex; justify-content: center; align-items: flex-end; height: 86px; border-radius: 999px 999px 6px 6px; background: var(--glow), var(--niche); overflow: hidden; box-shadow: inset 0 10px 20px rgba(0, 0, 0, .6); }
.cr-lines-lg .cr-line-thumb { height: 110px; }
.cr-bottle-thumb { height: 116%; transform: translateY(10%); }
.cr-line-name { display: block; font: 700 22px/1 var(--display); text-transform: uppercase; }
.cr-line-name:hover { color: var(--wine); }
.cr-line-meta { display: block; margin: 4px 0 8px; font-size: 12px; color: var(--muted); }
.cr-line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cr-line-end strong { font: 800 22px/1 var(--display); color: var(--wine); white-space: nowrap; }
.cr-line-remove { border: 0; background: none; padding: 0; font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.cr-line-remove:hover { color: var(--err); }
.cr-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 72px 0; text-align: center; color: var(--muted); }
.cr-empty i { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--wine); color: var(--chalk); font-size: 34px; }
.cr-free p { font-size: 14px; color: var(--ink-2); }
.cr-free-bar { display: block; height: 6px; margin: 10px 0 16px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.cr-free-bar i { display: block; height: 100%; border-radius: 3px; background: var(--copper); transition: width .5s var(--ease); }
.cr-totals div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 15px; }
.cr-totals dt { color: var(--muted); }
.cr-total { margin: 10px 0 16px; padding-top: 12px !important; border-top: 1px solid var(--line); }
.cr-total dt, .cr-total dd { color: var(--ink) !important; font: 800 30px/1 var(--display) !important; text-transform: uppercase; }

.cr-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 150; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 10px 10px 10px 18px;
	border-radius: 9999px; background: var(--ink); color: var(--chalk); font-size: 14px; box-shadow: var(--shadow);
	transform: translate(-50%, 160%); transition: transform .5s var(--ease); pointer-events: none;
}
.cr-toast.is-on { transform: translate(-50%, 0); pointer-events: auto; }
.cr-toast i { color: #a8e0b4; font-size: 18px; }
.cr-toast button { padding: 7px 14px; border: 0; border-radius: 9999px; background: var(--chalk); color: var(--ink); font: 600 13px/18px var(--sans); cursor: pointer; }

/* ---------- Verificarea vârstei ---------- */
.cr-age { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 16px; background: rgba(58, 13, 23, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: opacity .4s var(--ease); }
.age-ok .cr-age { display: none; }
.cr-age.is-leaving { opacity: 0; }
.cr-age-box { position: relative; width: min(480px, 100%); padding: 100px 40px 40px; border-radius: 32px; background: var(--bg-3); box-shadow: var(--shadow); text-align: center; }
.cr-age-barrel { position: absolute; left: 50%; top: -62px; width: 210px; transform: translateX(-50%); filter: drop-shadow(0 18px 22px rgba(42, 20, 24, .4)); }
.cr-age-box .cr-logo { justify-content: center; margin-bottom: 18px; }
.cr-age-box p { margin: 14px 0 28px; color: var(--ink-2); }
.cr-age-actions { display: grid; gap: 10px; }
@media (max-width: 520px) { .cr-age-box { padding: 84px 22px 28px; border-radius: 26px; } .cr-age-barrel { width: 170px; top: -48px; } }

/* ---------- Footer ---------- */
.cr-footer { position: relative; padding: 120px 0 108px; background: var(--wine-deep); color: var(--chalk-2); }
.cr-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 48px; background: var(--bg); clip-path: ellipse(60% 100% at 50% 0%); }
.cr-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.cr-footer-brand p { margin-top: 18px; max-width: 320px; }
.cr-footer-title { margin-bottom: 16px; font: 800 22px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: var(--chalk); }
.cr-footer ul { display: grid; gap: 10px; font-size: 15px; }
.cr-footer a { transition: color .3s var(--ease); }
.cr-footer a:hover { color: #fff; }
.cr-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(244, 238, 228, .14); font-size: 13px; color: rgba(244, 238, 228, .55); }
.cr-footer-age { flex-basis: 100%; display: flex; gap: 8px; color: var(--chalk-2); }
.cr-footer-demo, .cr-credits { flex-basis: 100%; }
.cr-credits summary { cursor: pointer; font-weight: 600; color: var(--chalk-2); }
.cr-credits p { margin: 8px 0; }
.cr-credits ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 24px; font-size: 12px; line-height: 18px; }
.cr-credits a { text-decoration: underline; }
@media (max-width: 900px) { .cr-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cr-footer-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Notă demo + „Sus” ---------- */
.cr-demo {
	position: fixed; left: 24px; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 10px; max-width: min(560px, calc(100% - 180px));
	padding: 10px 16px 10px 12px; border-radius: 9999px; background: #fff3d9; border: 1px solid #efd28a; color: #6b4e00; box-shadow: var(--shadow); font-size: 12px; line-height: 16px;
}
.cr-demo i { flex: none; font-size: 18px; color: #c48a00; }
.cr-demo a { flex: none; font-weight: 700; text-decoration: underline; }
.cr-demo-short { display: none; }
@media (max-width: 760px) { .cr-demo { left: 16px; bottom: 16px; max-width: calc(100% - 120px); } .cr-demo-long, .cr-demo a { display: none; } .cr-demo-short { display: inline; } }
.d-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 9999px;
	background: var(--ink); color: var(--chalk); box-shadow: var(--shadow); font-size: 13px; font-weight: 600;
	opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s var(--ease), transform .5s var(--ease), background-color .3s var(--ease);
}
.d-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.d-to-top:hover { background: var(--wine); }
@media (max-width: 640px) { .d-to-top { right: 16px; bottom: 16px; } }

/* ---------- Apariție la scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { transform: none; transition: opacity .3s linear; }
	.h-hero-bottle, .w-bottle, .h-hero-bg { animation: none; }
	.h-glow { animation: none; }
}

/* ---------- Telefon: titluri lungi și rafturi care nu ies din ecran ---------- */
.w-grid > *, .h-hero-grid > *, .a-story > *, .h-story > *, .h-regions > * { min-width: 0; }
.cr-h1, .cr-h2, .cr-display { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 760px) {
	.cr-h1 { font-size: clamp(40px, 12vw, 64px); }
	.cr-h2 { font-size: clamp(34px, 10vw, 52px); }
	.cr-display { font-size: clamp(52px, 15vw, 84px); }
	.w-media::after { left: -8px; right: -8px; }
	.a-winery-art::after { left: -8px; right: -8px; }
	.w-media { box-shadow: inset 0 30px 60px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .35); }
}
/* Butonul „Adaugă în coș” are texte lungi în RU/DE: se rupe pe două rânduri în loc să iasă din cutie. */
.w-add { min-width: 0; white-space: normal; text-align: center; }
@media (max-width: 420px) { .w-buy { padding: 18px; } .w-add { padding-inline: 16px; } }
