@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* CSS */
:root{
    --clr-accent: #a91736;
    --clr-white: #fff;
}
.eng_branch_locator{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 100vh;
    font-family: "Poppins", sans-serif;
}

input, button, select, textarea, a{
   font-family: "Poppins", sans-serif;
}

.eng_map_sidebar{
    width: 70px;
    height:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-block: 10px;
    padding-inline: 10px;
    z-index: 999;
    position: relative;
    background-color: #a81736;
}

.list-container{
    z-index: 998;
    background-color: #fff;
    height: 100%;
    display: flex;
     flex-direction: column;
     touch-action: none;
     position: fixed;
    transform: translateY(90%);
    left: 10px;
    width: calc(100vw - 20px);
    border-radius: 24px 24px 0 0;
}

.list-container.active{
     display: flex;
     flex-direction: column;
}

.list-dragbar{
    padding: 20px;
}
.list-dragbar .bar{
    background-color: #eee;
    border-radius: 99px;
    width: 100%;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.list-dragbar .bar svg{
    width: 18px;
    height: 18px;
}
@media (min-width: 55em) {
    .list-container{
        position: relative;
        left: auto;
        transform: translateY(0);
        max-width: 100%;
        width: 100%;
        z-index: 998;
        background-color: #fff;
        display: flex;
        flex-direction: column;
		flex: 1;
        overflow-y: auto;
        height: auto;
        border-radius: 0;
    }
    .list-dragbar{
        display: none;
    }
}


.close-search{
    display: none;
    place-items: center;
    padding: 0 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding-left: 0;
}
.close-search.active{
    display: grid;
}


.saved-search-item span{
    font-size: 0.925rem;
}





.eng_logo_container{
    width: 60px;
}

.eng_logo_container a{
    display: block;
    line-height: 0;
}
.map-logo{
    width: 100%;
    height: auto;
}



.map-container{
    flex: 1;
    display: flex;
    height: 100%;
    overflow: hidden;
}

@media (min-width: 55em) {
    .map-container{
        height: calc(100% - 40px);
        border-radius: 24px;
        margin: 20px 20px 20px 0;
    }
}

.side-bar-header h2 {
    color: var(--clr-primary);
}



#locations-list{
   
}


#locations-list li{
    padding: 20px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #dcdee2;
}
#locations-list li:hover{
    background-color: #f7f8f8;
}
#locations-list li:hover .single-store{
    color: #000;
}
#locations-list li:hover .single-store h3{
    color: #202124;
}
#locations-list li:hover .single-store .distance-away{
    color: #000;
}
#locations-list li.active{
    background-color: #f7f8f8;
}
.single-store{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-weight: 400;
}

