body {
    background: #f8f9fa;
}
/* ================= SKELETON ================= */

.skeleton {
    position: relative;
    background: #e9ecef;
    overflow: hidden;
    border-radius: 8px;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    animation: loading 1.2s infinite;
}

@keyframes loading {
    100% { transform: translateX(100%); }
}

.skeleton-text { height: 14px; }
.skeleton-title { height: 26px; width: 60%; margin: auto; }
.skeleton-badge { height: 32px; width: 120px; border-radius: 999px; }
.skeleton-box { aspect-ratio: 1 / 1; border-radius: 10px; }


.number-box {
    border: 2px solid #198754;
    border-radius: 10px;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
    background: #fff;
}

.number-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.number-box.selected {
    background: #198754;
    color: #fff;
}

.number-box.sold {
    background: #e9ecef;
    color: #adb5bd;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.checkout-card {
    top: 100px;
}

.mobile-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

/* ================= MOBILE CHECKOUT PRO ================= */

body {
    background: #f8f9fa;
}

.number-box {
    border: 2px solid #198754;
    border-radius: 10px;
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    user-select: none;
    background: #fff;
}

.number-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.number-box.selected {
    background: #198754;
    color: #fff;
}

.number-box.sold {
    background: #e9ecef;
    color: #adb5bd;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.checkout-card {
    top: 100px;
}

.mobile-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

/* ================= MOBILE CHECKOUT PRO ================= */

.mobile-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    background: #ffffff;
    padding: 14px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    border-top: 1px solid #e9ecef;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);

    z-index: 999;
}

/* Info izquierda */
.mobile-checkout .checkout-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mobile-checkout small {
    font-size: 12px;
    color: #6c757d;
}

.mobile-checkout strong {
    font-size: 18px;
    font-weight: 700;
}

/* Botón principal */
.btn-checkout-mobile {
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    white-space: nowrap;
}

/* Animación */
.translate-bottom {
    transform: translateY(110%);
    transition: transform 0.35s ease-in-out;
}

.translate-show {
    transform: translateY(0);
}

/* ================= GRID FIJO (NO SE ESTIRA) ================= */


/* ================= CAJA BASE ================= */

.number-box {
    position: relative;            
    width: 100%;
    aspect-ratio: 1 / 1;

    border: 2px solid #198754;
    border-radius: 10px;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 14px;
    box-sizing: border-box;
    padding-bottom: 20px; /* espacio para el ojito */

}



/* ================= LUPA DISCRETA (SOLO VENDIDOS / RESERVADOS) ================= */

.number-box.sold::after {
    content: "\f341"; /* bi-search */
    font-family: "Bootstrap-icons";
    margin-bottom: -8px
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 14px;
    color: #0d6efd;
    opacity: 0.6;

    pointer-events: none;
}


.number-box.sold:hover::after {
    opacity: 1;
}


/* ================= GRID FIJO (NO SE ESTIRA) ================= */


/* ================= CAJA BASE ================= */

.number-box {
    position: relative;            
    width: 100%;
    aspect-ratio: 1 / 1;

    border: 2px solid #198754;
    border-radius: 10px;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 14px;
    box-sizing: border-box;
}



/* ================= LUPA DISCRETA (SOLO VENDIDOS / RESERVADOS) ================= */

.number-box.sold::after {
    content: "\f341"; /* bi-search */
    font-family: "Bootstrap-icons";
    position: absolute;
    bottom: 6px;
    right: 6px;
    font-size: 15px;
    color: #0d6efd;
    opacity: 0.6;
    pointer-events: none;
    margin-bottom: -8px
}

.number-box.sold:hover::after {
    opacity: 1;
}

@media (max-width: 991px) {
    #numbers {
        padding-bottom: 120px; /* altura real del checkout */
    }
}

.mobile-checkout .label {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #6c757d;
}

.mobile-checkout .value {
    font-size: 19px;
    font-weight: 800;
}

.mobile-checkout {
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.2);
}