body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    /* Aumentar el tamaño del header */
}

header .logo img {
    height: 60px;
    /* Aumentar el tamaño del logo */
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

header .search-bar input {
    padding: 5px;
    border-radius: 5px;
    border: none;
}

header .user-options a {
    color: #fff;
    text-decoration: none;
    margin-left: 10px;
}

.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height: calc(100vh / 2);
    /* Ajusta la altura del slider a un tercio de la pantalla */
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

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

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.active {
    display: block;
}

main {
    padding: 20px;
}

main h1 {
    text-align: center;
    margin-bottom: 20px;
}

.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.product {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    text-align: center;
    width: 200px;
}

.product img {
    max-width: 100%;
    border-radius: 10px;
}

.product h2 {
    font-size: 18px;
    margin: 10px 0;
}

.product p {
    color: #666;
    margin: 5px 0;
}


/* Asegúrate de que este CSS esté en tu archivo de estilos (css/styles.css) */

.js-btn-fixed-bottom {
    position: fixed;
    bottom: 20px; /* Ajusta la distancia desde la parte inferior */
    right: 20px; /* Ajusta la distancia desde la parte derecha */
    background-color: #25D366; /* Color de fondo de WhatsApp, ajusta según tus preferencias */
    color: white; /* Color del ícono */
    border-radius: 50%; /* Para hacer el botón redondeado */
    padding: 15px; /* Tamaño del botón */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Sombra para mayor visibilidad */
    text-align: center;
    font-size: 24px; /* Tamaño del ícono */
    z-index: 1000; /* Asegúrate de que el botón esté encima de otros elementos */
    transition: background-color 0.3s;
}

.js-btn-fixed-bottom:hover {
    background-color: #128C7E; /* Color de fondo cuando se pasa el cursor */
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px;
}

.product {
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    width: calc(25% - 20px);
    box-sizing: border-box;
}

.product img {
    max-width: 100%;
    height: auto;
}

.product h2 {
    font-size: 16px;
    margin: 10px 0;
}

.product p {
    margin: 5px 0;
}
