/**
 * ==========================================================================
 * HOME SIDEBAR STYLES — Professional Navigation Menu
 * ==========================================================================
 * 
 * Боковое меню для главной страницы магазина
 * Показывается только на desktop (>= 992px)
 * Sticky позиционирование — всегда видно при скролле
 * Профессиональный сдержанный дизайн
 */

/* ==========================================================================
   1. LAYOUT WITH SIDEBAR — Two Column Structure
   ========================================================================== */
.sh-layout-with-sidebar {
    width: 100%;
    min-height: calc(100vh - 120px);
}

.sh-layout-with-sidebar__container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--s-6, 24px);
    align-items: start;
    padding-top: var(--s-6, 24px);
    padding-bottom: var(--s-6, 24px);
}

.sh-layout-with-sidebar__main {
    min-width: 0;
}

/* ==========================================================================
   2. SIDEBAR CONTAINER — Clean Professional Card (No Internal Scroll)
   ========================================================================== */
.sh-home-sidebar {
    position: sticky;
    top: 100px;
    
    /* Clean white card */
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    
    /* Internal spacing */
    padding: 16px;
    
    /* Flex layout for full height distribution */
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   3. QUICK SELECTION BLOCK — Primary Actions
   ========================================================================== */
.sh-home-sidebar__quick {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.sh-home-sidebar__quick-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.sh-home-sidebar__quick-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.sh-home-sidebar__quick-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sh-home-sidebar__quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sh-home-sidebar__quick-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #6b7280;
}

.sh-home-sidebar .sh-home-sidebar__quick-link:hover {
    background: #134e4a;
    border-color: #134e4a;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sh-home-sidebar .sh-home-sidebar__quick-link:hover svg {
    color: #fff;
}

.sh-home-sidebar__quick-link:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

/* Accent variant (gold) */
.sh-home-sidebar__quick-link--accent {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.sh-home-sidebar__quick-link--accent svg {
    color: #d97706;
}

.sh-home-sidebar .sh-home-sidebar__quick-link--accent:hover {
    background: #78350f;
    border-color: #78350f;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sh-home-sidebar__quick-link--accent:hover svg {
    color: #ffffff;
}

/* ==========================================================================
   4. SECTION NAVIGATION — Category Groups
   ========================================================================== */
.sh-home-sidebar__section {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.sh-home-sidebar__section:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.sh-home-sidebar .sh-home-sidebar__title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    padding-left: 2px;
}

.sh-home-sidebar .sh-home-sidebar__title-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    opacity: 0.6;
}

.sh-home-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sh-home-sidebar__list li {
    margin: 0;
}

/* ==========================================================================
   5. LINKS — Navigation Items
   ========================================================================== */
.sh-home-sidebar__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 450;
    color: #4b5563;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sh-home-sidebar__link-marker {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.sh-home-sidebar__link-text {
    flex: 1;
}

.sh-home-sidebar .sh-home-sidebar__link:hover {
    background: #f3f4f6;
    color: #0f766e;
}

.sh-home-sidebar .sh-home-sidebar__link:hover .sh-home-sidebar__link-marker {
    background: #0f766e;
}

.sh-home-sidebar__link:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 1px;
}

/* ==========================================================================
   6. HELP BLOCK — Contact Actions (pushed to bottom)
   ========================================================================== */
.sh-home-sidebar__help {
    margin-top: auto;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.sh-home-sidebar__help-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 10px 0;
}

.sh-home-sidebar__help-title svg {
    width: 14px;
    height: 14px;
    color: #0f766e;
}

.sh-home-sidebar__help-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sh-home-sidebar__help-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sh-home-sidebar__help-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #9ca3af;
    transition: color 0.15s ease;
}

.sh-home-sidebar .sh-home-sidebar__help-btn:hover {
    background: #134e4a;
    border-color: #134e4a;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sh-home-sidebar .sh-home-sidebar__help-btn:hover svg {
    color: #fff;
}

.sh-home-sidebar__help-btn:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

/* ==========================================================================
   7. RESPONSIVE — Mobile/Tablet Behavior
   ========================================================================== */

/* Large tablets and below: sidebar hidden */
@media (max-width: 991px) {
    .sh-layout-with-sidebar__container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .sh-home-sidebar {
        display: none;
    }
}

