/* ========================================
   Тема: default-main
   Версия: 3.0
   Описание: Полные стили для всех страниц
   ======================================== */

/* ----- Базовые сбросы и общие стили ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    color: #1e293b;
    line-height: 1.6;
}

/* ----- Контейнер для всего контента страницы ----- */
.catalog-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fc;
    width: 100%;
    box-sizing: border-box;
}

/* ----- Хлебные крошки ----- */
.breadcrumbs {
    margin-bottom: 25px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumbs a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ========================================
   КАТАЛОГ - ОСНОВНАЯ СЕТКА
   ======================================== */
.catalog-container {
    display: flex;
    gap: 30px;
    width: 100%;
    margin-top: 20px;
}

.catalog-main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* ========================================
   САЙДБАР КАТАЛОГА
   ======================================== */
.catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    position: sticky;
    top: 20px;
    height: fit-content;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow-x: hidden;
}

.catalog-sidebar * {
    max-width: 100%;
    box-sizing: border-box;
}

.catalog-sidebar::-webkit-scrollbar {
    width: 5px;
}
.catalog-sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.catalog-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.catalog-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.sidebar-widget {
    margin-bottom: 24px;
}
.sidebar-widget h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
}
.sidebar-widget h3 i {
    color: #667eea;
}

/* ========================================
   МЕНЮ КАТЕГОРИЙ
   ======================================== */
.cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cat-item {
    margin: 0;
    padding: 0;
    list-style: none;
}
.cat-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 0;
}
.cat-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 11px;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-top: 2px;
}
.cat-toggle:hover {
    background: #f1f5f9;
    color: #667eea;
}
.cat-toggle-placeholder {
    width: 22px;
    height: 22px;
    display: inline-block;
    flex-shrink: 0;
}
.cat-link {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-decoration: none !important;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 4px 0;
}
.cat-link:hover {
    color: #667eea;
    text-decoration: none !important;
}
.cat-link.active {
    color: #667eea;
    font-weight: 600;
}
.cat-icon {
    width: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}
.cat-link:hover .cat-icon {
    color: #667eea;
}
.cat-link.active .cat-icon {
    color: #667eea;
}
.cat-name {
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    line-height: 1.4;
}
.cat-item-all .cat-link {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}
.cat-item-all .cat-link.active {
    color: #667eea;
}
.cat-submenu {
    margin-left: 22px;
    padding-left: 8px;
    border-left: 1px solid #e5e7eb;
    list-style: none;
}
.cat-submenu.collapsed {
    display: none;
}
.cat-item[data-level="1"] .cat-row {
    padding-left: 0;
}
.cat-item[data-level="2"] .cat-row {
    padding-left: 16px;
}
.cat-item[data-level="3"] .cat-row {
    padding-left: 32px;
}
.cat-item[data-level="4"] .cat-row {
    padding-left: 48px;
}
.cat-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 10px 0;
    list-style: none;
}

/* ========================================
   ПОИСК
   ======================================== */
.search-box {
    position: relative;
}
.search-input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.2s;
    background: #fafbfc;
}
.search-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s;
}
.search-button:hover {
    color: #667eea;
}

/* ========================================
   ФИЛЬТРЫ
   ======================================== */
.price-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    width: 100%;
}
.price-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
}
.price-inputs span {
    display: none;
}
.price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 10px;
}
.apply-price-btn {
    width: 100%;
    padding: 8px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.apply-price-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}
.filter-checkbox:hover {
    color: #667eea;
}
.filter-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #667eea;
}
.sort-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.2s;
}
.sort-select:focus {
    outline: none;
    border-color: #667eea;
}
.clear-filters {
    width: 100%;
    padding: 8px;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}
.clear-filters:hover {
    background: #e2e8f0;
    border-color: #667eea;
    color: #667eea;
}

/* ========================================
   ОСНОВНОЙ КОНТЕНТ КАТАЛОГА
   ======================================== */
.view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.view-buttons {
    display: flex;
    gap: 10px;
}
.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
}
.view-btn:hover {
    background: #f3f4f6;
    border-color: #667eea;
}
.view-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}
.per-page-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.per-page-select {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    cursor: pointer;
}

/* ========================================
   ТОВАРЫ
   ======================================== */
