/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/
/*кнопка каталога */
/* Каталог: базовый вид */
/* Каталог: статичный фон */
/* Битркс формы */
/* Обычное состояние */

.b24-form-field .b24-form-field-text .b24-form-control-text {
    padding-top: 100px!important;
    margin-top: 100px!important;
}
.b24-form-field .b24-form-field-file .b24-form-control-file .b24-form-control-group
 {
    padding-bottom: 25px!important;
    margin-bottom: 25px!important;
     display: block!important;
}

.b24-form-control-string .b24-form-control-label, .b24-form-control-list .b24-form-control-label, .b24-form-control-text .b24-form-control-label {
    top: -22px!important;
    font-size: 13px!important;
    padding-left: 0px!important;
    display: block!important;
}
.b24-form-control[type="textarea"],
textarea.b24-form-control {
    height: 150px !important;
    min-height: 150px !important;
    resize: vertical; /* или 'none' если запрещать растягивание */
}
.b24-form-control-container {

    padding: 0 0 25px!important;
}

.b24-form-header-title {
    display: none!important;
}
.b24-form-header {
    display: none!important;
    padding: 0 !important;
}

.b24-form-header-title {
    text-align: left!important;
    font-weight: 700!important;
}
.b24-form-header-description {
    text-align: left!important;
}
.form_head_body_b24 {
    padding: 15px 31px 10px 31px;
}
.form_head_b24 {
    font-weight: 700;

}
.form_desc_b24 {
    margin-bottom: 0;
    margin-top: 15px;
}
.b24-form-control-string .b24-form-control, .b24-form-control-list .b24-form-control, .b24-form-control-text .b24-form-control, .b24-form-control-select .field-item {
    background: #fafafa;
    background: var(--darkerblack_bg_black)!important;
    border: 1px solid #ececec;
    border-color: var(--stroke_black)!important;
    border-radius: 3px!important;
    box-shadow: none!important;
    color: #383838!important;
    color: var(--white_text_black)!important;
    height: auto!important;
    font-size: 14px!important;
    outline: none!important;
    height: 48px!important;
    padding: 8px 13px 7px!important;
}


.b24-form-control-string .b24-form-control:focus,
.b24-form-control-list .b24-form-control:focus,
.b24-form-control-text .b24-form-control:focus,
.b24-form-control-select .field-item:focus {
    background: #fafafa!important;
    background: var(--input_focus_bg)!important;
    border-color: var(--stroke_black)!important;
    outline: none!important;
}
.b24-form-field-layout-section {
    font: 12px var(--b24-font-family)!important;
    color: #E50000!important;
    color: var(--b24-text-color);
    margin: 5px 0 5px!important;
    word-break: break-word;
}
.form_body_b24 {
    margin: 0;
    padding: 8px 20px 8px;
}
.form_body_b24 {
    margin: 0;
    padding: 8px 20px 8px;
}

.b24-form-state-container .b24-form-success {
    background-color: transparent !important;
}

.style-switcher>.top_block_switch {
    display: none!important;
}
/* Только svg и стрелка на верхнем уровне */
.wrapper_inner_half.shop-detail1 .item .left_block_store {
    margin: 20px 0 0 auto !important;
}
.store_contacts_h1 {
    padding: 0 16px 0 32px;
    font-size: 25px;
    display: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.menu-item.highlight-catalog > .wrap > a svg,
.menu-item.highlight-catalog > .wrap > a .svg-inline-down {
    filter: brightness(0) invert(1) !important;
}

/* Удалим общий стиль, который перекрашивал все svg */
.menu-item.highlight-catalog svg,
.menu-item.highlight-catalog .svg-inline-down {
    filter: none !important;
}
.linked-banners-list .banners-slider .banner.item span {

    border-radius: 10px;
}

/* Остальное оставляем — фон, цвет и ховер */
.menu-item.highlight-catalog > .wrap > a {
    background-color: #E50000 !important;
    color: #FFFFFF !important;
    height: 42px;
    line-height: 42px;
    padding: 0 20px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-sizing: border-box;
    filter: none !important;
}
.has-secion-banner.light-menu-color #header .menu-row:not(.bgcolored):not(.bglight) td:not(.search-item).active .wrap>a, .has-secion-banner.light-menu-color #header .menu-row:not(.bgcolored):not(.bglight) td:not(.search-item):hover .wrap>a {
    opacity: 1 !important;
}
/* Поисковая кнопка: SVG всегда #FAFAFA */
.btn-search svg {
    fill: #FFFFFF !important;
    stroke: #FFFFFF !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
}

/* На всякий случай — hover отдельно */
.btn-search:hover svg {
    fill: #FAFAFA !important;
    stroke: #FAFAFA !important;
    color: #FAFAFA !important;
}