.single-store .single_store_left{
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.single-store h3 {
    font-size: 0.925rem;
    font-weight: 600;
    cursor: pointer;
    color: #202124;
}
.single-store span{
    font-size: 0.825rem;
    opacity: 0.7;
}
.direction_icon{
    border: 1px solid #a91736;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: #fff;
}

.direction_icon::before{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image:  url(../images/direction-icon-new.svg);;
}

.contact_icon{
    border: 1px solid #a91736;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: #fff;
}

.contact_icon::before{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image:  url(../images/phone-icon-new.svg);
}

.single_store_right_icon{
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}
.single_store_right_icon p{
    font-size: 0.825rem;
    letter-spacing: -0.05em;
    font-weight: 500;
}
.single_store_right{
    display: flex;
    align-items: center;
    gap: 10px;
}
.map-popup-info-container{
    font-family: "Poppins", sans-serif;
}
.map-popup-info-container a{
    color: #000;
}
.map-popup-contacts-view{
  
}
.map-popup-contacts-view-header{
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 5px;
    align-items: center;
}
.mapboxgl-popup-content .map-popup-contacts-view-header h3{
    color: #000;
}

.back-to-map-info{
    background-color: transparent!important;
    border: none!important;
    padding: 0!important;
    display: grid!important;
    place-items: center!important;
    width: 20px!important;
    height: 20px!important;
    cursor: pointer!important;
}
.back-to-map-info svg{
    width: 18px;
    height: 18px;
    line-height: 0;
}

.contact-info-section{
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
}
.contact-info-sales{
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.contact-info-row{
    display: flex;
    align-items: center;
}
.contact-info-row span{
    min-width: 150px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.contact-info-section .sales-contact{
    display: flex;
    align-items: center;
}
.contact-info-section .sales-contact span{
    min-width: 150px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}
.mapboxgl-popup-content .contact-info-section h3{
    font-size: 0.825rem;
    color: #000;
    margin-bottom: 5px;
}

.mapboxgl-popup-content .map-popup-contacts-view-footer{
    padding: 0 20px 20px 20px;
}
.mapboxgl-popup-content .map-popup-contacts-view-get-directions-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #000;
    border-radius: 99px;
    padding: 5px 20px;
    color: #fff;
}
.map-popup-info .contact-info,
.map-popup-info .map-popup-info-directions{
       cursor: pointer;
    padding: 3px 10px;
    transition: all ease-in-out 250ms;
    outline: none;
    border: none;
    background-color: #000000;
    color: #ffffff;
    border-radius: 99px;
    font-size: 12px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
	line-height: normal;
}
.mapboxgl-popup-content .mapboxgl-popup-close-button:hover{
    background-color: transparent;
    color: var(--clr-primary);
}
.store-info-get-directions-btn{
    border: 1px solid var(--clr-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--clr-primary);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 99px;
    line-height: 1;
    transition: all ease-in-out 250ms;
}
.store-info-get-directions-btn:hover{
    color: #fff;
    background-color: var(--clr-primary);
}

#store-locator-map .mapboxgl-popup-close-button {
    border: none;
    border-radius: 50%;
    color: #000;
    background-color: #fff;
    z-index: 2;
}
#store-locator-map .mapboxgl-popup-close-button {
    width: 30px;
    height: 30px;
    padding: 0;
    top: 10px;
    right: 10px;
    line-height: 1.3;
    font-size: 1.5rem;
    display: grid;
    place-items: center;
}
#store-locator-map .mapboxgl-popup-content {
    width: 300px;
    min-width: 300px;
    padding: 0;
    box-shadow: 0 5px 10px #b7c0ce;
    border-radius: 12px;
    overflow: hidden;
}

.mapboxgl-popup-content a{
    color: var(--clr-primary);
    font-weight: bold;
}

.map-popup-info .more-store-info{
    cursor: pointer;
    border: 1px solid;
    padding: 3px 10px;
    transition: all ease-in-out 250ms;
}



.mapbox-container{

}
#store-locator-map{
    flex: 1;
}
.user-marker {
    width: 70px;
    height: 70px;
    position: absolute;
    cursor: pointer;
    z-index: 997;
}

.user-marker:before {
    content: "";
    position: relative;
    display: block;
    background-image: url(https://dev.eng.co.za/engmedia/wp-content/uploads/2024/05/user-marker.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 70px;
    height: 70px;
    box-sizing: border-box;
}

.mapboxgl-popup{
    z-index: 998;
}

@-webkit-keyframes pulse-ring {
    0% {
    transform: scale(0.33);
    }
    80%, 100% {
    opacity: 0;
    }
}

@keyframes pulse-ring {
    0% {
    transform: scale(0.33);
    }
    80%, 100% {
    opacity: 0;
    }
}
@-webkit-keyframes pulse-dot {
    0% {
    transform: scale(0.8);
    }
    50% {
    transform: scale(1);
    }
    100% {
    transform: scale(0.8);
    }
}
@keyframes pulse-dot {
    0% {
    transform: scale(0.8);
    }
    50% {
    transform: scale(1);
    }
    100% {
    transform: scale(0.8);
    }
}


.mapboxgl-marker{
    opacity: 0;
}

.side-bar-header{
    padding: 20px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.side-bar-header h2{
    font-size: 1.2rem;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 0;
    padding: 0;
}
#locations-list{
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow: auto;
    background-color: #fff;
}
.store-info-icon{
    width: 50px;
    height: auto;
}

.single-store .distance-away{
    font-size: 0.75rem;
    background-color: #f5f5f5;
    padding: 4px 7px;
    border-radius: 2px;
    letter-spacing: -0.05em;
    font-weight: 500;
    display: none;
    width: fit-content;
    margin-top: 10px;
}
.custom-marker {
    background-size: cover;
    cursor: pointer;
}

.store-info{
    position: relative;
    width: 100%;
    max-width: 390px;
    border-radius: 12px;
    background-color: #fff;
    z-index: 59;
    overflow: auto;
    display: none;
    flex-direction: column;
    transition: all ease-in-out 250ms;
}



/* width */
.store-info::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.store-info::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.store-info::-webkit-scrollbar-thumb {
    background: var(--clr-primary);
}

.store-info.active{
    display: flex;
    box-shadow: 0 8px 16px 0 #0000001a;
}
.store-info-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 58;
    transition: all ease-in-out 250ms;
    visibility: hidden;
    opacity: 0;
}
.store-info-overlay.active{
    visibility: visible;
    opacity: 1;
}

