@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&display=swap');


.menu-lateral .submenu {
    display: none;
    flex-direction: column;
    background: #10182b;
    margin: 0 0 0 18px;
    padding: 4px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: static;
    width: auto;
    z-index: 1;
}

.menu-lateral .submenu a {
    font-size: 0.98em;
    color: #e5e8f3;
    font-weight: 500;
    padding: 10px 18px 10px 32px;
    border-radius: 7px;
    margin: 1px 0;
    background: none;
    transition: background 0.16s, color 0.16s;
    display: flex;
    align-items: center;
    gap: 11px;
}

.submenu a:hover,
.submenu a:focus {
    background: #1a233a;
    color: #000000;
}

.submenu-toggle .arrow {
    display: inline-block;
    margin-left: auto;
    font-size: 1.1em;
    color: #000000;
    transition: transform 0.2s;
    vertical-align: middle;
}

.menu-lateral .submenu-open>.submenu-toggle .arrow,
.menu-lateral .submenu-toggle.active .arrow {
    transform: rotate(90deg);
}

.menu-lateral .submenu-toggle.active,
.menu-lateral .submenu-open>.submenu-toggle {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #ffd600;
}

.menu-lateral .submenu {
    display: none;
    flex-direction: column;
    background: transparent;
    margin: 0.5rem auto 0 auto;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: static;
    width: 90%;
    max-width: 250px;
    z-index: 1;
    text-align: left;
}

.menu-lateral .submenu a {
    text-align: left;
    border-radius: 0;
    padding: 8px 12px;
    margin: 2px 0;
    display: block;
    position: static;
}

.menu-lateral .submenu-open>.submenu,
.menu-lateral .submenu.visible {
    display: flex !important;
}

.precio {
    color: #28a745;
}

#tabla-stock {
    min-width: 100% !important;
}

/* ===== Estilo mejorado para botones de compartir ===== */

/* ---- Separación con lo de arriba ---- */
.share-wrapper {
    background-color: #f4f4f9;

    /* ajusta la altura que quieras */

    /* separación desde lo de arriba */
    box-sizing: border-box;
}

#share-section {
    background-color: white;
    margin-top: 3vw;
    padding-top: 2vw;
    height: 10vw;
    align-items: center;
    justify-content: center;
}

/* ---- Título ---- */
#share-section>span {
    display: block;
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #111;
    text-align: center;

}

/* ---- Contenedor de botones ---- */
.share-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    padding-top: 4px;
}

/* ---- Botones minimalistas ---- */
.share-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Hover simple */
.share-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

/* ---- Iconos minimalistas ---- */
.share-btn svg {
    width: 26px;
    height: 26px;
    color: #fff;
    fill: currentColor;
}

/* ---- Colores planos por marca ---- */
.share-wa {
    background: #25D366;
}

.share-fb {
    background: #1877F2;
}

.share-ig {
    background: #E4405F;
}

/* Instagram plano minimal */

/* ---- Ajustes mobile ---- */
@media (max-width: 576px) {
    .share-wrapper {
        margin-top: 36px;
    }

    .share-buttons {
        gap: 14px;
    }

    .share-btn {
        width: 50px;
        height: 50px;
    }

    .share-btn svg {
        width: 22px;
        height: 22px;
    }
}




/* ===============================
   Estilos exclusivos del section
   Bienvenida - Video
   =============================== */

.bienvenida-video-section {
    padding: 20px 0px;
    margin-block-end: 2vw;
    background: #ffffff;
}

.bv-container {
    width: 100%;
    margin: 0;
    text-align: center;
}

.bv-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a237e;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #e0e7ff 0%, #fff 100%);
    border-radius: 10px;
    padding: 10px 0 10px 0;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.04);
    font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
    border-bottom: 2.5px solid #b3c6ff;
}

/* Wrapper que mantiene relación de aspecto */
.bv-video-wrapper {
    position: relative;
    width: min(100%, 298px);
    margin: 0 auto;
    aspect-ratio: 9/16;
    max-height: 540px;
    min-height: 380px;
    overflow: hidden;
    border-radius: 10px;
}

/* El iframe ocupa el espacio del wrapper */
.bv-video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: 0;
}



/* Mejora estética y centrado para "Trabajá con Nosotros" (solo estilos internos) */

.trabaja-container {
    max-width: 920px;
    margin: 48px auto;
    padding: 48px 32px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centra horizontalmente todo el contenido */
    text-align: center;
    /* centra textos dentro */
}

/* TÍTULO: más presencia y una barra decorativa */
.titulo-trabaja {
    font-size: 34px;
    font-weight: 800;
    color: #125ac6;
    margin: 0 0 14px;
    letter-spacing: 0.2px;
    line-height: 1.05;
    position: relative;
    margin-top: 2vw;
    margin-block-end: 2vw;
}

/* barra decorativa debajo del título */
.titulo-trabaja::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(18, 90, 198, 1), rgba(14, 76, 166, 0.9));
    opacity: 0.95;
}

/* PÁRRAFO INTRODUCTORIO: ancho controlado para mejor lectura */
.texto-trabaja {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.75;
    color: #333333;
    margin: 18px auto 32px;
}

/* TARJETA: centrada, con fondo suave y sutil elevación */
.card-trabaja {
    width: 100%;
    max-width: 720px;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f9ff 100%);
    border: 1px solid rgba(18, 90, 198, 0.08);
    padding: 26px 28px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(18, 90, 198, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

/* Subtítulo en la tarjeta */
.subtitulo-trabaja {
    font-size: 20px;
    font-weight: 700;
    color: #125ac6;
    margin: 0 0 6px;
}

/* Texto de la tarjeta */
.card-trabaja p {
    margin: 6px 0;
    color: #1a1a1a;
    font-size: 15px;
    line-height: 1.6;
}

/* Email destacado */
.correo-trabaja {
    color: #0e4ca6;
    font-weight: 700;
    font-size: 17px;
}

/* Mensaje de agradecimiento */
.gracias-trabaja {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* Botón reutilizable (si aparece) */
.btn.volver-inicio {
    margin-top: 18px;
    padding: 11px 22px;
    background: #125ac6;
    color: #fff !important;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform .12s ease, background .18s ease;
}

.btn.volver-inicio:hover {
    background: #0e4ca6;
    transform: translateY(-2px);
}

/* Responsive: reduce paddings y tamaños para móviles */
@media (max-width: 600px) {
    .trabaja-container {
        padding: 28px 18px;
        margin: 28px auto;
    }

    .titulo-trabaja {
        font-size: 24px;
    }

    .titulo-trabaja::after {
        width: 56px;
        height: 3px;
        margin-top: 10px;
    }

    .texto-trabaja {
        font-size: 15px;
        max-width: 100%;
        padding: 0 6px;
    }

    .card-trabaja {
        padding: 18px;
        border-radius: 12px;
    }

    .subtitulo-trabaja {
        font-size: 18px;
    }

    .correo-trabaja {
        font-size: 16px;
    }
}


/* CONTENEDOR PRINCIPAL */
.sobre-nosotros {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
    color: #333;
}

/* TÍTULO */
.sobre-nosotros h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #125ac6;
    text-align: center;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

/* PÁRRAFOS */
.sobre-nosotros p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #3a3a3a;
}

/* RESALTADOS */
.sobre-nosotros strong {
    color: #0e4aa2;
    font-weight: 700;
}

/* BOTÓN VOLVER */
.volver-inicio {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: #125ac6;
    color: #fff !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: 0.25s ease;
    text-decoration: none !important;
}

.volver-inicio:hover {
    background: #0f4dae;
    transform: translateY(-2px);
}

/* EFECTO DE BARRITA DE COLOR A LA IZQUIERDA DE CADA PÁRRAFO */
.sobre-nosotros p {
    position: relative;
    padding-left: 14px;
}

.sobre-nosotros p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 70%;
    background: #125ac6;
    border-radius: 4px;
    opacity: 0.2;
}


/* ------- BOTÓN DE ARREPENTIMIENTO ------- */

.arrepentimiento-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
}

.arrepentimiento-titulo {
    font-size: 28px;
    color: #125ac6;
    font-weight: 700;
    margin-bottom: 16px;
}

.arrepentimiento-container p {
    margin-bottom: 14px;
    line-height: 1.6;
}

.arrepentimiento-container a {
    color: #125ac6;
    font-weight: 600;
    text-decoration: none;
}

.arrepentimiento-container a:hover {
    text-decoration: underline;
}

/* FORMULARIO */
.arrepentimiento-form {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arrepentimiento-form label {
    font-weight: 600;
    color: #1a1a1a;
}

.arrepentimiento-form input,
.arrepentimiento-form textarea {
    width: 100%;
    padding: 10px;
    border: 1.8px solid #d1d1d1;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color .25s ease;
}

.arrepentimiento-form input:focus,
.arrepentimiento-form textarea:focus {
    border-color: #125ac6;
    outline: none;
}

/* Botón enviar */
.enviar-btn {
    background: #125ac6 !important;
    color: #fff !important;
    margin-top: 6px;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 600;
    transition: background .25s ease;
}

.enviar-btn:hover {
    background: #0e4ca6 !important;
}

/* Botón volver */
.volver-inicio {
    display: inline-block;
    margin-top: 26px;
    padding: 11px 22px;
    background: #125ac6 !important;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.25s ease;
}

.volver-inicio:hover {
    background: #0e4ca6;
}


/* ------- POLÍTICAS DE CAMBIO ------- */

.cambios-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
}

.cambios-titulo {
    font-size: 28px;
    color: #125ac6;
    font-weight: 700;
    margin-bottom: 14px;
}

.cambios-container p {
    margin-bottom: 14px;
    line-height: 1.6;
}

.cambios-lista {
    margin: 18px 0;
    padding-left: 20px;
    line-height: 1.65;
}

.cambios-lista li {
    margin-bottom: 12px;
}

.cambios-container a {
    color: #125ac6;
    font-weight: 600;
    text-decoration: none;
}

.cambios-container a:hover {
    text-decoration: underline;
}



/* ------- POLÍTICAS DE PRIVACIDAD ------- */

.privacidad-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
}

.privacidad-titulo {
    font-size: 28px;
    color: #125ac6;
    font-weight: 700;
    margin-bottom: 14px;
}

.privacidad-container p {
    margin-bottom: 14px;
    line-height: 1.6;
}

.privacidad-lista {
    margin: 18px 0;
    padding-left: 20px;
    line-height: 1.65;
}

.privacidad-lista li {
    margin-bottom: 12px;
}

.privacidad-container a {
    color: #125ac6;
    font-weight: 600;
    text-decoration: none;
}

.privacidad-container a:hover {
    text-decoration: underline;
}


/* ------- TÉRMINOS Y CONDICIONES ------- */

.terminos-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    /* Texto principal */
}

.terminos-titulo {
    font-size: 28px;
    color: #125ac6;
    /* Azul de tu marca */
    font-weight: 700;
    margin-bottom: 14px;
}

.terminos-container p {
    margin-bottom: 14px;
    line-height: 1.6;
    color: #1a1a1a;
}

.terminos-lista {
    margin: 18px 0;
    padding-left: 20px;
    line-height: 1.65;
}

.terminos-lista li {
    margin-bottom: 10px;
    color: #1a1a1a;
}

.terminos-container a {
    color: #125ac6;
    font-weight: 600;
    text-decoration: none;
}

.terminos-container a:hover {
    text-decoration: underline;
}




/* ===== Base estable para inputs y botones ===== */
.cantidad-input,
.btn-cantidad {
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    width: 40px;
    /* ancho fijo evita cambios de layout */
    text-align: center;
    border: none;
    background: none;
    outline: none;
    padding: 4px;
    transform: none;
    will-change: transform;
    pointer-events: auto;
}

/* contenedor para posicionar el clon */
.cantidad-controles {
    position: relative;
    /* importante para el clon absoluto */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow: visible;
    /* evitar recortes visuales */
}

/* estilo del clon temporal */
.__cantidad-clon {
    position: absolute;
    pointer-events: none;
    transform-origin: center;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* clase utilitaria para desactivar transiciones globales temporalmente */
.no-transitions * {
    transition: none !important;
    animation: none !important;
}

/* hover opcional (no afecta layout) */
.btn-cantidad:hover {
    transform: scale(1.06);
}




/* Opcional: pequeño feedback visual */
.btn-cantidad:hover {
    transform: scale(1.1);
}

/* Estilo base para el input (opcional) */
.cantidad-input {
    text-align: center;
    width: 40px;
    border: none;
    outline: none;
    background: none;
    font-weight: bold;
}


/* estilo para el cartel de confirmar compra */
#toast-compra {
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

#toast-compra.show {
    display: block;
    opacity: 1;
}

/* Estilos para método de pago */
.metodo-pago-group {
    margin-bottom: 24px;
    text-align: center;
}

.metodo-pago-opciones {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.metodo-pago-opcion {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 28px;
    cursor: pointer;
    border: 2px solid #e0e7ef;
    transition: all 0.25s ease;
    font-size: 1.08em;
    position: relative;
    min-width: 200px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    gap: 4%;
}

.metodo-pago-opcion input[type="radio"] {
    display: none;
}

.metodo-pago-opcion .icono-metodo {
    font-size: 2em;
    color: #2b7cff;
    transition: transform 0.2s, color 0.2s;
}

.metodo-pago-opcion .texto-metodo {
    display: flex;
    font-weight: 500;
    color: #333;
    transition: color 0.2s;
}

.metodo-pago-opcion:hover {
    border: 2px solid #2b7cff;
    box-shadow: 0 4px 14px rgba(43, 124, 255, 0.15);
    transform: translateY(-2px);
}

.metodo-pago-opcion input[type="radio"]:checked~.icono-metodo {
    color: #fff;
    background: #2b7cff;
    padding: 12px;
    border-radius: 50%;
    transform: scale(1.1);
}

.metodo-pago-opcion input[type="radio"]:checked~.texto-metodo {
    color: #2b7cff;
    font-weight: 600;
}

.btn-payway {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(90deg, #2b7cff 80%, #1e90ff 100%);
    color: #fff;
    font-size: 1.13em;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 16px 28px;
    margin-top: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 12px #2b7cff22;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    position: relative;
}

.btn-payway:hover,
.btn-payway:focus {
    background: linear-gradient(90deg, #1e90ff 80%, #2b7cff 100%);
    box-shadow: 0 4px 18px #2b7cff33;
    transform: translateY(-2px) scale(1.02);
}

.btn-payway i.bi-credit-card-2-front-fill {
    font-size: 1.5em;
    margin-right: 8px;
}

.btn-payway .payway-logo img {
    height: 22px;
    margin-left: 8px;
    vertical-align: middle;
}

.btn-payway-seguro {
    display: flex;
    align-items: center;
    font-size: 0.98em;
    font-weight: 500;
    background: #e8f7e2;
    color: #388e3c;
    border-radius: 6px;
    padding: 3px 10px;
    margin-left: 14px;
}

.btn-payway-seguro i {
    color: #388e3c;
    font-size: 1.1em;
}

/* Estilos para los datos de transferencia bancaria */
.transferencia-info-lista {
    background: linear-gradient(135deg, #f8faff, #eef4ff);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(43, 124, 255, 0.08);
    padding: 22px 26px;
    margin: 20px auto;
    border: 1px solid #dce6f9;
    max-width: 460px;
    animation: fadeIn 0.3s ease;
}

.transferencia-info-lista ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transferencia-info-lista li {
    padding: 10px 0;
    border-bottom: 1px dashed #cfd9f3;
    font-size: 1.05em;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.transferencia-info-lista li:last-child {
    border-bottom: none;
}

.transferencia-info-lista strong {
    color: #2b7cff;
    font-weight: 600;
    min-width: 120px;
    display: inline-block;
}

.transferencia-info-lista button {
    margin-left: 10px;
    background: #2b7cff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.25s;
}

.transferencia-info-lista button:hover {
    background: #1f63d1;
}

.transferencia-info-lista p {
    margin-top: 16px;
    font-size: 0.95em;
    color: #333;
    text-align: center;
    line-height: 1.5em;
}

/* Animación suave */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Detalle de producto grande y carrusel --- */

.dato-confirmado {
    display: block;
    background: #f7f7f7;
    color: #222;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 1.08em;
    font-weight: 500;
}

/* ----- Steps ----- */
.compra-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.compra-step {
    background: #f1f5fb;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 500;
    color: #2b7cff;
    font-size: 1em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.compra-step.active {
    background: #2b7cff;
    color: #fff;
    opacity: 1;
    transform: translateY(-2px);
}

/* ----- Secciones ----- */
.form-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
    padding: 28px 32px;
    margin-bottom: 28px;
    max-width: 100vh;
    min-width: 60vh;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.2s;
}

.form-section:hover {
    transform: translateY(-2px);
}

/* ----- Grupos de inputs ----- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #2b7cff;
    margin-bottom: 6px;
    display: block;
    font-size: 0.95em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #d0d7e2;
    font-size: 1em;
    margin-top: 4px;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2b7cff;
    box-shadow: 0 0 0 3px rgba(43, 124, 255, 0.2);
}

/* ----- Botones ----- */
.form-section button {
    background: #2b7cff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
}

.form-section button:hover {
    background: #1a5bb8;
    transform: translateY(-1px);
}

#confirmar-compra-btn {
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ----- Errores ----- */
.input-error {
    color: #d93025;
    font-size: 0.85em;
    margin-top: 4px;
}

/* ----- Responsive ----- */
@media (max-width: 600px) {
    .form-section {
        padding: 20px 16px;
    }

    .compra-steps {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .compra-step {
        font-size: 0.9em;
        padding: 8px 20px;
    }
}


/* Estilos para el carrito (Actual) */

.carrito-resumen-tabla {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
    font-size: 1em;
}

.carrito-resumen-tabla th,
.carrito-resumen-tabla td {
    padding: 6px 10px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.carrito-resumen-tabla th {
    background: #f7f7f7;
    font-weight: 600;
    color: #2b7cff;
}

.carrito-resumen-tabla tr:last-child td {
    border-bottom: none;
}

.horario-local-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
    margin-top: 0;
}

.horario-local-tabla td {
    padding: 4px 8px;
    border-bottom: 1px solid #e0e0e0;
}

.horario-local-tabla tr:last-child td {
    border-bottom: none;
}

.horario-local-tabla td:first-child {
    font-weight: 500;
    color: #444;
}

#horario-sucursal-box h4 {
    margin-bottom: 8px;
    text-align: center;
    font-size: 1.1em;
    color: #2b7cff;
}

.oculto {
    display: none !important;
}

#resumen-compra {
    margin: 0 auto !important;
}

#resumen-productos table td {
    padding: 8px 6px !important;
    border-bottom: 1px solid #e0e0e0;
}

.resumen-datos {
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dato-resumen {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.dato-resumen:last-child {
    border-bottom: none;
}

.dato-resumen strong {
    color: #495057;
    margin-right: 10px;
}

#horario-sucursal-box {
    margin-block: 6%;
}

/* Modal de envio carrito */

/* Modal fondo */
.modal-envio {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0, 0, 0, 0.35);
    animation: fadeInModal 0.3s;
}

/* Modal contenido */
.modal-content-envio {
    background: #fff;
    margin: 60px auto;
    padding: 32px 24px;
    border-radius: 16px;
    width: 100%;
    min-width: 60vh;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    position: relative;
    animation: slideUpModal 0.3s;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .modal-content-envio {
        min-width: unset;
        width: 90%;
        max-width: 450px;
        margin: 40px auto;
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .modal-content-envio {
        width: 95%;
        max-width: 100%;
        margin: 20px auto;
        padding: 20px 12px;
    }

    .modal-content-envio h3 {
        font-size: 1.1em;
    }

    #form-envio-modal label {
        font-size: 0.95em;
        margin-top: 12px;
    }

    #form-envio-modal input,
    #form-envio-modal select {
        font-size: 0.95em;
        padding: 6px 8px;
    }

    #btn-confirmar-envio {
        font-size: 1em;
        padding: 10px 0;
    }
}

.close-modal-envio {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 1.7em;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal-envio:hover {
    color: #333;
}

.modal-content-envio h3 {
    margin-top: 0;
    font-size: 1.3em;
    color: #2b2b2b;
    text-align: center;
    margin-top: 2%;
}

#form-envio-modal label {
    display: block;
    margin-top: 16px;
    font-weight: 500;
    color: #444;
}

#form-envio-modal input,
#form-envio-modal select {
    width: 100%;
    padding: 8px 10px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box;
    margin-bottom: 8px;
}

