        :root {
            --primary-color: #234a79;
            --primary-hover: #1f4d8c;
            --accent-color: #3976be;
            --light-bg: #f0f3fa;
            --text-dark: #334155;
            --text-muted: #64748b;
        }

        body {
            font-family: 'Manrope', 'Inter', sans-serif;
            color: var(--text-dark);
            background-color: #ffffff;
            overflow-x: hidden;
        }

        /* Навигация */
        .navbar-custom {
            background-color: #ffffff;
            padding: 15px 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            position: relative;
        }
        .navbar-brand img {
            max-width: 210px;
            height: auto;
        }
        .nav-link-custom {
            color: var(--text-dark) !important;
            font-weight: 700;
            margin-right: 15px;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: color 0.2s;
        }
        .nav-link-custom:hover {
            color: var(--accent-color) !important;
        }

        /* Мега-меню */
        @media (min-width: 992px) {
            .nav-item-mega {
                position: static !important;
            }
            .mega-menu {
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%) translateY(15px);
                width: 100%;
                max-width: 1140px;
                background-color: #ffffff;
                border-radius: 16px;
                box-shadow: 0px 15px 35px rgba(0, 11, 48, 0.15);
                border: 1px solid rgba(0,0,0,0.05);
                padding: 30px;
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
                z-index: 1000;
            }
            .nav-item-mega:hover .mega-menu {
                opacity: 1;
                visibility: visible;
                transform: translateX(-50%) translateY(0);
            }
        }

        .mega-menu-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            text-decoration: none;
            color: inherit;
            padding: 8px;
            border-radius: 8px;
            transition: background-color 0.2s, transform 0.2s;
        }
        .mega-menu-item:hover {
            background-color: #f8fafc;
            transform: translateY(-2px);
        }
        .mega-menu-icon {
            width: 48px;
            height: 48px;
            object-fit: contain;
            flex-shrink: 0;
        }
        .mega-menu-title {
            font-size: 14px;
            font-weight: 700;
            color: #1f4d8c;
            margin: 0 0 4px 0;
            line-height: 1.3;
        }
        .mega-menu-item:hover .mega-menu-title {
            color: #0260e8;
        }
        .mega-menu-desc {
            font-size: 11px;
            color: #64748b;
            margin: 0;
            line-height: 1.4;
        }

        @media (max-width: 991px) {
            .mega-menu {
                background-color: #f8fafc;
                border-radius: 8px;
                padding: 15px;
                margin-top: 10px;
                display: none;
            }
            .nav-item-mega.active-mobile .mega-menu {
                display: block;
            }
            .mega-menu-item {
                margin-bottom: 12px;
            }
        }

        /* Hero / Заголовок категории */
        .category-hero {
            background-color: var(--primary-color);
            color: #ffffff;
            padding: 70px 0;
            text-align: center;
        }
        .category-hero--catalog {
            padding: 90px 0 70px;
        }
        .category-hero h1 {
            font-weight: 800;
            font-size: 2.6rem;
            margin: 0;
        }

        /* Раздел с карточками товаров каталога */
        .ahu-grid-section {
            padding: 80px 0;
            background-color: #ffffff;
        }
        .ahu-card {
            background-color: var(--light-bg);
            border-radius: 12px;
            border: none;
            height: 100%;
            transition: all 0.3s ease;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .ahu-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 11, 48, 0.12);
        }
        .ahu-card-body {
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex-grow: 1;
        }
        .ahu-card-title {
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--primary-hover);
            margin-bottom: 12px;
        }
        .ahu-card-list {
            list-style: none;
            padding-left: 0;
            margin-bottom: 25px;
            color: var(--text-muted);
            font-size: 0.95rem;
        }
        .ahu-card-list li {
            margin-bottom: 8px;
        }

        /* Кнопки */
        .btn-brand-primary {
            background-color: var(--primary-color);
            color: #ffffff;
            border: none;
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 600;
            transition: background-color 0.2s;
        }
        .btn-brand-primary:hover {
            background-color: var(--accent-color);
            color: #ffffff;
        }
        .btn-brand-outline {
            background-color: #ffffff;
            color: var(--primary-color);
            border: 1px solid var(--accent-color);
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 600;
            transition: all 0.2s;
        }
        .btn-brand-outline:hover {
            background-color: var(--accent-color);
            color: #ffffff;
        }

        /* Интерактивный Квиз (Опросник) */
        .quiz-section {
            padding: 80px 0;
            background-color: var(--light-bg);
        }
        .quiz-container {
            background-color: #ffffff;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            max-width: 800px;
            margin: 0 auto;
        }
        .quiz-step {
            display: none;
        }
        .quiz-step.active {
            display: block;
        }
        .quiz-progress-bar {
            height: 6px;
            background-color: rgba(57, 118, 190, 0.2);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 30px;
        }
        .quiz-progress {
            height: 100%;
            background-color: var(--accent-color);
            width: 25%;
            transition: width 0.3s ease;
        }
        .quiz-question {
            font-weight: 700;
            font-size: 1.4rem;
            color: var(--primary-hover);
            margin-bottom: 25px;
        }
        .quiz-option-btn {
            display: block;
            width: 100%;
            padding: 15px 20px;
            margin-bottom: 12px;
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            text-align: left;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        .quiz-option-btn:hover {
            background-color: #f1f5f9;
            border-color: var(--accent-color);
        }
        .quiz-option-btn.selected {
            background-color: #e0f2fe;
            border-color: var(--accent-color);
            color: var(--primary-hover);
        }

        /* SEO Секция */
        .seo-section {
            padding: 80px 0;
            background-color: #ffffff;
        }
        .seo-title {
            color: var(--primary-hover);
            font-weight: 700;
            margin-bottom: 20px;
        }

        /* Виджет и Кнопка наверх */
        .floating-widget {
            position: fixed;
            right: 25px;
            bottom: 25px;
            z-index: 1000;
        }
        .widget-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.25);
            transition: all 0.3s ease;
        }
        .widget-btn:hover {
            background-color: var(--accent-color);
            transform: scale(1.05);
        }
        .widget-menu {
            position: absolute;
            bottom: 75px;
            right: 0;
            display: none;
            flex-direction: column;
            gap: 10px;
        }
        .widget-menu.show {
            display: flex;
        }
        .widget-item {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }

        /* Панель фильтров каталога */
        .catalog-toolbar {
            background: #fff;
            border-bottom: 1px solid #e8edf5;
            padding: 16px 0;
        }
        .catalog-filter-btn {
            background: none;
            border: none;
            color: #334155;
            font-size: 14px;
            font-weight: 600;
            padding: 8px 4px;
            margin-right: 18px;
            border-bottom: 2px solid transparent;
            transition: color 0.2s, border-color 0.2s;
        }
        .catalog-filter-btn:hover,
        .catalog-filter-btn.active {
            color: var(--primary-hover);
            border-bottom-color: var(--accent-color);
        }
        .catalog-search-wrap {
            display: flex;
            align-items: stretch;
            max-width: 280px;
            margin-left: auto;
        }
        .catalog-search-wrap input {
            border: 1px solid #cbd5e1;
            border-radius: 6px 0 0 6px;
            padding: 8px 12px;
            font-size: 14px;
            flex: 1;
            min-width: 0;
        }
        .catalog-search-wrap button {
            border: 1px solid var(--primary-color);
            border-left: none;
            background: var(--primary-color);
            color: #fff;
            border-radius: 0 6px 6px 0;
            padding: 0 14px;
        }
        .catalog-sort-select {
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 8px 12px;
            font-size: 14px;
            color: #334155;
            min-width: 0;
            max-width: 100%;
        }

        /* Карточки магазина (Tilda-style) */
        .store-grid-section {
            padding: 48px 0 80px;
        }
        .store-card {
            background: var(--light-bg);
            border-radius: 12px;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
            transition: transform 0.25s, box-shadow 0.25s;
        }
        .store-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 28px rgba(0, 11, 48, 0.12);
        }
        .store-card-img-wrap {
            background: #ebebeb;
            padding: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 220px;
        }
        .store-card-img-wrap img {
            max-width: 100%;
            max-height: 200px;
            object-fit: contain;
        }
        .store-card-body {
            padding: 20px 20px 24px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .store-card-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--primary-hover);
            margin-bottom: 10px;
            line-height: 1.35;
        }
        .store-card-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.5;
            margin-bottom: 16px;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .store-card-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .btn-store-primary {
            background: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 13px;
            padding: 10px 16px;
            font-weight: 600;
            font-size: 0.9rem;
            box-shadow: 0 10px 20px rgba(0, 11, 48, 0.2);
            transition: background 0.2s;
        }
        .btn-store-primary:hover {
            background: var(--accent-color);
            color: #fff;
        }
        .btn-store-outline {
            background: #fff;
            color: var(--primary-color);
            border: 1px solid var(--accent-color);
            border-radius: 13px;
            padding: 10px 16px;
            font-weight: 600;
            font-size: 0.9rem;
            box-shadow: 0 10px 20px rgba(0, 11, 48, 0.12);
            transition: all 0.2s;
        }
        .btn-store-outline:hover {
            background: var(--accent-color);
            color: #fff;
        }

        /* Модальное окно товара */
        .product-detail-modal .modal-dialog {
            max-width: 1100px;
        }
        .product-detail-modal .modal-header {
            align-items: flex-start;
        }
        .product-modal-back {
            color: var(--primary-hover);
            font-weight: 600;
        }
        .product-modal-back:hover {
            color: var(--accent-color);
        }
        .product-detail-html {
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.55;
            margin-bottom: 1rem;
        }
        .product-detail-html strong {
            color: var(--primary-hover);
        }
        .product-detail-html ul {
            padding-left: 1.2rem;
            margin: 0.5rem 0 1rem;
        }
        .product-detail-html li {
            margin-bottom: 0.35rem;
        }
        .product-detail-relevants {
            border-top: 1px solid #e2e8f0;
            padding-top: 0.5rem;
        }
        .store-card--compact .store-card-img-wrap--sm {
            min-height: 120px;
            padding: 10px;
        }
        .store-card--compact .store-card-img-wrap--sm img {
            max-height: 100px;
        }
        .store-card-body--compact {
            padding: 12px 14px 14px;
        }
        .store-card-catalog {
            font-size: 0.75rem;
            color: #6c757d;
            line-height: 1.3;
        }

        .store-card-title--sm {
            font-size: 0.95rem;
            line-height: 1.3;
            margin-bottom: 6px;
        }
        .store-card-desc--sm {
            font-size: 0.8rem;
            line-height: 1.4;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .store-card--compact .store-card-actions {
            flex-direction: column;
            gap: 6px;
        }
        .store-card--compact .store-card-actions .btn {
            width: 100%;
            font-size: 0.8rem;
            padding: 6px 10px;
        }
        .product-detail-img {
            background: #f8fafc;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
        }
        .product-detail-img img {
            max-width: 100%;
            max-height: 360px;
            object-fit: contain;
        }
        .product-detail-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-hover);
            margin-bottom: 20px;
        }
        .product-spec-row {
            margin-bottom: 8px;
            font-size: 0.95rem;
            line-height: 1.5;
        }
        .product-spec-row strong {
            color: var(--primary-hover);
        }
        .product-spec-row span {
            color: #475569;
        }
        .product-block-title {
            font-weight: 700;
            color: var(--primary-hover);
            margin: 20px 0 10px;
            font-size: 1rem;
        }
        .product-detail-list {
            padding-left: 1.2rem;
            color: #475569;
            font-size: 0.95rem;
        }
        .product-detail-list li {
            margin-bottom: 6px;
        }
        .product-breadcrumb {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 24px;
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
        }

        /* Смотрите также */
        .relevants-section {
            padding: 60px 0 80px;
            background: #fafbfc;
        }
        .relevants-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-hover);
            margin-bottom: 28px;
        }

        /* Квиз — двухколоночный layout */
        .quiz-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
            align-items: start;
        }
        .quiz-hint-top {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 16px;
        }
        .quiz-footer-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 28px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }
        .quiz-check-grid {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .quiz-check-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
            background: #f5f5f5;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.9rem;
            border: 2px solid transparent;
            transition: border-color 0.2s, background 0.2s;
        }
        .quiz-check-item:has(input:checked) {
            border-color: var(--accent-color);
            background: #e8f2fc;
        }
        .quiz-check-item input {
            accent-color: var(--accent-color);
        }

        @media (max-width: 991px) {
            .catalog-toolbar {
                overflow-x: hidden;
                max-width: 100%;
            }
            .catalog-toolbar .container {
                flex-direction: column;
                align-items: stretch !important;
                gap: 12px;
                width: 100%;
                max-width: 100%;
                min-width: 0;
            }
            .catalog-toolbar .container > * {
                width: 100%;
                max-width: 100%;
                min-width: 0;
            }
            .catalog-filters-scroll {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                overflow-y: hidden;
                gap: 8px;
                padding-bottom: 4px;
                width: 100%;
                max-width: 100%;
                min-width: 0;
                -webkit-overflow-scrolling: touch;
            }
            .catalog-filter-btn {
                white-space: nowrap;
                margin-right: 0;
                flex-shrink: 0;
            }
            .catalog-search-wrap {
                max-width: 100%;
                width: 100%;
                margin-left: 0;
            }
            .catalog-sort-select {
                width: 100%;
                max-width: 100%;
                min-width: 0;
            }
            .quiz-layout {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 575px) {
            .store-card-img-wrap {
                min-height: 180px;
            }
            .product-detail-modal .modal-body .row {
                flex-direction: column-reverse;
            }
        }

