/**
 * Template: Café Mila
 * Kawiarnia i cukiernia — miękko i przytulnie. Duże zaokrąglenia (16–28 px),
 * pastelowe tła sekcji, delikatne rozmyte cienie, pigułki na przyciskach
 * i tagach, ciepły serif (Lora) w nagłówkach nad geometrycznym bezszeryfem
 * (Outfit) w treści, dużo powietrza między elementami.
 *
 * Zmienne --cm-* nadpisuje layout mapowaniem z tokenów palety; wartości poniżej
 * to wyłącznie fallback dla podglądu bez palety.
 */

/*--------------------------------------------------------------
# Zmienne
--------------------------------------------------------------*/
:root {
  --cm-font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cm-display: "Lora", Georgia, "Times New Roman", serif;

  --cm-bg: #fffdfa;
  --cm-text: #3a322c;
  --cm-heading: #2a231e;
  --cm-card: #ffffff;
  --cm-cream: #fdf3e7;
  --cm-quiet-text: color-mix(in srgb, var(--cm-text) 68%, var(--cm-bg));
  --cm-berry: #c2764a;
  --cm-on-berry: #ffffff;
  --cm-blush: #fbe6d6;
  --cm-on-blush: #7a4a2b;
  --cm-line: #f0e2d3;

  --cm-r-sm: 16px;
  --cm-r: 22px;
  --cm-r-lg: 28px;
  --cm-pill: 999px;

  --cm-shadow: 0 22px 48px rgba(58, 42, 30, 0.10);
  --cm-shadow-sm: 0 12px 28px rgba(58, 42, 30, 0.07);

  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# Baza
--------------------------------------------------------------*/
.cm-body {
  background-color: var(--cm-bg);
  color: var(--cm-text);
  font-family: var(--cm-font);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.8;
}

/* Style bazowe w :where() — zerowa specyficzność, żeby każda klasa komponentu
   je nadpisywała (inaczej `.cm-body a` biłoby `.cm-btn--berry`). */
:where(.cm-body) :where(h1, h2, h3, h4) {
  font-family: var(--cm-display);
  color: var(--cm-heading);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
}

:where(.cm-body) :where(a) {
  color: var(--cm-berry);
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

/* Zostaje na normalnej specyficzności — reboot Bootstrapa ustawia
   `a { text-decoration: underline }` i wygrałby z :where(). */
.cm-body a {
  text-decoration: none;
}

:where(.cm-body) :where(a):hover {
  color: var(--cm-heading);
}

:where(.cm-body) :where(img) {
  max-width: 100%;
  height: auto;
}

:where(.cm-body) :where(p) {
  color: var(--cm-text);
}

.section {
  padding: 104px 0;
}

@media (max-width: 767.98px) {
  .section {
    padding: 64px 0;
  }
}

/*--------------------------------------------------------------
# Elementy wspólne
--------------------------------------------------------------*/
.cm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 18px;
  border-radius: var(--cm-pill);
  background: var(--cm-blush);
  color: var(--cm-on-blush);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.cm-section__head {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
}

.cm-section__title {
  font-size: clamp(30px, 4.2vw, 46px);
  margin: 0 0 14px;
}

.cm-section__sub {
  margin: 0;
  color: var(--cm-quiet-text);
  font-size: 17px;
}

.cm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border: 0;
  border-radius: var(--cm-pill);
  background: transparent;
  color: var(--cm-heading);
  font-family: var(--cm-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cm-btn:hover {
  transform: translateY(-2px);
}

.cm-btn--berry {
  background: var(--cm-berry);
  color: var(--cm-on-berry);
  box-shadow: var(--cm-shadow-sm);
}

.cm-btn--berry:hover {
  color: var(--cm-on-berry);
  box-shadow: var(--cm-shadow);
}

.cm-btn--soft {
  background: var(--cm-blush);
  color: var(--cm-on-blush);
}

.cm-btn--soft:hover {
  color: var(--cm-on-blush);
  box-shadow: var(--cm-shadow-sm);
}

.cm-btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.cm-btn--block {
  width: 100%;
}

.cm-tag {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 4px 14px;
  border-radius: var(--cm-pill);
  background: var(--cm-cream);
  color: var(--cm-quiet-text);
  font-size: 13px;
  font-weight: 400;
}

.cm-input {
  width: 100%;
  padding: 15px 22px;
  border: 1px solid var(--cm-line);
  border-radius: var(--cm-pill);
  background: var(--cm-card);
  color: var(--cm-text);
  font-family: var(--cm-font);
  font-size: 15px;
  font-weight: 300;
}

.cm-input--area {
  border-radius: var(--cm-r);
}

.cm-input::placeholder {
  color: var(--cm-quiet-text);
}

.cm-input:focus {
  outline: none;
  border-color: var(--cm-berry);
  box-shadow: var(--cm-shadow-sm);
}

/*--------------------------------------------------------------
# Nagłówek
--------------------------------------------------------------*/
.cm-header {
  background: var(--cm-bg);
  z-index: 1000;
}

.cm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.cm-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cm-heading);
}

.cm-logo:hover {
  color: var(--cm-berry);
}

.cm-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--cm-pill);
  background: var(--cm-blush);
  color: var(--cm-on-blush);
  font-size: 19px;
}