#btn-confirmar-envio {
    width: 100%;
    padding: 12px 0;
    font-size: 1.1em;
    border-radius: 8px;
    background: #2b7cff;
    color: #fff;
    border: none;
    margin-top: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

#btn-confirmar-envio:hover {
    background: #1a5dcc;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUpModal {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Layout general */

.forma-entrega-row {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

.entrega-card {
    flex: 1;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 18px 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: border 0.2s, box-shadow 0.2s;
    min-width: 0;
}

.entrega-card.selected {
    border: 2px solid #2b7cff;
    box-shadow: 0 2px 12px rgba(43, 124, 255, 0.08);
    background: #eef6ff;
}

.entrega-card-correo.selected {
    border: 2px solid #ff9800;
    background: #fff8e1;
}

.entrega-icon {
    margin-right: 14px;
    display: flex;
    align-items: center;
}

.entrega-txt {
    font-size: 1.08em;
    color: #222;
}

.entrega-card small {
    color: #666;
    font-size: 0.95em;
}



.carrito-layout {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 2%;
    max-width: 1200px;
    margin: 20px auto;
    font-family: 'Barlow', sans-serif;
}

/* Columna de productos */
.carrito-productos {
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 2%;
    flex: 2;
    min-width: 60%;
}

.carrito-productos h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

#lista-carrito {
    list-style: none;
    padding: 0;
    margin: 0;
}

.carrito-divider,
.carrito-divider-mobile {
    display: block;
    border: none;
    border-top: 1px solid #d1d5db;
    margin: 16px 0;
}

.carrito-divider-mobile {
    display: none;
}

@media (max-width: 900px) {
    .carrito-divider-mobile {
        display: block !important;
    }
}

/* Item del carrito */
.carrito-item {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 16px;
    gap: 20px;
    transition: transform 0.2s;
}

.carrito-item:hover {
    transform: scale(1.01);
}

/* Imagen */
.carrito-item-img-wrap {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrito-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    background: #eee;
    border: 1px solid #ddd;
}

/* Detalles */
.carrito-item-detalles {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.carrito-nombre {
    font-size: 1.1em;
    font-weight: 600;
    color: #222;
}

.carrito-info-row {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    color: #555;
}

/* Cantidad */
.carrito-cantidad-box {
    text-align: center;
    font-size: 0.9em;
}

.cantidad-controles {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 4px;
}

.btn-cantidad {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 1.1em;
}

.cantidad-input {
    width: 40px;
    text-align: center;
    border: none;
    background: #fff;
}

/* Subtotal */
.carrito-subtotal {
    text-align: right;
    font-size: 1em;
    font-weight: 600;
    min-width: 100px;
}

/* Botón eliminar */
.btn-eliminar {
    background: none;
    border: none;
    font-size: 1.2em;
    color: #d32f2f;
    cursor: pointer;
}

.btn-eliminar:hover {
    color: #b71c1c;
}

/* Columna resumen */
.carrito-resumen {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 280px;
}

.carrito-resumen-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 24px;
    width: 100%;
    max-width: 70vh;
}

.carrito-resumen-box h3 {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.carrito-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 24px;
}

.carrito-confirmar-btn {
    background: #ff6f00;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 28px;
    font-size: 1.05em;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.carrito-confirmar-btn:hover {
    background: #e65100;
}



/* Modal descripcion admin */

/* Modal descripción admin y stock */
#modal-desc-admin,
#modal-desc-stock {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: auto;
}

#modal-desc-admin>div,
#modal-desc-stock>div {
    background: #fff;
    max-width: 500px;
    margin: 10vh auto;
    padding: 30px 24px 24px 24px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    animation: fadeInModal 0.25s;
}

#close-modal-desc-admin,
#close-modal-desc-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

#close-modal-desc-admin:hover,
#close-modal-desc-stock:hover {
    color: #d32f2f;
}

#modal-desc-admin-content,
#modal-desc-stock-content {
    margin-top: 24px;
    font-size: 1.1rem;
    color: #222;
    word-break: break-word;
    text-align: center;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para el footer*/
:root {
    --bg-footer: #ffffff;
    --panel-bg: #0b1220;
    --panel-text: #e6eef8;
    --accent: #2563eb;
    --muted: #6b7280;
    --container-w: 1200px;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(2, 6, 23, 0.15);
}

/* Footer general */
.site-footer {
    background: #111;
    color: #ccc;
    padding: 30px 15px;
    /* Más compacto */
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.site-footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.site-footer a:hover {
    color: #fff;
    transform: translateX(3px);
    /* se mueve un poquito */
}

.footer-container {
    max-width: 1100px;
    margin: auto;
}

/* Grid de secciones */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

/* Títulos de secciones */
.footer-section h4 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-section h4:hover {
    color: #ff9900;
    /* efecto hover en título */
}

/* Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin: 6px 0;
    transition: transform 0.2s ease;
}

.footer-section li:hover {
    transform: translateX(5px);
    /* se corre un poco al pasar el mouse */
}

/* Footer inferior */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
    font-size: 11px;
    color: #888;
}

.footer-bottom p {
    margin: 5px 0;
}



/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border: 0;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}

.btn:hover {
    filter: brightness(.98);
}

/* btn secundaria */
.btn-secondary {
    background: #f3f4f6;
    color: #0b1220;
    border: 0;
}

/* Contact card (aside) */
.contact-card {
    background: var(--panel-bg);
    color: var(--panel-text);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-card .socials a {
    color: var(--accent);
    font-weight: 500
}


/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.modal[aria-hidden="false"] {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.5);
}

.modal-content {
    position: relative;
    background: #fff;
    color: #0b1220;
    padding: 20px;
    border-radius: 10px;
    width: 92%;
    max-width: 560px;
    z-index: 2;
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.25);
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: 0;
    font-size: 22px;
    cursor: pointer;
}

/* Form modal */
.form-modal label {
    display: block;
    margin: 10px 0;
    font-size: 0.95rem;
    color: #233043;
}

.form-modal input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    margin-top: 6px;
    box-sizing: border-box;
}

/* Responsive */
@media (max-width:1000px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        order: 3;
        width: 100%;
    }
}

@media (max-width:480px) {
    .card-list li {
        width: 72px;
        height: 44px
    }

    .card-list img {
        height: 32px
    }

    .site-footer {
        padding: 28px 12px 18px;
    }
}

/* Estilos para el icono del carrito (numero arriba) */
.carrito-contador {
    position: absolute;
    top: -80%;
    right: 70%;
    background: #d32f2f;
    color: #fff;
    font-size: 0.80em;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 7px;
    min-width: 22px;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    transition: background 0.2s;
    display: none;
}

/* Estilos para las equivalencias de los talles */
.talle-btn {
    position: relative;
    overflow: visible;
}

.tooltip-talle {
    display: none;
    position: absolute;
    min-width: 100%;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.95em;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}

@media (max-width: 768px) {
    .tooltip-talle {
        white-space: normal;
        max-width: 150px;
        width: 150px;
        padding: 4px 10px;
        font-size: 0.8em;
        bottom: 110%;
        text-align: center;
        line-height: 1.3;
    }
}

.talle-btn:hover .tooltip-talle,
.talle-btn:focus .tooltip-talle {
    display: block;
}

/* Efecto del boton agregar al carrito */
.btn-agregar-carrito-grande .btn-label {
    display: inline-block;
    transform-origin: 50% 50%;
    will-change: transform, letter-spacing;
    transition: transform 220ms cubic-bezier(.2, .9, .3, 1),
        letter-spacing 220ms cubic-bezier(.2, .9, .3, 1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Variante: agrandamiento uniforme */
.btn-agregar-carrito-grande:hover .btn-label,
.btn-agregar-carrito-grande:focus .btn-label {
    transform: scale(1.08);
    /* agranda solo las letras */
    letter-spacing: 0.8px;
}


/* Estilo del click para ver los detalles*/
.producto-clickable {
    cursor: pointer;
    transition: border-color 0.2s;
}

.producto-clickable:hover {
    border: 2px solid #000000 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

@font-face {
    font-family: 'TeXGyreAdventorBold';
    src: url('fonts/texgyreadventor-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.productos-similares.py-5.bg-light .producto-item.mb-4 {
    min-height: 51vh !important;

}

.productos-similares.py-5.bg-light {
    display: flex;
    width: 100% !important;
    min-width: 100%;
}

.productos-similares.py-5.bg-light .container {
    margin: 0 !important;
    min-width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lista-productos .producto-item.mb-4 {
    flex-direction: row !important;
    min-width: none !important;
    max-width: 15vw !important;
    justify-content: center !important;
    min-height: none !important;
    max-height: none !important;

}


.productos-similares.py-5.bg-light .producto-item.mb-4 .carousel-item.active {
    align-items: center !important;
    justify-content: center !important;
    display: flex;
}

#detalle-producto .col-md-6 {
    padding-right: 1%;
    padding-left: 1%;
}

.carrusel-main-img-wrap {
    flex: 1;
    min-width: 0;
    /* IMPORTANTE: para que no desborde en flex */
}

.discount-badge-cartel {
    display: flex;
    width: 3.2vw;
    background: #28a745;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 8px;
    vertical-align: middle;
    margin-left: 0;
}

/* Ajuste móvil */
@media (max-width: 576px) {
    .discount-badge-cartel {
        width: 12vw;
        margin-top: 1vw;
        left: -2vw !important;
        /* Ajusta el margen superior según sea necesario */
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}


#detalle-producto .col-md-6.detalle-producto-info-grande {
    align-items: flex-start !important;
    height: 100% !important;
    padding-left: 15%;
}

.container.my-5 {
    display: flex;
    width: 100% !important;
    min-width: 100%;
    margin: 1% !important;
    padding: 0 !important;
}

#detalle-producto {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.detalle-carrusel-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 32px;
}

.carrusel-thumbs-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.carrusel-thumb-img {
    height: 30vh;
    width: 30vh;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
    border: 3px solid #eee;
    transition: border 0.2s;
}

.carrusel-thumb-img.active {
    border: 3px solid #125ac6 !important;
    box-shadow: 0 4px 16px 0 rgba(18, 90, 198, 0.15);
}

.carrusel-thumb-img:hover {
    border: 3px solid #000000 !important;
}

.carrusel-main-img-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.carrusel-main-img {
    min-width: 100vh;
    max-height: 700px;
    min-height: 600px;
    object-fit: contain;
    border-radius: 18px;
}

.carrusel-control-icon {
    height: 48px !important;
    width: 48px !important;
}

@media (max-width:900px) {
    .detalle-carrusel-flex {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .carrusel-thumbs-vertical {
        flex-direction: row !important;
        justify-content: center;
    }

    .carrusel-thumb-img {
        height: 64px;
        width: 64px;
    }

    .carrusel-prod-main {
        max-width: 100vw !important;
    }
}

/* --- Info producto grande --- */
.detalle-producto-info-grande {
    font-size: 1.35rem;
}

.nombre-producto-grande {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    /* Ajuste fino como Adidas */
}

.precio-producto-grande {

    font-size: 2.2rem;
    font-weight: 700;
}

.mb-3 .h2.text-primary.precio-producto-grande {
    color: #000 !important;
}

.precio-descuento-grande {
    font-size: 1.3rem;
}

.precio-contado-grande {
    font-size: 1.2rem;
}

.precio-contado-grande .text-success.precio-contado-monto-grande {
    color: #000 !important;
}

.precio-contado-monto-grande {
    font-size: 1.3rem;
}

.cuotas-grande {
    font-size: 1.15rem;
}

.cuotas-grande .text-info {
    color: black !important;
}

.talles-disponibles-wrap {
    font-size: 1.25rem;
}

.btn-talle-grande {
    font-size: 1.15rem;
    padding: 10px 24px;
    min-width: 64px;
}

.btn.btn-outline-primary.btn-lg.mr-2.mb-2.btn-talle.btn-talle-grande.talle-btn.active {
    background-color: #000 !important;
    color: white !important;
    border-color: #000 !important;
    box-shadow: none !important;
    outline: none !important;
}

.sin-stock-grande {
    font-size: 1.2rem;
}

.btn-agregar-carrito-grande {
    text-transform: uppercase;
    font-weight: 600 !important;
    background-color: black !important;
    border-color: #000 !important;
    font-size: 1.25rem;
    padding: 14px 38px;
    width: 100%;
    border-radius: 10vh !important;
}

.titulo-descripcion-grande {
    font-size: 1.6rem;
    font-weight: 700;
}

.descripcion-producto-grande {
    font-size: 1.15rem;
}

.btn-outline-primary {
    color: #000000 !important;
    border-color: #000000 !important;
    box-shadow: none !important;
}

.btn-outline-primary:hover {
    color: white !important;
    background-color: #000 !important;
    border-color: black !important;
    box-shadow: none !important;
}

main,
.container-fluid,
.navbar {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body {
    overflow-x: auto;
}

/* Estilos generales */
html,
body {
    margin: 0;
    padding: 0%;
    width: 100%;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: #ffffff;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    /* Asegura que el contenido se distribuya verticalmente */
    min-height: 100vh;
}

main {
    margin: 0;
    padding: 0;
    width: 100%;
    flex: 0 0 auto;
}

.menu-text {
    font-size: 1.2rem;
    color: rgb(0, 0, 0);
    transform: translateY(0%);
    align-items: center;
    /* Centra verticalmente */
    text-align: left;
    margin: 0 auto;
    /* Elimina márgenes innecesarios */
}

.menu-btn-container {
    display: flex;
    /* Utiliza Flexbox para organizar los elementos */
    align-items: center;
    /* Alinea verticalmente los elementos */
    cursor: pointer;
    /* Cambia el cursor al pasar el ratón */
    gap: 10px;
    /* Añade espacio entre los elementos */
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.menu-btn-container:hover {
    background-color: #e9ecef;
}

.menu-btn .hidden {
    display: none;
}

.menu-btn {
    transform: none;
    margin-top: 0;
    font-size: 2.2rem;
    color: rgb(0, 0, 0);
    margin-right: 0;
    line-height: 1;
    transition: color 0.3s;
}

.menu-btn:hover {
    color: #007bff;
}


/* Contenedor principal del buscador */
#search-container-inicio {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centra el contenido horizontalmente */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    width: 50%;
    margin: 0 auto;
    /* Centra el contenedor horizontalmente */
    margin-left: 25%;
    position: center;
    /* Asegura que el contenedor se posicione correctamente */
}



/* Botón de búsqueda */
#search-button-inicio {
    border: none;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: color 0.3s ease;
    background-color: transparent;
}

/* Icono de lupa */
#search-button-inicio:hover {
    color: #000000;
}

/* Icono de lupa */
#search-button-inicio svg {
    width: 20px;
    height: 20px;
    color: #000000;
}

/* Input del buscador */
#search-input-inicio {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #000000;
}

/* Menú lateral estilo moderno app */
.overlay-menu {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.56);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 990;
}

body.menu-abierto .overlay-menu {
    opacity: 1;
    visibility: visible;
}

.menu-lateral {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    max-width: 85vw;
    background-color: #000000;
    color: #fff;
    overflow: hidden;
    box-shadow: 8px 0 26px rgba(0, 0, 0, 0.42);
    transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

body.menu-abierto .menu-lateral {
    width: 285px;
}

.menu-lateral-header {
    height: 10px;
    min-height: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(15, 24, 46, 0.98), rgba(8, 13, 25, 0.98));
    flex: 0 0 auto;
}

.menu-lateral-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 12px;
    flex: 1 1 auto;

}

.menu-lateral-list {
    list-style: none;
    margin-top: 20%;
    padding: 12px 0 16px;
}

.menu-lateral-list>li+li {
    border-top: none;
}



.menu-lateral-list>li a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #e5e8f3;
    font-size: 1em;
    font-family: 'Inter', sans-serif;
    font-weight: 350;
    text-decoration: none;
    border-radius: 10px;
    letter-spacing: 0.01em;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    box-shadow: none;
}

.menu-divider {
    height: 0.5px;
    background: rgb(106, 106, 106);
    color: white;
    margin-inline: 15px;

}

.menu-divider hr {
    border: none;
    height: 1px;
    margin: 0;
}

.menu-lateral-list>li a i {
    font-size: 1.18em;
    min-width: 22px;
    color: #ffd600;
    opacity: 0.92;
    transition: color 0.18s;
}

.menu-lateral-list>li a:hover,
.menu-lateral-list>li a:focus {
    background: #fff;
    color: #1a73e8;
    box-shadow: 0 2px 12px rgba(26, 115, 232, 0.07);
}

.menu-lateral-list>li a:hover i,
.menu-lateral-list>li a:focus i {
    color: #1a73e8;
}

.menu-lateral-list>li a:hover,
.menu-lateral-list>li a:active {
    background: rgba(255, 255, 255, 0.1);
}

.menu-lateral-list>li a {
    position: relative;
}

/* Separadores visuales ahora gestionados por elementos <hr> en el HTML */
/* Eliminadas las pseudo-líneas para evitar duplicados */


.submenu-botines li a {
    display: block;
    padding: 10px 16px;
    color: #c7cde4;
    font-weight: 500;
    font-size: 0.92rem;
    border-radius: 8px;
    margin: 2px 0;
    transition: background 0.2s ease;
}

.submenu-botines li a:hover {
    background: rgba(255, 255, 255, 0.07);
}

.menu-lateral-footer {
    padding: 16px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.menu-action-btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff5d2a, #000000);
    color: #08172f;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 12px;
    box-shadow: 0 7px 18px rgba(255, 93, 42, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(255, 93, 42, 0.35);
}

.open-menu-btn {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transition: all 0.24s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    background: black;
    line-height: 1;
}

.open-menu-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.open-menu-btn:active {
    transform: scale(0.98);
}

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1110;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
}

@media (min-width: 1000px) {
    .open-menu-btn {
        display: none;
    }
}


#search-input-inicio::placeholder {
    color: #000000;
}

/* Resultados del buscador */
#search-results-inicio {
    display: none;
    /* Se mostrará dinámicamente */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 4px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

#search-results-inicio .result-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #000000;
    border-bottom: 1px solid #f0f0f0;
}

#search-results-inicio .result-item:last-child {
    border-bottom: none;
}

#search-results-inicio .result-item:hover {
    background-color: #f9f9f9;
}


.search-container button {
    padding: 5px 10px;
    /* Ajusta el relleno según tus necesidades */
    font-size: 1em;
    background-color: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    /* Agrega una sombra suave */
    color: #001220;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container button:hover {
    background-color: #bebebe;
    /* Cambia el color de fondo según tus necesidades */
}

.search-container button svg {
    width: 20px;
    height: 20px;
}






/* Header */
/* Header */
header {
    display: flex !important;
    position: relative;
    flex-direction: row;
    background-color: #000000;
    padding-block-end: 0 !important;
    padding-block-start: 0 !important;
    /* Agrega una sombra suave */
    color: rgb(0, 0, 0);
    height: 100px;
    width: 100%;
}

/* En móviles: fijar el header en la parte superior y añadir espacio al contenido */
@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        width: 100%;
    }

    /* Evitar que el contenido quede debajo del header fijo */
    body {
        padding-top: 12vw;
        /* igual a la altura del header */
    }

    /* Si el menu-icon necesita un ajuste para no solapar logo */
    #menu-icon,
    .open-menu-btn {
        top: 4px;
        left: 8px;
    }
}

.header-container {
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    /* Añade espacio entre elementos */
    padding: 0 20px;
    /* Margen interno para los bordes */
    width: 100%;
    z-index: 1001;
    box-sizing: border-box;
    /* Asegura que el ancho total incluya el relleno y el borde */
}

header h1 {
    margin: 0;
    font-size: 1.5rem;
    flex-shrink: 0;
    /* Evita que el título se reduzca */
    text-align: center;
    white-space: nowrap;
    /* Evita que el texto se desborde */
    flex: 0 1 auto;
    /* Permite que el título ocupe el espacio disponible */
}

/* Estilos para la barra de navegación */
.navbar {
    background-color: #125ac6;
    padding: 0px !important;
    text-align: center;
    display: flex;
}

.menu {
    text-align: center;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centra el menú horizontalmente */
    gap: 20px;
    width: 100%;
    /* Asegura que el menú ocupe todo el ancho disponible */
    margin: 0 auto;
    /* Centra el menú horizontalmente */
    padding: 0;
}

