.merchant-page .section-banner{
    position: relative;
}
.merchant-page .section-banner .title-text{
    font-weight: normal;
    font-family: 'transatblack';
font-size: 64px;
line-height: 100%;
letter-spacing: 0%;
text-transform: uppercase;
position: absolute;
top: 50%;
left:50%;
transform: translateX(-50%) translateY(-50%);
color: #221F20;
}
.merchant-page .section-banner span.title-text-2{
    font-weight: normal;
    font-family: 'rodentiabold';
font-size: 128px;
line-height: 31px;
letter-spacing: 0%;
margin-left: -50px;
text-transform: none;
color: #F37021;
}
.merchant-page .wrapper-filter-merchant{
    /* width: 95%; */
    height: auto;
    margin: auto;
    /* border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.24); */
}
.merchant-page .wrapper-merchant {
    width: 85%;
    margin: auto;
    margin-top: 50px;
}
/*START SECTION FILTER */
.merchant-page .section-filter{
    position: relative;
}
.merchant-page .desktop{
    /* display: none; */
}
.merchant-page .container-filter{
    display: flex;
    padding: 20px 30px;
    flex-direction: column;
    row-gap: 20px;
    justify-content: space-between;
    color: white;
    margin: auto;
    align-items: center;
    border-radius: 8px;
    background: #FFF;
}
.merchant-page .wrapper-custom-select {
    width: 100%;
}
/* custom select start */
.merchant-page .custom-select {
    position: relative;
    font-family: Arial;
    /* width:150px; */
}



.merchant-page .select-selected {
    background-color: #fff;
}
select:disabled {
    opacity: 0.5;
}

/*style the arrow inside the select element:*/
.merchant-page .select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-25%);
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #6C6C6C transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.merchant-page .select-selected.select-arrow-active:after {
    border-color: transparent transparent #6C6C6C transparent;
    top: 50%;
    transform: translateY(-50%)rotate(90deg);
    right: 5px;
}

/*style the items (options), including the selected item:*/
.merchant-page .select-items div,.merchant-page .select-selected {
    width: 100%;
    color: #7A7979;
    padding: 8px;
    border-bottom: 1px solid #7A7979;
    /* border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent; */
    border-color: #E9E9E9;
    cursor: pointer;
    user-select: none;
    font-family: 'transatstandard';
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0em;
    text-align: left;
    border-radius: 8px;

}

.merchant-page .select-items div,.select-selected.merchant-page .select-arrow-active {
    color: #6C6C6C;
    padding: 8px;
    /* border: 1px solid #101820; */
    /* border: none; */
    border-color: #E9E9E9;
    background-color: #fff;
    cursor: pointer;
    user-select: none;
}
.merchant-page .select-selected:hover {
    color: #6C6C6C;
    padding: 8px;
    /* border: 1px solid #101820; */
    /* border: none; */
    border-color: #E9E9E9;
    background-color: #fff;
    cursor: pointer;
    user-select: none;
}
.merchant-page .select-selected:hover.select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-25%);
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #6C6C6C transparent transparent transparent;
}
.merchant-page .select-selected.select-arrow-active:hover.select-arrow-active:after {
    border-color: transparent transparent #6C6C6C transparent;
    top: 50%;
    transform: translateY(-50%)rotate(90deg);
    right: 5px;
}


/*style items (options):*/
.merchant-page .select-items {
    position: absolute;
    background-color: #fff;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/*hide the items when the select box is closed:*/
.merchant-page .select-hide {
    display: none;
}

img.white-icon{
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(190%) contrast(103%);
}

.merchant-page #dealer-list .empty-wrapper{
    padding-top:50px;
    padding-bottom: 20px;
    padding-left: 32px;
    padding-right: 32px;
    
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 16px;
}
.merchant-page #dealer-list .empty-wrapper .empty-icon{
    width: 32px;
    height: 32px;
}

