@font-face {
    font-family: "principal";
    src: url(/frontend/fonts/OleoScript/OleoScript-Bold.ttf);
}

@font-face {
    font-family: "menu";
    src: url(/frontend/fonts/Josefin_Sans/JosefinSans-Bold.ttf);
}

html, body {
    overflow-x: hidden;
}

body {
    background:
        linear-gradient(rgba(240, 244, 250, 0.78), rgba(240, 244, 250, 0.78)),
        url("/frontend/images/fondos/fondo_home5.jpg") no-repeat center / cover fixed;
    min-height: 100vh;
}

/*BARRA DE NAVEGACIÓN*/
.navbar {
    background-color: white;
    border-radius: 0;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #eaedf3;
    transition: box-shadow 0.35s ease;
    color: white;
}

.navbar.scrolled {
    box-shadow: 0 4px 22px rgba(1, 75, 160, 0.15), 0 1px 6px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    width: 90px;
    height: 80px;
    top: 1%;
}

.login-button {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    color: #fff;
    font-size: 0.88rem;
    padding: 8px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'menu';
    letter-spacing: 0.4px;
    box-shadow: 0 3px 10px rgba(1, 75, 160, 0.32);
    transition: box-shadow 0.25s ease, transform 0.2s ease, filter 0.2s ease;
}

.login-button:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 20px rgba(1, 75, 160, 0.52);
    transform: translateY(-2px);
    color: #fff;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    color: #555;
    font-weight: 500;
    position: relative;
    transition: color 0.25s;
    font-family: 'menu';
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #013a7a, #0266d6);
    border-radius: 2px;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:not(.active):hover {
    color: #014ba0;
}

.nav-link:not(.active):hover::after {
    width: 80%;
    left: 10%;
}