.menu li {
    justify-content: center;
    position: relative;
}

.menu a {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    text-decoration: none;
    color: white;
    font-style: italic;
    font-weight: bold;
    padding: 10px 15px;
    display: block;
    text-transform: uppercase;
}


/* Estilo del botón "CATEGORÍAS" */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Submenú estilo mega menú */
.submenu {
    display: none;
    position: absolute;
    background: white;
    color: black;
    width: 80vw;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    top: 100%;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    z-index: 1000;
}

/* Columnas del submenú */
.submenu-column {
    min-width: 150px;
}

.submenu li {
    list-style: none;
}

.submenu a {
    color: black;
    padding: 5px 10px;
    display: block;
}

.submenu a:hover {
    color: #0d47a1;
}

/* Mostrar submenú al pasar el mouse */
.menu-item:hover .submenu {
    display: flex;
}

.menu-item .menu-btn {
    font-size: 1.2rem;
}


#carrito-icono {
    color: #ffffff;
    display: flex;
    /* Utiliza Flexbox para organizar los elementos */
    flex-direction: row;
    /* Coloca el ícono y el texto en línea horizontal */
    align-items: center;
    /* Alinea verticalmente los elementos */
    cursor: pointer;
    flex-shrink: 0;
    /* Evita que el ícono se reduzca */
    gap: 5px;
    /* Añade espacio entre el ícono y el texto */
}

#carrito-icono svg {
    margin: 0;
}

#miCarrito {
    font-size: 1rem;
    /* Ajusta el tamaño de fuente según tus necesidades */
    margin: 0;
}

/* Admin Section */
.admin {
    max-width: 160vh;
    margin: 2em auto;
    background-color: #7caefa;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.admin h2 {
    color: #000000;
    margin-bottom: 1em;
    text-align: center;
}

/* Formularios */
form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

label {
    font-weight: bold;
    color: #000000;
}

input,
textarea,
button {
    padding: 0.8em;
    border: none;
    border-radius: 5px;
}

input,
textarea {
    background-color: #f4f4f9;
    color: #001220;
    font-size: 1em;
}

input:focus,
textarea:focus {
    outline: 2px solid #0052A4;
}

button {
    background-color: #d7d7d7;
    color: #001220;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #000000;
}

/* Tablas */

#tabla-productos th,
#tabla-productos td {
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
    padding-left: 1vh;
    padding-right: 1vh;
    font-size: 0.90em;
}

#tabla-productos .editar-stock,
#tabla-productos .btn-editar,
#tabla-productos .btn-borrar,
#tabla-productos button {
    padding: 0.7vh 1.2vh;
    font-size: 1.5vh;
    border-radius: 0.8vh;
    min-width: 4vh;
    min-height: 4vh;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2em;
    background-color: #ffffff;
    color: #001220;
    text-align: left;
    border-radius: 10px;
    overflow: hidden;
}

table th,
table td {
    padding: 1em;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #0052A4;
    color: #ffffff;
}

table tbody tr:nth-child(odd) {
    background-color: #f4f4f9;
}

table tbody tr:hover {
    background-color: #e0e0e0;
}

.admin h3 {
    margin-top: 2em;
    color: #000000;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Para un desplazamiento suave en dispositivos móviles */
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
}

.table-responsive th,
.table-responsive td {
    font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
    padding: 8px;
    text-align: center;
    border: 1px solid #000000;
}


/* Contenedor principal de la sección productos */
.productos {
    display: grid;
    /* Habilita CSS Grid */
    grid-template-columns: 25% 75%;
    /* Filtro a la izquierda y productos a la derecha */
    gap: 20px;
    /* Espaciado entre columnas */
    padding: 0 20px;
    /* Espaciado interno */
    align-items: start;
    /* Alinea los elementos al inicio verticalmente */
}

/* Cartel de envío gratis */
.envio-gratis {
    background-color: #007bff;
    /* Verde más vibrante */
    color: #ffffff !important;
    /* Texto blanco */
    padding: 1%;
    /* Espaciado interno más amplio */
    font-weight: bold;
    /* Texto en negrita */
    display: none;
    /* Mostrar como un bloque en línea */
    font-size: 9px !important;
    /* Tamaño de texto moderado */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
    text-transform: uppercase;
    /* Texto en mayúsculas */
    letter-spacing: 1px;
    /* Espaciado entre letras */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Animaciones */
    transform: translatex(-195%);
    z-index: 10 !important;
    position: absolute;
}


.productos h2 {
    text-align: center;
    font-size: 2rem;
    color: #000000;
    margin: 20px 0;
}

/* Contenedor principal de la lista de productos */
#lista-productos,
#lista-resultados {
    display: grid;
    /* Activa el grid para los productos */
    grid-template-columns: repeat(auto-fill, minmax(200px, 2fr));
    /* Productos adaptables */
    gap: 20px;
    /* Espaciado entre los productos */
    padding: 20px;
    /* Espaciado interno */
    padding-right: 5%;
    list-style: none;
    /* Sin viñetas */
}

/* Estilo de cada tarjeta de producto */
#lista-productos li,
#lista-resultados li {
    display: flex;
    background-color: transparent !important;
    padding: 0%;
    border-radius: 0 !important;
    text-align: center;
    height: 90%;
    /* Ajusta la altura según tus necesidades */
    width: 100%;
    max-width: none !important;
    min-width: none !important;
    position: relative;
    /* Para controlar el botón */
    overflow: hidden;
    /* Evita que el botón sobresalga */
    margin: 10px;
    /* Añade margen entre las tarjetas */
}

/* Título del producto */
#lista-productos li h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    /* Bold */
    font-size: 1rem;
    color: #000000;
    padding-top: 4%;
    text-align: center;
}

#lista-productos li .producto-contenedor {
    padding: 5px 10px;
    min-width: none !important;
    max-width: none !important;
}

#lista-resultados li .producto-contenedor {
    padding: 5px 10px;
    min-width: none !important;
    max-width: none !important;
}

#contenedor-destacados {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#contenedor-destacados .carousel-item {
    margin-top: 1%;
    text-align: center;

}

#contenedor-destacados .card {
    margin: auto;
}

#contenedor-destacados .d-block.w-100,
#contenedor-novedades .d-block.w-100 {
    max-width: 100%;
    height: 25vh;
    object-fit: contain;
    align-items: center;
    justify-content: center;
}

#contenedor-destacados .col-4.col-md-4.producto-contenedor,
#contenedor-novedades .col-4.col-md-4.producto-contenedor {
    height: 100% !important;
    min-height: 30vw !important;
    padding-inline: 0.5% !important;
    align-items: flex-start;
}

#contenedor-destacados h3,
#contenedor-novedades h3 {
    height: 2em;
    font-family: 'Poppins', sans-serif;
    font-weight: 550;
    margin-bottom: 4%;
}

#contenedor-destacados p,
#contenedor-novedades p {
    margin-block-end: 1%;
    margin-top: 1.2em;
    /* Subís el párrafo en relación a la altura del h3 */
}


#contenedor-novedades .carousel-item {
    text-align: center;
}

#contenedor-novedades .card {
    margin: auto;
}

#contenedor-novedades .row {
    left: 0 !important;
    margin: 0 !important;
}

#contenedor-destacados .row {
    margin: 0 !important;
}

/* para editar el Contenedor de novedades */
#contenedor-novedades .producto-contenedor {
    padding: 5px 10px;
    min-width: 218.113px !important;
    max-width: 218.113px !important;
    min-height: 275.5px !important;
    max-height: 275.5px !important;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    text-align: center;
    height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#contenedor-novedades {
    margin-block-end: 2% !important;
}

#contenedor-novedades p {
    text-align: center;
}

/* para editar el Contenedor de destacados */
.col-md-4.producto-contenedor {
    padding: 5px 10px;
    min-width: 218.113px !important;
    max-width: 218.113px !important;
    min-height: 275.5px !important;
    max-height: 275.5px !important;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    text-align: center;
    height: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: 10px;
    display: flex;
    /* Asegura que el contenido interno esté alineado */
    flex-direction: column;
    /* Alinea los elementos verticalmente */
    justify-content: center;
    /* Centra el contenido verticalmente */
    align-items: center;
    /* Centra el contenido horizontalmente */
}

.col-md-4.producto-contenedor .envio-gratis {
    height: 9%;
    width: 27%;
    top: 2%;
    left: 51.5%;
}

.envio-gratis2 {
    color: #007BFF !important;
    font-family: Roboto, segoe ui, sans-serif !important;
    margin-top: 8px;
    font-size: 13px !important;
    padding-bottom: 1vw;
}

.col-md-4.producto-contenedor .envio-gratis img {
    width: 90% !important;
    height: 90% !important;
}

.col-md-4.producto-contenedor .envio-texto {
    transform: translateY(20%);
}

.col-md-4.producto-contenedor img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    max-width: 200px;
    max-height: 140px;
    object-fit: cover;
    /* Asegura que la imagen se ajuste correctamente */
}

.col-md-4.producto-contenedor h3 {
    font-family: 'Montserrat', Sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: #000000;
    padding-top: 4%;
    text-align: center;
}

.col-md-4.producto-contenedor p {
    font-family: 'Heebo', Sans-serif;
    font-size: 1rem;
    color: #000000;
    font-weight: bold;
    text-align: center;
    padding-top: 1%;
}

.col-md-4.producto-contenedor .ver-detalles {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    padding: 5px 40px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: bottom 0.3s ease-in-out;
    white-space: nowrap;
}

.col-md-4.producto-contenedor:hover .ver-detalles {
    bottom: 10px;
}

.col-md-4.producto-contenedor .ver-detalles:hover {
    background-color: #7caefa;
}


/* Contenedor de la imagen y el botón */
.producto-imagen-contenedor {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}



.producto-contenedor h3 {
    font-family: 'Montserrat', Sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: #000000;
    padding-top: 4%;
    text-align: center;
}



/* Imagen del producto */
#lista-productos li img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    max-height: 140px;
}

/* Imagen del producto */
#lista-resultados li img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    max-width: 200px;
    max-height: 140px;
}

/* Botón "Ver Detalles" oculto por defecto */
.ver-detalles {
    position: absolute;
    bottom: -40px;
    /* Inicialmente está fuera de la vista */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
    border: none;
    padding: 5px 40px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: bottom 0.3s ease-in-out;
    /* Efecto de deslizamiento */
    white-space: nowrap;
    /* Evita que el texto se divida en varias líneas */
}

/* Cuando se pasa el mouse por la imagen, el botón sube */
.producto-imagen-contenedor:hover .ver-detalles {
    bottom: 10px;
    /* Se desliza hacia arriba */
}

/* Cuando se pasa el mouse por el botón, el fondo se vuelve azul */
.ver-detalles:hover {
    background-color: #7caefa;
}

/* Estilos del precio y la descripción */
#lista-productos li p,
.producto-contenedor p {
    padding-top: 1%;
    font-family: 'Heebo', Sans-serif;
    font-size: 1rem;
    color: #000000;
    font-weight: bold;
    text-align: center;
}

#lista-productos li .descripcion-producto {
    font-family: 'Heebo', sans-serif;
    font-weight: normal;
    background-color: transparent;
}


/* Links superiores */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    margin-bottom: 2em;
    font-size: 1.2em;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FFA500;
}

/* Modal */
.modal {
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll !important;
    /* Permite desplazarse verticalmente si el contenido es demasiado grande */
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 50px;
    justify-content: center;
    /* Centra el contenido horizontalmente*/
    align-items: center;
    /* Centra el contenido verticalmente*/
}

.modal-content {
    position: fixed;
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.producto {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 250px;
    margin: 20px;
}

.producto-contenedor {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
}

.producto-imagen-contenedor {
    position: relative;
    width: 100%;
    height: auto;
}

.producto-imagen {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}




/* Animación para el modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animación para cerrar el modal */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.9);
    }
}


#modal-producto-imagen {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #000000;
}

#modal-producto-nombre {
    margin-top: 5%;
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

#modal-producto-precio {
    font-size: 20px;
    color: #666;
    margin-bottom: 10px;
}

#modal-descripcion {
    text-align: center;
    color: #333;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.6;
}

#modal-editar .talle-btn {
    margin: 5px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#modal-editar .talle-btn.no-disponible {
    background-color: #e0e0e0;
    color: red;
    pointer-events: visible;
}

#modal .talle-btn {
    margin: 5px;
    /* Ajusta el margen según tus necesidades */
    padding: 5px 8px;
    /* ajusta el */
    /* Ajusta el relleno según tus necesidades */
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.modal #modal-talle-container {
    margin-block-end: 3%;
}

#modal .talle-btn.selected {
    background-color: #007bff;
    color: white;
}

#modal .talle-btn.no-disponible {
    background-color: #e0e0e0;
    color: red;
    pointer-events: none;
    /* Bloquea clics */
    cursor: not-allowed;
}

.no-disponible {
    background-color: transparent !important;
    pointer-events: none;
    opacity: 0.2;
    cursor: not-allowed;
    text-decoration: line-through;
}

#modal-talle {
    margin: 10px 0;
    padding: 5px;
    font-size: 16px;
}

#botones-container {
    display: flex;
    justify-content: space-between;
    /* Espaciado entre los botones */
    align-items: center;
    /* Centrado vertical */
    margin-top: 20px;
    /* Separación con el contenido superior */
}

#boton-agregar-carrito,
#boton-whatsapp {
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#boton-agregar-carrito {
    flex: 0 0 90%;
    /* Ocupa el 80% del contenedor */
}

#boton-agregar-carrito {
    background-color: #007BFF;
    /* Azul para "Agregar al carrito" */
    color: white;
}

#boton-whatsapp {
    background-color: transparent;
    /* Verde de WhatsApp */
    flex: 0 0 10%;
    /* Ocupa el 20% del contenedor */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Elimina espacio extra */
    margin-left: 2%;
}

#boton-whatsapp:hover {
    animation: shake 0.5s;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}


/* Clase para la animación de salida del modal */
.fade-out {
    animation: fadeOut 0.3s ease-in-out forwards;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 10px;
    font-size: 1.2rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #FF0000;
}

/* Estilos para el carrusel dentro del modal */
.carousel-inner {
    border-radius: 10px;
}

.carousel-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    /* Ajusta la imagen para que cubra el contenedor */
    border-radius: 10px;
}


/* Estilos para el carrusel dentro del modal */
#modal .carousel-item img {
    width: 100%;
    height: auto;
    /* Ajusta la altura automáticamente */
    max-height: 250px;
    /* Establece una altura máxima */
    object-fit: contain;
    /* Ajusta la imagen para que cubra el contenedor */
    border-radius: 10px;
    margin-top: 30px;
}





/* Estilos para el carrito de compras */
.carrito {
    max-width: 1200px;
    margin: 2em auto;
    background-color: #ffffff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carrito h2 {
    color: #000000;
    margin-bottom: 1em;
    text-align: center;
}


.metodos-pago-content {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 20px;
}

.metodos-pago-content h1 {
    color: #000000;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.metodos-pago-content h2 {
    color: #000000;
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.metodos-pago-content p {
    color: #000000;
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
}

.metodos-pago-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.metodos-pago-content ul li {
    margin-bottom: 5px;
}

.logos-pagos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
}

.logos-pagos img {
    height: 50px;
    margin: 0 10px;
}


#total {
    font: 1em sans-serif;
    font-size: 1.5rem;
    color: #000000;
    text-align: right;
    margin-top: 20px;
}


/* Hero Section */
.hero {
    background: url('img/R\ \(4\).png') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero .btn {
    background-color: #FFA500;
    color: #001220;
    padding: 10px 20px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero .btn:hover {
    background-color: #ff8c00;
}

#heroCarousel .carousel-item img {
    width: 100%;
    height: auto;
    /* Ajusta la altura automáticamente */
    max-height: 400px;
    /* Establece una altura máxima */
    object-fit: cover;
    /* Ajusta la imagen para que se contenga dentro del contenedor */
    border-radius: 10px;
}

/* Productos Destacados */
.destacados {
    padding: 50px 20px;
    text-align: center;
}

#contenedor-destacados {
    padding-block-end: 1%;
    padding-block-start: 0% !important;
    display: flex;
    justify-content: center;
}



#contenedor-destacados p {
    padding-top: 2%;
}


.productos-destacados {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.producto {
    background-color: #022039;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.producto img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.producto h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #FFA500;
}

.producto p {
    font-size: 1rem;
    color: #ffffff;
}

/* Sobre Nosotros */
.nosotros {
    padding: 50px 20px;
    background-color: #000000;
    text-align: center;
}

.nosotros h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.nosotros p {
    font-size: 1rem;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    text-align: center;
    font-weight: 300;
}


/* Footer */
footer {
    background-color: #125ac6;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin-top: auto;
    /* Esto es clave para el sticky flexible */
    position: static;
    /* Quita el fixed */
    z-index: 100;
}

footer p {
    color: white;
    margin: 0 auto;
    margin-top: 0 auto;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

/* Contenedor principal */
.contacto {
    max-width: 850px;
    margin: 4em auto;
    background: linear-gradient(180deg, #0a0a0a, #000000);
    padding: 3em 2.5em;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    animation: fadeIn 0.7s ease-in-out;
}

/* Título */
.contacto h2 {
    color: #ffffff;
    font-size: 2.4rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 0.7em;
}

/* Subtítulo */
.contacto p {
    color: #dcdcdc;
    font-size: 1.2rem;
    margin-bottom: 2.5em;
    line-height: 1.6;
}

/* Contenedor de redes */
.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 3em;
    flex-wrap: wrap;
}

/* Cada icono con su texto debajo */
.redes-sociales .item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.redes-sociales .item img {
    width: 65px;
    height: 65px;
    margin-bottom: 0.5em;
    transition: transform 0.3s ease;
}


/* Hover iconos */
.redes-sociales .item:hover {
    transform: translateY(-6px);
    filter: brightness(1.2);
}

.redes-sociales .item p {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

/* Animación fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para los botones en el carrito */
#lista-carrito li button {
    background-color: #D7D7D7;
    color: #001220;
    font-size: 0.8em;
    /* Tamaño de fuente más pequeño */
    font-weight: bold;
    padding: 5px 10px;
    /* Tamaño de padding más pequeño */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px;
    /* Espaciado entre botones */
}

#lista-carrito li button:hover {
    background-color: #ff8c00;
}

#lista-carrito li .button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    /* Espaciado entre botones */
}

/* Estilos para el botón de cerrar el modal */
.modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.modal .close:hover {
    color: #FF0000;
}

/* Secion de ayuda*/
.help-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-top: 1%;
}

.help-item {
    background-color: #000000;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 200px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.help-item:hover {
    transform: scale(1.05);
}

.help-item img {
    width: 100%;
    height: auto;
    filter: invert(100%);
    padding: 3%;
}

.help-item p {
    margin: 10px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    color: #f3f3f3;
    border-top: 2px solid #cccccc;
    padding-top: 10px;
    line-height: 1.5;
}


.help-item a {
    text-decoration: none !important;
    color: inherit;
}