.cm-logo__img {
  height: 40px;
  width: auto;
  border-radius: var(--cm-r-sm);
}

.cm-logo__name {
  font-family: var(--cm-display);
  font-size: 24px;
  font-weight: 600;
}

.cm-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cm-nav a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--cm-pill);
  font-size: 15px;
  font-weight: 400;
  color: var(--cm-text);
}

.cm-nav a:hover,
.cm-nav a.active {
  background: var(--cm-cream);
  color: var(--cm-heading);
}

.cm-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cm-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--cm-pill);
  background: var(--cm-cream);
  color: var(--cm-heading);
  font-size: 19px;
}

.cm-cart:hover {
  background: var(--cm-blush);
  color: var(--cm-on-blush);
}

.cm-cart__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: var(--cm-pill);
  background: var(--cm-berry);
  color: var(--cm-on-berry);
  font-size: 11px;
  font-weight: 500;
  line-height: 21px;
  text-align: center;
}

.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--cm-heading);
}

@media (max-width: 1199.98px) {
  .mobile-nav-toggle {
    display: block;
    order: 3;
  }

  .cm-nav {
    order: 4;
  }

  .cm-nav ul {
    position: fixed;
    inset: 92px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-radius: var(--cm-r-lg);
    background: var(--cm-card);
    box-shadow: var(--cm-shadow);
    display: none;
  }

  .cm-nav ul li a {
    display: block;
    padding: 13px 18px;
  }

  .mobile-nav-active .cm-nav ul {
    display: flex;
  }
}

/*--------------------------------------------------------------
# Powitanie (hero)
--------------------------------------------------------------*/
.cm-hero {
  padding: 84px 0 104px;
  background: var(--cm-cream);
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}

.cm-hero__title {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.14;
  margin: 0 0 22px;
}

.cm-hero__lead {
  max-width: 500px;
  margin: 0 0 34px;
  font-size: 17.5px;
  color: var(--cm-text);
}

.cm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cm-hero__phone {
  margin: 30px 0 0;
  font-size: 15px;
  color: var(--cm-quiet-text);
}

.cm-hero__phone i {
  color: var(--cm-berry);
  margin-right: 4px;
}

.cm-hero__phone span {
  font-weight: 500;
  color: var(--cm-heading);
}

.cm-hero__art {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
}

/* Organiczna „plama” pod zdjęciem — miękki akcent zamiast ostrej ramki. */
.cm-hero__blob {
  position: absolute;
  inset: -22px -18px -14px -26px;
  background: var(--cm-blush);
  border-radius: 58% 42% 47% 53% / 44% 52% 48% 56%;
}

.cm-hero__img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  box-shadow: var(--cm-shadow);
}

.cm-hero__badge {
  position: absolute;
  right: -6px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  border-radius: var(--cm-pill);
  background: var(--cm-card);
  color: var(--cm-heading);
  text-align: center;
  box-shadow: var(--cm-shadow);
}

.cm-hero__badge strong {
  font-family: var(--cm-display);
  font-size: 25px;
  line-height: 1;
}

.cm-hero__badge em {
  margin-top: 4px;
  font-style: normal;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--cm-quiet-text);
}

/*--------------------------------------------------------------
# Liczby
--------------------------------------------------------------*/
.cm-stats {
  padding: 84px 0 40px;
}

.cm-stat {
  height: 100%;
  padding: 34px 22px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
  text-align: center;
}

.cm-stat__number {
  display: block;
  font-family: var(--cm-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cm-berry);
}

.cm-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--cm-quiet-text);
}

/*--------------------------------------------------------------
# O kawiarni
--------------------------------------------------------------*/
.cm-about__frame {
  margin: 0;
  padding: 14px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-cream);
}

