/* =========================
   ULTRA COMPACT CHECKOUT
========================= */

.checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 30px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

/* =========================
   CARD
========================= */

.checkout-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.checkout-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.checkout-card p {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.25;
    color: #374151;
}

.checkout-card hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* =========================
   VEHICLES
========================= */

.checkout-vehicle-block {
    margin-bottom: 4px;
}

.checkout-breakdown div {
    font-size: 12px;
    margin-bottom: 3px;
    color: #6b7280;
}

/* =========================
   TOTAL
========================= */

.checkout-total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 2px solid #111827;
}

/* =========================
   RIGHT COLUMN SECTIONS
========================= */

.checkout-section-title {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 6px;
}

.checkout-subdivider {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* =========================
   PAY BUTTON
========================= */

.checkout-pay-btn {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.checkout-pay-btn:hover {
    background: #000;
}

/* =========================
   EDIT LINK
========================= */

.checkout-edit-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #2563eb;
    text-decoration: none;
}

.checkout-edit-link:hover {
    text-decoration: underline;
}

/* =========================
   STICKY SUMMARY
========================= */

@media (min-width: 992px) {
    .checkout-card:first-child {
        position: sticky;
        top: 20px;
        height: fit-content;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .checkout-wrapper {
        padding: 16px 14px 30px;
    }

    .checkout-card {
        padding: 14px;
    }
}
