/* ==========================================================
   Stories Patiserie — Desserts & Coffee · Ungheni
   ========================================================== */
:root {
  /* Paleta din logo: verde-oliv #9E9B6E + bej #EEE6D9 (+ piersica pentru butoane) */
  --olive: #9e9b6e;
  --olive-dark: #77744b;
  --olive-deep: #4f4d33;
  --cream: #eee6d9;
  --cream-light: #f6f1e8;
  --paper: #eee6d9;
  --ink: #34331f;
  --muted: #6a6750;
  --line: #ddd3c1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(60, 58, 35, .08);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--olive-deep); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(44px, 8vw, 100px) 0; }
.section--cream { background: var(--cream-light); }
.section--olive { background: var(--olive); color: #fff; }
.section--olive h2, .section--olive h3 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive-dark); font-weight: 700; margin-bottom: 12px;
}
.section--olive .eyebrow { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-dark); }
.btn--outline { border-color: var(--olive); color: var(--olive-dark); background: transparent; }
.btn--outline:hover { background: var(--olive); color: #fff; }
.btn--light { background: #fff; color: var(--olive-deep); }
.btn--light:hover { background: var(--cream); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
/* fundalul cu blur stă pe un pseudo-element, ca meniul mobil (position: fixed) să nu fie limitat de header */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(238, 230, 217, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dropdown > button {
  padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  background: none; border: 0; font-family: inherit; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav > a:hover, .nav .dropdown > button:hover, .nav a.active, .nav .dropdown > button.active { color: var(--olive-dark); }
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .93rem; }
.dropdown-menu a:hover { background: var(--cream-light); color: var(--olive-dark); }
.header-phone { padding: 10px 18px; font-size: .9rem; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--olive-deep);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .header-phone { display: none; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 40px;
    overflow-y: auto; display: none;
  }
  .nav.open { display: flex; }
  .nav > a, .nav .dropdown > button { padding: 14px 6px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav .nav-phone { display: inline-flex !important; margin-top: 20px; justify-content: center; }
}
.nav .nav-phone { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: #fff;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: clamp(60px, 9vw, 120px) 0; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.15rem; opacity: .92; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; font-size: .92rem; opacity: .9; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 480px; justify-self: center; width: 100%; }
.hero-visual .ph, .hero-visual img { width: 100%; height: 100%; object-fit: cover; border-radius: 50% 50% 18px 18px; border: 6px solid rgba(255,255,255,.25); }
.hero-badge {
  position: absolute; bottom: 8%; left: -6%;
  background: #fff; color: var(--olive-deep); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2;
}
.hero-badge small { display: block; font-family: var(--sans); font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { max-width: 340px; }
  .hero-badge { left: 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--cream-light); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.breadcrumbs a { color: var(--ink); font-weight: 600; }
.breadcrumbs a:hover { color: var(--olive-dark); }

/* ---------- Placeholder images ---------- */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background:
    repeating-linear-gradient(45deg, rgba(156,154,108,.06) 0 14px, transparent 14px 28px),
    var(--cream);
  color: var(--olive-dark); text-align: center; width: 100%; height: 100%;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.ph img { width: 42%; max-width: 120px; opacity: .7; border: 0 !important; border-radius: 0 !important; height: auto !important; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { max-width: 460px; margin-inline: auto; width: 100%; } }

.features { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; }
.stat-label { margin-top: 8px; font-size: .95rem; opacity: .9; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* ---------- Category / event cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cards, .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cards--3 { grid-template-columns: 1fr; }
  .cards .card-media { aspect-ratio: 1 / 1; }
  .cards .card-body { padding: 12px 12px 14px; }
  .cards .card-body h3 { font-size: 1.25rem; }
  .cards .card-body p { font-size: .84rem; line-height: 1.45; }
  .card-link { font-size: .82rem; margin-top: 8px; }
}
.card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60,58,35,.13); }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.card-body h3 { margin-bottom: 4px; }
.card-body p { margin: 0; color: var(--muted); font-size: .93rem; }
.card-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--olive-dark); }

/* ---------- Product grid / catalog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-family: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink);
}
.chip:hover { border-color: var(--olive); }
.chip.active { background: var(--olive); color: #fff; border-color: var(--olive); }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .products { gap: 16px; } }
@media (max-width: 720px) { .products { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.product {
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(60,58,35,.06);
  cursor: pointer; transition: transform .2s, box-shadow .2s; text-align: left; border: 0; padding: 0; font: inherit; color: inherit;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 12px 14px 16px; }
.product-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--olive-deep); line-height: 1.2; }
.product-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin-top: 6px; font-size: .84rem; color: var(--muted); }
.product-meta span { white-space: nowrap; }
@media (max-width: 720px) { .product-body { padding: 10px 12px 14px; } .product-title { font-size: 1.08rem; } .product-meta { font-size: .78rem; } }
.product-price { font-weight: 700; color: var(--olive-dark); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }

/* ---------- Menu list (dejun, prăjituri, cafea) ---------- */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
@media (max-width: 760px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.menu-item h4 { font-size: 1.3rem; margin: 0; }
.menu-item .price { font-weight: 700; color: var(--olive-dark); white-space: nowrap; }
.menu-item p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .93rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: #e7efd9; color: #4f6a2b; margin-left: 8px; vertical-align: middle; font-family: var(--sans); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 2.2rem; color: var(--olive); font-weight: 600; display: block; margin-bottom: 6px;
}
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- CTA banner ---------- */
.cta {
  background: linear-gradient(135deg, var(--olive-dark), var(--olive-deep));
  color: #fff; border-radius: 22px; padding: clamp(36px, 6vw, 64px); text-align: center;
}
.cta h2 { color: #fff; }
.cta p { opacity: .9; max-width: 560px; margin: 0 auto 26px; }
.cta .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; color: var(--olive-dark); }
.info-icon svg { width: 20px; height: 20px; }
.info-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-list a:hover { color: var(--olive-dark); }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }

.form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--olive); }
.form textarea { min-height: 110px; resize: vertical; }
/* iOS Safari: câmpul de dată gol se „strânge” și textul stă centrat — îl aliniem cu celelalte câmpuri */
input[type=date] { -webkit-appearance: none; appearance: none; min-height: 48px; display: block; text-align: left; line-height: 1.4; }
input[type=date]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input[type=date]::-webkit-calendar-picker-indicator { opacity: .6; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form-result { display: none; background: var(--cream-light); border-radius: 10px; padding: 14px; font-size: .9rem; white-space: pre-wrap; }
.form-result.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #2b2a20; color: #cfccb8; padding-top: 64px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--olive); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.lead { font-size: 1.1rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* inline icons */
[data-icon] { display: inline-flex; align-items: center; }
[data-icon] svg { width: 1.1em; height: 1.1em; }
[hidden] { display: none !important; }
@media (max-width: 1080px) {
  .nav > a.nav-phone { background: var(--olive); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; }
}

/* ==========================================================
   Pagina tortului (tort.html) — gust, invitați, preț
   ========================================================== */
a.product { display: block; }
.page-hero--slim { padding: 18px 0; }
.page-hero--slim .breadcrumbs { margin: 0; }
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .product-page { grid-template-columns: 1fr; } }
.pp-media { position: sticky; top: 96px; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.pp-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .pp-media { position: static; max-width: 520px; width: 100%; margin-inline: auto; } }
.pp-form h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.pp-notes { margin: 0 0 8px; padding-left: 18px; color: var(--muted); }
.pp-step { border: 0; padding: 0; margin: 30px 0 0; min-width: 0; }
.pp-step legend { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--olive-deep); padding: 0; margin-bottom: 4px; }
.pp-step .req { color: #b4413a; margin-right: 2px; }
.pp-link { display: inline-block; color: var(--olive-dark); font-weight: 600; margin-bottom: 8px; padding: 8px 0; }
.pp-link:hover { text-decoration: underline; }
.pp-hint { margin: 0 0 14px; font-size: .93rem; }
.pp-step textarea, .pp-step input:not([type=radio]):not([type=range]) {
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.pp-step textarea { min-height: 90px; resize: vertical; margin-top: 8px; }
.pp-step textarea:focus, .pp-step input:focus { outline: none; border-color: var(--olive); }
.pp-step label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; margin-top: 10px; }
.pp-step .form-row { margin-top: 0; }

/* gusturi — carduri cu secțiunea tortului */
.flavors { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
@media (max-width: 420px) { .flavors { grid-template-columns: repeat(2, 1fr); } }
.flavor { position: relative; display: flex !important; flex-direction: column; gap: 0 !important; margin: 0 !important; cursor: pointer; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.flavor:hover { border-color: var(--olive); transform: translateY(-2px); }
.flavor input { position: absolute; opacity: 0; pointer-events: none; }
.flavor .flavor-media { aspect-ratio: 1 / 1; }
.flavor-name { padding: 10px 10px 2px; font-weight: 700; font-size: .9rem; line-height: 1.25; }
.flavor .flavor-price { padding: 0 10px 10px; }
.flavor-name:last-child { padding-bottom: 12px; }
.flavor.is-on, .flavor:has(input:checked) { border-color: var(--olive-dark); box-shadow: 0 0 0 3px rgba(156,154,108,.3); }
.flavor.is-on::after, .flavor:has(input:checked)::after {
  content: ""; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--olive-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.flavor input:focus-visible ~ .flavor-media { outline: 3px solid var(--olive); outline-offset: -3px; }
.flavor-media { display: block; overflow: hidden; background: var(--cream); }
.flavor-media img { width: 100%; height: 100%; object-fit: cover; }
.flavor-layers { width: 100%; height: 100%; box-shadow: inset 0 0 0 6px rgba(255,255,255,.35); }
.flavor-price { font-size: .85rem; font-weight: 700; color: var(--olive-dark); }

/* gusturi — pagina catalog */
.flavor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .flavor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flavor-grid { grid-template-columns: 1fr; } }
.flavor-card { display: grid; grid-template-columns: 110px 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.flavor-card .flavor-media { min-height: 150px; }
.flavor-card-body { padding: 16px 18px; }
.flavor-card-body h4 { font-size: 1.3rem; margin-bottom: 2px; }
.flavor-card-body p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

/* invitați */
.guests { display: flex; align-items: center; gap: 18px; }
.guests input[type=range] {
  --fill: 4%;
  flex: 1; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--olive) var(--fill), var(--line) var(--fill));
}
.guests input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--olive-dark); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.guests input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--olive-dark); }
.guests-out { min-width: 96px; text-align: right; color: var(--muted); white-space: nowrap; }
@media (max-width: 380px) { .guests { flex-wrap: wrap-reverse; gap: 6px; } .guests input[type=range] { flex-basis: 100%; } .guests-out { text-align: left; } }
.guests-out b { font-family: var(--serif); font-size: 1.8rem; color: var(--olive-deep); }
.kg-box { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; background: var(--cream-light); border: 1px solid var(--line); border-radius: 12px; }
.kg-box strong { font-family: var(--serif); font-size: 1.6rem; color: var(--olive-deep); }

