/* Site-wide responsive polish for the primary navigation and floating actions. */

@media (min-width: 1280px) and (max-width: 1599px) {
    .main-header .header-top {
        min-height: 40px;
        margin-left: 220px;
        padding: 0 24px;
    }

    .main-header .header-top .list-style-one {
        flex-wrap: nowrap;
        gap: 20px;
    }

    .main-header .header-top .list-style-one li {
        flex: 0 0 auto;
        gap: 7px;
        font-size: 12px;
        white-space: nowrap;
    }

    .main-header .header-top .list-style-one li i {
        width: 16px;
        font-size: 13px;
    }

    .main-header .header-lower {
        padding-right: 20px;
    }

    .main-header .header-lower .logo-box {
        min-width: 220px;
        min-height: 100px;
        margin-right: 16px;
        padding: 16px;
    }

    .main-header .main-box .nav-outer {
        min-width: 0;
        gap: 14px;
    }

    .main-header .main-menu {
        flex: 1 1 auto;
        min-width: 0;
    }

    .main-header .main-menu .navigation {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .main-header .main-menu .navigation > li {
        float: none;
        flex: 0 0 auto;
        margin-right: 18px;
        padding: 19px 0;
    }

    .main-header .main-menu .navigation > li > a {
        font-size: 13px;
        line-height: 26px;
        white-space: nowrap;
    }

    .main-header .outer-box {
        flex: 0 0 auto;
        padding-right: 0;
    }

    .main-header .outer-box .track-shipments-btn {
        right: 0;
        margin-left: 0 !important;
        padding: 8px 11px !important;
    }
}

/* At narrow laptop/tablet widths, switch cleanly to the mobile navigation
   instead of squeezing or wrapping the full eight-link desktop menu. */
@media (min-width: 1200px) and (max-width: 1279px) {
    .main-header .header-top,
    .main-header .main-menu {
        display: none;
    }

    .main-header .header-lower {
        padding-right: 15px;
    }

    .main-header .header-lower .logo-box {
        min-width: auto;
        min-height: auto;
        margin: 0;
        padding: 10px;
    }

    .main-header .header-lower .logo-box .logo img,
    .main-header .logo img {
        width: auto;
        height: auto;
        max-height: 40px;
    }

    .main-header .main-box {
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .main-header .main-box .nav-outer {
        width: auto;
    }

    .main-header .outer-box {
        padding-right: 8px;
    }

    .main-header .outer-box .track-shipments-btn {
        right: 0;
    }

    .main-header .mobile-nav-toggler {
        display: block;
        margin-left: 20px;
        margin-right: 4px;
    }
}

/* Preserve the CTA's previous visual scale after correcting its heading level. */
.page-home .call-to-action .home-action-title {
    position: relative;
    margin: 0;
    font-size: 60px;
    line-height: 1.2;
    color: #fff;
    font-weight: 700;
}

/* Keep the support shortcut clear of section headings on compact screens. */
@media (max-width: 767px) {
    .whatsapp-float {
        right: 10px;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
        width: 42px;
        height: 42px;
        opacity: 0.94;
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
    }

    .whatsapp-float img {
        width: 42px;
        height: 42px;
    }

    .page-home .call-to-action .home-action-title {
        font-size: 38px;
    }
}

@media (max-width: 599px) {
    .page-home .call-to-action .home-action-title {
        font-size: 32px;
    }
}
