/* =========================
   CHECKOUT – PREMIUM
========================= */

.checkout-page {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.checkout-header {
    margin-bottom: 3rem;
}

    .checkout-header h1 {
        font-size: 2.2rem;
        font-weight: 800;
    }

    .checkout-header p {
        color: var(--text-muted);
        margin-top: .5rem;
    }

.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* =========================
   PRODUCTOS
========================= */

.checkout-products {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.checkout-product-card {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.checkout-product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.checkout-product-info {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

    .checkout-product-info span {
        font-size: .9rem;
        color: var(--text-muted);
    }

.checkout-product-price {
    font-weight: 700;
    color: var(--accent);
}

/* =========================
   RESUMEN
========================= */

.checkout-summary {
    position: sticky;
    top: 120px;
    padding: 2rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin: 1.5rem 0;
}

.checkout-confirm-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

.checkout-terms {
    margin-top: 1rem;
    font-size: .8rem;
    color: var(--text-muted);
    text-align: center;
}

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

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: relative;
        top: 0;
    }
}

/* =========================
   CHECKOUT – SAINT HUB (Premium)
========================= */

.checkout-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.2rem 5rem;
}

.checkout-header {
    margin: 3rem 0 1.8rem;
}

    .checkout-header h1 {
        font-size: 2.25rem;
        font-weight: 900;
        letter-spacing: .2px;
        margin: 0;
    }

    .checkout-header p {
        margin: .35rem 0 0;
        color: var(--text-muted);
        max-width: 56ch;
    }

.checkout-alert {
    background: rgba(255, 72, 72, .10);
    border: 1px solid rgba(255, 72, 72, .25);
    color: #ffb4b4;
    border-radius: 14px;
    padding: .9rem 1rem;
    margin-bottom: 1.2rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.6rem;
    align-items: start;
}

.checkout-card {
    background: linear-gradient(180deg, rgba(18,18,18,.85), rgba(10,10,10,.85));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 1.35rem;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
    margin-bottom: 1.2rem;
}

.checkout-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1.1rem;
}

.checkout-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.muted {
    color: var(--text-muted);
    font-size: .85rem;
}

.pill {
    font-size: .75rem;
    font-weight: 800;
    padding: .35rem .6rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 200, 107, .35);
    background: rgba(245, 200, 107, .10);
    color: var(--accent);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

    .form-group label {
        font-size: .78rem;
        font-weight: 700;
        color: rgba(255,255,255,.82);
        letter-spacing: .2px;
    }

    .form-group.span-2 {
        grid-column: span 2;
    }

/* Productos */
.checkout-items {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.checkout-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: .85rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
}

    .checkout-item img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,.08);
    }

.item-title {
    display: block;
    font-size: .98rem;
    font-weight: 900;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    color: var(--text-muted);
    font-size: .82rem;
    margin-top: .25rem;
}

.item-price {
    font-weight: 900;
    color: var(--accent);
    white-space: nowrap;
}

/* Resumen */
.checkout-summary {
    position: sticky;
    top: 1.4rem;
    background: linear-gradient(180deg, rgba(20,20,20,.92), rgba(12,12,12,.92));
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    padding: 1.4rem;
    box-shadow: 0 18px 45px rgba(0,0,0,.42);
}

    .checkout-summary h3 {
        margin: 0 0 1rem;
        font-size: 1.05rem;
        font-weight: 900;
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem .9rem;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    margin-bottom: 1rem;
}

.checkout-cta {
    width: 100%;
    padding: .95rem 1rem;
    border-radius: 999px;
    font-weight: 900;
}

