:root {
    --azul-basico: #5da9d4;
    --azul-oscuro: #5da9d4;
    --amarillo: rgb(245, 212, 25);
    --gris: #ececec;
    --blanco: #ffffff;
    --verde: #5ea12a;
    --gris-oscuro: #363636;
    --negro: #040707;
    --cafe: #8a705c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contenedor {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    padding: 2rem;
    margin: auto;
    background-color: var(--blanco);
}

.contenedor.bg-gray {
    background-color: var(--gris);
}

header {
    width: 100%;
    position: sticky;
    top: 0px;
    z-index: 99;
}
.nav-menu-mobile{
    display: none;
}
header .desktop-header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    height: max-content;
    background-color: var(--azul-basico);
    position: relative;
}

/* header mobile inicio*/

.mobile-header {
    background-color: var(--azul-oscuro);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.mobile-header .logo img {
    height: 50px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.search-container {
    flex-grow: 1;
    margin: 0 15px;
    position: relative;
    display: none;
}

.search-container.active {
    display: block;
    max-width: 50%;
}

.search-container input {
    width: 100%;
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    outline: none;
    background: var(--blanco);
    color: var(--azul-oscuro);
}

.search-icon,
.hamburger-menu {
    font-size: 1.5rem;
    cursor: pointer;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 60%;
    height: calc(100vh - 60px);
    background-color: var(--azul-oscuro);
    transition: right 0.3s ease;
    padding: 20px;
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.mobile-nav ul li {
    margin-bottom: 15px;
    width: 100%;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 2.1rem;
    text-align: left;
    width: 100%;
    display: block;
}

.overlay {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.overlay.active {
    display: block;
}



/* header mobile fin*/
.logo {
    width: 13%;
    height: 100%;
}

.logo img {
    width: auto;
    height: 120px;
    margin-left: 10%;
}

.grupo-header {
    width: 85%;
    z-index: 1;
}

.caja-busqueda {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 80%;
    height: 40%;
    color: var(--blanco);
    padding: 2rem 2rem 0rem 2rem;
    justify-content: space-between;
    width: 100%;
}

input {
    width: 60%;
    height: 55px;

    color: #fff;
    border-color: #fff;
    border-radius: 20px;
    font-size: 28px;
    padding-left: 30px;
    background-color: var(--azul-basico);
}

.grupo-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

select {
    width: 360px;
    height: 30px;
    background-color: var(--azul-basico);
    border: none;
    font-size: 18px;
    color: var(--blanco);
    outline: none;
    border-bottom: 1px solid var(--blanco);
}

option {
    padding: 10px;
    background-color: var(--azul-basico);
}

select::focus {
    border: none;
}

nav {
    width: 100%;
    height: 10%;
}

ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

a {
    text-decoration: none;
    font-size: 24px;
    color: var(--blanco);
}


/* content-body */
.content-body {
    flex-wrap: wrap;
    padding: 4rem 2rem 2rem;
    width: 100%;
    flex-direction: column;
}





/* Categorias */

.categorias {
    position: relative
}

/* SLIDER CATEGORIAS */
.section-categories {
    margin-top: 3rem;
    width: 100%;
    padding: 0 2rem;
}

.section-categories h2 {
    text-align: left;
    font-weight: bold;
    font-size: x-large;
    margin: 0px;
}

.sliderCategory a {
    gap: 0rem;
    text-decoration: none;
    padding: 2rem 0rem;
    transition: all 0.3s ease;
}

.sliderCategory a:hover {
    text-decoration: none;
    transform: scale(1.05);
}

.sliderCategory {
    padding: 2rem 0;
    position: relative;
    max-width: 100%;
    margin: auto;
}

.sliderCategory .swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--gris);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.sliderCategory .swiper-slide img {
    /* border-radius: 100%; */
    overflow: hidden;
    border-radius: 20px;
    background-color: var(--gris);
    /* padding: 1rem; */
}

.sliderCategory a:hover .swiper-slide {
    transform: scale(1.05);
}

.sliderCategory img {
    display: block;
    margin: auto;
    object-fit: cover;
}

.sliderCategory strong {
    color: var(--gris-oscuro);
    font-size: 12px;
    text-align: center;
}

.section {
    width: 100%;
    background-color: var(--gris);

    box-shadow: -5px 1px 8px 0px var(--gris);
    -webkit-box-shadow: -5px 1px 8px 0px var(--gris);
    -moz-box-shadow: -5px 1px 8px 0px var(--gris);
}

.datos {
    display: flex;
    flex-direction: row;
    justify-content: center;

    position: absolute;
    margin-top: -76px;

    width: 88%;
    height: 40px;
}

.info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;

    width: 50%;
    height: 100%;
    background-color: var(--amarillo);

    border-radius: 0 0 8px 8px;
}

.boton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 70px;
    background-color: var(--amarillo);
    border-radius: 8px;
    color: var(--blanco);
}

.quienes {

    font-size: 22px;
    position: relative;
    padding: 90px;
    background-color: transparent;
    width: 100%;
}

/* BANNERS */
.banner {
    max-width: 100%;
    margin: 2rem auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;

}

.banner hr {
    border: 0;
    height: 2px;
    background: var(--gris);
    margin-bottom: 1rem;
    width: 100%;
}

.banner img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    overflow: hidden;
}

