export const formatPrice = (val) => val.toFixed(2) + ' $' // Strip +1/1 prefix from E.164 phone → 10-digit local format for mask export function normalizePhone (raw) { if (!raw) return '' const digits = raw.replace(/\D/g, '') return digits.length === 11 && digits.startsWith('1') ? digits.slice(1) : digits } // Minimum booking date (J+3) export function minBookingDate () { const d = new Date() d.setDate(d.getDate() + 3) return d.toISOString().slice(0, 10) }