/*====================================
SLIDER
=====================================*/

/*****************************************************/
/*SLIDER*/
section#slider{
    height: 60vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}


section#slider .fade div{
    width: 100vw;
    height: 60vh;
    overflow: hidden;
    animation: animate 40s linear infinite;
    -webkit-animation: animate 40s linear infinite;
    animation-name: animate-1;
    position: relative;
}


/* 
section#slider .slide1{
   background-image:url("../img/slider/slide1.png");
   background-position: center;
   background-size: cover;

} */
/* section#slider .slide2{
    background-image:url("../img/slider/slide2.png");
    background-position: center;
    background-size: cover;
 } */
 /* section#slider .slide3{
    background-image:url("../img/slider/slide3.png");
    background-position: center;
    background-size: cover;
 }
 section#slider .slide4{
    background-image:url("../img/slider/slide4.png");
    background-position: center;
    background-size: cover;
 }
 section#slider .slide5{
    background-image:url("../img/slider/slide5.png");
    background-position: center;
    background-size: cover;
 } */
 /* section#slider .slide1,
 section#slider .slide2, 
 section#slider .slide3, section#slider .slide4, section#slider .slide5{
    display: flex;
    justify-content: center;
    align-items: center;
    
 } */
 section#slider .slide1 img,
 section#slider .slide2 img,
 section#slider .slide3 img,
 section#slider .slide4 img,
 section#slider .slide5 img{
    width: 100%;
    height: 100%;
 }


 .imgcell{
    display: none;
}
/*====================================
CATEGORIAS
=====================================*/

.container {
    max-width: 1300px;
    margin: 0 auto;
}
.container .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.container .header h2 {
    font-size: 24px;
    margin: 0;
}
.container .header a {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.container .header a::after {
    content: "→";
    margin-left: 5px;
}
.container .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.container .product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.container .product-card.yellow { background-color: #22353e9f; color: #22353e; }
.container .product-card.pink { background-color: #4c4c4b8b; color: #4c4c4b; }
.container .product-card.blue { background-color: #222d578a; color: #222d57; }
.container .product-card.gray { background-color: #2e2f328b; color: #2e2f32; }
.container .product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-card.gray .product-description{color: #2e2f32;}
.product-card.blue .product-description{color: #222d57;}
.product-card.yellow .product-description{color: #22353e;}
.product-card.pink .product-description{color: #4c4c4b;}
.container .product-title {
    font-size: 1.6em;
    margin: 0 0 10px 0;
    font-family: "Kaushan Script", cursive;
}
.container .product-description {
    margin: 0 0 15px 0;
    flex-grow: 1;
}
.product-card.gray .product-link{color: #2e2f32;}
.product-card.blue .product-link{color: #222d57;}
.product-card.yellow .product-link{color: #22353e;}
.product-card.pink .product-link{color: #4c4c4b;}
.container .product-link {
    
    text-decoration: underline;
    font-weight: bold;
    font-size: 0.9em;
}
.container .product-image {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}
.container .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}





/*====================================
ALGUNAS COSAS QUE DEBES SABER
=====================================*/
.know{
    background-color: #f5f5f5;
    width: 100%;
}

.container_know {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}
.container_know h1 {
    text-align: center;
    color: #333;
    margin-bottom: 5px;
}
.container_know .subtitle {
    text-align: center;
    color: var(--color3);
    margin-top: 0;
    margin-bottom: 40px;
}
.container_know .info-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.container_know .info-item {
    flex-basis: 22%;
    text-align: center;
    margin-bottom: 20px;
}
.container_know .icon {
    background-color: var(--secundario);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    font-size: 24px;
}
.container_know .info-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.container_know .info-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}







/*====================================
PERSONALIZA
=====================================*/

.personalization-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.content {
    flex: 1;
    padding-right: 40px;
}
h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}
p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secundario);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #46b8da;
}
.image-container {
    flex: 1;
    text-align: right;
}
.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .personalization-section {
        flex-direction: column;
        text-align: center;
    }
    .content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    .image-container {
        text-align: center;
    }
}





/*====================================
CAROUSEL
=====================================*/
.carousel-container {
        width: 100%;
            /* max-width: 1200px; */
            margin: 0 auto;
            padding: 20px;
        }
        h2 {
            text-align: center;
            color: #333;
        }
        .subtitle {
            text-align: center;
            color: var(--primario);
            margin-bottom: 20px;
        }
        .logo-carousel {
            position: relative;
            overflow: hidden;
        }
        .logo-slide {
            display: flex;
            transition: transform 0.5s ease;
        }
        .logo-item {
            flex: 0 0 15%;
            /* min-width: 100px; */
            padding: 10px;
            box-sizing: border-box;
        }
        .logo-item img {
            width: 60%;
            height: auto;
            object-fit: contain;
        }
        
        @media (max-width: 768px) {
            .logo-item {
                flex: 0 0 50%;
            }
        }



        
/* Media Queries para dispositivos móviles */
@media only screen and (max-width: 768px) {
    
    .container{
        width: 90%;
        
    }
    .container .header{
        padding: 30px 0;
    }

    /*SLIDER*/
    section#slider{
        height: 35vh;
        width: 100%;
        overflow: hidden;
        position: relative;
    }


    section#slider .fade div{
        width: 100%;
        height: 35vh;
        overflow: hidden;
        animation: animate 40s linear infinite;
        -webkit-animation: animate 40s linear infinite;
        animation-name: animate-1;
        position: relative;
        

    }
    

    .logo-item img {
        width: 30%;
        height: auto;
        object-fit: contain;
    }
    


  }
  
  @media (max-width: 550px) {

     /*SLIDER*/
     section#slider{
        height: 60vh;
    }
    
     section#slider .fade div{
        width: 100%;
        height: 60vh;
     }
     
    section#slider .slide1,
    section#slider .slide2, 
    section#slider .slide3
    section#slider .slide4,
    section#slider .slide5{

        height: 100%;
    }

    section#slider .imgcell{
        display: block;
    }

    section#slider .imgpc{
        display: none;
    }
    /* section#slider .slide1,
    section#slider .slide2, 
    section#slider .slide3, section#slider .slide4, section#slider .slide5{
        background-size: cover;
    }
 */


  
    .container_know {
        flex-direction: column;
        
    }
 

    .logo-item img {
        width: 80%;
        height: auto;
        object-fit: contain;
    }

    .container_know .info-grid{
        flex-direction: column;
    }
  
    .container_know .info-item{
        margin-bottom: 5px;
    }
  }