.quienes .titulo {
    width: fit-content;
    padding: 1.5rem;
    color: var(--blanco);
    border-radius: 8px;
    background: var(--verde);

    padding: 15px 30px;
    border: none;
    border-radius: 7px;
    box-shadow: 0 5px #388E3C;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quienes .titulo:active {
    box-shadow: 0 2px #388E3C;
    transform: translateY(3px);
}

.quienes .titulo h3 {
    margin: 0px;
}

.quienes p {
    text-align: justify;
}


.publicidad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100%;
    padding: 2rem;
    max-width: 90%;
    margin: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--azul-oscuro) !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 30px !important;
}




/* Footer */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: var(--azul-oscuro);
    color: var(--blanco);
    padding: 2rem;
}




/* ________________________________ header_______________________*/
.flex {
    display: flex;
    gap: 2rem;
}

.flex-col {
    flex-direction: column;
}


.caja-busqueda input {
    width: 100%;
    height: 50px;
    color: #fff;
    border: 4px solid var(--blanco);
    border-radius: 70px;
    font-size: 18px;
    padding-left: 30px;
    background-color: var(--azul-basico);
    outline: none;
}

.caja-busqueda input::placeholder {
    color: var(--blanco);
}

.busqueda {
    width: 100%;
    position: relative;
}

.busqueda .btn-buscar {
    position: absolute;
    right: 20px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    top: 0px;
    bottom: 0px;
    margin: auto;
    cursor: pointer;
}

.busqueda .btn-buscar i {
    color: var(--blanco);
    font-size: 20px;
    width: 100%;
    height: 100%;
    display: flex;
}

.localizacion {
    position: relative;
    align-items: center;
    gap: 2px;
    width: 360px;
    height: 30px;
}

.menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.menu-header ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 90%;
}

.menu-header ul li {
    list-style: none;
}

.menu-header ul li a {
    text-decoration: none;
    font-size: 18px;
    color: var(--blanco);
}

.top_banner {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: -40px;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: max-content;
    padding: 10px 30px;
    height: 40px;
    background-color: var(--amarillo);
    border-radius: 0 0 8px 8px;
    transition: .3s all;
    z-index: 0;
}

.top_banner p {
    margin: 0px;
}

/*-------------------- aside---------------------- */
.publicidad .swiper {
    width: 100%;
    padding-bottom: 5rem;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    margin: auto;
    width: 80%;
    height: 100%;
    object-fit: cover;
}


.swiper-button-next,
.swiper-button-prev {
    color: black !important;
}

.publicidad .swiper-pagination-bullet-active {
    background-color: #000;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 100px;
}

.btn-more {
    padding: 1rem 5rem;
    background-color: yellowgreen;
    color: #000;
    text-decoration: none;
    outline: none;
    margin: 1rem auto;
    border-radius: 30px;
}

.btn-more:hover {
    background-color: green;
    color: #fff;
    transition: .3s all;
    text-decoration: none
}


/* CATEGORIAS */
.client {
    background-color: var(--gris);
    padding: 2rem;
}

.client h1 {
    text-align: center;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--cafe);
}

.container-box {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 3rem;
    background-color: var(--blanco);
    border-radius: 20px;
}

.container-box a {
    text-decoration: none;
    max-width: 20%;
    position: relative;
}

.container-box a:hover {
    text-decoration: none;
}

.container-box a .content-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.container-box a .oculto {
    position: absolute;
    top: 0px;
    left: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.container-box a .oculto span {
    width: 50%;
    padding: 10px 20px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #fff;
}

.container-box a:hover .oculto {
    opacity: 1;
}

.container-box a img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: .3s all;
}

.container-box a h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
    color: var(--verde);
}

.container-box a p {
    font-size: 14px;
    margin: 0;
    color: var(--negro);
    list-style: none;
}

.container-box img.estrellas {
    width: 50%;
    height: auto;
    border-radius: 15px;
}