.store-info-header{
    padding: 20px;
    border-bottom: 1px solid #ccc;
}
.store-info-actions{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.call-back-btn{
    color: #000;
    font-weight: 500;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.call-back-btn{
    font-size: 12px;
}

.call-back-btn svg{
    width: 15px;
    height: 15px;
    line-height: 0;
}
.store-info-get-directions-btn svg{
    width: 15px;
    height: 15px;
    line-height: 0;
}
.store-info-header span{
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
}
.store-info-header h3{
	color: #000;
}
.poweredby-eng{
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: #000;
    margin-top: auto;
    padding: 10px;
}
.poweredby-eng:hover{
    color: #000;
}
.poweredby-eng span{
    font-weight: bold;
}
.sales-contact-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sales-contact-info a{
    color: #ab1737;
}
.sales-contact-info-header{
    font-weight: 500;
    letter-spacing: -0.05em;
}
.sales-contact-info span{
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
}
.contact-numbers a{
    display: block;
}
.contact-numbers a:hover{
    color: #ab1737;
}
.contact-info-block-header{
    font-weight: 500;
    padding-bottom: 10px;
    letter-spacing: -0.05em;
}
.contact-info-block span{
    display: block;
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.9;
}
.contact-info-block a{
    color: #ab1737;
}
.filter-category{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: none;
}
.filter-category.active{
    display: block;
}
.filter-actions{
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-actions .open-filters{
    line-height: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f5f5f5;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all ease-in-out 250ms;
}
.open-filters svg{
    width: 20px;
    height: 20px;
    line-height: 0;
    stroke: #a91736;
    transition: all ease-in-out 250ms;
}


.close-filter{
    width: 30px;
    height: 30px;
    cursor: pointer;
}
.close-filter svg{
    width: 100%;
    height: auto;
}
.close-store-info{
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10009;
}

.close-store-info::before{
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    background-image:  url(../images/close-icon.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.store-info-wrap{
    background-color: #f5f5f5;
}
.store-info-body{
    display: grid;
    display: -ms-grid;
    grid-auto-flow: dense;
    grid-row-gap: 10px;
    grid-column-gap: 10px;
    grid-template-columns: repeat(2, 1fr);
} 
.store-contact-info{
    padding: 20px;
    border-bottom: 1px solid #ccc;
}
.store-info-team{
    padding: 20px;
    border-bottom: 1px solid #ccc;
}
.store-contact-info h3,
.store-info-team h3{
    font-size: 1.3rem;
}
.store-info-team p{
    font-size: 0.95rem;
    font-weight: 400;
    padding-block: 10px;
}
.team-members-image{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.map-sidebar-header{
    background-color: #fff;
    box-shadow: 0 0 12px rgba(0,0,0,.1);
    position: relative;
    z-index: 2;
}

.map-popup-info .map-popup-header{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 15px;
    position: relative;
}

.map-popup-info .map-popup-header-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
}

.map-popup-header-content{
    position: relative;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mapboxgl-popup-content h3{
    font-size: 1rem;
    line-height: 1.2;
    max-width: 200px;
    font-weight: 600;
    color: #fff;
}

.map-popup-info .map-popup-body{
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.map-popup-info .map-popup-info-actions{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}
.map-popup-info .map-popup-info-actions a{
    border: none;
    outline: none;
}
.map-popup-info .map-popup-info-actions a:focus{
    border: none;
    outline: none;
}

.eng-icon-btn .elementor-button span{
    align-items: center;
}
.eng-icon-btn .elementor-button-text{
    padding-inline: 20px;
}
.eng-icon-btn .elementor-align-icon-right{
    background-color: #0a69aa;
    padding: 20px;
    line-height: 0;
}
.eng-icon-btn:hover .elementor-button{
    background-color: #0a69aa!important;
}

.eng-block-hover:hover{
    background-color: #0a69aa!important;
    
}

.eng-block-hover:hover h3,
.eng-block-hover:hover p{
    color: #fff!important;
}

.mobile_radius_btn{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.mobile_radius_btn svg{
    width: 30px;
    height: 30px;
    line-height: 0;
}
.mobile_radius_btn span{
    color: #fff;
    font-weight: 500;
    flex: 1;
}
.mobile-sidebar-toggle{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-left: 10px;
    cursor: pointer;
} 

@media (min-width: 55em) {
    .map-logo{
        display: block;
    }
    .mobile_radius_btn,
    .mobile-sidebar-toggle{
        display: none;
    }
}
.sidebar-wrap{
    height: 100vh;
    z-index: 1004;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: fixed;
    pointer-events: none;
}

.open-sidebar{
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1003;
    background-color: white;
    color: black;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.open-sidebar svg{
    width: 18px;
    height: 18px;
}
.close-sidebar svg{
     width: 18px;
    height: 18px;
}

@media (min-width: 55em) {
    .sidebar-wrap{
        width: 400px;
        position: relative;
        pointer-events: all;
    }
    .close-sidebar,
    .open-sidebar{
        display: none;
    }
}

.sidebar-wrap > #sidebar{
    pointer-events: none;
}

.sidebar-wrap > #sidebar > .store-info{
    pointer-events: auto;
}

.sidebar-wrap > #list-container {
  pointer-events: auto;
}

#sidebar{
    display: flex;
    flex-direction: column;
    padding-top: 200px;
    margin-left: 20px;
    position: fixed;
    left: 0;
    top: 0;
}

@media (min-width: 55em) {
    #sidebar{
        padding-top: 100px;
        position: relative;
    }
}

/* Location */
.location_select_button{
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 5px 0 0 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.825rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: fit-content;
    border-right: 1px solid #ddd;
}
.location_select_button_left_side{
    display: flex;
    align-items: center;
    gap: 10px;
}
.location_select_button .icon{
    line-height: 0;
}
.location_select_button svg{
    width: 15px;
    height: 15px;
    line-height: 0;
}

/* width */
.location-filter::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.location-filter::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.location-filter::-webkit-scrollbar-thumb {
    background: var(--clr-primary);
}

.location-filter.active{
    display: block;
}

.location-filter{
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px #b7c0ce33;
    border-radius: 0 0 5px 5px;
    z-index: 1050;
    height: calc(100vh - 65px);
    overflow: auto;
}

@media (min-width: 55em) {
    .location-filter{
        display: none;
        position: absolute;
        top: 36px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px #b7c0ce33;
        border-radius: 0 0 5px 5px;
        z-index: 1050;
        height: 250px;
        overflow: auto;
    }
    .location_select_button{
        width: 260px;
    }
}
/* Location End */

.category_select_button{
    background-color: #750b22;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.825rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: fit-content;
    color: #fff;
}
.category_select_button::before{
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(https://www.afrimat.co.za/wp-content/uploads/2024/05/filter.svg);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}
.category_select_button.active::before{
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(https://www.afrimat.co.za/wp-content/uploads/2024/05/filer-close-new.svg);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}
.category_select_button_left_side{
    display: flex;
    align-items: center;
    gap: 10px;
}
.category_select_button .icon{
    line-height: 0;
}
.category_select_button svg{
    width: 20px;
    height: 20px;
    line-height: 0;
}
.category-filter{
    display: none;
    position: fixed;
    top: 65px;
    right: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 5px 10px #b7c0ce33;
    border-radius: 0 0 5px 5px;
    z-index: 1050;
    height: calc(100vh - 65px);
    overflow: auto;
}

@media (min-width: 55em) {
    .category-filter{
        display: none;
        position: fixed;
        top: 65px;
        width: 300px;
        box-shadow: 0 5px 10px #b7c0ce33;
        border-radius: 0 0 5px 5px;
        z-index: 1050;
        height: 100%;
        overflow: auto;
    }
}

/* width */
.category-filter::-webkit-scrollbar {
    width: 5px;
}

/* Track */
.category-filter::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.category-filter::-webkit-scrollbar-thumb {
    background: var(--clr-primary);
}

.category-filter.active{
    display: block;
}
.filter-title{
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    color: #000;
    letter-spacing: -0.05em;
}
.filter-title::after{
    content: '';
    width: 20px;
    height: 20px;
    background-image: url(https://www.afrimat.co.za/wp-content/uploads/2024/05/plus-circle-svgrepo-com-1.svg);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}
.filter-title.active::after{
    background-image: url(https://www.afrimat.co.za/wp-content/uploads/2024/05/minus-circle-svgrepo-com.svg);
}

#province-list{
    padding-bottom: 20px;
}
#product-list li label,
#province-list li label,
#location-checkboxes li label,
#tag-checkboxes li label,
#category-list li label{
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 8px;
    font-weight: 500;
    cursor: pointer;
	font-size: 0.85rem;
    color: #000;
}


.nested-ul{
    list-style: none;
    margin:0;
    padding: 0;
}
.child-category-span{
    display: flex;
    background-color: #f5f5f5;
    padding: 10px 20px;
    font-weight: 600;
    color: #000;
    font-size: 0.825rem;
}
.all-categories-span,
.category-filter .parent-category-span{
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-weight: 400;
}
.all-categories-span:hover,
.category-filter .parent-category-span:hover{
    text-shadow: 0 0 1px #000;
}

.all-categories-span.active::before,
.parent-category-span.active::before{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}


.branch_locator_map{
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
}
.eng_map_mobile_search{
    display: flex;
    flex-direction: column;
    position: absolute;
    gap: 5px;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 99;
}
.eng_on_map_actions{
    display: flex;
    flex-direction: column;
    position: absolute;
    gap: 5px;
    bottom: 100px;
    right: 20px;
    z-index: 99;
}
.mapboxgl-ctrl-bottom-left{
    display: none;
}
.mapboxgl-ctrl-bottom-right{
    display: none;
}


@media (min-width: 55em) {
    .eng_map_mobile_search{
        display: none;
    }
    .eng_on_map_actions{
        bottom: 20px;
    }
}

#zoom-buttons{
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    border-radius: 10px;
    background-color: #fff;
    padding: 5px;
}
#zoom-buttons #zoom-in{
    border-bottom: 1px solid #ccc;
}
#zoom-out,
#zoom-in{
    border: none;
    background-color: transparent;
    padding: 8px 5px;
    width: fit-content;
    border-radius: 0;
}

#zoom-out::before,
#zoom-in::before{
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: contain;
}
#zoom-out::before{
    background-image:  url(../images/minus-icon.svg);
}
#zoom-in::before{
    background-image:  url(../images/plus-icon.svg);
}
.locate-user-button{
    display: grid;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    border-radius: 10px;
    background-color: #fff;
    padding: 7px 5px;
    place-items: center;
    cursor: pointer;
}

.locate-user-button::before{
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image:  url(../images/target-icon.svg);;
}

.location_tags{
    display: flex;
    align-items: center;
    gap: 5px;
    padding-block: 10px;
}

.location_tag{
    border-radius: 99px;
    font-size: 0.725rem;
    padding: 2px 10px;
    font-weight: 500;
}

.location_tag.quarries{
    background-color: #94b45f;
    color: #fff;
}
.location_tag.construction-materials{
    background-color: #f5ffe5;
    color: #94b45f;
    border: 1px solid #94b45f;
}

.location_tag.industrial-minerals{
    background-color: #fad4c3;
    color: #ea5b18;
    border: 1px solid #ea5b18;
}
.location_tag.future-materials-metals{
    background-color: #b7d1f8;
    color: #154da1;
    border: 1px solid #154da1;
}
.location_tag.bulk-commodities{
    background-color: #d1d9c9;
    color: #5e6556;
    border: 1px solid #5e6556;
}

#province-select{
    width: auto;
    border: none;
    border-radius: 5px;
}

.sb_checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}
.sb_checkbox label{
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
    cursor: pointer;
    font-size: 0.85rem;
	color: #000;
}
.child-checkboxes {
    display: none;
}

.sb_side_filter .sb_category_select input[type="checkbox"] {
    display: none;
}
.custom-checkbox input[type="checkbox"], .child-checkbox input[type="checkbox"] {
    cursor: pointer;
}
.sb_side_filter input, .sb_side_filter select {
    width: 100%;
    padding: 15px;
    background-color: #f0f2f5;
    border: none;
    border-radius: 5px;
}
.sb_category_select .more-button {
    color: var(--clr-accent);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: -0.05em;
}
.sb_checkbox .grand-more-button,
.sb_checkbox .more-button{
    line-height: 0;
    display: block;
}
.sb_checkbox .grand-more-button svg,
.sb_checkbox .more-button svg{
    width: 20px;
    height: 20px;
}
.child-checkboxes.show {
    display: block;
    background-color: #eee;
    padding: 10px;
    border-radius: 5px;
}
.grand-checkboxes{
    display: none;
}
.grand-checkboxes.show {
    display: block;
    background-color: #ddd;
    padding: 10px;
    border-radius: 5px;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark:after,
.child-checkbox input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--clr-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Style when the checkbox is checked */
.custom-checkbox input[type="checkbox"]:checked + .checkmark,
.child-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: var(--clr-accent);
    border-color: var(--clr-accent);
}

/* Hover effect */
.sb_checkbox:hover input[type="checkbox"] + .checkmark,
.sb_checkbox:hover input[type="checkbox"] + .checkmark {
    border: 1px solid var(--clr-accent);
}

.map_range_slider{
    z-index: 999;
    position: absolute;
    top: 65px;
    left: 0;
    display: none;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    width: 100%;
    color: #000;
    padding: 20px;
}
.map_range_slider.active{
    display: flex;
}
.map_range_slider .slider{
    width: 250px;
}
.map_range_slider p{
    color: #000;
    font-weight: 500;
    flex: 1;
    display: flex;
    gap: 5px;
    font-size: 0.825rem;
    margin: 0;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    -webkit-transition: .2s;
    transition: opacity .2s;
}
.eng_header_map_left{
	display:flex;
	align-items: center;
	flex-direction: row-reverse;
	gap:20px;
}

@media (min-width: 55em) {
    .map_range_slider{
        display: flex;
        position: relative;
        top: auto;
        left: auto;
        background-color: transparent;
        padding: 0;
        width: fit-content;
    }
    .map_range_slider p{
        color: #fff;
    }
	.eng_header_map_left{
		display:flex;
		flex-direction: row;
		align-items: center;
		gap:20px;
	}
}

.map-popup-info .map-popup-info-directions:hover{
	color: #fff;
}

/* Filters */
.eng_map_filters_wrap{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 999;
    width: fit-content;
    left: 20px;
    top: 100px;
}

.eng_location_filters_wrap{
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 20px 20px 0 20px;
    z-index: 999;
    pointer-events: all;
}
.eng_location_filters{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

@media (min-width: 55em) {
   .eng_location_filters{
        flex-direction: row;
         align-items: center;
    }
    .eng_map_filters_wrap{
        position: absolute;
        display: flex;
        align-items: center;
        flex-direction: row;
        width: 100%;
        left: 20px;
        top: 0;
    }
}

.search-container{
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    position: relative;
    background-color: #fff;
    border-radius: 99px;
    width: 100%;
}

.search-container.active{
    border-radius: 25px 25px 0 0;
}

.search-container .search-input{
    display: flex;
    width: 100%;
    align-items: center;
}
.eng_branch_locator .search-container input[type="text"]#location-search{
    border: none;
    font-size: 0.825rem !important;
    font-weight: 600;
    padding: 15px 20px!important;
    border-radius: 5px;
    height: auto;
    background-color: transparent;
    line-height: 1.56;
    flex: 1;
}

.suggestions-box-wrap{
    display: none;
    background: white;
    border-top: 1px solid #ccc;
    z-index: 999;
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    top: 50px;
    position: absolute;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}
.suggestions-box-wrap.active{
    display: flex;
    flex-direction: column;
}
.suggestions-box {
    display: none;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    padding-bottom: 10px;
}

.suggestions-box.active{
    display: flex;
    flex-direction: column;
}
.suggestions-box li {
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    color: #111;
}

.suggestions-box .result-item {
    display: flex;
    gap: 5px;
}
.suggestions-box .result-icon{
    display: flex;
    align-items: center;
    gap: 5px;
    width: 30px;
}
.suggestions-box .result-info{
    flex: 1;
    display: flex;
    flex-direction: column;
}

.suggestions-box .match-info {
    font-size: 0.825rem;
    color: #5e5e5e;
}

.suggestions-box li:hover {
    background-color: #f0f0f0;
}

.saved-searches{
    padding: 20px 10px;
}


.saved-searches .muted{
    font-size: 0.825rem;
    color: #5e5e5e;
}

.search-container input{
    border: none;
    outline: none;
}
.search-container #search-button{
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    width: 25px;
    margin-right: 10px;
    cursor: pointer;
}
.search-container #search-button svg{
    width: 20px;
    height: 20px;
}


