/*
Custom Css
*/

/* ==================================================
   SECCIONES GENERALES
================================================== */

/* ===== Menú dinámico de categorías ===== */
#menuCategoriasNavbar .dropdown-menu {
    min-width: 280px;
    max-height: 380px;
    overflow-y: auto;
    border-radius: 10px;
    padding: 8px 0;
    margin-top: 0;
}

#menuCategoriasNavbar .dropdown-item {
    white-space: normal;
    font-size: 14px;
    line-height: 1.35;
    padding: 10px 16px;
}

#menuCategoriasNavbar .dropdown-header {
    font-size: 13px;
    font-weight: 700;
    color: #999;
    padding: 10px 16px 6px;
}

#menuCategoriasNavbar .nav-link.dropdown-toggle::after {
    margin-left: 8px;
}

/* ===== Pantalla de carga global ===== */
.pantalla-carga-sitio {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.pantalla-carga-sitio.oculta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pantalla-carga-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 20px;
}

.pantalla-carga-logo {
    width: 120px;
    max-width: 80%;
    height: auto;
    display: block;
}

.pantalla-carga-texto {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* ===== Dropdown todas las categorías ===== */
.dropdown-todas-categorias-menu {
    min-width: 260px;
    max-height: 400px;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .dropdown-todas-categorias-principal:hover>.dropdown-menu {
        display: block;
    }
}

/* ===== Círculos de color ===== */
.producto-color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    .product-detail-body {
        padding: 24px 20px;
    }

    .producto-detalle-valor {
        font-size: 1.1rem;
    }

    .producto-detalle-valor-precio {
        font-size: 1.35rem;
    }

    #detalleProductoNombre.producto-detalle-titulo {
        font-size: 2.4rem !important;
        line-height: 1.1 !important;
    }
}

/* ==================================================
   SECCIONES DE INDEX.PHP
================================================== */

/*========================header=============*/
.redes-sociales a {
    text-decoration: none !important;
    display: inline-block;
}

.redes-sociales a::before,
.redes-sociales a::after {
    display: none !important;
    content: "" !important;
}

/*===========footer=============*/
.footer-redes a {
    text-decoration: none !important;
    display: inline-block;
}

.footer-redes a::before,
.footer-redes a::after {
    content: none !important;
    display: none !important;
}

/* =========================================================
   FOOTER VAMEL - DISEÑO COMPACTO SIMILAR AL HEADER
========================================================= */

.vamel-footer {
    background-color: #1B1B1B !important;
    padding: 0;
    width: 100%;
}

.vamel-footer .container {
    max-width: 1140px;
}

.vamel-footer-panel {
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.vamel-footer-main {
    display: grid;
    grid-template-columns: 1.1fr 1.7fr 0.9fr;
    gap: 28px;
    align-items: center;
    padding: 26px 30px;
}

.vamel-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.vamel-footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    text-decoration: none !important;
}

.vamel-footer-logo {
    width: auto;
    height: 58px;
    max-width: 120px;
}

.vamel-footer-title {
    margin: 0;
    color: #FE0000 !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.vamel-footer-subtitle {
    margin: 4px 0 0;
    color: #ffffff;
    font-size: 0.92rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    opacity: 0.85;
}

.vamel-footer-heading {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.vamel-footer-contact-list {
    margin: 0;
}

.vamel-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-top: 4px !important;
    color: #ffffff;
    font-size: 0.92rem !important;
    line-height: 1.35 !important;
}

.vamel-footer-contact-list i {
    margin-top: 3px;
    color: #ffffff;
    font-size: 0.92rem !important;
    flex: 0 0 auto;
}

.vamel-footer-contact-list a {
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    opacity: 0.9;
}

.vamel-footer-contact-list a:hover {
    color: #FE0000 !important;
    opacity: 1;
}

.vamel-footer-social {
    text-align: right;
}

