body { 
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f4;
}

.filter-buttons-container {
    width: 90%; /* Reduce el ancho total del contenedor */
    margin: auto; /* Centra el contenedor */
    overflow-x: auto;
    overflow-y: hidden; /* Deshabilita el desplazamiento vertical */
    white-space: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch; /* Mejora el desplazamiento en dispositivos táctiles */
}

.filter-buttons {
    display: inline-block;
    padding: 10px 0;
}

.filter-btn {
    display: inline-block;
    background: #ffffff;
    border: 2px solid #ddd;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    text-transform: uppercase;
    border-radius: 12px;
    width: 55px;
    height: 55px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

.filter-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 70px;
    padding: 20px;
}

.card {
    background: white;
    width: 250px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    position: relative;
}

.card:hover {
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
    transform: scale(1.05);
}

.card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(rgba(0, 123, 255, 0.3), transparent);
    z-index: -1;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.card:hover::before {
    opacity: 1;
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    display: block;
    box-sizing: border-box;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: #0056b3;
}

.price {
    display: block;
    font-size: 18px;
    color: green;
    margin-top: 10px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(244, 244, 244, 0.7);
    backdrop-filter: blur(10px);
    padding: 1px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

h1 {
    margin: 0;
    text-align: center;
}

.container {
    padding-top: 20px;
}

.filter-buttons-container {
    margin-top: -80px;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 105px auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 10px;
}

.carousel-btn {
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 100;
    font-size: 24px;
    transition: background 0.3s ease-in-out;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: gray;
    border-radius: 50%;
    transition: background 0.3s;
    cursor: pointer;
}

.indicator.active {
    background-color: black;
}

.logo {
    height: 100px;
    display: block;
}

.carousel-btn {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.carousel:hover .carousel-btn {
    opacity: 1;
}

footer {
    text-align: center;
    padding: 15px;
    background-color: #f4f4f4;
}

footer p {
    margin: 5px 0;
}

footer a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin: 0 10px;
}

footer a:hover {
    color: #007bff;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

.filter-btn {
    margin-left: 3px;
    margin-right: 3px;
}
::-webkit-scrollbar:horizontal {
    height: 20px; /* Ajusta la altura de la barra */
}

::-webkit-scrollbar-thumb:horizontal {
    background: #888;
    border-radius: 10px;
    height: 20px; /* Hace el thumb más grueso */
}

::-webkit-scrollbar-thumb:horizontal:hover {
    background: #555;
}

.filter-buttons {
    display: inline-block;
    padding: 10px 0;
}

/* Estilos para la barra de desplazamiento en .filter-buttons-container */
.filter-buttons-container::-webkit-scrollbar {
    width: 6px;  /* Reduce el ancho de la barra de desplazamiento vertical */
    height: 15px; /* Aumenta la altura de la barra de desplazamiento horizontal */
}

.filter-buttons-container::-webkit-scrollbar-thumb {
    background: #888; /* Color del thumb */
    border-radius: 4px; /* Bordes redondeados */
}

.filter-buttons-container::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color del thumb al pasar el mouse */
}

.product-details {
    display: none;  /* Oculto por defecto */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 93%;
    height: 445px; /* Mantiene la altura fija */
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    transition: opacity 0.3s ease-in-out;
    z-index: 10; /* Asegura que el cuadro esté por encima de la card */
    overflow-y: auto; /* Agrega scroll solo si el contenido excede la altura */
}


.info-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    z-index: 20; /* MÁS ALTO que el cuadro de detalles */
}

/* Estilos de la tarjeta */
.card {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 300px;
    margin: 1px;
}

/* Contenedor del texto animado */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background-color: #fff;
    padding: 1.8px 0;
}

/* Texto en movimiento */
.marquee {
    display: inline-block;
    white-space: nowrap;
    font-size: 18px;
    font-weight: bold;
    animation: marquee-animation 15s linear infinite;
}

/* Animación del texto */
@keyframes marquee-animation {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}