/* Centrar el texto del encabezado específico */
.help-title {
    padding-top: 2%;
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 2.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos específicos para la página de devoluciones */
.devoluciones-content {
    padding-top: 2%;
    padding-block-end: 2%;
    text-align: center;
    background-color: #ffffff;
    color: #7caefa;
}

.container {
    background-color: #ffffff;

}

.devoluciones-content h1 {
    color: #000000;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.devoluciones-content h2 {
    color: #000000;
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

.devoluciones-content p {
    color: #060505;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.devoluciones-content ul,
.devoluciones-content ol {
    color: #000000;
    line-height: 1.6;
    margin: 0 auto 20px;
    text-align: left;
    display: inline-block;
    padding-left: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.devoluciones-content a {
    color: #0056b3;
    text-decoration: none;
}

.devoluciones-content a:hover {
    text-decoration: underline;
}

/* Estilos para el submenú */
.submenu {
    display: none;
    padding-left: 20px;
}

.submenu a {
    font-size: 20px;
}

.submenu-toggle {
    position: relative;
    cursor: pointer;
}

.submenu-toggle .arrow {
    display: inline-block;
    /* Asegúrate de que se pueda rotar */
    font-size: 16px;
    margin-left: 10px;
    transition: transform 0.3s ease;
    /* Transición suave */
}

.submenu-toggle.active .arrow {
    transform: rotate(-90deg);
    /* Gira 180 grados */
}


.submenu.visible {
    display: block;
    /* Muestra el submenú cuando tiene la clase 'visible' */
}

/* Estilos específicos para la página de seguimientos */
.seguimientos-content {
    text-align: center;
}

.seguimientos-content h1 {
    color: #000000;
    margin-bottom: 20px;
}

.seguimientos-content p {
    font: 1em sans-serif;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.seguimientos-content img {
    max-width: 25%;
    height: auto;
    margin-bottom: 20px;
}

.seguimientos-content a {
    color: #0056b3;
    text-decoration: none;
}

.seguimientos-content a:hover {
    text-decoration: underline;
}

/* Estilos específicos para la página de envíos */
.envios-content {
    text-align: center;
}

.envios-content h1 {
    color: #000000;
    margin-bottom: 20px;
}

.envios-content h2 {
    color: #0056b3;
    margin-top: 20px;
}

.envios-content p {
    font: 1em sans-serif;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.envios-content ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    text-align: left;
    display: inline-block;
}

.envios-content ul li {
    font: 1em sans-serif;
    margin-bottom: 10px;
    color: #000000;
}

.envios-content img {
    max-width: 25%;
    height: auto;
    margin-bottom: 20px;
}

.envios-content a {
    color: #0056b3;
    text-decoration: none;
}

.envios-content a:hover {
    text-decoration: underline;
}

/* Estilos específicos para la página de talles */
.talles-content {
    padding-top: 2%;
    text-align: center;
}

.talles-content h1 {
    color: #000000;
    margin-bottom: 20px;
}

.talles-content p {
    font: 1em sans-serif;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 20px;
}

.talles-content .talles-imagenes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 20px;
}

.talles-content .talles-calzado img {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
}

.talles-guantes img {
    max-width: 65%;
    height: auto;
    margin-bottom: 20px;
}

.talles-content a {
    color: #0056b3;
    text-decoration: none;
}

.talles-content a:hover {
    text-decoration: underline;
}

/* Estilos específicos para la página de pagos */
/* Estilos para el formulario */
.form-group {
    margin-bottom: 15px;
}

#form-confirmar-compra {
    color: #000000;
    height: auto;
    padding: 20px;
    border: 1px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #ffffff;
}

#confirmar-compra-fin {
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #f4f4f9;
    color: #000000;
}

.form-group textarea {
    resize: vertical;
}

/* Botones */
#btn-siguiente-correo,
#btn-siguiente-contacto {
    background-color: #d84315;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

#confirmar-compra-btn {
    background-color: #D7D7D7;
    border-radius: 5px;
}

#confirmar-compra-btn:hover,
#vaciar-carrito-btn:hover,
#btn-siguiente-correo:hover,
#btn-siguiente-contacto:hover {
    background-color: #FFA500;
}

#vaciar-carrito-btn {
    background-color: #D7D7D7;
    border-radius: 5px;
}

/* Secciones del formulario */
.form-section {
    display: none;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #000000;
    border-radius: 5px;
    background-color: #fafafa;
}

.form-section.active {
    display: block;
}

/* Información de Transferencia */
#transferencia-info {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    background-color: #f4f4f9;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    #form-confirmar-compra {
        padding: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
    }


    #btn-siguiente-correo,
    #btn-siguiente-contacto {
        width: 30vw;
        height: 10vw;
        padding: 8px 16px;
        font-size: 15px !important;
        align-items: center;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    #form-confirmar-compra {
        padding: 10px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px;
    }

    #confirmar-compra-btn,
    #btn-siguiente-correo,
    #btn-siguiente-contacto {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Estilos para el contenedor de las tarjetas */
.cards-container {
    display: flex;
    /* Utiliza Flexbox para organizar las tarjetas */
    justify-content: space-around;
    /* Distribuye las tarjetas uniformemente */
    flex-wrap: wrap;
    /* Permite que las tarjetas se envuelvan en múltiples líneas */
    gap: 10px;
    /* Espaciado entre tarjetas */
    padding: 20px;
    /* Espaciado interno del contenedor */
    background-color: #ffffff;
    /* Color de fondo del contenedor general */
}

/* Estilos para las tarjetas individuales */
.cards-container .card {
    display: flex;
    background-color: #ffffff;
    padding: 0%;
    border-radius: 10px;
    text-align: center;
    height: 90%;
    /* Ajusta la altura según tus necesidades */
    width: 90%;
    max-width: 218.113px;
    /* Ajusta el ancho según tus necesidades */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    /* Para controlar el botón */
    overflow: hidden;
    /* Evita que el botón sobresalga */
    margin: 10px;
    /* Añade margen entre las tarjetas */
}

/* Estilos para el cuerpo de las tarjetas */
.card-body {
    padding: 10px;
    /* Espaciado interno del cuerpo de las tarjetas */
}

/* Estilos para el título de las tarjetas */
.card-title {
    font-family: 'Montserrat', Sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: #000000;
    padding-top: 4%;
}

/* Estilos para las imágenes en las tarjetas */
.card-img-top {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    max-width: 200px;
    max-height: 140px;
}

/* Estilos para el contenedor principal */
.container-fluid {
    padding: 0px !important;
    /* Espaciado interno del contenedor principal */
    padding-left: 0px !important;
    /* Espaciado interno del contenedor principal */
    padding-right: 0px !important;
    /* Espaciado interno del contenedor principal */
    margin: 0px !important;
    /* Margen exterior del contenedor principal */
    width: 100%;
    /* Ancho completo del contenedor principal */
    min-height: 100%;
    /* Altura mínima del contenedor principal, permite crecer */
    background-color: #fff;
    /* Color de fondo del contenedor principal */
    border-radius: 0;
    /* Redondear las esquinas del contenedor */
    box-shadow: none;
    border: none;
    overflow-x: hidden;
    /* Ocultar el desbordamiento horizontal */
    display: flex;
    flex-direction: column;
}

/* Estilos para la sección de ofertas */
.ofertas {
    display: flex;
    /* Utiliza Flexbox para organizar las ofertas */
    justify-content: space-around;
    /* Distribuye las ofertas uniformemente */
    gap: 20px;
    /* Espaciado entre las ofertas */
    padding: 10px;
    /* Espaciado interno de la sección de ofertas */
    font-size: 3rem;
    /* Tamaño de fuente de las ofertas */
    color: #ffffff;
    /* Color del texto de las ofertas */
    font-family: 'Montserrat', sans-serif;
    /* Fuente moderna y elegante */
    font-weight: 700;
    /* Negrita */
    text-transform: uppercase;
    /* Texto en mayúsculas */
    letter-spacing: 1px;
    /* Espaciado entre letras */
    text-align: center;
    /* Alineación centrada del texto */
    font-style: italic;
    /* Texto inclinado */
    background-color: #000;
}

.ofertas h2,
.novedades h2 {
    text-align: center;
    margin: 0 auto;
}

/* Estilos para la sección de ofertas */
.novedades {
    display: flex;
    /* Utiliza Flexbox para organizar las ofertas */
    justify-content: space-around;
    /* Distribuye las ofertas uniformemente */
    gap: 20px;
    /* Espaciado entre las ofertas */
    padding: 20px;
    /* Espaciado interno de la sección de ofertas */
    font-size: 3rem;
    /* Tamaño de fuente de las ofertas */
    color: #000000;
    /* Color del texto de las ofertas */
    font-family: 'Montserrat', sans-serif;
    /* Fuente moderna y elegante */
    font-weight: 700;
    /* Negrita */
    text-transform: uppercase;
    /* Texto en mayúsculas */
    letter-spacing: 1px;
    /* Espaciado entre letras */
    text-align: center;
    /* Alineación centrada del texto */
    font-style: italic;
    /* Texto inclinado */
}

/* Estilos para confirmar la compra */
#confirmar-compra {
    text-align: center;
    margin-top: 20px;
}

/* Estilos el titulo h5 de admin y pedidos */
h5 {
    text-align: center;
    /* Centrar el texto */
    font-size: 2rem;
    margin: auto;
    color: #000000;
    flex: 1;
    /* Permite que el título ocupe el espacio disponible */
    display: flex;
    /* Utiliza Flexbox para centrar el contenido */
    justify-content: center;
    /* Centra horizontalmente */
    align-items: center;
    /* Centra verticalmente */
    position: absolute;
    /* Posiciona el elemento de forma absoluta */
    top: 50%;
    /* Centra verticalmente */
    left: 50%;
    /* Centra horizontalmente */
    transform: translate(-50%, -50%);
    /* Ajusta la posición para centrar */
}

h8,
p.carousel-caption-text3 {
    margin: 0;
    font-size: 1.5rem;
    color: #f4f4f9;
    text-align: center;
    flex: 1;
    /* Permite que el título ocupe el espacio disponible */
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    /* Añade un borde negro alrededor del texto */
}

.error-message {
    color: red;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    position: center;
    top: 20px;
    right: 20px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos del Modal para editar producto */
#modal-editar {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Permite desplazarse si el contenido es demasiado grande */
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    /* Centra el contenido horizontalmente */
    align-items: center;
    /* Centra el contenido verticalmente */
    padding-top: 50px;
}

#modal-editar .modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #ddd;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

#modal-editar .modal-content h2 {
    font-size: 1.8rem;
    color: #0052A4;
    margin-bottom: 20px;
}

#modal-editar .modal-content label {
    display: block;
    font-weight: bold;
    color: #0052A4;
    margin-bottom: 5px;
    text-align: left;
}

#modal-editar .modal-content input,
#modal-editar .modal-content textarea,
#modal-editar .modal-content select {
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f4f4f9;
    color: #001220;
}

#modal-editar .modal-content input:focus,
#modal-editar .modal-content textarea:focus,
#modal-editar .modal-content select:focus {
    outline: 2px solid #0052A4;
}

#modal-editar .modal-content button {
    background-color: #0052A4;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#modal-editar .modal-content button:hover {
    background-color: #003d80;
}

#modal-editar .modal-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

#modal-editar .modal-content .close-btn:hover {
    color: #FF0000;
}

#modal-editar .modal-content #imagenes-container-modal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

#modal-editar .modal-content #imagenes-container-modal .imagen-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f4f4f9;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#modal-editar .modal-content #imagenes-container-modal .imagen-input img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

#modal-editar .modal-content #imagenes-container-modal .imagen-input button {
    background-color: #FF0000;
    color: #ffffff;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#modal-editar .modal-content #imagenes-container-modal .imagen-input button:hover {
    background-color: #cc0000;
}

/* Estilo para el label de categoria de admin.html */
#formulario-productos #categoria {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f4f4f9;
    color: #001220;
}

/* Estilo para el logo */

.titulo-header {
    color: white;
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    /* Negrita */
    font-style: italic;
    /* Itálica */
    font-size: 2rem;
    width: 100%;
    /* Ajusta el ancho del logo según tus necesidades */
    height: 100%;
    /* Ajusta la altura del logo según tus necesidades */
    /* Centra horizontalmente */
    display: flex;
    /* Asegura que el logo se comporte como un bloque */
    position: relative;
    /* Posiciona el logo de forma relativa */
    align-items: center;
    justify-content: center;
    text-align: center;
    object-fit: content;
    z-index: 1002 !important;
}

.first-two {
    color: #0d47a1;
}

.logo-container {
    display: flex;
    background-color: transparent;
    height: 100%;
    width: 15%;
    align-items: center;
    justify-content: center;
}

.logo-carrito {
    width: 5%;
    /* Ajusta el ancho del logo según tus necesidades */
    height: 5%;
    /* Ajusta la altura del logo según tus necesidades */
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    /* Asegura que el logo se comporte como un bloque */
}

/* Animación para la aparición del menú */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-lateral-animacion {
    /* Otros estilos existentes */
    animation: fadeIn 0.5s ease-in-out forwards;
}

body.menu-admin {
    display: none;
}

/* ── Menú lateral del admin ─────────────────────────────── */
nav#menu.menu-lateral {
    padding-top: 20px;
    overflow-x: hidden;
}

nav#menu.menu-lateral a {
    display: block;
    padding: 14px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.18s, padding-left 0.18s;
}

nav#menu.menu-lateral a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 32px;
}

nav#menu.menu-lateral .cerrar-btn {
    display: block;
    text-align: right;
    padding: 10px 18px 6px;
    font-size: 26px;
    color: #aaa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

nav#menu.menu-lateral .cerrar-btn:hover {
    color: #fff;
    background: transparent;
    padding-left: 18px;
}

nav#menu.menu-lateral a.btn-logout {
    margin-top: 20vw;
    color: #e74c3c;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
}

nav#menu.menu-lateral a.btn-logout:hover {
    color: #fff;
    background: rgba(231, 76, 60, 0.25);
    padding-left: 32px;
}

/* ─────────────────────────────────────────────────────────── */

/* Cambiar color de boton para ordenar productos */
#ordenar-select {
    background-color: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    color: #001220;
    font-size: 1em;
    font-weight: bold;
    padding: 3px 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    transform: translateY(-7.5%);
}

#ordenar-select:hover {
    background-color: #c5c5c5;
}

/* Cambiar color de label para ordenar productos */
label[for="ordenar-select"] {
    color: #001220;
    font-size: 1em;
    font-weight: bold;
}


#modalEnvio {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    /* Color de fondo más oscuro */
}

#modalEnvio .modal-content {
    background-color: #ffffff;
    /* Fondo color crema */
    color: #000000;
    /* Texto oscuro */
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive para #modalEnvio */
@media (max-width: 768px) {
    #modalEnvio .modal-content {
        max-width: 90%;
        width: 90%;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    #modalEnvio .modal-content {
        max-width: 95%;
        width: 95%;
        padding: 12px;
    }

    #modalEnvio h2 {
        font-size: 1.2em;
    }
}

#modalEnvio h2 {
    color: #000000;
    /* Color del título */
}

#modalEnvio .close {
    color: #d84315;
    font-size: 28px;
    font-weight: bold;
}

#modalEnvio .close:hover {
    color: #b71c1c;
}

#modalProductos {
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    /* Color de fondo más oscuro */
}

#modalProductos .modal-content {
    background-color: #ffffff;
    /* Fondo color crema */
    color: #000000;
    /* Texto oscuro */
    border-radius: 10px;
    padding: 20px;
    max-width: 500px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive para #modalProductos */
@media (max-width: 768px) {
    #modalProductos .modal-content {
        max-width: 90%;
        width: 90%;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    #modalProductos .modal-content {
        max-width: 95%;
        width: 95%;
        padding: 12px;
    }

    #modalProductos h2 {
        font-size: 1.2em;
    }
}

#modalProductos h2 {
    color: #000000;
    /* Color del título */
}

#modalProductos .close {
    color: #d84315;
    font-size: 28px;
    font-weight: bold;
}

#modalProductos .close:hover {
    color: #b71c1c;
}


#contenidoEnvio {
    border-radius: 10px;
    /* Redondear las esquinas */
    background-color: #f4f4f9;
    /* Color de fondo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra */
}

#contenidoEnvio p {
    margin: 0;
    border: #000000 solid 1px;
    padding: 10px;
    /* Añadir espacio interno */
}

#contenidoProductos {
    border-radius: 10px;
    /* Redondear las esquinas */
    background-color: #f4f4f9;
    /* Color de fondo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra */
}

#contenidoProductos p {
    margin: 0;
    border: #000000 solid 1px;
    padding: 10px;
    /* Añadir espacio interno */
}

#contenidoProductos hr {
    border: none;
    /* Eliminar cualquier borde predeterminado */
    border-top: 3px solid #000;
    /* Ajustar el grosor y el color de la línea */
    margin: 20px 0;
    /* Añadir márgenes para separar la línea del contenido */
}

/* Estilos para el carrusel de categorías */
.categoria-carrusel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
    background-color: #f4f4f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.categoria-carrusel::-webkit-scrollbar {
    display: none;
    /* Oculta la barra de desplazamiento */
}

#categoriasCarousel,
#categoriasMovilCarousel {
    padding-block-end: 0.5%;
}

.categoria-item,
.categoria-item-movil {
    flex: 0 0 auto;
    scroll-snap-align: start;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.categoria-item:hover,
.categoria-item-movil:hover {
    transform: scale(1.05);
}

.categorias,
.categorias-movil {
    margin-top: 2%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-block-end: 2%;
}

#categoriasCarousel .carousel-control-next-icon,
#categoriasCarousel .carousel-control-prev-icon,
#categoriasMovilCarousel .carousel-control-next-icon,
#categoriasMovilCarousel .carousel-control-prev-icon {
    opacity: 0 !important;
}


.categorias h2,
.categorias-movil h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000000;
    text-align: center;
    margin-top: 1%;
    margin-inline-end: 2%;
    margin-block-end: 1%;
    padding-top: 0.5%;
}

.categoria-item p,
.categoria-item-movil p {
    font-size: 1rem;
    color: #666666;
}

/* Estilos para las flechas del carrusel */
.categoria-carrusel .arrow {
    color: #000000;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.categoria-carrusel .arrow:hover {
    color: #000000;
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    /* Para que no salten de línea */
    gap: 0;
    width: 100%;
    /* Asegura que ocupe todo el espacio disponible */
    margin: 0 auto;
    /* Centra horizontalmente */
    padding: 0;
    /* Elimina padding del contenedor si lo tuviera */
}

.col-md-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 10% !important;
    margin: 0;
    /* Elimina margen del contenedor si lo tuviera */
    padding-left: 0 !important;
    /* Elimina padding del contenedor si lo tuviera */
    padding-right: 0 !important;
    /* Ajusta el padding derecho */
}

.col-md-4 .imagen-fluid {
    width: 80px;
    /* Tamaño exacto */
    height: 80px;
    /* Tamaño exacto */
    object-fit: cover !important;
    /* Mantiene la proporción al recortar la imagen */
    border-radius: 50%;
    /* Hace que sea circular */
    margin: 5px auto;
    /* Centrado */
    image-rendering: auto;
    /* Mejora el renderizado en algunos navegadores */
}



.carousel-item-inicio {
    margin: 0;
}

.col-md-4 .imagen-fluid:hover {
    transform: scale(1.1);
    /* Efecto de agrandamiento */
}

.col-md-4 h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000000;
}

h9 {
    font: 1em sans-serif;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000000;
}

.card .titulo-stock {
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top: 5%;
}


.ordenar {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.ordenar label {
    margin-right: 10px;
    font-weight: bold;
}

.ordenar select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Filtro lateral */
.filtro-lateral {
    background-color: transparent;
    /* Color de fondo */
    padding: 20px;
    /* Espaciado interno */
    border-right: 1px solid #ddd;
    /* Línea divisoria */
    height: 100%;
    /* Ocupa todo el alto disponible */
    position: relative;
    overflow: visible;
}


.filtrar-talle-container {
    position: relative;
}

#filtrar-talle-btn {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: left;
}

#filtrar-talle-btn:hover {
    background-color: #0056b3;
}

.filtrar-talle-menu {
    display: none;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    /* Añade un margen superior para separar el menú del botón */
}

.filtrar-talle-menu label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.filtrar-talle-menu select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Estilos para los labels de los checkboxes */
#filtrar-talle label {
    border-bottom: 1px solid #ddd;
    /* Línea divisoria */
    margin-top: 5%;
}

.productos-contenedor {
    display: flex;
    /* Flexbox para alinear horizontalmente */
    gap: 20px;
    /* Espaciado entre los filtros y los productos */
}


.carousel-control-next-icon,
.carousel-control-prev-icon {
    filter: invert(100%);
    opacity: 0.5;
}


/* Estilos para la sección de medios */
.media-section {
    padding: 10px 0;
    /* Reduce el padding vertical */
    max-width: 100%;
    /* Ajusta el ancho máximo del contenedor */
    margin-left: 1%;
    /* Centra el contenedor horizontalmente */
    margin-right: 1%;
    /* Centra el contenedor horizontalmente */
}

.media-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 !important;
}

.video-col,
.images-col {
    padding: 0px !important;
    /* Reduce el padding */
    flex: 1 1 50%;
    /* Permite que las columnas se ajusten al 50% del contenedor */
    overflow: hidden;
    /* Oculta el desbordamiento */
    width: 100%;
    height: 100%;
}



.video-col video {
    width: 100%;
    height: 100%;
    padding: 0px !important;
    /* Reduce el padding */
}

.images-col .images-row {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
    /* Asegura que los hijos se ajusten al contenedor */
}