.vamel-footer-social-list {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.vamel-footer-social-list li {
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.vamel-footer-social-list li:hover {
    background-color: transparent !important;
}

.vamel-social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    line-height: 1 !important;
}

.vamel-social-facebook {
    background-color: #1877F2;
    font-size: 19px !important;
}

.vamel-social-instagram {
    font-size: 19px !important;
    background: radial-gradient(circle at 30% 107%,
            #fdf497 0%,
            #fdf497 5%,
            #fd5949 45%,
            #d6249f 60%,
            #285AEB 90%);
}

.vamel-social-tiktok {
    background-color: #000000;
    font-size: 17px !important;
    text-shadow: 1px 1px #25F4EE, -1px -1px #FE2C55;
}

.vamel-social-whatsapp {
    background-color: #25D366;
    font-size: 20px !important;
}

/* =========================================================
   MÉTODOS DE PAGO - FOOTER
========================================================= */

.vamel-footer-pagos {
    margin-top: 18px;
}

.vamel-footer-heading-pagos {
    margin-bottom: 8px;
    font-size: 0.92rem !important;
}

.vamel-metodos-pago {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.vamel-metodo-pago-logo {
    height: 26px;
    width: auto;
    max-width: 78px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 4px 7px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.vamel-metodo-pago-logo-mercadopago {
    max-width: 105px;
}

.vamel-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 12px 30px;
    text-align: center;
}

.vamel-footer-bottom p {
    margin: 0;
    color: #ffffff;
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    opacity: 0.85;
}

/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .vamel-footer {
        padding: 22px 0 16px;
    }

    .vamel-footer-main {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px 22px;
        text-align: center;
    }

    .vamel-footer-brand {
        justify-content: center;
    }

    .vamel-footer-contact-list li {
        justify-content: center;
        text-align: left;
    }

    .vamel-footer-social {
        text-align: center;
    }

    .vamel-footer-social-list {
        justify-content: center;
    }

    .vamel-metodos-pago {
        justify-content: center;
    }

    .vamel-footer-bottom {
        padding: 12px 20px;
    }
}

@media (max-width: 575px) {
    .producto-detalle-metodos-pago {
        padding: 14px;
    }

    .producto-detalle-metodos-pago-logos {
        gap: 8px;
    }

    .producto-detalle-metodo-pago-logo {
        height: 28px;
        max-width: 82px;
    }

    .producto-detalle-metodo-pago-logo-mercadopago {
        max-width: 108px;
    }

    .vamel-footer {
        padding: 0;
    }

    .vamel-footer-panel {
        border-radius: 0;
    }

    .vamel-footer-main {
        padding: 22px 16px;
        gap: 20px;
    }

    .vamel-footer-brand {
        flex-direction: column;
        gap: 10px;
    }

    .vamel-footer-logo {
        height: 54px;
    }

    .vamel-footer-title {
        font-size: 1.25rem !important;
    }

    .vamel-footer-subtitle {
        font-size: 0.86rem !important;
    }

    .vamel-footer-heading {
        font-size: 0.95rem !important;
    }

    .vamel-footer-contact-list li {
        font-size: 0.86rem !important;
        line-height: 1.35 !important;
    }

    .vamel-footer-contact-list a {
        font-size: 0.86rem !important;
    }

    .vamel-footer-social-list {
        gap: 6px;
    }

    .vamel-social-icon {
        width: 34px;
        height: 34px;
    }

    .vamel-footer-bottom p {
        font-size: 0.8rem !important;
    }
}

/*========botón flotante ============*/

.chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 9999;
}

.chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 260px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
}

.chat-header {
    background: #25D366;
    color: #fff;
    padding: 10px;
    font-weight: bold;
}

.chat-body {
    padding: 10px;
}

.chat-body textarea {
    width: 100%;
    height: 60px;
    resize: none;
    margin-top: 8px;
}

.chat-footer {
    padding: 10px;
    text-align: right;
}

.chat-footer button {
    background: #25D366;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
}


/* ===== Productos destacados (index) ===== */
.producto-destacado-titulo {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 1.3rem !important;
}

.producto-destacado-titulo:hover {
    color: #59ab6e !important;
}