.cm-about__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--cm-r);
  box-shadow: var(--cm-shadow-sm);
}

/* Główny akapit — kolor podstawowy, nie „muted” (w ciepłych paletach
   muted-foreground czytał się jak pomarańczowy link). */
.cm-about__text {
  margin: 0 0 26px;
  color: var(--cm-text);
}

.cm-about__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cm-about__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--cm-pill);
  background: var(--cm-cream);
  font-size: 14.5px;
}

.cm-about__points i {
  color: var(--cm-berry);
}

/*--------------------------------------------------------------
# Karta
--------------------------------------------------------------*/
.cm-menu {
  background: var(--cm-bg);
}

.cm-menu__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0 0 44px;
  padding: 0;
}

.cm-menu__tab {
  padding: 10px 24px;
  border: 0;
  border-radius: var(--cm-pill);
  background: var(--cm-cream);
  color: var(--cm-text);
  font-family: var(--cm-font);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cm-menu__tab:hover,
.cm-menu__tab.active {
  background: var(--cm-berry);
  color: var(--cm-on-berry);
  box-shadow: var(--cm-shadow-sm);
}

.cm-menu__cat-head {
  text-align: center;
  margin-bottom: 34px;
}

.cm-menu__cat-head p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cm-berry);
}

.cm-menu__cat-head h3 {
  margin: 6px 0 0;
  font-size: 28px;
}

.cm-menu__empty {
  padding: 56px 0;
  text-align: center;
  color: var(--cm-quiet-text);
}

.cm-dish {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cm-dish:hover {
  transform: translateY(-5px);
  box-shadow: var(--cm-shadow);
}

.cm-dish__media {
  border-radius: var(--cm-r);
  overflow: hidden;
  background: var(--cm-cream);
}

.cm-dish__img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.cm-dish__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 14px 10px;
}

.cm-dish__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.cm-dish__name {
  margin: 0;
  font-size: 20px;
}

.cm-dish__price {
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: var(--cm-pill);
  background: var(--cm-blush);
  color: var(--cm-on-blush);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.cm-dish__desc {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--cm-quiet-text);
}

.cm-dish__labels {
  margin-bottom: 12px;
}

.cm-dish__variants {
  list-style: none;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--cm-r-sm);
  background: var(--cm-cream);
  font-size: 14px;
  color: var(--cm-quiet-text);
}

.cm-dish__variants li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
}

.cm-dish__add {
  margin-top: auto;
}

/*--------------------------------------------------------------
# Opinie
--------------------------------------------------------------*/
.cm-testimonials {
  background: var(--cm-cream);
  border-radius: 48px;
}

.cm-quote {
  position: relative;
  height: 100%;
  margin: 0;
  padding: 34px 30px 30px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
  display: flex;
  flex-direction: column;
}

.cm-quote__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: var(--cm-pill);
  background: var(--cm-blush);
  color: var(--cm-on-blush);
  font-size: 22px;
}

.cm-quote blockquote {
  flex: 1;
  margin: 0 0 18px;
  font-size: 16px;
  color: var(--cm-text);
}

.cm-quote__author {
  font-family: var(--cm-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--cm-heading);
}

/*--------------------------------------------------------------
# Galeria
--------------------------------------------------------------*/
.cm-shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--cm-r-lg);
  background: var(--cm-cream);
  box-shadow: var(--cm-shadow-sm);
}

.cm-shot img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.cm-shot--tall img {
  height: 484px;
}

.cm-shot:hover img {
  transform: scale(1.04);
}

@media (max-width: 767.98px) {
  .cm-shot--tall img {
    height: 240px;
  }

  .cm-shot img {
    height: 180px;
  }
}

/*--------------------------------------------------------------
# Pasek zamówień
--------------------------------------------------------------*/
.cm-cta__panel {
  position: relative;
  overflow: hidden;
  padding: 48px 44px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-blush);
  color: var(--cm-on-blush);
  box-shadow: var(--cm-shadow-sm);
}

.cm-cta__dot {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: var(--cm-pill);
  background: var(--cm-cream);
  opacity: 0.65;
  pointer-events: none;
}

.cm-cta__panel .row {
  position: relative;
  z-index: 1;
}

.cm-cta__title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--cm-on-blush);
}

.cm-cta__text {
  margin: 0;
  color: var(--cm-on-blush);
}

.cm-cta__action {
  text-align: right;
}

@media (max-width: 991.98px) {
  .cm-cta__action {
    text-align: left;
  }

  .cm-cta__panel {
    padding: 32px 24px;
  }
}

