/*
 * Almacen.do Design Tokens
 * Extracted from DaisyUI theme system — CSS custom properties only.
 * Hex fallback first, OKLCH progressive enhancement second.
 */

:root {
    /* Primary — almacen.do brand blue */
    --color-primary: #60b6f4;
    --color-primary: oklch(74% 0.13 230);
    --color-primary-content: #0a2a40;
    --color-primary-content: oklch(22% 0.04 230);

    /* Secondary — complementary accent */
    --color-secondary: #7c5cbf;
    --color-secondary: oklch(65% 0.15 280);
    --color-secondary-content: #f7f5fc;
    --color-secondary-content: oklch(98% 0.01 280);

    /* Accent — call-to-action, highlights */
    --color-accent: #3bb077;
    --color-accent: oklch(70% 0.18 150);
    --color-accent-content: #1a3328;
    --color-accent-content: oklch(25% 0.02 150);

    /* Neutral — text, backgrounds, borders */
    --color-neutral: #334E68;
    --color-neutral-content: #f5f5f7;
    --color-neutral-content: oklch(98% 0.01 260);

    /* Base surfaces */
    --color-base-100: #ffffff;
    --color-base-100: oklch(100% 0 0);
    --color-base-200: #f2f3f5;
    --color-base-200: oklch(96% 0.005 260);
    --color-base-300: #e4e5e9;
    --color-base-300: oklch(92% 0.01 260);
    --color-base-content: #2b2d42;
    --color-base-content: oklch(25% 0.02 260);

    /* Semantic */
    --color-success: #3bb077;
    --color-success: oklch(65% 0.18 150);
    --color-warning: #d4a72c;
    --color-warning: oklch(75% 0.15 85);
    --color-error: #d94040;
    --color-error: oklch(60% 0.2 25);
    --color-info: #3b82c4;
    --color-info: oklch(65% 0.15 240);

    /* Border radius */
    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows (rgba for universal browser support) */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-md: 0.9375rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Container/layout */
    --container-max: 1280px;
    --container-padding: var(--space-4);
}

@media (min-width: 768px) {
    :root { --container-padding: var(--space-6); }
}

@media (min-width: 1024px) {
    :root { --container-padding: var(--space-8); }
}