.row.images-row {
    transform: translate(0, 0);
    text-align: center;
    margin: 0 !important;
    flex-wrap: nowrap;
}

.image-top,
.image-bottom {
    flex: 1;
    padding: 0 !important;
    height: 50%;
}

.image-top img,
.image-bottom img {
    width: 100%;
    height: 100%;
    /* Reduce la altura de las imágenes */
    object-fit: cover;
    padding: 0px !important;
    /* Reduce el padding */
}

.image-bottom img {
    object-position: center 130%;
}

.image-top img {
    object-position: center 50%;
}


.header-admin {
    color: white;
    background-color: white;
    padding: 15px 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container-admin {
    display: flex;
    transform: none;
    justify-content: space-between;
    /* Distribuir el espacio entre los elementos */
    align-items: center;
    /* Alinear los elementos verticalmente al centro */
    flex-wrap: nowrap;
    /* Permite que los elementos se envuelvan en múltiples líneas */
    gap: 15px;
    /* Añade espacio entre elementos */
    padding: 0 15px;
    /* Margen interno para los bordes */
    width: 100%;
    box-sizing: border-box;
    /* Asegura que el ancho total incluya el relleno y el borde */
}

/* Estilos para el contenedor de filtrar por marca */
.filtrar-marca-container {
    position: relative;
    margin-bottom: 0px;
    padding-top: 3%;
}

#filtrar-marca-btn {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: left;
}

#filtrar-marca-btn:hover {
    background-color: #0056b3;
}

.filtrar-marca-menu {
    display: none;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    /* Añade un margen superior para separar el menú del botón */
}

.filtrar-marca-menu label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.filtrar-marca-menu select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Estilos para los labels de los checkboxes */
#filtrar-marca label {
    border-bottom: 1px solid #ddd;
    /* Línea divisoria */
    margin-top: 5%;
}

/* Estilos para el contenedor de filtrar por gama */
.filtrar-gama-container {
    position: relative;
    margin-bottom: 20px;
    padding-top: 3%;
}

#filtrar-gama-btn {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: left;
}

#filtrar-gama-btn:hover {
    background-color: #0056b3;
}

.filtrar-gama-menu {
    display: none;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
    margin-top: 10px;
    /* Añade un margen superior para separar el menú del botón */
}

.filtrar-gama-menu label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.filtrar-gama-menu select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Estilos para los labels de los checkboxes */
#filtrar-gama label {
    border-bottom: 1px solid #ddd;
    /* Línea divisoria */
    margin-top: 5%;
}

/* Estilos para la sección de beneficios */
.benefits-section {
    background-color: #ffffff;
    /* Fondo blanco para la sección */
    padding: 30px 20px;
    /* Espaciado interno */
}

.benefits-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    font-size: 24px;
    color: #ff007f;
    /* Color rosa vibrante */
}

.icon-whatsapp .telefono-icon {
    height: 5vh;
    /* Color verde */
}

.text h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.divider {
    width: 1px;
    height: 40px;
    background-color: #ddd;
}

#lista-productos .producto-elite {
    min-width: none !important;
    max-width: none !important;
    border: 1px solid #ffd700;
    /* Borde dorado */
    border-radius: 12px !important;
    /* Esquinas redondeadas */
    position: relative;
    /* Para posicionar el cartel de "Producto Elite" */
    overflow: hidden;
    /* Oculta cualquier desbordamiento */
    /* Sombra dorada suave */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    /* Transición suave para transformaciones y sombras */
}

.producto-elite .envio-gratis {
    display: none;
}

.producto-elite::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 223, 0, 0.1)) !important;
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    border-radius: 12px !important;
}

.producto-elite:hover {
    width: 100%;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
    /* Efecto flotante */
    border: none;
}

.producto-elite:hover::before {
    opacity: 1 !important;
    border: #000000 solid 2px;
    /* Activa el degradado al pasar el mouse */
}


.elite-cartel {
    display: none;
    position: absolute;
    top: 5px;
    left: 0px;
    background-color: rgb(0, 0, 0) !important;
    /* Color de fondo (naranja vibrante) */
    color: #ffffff !important;
    /* Texto blanco */
    padding: 2% !important;
    /* Espaciado interno */
    font-weight: bold !important;
    /* Texto en negrita */
    font-size: 9px !important;
    /* Tamaño del texto */
    text-transform: uppercase !important;
    /* Texto en mayúsculas */
    z-index: 10 !important;
    /* Asegura que esté por encima de otros elementos */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    /* Sombra suave */
    letter-spacing: 2px !important;
}

.sin-stock-cartel {
    display: block;
    position: absolute;
    top: 5px;
    left: 0px;
    background-color: rgb(0, 0, 0) !important;
    color: #ffffff !important;
    padding: 2% !important;
    font-weight: bold !important;
    font-size: 9px !important;
    text-transform: uppercase !important;
    z-index: 10 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    letter-spacing: 2px !important;
}








.open-menu-btn {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18);

    position: fixed;
    top: 1%;
    margin-left: 1%;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transition: all 0.24s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.open-menu-btn:hover {
    transform: scale(1.04);
}

.open-menu-btn:active {
    transform: scale(0.98);
}


.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1110;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
}

@media (min-width: 1000px) {
    .open-menu-btn {
        display: none;
    }
}


/* Unique carousel section */
section.unique-carousel-section {
    width: 100%;
    /* Ocupa el ancho completo del contenedor */
    height: 40vw;
    /* Ajusta la altura del contenedor */
    padding: 20px;
    /* Añade espacio interno alrededor del contenido */
    background-color: white;
    /* Fondo para visualizar el tamaño */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Evita que el contenido desborde */
}

section.unique-carousel-section #uniqueImageCarousel {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Asegura que las imágenes no sobresalgan */
}


#uniqueImageCarousel .carousel-inner {
    height: 100%;
    display: flex;
    /* Alineación flexible */
    align-items: center;
    /* Centra el contenido verticalmente */
    position: center;
    left: 1%;
    gap: 15px;
    /* Espacio entre las imágenes */
    background-color: #ffffff;
    /* Fondo del área de imágenes */
}

#uniqueImageCarousel .carousel-item.active {
    height: 100%;
    display: flex;
    /* Usamos flexbox para facilitar la alineación */
    align-items: stretch;
    /* Asegura que se estire para ocupar toda la altura disponible */
}

#uniqueImageCarousel .carousel-item {
    will-change: transform;
    /* Mejora el rendimiento */
    transition: transform 0.3s ease-in-out;
}

#uniqueImageCarousel .col-md-4.unique-carousel-col {
    flex: 1 1 33.333%;
    /* Tres columnas iguales */
    max-width: 33.333%;
    /* Ajusta el ancho máximo */
    padding: 0;
    /* Elimina el padding */
    margin: 9.7%;
    max-height: 40%;
}

#uniqueImageCarousel .d-block.w-100.unique-carousel-img {
    height: 300% !important;
    width: 300% !important;

}


/* Row styling */
.unique-carousel-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Espacio entre columnas */
}


/* Image styling */
.unique-carousel-img {
    width: 100%;
    /* Asegura que la imagen ocupe todo el ancho */
    height: 100%;
    /* Ajusta la altura */
    object-fit: cover;
    /* Corta la imagen si excede las dimensiones */
    border-radius: 10px;
    /* Bordes redondeados */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


/* Controls styling */
.unique-carousel-control-prev,
.unique-carousel-control-next {
    filter: invert(1) brightness(1000%);
    width: 5%;
    /* Tamaño de los controles */
    z-index: 1;
    /* Asegura que estén por encima del contenido */
}

.unique-prev-icon:hover,
.unique-next-icon:hover {
    filter: invert(1) brightness(1000%) drop-shadow(0 0 10px #ffffff);
}

/* Puedes agregar esto a tu styles.css o dentro de un <style> en el <head> */

/* Estilo para el form-group del checkbox */
.form-group input[type="checkbox"]#mismos-datos-envio {
    accent-color: #1a73e8;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    cursor: pointer;
}

.form-group label[for="mismos-datos-envio"] {
    font-weight: 500;
    color: #1a73e8;
    cursor: pointer;
    vertical-align: middle;
    font-size: 1.08rem;
    margin-left: 2px;
    transition: color 0.2s;
}

.form-group input[type="checkbox"]#mismos-datos-envio:checked+label[for="mismos-datos-envio"] {
    color: #1761c7;
    text-decoration: underline;
}


.col-md-6.images-col {
    height: 100%;
    min-height: 100%;
    width: 100%;
    flex: 1;
    margin: 0;
    padding: 0;
}

.row.media-row {
    height: 100vh !important;
}

.btn-payway {
    width: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

#aviso-marquee {
    width: 100vw;
    overflow: hidden;
    position: relative;
    background: #000;
    color: #fff;
    height: 32px;
    display: flex;
    align-items: center;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 1px;
    min-width: 20vw;
    /* Esto ayuda a que el texto no se corte si es corto */
}

/* Galería de Botines Vendidos */
.galeria-vendidos {
    margin: 2em 0 3em 0;
    padding: 0 1em;
}

.galeria-vendidos h2 {
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2em;
    margin-bottom: 1.5em;
    color: #222;
    letter-spacing: 1px;
    margin-block-end: 0.8em !important;
}

.galeria-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.galeria-card {
    background: linear-gradient(135deg, #e3f0ff 0%, #b3d8fd 50%, #5ba8f7 100%);
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(90, 170, 255, 0.10);
    width: 55vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 1.5px solid #5ba8f7;
}

.galeria-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(90, 170, 255, 0.18);
}

.galeria-card img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    background: #f6f6f6;
    border-bottom: 1px solid #eee;
    image-rendering: auto;
    /* Valor por defecto, pero explícito */
    image-rendering: crisp-edges;
    /* Para navegadores que lo soportan */
    image-rendering: -webkit-optimize-contrast;
    /* Chrome/Safari */
    image-rendering: high-quality;
    /* Algunos navegadores */
}

.galeria-info {
    padding: 1em 1.2em 1.2em 1.2em;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.galeria-card h3 {
    margin: 0 0 0.5em 0;
    font-size: 1.1em;
    color: #1a1a1a;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.galeria-card p {
    margin: 0;
    color: #000000;
    font-weight: bold;
    font-size: 0.98em;
    line-height: 1.4;
    font-family: 'Roboto', Arial, sans-serif;
}

/* Estilos específicos para admin-vendidos.html */

#form-vendidos {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 2em 2em 1.5em 2em;
    margin: 2em auto 1.5em auto;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    border: 1px solid #eee;
}

#form-vendidos label {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.3em;
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
}

#form-vendidos input[type="text"],
#form-vendidos textarea,
#form-vendidos input[type="file"] {
    width: 100%;
    padding: 0.6em 0.8em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    font-family: 'Roboto', Arial, sans-serif;
    margin-top: 0.2em;
    box-sizing: border-box;
}

#form-vendidos textarea {
    min-height: 70px;
    resize: vertical;
}

#form-vendidos button[type="submit"] {
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7em 1.5em;
    font-size: 1.1em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
    margin-top: 0.5em;
}

#form-vendidos button[type="submit"]:hover {
    background: #218838;
}

#vendido-estado {
    margin-top: 1em;
    font-size: 1em;
    font-weight: 500;
    color: #28a745;
    text-align: center;
    min-height: 1.5em;
}


.galeria-vendidos h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2.1em;
    color: #222;
    margin-bottom: 1.5em;
    text-align: center;
}

.talle-btn {
    position: relative;
    overflow: visible;
}


@media (max-width: 768px) {
    .tooltip-talle {
        white-space: normal;
        max-width: 40vw;
        width: 100%;
        padding: 4px 10px;
        font-size: 0.8em;
        bottom: 110%;
        text-align: center;
        line-height: 1.3;
    }
}

.linea-talle {
    border-top: 1px solid #ccc;
    margin: 4px 0;
}

.talle-btn:hover .tooltip-talle,
.talle-btn:focus .tooltip-talle {
    display: block;
}

.precio-efectivo-lista {
    font-size: 0.8em !important;
    margin-top: 0.2em;
    width: 100%;
}

.cuotas-lista {
    font-size: 0.8em !important;
    color: #000000;
    font-weight: 600;
    margin-top: 0.2em;
    padding-block-end: 0.5em !important;
}

.precio-efectivo-monto {
    color: red;
}

.producto-contenedor p,
.producto-contenedor h3 {
    text-align: left !important;
    padding-top: 2%;
}

/* Responsive */
@media (max-width: 600px) {
    #form-vendidos {
        padding: 1em 0.5em 1em 0.5em;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .galeria-grid {
        gap: 18px;
    }

    .galeria-card {
        width: 46vw;
        min-width: 180px;
        max-width: 320px;
    }
}

@media (max-width: 600px) {
    .galeria-grid {
        flex-direction: column;
        align-items: center;
    }

    .galeria-card {
        width: 95vw;
        min-width: 0;
    }

    .galeria-card img {
        height: 140px;
    }
}



@media (max-width: 768px) {
    .open-menu-btn {
        display: flex;
        position: fixed !important;
        /* Mostrar en dispositivos móviles */
    }

    .navbar {
        display: none;
        /* Ocultar el menú de navegación en dispositivos móviles */
    }
}



/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .media-section {
        max-width: 100%;
        /* Ajusta el ancho máximo del contenedor para pantallas pequeñas */
    }

    .video-col,
    .images-col {
        flex: 1 1 100%;
        /* Permite que las columnas se ajusten al 100% del contenedor en pantallas pequeñas */
    }

    .image-top,
    .image-bottom {
        margin-bottom: 10px;
    }
}




/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .media-section {
        max-width: 100%;
        /* Ajusta el ancho máximo del contenedor para pantallas pequeñas */
    }

    .video-col,
    .images-col {
        flex: 1 1 100%;
        /* Permite que las columnas se ajusten al 100% del contenedor en pantallas pequeñas */
    }

    .image-top,
    .image-bottom {
        margin-bottom: 0 !important;
    }
}


