/* roboto-condensed-regular - cyrillic_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v30-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-500 - cyrillic_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-condensed-v30-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-700 - cyrillic_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v30-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-900 - cyrillic_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v30-cyrillic_latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* 1. Убираем все отступы и границы по умолчанию */

/*#303030*/
/*#C2181F*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. Наследуем шрифт для форм */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* 3. Убираем маркеры списков */
ul,
ol {
    list-style: none;
}

/* 4. Обнуляем ссылки */
a {
    text-decoration: none;
    color: inherit;
}

/* 5. Снимаем оформление у заголовков */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

/* 6. Устанавливаем базовый стиль для body */
body {
    line-height: 1.5;
    font-family: 'Roboto Condensed', sans-serif;
    color: #303030;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* 7. Сброс для изображений */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 8. Убираем фокус-стили (если нужны — добавим отдельно) */
:focus {
    outline: none;
}


/*конец блока normalize reset*/

* {
    font-family: 'Roboto Condensed', sans-serif;
}


header {
    line-height: 140%;
    font-weight: 400;
    letter-spacing: 0;
    margin-top: 5px;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
}


.header-top {
    background: #fff;

}

.header-top-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.header-top-inner > * {

}

.header-top-inner > *:last-child {
    margin-right: 0;
}

.header-top-inner a:hover {
    color: #C2181F;
}

.company:hover {
    color: #C2181F;
}


.logo img {
    height: 60px;
}

.site-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-top a {
    color: #303030;
    text-decoration: none;
    font-size: 20px;
}

.phone a {
    color: #303030;
    text-decoration: none;
    font-size: 18px;
}

.company-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    width: 140px;
    z-index: 1000;
    overflow: hidden;
}

.company-dropdown-menu a {
    padding: 10px 12px;
}

.company-dropdown-menu li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #303030;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.company-dropdown-menu li:last-child {
    border-bottom: none;
}

.company-dropdown-menu li:hover {
    background-color: #f5f5f5;
}

.company-dropdown-menu i {
    font-size: 16px;
    color: #303030;
}

.dropdown {
    position: relative;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.location-icon {
    color: #303030;
    padding-bottom: 4px;
}


.current-address {
    font-size: 18px;
}

.exact-address {
    color: #808B94;
    font-size: 12px;
}

#current-phone {
    font-size: 14px;
}

.dropdown-toggle .exact-address {
    color: #808B94;
    font-size: 14px;
}

.small-icon {
    font-size: 10px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 17px); /* небольшой отступ вниз от заголовка */
    min-width: 180px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    z-index: 1000;
    right: 0;
    left: auto;
}

.dropdown-menu li {
    list-style: none;
}

/*.dropdown-menu a {*/
/*    display: block;*/
/*    padding: 12px 20px;*/
/*    font-size: 14px;*/
/*    font-weight: 500;*/
/*    color: #303030;*/
/*    transition: background-color 0.2s ease;*/
/*    white-space: nowrap;*/
/*}*/

.address-dropdown-menu {
    padding: 10px 12px;
}

.dropdown-menu a:hover {
    background-color: #f6f6f6;
}

.fancy-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fancy-dropdown li:hover {
    background: #f6f6f6;
}

.fancy-dropdown i {
    font-size: 14px;
    color: #303030;
}

/*bottom*/

.header-bottom {
    background: #303030;
    padding: 0 60px;
    margin: 0 -60px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.catalog-wrapper {
    position: relative;
}

.catalog-btn {
    height: 72px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0 0;
}

.catalog-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.catalog-dropdown-container {
    position: absolute;
    top: calc(100% + 4px); /* <--- вот этот отступ вниз */
    left: 0;
    display: none;
    z-index: 1000;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 1160px;
}

.catalog-dropdown-container.active {
    display: flex;
}

.catalog-left {
    border-right: 1px solid #eee;
}

.catalog-dropdown {
    width: 280px;
    padding: 0;
    border-right: 1px solid #eee;
    border-radius: 4px 0 0 4px;
    background: #fff;
    list-style: none;
    margin: 0;
}


.catalog-dropdown li {
    list-style: none;
    border-bottom: 1px solid #eee;
}

.catalog-dropdown li:last-child {
    border-bottom: none;
}

.catalog-dropdown li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    color: #303030;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease;
}

