        /* ============================================
           БАЗОВЫЕ СТИЛИ
        ============================================ */
        :root {
            --ios-blue: #007AFF;
            --ios-purple: #AF52DE;
            --ios-green: #34C759;
            --ios-red: #FF3B30;
            --ios-yellow: #FFCC00;
            --ios-orange: #FF9500;
            --ios-gray: #8E8E93;
            --ios-light-gray: #E5E5EA;
            --ios-dark: #1C1C2E;
            --text-primary: #1C1C2E;
            --text-secondary: #3A3A44;
            --text-tertiary: #8E8E98;
            --border-light: rgba(60, 60, 67, 0.08);
            --glass-primary: rgba(255, 255, 255, 0.98);
            --glass-secondary: rgba(255, 255, 255, 0.95);
            --glass-tertiary: rgba(0, 0, 0, 0.03);
            --gradient-primary: linear-gradient(135deg, #007AFF 0%, #5856D6 50%, #AF52DE 100%);
            --gradient-success: linear-gradient(135deg, #34C759 0%, #5AC8FA 100%);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
            --shadow-glow: 0 0 20px rgba(0,122,255,0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
            background: #F2F2F7;
            color: #1C1C2E;
            -webkit-font-smoothing: antialiased;
            min-height: 100vh;
        }
        
        /* ============================================
           НАВИГАЦИЯ
        ============================================ */
        .ios-nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(25px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.5);
        }
        
        .ios-nav-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 10px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }
        
        .logo {
            font-size: 24px;
            font-weight: 800;
            background: linear-gradient(135deg, #007AFF 0%, #5856D6 50%, #AF52DE 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .role-badge {
            font-size: 12px;
            background: rgba(0, 122, 255, 0.15);
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: 600;
        }
        
        .role-badge.publisher { background: rgba(175, 82, 222, 0.15); color: #AF52DE; }
        .role-badge.admin { background: rgba(255, 59, 48, 0.15); color: #FF3B30; }
        
        /* ============================================
           ПОИСК
        ============================================ */
        .search-glass {
            position: relative;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 60px;
            padding: 8px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            width: 320px;
            transition: all 0.3s;
            flex-shrink: 1;
        }
        
        .search-glass:focus-within {
            width: 450px;
            background: white;
            box-shadow: 0 0 0 2px #007AFF;
        }
        
        .search-glass input {
            background: none;
            border: none;
            flex: 1;
            outline: none;
            font-size: 14px;
            color: #1C1C2E;
        }
        
        .search-glass input::placeholder {
            color: #8E8E98;
        }
        
        .search-glass kbd {
            background: rgba(0, 0, 0, 0.08);
            padding: 3px 6px;
            border-radius: 6px;
            font-size: 10px;
            font-family: monospace;
            color: #8E8E98;
        }
        
        .search-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: white;
            border-radius: 16px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            z-index: 10000;
            max-height: 500px;
            overflow-y: auto;
            border: 1px solid rgba(0, 0, 0, 0.08);
        }
        
        .search-dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            cursor: pointer;
            transition: background 0.2s;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .search-dropdown-item:hover {
            background: rgba(0, 0, 0, 0.03);
        }
        
        .search-dropdown-icon {
            width: 40px;
            height: 40px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }
        
        .search-dropdown-info {
            flex: 1;
        }
        
        .search-dropdown-title {
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .search-dropdown-meta {
            display: flex;
            gap: 12px;
            font-size: 11px;
            color: #8E8E98;
        }
        
        .search-dropdown-reason {
            font-size: 11px;
            color: #007AFF;
            margin-top: 4px;
        }
        
        .search-dropdown-price {
            font-weight: 700;
            color: #007AFF;
        }
        
        .search-dropdown-view-all {
            padding: 12px 16px;
            text-align: center;
            color: #007AFF;
            cursor: pointer;
            font-weight: 500;
        }
        
        .search-empty, .search-loading {
            text-align: center;
            padding: 40px 20px;
            color: #8E8E98;
        }
        
        .popular-tag {
            padding: 6px 14px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 30px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-block;
        }
        
        .popular-tag:hover {
            background: #007AFF;
            color: white;
        }
        
        /* ============================================
           НАВИГАЦИЯ ПРАВАЯ ЧАСТЬ
        ============================================ */
        .nav-right {
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
        }
        
        .nav-icon {
            position: relative;
            cursor: pointer;
            font-size: 20px;
            color: #6C6C7A;
            transition: all 0.3s ease;
            background: none;
            border: none;
            padding: 10px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .nav-icon:hover {
            color: #007AFF;
            background: rgba(0, 0, 0, 0.05);
            transform: scale(1.05);
        }
        
        .badge {
            top: 2px;
            right: 2px;
            background: #FF3B30;
            color: white;
            font-size: 10px;
            font-weight: 600;
            padding: 2px 6px;
            border-radius: 9999px;
            min-width: 18px;
            text-align: center;
        }
        
        .balance-button {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(0, 0, 0, 0.05);
            border-radius: 60px;
            padding: 6px 20px 6px 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .balance-button:hover {
            background: rgba(0, 0, 0, 0.08);
            transform: translateY(-1px);
        }
        
        .balance-icon {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, #34C759, #5AC8FA);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            color: white;
        }
        
        .balance-info {
            display: flex;
            flex-direction: column;
        }
        
        .balance-label {
            font-size: 9px;
            color: #8E8E98;
            text-transform: uppercase;
        }
        
        .balance-value {
            font-size: 14px;
            font-weight: 700;
            color: #34C759;
        }
        
        /* Контейнер профиля */
    .profile-wrapper {
        position: relative;
    }

    /* Улучшение аватара в шапке */
    .profile-btn {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #007AFF, #5856D6, #AF52DE);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border: none;
        color: white;
        font-size: 18px;
        overflow: hidden;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .profile-btn img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Аватар в выпадающем меню */
    .dropdown-header img {
        border-radius: 50%;
        object-fit: cover;
    }

    /* Dropdown меню профиля */
    .profile-dropdown {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: 320px;
        background: rgba(30, 30, 35, 0.98);
        backdrop-filter: blur(30px);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        z-index: 1001;
        display: none;
        overflow: hidden;
        animation: dropdownIn 0.2s ease;
    }

    /* Шапка профиля */
    .profile-dropdown-header {
        padding: 24px 20px 20px;
        text-align: center;
        background: linear-gradient(135deg, rgba(0, 122, 255, 0.15), rgba(175, 82, 222, 0.08));
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .profile-dropdown-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto 16px;
        border-radius: 50%;
        overflow: hidden;
        background: linear-gradient(135deg, #007AFF, #5856D6, #AF52DE);
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .profile-dropdown-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .profile-dropdown-avatar i {
        font-size: 40px;
        color: white;
    }

    .profile-dropdown-name {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 4px;
        color: var(--text-primary);
    }

    .profile-dropdown-role {
        font-size: 12px;
        padding: 4px 12px;
        background: rgba(0, 122, 255, 0.2);
        border-radius: 30px;
        display: inline-block;
        margin-bottom: 12px;
        color: #007AFF;
    }

    /* Статистика (XP и баланс) */
    .profile-dropdown-stats {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }

    .profile-stat-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        transition: all 0.2s;
    }

    .profile-stat-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateX(4px);
    }

    .profile-stat-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: var(--text-tertiary);
    }

    .profile-stat-label i {
        font-size: 16px;
    }

    .profile-stat-value {
        font-size: 16px;
        font-weight: 700;
    }

    .profile-stat-value.xp {
        color: #FFCC00;
    }

    .profile-stat-value.balance {
        color: #34C759;
    }

    /* Прогресс-бар уровня */
    .profile-level-progress {
        margin-top: 16px;
        padding: 8px 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
    }

    .progress-header {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        color: var(--text-tertiary);
        margin-bottom: 8px;
    }

    .progress-bar-bg {
        height: 6px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        overflow: hidden;
    }

    .progress-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #FFCC00, #FF9500);
        border-radius: 3px;
        transition: width 0.3s;
    }

    /* Секции меню */
    .profile-dropdown-section {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .profile-dropdown-section:last-child {
        border-bottom: none;
    }

    .profile-dropdown-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 20px;
        text-decoration: none;
        color: var(--text-secondary);
        transition: all 0.2s;
        font-size: 14px;
    }

    .profile-dropdown-link:hover {
        background: rgba(0, 122, 255, 0.1);
        color: #007AFF;
        padding-left: 24px;
    }

    .profile-dropdown-link i {
        width: 20px;
        font-size: 16px;
        text-align: center;
    }

    .profile-dropdown-link.logout {
        color: #FF3B30;
    }

    .profile-dropdown-link.logout:hover {
        background: rgba(255, 59, 48, 0.1);
        color: #FF3B30;
    }

    /* Разделитель */
    .profile-dropdown-divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
        margin: 8px 0;
    }

    /* Анимация */
    @keyframes dropdownIn {
        from {
            opacity: 0;
            transform: translateY(-10px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* Адаптив для мобильных */
    @media (max-width: 480px) {
        .profile-dropdown {
            width: 300px;
            right: -20px;
        }
        
        .profile-dropdown-avatar {
            width: 70px;
            height: 70px;
        }
        
        .profile-dropdown-name {
            font-size: 18px;
        }
        
        .profile-stat-value {
            font-size: 14px;
        }
    }
        
        /* ============================================
           ВЫПАДАЮЩИЕ МЕНЮ
        ============================================ */
        .balance-dropdown, .profile-dropdown, .notifications-dropdown {
            position: absolute;
            top: calc(100% + 12px);
            right: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(30px);
            border-radius: 20px;
            min-width: 280px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
            z-index: 1001;
            display: none;
            overflow: hidden;
        }
        
        .notifications-dropdown {
            width: 380px;
            max-height: 500px;
        }
        
        .balance-dropdown.show, .profile-dropdown.show, .notifications-dropdown.show {
            display: block;
            animation: dropdownIn 0.2s ease;
        }
        
        @keyframes dropdownIn {
            from { opacity: 0; transform: translateY(-10px) scale(0.95); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        
        .dropdown-header {
            padding: 20px;
            text-align: center;
            background: rgba(0, 0, 0, 0.03);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .balance-dropdown-item, .profile-dropdown a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            text-decoration: none;
            color: #1C1C2E;
            transition: background 0.2s;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .balance-dropdown-item:last-child, .profile-dropdown a:last-child {
            border-bottom: none;
        }
        
        .balance-dropdown-item:hover, .profile-dropdown a:hover {
            background: rgba(0, 0, 0, 0.03);
        }
        
        .profile-dropdown a.logout {
            color: #FF3B30;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .dropdown-divider {
            height: 1px;
            background: rgba(0, 0, 0, 0.05);
            margin: 6px 0;
        }
        
        /* ============================================
           УВЕДОМЛЕНИЯ
        ============================================ */
        .notif-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .notif-header h4 { font-size: 16px; font-weight: 600; }
        
        .mark-all-read {
            background: none;
            border: none;
            font-size: 12px;
            color: #007AFF;
            cursor: pointer;
        }
        
        .notifications-list {
            max-height: 400px;
            overflow-y: auto;
        }
        
        .notification-item {
            display: flex;
            gap: 12px;
            padding: 14px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .notification-item:hover { background: rgba(0, 0, 0, 0.03); }
        .notification-item.unread { background: rgba(0, 122, 255, 0.05); }
        
        .notification-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }
        
        .notification-icon.system { background: rgba(142, 142, 147, 0.15); color: #8E8E93; }
        .notification-icon.sale { background: rgba(0, 122, 255, 0.15); color: #007AFF; }
        .notification-icon.purchase { background: rgba(52, 199, 89, 0.15); color: #34C759; }
        .notification-icon.message { background: rgba(175, 82, 222, 0.15); color: #AF52DE; }
        
        .notification-content { flex: 1; }
        .notification-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
        .notification-message { font-size: 12px; color: #6C6C7A; }
        .notification-time { font-size: 10px; color: #8E8E98; margin-top: 4px; }
        
        .notif-empty { text-align: center; padding: 40px; color: #8E8E98; }
        .notif-footer { padding: 12px 20px; border-top: 1px solid rgba(0, 0, 0, 0.05); text-align: center; }
        .notif-footer a { color: #007AFF; text-decoration: none; font-size: 13px; }
        
        /* ============================================
           МОБИЛЬНОЕ МЕНЮ
        ============================================ */
        .burger-menu {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 28px;
            height: 20px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
        }
        
        .burger-menu span {
            width: 100%;
            height: 2px;
            background: #1C1C2E;
            border-radius: 2px;
            transition: all 0.3s;
        }
        
        .burger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
        .burger-menu.active span:nth-child(2) { opacity: 0; }
        .burger-menu.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
        
        .mobile-menu {
            position: fixed;
            top: 60px;
            left: -100%;
            width: 80%;
            max-width: 320px;
            height: calc(100vh - 60px);
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(30px);
            border-right: 1px solid rgba(0, 0, 0, 0.08);
            z-index: 1000;
            transition: left 0.3s ease;
            overflow-y: auto;
            padding: 20px;
        }
        
        .mobile-menu.open { left: 0; }
        
        .mobile-menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 0;
            font-size: 15px;
            font-weight: 500;
            color: #1C1C2E;
            text-decoration: none;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }
        
        .mobile-menu-item:hover { color: #007AFF; padding-left: 8px; }
        .mobile-menu-item i { width: 24px; }
        
        .mobile-tab-bar {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(30px);
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            padding: 8px 16px 20px;
            z-index: 999;
        }
        
        .tab-bar-items {
            display: flex;
            justify-content: space-around;
            align-items: center;
        }
        
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            background: none;
            border: none;
            font-size: 10px;
            color: #8E8E98;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 8px 0;
        }
        
        .tab-item.active { color: #007AFF; }
        .tab-icon { font-size: 22px; }
        
        /* ============================================
           МОБИЛЬНЫЙ ПОИСК
        ============================================ */
        .mobile-search-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 20px;
            color: #1C1C2E;
            cursor: pointer;
            padding: 10px;
            border-radius: 50%;
        }
        
        .mobile-search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(30px);
            z-index: 1100;
            display: none;
            flex-direction: column;
            padding: 20px;
        }
        
        .mobile-search-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }
        
        .mobile-search-input {
            width: 100%;
            padding: 14px 16px;
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 16px;
            font-size: 16px;
            color: #1C1C2E;
            outline: none;
        }
        
        .mobile-search-input:focus { border-color: #007AFF; }
        
        /* ============================================
           МОДАЛЬНЫЕ ОКНА
        ============================================ */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(8px);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
        }
        
        .modal-overlay.active { display: flex; }
        
        .modal-container {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(30px);
            border-radius: 28px;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(0, 0, 0, 0.08);
        }
        
        .modal-container.modal-large { max-width: 700px; }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }
        
        .modal-header h3 { font-size: 18px; font-weight: 600; }
        
        .modal-close {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #8E8E98;
            padding: 8px;
            border-radius: 50%;
        }
        
        .modal-body {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
        }
        
        .modal-footer {
            padding: 12px 16px;
            border-top: 1px solid rgba(0, 0, 0, 0.08);
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }
        
        /* ============================================
           КОРЗИНА И ИЗБРАННОЕ
        ============================================ */
        .cart-item, .wishlist-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
            transition: background 0.2s;
        }
        
        .cart-item:hover, .wishlist-item:hover { background: rgba(0, 0, 0, 0.03); }
        
        .cart-item-image, .wishlist-item-image {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            object-fit: cover;
            flex-shrink: 0;
        }
        
        .cart-item-info, .wishlist-item-info { flex: 1; }
        .cart-item-title, .wishlist-item-title { font-weight: 600; margin-bottom: 4px; font-size: 14px; }
        
        .cart-item-price {
            font-size: 14px;
            font-weight: 600;
            color: #007AFF;
        }
        
        .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
        }
        
        .qty-btn {
            width: 28px;
            height: 28px;
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.08);
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .qty-btn:hover {
            background: #007AFF;
            color: white;
        }
        
        .cart-item-remove, .wishlist-item-remove {
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: #8E8E98;
            padding: 8px;
            border-radius: 50%;
            transition: all 0.2s;
        }
        
        .cart-item-remove:hover, .wishlist-item-remove:hover {
            background: rgba(255, 59, 48, 0.1);
            color: #FF3B30;
        }
        
        .license-change-btn {
            background: none;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 20px;
            padding: 4px 12px;
            font-size: 11px;
            cursor: pointer;
            transition: all 0.2s;
            margin-left: 8px;
        }
        
        .license-change-btn:hover {
            background: #007AFF;
            border-color: #007AFF;
            color: white;
        }
        
        .cart-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            background: rgba(0, 0, 0, 0.03);
            border-radius: 16px;
            margin-top: 16px;
        }
        
        .cart-total span:last-child {
            font-size: 20px;
            font-weight: 700;
            color: #007AFF;
        }
        
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #8E8E98;
        }
        
        .empty-state i {
            font-size: 48px;
            margin-bottom: 12px;
            opacity: 0.5;
        }
        
        .btn-primary-sm {
            padding: 8px 20px;
            background: linear-gradient(135deg, #007AFF, #5856D6);
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .btn-primary-sm:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
        }
        
        /* ============================================
           ОСНОВНОЙ КОНТЕНТ
        ============================================ */
        .main-content {
            max-width: 1400px;
            margin: 0 auto;
            padding: 24px;
            min-height: calc(100vh - 60px);
        }
        
        /* ============================================
           АДАПТИВНОСТЬ
        ============================================ */
        @media (max-width: 1024px) {
            .ios-nav-content { padding: 10px 16px; }
            .search-glass { width: 220px; }
            .search-glass:focus-within { width: 300px; }
        }
        
        @media (max-width: 768px) {
            .balance-wrapper { display: none; }
            .burger-menu { display: flex; }
            .mobile-tab-bar { display: block; }
            .main-content { padding: 16px; margin-bottom: 80px; }
            .search-glass { display: none; }
            .mobile-search-toggle { display: block; }
        }
        
        @media (max-width: 480px) {
            .logo { font-size: 18px; }
            .role-badge { font-size: 10px; padding: 2px 8px; }
            .nav-icon { padding: 6px; font-size: 16px; }
            .profile-btn { width: 36px; height: 36px; font-size: 16px; }
        }
        
        /* ============================================
           ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КАРТОЧЕК
        ============================================ */
        .cart-item-license .badge {
            position: static;
            display: inline-block;
            padding: 2px 8px;
            font-size: 10px;
        }
        
        .custom-toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: rgba(0,0,0,0.8);
            backdrop-filter: blur(20px);
            color: white;
            padding: 12px 24px;
            border-radius: 60px;
            z-index: 10001;
            transition: transform 0.3s ease;
            white-space: nowrap;
            pointer-events: none;
            font-size: 14px;
            font-weight: 500;
        }
        
        .custom-toast.show {
            transform: translateX(-50%) translateY(0);
        }

.footer-white {
    background: #ffffff;
    color: #1a1a2e;
    margin-top: 60px;
    position: relative;
    border-top: 1px solid #e9ecef;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-banners-white {
    padding: 48px 0 24px;
    background: #f8f9fa;
}

.banners-grid-white {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.banner-white {
    position: relative;
    padding: 24px;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
}

.banner-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #007AFF;
}

.banner-guest-white {
    background: linear-gradient(135deg, #fff, #f0f7ff);
    border-left: 3px solid #007AFF;
}

.banner-discount-white {
    background: linear-gradient(135deg, #fff, #fff5f0);
    border-left: 3px solid #FF9500;
}

.banner-customer-white {
    background: linear-gradient(135deg, #fff, #f0fff4);
}

.banner-customer-two-white {
    background: linear-gradient(135deg, #fff, #fff0f5);
}

.banner-publisher-white {
    background: linear-gradient(135deg, #fff, #fff8f0);
}

.banner-publisher-two-white {
    background: linear-gradient(135deg, #fff, #f0f7ff);
}

.banner-admin-white {
    background: linear-gradient(135deg, #fff, #f5f0ff);
}

.banner-admin-two-white {
    background: linear-gradient(135deg, #fff, #f0f7ff);
}

.banner-universal-white {
    background: linear-gradient(135deg, #fff, #f0fff4);
}

.banner-icon-white {
    font-size: 48px;
    min-width: 64px;
    text-align: center;
}

.banner-content-white {
    flex: 1;
}

.banner-content-white h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.banner-content-white p {
    font-size: 13px;
    color: #6c6c7a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.banner-btn-white {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f7ff;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #007AFF;
    text-decoration: none;
    transition: all 0.3s;
}

.banner-btn-white:hover {
    background: #007AFF;
    color: white;
    transform: translateX(4px);
}

.footer-main-white {
    padding: 48px 0 32px;
    background: #ffffff;
}

.footer-grid-white {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

@media (max-width: 1024px) {
    .footer-grid-white {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .footer-grid-white {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-brand-white {
    max-width: 320px;
}

.footer-logo-white {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    cursor: pointer;
    background: linear-gradient(135deg, #007AFF, #5856D6, #AF52DE);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.footer-logo-white span {
    background: linear-gradient(135deg, #FF9500, #FF3B30);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-description-white {
    font-size: 14px;
    color: #6c6c7a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social-white {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-link-white {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c6c7a;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 18px;
    border: 1px solid #e9ecef;
}

.social-link-white:hover {
    background: #007AFF;
    color: white;
    transform: translateY(-3px);
    border-color: #007AFF;
}

.footer-apps-white {
    margin-top: 20px;
}

.apps-label-white {
    font-size: 12px;
    color: #8e8e98;
    display: block;
    margin-bottom: 10px;
}

.apps-buttons-white {
    display: flex;
    gap: 12px;
}

.app-btn-white {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 40px;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.app-btn-white i {
    font-size: 18px;
}

.app-btn-white:hover {
    background: #007AFF;
    color: white;
    transform: translateY(-2px);
    border-color: #007AFF;
}

.footer-title-white {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
}

.footer-title-white::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #007AFF, #AF52DE);
    border-radius: 2px;
}

.footer-links-white {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-white li {
    margin-bottom: 10px;
}

.footer-links-white a {
    color: #6c6c7a;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-white a:hover {
    color: #007AFF;
    transform: translateX(4px);
}

.footer-newsletter-white {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.newsletter-form-white {
    display: flex;
    margin-top: 12px;
    background: #f8f9fa;
    border-radius: 60px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.newsletter-form-white input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #1a1a2e;
    font-size: 14px;
    outline: none;
}

.newsletter-form-white input::placeholder {
    color: #8e8e98;
}

.newsletter-form-white button {
    background: #007AFF;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    color: white;
    transition: all 0.3s;
}

.newsletter-form-white button:hover {
    background: #0055CC;
}

.newsletter-note-white {
    font-size: 11px;
    color: #8e8e98;
    margin-top: 8px;
}

.footer-stats-white {
    background: #f8f9fa;
    padding: 40px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.stats-grid-white {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid-white {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.stat-item-white {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.stat-icon-white {
    font-size: 36px;
}

.stat-info-white {
    text-align: left;
}

.stat-value-white {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}

.stat-label-white {
    font-size: 12px;
    color: #8e8e98;
}

.footer-bottom-white {
    padding: 24px 0;
    background: #ffffff;
}

.bottom-content-white {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bottom-content-white p {
    font-size: 13px;
    color: #8e8e98;
}

.payment-methods-white {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 24px;
    color: #8e8e98;
}

.payment-method-white {
    font-size: 12px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 20px;
    color: #6c6c7a;
}

.footer-lang-white select {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 8px 32px 8px 16px;
    border-radius: 30px;
    color: #1a1a2e;
    font-size: 13px;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c6c7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .footer-banners-white {
        padding: 32px 0 16px;
    }
    
    .banners-grid-white {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .banner-white {
        padding: 20px;
    }
    
    .banner-icon-white {
        font-size: 36px;
        min-width: 50px;
    }
    
    .footer-main-white {
        padding: 32px 0 24px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .stats-grid-white {
        gap: 20px;
    }
    
    .stat-item-white {
        gap: 12px;
    }
    
    .stat-value-white {
        font-size: 22px;
    }
    
    .stat-icon-white {
        font-size: 28px;
    }
    
    .bottom-content-white {
        flex-direction: column;
        text-align: center;
    }
    
    .payment-methods-white {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid-white {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-item-white {
        justify-content: flex-start;
        padding-left: 20px;
    }
    
    .apps-buttons-white {
        flex-direction: column;
    }
    
    .app-btn-white {
        justify-content: center;
    }
}