/* ===== Productos destacados ===== */
.producto-destacado-card {
    height: 100%;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto-destacado-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.producto-destacado-imagen-wrap {
    background: #ececec;
    overflow: hidden;
}

.producto-destacado-imagen {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.producto-destacado-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f5f5f5;
    flex: 1;
}

.producto-destacado-titulo {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2933;
    text-decoration: none;
    letter-spacing: -0.3px;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.producto-destacado-titulo:hover {
    color: #59ab6e !important;
    text-decoration: none;
}

.producto-destacado-precio-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.producto-destacado-precio-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b7280;
}

.producto-destacado-precio {
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    color: #FE0000 !important;
    margin: 0;
}

.producto-destacado-disponibilidad {
    display: inline-flex;
    width: fit-content;
    align-items: center;

    font-size: 0.8rem;
    font-weight: 600 !important;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.4px;
}

/* Disponible */
.producto-destacado-disponible {
    color: #1e7e34;
    background-color: rgba(40, 167, 69, 0.12);
}

/* Agotado */
.producto-destacado-agotado {
    color: #b02a37;
    background-color: rgba(220, 53, 69, 0.12);
}

.producto-destacado-colores-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.producto-destacado-meta-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #6b7280;
}

.producto-destacado-colores {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Banner principal dinámico ===== */
#template-mo-zay-hero-carousel .carousel-item {
    min-height: 520px;
}

#template-mo-zay-hero-carousel .carousel-item .container,
#template-mo-zay-hero-carousel .carousel-item .row {
    min-height: 520px;
}

#template-mo-zay-hero-carousel .banner-img-wrapper {
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#template-mo-zay-hero-carousel .banner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#template-mo-zay-hero-carousel .h1 {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Banner principal ===== */
#template-mo-zay-hero-carousel .carousel-item {
    min-height: 520px;
}

#template-mo-zay-hero-carousel .carousel-item .container {
    min-height: 520px;
}

#template-mo-zay-hero-carousel .carousel-item .row {
    min-height: 520px;
    align-items: center;
}

.banner-slide-row {
    align-items: center;
}

.banner-producto-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.banner-producto-contenedor {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    background: #f5f5f5;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-producto-link:hover .banner-producto-contenedor {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.banner-producto-imagen-col {
    flex: 0 0 60%;
    max-width: 60%;
    background: #ececec;
}

.banner-producto-info-col {
    flex: 0 0 40%;
    max-width: 40%;
    background: #f5f5f5;
    display: flex;
}

#template-mo-zay-hero-carousel .banner-img-wrapper {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ececec;
}

#template-mo-zay-hero-carousel .banner-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.banner-producto-card {
    width: 100%;
    padding: 28px 26px;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-producto-titulo {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1f2933;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
    min-height: 90px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.banner-producto-precio-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 18px;
}

.banner-producto-precio-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #6b7280;
}

.banner-producto-precio {
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    color: #FE0000 !important;
    line-height: 1.1;
    margin-bottom: 6px;
}

.banner-producto-colores-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.banner-producto-meta-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #6b7280;
}

.banner-producto-colores {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 991.98px) {

    #template-mo-zay-hero-carousel .carousel-item,
    #template-mo-zay-hero-carousel .carousel-item .container,
    #template-mo-zay-hero-carousel .carousel-item .row {
        min-height: auto;
    }

    .banner-producto-contenedor {
        flex-wrap: wrap;
    }

    .banner-producto-imagen-col,
    .banner-producto-info-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #template-mo-zay-hero-carousel .banner-img-wrapper {
        height: 300px;
    }

    .banner-producto-card {
        padding: 22px 20px;
    }

    .banner-producto-titulo {
        font-size: 1.6rem;
        min-height: auto;
    }

    .banner-producto-precio {
        font-size: 1.35rem !important;
        font-weight: 400 !important;
        color: #FE0000 !important;
    }
}

#template-mo-zay-hero-carousel .carousel-indicators {
    display: none !important;
}

#template-mo-zay-hero-carousel .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#template-mo-zay-hero-carousel .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ===== Banners fijos del home ===== */

.banner-fijo-home {
    width: 100%;
    min-height: 520px;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-fijo-home-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991.98px) {
    .banner-fijo-home {
        min-height: 320px;
    }

    .banner-fijo-home-img {
        height: 320px;
    }
}