.catalog-dropdown li a:hover {
    background-color: #f5f5f5;
}

.catalog-dropdown li i {
    font-size: 12px;
    color: #303030;
}


/*правая плашка*/


.catalog-panel {
    background: #fff;
    border-left: 1px solid #eee;
    border-radius: 0 4px 4px 0;
    padding: 24px;
    overflow-y: auto;
    max-height: 500px;
    scroll-behavior: smooth;
    width: 876px;
}

/* Стилизация скроллбара */
.catalog-panel::-webkit-scrollbar {
    width: 6px;
}

.catalog-panel::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.catalog-panel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.catalog-panel::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.catalog-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.catalog-panel-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-panel-header {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #303030;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.catalog-panel-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog-panel-list li {
    font-size: 14px;
    color: #303030;
    margin-bottom: 4px;
    cursor: pointer;
    padding-left: 42px;
}

.catalog-panel-list li:hover {
    text-decoration: underline;
}

.catalog-panel-list a:hover {
    color: #303030;
}

.catalog-panel-group:hover {
    background: #fafafa;
    border-radius: 4px;
}

.catalog-panel-content {
    display: none;
}

.catalog-panel-content.active {
    display: block;
}


.search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #303030;
    border-radius: 2px;
    height: 40px;
    color: #303030;
    position: relative;
    overflow: visible;
}


.search-bar input {
    border: none;
    padding: 8px 12px;
    outline: none;
    width: 400px;
    height: 40px;
}

.search-bar input::placeholder {
    color: #303030;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    opacity: 1; /* важно для Firefox */
}

.search-bar button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 18px;
}

/* Search dropdown */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 1200;
    overflow: hidden;
    max-height: 420px;
    display: none;
}
.search-dropdown[hidden] { display: none !important; }
.search-dropdown.active { display: block; }

.search-results {
    display: block;
    max-height: 360px;
    overflow-y: auto;
}

.search-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #f3f3f3;
    align-items: center;
    cursor: pointer;
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: #f9f9f9; }

.search-item .thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    display: block;
}

.search-item .meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-item .title {
    font-size: 14px;
    color: #303030;
    line-height: 1.25;
}
.search-item .sku {
    font-size: 12px;
    color: #808B94;
}

.search-item .go {
    font-size: 12px;
    color: #C2181F;
    white-space: nowrap;
}

.search-dropdown .footer {
    border-top: 1px solid #eee;
    padding: 10px 12px;
    text-align: center;
    background: #fff;
}
.search-dropdown .footer a {
    font-size: 14px;
    color: #303030;
    text-decoration: none;
}
.search-dropdown .footer a:hover { text-decoration: underline; }

/* --- SEARCH INPUT: убрать голубой фон и «утолщение» при фокусе --- */
.search-bar input,
.search-bar input[type="search"] {
  background: #fff !important;
  -webkit-appearance: none;
  appearance: none;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0;
}

/* Ховер/фокус — тоже без перекраски и без глоу */
.search-bar input:focus,
.search-bar input:active,
.search-bar input:focus-visible {
  background: #fff !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Убрать спец-иконки поиска WebKit */
.search-bar input[type="search"]::-webkit-search-decoration,
.search-bar input[type="search"]::-webkit-search-cancel-button,
.search-bar input[type="search"]::-webkit-search-results-button,
.search-bar input[type="search"]::-webkit-search-results-decoration {
  display: none !important;
}

/* Firefox: внутренний бордер у контролов */
.search-bar input::-moz-focus-inner {
  border: 0 !important;
}

/* Chrome/Edge автозаполнение — гасим заливку */
.search-bar input:-webkit-autofill,
.search-bar input:-webkit-autofill:hover,
.search-bar input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #303030 !important;
  caret-color: #303030 !important;
  transition: background-color 9999s ease-out 0s !important;
}

/* Контейнер на фокус не меняет толщину и без тени */
.search-bar,
.search-bar:focus-within {
  border: 0 solid #303030 !important;
  box-shadow: none !important;
  background: #fff !important;
}


/* Узкий экран — тень и позиционирование сохраняем */
@media (max-width: 767px) {
    .mobile-search-bar .search-dropdown {
        position: static;
        margin-top: 8px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
        border: 1px solid #eee;
    }
}



