﻿/*-------------------------------------------------header principal----------------------------------------------------*/
:root {
    --toast-position: 110px; /* Posición inicial con top-notice visible */
    --toast-position-mobile: 110px; /* Posición móvil con top-notice visible */
}

body {
    overflow-x: hidden;
}

.top-notice {
    background-color: #808080; /* Fondo gris claro */
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 12px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    transition: transform 0.4s ease; /* Animación de desplazamiento */
}

    /* Oculta el aviso deslizándolo hacia arriba */
    .top-notice.hide {
        transform: translateY(-100%); /* Desliza hacia arriba */
    }

/* Contenedor flexible para alinear los elementos */
.top-notice-wrapper {
    display: flex;
    justify-content: space-between; /* Iconos a la izquierda, texto centrado */
    align-items: center;
}

/* Iconos de redes sociales */
.social-icons {
    display: flex;
    gap: 10px; /* Espacio entre iconos */
    margin-left: 10px;
}

.social-icon {
    color: #fff;
    font-size: 13px; /* Tamaño más pequeño */
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-weight: 200;
}

    .social-icon:hover {
        color: white;
    }

.notice-text {
    flex: 1; /* Ocupa el espacio restante para centrarse */
    text-align: center;
}

.spacer {
    width: 55px; /* Igual al ancho de los iconos */
}

/* Iconos sociales */
.top-notice-social {
    display: flex;
    align-items: center; /* 🔴 ESTA ES LA CLAVE */

    gap: 10px; /* Espacio entre iconos */
    margin-left: 10px;
    background-color: #808080; /* Fondo gris claro */
    height: 25px;
}

/* Enlaces de iconos */
.top-notice-social-icon {
    color: #fff;
    font-size: 13px; /* Tamaño más pequeño */
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-weight: 200;
}

    .top-notice-social-icon:hover {
        color: #fff;
    }

/* Texto centrado */
.top-notice-text {
    flex: 1;
    font-size: 12px;
    text-align: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000; /* Fondo negro */
    color: #fff; /* Texto blanco */
    z-index: 1000;
    padding: 0;
    font-family: 'SF Pro Display' sans-serif;
    font-weight: 350;
    margin-top: 25px; /* Espacio reservado para el top-notice */
    transition: margin-top 0.4s ease; /* Transición suave de margin-top */
}

    /* Cuando el top-notice desaparece, mover el header hacia arriba */
    .header.top-notice-hidden {
        margin-top: 0; /* Elimina el margen superior */
    }
/* Primera parte: Logo, Buscador, Botones */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px; /* Altura aumentada; ajústala según sea necesario */
}

.logo img {
    width: 220px; /* Tamaño del logo, ajusta según sea necesario */
    margin-right: 100px;
    margin-left: 0;
}



.buttons {
    display: flex;
    gap: 25px;
}

    /* Botones: icono centrado encima del texto */
    .buttons button {
        background-color: #000;
        border: none;
        color: #fff;
        cursor: pointer;
        border-radius: 5px;
        display: flex;
        flex-direction: column; /* Apila icono y texto verticalmente */
        align-items: center;
        justify-content: center;
        width: 100px; /* Ancho fijo para los botones; ajústalo según necesites */
        height: 60px; /* Alto fijo para los botones; ajústalo según necesites */
        padding: 0;
        font-weight: 350;
    }

        .buttons button i {
            font-size: 24px; /* Tamaño del icono */
            margin-bottom: 0; /* Espacio entre icono y texto */
        }

        .buttons button span {
            font-size: 14px; /* Tamaño del texto */
        }

