// checkout.jsx — Payment screen (Desktop + Mobile). Credit card + IBAN tabs. const { useState: _pS, useState } = React; function luhnMask(v) { const digits = v.replace(/\D/g, '').slice(0, 16); return digits.replace(/(.{4})/g, '$1 ').trim(); } function expMask(v) { const d = v.replace(/\D/g, '').slice(0, 4); if (d.length <= 2) return d; return d.slice(0, 2) + '/' + d.slice(2); } function CheckoutCard({ L, lang, listing }) { const l = listing; const subtotal = l.price; const buyerFee = Math.round(subtotal * 0.05); // %5 alıcı komisyonu (escrow + KDV) const total = subtotal + buyerFee; const sellerFee = Math.round(subtotal * 0.05); // %5 satıcı komisyonu (info only) const sellerNet = subtotal - sellerFee; const [method, setMethod] = _pS('card'); const [card, setCard] = _pS({ num: '4242 4242 4242 4242', name: 'SERHAT AKIN', exp: '09/28', cvv: '•••' }); const [installment, setInstallment] = _pS(1); return (