.badge-sale {
    border-color: #C2181F;
    color: #C2181F;
}

.badge-hit {
    border-color: #2e7d32;
    color: #2e7d32;
}

.see-all {
    display: block;
    padding: 10px 12px;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #303030;
}


.header-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Общая обёртка для каждой иконки */
.icon-wrapper {
    display: flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    gap: 12px;
}

.white-icon {
    color: #fff;
}

/* Круглая иконка */
.icon-circle {
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background 0.2s ease;
}

.icon-circle:hover {
    background: #eee;
}

.icon-circle i {
    font-size: 20px;
    color: #303030;
}

/* Счётчик справа */
.counter-text {
    font-size: 14px;
    font-weight: 500;
    color: #303030;
}

/* Выпадающая стрелка */
.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
    color: #303030;
}

.dropdown {
    position: relative;
    font-size: 20px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.small-icon {
    font-size: 10px;
}


.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background-color: #f0f0f0;
}

.dropdown-right {
    right: 0;
    left: auto;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 23px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    width: 240px;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown-menu li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.user-dropdown-menu li:last-child {
    border-bottom: none;
}

.user-dropdown-menu li:hover {
    background-color: #f5f5f5;
}

.user-dropdown-menu i {
    font-size: 16px;
    color: #555;
}


.category-bar {
    background: #fff;
    padding: 12px 0;
    font-size: 20px;
    max-width: 1160px;
    margin: 0 auto;
}

.category-inner {
    display: flex;
    gap: 24px;
    justify-content: flex-start;
}

.category-item {
    color: #000;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
}

.category-item:hover {
    text-decoration: underline;
}

.category-item.red {
    color: #C2181F;
}

.category-inner a:hover {
    color: #C2181F;
}

.sale {
    display: none;
}

.mobile-search {
    display: none;
}

.mobile-bottom-nav {
    display: none;
}

.mobile-account-menu {
    display: none;
}

.mobile-main-menu {
    display: none;
}

.mobile-catalog-sublevel {
    display: none;
}

.catalog-header {
    display: none;
}

.dropdown-arrow {
    vertical-align: middle; /* или top / bottom — по ситуации */
    width: 12px;
    height: 7px;
    color: white;
}


.search-icon {
    padding-top: 4px;
}

.mobile-search-icon {
    padding-top: 4px;
}


.mobile-header-catalogue {
    display: none;
}

.header-catalogue {
    display: block;
}

.mobile-only {
    display: none;
}

.catalog-icon {
    width: 42px !important; /* фиксированная ширина */
    height: 42px !important; /* фиксированная высота */
    object-fit: initial; /* сохраняет пропорции и вписывает в рамку */
    display: inline-block;
    vertical-align: middle;
}

.catalog-item {
    display: flex;
    gap: 6px;
}

.catalog-item a:hover {
    color: #303030;
}

@media (max-width: 1279px) {

    .catalog-dropdown-container {
        width: 940px;
    }

    .catalog-panel {
        width: 700px;
    }

    .category-bar {
        background: #fff;
        padding: 12px 0;
        font-size: 16px;
        max-width: 964px;
        margin: 0 auto;
    }

    .category-inner {
        display: flex;
        gap: normal;
        justify-content: space-between;
    }

}


@media (max-width: 1220px) {


    .catalog-panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-panel {
        width: 810px;
    }

    .logo img {
        height: 50px;
    }

}


@media (max-width: 1023px) {

    .header-bottom {
        margin: 0 auto;
    }

    .header-top-inner,
    .header-bottom {
        padding: 0 4px;
    }

    .header-top a,
    .header-nav a,
    .dropdown,
    .catalog-btn,
    .phone a {
        font-size: 16px;
    }

    .dropdown-toggle,
    .dropdown-menu a,
    .company-dropdown-menu li,
    .user-dropdown-menu li {
        font-size: 14px;
    }

    .company {
        font-size: 16px;

    }

    .exact-address {
        font-size: 12px;
    }


    .search-bar {
        max-width: 50%;
    }

    .search-bar input::placeholder {
        font-size: 14px;
    }

    .catalog-dropdown-container {
        margin-left: -4px;
        width: 720px;
    }

    .catalog-left {
        font-size: 12px;
    }

    .catalog-panel {
        width: 424px;
    }

    .header-top-inner,
    .header-bottom {
        padding: 0 20px;
    }

    .category-bar {
        display: none;
    }
}

@media (max-width: 983px) {
    .catalog-panel {
        width: 424px;
    }

    .header-top-inner,
    .header-bottom {
        padding: 0 20px;
    }

}

@media (max-width: 922px) {
    .catalog-panel {
        width: 424px;
    }

    .header-top-inner,
    .header-bottom {
        padding: 0 20px;
    }
}


@media (max-width: 900px) {
    .search-bar input {
        border: none;
        padding: 8px 12px;
        outline: none;
        width: 200px;
        height: 40px;
    }
}

@media (max-width: 767px) {

    .catalog-panel {
        width: 340px;
    }

    .catalog-panel-grid {
        grid-template-columns: 1fr;
    }

    .phone a {
        font-size: 12px;
    }

    .header-top a,
    .header-nav a,
    .dropdown,
    .catalog-btn,
    .phone a {
        font-size: 16px;
    }

    .dropdown-toggle,
    .dropdown-menu a,
    .company-dropdown-menu li,
    .user-dropdown-menu li {
        font-size: 14px;
    }

    .company {
        font-size: 16px;
    }

    #current-phone {
        display: none;
    }
}


