/*
Theme Name:        PeptivaPro Regional
Theme URI:         https://peptivapro.us
Description:       PeptivaPro storefront theme for the United States and Canada, ported from the PeptivaPro EU presentation layer.
Author:            PeptivaPro
Author URI:        https://peptivapro.us
Template:          blocksy
Version:           4.0.2
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       peptivapro
Tags:              woocommerce, multisite, responsive-layout
*/

/* =====================================================================
   DESIGN TOKENS — CSS Custom Properties
   ===================================================================== */
:root {
    /* Brand Colors */
    --color-primary: #8b5ab1;
    /* Purple */
    --color-primary-dark: #4a2c68;
    --color-primary-light: #f2e8fa;
    --color-accent: #d2b7e5;
    --color-accent-dark: #ad86c7;

    /* UI Colors */
    --color-bg: #FFFFFF;
    --color-surface: #F7F8FA;
    --color-surface-alt: #EDEEF2;
    --color-header-bg: #FCFAFF;
    --color-footer-bg: #171026;
    --color-promo-bar: #8b5ab1;
    --color-promo-text: #FFFFFF;

    /* Semantic Colors */
    --color-sale: #E63946;
    --color-sale-bg: #FFF0F1;
    --color-stock-ok: #22C55E;
    --color-stock-low: #F59E0B;
    --color-out-of-stock: #9CA3AF;
    --color-success: #22C55E;
    --color-error: #EF4444;

    /* Text Colors */
    --color-text: #1A1A2E;
    --color-text-secondary: #4B5563;
    --color-text-muted: #9CA3AF;
    --color-text-inverse: #FFFFFF;
    --color-link: #8b5ab1;
    --color-link-hover: #4a2c68;

    /* Borders */
    --color-border: #E5E7EB;
    --color-border-dark: #D1D5DB;

    /* Typography */
    --font-primary: 'Nunito', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 0.9375rem;
    /* 15px */
    --text-md: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: clamp(1.75rem, 4vw, 2.5rem);
    --text-5xl: clamp(2rem, 5vw, 3.25rem);

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    --lh-tight: 1.2;
    --lh-snug: 1.35;
    --lh-normal: 1.6;
    --lh-loose: 1.8;

    /* Spacing */
    --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;
    --space-24: 6rem;

    /* Layout */
    --container-max: 1320px;
    --container-padding: clamp(1rem, 4vw, 2rem);

    /* Border Radius */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-2xl: 0;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.10), 0 4px 10px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-primary: 0 4px 16px rgba(139, 90, 177, 0.30);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Z-index scale */
    --z-promo-bar: 100;
    --z-header: 200;
    --z-dropdown: 300;
    --z-mobile-nav: 400;
    --z-sticky-cta: 500;
    --z-modal: 600;
    --z-toast: 700;

    /* Header heights */
    --promo-bar-h: 40px;
    --header-h: 68px;
    --total-header: calc(var(--promo-bar-h) + var(--header-h));
}