/* Adjust for smaller desktop screens */
@media (min-width: 992px) and (max-width: 1199px) {
    .sh-layout-with-sidebar__container {
        grid-template-columns: 220px 1fr;
        gap: 16px;
    }
    
    .sh-home-sidebar {
        padding: 12px;
    }
    
    .sh-home-sidebar__quick-link {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .sh-home-sidebar__link {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .sh-home-sidebar__help-btn {
        font-size: 11px;
        padding: 6px 8px;
    }
}

/* Larger screens */
@media (min-width: 1400px) {
    .sh-layout-with-sidebar__container {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }
    
    .sh-home-sidebar {
        padding: 20px;
    }
}

/* ==========================================================================
   8. PRINT STYLES
   ========================================================================== */
@media print {
    .sh-home-sidebar {
        display: none;
    }
    
    .sh-layout-with-sidebar__container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   9. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .sh-home-sidebar__quick-link,
    .sh-home-sidebar__link,
    .sh-home-sidebar__help-btn,
    .sh-home-sidebar__link-marker {
        transition: none;
    }
}
/* ==========================================================================
   10. BREADCRUMBS — Compact Navigation (S28.1)
   ========================================================================== */
.sh-breadcrumbs {
    margin-bottom: 16px;
}

.sh-breadcrumbs__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.sh-breadcrumbs__item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sh-breadcrumbs__link {
    color: var(--color-text-secondary, #6b6560);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sh-breadcrumbs__link:hover {
    color: var(--color-accent, #2d7a5f);
    text-decoration: underline;
}

.sh-breadcrumbs__separator {
    width: 16px;
    height: 16px;
    color: var(--color-muted, #9c9590);
    flex-shrink: 0;
}

.sh-breadcrumbs__item--current .sh-breadcrumbs__text {
    color: var(--color-text, #2d2a26);
    font-weight: 500;
}

/* ==========================================================================
   11. CATALOG HEADER — Compact Title (S28.1)
   ========================================================================== */
.sh-catalog-header {
    margin-bottom: 24px;
}

.sh-catalog-header__title {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text, #2d2a26);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   12. CATALOG LAYOUT — Filter Sidebar + Products (S28.1)
   ========================================================================== */
.sh-catalog-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 28px;
    align-items: start;
}

.sh-catalog-layout__sidebar {
    position: sticky;
    top: 100px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.sh-catalog-layout__main {
    min-width: 0;
}

/* S52.0 - AJAX Loading State */
.sh-catalog-layout__main.is-loading {
    position: relative;
    pointer-events: none;
}

.sh-catalog-layout__main.is-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
}

.sh-catalog-layout__main.is-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #e5e7eb;
    border-top-color: #f97316;
    border-radius: 50%;
    animation: catalog-spin 0.8s linear infinite;
    z-index: 11;
}

@keyframes catalog-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   13. ПРЕМИАЛЬНЫЙ ФИЛЬТР С АККОРДЕОНОМ — Элитный B2C дизайн
   ========================================================================== */

/* Основа */
.catalog-filter {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* Шапка */
.catalog-filter__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.catalog-filter__title {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    letter-spacing: -0.02em;
}

.catalog-filter__clear {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.catalog-filter__clear:hover {
    color: #22c55e;
}

/* Аккордеон секция - S25.3: Компактнее */
.catalog-filter__section {
    border-bottom: 1px solid #f3f4f6;
    padding: 10px 0;
}

.catalog-filter__section:last-of-type {
    border-bottom: none;
}

.catalog-filter__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    user-select: none;
    padding: 2px 0;
    list-style: none;
}

.catalog-filter__label::-webkit-details-marker {
    display: none;
}

.catalog-filter__label span {
    flex: 1;
}

.catalog-filter__arrow {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.catalog-filter__section[open] .catalog-filter__arrow {
    transform: rotate(180deg);
}

/* S25.3: Компактнее */
.catalog-filter__content {
    padding-top: 10px;
}

/* Range slider с двумя ползунками */
.catalog-filter__range-wrap {
    position: relative;
    height: 20px;
    margin-bottom: 14px;
}

.catalog-filter__range {
    position: absolute;
    width: 100%;
    height: 2px;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 9px 0;
}

.catalog-filter__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #22c55e;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(34, 197, 94, 0.4);
    border: 2px solid #fff;
}

.catalog-filter__range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #22c55e;
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(34, 197, 94, 0.4);
    border: 2px solid #fff;
}

.catalog-filter__range-track {
    position: absolute;
    top: 9px;
    height: 2px;
    background: #22c55e;
    border-radius: 1px;
    pointer-events: none;
    z-index: 1;
}

.catalog-filter__range-wrap::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    border-radius: 1px;
}

/* Инпуты для диапазона */
.catalog-filter__row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-filter__input-wrap {
    position: relative;
    flex: 1 1 0;
    width: 100%;
    max-width: 120px;
}

.catalog-filter__input {
    width: 100%;
    height: 30px;
    padding: 0 32px 0 10px;
    font-size: 13px;
    color: #111827;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: left;
}

.catalog-filter__suffix {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #9ca3af;
    pointer-events: none;
    user-select: none;
}

.catalog-filter__input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.catalog-filter__input::placeholder {
    color: #9ca3af;
}

/* Кнопка "ОК" для применения площади */
.catalog-filter__row--area {
    gap: 6px;
}

.catalog-filter__area-apply {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 30px;
    padding: 0 10px;
    margin-left: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #22c55e;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
}

.catalog-filter__area-apply:hover {
    background: #16a34a;
}

.catalog-filter__area-apply:active {
    background: #15803d;
    transform: scale(0.97);
}

/* Кнопка "Применить цену" */
.catalog-filter__price-apply {
    width: 100%;
    margin-top: 12px;
    padding: 8px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.catalog-filter__price-apply:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.catalog-filter__price-apply:active {
    background: #d1d5db;
}

/* Badge активного фильтра цены */
.catalog-filter__active-badge {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

.catalog-filter__sep {
    color: #9ca3af;
    font-size: 15px;
    font-weight: 500;
    user-select: none;
    flex-shrink: 0;
}

.catalog-filter__unit {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    min-width: 28px;
    flex-shrink: 0;
}

/* Чекбоксы - S25.3: Компактнее */
.catalog-filter__checks {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.catalog-filter__checks::-webkit-scrollbar {
    width: 6px;
}

.catalog-filter__checks::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.catalog-filter__checks::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.catalog-filter__checks::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.catalog-filter__check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 4px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.catalog-filter__check:hover {
    background: #f9fafb;
}

.catalog-filter__check input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.catalog-filter__check input[type="checkbox"]:hover {
    border-color: #22c55e;
}

.catalog-filter__check input[type="checkbox"]:checked {
    background: #22c55e;
    border-color: #22c55e;
}

.catalog-filter__check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* S25.4: Radio buttons для фильтра инвертора */
.catalog-filter__check input[type="radio"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.catalog-filter__check input[type="radio"]:hover {
    border-color: #22c55e;
}

.catalog-filter__check input[type="radio"]:checked {
    background: #22c55e;
    border-color: #22c55e;
}

.catalog-filter__check input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.catalog-filter__check-text {
    font-size: 13px;
    color: #374151;
    line-height: 1.3;
    flex: 1;
}

.catalog-filter__check-count {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    margin-left: auto;
}

/* Радио */
.catalog-filter__radios {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-filter__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 6px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.catalog-filter__radio:hover {
    background: #f9fafb;
}

.catalog-filter__radio input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.catalog-filter__radio input[type="radio"]:hover {
    border-color: #22c55e;
}

.catalog-filter__radio input[type="radio"]:checked {
    border-color: #22c55e;
}

.catalog-filter__radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
}

.catalog-filter__radio-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.4;
}

/* Кнопка */
.catalog-filter__submit {
    width: 100%;
    height: 44px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.catalog-filter__submit:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

.catalog-filter__submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

/* Подсказка для фильтра (мульти-сплит) */
.catalog-filter__hint {
    font-size: 11px;
    color: #6b7280;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Сообщение "нет данных" для фильтра */
.catalog-filter__empty {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
    margin: 0;
    padding: 4px 0;
}

/* Кнопка "Все" для сброса radio */
.catalog-filter__check--clear {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.catalog-filter__check-text--clear {
    color: #6b7280;
    font-style: italic;
}

/* ==========================================================================
   14. БАННЕР ПОМОЩИ В ПОДБОРЕ
   ========================================================================== */

.catalog-help-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    min-height: 180px;
    padding: 32px 36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #cbd5e1;
}

.catalog-help-banner__content {
    position: relative;
    z-index: 2;
    max-width: 420px;
}

.catalog-help-banner__title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.catalog-help-banner__subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.catalog-help-banner__text {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.6;
    font-weight: 500;
    max-width: 380px;
}

.catalog-help-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8 !important;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.catalog-help-banner__btn:hover {
    background: #334155;
    border-color: #475569;
    transform: translateY(-1px);
    color: #cbd5e1 !important;
}

.catalog-help-banner__btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.catalog-help-banner__btn:hover svg {
    color: #cbd5e1;
}

.catalog-help-banner__image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    z-index: 1;
    overflow: hidden;
    display: flex;
}

.catalog-help-banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
}

.catalog-help-banner__image::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    bottom: 0;
    width: 150px;
    background: linear-gradient(90deg, #f8fafc 0%, rgba(248, 250, 252, 0.8) 30%, rgba(248, 250, 252, 0.3) 70%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 991px) {
    .catalog-help-banner {
        padding: 32px 24px;
        min-height: 200px;
    }

    .catalog-help-banner__title {
        font-size: 22px;
    }

    .catalog-help-banner__subtitle {
        font-size: 17px;
    }

    .catalog-help-banner__text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .catalog-help-banner__image {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .catalog-help-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 16px 12px;
        margin-bottom: 16px;
        min-height: auto;
        border-radius: 10px;
    }

    .catalog-help-banner__content {
        max-width: 100%;
    }

    .catalog-help-banner__title {
        font-size: 20px;
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .catalog-help-banner__subtitle {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .catalog-help-banner__text {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.4;
        max-width: 100%;
    }

    .catalog-help-banner__btn {
        padding: 10px 18px;
        font-size: 13px;
        gap: 6px;
    }

    .catalog-help-banner__btn svg {
        width: 16px;
        height: 16px;
    }

    .catalog-help-banner__image {
        position: relative;
        width: 100%;
        height: 140px;
        margin-top: 12px;
    }

    .catalog-help-banner__image img {
        border-radius: 8px;
    }

    .catalog-help-banner__image::before {
        display: none;
    }
}

/* Mobile: smaller headings (≤640px) */
@media (max-width: 640px) {
    .sh-catalog-header {
        text-align: center;
        margin-bottom: 16px;
    }

    .sh-catalog-header__title {
        font-size: 27px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        text-align: center !important;
        padding: 0 2px !important;
    }
}

/* ============================================================
   SECTION 15: CATALOG CONTACT CARD (COMPACT)
   ============================================================ */

.catalog-contact-card {
    background: #ffffff;
    border: 2px solid #0f766e;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.2), 0 2px 8px rgba(15, 118, 110, 0.12);
    position: relative;
}

.catalog-contact-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 14px 0;
    letter-spacing: -0.01em;
}

.catalog-contact-card__specialist {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.catalog-contact-card__photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.catalog-contact-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.catalog-contact-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.catalog-contact-card__role {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.catalog-contact-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 550;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px 10px;
    border-radius: 12px;
    margin-top: 2px;
    margin-bottom: 14px;
    width: 100%;
}

.catalog-contact-badge__dot {
    width: 5px;
    height: 5px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

.catalog-contact-card__phone {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.02em;
    padding: 10px 0;
    margin: 12px 0;
    border-radius: 8px;
    background: #f8fafc;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.catalog-contact-card__phone:hover {
    color: #ff8a00;
    background: rgba(255, 138, 0, 0.06);
}

.catalog-contact-card__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.catalog-contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.catalog-contact-action--tg {
    border-color: #2AABEE;
}

.catalog-contact-action--tg:hover {
    background: rgba(42, 171, 238, 0.06);
    border-color: #1d9cd8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(42, 171, 238, 0.15);
}

.catalog-contact-action__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2AABEE;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.catalog-contact-action__icon svg {
    width: 14px;
    height: 14px;
}

.catalog-contact-action--chat {
    border-color: #e2e8f0;
}

.catalog-contact-action--chat:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.catalog-contact-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #e2e8f0;
    flex-shrink: 0;
}

.catalog-contact-card__callback {
    margin-top: 14px;
}

.catalog-contact-card__callback-title {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.catalog-contact-card__form {
    position: relative;
    width: 100%;
}

.catalog-contact-card__input {
    width: 100%;
    height: 44px;
    padding: 0 52px 0 14px;
    font-size: 13px;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-contact-card__input:focus {
    outline: none;
    border-color: #64748b;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
}

.catalog-contact-card__input::placeholder {
    color: #94a3b8;
}

.catalog-contact-card__submit {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f766e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.catalog-contact-card__submit svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
}

.catalog-contact-card__submit:hover {
    background: #0d9488;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.catalog-contact-card__submit:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .sh-catalog-layout {
        grid-template-columns: 1fr;
    }
    
    .sh-catalog-layout__sidebar {
        position: static;
        order: 2;
    }
    
    .sh-catalog-layout__main {
        order: 1;
    }
}

/* ==========================================================================
   MOBILE FILTER - Professional e-commerce UX (≤640px only)
   ========================================================================== */
@media (max-width: 640px) {
    /* Hide desktop sidebar on mobile */
    .sh-catalog-layout__sidebar {
        display: none;
    }

    /* Mobile catalog bar */
    .mobile-catalog-bar {
        display: flex;
        gap: 10px;
        margin-bottom: 16px;
        padding: 0 4px;
    }

    .mobile-catalog-bar__btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-catalog-bar__btn:active {
        background: #f3f4f6;
        transform: scale(0.98);
    }

    .mobile-catalog-bar__btn svg {
        width: 18px;
        height: 18px;
        color: #6b7280;
    }

    .mobile-catalog-bar__btn--filter.has-filters {
        background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
        border-color: #10b981;
        color: #047857;
    }

    .mobile-catalog-bar__btn--filter.has-filters svg {
        color: #10b981;
    }

    .mobile-catalog-bar__count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        background: #10b981;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        border-radius: 10px;
    }

    /* Mobile sort select */
    .mobile-catalog-bar__sort {
        flex: 1;
        position: relative;
    }

    .mobile-catalog-bar__sort select {
        width: 100%;
        padding: 12px 36px 12px 16px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }

    .mobile-catalog-bar__sort::after {
        content: '';
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #6b7280;
        pointer-events: none;
    }
}

/* Show mobile bar only on mobile */
@media (min-width: 641px) {
    .mobile-catalog-bar {
        display: none !important;
    }
}

/* ==========================================================================
   MOBILE FILTER DRAWER - Bottom Sheet Style
   ========================================================================== */
.mobile-filter-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.mobile-filter-drawer.is-open {
    display: block;
}

.mobile-filter-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-filter-drawer__sheet {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: #fff;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
}

@keyframes slideUp {
    from { 
        transform: translateY(100%);
        opacity: 0.5;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-filter-drawer__handle {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 12px 0 8px;
}

.mobile-filter-drawer__handle::before {
    content: '';
    width: 36px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
}

.mobile-filter-drawer__header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px 16px;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-filter-drawer__title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.mobile-filter-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-drawer__close:active {
    background: #e5e7eb;
    transform: scale(0.95);
}

.mobile-filter-drawer__close svg {
    width: 20px;
    height: 20px;
}

.mobile-filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    -webkit-overflow-scrolling: touch;
}

/* Override filter styles inside drawer */
.mobile-filter-drawer .catalog-filter {
    background: transparent;
    padding: 0;
}

.mobile-filter-drawer .catalog-filter__head {
    display: none;
}

.mobile-filter-drawer .catalog-filter__section {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-filter-drawer .catalog-filter__label {
    font-size: 14px;
    padding: 4px 0;
}

.mobile-filter-drawer .catalog-filter__content {
    padding-top: 10px;
}

.mobile-filter-drawer .catalog-filter__check {
    padding: 10px 0;
    min-height: 44px;
}

.mobile-filter-drawer .catalog-filter__check-text {
    font-size: 14px;
}

.mobile-filter-drawer .catalog-filter__input {
    height: 44px;
    font-size: 15px;
}

.mobile-filter-drawer .catalog-filter__submit {
    display: none;
}

/* Drawer footer actions */
.mobile-filter-drawer__footer {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #f3f4f6;
}

.mobile-filter-drawer__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.mobile-filter-drawer__btn--reset {
    background: #f3f4f6;
    color: #6b7280;
}

.mobile-filter-drawer__btn--reset:active {
    background: #e5e7eb;
}

.mobile-filter-drawer__btn--apply {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.mobile-filter-drawer__btn--apply:active {
    transform: scale(0.98);
}
