.modal{width:min(490px,calc(100% - 28px));border:0;border-radius:22px;padding:24px;box-shadow:0 25px 90px #0006;max-height:90vh}.modal::backdrop{background:#0b1a28b9;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-head h2{margin:0 0 18px;font-size:24px}.close-modal{border:0;background:#f1f4f6;width:35px;height:35px;border-radius:50%;font-size:25px}.modal form{display:grid;gap:14px}.modal label{font-weight:800;font-size:13px;display:grid;gap:6px}.modal input,.modal textarea{width:100%;border:1px solid #d7e0e5;border-radius:10px;padding:12px}.modal textarea{min-height:100px}.cart-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e7edf0;padding:14px 0}.cart-row input{width:65px;padding:5px}.cart-row button{border:0;background:transparent;color:#b32e2e}.cart-total{display:flex;justify-content:space-between;margin:20px 0}

/* ==========================================
   GOTAY - CARRITO MODERNO
   ========================================== */

#cart-modal {
    width: min(94%, 570px);
    max-height: 90dvh;
    padding: 28px;
    border: 1px solid #E0E8ED;
    border-radius: 20px;
    background: #FFFFFF;
    color: #14242D;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
}

#cart-modal::backdrop {
    background: rgba(6, 18, 26, .75);
    backdrop-filter: blur(5px);
}

#cart-modal .modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}

#cart-modal .modal-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 22px;
}

#cart-modal .modal-head h2 svg {
    width: 23px;
    color: #F36E22;
}

#cart-items {
    display: grid;
    gap: 13px;
    max-height: 43dvh;
    overflow-y: auto;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 17px;
    border: 1px solid #E4ECF0;
    border-radius: 12px;
    background: #F7FAFC;
}

.cart-product-info {
    display: grid;
    gap: 7px;
    flex: 1 1 150px;
    min-width: 0;
}

.cart-product-name {
    color: #14242D;
    font-size: 14px;
    line-height: 1.4;
}

.cart-product-price {
    color: #738894;
    font-size: 12px;
}

.cart-product-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.cart-quantity {
    display: flex;
    overflow: hidden;
    border: 1px solid #D6E2E9;
    border-radius: 9px;
    background: #FFFFFF;
}

.cart-qty-btn {
    width: 31px;
    height: 35px;
    border: 0;
    background: #EAF2F6;
    color: #14242D;
    font-size: 18px;
    cursor: pointer;
}

.cart-qty-input {
    width: 40px;
    border: 0;
    background: #FFFFFF;
    color: #14242D;
    text-align: center;
    font-size: 13px;
    outline: none;
    appearance: textfield;
}

.cart-product-subtotal {
    font-size: 13px;
    white-space: nowrap;
}

.cart-remove-btn {
    padding: 6px 9px;
    border: 0;
    border-radius: 7px;
    background: #FCEBE8;
    color: #C74332;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.cart-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 35px 15px;
    text-align: center;
}

.cart-empty-icon {
    font-size: 38px;
}

.cart-empty strong {
    font-size: 17px;
}

.cart-empty p {
    max-width: 280px;
    color: #748792;
    font-size: 13px;
    line-height: 1.6;
}

#cart-modal .cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 19px 0;
    border-top: 1px solid #E1E9ED;
    color: #14242D;
}

#cart-modal .cart-total strong:last-child {
    color: #F36E22;
    font-size: 23px;
}

#quote-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 49px;
}

#quote-whatsapp:disabled {
    opacity: .55;
    cursor: not-allowed;
}

@media (max-width: 600px) {

    #cart-modal {
        width: 96%;
        padding: 19px;
    }

    .cart-row {
        align-items: stretch;
    }

    .cart-product-controls {
        justify-content: space-between;
        width: 100%;
    }

    #cart-modal .cart-total strong:last-child {
        font-size: 19px;
    }
}