/* Media Queries para Responsividad */
@media (max-width: 768px) {

    .carrito-resumen-tabla {
        min-width: 100%;
        /* Ajusta el ancho de la tabla para pantallas pequeñas */
    }

    main {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .hidden {
        display: none !important;
    }

    .header-container {
        flex-direction: row;
        gap: 0;
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
        width: 100% !important;
        height: 100% !important;
        transform: translateY(0) !important;
        padding: 0 !important;
        z-index: 100 !important;
        overflow-x: hidden !important;
        margin-left: 60% !important;
    }

    .navbar {
        display: none !important;
    }

    header {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        padding: 0 !important;
        height: 8vh;
    }


    .logo-container {
        transform: translatey(0) !important;
        top: 0 !important;
        height: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        min-height: 100% !important;
        flex: 1;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 100 !important;
    }

    .titulo-header {
        height: 100%;
        font-size: 1.2rem;
        text-align: center;
        transform: translatey(0) !important;
        top: 0 !important;
        align-items: center;
        justify-content: center;
        display: flex;
        z-index: 0 !important;
    }

    .search-container {
        display: none !important;
    }

    .open-menu-btn {
        font-size: 1.5rem;
        background-color: transparent;
        left: 0;
    }

    .menu-btn-container {
        justify-content: center;
        flex-basis: 50%;
        margin-top: 0px;
    }

    .menu-text {
        align-items: center;
        /* Centra verticalmente */
        text-align: left;
        margin: 0 auto;
        font-size: 1rem;
        transform: translateY(-5%);
    }

    .menu-btn {
        font-size: 1.2rem;
    }

    .search-container {
        transform: translatex(20%);
    }

    .search-container button {
        transform: translateX(30%);

    }

    #search-results {
        transform: translateX(-103%);
        position: fixed;
        /* Mantiene la visibilidad en toda la pantalla */
        top: 50px;
        /* Ajusta según la posición del input */
        left: 5%;
        width: 90%;
        /* Evita que ocupe toda la pantalla */
        max-height: 250px;
        /* Asegura que no ocupe toda la pantalla */
    }

    #carrito-icono {
        justify-content: center;
        height: 100%;
        margin: 0 !important;
        padding-right: 2%;
        transform: translateX(0) !important;
        z-index: 100 !important;
    }

    .admin,
    .carrito,
    .contacto {
        padding: 1em;
    }


    .productos-destacados,
    .redes-sociales {
        flex-direction: column;
        align-items: center;
    }

    .button-container {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    #vaciar-carrito,
    #confirmar-compra {
        background-color: #FFA500;
        color: #001220;
        font-size: 1em;
        font-weight: bold;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    #vaciar-carrito:hover,
    #confirmar-compra:hover {
        background-color: #ff8c00;
    }

    .modal-content {
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .carousel-inner img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    #modal-producto-nombre {
        font-size: 1.2rem;
        text-align: center;
        margin-top: 1rem;
    }

    #modal-producto-precio {
        font-size: 1.1rem;
        font-weight: bold;
        text-align: center;
        display: block;
        margin: 0.5rem 0;
    }

    #modal-descripcion {
        font-size: 0.95rem;
        margin: 0.5rem 0;
        text-align: center;
    }

    #modal-talle-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        margin: 1rem 0;
    }

    #modal-talle-container button {
        min-width: 60px;
        padding: 0.5rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }

    #botones-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    #boton-agregar-carrito,
    #boton-whatsapp {
        width: 90%;
        max-width: 280px;
        font-size: 1rem;
        padding: 0.75rem;
    }

    #boton-whatsapp img {
        margin: auto;
    }

    .close-btn {
        position: absolute;
        top: 8px;
        right: 12px;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
    }

    #boton-agregar-carrito {
        font-size: 14px;
        padding: 8px 16px;
    }

    .logo {
        width: 5%;
        height: 5%;
    }

    .logo-carrito {
        width: 5%;
        height: 5%;
    }

    .categorias {
        display: none;
    }

    .categorias-movil {
        display: block;
        /* Muestra la sección en móviles */
    }

    #categoriasMovilCarousel .carousel-inner .col-md-4 {
        flex: 0 0 30% !important;
        /* Hace que ocupen el 50% del ancho */
        max-width: 30% !important;
        left: 4%;
        transform: scale(0.8);
    }

    #categoriasMovilCarousel .carousel-control-next-icon,
    #categoriasMovilCarousel .carousel-control-prev-icon {
        opacity: 100% !important;
        display: block !important;
    }

    .unique-carousel-section {
        flex: 0 0 100% !important;
        /* Hace que ocupen el 50% del ancho */
        padding: 0% !important;
        margin: 0% !important;
        height: 48vw !important;
    }

    #uniqueImageCarousel .carousel-inner .col-md-4.unique-carousel-col {
        left: 2.5%;
        display: flex;
    }

    #uniqueImageCarousel .carousel-inner .col-md-4.unique-carousel-col img {
        border-radius: 0px !important;
        width: 100%;
        height: 100%;
        transform: scale(1.2) !important;
    }

    #uniqueImageCarousel .carousel-inner {
        width: 100% !important;
        max-width: 100% !important;
        left: 0;
    }



    #uniqueImageCarousel .carousel-inner .row.unique-carousel-row {
        transform: translatex(1.35%);
    }

    .benefits-section {
        padding: 10px 0;
        /* Reduce el padding vertical */
        max-width: 100%;
        /* Ajusta el ancho máximo del contenedor */
        margin-left: 0%;
        /* Centra el contenedor horizontalmente */
        margin-right: 0%;
        /* Centra el contenedor horizontalmente */
    }

    .benefits-container {
        padding-left: 0;
        padding-right: 0;
    }

    .benefit-item {
        flex-direction: column;
        /* Cambia la dirección a columna */
        align-items: center;
        /* Centra los elementos */
        text-align: center;
        /* Centra el texto */
        margin-inline-start: 3%;
        margin-inline-end: 3%;

    }

    .benefit-item .icon {
        margin-bottom: 10px;
        /* Añade espacio entre el icono y el texto */
        transform: scale(1);
    }

    .benefit-item .icon-whatsapp {
        transform: scale(0.8);
        margin-bottom: 10px;
        /* Ajusta el tamaño del icono */
    }

    .benefit-item .text h3 {
        font-size: 0.7rem;
        /* Ajusta el tamaño del texto */
        margin-block-end: 10%;
    }

    .benefit-item .text p {
        font-size: 0.6rem;
        /* Ajusta el tamaño del texto */
    }

    .media-section {
        margin: 0;
        height: 50vh;
        display: flex;
    }



    .media-section .row.media-row {
        height: 100%;
        min-height: 100%;
        max-height: 100%;
        overflow: hidden;
    }

    /* video y dos fotos para celulares */
    .media-section .row.media-row .col-md-6.video-col {
        flex: 0 0 50%;
        /* El contenedor ocupa el 50% del ancho */
        max-width: 100%;
        /* Limita el ancho máximo al 50% */
        position: relative;
        /* Necesario para posicionar el video */
        max-height: 50vh !important;
        min-height: 50vh !important;
        /* Reduce un poco el alto */
    }

    .media-section .row.media-row .col-md-6.video-col video {
        width: 100%;
        /* El video ocupa el 100% del ancho del contenedor */
        height: 100%;
        /* El video ocupa el 100% de la altura del contenedor */
        object-fit: cover;
        /* Ajusta el video para cubrir el contenedor sin distorsión */
    }

    .media-section .row.media-row .col-md-6.images-col {
        flex: 0 0 50%;
        /* El contenedor ocupa el 50% del ancho */
        max-width: 100%;
        /* Limita el ancho máximo al 50% */
        overflow: hidden;
        /* Oculta cualquier contenido que desborde */
        margin-top: 0 !important;
        height: 45vh !important;
        min-height: 45vh;
        max-height: 45vh;
        /* Reduce un poco el alto */
        display: block;
        top: -3.90%;
        left: 0;
        transform: scale(1.1);
    }

    .media-section .row.media-row .col-md-6.images-col .row.images-row {
        max-width: 100% !important;
        display: block;
        max-height: 100%;
    }

    .media-section .row.media-row .col-md-6.images-col .row.images-row .col-md-12.image-top {
        width: 100%;
        /* La imagen ocupa el 100% del ancho del contenedor */
        height: 50% !important;
        /* La imagen ocupa el 100% de la altura del contenedor */
        margin-bottom: 0 !important;
    }

    .media-section .row.media-row .col-md-6.images-col .row.images-row .col-md-12.image-top img {
        width: 100%;
        /* La imagen ocupa el 100% del ancho del contenedor */
        height: 100%;
        /* La imagen ocupa el 100% de la altura del contenedor */
        object-fit: cover;
        /* Ajusta La imagen para cubrir el contenedor sin distorsión */
        display: block !important;
    }

    .media-section .row.media-row .col-md-6.images-col .images-row .col-md-12.image-bottom {
        width: 100%;
        /* El video ocupa el 100% del ancho del contenedor */
        height: 50%;
        /* El video ocupa el 100% de la altura del contenedor */
        object-fit: cover;
        /* Ajusta el video para cubrir el contenedor sin distorsión */
        display: block;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .media-section .row.media-row .col-md-6.images-col .images-row .col-md-12.image-bottom img {
        width: 100%;
        /* El video ocupa el 100% del ancho del contenedor */
        height: 100%;
        /* El video ocupa el 100% de la altura del contenedor */
        display: block;
    }

    /* Contenedor general del filtro */
    .filtro-lateral {
        background-color: #ffffff;
        padding: 1.5rem;
        margin: 0;
        margin-top: 1rem;
        border-radius: 16px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid #e0e0e0;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin-block-end: 5%;
        margin-top: 0;
    }

    /* Botones dentro del filtro */
    .filtro-lateral button {
        width: 100%;
        background-color: #007bff;
        color: white;
        border: none;
        padding: 0.85rem;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .filtro-lateral button:hover {
        background-color: #0056b3;
        transform: scale(1.02);
    }

    /* Secciones individuales del filtro */
    .filtrar-talle-container,
    .filtrar-gama-container,
    .filtrar-marca-container {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Botón Mostrar/Ocultar filtros */
    #toggle-filtros-btn {
        display: block !important;
        width: 90%;
        max-width: 320px;
        margin: 1rem auto;
        background-color: #007bff;
        color: white;
        border: none;
        padding: 0.85rem;
        border-radius: 8px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        display: block;
        transition: background-color 0.2s ease;
        margin: 0;
    }

    #toggle-filtros-btn:hover {
        background-color: #0056b3;
    }

    /* Estética de los checkboxes */
    .filtro-lateral label {
        display: block;
        margin: 0.25rem 0;
        font-size: 0.95rem;
    }

    .filtro-lateral input[type="checkbox"] {
        margin-right: 0.5rem;
    }

    /* Menús con transición suave */
    #filtrar-talle-menu,
    #filtrar-marca-menu,
    #filtrar-gama-menu {
        transition: all 0.3s ease;
        padding-left: 0.5rem;
    }

    .filtro-lateral {
        display: none;
        /* Oculto por defecto en móvil */
    }

    .productos {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #lista-productos,
    #lista-resultados {
        display: grid;
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        grid-auto-rows: min-content;
        padding: 0%;
        gap: 10px;

    }

    #lista-productos li {
        min-width: 0 !important;
        width: 100%;
        height: 95% !important;
        max-height: min-content !important;
        z-index: 1;
        /* Asegura que el producto esté por encima de otros elementos */
        justify-self: center;
        align-self: center;
        overflow: hidden;

    }

    #lista-productos li .producto-contenedor {
        min-width: none !important;
        max-height: none !important;
        width: 100%;
        height: 100%;
        padding-top: 0%;
        object-fit: cover;
    }

    #lista-productos li .producto-contenedor img {
        width: 100% !important;
        height: 50% !important;
        object-fit: cover;
        display: block;
    }

    #lista-productos li .producto-contenedor h3 {
        font-size: 1rem !important;
        text-align: center;
    }

    #lista-productos li .producto-contenedor p {
        font-size: 1rem !important;
        text-align: center;
    }

    #lista-productos li .producto-contenedor .cuotas-lista {
        font-size: 0.8rem !important;
    }


    #lista-productos li .producto-contenedor .envio-gratis {
        height: 8%;
        width: 29%;
        left: 56%;
        top: 2%;
        font-size: 0.4rem !important;
        text-align: center;
        align-items: center;
        /* Centra verticalmente */
    }

    .envio-texto {
        font-size: 0.4rem !important;
        padding-top: 5%;
        text-align: center;
        display: flex;
        align-items: center;
        /* Centra verticalmente */
    }


    #lista-productos li .producto-contenedor .envio-gratis img {
        width: 100% !important;
        height: 100% !important;

    }

    .close-btn {
        top: 1%;
    }

    #contenedor-destacados .carousel-item.active,
    #contenedor-novedades .carousel-item.active {
        display: flex;
        height: auto;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #contenedor-destacados .carousel-item .row,
    #contenedor-novedades .carousel-item .row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        width: 100%;
    }

    #contenedor-destacados .carousel-item .row .col-4.col-md-4.producto-contenedor,
    #contenedor-novedades .carousel-item .row .col-4.col-md-4.producto-contenedor {
        min-width: 5vh !important;
        min-height: 20vh !important;
        max-height: 50vh !important;
    }

    #contenedor-destacados .carousel-item .row .col-4.col-md-4.producto-contenedor img,
    #contenedor-novedades .carousel-item .row .col-4.col-md-4.producto-contenedor img {
        width: 100% !important;
        height: 100% !important;
        max-height: 10vh;
        object-fit: contain;
        display: block;
    }

    #contenedor-destacados .carousel-item .row .col-4.col-md-4.producto-contenedor h3,
    #contenedor-novedades .carousel-item .row .col-4.col-md-4.producto-contenedor h3 {
        font-size: 0.6rem !important;
        text-align: center;
        padding-left: 2%;

    }

    #contenedor-destacados .carousel-item .row .col-4.col-md-4.producto-contenedor p,
    #contenedor-novedades .carousel-item .row .col-4.col-md-4.producto-contenedor p {
        font-size: 0.6rem !important;
        text-align: center;
        padding-left: 2%;
    }

    #contenedor-destacados .carousel-item .row .col-4.col-md-4.producto-contenedor .envio-gratis .envio-texto,
    #contenedor-novedades .carousel-item .row .col-4.col-md-4.producto-contenedor .envio-gratis .envio-texto {
        font-size: 0.25rem !important;
        height: 100% !important;
        text-align: center;
        display: flex;
        align-items: center;
        padding-top: 5%;
        position: absolute;
        transform: translate(0) !important;
        width: 50%;
        justify-content: flex-end;
        flex: 1;
        margin-left: 50%;
    }

    #contenedor-destacados .carousel-item .row .col-4.col-md-4.producto-contenedor .envio-gratis img,
    #contenedor-novedades .carousel-item .row .col-4.col-md-4.producto-contenedor .envio-gratis img {
        width: 50% !important;
        height: 90% !important;
        padding: 0;
        padding-left: 2%;
        object-fit: contain;
        display: block;
        display: flex;
    }

    #contenedor-destacados .carousel-item .row .col-4.col-md-4.producto-contenedor .envio-gratis,
    #contenedor-novedades .carousel-item .row .col-4.col-md-4.producto-contenedor .envio-gratis {
        margin: 0 !important;
        padding: 0 !important;
    }

    .ofertas h2 {
        font-size: 1.5rem !important;
        text-align: center;
        margin: 0 auto;
        padding: 0;
    }

    .novedades h2 {
        font-size: 1.5rem !important;
        text-align: center;
        margin: 0 auto;
        padding: 0;
    }

    .nosotros h2 {
        font-size: 1.5rem !important;
    }

    .nosotros p {
        font-size: 0.7rem !important;
    }

    .full-width-image-section {
        height: 25vh !important;
        margin-block: 1vh !important;
    }

    .full-width-image-section img {
        object-fit: contain !important;
        height: 100% !important;
        width: 100% !important;
        transform: scale(1.2);
    }

    .row.images-row .col-md-12.image-top {
        height: 5vh !important;
    }

    .precio-efectivo-lista span {
        font-size: 0.8em !important;
    }

    .help-section {
        flex-direction: row;
        align-items: center;
        text-align: center;
    }

    .help-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0;
    }

    .help-section .help-item {
        width: 100%;
        margin: 0;
    }

    .redes-sociales {
        flex-direction: row;
        align-items: center;
        text-align: center;
    }

    .redes-sociales {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        padding: 0;
    }

    .contacto {
        margin-top: 2% !important;
        transform: scale(0.9);
    }

    .carrito-layout {
        flex-direction: column !important;
        gap: 12px !important;
        padding-inline: 4px !important;
        width: 100vw !important;
        box-sizing: border-box !important;
    }

    .carrito-productos {
        flex-direction: column !important;
        gap: 8vh !important;
        align-items: stretch !important;
    }

    #lista-carrito {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        gap: 4vw;
        margin-inline: 0.2%;


    }

    .carrito-item {
        width: 21vw !important;
        min-width: 21vw !important;
        border: none !important;
        /* Si hay padding en el contenedor, ajusta el margen */
        margin-right: 0 !important;
        border-radius: 0 !important;
        height: 25vw !important;
        padding: 1% !important;
        margin-left: 0 !important;
        margin-bottom: 3vw;

    }

    .carrito-item-img-wrap {
        flex: none !important;
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 0 !important;
        padding-left: 2%;
    }

    .carrito-img {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .carrito-item-detalles {
        gap: 4px !important;
        font-size: 0.55em !important;
    }

    .carrito-nombre {
        font-size: 1.5em !important;
        text-align: left !important;
        width: 20vw;
    }

    .carrito-info-row {
        gap: 5px !important;
        font-size: 1em !important;
        flex-wrap: wrap !important;
    }

    .carrito-cantidad-box {
        font-size: 0.7em !important;
        display: flex !important;
        align-items: center !important;
        flex-direction: column;
        width: 100% !important;
        min-width: 20vw;
        justify-content: center !important;
    }

    .cantidad-controles {
        display: flex;
        justify-content: center;
        /* Centra horizontalmente */
        align-items: center;
        /* Centra verticalmente */
        gap: 10px;
        /* Espacio entre los botones y el input */
    }

    .cantidad-controles .btn-cantidad.menos {
        display: flex;
        justify-content: center;
        /* Centra el contenido horizontal */
        align-items: center;
        /* Centra el contenido vertical */
        width: 25px;
        /* Ajusta según lo que necesites */
        height: 25px;
    }

    .cantidad-controles .btn-cantidad.mas {
        display: flex;
        justify-content: center;
        /* Centra el contenido horizontal */
        align-items: center;
        /* Centra el contenido vertical */
        width: 25px;
        /* Ajusta según lo que necesites */
        height: 25px;
    }

    .cantidad-controles .cantidad-input {
        display: flex !important;
        width: 2vh !important;
        padding: 0;
    }

    .carrito-subtotal {
        min-width: 100% !important;
        font-size: 1em !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column;
        width: 80% !important;
        align-items: center;
    }



    .btn-eliminar {
        font-size: 0.8em !important;
        margin-top: 6px !important;
        width: 8vh !important;
        align-items: center !important;
    }

    .carrito-resumen {
        min-width: 0 !important;
        width: 100vw !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }

    .carrito-resumen-box {
        max-width: 98vw !important;
        width: 98vw !important;
        padding: 16px !important;
        box-sizing: border-box !important;
    }

    .carrito-total-row {
        font-size: 1.1em !important;
        margin-bottom: 18px !important;
    }

    .carrito-confirmar-btn {
        padding: 12px 0 !important;
        font-size: 1em !important;
        margin-top: 12px !important;
    }

    .carrusel-main-img {
        min-width: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: 180px !important;
        max-height: 40vh !important;
        object-fit: contain !important;
        border-radius: 12px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .carrusel-main-img-wrap {
        min-width: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
    }

    .carrusel-thumb-img {
        height: 60px !important;
        width: 60px !important;
        object-fit: cover !important;
    }

    .detalle-carrusel-flex {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .container.my-5 {
        justify-content: center !important;
    }

    .col-md-6.detalle-producto-info-grande {
        padding: 2% !important;
    }


    .productos-similares.py-5.bg-light {
        flex-direction: column !important;
        padding: 10px 0 !important;
        width: 100% !important;
        height: auto !important;
        padding-block-end: 1% !important;
        max-height: none !important;
        min-height: 220vw !important;
    }

    .productos-similares.py-5.bg-light .producto-item.mb-4 {
        display: flex !important;
        width: 100% !important;
        height: auto;
        max-height: 75vw !important;
    }

    .productos-similares.py-5.bg-light .container {
        min-width: 100vw !important;
        width: 100vw !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .productos-similares.py-5.bg-light #lista-productos {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1% !important;
        padding: 0 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        height: auto !important;
        max-height: 2vw;
    }

    .productos-similares.py-5.bg-light #lista-productos li {
        min-width: 140px !important;
        max-width: 45vw !important;
        width: 45vw !important;
        margin: 6px !important;
        padding: 0 !important;
        box-sizing: border-box !important;

    }

    .productos-similares.py-5.bg-light .producto-contenedor {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: 10vw !important;
        padding: 6px !important;
        display: flex !important;
        flex-direction: column !important;

    }

    .productos-similares.py-5.bg-light #lista-productos li .producto-contenedor {
        max-height: 90vw !important;
    }

    .productos-similares.py-5.bg-light .producto-imagen-contenedor {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 22vw;
    }


    .productos-similares.py-5.bg-light .producto-contenedor img {
        width: 100% !important;
        max-width: 120px !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .productos-similares.py-5.bg-light .producto-contenedor h3,
    .productos-similares.py-5.bg-light .producto-contenedor p {
        font-size: 0.9rem !important;
        padding: 2px 0 !important;
    }

    .productos-similares.py-5.bg-light .producto-contenedor p {
        margin-block-end: 0 !important;
    }

    .carrito-contador {
        top: 1vw !important;
        right: 1vw !important;
        font-size: 0.70em !important;
        min-width: 8px !important;
        min-height: 8px !important;
        padding: 1px 4px !important;
        position: absolute !important;
        z-index: 1002 !important;
        display: block !important;
    }


    .image-bottom img {
        object-position: center 50%;
    }

    .image-top img {
        object-position: center 80%;
    }

    #confirmar-compra-fin {
        font-size: 1.1rem !important;
        margin: 16px 0 10px 0 !important;
        padding: 0 2vw !important;
    }

    .progress-bar {
        height: 6px !important;
        margin-bottom: 18px !important;
    }

    #seccion-entrega-pago {
        overflow-y: auto;

    }

    .compra-steps {
        flex-direction: row !important;
        gap: 8px !important;
        margin-bottom: 18px !important;
    }

    .compra-step {
        font-size: 0.95em !important;
        padding: 7px 12px !important;
        border-radius: 30px !important;
    }

    .form-section {
        padding: 14px 6px !important;
        margin-bottom: 16px !important;
        min-width: unset !important;
        max-width: 100vw !important;
        border-radius: 10px !important;
    }

    .form-group label {
        font-size: 0.98em !important;
        margin-bottom: 2px !important;
    }

    .form-group input,
    .form-group select {
        font-size: 1em !important;
        padding: 8px 8px !important;
        border-radius: 7px !important;
    }

    .form-group input[type="email"],
    .form-group input[type="text"],
    .form-group input[type="tel"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
    }

    .metodo-pago-opciones {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100%;
    }

    .metodo-pago-opcion {
        min-width: unset !important;
        padding: 12px 10px !important;
        font-size: 1em !important;
    }

    #tarjetaNaranjaInfo {
        padding: 10px 6px !important;
        font-size: 0.98em !important;
    }

    .confianza-box {
        font-size: 0.98em !important;
        padding: 10px 6px !important;
    }

    #resumen-compra {
        padding: 10px 4px !important;
        border-radius: 8px !important;
        font-size: 0.98em !important;
    }

    #resumen-compra h3 {
        font-size: 1.1em !important;
        margin-bottom: 10px !important;
    }

    #resumen-productos table {
        font-size: 0.95em !important;
    }

    #resumen-total {
        font-size: 1.1em !important;
    }

    .dato-resumen {
        font-size: 0.98em !important;
        padding: 5px 0 !important;
    }

    #mensaje-final h3 {
        font-size: 1.1em !important;
    }

    #mensaje-final p {
        font-size: 0.98em !important;
    }

    #confirmar-compra-btn {
        background-color: #007bff;
        color: #ffffff;
        font-size: 1em !important;
        padding: 10px 0 !important;
        border-radius: 8px !important;
        margin-top: 10px !important;
        border: 1px solid #0056d2;
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
        transition: transform 0.16s ease, background-color 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
    }

    #confirmar-compra-btn:hover {
        background-color: #0069d9;
        transform: translateY(-1px) scale(1.01);
        box-shadow: 0 6px 16px rgba(0, 123, 255, 0.45);
    }

    #confirmar-compra-btn:active {
        background-color: #0056b3;
        transform: scale(0.98);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    }

    #confirmar-compra-btn:focus-visible {
        outline: 3px solid rgba(0, 123, 255, 0.5);
        outline-offset: 2px;
    }

    @keyframes pulseClick {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.02);
        }

        100% {
            transform: scale(1);
        }
    }

    #confirmar-compra-btn.pulse {
        animation: pulseClick 1.1s ease-in-out infinite;
    }

    /* Toast */
    #toast-compra {
        font-size: 1em !important;
        padding: 12px 10px !important;
        border-radius: 7px !important;
        top: 18px !important;
    }

    .transferencia-info-lista {
        padding: 10px 12px !important;
        font-size: 0.97em !important;
        width: 100%;
        max-width: 500px;
        /* evita que se estire demasiado */
        margin: 12px auto !important;
        /* lo centra */
        border-radius: 8px !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
        background: #fff;
        /* opcional, queda mejor */
        text-align: left;
        /* el texto queda alineado */
    }

    /* UL */
    .transferencia-info-lista ul {
        padding-left: 0 !important;
        margin-left: 0 !important;
        list-style: none;
    }

    /* Cada ítem */
    .transferencia-info-lista li {
        font-size: 0.95em !important;
        word-break: break-word;
        padding: 8px 0 !important;
    }

    /* strong en línea nueva */
    .transferencia-info-lista strong {
        display: block;
        margin-bottom: 4px;
    }

    /* Botón */
    .transferencia-info-lista button {
        font-size: 0.85em !important;
        padding: 4px 10px !important;
        margin-left: 0 !important;
        margin-top: 4px;
        display: block;
        width: 100%;
        /* ocupa todo el ancho */
        max-width: 200px;
        margin: 6px auto;
        /* centrado */
    }

    /* Párrafos */
    .transferencia-info-lista p {
        font-size: 0.9em !important;
        margin: 10px 0 !important;
        text-align: center;
        /* centrado */
    }

    .share-wrapper {
        z-index: 2000;
    }

    #share-section {
        background-color: white;
        margin-top: 3.5vw;
        padding-top: 2vw;
        height: 30vw;
        align-items: center;
        justify-content: center;
        z-index: 2000;
    }

    .icono-metodo img {
        width: 45vw !important;
        height: 10vw !important;
    }


}




