:root {
    --primary: #655db0;
    --primary-h: #5249a5;
    --primary-dark: #484d64;
    --primary-deepdark: #2f3241;
    --primary-deepdark-h: #1e1a2f;
    --primary-light: #dcd1ff;
    --second-light: #9dc0fa;
    --second-light-h: #7ca8f1;
    --danger: #f72585;
    --dark: #2b2b2b;
    --light: #fdfcff;
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --primary-light-h: #cfc1ff;
    --primary-light-m: #f4f1f9;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #ffffff;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

.container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 20px;
}
/* ===== ФИКСАЦИЯ ХЕДЕРОВ ===== */
.top-bar,
.main-header {
    position: fixed;
    left: 0;
    right: 0;
}

.top-bar {
    top: 0;
    z-index: 1120; /* выше main-header, чтобы дропдаун города не прятался под шапкой */
}

.main-header {
    top: 30px;
    z-index: 1110;
}
.main-header-inner {
    display: flex;
    max-width: 1500px;
    align-items: center;
}

/* Отступ контента под фиксированные панели */
body {
    padding-top: calc(32px + 80px); /* top-bar + main-header */
}

/* ===== TOP BAR (тонкая верхняя полоса) ===== */
.top-bar {
    background: linear-gradient(29deg, #222 1%, #303240 12%, #474d66 54%, #433c30 84%, #473d2d 93%, #222 99%);
    color: #a8a8a8;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-bar a, .top-bar span {
    color: #a8a8a8;
    transition: color 0.2s;
}

.top-bar a:hover:not(.disabled) {
    color: #fff;
}

.top-bar .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.top-bar .business-link {
    color: #ffb84d;
    font-weight: 500;
}

/* ===== MAIN HEADER ===== */
.main-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 33;
}

.main-header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.city-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 16px;
}

.city-selector__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.city-selector__btn .city-selector__name {
    font-weight: 500;
}
.city-selector__btn:hover .city-selector__name {
    color: #d7dfe7;
}

.city-selector__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1000;
    width: 280px;
    background: #fff;
    color: #222;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    padding: 14px;
}

.city-selector__dropdown form + form {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.city-selector__input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.city-selector__apply {
    margin-top: 8px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    background: #222;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

.city-selector__reset {
    width: 100%;
    padding: 6px 10px;
    border: none;
    background: none;
    color: #222;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
}

/* Логотип */
.logo {
font-size: 28px;
    font-weight: 800;
    color: #464d68;
    padding: 0 20px 10px 0;
    text-decoration: none;
    letter-spacing: 1px;
    display: grid;
    white-space: nowrap;
    justify-items: center;
}
.text-logo {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
    }

/* Кнопка Каталог */
.catalog-btn {
    background: var(--primary-deepdark);
    color: var(--primary-light-m);
    border: none;
    padding: 14px 22px;
    border-radius: 6px;
    width: 136px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: background 0.2s;
}

.catalog-btn:hover {
    background: var(--primary-deepdark-h);
}

.catalog-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.catalog-icon span {
    width: 16px;
    height: 2px;
    background: var(--second-light);
    display: block;
}

/* Форма поиска (всегда открыта) */
.search-form {
    flex-grow: 1;
    display: flex;
    height: 48px;
    border: 2px solid var(--primary-deepdark);
    border-radius: 8px;
    position: relative;
    background: #fff;
}
.search-input {
    flex-grow: 1;
    border: none;
    padding: 0 18px;
    font-size: 15px;
    outline: none;
    background: #fff;
    border-radius: 6px 0 0 6px;   /* скругление слева */
}
.search-btn {
    background: var(--primary-deepdark);
    color: var(--primary-light-m);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    border-radius: 0 6px 6px 0;   /* скругление справа */
}

.search-btn:hover {
    background: var(--primary-deepdark-h);
}

/* Телефон в шапке */
.header-phone {
    text-align: right;
    white-space: nowrap;
}

.header-phone-number {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: block;
}

.header-phone-label {
    font-size: 11px;
    color: #888;
    display: block;
    margin-top: 2px;
}

/* Иконки справа */
.header-icons {
    display: flex;
    gap: 8px;
}

.icon-btn {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 11px;
    color: #555;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.icon-btn:hover {
    background: #ffffff;
}

.icon-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.icon-btn.disabled:hover {
    background: transparent;
}

.icon-btn .icon-emoji {
    font-size: 22px;
    margin-bottom: 2px;
}

.icon-btn .badge {
    position: absolute;
    top: 6px;
    right: 10px;
    background: #ff6b00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
}

.icon-btn.cart .icon-emoji {
    color: #ff6b00;
}

/* Иконка корзины на странице корзины — неактивная */
.icon-btn.cart.active-page {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
    position: relative;
}

/* Подпись "Вы здесь" (по желанию) */
.icon-btn.cart.active-page::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #ff6b00;
    border-radius: 2px;
}
.icon-btn .icon-label {
    max-width: 58px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    text-align: center;
    direction: ltr;
}


/* ===== НИЖНЯЯ НАВИГАЦИЯ (подкатегории) ===== */
.sub-nav {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 0 10px 0;
}

.sub-nav-list {
    display: flex;
    gap: 15px;
    list-style: none;
    flex-wrap: wrap;
}

.sub-nav-list a {
    color: #333;
    font-size: 14px;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.sub-nav-list a:hover {
    color: #ff6b00;
    border-bottom-color: #ff6b00;
}

/* ===== MAIN CONTENT ===== */
main {
    min-height: 50px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #2b2b2b;
    color: #a8a8a8;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
}

/* ===== МОДАЛЬНОЕ ОКНО ВХОДА ===== */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.login-modal-overlay.active .login-modal {
    transform: translateY(0);
}

.login-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.login-modal-close:hover {
    color: #333;
}

.login-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    color: #333;
}

.login-modal-form .form-group {
    margin-bottom: 16px;
}

.login-modal-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
}

