@media screen and (min-width: 1024px){

.sombra {
    /*box-shadow: 0px 3px 7px rgba(82, 82, 82, 0.25);*/
    box-shadow: 0px 3px 7px #49290931;
    
}

.mostrar {
    display: flex;
}

.bloque {
    background-color: #FFF;
    border-radius: 15px;
    /*box-shadow: 0px 3px 7px rgba(82, 82, 82, 0.25);*/
    box-shadow: 0px 3px 7px #49290931;
    padding: 1.5rem;
}

.bloque-perfil {
    background-color: #FFF;
    border-radius: 10px;
    /*box-shadow: 0px 3px 7px rgba(82, 82, 82, 0.25);*/
    box-shadow: 0px 3px 7px #49290931;
    padding: 1.5rem;
}

.bloque-mob {
    background-color: #FFF;
    border-radius: 15px;
    /*box-shadow: 0px 3px 7px rgba(82, 82, 82, 0.25);*/
    box-shadow: 0px 3px 7px #49290931;
    padding: 1.5rem;
}

.hidde-desk {
    display: none;
}

.hidde-mob {
    display: inherit;
}

.hidde-mob-block {
    display: block;
}

.flex-botones {
    display: flex;
    flex-wrap: nowrap;
}

    .boton-fijo {
        flex-shrink: 0;
    }

    .boton-auto {
        flex: 0 1 auto; margin-left: 2.5%; width: 100%
    }

/* ORDEN FILTROS */

aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-categorias {
    order: 3;
}

.section-subcategorias {
    order: 4;
    max-width: 100%;
}

.section-ubicacion {
    order: 2;
    margin-bottom: 2rem;
    max-width: 80%;
    border-bottom: 1px solid #fcbac9;
    margin-top: 0rem;
}

#form-filtros {
    display: flex;
    flex-direction: column;
}

#submit-filtros {
    max-width: 80%;
    order: 1;
    margin-left: 0%;
}

#section-ubicacion-titulo {
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    background-color: transparent;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
}

    #section-ubicacion-titulo img {
        width: 15px;
    }

    #section-ubicacion-titulo span {
        color: #CD385C;
        margin-left: 0.5rem;
    }


#section-ubicacion-oculto {
    display: block;
    width: 100%;
    padding: 0rem 5%;
    background-color: transparent;
    border-radius: 10px;
    margin-top: 0rem;
}

#section-ubicacion-oculto select {
    background-color: #FFF;
}

.titulo-filtros {
    font-size: 1rem;
    font-weight: 500;
    color: #777;
    padding-bottom: 1rem;
}