.filter-buttons {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width: 55em) {
    .filter-buttons {
        flex-direction: row;
        padding: 20px 0 0 0;
    }
}

.filter-dropdown {
    position: relative;
}

.filter-btn {
    background-color: white!important;
    color: black!important;
    padding: 8px 14px!important;
    border: none!important;
    cursor: pointer!important;
    border-radius: 99px!important;
    display: flex!important;
    align-items: center!important;
    gap: 3px!important;
	line-height: normal!important;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15)!important;
}
a.filter-btn {
    background-color: #a81737;
    color: white;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15)!important;
}

#clear-filters{
    background-color: white;
    color: black;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 3px;
	line-height: normal;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

#clear-filters svg{
        width: 14px;
    height: 14px;
}

.filter-btn svg{
    width: 14px;
    height: 14px;
}
.filter-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    z-index: 100;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow: auto;
    border-radius: 8px;
}

.filter-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-options .custom-checkbox {
    margin-bottom: 5px;
}

.suggestions-box li.skeleton {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    opacity: 0.6;
}

.skeleton-icon {
    width: 24px;
    height: 24px;
    background: #ddd;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 1.2s infinite;
}

.skeleton-text {
    flex: 1;
    height: 14px;
    background: #ddd;
    border-radius: 4px;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.no-branches-message {
    font-weight: 600;
    font-size: 0.925rem;
    padding: 20px;
    background: #f7f7f7;
    margin-bottom: 10px;
    margin: 10px;
    border-radius: 8px;
}

.close-branch-locator{
    display: none;
    position: absolute;
    right: 40px;
    top: 10px;
}

@media (min-width: 55em) {
    .close-branch-locator{
        display: block;
        padding-top: 10px;
    }
    .filter-options {
        left: 0;
    }
}


.close-branch-locator a{
    display: grid;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
    border-radius: 10px;
    background-color: #fff;
    padding: 7px 5px;
    place-items: center;
    cursor: pointer;
    color: #000;
}