.row-map {
    display: flex;
    gap: 30px;
    .header-map-wrapper {
        width: 100%;
        max-width: calc(100vw * 0.8333);
        margin: 0 auto;
        z-index: 12;
        .filters-wrapper {
            display: flex;
            gap: 30px;
            margin-bottom: 0;
            .mainfilter-wrapper {
                display: none;
            }
            .type-vehicle-wrapper {
                width: calc(100% / 3);
            }
            .cities-wrapper {
                width: calc(100% / 3);
            }
            .services-wrapper {
                width: calc(100% / 3);
            }
        }
    }
    .tab-map-wrapper {
        width: 100%;
        margin: 0 auto;
        padding: 0 8.3333vw;
        box-shadow: 0 3px 6px rgba(0,0,0,0.15);
        z-index: 11;
        margin-bottom: 30px;
        .list-actions {
            display: flex;
            width: 100%;
            list-style: none;
            gap: 20px;
            justify-content: right;
            li {
                border-bottom: 4px solid #fff;
                button {
                    background: transparent;
                    border: none;
                    text-decoration: none;
                    padding: 8px 30px;
                    font-size: 1.25rem;
                    font-weight: 500;
                    color: var( --e-global-color-primary );
                    line-height: 1.5;
                }
            }
            li.active, li:hover {
                border-bottom: 4px solid var( --e-global-color-primary );
            }
        }
    }
    .left-panel-map {
        width: calc(100% - 360px);
        h3 {
            font-family: var(--e-global-typography-primary-font-family);
            text-transform: initial;
            font-weight: 500;
            margin: 30px 0 10px;
            font-size: 1.6rem;
        }
    }    
    .right-panel-map {
        width: calc(100% / 12 * 4);
        max-width: 360px;
        overflow-y: scroll;
        height: calc(100vh - 160px);
        position: relative;
        margin-right: 30px;
    }
    .right-panel-map:after {
        content: "";
        display: block;
        width: 100%;
        height: 60px;
        position: sticky;
        bottom: 0;
        z-index: 10;
        background: #FFF;
        background: -webkit-linear-gradient(359deg, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
        background: -moz-linear-gradient(359deg, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
        background: linear-gradient(359deg, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#FFFFFF", GradientType=0);
    }
}

.list-view {
    flex-direction: column;
    gap: 0;
    .left-panel-map {
        display: none;
    }
    .right-panel-map {
        width: 100%;
        max-width: calc(100vw * 0.8333);
        height: initial;
        margin: 0 auto;
        overflow: hidden;
        #activmap-places {
            align-items: stretch !important;
            gap: 30px;
            display: grid !important;
            grid-template-columns: repeat(3, 1fr) !important;
            grid-auto-rows: auto !important;
            .activmap-place {
                border: none;
                padding: 0;
                margin: 0;
                cursor: pointer;
                transition: 0.3s;
                width: 100%;
                .DealerInformationContainer {
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    .ContactInformationContainer {
                        display: initial;
                        .CtaWrapper {
                            gap: 15px;
                        }
                    }
                }
                .DealerInformationContainer.expanded, .DealerInformationContainer.collapsed {
                    .DealerNameWrapper {
                        h4 {
                            button.btn-expand, button.btn-collapse {
                                display: none;
                            }
                        }
                    }
                }
            }
            .activmap-place.isListed{
                display: block;
            }
            .activmap-place.notListed {
                display: none;
            }
        }
    }
    .right-panel-map:after {
        display: none;
    }
    .load-more-wrapper {
        width: 100%;
        max-width: calc(100vw * 0.8333);
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
}

.map-view {
    .right-panel-map {
        height: calc(100vh - 160px) !important;
        #activmap-places {
            .activmap-place.isListed{
                display: block;
            }
            .activmap-place.notListed {
                display: none;
            }
        }
    }
    .load-more-wrapper {
        display: none;
    }    
}

.DealerInformationContainer {
    border: 1px solid #808ba9;
    padding: 1.75rem 1.3125rem;
    transition: all 0.3s ease;
    .HeadlineWrapper {
        position: relative;
        .DealerNameWrapper {
            h4 {
                font-size: 1.25rem;
                font-family: var(--e-global-typography-primary-font-family);
                margin: 0 0 0.5rem;
                line-height: 1.2;
                color: #041954;
                font-weight: 600;
                padding-right: 0;
                display: flex;
                justify-content: space-between;
                align-items: end;
                .title-icon-wrapper {
                    display: flex;
                    align-items: center;
                    .map-foton {
                        background: url('/wp-content/uploads/buscador-concesionarios/images/pin-map.svg') no-repeat center center;
                        display: inline-block;
                        width: 2rem;
                        height: 2rem;
                        margin-right: 0.25rem;
                    }
                }
            }
        }
        .DistanceWrapper {
            position: relative;
            bottom: 0;
            right: 0;
            display: flex;
            justify-content: space-between;            
            h6 {
                font-size: 1rem;
                line-height: 1;
                margin: 0;
            }
            .StyledTextComponent {
                font-size: 0.85rem;
                font-weight: 500;
                line-height: 1;
            }
        }
    }
    .ContactInformationContainer {
        .ContactInformationContainerData {
            min-height: 230px;
            h5 {
                font-size: 1.2rem;
                margin: 1rem 0 0.5rem;
            }
            .StyledTextComponent {
                margin: 0 0 8px;
                line-height: 1.25;
                .PhoneDetail {
                    font-weight: 500;
                }
            }
            .ServicesList {
                list-style: none;
                padding: 0;
                li {
                    display: flex;
                    align-content: center;
                    line-height: 1.2rem;
                    gap: 0.5rem;
                    margin: 0.65rem 0;
                }
            }
        }
        .CtaWrapper {
            margin: 1.5rem 0 0;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            a {
                flex: 1 1 100%;
                font-size: 0.9rem;
            }
        }
    }
}

.DealerInformationContainer.collapsed {
    overflow: hidden;
    height: auto;
    .DealerNameWrapper {
        .btn-expand {
            display: flex-inline;
        }
        .btn-collapse {
            display: none;
        }
    }
    .ContactInformationContainer {
        display: none;
    }
}

.DealerInformationContainer.expanded {
    overflow: initial;
    height: auto;
    .HeadlineWrapper {
        border-bottom: 1px dotted #303030;
        margin-bottom: 0.9rem;
        padding: 0.9rem;
    }
    .DealerNameWrapper {
        .btn-expand {
            display: none;
        }
        .btn-collapse {
            display: flex-inline;
        }
    }
    .ContactInformationContainer {
        display: initial;
    }
}

.btn-icon {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: var( --e-global-color-primary ) !important;
    i {
        font-size: 1.25rem;
    }
}

.DealerInformationContainer:hover {
    background: #DDE2E633;
}

#activmap-places .highlighted {
    background-color: #bfc5d429 !important;
    border-left: 4px solid #041954d6 !important;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

#activmap-places {
    overflow-y: scroll;
    /* Asegurar scroll suave si el navegador lo soporta */
    scroll-behavior: smooth;
}

#activmap-places .highlighted {
    animation: pulse-highlight 0.6s ease-in-out;
}