.products-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}
.products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.empty-catalog {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    width: 100%;
    box-sizing: border-box;
}
.empty-catalog i {
    font-size: 64px;
    color: #cbd5e1;
    margin-bottom: 20px;
    display: block;
}
.empty-catalog h3 {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 10px;
}
.empty-catalog p {
    color: #94a3b8;
    margin-bottom: 20px;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    background: white;
    transition: all 0.2s;
    font-size: 13px;
}
.page-link:hover {
    background: #f3f4f6;
    border-color: #667eea;
    color: #667eea;
}
.page-link.current {
    background: #667eea;
    color: white;
    border-color: #667eea;
}
.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Карточка товара */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.product-image {
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-info-wrapper {
    flex: 1;
}
.product-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-title a {
    color: #1e293b;
    text-decoration: none;
}
.product-title a:hover {
    color: #667eea;
}
.product-price-wrapper {
    margin: 12px 0;
    text-align: center;
}
.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}
/*надпись "Цена от"*/
.product-price-label {
    font-size: 16px;
    color: #001591;
    margin-bottom: 4px;
    text-align: center;
    font-weight: 500;
}
.product-partner-price {
    margin-top: 4px;
    font-size: 12px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.partner-label {
    color: #6b7280;
    font-weight: normal;
}
.partner-value {
    color: #8b5cf6;
    font-weight: 700;
    font-size: 14px;
}
.product-btn {
    background: #667eea;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    margin-top: auto;
}
.product-btn:hover {
    background: #5a67d8;
}

/* Режим списка */
.products-list .product-card {
    flex-direction: row;
    min-height: 160px;
}
.products-list .product-image {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}
.products-list .product-content {
    flex: 1;
    flex-direction: column;
}
.products-list .product-title {
    font-size: 15px;
}
.products-list .product-price {
    font-size: 16px;
}
.products-list .product-short-description {
    font-size: 12px;
    color: #6b7280;
    margin: 8px 0;
}
.products-list .product-btn {
    display: inline-block;
    width: auto;
    align-self: flex-start;
    padding: 8px 20px;
}
.products-list .product-price-wrapper {
    margin: 8px 0;
    text-align: left;
}
.products-list .product-partner-price {
    justify-content: flex-start;
}

/* ========================================
   ГЛАВНАЯ СТРАНИЦА
   ======================================== */
.benefits-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.benefit-card {
    text-align: center;
    padding: 25px 15px;
    background: #f8fafc;
    border-radius: 16px;
    transition: transform 0.2s;
}
.benefit-card:hover {
    transform: translateY(-5px);
}
.benefit-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 15px;
}
.benefit-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}
.benefit-description {
    font-size: 0.85rem;
    color: #6b7280;
}
.section-header {
    text-align: center;
    margin-bottom: 30px;
}
.section-header h2 {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 10px;
}
.section-header p {
    color: #6b7280;
}
.btn-catalog {
    background: #475569;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s;
}
.btn-catalog:hover {
    background: #334155;
}

/* Категории на главной */
.categories-section {
    margin: 40px 0;
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.category-card-image {
    height: 160px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}
.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-card-content {
    padding: 20px;
}
.category-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1e293b;
}
.category-card-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.4;
}
.category-card-btn {
    color: #667eea;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Карточки */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e5e7eb;
    display: block;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.card-image {
    height: 160px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-content {
    padding: 20px;
}
.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1e293b;
}
.card-description {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 15px;
}
.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #10b981;
    margin: 10px 0;
}
.card-btn {
    color: #667eea;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Блог на главной */
.blog-section {
    margin-top: 50px;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.blog-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}
.blog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-date {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card-title a {
    color: #1e293b;
    text-decoration: none;
}
.blog-card-title a:hover {
    color: #667eea;
}
.blog-card-excerpt {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #475569;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    align-self: flex-start;
    transition: all 0.2s;
}
.blog-card-btn:hover {
    background: #667eea;
    color: white;
}
.blog-cta {
    text-align: center;
    margin-top: 20px;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}
.empty-state i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 15px;
    display: inline-block;
}
.empty-state h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #475569;
}
.empty-state p {
    color: #94a3b8;
}

/* ========================================
   ГЕРОЙ-СЕКЦИЯ
   ======================================== */
.catalog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 40px;
    overflow: hidden;
}
.catalog-hero .container {
    padding: 40px;
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-image {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}
.hero-emoji {
    font-size: 48px;
}
.hero-info {
    flex: 1;
}
.hero-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.hero-description {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    max-width: 500px;
}
.hero-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.hero-stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hero-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 24px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.2s;
}
.hero-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Баннеры */
.banner-container {
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
}
.banner-container img {
    width: 100%;
    display: block;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 992px) {
    .catalog-container {
        flex-direction: column;
    }
    .catalog-sidebar {
        width: 100%;
        position: static;
        margin-top: 20px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .catalog-page {
        padding: 15px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    .products-list .product-card {
        flex-direction: column;
    }
    .products-list .product-image {
        width: 100%;
        height: 180px;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero-info {
        text-align: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .catalog-hero .container {
        padding: 30px 20px;
    }
    .hero-title {
        font-size: 22px;
    }
    .view-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .view-buttons {
        justify-content: center;
    }
    .per-page-selector {
        justify-content: center;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .benefits-section {
        padding: 30px 20px;
    }
    .section-header h2 {
        font-size: 1.4rem;
    }
}
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-title {
        font-size: 18px;
    }
    .hero-image {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    .hero-emoji {
        font-size: 32px;
    }
    .empty-catalog {
        padding: 40px 20px;
    }
    .empty-catalog i {
        font-size: 48px;
    }
    .cat-link {
        font-size: 12px;
    }
    .cat-item-all .cat-link {
        font-size: 13px;
    }
    .cat-submenu {
        margin-left: 18px;
    }
    .cat-item[data-level="2"] .cat-row {
        padding-left: 12px;
    }
    .cat-item[data-level="3"] .cat-row {
        padding-left: 24px;
    }
}

/* ========================================
   АНИМАЦИИ
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}