/* Fonturi găzduite local (Google Fonts, licență OFL): fără conexiuni externe, cache lung */
@font-face { /* latin-ext */
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/allura-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { /* latin */
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/allura-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { /* latin-ext */
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/bodoni-moda-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { /* latin */
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/bodoni-moda-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { /* cyrillic */
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/marck-script-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face { /* latin-ext */
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/marck-script-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { /* latin */
  font-family: 'Marck Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/marck-script-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { /* cyrillic */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/nunito-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face { /* latin-ext */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { /* latin */
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { /* cyrillic */
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/prata-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face { /* latin */
  font-family: 'Prata';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/prata-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Stories – meniu online
 * Paleta: bej + oliv din logo (oliv închis pentru butoane).
 */
:root {
  /* Paleta din logo: bej #eee6d9 + oliv #9e9b6e (cu nuanțe deschise/închise) */
  --sage-soft: #eee6d9;   /* fundal hero: bejul din logo */
  --sage: #9e9b6e;        /* olivul din logo */
  --tile: #aca982;        /* plăcile din cuprins */
  --sage-mist: #e9e5d4;   /* etichete kcal / gramaj */
  --forest: #5f5d3c;      /* oliv închis: butoane, bara (contrast bun cu alb) */
  --forest-2: #77744e;
  --sage-footer: #eee6d9; /* blocul „Torturi și candy bar”: bejul din logo */
  --cream: #eee6d9;       /* fundalul paginii: bejul din logo */
  --cream-2: #e5dccb;
  --paper: #f8f4ec;       /* carduri */
  --orange: #86834f;      /* accent (oliv) – butonul principal */
  --orange-ink: #6b6942;  /* accent pentru text mic (contrast bun) */
  --call: #e08a63;        /* butoanele de sunat (comandă la telefon, „Sună”) */
  --caramel: #9e9b6e;
  --ink: #2c2b22;
  --charcoal: #2a2922;    /* text titluri */
  --sage-ink: #9e9b6e;    /* oliv din logo; text script (ca în „plăcere”) */
  --muted: #6d6b58;
  --line: #ddd4c1;
  --tag: #e8e1cf;
  --tag-ink: #5f5d3c;
  --radius: 22px;
  --gl: max(16px, env(safe-area-inset-left));
  --gr: max(16px, env(safe-area-inset-right));
  --sb: env(safe-area-inset-bottom);
  /* Bodoni Moda nu are chirilice – pentru RU se folosește Prata (tot Didone) */
  --serif: "Bodoni Moda", "Prata", Didot, "Bodoni 72", Georgia, serif;
  /* Allura nu are chirilice – pentru RU se folosește Marck Script */
  --script: "Allura", "Marck Script", "Segoe Script", cursive;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 1px 2px rgba(60, 58, 36, .06), 0 14px 30px -18px rgba(60, 58, 36, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  background: var(--cream);
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; }
button {
  font: inherit; color: inherit; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  touch-action: manipulation;
}
a { color: inherit; touch-action: manipulation; }
svg { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

.kicker {
  display: block;
  font-size: 10.5px; font-weight: 800; line-height: 1.3;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
/* Bodoni: varianta „pentru text mic” — liniile subțiri rămân vizibile pe telefon */
.hero-title, .sec-title, .cat-title, .panel-title, .card-title, .price,
.events h2, .sheet-head h2, .foot-brand, .lightbox figcaption { font-variation-settings: "opsz" 11; }
.hero-title .script { font-variation-settings: normal; }
.script { font-family: var(--script); font-weight: 400; color: var(--sage-ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--forest); color: #fff;
  font-weight: 800; font-size: 15px; text-decoration: none; text-align: center;
}
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-orange { background: var(--orange); box-shadow: 0 12px 22px -12px rgba(95, 93, 60, .8); }
.btn:active { transform: scale(.98); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sage-soft);
  padding-top: max(14px, env(safe-area-inset-top));
}
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 var(--gr) 0 var(--gl); }
.hero-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.logo { display: flex; flex-direction: column; min-width: 0; width: clamp(160px, 46vw, 200px); }
.logo img { display: block; width: 100%; height: auto; }
/* sub „STORIES” (fără monogramă: ~23% din lățime) */
.logo small {
  margin: 5px 0 0 23%; text-align: center; white-space: nowrap;
  font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #7d7a52;
}

.lang { flex: none; display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .7); }
.lang button {
  min-width: 42px; height: 40px; padding: 0 8px;
  border-radius: 999px; border: 0; background: transparent; color: var(--forest);
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.lang button[aria-pressed="true"] { background: var(--forest); color: #fff; }

.hero-grid { position: relative; }

/* poza mare pe forma salvie (ca în referințe) */
.hero-media {
  position: relative;
  height: 258px;
  margin: 16px calc(-1 * var(--gr)) 0 26px;
}
.hero-blob {
  position: absolute; inset: 0;
  background: var(--sage);
  border-radius: 58% 0 0 46% / 60% 0 0 40%;
}
.hero-plate {
  position: absolute; right: 8px; top: 9px;
  width: 240px; height: 240px; border-radius: 50%;
  background: #fff; overflow: hidden;
  box-shadow: 0 22px 40px -18px rgba(60, 58, 36, .5);
}
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 18px; bottom: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  max-width: 96px; padding: 10px 12px; border-radius: 16px;
  background: var(--paper); box-shadow: var(--shadow);
  font-size: 11.5px; font-weight: 800; line-height: 1.2; text-align: center; color: var(--forest);
}
.hero-badge svg { width: 22px; height: 22px; fill: none; stroke: var(--forest-2); stroke-width: 1.6; stroke-linecap: round; }
.hero.no-photo .hero-plate, .hero.no-photo .hero-badge { display: none; }
.hero.no-photo .hero-media { height: 120px; }

.hero-text { position: relative; text-align: center; padding: 22px 0 8px; }
.hero-text .kicker {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--forest-2); color: var(--forest);
}
.hero-title {
  margin: 12px 0 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 9vw, 40px); line-height: 1.1;
  color: var(--charcoal);
}
.hero-title .caps {
  font-size: .62em; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase;
}
.hero-title > span { display: block; text-wrap: balance; }
.hero-title .script {
  margin: 2px 0 22px; padding: 0 .08em;
  font-size: 1.5em; line-height: 1.05; letter-spacing: 0;
}
:lang(ru) .script { font-size: .92em; }
:lang(ru) .hero-title .script { font-size: 1.1em; }
.hero-title .script::before, .hero-title .script::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 24px; height: 1px; margin: 0 10px; background: var(--sage-ink);
}

.feats {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
}
.feats li { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--forest); }
.feats i { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.feats i.feat-cup img { display: block; width: 34px; height: auto; }
.feats svg { width: 22px; height: 22px; fill: none; stroke: var(--caramel); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.hero-wave { display: block; width: 100%; height: 74px; margin-top: 10px; }
.hero-wave .w1 { fill: var(--sage); opacity: .55; }
.hero-wave .w3 { fill: var(--cream); }

main { max-width: 1120px; margin: 0 auto; }

/* ---------- Info ---------- */
.info { padding: 4px var(--gr) 0 var(--gl); }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip {
  min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 12px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 700; color: var(--forest); text-decoration: none; white-space: nowrap;
}
.chip > span { overflow: hidden; text-overflow: ellipsis; }
.chip svg { width: 17px; height: 17px; fill: none; stroke: var(--forest-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip-hours .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #b3ae96; }
.chip-hours.is-open .dot { background: #4d9a5b; box-shadow: 0 0 0 3px rgba(77, 154, 91, .2); }
.hours-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.open-state { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.chip-hours.is-open .open-state { color: #3f7f4b; }
@media (max-width: 359px) { .chip { font-size: 13px; padding: 0 8px; gap: 6px; } }

/* ---------- Titluri de secțiune ---------- */
.index { padding: 30px var(--gr) 0 var(--gl); text-align: center; scroll-margin-top: 10px; }
.sec-title, .cat-title {
  margin: 6px 0 0;
  font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15;
  color: var(--charcoal);
}
.sec-title span { display: inline-flex; align-items: center; gap: 10px; }
.sec-title span::before, .sec-title span::after { content: ""; flex: none; width: 20px; height: 1px; background: var(--sage-ink); }

/* ---------- Cuprins (panoul salvie) ---------- */
.panel {
  margin-top: 16px; padding: 20px 14px 16px;
  border-radius: 26px; background: var(--cream); color: var(--charcoal);
  text-align: left;
}
.panel-title { margin: 0 4px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; }
.panel-sub { margin: 4px 4px 0; font-size: 13.5px; color: var(--muted); }
.tiles { margin-top: 14px; }
/*
 * Plăcile unui grup stau pe o grilă de 12 coloane. Ultimul rând nu lasă goluri:
 * plăcile rămase se lățesc (1 rămasă = tot rândul, 2 = câte o jumătate, 3 din 4 = câte o treime).
 */
.tiles-set { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.tiles-set > .tile { grid-column: span 6; }
/* o placă rămasă singură pe rând: aceeași mărime ca celelalte, centrată */
.tiles-set > .tile:last-child:nth-child(odd) { grid-column: 4 / span 6; }
.tile {
  position: relative; min-width: 0; margin: 0; padding: 14px 8px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, .25);
  /* aceeași culoare ca înainte (oliv + 14% alb), acum plină, pe fundalul bej al paginii */
  background: var(--tile); color: #fff; text-align: center;
  box-shadow: 0 1px 2px rgba(60, 58, 36, .08), 0 10px 22px -14px rgba(60, 58, 36, .45);
  transition: background .2s, transform .12s;
}
.tile:active { transform: scale(.97); }
.tile-img {
  position: relative; flex: none;
  width: 92px; height: 92px; border-radius: 50%;
  background: #fff; overflow: hidden;
  display: grid; place-items: center; color: var(--forest);
  border: 5px solid #fff;
  box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .5);
}
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-img.is-cover img { object-fit: contain; padding: 16%; }
.tile-img.is-cover { border-color: transparent; }
.tile-img.is-photo { border: 0; background: none; box-shadow: none; overflow: visible; border-radius: 0; } /* farfuria întreagă, fără cerc alb */
.tile-img.is-photo img { object-fit: contain; filter: drop-shadow(0 8px 9px rgba(0, 0, 0, .28)); }
.tile-img.is-thumb { border: 0; } /* miniatura în cerc, fără inel alb */
.tile-img svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile-txt { min-width: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
.tile-name { font-weight: 800; font-size: 14.5px; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.tile-count { font-size: 12px; font-weight: 600; opacity: .85; margin-top: 2px; }
.tile-hours { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.tile-hours svg, .cat-hours svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tiles-sheet .tile-hours { color: var(--sage-ink); }

/* în fereastra „Categorii”: listă, câte una pe rând */
.tiles-sheet .tiles-set { gap: 8px; }
.tiles-sheet .tiles-set > .tile,
.tiles-sheet .tiles-set > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tiles-sheet .tile {
  flex-direction: row; align-items: center; gap: 12px; padding: 8px 14px 8px 8px;
  background: #fff; color: var(--ink); border-color: var(--line); text-align: left; border-radius: 18px; box-shadow: none;
}
.tiles-sheet .tile-img { width: 50px; height: 50px; border-width: 2px; box-shadow: none; }
.tiles-sheet .tile-img svg { width: 24px; height: 24px; }
.tiles-sheet .tile-txt { flex: 1; align-items: flex-start; }
.tiles-sheet .tile-name { font-size: 15.5px; }
.tiles-sheet .tile-count { color: var(--muted); opacity: 1; }
.tiles-sheet .tile::after {
  content: ""; flex: none; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg); margin-right: 4px;
}
.tiles-sheet .tile.active { border-color: var(--forest); background: var(--sage-mist); box-shadow: inset 0 0 0 1px var(--forest); }

/* multe categorii (ex. 15): câte 3 pe rând, ca tot cuprinsul să încapă pe 1–2 ecrane */
.tiles.many .tiles-set { gap: 8px; }
/* cuprinsul de pe pagină: toate plăcile au aceeași înălțime */
#tiles .tiles-set { grid-auto-rows: 1fr; }
/* ecusonul de pe placă (ex. „de post”): în colțul de sus, nu mărește placa */
.tile-tag {
  position: absolute; top: 7px; right: 7px; z-index: 1;
  padding: 3px 8px; border-radius: 999px;
  background: var(--forest); color: #fff;
  font-size: 10.5px; font-weight: 800; line-height: 1.25; white-space: nowrap;
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .5);
}
.tiles-sheet .tile-tag { position: static; align-self: flex-start; margin-top: 4px; box-shadow: none; }
.cat-tag {
  display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px;
  background: var(--forest); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.25;
}
@media (min-width: 360px) and (max-width: 639px) {
  .tiles.many .tiles-set > .tile { grid-column: span 4; }
  /* rămân 2 pe ultimul rând → câte o jumătate; rămâne 1 → ultimele 4 devin 2 + 2 (ca la „Dulciuri”) */
  .tiles.many .tiles-set > .tile:nth-last-child(2):nth-child(3n+1),
  .tiles.many .tiles-set > .tile:last-child:nth-child(3n+2),
  .tiles.many .tiles-set > .tile:nth-child(3n+1):nth-last-child(4),
  .tiles.many .tiles-set > .tile:nth-child(3n+1):nth-last-child(4) ~ .tile { grid-column: span 6; }
  /* grup cu o singură categorie (ex. „Sezon”): o placă de mărimea celor de la „Dulciuri”, centrată */
  .tiles.many .tiles-set > .tile:only-child { grid-column: 4 / span 6; }
}
.tiles.many .tile { padding: 10px 4px 10px; gap: 6px; border-radius: 16px; }
.tiles.many .tile-img { width: 64px; height: 64px; border-width: 3px; }
.tiles.many .tile-img svg { width: 28px; height: 28px; }
.tiles.many .tile-name { font-size: 13px; line-height: 1.2; }
.tiles.many .tile-count { font-size: 11px; }
.tiles.many .tile-hours { font-size: 10.5px; }
.tiles.many .tile-hours svg { width: 11px; height: 11px; }

/* titlurile grupurilor din cuprins și din fereastra „Categorii” (Bucătărie, Dulciuri, Băuturi…) */
.tiles-group {
  margin: 18px 4px 10px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .2em; text-transform: uppercase;
}
.tiles-group:first-child { margin-top: 0; }
.tiles-group::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.tiles-sheet .tiles-group { color: var(--muted); }
.tiles-sheet .tiles-group:first-child { margin-top: 2px; }

/* ---------- Bara de categorii (lipită sus) ---------- */
.catbar-sentinel { height: 1px; margin-top: 16px; }
.catbar {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 20;
  background: rgba(238, 230, 217, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.catbar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(60, 58, 36, .5); }
.catbar-inner { display: flex; align-items: center; gap: 8px; padding: 10px var(--gr) 10px var(--gl); }

.cat-switch {
  flex: 1; min-width: 0;
  height: 48px; padding: 0 14px 0 16px;
  display: flex; align-items: center; gap: 10px;
  border-radius: 999px; border: 0;
  background: var(--forest); color: #fff;
  font-weight: 800; font-size: 15px; text-align: left;
  box-shadow: var(--shadow);
}
.cat-switch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-switch-all { display: none; }
/* numele lungi trec pe două rânduri, ca să se vadă întregi (ex. „Deserturi vegane & raw”) */
.cat-switch-name {
  flex: 1; min-width: 0; overflow: hidden; line-height: 1.15;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; hyphens: auto; -webkit-hyphens: auto;
}
.cat-switch-pos { flex: none; font-size: 12.5px; font-weight: 700; opacity: .75; font-variant-numeric: tabular-nums; }
.cat-switch .chev { width: 20px; height: 20px; stroke-width: 2.2; }

.pills { display: none; }

.search-toggle {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  display: grid; place-items: center; padding: 0;
}
/* butonul „sus”: apare doar după derulare (bara lipită sus) */
.home-btn {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper);
  display: none; place-items: center; padding: 0;
}
.catbar.is-stuck .home-btn { display: grid; }
/* telefoane înguste: mai mult loc pentru numele categoriei */
@media (max-width: 399px) {
  .catbar-inner { gap: 6px; }
  .home-btn, .search-toggle { width: 42px; height: 42px; }
  .cat-switch { height: 46px; }
  .catbar.is-stuck .cat-switch-pos { display: none; }
  .cat-switch { padding: 0 12px 0 14px; gap: 8px; font-size: 14px; }
}
.home-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--forest); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.search-toggle svg, .search-field svg { width: 19px; height: 19px; fill: none; stroke: var(--forest); stroke-width: 2; stroke-linecap: round; }

.searchbox { display: flex; align-items: center; gap: 10px; padding: 0 var(--gr) 10px var(--gl); }
.search-field { position: relative; flex: 1; min-width: 0; }
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); stroke: var(--muted); pointer-events: none; }
.searchbox input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 46px; padding: 0 16px 0 42px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font: inherit; font-size: 16px; /* 16px = iOS nu face zoom */
  color: var(--ink); outline: none;
}
.searchbox input::-webkit-search-decoration,
.searchbox input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.searchbox input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(158, 155, 110, .35); }
.search-close { flex: none; height: 46px; padding: 0 4px; border: 0; background: none; font-weight: 800; color: var(--orange-ink); }

/* ---------- Meniu ---------- */
.menu { padding: 0 var(--gr) 8px var(--gl); }
.cat { padding-top: 26px; }
/* titlul grupului în meniu (ex. „Băuturi”), scris de mână ca „plăcere” din partea de sus */
.mgroup-head {
  margin: 44px 0 -12px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--script); font-size: 46px; font-weight: 400; line-height: 1.15;
  color: var(--forest-2);
}
.mgroup-head::before, .mgroup-head::after { content: ""; flex: 0 1 56px; height: 1px; background: var(--sage-ink); }
.mgroup:first-child .mgroup-head { margin-top: 26px; }
.cat-head { text-align: center; }
.cat-head .kicker { color: var(--orange-ink); }
.cat-hours {
  display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--sage-ink); color: var(--charcoal);
  font-size: 13px; font-weight: 600; line-height: 1.2;
}
.cat-hours svg { width: 15px; height: 15px; color: var(--sage-ink); }
.cat-hours b { font-weight: 800; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cat-head .cat-hours + .cat-note { margin-top: 8px; }
.cat-empty {
  margin: 16px 0 0; padding: 18px 16px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  border: 1px dashed var(--line); border-radius: 20px; background: var(--paper);
  color: var(--muted); font-size: 14px; line-height: 1.4; text-align: left;
}
.cat-empty svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--sage-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cat-note { margin: 6px auto 0; max-width: 480px; color: var(--muted); font-size: 14px; }

/* categorie cu banner (ex. Cafea – Julius Meinl): totul într-o cutie caramel */
.cat-box {
  position: relative; overflow: hidden;
  padding: 20px 12px 12px;
  border-radius: 26px;
  background: linear-gradient(135deg, #f4eee2, #e2dcc4);
  box-shadow: var(--shadow);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: colțuri rotunjite la overflow */
}
.cat-box-logo {
  position: absolute; right: -18px; top: -16px; z-index: 1;
  width: clamp(118px, 38vw, 150px); height: clamp(118px, 38vw, 150px); border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  box-shadow: 0 18px 30px -14px rgba(120, 0, 20, .6);
}
.cat-box-logo img { width: 58%; height: auto; transform: translate(-8%, 6%); }
.cat-box-ring {
  position: absolute; right: 30px; top: 116px;
  width: 110px; height: 110px; border-radius: 50%;
  border: 1.5px solid #b3b088; pointer-events: none;
}
.cat-box .cat-head { position: relative; z-index: 2; text-align: left; padding: 0 clamp(100px, 34vw, 136px) 0 6px; }
.cat-box .cat-head .kicker { color: var(--orange-ink); }
.cat-box .cat-title { margin-top: 8px; }
.cat-box .cat-note { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }
.cat-box .grid { position: relative; z-index: 2; margin-top: 20px; }
.cat-box .grid.list { border: 0; box-shadow: 0 10px 24px -18px rgba(60, 58, 36, .45); }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }

.card {
  position: relative; min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  isolation: isolate;
}

/* elemente comune */
.card-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.22; color: var(--charcoal); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.meta span {
  font-size: 12px; font-weight: 700; line-height: 1.2;
  padding: 6px 10px; border-radius: 999px;
  background: var(--sage-mist); color: var(--forest-2);
}
.meta .allergens { background: var(--tag); color: var(--tag-ink); }
.meta .flag, .row-flags .flag { background: var(--orange); color: #fff; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.meta .flag.vegan, .row-flags .flag.vegan { background: #6e7a3e; }
.ingr { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.ingr b { color: var(--ink); font-weight: 700; }
.price { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1; color: var(--charcoal); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.price small { font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--muted); margin-left: 4px; }

.zoom-hint {
  position: absolute; right: 8px; bottom: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}
.zoom-hint svg { width: 15px; height: 15px; fill: none; stroke: var(--forest); stroke-width: 2; stroke-linecap: round; }

/* --- card mare („Nou”) --- */
.card.feature { padding: 18px 16px 20px; text-align: center; }
.badges { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 6px; }
.badge {
  padding: 6px 11px; border-radius: 999px;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
}
.badge.vegan { background: #6e7a3e; }
.feature-media { position: relative; }
.card-media {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; margin: 0;
  aspect-ratio: var(--ratio, 3 / 4);
  border-radius: 16px;
  background: var(--cream-2);
  overflow: hidden; cursor: zoom-in;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: colțuri rotunjite la overflow */
}
.card-media.on-white { background: #fff; }
.card-media img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.card-media .blur {
  position: absolute; inset: -30px;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: blur(22px) saturate(1.1); opacity: .55;
}
/* farfurie pe alb: poza rotundă pe un cerc salvie */
.card-media.round {
  width: min(78vw, 290px); aspect-ratio: auto; height: min(78vw, 290px);
  margin: 6px auto 0; border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 0 0 10px var(--sage-soft), 0 26px 40px -22px rgba(40, 40, 20, .6);
}
.card-media.round img { object-fit: cover; }
.card-media.round .zoom-hint { right: 16%; bottom: 4%; }
.round-wrap { position: relative; width: min(70vw, 290px); margin: 24px auto 10px; }
.round-wrap::before {
  content: ""; position: absolute; inset: -22px; border-radius: 50%;
  border: 1.5px solid var(--sage);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 56%, 0 56%);
  clip-path: polygon(0 0, 100% 0, 100% 56%, 0 56%);
  pointer-events: none;
}
.round-wrap .card-media.round { width: 100%; height: auto; aspect-ratio: 1 / 1; margin: 0; }
.deco { position: absolute; z-index: 1; fill: none; stroke: var(--caramel); stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.deco-lines { right: -22px; top: 8%; width: 34px; height: 34px; stroke-width: 2.2; }
.deco-heart { left: -18px; bottom: 16%; width: 28px; height: 28px; stroke-width: 1.7; }
.card.feature .card-body { margin-top: 16px; }
.card.feature .card-title { font-size: 24px; }
.card.feature .ingr { max-width: 460px; margin-left: auto; margin-right: auto; }
.card.feature .meta { justify-content: center; }
.card.feature .card-foot { margin-top: 14px; }
.card.feature .price { font-size: 30px; }

/* --- rând cu miniatură --- */
.card.row { padding: 10px 12px 14px 10px; }
.row-top { display: flex; gap: 12px; align-items: stretch; }
.row-ph {
  position: relative; flex: none;
  width: 108px; height: 108px; padding: 0; margin: 0;
  border: 0; border-radius: 16px; background: #fff; overflow: hidden; cursor: zoom-in;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.row-ph img { width: 100%; height: 100%; object-fit: cover; }
.row-ph .zoom-hint { width: 26px; height: 26px; right: 5px; bottom: 5px; }
.row-ph .zoom-hint svg { width: 12px; height: 12px; }
.row-head { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding-top: 4px; }
.row-head .card-title { font-size: 18.5px; }
.row-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.row-flags .flag { font-size: 10.5px; padding: 4px 8px; border-radius: 999px; line-height: 1.2; }
.row-head .price { margin-top: auto; padding-top: 10px; }
.card.row .meta { margin-top: 12px; padding-left: 2px; }
.card.row .ingr { padding-left: 2px; }

/* --- fără poză (ex. cafea): iconiță · nume + detalii · puncte · preț --- */
.cmp-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.cmp-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-mist); display: grid; place-items: center; }
.cmp-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--forest-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cmp-txt { flex: 0 1 auto; min-width: 0; }
.card.compact .card-title { font-family: var(--sans); font-weight: 800; font-size: 16px; line-height: 1.25; color: var(--ink); }
.cmp-sub { margin: 2px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.cmp-sub .al { color: var(--tag-ink); font-weight: 700; }
.card.compact .row-flags { margin-top: 4px; }
.cmp-dots { flex: 1 1 12px; min-width: 12px; height: 0; border-bottom: 2px dotted #cfc6b0; }
.card.compact .price { flex: none; font-size: 21px; }
.card.compact .ingr { margin: -6px 0 0; padding: 0 16px 14px; font-size: 13px; }

/* categorie doar cu produse fără poză: o singură listă pe hârtie */
.grid.list {
  gap: 0; padding: 4px 16px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.grid.list .card { border: 0; border-radius: 0; box-shadow: none; background: none; border-bottom: 1px dashed var(--line); }
.grid.list .card:last-child { border-bottom: 0; }
.grid.list .cmp-row { padding: 13px 0; }
.grid.list .card.compact .ingr { padding: 0 0 13px; }

.no-results { text-align: center; color: var(--muted); padding: 40px 16px; margin: 0; }

/* ---------- Evenimente (salvie deschis, cu val) ---------- */
.events {
  position: relative;
  margin-top: 70px;
  background: var(--sage-footer); color: var(--forest);
  text-align: center;
}
.events-wave { position: absolute; left: 0; top: -38px; width: 100%; height: 40px; fill: var(--sage-footer); }
.events-inner { max-width: 640px; margin: 0 auto; padding: 14px var(--gr) 64px var(--gl); }
.events-mark { width: 50px; height: 50px; margin: 0 auto 10px; color: var(--forest); }
.events .kicker { color: var(--forest-2); }
.events h2 { text-wrap: balance; margin: 8px 0 0; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; color: var(--charcoal); }
.events .script { display: block; margin-top: 4px; font-size: 38px; line-height: 1.1; color: var(--forest-2); }
.events p { margin: 12px auto 0; max-width: 460px; color: #3a3928; }
.events-tags { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.events-tags li { display: flex; }
.events-tags a { display: block; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(60, 58, 36, .35); background: rgba(255, 255, 255, .25); font-size: 13px; font-weight: 700; color: inherit; text-decoration: none; transition: background .15s, border-color .15s; }
.events-tags a:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; background: rgba(255, 255, 255, .5); border-color: rgba(60, 58, 36, .6); }
.events .events-phone { margin-top: 12px; font-size: 13px; color: var(--forest-2); font-weight: 700; letter-spacing: .04em; }

.foot { background: #9e9b6e; color: #f3ede2; } /* fundalul din logo */
.foot { position: relative; }
.foot-wave { position: absolute; left: 0; top: -38px; width: 100%; height: 40px; fill: #9e9b6e; }
.foot-inner { max-width: 640px; margin: 0 auto; padding: 26px var(--gr) calc(30px + var(--sb)) var(--gl); text-align: center; font-size: 13px; }
.foot p { margin: 0 0 6px; text-shadow: 0 1px 1px rgba(60, 58, 30, .25); }
.foot-logo { display: block; width: 210px; height: auto; margin: 10px auto 22px; }
.foot-brand { font-family: var(--serif); font-size: 15px; color: #eee6d8; font-weight: 500; }

/* ---------- Ferestre (sheets) ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(40, 38, 24, .5); animation: fade .2s; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: 560px; margin: 0 auto;
  max-height: 88vh; max-height: 88dvh;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: var(--cream);
  border-radius: 26px 26px 0 0;
  padding: 8px var(--gr) calc(18px + var(--sb)) var(--gl);
  animation: slide .3s cubic-bezier(.2, .9, .3, 1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateY(100%); } }
.sheet-handle { width: 42px; height: 5px; border-radius: 3px; background: #d2c9b4; margin: 4px auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--charcoal); }
.icon-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 22px; line-height: 1; padding: 0; color: var(--forest); }
.tiles-sheet { margin-top: 14px; }

/* ---------- Poza mare ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(34, 32, 20, .94);
  display: flex; align-items: center; justify-content: center;
  padding: calc(60px + env(safe-area-inset-top)) var(--gr) calc(24px + var(--sb)) var(--gl);
  animation: fade .2s;
}
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px - env(safe-area-inset-top) - var(--sb)); width: auto; height: auto; border-radius: 16px; object-fit: contain; }
.lightbox figcaption { color: #f6efe2; font-family: var(--serif); font-size: 18px; text-align: center; }
.lightbox-close { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: var(--gr); background: rgba(255, 255, 255, .14); color: #fff; border-color: transparent; }

/* ---------- Hover doar pe dispozitive cu mouse ---------- */
@media (hover: hover) and (pointer: fine) {
  .tile:hover { background: rgba(255, 255, 255, .24); }
  .tiles-sheet .tile:hover { background: var(--sage-mist); }
  .pills button:hover { border-color: var(--sage); }
  .btn:hover { filter: brightness(1.06); }
  .events-tags a:hover { background: rgba(255, 255, 255, .5); border-color: rgba(60, 58, 36, .6); }
}

/* ---------- Telefoane mici (iPhone SE / 320px) ---------- */
@media (max-width: 359px) {
  .logo small { letter-spacing: .14em; }
  .lang button { min-width: 36px; padding: 0 6px; }
  .hero-media { height: 220px; margin-left: 10px; }
  .hero-plate { width: 204px; height: 204px; }
  .hero-badge { left: 10px; }
  .row-ph { width: 88px; height: 88px; }
  .card.row { padding-right: 10px; }
  .tile-img { width: 80px; height: 80px; }
}

/* ---------- Tabletă ---------- */
@media (min-width: 640px) {
  .hero-media { height: 300px; margin-left: 18%; }
  .hero-plate { width: 280px; height: 280px; right: 12%; }
  .hero-badge { left: 40px; }
  .chips { display: flex; flex-wrap: wrap; justify-content: center; }
  .chip { padding: 0 18px; }
  /* cuprins: 4 pe rând (rândul incomplet se lățește) */
  .tiles:not(.tiles-sheet) .tiles-set > .tile { grid-column: span 3; }
  .tiles:not(.tiles-sheet) .tiles-set > .tile:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
  .tiles:not(.tiles-sheet) .tiles-set > .tile:nth-last-child(2):nth-child(4n+1),
  .tiles:not(.tiles-sheet) .tiles-set > .tile:last-child:nth-child(4n+2) { grid-column: span 6; }
  .tiles:not(.tiles-sheet) .tiles-set > .tile:nth-last-child(3):nth-child(4n+1),
  .tiles:not(.tiles-sheet) .tiles-set > .tile:nth-last-child(2):nth-child(4n+2),
  .tiles:not(.tiles-sheet) .tiles-set > .tile:last-child:nth-child(4n+3) { grid-column: span 4; }
  .tiles.many .tile-img { width: 80px; height: 80px; }
  /* fereastra „Categorii”: 2 pe rând, ultima rămasă singură ia tot rândul */
  .tiles-sheet .tiles-set > .tile { grid-column: span 6; }
  .tiles-sheet .tiles-set > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .mgroup-head { font-size: 54px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .grid.list { column-gap: 32px; }
  /* cardul mare: poza în stânga, textul în dreapta, pe tot rândul */
  .card.feature {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center;
    padding: 24px; text-align: left;
  }
  .card.feature .card-body { margin-top: 0; }
  .card.feature .meta { justify-content: flex-start; }
  .card.feature .ingr { margin-left: 0; }
  .card-media.round { width: min(34vw, 300px); height: min(34vw, 300px); margin: 12px auto; }
  .round-wrap { width: min(32vw, 290px); margin: 30px auto; }
  .cat-box { padding: 26px 20px 20px; }
  .cat-box .cat-head { padding-left: 8px; }
}

/* ---------- Ecrane late ---------- */
@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
  .hero-media { order: 2; height: 420px; margin: 10px calc(-1 * var(--gr)) 0 0; }
  .hero-plate { width: 360px; height: 360px; right: 13%; top: 30px; }
  .hero-text { order: 1; text-align: left; padding: 30px 0 10px; }
  .hero-title { font-size: 48px; }
  .logo { width: 240px; }
  .logo small { font-size: 10px; }
  .hero-title .script::before, .hero-title .script::after { display: none; }
  /* forma salvie merge până la marginea ecranului */
  .hero-blob { right: calc(-1 * max(0px, (100vw - 1120px) / 2)); }
  .feats { max-width: 420px; }
  .hero-wave { margin-top: 30px; height: 110px; }

  /* „Toate categoriile” + butoanele categoriilor din grupul curent */
  .cat-switch { flex: none; align-self: flex-start; height: 42px; padding: 0 14px 0 16px; font-size: 14.5px; }
  .cat-switch-name, .cat-switch-pos { display: none; }
  .cat-switch-all { display: inline; white-space: nowrap; }
  .pills { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
  .pills button {
    height: 42px; padding: 0 18px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--paper); color: var(--forest);
    font-size: 14.5px; font-weight: 800; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s;
  }
  .pills button.active { background: var(--orange); color: #fff; border-color: var(--orange); }
  .search-toggle { align-self: flex-start; width: 42px; height: 42px; }
  .home-btn { align-self: flex-start; width: 42px; height: 42px; }
  .catbar-sentinel { margin-top: 26px; }
  .cat { padding-top: 34px; }
  .sec-title, .cat-title { font-size: 34px; }
}
@media (min-width: 980px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Telefon ținut orizontal: poza și textul unul lângă altul ---------- */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 540px) and (max-width: 899px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 16px; }
  .hero-media { order: 2; height: 250px; margin: 6px calc(-1 * var(--gr)) 0 0; }
  .hero-plate { width: 220px; height: 220px; right: 8%; top: 15px; }
  .hero-badge { left: 0; bottom: 10px; }
  .hero-text { order: 1; text-align: left; padding: 12px 0 4px; }
  .hero-title { font-size: 30px; }
  .hero-title .script::before, .hero-title .script::after { display: none; }
  .feats { max-width: 380px; margin-top: 16px; }
  .hero-wave { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Comandă: butonul de la produse ---------- */
.order-btn {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 14px; margin: 0;
  border-radius: 999px; border: 1.5px solid var(--forest-2); background: transparent;
  color: var(--forest); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.order-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.order-btn:active { background: var(--forest); color: #fff; transform: scale(.97); }
/* eticheta pe două rânduri: „COMANDĂ” + „la telefon · livrare” (rămâne îngustă lângă preț) */
.order-btn:has(.ob-txt) { height: auto; min-height: 40px; padding: 5px 14px 5px 12px; }
.ob-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.ob-txt b { font-weight: 800; }
.ob-txt small { font-size: 10px; font-weight: 700; letter-spacing: .01em; text-transform: none; opacity: .85; white-space: nowrap; }
.order-btn:has(.ob-txt) { max-width: 100%; }
.ob-txt { min-width: 0; }
@media (max-width: 359px) { .ob-txt small { white-space: normal; } }
.row-buy { margin-top: auto; padding-top: 10px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.row-buy .price { margin: 0; padding: 0; }
.card.feature .card-foot { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.card.feature .order-btn { height: 42px; padding: 0 20px; font-size: 12px; }
.card.feature .order-btn:has(.ob-txt) { height: auto; min-height: 46px; padding: 6px 20px 6px 16px; }
/* fără poză: doar iconița (rândul e îngust) */
.card.compact .order-btn, .card.compact .order-btn:has(.ob-txt) { width: 36px; height: 36px; min-height: 0; padding: 0; margin-left: 2px; }
.card.compact .order-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (min-width: 640px) {
  .card.compact .order-btn, .card.compact .order-btn:has(.ob-txt) { width: auto; height: auto; min-height: 40px; padding: 5px 14px 5px 12px; }
  .card.compact .order-btn span { position: static; width: auto; height: auto; clip: auto; }
}

/* ---------- Bara cu telefonul (sub butoanele de sus) ---------- */
.phone-bar {
  grid-column: 1 / -1; width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 9px 9px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--charcoal); text-decoration: none;
  box-shadow: 0 10px 22px -18px rgba(60, 58, 36, .6);
}
.phone-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-mist); }
.phone-ico svg { width: 19px; height: 19px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linejoin: round; }
.phone-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.phone-label { font-size: 11.5px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-num { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--charcoal); font-variant-numeric: lining-nums; letter-spacing: .02em; white-space: nowrap; }
.phone-go { flex: none; height: 38px; padding: 0 18px; border-radius: 999px; display: grid; place-items: center; background: var(--call); color: #fff; font-size: 13.5px; font-weight: 800; }
@media (min-width: 640px) { .phone-bar { width: auto; min-width: 380px; } }

/* ---------- Comandă: fereastra ---------- */
.order {
  position: fixed; inset: 0; z-index: 55;
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) var(--gr) max(16px, var(--sb)) var(--gl);
}
.order-backdrop { position: absolute; inset: 0; background: rgba(40, 38, 24, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .2s; }
.order-panel {
  position: relative; width: 100%; max-width: 420px; max-height: 100%; overflow-y: auto;
  padding: 30px 22px 20px; border-radius: 28px; text-align: center;
  background: var(--cream);
  background-image: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .55), transparent 70%);
  box-shadow: 0 30px 60px -20px rgba(30, 28, 16, .55);
  animation: pop .28s cubic-bezier(.2, .9, .3, 1.15);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.order-close { position: absolute; top: 14px; right: 14px; }
.order-panel .kicker { color: var(--forest-2); padding: 0 40px; }
.order-title { margin: 4px 0 0; font-size: 52px; line-height: 1.05; color: var(--forest-2); }
:lang(ru) .order-title { font-size: 42px; }
.order-text { margin: 14px auto 0; max-width: 320px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.order-call { width: 100%; margin-top: 18px; min-height: 58px; font-size: 17px; background: var(--call); box-shadow: 0 14px 26px -14px rgba(170, 90, 50, .9); }
.order-call svg { width: 21px; height: 21px; }
.order-call .phone-num { font: inherit; color: inherit; letter-spacing: .02em; }
.order-delivery {
  display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 8px 14px;
  border-radius: 999px; background: var(--sage-mist); color: var(--forest); font-size: 13.5px; font-weight: 800;
}
.order-delivery svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.order-note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.order-kitchen { margin-top: 4px; }
.order-kitchen b { font-weight: 800; color: var(--forest-2); }
@media (hover: hover) and (pointer: fine) {
  .order-btn:hover { background: var(--forest); color: #fff; }
  .phone-bar:hover { border-color: var(--sage); }
}
@media (max-width: 359px) { .phone-label { white-space: normal; } .phone-go { padding: 0 14px; } }

/* client în local (QR de pe masă): fără comandă la telefon, doar mesajul despre ospătar */
.venue-hint { display: none; }
.in-venue .phone-bar, .in-venue .order-btn { display: none; }
.in-venue .venue-hint {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 0; padding: 11px 16px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--charcoal); font-size: 14px; font-weight: 700; line-height: 1.35; text-align: left;
}
.venue-hint svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--forest-2); stroke-width: 1.8; stroke-linejoin: round; }
@media (min-width: 640px) { .in-venue .venue-hint { flex-basis: 100%; } }

/* micul dejun: un rând discret sub bara cu telefonul (duce la categoria „Mic dejun”) */
.bf-line {
  grid-column: 1 / -1; justify-self: center;
  display: inline-flex; align-items: center; gap: 7px;
  margin: 2px auto 0; padding: 6px 12px; border: 0; border-radius: 999px; background: none;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--muted);
}
.bf-line svg { width: 16px; height: 16px; fill: none; stroke: var(--forest-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bf-line b { font-weight: 800; color: var(--forest-2); }
@media (min-width: 640px) { .bf-line { flex-basis: 100%; justify-content: center; } }
@media (hover: hover) and (pointer: fine) { .bf-line:hover { background: rgba(255, 255, 255, .4); } }

/* subsol: telefonul pentru comenzi */
.foot-phone {
  display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 12px; padding: 9px 20px;
  border-radius: 999px; border: 1px solid rgba(243, 237, 226, .5); color: #f6f1e7;
  font-size: 16px; font-weight: 800; letter-spacing: .02em; text-decoration: none;
}
.foot-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.foot-phone:active { background: rgba(255, 255, 255, .12); }
.foot .foot-prices { font-size: 12.5px; opacity: .85; }
@media (hover: hover) and (pointer: fine) { .foot-phone:hover { background: rgba(255, 255, 255, .12); } }
.foot-phone .phone-num { font: inherit; color: inherit; letter-spacing: inherit; }
