    @import url(general.css);

    :root {
        --primary-color: #fbc737;
        --color-1: #8ebf38;
        --color-2: #007000;
        --color-3: #2b0002;
        --color-4: #fcd7c1;
        --font-1: "QuicksandMedium";
        --font-2: "QuicksandBold";
        --font-3: "Quicksand";
        --font-4: "JostRegular";
    }

    @font-face {
        font-family: "QuicksandMedium";
        src: url(../fonts/Quicksand-Medium.woff);
        font-style: normal;
    }

    @font-face {
        font-family: "QuicksandBold";
        src: url(../fonts/Quicksand-Bold.woff);
        font-style: normal;
    }

    @font-face {
        font-family: "Quicksand";
        src: url(../fonts/Quicksand-Regular.woff);
        font-style: normal;
    }

    @font-face {
        font-family: "JostRegular";
        src: url(../fonts/Jost-400-Book.woff);
        font-style: normal;
    }

    #banner {
        width: 100%;
        height: 100%;
        margin-top: 6rem !important;

        .fondo-maquila {
            width: 100%;
            height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;

            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;

            h2 {
                color: white;
                text-align: center;
                text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.6);
                font-family: Quicksand;
                font-size: 40px;
                font-style: normal;
                font-weight: 700;
                line-height: 50px;
                font-family: 'QuicksandBold';
            }
        }
    }

    #puntos-de-ventas {
        height: 100%;
        padding-block: 4rem;
        /* background-image: url('../../images/fondo-mapsa.png');
        background-position: center center;
        background-size:contain;
        background-repeat: no-repeat; */
        display: flex;
        flex-direction: column;
        gap: 3rem;

        #filtro-ubicacion {
            display: flex;
            flex-direction: column;
            gap: 3rem;

            .selects {
                width: 100%;
                display: flex;
                justify-content: space-between;
                gap: 1.5rem;

                select {
                    flex: 1;
                    border-radius: 5px;
                    border: 1px solid var(--7, #007000);
                    background-color: rgba(0, 112, 0, 0.10);
                    padding: 10px;
                    color: var(--3, #2b0002);
                    font-family: var(--font-4);
                    font-size: 20px;
                    font-style: normal;
                    background-color: #e6f1e6 !important;
                    font-weight: 400;
                    line-height: 20px;
                    /* Eliminar flechas */
                    -webkit-appearance: none;
                    /* Chrome y Safari */
                    -moz-appearance: none;
                    /* Firefox */
                    appearance: none;
                    /* Estándar */

                    &::-ms-expand {
                        display: none;
                        /* Internet Explorer */
                    }

                    /* Mantener el aspecto del select sin flecha */

                    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTQgOSIgZmlsbD0ibm9uZSI+CjxwYXRoIGQ9Ik03LjAyMDA2IDQuNjg1NzZDNi40NzUwMyA0LjExODI1IDYuMDE4OTkgMy42Mzk3NSA1LjU1MTgzIDMuMTcyMzlDNC43MTc2MSAyLjMzNzggMy44ODMzOCAxLjUwMzIyIDMuMDQ5MTYgMC42Njg2MzFDMi4zMTUwNSAtMC4wNTQ2NzU5IDEuMjEzODggLTAuMDU0Njc1OCAwLjUxMzEzMiAwLjY2ODYzMUMtMC4xNzY0OSAxLjM2OTY4IC0wLjE3NjQ5MiAyLjQ0OTA4IDAuNTQ2NSAzLjE3MjM5QzIuMjQ4MzEgNC44ODYwNyAzLjk1MDEyIDYuNTg4NjIgNS42NjMwNiA4LjI5MTE3QzYuNDc1MDMgOS4xMDM1IDcuNTA5NDcgOS4xMDM1IDguMzEwMzIgOC4zMDIzQzEwLjAyMzMgNi41OTk3NCAxMS43MzYyIDQuODk3MTkgMTMuNDM4IDMuMTgzNTFDMTQuMTcyMSAyLjQ0OTA3IDE0LjE4MzIgMS4zNTg1NSAxMy40OTM2IDAuNjQ2MzczQzEyLjc5MjkgLTAuMDY1ODA2IDExLjY2OTQgLTAuMDY1ODA2NiAxMC45MjQyIDAuNjkwODg0QzkuNjQ1MDcgMS45OTI4NCA4LjM3NzA2IDMuMzA1OTIgNy4wMjAwNiA0LjY4NTc2WiIgZmlsbD0iIzJCMDAwMiIvPgo8L3N2Zz4=);
                    background-repeat: no-repeat;
                    background-position: 95%;

                }

                #reset-filtros {
                    display: none;
                }
            }

            .checkboxs {
                width: 100%;
                display: flex;
                justify-content: center;
                gap: 2rem;
                ;

                .check {
                    display: flex;
                    padding: 15px 25px;
                    justify-content: center;
                    align-items: center;
                    gap: 7px;
                    border-radius: 25px 0px;
                    background: rgba(142, 191, 56, 0.1);
                    color: #2b0002;
                    text-align: center;
                    font-family: var(--font-4);
                    font-size: 25px;
                    font-style: normal;
                    font-weight: 600;
                    line-height: 25px;
                    width: fit-content;
                    input[type="checkbox"] {
                      appearance: none;
                    }
                  
                    &.active{
                        background-color: #007000;
                        color: white;
                    }

                    &:nth-child(2){
                        display: none;
                    }
                }
            }
        }

        .contenedor {
            display: flex;
            gap: 1rem;
            .container-distribuidores{
                width: 25rem;
                position: relative;
                z-index: 2;
                @media (max-width: 768px){
                    width: 100%;
                    height: 38rem;
                }
            }


            #lista-distribuidores {
                flex: .5;
                max-height: 600px;
                overflow-y: auto;
                direction: rtl;
                row-gap: 1rem;
                padding-left: 1rem;
                position: absolute;
                z-index: 2;
                width: 120%;
                display: flex    ;
                flex-direction: column;
                align-items: flex-end;

                .card-distribuidor {
                    direction: ltr;
                    display: flex;
                    flex-direction: column;
                    gap: .5rem;
                    border-radius: 18.797px 0px;
                    background: rgba(0, 112, 0, 0.10);
                    padding: 1.175rem;
                    height: fit-content;
                    transition: all 0.3s ease-in-out;
                    width: 80%;

                    h3 {
                        color: var(--3, #2b0002);
                        font-family: var(--font-2);
                        font-size: 18.797px;
                        font-style: normal;
                        font-weight: 600;
                        line-height: 22.557px;
                    }

                    p.dir,
                    p.tel,
                    p.web {
                        color: var(--3, #2b0002);
                        font-family: var(--font-4);
                        font-size: 15.038px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 18.797px;
                        display: flex;
                        gap: 0.2rem;
                        svg{
                            transition: all 0.3s ease-in-out;
                        }


                    }
                  &:hover{
                    background: #2B0002;
                    margin-left: 40px;
            
                    h3{
                        color: white;
                    }
                    p.dir, p.tel, p.web{
                        color: white;
                        svg{
                            path{
                                fill: white;
                            }
                        }
                       
                    }
                  }
                }

                &::-webkit-scrollbar {
                    width: 5px;
                }
                
                /* Track */
                &::-webkit-scrollbar-track {
                    background: rgba(0, 112, 0, 0.50);
            
            
                    border-radius: 10px;
                }
                
                /* Handle */
                &::-webkit-scrollbar-thumb {
                    background: #2B0002; 
                    border-radius: 10px;
                }
                
            }

            #map-container {
                flex: 1;
                position: relative;
                z-index: 1;
                #mapa-distribuidores{
                    height: 600px;
                    width: 100%;
                }
            }
        }




    }
    

    @media (max-width: 768px) {
    

        #banner {
            width: 100%;
            height: 100%;
            margin-top: 7rem;

            .fondo-maquila {
                width: 100%;
                height: 60vh;
                display: flex;
                align-items: center;
                justify-content: center;

                background-position: center;
                background-repeat: no-repeat;
                background-size: cover;

                h2 {
                    color: white;
                    text-align: center;
                    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.6);

                    font-size: 35px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 50px;
                    font-family: 'QuicksandBold';
                    text-wrap: wrap;
                    width: 85%;
                    margin: auto;
                    text-align: center;
                }
            }
        }

        #puntos-de-ventas{
            #filtro-ubicacion{
                flex-direction: column;
                .selects{
                    flex-direction: column;
                }
                .checkboxs{
                    flex-direction: column;
                    align-items: center;
                }
            }
         
            .contenedor{
                flex-direction: column-reverse;
                #map-container{
                    #mapa-distribuidores{
                        height: 400px;
                    }
                }
            }
        }
    }

