/* ==========================================================================
   SCENTVAULT SV - CHECKOUT (WhatsApp Flow)
   ========================================================================== */

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   FORMULARIO Y ENTRADAS
   -------------------------------------------------------------------------- */

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #eae6df;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #eae6df;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.checkout-form textarea {
    min-height: 100px;
    resize: vertical;
}

#backBtn {
    background: none;
    border: none;
    color: #7a7571;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
}

#submitOrderBtn {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#submitOrderBtn:hover {
    background-color: #128C7E;
}

/* --------------------------------------------------------------------------
   RESUMEN DE COMPRA
   -------------------------------------------------------------------------- */

.checkout-right {
    background: #faf9f6;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #eae6df;
    height: fit-content;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px;
    background: white;
    border-radius: 8px;
}

.checkout-item-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   MÓVILES
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
        margin: 20px auto;
    }
}