/* Segunda parte: Links de navegación */
.header-bottom {
    height: 42px; /* Altura de la segunda sección (5px más alta que antes) */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .header-bottom nav ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .header-bottom nav ul li {
            margin: 0 9px;
        }

            .header-bottom nav ul li a {
                color: #fff;
                text-decoration: none;
                padding: 0 10px;
                font-size: 16px;
            }
/* Ajusta la altura del header-top cuando el aviso desaparece */
.header-top {
    transition: height 0.4s ease; /* Transición suave */
}

    /* Cuando el top-notice se oculta, achica el header-top */
    .header-top.shrink {
        height: 80px; /* Ajusta la altura reducida aquí */
    }




.btn-account {
    align-items: center;
    gap: 5px;
    background-color: #000;
    color: #fff;
    padding: 4px 8px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}


.dropdown-menu-account {
    /* oculto por defecto, con cero opacidad y no clicable */
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    position: absolute;
    background-color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 120px;
    z-index: 1005;
    /* quitá display:none; ya no lo usamos */
}

    .dropdown-menu-account.show {
        /* al agregar esta clase el menú aparece */
        opacity: 1;
        visibility: visible;
    }
    /* Estilos de los links dentro del menú */
    .dropdown-menu-account a {
        display: block;
        padding: 8px 16px;
        text-decoration: none;
        color: white;
        transition: all .4s;
    }

        .dropdown-menu-account a:hover {
            display: block;
            padding: 8px 16px;
            text-decoration: none;
            color: rgb(200, 200, 200);
        }

.btn-help {
    align-items: center;
    gap: 5px;
    background-color: #000;
    color: #fff;
    padding: 4px 8px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}


.dropdown-menu-ayuda {
    /* oculto por defecto, con cero opacidad y no clicable */
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    position: absolute;
    background-color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 120px;
    z-index: 1005;
    /* quitá display:none; ya no lo usamos */
}

.div-form-buscador-desktop {
    background-color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 740px;
    margin-left: 26px;
}

.form-search-desktop {
    display: flex;
    width: 100%;
}

.autocomplete-wrapper-desktop {
    position: relative;
    width: 100%;
}

.search-box-desktop {
    display: flex;
    align-items: center;
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

/* Nuevo input, ya sin clase mobile */
.input-search-desktop {
    flex: 1 1 auto;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 10px 0 0 10px;
    border: none;
    box-sizing: border-box;
    font-size: 1rem;
}

    .input-search-desktop::placeholder {
        color: #aaa;
    }

/* Botón de búsqueda desktop */
.btn-submit-search-desktop {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 10px 10px 0;
    transition: background-color 0.3s ease;
}

    .btn-submit-search-desktop i {
        font-size: 20px;
        color: black;
    }

    .btn-submit-search-desktop:hover {
        background-color: #f0f0f0;
    }

    .input-search-desktop:focus,
    .btn-submit-search-desktop:focus {
        outline: none;
        box-shadow: none;
    }

/* Sugerencias Desktop */
.suggestions-list {
    display: block;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: white;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10003;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* ocupará el ancho del contenedor padre (.autocomplete-wrapper-desktop) */
    color: black
}

.search-box-desktop.with-suggestions {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.suggestion-item-desktop {
    display: flex;
    padding: 1rem 0.5rem;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid lightgray;
    background-color: white;
}

    .suggestion-item-desktop:hover {
        background-color: #f0f0f0;
    }

    .suggestion-item-desktop img {
        width: 65px;
        height: 65px;
        object-fit: cover;
        margin-right: 0.5rem;
        border-radius: 4px;
    }

.div-info-producto-buscado {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.suggestion-text-desktop {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.suggestion-price-desktop {
    font-weight: bold;
    color: #000;
}

/* Texto resaltado en negrita dentro del nombre */
.highlight {
    font-weight: 600;
}

/* Botón "ver todos" */
.suggestion-item-desktop.ver-todos-desktop {
    background-color: black;
    transition: background-color 0.5s;
}

    .suggestion-item-desktop.ver-todos-desktop a {
        padding: 0.5rem;
        display: block;
        color: white;
        text-decoration: none;
        background-color: transparent;
    }

    .suggestion-item-desktop.ver-todos-desktop:hover {
        background-color: #444;
    }




.dropdown-menu-ayuda.show {
    /* al agregar esta clase el menú aparece */
    opacity: 1;
    visibility: visible;
}
/* Estilos de los links dentro del menú */
.dropdown-menu-ayuda a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: white;
    transition: all .4s;
}

    .dropdown-menu-ayuda a:hover {
        display: block;
        padding: 8px 16px;
        text-decoration: none;
        color: rgb(200, 200, 200);
    }

.btn-carrito-cc {
    gap: 5px;
}

hr {
    margin: 0;
}
/* Cuando el body tenga esta clase, no deja hacer scroll */
body.no-scroll {
    overflow: hidden;
}

.menu-toggle,
.mobile-nav,
#mobileOverlay,
.btn-carrito-mobile,
.btn-buscar-header-mobile {
    display: none;
}

.cartCount {
    position: absolute;
    right: 26px;
    top: -1px;
    background-color: #6c757d !important; /* gris oscuro */
    color: black;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
    z-index: 1;
}

@keyframes bounce-cart {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.4);
    }

    50% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.cartCount.animate {
    animation: bounce-cart 0.4s ease;
}




/* 2) En mobile (<=768px) muestra el botón, oculta nav de desktop */
.bi-x-lg {
    cursor: pointer;
}

/*------------------------------------opciones del header que se despliegan---------------------------------------- */
/* 1) Aseguramos que el header-bottom sea el contenedor posicionado */
.header-bottom.navbar {
    position: relative;
    overflow: visible; /* para que no se corte el submenú */
    z-index: 10;
}

/* 2) La lista principal en fila */
.header-bottom nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    /*    background-color: #111;
*/
}

    /* 3) Hacemos que cada <li> sea estático para no interferir */
    .header-bottom nav ul li {
        position: static;
    }

/* 4) El submenú: oculto por defecto y absoluto respecto a .header-bottom */
.sub-header,
.sub-header-admin {
    display: none;
    position: absolute;
    top: 100%; /* justo debajo de .header-bottom */
    left: 0;
    width: 100%; /* ancho completo */
    height: 60px; /* altura fija */
    background: rgba(0,0,0,0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    align-items: center;
    justify-content: space-evenly;
    z-index: 999;
}

/* 5) Al hacer hover sobre el <li>, mostramos el submenú */
.has-dropdown:hover .sub-header,
.has-dropdown-admin:hover .sub-header-admin {
    display: flex;
}

/* 6) Estilos de los links del submenú */
.sub-header a,
.sub-header-admin a {
    color: #fff;
    text-decoration: none;
    padding: 0 15px;
    line-height: 35px;
    white-space: nowrap;
}

    .sub-header a:hover,
    .sub-header-admin a:hover {
        background: rgba(255,255,255,0.1);
    }

/* ---------------------------------------------CONTENEDOR PRINCIPAL------------------------------ */
.carrito-flotante-e {
    position: fixed;
    right: 100px;
    width: 28%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(90px);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

    .carrito-flotante-e.sticky-active {
        transform: translateY(80px);
    }

.lista-productos-e {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 15px;
}

.producto-carrito-e {
    padding: 12px 0;
}

.total-carrito-e {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: auto;
}

.img-thumbnail {
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.precios-container {
    margin-top: 5px;
}

.badge.bg-danger {
    font-size: 0.75em;
    padding: 0.35em 0.65em;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #666;
    }


/*Carrito desplegable oculto en mobiles para mayor espacio y c*/
.toggle-carrito-btn {
    display: none;
    width: 100%;
    margin: 1rem 0 0 0;
    padding: 0.75rem 2rem;
    background: #fff;
    color: #333;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

    .toggle-carrito-btn p {
        margin: 0; /* Elimina el margen por defecto de <p> */
        padding: 0;
        font-size: 0.95rem; /* Ajuste sutil de tamaño */
        letter-spacing: 0.3px; /* Mejor legibilidad */
    }

    .toggle-carrito-btn .bi {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 1.1rem;
        margin-left: 12px; /* Más espacio entre texto e icono */
        color: #666; /* Color sutil para el icono */
    }

    .toggle-carrito-btn.visible .bi-chevron-right {
        transform: rotate(90deg);
    }

@media (max-width: 768px) {
    .toggle-carrito-btn {
        display: flex; /* Transición para el botón */
    }

    .carrito-flotante-e {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        right: auto !important;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        margin-bottom: 0;
        box-shadow: none;
        margin: 0; /* Eliminamos márgenes cuando está oculto */
        padding: 0 !important; /* Eliminamos padding cuando está oculto */
        border: none !important; /* Opcional: eliminar bordes */
    }

        .carrito-flotante-e.visible {
            max-height: 1000px; /* Ajusta según la altura máxima de tu carrito */
            opacity: 1;
            visibility: visible;
            margin-bottom: 1rem;
            padding: 20px !important; /* Restauramos padding al mostrar */
        }
}
/*-----------------------------------COOKIES del SITIO-----------------------------------*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

    .cookie-banner.show {
        transform: translateY(0);
    }

    .cookie-banner p {
        margin: 0;
        flex-grow: 1;
        padding-right: 20px;
        font-size: 14px;
    }

    .cookie-banner button {
        background-color: #4CAF50;
        color: white;
        border: none;
        padding: 8px 16px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
        margin: 4px 2px;
        cursor: pointer;
        border-radius: 4px;
        white-space: nowrap;
    }

        .cookie-banner button:hover {
            background-color: #45a049;
        }

    .cookie-banner a {
        color: #4CAF50;
        text-decoration: underline;
    }
/*------------------------- Estilos vista PAGOS ------------------------*/


.contenedor-principal-pagos {
    display: flex;
    gap: 2rem;
    max-width: 1300px;
    margin: auto;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contenedor-secundario-dp-selecciones {
    flex: 0 0 65%; /* ocupa 65% del ancho disponible */
}

.metodos-pago-container {
    margin-bottom: 30px;
    width: 100%;
}

.contenedor-url-pagos {
    display: flex;
    margin: 20px 0;
}

    .contenedor-url-pagos span {
        margin: 0 4px;
    }

    .contenedor-url-pagos p {
        margin: 0;
        padding: 0;
        color: black;
        font-size: 13px;
        font-weight: 400;
    }

.a-url-actual-pagos {
    color: #777;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
}



/*---------Datos previos styles------------*/
.datos-previos-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
}

.dp-linea {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 12px 0;
    width: 98%;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
}

    .dp-linea:last-child {
        border-bottom: none;
    }

    .dp-linea i {
        margin-right: 23px;
        font-size: 20px;
        color: #000;
        flex-shrink: 0;
    }

    .dp-linea span,
    .dp-linea div {
        flex-grow: 1;
        color: #555;
        font-size: 15px;
        text-shadow: 0 0 1px rgba(0,0,0, .25)
    }

.dp-cambiar {
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    margin-left: 15px;
    white-space: nowrap;
    transition: all .2s;
}

    .dp-cambiar:hover {
        color: #555;
    }

.metodos-pago-container h2 {
    margin: 15px 0 15px 3px;
    color: black;
    font-weight: 700;
    font-size: 34px;
}

.opciones-pago {
    display: flex;
    flex-direction: column;
    gap: 10px;
}





.opciones-pago {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opcion-pago {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.opcion-pago-btn {
    width: 100%;
    padding: 18px 20px;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

    .opcion-pago-btn:hover {
        background-color: #f1f1f1;
    }

    .opcion-pago-btn.active {
        background-color: #e9f5ff;
        border-bottom: 1px solid #dee2e6;
    }


.icono-desplegable {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #6c757d;
}

.opcion-pago-btn.active .icono-desplegable {
    transform: rotate(180deg);
}

.contenido-pago {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px); /* Reducido para mejor efecto */
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease-out, transform 0.3s ease-out;
    will-change: transform, opacity, max-height;
    display: none; /* Inicialmente oculto */
}

    .contenido-pago.active {
        display: block; /* Mostrar antes de animar */
        max-height: 1500px; /* Valor mayor al contenido real */
        opacity: 1;
        transform: translateY(0);
        padding: 20px;
    }

.formulario-pago {
    backface-visibility: hidden;
    transform: translateZ(0);
    width: 100%;
}

.mensaje-transferencia {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.icono-reloj {
    font-size: 24px;
    color: #6c757d;
}

.opcion-pago {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
}

.opcion-pago-btn {
    width: 100%;
    padding: 18px 20px;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

    .opcion-pago-btn:hover {
        background-color: #f1f1f1;
    }

    .opcion-pago-btn.active {
        background-color: #e9f5ff;
        border-bottom: 1px solid #dee2e6;
    }

.opcion-pago-btn-tarjeta {
    padding: 12px 20px;
}

.opcion-contenido {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}

.icono-desplegable {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 14px;
    color: #6c757d;
}

.opcion-pago-btn.active .icono-desplegable {
    transform: rotate(180deg);
}

.contenido-pago {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-5px); /* Reducido para mejor efecto */
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease-out, transform 0.3s ease-out;
    will-change: transform, opacity, max-height;
    display: none; /* Inicialmente oculto */
}

    .contenido-pago.active {
        display: block; /* Mostrar antes de animar */
        max-height: 1500px; /* Valor mayor al contenido real */
        opacity: 1;
        transform: translateY(0);
        padding: 20px;
    }

.formulario-pago {
    backface-visibility: hidden;
    transform: translateZ(0);
    width: 100%;
}

.mensaje-transferencia {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.icono-reloj {
    font-size: 24px;
    color: #6c757d;
}
/* seccion de los botones "continuar al pago" (generando scripts y demas seria esa seccion)*/
.select-campo {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    font-size: 1rem;
}

.boton-primario {
    background: #3f51b5;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

    .boton-primario:hover {
        background: #283593;
    }

.mensaje-error {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}




/*dudas frecuentes pagos*/
.faq-section {
    margin: 20px;
}

.faq-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all .3s;
}

    .faq-button:hover {
        background-color: #45a049;
    }

.faq-content {
    display: none;
    margin-top: 10px;
}

.faq-item {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: black;
    font-weight: 600;
    font-size: 18px;
}

.faq-subtitle {
    font-weight: bold;
    color: #333;
    display: inline-block;
    margin-bottom: 4px;
}


@media (max-width: 768px) {
    .contenedor-secundario-dp-selecciones {
        flex: 0 0 90%;
        margin: auto;
    }

    .metodos-pago-container h2 {
        margin: 25px auto;
        font-size: 25px;
    }

    .contenedor-principal-pagos {
        margin-top: 0;
    }

    .faq-section {
        margin: 20px 0;
    }
}



/*---------------------------------------------footer--------------------------------------------*/
.custom-footer {
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px !important;
}

/* Sección superior: Fondo gris (#bbb) */
.footer-top-cc {
    background: #dfdfdf; /* Gris */
    color: white; /* Texto blanco */
    padding: 40px 0;
    width: 100%; /* Ocupa todo el ancho */
}

/* Contenedor de las 3 columnas */
.footer-columns-cc {
    max-width: 1200px; /* Ancho máximo */
    margin: 0 auto; /* Centrado */
    display: flex;
    justify-content: space-between; /* Espacio entre columnas */
    gap: 20px; /* Separación */
}

/* Cada columna */
.footer-column-cc {
    flex: 1; /* Ocupa el mismo espacio */
    min-width: 250px; /* Ancho mínimo */
}

/* Títulos de las columnas */
.footer-title-cc {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: black;
    font-weight: 600;
}

/* Links en las columnas */
.footer-links-cc {
    font-family: 'Poppins', sans-serif;
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: 200;
    font-size: 15px;
}

    .footer-links-cc li {
        margin-bottom: 10px;
        color: black;
    }

    .footer-links-cc a {
        color: black; /* Texto blanco */
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-links-cc a:hover {
            color: #000; /* Negro al pasar el mouse */
        }

/* Sección inferior: Fondo negro */
.footer-bottom-cc {
    background: black; /* Fondo negro */
    color: #bbb; /* Texto gris claro */
    padding: 20px 0;
    text-align: center;
    width: 100%; /* Ocupa todo el ancho */
}

    /* Links en la parte inferior */
    .footer-bottom-cc a {
        color: #bbb;
        text-decoration: none;
        margin: 0 10px;
    }

        .footer-bottom-cc a:hover {
            color: white; /* Blanco al pasar el mouse */
        }
/* Centrar todo en el bloque social */
.footer-column-cc--social {
    display: flex;
    flex-direction: column;
    align-items: start;
}

/* Ya no necesitas inline-styles en el UL: */
.footer-links-cc--social {
    display: flex;
    gap: 20px;
    /* justify-content no hace falta: el UL ya queda centrado por el contenedor */
}

/* Responsividad: Ajusta a una columna en pantallas pequeñas */
@media (max-width: 768px) {
    .footer-columns-cc {
        flex-direction: column;
        text-align: center;
    }

    .footer-column-cc {
        margin-bottom: 20px; /* Espacio entre columnas */
    }

    .footer-column-cc--social {
        align-items: center;
    }
}

/*------------------------------ ESTILOS Carrito desplegable---------------------------------*/
/*Estilos para el delay antes de agregar otro producto*/
/* Asegurarse de que el botón permita ::after y tenga alineación adecuada */
/* Ocultar el icono interno al cargar */
.btn-loading > i,
.btn-loading .bi {
    display: none;
}

/* Mantener inline-flex para centrar bien el spinner */
.btn-loading {
    pointer-events: none !important;
    opacity: 0.6 !important;
    cursor: wait !important;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    /* Spinner con pseudo-elemento */
    .btn-loading::after {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid currentColor;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
        margin-left: 0; /* ya no hace falta margen entre icono y spinner */
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Overlay semitransparente */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    z-index: 9998; /* Debe estar por debajo del carrito */
}

/* Efecto blur para el contenido principal */
.blurred {
    filter: blur(5px);
    pointer-events: none; /* Deshabilita la interacción con el contenido */
}

/* Carrito lateral (ya lo tenés, pero verificamos su z-index) */
.carrito-cc {
    position: fixed;
    top: 0;
    right: 0;
    width: 495px;
    height: 100%;
    background: #000;
    color: black;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 9999; /* Siempre por encima del overlay */
    overflow-y: auto;
    background-color: white;
    color: black;
    border-radius: 6px;
    transition: all .7s
}

/* Clase para mostrar el carrito */
.carrito-activo-cc {
    transform: translateX(0);
}

.carrito-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 20px 21px;
    margin: 0;
    background-color: black;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    cursor: pointer;
    transition: all 0.5s; /* <-- mover aquí */
    border: 1px solid black;
}

    .carrito-header:hover {
        background-color: white;
        color: black;
    }

        .carrito-header:hover .titulo-carrito-cc,
        .carrito-header:hover .cerrar-carrito-cc,
        .carrito-header:hover .cerrar-carrito-cc i {
            color: black;
        }

.titulo-carrito-cc {
    color: white;
    font-size: 22px;
    margin: 0; /* elimina márgenes predeterminados */
    line-height: 1;
}
/* Botón de cierre del carrito */
.cerrar-carrito-cc {
    background: none;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 0; /* elimina cualquier padding */
    line-height: 1; /* igual alto de línea */
    display: flex; /* para centrar al icono si hace falta */
    align-items: center;
    border-radius: 100%;
    border: 1px solid white;
    padding: 8px;
}

.text-muted-carrito {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #136cae;
    padding: 10px;
    font-size: 18px;
    color: #136cae;
    text-align: center;
    font-family: 'Poppins' sans-serif;
    font-weight: 200;
}

.cart-dropdown {
    min-width: 300px;
    padding: 20px;
}

.cart-item-carrito {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px; /* o 15px si preferís menos espacio */
}

.row-product-cart {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
/*.container-cantidades-carrito {
    display: flex;
}*/
.sub-container-cantidades {
    display: flex;
    padding: 4px 6px;
    border: 1px solid gray;
    border-radius: 10px;
    width: fit-content;
}

.precios-container-carrito {
    right: 0;
}

.input-cantidad-carrito {
    width: 75px !important;
    text-align: center;
    border: none;
    text-decoration: none;
    padding: 0 !important;
    margin: 0 !important;
}
/* Para Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.div-img-product-carrito {
    flex: 0 0 auto; /* o un ancho fijo como width: 80px */
    width: 80px;
    margin-right: 0px;
    text-align: center;
}

.container-cantidades {
    flex: 1 1 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bi-dash, .bi-plus {
    color: black
}

.precios-container-carrito {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 100px; /* O el espacio que necesites */
}

.nombre-producto-carrito {
    font-weight: 400;
    font-family: 'Poppins' sans-serif;
    color: black;
    text-decoration: none;
    transition: all .4s;
    margin-bottom: 10px;
}

    .nombre-producto-carrito:hover {
        color: gray;
    }

.btn-eliminar-producto .bi-trash3 {
    color: #373737;
    font-size: 18px;
    margin-bottom: 10px;
}

.div-descuentos-cart {
    display: flex;
    gap: 7px;
}

.porcentaje-descuento-cart {
    font-weight: 700 !important;
    font-size: 13px !important;
}

.precio-original-tachado-cart {
    text-decoration: line-through;
    color: #808080;
    font-size: 13px;
}

.precio-con-descuento-cart {
    position: relative;
    top: -10px; /* ajusta a tu gusto */
    font-weight: 700;
}

.subtotal-carrito {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
}

    .subtotal-carrito p {
        font-family: 'Poppins' sans-serif;
        font-weight: 700;
        font-size: 16px;
    }

.span-sin-envio {
    font-size: 15px;
    font-weight: 700;
}




.btn-black {
    display: inline-block;
    padding: 0.8rem 1rem;
    background-color: white;
    color: black;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 200;
    font-family: 'Poppins' sans-serif;
}

    .btn-black:hover {
        color: black;
    }

.btn-black-success {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: black;
    color: white;
    border-radius: 26px;
    text-decoration: none;
    transition: all .2s;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins' sans-serif;
    border: 1px solid black;
}

    .btn-black-success:hover {
        background-color: #444; /* o cambia a #222 si lo prefieres aún más oscuro */
        color: white;
    }

.img-product-carrito {
    max-width: 85px;
    max-height: 85px;
    border: none;
}

.row-product-cart {
    display: flex;
}



/*---------------Estilos Buscador de Agencias, Cotizaciones y selecciones de entrega-------------------*/

.container-buscador-cp {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #444;
}

.titulo-cp {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
    color: #000;
    margin: 10px auto 6px auto;
    text-shadow: 0.3px 0.3px 0.5px rgba(0, 0, 0, 0.2);
}

    .titulo-cp p {
        margin: 0 0 -3px 0;
        padding: 0;
        margin-left: 14px;
    }

.bi-truck {
    width: 15px;
    font-size: 20px;
}

/* Formulario flex para input y botón alineados */
.form-buscador-cp {
    display: flex;
    overflow: hidden;
    gap: 0;
}

/* Input */
.input-wrapper {
    flex-grow: 1;
    position: relative;
    border-right: 1px solid #444;
    margin-right: -1px;
}

.input-cp {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #a1a1a1;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: #222;
    font-weight: 400;
    background: white;
    box-sizing: border-box;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    border-radius: 10px 0 0 10px;
    height: 45px;
}

    .input-cp:hover {
        border: 1.2px solid black;
    }

    .input-cp:focus {
        outline: none;
    }

/* Botón */
.btn-buscar {
    background: white;
    border: 1.2px solid #000;
    color: black;
    font-weight: 700;
    padding: 0 16px;
    cursor: pointer;
    transition: color 0.4s ease;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 185px;
    width: 100%;
    border-radius: 0 10px 10px 0;
    height: 45px;
    letter-spacing: 2px;
}

    .btn-buscar:hover {
        color: #777;
    }

    .btn-buscar:focus {
        outline: none;
    }

/* Enlace bajo el form */
.link-consultar-cp {
    display: inline-block;
    font-size: 13px;
    color: #000;
    margin-top: 6px;
    text-decoration: none;
    font-weight: 400;
    text-shadow: 0.3px 0.3px 0.5px rgba(0, 0, 0, 0.2);
    transition: color 0.25s ease;
}

    .link-consultar-cp:hover {
        color: #6a6a6a;
        text-decoration: none;
    }




/* Contenedor principal del bloque de cotización */
.div-principal-ayc {
    background-color: white;
    padding: .3rem 0;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #000;
    text-shadow: 0.3px 0.3px 0.4px rgba(0, 0, 0, 0.2);
}

    /* Título del bloque */
    .div-principal-ayc h5 {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

/* Card de opción de envío */
.form-check-ac {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    /*    border: 1px solid #ddd;
*/ border-radius: 6px;
    padding: 0.75rem 1rem;
    background: #fff;
    cursor: pointer;
    transition: border 0.25s ease, box-shadow 0.2s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

    /* Al pasar el mouse */
    .form-check-ac:hover {
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
        border-color: #aaa;
    }

    /* Cuando está seleccionada (se aplicará vía JS si querés, clase extra por ejemplo .seleccionada) */


    /* Etiqueta decorativa izquierda cuando está seleccionada */
    .form-check-ac.selected::before {
        content: "✓";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: black;
        color: white;
        font-size: 16px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }

/* Input radio oculto, pero accesible */
.form-check-input-ac {
    margin-right: 1rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
    accent-color: black;
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid black;
    border-radius: 50%;
    cursor: pointer;
}

/* Contenido descriptivo dentro de la "card" */
.form-check-label-ac {
    flex-grow: 1;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    line-height: 1.3;
    color: #000;
    display: flex;
    justify-content: space-between;
    padding: 16px 10px 45px 10px !important;
}


    .form-check-label-ac strong {
        flex-grow: 1;
        cursor: pointer;
        user-select: none;
        font-size: 14px;
        line-height: 1.3;
        color: #000;
    }
/* Botón de ver sucursales */
.estilos-toggle-agencias {
    position: absolute;
    left: 0;
    bottom: 0;
    background: none;
    color: black;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    margin-left: 35px;
    margin-bottom: 15px;
    align-self: flex-start;
    transition: all .3s;
    font-weight: bold;
}

    .estilos-toggle-agencias:hover {
        color: #a9a9a9;
    }

@media (max-width:768px) {
    .estilos-toggle-agencias:hover {
        color: black;
    }
}

/* Listado de sucursales (oculto por defecto) */
.lista-agencias-disponibles {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    font-size: 13px;
    color: #444;
    border-left: 2px solid #007bff;
    padding-left: 0.75rem;
}

/* Cada sucursal listada */
.datos-agencias {
    margin-bottom: 0.3rem;
}



.form-check-ac {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.form-check-ac-secundario {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0px 0px !important;
    width: 100%;
}

.div-principal-ayc p, h5 {
    margin-top: 14px;
}


.form-check-label-ac .strong-precio-envio {
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: black;
    font-weight: 700;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}



.form-check-label-ac .strong-tipo-agilidad {
    font-weight: 300;
    margin: 0;
    padding: 0;
}

.container-total-carrito {
    display: flex;
    justify-content: space-between;
    margin: 16px auto 0 auto;
}

    .container-total-carrito h3 {
        font-weight: 700;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    }

#totalConEnvioDisplay {
    font-weight: 700;
    font-size: 28px;
    letter-spacing: .5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
}

.precio-sin-descuento-aplicado {
    font-weight: 700;
}

#subtotal {
    font-size: 18px;
    font-weight: 700;
}


.form-check-ac-secundario::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0px;
    height: 100%;
    background-color: black;
    transition: width 0.3s;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

input[type="radio"]:checked + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background-color: black;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

input[type="radio"]:checked + label::after {
    content: "✓";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: black;
    font-weight: bold;
    z-index: 2;
}

input[type="radio"].form-check-input-ac {
    opacity: 0;
    pointer-events: none;
}


.h5-title-retiroShowroom {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

.seleccion-previa-e {
    display: flex;
    /* para que el label estire a la altura del contenido */
    align-items: stretch;
    border: 1px solid #ccc;
    background-color: #ffffff;
    color: #000000;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.preview-label {
    background-color: #000;
    width: 32px; /* ancho fijo de la etiqueta negra */
    display: flex;
    align-items: center;
    justify-content: center;
    /* que ocupe toda la altura del contenedor */
    flex-shrink: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

    .preview-label i {
        color: #fff;
        font-size: 20px;
    }

.preview-text {
    padding: 0.5rem 1rem;
    flex: 1;
    /* si quieres, ajustar display:flex; flex-direction:column; */
}

/* Si quieren otro aspecto cuando no haya selección, pueden añadir otra clase
   pero según pediste, aquí siempre es sólo visual, no interactivo. */


/*Estilos al final para aprovechamiento de la cascada*/
/*.boton-ocultar-posicionado {
    transition: none;
}*/


.dom-label-ac {
    padding: 16px 10px 20px 10px !important;
}

.showroom-selection {
    padding: 15px !important;
}
/*-------------------------Estilos header inicio de compra y footer disabled--------------------------------*/
.header-compra {
    height: 120px;
    background-color: #000; /* Fondo negro */
    display: flex;
    align-items: center; /* Centrar verticalmente */
    padding: 0 20px;
}

    /* Contenedor flex para logo y texto */
    .header-compra .container {
        display: flex;
        justify-content: space-between; /* Separar logo y texto */
        align-items: center; /* Alinear verticalmente */
        width: 100%;
        padding: 0 !important;
    }

    /* Logo */
    .header-compra .logo-inicio-compra img {
        height: 80px; /* Ajusta según el tamaño de tu logo */
        width: auto;
    }

    /* Sección de "Compra Segura" */
    .header-compra .compra-segura {
        display: flex; /* Para alinear icono y texto */
        align-items: center; /* Centrar verticalmente */
    }

    /* Icono de seguridad */
    .header-compra .icono-seguridad {
        height: 40px; /* Tamaño del ícono */
        width: auto; /* Mantener proporción */
        margin-right: 10px; /* Espacio entre el icono y el texto */
        border-radius: 6px;
    }

    /* Texto "Compra Segura - 100% Protegido" */
    .header-compra .texto-seguridad {
        display: flex;
        flex-direction: column; /* Texto en dos líneas */
        align-items: center; /* Centrar horizontalmente */
        color: white; /* Texto blanco */
    }

.texto-seguridad .compra {
    font-size: 16px; /* Tamaño normal */
    font-weight: normal; /* Peso normal */
}

.texto-seguridad .protegido {
    font-size: 18px; /* Un poco más grande */
    font-weight: bold; /* Más grueso */
}

/* Ocultar footer */
.hidden-footer {
    display: none;
}

.mobile-security-header {
    display: none;
    height: 100%;
    background: #a9c684;
    color: black;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .mobile-security-header {
        display: flex;
    }

        .mobile-security-header img {
            width: 30px;
            margin: 0 10px;
            border-radius: 18px;
        }

    .compra-segura {
        display: none !important;
    }

    .logo-inicio-compra {
        display: flex !important;
        margin: auto;
        max-width: 300px !important;
    }

        .logo-inicio-compra img {
            margin: auto;
            max-width: 300px !important;
        }
}
/*-----------------------------------------productos index-----------------------------------------------*/
/*filtrados css*/
.ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    background: #fff !important;
    border: 2px solid #007bff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    top: -7px !important;
}

.ui-slider-range {
    background: #007bff !important;
    height: 5px !important;
}

.pagination-cc {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}

.page-link-cc {
    padding: 8px 12px;
    border: 1px solid black;
    text-decoration: none;
    color: black;
    border-radius: 4px;
    transition: all .2s;
}

    .page-link-cc:hover {
        background-color: black !important;
        color: white;
    }

.active-cc {
    background-color: black;
    color: white !important;
    border-color: black;
    transition: all .2s
}

    .active-cc:hover {
        background-color: black;
        color: white !important;
    }






/*--------------------------------detallles del producto---------------------------------------*/


.product-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    margin-top: 175px;
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}


.product-video {
    width: 100%;
    border-radius: 4px;
}

.no-content {
    color: #999;
    font-style: italic;
}

/* Layout principal con tres columnas */
.product-content-layout {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

/* Columna izquierda: thumbnails en columna */
.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 110px;
}

.thumbnail-image {
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
}

/* Imagen principal centrada */
.product-main-image {
    flex-grow: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: start;
}

    .product-main-image img {
        max-width: 100%;
        max-height: 500px;
        object-fit: contain;
        border-radius: 8px;
    }

/* Columna derecha: detalles y carrito */
.URL-actual {
    font-size: 15px;
    margin-bottom: 12px;
}

.product-header {
    margin-bottom: 20px;
    padding: 0;
}

.product-details-container {
    max-width: 500px;
    gap: 20px;
}

.product-title-details {
    font-weight: 700;
    font-size: 29px;
    color: black;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.precio-original-details {
    text-decoration: line-through;
    font-weight: 300;
    font-size: 18px;
    color: #222;
    margin-right: 5px;
}

.precio-descuento-details {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    font-size: 28px;
    color: black;
}

.product-features {
    margin-top: 10px;
}

.feature-item {
    background-color: #f3f3f3;
    padding: 5px 10px;
    margin-bottom: 5px;
    border-radius: 4px;
}

/* Meta info estilo limpio */
.product-meta {
    margin-top: 15px;
    margin-bottom: 25px;
    color: black;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.meta-label {
    font-weight: 600;
}

/* Controles de cantidad y botón agregar */
.add-to-cart-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-qty {
    background-color: #ddd;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
    transition: background-color 0.2s;
}

    .btn-qty:hover {
        background-color: #bbb;
    }

.input-qty {
    width: 60px;
    text-align: center;
    font-size: 16px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.flechas-url-actual {
    color: #999
}

.cantidades-details {
    display: flex;
    align-items: center;
}

.input-btn-cantidades-details {
    display: flex;
    align-items: center;
    border: 1px solid #999;
    border-radius: 12px;
    transition: all .3s;
    padding: 1px 0;
    width: 140px;
    justify-content: space-between;
}

    .input-btn-cantidades-details:hover {
        border: 1px solid black;
    }

.btn-cantidad {
    background-color: white;
    color: black;
    font-size: 1.8rem;
    width: 36px;
    height: 36px;
    border-radius: 1rem;
    border: none;
    font-weight: 400;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all .4s;
}

.btn-decrementar-details {
    letter-spacing: -4px;
    margin-bottom: 4px;
}

.btn-cantidad:hover {
    color: #555;
}

.btn-cantidad:focus {
    outline: none;
    box-shadow: none;
}

.input-cantidad {
    border: none;
    box-shadow: none;
    width: 40px;
    text-align: center;
    font-size: 1rem;
}

.cantidad-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}
/*---------Caracteristicas productos------*/
.caracteristicas-producto-details {
    margin: 0 auto 80px auto;
    max-width: 1300px;
}

    .caracteristicas-producto-details h3 {
        margin: 40px auto;
        color: black;
        border-bottom: 1px solid #000;
        padding-bottom: 8px;
    }

    .caracteristicas-producto-details li {
        margin: 10px auto;
    }

/*-----------Productos relacionados details -------*/
/* Estilos del carrusel */
.related-products-container {
    position: relative;
    padding: 0 50px;
    margin: 0 auto;
    max-width: 1300px; /* (300px + 20px) * 4 + 40px de padding */
}

.h2-productos-relacionados-details {
    color: black;
    text-align: center;
    margin: 25px;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.related-products-wrapper {
    overflow: hidden;
    width: 100%;
}

.related-products-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.related-product-item {
    width: 280px;
    min-width: auto; /* Fijo para evitar que se reduzca */
    border-radius: 4px;
    padding: 10px;
    flex-shrink: 0;
}

/* Estilos de los productos */
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.no-image-placeholder {
    width: 100%;
    height: 150px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-name {
    margin: 10px 0;
    font-size: 16px;
}

.product-price {
    font-weight: bold;
    color: #007bff;
    margin: 0;
}
/* Flechas del carrusel */
.carousel-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: none;
}

.left-arrow {
    left: -30px;
}

.right-arrow {
    right: -40px;
}

.carousel-arrow:hover {
    background: #f5f5f5;
}

.carousel-arrow i {
    font-size: 2.1rem;
    color: #222;
}


/*--Estilos imagenes seleccionables y expansibles Details--*/
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: zoom-out;
}

.overlay-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

Cursor para indicar que es clickeable
.thumbnail-image,
.product-main-image img {
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail-image:hover {
    transform: scale(1.05);
}


.close-overlay {
    position: fixed;
    top: 100px;
    right: 100px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10000;
}

    .close-overlay::before,
    .close-overlay::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background: white;
        top: 50%;
        left: 0;
        box-shadow: 0 0 5px rgba(0,0,0,0.5);
    }

    .close-overlay::before {
        transform: rotate(45deg);
    }

    .close-overlay::after {
        transform: rotate(-45deg);
    }

    .close-overlay:hover::before,
    .close-overlay:hover::after {
        background: #ff4444;
    }

/* Aplica a ambos tipos de media cuando están activos */
.thumbnail-image.active-thumbnail,
.product-video.active-thumbnail {
    border-bottom: 4px solid #000 !important;
    padding-bottom: 2px;
    cursor: default;
    box-sizing: border-box; /* Importante para videos */
    position: relative; /* Ayuda con el layout */
}




/* CSS actualizado para video */
.product-main-image {
    position: relative;
}

#videoPrincipal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.overlay-video {
    width: 90%;
    height: 90%;
    display: none;
}

/* Asegurar que el video en miniaturas no tenga controles */
.product-video {
    cursor: pointer;
}

.caracteristicas-producto-details-mobile {
    display: none;
}

/*------- Responsive Styles -------*/
@media (max-width: 768px) {
    .caracteristicas-producto-details {
        display: none;
    }

    .caracteristicas-producto-details-mobile {
        display: block;
        grid-column: 1 / -1;
        padding-top: 20px;
        border-top: 1px solid #bbb;
    }

    .sub-container-section-left {
        display: flex;
    }

    .container-section-left {
        grid-column: 1 / -1;
        height: 75vh !important;
    }

    .product-container {
        margin-top: 70px;
    }

    .product-content-layout {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: 10px;
        align-items: center; /* Cambiado a center para alineación vertical */
    }

    .product-thumbnails {
        grid-column: 1;
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centra verticalmente las miniaturas */
        height: 70vh; /* Misma altura que la imagen principal */
        max-width: 100%;
        overflow-y: auto;
        padding-right: 5px;
        max-width: 80px !important;
        width: 80px !important;
    }

    .thumbnail-image,
    .product-video {
        width: 100%;
        height: 80px;
        margin: 3px 0;
        object-fit: contain;
        -webkit-mask-image: none !important;
    }

    .product-main-image {
        grid-column: 2;
        height: 70vh;
        min-height: 400px;
        max-height: 600px;
        position: relative;
        display: flex;
        align-items: center; /* Centra la imagen verticalmente */
    }

        .product-main-image img,
        #videoPrincipal {
            width: 100%;
            max-width: 100%;
            height: auto;
            max-height: 100%;
            object-fit: contain;
        }

    .product-details-container {
        grid-column: 1 / -1;
        padding-top: 0;
    }

    .product-video::-webkit-media-controls,
    .product-video::-webkit-media-controls-enclosure {
        display: none !important;
    }

    .close-overlay {
        top: 4px !important;
        right: 4px !important;
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        padding: 5px;
        transition: all 0.3s ease;
    }

        .close-overlay::before,
        .close-overlay::after {
            width: 70%;
            left: 15%;
            height: 2px;
            box-shadow: none;
        }

        .close-overlay:hover {
            background: rgba(0, 0, 0, 0.5);
        }

        .close-overlay:active {
            background: rgba(255, 68, 68, 0.5);
        }

        .close-overlay:hover::before,
        .close-overlay:hover::after {
            background: #ff4444;
        }

    /* Versión móvil pequeña */
    @media (max-width: 480px) {
        .product-container {
            margin-top: 50px;
        }
        .container-section-left {
            grid-column: 1 / -1;
            height: 55vh !important;
        }
        .product-content-layout {
            grid-template-columns: 60px 1fr;
        }

        .thumbnail-image,
        .product-video {
            height: 60px;
        }

        .product-main-image {
            height: 60vh;
            min-height: 300px;
        }

        .URL-actual {
            font-size: 13px;
        }

        .product-title-details {
            font-size: 22px;
        }

        .precio-descuento-details {
            font-size: 22px;
        }

        .btn-cantidad {
            width: 30px;
            height: 30px;
            font-size: 1.5rem;
        }

        .input-cantidad {
            width: 35px;
        }

        .product-video {
            background: white;
        }

        .close-overlay {
            top: 5px !important;
            right: 5px !important;
            width: 65px;
            height: 65px;
        }

            .close-overlay::before,
            .close-overlay::after {
                width: 60%;
                left: 20%;
            }
    }
}

@media (min-width: 769px) {
    .sub-container-section-left {
        display: flex;
        width: 100%;
    }

    .container-section-left {
        width: 60%;
    }

    .product-details-container {
        width: 40%;
    }

    .product-main-image {
        flex-grow: 1;
        max-width: 500px;
        display: flex;
        justify-content: center;
        align-items: start;
        margin-left: 10%;
    }
}





/*--------------------------------------Vista Orden----------------------------------*/
/* Estilos generales */
.resumen-pedido-container-orden {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

.contenedor-seccion-izquierda {
    width: 70%
}
/* Mensaje de gracias */
.gracias-compra-orden {
    width: 100%;
    height: 50px;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 16px 0 0;
}

    .gracias-compra-orden h3 {
        font-family: 'Poppins', sans-serif;
        margin: 0;
        font-size: 21px;
        font-weight: 400;
    }

/* Contenedor principal */
.contenido-principal-orden {
    display: flex;
    gap: 30px;
    width: 100%;
}

.sub-item-espera-pago-1 {
    display: flex;
    align-items: center;
}

    .sub-item-espera-pago-1 p {
        font-size: 24px;
        color: black;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        margin: 0;
        padding: 0;
        margin-left: 30px;
    }

.bi-hourglass {
    font-size: 35px;
}

.p-dato-pago {
    margin: 0;
    padding: 0;
}

    .p-dato-pago span {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        color: black;
        font-size: 17px;
    }

.titulo-datos-abonar {
    font-size: 18px;
    color: black;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
/* Sección izquierda */
.seccion-izquierda-orden {
    background-color: #fff;
    padding: 20px 50px;
    border-radius: 0 0 8px 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.estado-pago-orden {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.logo-reloj-orden {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}


.cuenta-bancaria-orden {
    margin-bottom: 20px;
}

.contenedor-iconos-destino {
    display: flex;
    gap: -12px;
}

.destino-entrega-orden {
    display: flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 20px 50px;
    gap: 20px;
}

.logo-camion-orden {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.destino-entrega-orden p {
    margin: 0;
    padding: 0;
    margin-left: 20px;
}

.bi-truck, .bi-wind {
    font-size: 25px;
}

.bi-wind {
    transform: scaleX(-1); /* ajustá el 4px según el desplazamiento deseado */
    margin-top: 3px;
}

.pedido-enviar-comprobante {
    display: flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 20px 50px;
    gap: 20px;
    margin-top: 20px;
}

    .pedido-enviar-comprobante p {
        margin: 0;
    }

    .pedido-enviar-comprobante a {
        font-weight: bold;
    }
/*-------------------------------------------------Sección derecha ----------------*/
.seccion-derecha-orden {
    margin-top: 20px;
    width: 30%;
}

.resumen-orden-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem; /* opcional para separación */
}

.titulo-resumen-orden {
    margin: 0; /* importante para evitar que se desplace */
    font-size: 20px;
    font-weight: 500;
}

.badge-cantidad-orden {
    font-size: 15px;
    font-weight: 400;
    background-color: #eee; /* opcional */
    padding: 4px 8px; /* opcional */
    border-radius: 5px; /* opcional */
}

.titulo-resumen-orden {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.badge-cantidad-orden {
    background-color: #2196F3;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 16px;
    margin-left: 10px;
}

.lista-productos-orden {
    margin-bottom: 30px;
    max-height: 190px;
    overflow-y: auto;
}


.producto-item-orden {
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.producto-contenido-orden {
    display: flex;
    align-items: center;
}

.container-img-resumen-o {
    width: 82px;
    height: 82px;
    margin-right: 8px;
}

.producto-imagen-orden {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}





.producto-detalle-orden {
    flex-grow: 1;
}

.producto-header-orden {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center; /* <-- esta línea */
}

.nombre-o {
    font-size: 15px !important;
    color: #111 !important;
    font-weight: 200 !important;
}

.nombre-o, .precio-total-o {
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
}

.precio-total-o, .producto-descuento-orden {
    margin-right: 10px;
}


.producto-info-orden {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.producto-descuento-orden {
    background-color: #4CAF50;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.producto-precios-orden {
    margin-top: 5px;
}

.precio-original-orden {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
    font-size: 12px;
}

.precio-descuento-orden {
    color: #4CAF50;
    font-weight: bold;
    font-size: 13px;
}

.precio-normal-orden {
    font-weight: bold;
}

/* Resumen total */
.resumen-total-orden {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-bottom: 30px;
}

.total-linea-orden {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.total-ahorro-orden {
    color: #4CAF50;
}

.total-final-orden {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.monto-total-orden {
    color: #2196F3;
}






/*---- Información de seguimiento y pedido ------*/
.info-pedido-orden p, .info-seguimiento-orden p {
    font-size: 11px;
    color: #333;
    padding: 0;
    margin: 0;
}

.title-1-o {
    font-size: 14px !important;
    font-weight: bold;
    color: #333;
}

.title-2-o {
    font-size: 11px !important;
    font-weight: bold;
    color: #333;
}

.seguimiento-header-orden, .pedido-header-orden {
    display: flex;
    align-items: center;
    margin-bottom: 7px;
}

.seguimiento-header-orden,
.pedido-header-orden {
    display: flex;
    align-items: center;
    gap: 8px; /* espacio entre ícono y texto */
}

.info-seguimiento-orden {
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.qr-ticket {
    display: block;
    margin: 0 0;
    width: 200px;
}


/* En mobile hacer que ocupe todo el ancho */

@media (max-width: 1000px) {
    .contenido-principal-orden {
        flex-direction: column;
    }

    .seccion-derecha-orden {
        width: 100%;
    }

    .contenedor-seccion-izquierda {
        width: 100%;
    }

    .qr-ticket {
        display: block;
        margin: 0 auto;
        width: 200px;
    }
}










/*---------------------------------INICIO---------------------------------*/
/*Seccion 1*/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-inicio-1 {
    width: 100vw;
    height: 450px;
    overflow: hidden;
    margin-top: 178px;
    position: relative;
}

    .hero-inicio-1 .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Ocultar en mobile/desktop según resolución */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/*Seccion 2*/
.hero-inicio-2 {
    display: flex;
    width: 100%;
    max-width: 1580px;
    margin: 10px auto 60px auto;
    height: 500px;
    gap: 20px;
    padding: 10px 15px;
    box-sizing: border-box;
}

.categoria-block {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

    .categoria-block:hover {
        transform: scale(1.02);
    }

.categoria-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/*Seccion 3 TENDENCIAS*/
.productos-tendencia-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.titulo-seccion {
    font-family: 'Poppins' sans-serif !important;
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: black;
}

.grid-tendencias {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.producto-card {
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.4s ease-in-out;
}

    .producto-card:hover {
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        transform: scale(1.02);
    }

.imagen-contenedor {
    position: relative;
    width: 100%;
    height: 300px;
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.descuento-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: black;
    color: white;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
    line-height: 1.1;
    text-align: center;
}

    .descuento-badge .porcentaje {
        font-size: 13px;
    }

    .descuento-badge .off {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

.producto-info {
    padding: 1rem;
    text-align: center;
}

    .producto-info h4 {
        margin: 0;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-family: 'Poppins' sans-serif;
        font-weight: 200;
        text-shadow: 0px 0px .1px rgba(0, 0, 0, 0.95);
    }

.precios-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.precio-original {
    font-size: 15px;
    text-decoration: line-through;
    color: #000;
    font-weight: 200;
}

.precio-descuento {
    font-size: 18px;
    color: #000;
    font-weight: 700;
}

/* Ocultar los botones al principio */
.botones-ocultos {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 24px;
}

.producto-card:hover .botones-ocultos {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Botones desktop */
.btn-agregar-carrito {
    padding: 0.3rem 2rem;
    background-color: #000;
    color: white;
    border-radius: 1rem;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
    width: 50%;
    font-weight: 600;
    font-size: 14px;
}

    .btn-agregar-carrito:hover {
        background-color: #4e4e4e;
        color: white;
    }

.btn-agregar-carrito-productos {
    padding: 6px 6px 9px 6px;
}

.btn-ver {
    padding: 0.3rem 2rem;
    margin: auto;
    color: black;
    background-color: white;
    border-radius: 1rem;
    border: 1px solid black;
    transition: background-color 0.2s ease-in-out;
    text-decoration: none;
    width: 50%;
    font-weight: 600;
    font-size: 14px;
}

    .btn-ver:hover {
        color: #222;
        background-color: white;
        border: 1px solid black;
    }
/* Botones fijos en fila en mobile */
.botones-mobile-fijos {
    display: none;
}


/* Sección 4 */
.info-servicios {
    background-color: rgb(240,240,240); /* Gris */
    width: 100%;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-contenedor {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: flex-start;
    width: 230px;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s;
    text-shadow: 0px 0px 0.1px rgba(0, 0, 0, 0.95);
    font-family: 'Poppins', sans-serif;
}

    .info-item p {
        margin: 0;
        line-height: 1;
        font-size: 17px;
        display: flex;
        align-items: center;
    }

.envios-info-item {
    width: 280px;
    justify-content: space-between;
}

.icono-info {
    font-size: 60px;
    color: #222;
    font-weight: 200;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
}

.info-servicios a.info-item {
    cursor: default;
    color: inherit;
}

.consultanos-inicio {
    color: #000;
    transition: all .3s;
}

    .consultanos-inicio:hover {
        color: #444;
    }

.info-servicios a.info-item:hover {
    cursor: pointer;
}

/* Sección de swipe (slider/carrusel con puntitos) */
.mySwiper {
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

/*-----------------------Seccion 5----------------------*/
.tres-cards-5 {
    width: 100%;
    padding: 5rem 1rem;
    background-color: white;
    display: flex;
    justify-content: center;
}

.cards-container-5 {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1400px;
}

.card-5 {
    width: 403px;
    height: 464px;
    background-color: black;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .card-5:hover {
        transform: translateY(-5px);
    }

.img-wrap-5 {
    position: relative;
    width: 100%;
    height: 100%;
}

    .img-wrap-5 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

@media (max-width: 768px) {
    .card-5 {
        width: 100%; /* O 90% si querés margen a los costados */
        height: auto; /* Dejamos que la altura crezca según el contenido */
    }

    .img-wrap-5 {
        width: 100%;
        aspect-ratio: 4 / 5; /* Relación similar a 403x464, podés ajustar */
        min-height: 380px; /* Asegura altura mínima visible para imagen */
    }

        .img-wrap-5 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
}
/*Seccion 6*/
.newsletter-6 {
    background-color: #000;
    color: #fff;
    width: 100%;
    height: 390px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenido-6 {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.titulo-chico-6 {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.titulo-grande-6 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: .5px;
}

.descripcion-6 {
    font-size: 15px;
    margin-bottom: 2.9rem;
    letter-spacing: .5px;
}

.formulario-6 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.input-6 {
    width: 731px;
    height: 55px;
    padding: 0 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

.boton-6 {
    height: 55px;
    padding: 0 1rem;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 35px;
    transition: background 0.3s;
}

    .boton-6:hover {
        background-color: #e5e5e5;
    }


/*Seccion 7*/
.instagram-7 {
    width: 100%;
    height: 200px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contenido-7 {
    text-align: center;
    margin-top: 3rem;
}

.titulo-7 {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .titulo-7 a {
        text-decoration: none;
        color: black;
        transition: all .4s;
        font-weight: 800;
        letter-spacing: 2px;
    }

.icono-7 {
    font-size: 28px;
    color: #000;
}

.subtitulo-7 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin: 0.25rem 0 1rem;
    color: #000;
    font-weight: 200;
    transition: all .4s;
    cursor: default;
}

    .subtitulo-7:hover {
        color: rgb(150,150,150);
    }

.a-boton-7 {
    padding: 0.5rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background: transparent;
    color: #000;
    border: 2px solid #000;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
}

    .a-boton-7:hover {
        background: #000;
        color: #fff;
    }

/*Seccion-8*/
.nosotros-8 {
    width: 100%;
    background-color: #fdfdfd;
    padding: 3rem 1rem 0;
    margin-bottom: 3%;
}

.contenido-8 {
    text-align: center;
    margin-bottom: 2rem;
}

.titulo-8 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: black;
}

.video-container-8 {
    width: 100%;
    height: 80vh;
}

.video-8 {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border: none;
}
/*-----------------------------------------------Vista Index Productos-------------------------------*/

/* Contenedor principal: 2 columnas */
.contenedor-productos {
    display: grid;
    grid-template-columns: 190px 1fr; /* Reducimos el filtro y el contenido gana espacio */
    gap: 2rem;
}


.filtros-productos {
    width: 160px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* LISTA DE PRODUCTOS */
.lista-productos {
    display: flex;
    flex-direction: column;
}

.encabezado-productos {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Rejilla de cards: 4 columnas */
.grilla-productos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Card individual */
.card-productos {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

    .card-productos:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

/* Imagen */
.imagen-productos {
    width: 100%;
    padding-top: 75%; /* relación 4:3 */
    position: relative;
}

    .imagen-productos img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Info */
.info-productos {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nombre-productos {
    font-size: 1rem;
    margin: 0 0 .5rem;
}

.precio-productos {
    font-size: .95rem;
    margin-bottom: .75rem;
}

/* Acciones */
.acciones-productos {
    display: flex;
    gap: .5rem;
}

    .acciones-productos a {
        flex: 1;
        text-align: center;
        padding: .5rem 0;
        background: #007bff;
        color: #fff;
        border-radius: 4px;
        text-decoration: none;
        font-size: .85rem;
    }

        .acciones-productos a:hover {
            background: #0056b3;
        }

/* ------------------------------------ Index productos filtrados y mas  --------------------------------*/
.container-principal-productos {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 200px;
    padding-inline: 1rem;
    font-family: 'Poppins' sans-serif;
}

.container-filtros-superiores {
    display: flex;
    justify-content: space-between;
    margin: auto auto 35px auto;
    align-items: center;
}
/*Filtro de mas vendidos, mas recientes, etc!*/
.a-inicio-urlaction {
    color: #999;
    text-decoration: none;
    transition: all .4s;
    margin-top: 10px;
}

    .a-inicio-urlaction:hover {
        color: lightgray;
    }

#sort-select {
    padding: 10px 8px;
    border-radius: 10px;
    max-width: 300px;
    font-weight: 700;
    color: black;
    font-size: 15px;
    border: 1px solid #999;
    cursor: pointer;
    transition: all .5s;
    background-color: white;
}

    #sort-select:hover {
        border: 1px solid black;
    }

    #sort-select:focus {
        outline: none;
    }

.bi-arrow-down-up {
    background-color: white;
}

.custom-select-wrapper {
    position: relative;
    max-width: 300px;
    width: 100%
}


    .custom-select-wrapper i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        font-size: 16px;
        color: #333;
    }

#sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
}
/* Filtros Aside*/

.categorias-filtro h3 {
    color: black;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 20px;
}

.categorias-filtro ul {
    list-style: none; /* 2) Elimina los puntos de la lista */
    padding-left: 0; /* 3) Pega el texto a la izquierda */
    margin: 0;
}

.categorias-filtro a {
    text-decoration: none; /* 1) Quita subrayado */
    color: #333; /* 4) Color de los links */
    display: inline-block;
    padding: 4px 0;
    font-size: 15px;
}

.titulo-filtros-productos {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: black;
    font-weight: 700;
}

.price-filter-container h5 {
    color: black;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 17px;
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
}

    .price-inputs input {
        max-width: 100%;
        width: 100%;
        padding: 0.2rem 0.3rem;
        font-size: 14px;
        box-sizing: border-box;
        border-radius: 10px;
        color: lightgray;
        outline: none;
        border: 1px solid #999;
    }

        .price-inputs input:hover {
            outline: none;
        }

    .price-inputs label {
        color: #333;
        font-size: 14px;
    }

#apply-price-filter {
    border-radius: 16px;
    background-color: black;
    border: none;
    color: white;
    font-size: 14px;
    padding: 6px 10px;
    transition: all .4s;
    margin: 10px auto;
}

    #apply-price-filter:hover {
        background-color: #4e4e4e;
    }

    #apply-price-filter:focus {
        outline: none;
    }


#clear-price-filter {
    border-radius: 16px;
    background-color: black;
    border: none;
    color: white;
    font-size: 14px;
    padding: 6px 10px;
    transition: all .4s;
    margin: 10px auto;
}

    #clear-price-filter:hover {
        background-color: #4e4e4e;
    }

    #clear-price-filter:focus {
        outline: none;
    }

.filtro-talle-productos ul {
    list-style: none;
    padding-left: 0;
}

.filtro-talle-productos input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    cursor: pointer;
}

.stock-count {
    color: lightgray;
    font-size: 13px;
    margin-left: 4px;
}



.filtro-talle-productos ul {
    list-style: none;
    padding-left: 0;
}

.filtro-talle-productos li {
    margin-bottom: 6px;
}

.filtro-talle-productos label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.filtro-talle-productos input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.stock-count {
    color: lightgray;
    font-size: 13px;
    margin-left: 2px;
}


#price-min-display, #price-max-display {
    color: black;
    font-size: 15px;
    font-weight: 500;
}
/*Filtrados superiores dinamicos*/
.filtro-orden-productos {
    display: flex;
}
/* Contenedor principal de los filtros activos */
.filtro-orden-productos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Estilos para cada badge de filtro */
.filter-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0; /* Fondo gris */
    border-radius: 16px; /* Border radius */
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

    /* Estilo para el botón de eliminar (la cruz) */
    .filter-badge .remove {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: white; /* Fondo blanco para la cruz */
        border-radius: 50%;
        width: 18px;
        height: 18px;
        margin-left: 6px;
        cursor: pointer;
        font-size: 12px;
        color: #666;
        transition: all 0.2s ease;
    }

    /* Efecto hover para los badges */
    .filter-badge:hover {
        background-color: #e0e0e0;
        cursor: pointer;
    }

    .filter-badge .remove:hover {
        background-color: #e74c3c;
        color: white;
    }

    /* Estilo especial para "Limpiar todos" */
    .filter-badge.clear-all {
        background-color: transparent !important;
        font-weight: 600; /* Letra 600 */
        color: black;
        text-decoration: underline;
        box-shadow: none;
        padding: 6px 8px;
        text-decoration: none;
        cursor: pointer;
    }

        .filter-badge.clear-all:hover {
            color: #e74c3c;
            text-decoration: none;
        }

/* Si necesitas que los filtros tengan un margen específico */
#active-filters {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.create-inicio-productos {
    background-color: #28a745; /* Verde estándar */
    border-radius: 8px; /* Border radius suave */
    padding: 10px 20px; /* Espaciado interno */
    display: inline-block; /* Para que funcione el padding correctamente */
    transition: background-color 0.3s ease; /* Transición suave para el hover */
    text-decoration: none; /* Elimina el subrayado del enlace */
    color: white !important; /* Texto blanco (important para sobrescribir estilos) */
    text-decoration: none !important; /* Sin subrayado */
    border: none !important; /* Sin bordes */
    font-weight: 500; /* Grosor de letra medio */
}

    .create-inicio-productos:hover {
        background-color: #34ce57; /* Verde más claro al hacer hover */
        cursor: pointer; /* Cambia el cursor a mano */
    }

/*-----------Boton "filtros" mobile------------------*/
/* Estilo visual igual al select */
.custom-select-button {
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    color: black;
    font-size: 15px;
    border: 1px solid #999;
    cursor: pointer;
    transition: all .5s;
    background-color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom-select-button:hover {
        border: 1px solid black;
        background-color: #f5f5f5;
    }

.filtro-button-wrapper {
    display: flex;
    align-items: center;
}

/*--------------------------------- Panel lateral de filtros --------------------------*/
.panel-filtros {
    position: fixed;
    top: 0;
    right: -100%; /* oculto fuera de pantalla a la derecha */
    width: 350px;
    max-width: 100vw; /* para que no exceda pantalla en móvil */
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    z-index: 9999;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

    /* Cuando está abierto */
    .panel-filtros.abierto {
        right: 0;
    }

/* Encabezado */
.panel-filtros-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

    .panel-filtros-header h4 {
        font-size: 20px;
        font-weight: 700;
        margin: 0;
        color: black;
    }

    .panel-filtros-header button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #333;
    }

/* Cuerpo del panel */
.panel-filtros-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

/* Botón para abrir filtros */
.boton-abrir-filtros {
    display: inline-block;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 1rem;
}

.titulo-seccion-actual-productos {
    display: none;
}

.filtro-button-wrapper {
    display: none;
}

@media (max-width: 768px) {
}

.logo-mobile,
.mobile-search-drawer {
    display: none;
}
/* Desktop: 4 slides por fila */
@media (min-width: 768px) {
    .swiper-slide {
        flex: 0 0 25%;
        width: auto;
    }

    .swiper-pagination {
        display: none;
    }
}
/*-------------------------------------------Medias queries-----------------------------------------*/
@media (max-width: 768px) {
    .header-bottom,
    .sub-header,
    .buttons,
    .search,
    .logo { /* opcional: si no querés botones de ayuda / cuenta en header-top */
        display: none !important;
    }

    header {
        height: 12vh;
        padding-top: 25px; /* altura del .top-notice */
        background-color: black;
    }

    .container-logo-acciones {
        height: 12vh; /* o una altura fija */
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
    }
    /* Logo mobile */
    .logo-mobile {
        display: block !important;
        width: 160px;
    }

        .logo-mobile img {
            width: 100%;
            height: auto;
        }

    /* Contenedor botones */
    .mobile-buttons-container {
        display: flex !important;
        align-items: center;
        gap: 20px;
        margin-left: auto; /* Empuja a la derecha */
        margin-right: 10px;
    }

    /* Botones */
    .menu-toggle,
    .btn-buscar-header-mobile,
    .btn-cart {
        display: flex !important;
        align-items: center;
        background: transparent;
        border: none;
        color: rgb(210,210,210);
        padding: 0;
        margin: 0;
        cursor: pointer;
        position: relative;
    }

    /* Tamaños iconos */
    .menu-toggle {
        font-size: 2.3rem;
    }

    .btn-buscar-header-mobile,
    .btn-cart {
        font-size: 1.8rem;
    }

    /* Badge carrito */
    .cartCount {
        position: absolute;
        right: -5px;
        top: 3px;
        background-color: #6c757d !important;
        color: black;
        font-size: 0.75rem;
        padding: 2px 6px;
        border-radius: 50%;
        z-index: 1;
    }


    /* Overlay */
    #mobileOverlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1002;
    }

        #mobileOverlay.active {
            display: block;
        }

    /* Menú lateral móvil */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        max-width: 340px;
        height: 100vh;
        background: #000;
        color: #fff;
        overflow-y: auto;
        transition: left 0.3s ease;
        z-index: 2000;
    }

        .mobile-nav.active {
            left: 0;
        }

        /* Lista y dropdowns anidados */
        .mobile-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-nav li {
            padding: .5rem 0;
            font-size: 18px;
            padding-left: 18px;
            border-bottom: 1px solid #222;
        }


            .mobile-nav li:first-child {
                margin: 0;
                font-size: 18px;
                padding-left: 10px;
            }

            .mobile-nav li:nth-child(2) {
                margin: 20px 0 .5rem 18px;
            }
        /* Aplica un border-bottom a cada <li> principal */


        .mobile-nav a {
            color: #fff;
            text-decoration: none;
            display: block;
            padding: 0.5rem 0;
        }

        .mobile-nav .dropdown-menu li:first-child a {
            font-size: 18px;
            font-weight: bold;
        }

        .mobile-nav .dropdown-menu li:nth-child(2) {
            padding: 0 18px;
            margin: 0;
        }
        /* Enlaces dentro del submenú */
        .mobile-nav .dropdown-menu li a {
            display: block !important;
            padding: .75rem 1rem !important;
            color: #fff !important;
            font-size: 18px;
        }


        /* Si hay muchos ítems, que haga scroll dentro del panel */
        .mobile-nav.active {
            overflow-y: auto !important;
        }

    .social-icons a {
        visibility: hidden;
    }

    .mobile-nav .dropdown-menu {
        /* Aseguramos que esté siempre en el DOM */
        display: block !important;
        position: static !important;
        width: 95% !important;
        background-color: #111 !important;
        color: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        /* propiedades animables */
        max-height: 0 !important;
        overflow: hidden !important;
        /*        opacity: 0 !important;
*/ transition: .8s;
        height: auto;
    }

        .mobile-nav .dropdown-menu.open {
            /* Ajustá este valor si tu contenido es más alto */
            height: auto;
            max-height: 800px !important;
        }
    /* 1. Ícono inline-block y girado -90° (apunta a la derecha) */
    .has-dropdown > a .bi-chevron-down,
    .has-dropdown-admin > a .bi-chevron-down {
        display: inline-block;
        transform: rotate(-90deg);
        transition: transform 0.35s ease;
    }

    /* 2. Al añadir .open al <li>, rotamos a 0° (apunta abajo) */
    .has-dropdown.open > a .bi-chevron-down,
    .has-dropdown-admin.open > a .bi-chevron-down {
        transform: rotate(0deg);
    }
    /* 1) Aseguramos que el <ul> sea un column flex de altura completa */
    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 0;
        margin: 0;
    }

    /* 1) Hacemos que el LI sea sticky en el scroll container */
    .mobile-account-dropdown {
        display: flex;
        bottom: 0 !important;
        left: 0;
        position: sticky;
        width: 100%;
        background-color: #111;
        z-index: 10; /* por encima de los sub-menús */
        margin-top: 100% !important;
        margin-left: 0 !important;
        padding-bottom: 100px !important;
    }

        /* 2) Enlaces inside full width */
        .mobile-account-dropdown .btn-mobile-account {
            display: flex;
            width: 100%;
            padding: 5px;
            color: #fff;
            text-decoration: none;
            border: none;
            border-top: 1px solid #222;
            font-size: 1rem;
            background-color: #111;
            align-items: center;
        }

    .bi-person {
        margin: 0 15px 0 20px;
        font-size: 28px;
    }

    .btn-mobile-account a {
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 200;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-notice-spacer {
        margin: 0px !important;
        border: none !important;
        width: 55px;
    }

    .carrito-cc {
        width: 100%;
        border-radius: 0;
    }


    /* 2) Quita el borde y padding del botón de cierre */
    .cerrar-carrito-cc {
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .carrito-header {
        flex-direction: row-reverse;
        justify-content: start;
    }


    /*------------------------------------ Buscador mobile ----------------------------*/
    .mobile-search-drawer {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 9999;
        box-shadow: 2px 0 8px rgba(0,0,0,0.2);
        transition: left 0.5s ease-in-out;
        display: flex;
        flex-direction: column;
    }

        .mobile-search-drawer.open {
            left: 0;
        }

    .div-cierre {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 13px 10px;
        margin: 0;
        background-color: black;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        cursor: pointer;
        transition: background-color 0.5s, color 0.5s;
        color: white;
        border-bottom: 1px solid black;
    }

        .div-cierre:hover {
            background-color: white;
            color: black;
        }

        .div-cierre i,
        .div-cierre .btn-close-search,
        .div-cierre .text-cierre-buscador {
            transition: color 0.5s;
            color: inherit;
            background-color: transparent;
            border: none;
            font-size: 1.2rem;
        }

    .text-cierre-buscador {
        margin: 0;
        padding: 0;
    }

    .div-form {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .btn-submit-search-mobile {
        padding: 0 1rem;
        border: none;
        background: white !important;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .btn-submit-search-mobile .bi-search {
            color: black !important;
            background-color: white !important;
        }

    .input-search-mobile {
        flex: 1;
        padding: 0.75rem;
        font-size: 1rem;
        border: none;
        border-radius: 0;
    }

        .input-search-mobile::placeholder {
            color: #aaa;
        }

        .input-search-mobile:focus,
        .btn-submit-search-mobile:focus {
            outline: none;
            box-shadow: none;
        }

    #mobile-search-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4); /* oscuro semitransparente */
        z-index: 9998; /* debajo del drawer */
        transition: opacity 0.5s ease;
    }

        #mobile-search-overlay.visible {
            display: block;
        }



    .form-search-mobile {
        margin-top: 1.5rem;
        display: flex;
        width: 100%;
        max-width: 700px;
        border-radius: 12px;
        overflow: visible;
    }

    /* 1) El wrapper sigue siendo el “pillar” con border-radius */
    .autocomplete-wrapper {
        position: relative;
        width: 90%;
        max-width: 600px;
        margin: 1.5rem auto 0;
        border: 1px solid lightgray;
        border-radius: 12px;
        overflow: visible;
        z-index: 10002;
    }
    /* 2) Este contenedor es el flex que alinea input + botón */
    .search-box {
        display: flex;
        align-items: center;
        width: 100%;
        background: white;
        border-radius: 12px; /* bordes redondeados iguales arriba */
        overflow: hidden; /* recorta input y botón dentro del pill */
    }

    .suggestions-list {
        display: block; /* lo controlas por JS con la clase .visible */
        position: absolute;
        top: calc(100% + 1px); /* baja justo 1px debajo del borde del wrapper */
        left: 0;
        right: 0;
        background: white;
        border-top: none; /* quita el doble borde */
        border-radius: 0 0 12px 12px;
        max-height: 300px;
        overflow-y: auto;
        z-index: 10003;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    }

    .suggestion-item {
        display: flex;
        padding: 1rem .5rem;
        align-items: center;
        cursor: pointer;
        border-bottom: 1px solid lightgray;
    }

        .suggestion-item:hover {
            background-color: #f0f0f0;
        }

        .suggestion-item img {
            width: 65px;
            height: 65px;
            object-fit: cover;
            margin-right: 0.5rem;
            border-radius: 4px;
        }

    .suggestion-text {
        flex: 1;
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

    .suggestion-price {
        font-weight: bold;
        margin-left: 0.5rem
    }

    .highlight {
        font-weight: 600;
    }

    .suggestion-item.ver-todos {
        background-color: black;
        transition: background-color 0.5s;
    }

        .suggestion-item.ver-todos a {
            padding: 0.5rem;
            display: block;
            color: white;
            text-decoration: none;
            background-color: transparent; /* importante: sin fondo aquí */
        }

        .suggestion-item.ver-todos:hover {
            background-color: #444;
        }




    .div-form-buscador-desktop {
        display: none;
    }

    /*---------------------------------------Inicio MOBILE------------------------------------------------*/
    /*Seccion 1*/
    .hero-inicio-1 {
        height: 95vh;
        background-color: black;
        margin-top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .hero-inicio-1 .hero-img {
            object-fit: contain;
        }

    .desktop-only {
        display: none !important;
    }

    .hr-desktop {
        display: none;
    }

    .mobile-only {
        display: block !important;
        width: auto;
        height: auto;
        max-width: 90%; /* 👈 controlás tamaño horizontal */
        max-height: 85vh; /* 👈 controlás tamaño vertical */
        object-fit: contain;
    }

    /*Seccion 2 Inicio*/
    .hero-inicio-2 {
        flex-direction: column;
        padding: 10px;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        height: auto; /* 🔑 Esto permite que crezca en alto según las imágenes */
    }

    .categoria-block {
        width: 100%;
        height: auto; /* 🔑 También importante */
    }

    .categoria-img {
        width: 100%;
        height: auto; /* 🔑 Evita el recorte vertical */
        object-fit: contain; /* o 'cover' si querés que rellene pero se recorte un poco */
        display: block;
    }


    /*Seccion 3*/
    .grid-tendencias {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .productos-tendencia-container {
        padding: 0 1rem 100px 1rem;
    }

    /* Desactivar hover zoom */
    .producto-card:hover {
        box-shadow: none;
        transform: none;
    }

    /* Altura de cards reducida */
    .imagen-contenedor {
        height: 200px;
    }

    /* Ocultar botones desktop */
    .botones-ocultos {
        display: none !important;
    }

    /* Botones fijos en fila en mobile */
    .botones-mobile-fijos {
        display: flex;
        flex-direction: row;
        gap: 0.6rem;
        margin-top: 1rem;
        justify-content: center;
    }

    /* Buttons sizing mobile */
    .btn-agregar-carrito {
        width: 60%;
        padding: 0.4rem 0;
        font-size: 15px;
    }

    .btn-ver-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid black;
        border-radius: 20px;
        padding: 0.3rem 1rem;
    }

        .btn-ver-mobile i {
            font-size: 10px;
            color: black;
        }

    .precios-flex {
        flex-wrap: wrap; /* permite que bajen de línea si no entran */
        gap: 0.4rem; /* espacio entre los precios */
        justify-content: center;
    }

    .precio-original,
    .precio-descuento {
        white-space: normal; /* permite cortar línea si hace falta */
        text-align: center;
    }
    /* Badge de descuento más pequeño y más abajo */
    .descuento-badge {
        width: 46px;
        height: 46px;
        top: 18px;
        left: 8px;
        font-size:15px;
    }
    /*Seccion  4*/
    .swiper-slide {
        flex: 0 0 100%;
        width: 100% !important;
    }

    .swiper-pagination {
        display: block;
        margin-top: 1rem;
        text-align: center;
    }

    /*Seccion 5*/
    .card-5 {
        height: 400px;
        width: calc(100%);
        margin: 0 auto;
    }

        .card-5:hover {
            transform: none;
        }
    /*Seccion 6*/
    .newsletter-6 {
        height: 450px; /* altura más alta en mobile */
    }

    .formulario-6 {
        padding: 0 15px; /* margen lateral al contenedor, no al input */
    }

    .input-6 {
        width: 100%; /* ocupa todo el espacio disponible dentro del padding */
        border-radius: 12px 0 0 12px;
        margin: 0; /* quitamos cualquier margen */
    }

    .boton-6 {
        border-radius: 0 12px 12px 0;
    }

    .input-6 {
        margin-right: -1px; /* forzar la unión con el botón */
    }


    /*Seccion 7*/
    .titulo-7 {
        font-size: 30px;
    }

    /*Seccion 8 (video)*/
    .contenido-8 {
        margin-bottom: 30px; /* espacio entre texto y video */
    }

    .titulo-8 {
        font-size: 26px;
    }

    .video-container-8 {
        height: auto; /* no usamos vh en mobile */
    }

    .video-8 {
        width: 100%;
        height: auto;
        object-fit: contain;
    }






    /*------------------------Estilos productos index------------------------*/
    .price-slider {
        display: none !important;
    }

    .titulo-seccion-actual-productos {
        display: block;
        text-align: center;
        font-size: 1.9rem;
        color: #000;
        font-weight: 700;
        margin: 10px auto 32px auto;
    }

    .filtros-productos-desktop {
        display: none;
    }

    .filtro-button-wrapper {
        display: block;
    }

    .container-filtros-superiores {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contenedor-productos {
        display: flex;
        flex-direction: column;
    }

    /* Panel ocupa 100% ancho y alto en móvil */
    #panel-filtros-mobile {
        right: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        box-shadow: none; /* para que no se vea sombra a toda pantalla */
        overflow-y: auto;
        padding: 1rem 20px;
        z-index: 2000;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        pointer-events: none;
    }

        #panel-filtros-mobile.abierto {
            transform: translateX(0);
            pointer-events: auto;
        }

    #apply-price-filter-mobile {
        border-radius: 16px;
        background-color: black;
        border: none;
        color: white;
        font-size: 14px;
        padding: 6px 10px;
        transition: all .4s;
        margin: 10px auto;
    }

        #apply-price-filter-mobile:hover {
            background-color: #4e4e4e;
        }

        #apply-price-filter-mobile:focus {
            outline: none;
        }

    .price-slider {
        margin-left: 20px;
    }

    .container-principal-productos {
        padding-top: 140px;
    }

    .filtro-orden-productos {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .filtro-button-wrapper,
    .sort-filter,
    #active-filters {
        width: 100%;
        max-width: 320px; /* opcional para que no se estiren de más */
    }

    .contenedor-botones-filtros {
        display: flex;
        gap: 10px;
    }

    #active-filters {
        order: 3;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 8px;
    }

    .header-top {
        display: none;
    }

    .btn-agregar-carrito {
        /* hacemos la transición un poco más suave en mobile */
        transition: background-color 0.5s ease-in-out;
    }

        /* evitamos el hover “pegado” en táctil */
        .btn-agregar-carrito:hover {
            background-color: #000; /* deja el mismo fondo que el normal */
        }

        /* estado pulsado momentáneo */
        .btn-agregar-carrito:active {
            background-color: #4e4e4e;
        }

        /* opcional: quitamos outline si no lo querés */
        .btn-agregar-carrito:focus {
            outline: none;
        }
}
/*-------------------------------------Vista Marketing---------------------------------------------------------*/
/* ----- Variables ----- */
:root {
    --color-exito: #2ecc71;
    --color-peligro: #e74c3c;
    --color-primario: #3498db;
    --color-fondo: #f9f9f9;
    --sombra: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ----- Base ----- */
.marketing-container {
    max-width: 1200px;
    margin: 2rem auto;
    margin-top: 200px;
    padding: 0 1rem;
    display: grid;
    gap: 2rem;
}

/* ----- Secciones ----- */
.seccion-marketing {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--sombra);
    border: 1px solid #eee;
}

    .seccion-marketing h2 {
        color: #2c3e50;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--color-primario);
    }

/* ----- Formularios ----- */
.form-precios-cc {
    display: grid;
    gap: 1.5rem;
}

.label-precios-cc {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 0.5rem;
}

.input-precios-cc {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 200px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

    .input-precios-cc:focus {
        border-color: var(--color-primario);
        outline: none;
    }

/* ----- Botones ----- */
.btn-precios-cc {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-aumentar {
    background: var(--color-exito);
    color: white;
}

.btn-disminuir {
    background: var(--color-peligro);
    color: white;
}

.btn-precios-cc:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ----- Selectores ----- */
.select-multiple {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin: 0.5rem 0;
}

/* ----- Card Email ----- */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--sombra);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    background: var(--color-primario);
}

    .card-header h5 {
        color: white;
        margin: 0;
        font-size: 1.4rem;
    }

.card-body {
    padding: 2rem;
}

.btn-danger {
    margin: 16px 0 0 0;
}

.btn-descuento {
    color: white;
    background-color: rgb(20, 218, 0);
    border-radius: 6px;
    margin: 16px 0 0 0;
    padding: 8px 10px;
    transition: all .3s;
}

    .btn-descuento:hover {
        color: white;
        background-color: rgb(19, 183, 3);
    }

/*----------------------Login y register ESTILOS------------------------*/

.login-container-l {
    margin: 0 auto;
    margin-top: 140px;
    max-width: 900px;
    width: 100%;
    padding: 1rem;
}

.breadcrumb-l {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}


.breadcrumb-link-l {
    color: #bbb;
    text-decoration: none;
}

    .breadcrumb-link-l:hover {
        color: #bbb;
    }

.breadcrumb-current-l {
    color: #000;
    margin: 0;
}

.form-l {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-title-l {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: black;
    font-weight: 700;
    margin: auto;
    margin-bottom: 0rem;
}

.form-field-l {
    display: flex;
    flex-direction: column;
}

.input-l {
    width: 100%;
    padding: 0.55rem;
    font-size: 1rem;
    border: 1px solid #bbb;
    border-radius: 12px;
    transition: border-width 0.2s ease;
    transition: all .3s;
}

    .input-l:hover {
        border: 1px solid black;
    }

.label-l {
    margin-top: 0.3rem;
    color: black;
    font-weight: 300;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

.text-error-l {
    color: red;
    font-size: 0.9rem;
}

.checkbox-l {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .checkbox-l p {
        margin: 0;
        padding: 0;
    }

    .checkbox-l a {
        margin: 0;
        padding: 0;
        font-weight: bold !important;
        font-size: 14px !important;
        font-family: 'Poppins', sans-serif !important;
        text-decoration: none !important;
        color: black !important;
        transition: all .3s !important;
    }

        .checkbox-l a:hover {
            color: #777 !important;
        }

.remember-label-l {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.button-submit-l {
    background-color: #000;
    color: #fff;
    padding: 0.60rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    border: none;
    border-radius: 34px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .button-submit-l:hover {
        background-color: #333;
    }

.links-l {
    margin-top: -10px;
    text-decoration: none;
}

.link-l {
    color: #0066cc;
    text-decoration: none;
}

    .link-l:hover {
        text-decoration: underline;
    }

.link-l {
    color: #000;
    font-size: 14px;
    text-decoration: none !important;
    font-family: 'Poppins',sans-serif;
    font-weight: 300;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    letter-spacing: .1px;
    text-align: center; /* ✅ centra el contenido dentro del <p> */
}

.crear-link-l {
    text-decoration: none;
}

.span-crear-usuario {
    font-weight: bold;
    color: #000;
    text-decoration: none;
    transition: all .3s;
}

    .span-crear-usuario:hover {
        color: #777
    }
/*---------------------- FIN Login y register ESTILOS------------------------*/

/* ----- Mobile (menos de 768px) ----- */
@media (max-width: 768px) {
    .marketing-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        margin-top: 150px;
    }

    .seccion-marketing {
        padding: 1.5rem;
    }

    .input-precios-cc {
        width: 100%;
    }

    .botones-ajuste {
        display: grid;
        gap: 1rem;
    }

    .form-filtros {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-header h5 {
        font-size: 1.2rem;
    }
}


/*-------------------------------------------------Seccion de estilos extras!------------------------------------*/
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
    }

    .whatsapp-float img {
        width: 70px;
        height: 70px;
    }

@media (max-width:768px) {
    .whatsapp-float img {
        width: 40px;
        height: 40px;
    }

    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }
}


.toast-carrito-custom .toast-close {
    position: absolute !important;
    top: 10px !important; /* Reducimos un poco el espacio superior */
    right: 10px !important; /* Reducimos un poco el espacio derecho */
    color: #000 !important;
    font-size: 16px !important; /* Un poco más pequeño */
    z-index: 1011 !important;
    background: rgba(255,255,255,0.7) !important; /* Fondo semitransparente */
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

/* Ajustamos el contenido principal */
.toast-carrito-custom .toastify-content {
    padding: 10px 15px !important; /* Ahora controlamos el padding nosotros */
}

/* Corrección para el HR y el botón */
.toast-carrito-custom hr {
    width: 100% !important; /* Ahora ocupará todo el ancho */
    margin: 5px 0 !important; /* Reducimos el margen */
}

.toast-carrito-custom div[style*="width: 300px"] {
    width: 100% !important; /* Hacemos que ocupe todo el ancho */
    padding: 10px 15px 10px 15px !important; /* Ajustamos el padding */
    box-sizing: border-box !important;
}


/* Versión responsive del toast */
.toastify.toast-carrito-custom {
    padding: 0 !important;
    background: white !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2) !important;
    border-radius: 8px 0 8px 8px !important;
    overflow: hidden !important;
    width: 375px !important; /* Default para desktop */
    max-width: 100vw !important; /* Límite para móviles */
    margin: 10px !important; /* Espacio mínimo en móviles */
    right: 40px;
    top: var(--toast-position, 110px) !important; /* Usamos variable CSS */
    transition: top 0.4s ease !important; /* Agregamos transición */
}

@media (max-width: 768px) {
    .toastify.toast-carrito-custom {
        width: calc(100% - 20px) !important; /* 100% - márgenes */
        border-radius: 8px !important;
        left: 0 !important; /* Ancla a la izquierda */
        right: 0 !important; /* Ancla a la derecha */
        margin: 10px auto !important; /* Centrado real */
        position: fixed !important; /* Fuerza el posicionamiento */
    }
    /* Cuando el top-notice está oculto */
    .top-notice-hidden ~ .toastify.toast-carrito-custom,
    .header.shrink ~ .toastify.toast-carrito-custom {
        top: 80px !important; /* Valor cuando top-notice está oculto */
    }

    .btn-agregar-details {
        padding-left: 11px !important;
        padding-right: 11px !important;
        font-size: 15px !important;
    }
}



/*Estilos carrusel relacionados details para mobile */
.related-products-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .related-products-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .related-products-track {
        flex-wrap: nowrap;
        width: max-content;
        scroll-snap-type: x mandatory;
    }

    .related-product-item {
        scroll-snap-align: start;
        flex: 0 0 auto;
    }

    .left-arrow,
    .right-arrow {
        display: none !important;
    }

}
.toggle-agencias {
    top: 67px;
    transition: none;
}

@media(max-width:768px) {
    .toggle-agencias {
        top: 100px;
    }

    .boton-ocultar-posicionado {
        top: -30px !important; /* o cualquier otra cosa */
    }
}