@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&display=swap');

/* --- 1. ТИПОГРАФИКА И СБРОСЫ --- */
html, body, button, input, textarea, select, * {
    font-family: 'Exo 2', sans-serif !important;
}

.banner-title {
    margin-bottom: 12px;
    line-height: 1.2;
}

.banner-content {
    margin-top: 4px;
}

.banner-content p {
    white-space: pre-line;
}

.banner-content,
.banner-content * {
    color: #F1F5F9 !important;
}

/* --- 2. ГЛАВНАЯ ВЕРХНЯЯ ПАНЕЛЬ (NAVBAR) --- */
.navbar {
    background: rgba(25, 25, 25, 0.45) !important; 
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-radius: 0 0 12px 12px; 
    color: #ffffff !important;
}

.navbar a, 
.navbar span, 
.navbar div,
.navbar p {
    color: #ffffff !important;
}

/* --- 3. ПОИСК ТОВАРОВ --- */
#search-input.text-input {
    background: rgba(25, 25, 25, 0.45) !important; 
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px;
    color: #ffffff !important;
    padding: 14px 18px;
    transition: all 0.25s ease;
}

#search-input.text-input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
}

#search-input.text-input:focus {
    outline: none;
    background: rgba(35, 35, 35, 0.55) !important;
    border-color: rgba(34, 195, 93, 0.5) !important; 
    box-shadow: 0 0 12px rgba(34, 195, 93, 0.2);
}

/* --- 4. КНОПКИ КАТЕГОРИЙ --- */
.products-types-buttons .app-button {
    background: rgba(25, 25, 25, 0.45) !important; 
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.products-types-buttons .app-button *,
.app-button__text {
    color: #ffffff !important;
}

.products-types-buttons .app-button:hover {
    background: rgba(50, 50, 50, 0.5) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Активная выбранная категория с фирменной зелёной обводкой и свечением */
.products-types-buttons .app-button.app-button--active {
    background: rgba(255, 255, 255, 0.12) !important; 
    color: #ffffff !important;
    
    /* Сочная зелёная рамка вместо стандартной белой */
    border-color: rgba(34, 195, 93, 0.8) !important; 
    
    /* Мягкий зелёный неоновый отсвет снаружи и изнутри */
    box-shadow: 
        0 0 12px rgba(34, 195, 93, 0.35),
        inset 0 0 6px rgba(34, 195, 93, 0.2) !important;
}

/* --- 5. КАРТОЧКА ТОВАРА (PRODUCT CARD) --- */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%; 
    
    background: rgba(25, 25, 25, 0.45) !important; 
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

.product-card:hover {
    border-color: rgba(76, 175, 80, 0.9) !important;
    box-shadow:
        0 0 8px rgba(76, 175, 80, 0.4),
        0 0 16px rgba(76, 175, 80, 0.25),
        inset 0 0 8px rgba(76, 175, 80, 0.15);
    transform: translateY(-3px);
    animation: floatingCard 2s ease-in-out infinite;
}

/* Футер карточки */
.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    
    padding: 12px;
    height: 74px; 
    box-sizing: border-box;
    
    background: rgba(20, 20, 20, 0.2) !important; 
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.product-card-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #f0f0f0;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    max-width: 65%;
    margin: 0;
}

.product-card-price {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    text-align: right;
    margin-left: 8px;
}

.product-card-labels,
.product-card-labels * {
    color: #F1F5F9 !important;
}

.product-card-badge-percentage {
    color: #fff !important;
}

/* --- 6. БАННЕРЫ (БЛОКИ НАПРАВУ) --- */
.banner-elem {
    background-color: rgba(25, 25, 25, 0.45) !important; 
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;

    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    overflow: hidden;

    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
        
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* --- 7. МОНИТОРИНГ (ОНЛАЙН СЕРВЕРА) --- */
.monitoring-progress-bar {
    background: rgba(25, 25, 25, 0.45) !important; 
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.monitoring-status-overlay {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.monitoring-progress-fill {
    background: linear-gradient(90deg, rgba(34, 195, 93, 0.6), rgba(34, 195, 93, 0.85)) !important;
    box-shadow: 0 0 10px rgba(34, 195, 93, 0.3);
}

/* --- 8. СКРЫТЫЕ ЭЛЕМЕНТЫ --- */
.footer-links,
footer p:nth-of-type(2),
footer p:nth-of-type(3),
footer p:nth-of-type(4) {
    display: none !important;
}