/* Иногда нужный цвет применяется через use xlink:href — усилим его */
.btn-search use {
    fill: #FAFAFA !important;
    color: #FAFAFA !important;
    opacity: 1 !important;
}

.logo_and_menu-row .search .search-input {
    padding: 0 44px 0 16px;
    height: 42px;
    font-size: .867em;
    line-height: 40px;
    background: #FFFFFF !important;
    background: var(--light_bg_black);
    border: 2px solid #E50000 !important;
    border-color: var(--stroke_black);
    color: var(--white_text_black);
    border-radius: 5px;
}

.logo_and_menu-row .search .btn-search {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0 16px;
    border: none;
    background: #E50000 !important;;
    font-size: 0;
    border-radius: 0px 5px 5px 0px !important; /* ВПРАВО: верхний правый, нижний правый */
}

/* Доплнительное меню */
.catalog-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
   }

.catalog-strip__menu {
    flex: 1 1 auto;
}

.catalog-strip__buttons {
    display: flex;
    gap: 10px;
}

/* Общий стиль кнопок */
.catalog-strip__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.3;

}

/* Акции */
.catalog-strip__btn.sale {
    background: linear-gradient(135deg, #ff4c4c, #e50000);
}
.catalog-strip__btn.sale:hover {
    background-color: #E50000;
    color: #FFFFFF;
}
.catalog-strip__btn .icon-fire {
    width: 16px;
    height: 16px;
    fill: white;
    margin-right: 6px;
}

/* Хиты продаж */
.catalog-strip__btn.hits {
    background-color: #FFF5F5;
    color: #E50000;
    border: 1px solid #E50000;
    font-weight: 600;
}

/* Ховер эффект для hits */
.catalog-strip__btn.hits:hover {
    background-color: #E50000;
    color: #FFFFFF;
}

/* Ховер эффект */
.catalog-strip__btn:hover {
    filter: brightness(0.95);
}

.catalog-text-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog-text-menu__item {
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.catalog-text-menu__link {
    text-decoration: none !important;
    color: #000 !important;
    line-height: 1;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.simple-top-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.simple-top-menu__item {
    margin: 0;
    padding: 0;
}

/* ссылка */
.simple-top-menu__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #262626;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* точечное подчёркивание, скрыто по умолчанию */
.simple-top-menu__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    border-bottom: 1px dotted #E50000;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* hover — плавное появление */
.simple-top-menu__link:hover {
    color: #E50000;
}

.simple-top-menu__link:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

/* активный пункт — подчёркнут */
.simple-top-menu__item--active .simple-top-menu__link {
    color: #E50000;
}

.simple-top-menu__item--active .simple-top-menu__link::after {
    transform: scaleX(1);
    opacity: 1;
}

/* svg иконки */
.simple-top-menu__link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    display: block;
}

/* убираем возможные дефисы */
.simple-top-menu__item::before {
    content: none !important;
}

.success-message-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
}

.success-message {
    max-width: 500px;
    width: 100%;
}

.success-message__icon {
    margin: 0 auto 30px;
    display: inline-block;
}

.success-message__text {
    font-size: 15px;
    color: #262626;
    line-height: 1.5;
}






.colored_table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.colored_table td {
    word-break: break-word;
    padding: 8px;
}
.item-stock .value {
    color: #25a4f1 ;
}
.item-stock .icon {
    background: #25a4f1;
}
.bx_filter_vertical .bx_filter_block.limited_block {
    max-height: 100%;
}

/* Стиль для строк при наведении */
.colored_table tbody tr:hover {
    background-color: var(--darkerblack_bg_black); /* Цвет фона при наведении */
}
.colored_table {
    font-size: 14px; /* Уменьшаем размер текста */
}

.colored_table td, .colored_table th {
    padding: 1px; /* Уменьшаем отступы в ячейках */

}

.colored_table th {
    font-weight: bold; /* Делаем заголовки жирными */
}
.ral-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.ral-color {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ral-swatch {
    width: 100%;
    height: 80px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ral-label {
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
    color: #000;
    line-height: 1.3;
}

.styled-block_srok {
    border-left: 2px solid;
    border-color: var(--theme-base-color);
    background: #f5f5f5;
    background: var(--darkerblack_bg_black);
    color: #555555;
    color: var(--basic_text_black);
    margin-bottom: 5px;
    clear: both;
    margin-top: 5px;
    padding: 37px 50px;
    font-size: 15px;
}

.items-list1.item-views.table .item .image img {
    opacity: 1;
    max-height: max-content;
}
.bx_filter_vertical input[type="checkbox"] + label.dib>span, .bx_filter_vertical input[type="checkbox"] + label.pal>span {
    border-radius: 5px;
}
.wrapper_inner > div, .container_inner {

    margin-top: 20px;
}
.middle > div, .container {
    margin-top: 10px;
}

.viewed_product_block .viewed-wrapper .block-item {
    background: white;
}
.landings_list{
    border-bottom: none!important;
}

.top-block-wrapper {
    margin-bottom: 20px;
}

.filter-panel-wrapper, .compact-catalog .inner_wrapper .ajax_load.block .bottom_nav {
    padding: 0 10px;
}
.filter-panel {
    border-radius: 8px;
    border: 1px solid #ececec;
    border-color: var(--stroke_black);
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 10px;
}
body .catalog_block.items .item_block.item {
    padding: 10px;
}
.catalog_block .catalog_item > div, .bottom_nav .ajax_load_btn {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.slide-block__head {
    border-left: 1px solid #ececec;
    border-right: 1px solid #ececec;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    border-color: var(--stroke_black);
    border-radius: 10px;
    padding: 23px 22px!important;
    margin-bottom: 10px;
}

.slide-block__body .bx_filter_section, .side-block.bordered, .viewed_product_block .block-items .block-item.bordered, .viewed_product_block .block-items .block-item.bordered .item {
    border-radius: 10px;
}

.catalog_block .menu.dropdown > li:first-child .bordered {
    border-radius: 10px 10px 0 0;
}
.bx_filter .bx_filter_parameters_box:last-child, .catalog_block .menu.dropdown > li:last-child .bordered, .side-block.bordered .side-block__bottom .btn {
    border-radius: 0 0 10px 10px;
}
.banner_content_bottom_container > img, .img-responsive {
    border-radius: 10px;
}
.slider-solution  {
    border-radius: 10px;
}
.image__fon, .shine {
    border-radius: 10px;
}

.float_banners2 > div .big {
    border-radius: 10px;
}
.rounded3, .rounded3.darken-bg-animate:before, .rounded3.darken-bg-animate:after {
    border-radius: 10px;
}
.block_container.bordered {
    border-radius: 10px 0 0 10px;
}
.contacts_map_list > div, .contacts_map {
    border-radius: 0 10px 10px 0;
    overflow: hidden;
}
.swiper-wrapper > div, .swiper-slide, .rounded3 {
    border-radius: 10px;
    overflow: hidden;
}
.row.margin0>div[class*="col-"] {
    padding-right: 10px;
    padding-bottom: 5px;
}
.row.margin0> div, .bordered {
    border-radius: 10px;
}
.product-container .product-view--mix .product-info-wrapper {
    border-radius: 10px;
}
.btn {
    border-radius: 8px;
}
.wrap_cont .opener {
    border-radius: 10px 0 0 10px;
}
.row.sid.items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Пространство между карточками */
}

.item-wrap {
    margin: 0; /* Убираем лишние отступы, если были */
    flex: 1 1 calc(33.33% - 10px); /* Для 3 карточек в строке с учетом gap */
    max-width: calc(33.33% - 10px); /* Максимальная ширина с учетом gap */
}
.menu_top_block.menu-type1 .left_menu.dropdown {
    margin: 0;
    padding: 0;
    border-radius: 0px!important;
}

.menu_top_block.menu-type1 .left_menu.dropdown .item {
    margin: 0;
    border-radius: 0px!important;
}
.row.margin0> div, .icons_fa.bordered {
    border-radius: 0px;
}

.left_menu > li:first-child > a, .side-news__list .side-news__item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.left_menu > li:last-child > a, .left_menu > li:last-child .child_container.dropdown, .side-news__list .side-news__item:last-child {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
/* Конпка вверх */
a.scroll-to-top.RECT_COLOR, a.scroll-to-top.RECT_GREY, a.scroll-to-top.RECT_WHITE {
    border-radius: 10px;
}
/* О компании */
.item-views.company.type2.md .item.video-block .image {
    width: 100%;
    height: 960px;
}
.item .video-block > div, .rounded, .rounded.darken-bg-animate:before, .rounded.darken-bg-animate:after {
    border-radius: 10px;
}
.left-block-contacts > img, .img-responsive {
    border-radius: 8px;
    height: 100%;
    width: 95%;
}
/* отзывы на главной */
.swiper-wrapper > div, .reviews.item-views.compact .item-wrapper {
    padding: 10px;
}
.image__fon, .shine > span {
    border-radius: 10px;
}
.with_dropdown .dropdown>.wrap {
    border-radius: 10px;
}
/* контакты */
.wrapper_inner_half.shop-detail1 .contacts_map {
    height: 50%;
}
.wrapper_inner_half.shop-detail1 {
    border-top: 0px solid #ececec;
    border-color: var(--stroke_black);
    padding-top: 20px;
}
.wrapper_inner_half.shop-detail1 .contacts_map {
    height: 50%;
}
.top-content-block>div {

    padding-bottom: 20px;
}

.map-full > div, .contacts_map {
    border-radius: 10px 10px 10px 10px;
    border-top: 1px solid #ececec;
    border-color: var(--stroke_black);
}
.contacts-stores.shops-list1 .item {
    margin: 0 0 10px;
    padding: 30px;
}
.wraps .hover_shine > div, .top-block-wrapper {
    margin-bottom: 0px;
}
/* Бренды */
body .docs-block .docs_wrap {
    border-radius: 10px;
}
.small-gallery-block__item-counter {
    row-gap: 32px;
    margin-right: 5px;
    padding-top: 72px;
    padding-bottom: 724px;


}
.small-gallery-block__item-counter::after {

    border-radius: 10px;
}
.search-page-wrap> hr {
    display: none!important;
}
.top-content-block>hr {
    display: none!important;
}
    /* Сотрудничество */
.cooperation-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки */
    gap: 10px; /* Расстояние между карточками */
    padding: 0px; /* Убраны отступы */
}

.cooperation-card {
    height: 300px;
    background: #F3F4F6;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    position: relative;
    align-items: center; /* Центрируем содержимое вертикально */
}

.cooperation-card-content {
    padding: 0 40px; /* Убираем верхние и нижние отступы, только горизонтальные */
    width: 70%; /* Контейнер текста занимает 70% ширины */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем текст внутри текстового блока */
}

.cooperation-card-title {
    color: black;
    line-height: 31.2px;
    letter-spacing: 0.1px;
    margin: 0 0 10px; /* Отступ между заголовком и текстом */
}

.cooperation-card-text {
    color: black;
    line-height: 20px;
    margin: 0;
    word-wrap: break-word;
}

.cooperation-card img {
    position: absolute;
    right: 10px;
    top: 35px;
    width: auto;
    height: 90%; /* Масштабирование по высоте */
    border-radius: 5px;
}
.cooperation-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Увеличение тени при наведении */
}
/* стадии */
.cooperation-stage-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки */
    gap: 20px; /* Расстояние между блоками */
    padding: 0px; /* Внутренний отступ от краёв */
}

.cooperation-stage-card {
    display: flex;
    align-items: center; /* Вертикальное выравнивание содержимого */
    background: #fff; /* Белый фон */
    border-radius: 10px; /* Скругленные углы */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
    padding: 20px;
    overflow: hidden;
}

.cooperation-stage-number {
    font-size: 100px; /* Размер цифры */
    font-weight: 700; /* Жирный шрифт */
    color: #E50000; /* Красный цвет */
    line-height: 1; /* Высота строки */
    margin-right: 20px; /* Отступ справа от цифры */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15); /* Лёгкая тень */
}

