.checkout-form {
    padding: 1.87rem 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    background: white;
}

.checkout-form form {
    margin-top: 1.25rem;
}

.checkout-form .submitBtn {
    margin: 0;
}

.checkout-form .submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkout-form .form-control.is-invalid {
    border-color: var(--secondary-color);
}

.checkout-error {
    display: block;
    margin: 6px 0 0 1.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.checkout-alert {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    background: #fdf2f3;
    color: var(--secondary-color);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.5;
}

.checkout-lines {
    margin-bottom: 1.25rem;
}

.checkout-line {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.checkout-line-thumb {
    position: relative;
    width: 52px;
    height: 52px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.checkout-line-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 6px;
}

.checkout-line-thumb .quantity-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 100px;
    background: var(--primary-color);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-line-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #101010;
    line-height: 1.35;
}

.checkout-line-total {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary-color);
    white-space: nowrap;
}

.checkout-back {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 991px) {
    .checkout-form {
        padding: 1.5rem 1.25rem 2rem;
    }
}