.merchant-page #dealer-list .empty-wrapper p.text{
    font-family: "transatmedium";
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: start;
    color: #A2A2A2;
}
.merchant-page #dealer-list .empty-wrapper p.text span.bold{
    
    font-family: "transatblack";
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: start;
    color: #A2A2A2;
}
.merchant-page .locate-button {
    font-family: 'transatmedium';
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0%;
    text-align: right;
    display: flex;
    gap: 10px ;
    z-index: 10;
    background: #F37021;
    border: none;
    border-radius: 0px;
    padding:  11px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #FFF;
    width: 100%;
    justify-content: center;
}

.merchant-page .locate-button p{
    margin: 0px;
}

.select-items div:hover, .merchant-page .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}
/* custom select end*/

.merchant-page .btn-set-filter{
    /* color: #FFF;
    text-align: right;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background: #161616; */
    text-decoration: none;
    width: 100%; 
    background-color: transparent;
    padding: 4px 0;
    font-family: 'transatmedium';
    color: #000;
    border: 1px solid #F37021;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: 0px;
    text-align: center;
    cursor: pointer;
}

.merchant-page .search-bar {
    width: 100%;
    align-items: center;
    position: relative;
    display: flex;
   
}
.merchant-page .search-bar svg {
    position: absolute;
    top: 29%;
    right: 30px;
}
.merchant-page .searchTerm {
    width: 100%;
    border-bottom: 1px solid #7A7979;
    /* border-right: none; */
    padding: 8px 30px 8px 8px;
    background: var(--meliuz-typography-white, #FFF);
    font-family: 'transatstandard';
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0em;
    text-align: left;
    
}
.merchant-page .searchTerm::placeholder {
    color: var(--meliuz-typography-dark-grey, #7A7979);
font-feature-settings: 'clig' off, 'liga' off;
/* ① Meliuz - Montserrat/Body/Size 20/Regular */
font-family: 'transatstandard';
font-size: 18px;
font-style: normal;
    line-height: 100%;
}

.merchant-page .searchTerm:focus{
    color: #000000;
}
/*END SECTION FILTER */
.merchant-page #controls {
    background-color: #f8f9fa;
    overflow-y: auto;
    order: 0;
}
.merchant-page .filter-group {
    margin-bottom: 15px;
}
.merchant-page .filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.merchant-page .filter-group select,
.merchant-page .filter-group input[type="text"] {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ced4da;
    box-sizing: border-box;
}
.merchant-page #dealer-list-container {
    overflow-y: auto;
}
.merchant-page section.map{
    position: relative;
    height: 700px;
}
.merchant-page section.map .map-wrapper{
    display: flex;
    position: relative;
    top: 0px;
    right: 0;
    left: 0;
    height: 100%;
}
.merchant-page #dealer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.merchant-page #dealer-list li {
    padding: 24px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}
.merchant-page #dealer-list li.active{
    border-left: 4px solid #F37021;
    background-color: #FFF9F4;
}
.merchant-page .title-text{
    font-family: 'transatblack';
    font-weight: normal;
    font-size: 18px;
    line-height: 100%;
    color: #221F20;
}
.merchant-page .content-text{
    font-family: 'transatmedium';
    font-weight: normal;
    text-decoration: underline;
    font-size: 16px;
    line-height: 24px;
    color: #F37021
}
.merchant-page .content-text-2{
    
    font-family: 'transatmedium';
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #494746
}
.merchant-page .button-download-catalogue{
    padding: 8px 24px;
    background-color: #F37021;
    font-family: 'transatmedium';
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFF
}
.merchant-page .button-marketplace{
    padding: 8px 24px;
    border-radius: 4px;
    border: 1px solid #F37021;
  font-family: 'transatmedium';
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
    background-color: #FFF;
    color: #221F20
}
#dealer-list .merchant-page li:hover {
    background-color: #e9ecef;
}
#dealer-list .merchant-page li.active {
    background-color: #007bff;
    color: white;
}
.merchant-page #map-container {
    flex-grow: 1;
    height: 60vh; /* Adjust if controls take more or less space */
    order: 1;
}
.merchant-page #map {
    height: 100%;
    width: 100%;
}
.merchant-page .info-window-content .title-text {
    font-family: 'transatblack';
font-size: 14px;
line-height: 100%;
letter-spacing: 0%;
margin-bottom: 5px;
color: #221F20;
}
.merchant-page .info-window-content .content-text {
    font-family: 'transatstandard';
font-size: 12px;
line-height: 100%;
letter-spacing: 0%;
text-decoration: underline;
margin-bottom: 15px;
vertical-align: middle;
color: #F37021;
}
.merchant-page .info-window-content .button-direction {
    background-color: #F37021;
    border-radius: 0px;
    padding: 6px 16px;
    font-family: 'transatmedium';
font-size: 10px;
line-height: 15px;
letter-spacing: 0%;
text-align: center;
color: #FFFFFF;
width: 100%;
}
.merchant-page .info-window-content h3 {
    margin-top: 0;
}
.merchant-page .no-results {
    padding: 10px;
    text-align: center;
    color: #777;
}
.merchant-page .mobile{
    display: none;
}