.nav-link.active {
    color: #014ba0 !important;
    font-weight: 600;
    background: rgba(1, 75, 160, 0.08);
    border-radius: 50px;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.nav-link.active::after {
    display: none;
}

/*BARRA DE FILTROS*/

.contenedorFiltros {
    background: #ffffff;
    width: 17%;
    min-width: 185px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.07);
    border-right: 1px solid #eaedf3;
    border-radius: 0 16px 16px 0;
    color: #333;
    top: max(10%, 100px);
    height: calc(100% - max(10%, 100px));
    left: 0;
    position: fixed;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Header azul del panel */
.contenedorFiltros::before {
    content: 'FILTROS';
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    color: rgba(255, 255, 255, 0.9);
    font-family: "menu";
    font-size: 0.68rem;
    letter-spacing: 3px;
    padding: 13px 16px;
    border-radius: 0 16px 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Fila de búsqueda — flex sin márgenes negativos de Bootstrap */
.contenedorFiltros > .row:nth-child(2) {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    margin: 0;
    padding: 12px 12px 8px;
    gap: 0;
}

.filtroBuscarLaptop {
    flex: 1;
    width: auto;
    min-width: 0;
    top: 0;
    left: 0;
    position: relative;
    background: #f4f6fb;
    border: 1.5px solid #e2e8f0;
    border-right: none;
    border-radius: 50px 0 0 50px;
    padding: 7px 10px;
    font-family: "menu";
    font-size: 0.92rem;
    color: #374151;
    outline: none;
    text-align: left;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.filtroBuscarLaptop::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.filtroBuscarLaptop:focus {
    background: #fff;
    border-color: #014ba0;
    box-shadow: 0 0 0 3px rgba(1, 75, 160, 0.10);
}

.btnLupaBuscar {
    position: relative;
    top: 0;
    left: 0;
    width: 36px;
    flex-shrink: 0;
    border-radius: 0 50px 50px 0;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: filter 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btnLupaBuscar:hover {
    filter: brightness(1.15);
}

/* Chip de búsqueda activa (sidebar desktop) */
.divBusquedaActiva {
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 4px;
}

.chipBusqueda {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fb;
    border: 1.5px solid #014ba0;
    border-radius: 20px;
    padding: 4px 10px 4px 10px;
    font-family: "menu";
    font-size: 0.82rem;
    color: #014ba0;
    max-width: 90%;
    overflow: hidden;
}

#textoBusquedaActiva {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.btnClearBusqueda {
    background: none;
    border: none;
    color: #014ba0;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.btnClearBusqueda:hover {
    color: #e74c3c;
}

.lupaBuscar {
    right: 2px;
    color: #fff;
    position: relative;

}

.divCategorias {
    overflow-y: auto;
    height: 30%;
    width: 100%;
    margin-top: 0;
    padding: 0 14px;
    text-align: left;
}

.divCategorias::-webkit-scrollbar,
.divMarcas::-webkit-scrollbar {
    width: 4px;
}

.divCategorias::-webkit-scrollbar-track,
.divMarcas::-webkit-scrollbar-track {
    background: transparent;
}

.divCategorias::-webkit-scrollbar-thumb,
.divMarcas::-webkit-scrollbar-thumb {
    background: #014ba0;
    border-radius: 10px;
}

.divCategorias::-webkit-scrollbar-thumb:hover,
.divMarcas::-webkit-scrollbar-thumb:hover {
    background: #2174d4;
}

.tituloCategorias {
    color: #9ca3af;
    font-family: "menu";
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    top: 0;
    left: 0;
    padding: 14px 14px 6px;
    margin: 0;
    border-top: 1px solid #eaedf3;
}

.textCategorias,
.textCategorias2 {
    display: block;
    padding: 7px 10px 7px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-family: "menu";
    font-size: 0.96rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.18s, color 0.18s, padding-left 0.22s, border-color 0.18s;
}

.textCategorias {
    color: #4b5563;
}

.textCategorias:hover {
    background: #eef3fc;
    color: #014ba0;
    border-left-color: #014ba0;
    padding-left: 14px;
}

.textCategorias2 {
    background: linear-gradient(to right, #e8f0fb, #f4f7ff);
    color: #014ba0;
    font-weight: 700;
    border-left-color: #014ba0;
    padding-left: 14px;
}

.tableCategorias {
    display: block;
    width: 100%;
}

.tableCategorias thead { display: none; }
.tableCategorias tbody { display: block; }

.tableCategorias tbody tr {
    display: block;
    opacity: 0;
    animation: filterSlideIn 0.28s ease both;
}

.tableCategorias tbody td {
    display: block;
    padding: 1px 0;
}

/* Staggered entrance — categorías */
.tableCategorias tbody tr:nth-child(1)  { animation-delay: 0.03s; }
.tableCategorias tbody tr:nth-child(2)  { animation-delay: 0.07s; }
.tableCategorias tbody tr:nth-child(3)  { animation-delay: 0.11s; }
.tableCategorias tbody tr:nth-child(4)  { animation-delay: 0.15s; }
.tableCategorias tbody tr:nth-child(5)  { animation-delay: 0.19s; }
.tableCategorias tbody tr:nth-child(6)  { animation-delay: 0.23s; }
.tableCategorias tbody tr:nth-child(7)  { animation-delay: 0.27s; }
.tableCategorias tbody tr:nth-child(8)  { animation-delay: 0.31s; }
.tableCategorias tbody tr:nth-child(n+9) { animation-delay: 0.35s; }

.divMarcas {
    overflow-y: auto;
    height: 43%;
    width: 100%;
    margin-top: 0;
    padding: 0 14px;
}

.tituloMarcas {
    color: #9ca3af;
    font-family: "menu";
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    top: 0;
    left: 0;
    padding: 14px 14px 6px;
    margin: 0;
    border-top: 1px solid #eaedf3;
}

.marcasLoadingIndicator {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 0;
    font-family: "menu";
    font-size: 0.85rem;
    color: #014ba0;
}

.marcasSpinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(1, 75, 160, 0.2);
    border-top-color: #014ba0;
    border-radius: 50%;
    animation: spinMarcas 0.7s linear infinite;
}

@keyframes spinMarcas {
    to { transform: rotate(360deg); }
}

.tableMarcas {
    display: block;
    width: 100%;
}

.tableMarcas thead { display: none; }
.tableMarcas tbody { display: block; }

.tableMarcas tbody tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 2px;
    border-radius: 7px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
    opacity: 0;
    animation: filterSlideIn 0.28s ease both;
    cursor: pointer;
}

.tableMarcas tbody tr:last-child { border-bottom: none; }

.tableMarcas tbody tr:hover { background: #f5f8ff; }

.tableMarcas tbody tr:has(.checkMarcas:checked) {
    background: linear-gradient(to right, #e8f0fb, #f4f7ff);
    border-left: 3px solid #014ba0;
}

.tableMarcas tbody tr:has(.checkMarcas:checked) td:first-child {
    color: #014ba0;
    font-weight: 700;
}

.tableMarcas tbody td:first-child {
    color: #374151;
    font-size: 0.96rem;
    font-family: "menu";
    flex: 1;
    padding: 2px 0;
}

.tableMarcas tbody td:last-child {
    flex-shrink: 0;
    padding: 0;
}

/* Staggered entrance — marcas */
.tableMarcas tbody tr:nth-child(1)  { animation-delay: 0.03s; }
.tableMarcas tbody tr:nth-child(2)  { animation-delay: 0.07s; }
.tableMarcas tbody tr:nth-child(3)  { animation-delay: 0.11s; }
.tableMarcas tbody tr:nth-child(4)  { animation-delay: 0.15s; }
.tableMarcas tbody tr:nth-child(5)  { animation-delay: 0.19s; }
.tableMarcas tbody tr:nth-child(6)  { animation-delay: 0.23s; }
.tableMarcas tbody tr:nth-child(7)  { animation-delay: 0.27s; }
.tableMarcas tbody tr:nth-child(8)  { animation-delay: 0.31s; }
.tableMarcas tbody tr:nth-child(9)  { animation-delay: 0.35s; }
.tableMarcas tbody tr:nth-child(10) { animation-delay: 0.39s; }
.tableMarcas tbody tr:nth-child(11) { animation-delay: 0.43s; }
.tableMarcas tbody tr:nth-child(12) { animation-delay: 0.47s; }
.tableMarcas tbody tr:nth-child(n+13) { animation-delay: 0.51s; }

/* ── Custom checkbox ── */
.checkMarcas {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    background: #fff;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    display: block;
}

.checkMarcas:hover {
    border-color: #014ba0;
    transform: scale(1.12);
}

.checkMarcas:checked {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    border-color: transparent;
}

.checkMarcas:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Keyframe compartido */
@keyframes filterSlideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

.btnBuscar {
    width: calc(100% - 28px);
    margin: 6px 14px 8px;
    border-radius: 50px;
    left: 0;
    position: relative;
    text-align: center;
    background: transparent;
    border: 1.5px solid #014ba0;
    color: #014ba0;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
    font-family: "menu";
    padding: 6px 0;
    cursor: pointer;
    letter-spacing: 0.3px;
    display: block;
}

.btnBuscar:hover {
    background-color: #014ba0;
    color: #fff;
}

/*PRODUCTOS*/

.ceroProductos {
    color: #014ba0;
    font-family: "Principal";
    font-size: 3rem;
    left: -15%;
    margin-top: 10%;
    position: relative;
}

.datoCategorias {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    background: #f0f4f9;
    border-bottom: 1px solid #e2e8f0;
    font-family: "menu";
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: #94a3b8;
    line-height: 1;
    flex-wrap: nowrap;
    overflow: hidden;
}

.categoriaSeleccionada {
    font-family: "menu";
    font-size: 0.82rem;
    color: #fff;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    text-transform: none;
    box-shadow: 0 2px 8px rgba(1, 75, 160, 0.28);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
}

.tituloResultado {
    top: 11%;
    left: 50%;
    color: #000;
    font-size: 2rem;
    position: absolute;
}

/*CARRUSEL DE BANNERS*/
.contenedorBanner {
    margin-left: 18%;
    margin-right: 2%;
    margin-top: 118px;
    margin-bottom: 20px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.imgBanner {
    width: 100%;
    height: auto;
    display: block;
}

#carruselBanners .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    opacity: 0.6;
}

#carruselBanners .carousel-indicators .active {
    opacity: 1;
    background-color: #0266d6;
}

.contenedorCards {
    width: 73%;
    left: 8.5%;
    top: 0;
    margin-bottom: -10%;
    margin-top: 20px;
    position: relative;
}

.cardsProductos {
    margin-bottom: 0%;
    position: relative;
}

@keyframes cardFadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.divCards {
    margin-bottom: 10px;
    animation: cardFadeInUp 0.5s ease forwards;
    opacity: 0;
}

.divCards:nth-child(1)  { animation-delay: 0.05s; }
.divCards:nth-child(2)  { animation-delay: 0.10s; }
.divCards:nth-child(3)  { animation-delay: 0.15s; }
.divCards:nth-child(4)  { animation-delay: 0.20s; }
.divCards:nth-child(5)  { animation-delay: 0.25s; }
.divCards:nth-child(6)  { animation-delay: 0.30s; }
.divCards:nth-child(7)  { animation-delay: 0.35s; }
.divCards:nth-child(8)  { animation-delay: 0.40s; }
.divCards:nth-child(9)  { animation-delay: 0.45s; }
.divCards:nth-child(10) { animation-delay: 0.50s; }
.divCards:nth-child(11) { animation-delay: 0.55s; }
.divCards:nth-child(12) { animation-delay: 0.60s; }
.divCards:nth-child(n+13) { animation-delay: 0.65s; }

.imageCards {
    border-radius: 10px;
    padding: 15px;
    height: 180px;
    width: 90%;
    left: 5%;
    position: relative;
    object-fit: contain;
    transition: transform 0.45s ease;
}

.card:hover .imageCards {
    transform: scale(1.06);
}

.card {
    border-radius: 16px;
    width: 100%;
    height: 360px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    border: 1px solid #eaedf3;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #013a7a, #0266d6);
    transition: width 0.4s ease;
    z-index: 2;
}

.card:hover {
    box-shadow: 0 8px 28px rgba(1, 75, 160, 0.14);
    transform: translateY(-3px);
}

.card:hover::before {
    width: 100%;
}

.cardInfo {
    padding: 10px 22px 8px;
    flex: 1;
    overflow: hidden;
    border-top: 1px solid #e2eaf8;
}

.cardInfo::before {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, #013a7a, #0266d6);
    border-radius: 2px;
    margin: 6px auto 10px;
}

.btn-primary {
    border-radius: 50px;
    width: 120px;
}

.cardTitulo {
    font-size: 1.1rem;
    margin-top: 0;
    text-align: center;
    color: #1a202c;
    font-family: "menu";
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.card > .d-flex {
    margin-bottom: 15px !important;
    padding: 0 10px;
    align-items: center;
}

.cardPrecio {
    color: #014ba0;
    font-size: 1.5rem;
    font-weight: 700;
    bottom: 1%;
    position: relative;
}

.btnVistaPrevia {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    color: #fff;
    font-size: 0.88rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'menu';
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(1, 75, 160, 0.32);
    transition: box-shadow 0.25s ease, transform 0.2s ease, filter 0.2s ease;
    width: auto !important;
    padding: 8px 20px;
    border: none;
}

.btnVistaPrevia:hover {
    box-shadow: 0 6px 20px rgba(1, 75, 160, 0.52);
    transform: translateY(-2px);
    filter: brightness(1.12);
    color: #fff;
}

/*DESCRIPCIÓN DE PRODUCTOS*/
.overlayDesProducto {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1045;
}

.overlayDesProducto.active-overlayDesProducto {
    display: block;
}

.divContenedorDesProducto {
    position: fixed;
    top: 50%;
    left: 50%;
    height: auto;
    max-height: 85vh;
    overflow-x: hidden;
    overflow-y: auto;
    width: 60%;
    border-radius: 16px;
    background-color: #fff;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1050;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.divContenedorDesProducto.active-ContenedorDesProducto {
    transform: translate(-50%, -50%) scale(1);
}

.divTitDesProducto {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    width: 100%;
    margin-left: 0%;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 65px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.pDesProducto {
    color: #fff;
    font-family: "menu";
    text-align: center;
    font-size: 1.45rem;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.xDesProducto {
    height: 28px;
    width: 28px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s;
}

.xDesProducto:hover {
    background-color: #fff;
}

.divImgDesProductos {
    min-height: 260px;
}

.divImgsDesProducto {
    align-items: center;
    min-height: 260px;
}

.contadorImagenesDiv {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.contadorImagenes {
    background: rgba(1, 75, 160, 0.82);
    color: #fff;
    font-family: "menu";
    font-size: 0.85rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    user-select: none;
}

.btnNavDesProducto {
    background: rgba(1, 75, 160, 0.12);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #014ba0;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.btnNavDesProducto:hover {
    background: #014ba0;
    color: #fff;
}

.btnNavDesProducto[style*="opacity: 0.3"] {
    pointer-events: none;
}

.imgDesProducto {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}

.divContenedorInfoDesProducto {
    width: 49%;
    background-color: #ffffff;
    border-left: 1px solid #eaedf3;
    display: flex;
    flex-direction: column;
}

.divInfoDesProducto {
    height: auto;
    display: flex;
    gap: 0;
    border-bottom: 1px solid #eaedf3;
}

.pMarcaDesProducto {
    font-family: "menu";
    text-align: left;
    font-size: 0.78rem;
    margin: 14px 0 14px 20px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex: 1;
    border-right: 1px solid #eaedf3;
    padding-right: 16px;
}

.sMarcaDesProducto {
    font-family: "menu";
    font-size: 1.05rem;
    display: block;
    color: #1a202c;
    font-weight: 700;
    margin-top: 5px;
    text-transform: none;
    letter-spacing: 0;
}

.pDisponibleDesProducto {
    font-family: "menu";
    text-align: left;
    font-size: 0.78rem;
    margin: 14px 0 14px 16px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex: 1;
}

.sDisponibleDesProducto {
    display: inline-block;
    background-color: #dcfce7;
    color: #15803d;
    font-family: "menu";
    font-size: 0.88rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-left: 0;
    margin-top: 5px;
}

.sDisponibleDesProducto.sinStock {
    background-color: #fee2e2;
    color: #dc2626;
}

.divPreDesProducto {
    height: auto;
    padding: 16px 20px;
    border-bottom: 1px solid #eaedf3;
}

.pPrecioDesProducto {
    font-family: "menu";
    text-align: left;
    font-size: 0.78rem;
    margin: 0;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sPrecioDesProducto {
    font-family: "menu";
    font-size: 2.4rem;
    color: #014ba0;
    font-weight: 900;
    display: block;
    margin-top: 4px;
    line-height: 1;
}

.divCantDesProducto {
    height: auto;
    padding: 14px 20px;
    border-bottom: 1px solid #eaedf3;
}

.pCantidadDesProducto {
    font-family: "menu";
    text-align: start;
    font-size: 0.78rem;
    margin: 0 0 8px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stepperCantidad {
    display: flex;
    align-items: center;
    border: 2px solid #014ba0;
    border-radius: 8px;
    overflow: hidden;
}

.btnStepper {
    background: #014ba0;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.btnStepper:hover {
    background: #2174d4;
}

.iCantidadDesProducto {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1px solid #c5d5eb;
    border-right: 1px solid #c5d5eb;
    height: 34px;
    font-family: "menu";
    font-size: 1rem;
    font-weight: 700;
    padding: 0;
    background: #fff;
    -moz-appearance: textfield;
}

.iCantidadDesProducto::-webkit-outer-spin-button,
.iCantidadDesProducto::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.iCantidadDesProducto:focus {
    outline: none;
}

.divDesDesProducto {
    height: auto;
    padding: 14px 20px 6px;
}

.pDesDesProducto {
    font-family: "menu";
    text-align: left;
    font-size: 0.78rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.divInfoDesDesProducto {
    height: auto;
    padding: 0 20px;
    flex: 1;
}

.iDesDesProducto {
    min-height: 100px;
    max-height: 160px;
    margin-top: 6px;
    font-family: "menu";
    font-size: 0.92rem;
    text-align: left;
    line-height: 1.7;
    resize: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #4a5568;
    padding: 0;
    cursor: default;
    overflow-y: auto;
    width: 100%;
}

.iDesDesProducto:disabled {
    opacity: 1;
    background-color: transparent;
    color: #4a5568;
}

.divCodDesProducto {
    height: auto;
    padding: 10px 20px 14px;
    border-top: 1px solid #eaedf3;
}

.pCodDesProducto {
    font-family: "menu";
    text-align: left;
    font-size: 0.78rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
}

.sCodDesProducto {
    font-family: "menu";
    font-size: 0.9rem;
    display: inline-block;
    background: #f0f4fa;
    color: #374151;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btnDesProductos {
    display: flex;
    gap: 10px;
    padding: 14px 20px 20px;
    border-top: 1px solid #eaedf3;
}

.bApartarDesProducto {
    font-size: 0.92rem;
    text-align: center;
    color: #014ba0;
    font-family: "menu";
    background-color: transparent;
    border: 2px solid #014ba0;
    border-radius: 50px;
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    letter-spacing: 0.5px;
}

.bApartarDesProducto:hover {
    background-color: #014ba0;
    color: #fff;
    box-shadow: 0 4px 14px rgba(1, 75, 160, 0.35);
}

.bAgregarDesProducto {
    font-size: 0.92rem;
    text-align: center;
    color: #fff;
    font-family: "menu";
    background: linear-gradient(135deg, #158534 0%, #1a9e3f 100%);
    border: none;
    border-radius: 50px;
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
    transition: box-shadow 0.25s, transform 0.2s, filter 0.2s;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(26, 158, 63, 0.32);
}

.bAgregarDesProducto:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(26, 158, 63, 0.52);
    transform: translateY(-2px);
}

/*COMO DESEA COMPRAR*/
.seleccionOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1040;
}

.seleccionOverlay.active-ContenedorSeleccionCompra {
    opacity: 1;
    pointer-events: all;
}

.divContenedorSeleccionCompra {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    height: auto !important;
    width: 480px !important;
    max-width: 92vw !important;
    border-radius: 10px;
    background-color: #fff;
    overflow: hidden;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1050;
}

.divContenedorSeleccionCompra.active-ContenedorSeleccionCompra {
    transform: translate(-50%, -50%) scale(1) !important;
}

.seleccionOpciones {
    display: flex;
    gap: 12px;
    padding: 24px 20px;
}

.seleccionOpcion {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 10px;
    border-radius: 12px;
    border: 2px solid #eef2f7;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.seleccionOpcion:hover {
    border-color: #0266d6;
    background: #f0f6ff;
    transform: translateY(-2px);
}

.seleccionOpcionIconWrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.seleccionOpcionLabel {
    font-family: "Principal";
    font-size: 0.9rem;
    color: #2d3748;
    text-align: center;
    font-weight: 600;
}

.seleccionHeader {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: "Principal";
    font-size: 1.1rem;
    position: relative;
}

.seleccionHeader .btn-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 500px) {
    .seleccionOpciones {
        flex-direction: column;
        padding: 16px 14px;
        gap: 10px;
    }

    .seleccionOpcion {
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px 16px;
        gap: 14px;
    }

    .seleccionOpcionIconWrap {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .seleccionOpcionLabel {
        text-align: left;
        font-size: 0.95rem;
    }
}

.divTitSeleccionCompra {
    background-color: #014ba0;
    width: 100%;
    margin-left: 0%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 55px;
}

.pSeleccionCompra {
    color: #fff;
    font-family: "principal";
    text-align: center;
    font-size: 1.5rem;
    margin-top: 1%;
    margin-left: 10%;
}

.xSeleccionCompra {
    position: absolute;
    top: 5%;
    left: 93%;
    height: 25px;
    background-color: #fff;
    width: 5%;
}

.registrarseSeleccionCompra {
    width: 70%;
    height: 50%;
    margin-left: 10%;
    margin-top: 10%;
    cursor: pointer;
}

.iniciarSeleccionCompra {
    width: 70%;
    height: 50%;
    margin-left: 10%;
    margin-top: 10%;
    cursor: pointer;
}

.invitadoSeleccionCompra {
    width: 70%;
    height: 50%;
    margin-left: 15%;
    margin-top: 11%;
    cursor: pointer;
}

.pRSeleccionCompra {
    font-family: "menu";
    font-size: 1.2rem;
    margin-left: 20%;
}

.pISeleccionCompra {
    font-family: "menu";
    font-size: 1.2rem;
    margin-left: 15%;
}

.pInSeleccionCompra {
    font-family: "menu";
    font-size: 1.2rem;
    margin-left: 13%;
}

/*DATOS DEL COMPRADOR*/
.divContenedorUsuarioCompra {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    height: auto !important;
    width: 480px !important;
    max-width: 92vw !important;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1050;
}

.divContenedorUsuarioCompra.active-ContenedorUsuarioCompra {
    transform: translate(-50%, -50%) scale(1) !important;
}

.divTitUsuarioCompra {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    padding: 16px 20px;
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
}

.pUsuarioCompra {
    color: #fff;
    font-family: "Principal";
    font-size: 1.1rem !important;
    margin: 0;
    text-align: left;
}

.xUsuarioCompra {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    filter: invert(1);
}

.divContenedorUsuarioCompra > .row:not(.divTitUsuarioCompra) {
    padding: 20px 24px 24px;
}

.pNombreUsuarioCompra,
.pApellidoUsuarioCompra,
.pCorreoUsuarioCompra,
.pCelularUsuarioCompra {
    font-family: "Principal";
    font-size: 0.82rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6b7280;
    margin-top: 12px;
    margin-bottom: 4px;
}

@media (max-width: 500px) {
    .divContenedorUsuarioCompra > .row:not(.divTitUsuarioCompra) {
        padding: 16px 16px 20px;
    }
}

.iNombreUsuarioCompra,
.iApellidoUsuarioCompra,
.iCorreoUsuarioCompra,
.iCelularUsuarioCompra {
    font-family: "Principal";
    width: 100%;
}

.btnVolverUsuarioCompra,
.btnCancelarUsuarioCompra,
.btnAceptarUsuarioCompra {
    width: 100%;
    font-family: "Principal";
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 12px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
}

.btnVolverUsuarioCompra {
    background: #f3f4f6;
    color: #374151;
}

.btnVolverUsuarioCompra:hover {
    background: #e5e7eb;
}

.btnCancelarUsuarioCompra {
    background: #fee2e2;
    color: #dc2626;
}

.btnCancelarUsuarioCompra:hover {
    background: #dc2626;
    color: #fff;
}

.btnAceptarUsuarioCompra {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    color: #fff;
}

.btnAceptarUsuarioCompra:hover {
    opacity: 0.88;
}

.descripcionImg {
    width: 76%;
    left: 12%;
    height: 361px;
    position: relative;
}

.codigoIn {
    font-size: 1.5rem;
    font-family: "principal";
    right: 1%;
    bottom: 6%;
    position: absolute;
}

.disponible {
    font-size: 1.5rem;
    font-family: "principal";
    text-align: center;
}

.precio {
    font-size: 1.5rem;
    font-family: "principal";
    text-align: center;
}

/* Paginador contenedor */
.paginacionDiv {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18%;
    margin-bottom: 1%;
}

/* Botón de página numerada */
.btnPaginación {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 2px solid #014ba0;
    background: #fff;
    color: #014ba0;
    font-weight: 700;
    font-size: 15px;
    font-family: "menu";
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, transform .1s ease;
}

.btnPaginación:hover {
    background: #e8f0fb;
    transform: translateY(-1px);
}

.btnPaginación:active {
    transform: translateY(0);
}

/* Página activa */
.btnPaginaciónSeleccionado,
.btnPaginación[aria-current="page"] {
    background: #014ba0;
    color: #fff;
    border-color: #014ba0;
}

/* Botones Anterior / Siguiente */
.btnPaginacionNav {
    min-width: 44px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 2px solid #014ba0;
    background: #014ba0;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    font-family: "menu";
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease;
}

.btnPaginacionNav:hover:not(:disabled) {
    background: #2174d4;
    border-color: #2174d4;
    transform: translateY(-1px);
}

.btnPaginacionNav:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Ellipsis (...) */
.paginacionEllipsis {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 4px;
    color: #014ba0;
    font-weight: 700;
    font-family: "menu";
    font-size: 15px;
    user-select: none;
}

/* Foco teclado */
.btnPaginación:focus-visible,
.btnPaginacionNav:focus-visible {
    outline: 3px solid #014ba0;
    outline-offset: 2px;
}


/*APARTADOS*/
.descripcionApartados {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.divFullApartados {
    overflow-y: auto;
}

.divTextDescripcionApartados {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    border-radius: 8px 8px 0 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
}

.textDescripcionApartados {
    font-size: 1.1rem;
    color: white;
    font-family: "menu";
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
}

.textApartadosPrimero {
    background-color: #f4f6f9;
    border: 1px solid #e0e4ea;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0 8px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.infoApartadoFila {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.infoApartadoItem {
    font-family: "menu";
    font-size: 0.9rem;
    color: #444;
}

.infoApartadoPrecio {
    font-family: "menu";
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a9e3f;
    text-align: center;
    margin-top: 4px;
}

.textApartadosSegundo {
    margin-bottom: 5%;
}

.textApartadosSegundo2 {
    margin-bottom: 5%;
}

.textTiempoApartar {
    font-family: "menu";
    font-size: 0.95rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 8px;
}

.inputMontoOtro {
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.inputMontoOtro:has(input:not(:disabled)) {
    opacity: 1;
}

.inputMontoOtro .input-group-text {
    background-color: #e9ecef;
    font-family: "menu";
    font-weight: 700;
    color: #013a7a;
    border-color: #ced4da;
}

.checkApartar {
    display: none;
}

.checkApartar2 {
    display: none;
}

.spanApartar {
    display: none;
}

.labelApartar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 7px 12px;
    border-radius: 50px;
    border: 2px solid #0266d6;
    color: #0266d6;
    font-family: "menu";
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    user-select: none;
}

.labelApartar:has(input:checked) {
    background-color: #0266d6;
    color: white;
}

.divBtnApartados2 {
    display: flex;
    width: calc(100% + 24px);
    margin: 8px -12px -12px -12px;
}

.btnCancelarApartar2 {
    font-size: 1rem;
    font-family: "menu";
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-color: #6c757d;
    border: none;
    width: 50%;
    padding: 12px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s ease;
    border-radius: 0 0 0 8px;
}

.btnCancelarApartar2:hover {
    filter: brightness(1.15);
}

.btnConfApartar2 {
    font-size: 1rem;
    font-family: "menu";
    font-weight: 600;
    text-align: center;
    color: #fff;
    background-color: #1a9e3f;
    border: none;
    width: 50%;
    padding: 12px 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.2s ease;
    border-radius: 0 0 8px 0;
}

.btnConfApartar2:hover {
    filter: brightness(1.15);
}

.codigoIn2 {
    font-size: 0.9rem;
    font-family: "menu";
    color: #666;
    text-align: right;
    padding: 4px 8px 8px;
}

.segmento2 {
    font-size: 1rem;
    font-family: "menu";
    text-align: center;
}

.disponible2 {
    font-size: 1rem;
    font-family: "menu";
    text-align: center;
}

.precio2 {
    font-size: 1rem;
    font-family: "menu";
    text-align: center;
}

.btnClose2 {
    background-color: #fff;
    width: 2%;
}

.inputDigiteMonto {
    width: 10%;
}

.montoMinimo {
    color: red;
}

/*TABLA DE CARRITO DE COMPRAS*/
.submenu {
    top: 82px;
    border-radius: 22px;
    height: 470px;
    width: 36%;
    left: 50%;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 24px 64px rgba(1, 75, 160, 0.18), 0 4px 16px rgba(0, 0, 0, 0.07);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-20px) scale(0.96);
    transition: opacity 0.3s ease, transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.submenu.active-submenuu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.headerCarrito {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-radius: 22px 22px 0 0;
    width: 100%;
    flex-shrink: 0;
}

.tituloHeaderCarrito {
    color: white;
    font-family: "menu";
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.icon-closeCarrito {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.icon-closeCarrito:hover {
    opacity: 1;
}

.divTablaCarrito {
    overflow-y: auto;
    flex: 1;
    padding: 0;
    margin: 0;
}

.tableCarrito {
    width: 100%;
    border-collapse: collapse;
}

.tableCarrito th {
    font-family: "menu";
    font-size: 0.6rem !important;
    text-align: center !important;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 10px 8px !important;
    border-bottom: 1px solid #f0f4f8;
    background: #f8fafc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.tableCarrito tr {
    font-family: "menu";
    font-size: 0.88rem;
    text-align: center !important;
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.15s;
    animation: cartRowIn 0.25s ease both;
}

.tableCarrito tbody tr:hover {
    background: #f5f8ff;
}

.tableCarrito tbody tr:last-child {
    border-bottom: none;
}

.tableCarrito tbody td {
    padding: 10px 6px;
    vertical-align: middle;
    color: #374151;
}

.tableCarrito tbody img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eaedf3;
    padding: 3px;
    background: #fff;
}

.precioCarrito {
    color: #013a7a;
    font-weight: 700;
}

.carritoVacio {
    padding: 48px 0 !important;
    color: #aab4c4;
    font-size: 0.95rem;
    font-family: "menu";
}

.carritoVacio i {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 12px;
    color: #c8d6e8;
}

.borrar-producto {
    background-color: #fee2e2;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #dc2626;
    transition: background-color 0.2s ease, transform 0.15s;
    border: none;
    cursor: pointer;
}

.borrar-producto:hover {
    background-color: #dc2626;
    color: white;
    transform: scale(1.1);
}

.borrar-producto i {
    pointer-events: none;
    font-size: 0.7rem;
}

.divTotalCarrito {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border-top: 1px solid #eaedf3;
    padding: 12px 20px;
    width: 100%;
    flex-shrink: 0;
}

.totalTitCarrito {
    font-family: "menu";
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #94a3b8;
    margin: 0;
}

.totalPrecioCarrito {
    font-family: "menu";
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a9e3f;
    margin: 0;
}

.divBtnCarrito {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    display: flex !important;
    gap: 8px;
    background: #f8fafc;
    border-top: 1px solid #eaedf3;
    flex-shrink: 0;
}

.btnCarrito {
    font-size: 0.82rem;
    text-align: center;
    color: #fff;
    font-family: "menu";
    font-weight: 600;
    padding: 10px 0;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    border-radius: 10px;
}

.btnCarrito:hover {
    filter: brightness(1.12);
    color: #fff;
    transform: translateY(-1px);
}

#vaciar-carrito {
    background: linear-gradient(135deg, #b91c1c 0%, #e74c3c 100%);
}

#btnFinalizarCompra {
    background: linear-gradient(135deg, #166534 0%, #1a9e3f 100%);
}

@keyframes cartRowIn {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0); }
}

/*CCS DE VENTANA DE LOGIN*/
.overlayLogin {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1035;
}

.overlayLogin.active-overlayLogin {
    display: block;
}

.contenedorLogin {
    top: 13%;
    width: 60%;
    height: 58%;
    left: 20%;
    border-radius: 24px;
    background-color: #fff;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.40);
    margin: 0;
    position: fixed;
    overflow: hidden;
    transform: scale(0);
    transition: 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1036;
}

.iconLogin {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 14px rgba(1, 75, 160, 0.35);
    animation: loginIconFloat 3.2s ease-in-out infinite;
}

.icon-closeLogin {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.formLoginRegister {
    overflow-y: auto;
    height: 100%;
    width: 100%;
}

.contenedorLogin.active-contenedorLog {
    transform: scale(1);
}

.form-box {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    color: #000;
    text-align: center;
    padding: 40px;
    z-index: 1;
    transition: .6s ease-in-out 1.2s, visibility 0s 1s;
}

.contenedorLogin.active .form-box {
    right: 50%;
}

.form-box.register {
    visibility: hidden;
}

.contenedorLogin.active .form-box.register {
    visibility: visible;
}

.formLogin {
    width: 100%;
}

.titLogin {
    font-size: 1.55rem;
    margin: 0 0 4px 0;
    font-family: "menu";
    color: #0f1d35;
    letter-spacing: -0.3px;
}

.titLogin::before {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, #013a7a, #0266d6);
    border-radius: 2px;
    margin: 0 auto 10px;
}

.loginUsuario {
    position: relative;
    margin: 10px 0;
}

.loginUsuario input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: left;
}

.loginUsuario input::placeholder {
    color: #888;
    font-weight: 400;
}

.loginApellidos {
    position: relative;
    margin: 10px 0;
}

.loginApellidos input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: left;
}

.loginApellidos input::placeholder {
    color: #888;
    font-weight: 400;
}

.loginFechaN {
    position: relative;
    margin: 10px 0;
}

.loginFechaN input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: left;
}

.loginFechaN input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.loginFechaN input::placeholder {
    color: #888;
    font-weight: 400;
}

.loginCedula {
    position: relative;
    margin: 10px 0;
}

.loginCedula input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 13.5px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: left;
}

.loginCedula input::placeholder {
    color: #888;
    font-weight: 400;
}

.loginMovil {
    position: relative;
    margin: 10px 0;
}

.loginMovil input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: left;
}

.loginMovil input::placeholder {
    color: #888;
    font-weight: 400;
}


.loginEmail {
    position: relative;
    margin: 10px 0;
}

.loginEmail input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: left;
}

.loginEmail input::placeholder {
    color: #888;
    font-weight: 400;
}

.loginPass {
    position: relative;
    margin: 10px 0;
}

.loginPass input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: left;
}

.loginPass input::placeholder {
    color: #888;
    font-weight: 400;
}

.loginUsuario input:focus,
.loginApellidos input:focus,
.loginFechaN input:focus,
.loginCedula input:focus,
.loginMovil input:focus,
.loginEmail input:focus,
.loginPass input:focus,
.loginPass2 input:focus {
    background: #fff;
    border: 2px solid #014ba0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 75, 160, 0.12);
}

.form-box .input-box:focus-within i {
    color: #014ba0;
}

.loginPass2 {
    position: relative;
    margin: 10px 0;
}

.loginPass2 input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: left;
}

.loginPass2 input::placeholder {
    color: #888;
    font-weight: 400;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #888;
    font-family: "Principal";
    transition: color 0.25s;
}

.forgot-link {
    margin: -6px 0 18px;
    text-align: right;
}

.forgot-link a {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: none;
    font-family: "menu";
    transition: color 0.2s;
}

.forgot-link a:hover {
    color: #014ba0;
}

.btnLogin,
.btnRegister {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(1, 75, 160, 0.32);
    cursor: pointer;
    font-size: 0.95rem;
    color: #fff;
    font-family: "menu";
    letter-spacing: 0.5px;
    border: none;
    transition: box-shadow 0.25s ease, transform 0.2s ease, filter 0.2s ease;
    text-align: center;
}

.btnLogin:hover,
.btnRegister:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 20px rgba(1, 75, 160, 0.52);
    transform: translateY(-2px);
}

.toggle-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.toggle-box::before {
    content: '';
    position: absolute;
    left: -250%;
    width: 300%;
    height: 100%;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    border-radius: 0 150px 150px 0;
    z-index: 2;
    transition: 1.8s ease-in-out;
}

.contenedorLogin.active {
    background: linear-gradient(90deg, #fff 50%, #013a7a 50%);
}

.contenedorLogin.active .toggle-box::before {
    left: calc(50% - 1px);
}

.toggle-panel {
    position: absolute;
    overflow: hidden;
    width: 50%;
    height: 100%;
    display: flex;
    color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: .6s ease-in-out;
    font-family: "menu";
    padding: 0 32px;
    text-align: center;
}

.toggle-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.toggle-panel::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.toggle-panel.toggle-left {
    left: 0;
    transition-delay: 1.2s;
}

.contenedorLogin.active .toggle-panel.toggle-left {
    left: -50%;
    transition-delay: .6s;
}

.toggle-panel.toggle-right {
    right: -50%;
    transition-delay: .6s;
}

.contenedorLogin.active .toggle-panel.toggle-right {
    right: 0;
    transition-delay: 1.2s;
}

.toggle-panel h1 {
    font-family: "menu";
    font-size: 1.55rem;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.toggle-panel p {
    font-family: "menu";
    font-size: 0.88rem;
    margin-bottom: 24px;
    opacity: 0.85;
    line-height: 1.5;
}

.toggle-panel .btn {
    width: 160px;
    height: 44px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: none;
    color: #fff;
    border-radius: 50px;
    font-family: "menu";
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.toggle-panel .btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
}

@keyframes loginIconFloat {
    0%, 100% { transform: translateY(0);    box-shadow: 0 4px 14px rgba(1, 75, 160, 0.35); }
    50%       { transform: translateY(-6px); box-shadow: 0 12px 26px rgba(1, 75, 160, 0.48); }
}

/*DIV PERFIL*/
.divPerfil {
    width: 580px !important;
    max-width: 95vw !important;
    height: auto !important;
    background: #fff !important;
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) scale(0) !important;
    transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1050;
}

.divPerfil.active-divPerfill {
    transform: translate(-50%, -50%) scale(1) !important;
}

.perfilHeader {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-family: "Principal";
    font-size: 1.1rem;
    position: relative;
}

.icon-closePerfil {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.formLoginPerfil {
    padding: 16px 20px;
}

.titPerfil {
    display: none;
}

.perfilUsuario {
    position: relative;
    margin: 10px 0;
}

.perfilUsuario input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: center;
}

.perfilUsuario input::placeholder {
    color: #888;
    font-weight: 400;
}

.perfilApellidos {
    position: relative;
    margin: 10px 0;
}

.perfilApellidos input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: center;
}

.perfilApellidos input::placeholder {
    color: #888;
    font-weight: 400;
}

.perfilMovil {
    position: relative;
    margin: 10px 0;
}

.perfilMovil input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: center;
}

