.floating-contacts {
    position: fixed;
    z-index: 900;
    top: 50%;
    right: max(12px, env(safe-area-inset-right));
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
}
.floating-contacts__button {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgb(28 36 103 / 18%);
    transition: transform .2s ease, box-shadow .2s ease;
}
.floating-contacts__button:hover { transform: translateX(-3px); box-shadow: 0 6px 18px rgb(28 36 103 / 26%); }
.floating-contacts__button:focus-visible { outline: 3px solid #4354e8; outline-offset: 3px; }
.floating-contacts__button:active { transform: scale(.96); }
.floating-contacts__icon { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 64rem) {
    .floating-contacts { right: max(24px, env(safe-area-inset-right)); }
}
@media (prefers-reduced-motion: reduce) {
    .floating-contacts__button { transition: none; }
}

.payment-widget {
    box-sizing: border-box;
    width: min(720px, calc(100% - 32px));
    height: min(880px, calc(100dvh - 32px));
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #fff;
    color: #1c2467;
}
.payment-widget[open] { display: flex; flex-direction: column; }
.payment-widget::backdrop { background: rgb(17 22 55 / 65%); }
.payment-widget__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
}
.payment-widget__title { margin: 0; font: 600 20px/1.4 Manrope, sans-serif; }
.payment-widget__close {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f3ff;
    color: inherit;
    font: 32px/1 sans-serif;
    cursor: pointer;
}
.payment-widget__close:focus-visible { outline: 3px solid #4354e8; outline-offset: 2px; }
.payment-widget__frame { display: block; flex: 1; min-height: 0; width: 100%; border: 0; }
html.terapiya-payment-open { overflow: hidden; }
@media (max-width: 600px) {
    .payment-widget { width: calc(100% - 16px); height: calc(100dvh - 16px); border-radius: 12px; }
    .payment-widget__header { padding: 8px 12px; }
}

.booking-widget-status { height: auto; max-height: calc(100dvh - 32px); }
.booking-widget-status__body { padding: 0 20px 24px; font: 16px/1.5 Manrope, sans-serif; }
.booking-widget-status__body p { margin: 0 0 16px; }
.booking-widget-status__body a { color: inherit; text-decoration: underline; }
.site-widgets-special-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px; }