.activmap-place.load-hidden {
  display: none !important;
}

@keyframes pulse-highlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

a {
    transition: 300ms all ease;
}
.gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom > .gm-svpc > div {
    width: 40px;
    height: 40px;
    left: 0 !important;
}
.StyledButtonPrimary {
    text-decoration: none !important;
    min-width: auto;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #041954;
    background: #041954;
    color: #fff !important;
    padding: 0 1.15rem;
}
.StyledButtonPrimary:hover {
    background: #0a3dc9;
    border-color: #0a3dc9;
}
.StyledButtonSecondary {
    text-decoration: none !important;
    min-width: auto;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #041954;
    color: #041954 !important;
    white-space: nowrap;
    padding: 0 1.15rem;
}
.StyledButtonSecondary:hover {
    background: #041954;
    color: #fff !important;
    .seon-map-icon {
        filter: invert(1) grayscale(1) brightness(100);
    }
}
.icon-sales-vehicle {
    display: inline-block;
    background: url('/wp-content/uploads/icons/icon-sales.svg') no-repeat center center;
    background-size: auto 100%;
    width: 1.2rem;
    height: 1.2rem;
}
.icon-service-vehicle {
    display: inline-block;
    background: url('/wp-content/uploads/icons/icon-service.svg') no-repeat center center;
    background-size: auto 100%;
    width: 1.2rem;
    height: 1.2rem;
}
.seon-map-icon {
    display: inline-block;
    background: url('/wp-content/uploads/icons/icon-map.svg') no-repeat center center;
    background-size: 100% auto;
    width: 1.8rem;
    height: 1.8rem;
}
.call-us-icon {
    display: inline-block;
    background: url('/wp-content/uploads/icons/icon-phone.svg') no-repeat center center;
    background-size: auto 100%;
    width: 1.2rem;
    height: 1.2rem;
}
#wrapper-map-area {
    max-width: 1140px;
}
#activmap-accordion {
    clear: both;
}
#activmap-accordion .panel-heading .activmap-accordion-toggle:after {
    margin: 0 0 0 15px;
}
#activmap-accordion .panel-heading {
    background: #154C7A;
    color: #fff;
    font-family: var(--e-global-typography-primary-font-family);
}
#activmap-accordion .panel-title a {
    display: block;
    color: #fff;
}
#activmap-accordion .panel-title a:hover {
    text-decoration: none;
}
#activmap-accordion .panel-title a:after {
    font-family: FontAwesome;
    content: '';
    float: right;
}
#activmap-accordion .panel-title a.collapsed:after {
    content: '';
}
#activmap-reset {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
}
#activmap-reset i {
    margin: 0px;
    line-height: 24px;
    margin-right: 4px;
}
#activmap-geolocate {
    margin-bottom: 0;
    position: absolute;
    right: 2px;
    background: transparent;
    border: none;
    bottom: 8px;
}
label b {
    color: rgb(0, 0, 0);
    margin: -0.11em 0px 0.11em;
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: bold;
    font-size: var(--textappearances-copy200-fontsize);
    line-height: var(--textappearances-copy200-lineheight);
    letter-spacing: var(--textappearances-copy200-letterspacing);
}
#filtros_ubicacion label {
    font-size: .8rem;
    font-weight: 600;
    color: #000;
}
#activmap-wrapper {
    height: calc(100vh - 220px);
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    display: flex;
}
#activmap-canvas {
    width: 100% !important;
    height: 100%;
    float: right;
}
#activmap-places {
    background: #fff;
    position: relative;
    left: 0;
    z-index: 10;
    height: auto;
    width: 100%;
    padding: 0;
    overflow: auto;
}
#activmap-container {
    width: 100% !important;
}
.search-panel {
    min-height: 100px;
    padding: 0;
}
.map-panel {
    padding: 0;
}
.search-filters {
    padding: 0 15px 0;
    border-bottom: 5px solid rgba(226, 231, 235, 0.4);
    margin: 0 15px 30px;
}
.align-center {
    text-align: center !important;
}
.ratio-input {
    margin-left: 15px !important;
}
.address, .phone, .schedule {
    display: block;
    margin-top: 8px;
    padding-left: 15px;
    text-indent: -8px;
}
.address .fa, .phone .fa {
    margin-right: 6px;
}
.schedule i {
    margin-right: 6px;
}
#activmap-results-num {
    color: rgb(0, 0, 0);
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: normal;
    font-size: 1rem;
    line-height: 1;
    margin: 6px 0 15px;
    padding: 0.5rem 0;
}
#activmap-results-num span {
    font-weight: bold;
}
.activmap-place {
    display: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}
