/* Dungeon Blocks — design tokens
   Warm charcoal surfaces, parchment text, desaturated gold accents, ember CTA.
   All text pairs meet WCAG AA (see UX plan for measured ratios). */
:root {
    /* surfaces */
    --bg-0: #141210;            /* page */
    --bg-1: #1e1b17;            /* cards, panels, bars */
    --bg-2: #2a2621;            /* inputs, chips, rows, hover */
    --bg-3: #363028;            /* pressed / active */
    --well: #f4f1ea;            /* light product well behind photos */

    /* strokes */
    --border: #4a4238;          /* decorative only */
    --border-input: #7d7262;    /* interactive boundaries (>=3:1) */

    /* text */
    --text-1: #f3eddd;
    --text-2: #c4b9a4;
    --text-3: #9a9083;
    --ink: #1a1410;             /* text on gold fills */

    /* accents */
    --gold: #e3b84f;
    --gold-strong: #f2c94c;
    --ember: #b3261e;
    --ember-hover: #8f1d16;
    --success: #6ccb8b;
    --warn: #f0b44c;
    --danger: #f0705e;
    --danger-text: #ff8a75;

    /* type */
    --font-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* spacing / radius / elevation */
    --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
    --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
    --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-2: 0 8px 24px rgba(0, 0, 0, .45);

    /* motion */
    --t-fast: 120ms; --t-med: 180ms; --t-slow: 240ms;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* layout */
    --topbar-h: 56px;
    --cart-w: 360px;

    /* bootstrap dark-theme bridge */
    --bs-body-bg: var(--bg-0);
    --bs-body-color: var(--text-1);
    --bs-border-color: var(--border);
}

[data-bs-theme="dark"] {
    --bs-body-bg: var(--bg-0);
    --bs-body-color: var(--text-1);
    --bs-secondary-color: var(--text-2);
    --bs-tertiary-bg: var(--bg-2);
    --bs-border-color: var(--border);
}

@media (min-width: 1400px) {
    :root { --cart-w: 400px; }
}