.categorias {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 80%;
    max-width: 80%;
    min-width: 80%;
    padding: 0%;
    height: auto;
    margin-top: 1rem;
    border-radius: 5px;
}

    .categorias-item {
        width: 49%;
        margin-bottom: 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        opacity: 1;
        transition: opacity ease 0.5s;
        cursor: pointer;
    }

    .categorias a {
        width: 49%;
        margin-bottom: 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        opacity: 1;
        transition: opacity ease 0.5s;
    }

    .categoria-img {
        width: 55px;
        height: 55px;
        /*filter: brightness(0.7);*/
        transition: all ease 0.25s;
        background-color: #F1F1F1;
        border-radius: 50%;
        margin: auto;
    }

    .categoria-img img {
        width: 30px;
        height: 30px;
        margin-top: 12.5px;
        object-fit: contain;

    }

    .categoria-name {
        text-align: center;
        font-size: 0.9rem;
        font-weight: 600;
        width: 100%;
        margin-left: 0%;
        height: 40px;
        margin-top: 10px;
        transition: color ease 0.5s;

      
       /* position: absolute;
        top: 0px;
        left: 0%;
        z-index: 2;
        width: 100%;
        height: 100%;
        line-height: 50px;
        color: #FFF;
        text-shadow: 0px 0px 8px #000;*/
    }

    .categorias-item:hover {
        opacity: 1;
    }

    .categorias-item:hover .categoria-img {
        /*border: 2px solid var(--main-color) !important;*/
        /*object-fit: cover;
        border: 0px solid rgba(0, 0, 0, 0.247);*/
        box-shadow: 0 0 0 2px #fa6b8cce;
        /*filter: brightness(1);*/
    }

    .categorias-item:hover .categoria-name {
        
        color:  #fa6b8c;
        /*filter: brightness(1);*/
    }

    .categoria-activa {
        opacity: 1 !important;
    }

    .categoria-activa .categoria-img {
       background-color: #ffd0db71 !important;
        opacity: 1 !important;
        box-shadow: 0 0 0 2px #fa6b8cce;
    }

    .categoria-activa .categoria-name {
        color: var(--main-color);
        
    }

    .titulo-filtros-subcategorias {
        font-size: 1rem;
        font-weight: 500;
        color: #777;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }

.subcategorias {
    width: 80%;
    height: auto;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    max-width: 80%;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: normal;
    padding-left: 0%;
    padding-right: 0%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

        .subcategorias-item {
            width: 49%;
            max-width: auto;
            height: auto;
            text-align: center;
            margin-right: 0%;
            margin-left: 0%;
            margin-bottom: 2rem;
            transition: opacity ease 0.5s;
            color: #555;
            cursor: pointer;
        }
    
        .subcategorias a {
            width: 49%;
            max-width: auto;
            height: auto;
            text-align: center;
            margin-right: 0%;
            margin-left: 0%;
            margin-bottom: 2rem;
            transition: opacity ease 0.5s;
            color: #555;
            
        }

        .subcategorias-item:nth-child(2n) {
            margin-left: 2%;
            margin-right: 0%;
          }
    
        .subcategoria-img {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            transition: box-shadow ease 0.5s;
            background-color: #f3f3f3;
        }

        .subcategoria-img img {
            width: 30px;
            height: 30px;
            margin-top: 12.5px;
            object-fit: contain;
        }
    
        .subcategoria-name {
            text-align: center;
            font-size: 0.9rem;
            font-weight: 600;
            width: 80%;
            margin-left: 10%;
            height: 40px;
            margin-top: 10px;
            transition: color ease 0.5s;
        }

        .subcategorias-item:hover {
            opacity: 1;
        }
    
        .subcategorias-item:hover .subcategoria-img {
            box-shadow: 0 0 0 2px #fa6b8cce;
            /*
            object-fit: cover;
            border: 0px solid rgba(0, 0, 0, 0.247);
            box-shadow:
            0 0 0 2px #FFFCF9,
            0 0 0 4px #ffbaca;*/
            /*filter: brightness(1);*/
        }

        .subcategorias-item:hover .subcategoria-name {
            
            color:  var(--main-color);
            /*filter: brightness(1);*/
        }
    
        .subcategoria-activa .subcategoria-img {
            /*border: 4px solid var(--main-color)*/
            background-color: #ffd0db71 !important;
            box-shadow: 0 0 0 2px #fa6b8cce;
        }
    
        .subcategoria-activa .subcategoria-name {
            color: var(--main-color);
        }

#ubicacion-usuario {
    background-color: #FFDDE5;
    border: 1px solid #f1c4cf;
    color: #E12653;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 1rem;
    width: 100%;
    float: left;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
}

#ubicacion-usuario img {
    width: 13px;
    padding-bottom: 2px;
}

#ubicacion-usuario span {
    margin-left: 8px;
}

#cont-volver-busqueda {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

#volver-busqueda {
    font-weight: 500;
    color: var(--main-color);
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #FFF;
    /*margin: 40% auto; /* 15% from the top and centered */
    padding: 2rem;
    border: 1px solid #DBDBDB;
    width: 400px; /* Could be more or less, depending on screen size */
    height: 400px;
    border-radius: 10px;
    position:fixed;
    z-index: 100;  
    top:50%;  
    left:50%;  
    margin:-200px 0 0 -200px;  
  }
  