/* total */
.pp-total { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 6px; }
.pp-total > div { display: flex; justify-content: space-between; gap: 12px; }
.pp-total span { color: var(--muted); }
.pp-total-price b { font-family: var(--serif); font-size: 1.9rem; color: var(--olive-deep); }
.pp-submit { width: 100%; justify-content: center; margin-top: 16px; padding: 16px; font-size: 1.05rem; }
.pp-form .form-result { margin-top: 14px; }
.pp-form .form-send { margin-top: 12px; }

/* ---------- Catalog: „Arată mai multe” ---------- */
.more { margin-top: 40px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.more-count { margin: 0; color: var(--muted); font-size: .92rem; }
.more-bar { width: min(240px, 70%); height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.more-bar span { display: block; height: 100%; background: var(--olive); border-radius: inherit; transition: width .4s ease; }
.more-btn { margin-top: 4px; }
a.product:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }

/* ==========================================================
   Efect „cinema” la hover (doar mouse; nu pe ecrane tactile
   și nu dacă sistemul cere mișcare redusă)
   ========================================================== */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* carduri, catalog, poze din secțiuni: zoom lin + travelling după mouse */
  .cine-pan { overflow: hidden; }
  .cine-pan img {
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 2s cubic-bezier(.25, .46, .3, 1);
    will-change: transform;
  }
  .cine-pan.is-hover img {
    transform: translate3d(calc(var(--mx, 0) * -6%), calc(var(--my, 0) * -6%), 0) scale(1.1);
    transition-duration: 2.4s;
  }
  /* pagina tortului: zoom de detaliu care urmărește cursorul */
  .cine-zoom { cursor: zoom-in; }
  .cine-zoom img {
    transform-origin: var(--ox, 50%) var(--oy, 50%);
    transition: transform .9s cubic-bezier(.25, .46, .3, 1), transform-origin .9s cubic-bezier(.25, .46, .3, 1);
  }
  .cine-zoom.is-hover img { transform: scale(1.9); }
  /* poza principală: înclinare 3D discretă */
  .cine-tilt {
    transform: perspective(1000px) rotateX(calc(var(--my, 0) * -7deg)) rotateY(calc(var(--mx, 0) * 9deg)) translate3d(0, 0, 0);
    transition: transform 1.6s cubic-bezier(.25, .46, .3, 1);
    transform-style: preserve-3d;
    will-change: transform;
  }
  .cine-tilt.is-hover { transition-duration: 1.4s; }
  .cine-tilt .hero-badge { transform: translateZ(40px); }
}

/* numerotarea cardurilor de valori (Despre noi) */
.cards--3 { counter-reset: step; }
/* puține produse (ex. pagina Bento): centrate, nu lipite în stânga */
.products.few { display: flex; flex-wrap: wrap; justify-content: center; }
.products.few > .product { width: calc((100% - 3 * 22px) / 4); }
@media (max-width: 980px) { .products.few > .product { width: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 720px) { .products.few > .product { width: calc((100% - 14px) / 2); } }
/* 3 carduri: rămân pe un rând până la telefon (fără card singur pe rând) */
@media (min-width: 601px) and (max-width: 980px) { .cards--3 { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* ==========================================================
   Felia de tort desenată (cât nu există poză cu secțiunea)
   ========================================================== */
.flavor-layers { position: relative; box-shadow: none; }
.flavor-layers::before { /* umbră laterală: volum */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(0,0,0,0) 18%, rgba(255,255,255,.10) 45%, rgba(0,0,0,0) 70%, rgba(0,0,0,.18));
}
.flavor-layers::after { /* textură de blat */
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image:
    radial-gradient(rgba(0,0,0,.18) 1px, transparent 1.4px),
    radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px);
  background-size: 6px 6px, 9px 9px; background-position: 0 0, 3px 4px;
}

/* ==========================================================
   Pagina Gusturi (gusturi.html)
   ========================================================== */
.fl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 48px; }
@media (max-width: 900px) { .fl-list { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.fl-item { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 28px; align-items: start; scroll-margin-top: 100px; }
@media (max-width: 480px) { .fl-item { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; } }
.fl-media { aspect-ratio: 3 / 5; border-radius: 6px; overflow: hidden; background: var(--cream); box-shadow: 0 18px 36px rgba(60, 58, 35, .16); }
.fl-media img, .fl-media .flavor-layers { width: 100%; height: 100%; object-fit: cover; display: block; }
.fl-body { display: grid; gap: 10px; align-content: start; padding-top: 6px; }
.fl-body h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 0; }
.fl-price { margin: 0; font-weight: 800; color: var(--olive-dark); font-size: 1.05rem; }
.fl-comp { margin: 0; color: var(--ink); font-size: .95rem; }
.fl-long { margin: 0; color: var(--muted); font-size: .95rem; }
.fl-body .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 480px) { .fl-body .btn { padding: 11px 18px; font-size: .9rem; } }

/* ==========================================================
   Filtre pe arome (Gusturi + pagina tortului)
   ========================================================== */
.aroma-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.aroma-chips .chip { display: inline-flex; align-items: center; gap: 8px; }
.aroma-chips .chip em { font-style: normal; font-size: .78rem; color: var(--muted); font-weight: 700; }
.aroma-chips .chip.active em { color: rgba(255,255,255,.75); }
.aroma-chips .chip.active { background: var(--olive-deep); border-color: var(--olive-deep); }
.aroma-chips--small { gap: 6px; margin: 4px 0 14px; }
.aroma-chips--small .chip { padding: 8px 13px; font-size: .84rem; min-height: 36px; }
.fl-item[hidden], .flavor[hidden] { display: none !important; }

/* felia se rotește lent la hover (pagina Gusturi) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .fl-media { transition: transform 1.4s cubic-bezier(.25,.46,.3,1), box-shadow 1.4s cubic-bezier(.25,.46,.3,1); transform-origin: 50% 60%; }
  .fl-item:hover .fl-media { transform: perspective(700px) rotateY(-20deg) translateY(-6px); box-shadow: 26px 26px 40px rgba(60,58,35,.24); }
}

/* ==========================================================
   Bară fixă de comandă (pagina tortului, doar telefon/tabletă)
   ========================================================== */
.pp-bar { display: none; }
@media (max-width: 900px) {
  .pp-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; z-index: 60;
    left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--olive); color: #fff; border-radius: 18px;
    padding: 10px 10px 10px 18px; box-shadow: 0 14px 34px rgba(60,58,35,.28);
    transition: transform .45s cubic-bezier(.25,.46,.3,1), opacity .45s;
  }
  .pp-bar.is-off { transform: translateY(130%); opacity: 0; pointer-events: none; }
  .pp-bar-info { min-width: 0; display: grid; }
  .pb-sum { font-size: .78rem; opacity: .95; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pb-price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .pp-bar-btn {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer;
    background: #fff; color: var(--olive-deep); font: 800 .95rem var(--sans); padding: 12px 18px; border-radius: 12px;
  }
  .pp-bar-btn svg { width: 16px; height: 16px; }
  body.has-pp-bar .site-footer { padding-bottom: 90px; }
}
.chip, .pp-bar-btn, .flavor { -webkit-tap-highlight-color: transparent; }
.aroma-chips.container { margin-bottom: 40px; }

/* ==========================================================
   Prima pagină: hero cu video (fără arcadă)
   ========================================================== */
.hero { background: var(--olive); }
.hero .light { display: none; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(560px, 78vh, 760px); padding: 0; gap: 0; align-items: stretch;
}
.hero-text {
  align-self: center;
  padding: 72px 64px 72px max(16px, calc((100vw - var(--container)) / 2));
}
.hero h1 em { font-style: italic; font-weight: 500; }
.hero-media { position: relative; overflow: hidden; background: #3c3b28; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; }
.hero-media .hero-badge { left: 28px; bottom: 28px; top: auto; }
@media (max-width: 860px) {
  /* telefon/tabletă: video pe tot fundalul, text deasupra */
  .hero-inner { grid-template-columns: 1fr; min-height: min(88vh, 760px); min-height: min(88svh, 760px); position: relative; text-align: left; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(36,35,24,.15) 0%, rgba(36,35,24,.35) 40%, rgba(36,35,24,.82) 100%);
  }
  .hero-media .hero-badge { display: none; }
  .hero-text { position: relative; z-index: 1; align-self: end; padding: 120px 20px 40px; }
  .hero-text h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .hero p.lead { margin-inline: 0; }
  .hero-actions, .hero-meta { justify-content: flex-start; }
}


/* ==========================================================
   „Din vitrina Stories” — șir de torturi în trepte
   ========================================================== */
.vitrina { padding-bottom: clamp(48px, 7vw, 80px); }
.vitrina-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.vitrina-head h2 { margin: 6px 0 0; }
.vitrina-all { font-weight: 800; color: var(--olive-dark); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.vitrina-strip {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(16px, calc((100vw - var(--container)) / 2)) 34px;
  scroll-padding-left: max(16px, calc((100vw - var(--container)) / 2));
}
.vitrina-strip::-webkit-scrollbar { display: none; }
.v-item { flex: 0 0 clamp(200px, 22vw, 270px); scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.v-item:nth-child(even) { transform: translateY(30px); }
.v-media { display: block; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--cream); }
.v-media img { width: 100%; height: 100%; object-fit: cover; }
.v-cap { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--olive-deep); line-height: 1.2; }
.vitrina-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.vitrina-facts b { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; color: var(--olive-deep); line-height: 1.15; }
.vitrina-facts span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) {
  .vitrina-head { flex-direction: column; align-items: flex-start; }
  .v-item { flex-basis: 62vw; }
  .v-item:nth-child(even) { transform: translateY(22px); }
  .vitrina-facts { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}

/* ==========================================================
   Despre noi — fotografia echipei
   ========================================================== */
.team { margin: 0 0 clamp(36px, 5vw, 56px); }
.team-media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.team-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.team figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); font-style: italic; }
.team-text { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); }
.team-text p { color: var(--ink); }
@media (max-width: 760px) { .team-media { aspect-ratio: 4 / 3; } .team-text { grid-template-columns: 1fr; } }

/* ==========================================================
   Hero video pe toată lățimea (ca o bandă de cinema)
   ========================================================== */
