        .whatsapp-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }

        .whatsapp-icon {
            position: relative;
            display: inline-block;
        }

        .whatsapp-icon img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            transition: transform 0.3s ease;
        }

        .whatsapp-icon:hover img {
            transform: scale(1.1);
        }

        .whatsapp-text {
            position: absolute;
            bottom: 70px;
            right: 0;
            background-color: #25D366;
            color: white;
            padding: 8px 12px;
            border-radius: 5px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            font-size: 14px;
            font-family: Arial, sans-serif;
        }

        .whatsapp-icon:hover .whatsapp-text {
            opacity: 1;
        }

        .chatbot-container {
            position: fixed;
            bottom: 100px;
            right: 20px;
            z-index: 1001;
        }

        .chatbot-icon {
            position: relative;
            display: inline-block;
            cursor: pointer;
        }

        .chatbot-icon img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            transition: transform 0.3s ease;
        }

        .chatbot-icon:hover img {
            transform: scale(1.1);
        }

        .chatbot-text {
            position: absolute;
            bottom: 70px;
            right: 0;
            background-color: #343a40;
            color: white;
            padding: 8px 12px;
            border-radius: 5px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
            font-size: 14px;
            font-family: Arial, sans-serif;
        }

        .chatbot-icon:hover .chatbot-text {
            opacity: 1;
        }

        .chatbot-box {
            display: none;
            width: 300px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            flex-direction: column;
            font-family: Arial, sans-serif;
        }

        .chatbot-header {
            background-color: #343a40;
            color: #fff;
            padding: 10px;
            font-weight: bold;
            position: relative;
        }

        .chatbot-close {
            position: absolute;
            right: 10px;
            top: 5px;
            cursor: pointer;
        }

        .chatbot-log {
            height: 250px;
            overflow-y: auto;
            padding: 10px;
            border-top: 1px solid #ccc;
            border-bottom: 1px solid #ccc;
            background: #f9f9f9;
        }

        .chatbot-input {
            display: flex;
            border-top: 1px solid #ccc;
        }

        .chatbot-input input {
            flex: 1;
            padding: 10px;
            border: none;
            outline: none;
        }

        .chatbot-input button {
            background-color: #343a40;
            color: white;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
        }


        /* Contenedor relativo para los botones */
        .swiper {
            position: relative;
        }

        .zoom-container {
            position: relative;
            width: 100%;
            /* ocupa todo el contenedor del modal */
            max-width: 100%;
            /* opcional */
            height: auto;
            /* que respete proporción */
            overflow: hidden;
        }

        .zoom-container img {
            width: 100%;
            height: auto;
            display: block;
        }

        .zoom-lens {
            position: absolute;
            border: 3px solid rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            width: 200px;
            /* más grande */
            height: 200px;
            /* más grande */
            pointer-events: none;
            background-repeat: no-repeat;
            background-size: 450% auto;
            /* factor de zoom (ajústalo si quieres más o menos) */
            display: none;
            z-index: 10;
        }


    /* ===== Carrusel ===== */

.mySwiper {
    width: 100%;
    height: 420px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.mySwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 Llena todo sin espacios */
    background-color: transparent; /* Sin fondo negro */
    filter: brightness(70%); /* Opcional para resaltar texto */
}

/* Overlay del texto */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 10px 20px;
    width: 90%;
}

.overlay-text h2 {
    font-size: 3rem;
    font-weight: bold;
}

.overlay-text p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.overlay-text a {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 8px;
}


/* ============================
    RESPONSIVE DESIGN
============================ */

@media (max-width: 576px) {
    .mySwiper {
        height: 300px;
    }

    .mySwiper img {
        object-fit: cover; /* Mantener imagen llena */
    }

    .overlay-text h2 {
        font-size: 1.6rem;
    }

    .overlay-text p {
        font-size: 0.95rem;
    }

    .overlay-text a {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .mySwiper {
        height: 380px;
    }

    .mySwiper img {
        object-fit: cover;
    }

    .overlay-text h2 {
        font-size: 2.3rem;
    }

    .overlay-text p {
        font-size: 1.1rem;
    }
}

@media (min-width: 993px) {
    .mySwiper {
        height: 700px;
    }

    .overlay-text h2 {
        font-size: 3.2rem;
    }

    .overlay-text p {
        font-size: 1.4rem;
    }

    .overlay-text a {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}


/* Tarjeta vertical */
.categoria-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    padding: 15px;
    text-align: center;
}

.categoria-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Imagen arriba */
.categoria-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 12px auto;
}

/* Contenedor del texto */
.categoria-info {
    padding: 0 10px;
}

/* Título */
.categoria-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

/* Descripción */
.categoria-desc {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
        height: 80px; /* Ajustas a lo que necesites */
    overflow: hidden;
}


/* ============================
   RESPONSIVE
============================ */