.modal-title {
    width: 90%;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #666;
}

  /* The Close Button */
  .close {
    color: #aaa;
    font-size: 2.3rem;
    font-weight: 400;
    width: 10%;
    position: absolute;
    top: 1rem;
    right: 1rem;
    text-align: center;
  }
  
  .close:hover,
  .close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
  }

  .distancia-info {
      font-size: 0.9rem;
      text-align: center;
      width: 100%;
      margin-bottom: 2rem;
  }

  #distancia-show {
      font-weight: 500;
  }

#bodas-buscador-fixed {
    display: none !important;
}

.resultados-total {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 0%;
}

.resultados {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2%;
    flex-wrap: wrap;
    height: 100%;
}

.resultados article {
    border-radius: 15px;
    /* margin-bottom: 2rem; */
    background-color: #FFF;
    width: 32%;
    height: 450px;
}

.resultado-img-count-destacado {
    position: absolute;
    top: 200px;
    left: 32%;
    width: 60px;
    height: 28px;
    font-size: 0.85rem;
    background-color: rgba(51, 51, 51, 0.4) !important;
    color: rgb(255, 255, 255);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    text-shadow: 0px 0px 4px #0000004b;
}

.resultado-destacado {
    width: 100% !important;
    display: flex;
    height: 240px !important;
    padding: 0rem;
}

.resultado-destacado .resultado-imagen {
    height: 240px;
    object-fit: cover;
    width: 40%;
    border-top-left-radius: 15px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 0px;
    max-height: 240px;
}

.resultado-destacado .resultado-info {
    width: 60%;
    padding: 1rem 1rem 1rem 3%;
    position: relative;
    height: 240px;
    display: flex;
    flex-direction: column;
}

.resultado-destacado .resultado-botones {
    width: 250px;
    margin-top: auto;
    display: flex;
    flex: 50px 200px;
    justify-content: flex-end;
    align-self: flex-end;
}

.resultados article img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    max-height: 225px;
}

.resultado-imagen {
    height: 200px;
    object-fit: cover;
}

.resultado-info {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    position: relative;
    height: 225px;
    display: flex;
    flex-direction: column;
}

.resultado-nombre {
    font-size: 1.1rem;
    font-weight: 600;
}

.resultado-ubicacion {
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 7px;
    height: auto;
    min-height: auto;
}

.resultado-descripcion {
    margin-top: 10px;
    font-weight: 400;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    color: #555;
}

.resultado-precio {
    font-size: 0.9rem;
    margin-top: 0.6rem;
}

.resultado-botones {
    width: 90%;
    margin-top: auto;
    display: flex;
    flex: 50px 200px;
    justify-content: space-between;
    position: absolute;
    bottom: 1rem;
}

.banner-deseo-resultados {
    width: 100%;
    height: auto;
    background-color: #FFF4F5;
    padding: 2rem 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    background-color: #FFF4F5;
    background-image: url('../images/ilustracion-banner.webp');
    background-position: 90% -70%;
    background-repeat: no-repeat;
    background-size: 25%;
    box-shadow: 0px 2px 5px #4929092c;
    cursor: pointer;
    transition: all ease 0.5s;
}

.banner-deseo-resultados:hover {
    background-color: #FFEBEF;
}

/*.banner-deseo-resultados:hover .banner-deseo-resultados-boton {
    text-decoration: underline;
}*/

.banner-deseo-resultados-titulo {
    font-size: 1.3rem;
    font-weight: 600;
}

.banner-deseo-resultados-texto {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1rem;
    width: 50%;
}

.banner-deseo-resultados-boton { 
    margin-top: 1.5rem;
    display: block;
    color: var(--main-color);
    background-color: transparent;
    font-size: 1.1rem;
    font-weight: 600;
    transition: text-decoration ease 0.5s;
    text-align: left;
    padding: 0px;
    border-radius: 0px
}

#activacion {
    width: 100%;
    background-color: rgb(247, 247, 247);
    padding: 1rem;
    max-width: 1250px;
    margin: auto;
    margin-top: 0.5rem;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
}