@media (max-width: 575.98px) {
    .banner-fijo-home {
        min-height: 240px;
    }

    .banner-fijo-home-img {
        height: 240px;
    }
}

/* ==================================================
   SECCIONES DE SHOP.HTML
================================================== */

/* ===== Shop listado en tarjetas ===== */
.shop-producto-card-demo {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
    min-height: 100%;
    height: 100%;
    border: 1px solid #eeeeee;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-producto-card-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.shop-producto-imagen-col-demo {
    width: 100%;
    height: auto;
    background: #f4f4f4;
}

.shop-producto-imagen-col-demo a {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    overflow: hidden;
}

.shop-producto-imagen-demo {
    display: block;
    padding: 0;
    object-position: center;
}

/* Imagen horizontal: conserva el comportamiento actual */
.shop-producto-imagen-horizontal-demo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Imagen vertical: llena el alto y deja margen solo horizontal si hace falta */
.shop-producto-imagen-vertical-demo {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.shop-producto-info-col-demo {
    width: 100%;
    height: auto;
    padding: 24px 24px 22px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.shop-producto-titulo-demo {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    color: #1f2933 !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.2px;
    min-height: 64px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-producto-titulo-demo a,
.shop-producto-titulo-link-demo {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.shop-producto-titulo-demo a:hover,
.shop-producto-titulo-link-demo:hover {
    color: #59ab6e !important;
}

.shop-producto-precios-demo {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.shop-producto-precio-bloque-demo {
    min-width: 140px;
}

.shop-producto-precio-label-demo {
    font-size: 0.9rem;
    color: #5f6b76;
    margin-bottom: 2px;
}

.shop-producto-precio-normal-demo {
    font-size: 1.35rem !important;
    font-weight: 500 !important;
    color: #FE0000 !important;
    text-decoration: none !important;
}

.shop-producto-precio-normal-demo.sin-precio {
    text-decoration: none;
}

.shop-producto-descripcion-demo {
    font-size: 1.15rem;
    color: #44505b;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-producto-colores-wrap-demo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    margin-bottom: 0;
}

.shop-producto-meta-label-demo {
    font-size: 0.9rem;
    color: #44505b;
    font-weight: 500;
}

.shop-producto-colores-demo {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.shop-producto-color-dot-demo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.shop-producto-badge-demo {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 14px;
    margin-bottom: 24px;
    width: fit-content;
}

.shop-producto-acciones-demo {
    margin-top: auto;
}

.shop-producto-precio {
    font-size: 1.3rem;
    font-weight: 500;
    color: #1f2933;
    margin-top: 6px;
}

.shop-producto-color {
    display: flex;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .shop-producto-info-col-demo {
        padding: 22px 20px;
    }

    .shop-producto-titulo-demo {
        font-size: 1.22rem !important;
        min-height: 58px;
    }

    .shop-producto-precio-normal-demo {
        font-size: 1.22rem !important;
    }

    .shop-producto-imagen-col-demo a {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 767.98px) {
    .shop-producto-imagen-col-demo a {
        aspect-ratio: 1 / 1;
    }

    .shop-producto-imagen-demo {
        padding: 0;
    }

    .shop-producto-info-col-demo {
        padding: 20px 18px;
    }

    .shop-producto-titulo-demo {
        font-size: 1.18rem !important;
        min-height: auto;
        -webkit-line-clamp: 2;
    }

    .shop-producto-precios-demo {
        margin-bottom: 14px;
    }

    .shop-producto-precio-label-demo,
    .shop-producto-meta-label-demo {
        font-size: 0.86rem;
    }

    .shop-producto-precio-normal-demo {
        font-size: 1.18rem !important;
    }

    .shop-producto-color-dot-demo {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 420px) {
    .shop-producto-imagen-col-demo a {
        aspect-ratio: 4 / 3;
    }

    .shop-producto-info-col-demo {
        padding: 18px 16px;
    }

    .shop-producto-titulo-demo {
        font-size: 1.08rem !important;
    }
}

/* ==================================================
   SECCIONES DE SHOP-SINGLE.HTML
================================================== */
/*=============== videos ==================*/
.producto-detalle-media-principal {
    width: 100%;
    display: block;
    background: #f5f5f5;
}

.producto-miniatura-link {
    display: block;
    position: relative;
}

.producto-miniatura-video-wrap {
    position: relative;
    width: 100%;
}

.producto-miniatura-video-wrap video,
.producto-miniatura-link img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 0;
    background: #f5f5f5;
}

.producto-miniatura-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.18);
}

.producto-detalle-imagen-principal {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
    cursor: pointer;
}

.visor-galeria-media {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.producto-detalle-video-principal {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    background: #000;
}

.producto-detalle-video-principal {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    background: #000;
}

.producto-miniatura-link {
    display: block;
    position: relative;
}

.producto-miniatura-video-wrap {
    position: relative;
    width: 100%;
}

.producto-miniatura-video-wrap video,
.producto-miniatura-link img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.producto-miniatura-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.18);
}

/* ===== visor fullscreen single-shop ===== */
.visor-galeria-single {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visor-galeria-single.d-none {
    display: none !important;
}

.visor-galeria-contenido {
    width: 100%;
    height: 100%;
    padding: 40px 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visor-galeria-contenido img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.visor-galeria-cerrar {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 20px;
    z-index: 2;
}

.visor-galeria-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 20px;
    z-index: 2;
}

.visor-galeria-prev {
    left: 18px;
}

.visor-galeria-next {
    right: 18px;
}

.visor-galeria-cerrar:hover,
.visor-galeria-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

body.visor-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .visor-galeria-contenido {
        padding: 32px 20px;
    }

    .visor-galeria-nav {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .visor-galeria-prev {
        left: 10px;
    }

    .visor-galeria-next {
        right: 10px;
    }

    .visor-galeria-cerrar {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
    }
}

/* ===== Productos relacionados en shop-single ===== */
.related-products-slider .slick-slide {
    padding: 0 12px;
    box-sizing: border-box;
}

.related-products-slider .slick-list {
    margin: 0 -12px;
}

.related-products-slider .slick-track {
    display: flex !important;
}

.related-products-slider .slick-slide>div {
    height: 100%;
}

.producto-relacionado-slide {
    height: 100%;
}

.producto-relacionado-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.producto-relacionado-loading {
    width: 100%;
}



/* =========================================================
   PRECIOS DETALLE PRODUCTO
========================================================= */

.producto-detalle-linea-precios {
    margin-top: 14px;
}

.producto-precios-box {
    margin-top: 8px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.producto-precio-principal {
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f2;
}

.producto-precio-texto {
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 700;
}

#detalleProductoPrecio.producto-precio-monto,
#precio12meses.producto-precio-financiamiento-monto,
#precio12mesestotal.producto-precio-financiamiento-monto {
    display: block;
    color: #FE0029 !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.3px;
}

.producto-precio-financiamiento {
    margin-top: 14px;
}

.producto-precio-financiamiento-header {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background-color: #fff1f2;
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 700;
}

.producto-precio-financiamiento-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.producto-precio-financiamiento-item {
    padding: 12px;
    border: 1px solid #edf0f2;
    border-radius: 12px;
    background-color: #ffffff;
}

.producto-precio-financiamiento-label {
    display: block;
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
}

.producto-precio-financiamiento-monto {
    display: block;
    color: #FE0029;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.15;
}


/* ===== Productos relacionados ===== */
.related-products-slider .slick-slide {
    padding: 0 12px;
    box-sizing: border-box;
}

.related-products-slider .slick-list {
    margin: 0 -12px;
}

.related-products-slider .slick-track {
    display: flex !important;
}

.related-products-slider .slick-slide>div {
    height: 100%;
}

.producto-relacionado-slide {
    height: 100%;
}

.producto-relacionado-card {
    height: 100%;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto-relacionado-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.producto-relacionado-imagen-wrap {
    background: #ececec;
    overflow: hidden;
}

.producto-relacionado-imagen {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.producto-relacionado-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f5f5f5;
    flex: 1;
}

.producto-relacionado-titulo {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2933;
    text-decoration: none;
    letter-spacing: -0.3px;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.producto-relacionado-titulo:hover {
    color: #59ab6e;
    text-decoration: none;
}

.producto-relacionado-precio-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.producto-relacionado-precio-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6b7280;
}

.producto-relacionado-precio {
    font-size: 1.8rem !important;
    font-weight: 400 !important;
    color: #FE0000 !important;
    margin: 0;
}

.producto-relacionado-colores-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.producto-relacionado-meta-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #6b7280;
}

.producto-relacionado-colores {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Detalle de producto ===== */
#detalleProductoNombre.producto-detalle-titulo {
    font-size: 3.4rem !important;
    font-weight: 500 !important;
    line-height: 1.05 !important;
    color: #1f2933 !important;
    margin-bottom: 28px !important;
    letter-spacing: -0.8px;
}

.producto-detalle-titulo {
    letter-spacing: 1px;
}

.product-detail-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.product-detail-body {
    padding: 24px 26px;
    display: block;
    height: auto;
}

.producto-detalle-lista {
    margin-top: 12px;
}

.producto-detalle-linea {
    padding: 4px 0;
    display: flex;
    flex-direction: column;
}

.producto-detalle-linea:first-child {
    padding-top: 0;
}

.producto-detalle-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0;
    letter-spacing: 0.3px;
}

.producto-detalle-valor {
    font-size: 1.15rem;
    font-weight: 400;
    color: #1f2933;
    line-height: 1.25;
    word-break: break-word;
    margin-bottom: 4px;
}

.producto-detalle-valor-precio {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2933;
    margin-bottom: 6px;
}

.producto-detalle-ayuda {
    margin-top: 8px;
    font-size: 0.92rem;
    color: #b45309;
}

.producto-detalle-link {
    text-decoration: none !important;
    cursor: pointer;
    color: #b45309;
    transition: color 0.2s ease;
}

.producto-detalle-link:hover {
    text-decoration: none !important;
    color: #25D366;
}

.producto-detalle-color-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

/* ===== Métodos de pago detalle producto ===== */

.producto-detalle-metodos-pago {
    margin-top: 22px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background-color: #ffffff;
}

.producto-detalle-metodos-pago-titulo {
    margin-bottom: 12px;
    color: #1f2933;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
}

.producto-detalle-metodos-pago-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.producto-detalle-metodo-pago-logo {
    height: 30px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    border: 1px solid #edf0f2;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 5px 8px;
}

.producto-detalle-metodo-pago-logo-mercadopago {
    max-width: 118px;
}

/* ===== Acordeones detalle producto ===== */
.producto-detalle-acordeones {
    margin-top: 28px;
}

.producto-acordeon-item {
    width: 100%;
}

.producto-acordeon-toggle {
    width: 100%;
    border: none;
    background: #d9d9d4;
    color: #1f2933;
    padding: 18px 22px;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.producto-acordeon-toggle:hover {
    background: #d1d1cb;
}

.producto-acordeon-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    font-size: 1rem;
    color: #2c3e50;
}

.producto-acordeon-contenido {
    padding: 18px 0 0 0;
}

.producto-acordeon-contenido p {
    font-size: 1.02rem;
    color: #2d3748;
    line-height: 1.7;
}

/* ===== Tabla dimensiones ===== */
.producto-tabla-dimensiones {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}

.producto-tabla-dimensiones th,
.producto-tabla-dimensiones td {
    border: 1px solid #9a9a9a;
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
}

.producto-tabla-dimensiones th {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2933;
    background: #fff;
}

.producto-tabla-dimensiones td {
    font-size: 1.05rem;
    font-weight: 400;
    color: #1f2933;
    background: #fff;
}

/* =========================================================
   NAVBAR PRINCIPAL STICKY - FRONT VAMEL
========================================================= */

#layoutHeaderVamel {
    position: relative;
    z-index: 1050;
}

/* Barra negra: comportamiento normal, se va con el scroll */
#templatemo_nav_top {
    position: relative;
    z-index: 1040;
}

/* Barra blanca normal al inicio */
#vamelNavbarPrincipal {
    background-color: #ffffff;
    z-index: 1050;
}

/* Barra blanca fija cuando llega a la parte superior */
#vamelNavbarPrincipal.vamel-navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Evita que el contenido brinque cuando la navbar pasa a fixed */
.vamel-navbar-placeholder {
    display: block;
    height: 0;
}

.vamel-navbar-placeholder.activo {
    display: block;
}

/* =========================================================
   BUSCADOR EN NAVBAR PRINCIPAL
========================================================= */

#vamelNavbarPrincipal .container {
    gap: 24px;
}

