/**
 * Shirt color and size catalog for the Pawfectly Yours editor.
 *
 * The "color" here drives the on-screen shirt mockup only — the export render
 * is the print-ready design overlay (no shirt body), which matches how DTG /
 * sublimation production actually works. Including the shirt color in the
 * cart payload would be the responsibility of the order-fulfilment layer,
 * not the export endpoint.
 */

export const SHIRT_COLORS = [
  { id: 'white', label: 'White', hex: '#ffffff', borderHint: '#e8e8ec' },
  { id: 'black', label: 'Black', hex: '#1c1b20', borderHint: '#1c1b20' },
  { id: 'pink', label: 'Pink', hex: '#f5a3b8', borderHint: '#e98aa3' },
  { id: 'blue', label: 'Powder', hex: '#b6cef0', borderHint: '#9bbbe5' },
  { id: 'peach', label: 'Peach', hex: '#fcd7b6', borderHint: '#f0c39a' },
];

export const SHIRT_SIZES = ['S', 'M', 'L', 'XL'];

// Base price; cart total in this iteration is just price × quantity.
export const SHIRT_BASE_PRICE_USD = 28.0;

export function formatUsd(value) {
  return `$${value.toFixed(2)}`;
}