.merchant-page .gm-style-iw-chr{
    display: none!important;
}
  /* Info Window (Dialog) Styling */
  
.merchant-page .gm-style .gm-style-iw-c { /* Target the main container of the info window */
    max-width: 240px !important;
    border-bottom: 2px solid #F37021 !important; /* Set border color */
    border-radius: 0px !important;
    padding: 14px 16px !important; /* Remove default padding to use our own */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    background-color: #FFF9F4 !important; /* Set background for the main IW container */
}

.merchant-page .gm-style .gm-style-iw-d { /* Target the content div */
    overflow: hidden !important; /* Prevent scrollbars if content is slightly larger */
    background-color: #FFF9F4 !important; /* Ensure content area also has the background */
}
/* Hide the default InfoWindow close button */

.merchant-page .gm-style .gm-style-iw-t .gm-ui-hover-effect {
    display: none !important;
}
@media only screen and (max-width: 1199px) {
    .merchant-page #controls {
        border-top: none !important;
        order: 1 !important;
        height: 100%;
        min-height: 100%;
        max-height: 660px;
    }
    
.merchant-page .title-text{
    font-size: 14px !important;
    line-height: 20px !important;
}
.merchant-page .content-text{
    font-size: 14px !important;
    line-height: 16px !important;

}
.merchant-page section.map{
    height: auto !important;
}
.merchant-page section.map .map-wrapper{
    height: auto !important;
}
    .merchant-page #map-container{
        order: 0 !important;
    }
    .merchant-page section.map .map-wrapper{
        flex-direction: column !important;
        top: -0px !important
    }
    .merchant-page .wrapper-filter-merchant{
        top: -30px !important;
    }
    .merchant-page .section-banner .title-text{
        white-space: nowrap;
        font-size: 30px !important;
    }
    .merchant-page .section-banner span.title-text-2{
        font-size: 64px !important;
        line-height: 31px !important;

    }
    .merchant-page .desktop{
        display: none;
    }
    
    .merchant-page .mobile{
        display: block;
    }
    .merchant-page .container-filter{
        height: auto !important;
        padding: 20px !important;
    }
    .merchant-page .icon-filter-black-m {
        display: flex;
        align-items: center;
        color: #161616;
        font-family: 'transatblack';
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        justify-content: space-between;
        line-height: 100%;
        height: auto;
        border: solid 1px #E9E9E9;
        width: 100%;
        padding: 5px 15px 5px 5px;
        border-radius: 10px;
    }
    .merchant-page .icon-filter-black-m img{
        height: 40px;
        margin-right: 20px;
    }
    