/*--------------------------------------------------------------
# Rezerwacja
--------------------------------------------------------------*/
.cm-reservation__card {
  padding: 48px 44px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-cream);
}

.cm-reservation__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
}

.cm-reservation__text {
  margin: 0;
  max-width: 520px;
  color: var(--cm-text);
}

.cm-reservation__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cm-reservation__hours {
  margin-top: 8px;
  padding: 22px 24px;
  border-radius: var(--cm-r);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
}

.cm-reservation__hours h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

@media (max-width: 767.98px) {
  .cm-reservation__card {
    padding: 30px 22px;
  }
}

/*--------------------------------------------------------------
# Kontakt i godziny
--------------------------------------------------------------*/
.cm-contact__lead {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--cm-text);
}

.cm-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cm-contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
  padding: 18px 22px;
  border-radius: var(--cm-r);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
}

.cm-contact__list i {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--cm-pill);
  background: var(--cm-blush);
  color: var(--cm-on-blush);
  font-size: 17px;
}

.cm-contact__list strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cm-quiet-text);
}

.cm-hours {
  padding: 32px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
}

.cm-hours__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 20px;
}

.cm-hours__title i {
  color: var(--cm-berry);
}

.oh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.oh-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--cm-line);
}

.oh-table tr:last-child td {
  border-bottom: 0;
}

.oh-table .oh-day {
  font-weight: 500;
  /* w wąskich panelach kolumny stykały się ("Poniedziałek00:40–06:34") */
  padding-right: 14px;
  white-space: nowrap;
  color: var(--cm-heading);
}

.oh-slots {
  text-align: right;
  white-space: nowrap;
  color: var(--cm-quiet-text);
}

.cm-map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 20px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-cream);
  color: var(--cm-quiet-text);
  text-align: center;
}

/*--------------------------------------------------------------
# Formularz
--------------------------------------------------------------*/
.cm-contact-form {
  background: var(--cm-cream);
  border-radius: 48px;
}

.cm-form {
  padding: 34px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
}

.cm-contact__panel {
  height: 100%;
  padding: 28px 30px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
}

.cm-contact__panel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cm-line);
}

.cm-contact__panel-item:last-child {
  border-bottom: 0;
}

.cm-contact__panel-item i {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--cm-pill);
  background: var(--cm-cream);
  color: var(--cm-berry);
  font-size: 16px;
}

.cm-contact__panel-item h3 {
  margin: 0 0 2px;
  font-size: 17px;
}

.cm-contact__panel-item p {
  margin: 0;
  font-size: 15px;
  color: var(--cm-quiet-text);
}

/*--------------------------------------------------------------
# Mapa
--------------------------------------------------------------*/
.cm-map__frame {
  overflow: hidden;
  border-radius: var(--cm-r-lg);
  box-shadow: var(--cm-shadow-sm);
}

.cm-map__embed {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.cm-faq__list {
  max-width: 840px;
  margin: 0 auto;
}

.cm-faq__item {
  margin-bottom: 14px;
  padding: 4px 28px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
}

.cm-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--cm-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--cm-heading);
}

.cm-faq__item summary::-webkit-details-marker {
  display: none;
}

.cm-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--cm-pill);
  background: var(--cm-cream);
  color: var(--cm-berry);
  font-family: var(--cm-font);
  font-size: 19px;
  line-height: 1;
}

.cm-faq__item[open] summary::after {
  content: "–";
}

.cm-faq__item p {
  margin: 0;
  padding: 0 0 22px;
  color: var(--cm-quiet-text);
}

/*--------------------------------------------------------------
# Załoga
--------------------------------------------------------------*/
.cm-member {
  text-align: center;
}

.cm-member__photo {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: var(--cm-pill);
  background: var(--cm-cream);
  box-shadow: var(--cm-shadow-sm);
}

.cm-member__name {
  margin: 0 0 3px;
  font-size: 19px;
}

.cm-member__role {
  margin: 0;
  font-size: 14px;
  color: var(--cm-quiet-text);
}

/*--------------------------------------------------------------
# Blok tekstowy
--------------------------------------------------------------*/
.cm-text__wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 44px 46px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
}

.cm-text__lead {
  margin: 0 0 22px;
  font-size: 18.5px;
  color: var(--cm-text);
}

.cm-text__body h2,
.cm-text__body h3 {
  margin-top: 30px;
  font-size: 24px;
}

.cm-text__body ul,
.cm-text__body ol {
  padding-left: 20px;
}