.login-modal-form input[type="email"],
.login-modal-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.login-modal-form input[type="email"]:focus,
.login-modal-form input[type="password"]:focus {
    outline: none;
    border-color: #393939;
}

.form-group--remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
}

.login-modal-errors {
    background: #fee2e2;
    color: #dc2626;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.login-modal-submit {
    width: 100%;
    padding: 14px;
    background: #393939;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.login-modal-submit:hover {
    background: #211d1d;
}

.login-modal-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #666;
}

.login-modal-footer a {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
}

.login-modal-footer a:hover {
    text-decoration: underline;
}
.site-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.site-main {
    flex: 1 0 auto;
}
.site-footer {
    background: #f8f9fa;
    border-top: 1px solid #e8e8e8;
    padding: 2rem 0;
    margin-top: 4rem;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #2c6b5d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #1a4a3f;
    text-decoration: underline;
}
.breadcrumb-separator {
    margin-left: 10px;
    color: #666;
    font-weight: normal;
}
.catalog-sidebar.active {
    left: 0;
    z-index: 15;
    transform: translateX(0);
    width: auto;
}
@media (max-width: 768px) {
    .site-main { padding: 70px 0; }
    .catalog-sidebar.active { z-index: 80; }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}
/* SVG иконки */
.icon-svg {
    min-height: 29px;
    color: #555;
    margin-bottom: 2px;
}

.icon-btn:hover .icon-svg {
    color: #333;
}
/* ===== БОКОВОЕ МЕНЮ КАТАЛОГА ===== */
:root {
    --header-height: 100px;
    --sidebar-width: 230px;
    --header-height-mobile: var(--header-height);
    --submenu-width: 250px;
}
@media (max-width: 1024px) {
    .top-bar-inner { padding: 0px 25px; }
}
/* ===== АДАПТИВНОСТЬ (для хедера, работает на всех страницах) ===== */
@media (max-width: 900px) {
    .icon-btn { width: auto; height: auto; }
    .icon-btn span.icon-label { display: none; }
}

