/* Fuente MONTSERRAT*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


*{
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.menu_principal{

    display: flex;
    justify-content: space-between;
    z-index: 1;
    position: fixed;
    width: 100%;
    height: 80px;
    background-color:white;
    box-shadow: 0px 0px 10px rgb(0, 0, 0,0.3);
    
}

.espacio{
    width: 100%;
    height: 85px;
}

.contenedor_logo{
    display: flex;
   
    margin-left: 10vw;
    align-items: center;
    
}

.menu_logo{

    height: 65px;
    width:65px;
}

.contenedor_contenido{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 150px;
    margin-right: 10vw;
    
}

.contenedor_canasto{
    height: 100%;
    width: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    
    margin-right:30px;
   
}

.contenedor_buscar{
    margin-right: 20px;
    
    height: 100%;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi-search{
    color: #54855c; 
    font-size: 22px;
    transform: scale(1.2); 
    margin-bottom: 5px;

    cursor: pointer;
}

.bi-basket {
    font-size: 32px;
    color: #54855c;
    animation: shake 12s ease-in-out infinite; /* Animación de sacudida, 2 segundos con un movimiento suave */
    margin-bottom: 2px;
}

/* Definimos la animación para sacudir */
@keyframes shake {
    0% {
        transform: translateX(0); 
    }
    3% {
        
        transform: rotate(-25deg);
    }
    6% {
      
        transform: rotate(25deg);
    }
    9% {
        
        transform: rotate(-25deg);
    }
    12% {
        
        transform: rotate(25deg);
    }
    15%{
        transform: translateX(0); 
    }

}


.hamburguesa{
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 24px;
  
    cursor: pointer;
}

.contenedor_hamburguesa{
    display: flex;
    height: 100%;
    align-items: center;
    
}


.hamburguesa span{
    display: block;
    
    margin-bottom: 6px;
    width: 98%;
    height: 2px;
    
    background-color: #4b4b4b;
    transition: all 0.3s ease; 
}


.hamburguesa.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburguesa.active span:nth-child(2) {
    opacity: 0; 
}
.hamburguesa.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu_buscar {
    position: fixed;
    z-index: 0;
    top: -100%; 
    width: 100%;
    border-radius: 0 0 20px 20px;
    height: 85px; 
    background-color: white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.4s ease; 
    margin-right: 20%;
}

.menu_buscar.active {
    top: 80px; 
    z-index: 1;
}

.menu_buscar p {
    font-size: 14px;
    color: #4b4b4b;
}

.buscar_input {
    width: 60%;
    height: 40px;
    padding: 0 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.buscar_input:focus {
    box-shadow: 0 0 5px #54855c;
}

.icono_filtro_orden{
    
    font-size: 20px;
    width: 35px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 2px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}


.icono_filtro_orden:hover {
    background-color: #f0f0f0;
}


.overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Fondo gris claro */
    z-index: 9; /* Fondo detrás del menú */
    justify-content: center;
    align-items: center;
}


.orden_opciones {
    display: none; /* Oculto por defecto */
    position: relative;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10; /* Capa por encima */
    width: 300px;
    padding: 20px;
    text-align: center;
}


.overlay.active {
    display: flex;
}

.orden_opciones.active {
    display: block;
}


.orden_opciones .opcion {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #4b4b4b;
    transition: background-color 0.3s ease;
}

.orden_opciones .opcion:hover {
    background-color: #f4f4f4;
    color: #000;
}

.contenedor_categorias {
    display: block;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10; 
    width: 300px;
    padding: 20px;
    flex-direction: column;
    text-align: center;
}


.contenedor_categorias.active {
    display: flex;
    
}

.categoria {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #4b4b4b;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.categoria:hover {
    background-color: #f0f0f0;
}

.categoria.active {
    border-color: #4b4b4b;
    font-weight: bold;
    background-color: #ffffff;
    color: #000;
}

.icono_filtro_categorias{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    width: 40px;
    height: 40px;
    background-color: #f9f9f9;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.icono_filtro_categorias:hover {
    background-color: #f0f0f0;
}

.icono_filtro_categorias i {
    font-size: 20px;
    color: #4b4b4b;
}


.menu_hamburguesa{
    position: fixed;
    z-index: 0;
    display: flex;
    justify-content: center;
    right: 9vw;
    top: -100%; /* Ocultamos fuera de la pantalla (ajusta según el ancho del menú) */
    height: 190px;
    margin-top: 80px;
    width: 150px;
    background-color:white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    border-radius: 0px 0px 10px 10px;
    transition: top 0.4s ease; /* Transición suave en 0.5 segundos */
}

.menu_hamburguesa.active {
    top:0;
    z-index: 1;
}


.enlaces a{
    text-decoration: none;
    
}

.texto_link{
    color: rgb(68, 67, 67);
    margin-top: 30px;
    font-size: 16px;
    font-weight: 450;
    transition:0.2s ease;
    
}