.perfilMovil input::placeholder {
    color: #888;
    font-weight: 400;
}

.perfilCompras {
    position: relative;
    margin: 10px 0;
}

.perfilCompras input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: center;
}

.perfilCompras input::placeholder {
    color: #888;
    font-weight: 400;
}

.perfilEmail {
    position: relative;
    margin: 10px 0;
}

.perfilEmail input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: center;
}

.perfilEmail input::placeholder {
    color: #888;
    font-weight: 400;
}

.perfilPass {
    position: relative;
    margin: 10px 0;
}

.perfilPass input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: center;
}

.perfilPass input::placeholder {
    color: #888;
    font-weight: 400;
}

.perfilPass2 {
    position: relative;
    margin: 10px 0;
}

.perfilPass2 input {
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #f4f6fb;
    border-radius: 12px;
    border: 1.5px solid #dde3ef;
    outline: none;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    font-family: "menu";
    text-align: center;
}

.perfilPass2 input::placeholder {
    color: #888;
    font-weight: 400;
}

.btnperfil {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 19px;
    color: #fff;
    font-weight: 600;
    font-family: "Principal";
    transition: opacity 0.2s;
}

.btnperfil:hover {
    opacity: 0.88;
}

.btnCerrarPerfil {
    width: 100%;
    height: 48px;
    background-color: #fee2e2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 19px;
    color: #dc2626;
    font-weight: 600;
    font-family: "Principal";
    transition: background 0.2s, color 0.2s;
}

