/* On narrow screens the existing controls live in the sticky header, not over content. */
.okro-mobile-actions__row { display: none; }
@media (max-width: 980px) {
  html.okro-mobile-actions .okro-mobile-actions__row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 0 16px 8px;
    background: #fff;
  }
  html.okro-mobile-actions .okro-mobile-actions__row > .chatw-fab,
  html.okro-mobile-actions .okro-mobile-actions__row > .medflex-round-widget__button {
    position: static !important;
    inset: auto !important;
    flex: 1 1 0;
    min-width: 0 !important;
    width: auto !important;
    height: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid var(--brand) !important;
    border-radius: 12px !important;
    background: var(--brand) !important;
    color: #fff !important;
    box-shadow: none !important;
    font: 600 15px/1.2 var(--font-body) !important;
    text-align: center;
    cursor: pointer;
    animation: none !important;
    transform: none !important;
  }
  html.okro-mobile-actions .okro-mobile-actions__row > .chatw-fab {
    flex-grow: 1.35;
    color: var(--brand-dark) !important;
    background: #fff !important;
  }
  html.okro-mobile-actions .okro-mobile-actions__row > :focus-visible {
    outline: 3px solid var(--brand-deep);
    outline-offset: 2px;
  }
  html.okro-mobile-actions .okro-mobile-actions__row > .medflex-round-widget__button::before,
  html.okro-mobile-actions .okro-mobile-actions__row > .medflex-round-widget__button::after { display: none !important; }
  html.okro-mobile-booking .site-header .btn-cta-header { display: none; }
  html.okro-mobile-actions #chatw { position: static; }
  html.okro-mobile-actions #chatw-panel {
    position: fixed;
    z-index: 210;
    top: calc(var(--okro-mobile-header-height, 133px) + 8px);
    right: 12px;
    bottom: auto;
    left: 12px;
    width: auto;
    max-height: calc(100vh - var(--okro-mobile-header-height, 133px) - 20px);
    max-height: calc(100dvh - var(--okro-mobile-header-height, 133px) - 20px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  html.okro-mobile-actions #zapis,
  html.okro-mobile-actions body [id] {
    scroll-margin-top: calc(var(--okro-mobile-header-height, 133px) + 16px);
  }
}