#activacion span {
    width: 600px;
}

#activacion a {
    font-weight: 600;
    color: var(--main-color);
    width: 100%;
    margin-top: 0rem;
    text-align: left;
    font-size: 0.9rem;
}

.no-items {
    width: 30%;
    margin: auto;
    text-align: center;
    padding: 2rem 0px;
    color: #666;
    font-size: 0.9rem;
}

.banner-deseos-aside {
    width: 100%;
    background-color: #fff1f4;
    margin-top: 50px;
    height: 260px;
    border-radius: 10px;
}

.banner-deseos-aside:hover {
    background-color: #FFEBEF;
}

.banner-deseos-aside-fondo {
    background-image: url('../images/ilustracion-mob.svg');
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: 50% 75%;
    width: 100%;
    max-width: 100%;
    height: 260px;
    padding: 1rem 0px 1rem 0px;
    text-align: center;
    margin-top: 0px;
    margin: auto;
}

.banner-deseos-aside-texto {
    box-sizing: border-box;
    width: 90%;
    height: auto;
    padding: 0px 5% 0px 5%;
    max-width: 90%;
    text-align: left;
    margin: auto;
    font-weight: 600;
}

.banner-deseos-aside-texto h2 {
    font-size: 1.2rem;
}

.banner-deseos-aside-texto p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7rem;
    margin-top: 1.5rem;
    margin-bottom: 40px;
}

.banner-deseos-aside-texto .boton-primario {
    font-size: 1.1rem;
}

.cont-paginacion {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    align-items: center;
    justify-content: center;
}

.grupo-paginacion {
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

/* BUSCADOR EMPRESAS */

#busqueda-empresas-boton {
    color: var(--main-color);
    background-color: transparent;
    border: 0px;
    padding: 0px;
    font-size: 1rem;
    cursor: pointer;
    display: none
}
    
#busqueda-empresas-boton-desktop {
    color: var(--main-color);
    background-color: transparent;
    border: 0px;
    padding: 0px;
    font-size: 1rem;
    cursor: pointer;
    display: block
}

#busqueda-empresas-cont {
    display: none;
    margin-top: 1rem;
    background-color: white;
    position: absolute;
    top: 0px;
    left: auto;
    right: 0px;
    width: 400px;
    height: 500px;
    max-height: 500px;
    z-index: 2
}

#busqueda-empresas-ocultar-cont {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1rem 0rem 0rem
}

#busqueda-empresas-ocultar {
    font-size: 1rem;
    color: #666;
    background-color: transparent;
    border: 0px;
    cursor: pointer;
    padding: 0px
}

#busqueda-empresas-ocultar:hover {
    color: #333;
}

#busqueda-empresas-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0
}

    #busqueda-empresas-parametro {
        padding: 0.5rem;
        flex: 0 1 auto;
        width: 100%;
        margin-right: 1rem;
        height: 40px
    }

    #busqueda-empresas-submit {
        flex-shrink: 0;
        width: 100px;
        opacity: 1;
        height: 40px;
        line-height: 40px
    }

#busqueda-empresas-total-cont {
    font-size: 0.9rem;
    color: #888;
    padding: 0.5rem 1.5rem
}

#busqueda-empresas-resultados {
    height: 380px;
    max-height: 380px;
    overflow-y: auto;
    padding-bottom: 1rem
}

.busqueda-empresas-resultado {
    padding: 1rem 0rem;
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 1.5rem;
}

.busqueda-empresas-resultado:hover {
    background-color: #fffcfd
}

.busqueda-empresas-resultado:hover .busqueda-empresas-resultado__nombre {
    color: var(--main-color)
}

.busqueda-empresas-resultado__nombre {
    font-weight: 600;
    font-size: 1rem
}

.busqueda-empresas-resultado__categoria {
    margin-right: 5px;
    color: #888;
}

.busqueda-empresas-resultado__localidad {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: #666;
    margin-top: 5px
}

}