#checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: Inter;
}

.checkout-back-button {
    font-size: 16px;
    font-weight: 500;
}

.checkout-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.checkout-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background-color: #fff;
    border-radius: 16px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.checkout-section-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-section-double-inputs {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.checkout-section-double-inputs {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.checkout-section-double-inputs input {
    flex: 1;
}

.checkout-section-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-section-input-header {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
}

.checkout-section-input-header-left {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.checkout-city {
    padding: 2px 8px;
    background-color: #cbd5e1;
    color: #475569;
    font-weight: 500;
    font-size: 12px;
    border-radius: 9999px;
}

.checkout-section-input-delivery {
    padding: 8px;
    background-color: #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 8px;
}

.checkout-section-input-delivery-description {
    font-weight: 500;
    font-size: 12px;
}

.checkout-product {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.checkout-product-delivery {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-product-image {
    width: 30%;
}

.checkout-product-title {
    width: 100%;
}

.checkout-product-price {
    width: fit-content;
}

.checkout-title {
    font-family: Lato;
    font-weight: 700;
    font-size: 24px;
}

.checkout-subtitle {
    font-weight: 600;
    font-size: 16px;
}

.checkout-submit {
    width: fit-content;
    height: fit-content;
    background-color: #406AB5 !important;
    border-radius: 8px;
    text-transform: none !important;
    font-family: Inter !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 7px 14px;
    color: #fff;
    align-self: flex-end;
}

.checkout-total {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.lw-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;
}

.lw-box {
    position: relative;
    width: 90%;
    height: 90%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.lw-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.lw-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;

    background: #000;
    color: #fff;
    border: 0;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.summary-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.5);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.summary-box{
    background:#fff;
    padding:30px;
    border-radius:12px;
    width:420px;
    max-width:90%;
}

.summary-line{
    display:flex;
    justify-content:space-between;
    margin:12px 0;
}

.summary-line.total {
    font-weight:bold;
    font-size:18px;
}

.summary-actions{
    display:flex;
    gap:10px;
    margin-top:20px;
}

.summary-actions button{
    flex: 1;
    padding: 8px 12px;
    cursor:pointer;
}

@media (min-width: 768px) {
    #checkout-form {
        flex-direction: row;
        gap: 24px;
    }
    
    .checkout-left {
        width: 60%;
    }

    .checkout-right {
        width: 40%;
    }
}