.hero--full .hero-inner { grid-template-columns: 1fr; position: relative; min-height: clamp(520px, 80vh, 780px); }
.hero--full .hero-media { position: absolute; inset: 0; }
.hero--full .hero-video { object-position: 50% 24%; }
@media (max-width: 860px) { .hero--full .hero-video { object-position: 50% 38%; } }
.hero--full .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(36,35,24,.78) 0%, rgba(36,35,24,.45) 38%, rgba(36,35,24,0) 68%),
    linear-gradient(0deg, rgba(36,35,24,.35), rgba(36,35,24,0) 35%);
}
.hero--full .hero-text { position: relative; z-index: 1; align-self: center; max-width: calc(560px + max(16px, (100vw - var(--container)) / 2)); }
@media (max-width: 860px) {
  .hero--full .hero-media::after { background: linear-gradient(180deg, rgba(36,35,24,.12) 0%, rgba(36,35,24,.35) 40%, rgba(36,35,24,.85) 100%); }
  .hero--full .hero-text { align-self: end; max-width: none; }
}

/* ==========================================================
   Despre noi: banner cu fotografia echipei
   ========================================================== */
.banner { position: relative; min-height: clamp(380px, 62vh, 600px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--olive-deep); }
.banner-media { position: absolute; inset: 0; }
.banner-media img, .banner-media .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36,35,24,.82) 0%, rgba(36,35,24,.35) 45%, rgba(36,35,24,.05) 75%); }
.banner-text { position: relative; z-index: 1; padding-block: 48px; display: grid; gap: 12px; justify-items: start; }
.banner-text h1 { color: #fff; margin: 0; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.banner-text p { margin: 0 0 8px; font-size: 1.1rem; opacity: .92; }
.banner .breadcrumbs, .banner .breadcrumbs a { color: rgba(255,255,255,.85); }
.split-media .split-video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Video terasă: afișat întreg (vertical 9:16) ---------- */
.split-media--video { aspect-ratio: 9 / 16; max-width: 440px; justify-self: center; width: 100%; }
@media (max-width: 860px) { .split-media--video { max-width: 380px; } }

/* ---------- „Din vitrina”: exact 4 torturi, întregi, fără derulare ---------- */
.vitrina-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; overflow: visible; padding: 0 0 34px; scroll-snap-type: none; }
.v-item { flex: none; }
@media (max-width: 760px) {
  .vitrina-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .v-item { flex-basis: auto; }
  .v-item:nth-child(even) { transform: translateY(22px); }
  .v-cap { font-size: 1rem; }
}

/* ---------- Colțuri drepte la toate pozele ---------- */
.split-media, .pp-media, .fl-media, .v-media, .team-media, .card-media, .product-media,
.card, .product, .flavor-card, .flavor, .map, .flavor .flavor-media,
.split-media img, .split-media video, .card img, .product img, .pp-media img, .v-media img, .team-media img { border-radius: 0 !important; }

/* ---------- Secțiune pe fundal salvie (catalogul de pe prima pagină) ---------- */
:root { --sage: #7bc0bd; --sage-ink: #1d3d3b; --sage-deep: #1f5552; }
.section--sage { background: var(--sage); }
.section--sage .product { background: transparent; box-shadow: none; }
.section--sage .product-body { padding-inline: 0; }
.section--sage .product:hover { box-shadow: none; }
.section--sage .eyebrow { color: var(--olive-dark); }
.section--sage .aroma-chips .chip:not(.active) { background: rgba(255,255,255,.6); border-color: rgba(76,75,51,.18); }
/* turcoazul patiseriei: text și accente închise, ca să se citească bine */
.section--sage, .section--sage h2, .section--sage .product-title, .section--sage .fl-body h2 { color: var(--sage-ink); }
.section--sage .section-head p, .section--sage .product-meta, .section--sage .fl-long { color: rgba(29,61,59,.78); }
.section--sage .fl-comp { color: var(--sage-ink); }
.section--sage .eyebrow, .section--sage .product-price, .section--sage .fl-price { color: var(--sage-deep); }
.section--sage .btn--primary { background: var(--sage-ink); color: #fff; }
.section--sage .btn--primary:hover { background: #12302e; }
.section--sage .aroma-chips .chip:not(.active) { background: rgba(255,255,255,.75); border-color: transparent; color: var(--sage-ink); }
.section--sage .aroma-chips .chip.active { background: var(--sage-ink); border-color: var(--sage-ink); }
.section--sage .fl-media { box-shadow: 0 18px 36px rgba(20,50,48,.25); }

/* ==========================================================
   Carduri de evenimente: poză mare, titlul peste ea (ca pe miro.md)
   ========================================================== */
.ev-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.ev-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #f3f1ec; }
.ev-card img, .ev-card .ph { width: 100%; height: 100%; object-fit: cover; }
.ev-card::after { /* umbră neutră, discretă, doar sub titlu */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(20,20,20,.42) 0%, rgba(20,20,20,.12) 26%, rgba(20,20,20,0) 42%);
}
.ev-title {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff;
  font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.1;
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
@media (max-width: 520px) { .ev-title { left: 12px; right: 12px; bottom: 12px; font-size: 1.15rem; } }

/* ==========================================================
   Carusel „Torturi din catalog”
   ========================================================== */
.carousel-head { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 16px; margin-bottom: 34px; }
.carousel-head .section-head { margin: 0 auto; }
.carousel-head h2 { margin: 0 0 8px; }
.car-all { font-weight: 700; color: var(--olive-dark); border-bottom: 1.5px solid var(--olive); padding-bottom: 2px; }
.car-arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--olive-deep); background: transparent;
  color: var(--olive-deep); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s;
}
.car-arrow:hover:not(:disabled) { background: var(--olive-deep); color: #fff; }
.car-arrow:disabled { opacity: .3; cursor: default; }
.car-arrow svg { width: 20px; height: 20px; }
.car-prev svg { transform: rotate(180deg); }
.car-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 24vw, 330px); column-gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding: 0 max(16px, calc((100vw - var(--container)) / 2)) 8px;
  scroll-padding-inline: max(16px, calc((100vw - var(--container)) / 2));
}
.car-track::-webkit-scrollbar { display: none; }
.car-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.car-track.dragging .car-item { pointer-events: none; }
.car-item { scroll-snap-align: start; display: grid; gap: 6px; align-content: start; user-select: none; }
.car-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f3f1ec; margin-bottom: 8px; }
.car-media img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.car-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--olive-deep); line-height: 1.2; }
.car-price { font-weight: 700; color: var(--olive-dark); font-size: .95rem; }
@media (max-width: 600px) {
  .carousel-head { grid-template-columns: 1fr; }
  .car-arrow { display: none; }
  .car-track { grid-auto-columns: 66vw; column-gap: 14px; }
}

/* ==========================================================
   Subsol în turcoazul patiseriei
   ========================================================== */
.site-footer { background: #7bc0bd; color: #1d3d3b; }
.site-footer h4 { color: #1f5552; }
.site-footer a:hover { color: #0f2b29; text-decoration: underline; }
.site-footer .footer-logo img { filter: brightness(.32) saturate(.6); }
.site-footer .footer-bottom { border-top-color: rgba(29,61,59,.18); background: transparent; }
.site-footer .socials a { background: rgba(255,255,255,.45); color: #1d3d3b; }
.site-footer .socials a:hover { background: #1d3d3b; color: #fff; }

/* ---------- Corecturi responsive ---------- */
/* Gusturi: felia nu mai crește odată cu ecranul (tabletă) */
.fl-item { grid-template-columns: clamp(110px, 26%, 200px) minmax(0, 1fr); }

/* traseul de navigare: articolul nu se rupe */
.breadcrumbs .nw { white-space: nowrap; }
/* pagina tortului pe telefon: 3 gusturi pe rând */
@media (max-width: 480px) {
  .flavors { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .flavor-name { font-size: .78rem; padding: 7px 7px 1px; }
  .flavor .flavor-price { font-size: .74rem; padding: 0 7px 8px; }
  .vitrina-facts b { font-size: 1.25rem; }
}

/* ---------- Carusel: doar torturi întregi, aliniate în container ---------- */
.car-track { padding: 0 0 8px; scroll-padding-inline: 0; grid-auto-columns: calc((100% - 3 * 24px) / 4); column-gap: 24px; }
@media (max-width: 900px) { .car-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); column-gap: 18px; } }
@media (max-width: 600px) { .car-track { grid-auto-columns: calc((100% - 14px) / 2); column-gap: 14px; } .car-title { font-size: 1.05rem; } .car-price { font-size: .85rem; } }

/* ---------- Gusturi: mai compacte (3 pe rând pe desktop) ---------- */
.fl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.fl-item { grid-template-columns: 104px minmax(0, 1fr); gap: 18px; }
.fl-media { aspect-ratio: 3 / 4; box-shadow: 0 10px 22px rgba(60,58,35,.14); }
.fl-body { gap: 6px; padding-top: 0; }
.fl-body h2 { font-size: 1.35rem; line-height: 1.15; }
.fl-price { font-size: .92rem; }
.fl-comp, .fl-long { font-size: .86rem; line-height: 1.5; }
.fl-body .btn { padding: 8px 14px; font-size: .84rem; margin-top: 4px; }
@media (max-width: 1000px) { .fl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .fl-list { grid-template-columns: 1fr; gap: 28px; }
  .fl-item { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .fl-long { display: none; }  /* pe telefon: doar compoziția, descrierea lungă se ascunde */
}

/* ---------- Secțiunile de îndemn: fotografia cu literele STORIES ca fundal ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 0;
  background: #2a2f22 url("../img/stories-semn.webp") 50% 52% / cover no-repeat;
}
.cta::before { /* umbră uniformă, ca textul alb să se citească */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,26,18,.62), rgba(22,26,18,.72));
}
.cta > * { position: relative; }

/* ---------- Banda de sus a paginilor: logo-ul Stories ca fundal ---------- */
.page-hero:not(.page-hero--slim) {
  background: #ede5d8 url("../img/logo-mare.webp") no-repeat right max(16px, calc((100vw - var(--container)) / 2)) center / auto 62%;
  min-height: 260px; display: flex; align-items: center;
}
.page-hero:not(.page-hero--slim) .container { position: relative; z-index: 1; }
.page-hero--slim { background: #ede5d8; }
@media (max-width: 900px) {
  /* tabletă/telefon: logo-ul ca filigran mare, foarte discret, în dreapta */
  .page-hero:not(.page-hero--slim) { background-image: none; position: relative; overflow: hidden; min-height: 0; display: block; }
  .page-hero:not(.page-hero--slim)::after {
    content: ""; position: absolute; top: 50%; right: 0; width: 84%; aspect-ratio: 2049 / 915; transform: translateY(-50%);
    background: url("../img/logo-mare.webp") center / contain no-repeat; opacity: .16; pointer-events: none;
  }
}

/* ---------- Meniu: produse cu poză ---------- */
.menu-item.has-img { grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: 18px; align-items: start; }
.menu-item.has-img .menu-thumb { grid-row: 1 / span 2; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.menu-item.has-img .menu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.menu-item.has-img h4 { align-self: end; }
.menu-item.has-img p { grid-column: 2 / -1; }
@media (max-width: 480px) { .menu-item.has-img { grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 14px; } }

/* ---------- Prima secțiune (patiseria + video terasă) ---------- */
.intro-hero { padding-top: clamp(36px, 6vw, 72px); }
.intro-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin: 6px 0 18px; }
.intro-hero .hero-actions { margin-top: 24px; }
.intro-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.intro-meta > * { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  /* pe telefon: video-ul primul, mai scund (decupat), apoi textul */
  .intro-hero { padding-top: 16px; }
  .intro-hero .split-media--video { aspect-ratio: 4 / 5; max-width: none; max-height: 58vh; max-height: 58svh; width: 100%; }
  .intro-hero .split-video { object-position: 50% 40%; }
}

/* ---------- Compatibilitate iPhone / Safari ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* iOS mărește pagina dacă un câmp are text sub 16px: îl ținem la 16px pe telefon */
@media (max-width: 860px) {
  input, select, textarea { font-size: 16px !important; }
}
a, button { -webkit-tap-highlight-color: rgba(156,154,108,.18); }
video { -webkit-transform: translateZ(0); }

/* ==========================================================
   Margini „cu pensula” între secțiuni
   ========================================================== */
:root { --brush-h: 120px; }
.section--cream { position: relative; background: #efe6d6; padding-block: calc(var(--brush-h) + 10px); }
.section--cream::before, .section--cream::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--brush-h); z-index: 2; pointer-events: none;
  background-repeat: repeat-x; background-size: 2200px 100%;
}
.section--cream::before { top: -1px; background-image: url("../img/brush/paper-top.webp"); background-position: center top; }
.section--cream::after { bottom: -1px; background-image: url("../img/brush/paper.webp"); background-position: center bottom; }
.section--cream > * { position: relative; z-index: 3; }
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--brush-h) + 2px); height: var(--brush-h); pointer-events: none;
  background: url("../img/brush/teal.webp") center bottom / 2200px 100% repeat-x;
}
@media (max-width: 600px) { :root { --brush-h: 90px; } .section--cream::before, .section--cream::after, .site-footer::before { background-size: 1500px 100%; } }