/* Contenedor general del buscador */
.vamel-navbar-search {
    flex: 1 1 520px;
    max-width: 620px;
    margin: 0 28px !important;
}

/* Caja del input + botón */
.vamel-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    border: 1px solid #dddddd;
    border-radius: 12px;
    background-color: #ffffff;
    overflow: visible;
    position: relative;
}

/* Input */
.vamel-search-input {
    flex: 1;
    height: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 16px;
    font-size: 16px;
    color: #1B1B1B;
    background-color: transparent;
}

/* Quitar efectos de Bootstrap */
.vamel-search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Botón de búsqueda */
.vamel-search-button {
    width: 54px;
    height: 100%;
    min-width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-left: 1px solid #dddddd !important;
    border-radius: 0 !important;
    background-color: #ffffff;
    color: #1B1B1B;
    font-size: 18px;
    padding: 0;
}

.vamel-search-button:hover {
    background-color: #f5f5f5;
    color: #FE0000;
}

/* Evita que el botón se baje de línea */
.vamel-search-box .btn {
    margin: 0;
    line-height: 1;
}

/* =========================================================
   SUGERENCIAS BUSCADOR HEADER
========================================================= */
.vamel-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 3000;
    display: none;
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

.vamel-search-suggestions.activo {
    display: block;
}

