/* Homepage-only mobile header and floating action repair. */
@media (min-width: 1200px) and (max-width: 1499px) {
    .nav_bar .col-xl-9 { flex: 0 0 84% !important; max-width: 84% !important; }
    .mainmenu > ul > li { margin-right: 18px !important; }
    .mainmenu > ul > li.teklif-al-menu-item { margin-left: 0 !important; }
}

@media (max-width: 767px) {
    .topbar {
        min-height: 76px !important;
        background: #00bcd4 !important;
        overflow: hidden !important;
    }

    .topbar::before { display: none !important; }

    .topbar .header-container,
    .topbar .row {
        min-height: 76px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .topbar .col-xl-4 {
        float: none !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    .topbar .col-xl-8 { display: none !important; }

    .topbar .logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: none !important;
        height: 76px !important;
        padding: 7px 0 !important;
        text-align: center !important;
    }

    .topbar .logo a { display: inline-flex !important; align-items: center !important; }
    .topbar .logo img { width: auto !important; height: 60px !important; max-width: 220px !important; }

    .nav_bar { min-height: 64px !important; }
    .nav_bar .header-container,
    .nav_bar .row { min-height: 64px !important; }
    .nav_bar .mobileMenuBar { float: left !important; width: 52% !important; margin: 7px 0 !important; }
    .nav_bar .mobileMenuBar a { height: 50px !important; line-height: 50px !important; padding: 0 18px !important; }
    .nav_bar .right_bgs { width: 48% !important; min-height: 64px !important; }
    .nav_bar .right_bgs::before { display: none !important; }
    .nav_bar .right_bgs .top_social { gap: 14px !important; }

    .rbm-static-hero { min-height: 520px !important; }
    .rbm-static-hero__content { padding: 64px 0 58px !important; }
    .rbm-static-hero h1 { font-size: clamp(34px, 10.5vw, 42px) !important; line-height: 1.08 !important; }
    .rbm-static-hero p { font-size: 16px !important; line-height: 1.55 !important; }
    .rbm-static-hero__actions { width: 100% !important; gap: 10px !important; }
    .rbm-static-hero__actions a { flex: 1 1 150px !important; min-width: 0 !important; padding: 0 14px !important; }

    .smart-widget-container .smart-btn-phone,
    .smart-widget-container .smart-btn-mail { display: none !important; }
    .smart-widget-container .smart-widget-icons { gap: 8px !important; }
}

@media (max-width: 370px) {
    .nav_bar .right_bgs .top_social { gap: 11px !important; }
    .rbm-static-hero__actions { flex-direction: column !important; }
    .rbm-static-hero__actions a { flex-basis: auto !important; width: 100% !important; }
}
