@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --primary-color:#D9534F;
    --background-color:#FFF5E1;
    --dark-color:#151515;
    --blog-background: #fceceb
}

html{
    font-size:62.5%;
    font-family:'Poppins', sans-serif;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


.comtainer{
    max-width: 120rem;
    margin: 0 auto;
}

.headig-1{
    text-align: center;
    font-weight: 500;
    font-size: 3rem;
}

.comtainer-hero{
    background-color: var(--background-color);
}

.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}
.customer-support{
    display: flex;
    align-items: center;
    gap: 2rem;
}
.customer-support i{
    font-size: 3.3rem;
}
.content-customer-support{
    display: flex;
    flex-direction: column;
}
.comtainer-logo{ 
    display: flex;
    align-items: center;
    gap: .5rem;
}
.comtainer-logo i {
    font-size: 3rem; 
}
.comtainer-logo h1 a{
    text-decoration: none;
    color: var(--dark-color);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.comtainer-user {
  display: flex;
  gap: 1rem;
  cursor: pointer;
}
.comtainer-user .fa-user {
  font-size: 3rem;
  color: var(--primary-color);
  padding-right: 2.5rem;
  border-right: 1px solid #D9534F
}

.comtainer-user .fa-basket-shopping {
  font-size: 3rem;
  color: var(--primary-color);
  padding-left: 1rem;
}
.content-shopping-cart{
    display: flex;
    flex-direction: column;
}


.comtainer-navbar{
    background-color: #D9534F;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}
.navbar .fa-bars{
    display: none;
}
.menu {
    display: flex;
    gap: 2rem;
}

.menu li{
    list-style: none;
}

.menu a{
    text-decoration: none;
    font-size: 1.3rem;
    color: var(--dark-color);
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}
.menu a::after{
    content: '';
    width: 1.5rem;
    height: 1px;
    background-color: #fff;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%,50%);
    opacity: 0;
    transition: all .3s ease;
}
.menu a:hover::after{
    opacity: 1;
}
.menu a:hover{
    color: var(#fff);
}

.search-form{
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid var(--dark-color);
    border-radius: 2rem;
    background-color: #fff;
    height: 4.4rem;
    overflow: hidden;
}

.search-form input{
    outline: none;
   font-family: inherit;
   border: none;
   width: 25rem ;
   font-size: 1.4rem;
   padding: 0 2rem;
   color: #777;
   cursor: pointer;
}

.search-form input::-webkit-search-cancel-button{
   appearance: none;
}

.search-form .btn-search{
   border: none;
   background-color: #D9534F;
   display: flex;
   align-items: center;
   justify-content: center;
   height: 100%;
   padding: 1rem;
}
.btn-search i{
    font-size: 2rem;
    color: #fff;
}
/* BANER */
.banner {
background-repeat: no-repeat;
transition: background-image 1s ease-in-out;    
height: 60rem;
background-size: cover;
background-position: center;
}

.content-banner{
    max-width: 90rem;
    margin: 0 auto;
    padding: 25rem 0;
}
.content-banner p{
    color: #D9534F;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.content-banner h2{
    color: #fff;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.2;
}
.content-banner a{
  margin-top: 2rem;
  text-decoration: none;
  color: #fff;
  background-color: #D9534F;
  display: inline-block;
  padding: 1rem 3rem;
  text-transform: uppercase;
  border-radius: 3rem;
}

.main-content{
    background-color: #f57a7a20;
}

.comtainer-features{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 3rem 0;
}

.card-feature{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;

    background-color: #fff;
    border-radius: 1rem;
    padding: 1.5rem 0;
}

.card-feature i{
    font-size: 2.7rem;
    color: var(--primary-color);
}

.feature-content{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.feature-content span{
    font-weight: 700;
    font-size: 1.2rem;
    color: #151515;
}
.feature-content p{
    color: #777;
    font-weight: 500;
}


.top-categories{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}
.comtainer-categories{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.card-category{
    height: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    gap: 2rem;
}

.category-cítricos{
    background-image: linear-gradient(100deg, #00000080, #00000080), url("https://i.pinimg.com/736x/39/c1/80/39c180a50538846673fe31b50d596cb1.jpg");
    background-size: cover;
    background-position: bottom ;
    background-repeat: no-repeat;
}
.category-frutales{
    background-image: linear-gradient(100deg, #00000080, #00000080), url("https://i.pinimg.com/736x/78/9f/5b/789f5b6d3bcbb146fa66312201c8cf35.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.category-fresa{
    background-image: linear-gradient(100deg, #00000080, #00000080), url("https://i.pinimg.com/1200x/f5/ec/43/f5ec4341029e29e7182b1c0997337f1a.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-category p{
    font-size: 2.5rem;
    color: #fff;
    text-transform: capitalize;
    position: relative;
}

.card-category p::after{
    content: '';
    width: 2.5rem;
    height: 2px;
    background-color: #fff;
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translate(-50%,50%);
}

.card-category a{
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
.card-category a:hover{
   color: var(--primary-color); 

}


.top.products{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.comtainer-options{
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.comtainer-options span{
    color: #777;
    background-color: #fff;
    padding: .7rem 3rem;
    font-size: 1.4rem;
    text-transform: capitalize;
    border-radius: 2rem;
    cursor: pointer
}
.comtainer-options span:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.comtainer-options span.active{
    background-color: var(--primary-color);
    color: #fff;
}

.comtainer-products{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
}

.card-product{
    background-color: #fff;
    padding: 2rem 3rem;
    border-radius: .5rem;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0,0,0,.1);
}

.comtainer-img{
    position: relative;
    font-size: 2rem;
}
.comtainer-img img{
    width: 100%;
}

.comtainer-img .discount{
    position: absolute;
    left: 0;
    background-color: #D9534F;
    color: #fff;
    padding: 2px 1.2rem;
    border-radius: 1rem;
    font-size: 1.2rem;
}
.card-product:hover .discount{
    background-color: #000;
}
.button-group{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
    position: absolute;
    top: 0 ;
    right: -3rem;
    z-index: -1 ;
    transition: all .4s ease;
}
.button-group span{
    border: 1px solid var(--primary-color);
    padding: .8rem;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all .4s ease;
}
.button-group span:hover{
    background-color: var(--primary-color);
}

.button-group span i{
    font-size: 1.5rem;
    color: var(--primary-color);
}

.button-group span:hover i{
    color: #fff;
}
.card-product:hover .button-group{
    z-index: 0;
    right: -1rem;
}
 .content-card-product{
    display: grid;
    justify-items:center ;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, min-content);
    row-gap: 1rem;
 }

 .stars{
    grid-row: 1 / 2;
    grid-column: 1 / -1;
 }

 .stars i{
   font-size: 1.3rem;
   color: #D9534F;
 }
.content-card-product h3{
    grid-row: 2 / 3;
    grid-column: 1/-1;

    font-weight: 400;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.content-card-product h3:hover{
    color: var(--primary-color);
}

.add-cart{
    justify-self: start;
    border: 2px solid var(--primary-color);
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all .4s ease ;
    
    display: flex;
    align-items: center;
    justify-content: center;

}

.add-cart:hover{
    background-color: var(--primary-color);
}
.add-cart i{
    font-size: 1.5rem;
    color: var(--primary-color);
}
.add-cart:hover i{
    color: #fff;
}
.content-card-product .price{
    justify-self: end;
    align-self: center;

    font-size: 1.7rem;
    font-weight: 600;
}
.content-card-product .price span{
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: line-through;
    color: #777;
    margin-left: 5rem;
}

/*               GALLERY               */

.gallery{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 30rem);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-img-3{
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

/*               SPECIALS              */

.specials{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

/*               BLOGS              */

.blogs{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.comtainer-blogs{
    display: grid;  
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.card-blog{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.card-blog .comtainer-img{
   border-radius: 2rem;
   cursor: pointer;
   position: relative;
   overflow: hidden;
}

.button-group-blog{
    position: absolute;
    bottom: 1.5rem;
    right: -2.5rem;
    
    font-size: 2em;
    display: flex;
    gap: 0.7rem;
    z-index: -1;
    transition: all .3s ease;
}

.card-blog:hover .button-group-blog {
    z-index: 0;
    right: 1.5rem;}

.button-group-blog span{
    background-color: #fff;
    padding: 1rem;
    border-radius: 50%;
    transition: all .4s ease;

    display: flex;
    align-items: center;
    justify-content: center;
}

.button-group-blog span i{
    font-size: 1.3rem;
}
.button-group-blog span:hover{
    background-color: var(--primary-color);
}
.button-group-blog span:hover i{
    color: #fff;
}

.content-blog h3{
    font-size: 1.8rem;
    margin-bottom: 1.7rem;
    color: var(--dark-color);
    font-weight: 500;
}

.content-blog h3:hover{
    color: var(--primary-color);
    cursor: pointer;
}
.content-blog p{
    margin-top: 1rem;
    font-size: 1.4rem;
    color: #777;
}   
.content-blog span{
    color: var(--primary-color);
    font-size: 1.3rem;
}
.btn-read-more{
    padding: 1rem 3rem;
    background-color: var(--primary-color);
    color: #fff;
    text-transform: uppercase;
    font-size: 1.4rem;
    border-radius: 2rem;
    margin: 3rem 0 5rem;
    display: inline-block;
    cursor: pointer;
}

.btn-read-more:hover{
    background-color: #000;
}
/*               FOOTER              */
.footer{
    background-color: var(--primary-color);

 
  padding: 20px 0;           /* Espaciado interno (mantiene bien el texto) */
  margin-top: 40px;  
}

.comtainer-footer{
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 3rem;
}
.menu-footer{
    display: grid;
    grid-template-columns: repeat(3, 1fr) 30rem;
    gap: 3rem;
    justify-items: center;
}

.title-footer{
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
    color:#000;
    font-weight: b;
}

.contact-info,
.information,
.my-account,
.newsletter{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: #fff;
}

.contact-info ul,
.information ul,
.my-account ul{
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.contact-info ul li,
.information ul li,
.my-account ul li{
    list-style: none;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
}

.information ul li a,
.my-account ul li a{
    text-decoration: none;
    color: #fff;
    font-weight: 300;
}

.information ul li a:hover,
.my-account ul li a:hover{
    color: var(--dark-color);
}

.social-icons{
    display: flex;
    gap: 1.5rem;
}

.social-icons span{
    border-radius: 50%;
    width: 3rem;
    height: 3rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons i{
    color: #fff;
    font-size: 1.2rem;
}

.facebook{
    background-color: #3b5998;
}

.twitter{
    background-color: #00acee;
}

.youtube{
    background-color: #c4302b;
}

.pinterest{
    background-color: #c8232c;
}

.instagram{
    background: linear-gradient(
        #405de6,
        #833ab4,
        #c13584,
        #e1306c,
        #fd1d1d,
        #f56040,
        #fcaf45
    );
}

.content p{
    font-size: 1.4rem;
    color: #fff;
    font-weight: 300;
}

.content input{
    outline: none;
    background: none;
    border: none;
    border-bottom: 2px solid #d2b495;
    cursor: pointer;
    padding: 0.5rem 0 1.2rem;
    color: var(--dark-color);
    display: block;
    margin-bottom: 3rem;
    margin-top: 2rem;
    width: 100%;
    font-family: inherit;
}

.content input::-webkit-input-placeholder{
    color: #eee
}

.content button{
    border:  none;
    background-color: #000;
    color: #fff;
    text-decoration: uppercase;
    padding: 1rem 3rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-family: inherit;
    cursor: pointer;
    font-weight: 600;
}

.content button:hover{
    background-color: var(--background-color);
    color: var(--primary-color);
}

.copyright{
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;

    border-top: 1px solid #d2b495;
}


.copyright p{
    font-weight: 400;
    font-size: 1.6rem;
}


@media (max-width: 768px){
    
    html{
        font-size: 55%;
    }

    .hero{
        padding: 2rem;
    }

    .customer-support{
        display: none;
    }

    .content-shopping-cart{
        display: none;
    }

    .navbar{
        padding: 1rem 2rem;
    }

    .navbar .fa-bars{
        display: block;
        color: #fff;
        font-size: 3rem;
    }

    .menu{
        display: none;
    }

    .content-banner{
        max-width: 50rem;
        margin: 0 auto;
        padding: 25rem 0;
    }
    .comtainer-features{
        grid-template-columns: repeat(2, 1fr);
        padding: 3rem 2rem;
    }

    .card-feature{
        padding: 2rem;
    }

    .headig-1{
        font-size: 2.4rem;
    }

    .card-category{
        height: 12rem;
    }

    .card-category p{
        font-size: 2rem;
        text-align: center;
        line-height: 1;
    }

    .card-category span{
        font-size: 1.4rem;
    }

    .comtainer-options{
       align-items: center; 
    }

    .comtainer-options span{
       text-align: center;
       padding: 1rem 2rem;
    }

    .comtainer-products{
       grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    }

    .gallery{
       grid-template-rows: repeat(2, 15rem);
    }
    
    .comtainer-blogs{
        overflow: hidden;
        grid-template-columns: 1fr 1fr;

        height: 52rem;
    }

    .menu-footer{
        grid-template-columns: repeat(2,1fr);
    }

    .copyright{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
    }
}


@media (max-width: 468px){

    html{
        font-size: 42.5%;
    }

    .content-banner{
        max-width: 50rem;
        padding: 22rem 0;
    }

    .headig-1{
        font-size: 2.8rem;
    }

    .card-feature{
        flex-direction: column;
        border-radius: 2rem;  
    }
    .feature-content{
        align-items: center;
    }
    .feature-content p{
        font-size: 1.4rem;
        text-align: center;
    }
    
    .feature-content span{
        font-size: 1.6rem;
        text-align: center;
    }
    
    .comtainer-options span{
       font-size: 1.8rem;
       padding: 1rem 1.5rem;
       font-weight: 500;
    }
    
    .comtainer-products{
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
        gap: 1rem;
    }

    .comtainer-img .discount{
        font-size: 2rem;
    }

    .content-card-product h3{
        font-size: 2.2rem;
    }

    .gallery{
        grid-template-rows: repeat(2, 20rem);
    }

    .blogs{
        padding: 2rem;
    }

    .comtainer-blogs{
        grid-template-columns: 1fr;
        height: 75rem;
    }
    
    .content-blog h3{
        font-size: 2.4rem;
    }

    .content-blog span{
        font-size: 1.8rem;
    }

    .content-blog p{
        font-size: 2.2rem;
    }

    .btn-read-more{
        font-size: 1.8rem;
    }

    .contact-info ul,
    .information ul,
    .my-account ul{
        display: none;
    }
    
    .contact-info{
        align-items: center;
    }

    .menu-footer{
        grid-template-columns: 1fr;
    }

    .content p{
        font-size: 1.6rem;
    }
 

    

}

.card-blog .comtainer-img img,
.blog-img-grande {
  width:  375px !important;     /* Ajusta el ancho */
  height: 300px !important;    /* Ajusta la altura */
  object-fit: cover !important; /* Recorta sin deformar */
  border-radius: 15px;
  display: block;
  margin: 0 auto;
}
.cart-box {
  position: fixed;
  top: 90px;
  right: 20px;
  width: 280px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
}

.cart-box.show{
  display: block;
}

.cart-box h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-align: center;
}

.cart-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  max-height: 150px;
  overflow-y: auto;
}

.cart-box li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: .9rem;
}

.cart-box button {
  width: 100%;
  padding: 10px;
  background: #ff4081;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.cart-box button:hover {
  background: #e73370;
}

.payment-card {
  display: none;  
  border-top: 1px solid #eee;
  padding-top: 10px;
  text-align: center;
  margin-top: 15px;
}

.payment-card {
  border-top: 1px solid #eee;
  padding-top: 10px;
  text-align: center;
  margin-top: 15px;
}

.payment-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}

.payment-card img.qr-img {
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.payment-card p {
  font-size: 0.9rem;
  margin: 5px 0;
  color: #444;
}

.payment-card .efectivo,
.payment-card .bcp {
  margin-top: 12px;
}

.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  left: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float i {
  margin-top: 12px;
}


#login-modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.login-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

.login-content h2 {
  margin-bottom: 20px;
  color: #D9534F;
  font-size: 3em;
}

.login-content label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  color: #D9534F;
  font-weight: 600;
  font-size: 2  em;
}

.login-content input {
  width: 100%;
  padding: 10px;
  border: 1px solid #bbb;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 15px;
}

.login-content button {
  width: 100%;
  background: #D9534F;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.login-content button:hover {
  background: #764803;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  cursor: pointer;
  color: #af3e3e;
  width: 3em;
}

.close:hover {
  color: #000;
}

.registro {
  margin-top: 10px;
  font-size: 14px;
}

.registro a {
  color: #D9534F;
  text-decoration: none;
}

.registro a:hover {
  text-decoration: none;
  color:var(--dark-color);
  transition:color .5s  
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}