.enlaces a:hover p{
    transform: scale(1.2);
}

.span_menu_hamburguesa {
    display: block;
    margin-top: 10px;
    width: 50%; 
    height: 2%; 
    background-color: #67bf9f; 
    border-radius: 3px; 
    transition: all 0.3s ease; 
}

.enlaces a:hover .span_menu_hamburguesa {
    width: 100%;
}


.container {
    width: 100%;
    overflow-x: hidden; /* Ocultar las barras de desplazamiento */
    margin-top: 20px;
}


.card-container {
    display: flex;
    flex-wrap: nowrap;
    user-select: none; /* Evitar la selección accidental del texto */
    overflow-x: auto; 
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Suaviza el desplazamiento en dispositivos iOS */
    padding-bottom: 10px; /* Espacio extra al final */
    scrollbar-width: none; /* Elimina la barra de desplazamiento en Firefox */
    scroll-behavior: smooth; /* Desplazamiento suave */
    scroll-snap-type: x mandatory; /* Controla el "enganche" del desplazamiento */
    scroll-padding-left: 10px; /* Agregar algo de espacio en el inicio para el snap */
}

.card-container1 {
    display: flex;
    flex-wrap: wrap;
    padding-left: 15px;
    gap: 5px;
    justify-content: center;
   
}

.card-container::-webkit-scrollbar {
    display: none; /* Barra de desplazamiento más delgada */
}

.card-container::-webkit-scrollbar-thumb {
    background-color: #ddd; /* Color de la barra de desplazamiento */
    border-radius: 4px;
}

.card-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color de fondo de la barra de desplazamiento */
}

/* Puedes ajustar el comportamiento de los elementos dentro del contenedor */
.card-item {
    scroll-snap-align: start; /* Asegura que cada ítem se alinee correctamente */
}

.card {
    width: 210px; /* Ancho de cada tarjeta */
    height: 210px;
    margin-right: 15px; /* Espaciado entre las tarjetas */
    flex-shrink: 0; /* Evitar que las tarjetas se reduzcan */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    padding: 5px;
}

.card-title {
    font-size: 12px;
    margin-bottom: 2px;
}

.card-category {
    font-size: 11px;
    color: #777;
    margin-bottom: 2px;
}

.card-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5px;
    padding-top: 5px;
    padding-bottom: 10px;
    margin-top: auto; /* Empuja el footer hacia abajo */
}

.card-price {
    font-weight: bold;
    font-size: 12px;
    color: #2d572c;
    margin-right: auto;
}

.card-buttons button {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}


/* Precio del producto */
.card-price {
    font-weight: bold;
    font-size: 16px;
    color: #2d572c; /* Verde intenso para el precio */
}