/* 📱 Móviles: 2 tarjetas por fila en swiper */
@media (max-width: 576px) {
    .categoria-img {
        width: 130px;
        height: 130px;
    }

    .categoria-titulo {
        font-size: 1.2rem;
    }

    .categoria-desc {
        font-size: 0.95rem;
                height: 80px; /* Ajustas a lo que necesites */
    overflow: hidden;
    }
}

/* Tablets */
@media (min-width: 577px) and (max-width: 992px) {
    .categoria-img {
        width: 140px;
        height: 140px;
    }
}

/* PC */
@media (min-width: 993px) {
    .categoria-img {
        width: 160px;
        height: 160px;
    }
}

/* PC y pantallas grandes */
.badge-descuento {
    border-radius: 50%;
    width: 60px;
    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    font-size: 0.8rem;

    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Tablets y móviles */
@media (max-width: 576px) {

    .badge-descuento {
        width: 32px;
        height: 32px;

        font-size: 0.6rem;

        line-height: 1.1;
    }

}


/* Contenedor de la imagen */
.contenedor-imagen-producto {
    width: 100%;
    height: 220px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

/* Imagen */
.imagen-producto {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* Tablets */
@media (max-width: 992px) {

    .contenedor-imagen-producto {
        height: 190px;
    }

}


/* Móviles */
@media (max-width: 576px) {

    .contenedor-imagen-producto {
        height: 140px;
    }

}


/* estilos para los iconos del modal de cantidad y boton de mas y menos */
/* PC */
.contenedor-carrito {
    width: 100%;
}

.selector-cantidad {
    width: 150px;
    flex-shrink: 0;
}

.boton-carrito {
    white-space: nowrap;
}


/* ========================= */
/* MÓVIL */
/* ========================= */

@media (max-width: 576px) {

    .contenedor-carrito {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px !important;
        margin-top: 2rem !important;
    }

    .selector-cantidad {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
    }

    .boton-carrito {
        width: 100%;
        padding-left: 10px !important;
        padding-right: 10px !important;
        white-space: normal;
    }

}


/* ============================= */
/* PRECIO - PC */
/* ============================= */

.precio-producto-modal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


/* ============================= */
/* MÓVIL */
/* ============================= */

@media (max-width: 576px) {

    .precio-producto-modal {
        justify-content: center;
        gap: 5px;
    }

    .precio-producto-modal #product-price {
        font-size: 1.4rem !important;
    }

    .precio-producto-modal #original-price {
        font-size: 0.8rem !important;
        margin-left: 5px !important;
    }

    .precio-producto-modal #discount-percent {
        font-size: 0.70rem !important;
        margin-left: 5px !important;
        padding: 0.35rem 0.5rem;
    }

}
/* Precio final destacado */
.precio-final {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.precio-anterior {
    font-size: 1.4rem;
    opacity: 0.75;
}

/* estilos de los botones de paginacion */
/* ==========================================
   PAGINACIÓN MILOGAR
========================================== */

#paginacion-promociones {
    margin-top: 35px;
    margin-bottom: 20px;
}

.pagination-milogar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    list-style: none;
    padding: 0;
    margin: 0;
}


/* ==========================================
   BOTONES
========================================== */

.page-milogar {
    display: flex;
    align-items: center;
    justify-content: center;
}


.page-link-milogar {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    color: #495057;

    background: #ffffff;

    border: 1px solid #dee2e6;

    transition: all 0.25s ease;

    cursor: pointer;
}


/* ==========================================
   HOVER
========================================== */

.page-milogar:not(.active):not(.disabled)
.page-link-milogar:hover {

    background: #f1f3f5;

    border-color: #adb5bd;

    transform: translateY(-2px);

}


/* ==========================================
   PÁGINA ACTIVA
========================================== */

.page-milogar.active .page-link-milogar {

    background: #177912;

    color: #ffffff;

    border-color: #177912;

    box-shadow: 0 5px 15px rgba(111, 66, 193, 0.25);

}


/* ==========================================
   BOTONES ANTERIOR / SIGUIENTE
========================================== */

.page-milogar:first-child .page-link-milogar,
.page-milogar:last-child .page-link-milogar {

    background: #ffffff;

    color: #177912;

}


/* Hover flechas */

.page-milogar:first-child:not(.disabled)
.page-link-milogar:hover,

.page-milogar:last-child:not(.disabled)
.page-link-milogar:hover {

    background: #177912;

    color: #ffffff;

    border-color: #177912;

}


/* ==========================================
   DESHABILITADO
========================================== */

.page-milogar.disabled .page-link-milogar {

    opacity: 0.35;

    cursor: not-allowed;

    pointer-events: none;

}


/* ==========================================
   PUNTOS SUSPENSIVOS
========================================== */

.page-milogar.dots .page-link-milogar {

    border: none;

    background: transparent;

    cursor: default;

    color: #6c757d;

}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 576px) {

    .pagination-milogar {
        gap: 5px;
    }

    .page-link-milogar {
        width: 36px;
        height: 36px;

        font-size: 13px;
    }

}