/**
 * CSS Variables — Energy Theme (Scheme B)
 * 
 * @package Biolocus
 * @version 1.0.0
 */

:root {
    /* ===== ЦВЕТА: ОСНОВНЫЕ ===== */
    --primary: #7FC143;
    --primary-dark: #55A028;
    --primary-light: #9BD35A;
    --primary-grad: linear-gradient(135deg, #7FC143, #4CAF50);
    --primary-rgb: 127, 193, 67;
    
    /* ===== ЦВЕТА: АКЦЕНТНЫЕ ===== */
    --accent: #F5A623;
    --accent-hover: #E09515;
    --accent-light: #FFD180;
    --accent-rgb: 245, 166, 35;
    
    /* ===== ЦВЕТА: СТАТУСЫ ===== */
    --sale: #E53E3E;
    --sale-hover: #C53030;
    --new: #F5A623;
    --hit: #7FC143;
    --success: #38A169;
    --warning: #DD6B20;
    --error: #E53E3E;
    
    /* ===== ЦВЕТА: HEADER ===== */
    --topbar-bg: #3A7D1E;
    --topbar-text: #ffffff;
    --header-bg: #ffffff;
    --header-border: #E5E2D9;
    
    /* ===== ЦВЕТА: МЕНЮ ===== */
    --menu1-bg: #F0F7EC;
    --menu1-text: #1A1A1A;
    --menu1-hover: rgba(127, 193, 67, 0.08);
    --menu2-bg: #4CAF50;
    --menu2-text: #ffffff;
    --menu2-hover: rgba(255, 255, 255, 0.15);
    
    /* ===== ЦВЕТА: ФОН ===== */
    --body-bg: #FFFEF9;
    --card-bg: #ffffff;
    --card-border: #E5E2D9;
    --section-alt: #FFF8E7;
    --overlay-bg: rgba(0, 0, 0, 0.5);
    
    /* ===== ЦВЕТА: ТЕКСТ ===== */
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --text-inverse: #ffffff;
    
    /* ===== ШРИФТЫ ===== */
    --font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --font-size-base: 17px;
    --font-size-sm: 15px;
    --font-size-xs: 13px;
    --font-size-xxs: 11.5px;
    --font-size-lg: 18px;
    --font-size-xl: 22px;
    --font-size-2xl: 26px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;
    --font-size-5xl: 42px;
    
    /* ===== FONT WEIGHTS ===== */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* ===== LINE HEIGHTS ===== */
    --line-height-tight: 1.15;
    --line-height-normal: 1.45;
    --line-height-relaxed: 1.6;
    
    /* ===== ОТСТУПЫ ===== */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* ===== СКРУГЛЕНИЯ ===== */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* ===== ТЕНИ ===== */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 15px rgba(127, 193, 67, 0.35);
    --shadow-primary-lg: 0 6px 25px rgba(127, 193, 67, 0.5);
    --shadow-accent: 0 4px 15px rgba(245, 166, 35, 0.35);
    
    /* ===== ПЕРЕХОДЫ ===== */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
    --transition-slower: 0.4s ease;
    
    /* ===== BREAKPOINTS (для справки в JS) ===== */
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 900px;
    --breakpoint-xl: 1024px;
    --breakpoint-2xl: 1280px;
    
    /* ===== Z-INDEX ===== */
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 1000;
    --z-modal-backdrop: 5000;
    --z-modal: 5500;
    --z-tooltip: 6000;
    --z-mobile-bar: 6500;
    --z-toast: 9000;
    --z-top: 9999;
    
    /* ===== CONTAINER ===== */
    --container-max: 1280px;
    --container-padding: 20px;
    
    /* ===== HEADER HEIGHTS ===== */
    --topbar-height: 38px;
    --header-height: 72px;
    --menu1-height: 46px;
    --menu2-height: 42px;
    --sticky-height: 60px;
    --mobile-bar-height: 60px;
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0s;
        --transition-normal: 0s;
        --transition-slow: 0s;
        --transition-slower: 0s;
    }
}

/* ===== DARK MODE (future) ===== */
/*
@media (prefers-color-scheme: dark) {
    :root {
        --body-bg: #1A1A1A;
        --card-bg: #2D2D2D;
        --text-dark: #F5F5F5;
        --text-mid: #CCCCCC;
        --text-light: #999999;
    }
}
*/