/* Mobile off-canvas sidebar menu: the cloned .navbar_nav list must stay stacked
   vertically here (the desktop ".navbar_nav { display:flex }" rule elsewhere
   would otherwise flatten it into a horizontal row). */
.crt_mobile_menu .navbar_nav {
    display: block;
}

/* Language switcher flag images: fixed height, width auto-scales to each
   flag's own aspect ratio (Canada is 2:1, Quebec is ~3:2) so neither gets
   stretched or cropped. */
.lang-flag-img {
    display: block;
    width: auto;
    height: 20px;
    max-width: none;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* The language switcher is cloned from the (white-on-orange) desktop nav into
   this white sidebar, where the hardcoded white label text was invisible.
   Also enlarge the flag since there's a full row of space here. */
.crt_mobile_menu #lang-switcher span {
    color: #333 !important;
}

.crt_mobile_menu #lang-switcher .lang-flag-img {
    height: 30px;
}

/* Header mobile bar styles */
.header.style_three .mobile_topbar {
    display: none;
    background: var(--primary-color-one);
    color: #fff;
}

.header.style_three .mobile_topbar .mobile_topbar_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 44px;
}

.header.style_three .mobile_topbar .mobile_topbar_text {
    flex: 1;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header.style_three .mobile_topbar .mobile_topbar_text .mobile_topbar_sep {
    opacity: 0.9;
    margin: 0 6px;
}

.header.style_three .mobile_topbar .navbar_togglers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.header.style_three .mobile_topbar .hamburger_menu:before {
    display: none;
}

.header.style_three .mobile_topbar .hamburger_menu .line {
    margin: 3px 0;
}

.header.style_three .mobile_topbar .mobile_topbar_phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    height: 44px;
    padding: 0 6px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.header.style_three .mobile_topbar .mobile_topbar_phone_number {
    font-size: 11px;
    font-weight: 600;
}

.header.style_three .mobile_topbar .mobile_topbar_phone i {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 400px) {
    .header.style_three .mobile_topbar .mobile_topbar_days {
        display: none;
    }
}

@media (max-width: 768px) {
    .header.style_three .mobile_topbar {
        display: block;
    }

    .header.style_three .header_mid {
        border-top: 0;
        padding: 18px 0;
    }

    .header.style_three .navbar_outer {
        display: none;
    }

    .header.style_three .header_mid .header_mid_info {
        display: none;
    }

    .header.style_three .header_mid .mid_logo_icon {
        text-align: center;
        margin-bottom: 0;
    }

    /* Sticky header on mobile: navbar_outer (desktop nav) is hidden here,
       so pin header_area (mobile topbar + logo row) instead once .fixed-header
       is toggled on <body> by the existing scroll listener. */
    .fixed-header .header_area {
        position: fixed;
        top: 0;
        left: 0;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }
}