.activmap-place h3 {
    font-size: 1.2em;
    margin: 0 0 10px 0;
}
.activmap-place h3:before {
    font-family: FontAwesome;
    content: '';
    margin-right: 10px;
}
h4.activmap-title {
    font-size: 18px;
    margin: 10px 0 0;
}
.activmap-infowindow {
    display: flex;
}
.activmap-brand {
    display: block;
    margin: 10px 10px 10px 0;
    height: 48px;
    width: 48px;
}
.activmap-brand img {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
}
.activmap-brand-description {
    max-width: 280px;
    padding-left: 0.5rem;
}
.activurl {
    display: flex;
    margin-top: 12px;
}
.activmap-url {
    display: flex;
    height: 24px;
    align-items: center;
}
.activmap-url i {
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
}
.activmap-url-label {
    margin: 0 8px;
}
.gm-style-iw {
    left: 25px !important;
}
.url {
    margin-top: 10px;
    display: block;
    margin-bottom: 5px;
}
.url a {
    margin-left: 4px;
    font-size: 14px;
    font-weight: 400;
}
.list-checkbox-wrapper {
    margin: 20px 0 8px;
    padding: 20px 20px 12px;
    background: #f3f5f7;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
}
.list-checkbox {
    list-style: none;
    display: inline-flex;
    justify-content: space-between;
    padding: 0;
    width: 50%;
}
.list-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}
.list-checkbox li {
    line-height: 20px;
    display: flex;
    align-items: end;
}
.radio-area {
    padding: 10px 50px;
    display: flex;
    align-items: flex-start;
    height: 50px;
}
.radio-area label {
    font-weight: 400;
}
.radio-area input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}
.sticky-col-red {
    margin-top: -20px;
    position: sticky;
    top: 130px;
    padding-bottom: 110px;
}
.fa.white-text {
    color: #fff !important;
}
.icn-track {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-target.svg') no-repeat center center;    
    width: 24px;
    height: 24px;
    display: block;
}
.icon-star {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-star.svg') no-repeat 0 0;
    display: block;
    width: 12px;
    height: 12px;
}
.icon-pbx {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-pbx.svg') no-repeat center center;
    display: block;
    width: 24px;
    height: 24px;
}
.icon-phone {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-phone-thin.svg') no-repeat center center;
    display: block;
    width: 24px;
    height: 24px;
}
.icon-mail {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-email.svg') no-repeat center center;
    display: block;
    width: 24px;
    height: 24px;
}
.icon-route {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-route.svg') no-repeat center center;
    display: block;
    width: 24px;
    height: 24px;
}
.icon-vehicle {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-vehicle.svg') no-repeat center center;
    display: block;
    width: 24px;
    height: 24px;
}
.icon-service {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-service.svg') no-repeat center center;
    display: block;
    width: 24px;
    height: 24px;
}
.icon-up-arrow {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-up-arrow.svg') no-repeat center center;
    display: block;
    width: 24px;
    height: 24px;
}
.icon-down-arrow {
    background: url('https://assavolkswagen.com.ec/wp-content/uploads/2022/07/icon-down-arrow.svg') no-repeat center center;
    display: block;
    width: 24px;
    height: 24px;
}
.TypeService {
    margin: 10px 0;
    display: block;
}
.CityAddress {
    text-transform: uppercase;
    font-weight: 500;
}
.activmap-place:first-child {
    margin-top: 0;
}
.activmap-title-name {
    color: rgb(0, 0, 0);
    margin: 0;
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: bold;
    font-size: var(--textappearances-copy200-fontsize);
    line-height: var(--textappearances-copy200-lineheight);
    letter-spacing: var(--textappearances-copy200-letterspacing);
    text-transform: uppercase;
}
.gm-style-iw-ch {
    padding: 0 !important;
}
button[aria-label="Cerrar"] {
    display: none !important;
}
.gm-style .gm-style-iw-c {
    border-radius: 24px !important;
    padding: 12px 20px !important;
}
@media(min-width:768px){
    #activmap-places.hidden-xs {
        display: flex !important;
        flex-wrap: wrap;
        gap: 15px;
    }
}
@media(max-width: 1366px) {
    .list-view {
        .right-panel-map {
            max-width: calc(100vw * 0.95);
        }
    }
}
@media(max-width:480px){
    .row-map {
        flex-wrap: wrap;
        .header-map-wrapper {
            .filters-wrapper {
                flex-wrap: wrap;
                gap: 10px;
                padding: 0;
                .type-vehicle-wrapper, .services-wrapper, .cities-wrapper {
                    flex: 1 1 100%;
                }
            }
            #activmap-results-num {
                line-height: 1.4;
            }
        }
        .left-panel-map {
            width: 100%;
            h3 {
                font-size: 1.25rem;
                margin: 20px 0 10px;
                padding: 0 30px;
            }
            #activmap-results-num {
                padding: 0 30px;
                margin-bottom: 20px;
            }
            #activmap-wrapper {
                height: 100vw;
            }
        }
        .right-panel-map {
            width: 100%;
            padding: 0 30px;
            height: 150vw;
        }
        .tab-map-wrapper {
            padding: 0;
            margin: 0;
            .list-actions {
                justify-content: left;
                padding: 0 30px;
            }
        }
    }

    .list-view {
        flex-direction: column;
        gap: 0;
        margin-top: 30px;
        .left-panel-map {
            display: none;
        }
        .right-panel-map {
            width: 100%;
            max-width: 100%;
            height: initial;
            margin: 0 auto;
            overflow-y: scroll;
            height: 540px !important;
            #activmap-places {
                align-items: stretch !important;
                gap: 30px;
                display: grid !important;
                grid-template-columns: repeat(1, 1fr) !important;
                grid-auto-rows: auto !important;
                .activmap-place {
                    border: none;
                    padding: 0;
                    margin: 0;
                    cursor: pointer;
                    transition: 0.3s;
                    width: 100%;
                    .DealerInformationContainer {
                        height: 100%;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        .ContactInformationContainer {
                            display: initial;
                            .CtaWrapper {
                                gap: 15px;
                            }
                        }
                    }
                    .DealerInformationContainer.expanded, .DealerInformationContainer.collapsed {
                        .DealerNameWrapper {
                            h4 {
                                button.btn-expand, button.btn-collapse {
                                    display: none;
                                }
                            }
                        }
                    }
                }
                .activmap-place.isListed{
                    display: block;
                }
                .activmap-place.notListed {
                    display: none;
                }
            }
        }
        .right-panel-map:after {
            display: none;
        }
        .load-more-wrapper {
            display: none;
        }
    }

    .map-view {
        .right-panel-map {
            height: 75vw !important;
            margin: 0;
            max-width: 100%;
            #activmap-places {
                display: flex;
                flex-wrap: wrap;
                gap: 15px;
            }
        }
        .right-panel-map:after {
            display: none;
        }
    }
}