/* Media Queries para Responsividad */
@media (max-width: 480px) {
    .header-container {
        display: flex;
        flex-direction: row;
        position: relative;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        /* Evita que los elementos se dispongan en varias líneas */
        padding: 0 10px;
    }

    .menu-btn-container {
        display: flex;
        /* Utiliza Flexbox para organizar los elementos */
        align-items: center;
        /* Alinea verticalmente los elementos */
        cursor: pointer;
        /* Cambia el cursor al pasar el ratón */
        margin-left: -8%;
        flex: 0 0 auto;

    }

    .menu-btn {
        margin-top: -10%;
        /* Ajusta el margen superior */
        font-size: 1.5rem;
        /* Ajusta el tamaño de la fuente */
        margin-right: 0%;
        align-items: center;
    }

    .menu-text {
        align-items: center;
        /* Centra verticalmente */
        text-align: left;
        margin: 0 auto;
        font-size: 1rem;
    }



    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .logo-carrito {
        width: 15%;
        /* Ajusta el ancho del logo según tus necesidades */
        height: 15%;
        /* Ajusta la altura del logo según tus necesidades */

        transform: translateX(150%);
    }

    .search-carrito-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0px;
        flex: 0 0 auto;
        /* No expande este contenedor para evitar que se mueva a la siguiente línea */
    }

    .search-container {
        left: 58%;
        /* Centra horizontalmente */
        top: 50%;
        /* Centra verticalmente */
        display: flex;
        /* Utiliza Flexbox */
        align-items: center;
        /* Centra verticalmente */
        justify-content: center;
        /* Centra horizontalmente */
        z-index: 1001;
        /* Asegura que el botón esté sobre otros elementos */

    }

    .search-container button {
        width: 35px;
        /* Ancho fijo */
        height: 35px;
        /* Alto fijo */
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;

    }

    .search-results {
        transform: translateX(10%);
        position: fixed;
        /* Mantiene la visibilidad en toda la pantalla */
        top: 50px;
        /* Ajusta según la posición del input */
        left: 5%;
        width: 90%;
        /* Evita que ocupe toda la pantalla */
        max-height: 250px;
        /* Asegura que no se expanda demasiado */
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 8px;
        overflow-y: auto;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    }

    .search-results ul {
        padding: 5px;
    }

    .search-results li {
        padding: 8px;
        font-size: 14px;
        /* Reduce el tamaño de la fuente */
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .search-results img {
        width: 40px;
        /* Reduce el tamaño en móviles */
        height: 40px;
        margin-right: 5px;
    }

    .search-results li:hover {
        background-color: #ff8c00;
        color: white;
    }

    #search-input {
        transform: translateX(-120%);
        display: block;
        /* Lo muestra en pantallas pequeñas */
        width: 200px;
        /* Se ajusta al ancho de la pantalla */
        margin-right: 10px;
        font-size: 1rem;
        padding: 8px;
        border-radius: 8px;
        border: 1px solid #ccc;
        transition: width 0.3s ease;
        /* Añade una transición suave */
    }

    #carrito-icono {
        transform: translateX(45%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        margin-left: auto;
        gap: 0px;
        flex-shrink: 0;
    }

    #carrito-icono svg {
        width: 20px;
        height: 20px;
    }

    #carrito-icono p {
        margin: 0;
        font-size: 0.7rem;
    }

    .admin,
    .contacto {
        padding: 0.5em;
        text-align: center;
    }

    #lista-carrito li {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .hero {
        text-align: center;
        padding: 10px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero .btn {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .button-container {
        display: flex;
        justify-content: center;
        gap: 5px;
    }

    #vaciar-carrito,
    #confirmar-compra {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    .modal-content {
        width: 95%;
        max-width: 350px;
        padding: 10px;
        margin: auto;
    }

    #modal-producto-nombre {
        font-size: 18px;
        text-align: center;
    }

    #modal-producto-precio {
        font-size: 16px;
        text-align: center;
    }

    #modal-descripcion {
        font-size: 14px;
        text-align: justify;
    }

    #boton-agregar-carrito {
        font-size: 12px;
        padding: 6px 12px;
        display: block;
        margin: 10px auto;
    }

    /* Oculta la barra de desplazamiento vertical */
    ::-webkit-scrollbar {
        width: 0 !important;
        background: transparent !important;
    }

    html,
    body {
        overflow-y: auto !important;
    }

    .full-width-image-section {
        height: 25vh !important;
        margin-block: 1vh !important;
    }

    .full-width-image-section img {
        object-fit: contain !important;
        height: 100% !important;
        width: 100% !important;
        transform: scale(1.2);
    }

    .row.images-row .col-md-12.image-top {
        height: 5vh !important;
    }

    .precio-efectivo-lista {
        font-size: 0.1em !important;
    }

}


/* ===== ESTILOS RESPONSIVOS PARA ADMIN EN CELULARES (CONTENIDO) ===== */
@media (max-width: 768px) {

    /* Header Admin */
    .header-admin {
        padding: 15px 8px;
        margin-bottom: 15px;
        background-color: #fff;
        border-bottom: 2px solid #007bff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .header-container-admin {
        padding: 0 10px;
        gap: 12px;
        transform: none;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    .header-container-admin h5 {
        font-size: 1.3rem;
        margin: 0;
        font-weight: 700;
        color: #000;
        flex: 1;
        text-align: center;
    }

    .menu-btn-container {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 15px;
        background-color: #f8f9fa;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .menu-btn-container:hover {
        background-color: #e9ecef;
    }

    .menu-btn {
        font-size: 1.6rem;
        cursor: pointer;
        color: #000;
        transition: color 0.3s;
        line-height: 1;
        margin-left: 5vw;
        font-size: 2.5rem;
    }

    .menu-btn:hover {
        color: #007bff;
    }

    .menu-text {
        font-size: 1rem;
        color: #000;
        font-weight: 600;
        white-space: nowrap;
    }

    /* Main Content */
    main {
        padding: 10px;
    }

    h1 {
        font-size: 1.3rem;
        margin: 15px 0 10px 0;
    }

    h2 {
        font-size: 1.1rem;
        margin: 15px 0 10px 0;
    }

    h3 {
        font-size: 1rem;
        margin: 12px 0 8px 0;
    }

    /* Forms */
    form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    form label {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 4px;
    }

    form input,
    form select,
    form textarea {
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        width: 100%;
        box-sizing: border-box;
    }

    form input[type="checkbox"] {
        width: auto;
        margin-right: 8px;
    }

    form button {
        padding: 12px;
        font-size: 0.95rem;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        margin-top: 8px;
        transition: background-color 0.3s;
    }

    form button:hover {
        background-color: #0056b3;
    }

    /* Section Admin */
    .admin,
    .contacto {
        padding: 10px;
        margin: 0;
    }

    /* Cards */
    .card {
        margin: 15px 0;
        padding: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;

    }

    .card h2,
    .card h3 {
        margin-top: 0;
        font-size: 1rem;
    }

    /* Tables - Horizontal scroll */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 15px 0;
    }

    table {
        width: max-content;
        border-collapse: collapse;
        font-size: 0.85rem;
        margin: 15px 0;
    }

    #tabla-stock,
    #tabla-productos,
    #tabla-pedidos-pendientes,
    #tabla-pedidos-realizados,
    #tabla-pedidos-despachados,
    #tabla-categorias,
    #tabla-vendidos {
        width: max-content !important;
    }

    #tabla-categorias {
        margin-left: 25vw !important;
    }

    table th {
        background-color: #f5f5f5;
        padding: 8px;
        text-align: left;
        font-weight: 600;
        border: 1px solid #ddd;
        white-space: nowrap;
        font-size: 0.8rem;
        color: #000;
    }

    table td {
        padding: 8px;
        border: 1px solid #ddd;
        word-break: break-word;
        font-size: 0.8rem;
        color: #000;
    }

    table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    table tr:hover {
        background-color: #f0f0f0;
    }

    /* Scroll en tablas dentro de cards */
    .card table {
        margin: 0;
    }

    /* Botones en tablas */
    .action-btn,
    table button {
        padding: 6px 10px;
        font-size: 0.75rem;
        margin: 3px;
        cursor: pointer;
        border: none;
        border-radius: 3px;
        background-color: #28a745;
        color: white;
        transition: background-color 0.3s;
    }

    .action-btn:hover,
    table button:hover {
        background-color: #218838;
    }

    .action-btn.delete,
    table button.delete {
        background-color: #dc3545;
    }

    .action-btn.delete:hover,
    table button.delete:hover {
        background-color: #c82333;
    }

    .action-btn.edit,
    table button.edit {
        background-color: #ffc107;
        color: #000;
    }

    .action-btn.edit:hover,
    table button.edit:hover {
        background-color: #e0a800;
    }

    /* Filter Buttons */
    .botones-filtro {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 15px 0;
        justify-content: center;
    }

    .botones-filtro button {
        flex: 1;
        min-width: 100px;
        padding: 10px;
        font-size: 0.85rem;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .botones-filtro button:hover,
    .botones-filtro button.active {
        background-color: #0056b3;
    }

    /* Secciones de pedidos */
    #seccionPendientes,
    #seccionRealizados,
    #seccionDespachados {
        margin: 20px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Stock Form Specific */
    #stock-por-talle {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 10px 0;
    }

    .stock-item {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        background-color: #f9f9f9;
        border-radius: 4px;
        border: 1px solid #ddd;
    }

    .stock-item input {
        padding: 8px;
        font-size: 0.9rem;
    }

    /* Modal Styles */
    .modal {
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: none;
        align-items: center;
        justify-content: center;
    }

    .modal[aria-hidden="false"] {
        display: flex;
    }

    .modal.show {
        display: flex;
    }

    .modal-content {
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        width: 95%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .modal-content h2 {
        margin-top: 0;
        font-size: 1.1rem;
    }

    .close-btn,
    .close {
        position: absolute;
        right: 15px;
        top: 10px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        color: #aaa;
    }

    .close-btn:hover,
    .close:hover {
        color: #000;
    }

    /* Notificaciones */
    #cartel-guardado,
    #cartel-vendido-ok {
        position: fixed;
        top: 15px;
        left: 10px;
        right: 10px;
        transform: none !important;
        padding: 12px;
        border-radius: 6px;
        z-index: 9999;
        font-size: 0.9rem;
        text-align: center;
    }

    .toast-compra {
        position: fixed;
        bottom: 20px;
        left: 10px;
        right: 10px;
        transform: none !important;
        max-width: calc(100% - 20px);
        font-size: 0.9rem;
    }

    /* Container Fluid */
    .container-fluid,
    .container {
        padding: 0;
        margin: 0;
    }

    /* Secciones de pedidos */
    #seccionPendientes,
    #seccionRealizados,
    #seccionDespachados {
        margin: 20px 0;
    }

    /* Aviso marquee form */
    #input-aviso-marquee {
        width: 100% !important;
    }

    /* Vendidos form */
    #form-vendidos {
        max-width: 100%;
        padding: 0;
    }

    #form-vendidos>div {
        margin-bottom: 10px;
    }

    #form-vendidos label {
        display: block;
        margin-bottom: 5px;
    }

    #vendido-estado,
    #aviso-marquee-estado {
        margin: 15px 0;
        padding: 10px;
        text-align: center;
    }

    /* Imagen container */
    #imagenes-container,
    #imagenes-container-modal {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 10px 0;
    }

    .imagen-input {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .imagen-input input {
        width: 100%;
    }

    .imagen-input button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    /* Select multiple */
    select[multiple] {
        height: auto;
        min-height: 100px;
        padding: 8px;
    }

    /* Small text */
    small {
        font-size: 0.8rem;
        display: block;
        margin: 5px 0;
    }

}

/* Estilos para dispositivos muy pequeños (max-width: 480px) */
@media (max-width: 480px) {

    .header-admin {
        padding: 12px;
        margin-bottom: 12px;
    }

    .header-container-admin {
        gap: 10px;
    }

    .header-container-admin h5 {
        font-size: 1.1rem;
        font-weight: 700;
    }

    .menu-btn-container {
        gap: 6px;
        padding: 8px 12px;
        cursor: pointer;
    }

    .menu-btn {
        margin-left: 5vw;
        font-size: 2.5rem;
    }

    .menu-text {
        font-size: 0.9rem;
        font-weight: 600;
    }

    h1 {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 0.95rem;
    }

    h3 {
        font-size: 0.9rem;
    }

    form label {
        font-size: 0.9rem;
    }

    form input,
    form select,
    form textarea {
        padding: 8px;
        font-size: 0.95rem;
    }

    form button {
        padding: 10px;
        font-size: 0.9rem;
    }

    /* Table font sizes */
    table {
        font-size: 0.7rem;
        width: max-content !important;
    }

    table th {
        padding: 6px;
        font-size: 0.7rem;
        color: #000;
    }

    table td {
        padding: 6px;
        font-size: 0.7rem;
        color: #000;
    }

    .action-btn,
    table button {
        padding: 4px 6px;
        font-size: 0.65rem;
    }

    .botones-filtro button {
        min-width: 80px;
        padding: 8px;
        font-size: 0.8rem;
    }

    .modal-content {
        width: 98%;
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 1rem;
    }

    .close-btn,
    .close {
        font-size: 24px;
        right: 10px;
    }

    .card {
        padding: 10px;
        margin: 10px 0;
    }

    .card h2 {
        font-size: 0.95rem;
        color: black;
        text-align: center;
    }

    .card h3 {
        font-size: 0.9rem;
    }

    .stock-item {
        padding: 8px;
    }

    select[multiple] {
        min-height: 80px;
        font-size: 0.9rem;
    }

}

/* ============= GOcuotas Link & Modal - MINIMALISTA ============= */

.gocuotas-btn-wrapper {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gocuotas-info-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.gocuotas-debito {
    color: #004FA5;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gocuotas-logo-inline {
    height: 20px;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 2px 3px rgba(0, 102, 204, 0.15));
    transition: filter 0.3s ease;
}

.gocuotas-info-link:hover .gocuotas-logo-inline {
    filter: drop-shadow(0 2px 5px rgba(0, 102, 204, 0.25));
}

.gocuotas-info-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: inherit;
    flex-shrink: 0;
    position: relative;
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.gocuotas-info-link:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.gocuotas-info-link:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
}



.gocuotas-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2.5px solid #0066CC;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    color: #0066CC;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 102, 204, 0.04));
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: none !important;
}

.gocuotas-info-link:hover .gocuotas-info-icon {
    border-color: #004FA5;
    color: #004FA5;
    transform: scale(1.2);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15), rgba(0, 102, 204, 0.08));
    border-radius: 50%;
    box-shadow: none !important;
}

.gocuotas-info-link:active .gocuotas-info-icon {
    transform: scale(1.08);
    box-shadow: none !important;
}

/* Modal overlay profesional */
.gocuotas-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(2px);
}

.gocuotas-modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(25px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal profesional y elegante */
.gocuotas-modal {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 16px;
    max-width: 40vw;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.08);
}

.gocuotas-modal::-webkit-scrollbar {
    display: none;
}

/* Modal header sofisticado */
.gocuotas-modal-header {
    background: linear-gradient(90deg, #FFFFFF 0%, #FAFAFA 100%);
    padding: 24px 28px;
    border-bottom: 2px solid rgba(0, 102, 204, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.gocuotas-modal-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.gocuotas-modal-logo img {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(230, 0, 204, 0.15));
}

.gocuotas-modal-close {
    background: none;
    border: none;
    font-size: 26px;
    color: #CCCCCC;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.gocuotas-modal-close:hover {
    color: #666;
    background: rgba(230, 0, 204, 0.08);
}

/* Modal body elegante */
.gocuotas-modal-body {
    padding: 10px 28px;
}

.gocuotas-modal-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.gocuotas-modal-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 28px;
    line-height: 1.6;
    font-weight: 400;
}

/* Steps profesionales */
.gocuotas-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
}

.gocuotas-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

.gocuotas-step:last-child {
    margin-bottom: 0;
}

.gocuotas-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0066CC 0%, #004FA5 100%);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.gocuotas-step-content {
    flex: 1;
    padding-top: 4px;
}

.gocuotas-step-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-size: 0.98rem;
}

.gocuotas-step-text {
    color: #777;
    font-size: 0.88rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Highlight box profesional */
.gocuotas-highlight {
    background: linear-gradient(135deg, #F0F5FF 0%, #E8F0FE 100%);
    border: 1.5px solid rgba(0, 102, 204, 0.2);
    border-radius: 10px;
    padding: 18px 20px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: #333;
    text-align: center;
    line-height: 1.7;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.08);
}

.gocuotas-highlight-strong {
    font-weight: 700;
    color: #004FA5;
    display: block;
    margin-bottom: 4px;
}

/* Modal footer profesional */
.gocuotas-modal-footer {
    padding: 0px 28px 28px;
    display: flex;
    gap: 12px;
}

.gocuotas-modal-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gocuotas-modal-btn-primary {
    background: linear-gradient(135deg, #0066CC 0%, #004FA5 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.gocuotas-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 102, 204, 0.4);
}

.gocuotas-modal-btn-primary:active {
    transform: translateY(0);
}

.gocuotas-modal-btn-secondary {
    background: #F5F5F5;
    color: #444;
    border: 1.5px solid #E0E0E0;
    font-weight: 600;
}

.gocuotas-modal-btn-secondary:hover {
    background: #EFEFEF;
    border-color: #D0D0D0;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 576px) {
    .gocuotas-modal {
        width: 96%;
    }

    .gocuotas-modal-body {
        padding: 24px 18px;
    }

    .gocuotas-modal-title {
        font-size: 1.15rem;
    }

    .gocuotas-modal-footer {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .gocuotas-modal {
        min-width: 80vw;
        border-radius: 0;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gocuotas-modal::-webkit-scrollbar {
        display: none;
    }

    .gocuotas-modal-header {
        padding: 18px 20px;
    }

    .gocuotas-modal-logo {
        font-size: 1rem;
    }

    .gocuotas-modal-body {
        padding: 18px 20px;
    }

    .gocuotas-modal-title {
        font-size: 1rem;
    }

    .gocuotas-highlight {
        padding: 14px 16px;
        font-size: 0.9rem;
    }

    .gocuotas-modal-footer {
        flex-direction: column;
        gap: 10px;
        padding: 0px 20px 20px;
    }

    .entrega-card {
        flex: 1;
        background: #f7f7f7;
        border-radius: 12px;
        padding: 14px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        cursor: pointer;
        border: 2px solid #e0e0e0;
        transition: border 0.2s, box-shadow 0.2s;
        min-width: 0;
        gap: 8px;
    }

    .entrega-card.selected {
        border: 2px solid #2b7cff;
        box-shadow: 0 2px 12px rgba(43, 124, 255, 0.08);
        background: #eef6ff;
    }

    .entrega-card-correo.selected {
        border: 2px solid #ff9800;
        background: #fff8e1;
    }

    .entrega-icon {
        margin-right: 0;
        font-size: 1.8rem;
    }

    .entrega-txt {
        font-size: 0.95rem;
        color: #222;
    }

    .entrega-card small {
        font-size: 0.8rem;
        color: #666;
    }
}

@media (max-width: 480px) {
    .entrega-card {
        padding: 12px 8px;
        gap: 6px;
    }

    .entrega-icon {
        font-size: 1.5rem;
    }

    .entrega-txt {
        font-size: 0.9rem;
    }

    .entrega-card small {
        font-size: 0.75rem;
    }
}


/* Spinner de cargando para infinite scroll */
.cargando-spinner {
    display: none;
    text-align: center;
    padding: 40px 20px;
    margin: 20px auto;
    width: 100%;
    grid-column: 1 / -1;
}

.cargando-spinner.activo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #125ac6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cargando-spinner p {
    color: #666;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Botón flotante de WhatsApp en la esquina inferior derecha */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 10000;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* ============= MEJORAS ESTÉTICAS SECCIONES DE PAGO ============= */

/* Estilos para secciones de pago Mercado Pago y GoCuotas */
#mercadopagoInfo,
#gocuotasInfo {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#mercadopagoInfo:hover,
#gocuotasInfo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border-color: currentColor !important;
}

/* Botones de pago profesionales */
#mercadoPagoBtn,
#gocuotasBtn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#mercadoPagoBtn::before,
#gocuotasBtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#mercadoPagoBtn:hover::before,
#gocuotasBtn:hover::before {
    width: 300px;
    height: 300px;
}

#mercadoPagoBtn:hover,
#gocuotasBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

#mercadoPagoBtn:active,
#gocuotasBtn:active {
    transform: translateY(0);
}

/* Efectos en los iconos de beneficios */
#mercadopagoInfo div[style*="grid-template-columns"],
#gocuotasInfo div[style*="grid-template-columns"] {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover en items de beneficios */
#mercadopagoInfo div[style*="grid-template-columns"]>div,
#gocuotasInfo div[style*="grid-template-columns"]>div {
    transition: all 0.3s ease;
    cursor: default;
}

