/* ============================================================
   Лента за контакт на телефон (до 767 px): закачена долу, излиза отдолу, когато скриптът сложи .is-on.
   Последният бутон („Запитване“) е в цвета на стаята. На по-широк екран лентата я няма.
   ============================================================ */
.pcb { display: none; }

@media (max-width: 767px) {
  body .pcb {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; margin: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #121212; color: #F2F0EB; box-shadow: 0 -1px 0 rgba(242, 240, 235, .1);
    transform: translate3d(0, 105%, 0); visibility: hidden;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), visibility 0s .5s;
  }
  body .pcb.is-on { transform: none; visibility: visible; transition: transform .5s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
  body .pcb .pcb-a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 8px;
    font-family: Montserrat, sans-serif; font-size: 12.5px; line-height: 1.1; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    text-align: center; text-decoration: none; color: #F2F0EB; border-left: 1px solid rgba(242, 240, 235, .12);
  }
  body .pcb .pcb-a:first-child { border-left: 0; }
  body .pcb .pcb-a.is-main { background: var(--room, #2AC4EA); color: var(--room-ink, #0B2530); border-left: 0; }
  body .pcb .pcb-a:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }

  /* другите закачени долу неща се качват над лентата: езичето „Подарък“ на „Сватби“ и менюто с главите на проектите */
  .pfx.gift-tab, .kz-page .kz-nav { transition: bottom .5s cubic-bezier(.16, 1, .3, 1); }
  html.pcb-on .pfx.gift-tab { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  html.pcb-on .kz-page .kz-nav { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  body .pcb, body .pcb.is-on, .pfx.gift-tab, .kz-page .kz-nav { transition: none; }
}