.btnCerrarPerfil:hover {
    background-color: #dc2626;
    color: #fff;
}

/* ===== RESPONSIVE PERFIL ===== */

/* Tablet portrait / móvil landscape */
@media (max-width: 600px) {
    .divPerfil {
        max-width: 96vw !important;
        border-radius: 12px;
    }

    .perfilHeader {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .formLoginPerfil {
        padding: 12px 14px;
    }

    .perfilUsuario,
    .perfilApellidos,
    .perfilMovil,
    .perfilCompras,
    .perfilEmail,
    .perfilPass,
    .perfilPass2 {
        margin: 7px 0;
    }

    .perfilUsuario input,
    .perfilApellidos input,
    .perfilMovil input,
    .perfilCompras input,
    .perfilEmail input,
    .perfilPass input,
    .perfilPass2 input {
        padding: 11px 44px 11px 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    .btnperfil,
    .btnCerrarPerfil {
        height: 42px;
        font-size: 16px;
        border-radius: 8px;
    }
}

/* Móvil pequeño */
@media (max-width: 400px) {
    .perfilHeader {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .formLoginPerfil {
        padding: 10px 12px;
    }

    .perfilUsuario input,
    .perfilApellidos input,
    .perfilMovil input,
    .perfilCompras input,
    .perfilEmail input,
    .perfilPass input,
    .perfilPass2 input {
        padding: 10px 40px 10px 14px;
        font-size: 13px;
    }

    .btnperfil,
    .btnCerrarPerfil {
        height: 38px;
        font-size: 14px;
    }
}

/*DIV TÉRMINOS*/
.divTerminos {
    width: 56%;
    max-width: 740px;
    height: 72%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(1, 75, 160, 0.20), 0 4px 16px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1041;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.divTerminos.active-divTerminoss {
    transform: translate(-50%, -50%) scale(1);
}

/* Header azul del modal de términos */
.divTerminos > div:first-child {
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
}

.divTerminos > div:first-child::before {
    content: 'Términos y Condiciones';
    color: rgba(255, 255, 255, 0.92);
    font-family: "menu";
    font-size: 0.95rem;
    letter-spacing: 0.4px;
}

/* X visual — renderizada por CSS, no por la imagen */
.divTerminos > div:first-child::after {
    content: '✕';
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-family: "menu";
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    pointer-events: none;
}

/* Img invisible pero clickeable encima del ::after */
.icon-closeTerminos {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
}

.formTerminos {
    padding: 24px 28px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    margin: 0;
}

.titTerminos {
    display: none;
}

.pTerminos {
    text-align: justify;
    line-height: 1.6;
    white-space: normal;
}

.pTerminos strong {
    font-weight: 700;
}

/*DIV APARTADO*/
.divApartado {
    width: 30%;
    height: 36%;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    position: fixed;
    top: 25%;
    left: 37%;
    transform: scale(0);
    transition: 0.5s;
}

.divApartado.active-divApartadoo {
    transform: scale(1);
}

.textApartado {
    font-family: "principal";
    text-align: center;
    background-color: #014ba0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;

    color: #fff;
}

.numeroApartado {
    margin-top: 10%;
    font-family: "principal";
    text-align: center;
    color: red;
}

.textAgenteApartado {
    margin-top: 10%;
    font-family: "principal";
    text-align: center;
}

.icon-closeApartado {
    width: 7%;
    right: 0%;
    top: 0px;
    cursor: pointer;
    position: fixed;
}

/*Contenedor de Loading*/
.contenedorloadig {
    width: 100%;
    height: 20%;
    left: 0%;
    top: 40%;
    border: 2px solid rgba(255, 255, 255, 5);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    background-color: #014ba0;
    display: flex;
    justify-content: center;
    overflow: hidden;
    align-items: center;
    transform: scale(0);
    transition: 0.5s;
    position: fixed;
}

.contenedorloadig.active-contenedorloadigg {
    transform: scale(1);
}

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

.textLoading {
    position: fixed;
    font-family: 'Open Sans';
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    left: 48.5%;
    top: 65%;
    margin-left: -20px;
    color: #fff;
}

.divLoading {
    position: fixed;
    top: 50%;
    margin-left: -50px;
    left: 50%;
    animation: speeder .4s linear infinite;

    >span {
        height: 5px;
        width: 35px;
        background: #ffffff;
        position: absolute;
        top: -19px;
        left: 60px;
        border-radius: 2px 10px 1px 0;
    }
}

.base {
    span {
        position: absolute;
        width: 0;
        height: 0;
        border-top: 6px solid transparent;
        border-right: 100px solid #ffffff;
        border-bottom: 6px solid transparent;

        &:before {
            content: "";
            height: 22px;
            width: 22px;
            border-radius: 50%;
            background: #ffffff;
            position: absolute;
            right: -110px;
            top: -16px;
        }

        &:after {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            border-top: 0 solid transparent;
            border-right: 55px solid #ffffff;
            border-bottom: 16px solid transparent;
            top: -16px;
            right: -98px;
        }
    }
}

.face {
    position: absolute;
    height: 12px;
    width: 20px;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    transform: rotate(-40deg);
    right: -125px;
    top: -15px;

    &:after {
        content: "";
        height: 12px;
        width: 12px;
        background: #ffffff;
        right: 4px;
        top: 7px;
        position: absolute;
        transform: rotate(40deg);
        transform-origin: 50% 50%;
        border-radius: 0 0 0 2px;
    }
}

.divLoading>span>span:nth-child(1),
.divLoading>span>span:nth-child(2),
.divLoading>span>span:nth-child(3),
.divLoading>span>span:nth-child(4) {
    width: 30px;
    height: 1px;
    background: #ffffff;
    position: absolute;
    animation: fazer1 .2s linear infinite;
}

.divLoading>span>span:nth-child(2) {
    top: 3px;
    animation: fazer2 .4s linear infinite;
}

.divLoading>span>span:nth-child(3) {
    top: 1px;
    animation: fazer3 .4s linear infinite;
    animation-delay: -1s;
}

.divLoading>span>span:nth-child(4) {
    top: 4px;
    animation: fazer4 1s linear infinite;
    animation-delay: -1s;
}

@keyframes fazer1 {
    0% {
        left: 0;
    }

    100% {
        left: -80px;
        opacity: 0;
    }
}

@keyframes fazer2 {
    0% {
        left: 0;
    }

    100% {
        left: -100px;
        opacity: 0;
    }
}

@keyframes fazer3 {
    0% {
        left: 0;
    }

    100% {
        left: -50px;
        opacity: 0;
    }
}

@keyframes fazer4 {
    0% {
        left: 0;
    }

    100% {
        left: -150px;
        opacity: 0;
    }
}

@keyframes speeder {
    0% {
        transform: translate(2px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -3px) rotate(-1deg);
    }

    20% {
        transform: translate(-2px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 3px) rotate(-1deg);
    }

    60% {
        transform: translate(-1px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-2px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(2px, 1px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.longfazers {
    position: absolute;
    width: 100%;
    height: 100%;

    span {
        position: absolute;
        height: 2px;
        width: 20%;
        background: #ffffff;

        &:nth-child(1) {
            top: 20%;
            animation: lf .6s linear infinite;
            animation-delay: -5s;
        }

        &:nth-child(2) {
            top: 40%;
            animation: lf2 .8s linear infinite;
            animation-delay: -1s;
        }

        &:nth-child(3) {
            top: 60%;
            animation: lf3 .6s linear infinite;
        }

        &:nth-child(4) {
            top: 80%;
            animation: lf4 .5s linear infinite;
            animation-delay: -3s;
        }
    }
}

@keyframes lf {
    0% {
        left: 200%;
    }

    100% {
        left: -200%;
        opacity: 0;
    }
}

@keyframes lf2 {
    0% {
        left: 200%;
    }

    100% {
        left: -200%;
        opacity: 0;
    }
}

@keyframes lf3 {
    0% {
        left: 200%;
    }

    100% {
        left: -100%;
        opacity: 0;
    }
}

@keyframes lf4 {
    0% {
        left: 200%;
    }

    100% {
        left: -100%;
        opacity: 0;
    }
}

#whatsapp .wtsapp {
    position: fixed;
    transform: all .5s ease;
    background-color: #25d366;
    display: block;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-right: none;
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    bottom: 20px;
    right: 20px;
    border: 0;
    z-index: 9999;
    width: 50px;
    height: 50px;
    line-height: 50px;
}

#whatsapp .wtsapp::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border 1500ms ease-out infinite;
}

#whatsapp .wtsapp:focus {
    border: none;
    outline: none;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#filtroBuscarMovil .filtroBuscarMovil {
    position: fixed;
    transform: all .5s ease;
    background-color: #014ba0;
    display: block;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-right: none;
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    top: 14%;
    left: 9%;
    border: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

#filtroBuscarMovil .filtroBuscarMovil::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background-color: #014ba0;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border2 1500ms ease-out infinite;
}

#filtroBuscarMovil .filtroBuscarMovil:focus {
    border: none;
    outline: none;
}

@keyframes pulse-border2 {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#filtroCarritoMovil .filtroCarritoMovil {
    position: fixed;
    transform: all .5s ease;
    background-color: #014ba0;
    display: block;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-right: none;
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    top: 14%;
    left: 42%;
    border: 0;
    width: 50px;
    height: 50px;
    line-height: 51px;
}

#filtroCarritoMovil .filtroCarritoMovil::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background-color: #014ba0;
    border-radius: 50%;
    -webkit-animation: pulse-border 1500ms ease-out infinite;
    animation: pulse-border2 1500ms ease-out infinite;
}

#filtroCarritoMovil .filtroCarritoMovil:focus {
    border: none;
    outline: none;
}

@keyframes pulse-border2 {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#filtroFiltrosMovil .filtroFiltrosMovil {
    position: fixed;
    transform: all .5s ease;
    background-color: #014ba0;
    display: block;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    border-right: none;
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    top: 14%;
    left: 75%;
    border: 0;
    width: 50px;
    height: 50px;
    line-height: 50px;
}

#filtroFiltrosMovil .filtroFiltrosMovil::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background-color: #014ba0;
    border-radius: 50%;
    animation: pulse-border2 1500ms ease-out infinite;
}

#filtroFiltrosMovil .filtroFiltrosMovil:focus {
    border: none;
    outline: none;
}