@media (max-width: 767.98px) {
  .cm-text__wrap {
    padding: 28px 22px;
  }
}

/*--------------------------------------------------------------
# Stopka
--------------------------------------------------------------*/
.cm-footer {
  padding: 40px 0 28px;
  background: var(--cm-bg);
  color: var(--cm-text);
}

.cm-footer__panel {
  padding: 52px 46px;
  border-radius: 40px;
  background: var(--cm-cream);
}

.cm-footer__brand {
  margin: 0 0 16px;
  font-size: 26px;
}

.cm-footer__col h4 {
  margin: 0 0 18px;
  font-size: 18px;
}

.cm-footer__line {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--cm-quiet-text);
}

.cm-footer__line i {
  color: var(--cm-berry);
  margin-right: 6px;
}

.cm-footer__hours {
  margin-top: 22px;
}

.cm-footer__hours h4 {
  font-size: 16px;
}

.cm-footer__hours .oh-table {
  font-size: 14px;
}

.cm-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cm-footer__links li {
  padding: 5px 0;
}

.cm-footer__links a {
  color: var(--cm-text);
}

.cm-footer__links a:hover {
  color: var(--cm-berry);
}

.cm-footer__newsletter p {
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--cm-quiet-text);
}

.cm-footer__form {
  display: flex;
  gap: 10px;
}

.cm-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  padding: 0 24px;
  font-size: 13.5px;
  color: var(--cm-quiet-text);
}

@media (max-width: 767.98px) {
  .cm-footer__panel {
    padding: 32px 24px;
    border-radius: 28px;
  }
}

/*--------------------------------------------------------------
# Sidebar i odsłanianie
--------------------------------------------------------------*/
.cm-sidebar {
  padding: 44px 0;
  background: var(--cm-cream);
}

.cm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.cm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/*--------------------------------------------------------------
# Komponent „menu + koszyk” (dynamiczny blok edytora)
--------------------------------------------------------------*/
.cm-menu-cart__panel {
  padding: 36px 38px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-card);
  box-shadow: var(--cm-shadow-sm);
}

.cm-menu-cart__head {
  margin-bottom: 28px;
}

.cm-menu-cart__cat {
  margin-bottom: 34px;
}

.cm-menu-cart__cat-name {
  margin: 0 0 4px;
  font-size: 22px;
}

.cm-menu-cart__cat-desc {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--cm-quiet-text);
}

.cm-menu-cart__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cm-line);
}

.cm-menu-cart__dish {
  margin: 0 0 4px;
  font-size: 19px;
}

.cm-menu-cart__desc {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--cm-quiet-text);
}

.cm-menu-cart__buy {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.cm-cartbox {
  height: 100%;
  padding: 34px;
  border-radius: var(--cm-r-lg);
  background: var(--cm-cream);
}

.cm-cartbox__title {
  margin: 0 0 10px;
  font-size: 22px;
}

.cm-cartbox__note {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--cm-quiet-text);
}

.cm-cartbox__sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--cm-line);
  font-family: var(--cm-display);
  font-size: 20px;
  font-weight: 600;
}

/* Monogram zamiast udawanego portretu członka zespołu. */
.cm-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border: 1px solid var(--cm-accent, currentColor);
  border-radius: 50%;
  background: var(--cm-surface, #ffffff);
  color: var(--cm-accent, currentColor);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 0 0 5px var(--cm-bg, transparent);
}

/* ---------------------------------------------------------------------------
   Wspólny słownik dla fragmentów dzielonych między szablonami (koszyk, wybór
   opcji dania, powrót z płatności). Każdy szablon nazywa swoje zmienne po
   swojemu — te aliasy dają jedną nazwę, na której mogą się oprzeć widoki
   wspólne, bez narzucania im wyglądu.

   Dodajesz nowy szablon? Dopisz analogiczny blok, inaczej wspólne widoki
   spadną na neutralne wartości zastępcze i będą wyglądać obco.
   --------------------------------------------------------------------------- */
:root {
  --site-bg: var(--cm-bg);
  --site-surface: var(--cm-card);
  --site-soft: var(--cm-cream);
  --site-text: var(--cm-text);
  --site-heading: var(--cm-heading);
  --site-muted: var(--cm-quiet-text);
  --site-accent: var(--cm-berry);
  --site-on-accent: var(--cm-on-berry);
  --site-line: var(--cm-line);
  --site-radius: var(--cm-r);
  --site-shadow: var(--cm-shadow);
  --site-display: var(--cm-display);
  --site-font: var(--cm-font);
}