.cooperation-stage-card-content {
    display: flex;
    flex-direction: column;
}

.cooperation-stage-card-title {
    font-weight: 700; /* Жирный шрифт */
    color: black;
    margin: 0 0 10px 0; /* Отступ снизу от заголовка */
}

.cooperation-stage-card-text {
    font-size: 14px;
    font-weight: 400; /* Обычный шрифт */
    color: black;
    line-height: 1.5; /* Лёгкий интервал между строками */
    margin: 0;
}

.wood-texture-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.wood-texture {
    width: 100px;
    text-align: center;
    cursor: pointer;
}
.wood-swatch {
    position: relative;
    width: 100px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.wood-thumb {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.wood-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.5) url('data:image/svg+xml;utf8,<svg fill="%23fff" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 2a8 8 0 015.3 13.9l4.4 4.4-1.4 1.4-4.4-4.4A8 8 0 1110 2zm0 2a6 6 0 100 12 6 6 0 000-12z"/></svg>') no-repeat center;
    background-size: 18px;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 50%;
}
.wood-swatch:hover .wood-zoom-icon {
    opacity: 1;
}
.wood-label {
    margin-top: 6px;
    font-size: 14px;
    color: #333;
}

/* Модалка */
.wood-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}
.wood-modal-content {
    position: relative;
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}
.wood-modal-content img {
    max-height: 70vh;
    max-width: 100%;
    border-radius: 8px;
}
.wood-modal-caption {
    margin-top: 12px;
    font-size: 16px;
    color: #333;
}
.wood-modal-close {
    position: absolute;
    right: 16px;
    top: 8px;
    font-size: 28px;
    cursor: pointer;
}