/* Botones */
.card-buttons button {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

/* Botón "Añadir" - estilo normal */
.card-buttons .btn-outline-success {
    background-color: #979b8d; /* Verde intenso */
    color: white;
}

/* Botón "Añadir" - hover */
.card-buttons .btn-outline-success:hover {
    background-color: #2ecc71; /* Verde claro */
    color: white;
}



.banner-info {
    width: 100%;
    height: 110px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    
    background-color: rgb(252, 252, 252);
    border-radius: 15px;

    position: relative;
    overflow: hidden; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}



.banner-label {
    
    position: absolute;
    top: 15px;
    left: 25px;
    background-color:#979b8d; /* Verde pastel */
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    text-transform: uppercase;
    
}

/* Contenido del texto */
.banner-contenido-info {
    animation: slideInLeft 1s ease-out forwards; /* Animación al cargar */
    opacity: 0; /* Oculta inicialmente el contenido */
    
}

/* Estilo del texto */
.banner-contenido-info p {
    font-weight: 500;
    font-size: 22px;
    margin-top: 30px;
    color: rgba(46, 131, 40, 0.9); /* Verde pastel más intenso */
}

/* Forma decorativa en la parte inferior derecha */
.banner-shape {
    position: absolute;
    bottom: -40px;
    right: 150px;
    width: 150px;
    height: 150px;
    background-color: rgba(46, 131, 40, 0.1); /* Verde claro con transparencia */
    border-radius: 50%;
    z-index: 0; /* Detrás del texto */
}

/* Animación para el texto */
@keyframes slideInLeft {
    from {
        transform: translateX(-50%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}





/* Responsividad */
@media (max-width: 920px) {


    .banner-shape {
        width: 120px;
        height: 120px;
        bottom: -30px;
        right: -30px;
    }



    .card {
        width: 200px;  
        height: 300px; 
       
    }

    
    .card-img {
        height: 160px;  
    }



}


/* BOTON VER MÁS */

.button-container {
    text-align:right;
    margin-right: 45px;
}

.ver-mas-btn {
    margin-top: 15px;
    background-color: #b9d8b2; /* Verde pastel */
    color: #fff;
    padding: 5px 20px;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid #b9d8b2;
    border-radius: 30px 0px 30px 0px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}




@media (max-width: 420px) {

    .card {
        width: 150px;
         /* Ancho reducido */
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
       
    }
    
    /* Estilo de la imagen */
    .card-img {
        width: 100%;
        height: 60%;  /* Ajuste proporcional para la imagen */
        object-fit: cover;
    }
    
    /* Estilos para el cuerpo de la tarjeta */
    .card-body {
        flex-grow: 1;
        padding: 5px;
        display: flex;
        flex-direction: column;
    }
    
    /* Título y categoría */
    .card-title {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .card-category {
        font-size: 11px;
        color: #777;
        margin-bottom: 2px;
    }
    
    /* Descripción del producto */
    .card-description {
        font-size: 9px;
        color: #333;
        flex-grow: 1;
        margin-bottom: 5px;
    }
  
    
    /* Precio del producto */
    .card-price {
       
        font-size: 12px;
           
    }
    
    /* Botones */
    .card-buttons button {
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 4px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s, color 0.3s;
    }
    
    .button-container {
        text-align:right;
        margin-right: 25px;
    }
    
    .ver-mas-btn {
        margin-top: 10px;
        font-size: 10px;
        
    }


}


.contenedor_campaña {
    width: 100%;
    height: 230px;
    background-color: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    position: relative; /* Necesario para posicionar los círculos */
}

/* ✅ Pequeños círculos decorativos */
.circulo {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0.5; /* Hace que sean más sutiles */
}

.circulo1 {
    background-color: #a3b48b; /* Rosa pastel */
    top: 10px;
    left: 10px;
}

.circulo2 {
    background-color: #a3b48b; /* Verde pastel */
    bottom: 10px;
    right: 10px;
}

.cuadro_campaña {
    height: 100%;
    width: 40%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    flex-direction: column;
    gap:2px;
    margin-left: 10px;
}

.texto_campaña {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 500;
    padding-right: 10px;
    padding-left: 10px;
    color: #6ca6d6;

    
}

.texto_campaña2 {
    position: relative;
    padding: 8px;
    font-size: 14px;
    font-style: oblique;
    color: white;
    background-color: #979b8d;
    border-radius: 8px;
    font-weight: 500;
    overflow: hidden; 
    
}

.texto_campaña2::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3); 
    animation: reflejo 6s cubic-bezier(0.25, 0.1, 0.25, 1) infinite; 
    
}

@keyframes reflejo {
    20% {
        left: -50;
        opacity: 0.8; 
    }

    100% {
        left: 100%; 
        opacity: 0.4; 
    }
}

.texto_campaña2 a {
    text-decoration: none;
    color: inherit;
}




.cuadro_campaña2 {
    height: 100%;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
   
    
}

.cuadro_campaña2 img {
    width: 80%;
    max-width: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    
    object-fit: cover;
    transform: scale(1.2);
}


.productos_campaña{
    
    margin-top: 40px;
    background-color: rgba(46, 131, 40, 0.8); /* Verde pastel */
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
}


.contenedor_label_productos_campaña{
   
    margin-right: 45px;
}
.contenedor_label_productos_campaña p{
    width: 180px;
    margin-top: 15px;
    background-color: #b9d8b2; /* Verde pastel */
    color: #fff;
    padding: 5px 20px;
    font-size: 12px;
    font-weight: 600;
    
    border-radius: 0px 20px 20px 0px;
    text-transform: uppercase;
}




/* Estilo del banner */
.banner2 {
    
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-content: center;
    flex-direction: column;
    margin-top: 15px;
   

}

.texto_ofertas {
    display: flex;
    justify-content: center;
    text-align: center;
    align-content: center;
    height: auto;
    color: #6ca5d6;
    font-weight: 500;
    font-size: 20px;
    
    
}

.texto_ofertas p {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ca6d6;
   

    
}

.etiquetas {
    
    display: flex;
    position: relative;
    justify-content: center; /* Centra las etiquetas */
    align-items: center;
    gap: 15px;
}

.etiqueta_descuento {
   
    padding: 10px;
    background-color: #76c5e4;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    text-transform: uppercase;
   
}




.offer-banner {
    background: #fbb795;
    height: 230px;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    align-content: center;
    justify-content: center;
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;



h1 {
    font-size: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 18px;
    font-weight: 400;
    
}


.discount-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.discount-btn {
    background-color: white;
    color: #ff9a9e;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}



.decorative-shape {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    
    z-index: 1;
}

.top-left {
    top: -15px;
    left: -15px;
}

.top-right {
    top: -15px;
    right: -15px;
}

.bottom-left {
    bottom: -15px;
    left: -15px;
}

.bottom-right {
    bottom: -15px;
    right: -15px;
}

}