.vamel-search-suggestion-item {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    background-color: #ffffff;
    color: #1B1B1B;
    padding: 10px 16px;
    text-align: left;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.25;
}

.vamel-search-suggestion-item:last-child {
    border-bottom: none;
}

.vamel-search-suggestion-item:hover,
.vamel-search-suggestion-item:focus {
    background-color: #f7f7f7;
    color: #FE0000;
    outline: none;
}

.vamel-search-suggestion-icon {
    flex: 0 0 auto;
    color: #9b9b9b;
    font-size: 0.86rem;
}

.vamel-search-suggestion-item:hover .vamel-search-suggestion-icon,
.vamel-search-suggestion-item:focus .vamel-search-suggestion-icon {
    color: #FE0000;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    #vamelNavbarPrincipal .container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .vamel-navbar-search {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0 !important;
    }

    .vamel-search-box {
        height: 44px;
    }

    .vamel-search-input {
        font-size: 15px;
    }

    #vamelNavbarPrincipal .navbar-toggler {
        margin-left: auto;
    }

    .vamel-search-suggestions {
        top: calc(100% + 6px);
    }

    .vamel-search-suggestion-item {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* =========================================================
   VIDEO AUTOMÁTICO - SINGLE SHOP
========================================================= */

.producto-detalle-video-auto-wrap {
    margin-top: 22px;
}

.producto-detalle-video-auto-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.producto-detalle-video-auto-titulo {
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2933;
    border-bottom: 1px solid #eeeeee;
    background: #f8f8f8;
}

.producto-detalle-video-auto {
    width: 100%;
    max-height: 420px;
    display: block;
    object-fit: contain;
    background: #000000;
}

@media (max-width: 767.98px) {
    .producto-detalle-video-auto-wrap {
        margin-top: 18px;
    }

    .producto-detalle-video-auto {
        max-height: 300px;
    }

    .producto-detalle-video-auto-titulo {
        font-size: 0.9rem;
        padding: 10px 14px;
    }
}

@media (max-width: 575px) {
    .producto-precios-box {
        padding: 14px;
    }

    .producto-precio-monto {
        font-size: 1.65rem;
    }

    .producto-precio-financiamiento-grid {
        grid-template-columns: 1fr;
    }

    .producto-precio-financiamiento-monto {
        font-size: 1.15rem;
    }
}