#mercadopagoInfo div[style*="grid-template-columns"]>div:hover,
#gocuotasInfo div[style*="grid-template-columns"]>div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Señalización de seguridad */
#mercadopagoInfo div[style*="fce8f8"],
#mercadopagoInfo div[style*="e8f4ff"],
#gocuotasInfo div[style*="fce8f8"] {
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsiva para dispositivos móviles */
@media (max-width: 768px) {

    #mercadopagoInfo,
    #gocuotasInfo {
        padding: 18px !important;
    }

    #mercadopagoInfo h4,
    #gocuotasInfo h4 {
        font-size: 1.1em !important;
    }

    #mercadoPagoBtn,
    #gocuotasBtn {
        padding: 12px 16px !important;
        font-size: 1em !important;
    }
}

/* ════════════════════════════════════════════════════
   AUTH PAGES  (auth.php, forgot_password, reset_password)
   ════════════════════════════════════════════════════ */
.auth-body {
    background: #f0f4fb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: 'Poppins', sans-serif;
}

.auth-wrapper {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.auth-logo {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #10182b;
    text-decoration: none;
    letter-spacing: 1px;
}

.auth-logo-nr {
    color: #125ac6;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(18, 90, 198, .10);
    padding: 36px 36px 30px;
    width: 100%;
}

.auth-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10182b;
    margin: 0 0 22px;
    text-align: center;
}

/* Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e0e7ef;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 0 12px;
    font-size: .95rem;
    font-weight: 500;
    color: #7a8499;
    cursor: pointer;
    transition: color .18s;
    position: relative;
}

.auth-tab.active {
    color: #125ac6;
    font-weight: 700;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #125ac6;
    border-radius: 2px;
}

/* Panels */
.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

/* Google button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 0;
    border: 1.5px solid #dadce0;
    border-radius: 8px;
    background: #fff;
    color: #3c4043;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .16s, box-shadow .16s;
    margin-bottom: 4px;
}

.btn-google:hover {
    background: #f8f9fc;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .10);
    color: #3c4043;
    text-decoration: none;
}

/* OR divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    color: #b0b8c8;
    font-size: .85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e4e9f0;
}

/* Fields */
.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #3a4256;
    margin-bottom: 5px;
}

.auth-field input {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #d1d9e6;
    border-radius: 8px;
    font-size: .95rem;
    color: #10182b;
    background: #f8faff;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    box-sizing: border-box;
}

.auth-field input:focus {
    border-color: #125ac6;
    box-shadow: 0 0 0 3px rgba(18, 90, 198, .13);
    background: #fff;
}

/* Password wrapper */
.pass-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pass-wrapper input {
    padding-right: 42px;
}

.pass-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #7a8499;
    display: flex;
    align-items: center;
}

.pass-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.auth-forgot {
    text-align: right;
    margin: -6px 0 14px;
    font-size: .83rem;
}

.auth-forgot a {
    color: #125ac6;
    text-decoration: none;
}

.auth-forgot a:hover {
    text-decoration: underline;
}

/* Primary button */
.auth-btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background: #125ac6;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, transform .12s;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.auth-btn-primary:hover {
    background: #0e4ca6;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

/* Alerts */
.auth-alert {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: .9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.auth-alert-error {
    background: #fdeaea;
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}

.auth-alert-success {
    background: #e8f9ee;
    color: #1e7e34;
    border-left: 4px solid #28a745;
}

/* Switch link */
.auth-switch {
    text-align: center;
    font-size: .88rem;
    color: #6b7590;
    margin-top: 20px;
}

.auth-switch a {
    color: #125ac6;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ════════════════════════════════════════════════════
   USER MENU (header — all pages)
   ════════════════════════════════════════════════════ */
.user-menu-header {
    position: relative;
    margin-left: 8px;
    flex-shrink: 0;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 22px;
    padding: 5px 13px 5px 8px;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s;
    white-space: nowrap;
}

.user-menu-btn:hover,
.user-menu-btn:focus {
    background: rgba(255, 255, 255, .22);
    outline: none;
}

.user-menu-btn svg {
    flex-shrink: 0;
}

.user-menu-btn-login {
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.user-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .15);
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
    padding: 6px 0;
}

.user-menu-dropdown.open {
    display: block;
}

.user-menu-dropdown a {
    display: block;
    padding: 10px 18px;
    font-size: .9rem;
    color: #2d3a55;
    text-decoration: none;
    font-weight: 500;
    transition: background .14s;
}

.user-menu-dropdown a:hover {
    background: #f0f4fb;
}

.user-menu-logout {
    color: #c0392b !important;
}

.user-menu-logout:hover {
    background: #fdeaea !important;
}

/* ════════════════════════════════════════════════════
   DASHBOARD
   ════════════════════════════════════════════════════ */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 70px);
    background: #eef2f9;
    font-family: 'Poppins', sans-serif;
    border-radius: 0;
}

/* ── Sidebar ── */
.dash-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: linear-gradient(175deg, #0e1628 0%, #151f38 60%, #0e1a35 100%);
    color: #e5e8f3;
    padding: 32px 0 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .15);
    border-radius: 0;
}

/* Avatar block */
.dash-avatar {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 22px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    margin-bottom: 14px;
}

.dash-avatar-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6fe8 0%, #0e4ca6 100%);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(18, 90, 198, .45);
    letter-spacing: -.5px;
}

.dash-avatar-name {
    font-weight: 600;
    font-size: .94rem;
    color: #fff;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.dash-avatar-email {
    font-size: .74rem;
    color: #6e7e9e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    margin-top: 2px;
}

/* Nav */
.dash-nav {
    flex: 1;
    padding: 4px 12px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    color: #8e9ab5;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: background .17s, color .17s;
    border-radius: 10px;
    margin-bottom: 3px;
}

.dash-nav-item svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    flex-shrink: 0;
    opacity: .8;
    transition: opacity .17s;
}

.dash-nav-item:hover {
    background: rgba(255, 255, 255, .07);
    color: #d4daf0;
}

.dash-nav-item:hover svg {
    opacity: 1;
}

.dash-nav-item.active {
    background: rgba(18, 90, 198, .22);
    color: #fff;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #3b82f6;
}

.dash-nav-item.active svg {
    opacity: 1;
}

/* Logout */
.dash-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 12px 0;
    padding: 11px 14px;
    color: #f87272;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 16px;
    transition: color .17s;
    border-radius: 10px;
}

.dash-logout-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.dash-logout-btn:hover {
    color: #ff9090;
    background: rgba(248, 114, 114, .08);
}

/* Main content */
.dash-content {
    flex: 1;
    padding: 36px 40px !important;
    overflow-y: auto;
    background: #f4f7fc;
}

.dash-section {
    display: none;
}

.dash-section.active {
    display: block;
}

.dash-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0e1628;
    margin: 0 0 26px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e2e8f4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: linear-gradient(to bottom, #1a6fe8, #0e4ca6);
    border-radius: 3px;
    flex-shrink: 0;
}

.dash-subsection-title {
    font-size: .97rem;
    font-weight: 600;
    color: #2d3a55;
    margin: 28px 0 16px;
    border-top: 1px solid #e0e7ef;
    padding-top: 22px;
}

/* ── Alerts ── */
.dash-alert {
    padding: 13px 18px;
    border-radius: 10px;
    font-size: .89rem;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-alert-success {
    background: #ebf9f0;
    color: #1a6b35;
    border-left: 4px solid #2ecc71;
}

.dash-alert-error {
    background: #fff0ef;
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}

/* ── Spinner ── */
.dash-loading {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #7a8499;
    padding: 32px 0;
    font-size: .93rem;
}

.dash-spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #d1d9e6;
    border-top-color: #1a6fe8;
    border-radius: 50%;
    animation: dash-spin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes dash-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Empty state ── */
.dash-empty {
    grid-column: 1 / -1;
    /* span all grid columns */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: #96a3b8;
    width: 100%;
}

.dash-empty p {
    margin-top: 14px;
    font-size: .94rem;
    text-align: center;
}

.dash-empty a {
    color: #1a6fe8;
    font-weight: 600;
    display: inline-block;
}

.sugeridos-hint {
    grid-column: 1 / -1;
    font-size: .82rem;
    color: #7a8499;
    background: #f4f7fd;
    border: 1px solid #e2e8f4;
    border-radius: 8px;
    padding: 9px 14px;
    margin-bottom: 4px;
    text-align: center;
}

/* ── Order cards ── */
.pedido-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(14, 22, 40, .07);
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #e8edf6;
    transition: box-shadow .2s, transform .2s;
}

.pedido-card:hover {
    box-shadow: 0 6px 24px rgba(14, 22, 40, .11);
    transform: translateY(-1px);
}

.pedido-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: background .14s;
    flex-wrap: wrap;
    gap: 10px;
}

.pedido-card-header:hover {
    background: #f7faff;
}

.pedido-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pedido-id {
    font-weight: 700;
    color: #1a6fe8;
    font-size: .95rem;
    background: #eef4ff;
    padding: 3px 9px;
    border-radius: 6px;
}

.pedido-date {
    color: #8494ad;
    font-size: .83rem;
}

.pedido-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pedido-total {
    font-weight: 700;
    color: #0e1628;
    font-size: 1rem;
}

.pedido-estado {
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.estado-pendiente {
    background: #fff8e1;
    color: #92600a;
}

.estado-pagado,
.estado-confirmado {
    background: #dcfce7;
    color: #166534;
}

.estado-enviado {
    background: #dbeafe;
    color: #1d4ed8;
}

.estado-entregado {
    background: #d1fae5;
    color: #065f46;
}

.estado-cancelado {
    background: #fee2e2;
    color: #991b1b;
}

.pedido-chevron {
    fill: #96a3b8;
    transition: transform .22s cubic-bezier(.4, 0, .2, 1);
    flex-shrink: 0;
}

.pedido-card-body {
    padding: 0 20px 20px;
    border-top: 1px solid #f0f4fb;
}

.pedido-meta {
    display: flex;
    gap: 22px;
    font-size: .82rem;
    color: #7a8499;
    margin: 14px 0;
    flex-wrap: wrap;
    background: #f8faff;
    padding: 10px 14px;
    border-radius: 8px;
}

.pedido-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .87rem;
}

.pedido-table th {
    background: #f0f4fb;
    padding: 9px 14px;
    text-align: left;
    font-weight: 600;
    color: #3a4a65;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.pedido-table th:first-child {
    border-radius: 6px 0 0 6px;
}

.pedido-table th:last-child {
    border-radius: 0 6px 6px 0;
}

.pedido-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f4fb;
    color: #2d3a55;
}

.pedido-table tfoot td {
    border-bottom: none;
    background: #f4f7fd;
    font-size: .9rem;
    padding: 11px 14px;
}

/* ── Profile form ── */
.dash-form {
    max-width: 720px;
}

.dash-form-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.dash-field {
    flex: 1;
    min-width: 200px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-field label {
    font-size: .8rem;
    font-weight: 600;
    color: #4a5673;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.dash-field input {
    padding: 10px 14px;
    border: 1.5px solid #d6dcea;
    border-radius: 9px;
    font-size: .92rem;
    color: #0e1628;
    background: #f8faff;
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
    font-family: 'Poppins', sans-serif;
}

.dash-field input:focus {
    border-color: #1a6fe8;
    box-shadow: 0 0 0 3px rgba(26, 111, 232, .13);
    background: #fff;
}

.dash-field input:disabled {
    opacity: .55;
    cursor: not-allowed;
    background: #f0f2f7;
}

.dash-field small {
    color: #9aa3b5;
    font-size: .75rem;
}

/* Password subsection card */
.dash-pass-change {
    background: #f4f7fd;
    border: 1px solid #e2e8f4;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 18px;
}

.dash-pass-change .dash-subsection-title {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* Save button */
.dash-btn-primary {
    background: linear-gradient(135deg, #1a6fe8 0%, #0e4ca6 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 34px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow .2s, transform .15s, filter .2s;
    margin-top: 6px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 14px rgba(18, 90, 198, .3);
    letter-spacing: .2px;
}

.dash-btn-primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 20px rgba(18, 90, 198, .4);
    transform: translateY(-1px);
}

.dash-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(18, 90, 198, .3);
}

.dash-btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
    }

    .dash-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 12px 8px;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    }

    .dash-avatar {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
        flex: 1;
        min-width: 180px;
    }

    .dash-nav {
        display: flex;
        overflow-x: auto;
        padding: 0 4px 0;
    }

    .dash-nav-item {
        padding: 8px 14px;
        white-space: nowrap;
        border-radius: 8px;
        box-shadow: none;
        margin-bottom: 0;
        margin-right: 2px;
    }

    .dash-nav-item.active {
        box-shadow: inset 0 -3px 0 #3b82f6;
    }

    .dash-logout-btn {
        padding: 8px 14px;
        border-top: none;
        border-left: 1px solid rgba(255, 255, 255, .08);
        margin: 0;
    }

    .dash-content {
        padding: 20px 16px !important;
    }

    .auth-card {
        padding: 24px 18px 20px;
    }

    .user-menu-btn span {
        display: none;
    }
}

/* ── Dashboard: page background ── */
body.dashboard-page,
body.dashboard-page .container-fluid {
    background-color: #e8edf7 !important;
}

/* ── Dashboard integrated in global layout ── */
/* Override global "main { padding: 0 !important }" */
.dashboard-page .dashboard-main-shell {
    padding: 22px 28px 40px !important;
    max-width: 1400px;
    margin: 0 auto !important;
    box-sizing: border-box;
}

.dashboard-page .dashboard-wrapper {
    height: 100%;
    background: #eef2f9;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(14, 22, 40, .11);
}

/* Override global "main { padding: 0 !important }" for dash-content */
.dashboard-page .dash-content {
    padding: 36px 40px !important;
    min-height: 560px;
    background: #f4f7fc;
}

@media (max-width: 1024px) {
    .dashboard-page .dashboard-main-shell {
        padding: 16px 16px 28px !important;
    }

    .dashboard-page .dash-content {
        padding: 24px 22px !important;
    }
}

@media (max-width: 768px) {
    .dashboard-page .dashboard-main-shell {
        padding: 10px 8px 18px !important;
    }

    .dashboard-page .dashboard-wrapper {
        border-radius: 12px;
    }

    .dashboard-page .dash-content {
        padding: 18px 14px !important;
    }
}

/* ════════════════════════════════════════════════════
   DASHBOARD — nuevas secciones
   ════════════════════════════════════════════════════ */

/* ── Badges de nav ── */
.dash-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 5px;
    margin-left: auto;
    line-height: 1;
}

/* ── Section subtitle ── */
.dash-section-sub {
    color: #7a8499;
    font-size: .88rem;
    margin: -18px 0 22px;
}

/* ── Notif header ── */
.dash-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.dash-notif-header .dash-section-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.dash-btn-ghost {
    background: none;
    border: 1.5px solid #d6dcea;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: .82rem;
    font-weight: 600;
    color: #4a5673;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    font-family: 'Poppins', sans-serif;
}

.dash-btn-ghost:hover {
    background: #eef2f9;
    border-color: #b0bcd4;
}

/* ── Notificaciones ── */
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8edf6;
    margin-bottom: 10px;
    cursor: pointer;
    transition: box-shadow .15s;
}

.notif-item:hover {
    box-shadow: 0 4px 14px rgba(14, 22, 40, .08);
}

.notif-item.notif-unread {
    border-left: 4px solid #1a6fe8;
    background: #f5f9ff;
}

.notif-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.notif-body {
    flex: 1;
    min-width: 0;
}

.notif-titulo {
    font-weight: 600;
    font-size: .9rem;
    color: #0e1628;
    margin: 0 0 4px;
}

.notif-msg {
    font-size: .84rem;
    color: #5a6480;
    margin: 0 0 6px;
    line-height: 1.45;
}

.notif-date {
    font-size: .75rem;
    color: #96a3b8;
}

.notif-link {
    color: #1a6fe8;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    align-self: center;
    flex-shrink: 0;
}

.notif-link:hover {
    text-decoration: underline;
}

/* ── Product grid (favoritos, vistos, sugeridos) ── */
.dash-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card-dash {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8edf6;
    overflow: hidden;
    position: relative;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;

}

.product-card-dash:hover {
    box-shadow: 0 8px 28px rgba(14, 22, 40, .12);
    transform: translateY(-2px);
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(.92);
    }
}

.pc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 20px;
    z-index: 2;
}

.pc-fav-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    color: #d1d9e6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    z-index: 2;
    transition: color .15s, transform .15s;
    line-height: 1;
}

.pc-fav-btn:hover {
    color: #ef4444;
    transform: scale(1.15);
}

.pc-fav-btn.pc-fav-active {
    color: #ef4444;
}

.pc-img-wrap {
    max-height: 12.3vw;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f7fc;
}

.pc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s;
}

.product-card-dash:hover .pc-img-wrap img {
    transform: scale(1.05);
}

.pc-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    color: #96a3b8;
}

.pc-body {
    padding: 12px 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-name {
    font-size: .84rem;
    font-weight: 600;
    color: #1a2236;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.pc-prices {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.pc-original {
    font-size: .75rem;
    color: #96a3b8;
    text-decoration: line-through;
}

.pc-price {
    font-size: .95rem;
    font-weight: 700;
    color: #1a6fe8;
}

.pc-btn {
    display: block;
    text-align: center;
    background: #1a6fe8;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 7px;
    text-decoration: none;
    margin-top: auto;
    transition: background .15s;
    font-family: 'Poppins', sans-serif;
}

.pc-btn:hover {
    background: #0e4ca6;
}

/* ── Métodos de pago ── */
.pagos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.pago-card {
    background: linear-gradient(135deg, #1a2a4a 0%, #0e1c38 100%);
    color: #fff;
    border-radius: 14px;
    padding: 20px 20px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 16px rgba(14, 22, 40, .2);
}

.pago-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.pago-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pago-brand {
    font-size: .7rem;
    font-weight: 700;
    color: #8ea8cf;
    letter-spacing: .8px;
}

.pago-num {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.pago-exp {
    font-size: .75rem;
    color: #6e8ab0;
}

/* ── Responsive ajustes ── */
@media (max-width: 600px) {
    .dash-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pagos-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Favoritos: botón ♥ en cards del catálogo ── */
.cat-fav-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, .88);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    line-height: 1;
    color: #cdd3de;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .13);
    z-index: 10;
    transition: color .15s, transform .15s, background .15s;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.cat-fav-btn:hover {
    color: #ef4444;
    transform: scale(1.18);
    background: #fff;
}

.cat-fav-btn.cat-fav-active {
    color: #ef4444;
}

/* ── Pedidos empty state ── */
.pedidos-empty-state {
    text-align: center;
    padding: 52px 32px 48px;
    max-width: 460px;
    margin: 0 auto;
}

.pes-illustration {
    margin: 0 auto 24px;
    width: 96px;
    height: 96px;
}

.pes-illustration svg {
    width: 100%;
    height: 100%;
}

.pes-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0e1628;
    margin: 0 0 10px;
    letter-spacing: -.01em;
}

.pes-sub {
    font-size: .875rem;
    color: #6e7e9e;
    margin: 0 0 28px;
    line-height: 1.6;
}

.pes-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.pes-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, filter .15s;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .01em;
}

.pes-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.07);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
}

.pes-btn-primary {
    background: linear-gradient(135deg, #1a6fe8, #0e4ca6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(18, 90, 198, .28);
}

.pes-btn-secondary {
    background: #f0f4fb;
    color: #2d3a55;
    border: 1.5px solid #d6dcea;
}