/* ---------- Banner de îndemn: macarons + margini cu pensula ---------- */
.cta {
  background: #3b3f30 url("../img/uploads/deserturi-la-cutie.webp") 50% 55% / cover no-repeat;
  padding-block: calc(var(--brush-h) - 10px) !important;
}
.cta::before { background: linear-gradient(180deg, rgba(34,36,26,.55), rgba(34,36,26,.66)); }
.cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    url("../img/brush/paper-top.webp") center top / 2200px var(--brush-h) repeat-x,
    url("../img/brush/paper.webp") center bottom / 2200px var(--brush-h) repeat-x;
}
.cta h2 { font-family: var(--script); font-weight: 400; font-size: clamp(2.75rem, 5.5vw, 4.25rem); }
.cta .btn--light { background: #e08a63; color: #fff; }
.cta .btn--light:hover { background: #cf7650; }

/* ==========================================================
   Prima pagină — varianta aprobată (salvie + piersică + pensulă)
   ========================================================== */
:root { --v2-saged: #4f664b; --v2-sage: #6f8a6a; --v2-sagel: #e4e7d6; --v2-peach: #e08a63; --v2-peach-l: #f2c4a8; }
.btn--peach { background: var(--v2-peach); color: #fff; }
.btn--peach:hover { background: #cf7650; }
.btn--cream { background: #fffdf9; color: var(--v2-saged); }
.btn--cream:hover { background: #f1ece2; }
.site-header .header-phone, .nav .nav-phone { background: var(--v2-peach); }

/* margini cu pensula, sus și jos (pe aceste secțiuni) */
.brushy { position: relative; }
.brushy::before, .brushy::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--brush-h); z-index: 4; pointer-events: none;
  background-repeat: repeat-x; background-size: 2200px 100%;
}
.brushy::before { top: -1px; background-image: url("../img/brush/paper-top.webp"); background-position: center top; }
.brushy::after { bottom: -1px; background-image: url("../img/brush/paper.webp"); background-position: center bottom; }

.v2-sec h2, .v2-hero h1, .v2-story h2 { font-family: var(--script); font-weight: 400; line-height: 1; }
.v2-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.v2-head h2 { font-size: clamp(2.88rem, 5.5vw, 4.25rem); color: var(--v2-saged); margin: 0; }


/* evenimente: același format ca torturile din catalog */
.v2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.v2-card { display: grid; gap: 4px; align-content: start; }
.v2-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #f3f1ec; margin-bottom: 10px; }
.v2-media img, .v2-media .ph { width: 100%; height: 100%; object-fit: cover; }
.v2-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.15; }
.v2-link { font-weight: 800; font-size: .88rem; color: var(--v2-sage); }

/* catalog pe salvie deschis */
.v2-sagel { background: var(--v2-sagel); padding-block: calc(var(--brush-h) + 10px) !important; }
.v2-sagel .car-title { color: #3e3a30; }
.v2-sagel .car-price { color: var(--v2-saged); }
.v2-sagel .car-media { background: #f3f1ec; }
.v2-arrows { display: flex; gap: 10px; }
.v2-arrows .car-arrow { border-color: var(--v2-sage); color: var(--v2-saged); width: 46px; height: 46px; }
.v2-arrows .car-arrow:hover:not(:disabled) { background: var(--v2-saged); color: #fff; }
.v2-all { margin-top: 26px; text-align: right; }
.v2-all a { font-weight: 800; color: var(--v2-saged); border-bottom: 1.5px solid var(--v2-sage); }
.v2-sec .car-track { padding: 0 0 6px; scroll-padding-inline: 0; }

/* povestea noastră pe salvie închis */
.v2-saged { background: var(--v2-sage); color: #eef3ec; padding-block: calc(var(--brush-h) + 10px) !important; }
.v2-story { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.v2-story h2 { color: #fff; font-size: clamp(2.88rem, 5.5vw, 4.25rem); margin: 0 0 12px; }
.v2-story p { color: #eef3ec; font-size: 1.02rem; line-height: 1.7; margin-bottom: 22px; }
.v2-story-media { aspect-ratio: 4 / 3; overflow: hidden; background: #3c4a39; }
.v2-story-media img, .v2-story-media .ph { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* subsol salvie, cu pensulă */
.site-footer { background: #a9bfa3; color: #2f3c2c; }
.site-footer h4 { color: var(--v2-saged); }
.site-footer a:hover { color: #1e281c; }
.site-footer::before { background-image: url("../img/brush/sage.webp"); }
.site-footer .footer-bottom { border-top-color: rgba(47,60,44,.18); }
.site-footer .socials a { background: rgba(255,255,255,.45); color: #2f3c2c; }
.site-footer .socials a:hover { background: var(--v2-saged); color: #fff; }

@media (max-width: 860px) {
  .v2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .v2-story { grid-template-columns: 1fr; }
  .v2-arrows { display: none; }
  .v2-all { text-align: left; }
}

/* ---------- Povestea noastră: fotografie mare + card alb suprapus (varianta B) ---------- */
.v2-saged { background: #7f8b63; padding-bottom: calc(var(--brush-h) + 70px) !important; }   /* salvie mai caldă */
.v2-story { display: block; position: relative; }
.v2-story-media { width: 72%; margin-left: auto; aspect-ratio: 16 / 10; }
.v2-story-card {
  position: absolute; left: 0; bottom: -40px; z-index: 2; width: min(46%, 520px);
  background: #fffdf9; padding: clamp(28px, 3vw, 40px); box-shadow: 0 24px 50px rgba(30,32,18,.25);
}
.v2-story .v2-story-card h2 { color: var(--v2-saged); }
.v2-story .v2-story-card p { color: #4a5446; }
@media (max-width: 860px) {
  .v2-story { display: flex; flex-direction: column; }
  .v2-story-media { width: 100%; order: -1; }
  .v2-story-card { position: relative; left: auto; bottom: auto; width: auto; margin: -44px 14px 0; }
  .v2-saged { padding-bottom: calc(var(--brush-h) + 20px) !important; }
}

/* ---------- Fără derulare laterală ---------- */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }

/* ---------- Banda de sus a paginilor: margine de jos cu pensula ---------- */
.page-hero { position: relative; border-bottom: 0; padding-bottom: calc(var(--brush-h) * .75); }
.page-hero--slim { padding-bottom: calc(var(--brush-h) * .55); }
.page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--brush-h); z-index: 2; pointer-events: none;
  background: url("../img/brush/paper.webp") center bottom / 2200px 100% repeat-x;
}
.page-hero .container { position: relative; z-index: 3; }
@media (max-width: 600px) { .page-hero::before { background-size: 1500px 100%; } }
.banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--brush-h); z-index: 2; pointer-events: none;
  background: url("../img/brush/paper.webp") center bottom / 2200px 100% repeat-x;
}
.banner { padding-bottom: calc(var(--brush-h) * .5); }
@media (max-width: 600px) { .banner::after { background-size: 1500px 100%; } }

/* ---------- Povestea noastră: fundal bej, card olive (mai puțin verde) ---------- */
.v2-saged { background: #efe6d6; }
.v2-saged::before { background-image: url("../img/brush/cream-top.webp"); }
.v2-saged::before { background-image: url("../img/brush/paper-top.webp"); }
.v2-story-card { background: #7f8b63; }
.v2-story .v2-story-card h2 { color: #fffdf9; }
.v2-story .v2-story-card p { color: #f1eee2; }

/* ---------- Povestea noastră: pată piersică în spatele fotografiei ---------- */
.v2-story { position: relative; }
.v2-story::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -2%; top: -14%; width: 62%; aspect-ratio: 1400 / 1000;
  background: url("../img/brush/blob-peach.webp") center / contain no-repeat;
}
.v2-story-media, .v2-story-card { position: relative; z-index: 1; }
.v2-story-card { position: absolute; z-index: 2; }
@media (max-width: 860px) {
  .v2-story::before { left: auto; right: -30%; top: auto; bottom: -22%; width: 95%; }
  .v2-story-card { position: relative; }
}

/* ==========================================================
   v3 — telefon impecabil
   pensula urcă ușor spre dreapta · „făină” împrăștiată ·
   bandă de sus mai îngustă · poze pe măsura ecranului
   ========================================================== */

/* ---------- Margini cu pensula: încep mai jos în stânga și urcă ușor spre dreapta ---------- */
:root { --bs-h: 156px; }
@media (max-width: 1100px) { :root { --bs-h: 128px; } }
@media (max-width: 600px)  { :root { --bs-h: 100px; } }

/* plin jos (marginea de jos a secțiunilor) */
.section--cream::after, .brushy::after, .page-hero::before, .banner::after {
  height: var(--bs-h);
  background: url("../img/brush/slant-paper-b-lg.webp?v=2") center bottom / 100% 100% no-repeat;
}
/* plin sus (marginea de sus a secțiunilor) */
.section--cream::before, .brushy::before {
  height: var(--bs-h);
  background: url("../img/brush/slant-paper-t-lg.webp?v=2") center top / 100% 100% no-repeat;
}
.cta::after {
  background:
    url("../img/brush/slant-paper-t-lg.webp?v=2") center top / 100% var(--bs-h) no-repeat,
    url("../img/brush/slant-paper-b-lg.webp?v=2") center bottom / 100% var(--bs-h) no-repeat;
}
.site-footer::before {
  top: calc(-1 * var(--bs-h) + 2px); height: var(--bs-h);
  background: url("../img/brush/slant-sage-b-lg.webp?v=2") center bottom / 100% 100% no-repeat;
}
@media (max-width: 1100px) {
  .section--cream::after, .brushy::after, .page-hero::before, .banner::after { background-image: url("../img/brush/slant-paper-b-md.webp?v=2"); }
  .section--cream::before, .brushy::before { background-image: url("../img/brush/slant-paper-t-md.webp?v=2"); }
  .cta::after { background-image: url("../img/brush/slant-paper-t-md.webp?v=2"), url("../img/brush/slant-paper-b-md.webp?v=2"); }
  .site-footer::before { background-image: url("../img/brush/slant-sage-b-md.webp?v=2"); }
}
@media (max-width: 600px) {
  .section--cream::after, .brushy::after, .page-hero::before, .banner::after { background-image: url("../img/brush/slant-paper-b-sm.webp?v=2"); }
  .section--cream::before, .brushy::before { background-image: url("../img/brush/slant-paper-t-sm.webp?v=2"); }
  .cta::after { background-image: url("../img/brush/slant-paper-t-sm.webp?v=2"), url("../img/brush/slant-paper-b-sm.webp?v=2"); }
  .site-footer::before { background-image: url("../img/brush/slant-sage-b-sm.webp?v=2"); }
}

/* ---------- „Făină” împrăștiată: puncte fine peste fundaluri ---------- */
/* Doar grămăjoare mici și rare, numai pe fundaluri deschise. Pe verde închis și pe subsol
   nu punem textură: puncte albe peste tot pe fundal închis par ninsoare. */
body { background: var(--paper) url("../img/brush/flour-warm.webp?v=2") 0 0 / 560px 560px repeat; }
.section--cream, .v2-sagel, .page-hero--slim {
  background-image: url("../img/brush/flour-light.webp?v=2");
  background-size: 560px 560px; background-repeat: repeat; background-position: 0 0;
}
/* secțiunile care au pete/pensule ieșite în afară nu lărgesc pagina pe telefon */
.v2-saged, .v2-sagel, .section--cream { overflow: hidden; }
@supports (overflow: clip) { .v2-saged, .v2-sagel, .section--cream { overflow: clip; } }

/* ---------- Banda de sus a paginilor: mai îngustă, text mai rafinat ---------- */
.page-hero:not(.page-hero--slim) {
  display: block; min-height: 0; position: relative; overflow: hidden;
  padding: clamp(26px, 4vw, 46px) 0 calc(var(--bs-h) * .7);
  background:
    url("../img/logo-mare.webp") right max(16px, calc((100vw - var(--container)) / 2)) top clamp(28px, 3.4vw, 40px) / auto clamp(96px, 11vw, 150px) no-repeat,
    url("../img/brush/flour-light.webp?v=2") 0 0 / 560px 560px repeat,
    #ede5d8;
}
.page-hero .container { max-width: var(--container); }
.page-hero .breadcrumbs {
  margin: 0 0 10px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8d8a72;
}
.page-hero .breadcrumbs a { color: var(--olive-dark); font-weight: 800; }
.page-hero h1 {
  font-weight: 500; letter-spacing: .005em; line-height: 1.02;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin: 0;
}
.page-hero h1::after { /* linioară fină sub titlu */
  content: ""; display: block; width: 38px; height: 1.5px; margin: 14px 0 12px; background: var(--olive); opacity: .7;
}
.page-hero-lead {
  margin: 0; max-width: 34em;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.16rem, 1.5vw, 1.32rem); line-height: 1.42; color: #5d5944;
}
@media (max-width: 900px) {
  .page-hero:not(.page-hero--slim) { background: url("../img/brush/flour-light.webp?v=2") 0 0 / 440px 440px repeat, #ede5d8; }
  .page-hero:not(.page-hero--slim)::after {
    top: 18px; right: 2%; width: 34%; transform: none; opacity: .13;
  }
  .page-hero-lead { max-width: 62%; }
}
@media (max-width: 600px) {
  .page-hero:not(.page-hero--slim) { padding: 22px 0 calc(var(--bs-h) * .72); }
  .page-hero:not(.page-hero--slim)::after { display: none; }   /* pe telefon: fără filigran, text curat */
  .page-hero h1 { font-size: 2.15rem; }
  .page-hero h1::after { margin: 11px 0 10px; width: 32px; }
  .page-hero-lead { font-size: 1.16rem; line-height: 1.38; max-width: none; }
  .page-hero .breadcrumbs { margin-bottom: 8px; font-size: .66rem; letter-spacing: .14em; }
}
/* pagina tortului: doar traseul, foarte compact */
.page-hero--slim { padding: 16px 0 calc(var(--bs-h) * .5); }
.page-hero--slim .breadcrumbs { margin: 0; line-height: 1.7; }
@media (max-width: 600px) { .page-hero--slim { padding: 12px 0 calc(var(--bs-h) * .5); } }

/* Despre noi: bannerul cu echipa, mai scund pe telefon */
@media (max-width: 600px) {
  .banner { min-height: min(64vh, 470px); min-height: min(64svh, 470px); }
  .banner-text { padding-block: 28px 18px; gap: 8px; }
  .banner-text h1 { font-size: 2.3rem; }
  .banner-text p { font-size: 1rem; }
  .banner .breadcrumbs { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
}

/* ---------- Header mai suplu pe telefon ---------- */
@media (max-width: 600px) {
  .header-inner { min-height: 64px; }
  .logo img { height: 44px; }
  .nav { inset: 64px 0 0 0; }
}

/* ---------- Pozele: pe telefon, pe măsura ecranului ---------- */
@media (max-width: 600px) {
  /* poza principală a paginii (Candy Bar, Bento): mai joasă, deasupra textului */
  .split { gap: 26px; }
  .split-media { max-width: none; aspect-ratio: 5 / 4; }
  .split-media img { object-position: 50% 30%; }
  .split--media-first > .split-media { order: -1; }
  /* galeria Candy Bar: două pe rând, ca modelele Bento (a treia centrată) */
  .cards.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .cards.gallery > .card { width: calc((100% - 14px) / 2); box-shadow: 0 4px 16px rgba(60,58,35,.06); }
  .cards.gallery .card-media { aspect-ratio: 4 / 5; }
  .cards.gallery .card-body { padding: 10px 12px 14px; }
  .cards.gallery .card-body h3 { font-size: 1.08rem; line-height: 1.2; margin-bottom: 4px; }
  .cards.gallery .card-body p { font-size: .78rem; line-height: 1.4; }
}

/* ---------- Pașii „Cum lucrăm” / valorile: compacți pe telefon ---------- */
@media (max-width: 600px) {
  .steps, .cards--3:not(.gallery) { gap: 12px; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 10px; padding: 18px 18px 18px 16px; }
  .step::before { grid-row: 1 / span 2; margin: 0; font-size: 1.9rem; line-height: 1; }
  .step h3 { font-size: 1.22rem; margin: 2px 0 4px; }
  .step p { font-size: .9rem; line-height: 1.5; }
}

/* ---------- Contacte: simbolurile centrate în căsuțele lor ---------- */
.info-list li { align-items: center; }
.info-list .info-icon[data-icon] {
  display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px;
  background: #efe6d6; color: var(--olive-dark);
}
.info-list .info-icon[data-icon] svg { width: 20px; height: 20px; display: block; }
.info-list li > div { min-width: 0; line-height: 1.45; }
.info-list strong { margin-bottom: 2px; font-size: .74rem; letter-spacing: .14em; }

/* ---------- Banner de îndemn: butoane egale, unul sub altul, pe telefon ---------- */
@media (max-width: 600px) {
  .cta { padding-inline: 20px !important; }
  .cta .hero-actions { flex-direction: column; align-items: stretch; width: min(100%, 290px); margin-inline: auto; gap: 10px; }
  .cta .hero-actions .btn { justify-content: center; }
}

/* ---------- Subsol: legăturile pe două coloane pe telefon ---------- */
@media (max-width: 520px) {
  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 32px; flex-direction: column; gap: 4px; }
  .site-footer h4 { font-size: .7rem; letter-spacing: .12em; white-space: nowrap; margin-bottom: 12px; }
}
/* imediat după banda de sus: fără gol mare pe telefon */
@media (max-width: 600px) {
  .page-hero + .section { padding-top: 30px; }
  .team-text { gap: 6px; }
}
.map { background: #f1ece2; }

/* subsolul: pensula lui stă deasupra secțiunii de dinainte (și peste cele bej) */
.site-footer::before { z-index: 5; }
main > .section:last-child:not(.section--cream) { padding-bottom: calc(var(--bs-h) * .8); }

/* Meniu: scurtăturile spre secțiuni, 2 × 2 egale pe telefon */
@media (max-width: 600px) {
  .filters.menu-jump { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
  .filters.menu-jump .chip { text-align: center; padding: 11px 10px; }
}

/* tabletă: poza principală deasupra textului, mai joasă */
@media (min-width: 601px) and (max-width: 860px) {
  .split-media { max-width: 560px; aspect-ratio: 5 / 4; }
  .split-media img { object-position: 50% 30%; }
  .split--media-first > .split-media { order: -1; }
}

/* ==========================================================
   v3.1 — pași fără cifre · banner de îndemn mai scund și curat
   ========================================================== */

/* ---------- Pașii / valorile: fără cifre, doar o linioară fină ---------- */
.step::before {
  content: ""; counter-increment: none; display: block;
  width: 26px; height: 2px; margin: 0 0 14px; background: var(--olive); opacity: .75;
}
@media (max-width: 600px) {
  .step { display: block; padding: 18px 20px; }
  .step::before { margin-bottom: 10px; }
  .step h3 { margin: 0 0 4px; }
}

/* ---------- Banner de îndemn: mai scund, mai îngust, margini curate ---------- */
:root { --cta-b: calc(var(--bs-h) * .62); }
.cta {
  max-width: 980px; margin-inline: auto;
  padding: calc(var(--cta-b) + 4px) clamp(20px, 5vw, 56px) !important;
  /* poza e decupată după pensulă (nu mai e un dreptunghi alb peste fundal) */
  -webkit-mask:
    url("../img/brush/mask-t-lg.webp") center top / 100% var(--cta-b) no-repeat,
    linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--cta-b) + 4px) no-repeat,
    url("../img/brush/mask-b-lg.webp") center bottom / 100% var(--cta-b) no-repeat;
  mask:
    url("../img/brush/mask-t-lg.webp") center top / 100% var(--cta-b) no-repeat,
    linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--cta-b) + 4px) no-repeat,
    url("../img/brush/mask-b-lg.webp") center bottom / 100% var(--cta-b) no-repeat;
}
.cta::after { background-size: 100% var(--cta-b), 100% var(--cta-b); }
.cta h2 { font-size: clamp(2.38rem, 4.25vw, 3.38rem); margin-bottom: .3em; }
.cta p { font-size: .98rem; margin-bottom: 20px; }
@media (max-width: 1100px) {
  .cta {
    -webkit-mask-image: url("../img/brush/mask-t-md.webp"), linear-gradient(#000, #000), url("../img/brush/mask-b-md.webp");
    mask-image: url("../img/brush/mask-t-md.webp"), linear-gradient(#000, #000), url("../img/brush/mask-b-md.webp");
  }
}
@media (max-width: 600px) {
  .cta {
    padding: calc(var(--cta-b) + 2px) 18px !important;
    -webkit-mask-image: url("../img/brush/mask-t-sm.webp"), linear-gradient(#000, #000), url("../img/brush/mask-b-sm.webp");
    mask-image: url("../img/brush/mask-t-sm.webp"), linear-gradient(#000, #000), url("../img/brush/mask-b-sm.webp");
  }
  .cta h2 { font-size: 2.31rem; line-height: 1.1; }
  .cta p { font-size: .9rem; line-height: 1.5; margin-bottom: 16px; }
  /* telefon sus pe tot rândul, celelalte două alături */
  .cta .hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 330px; gap: 8px; }
  .cta .hero-actions .btn { padding: 11px 8px; font-size: .86rem; gap: 6px; justify-content: center; white-space: nowrap; }
  .cta .hero-actions .btn:first-child, .cta .hero-actions .btn:last-child:nth-child(2) { grid-column: 1 / -1; }
}

/* meniul de pe telefon: butonul de telefon în piersică, ca pe desktop */
@media (max-width: 1080px) { .nav > a.nav-phone { background: var(--v2-peach); } }
.cta h2, .cta p { text-wrap: balance; }

/* ---------- Banner de îndemn: pensulă și pe marginile din stânga și dreapta ----------
   marginile de sus/jos (unite) ∩ marginea stângă ∩ marginea dreaptă */
.cta {
    -webkit-mask:
      url("../img/brush/mask-l.webp") left center / 1200px 100% no-repeat,
      url("../img/brush/mask-r.webp") right center / 1200px 100% no-repeat,
      url("../img/brush/mask-t-lg.webp") center top / 100% var(--cta-b) no-repeat,
      linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--cta-b) + 4px) no-repeat,
      url("../img/brush/mask-b-lg.webp") center bottom / 100% var(--cta-b) no-repeat;
    -webkit-mask-composite: source-in, source-in, source-over, source-over, source-over;
    mask:
      url("../img/brush/mask-l.webp") left center / 1200px 100% no-repeat,
      url("../img/brush/mask-r.webp") right center / 1200px 100% no-repeat,
      url("../img/brush/mask-t-lg.webp") center top / 100% var(--cta-b) no-repeat,
      linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--cta-b) + 4px) no-repeat,
      url("../img/brush/mask-b-lg.webp") center bottom / 100% var(--cta-b) no-repeat;
    mask-composite: intersect, intersect, add, add, add;
}
@media (max-width: 1100px) {
  .cta {
    -webkit-mask:
      url("../img/brush/mask-l.webp") left center / 1200px 100% no-repeat,
      url("../img/brush/mask-r.webp") right center / 1200px 100% no-repeat,
      url("../img/brush/mask-t-md.webp") center top / 100% var(--cta-b) no-repeat,
      linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--cta-b) + 4px) no-repeat,
      url("../img/brush/mask-b-md.webp") center bottom / 100% var(--cta-b) no-repeat;
    -webkit-mask-composite: source-in, source-in, source-over, source-over, source-over;
    mask:
      url("../img/brush/mask-l.webp") left center / 1200px 100% no-repeat,
      url("../img/brush/mask-r.webp") right center / 1200px 100% no-repeat,
      url("../img/brush/mask-t-md.webp") center top / 100% var(--cta-b) no-repeat,
      linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--cta-b) + 4px) no-repeat,
      url("../img/brush/mask-b-md.webp") center bottom / 100% var(--cta-b) no-repeat;
    mask-composite: intersect, intersect, add, add, add;
  }
}
@media (max-width: 600px) {
  .cta {
    -webkit-mask:
      url("../img/brush/mask-l.webp") left center / 780px 100% no-repeat,
      url("../img/brush/mask-r.webp") right center / 780px 100% no-repeat,
      url("../img/brush/mask-t-sm.webp") center top / 100% var(--cta-b) no-repeat,
      linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--cta-b) + 4px) no-repeat,
      url("../img/brush/mask-b-sm.webp") center bottom / 100% var(--cta-b) no-repeat;
    -webkit-mask-composite: source-in, source-in, source-over, source-over, source-over;
    mask:
      url("../img/brush/mask-l.webp") left center / 780px 100% no-repeat,
      url("../img/brush/mask-r.webp") right center / 780px 100% no-repeat,
      url("../img/brush/mask-t-sm.webp") center top / 100% var(--cta-b) no-repeat,
      linear-gradient(#000, #000) center / 100% calc(100% - 2 * var(--cta-b) + 4px) no-repeat,
      url("../img/brush/mask-b-sm.webp") center bottom / 100% var(--cta-b) no-repeat;
    mask-composite: intersect, intersect, add, add, add;
  }
}
.cta { padding-inline: clamp(30px, 6vw, 64px) !important; }

/* ---------- Contacte: datele + harta, fără formular ---------- */
.contact-grid { align-items: center; }
.contact-grid > .map { margin-top: 0; }
.contact-call { margin-top: 28px; }
@media (max-width: 860px) {
  .contact-grid { gap: 28px; }
  .contact-call { width: 100%; justify-content: center; }
}

/* ==========================================================
   Pop-up „Comandă”: Viber · WhatsApp · Telegram · Instagram · telefon
   ========================================================== */
.op-lock, .op-lock body { overflow: hidden; }
.order-pop {
  border: 0; padding: 0; background: transparent; color: var(--ink);
  width: min(440px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: visible;
}
.order-pop::backdrop { background: rgba(34, 36, 26, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.order-pop[open] { animation: op-in .32s cubic-bezier(.25,.46,.3,1); }
.order-pop[open]::backdrop { animation: op-fade .32s ease; }
@keyframes op-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes op-fade { from { opacity: 0; } to { opacity: 1; } }
.op-card {
  position: relative; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper) url("../img/brush/flour-light.webp?v=2") 0 0 / 440px 440px repeat;
  background-color: #f6f1e7; border-radius: 22px; padding: 30px 26px 24px; text-align: center;
  box-shadow: 0 30px 70px rgba(30, 32, 18, .35);
}
.op-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.8); color: var(--olive-deep); display: grid; place-items: center; cursor: pointer;
}
.op-close:hover { background: #fff; }
.op-close svg { width: 20px; height: 20px; }
.op-eyebrow { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-dark); }
.op-title { font-family: var(--script); font-weight: 400; font-size: 3rem; line-height: 1.05; color: var(--v2-saged); margin: 6px 0 6px; }
.op-sub { margin: 0 auto 16px; max-width: 32ch; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.op-sub b { color: var(--olive-deep); }
.op-msg { text-align: left; margin: 0 0 16px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.op-msg summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: .86rem; color: var(--olive-dark); }
.op-msg pre { margin: 0; padding: 0 14px 12px; white-space: pre-wrap; font: .82rem/1.5 var(--sans); color: var(--ink); max-height: 30vh; overflow: auto; }
.op-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.op-app {
  display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 14px;
  background: #fff; border: 1.5px solid transparent; font-weight: 800; font-size: .95rem; color: var(--ink);
  box-shadow: 0 4px 14px rgba(60,58,35,.08); transition: transform .15s, border-color .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.op-app:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(60,58,35,.12); }
.op-ico { flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.op-ico svg { width: 20px; height: 20px; }
.op-viber .op-ico { background: #7360f2; }   .op-viber:hover { border-color: #7360f2; }
.op-whatsapp .op-ico { background: #25d366; } .op-whatsapp:hover { border-color: #25d366; }
.op-telegram .op-ico { background: #29a9eb; } .op-telegram:hover { border-color: #29a9eb; }
.op-instagram .op-ico { background: linear-gradient(45deg, #f9a13a, #e1306c 50%, #833ab4); } .op-instagram:hover { border-color: #e1306c; }
.op-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--muted); font-size: .8rem; }
.op-or::before, .op-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.op-call { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }
.op-call svg { width: 18px; height: 18px; }
.op-note { margin: 12px 0 0; font-size: .78rem; color: var(--muted); }
@media (max-width: 600px) {
  /* telefon: foaie care urcă de jos */
  .order-pop { width: 100%; margin: auto 0 0; max-height: 92vh; max-height: 92dvh; }
  .order-pop[open] { animation-name: op-up; }
  @keyframes op-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
  .op-card { border-radius: 22px 22px 0 0; padding: 26px 18px calc(18px + env(safe-area-inset-bottom, 0px)); max-height: 92vh; max-height: 92dvh; }
  .op-card::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: rgba(76,75,51,.2); margin: -12px auto 14px; }
  .op-title { font-size: 2.62rem; }
  .op-app { padding: 12px; font-size: .9rem; gap: 8px; }
  .op-ico { flex-basis: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .order-pop[open], .order-pop[open]::backdrop { animation: none; } }

/* Contacte: două butoane */
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 860px) { .contact-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* ==========================================================
   HERO prima pagină — video „ciocolată”
   desktop: text pe salvie + video în dreapta, îmbinate cu o tușă de pensulă
   telefon/tabletă: video vertical pe tot ecranul, textul jos, peste o umbră caldă
   ========================================================== */
.v2-hero {
  --hero-ease: cubic-bezier(.22, .61, .2, 1);
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: clamp(580px, 50vw, 780px);
  background: var(--v2-saged);
}
.v2-hero-text {
  position: relative; z-index: 2; align-self: center; min-width: 0; color: #fff;
  padding: calc(var(--bs-h) + 4px) clamp(28px, 4.5vw, 72px) calc(var(--bs-h) + 4px) max(20px, calc((100vw - var(--container)) / 2));
}
.v2-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 800; color: var(--v2-peach-l);
}
.v2-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .75; }
.v2-hero h1 {
  color: #fff; font-size: clamp(4rem, 7vw, 6.75rem); line-height: .98; margin: 16px 0 20px;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(20, 26, 18, .18);
}
.v2-hero p { color: #e9efe5; font-size: clamp(1.06rem, 1.2vw, 1.18rem); line-height: 1.6; max-width: 30em; margin: 0 0 30px; text-wrap: pretty; }
.v2-hero .hero-actions { margin-top: 0; gap: 12px; }
.v2-hero .btn { padding: 15px 28px; box-shadow: 0 10px 26px rgba(20, 26, 18, .22); transition: transform .25s var(--hero-ease), box-shadow .25s var(--hero-ease), background-color .2s; }
.v2-hero .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20, 26, 18, .28); }

.v2-hero-video {
  position: relative; z-index: 1; overflow: hidden; background: #2a1d16;
  /* marginea stângă a video-ului: tușă de pensulă oblică (ca marginile de sus/jos), nu o linie dreaptă */
  --edge: clamp(120px, 11vw, 170px);
  -webkit-mask:
    url("../img/brush/mask-hero-l.webp") left top / var(--edge) 100% no-repeat,
    linear-gradient(#000, #000) right top / calc(100% - var(--edge) + 2px) 100% no-repeat;
          mask:
    url("../img/brush/mask-hero-l.webp") left top / var(--edge) 100% no-repeat,
    linear-gradient(#000, #000) right top / calc(100% - var(--edge) + 2px) 100% no-repeat;
  margin-left: calc(var(--edge) * -.55);   /* tușa intră peste salvie */
}
.v2-video {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: 50% 58%;
  opacity: 0; transition: opacity 1.1s var(--hero-ease);
}
.v2-video.is-ready { opacity: 1; }
.v2-hero-video::before {   /* posterul stă dedesubt până pornește video-ul: fără „gol” la încărcare */
  content: ""; position: absolute; inset: 0;
  background: url("../video/hero-ciocolata-poster.jpg") 50% 58% / cover no-repeat;
}
.v2-hero-video::after {    /* umbră fină spre text și spre marginile cu pensula: video-ul „stă” în pagină */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(42, 30, 22, .32), rgba(42, 30, 22, 0) 22%),
    linear-gradient(180deg, rgba(42, 30, 22, .18), rgba(42, 30, 22, 0) 24%, rgba(42, 30, 22, 0) 76%, rgba(42, 30, 22, .22));
}

/* intrare: textul urcă ușor, pe rând */
@media (prefers-reduced-motion: no-preference) {
  .v2-hero-text > * { animation: hero-up 1s var(--hero-ease) both; }
  .v2-hero-text > :nth-child(2) { animation-delay: .12s; }
  .v2-hero-text > :nth-child(3) { animation-delay: .26s; }
  .v2-hero-text > :nth-child(4) { animation-delay: .38s; }
  @keyframes hero-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* tabletă și telefon (vertical): video vertical pe tot ecranul, textul jos */
@media (max-width: 860px) and (min-height: 501px), (max-width: 480px) {
  .v2-hero {
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: clamp(560px, calc(100vh - 64px), 900px);
    min-height: clamp(560px, calc(100svh - 64px), 900px);
    background: #2b2a20;   /* oliv-cafeniu închis: leagă ciocolata de salvia site-ului */
  }
  .v2-hero::before { display: none; }   /* sus nu punem tușă: video-ul începe direct sub meniu */
  /* video-ul ocupă partea de sus; tortul (care e în jumătatea de jos a cadrelor) rămâne la vedere deasupra textului */
  .v2-hero-video { position: absolute; inset: 0 0 auto; height: 74%; margin: 0; -webkit-mask: none; mask: none; background: #2b2a20; }
  .v2-video { object-position: 50% 74%; }
  .v2-hero-video::before { background-position: 50% 74%; }
  .v2-hero-video::after {
    background: linear-gradient(180deg,
      rgba(43, 42, 32, .26) 0%, rgba(43, 42, 32, 0) 14%,
      rgba(43, 42, 32, 0) 46%, rgba(43, 42, 32, .5) 66%, rgba(43, 42, 32, .86) 84%, #2b2a20 100%);
  }
  .v2-hero-text {
    align-self: stretch;
    padding: 0 max(22px, env(safe-area-inset-right, 0px)) calc(var(--bs-h) - 6px) max(22px, env(safe-area-inset-left, 0px));
  }
  .v2-hero h1 { font-size: clamp(3.38rem, 14.5vw, 5.5rem); margin: 10px 0 12px; text-shadow: 0 2px 20px rgba(20, 16, 10, .45); }
  .v2-hero p { font-size: 1.02rem; line-height: 1.55; max-width: 28em; margin-bottom: 22px; color: #f1ede4; text-shadow: 0 1px 12px rgba(20, 16, 10, .4); }
  .v2-eyebrow { font-size: .7rem; letter-spacing: .2em; text-shadow: 0 1px 10px rgba(20, 16, 10, .5); }
  .v2-eyebrow::before { width: 22px; }
  .v2-hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 420px; }
  .v2-hero .btn { justify-content: center; padding: 14px 12px; white-space: nowrap; }
}
@media (max-width: 860px) and (min-width: 601px) and (min-height: 501px) {
  .v2-hero { min-height: clamp(620px, calc(100vh - 76px), 980px); min-height: clamp(620px, calc(100svh - 76px), 980px); }
  .v2-hero-text { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 360px) {
  .v2-hero .hero-actions { grid-template-columns: 1fr; }
}

/* telefon ținut pe orizontală / ecrane joase: cele două coloane, compacte, ca totul să încapă în ecran */
@media (orientation: landscape) and (max-height: 500px) {
  .v2-hero { min-height: 0; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .v2-hero-text { padding-top: calc(var(--bs-h) * .75); padding-bottom: calc(var(--bs-h) * .5); padding-left: max(24px, env(safe-area-inset-left, 0px)); }
  .v2-hero h1 { font-size: clamp(2.75rem, 6.75vw, 3.75rem); margin: 8px 0 10px; }
  .v2-hero p { font-size: .95rem; line-height: 1.5; margin-bottom: 16px; }
  .v2-eyebrow { font-size: .66rem; }
  .v2-hero .btn { padding: 11px 18px; font-size: .9rem; }
}
@media (orientation: landscape) and (max-height: 420px) {
  .v2-hero-text { padding-top: calc(var(--bs-h) * .68); padding-bottom: calc(var(--bs-h) * .4); }
  .v2-eyebrow { display: none; }
  .v2-hero h1 { font-size: clamp(2.5rem, 6vw, 3.12rem); margin: 0 0 8px; }
  .v2-hero p { font-size: .88rem; margin-bottom: 12px; }
  .v2-hero .btn { padding: 9px 16px; font-size: .85rem; }
}

/* ---------- hero desktop: varianta „Bandă” — aceeași compoziție, mai joasă și mai aerisită ---------- */
@media (min-width: 861px) and (min-height: 501px) {
  .v2-hero--banda {
    --bs-h: 112px;
    min-height: clamp(440px, 34vw, 580px);
    /* video-ul e vertical (720×1280): coloana lui rămâne aproape pătrată (lățime ≈ înălțimea hero-ului),
       ca să se vadă tortul întreg, nu o fâșie mărită din el */
    grid-template-columns: minmax(0, 1fr) clamp(400px, calc(36vw - 60px), 560px);
  }
  .v2-hero--banda .v2-hero-text { padding-top: calc(var(--bs-h) * .78); padding-bottom: calc(var(--bs-h) * .78); }
  .v2-hero--banda h1 { font-size: clamp(2.8rem, 4.1vw, 4.25rem); margin: 12px 0 14px; }
  .v2-hero--banda p { font-size: 1.04rem; max-width: 27em; margin-bottom: 24px; }
  .v2-hero--banda .btn { padding: 13px 24px; }
  .v2-hero--banda .v2-hero-video { --edge: clamp(100px, 9vw, 140px); }
  .v2-hero--banda .v2-video { object-position: 50% 62%; }
  .v2-hero--banda .v2-hero-video::before { background-position: 50% 62%; }
}

/* ==========================================================
   Paleta logo-ului Stories: verde-oliv #9E9B6E + bej #EEE6D9
   (piersica #E08A63 rămâne doar pentru butoane)
   ========================================================== */
:root {
  --sage: var(--olive); --sage-ink: var(--olive-deep); --sage-deep: var(--olive-deep);
  --v2-saged: var(--olive-deep); --v2-sage: var(--olive); --v2-sagel: var(--olive);
  --v2-peach-l: var(--cream);
  --on-olive: #f6f1e8;          /* textul pe fundal oliv, ca în logo */
  --on-olive-soft: rgba(246, 241, 232, .9);
}

/* fundaluri bej */
.section--cream, .v2-saged { background-color: var(--cream-light); }
.ev-card, .car-media, .v2-media, .v2-sagel .car-media, .map, .menu-item.has-img .menu-thumb { background-color: var(--cream-light); }
.info-list .info-icon[data-icon] { background: var(--olive); color: var(--on-olive); }
.tag { background: var(--cream); color: var(--olive-dark); }
.dropdown-menu a:hover { background: var(--cream); }
.op-card { background-color: var(--cream); }
.btn--cream { color: var(--olive-deep); }
.btn--cream:hover { background: var(--cream); }

/* ---------- Prima pagină: hero pe oliv, ca logo-ul ---------- */
.v2-hero { background: var(--olive); }
.v2-hero-text, .v2-hero h1 { color: var(--on-olive); }
.v2-hero p { color: var(--on-olive-soft); }
.v2-hero h1 { text-shadow: 0 2px 24px rgba(60, 58, 35, .18); }
.v2-eyebrow { color: var(--on-olive); }
@media (max-width: 860px) and (min-height: 501px), (max-width: 480px) {
  .v2-hero, .v2-hero-video { background: var(--olive); }
  .v2-hero-video::after {
    background: linear-gradient(180deg,
      rgba(158, 155, 110, .2) 0%, rgba(158, 155, 110, 0) 14%,
      rgba(158, 155, 110, 0) 44%, rgba(158, 155, 110, .55) 64%, rgba(158, 155, 110, .92) 82%, var(--olive) 100%);
  }
  .v2-hero h1, .v2-hero p, .v2-eyebrow { text-shadow: 0 1px 14px rgba(50, 48, 28, .35); }
  .v2-hero p { color: var(--on-olive); }
}

/* ---------- Catalogul de pe prima pagină: pe oliv ---------- */
.v2-sagel { background: var(--olive); }
.v2-sagel .v2-head h2, .v2-sagel .car-title { color: var(--on-olive); }
.v2-sagel .car-price { color: var(--on-olive-soft); }
.v2-sagel .v2-arrows .car-arrow { border-color: var(--on-olive); color: var(--on-olive); }
.v2-sagel .v2-arrows .car-arrow:hover:not(:disabled) { background: var(--on-olive); color: var(--olive-deep); }
.v2-sagel .v2-all a { color: var(--on-olive); border-bottom-color: var(--on-olive); }
.section--cream.v2-sagel, .v2-sagel { background-image: none; }

/* ---------- Povestea noastră: bej, card oliv, fără pata piersică ---------- */
.v2-story::before { display: none; }
.v2-story-card { background: var(--olive); }
.v2-story .v2-story-card h2 { color: var(--on-olive); }
.v2-story .v2-story-card p { color: var(--on-olive); }
.v2-link { color: var(--olive-dark); }

/* ---------- Banda de sus a paginilor: oliv cu logo-ul deschis ---------- */
.page-hero:not(.page-hero--slim) {
  background:
    url("../img/logo-mare-light.webp") right max(16px, calc((100vw - var(--container)) / 2)) top clamp(28px, 3.4vw, 40px) / auto clamp(96px, 11vw, 150px) no-repeat,
    var(--olive);
}
.page-hero--slim { background: var(--olive); }
.page-hero h1, .page-hero-lead, .page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: var(--on-olive); }
.page-hero .breadcrumbs { opacity: .92; }
.page-hero h1::after { background: var(--on-olive); }
@media (max-width: 900px) {
  .page-hero:not(.page-hero--slim) { background: var(--olive); }
  .page-hero:not(.page-hero--slim)::after { background-image: url("../img/logo-mare-light.webp"); opacity: .22; }
}

/* ---------- Subsol pe oliv, logo deschis ---------- */
.site-footer { background: var(--olive); color: var(--on-olive); }
.site-footer h4 { color: var(--on-olive); opacity: .85; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-logo img { filter: none; }
.site-footer .footer-bottom { border-top-color: rgba(246, 241, 232, .3); }
.site-footer .socials a { background: rgba(246, 241, 232, .2); color: var(--on-olive); }
.site-footer .socials a:hover { background: var(--on-olive); color: var(--olive-deep); }

/* placeholder fără poză: semnul Stories */
.ph img { width: 34%; max-width: 110px; opacity: .55; }
.logo img { height: 58px; }
@media (max-width: 600px) { .logo img { height: 46px; } }

/* ==========================================================
   Bento Cake: informațiile cheie + gusturile
   ========================================================== */
.bento-info { padding-top: clamp(32px, 5vw, 56px); }
.bento-facts { list-style: none; padding: 4px 20px; margin: 20px 0 26px; background: #fff; border: 1px solid var(--line); border-radius: 0; }
.bento-facts li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 12px 0; }
.bento-facts li + li { border-top: 1px solid var(--line); }
.bento-facts b { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.3; color: var(--olive-deep); }
.bento-facts span { font-size: .97rem; color: var(--ink); line-height: 1.45; }
.bento-facts a { text-decoration: underline; text-decoration-color: var(--olive); text-underline-offset: 3px; }
.bento-facts .extra-note { margin: 6px 0 0; display: flex; }
@media (max-width: 480px) {
  .bento-facts { padding: 2px 16px; }
  .bento-facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; }
}
.bento-info .split-media { aspect-ratio: 1 / 1; border-radius: 0; }
.bento-flavors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
.bf-item { display: grid; grid-template-columns: minmax(90px, 40%) minmax(0, 1fr); gap: 20px; align-items: start; }
.bf-item .fl-media { position: relative; }
.bf-body h3 { font-family: var(--serif); font-size: 1.6rem; margin: 4px 0 8px; color: var(--olive-deep); }
.bf-body p { margin: 0 0 8px; }
@media (max-width: 900px) { .bento-flavors { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } .bf-item { grid-template-columns: 110px minmax(0, 1fr); } }
.bento-sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.bento-sizes .chip { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.bento-sizes .chip input { accent-color: var(--olive-dark); margin: 0; }
.bento-sizes .chip:has(input:checked) { border-color: var(--olive-dark); box-shadow: 0 0 0 3px rgba(156,154,108,.3); }
/* „Desenul se achită extra preț” — bine vizibil */
.extra-note {
  display: inline-flex; align-items: baseline; gap: 6px; justify-self: start; width: fit-content; max-width: 100%;
  margin: 8px 0 0; padding: 5px 11px; border-radius: 0;
  background: #fbe3d6; color: #9a4423; border: 1px solid #f2c4a8;
  font-style: normal; font-weight: 700; font-size: .84rem; line-height: 1.3;
}
.extra-note::before { content: "✎"; flex: none; }
.pp-form > .extra-note { margin: 0 0 18px; font-size: .9rem; }
.bento-facts .no-wrap { white-space: nowrap; font: inherit; color: inherit; }

/* ---------- Margini „cu pensula” pe casete mici (Bento: lista + poza principală) ----------
   patru măști (sus, jos, stânga, dreapta), fiecare opacă în afară de marginea ei zdrențuită, intersectate */
.brush-edge {
  -webkit-mask:
    url("../img/brush/edge-t.webp") center top / 1400px 1000px no-repeat,
    url("../img/brush/edge-b.webp") center bottom / 1400px 1000px no-repeat,
    url("../img/brush/edge-l.webp") left center / 1400px 1000px no-repeat,
    url("../img/brush/edge-r.webp") right center / 1400px 1000px no-repeat;
  -webkit-mask-composite: source-in, source-in, source-in, source-over;
  mask:
    url("../img/brush/edge-t.webp") center top / 1400px 1000px no-repeat,
    url("../img/brush/edge-b.webp") center bottom / 1400px 1000px no-repeat,
    url("../img/brush/edge-l.webp") left center / 1400px 1000px no-repeat,
    url("../img/brush/edge-r.webp") right center / 1400px 1000px no-repeat;
  mask-composite: intersect, intersect, intersect, add;
}
.bento-facts.brush-edge { border: 0; padding: 10px 26px; }
.bento-info .split-media.brush-edge { box-shadow: none; }
@media (max-width: 480px) { .bento-facts.brush-edge { padding: 8px 22px; } }
/* Bento: în HTML poza e prima (deci prima pe telefon); pe calculator o mutăm în dreapta */
@media (min-width: 861px) { .bento-info .split-media { order: 2; } }

/* ==========================================================
   Carduri de produs: fundal bej la poze + etichetă albă cu colț tăiat
   (piedestalul din poze rămâne ascuns sub etichetă)
   ========================================================== */
.product, .section--sage .product { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; position: relative; }
.product:hover, .section--sage .product:hover { box-shadow: none; }
.product-media { background: var(--cream); position: relative; }
.product-media img {
  mix-blend-mode: multiply;               /* albul din poză devine bej */
  object-fit: cover; object-position: 50% 0;
  height: 112%; width: 100%;              /* împinge piedestalul în jos, sub etichetă */
  transform-origin: 50% 0;
}
.product-media .ph { mix-blend-mode: multiply; }
.product-body, .section--sage .product-body {
  position: relative; z-index: 2;
  margin: -30px 0 0;
  padding: 16px 64px 16px 18px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(60,58,35,.10);
}
/* colț de hârtie îndoit, ca la o etichetă */
.product-body::after {
  content: ""; position: absolute; top: 0; right: 0; width: 56px; height: 56px;
  border-top-right-radius: 4px;
  background: linear-gradient(225deg, var(--cream) 0 50%, #d9d3ca 50%, #eeeae4 72%, #f8f6f3 100%);
  filter: drop-shadow(-2px 3px 3px rgba(60,58,35,.10));
}
.product-title { font-size: 1.12rem; color: var(--ink); }
.product-meta { justify-content: flex-start; gap: 2px 10px; font-size: .74rem; margin-top: 3px; color: #9a9686; }
.product-meta .product-price { color: #9a9686; font-weight: 600; }
.product-tag {
  display: inline-block; margin-top: 10px; padding: 3px 13px;
  border: 1px solid #b9746b; border-radius: 999px;
  color: #b9746b; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.product:hover .product-tag { background: #b9746b; color: #fff; }
@media (max-width: 720px) {
  .product-body, .section--sage .product-body { margin-top: -22px; padding: 11px 34px 12px 12px; }
  .product-body::after { width: 32px; height: 32px; }
  .product-title { font-size: .95rem; }
  .product-meta { font-size: .68rem; }
  .product-tag { margin-top: 7px; padding: 2px 9px; font-size: .6rem; }
}
/* marginea piedestalului din dreapta etichetei se pierde în bej */
.product-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(238,230,217,0) 84%, var(--cream) 95%); }
/* etichetele de pe același rând au aceeași înălțime */
a.product { display: flex; flex-direction: column; }
.product-body { flex: 1; }
.product-tag { align-self: flex-start; }

/* ---------- Pozele de tort din restul site-ului: fundal bej, fără piedestal ----------
   (cardurile de evenimente și caruselul de pe prima pagină, poza mare de pe pagina tortului) */
.v2-media, .car-media, .v2-sagel .car-media, .pp-media { background: var(--cream); }
.v2-media, .car-media { position: relative; }
.v2-media img, .car-media img, .pp-media img {
  mix-blend-mode: multiply;                       /* albul din poză devine bej */
  filter: brightness(1.07) contrast(1.07);        /* fundalul aproape alb → bej uniform */
  height: 121%; object-position: 50% 0;           /* piedestalul iese din cadru, jos */
}
.v2-media::after, .car-media::after, .pp-media::after { /* marginea de jos se pierde lin în bej */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(238,230,217,0) 86%, var(--cream) 98%);
}

/* Bento: fotografii reale (fără piedestal) — poza întreagă, tortul centrat */
.product--foto .product-media img, .pp-media--foto img { height: 100%; object-position: 50% 50%; mix-blend-mode: normal; filter: none; }
.product--foto .product-media::after, .pp-media--foto::after { display: none; }   /* fără estompare: poza originală, fără umbre */