@media (max-width: 767px) {

    .header-top-inner {
        padding-top: 8px;
        padding-left: 0;
        padding-right: 0;
    }

    .catalogue-icon {
        display: none;
    }

    .mobile-header-catalogue {
        display: block;
    }

    .header-catalogue {
        display: none;
    }

    .mobile-catalog-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 76px;
        background: #fff;
        z-index: 1100;
        display: flex;
        flex-direction: column;
        padding: 16px;
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .mobile-catalog-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 16px;
        color: #303030;
    }

    .mobile-catalog-left {
        display: flex;
        align-items: center;
        gap: 10px; /* Расстояние между иконкой и заголовком */
    }

    .mobile-catalog-title {
        font-size: 18px;
        font-weight: 600;
        color: #303030;
    }

    .mobile-catalog-header button {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
        color: #444;
    }

    .mobile-catalog-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-catalog-menu li {
        border-bottom: 1px solid #eee;
    }

    .mobile-catalog-menu li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 12px;
        font-size: 15px;
        color: #303030;
        border-bottom: 1px solid #eee;
    }

    .mobile-catalog-menu li a i:first-child {
        font-size: 18px;
        margin-right: 12px;
        color: #303030;
        min-width: 20px;
    }

    .mobile-catalog-menu li a span {
        flex: 1;
    }

    .mobile-catalog-menu li a i:last-child {
        font-size: 12px;
        color: #999;
    }

    .mobile-catalog-sublevel {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 1110;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        padding: 16px;
    }

    .mobile-catalog-sublevel.active {
        transform: translateX(0);
    }

    .mobile-catalog-dropdown.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-catalog-breadcrumbs {
        font-size: 13px;
        color: #777;
        margin-bottom: 16px;
        padding-left: 24px;
    }

    .mobile-catalog-breadcrumbs a {
        color: #777;
        text-decoration: none;
        cursor: pointer;
    }

    .mobile-catalog-submenu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-catalog-submenu li {
        border-bottom: 1px solid #eee;
    }

    .mobile-catalog-submenu li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 12px;
        font-size: 15px;
        color: #303030;
    }

    .mobile-catalog-submenu li span {
        font-size: 14px;
        color: #888;
        margin-left: 6px;
    }

    .mobile-catalog-submenu li i {
        font-size: 14px;
        color: #aaa;
    }

    .logo img {
        height: 40px;
    }

    .phone a {
        font-size: 0; /* скрываем текст */
    }

    .header-bottom {
        background-color: #fff;
        height: 50px;
        padding-left: 0;
        padding-right: 0;
    }

    .catalog-btn {
        color: #303030;
        font-size: 14px;
    }

    .search-bar {
        display: none;
    }

    .search-bar input {

    }

    .header-top .dropdown .dropdown-toggle .current-city {
        font-size: 14px;
        font-weight: 400;
        color: #303030;
    }

    .header-top .dropdown-toggle .exact-address,
    .header-top .dropdown-toggle .city-separator {
        display: none;
    }

    .header-top .dropdown[data-dropdown="address"] .dropdown-toggle .exact-address,
    .header-top .dropdown[data-dropdown="address"] .dropdown-toggle .city-separator {
        display: none;
    }

    .header-icons {
        display: none;
    }

    .user {
        display: none;
    }

    .sale {
        display: inline;
        font-size: 14px;
        color: #C2181F;
        font-weight: 400;
        margin-left: auto;
    }

    .sale a {
        font-size: 16px;
    }

    .sale:hover {
        opacity: 0.9;
    }

    .mobile-search {
        display: inline-block;
    }


    .search-toggle {
        background: none;
        border: none;
        font-size: 20px;
        color: #303030;
        cursor: pointer;
        padding: 0 6px;
        margin-left: 12px;
    }

    .mobile-search {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .search-toggle {
        background: none;
        border: none;
        font-size: 20px;
        color: #303030;
        cursor: pointer;
    }

    .mobile-search-bar {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 8px 16px;
        z-index: 1001;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        align-items: center;
        gap: 8px;
    }

    .search-input-wrapper {
        position: relative;
        flex: 1;
        width: 100%;
    }

    .search-input-wrapper input {
        width: 100%;
        height: 40px;
        padding: 0 40px 0 12px;
        border: 1px solid #ccc;
        border-radius: 2px;
        font-size: 16px;
    }

    .search-submit {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        font-size: 18px;
        color: #303030;
        cursor: pointer;
    }

    .close-search {
        background: none;
        border: none;
        font-size: 20px;
        color: #888;
        cursor: pointer;
    }

    .mobile-search-bar:not(.active) {
        display: none;
    }

    .mobile-search-bar.active {
        display: flex;
    }


    /*нижняя менюшка*/
    .mobile-account-menu {
        display: block;
    }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 76px;
        background: #303030;
        border-top: 1px solid #303030;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 0;
        z-index: 1200;
    }

    .nav-btn {
        background: none;
        border: none;
        color: white;
        font-family: 'Roboto Condensed', sans-serif;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding: 0;
        cursor: pointer;
        min-width: 52px;
        font-size: 14px;
        gap: 4px;
    }

    .nav-badge {
        top: 0;
        right: 0;
        background: white;
        color: black;
        font-size: 10px;
        font-weight: bold;
        border-radius: 50%;
        padding: 2px 6px;
        line-height: 1;
    }

    .center-icons {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .nav-arrow {
        font-size: 10px;
        margin-left: 4px;
    }

    .icon-with-arrow {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .nav-center {
        display: flex;
        gap: 20px;
    }

    .edge {
        flex-shrink: 0;
    }

    body {
        padding-bottom: 76px;
    }

    .mobile-account-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 76px;
        background: #fff;
        z-index: 1200;
        overflow-y: auto;
        font-family: 'Roboto Condensed', sans-serif;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.3s ease;
    }

    .mobile-account-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-account-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-account-menu li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
        color: #222;
        cursor: pointer;
    }

    .mobile-account-menu li i {
        font-size: 18px;
        color: #555;
    }

    .mobile-account-menu li span {
        flex: 1;
        margin-left: 12px;
        text-align: left;
        color: #303030;
    }

    .mobile-account-menu li .fa-chevron-right {
        font-size: 12px;
        color: #999;
    }

    /*менюшка МЕНЮ*/
    .mobile-main-menu {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 76px;
        background: #fff;
        z-index: 1100;
        overflow-y: auto;
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        font-family: 'Roboto Condensed', sans-serif;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    }

    .mobile-main-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-main-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-main-menu li {
        border-bottom: 1px solid #eee;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
        color: #303030;
    }

    .mobile-main-menu li i {
        font-size: 18px;
        color: #555;
    }

    .mobile-main-menu li span {
        flex: 1;
        margin-left: 12px;
        text-align: left;
        color: #222;
    }

    .mobile-main-menu li .fa-chevron-right {
        font-size: 12px;
        color: #999;
    }

    .mobile-main-menu li:hover {
        background-color: #f5f5f5;
    }


    /*Каталог выпадашка*/
    .catalog-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 500;
        font-size: 18px;
        margin-bottom: 16px;
        color: #303030;
        border-bottom: 1px solid #efeded;
        padding: 20px 10px;
    }

    .catalog-header button {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #555;
    }

    .catalog-dropdown-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 76px;
        background: #fff;
        z-index: 1100;
        display: flex;
        flex-direction: column;
        padding: 16px;
        overflow-y: auto;
        transform: translateY(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .catalog-dropdown-container.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .catalog-dropdown-container .catalog-left {
        border: none;
        width: 100%;
    }

    .catalog-dropdown-container .catalog-panel {
        display: none;
    }

    .catalog-dropdown {
        width: 100%;
        padding: 0;
        background: none;
        border: none;
    }

    .catalog-dropdown li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 12px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    .catalog-dropdown li i {
        font-size: 14px;
        color: #aaa;
    }

    .catalog-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 16px;
    }

    .catalog-header button {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #555;
    }

    .mobile-catalog-sublevel {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 1110;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        padding: 16px;
    }

    .mobile-catalog-sublevel.active {
        transform: translateX(0);
    }

    .mobile-catalog-header button {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
        color: #444;
    }

    .mobile-catalog-title {
        flex: 1;
        text-align: center;
        font-weight: 700;
        font-size: 18px;
    }

    .mobile-catalog-breadcrumbs {
        font-size: 13px;
        color: #777;
        margin-bottom: 16px;
    }

    .mobile-catalog-breadcrumbs a {
        color: #777;
        text-decoration: none;
        cursor: pointer;
    }

    .mobile-catalog-submenu li {
        border-bottom: 1px solid #eee;
    }

    .mobile-catalog-submenu li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 12px;
        font-size: 15px;
        color: #303030;
    }

    .mobile-catalog-submenu li .label {
        flex: 1;
        text-align: left;
    }

    .mobile-catalog-submenu li .count {
        white-space: nowrap;
        color: #888;
        font-size: 14px;
    }

    .label-with-count {
        display: flex;
        align-items: center;
        gap: 6px; /* расстояние между названием и количеством */
    }

    .mobile-catalog-submenu li span {
        font-size: 14px;
        color: #888;
        margin-left: 6px;
    }

    .mobile-catalog-submenu li i {
        font-size: 14px;
        color: #aaa;
    }

    .company {
        padding-top: 4px;
    }

}