/* DETALLE CATEGORIA */
.categoria {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.categoria h1 {
    font-size: 4rem;
    font-weight: bold;
    color: var(--cafe);
}

.conten-categoria {
    display: flex;
    gap: 1rem;
}

.info-categoria {
    height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2rem;
    max-width: 40%;
}

.conten-categoria .producto {
    border-radius: 20px;
}

.conten-categoria .estrellas {
    width: 20rem;
    height: auto;
    border-radius: 15px;
}

.conten-categoria .description {
    display: block;
    border: 2px solid var(--gris);
    border-radius: 20px;
}

.conten-categoria .description p {
    padding: 1rem 2rem;
    display: block;
    margin: 0px;
    text-align: justify;
    font-weight: 700;
}

.imgs-categoria .galeria {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: auto;
}

.conten-categoria .botones {
    gap: 0rem;
    width: 100%;
    border-radius: 20px;
    height: fit-content;
    overflow-x: hidden;
}

.conten-categoria .boton {
    border-radius: 0px;
    width: 50%;
    font-weight: bold;
    color: var(--negro);
}

.imgs-categoria .img-product {
    width: 20%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.imgs-categoria .img-product img {
    width: 100%;
}

.imgs-categoria .img-product .overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgs-categoria .img-product:hover .overlay {
    opacity: 1;
}
iframe {
    width: 100%;
    padding: 2rem;
}

@media (min-width: 1600px) {
    .contenedor {
        padding: 4rem 2rem;
        max-width: 90%;
    }
}

@media (min-width: 1024px) {
    .mobile-header {
        display: none;
    }
}

@media (max-width:1024px) {
    .client,
    .contenedor.bg-gray{
        background-color: var(--blanco)!important;
    }
    header {
        max-width: 100%;
    }

    header .desktop-header {
        flex-direction: column;
        width: 100%;
        padding-top: 3rem;
    }

    .logo {
        width: 100%;
        height: auto;
        text-align: center;
        padding: 4rem 1rem;
    }

    .grupo-header.flex.flex-col {
        position: absolute;
        top: 0px;
        width: 100%;
    }

    .caja-busqueda input {
        color: var(--negro);
        height: 85px;
        background-color: var(--blanco);
        font-size: 30px;
    }
    select,
    .caja-busqueda input::placeholder {
        color: var(--negro);
    }

    .busqueda .btn-buscar i {
        color: var(--negro);
        font-size: 40px;
        top: -9px;
        right: 30px;
    }

    .logo img {
        width: 60%;
        height: 100%;
        margin: auto;
        margin-bottom: 5rem;
    }

    section.caja-busqueda.flex {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .top_banner.flex {
        max-width: 100%;
        padding: 0rem;
    }

    nav.menu-header.flex {
        display: none;
    }

    .content-body {
        flex-direction: column;
        flex-wrap: nowrap;
        max-width: 100%;
        padding: 8rem 2rem 2rem;
    }

    .categorias,
    .quienes,
    .publicidad {
        width: 100%;
        margin: auto;
        max-width: 100%;
    }

    .quienes {
        padding: 3rem;
    }

    .swiper {
        width: 100%;
        /* height: 300px; */
    }

    .sticky .logo img {
        opacity: 0;
    }

    .logo,
    .desktop-header {
        background: #75B8DC;
        background: linear-gradient(-180deg, rgba(117, 184, 220, 1) 0%, rgba(117, 184, 220, 1) 33%, rgba(255, 255, 255, 1) 100%);
    }

    .sticky .logo,
    .sticky .desktop-header {
        height: 250px;
        background: #75B8DC;
        background: linear-gradient(-180deg, rgba(117, 184, 220, 1) 0%, rgba(117, 184, 220, 1) 33%, rgba(255, 255, 255, 1) 100%);
    }

    select {
        background-color: transparent;
    }

    .localizacion.flex select {
        font-size: 35px;
        width: 100%;
        height:auto;
    }
    select option{
        font-size: 20px;
    }
    .sticky .localizacion.flex select {
        color:var(--negro)
    }
    i.glyphicon.glyphicon-map-marker{
        color:var(--negro);
    }

    .localizacion.flex {
        width: 50%;
        height:auto;
        font-size: x-large;
    }

    .correo.flex,
    .telefono.flex {
        align-items: center;
        font-size: 22px;
    }

    .correo.flex,
    .telefono.flex {
        align-items: center;
        font-size: 22px;
        background: var(--amarillo);
        width: 50%;
        justify-content: center;
        padding: 10px;
    }
    .telefono.flex{
        border-radius: 0 20px 20px 0!important;
    }
    .correo.flex{
        border-radius: 20px 0 0 20px!important;
    }
    .top_banner p {
        font-size: 26px;
    }

    .top_banner.flex {
        gap: 1rem;
        background: transparent;
        justify-content: space-between;
        text-align: center;
        bottom: 0px;
    }
    .sliderCategory strong{
        font-size: 21px;
    }
    .container-box a {
        width: 45%;
        max-width: 45%;
    }
    .nav-menu-mobile{
        position: sticky;
        bottom: 0px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        display: block;;
    }
    .nav-menu-mobile ul{
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 2rem;
        margin: 0;
        list-style: none;
    }
    .nav-menu-mobile a{
        justify-content: center;
        align-items: center;
        padding: 1rem;
        color: var(--gris-oscuro);
    }
    .nav-menu-mobile a.active{
        color: var(--azul-oscuro);
    }

    .container-box{
        justify-content: space-between;
    }

    .conten-categoria {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .info-categoria{
        width: 100%;
        max-width: 100%;
        text-align: center;
        height: auto;
        padding: 0;
    }
    .conten-categoria .producto{
        width: 100%;
        max-width: 100%;
        text-align: center;
        height: auto;
        border-radius: 0%;
    }
    .categoria h1{
        text-align: left;
    }
}