.backdrop-product{
    pointer-events:none;

    display: block;
    height: 100vh;
    width: 100vw;
    z-index: 0;
    opacity: 0;
    background-color: #000;
    position: fixed;
    top: 0px;
    left: 0px;
}
    .section-popup-filter.mobile{
        width: 100%;
    position: fixed;
    bottom: 0px;
    background: #FFF;
    border-radius: 16px 16px 0px 0px;
    z-index: 10000;
    height: 0px;
    transition: all 1s;

    }
    /* .wrapper-popup-filter{
    position: fixed;
    bottom: 0px;
    background: #FFF;
    border-radius: 16px 16px 0px 0px;
    z-index: 10000;
    height: 0px;
    transition: all 1s;
    } */
    .wrapper-section-swiper {
        width: 100%;
        padding: 20px;
        text-align: center;
    }
    
    .section-popup-filter.mobile .header-control-wrapper{
        padding: 20px 35.6%;
    }
    
    .section-popup-filter.mobile  .btn-close-modal{
        position: absolute;
        top: 24px;
        right: 24px;
        color: var(--meliuz-fire-red-100, #CD2330);
        font-feature-settings: 'clig' off, 'liga' off;
        background: none;
        /* ② Meliuz - Gotham/Body/Size 12/Book */
        font-family: 'gothamnormal';
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px; /* 133.333% */
    }
    .title-popup{
        color: #161616;
        font-family: 'trasatsandard';
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 28px;
        /* margin-bottom: 20px; */
    }
    .wrapper-content-popup{
        display: flex;
        position: relative;
        /* padding: 0 24px; */
        /* overflow-y: auto; */
        /* flex: 1 1 auto; */
        flex-direction: column;
        height: 100%;
    }
    .merchant-page .wrapper-custom-select{
        width: 100% !important;
    }
    .merchant-page .search-bar{
        width: 100% !important;
    }
    .wrapper-filter-items-m{

        display: flex;
        padding: 0px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px;
        overflow-y: auto;
        flex: 1 1 auto;
        min-height: 0px;
    }
    .wrapper-filter-items-m span{
        /* margin: 10px 0; */
    }
    .container-filter-items-m{
        
    display: flex;
    align-items: center;
    align-content: center;
    gap: 8px;
    align-self: stretch;
    flex-wrap: wrap;
    }
    /* .container-filter-items-m:last-child{
        margin-bottom: 50px;
    } */
    .filter-items-m{
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid #E9E9E9;
    }
    input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
    }

    input:checked + .filter-items-m{
        background: var(--meliuz-titanium-yellow-100, #F37021);
        color:var(--meliuz-fire-red-100, #FFF);
    }
    label{
        position: relative;
    }
    

.section-popup-filter.mobile .footer-wrapper{
    margin-top: auto;
    padding: 12px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-top: 1px solid #BDBDBD;
    background: var(--meliuz-typography-white, #FFF);
    box-shadow: 0px 6px 32px 0px rgba(0, 0, 0, 0.24);
}
.section-popup-filter.mobile .footer-wrapper .btn-submit p{
    margin-bottom:0px;
}
.section-popup-filter.mobile .footer-wrapper .btn-submit{
    display: flex;
    padding: 16px 0px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    background: var(--meliuz-typography-black, #F37021);
    color: var(--meliuz-typography-white, #FFF);
    text-align: right;
    font-feature-settings: 'clig' off, 'liga' off;

    /* ① Meliuz - 'trasatsandard';/Body/Size 14/SemiBold */
    font-family: 'trasatsandard';
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 142.857% */
    width: 100%;
}
}
/* Responsive adjustments */
@media (min-width: 1200px) { /* For tablets and desktops */
    .merchant-page body {
        flex-direction: row; /* Side-by-side layout */
    }
    .merchant-page #controls {
        width: 40%; /* Increased width for filters */
        height: 100%;
        max-height: 100vh;
        border-bottom: none;
        border-right: 1px solid #dee2e6;
        display: flex;
        flex-direction: column;
    }
    .merchant-page #dealer-list-container {
        flex-grow: 1; /* Allow dealer list to take remaining space in controls */
        max-height: none; /* Remove max-height for desktop */
    }
    .merchant-page #map-container {
        height: 100%;
        flex-grow: 1;
    }
}