/* Nút nổi (bản đồ, Facebook, đặt lịch, lên đầu trang): không che nội dung.
 * Ghi đè các vị trí trong assets/caches/*.css. */

/* Máy tính: gom về góc phải-dưới thay vì giữa màn hình */
.btn-ggmap {bottom: 135px;}
.btn-fanpage {bottom: 75px;}
.scrollToTop {bottom: 20px;}

/* Điện thoại / máy tính bảng: thanh hành động cố định ở đáy màn hình */
@media (max-width: 1001px) {
    body {padding-bottom: 68px;}

    .footer--bottom::before {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 60px;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
        z-index: 98;
    }

    .booking {left: 12px; right: 118px; bottom: 8px;}
    .booking .home__btn {width: 100%; height: 44px; justify-content: center;}

    .btn-frame {--btn-frame-circle-ratio: 44px; --kenit-circle: 0px; --kenit-circle-fill: 0px; z-index: 99;}
    .btn-ggmap {bottom: 8px; right: 62px;}
    .btn-fanpage {bottom: 8px; right: 12px;}
    .btn-frame .kenit-alo-circle, .btn-frame .kenit-alo-circle-fill {display: none;}

    .scrollToTop {bottom: 72px; right: 12px;}
}

/* Trang văn bản do CMS tạo (vd. Khám thai kỳ) */
.text-page {text-align: center;}
.text-page__body {max-width: 720px; margin: 0 auto 20px; text-align: left;}
.text-page .schedule-cta {display: flex; justify-content: center; margin: 10px 0 30px;}

/* Cuộn tới thẻ chuyên khoa không bị header che */
.service__item[id] {scroll-margin-top: 140px;}