@media (max-width: 670px) {
    .desktop-only {
        display: none !important;
    }

    .company {
        padding-top: 0;
    }
}

@media (max-width: 670px) {
    .mobile-only {
        display: block;
    }
}

@media (max-width: 479px) {
    .large-only {
        display: none !important;
    }
}

/* ===== Modal: Запросить КП ===== */
.quote-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.quote-modal.active { display: block; }
.quote-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(1px); }

/* Диалог */
.quote-modal__dialog {
  position: relative;
  margin: 40px auto;
  max-width: 540px;
  width: calc(100% - 32px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
  padding: 20px 20px 22px;
  font-family: 'Roboto Condensed', sans-serif;
}
@media (min-width: 768px) {
  .quote-modal__dialog { padding: 24px 24px 26px; }
}

.quote-modal__close {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid #eee; background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.quote-modal__close:hover { background: #f7f7f7; }

.quote-modal__title {
  font-size: 22px; line-height: 1.2; font-weight: 500; color: #000; margin: 4px 0 14px;
}

/* Форма */
.quote-form__row { margin-bottom: 12px; }
.quote-form__label { display: block; font-size: 14px; color: #333; margin-bottom: 6px; }
.quote-form__input, .quote-form__textarea {
  width: 100%; border: 1px solid #DDD; border-radius: 10px; padding: 12px 14px;
  font-size: 15px; color: #000; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.quote-form__input:focus, .quote-form__textarea:focus {
  border-color: #4096ff; box-shadow: 0 0 0 3px rgba(64,150,255,.15);
}
.quote-form__textarea { resize: vertical; min-height: 120px; }

.quote-form__error { font-size: 12px; color: #cc0000; min-height: 16px; padding-top: 4px; }

.quote-form__consent {
  display: flex; gap: 10px; align-items: center; font-size: 14px; color: #333; margin: 10px 0 14px;
}
.quote-form__consent input { transform: translateY(1px); }

.quote-form__submit {
  width: 100%; padding: 12px 16px; border-radius: 12px; font-size: 16px; font-weight: 500;
  color: #fff; background: #C2181F; border: none; cursor: pointer; transition: opacity .15s, transform .02s;
}
.quote-form__submit:disabled { opacity: .5; cursor: not-allowed; }
.quote-form__submit:active:not(:disabled) { transform: translateY(1px); }

.quote-form__success, .quote-form__failure {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4;
}
.quote-form__success { background: #f0fff4; color: #146c2e; border: 1px solid #b8f1c9; }
.quote-form__failure { background: #fff5f5; color: #9b2c2c; border: 1px solid #f5c2c2; }

/* Сброс стилей кнопки-триггера в меню */
.menu-link { background: none; border: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }

/* На очень узких экранах — почти fullscreen */
@media (max-width: 480px) {
  .quote-modal__dialog {
    margin: 0; width: 100%; height: 100%;
    border-radius: 0; padding: 18px 16px 20px;
  }
  .quote-modal__title { font-size: 20px; margin-top: 28px; }
  .quote-modal__close { top: 8px; right: 8px; }
}

.zapros-kp a {
    color:#C2181F;
    font-size: 14px;
}

strong {
    font-weight: 500;
}

/* базовая кнопка на карточке */
.product-meta-bottom .product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #C2181F;
  background: #C2181F;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

/* состояние "добавляется" (полупрозрачно, клики блокируем) */
.product-button.btn-cart--pending {
  opacity: .7;
  pointer-events: none;
}

/* состояние "ошибка" */
.product-button.btn-cart--error {
  background: #B00020 !important;
  border-color: #B00020 !important;
  color: #fff !important;
}

/* главное: состояние "В корзине" — зелёная кнопка и не пропадает */
.product-button.btn-cart--added,
.product-button[aria-pressed="true"] {
  background: #3A7A63 !important;
  border-color: #3A7A63 !important;
  color: #fff !important;
}

/* на всякий случай — не даём темам/модулям спрятать кнопку */
.product-meta-bottom .product-button { visibility: visible !important; opacity: 1 !important; }

.mobile-account-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  text-decoration: none;
  color: #303030;
  transition: background-color 0.2s ease;
}

.mobile-account-link:hover {
  background-color: #f5f5f5;
}

.mobile-account-link span {
  flex: 1;
  margin-left: 12px;
  text-align: left;
  color: #303030;
}

.user-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.user-dropdown-menu li {
  margin: 0;
}

.user-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 4px 8px;
  color: #303030;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.user-dropdown-link:hover {
  background-color: #f5f5f5;
  color: #000;
}

.user-dropdown-link svg {
  flex-shrink: 0;
}

.user-dropdown-link span {
  flex: 1;
  white-space: nowrap;
}

.user-dropdown-link span {
  flex: 1;
  white-space: nowrap;
  font-size: 16px; /* было ~14px — стало чуть крупнее */
}

.mobile-main-menu a,
.mobile-main-menu li.js-open-quote-modal {
  display: flex;
  align-items: center; /* ← выравниваем иконку и текст по вертикали */
  gap: 10px; /* расстояние между иконкой и текстом */
  padding: 12px 16px;
  text-decoration: none;
  color: #303030;
}

.mobile-main-menu svg {
  flex-shrink: 0;
  display: block;
}

/* FIX: мобильный поиск — белый текст на белом фоне */
@media (max-width: 767px) {
  /* сам бар пусть наследует нормальный цвет */
  .mobile-search-bar {
    color: #303030;
    background: #fff; /* на всякий */
  }

  /* конкретно поле ввода */
  .search-input-wrapper input {
    background: #fff !important;
    color: #303030 !important;
    caret-color: #303030;
    -webkit-text-fill-color: #303030; /* iOS/Safari */
    border: 1px solid #ccc; /* если вдруг где-то сбросился */
  }

  .search-input-wrapper input::placeholder {
    color: #808B94;
    opacity: 1;
  }

  /* iOS автозаполнение не перекрашивает текст в белый */
  .search-input-wrapper input:-webkit-autofill,
  .search-input-wrapper input:-webkit-autofill:hover,
  .search-input-wrapper input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #303030 !important;
    caret-color: #303030 !important;
  }
}
