/* Main CSS - Artisan Fair/Ярмарка Style for Bag4Moms Marketplace */

/* ==========================================
   СВЕТЛАЯ ТЕМА (по умолчанию)
   ========================================== */
:root {
    --telegram-bg: var(--tg-theme-bg-color, #faf8f3);
    --telegram-text: var(--tg-theme-text-color, #3e2723);
    --telegram-hint: var(--tg-theme-hint-color, #8d6e63);
    --telegram-link: var(--tg-theme-link-color, #d84315);
    --telegram-button: var(--tg-theme-button-color, #d84315);
    --telegram-button-text: var(--tg-theme-button-text-color, #ffffff);
    
    /* Ярмарочная палитра - тёплые народные цвета (СВЕТЛАЯ ТЕМА) */
    --fair-terracotta: #d84315;    /* Терракота - главный акцент */
    --fair-rust: #bf360c;          /* Ржавчина */
    --fair-ochre: #f4a460;         /* Охра */
    --fair-mustard: #daa520;       /* Горчица */
    --fair-clay: #a0522d;          /* Глина */
    --fair-wood: #8b4513;          /* Дерево */
    --fair-linen: #faf8f3;         /* Лён */
    --fair-canvas: #f5f0e8;        /* Холст */
    --fair-straw: #f4e4c1;         /* Солома */
    --fair-sage: #8a9a5b;          /* Шалфей */
    --fair-burgundy: #7f3f3f;      /* Бордо */
    
    --primary-gradient: linear-gradient(135deg, #d84315 0%, #bf360c 100%);
    --secondary-gradient: linear-gradient(135deg, #f4a460 0%, #daa520 100%);
    --warm-gradient: linear-gradient(135deg, #a0522d 0%, #8b4513 100%);
    --natural-gradient: linear-gradient(135deg, #faf8f3 0%, #f5f0e8 100%);
    --earth-gradient: linear-gradient(135deg, #f4e4c1 0%, #f4a460 100%);
    
    --primary-color: #d84315;
    --secondary-color: #f4a460;
    --accent-color: #daa520;
    --success-color: #8a9a5b;
    --text-color: #3e2723;
    --text-light: #5d4037;
    --text-muted: #6d4c41;
    --border-color: rgba(216, 67, 21, 0.15);
    --bg-light: #faf8f3;
    --bg-canvas: #f5f0e8;
    --bg-body: linear-gradient(135deg, #faf8f3 0%, #f4e4c1 50%, #f5f0e8 100%);
    --shadow-warm: 0 6px 24px rgba(216, 67, 21, 0.2);
    --shadow-earth: 0 4px 16px rgba(160, 82, 45, 0.15);
    --shadow-soft: 0 2px 12px rgba(62, 39, 35, 0.1);
    --glass-bg: rgba(250, 248, 243, 0.92);
    --glass-border: rgba(216, 67, 21, 0.2);
    --card-bg: #ffffff;
    --texture-opacity: 0.4;
}

/* ==========================================
   ТЁМНАЯ ТЕМА (автоматически по системе)
   ========================================== */
@media (prefers-color-scheme: dark) {
    :root {
        /* Тёмная ярмарочная палитра */
        --fair-terracotta: #ff6b3d;    /* Яркая терракота для темноты */
        --fair-rust: #ff5722;          /* Яркая ржавчина */
        --fair-ochre: #ffb74d;         /* Светлая охра */
        --fair-mustard: #ffd54f;       /* Светлая горчица */
        --fair-clay: #d7a076;          /* Светлая глина */
        --fair-wood: #bc8f6f;          /* Светлое дерево */
        --fair-linen: #2a2520;         /* Тёмный лён */
        --fair-canvas: #1e1b17;        /* Тёмный холст */
        --fair-straw: #3a3528;         /* Тёмная солома */
        --fair-sage: #9caf6d;          /* Светлый шалфей */
        --fair-burgundy: #c77676;      /* Светлый бордо */
        
        --primary-gradient: linear-gradient(135deg, #ff6b3d 0%, #ff5722 100%);
        --secondary-gradient: linear-gradient(135deg, #ffb74d 0%, #ffd54f 100%);
        --warm-gradient: linear-gradient(135deg, #d7a076 0%, #bc8f6f 100%);
        --natural-gradient: linear-gradient(135deg, #2a2520 0%, #1e1b17 100%);
        --earth-gradient: linear-gradient(135deg, #3a3528 0%, #ffb74d 100%);
        
        --primary-color: #ff6b3d;
        --secondary-color: #ffb74d;
        --accent-color: #ffd54f;
        --success-color: #9caf6d;
        --text-color: #e8e6e3;
        --text-light: #d4d2cf;
        --text-muted: #a8a5a2;
        --border-color: rgba(255, 107, 61, 0.2);
        --bg-light: #1e1b17;
        --bg-canvas: #2a2520;
        --bg-body: linear-gradient(135deg, #1a1714 0%, #2a2520 50%, #1e1b17 100%);
        --shadow-warm: 0 6px 24px rgba(255, 107, 61, 0.3);
        --shadow-earth: 0 4px 16px rgba(215, 160, 118, 0.2);
        --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.4);
        --glass-bg: rgba(42, 37, 32, 0.85);
        --glass-border: rgba(255, 107, 61, 0.25);
        --card-bg: #2a2520;
        --texture-opacity: 0.2;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@400;600;700&family=Comfortaa:wght@400;600;700&display=swap');

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-body);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* 🔥 Унификация шрифта - Open Sans для всего сайта */
* {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Текстура как на ярмарке - дерево/ткань */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, rgba(139, 69, 19, 0.03) 0px, transparent 1px, transparent 3px, rgba(139, 69, 19, 0.03) 4px),
        repeating-linear-gradient(0deg, rgba(139, 69, 19, 0.03) 0px, transparent 1px, transparent 3px, rgba(139, 69, 19, 0.03) 4px);
    opacity: var(--texture-opacity);
    pointer-events: none;
    z-index: 1;
}

/* Декоративные элементы ярмарки */
body::after {
    content: '🎪';
    position: fixed;
    top: 10px;
    right: 10px;
    font-size: 40px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.app-container {
    max-width: 100vw;
    min-height: 100vh;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* Header with Glass Morphism + Navigation */
.header {
    background: transparent;
    border-bottom: none;
    padding: 30px 20px 20px;
    box-shadow: none;
    z-index: 100;
    animation: fadeInUp 0.6s ease;
}

/* 🎪 HERO SECTION - Объединённый header + витрина */
.hero-section {
    position: relative;
    background: var(--primary-gradient);
    padding-bottom: 60px;
    margin-bottom: 40px;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 10px 40px rgba(216, 67, 21, 0.25);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(244, 164, 96, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(218, 165, 32, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .header {
    position: relative;
    z-index: 2;
}

.hero-section .logo {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-section .tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-section .catalog-preview {
    position: relative;
    z-index: 2;
    padding-top: 20px;
}

.hero-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-section .catalog-filters {
    margin-bottom: 30px;
}

.hero-section .filter-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-section .filter-btn:hover,
.hero-section .filter-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-section {
    text-align: left;
}

.logo {
    font-family: 'Comfortaa', 'Merriweather', serif;
    font-size: 28px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.tagline {
    font-size: 11px;
    color: var(--fair-ochre);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 10px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: rgba(216, 67, 21, 0.08);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(216, 67, 21, 0.3);
}

/* Mobile Navigation */
@media (max-width: 640px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .logo-section {
        text-align: center;
    }
    
    .main-nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ==========================================
   🚀 ПАНЕЛЬ БЫСТРОГО ДОСТУПА
   ========================================== */
.quick-access-panel {
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 85px;
    z-index: 90;
    animation: fadeInUp 0.8s ease;
}

.quick-access-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.quick-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-earth);
    border-color: var(--primary-color);
}

.quick-btn:active {
    transform: translateY(-1px);
}

.quick-btn-primary {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-warm);
}

.quick-btn-primary:hover {
    box-shadow: 0 8px 28px rgba(216, 67, 21, 0.35);
    border-color: var(--fair-rust);
}

.quick-btn-primary .quick-text {
    color: white;
}

.quick-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.quick-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.quick-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.quick-btn-primary .quick-label {
    color: white;
}

.quick-desc {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

.quick-btn-primary .quick-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* Мобильные стили для панели */
@media (max-width: 640px) {
    .quick-access-panel {
        top: 110px;
        padding: 12px 16px;
    }
    
    .quick-access-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .quick-btn {
        padding: 12px 16px;
    }
    
    .quick-icon {
        font-size: 24px;
    }
    
    .quick-label {
        font-size: 13px;
    }
    
    .quick-desc {
        font-size: 10px;
    }
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.back-btn, .settings-btn {
    background: none;
    border: none;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.back-btn:active, .settings-btn:active {
    transform: scale(0.9);
}

/* Main Content */
.main-content {
    padding: 0;
    animation: fadeInUp 0.8s ease;
}

/* Hero Section */
.hero-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.08) 0%, rgba(244, 164, 96, 0.12) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '🎪🎨🧶';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    opacity: 0.1;
    letter-spacing: 20px;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Comfortaa', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat .stat-value {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stat .stat-value {
        font-size: 28px;
    }
}

/* Catalog Filters */
.catalog-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(216, 67, 21, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(216, 67, 21, 0.3);
}

.catalog-preview {
    padding: 40px 20px;
    background: var(--card-bg);
    max-width: 1400px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.03) 0%, rgba(244, 164, 96, 0.05) 100%);
    margin: 0 auto;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-feature {
    padding: 30px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(216, 67, 21, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.about-feature h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.catalog-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Comfortaa', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.catalog-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Карусель товаров */
.products-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

.products-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    
    /* Скрыть скроллбар */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.products-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Touch scroll optimization */
.products-carousel {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.products-carousel .product-card {
    flex: 0 0 280px;
    max-width: 280px;
    scroll-snap-align: start;
}

/* Кнопка "Ещё" */
.carousel-more {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
}

.btn-more {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.08) 0%, rgba(244, 164, 96, 0.12) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.15);
}

.btn-more:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(216, 67, 21, 0.3);
}

.btn-more:active {
    transform: translateY(-1px) scale(1.02);
}

@media (max-width: 640px) {
    .products-carousel .product-card {
        flex: 0 0 240px;
        max-width: 240px;
    }
    
    .btn-more {
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* ====================================
   PRODUCT MODAL (Donald Norman UX)
   ==================================== */

.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.product-modal-content {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 1001;
}

.product-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
}

.product-modal-close:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.product-modal-image {
    border-radius: 16px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
}

.product-modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-modal-title {
    font-family: 'Comfortaa', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.product-modal-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.product-modal-price {
    font-family: 'Merriweather', serif;
    font-size: 32px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-modal-rating {
    font-size: 16px;
    color: var(--text-light);
    padding: 8px 16px;
    background: rgba(244, 164, 96, 0.1);
    border-radius: 20px;
}

.product-modal-seller {
    font-size: 16px;
    color: var(--text-light);
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.product-modal-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    padding: 20px;
    background: var(--bg-canvas);
    border-radius: 12px;
}

.product-modal-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-muted);
    padding: 12px 20px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
}

.location-icon {
    font-size: 20px;
}

.product-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.product-modal-actions .btn {
    flex: 1;
}

.product-modal-guarantee {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: rgba(138, 154, 91, 0.05);
    border-radius: 12px;
    margin-top: 20px;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
}

.guarantee-item span {
    font-size: 20px;
}

/* 📦 Дополнительные детали товара */
.product-modal-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-canvas);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-content {
    flex: 1;
}

.detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.5;
}

/* 🚀 ЭФФЕКТНАЯ КНОПКА в стиле Netlify Drop */
.about-cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-how-it-works {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 40px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 30px rgba(216, 67, 21, 0.3),
        0 0 0 0 rgba(216, 67, 21, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-how-it-works:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(216, 67, 21, 0.4),
        0 0 30px rgba(216, 67, 21, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.btn-how-it-works:active {
    transform: translateY(-2px) scale(0.98);
}

/* 🌟 Animated Glow */
.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-how-it-works:hover .btn-glow {
    opacity: 1;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
    }
}

.btn-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.btn-content {
    flex: 1;
    text-align: left;
}

.btn-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.btn-arrow {
    font-size: 24px;
    color: #ffffff;
    transition: transform 0.3s;
}

.btn-how-it-works:hover .btn-arrow {
    transform: translateX(5px);
}

/* Mobile */
@media (max-width: 768px) {
    .btn-how-it-works {
        padding: 20px 30px;
        gap: 15px;
    }
    
    .btn-icon {
        font-size: 28px;
    }
    
    .btn-title {
        font-size: 18px;
    }
    
    .btn-subtitle {
        font-size: 12px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-section {
        border-radius: 0 0 24px 24px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .product-modal-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }
    
    .product-modal-image {
        min-height: 300px;
        position: relative;
    }
    
    .product-modal-title {
        font-size: 22px;
    }
    
    .product-modal-price {
        font-size: 26px;
    }
    
    .product-modal-details {
        padding: 16px;
        gap: 12px;
    }
    
    .detail-item {
        padding: 12px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 12px;
    }
    
    .detail-icon {
        font-size: 20px;
    }
    
    .detail-label {
        font-size: 11px;
    }
    
    .detail-value {
        font-size: 13px;
    }
    
    .product-modal-actions {
        flex-direction: column;
    }
    
    .product-modal-guarantee {
        gap: 10px;
        padding: 16px;
    }
    
    .guarantee-item {
        font-size: 13px;
    }
}

/* ====================================
   PAGES STYLES
   ==================================== */

/* About Page */
.about-page {
    padding: 20px;
}

.about-hero,
.contacts-hero,
.help-hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.08) 0%, rgba(244, 164, 96, 0.12) 100%);
    border-radius: 20px;
    margin-bottom: 40px;
}

.page-title {
    font-family: 'Comfortaa', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

/* Mission Section */
.mission-section,
.story-section,
.join-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.mission-content,
.story-content,
.join-content {
    text-align: center;
}

.mission-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Values Grid */
.values-section,
.stats-section {
    padding: 60px 20px;
    background: var(--card-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.value-card {
    padding: 32px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-warm);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.value-title {
    font-family: 'Comfortaa', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.value-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Timeline */
.story-timeline {
    max-width: 700px;
    margin: 40px auto 0;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 16px 24px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
}

.timeline-title {
    font-family: 'Comfortaa', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.stat-card {
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.08) 0%, rgba(244, 164, 96, 0.12) 100%);
    border-radius: 16px;
    text-align: center;
}

.stat-number {
    font-family: 'Merriweather', serif;
    font-size: 48px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Join Steps */
.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 40px auto;
}

.join-step {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-title {
    font-family: 'Comfortaa', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.step-description {
    font-size: 14px;
    color: var(--text-muted);
}

.join-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page */
.contacts-page {
    padding: 20px;
}

.contact-methods {
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    padding: 40px 32px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-warm);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.contact-title {
    font-family: 'Comfortaa', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.contact-description {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-contact {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-warm);
}

/* FAQ */
.faq-section {
    padding: 60px 20px;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    padding: 24px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
}

.faq-question {
    font-family: 'Comfortaa', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Feedback & Hours */
.feedback-section,
.hours-section {
    padding: 60px 20px;
}

.feedback-content,
.support-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.feedback-text,
.support-text {
    font-size: 16px;
    color: var(--text-light);
    margin: 20px 0;
}

.feedback-form,
.support-buttons {
    margin-top: 32px;
}

.form-note {
    padding: 20px;
    background: rgba(244, 164, 96, 0.1);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: left;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 40px auto;
}

.hours-card {
    padding: 32px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.hours-day {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.hours-time {
    font-size: 24px;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hours-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Help Page */
.help-page {
    padding: 20px;
}

.quickstart-section {
    padding: 60px 20px;
}

.guide-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.guide-tab {
    padding: 12px 32px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.guide-tab.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
}

.guide-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.guide-content.active {
    display: block;
}

.guide-title {
    font-family: 'Comfortaa', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 32px;
}

/* Steps List */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.step-item .step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin: 0;
}

.step-content h4 {
    font-family: 'Comfortaa', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Features & Tips */
.features-section,
.tips-section,
.safety-section,
.support-section {
    padding: 60px 20px;
}

.features-grid,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.feature-card,
.tip-card {
    padding: 32px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover,
.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-color);
}

.feature-icon,
.tip-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-title,
.tip-title {
    font-family: 'Comfortaa', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0 8px 24px;
    font-size: 14px;
    color: var(--text-light);
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.tip-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Safety */
.safety-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.safety-card {
    padding: 32px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
}

.safety-title {
    font-family: 'Comfortaa', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.safety-list {
    list-style: none;
    padding: 0;
}

.safety-list li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.safety-list li:last-child {
    border-bottom: none;
}

/* Support Section */
.support-section {
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.08) 0%, rgba(244, 164, 96, 0.12) 100%);
}

.support-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons with Modern Style */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-slate);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary:hover, .btn-primary:active {
    box-shadow: 0 8px 30px rgba(74, 85, 104, 0.3);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--fair-terracotta);
    border: 2px solid var(--fair-ochre);
    box-shadow: 0 4px 15px rgba(244, 164, 96, 0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-secondary:hover, .btn-secondary:active {
    background: var(--secondary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

/* Ярмарочный блок "нет товаров" */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    margin: 40px 0;
    background: linear-gradient(135deg, rgba(244, 164, 96, 0.08) 0%, rgba(218, 165, 32, 0.05) 100%);
    border-radius: 24px;
    border: 3px dashed var(--fair-ochre);
    position: relative;
    overflow: hidden;
}

.empty-state::before {
    content: '🎉🎪🎈';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    opacity: 0.15;
    letter-spacing: 20px;
}

.empty-state-icon {
    font-size: 96px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(216, 67, 21, 0.2));
}

.empty-state-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--fair-terracotta);
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(216, 67, 21, 0.1);
}

.empty-state-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.empty-state-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.empty-state-cta {
    display: inline-block;
    padding: 18px 40px;
    background: var(--primary-gradient);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-warm);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.empty-state-cta::before {
    content: '✨';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    animation: sparkle 2s ease-in-out infinite;
}

.empty-state-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 32px rgba(216, 67, 21, 0.35);
}

.empty-state-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.empty-state-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--card-bg);
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

.empty-state-feature-icon {
    font-size: 20px;
}

@keyframes sparkle {
    0%, 100% { 
        transform: translateY(-50%) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-50%) rotate(180deg) scale(1.2);
        opacity: 0.7;
    }
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
    min-height: 56px;
    font-weight: 700;
}

.btn-outline {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.15);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(216, 67, 21, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Welcome Section - Ultra Modern */
.welcome-section {
    margin: 30px 0;
    animation: fadeInUp 1s ease;
}

.welcome-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--primary-gradient);
    opacity: 0.05;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.icon-large {
    font-size: 80px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.welcome-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.2;
}

.welcome-card p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Products Grid - Modern Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.product-card:hover, .product-card:active {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px) scale(1.02);
}

.product-card:hover::after {
    opacity: 0.05;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    position: relative;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 16px;
    position: relative;
    z-index: 1;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-price {
    font-size: 18px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.product-seller {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

/* Loading & Empty States - 🌟 Красивый дизайн */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 20px;
}

.loading::before {
    content: '🌟';
    font-size: 48px;
    animation: spin 2s linear infinite, pulse 1.5s ease-in-out infinite;
}

.loading::after {
    content: 'Загрузка...';
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 80px 24px;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.empty-state .icon-large {
    font-size: 100px;
    opacity: 0.3;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 16px;
}

/* How It Works - Интерактивная волшебная форма */
.how-it-works {
    margin: 50px auto;
    padding: 60px 20px;
    max-width: 1000px;
    animation: fadeInUp 1.2s ease;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--cosmo-pink);
    text-align: center;
    text-shadow: 0 2px 15px rgba(255, 23, 68, 0.2);
    letter-spacing: -1px;
    text-transform: none;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 40px;
    margin-top: -5px;
}

/* 🌟 Индикатор прогресса */
.progress-indicator {
    margin-bottom: 50px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--glass-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(216, 67, 21, 0.5);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.progress-step-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    background: var(--bg-canvas);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s ease;
}

.progress-step.active .progress-step-circle {
    border-color: var(--primary-color);
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.4);
    transform: scale(1.1);
}

.progress-step.completed .progress-step-circle {
    border-color: #4ade80;
    background: #4ade80;
    color: white;
}

.progress-step.completed .progress-step-circle::after {
    content: '✓';
    position: absolute;
    font-size: 20px;
}

.progress-step-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

.progress-step.active .progress-step-label {
    color: var(--primary-color);
}

/* 🌟 Интерактивные шаги */
.interactive-steps {
    position: relative;
    min-height: 500px;
}

.interactive-step {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.interactive-step.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.step-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 12px;
}

.step-description {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 🎁 Преимущества */
.step-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-canvas);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 24px;
    flex-shrink: 0;
}

/* 🏪 Фичи */
.step-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.feature-card {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: var(--bg-canvas);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
    font-size: 14px;
}

.feature-text {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

/* 📊 Статистика */
.step-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-box {
    text-align: center;
    padding: 24px 16px;
    background: var(--primary-gradient);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.3);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ✨ Сообщение успеха */
.success-message {
    background: linear-gradient(135deg, rgba(138, 154, 91, 0.1) 0%, rgba(216, 67, 21, 0.05) 100%);
    padding: 24px;
    border-radius: 16px;
    border: 2px solid var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.success-icon {
    font-size: 40px;
    flex-shrink: 0;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-message p {
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

/* 🖘️ Кнопки действий */
.step-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-step {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 2px solid transparent;
}

.btn-step.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(216, 67, 21, 0.3);
}

.btn-step.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 67, 21, 0.4);
}

.btn-step.btn-primary:active {
    transform: translateY(0);
}

.btn-step.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

.btn-step.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--bg-canvas);
}

.btn-step.btn-large {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-icon {
    font-size: 18px;
}

/* 📱 Адаптивность */
@media (max-width: 768px) {
    .interactive-step {
        padding: 24px 20px;
    }
    
    .step-icon {
        font-size: 48px;
    }
    
    .step-title {
        font-size: 22px;
    }
    
    .step-features {
        grid-template-columns: 1fr;
    }
    
    .step-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-box {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .btn-step {
        width: 100%;
        justify-content: center;
    }
    
    .progress-steps {
        gap: 8px;
    }
    
    .progress-step-label {
        font-size: 11px;
    }
    
    .progress-step-circle {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* Bottom Navigation - Modern Glass + Donald Norman Principles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Мобильная: 2 кнопки */
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
    transition: all 0.3s ease;
}

/* ПК версия: 3 кнопки в ряд (красивая, полная) */
@media (min-width: 769px) {
    .bottom-nav {
        grid-template-columns: repeat(3, 1fr); /* ПК: всегда 3 кнопки */
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    }
}

/* Мобильная версия: кнопка "Присоединиться" на всю ширину сверху */
@media (max-width: 768px) {
    .bottom-nav.with-join {
        grid-template-areas:
            "join join"
            "showcase howto";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    }
    
    /* 🌍 Если нет кнопки "Присоединиться" - 2 кнопки в 1 ряд */
    .bottom-nav:not(.with-join) {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    }
    
    .bottom-nav.with-join .nav-join {
        grid-area: join;
        border-radius: 12px;
        margin-bottom: 4px;
    }
    
    .bottom-nav.with-join .nav-item:nth-child(2) {
        grid-area: showcase;
    }
    
    .bottom-nav.with-join .nav-item:nth-child(3) {
        grid-area: howto;
    }
    
    /* 💡 Улучшаем читаемость кнопок */
    .nav-label {
        font-size: 14px;
        font-weight: 700;
        color: #2c3e50;
    }
    
    .nav-desc {
        font-size: 11px;
        color: #7f8c8d;
        font-weight: 500;
    }
    
    /* 🏪 Увеличиваем иконки для удобства */
    .nav-icon {
        font-size: 32px;
    }
    
    /* 🌻 Светлый фон для уютности */
    .bottom-nav {
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    }
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Affordance (Дональд Норман): подсказка кликабельности */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--primary-gradient);
    opacity: 0.1;
    transition: height 0.3s ease;
}

.nav-item:hover::after {
    height: 100%;
}

.nav-item:active {
    transform: scale(0.95);
}

/* Feedback (Дональд Норман): визуальный отклик при hover */
.nav-item:hover .nav-icon {
    transform: scale(1.15);
}

.nav-item:hover .nav-label {
    color: var(--primary-color);
}

/* Кнопка "Присоединиться" - выделяем визуально */
.nav-join {
    background: var(--primary-gradient);
    color: white !important;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -2px 12px rgba(216, 67, 21, 0.3);
}

.nav-join .nav-label,
.nav-join .nav-desc {
    color: white !important;
}

.nav-join:hover {
    box-shadow: 0 -4px 20px rgba(216, 67, 21, 0.5);
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.nav-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.nav-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.nav-desc {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1;
}

/* Catalog Preview */
.catalog-preview {
    margin: 40px 0;
}

.catalog-preview .section-title {
    color: white;
}

/* Stats Section */
.stats-section {
    margin: 20px 0;
    animation: fadeInUp 0.8s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

/* Activity Feed */
.activity-feed {
    margin: 30px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1s ease;
}

.activity-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.activity-text {
    font-size: 14px;
    color: var(--text-color);
    flex: 1;
}

.activity-text strong {
    color: var(--primary-color);
}

.activity-time {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
    margin-left: 10px;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

.product-badge.hot {
    background: var(--primary-gradient);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-warm);
}

.product-badge.new {
    background: var(--secondary-gradient);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-earth);
}

/* Reviews Section */
.reviews-section {
    margin: 50px auto;
    padding: 60px 20px;
    max-width: 1000px;
    animation: fadeInUp 1.4s ease;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.reviewer-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.review-rating {
    font-size: 14px;
    margin-top: 2px;
}

.review-text {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 15px;
    font-style: italic;
    margin-bottom: 12px;
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* Norman UX Principles */

/* 1. Affordances - Clear Button Hints */
.btn-with-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.btn-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-text {
    font-size: 16px;
    font-weight: 600;
}

.btn-hint {
    font-size: 12px;
    opacity: 0.85;
    font-weight: 400;
}

/* 2. Signifiers - Trust Signals */
.trust-signals {
    display: flex;
    justify-content: space-around;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px dashed rgba(0,0,0,0.1);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.trust-icon {
    font-size: 28px;
}

.trust-text {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
}

/* 3. Feedback - Product Action Hints */
.product-action-hint {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
}

.product-card:hover .product-action-hint {
    opacity: 1;
}

/* 4. Visibility - Catalog Header */
.catalog-header {
    text-align: center;
    margin-bottom: 20px;
}

.catalog-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* 5. Feedback - Toast Notifications (Улучшенные) */
.toast-notification {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-warm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
    max-width: 90%;
    text-align: center;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification.toast-success {
    background: linear-gradient(135deg, rgba(138, 154, 91, 0.15) 0%, rgba(138, 154, 91, 0.08) 100%);
    border-color: var(--success-color);
    color: var(--success-color);
}

.toast-notification.toast-success::before {
    content: '✅ ';
    font-size: 18px;
}

.toast-notification.toast-error {
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.15) 0%, rgba(216, 67, 21, 0.08) 100%);
    border-color: var(--fair-terracotta);
    color: var(--fair-terracotta);
}

.toast-notification.toast-error::before {
    content: '⚠️ ';
    font-size: 18px;
}

.toast-notification.toast-info {
    background: linear-gradient(135deg, rgba(244, 164, 96, 0.15) 0%, rgba(218, 165, 32, 0.08) 100%);
    border-color: var(--fair-ochre);
    color: var(--text-color);
}

.toast-notification.toast-info::before {
    content: '💬 ';
    font-size: 18px;
}

/* 6. Constraints - Disabled States */
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    position: relative;
}

.btn:disabled::after {
    content: '🚫 Недоступно';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

/* 7. Mapping - Visual Hierarchy */
.product-card {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.product-card:active {
    transform: scale(0.97);
}

/* 8. Consistency - Unified Interactive Elements */
button, .btn, .product-card, .nav-item {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* 9. Error Prevention - Visual States */
.product-card:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    cursor: pointer;
}

.product-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--cosmo-pink);
    border-radius: 20px;
    opacity: 0.5;
    pointer-events: none;
    animation: pulse 1.5s infinite;
}

/* Ярмарочные декоративные элементы */
.fair-banner {
    position: fixed;
    font-size: 48px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
    animation: sway 4s ease-in-out infinite;
}

.fair-banner-1 {
    top: 20px;
    left: 20px;
}

.fair-banner-2 {
    top: 80px;
    right: 20px;
    animation-delay: 1s;
}

.fair-ornament {
    position: fixed;
    font-size: 32px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    animation: float 5s ease-in-out infinite;
}

.fair-ornament-1 {
    bottom: 100px;
    left: 40px;
    animation-delay: 0.5s;
}

.fair-ornament-2 {
    top: 50%;
    right: 30px;
    animation-delay: 1.5s;
}

.fair-ornament-3 {
    bottom: 200px;
    right: 60px;
    animation-delay: 2s;
}

@keyframes sway {
    0%, 100% { 
        transform: rotate(-5deg);
    }
    50% { 
        transform: rotate(5deg);
    }
}

/* Ярмарочная типографика */
.stat-number,
.product-price {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

/* Ярмарочные разделители */
.catalog-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-gradient);
    margin: 16px auto 0;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(216, 67, 21, 0.3);
}

/* About Section */
.about-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.05) 0%, rgba(244, 164, 96, 0.08) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-feature {
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-warm);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

.about-feature h3 {
    font-family: 'Comfortaa', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Sellers Section */
.sellers-section {
    padding: 60px 20px;
    background: var(--card-bg);
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-align: center;
}

.sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.seller-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.seller-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-warm);
    border-color: var(--primary-color);
}

.seller-avatar {
    font-size: 64px;
    margin-bottom: 16px;
    animation: float 4s ease-in-out infinite;
}

.seller-name {
    font-family: 'Comfortaa', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.seller-category {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-style: italic;
}

.seller-rating {
    font-size: 14px;
    color: var(--fair-ochre);
    font-weight: 600;
    margin-bottom: 16px;
}

.seller-stats {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.seller-stats span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

@media (max-width: 640px) {
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .sellers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .seller-card {
        padding: 20px 16px;
    }
    
    .seller-avatar {
        font-size: 48px;
    }
}

/* Responsive Design */
@media (min-width: 768px) {
    .app-container {
        max-width: 768px;
        margin: 0 auto;
        box-shadow: 0 0 50px rgba(0,0,0,0.3);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .welcome-card {
        padding: 50px 40px;
    }
    
    .icon-large {
        font-size: 100px;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        gap: 20px;
    }
    
    .stat-card {
        padding: 28px 16px;
    }
    
    .stat-icon {
        font-size: 40px;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 🎪 Показываем "Как это работает?" только на десктопе (1024px+) */
    .how-it-works {
        display: block !important;
    }
}

/* 📱 Скрываем "Как это работает?" на смартфонах */
@media (max-width: 1023px) {
    .how-it-works {
        display: none !important;
    }
}

/* ==========================================
   💡 ПЛАВАЮЩАЯ КНОПКА ФИДБЭКА (FAB)
   ========================================== */
.feedback-fab {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    
    display: flex;
    align-items: center;
    gap: 8px;
    
    padding: 14px 20px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    
    box-shadow: 0 4px 20px rgba(216, 67, 21, 0.4);
    cursor: pointer;
    
    font-size: 14px;
    font-weight: 700;
    
    transition: all 0.3s ease;
    animation: fadeInUp 1.5s ease;
}

.feedback-fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(216, 67, 21, 0.6);
}

.feedback-fab:active {
    transform: translateY(-1px) scale(1.02);
}

.fab-icon {
    font-size: 24px;
    line-height: 1;
}

.fab-text {
    font-size: 14px;
    white-space: nowrap;
}

/* Мобильная адаптация FAB */
@media (max-width: 640px) {
    .feedback-fab {
        bottom: 85px;
        right: 16px;
        padding: 12px 16px;
    }
    
    .fab-icon {
        font-size: 20px;
    }
    
    .fab-text {
        font-size: 12px;
    }
}

/* ==========================================
   💡 МОДАЛЬНОЕ ОКНО ФИДБЭКА
   ========================================== */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.feedback-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    
    background: var(--card-bg);
    border-radius: 24px;
    padding: 32px;
    
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    
    width: 36px;
    height: 36px;
    
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(216, 67, 21, 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Заголовок формы */
.feedback-header {
    text-align: center;
    margin-bottom: 28px;
}

.feedback-icon {
    font-size: 64px;
    margin-bottom: 12px;
    animation: pulse 2s ease-in-out infinite;
}

.feedback-title {
    font-family: 'Comfortaa', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.feedback-subtitle {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Форма */
.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
}

.required {
    color: var(--primary-color);
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    
    font-size: 14px;
    font-family: inherit;
    color: var(--text-color);
    
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(216, 67, 21, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Заметка */
.feedback-note {
    display: flex;
    align-items: center;
    gap: 8px;
    
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(216, 67, 21, 0.05) 0%, rgba(244, 164, 96, 0.08) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
}

.note-icon {
    font-size: 18px;
    flex-shrink: 0;
}

/* Кнопка отправки */
.btn-submit-feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    padding: 16px 32px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 16px;
    
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    
    box-shadow: var(--shadow-warm);
    transition: all 0.3s ease;
}

.btn-submit-feedback:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(216, 67, 21, 0.4);
}

.btn-submit-feedback:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 20px;
}

/* Мобильная адаптация модального окна */
@media (max-width: 640px) {
    .feedback-modal-content {
        width: 95%;
        padding: 24px 20px;
        border-radius: 20px;
    }
    
    .feedback-icon {
        font-size: 56px;
    }
    
    .feedback-title {
        font-size: 24px;
    }
    
    .feedback-subtitle {
        font-size: 13px;
    }
    
    .btn-submit-feedback {
        padding: 14px 24px;
        font-size: 15px;
    }
}