.summary-foot {
    margin-top: .95rem;
    text-align: center;
    font-size: .75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

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

    .checkout-summary {
        position: static;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.span-2 {
        grid-column: auto;
    }
}

@media (max-width: 768px) {

    .checkout-page {
        margin: 2rem auto;
        padding: 0 1rem 3rem;
    }

    .checkout-header {
        margin: 2rem 0 1.4rem;
    }

        .checkout-header h1 {
            font-size: 1.9rem;
        }
}
@media (max-width: 768px) {

    .checkout-layout {
        gap: 1.2rem;
    }
}
@media (max-width: 600px) {

    .checkout-card {
        padding: 1.1rem;
        border-radius: 16px;
    }

    .checkout-card-head {
        margin-bottom: .9rem;
    }
}
@media (max-width: 600px) {

    .form-group label {
        font-size: .75rem;
    }

    .form-grid {
        gap: .8rem;
    }
}
@media (max-width: 600px) {

    .checkout-item {
        grid-template-columns: 64px 1fr;
        row-gap: .4rem;
    }

    .item-price {
        grid-column: 2;
        justify-self: start;
        margin-top: .3rem;
    }
}
@media (max-width: 600px) {

    .checkout-summary {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .summary-row {
        padding: .75rem .85rem;
    }

    .checkout-cta {
        padding: 1rem;
        font-size: .95rem;
    }
}
@media (max-width: 480px) {

    .item-title {
        font-size: .95rem;
    }

    .item-meta {
        font-size: .78rem;
    }

    .summary-foot {
        font-size: .7rem;
    }
}
/* =========================
   GUEST WARNING – PREMIUM
========================= */

.guest-premium {
    min-height: calc(100vh - 64px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.guest-card-premium {
    max-width: 760px;
    width: 100%;
    background: radial-gradient(120% 120% at 0% 0%, #141414, #050505);
    border-radius: 22px;
    padding: 2.4rem;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.guest-head {
    text-align: center;
}

.guest-badge {
    display: inline-block;
    font-size: .65rem;
    letter-spacing: .3em;
    color: #f5c451;
    margin-bottom: .6rem;
}

.guest-head h1 {
    font-size: 1.8rem;
    margin-bottom: .6rem;
}

.guest-head p {
    opacity: .75;
    max-width: 520px;
    margin: 0 auto;
}

/* COMPARACIÓN */
.guest-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-top: 2.2rem;
}

.guest-column {
    padding: 1.6rem;
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
}

    .guest-column h3 {
        margin-bottom: .8rem;
    }

    .guest-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .guest-column li {
        margin-bottom: .6rem;
        font-size: .95rem;
    }

.guest-account {
    border-color: rgba(245,196,81,.5);
    position: relative;
}

.guest-highlight {
    position: absolute;
    top: -12px;
    right: 12px;
    background: #f5c451;
    color: #000;
    font-size: .7rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    font-weight: 700;
}

/* TRACKING */
.guest-tracking {
    margin-top: 2.2rem;
}

.tracking-bar-premium {
    display: flex;
    align-items: center;
    margin-top: .8rem;
}

    .tracking-bar-premium .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: .75rem;
        opacity: .4;
    }

        .tracking-bar-premium .step.active {
            opacity: 1;
            color: #f5c451;
        }

        .tracking-bar-premium .step.locked {
            opacity: .25;
        }

    .tracking-bar-premium .dot {
        width: 10px;
        height: 10px;
        background: currentColor;
        border-radius: 50%;
        margin-bottom: .3rem;
    }

    .tracking-bar-premium .line {
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,.15);
        margin: 0 .6rem;
    }

.tracking-lock {
    font-size: .8rem;
    opacity: .6;
    margin-top: .6rem;
}

/* CTA */
.guest-actions-premium {
    margin-top: 2.4rem;
    display: grid;
    gap: .9rem;
}

.btn-guest-muted {
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    font-size: .85rem;
    margin-top: .6rem;
}

/* MOBILE */
@media (max-width: 640px) {

    .guest-compare {
        grid-template-columns: 1fr;
    }

    .guest-card-premium {
        padding: 1.8rem 1.4rem;
    }

    .guest-head h1 {
        font-size: 1.55rem;
    }
}
.guest-list.limited li {
    opacity: .55;
}

.guest-list.full li {
    opacity: .95;
}

.guest-list li {
    padding-left: .6rem;
    border-left: 2px solid rgba(255,255,255,.08);
    margin-bottom: .6rem;
}

.guest-account .guest-list li {
    border-color: rgba(245,196,81,.45);
}
/* CONTINUAR COMO INVITADO – PREMIUM */
.btn-guest-link {
    background: none;
    border: none;
    padding: 0;
    margin-top: .4rem;
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    text-decoration: underline;
    cursor: pointer;
    transition: color .25s ease, opacity .25s ease;
}

    .btn-guest-link:hover {
        color: rgba(255,255,255,.7);
    }

    .btn-guest-link:active {
        opacity: .6;
    }
.price-disclaimer {
    margin-top: .5rem;
    font-size: .75rem;
    color: rgba(255,255,255,.55);
    line-height: 1.4;
}