.iconCarritoWrapper {
    position: relative;
    display: inline-flex;
    margin-right: 4px;
}

.badgeCarrito {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: "menu";
    font-weight: 700;
    padding: 0 3px;
    line-height: 1;
    pointer-events: none;
}

.badgeFiltrosMovil {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: "menu";
    font-weight: 700;
}

.badgeBusquedaMovil {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    font-size: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: "menu";
    font-weight: 700;
}

@keyframes pulse-border2 {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

/*TABLA BÚSQUEDA MOVIL*/
.divVentanaBuscar {
    transform: scale(0);
    top: 25%;
    border-radius: 15px;
    height: 14%;
    width: 86%;
    left: 10%;
    position: fixed;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
}

.divVentanaBuscar.active-divVentanaBuscarr {
    transform: scale(1);
}

.icon-closeVentanaBuscar {
    width: 7%;
    right: 0%;
    top: 0px;
    cursor: pointer;
    position: absolute;
}

.divTextBuscar {
    top: 1%;
    width: 95%;
    position: absolute;
}

.divTextBuscar label {
    font-size: 1.3rem;
}

.divTextBuscar input {
    width: 90%;
    margin-left: 7%;
}


.divBtnVentanaBuscar {
    width: 100%;
    margin: 0%;
    padding: 0%;
    height: 10%;
    bottom: 0%;
    position: absolute;
}

.btnVentanaBuscar {
    font-size: 1.2rem;
    text-align: center;
    color: #fff;
    font-family: "principal";
    background-color: #014ba0;
    border-radius: 5px;
}

.btnVentanaBuscar:hover {
    background-color: #2174d4;
}

/*PANEL FILTROS MÓVIL - BOTTOM SHEET*/
.divFiltrosMovil {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 72%;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.22);
    transform: translateY(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.divFiltrosMovil.active-divFiltrosMovill {
    transform: translateY(0);
}

.divHeaderFiltrosMovil {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    flex-shrink: 0;
}

.tituloFiltrosMovil {
    font-family: "principal";
    font-size: 1.6rem;
    color: #000;
    margin: 0;
}

.icon-closeFiltrosMovil {
    width: 32px;
    cursor: pointer;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.divCuerpoFiltrosMovil {
    flex: 1;
    overflow-y: auto;
}

.acordeonFiltroMovil {
    border-bottom: 1px solid #e8e8e8;
}

.acordeonHeaderMovil {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "menu";
    font-size: 1.1rem;
    font-weight: 700;
    color: #014ba0;
    cursor: pointer;
    text-align: left;
}

.acordeonHeaderMovil:focus {
    outline: none;
}

.iconAcordeon {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.iconAcordeon.rotado {
    transform: rotate(180deg);
}

.acordeonBodyMovil {
    display: none;
    overflow-y: auto;
    max-height: 220px;
    padding: 0 8px 8px;
}

.acordeonBodyMovil.active {
    display: block;
}

.tableCategoriasMovil {
    color: #000;
    font-family: "menu";
    font-size: 1rem;
    width: 100%;
}

.tableCategoriasMovil td {
    padding: 7px 10px;
}

.tableMarcasMovil {
    color: #000;
    font-family: "menu";
    font-size: 1rem;
    width: 100%;
}

.tableMarcasMovil td {
    padding: 5px 10px;
}

.tableMarcasMovil input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #014ba0;
}

.btnQuitarFiltroMovil {
    display: block;
    font-size: 0.9rem;
    text-align: center;
    color: #014ba0;
    font-family: "menu";
    padding: 6px 0 4px;
    text-decoration: underline;
}

.divMarcasLoadingMovil {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    font-family: "menu";
    font-size: 0.85rem;
    color: #014ba0;
}

.divBtnFiltrosMovil {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.btnFiltroMovil {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-family: "principal";
    font-size: 1.1rem;
    text-decoration: none;
}

.btnLimpiarFiltroMovil {
    background-color: #f0f0f0;
    color: #333;
}

.btnCerrarFiltroMovil {
    background-color: #014ba0;
    color: #fff;
}

.btnCerrarFiltroMovil:hover {
    background-color: #2174d4;
    color: #fff;
}

/* ===== TOAST BIENVENIDA ===== */
@keyframes toastEntrar {
    0%   { opacity: 0; transform: translateX(110%) scale(0.92); }
    60%  { opacity: 1; transform: translateX(-6px) scale(1.01); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastSalir {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to   { opacity: 0; transform: translateX(110%) scale(0.92); }
}

@keyframes toastBarra {
    from { width: 100%; }
    to   { width: 0%; }
}

.toast-bienvenida {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 36px rgba(1, 75, 160, 0.14), 0 2px 10px rgba(0, 0, 0, 0.07);
    padding: 16px 18px 18px 18px;
    min-width: 270px;
    max-width: 320px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    overflow: hidden;
    animation: toastEntrar 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.toast-bienvenida.saliendo {
    animation: toastSalir 0.38s ease-in forwards;
}

.toast-icono-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #013a7a 0%, #0266d6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.toast-contenido {
    flex: 1;
    min-width: 0;
}

.toast-titulo {
    font-family: 'menu', sans-serif;
    font-size: 0.7rem;
    color: #0266d6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.toast-mensaje {
    font-size: 0.9rem;
    color: #1a2a3a;
    font-weight: 500;
    line-height: 1.4;
}

.toast-cerrar {
    background: none;
    border: none;
    color: #c4cdd6;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s ease;
    margin-top: 2px;
}

.toast-cerrar:hover {
    color: #6a7a8a;
}

.toast-barra {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 0 14px;
    background: linear-gradient(90deg, #013a7a, #0266d6);
    animation: toastBarra 4s linear forwards;
}

.toast-sesion {
    border-left: none;
    border-right: 4px solid #e07b00;
}

.toast-icono-sesion {
    background: linear-gradient(135deg, #b35900 0%, #e07b00 100%);
}

.toast-titulo-sesion {
    color: #e07b00;
}

.toast-barra-sesion {
    background: linear-gradient(90deg, #b35900, #e07b00);
    border-radius: 0 0 14px 0;
}