@media (max-width: 768px) {
    :root { --header-height-mobile: 165px; }
    .top-bar-right { display: none; }
    .logo {
        display: grid;
        justify-content: center;
    }
    .sub-nav-list {
        justify-content: center;
        padding: 8px 0 0 0;
        gap: 6px;
    }
    .main-header { padding: 8px 0; }
    .main-header-inner {
        display: grid;
        gap: 10px;
    }
    .top-bar,
    .main-header {
        padding: 10px 5px 12px 5px;
    }
    .header-icons {
        height: 25px;
        margin-top: 0;
        justify-content: space-around;
    }
    .catalog-sidebar.active {
        top: var(--header-height-mobile);
        margin-top: -5px;
        width: 100vw;
        max-width: 100vw;
        background: #fdfdfd;
    }
    .catalog-sidebar-list li a {
        padding: 12px;
        font-size: 1.3rem;
    }
    .catalog { padding: 0; }

    .top-bar { background: linear-gradient(29deg, #222 1%, #303240 33%, #474d66 54%, #222 99%); }
    .top-bar,
    .main-header { transition: transform 0.3s ease-in-out; }

    .top-bar.header--hidden { transform: translateY(-100%); }
    .main-header.header--hidden { transform: translateY(-150%); }
    .catalog-sidebar-overlay { display: none; }
    .catalog-sidebar { top: var(--header-height-mobile); }
    .catalog-sidebar.active { box-shadow: none; }
    body { padding-top: var(--header-height-mobile); }
    body.header-hidden-offset {
        padding-top: 0;
    }
    
    .submenu-list {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: 1px solid #eee;
        margin-top: 5px;
        padding-top: 5px;
        transform: translateX(0);
    }
    .submenu-list.submenu-visible {
        opacity: 1;
        visibility: visible;
    }
    .submenu-list li a {
        text-align: left;
        padding: 8px 24px;
        font-size: 1rem;
    }
}

.sidebar-open { overflow: hidden; }

.catalog-sidebar-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.catalog-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.catalog-sidebar {
    position: fixed;
    top: var(--header-height);
    left: -400px;
    width: var(--sidebar-width);
    max-width: calc(100vw - 40px);
    height: calc(100vh - var(--header-height));
    background: #fff;
    z-index: 1400;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
}


.catalog-sidebar-nav {
    padding: 20px 0;
}

.catalog-sidebar-list {
    list-style: none;
    margin: 0;
    font-size: 1rem;
    padding: 4px;
}

.catalog-sidebar-list > li {
    position: relative;
}

.catalog-sidebar-list li a {
    display: block;
    padding: 12px 23px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, padding-left 1s;
}

.catalog-sidebar-list li a:hover {
    background: #f9f9f9;
    padding-left: 26px;
    color: #ff6b00;
}

.has-submenu {
    position: relative;
}

.submenu-list {
    position: absolute;
    top: 0;
    left: 100%;
    width: var(--submenu-width);
    background: #fff;
    z-index: 1450;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.submenu-list.submenu-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-list li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.15s;
}

.submenu-list li a:hover {
    background: #f0f0f0;
    padding-left: 22px;
    color: #ff6b00;
}

.catalog-btn__close {
    display: none;
}

.sidebar-open .catalog-btn .catalog-icon,
.sidebar-open .catalog-btn .btn-text {
    display: none;
}

.sidebar-open .catalog-btn .catalog-btn__close {
    display: block;
    margin-left: 0;
}

.sidebar-open .catalog-btn {
    background: var(--primary-deepdark);
    color: var(--second-light);
    padding: 13px;
    width: 45px;
}

.sidebar-open .catalog-btn:hover {
    background: var(--primary-deepdark-h);
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    color: #333;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-right: 12px;
    border-radius: 4px;
    background: #f9f9f9;
}

.suggestion-info {
    flex: 1;
    min-width: 0;
}

.suggestion-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-code {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.suggestion-price {
    font-size: 14px;
    font-weight: 600;
    color: #2c5282;
}

.suggestion-total {
    padding: 10px 16px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.suggestion-total a {
    color: #2c5282;
    font-weight: 600;
    text-decoration: none;
}

.suggestion-total a:hover {
    text-decoration: underline;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.suggestion-query {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.15s;
}

.suggestion-query:hover {
    background: #f5f5f5;
}

.suggestion-query svg {
    flex-shrink: 0;
    color: #999;
}

/* ===== АКТИВНАЯ КНОПКА СРАВНЕНИЯ В КАРТОЧКЕ ===== */
.btn-add-to-compar.in-compare {
    background: var(--primary);
}

.btn-add-to-compar.in-compare:hover {
    background: var(--primary-h);
}

.btn-add-to-compar.in-compare svg path {
    stroke: #fff;
}

/* ===== ТОСТЫ (уведомления сравнения) ===== */
#compare-toasts {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.compare-toast {
    background: #2b2b2b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 90vw;
    text-align: center;
}

.compare-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.compare-toast--error {
    background: var(--primary-light-m);
    color: var(--danger);
}

.compare-toast--success {
    background: var(--primary-h);
}
/* ===== БОКОВОЕ МЕНЮ КАТАЛОГА (ДВУХПАНЕЛЬНОЕ) ===== */
.catalog-sidebar {
    display: flex;
    flex-direction: row;
    width: 100vw;
    max-width: 100vw;
    height: calc(100vh - var(--header-height));
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1400;
    transition: transform 0.3s ease;
    transform: translateX(-100%);
}


/* Левая панель: фиксированная ширина (например, 240px) */
.catalog-sidebar-nav {
    width: 240px;
    flex-shrink: 0;
    padding: 20px 0;
    overflow-y: auto;
    border-right: 1px solid #eee;
}

/* Правая панель: занимает всё оставшееся пространство */
.catalog-submenu-panel {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.catalog-root-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.catalog-root-link.active {
    background: #f2f3f5;
}

.root-arrow {
    color: #999;
    font-size: 18px;
}

.catalog-submenu-panel {
    display: none;
    width: 50%;
    overflow-y: auto;
    padding: 20px 24px;
}

.catalog-sidebar.panel-open .catalog-submenu-panel {
    display: block;
    width: 240px;
}

.submenu-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 4px 0;
    margin-bottom: 14px;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
}

.submenu-back-btn:hover {
    color: #333;
}

.submenu-current-title {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 14px;
}

.submenu-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.submenu-items-list li a {
    display: block;
    padding: 10px 4px;
    color: #333;
    text-decoration: none;
}

.submenu-items-list li a:hover {
    color: #ff6b00;
}
@media (max-width: 768px) {
    .catalog-sidebar {
        width: 100vw;
    }
    .logo { padding: 0; }
    .catalog-submenu-panel {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 5;
    }
    .catalog-sidebar-nav { width: 290px; }
    .catalog-sidebar.panel-open .catalog-sidebar-nav {
        width: 100%;
        border-right: none;
    }
    .catalog-root-link.active {
        font-size: 1.2rem;
        padding-left: 33px;
     }
    .catalog-sidebar.panel-open .catalog-submenu-panel {
        width: 100%;
        font-size: 1.2rem;
        padding-left: 33px;
    }  
    .catalog-btn { width:100%; }
    .catalog-sidebar-nav { border-right: none; }
    .sub-nav {
        margin-top: 100px;
        padding: 2px 0 12px 0;
    }
    .site-main { padding: 0; }
    .breadcrumb-separator {
        margin-left: 6px;
    }
    .sidebar-open .catalog-btn { width: 100%; }
    .sidebar-open .catalog-btn .catalog-btn__close { margin-left: 10px; }
    .icon-btn .badge {
        top: 0px;
        left: 10px;
        right: 0;
        width: 16px;
        height: 16px;
    }
}
@media (max-width: 600px) {
    .catalog-sidebar { max-width: 100vw; }
    .catalog-sidebar.active { width: 100%; min-width: 300px; }
    .catalog-sidebar-nav { width: 100%; }
    .top-bar-left {font-size: 0.6rem; }
    .logo { font-size: 22px; }
}

@media (max-width: 420px) {
    .site-body { min-width: 300px; }
    .logo { padding: 0; }
    .text-logo { font-size: 1.4rem; }
    .container {
        padding: 0;
    }
    .main-header {
        padding: 10px;
    }
    .catalog-sidebar.panel-open .catalog-submenu-panel { width: 100%; }
    .breadcrumb-separator {
        margin-left: 4px;
    }
}