.separador {
    height: 2px;
    background-color: #ffffff;
    margin: 110px 0;
}
.separador {
    height: 2px;
    background-color: #ffffff;
    margin: 40px 0;
}


.banner-cuadro {
    flex: 1;
    max-width: 500px; /* Ajusta el tamaño según sea necesario */
    height: auto;
    overflow: hidden;
    border-radius: 10px; /* Bordes redondeados opcionales */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    margin-right: 10px;
}

.banner-cuadro img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* Contenedor para el banner y el carrusel de productos */
.product-carousel-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 30px; /* Aumenta el margen para separar más del borde de la pantalla */
}

.banner-cuadro {
    flex: 1;
    max-width: 350px; /* Aumenta el tamaño máximo del banner */
    height: auto;
    overflow: hidden;
    border-radius: 10px; /* Bordes redondeados opcionales */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
    margin-right: 80px; /* Separa el banner del carrusel */
}

.banner-cuadro img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* Estilos para el carrusel de productos */
.product-carousel {
    flex: 4;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.product-item {
    flex: 0 0 20%; /* Mostrar 5 productos a la vez */
    box-sizing: border-box;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0 10px;
    text-align: center;
}

.product-item img {
    width: 100px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: auto;
    margin-bottom: 10px;
}

.product-item h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.product-item p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.product-item .offer-precio {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin: 5px 0;
}

.product-item .btn-agregar {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}

.product-item .btn-agregar:hover {
    background-color: #2980b9;
}
/* Contenedor para el banner y el carrusel de productos */
.carousel-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0 4px; /* Ajusta este valor según el espacio que quieras a los lados */
    box-sizing: border-box; /* Para incluir el padding dentro del ancho total */
}

.productos-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px; /* Aumenté el margen inferior para dar más espacio al pie de página */
}

/* Ajustar la tarjeta de producto para organizar internamente la imagen y la info */
.producto-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 160px;
    height: 300px; /* Aumentamos altura */
    margin: 10px;
    padding: 8px;
    flex: 0 0 auto;
    position: relative;
}

.producto-card .imagen-contenedor {
    width: 120px; /* Ancho fijo */
    height: 120px; /* Alto fijo - mismo que el ancho para hacerlo cuadrado */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 10px auto;
}

.producto-card img {
    width: 120px; /* Ancho fijo igual que el contenedor */
    height: 120px; /* Alto fijo igual que el contenedor */
    object-fit: contain; /* Mantiene la proporción de la imagen */
    border-radius: 5px;
}

.producto-card .contenido {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
}

.producto-card h3 {
    font-size: 13px;
    margin: 0 0 5px 0;
    line-height: 1.2;
    max-height: 32px;
    overflow: hidden;
}

.producto-card p {
    margin: 5px 0;
    color: #777;
    font-size: 12px; /* Reducido de 14px */
    line-height: 1.3;
}

.producto-card .precio {
    font-size: 15px;
    margin: 5px 0;
    color: #4CAF50;
    font-weight: bold;
}

.producto-card .btn-agregar {
    width: calc(100% - 10px);
    padding: 8px 0;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin: 5px auto 10px auto;
    display: block;
}

.producto-card .btn-agregar:hover {
    background-color: #45a049;
}

.carousel-arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.left-arrow {
    left: 0; /* Alinea con el padding del contenedor */
    margin-left: 10px; /* Espacio entre la flecha y el borde del contenedor */
}

.right-arrow {
    right: 0; /* Alinea con el padding del contenedor */
    margin-right: 10px; /* Espacio entre la flecha y el borde del contenedor */
}

.banner {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px; /* Espacio adicional en la parte inferior */
    width: 100%;
    max-width: 1200px; /* Ancho máximo para centrar el contenido */
    padding: 0 20px; /* Espacio a los lados */
    box-sizing: border-box; /* Incluir padding en el ancho total */
}

.banner img {
    width: 100%;
    height: auto;
}
.banner img {
    width: 100%;
    height: auto;
}
.banner2 {
    width: 1200px;
    height: 150px;
    margin: 20px auto; /* Margen superior e inferior y centrado horizontal */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd; /* Color de fondo de reserva en caso de que la imagen no se cargue */
}

.banner2 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para asegurarse de que la imagen cubra todo el banner sin deformarse */
    border-radius: 8px; /* Bordes redondeados (opcional) */
}


.nuestros-proveedores {
    text-align: center;
    margin: 40px 0;
}

.nuestros-proveedores h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.proveedores-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Actualización de estilos para el carrusel de proveedores */
.proveedores-carousel-container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px 40px;
    box-sizing: border-box;
}

.proveedores-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.proveedores-container::-webkit-scrollbar {
    display: none;
}

.proveedor-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 2;
}

.proveedor-arrow.left {
    left: 5px;
}

.proveedor-arrow.right {
    right: 5px;
}

.proveedor {
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.proveedor img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    border-radius: 50%;
}

.proveedor:hover {
    transform: scale(1.1);
}
body {
    font-family: 'Oswald', sans-serif;
}
nav ul li a {
    color: black; /* Color de texto normal */
    text-decoration: none; /* Quita el subrayado */
    padding: 10px;
    display: inline-block;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: white; /* Cambia el color del texto al pasar el mouse */
    background-color: #ff0000; /* Cambia el fondo al pasar el mouse */
    border-radius: 5px; /* Bordes redondeados */
}

@media (max-width: 768px) {
    .productos-container {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .producto-card {
        flex: 0 0 calc(50% - 10px);
        width: calc(50% - 10px);
        min-width: calc(50% - 10px);
        height: 280px;
        margin: 0;
        scroll-snap-align: start;
    }

    .carousel-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .productos-container {
        padding: 5px;
        gap: 8px;
    }

    .producto-card {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
}
