/* ---------- menu kawiarni: strona /kawiarnia/ (inc/kawiarnia-menu.php, 2026-10-10) ---------- */
/* Dane z wtyczki (CF_Cafe::sections), czyli to samo menu co w aplikacji i POS. Karty jak .menu-card (DESIGN.md §6): --surface,
   obrys --line, --r, cień var(--shadow). Wiersze rozdzielone linią przerywaną --dash (efekt paragonu), nazwy i ceny fontem nagłówkowym. */

.cm { display: grid; gap: clamp(1.2rem, 2.4vw, 1.6rem); }

/* ---------- pasek „Hity …” (ciemna karta jak .place--dark) ---------- */
.cm-hits { background: var(--cocoa); color: #f6e9d6; border-radius: var(--r-lg); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow); }
.cm-hits .eyebrow { margin-bottom: 1.1rem; }
.cm-hits__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem clamp(1.2rem, 3vw, 2.2rem); }
.cm-hit { display: grid; grid-template-rows: auto 1fr auto; gap: 0.45rem; min-width: 0; padding-top: 1rem; border-top: 1px dashed rgba(227, 190, 106, 0.32); }
.cm-hit__name { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.15; letter-spacing: -0.01em; color: var(--cream); }
.cm-hit__desc { margin: 0; font-size: 0.9rem; line-height: 1.5; color: #c9b8a5; }
.cm-hit .cm-prices { justify-content: start; }
.cm-hit .cm-price { justify-items: start; min-width: 0; text-align: left; }
.cm-hits .cm-price__size { color: var(--gold-2); }
.cm-hits .cm-price__val { color: var(--gold-2); font-size: 1.25rem; }

/* ---------- sekcje: karty jedna pod drugą; pozycje w karcie w dwóch kolumnach od 1101 px (wierszami: „zwykłe” obok „roślinnych”) ---------- */
.cm-secs { display: grid; gap: clamp(1.2rem, 2.4vw, 1.6rem); }
.cm-sec { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.15rem, 2.6vw, 1.7rem); box-shadow: var(--shadow); }
.cm-sec h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.9rem); }
.cm-sec__desc { margin: 0.5rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.cm-list { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: clamp(1.6rem, 3vw, 2.8rem); }
@media (min-width: 1101px) { .cm-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cm-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: start; padding: 0.85rem 0; border-top: 1px dashed var(--dash); }
.cm-item:last-child { padding-bottom: 0.15rem; }
.cm-item__text { min-width: 0; }
.cm-item__name { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.25; color: var(--ink); }
.cm-item__desc { margin: 0.25rem 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--muted); }
.cm-item__more { margin: 0.3rem 0 0; font-size: 0.82rem; line-height: 1.45; color: var(--ink-2); }
.cm-item__more span { font-weight: 600; color: var(--gold-deep); }
.cm-tag { display: inline-block; vertical-align: 0.2em; margin-left: 0.35rem; padding: 0.3em 0.75em; font-family: var(--font-body); font-weight: 700; font-size: 0.6rem; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); border: 1px dashed var(--dash); border-radius: 999px; white-space: nowrap; }

/* ---------- ceny: komórka = rozmiar (S/M/L, Doppio…) nad ceną ---------- */
.cm-prices { display: flex; flex-wrap: nowrap; justify-content: end; gap: 0.15rem 0.5rem; }
.cm-price { display: grid; justify-items: center; align-content: start; min-width: 3.2rem; text-align: center; }
.cm-price__size { font-family: var(--font-body); font-weight: 700; font-size: 0.64rem; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.cm-price__val { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.25; color: var(--ink); white-space: nowrap; }

.cm-extras { margin: 0.9rem 0 0; padding-top: 0.85rem; border-top: 1px dashed var(--dash); font-size: 0.85rem; line-height: 1.5; color: var(--ink-2); }
.cm-extras strong { font-weight: 700; color: var(--ink); }
.cm-empty { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .cm-hits__list { grid-template-columns: minmax(0, 1fr); }
}
/* telefon: kilka cen (S/M/L) pod opisem, od lewej; pojedyncza cena zostaje obok nazwy */
@media (max-width: 560px) {
  .cm-item--multi { grid-template-columns: minmax(0, 1fr); }
  .cm-item--multi .cm-prices { justify-content: start; gap: 0.15rem 1.2rem; }
  .cm-item--multi .cm-price { justify-items: start; text-align: left; min-width: 0; }
}
