.header-middle-block {
    border-radius: 12px;
    padding: 20px 91px;
    background: #bd1839;
    max-width: 99%;
}

.layout-footer {
    width: 99%;
    margin: 0 auto 0.5%;
}


.intec-footer.standard .block-standard-1 {
    border-radius: 12px;
}

.intec-footer.standard .footer-border[data-theme=dark] {
    border: none;
}

.int-tabs-contrast {
    max-width: 99%;
    border-radius: 12px;
    margin: 0 auto;
}

.intec-header-fixed .header-middle-block {
    border-radius: 0;
    max-width: none;
}

.menu-wrapper.ui-bg-ntr-b{
    background-color: rgba(189, 24, 57, 0);
}
.ns-bitrix.c-menu.c-menu-horizontal-1 .menu-wrap,
.menu-wrapper.ui-bg-ntr-b,
.ns-bitrix.c-menu.c-menu-horizontal-1 .menu-item[data-theme=light][data-bright=false]:hover {
    background-color: rgba(189, 24, 57, 0) !important;
}

.ns-bitrix.c-menu.c-menu-popup-1 .menu-open svg,
.header-middle-block-wrapper svg,
.ui-svg-stroke-prm svg
{
    stroke: #ffffff;
    color: #ffffff;
    fill: #ffffff;
}

.header-middle-block-wrapper input {
    background-color: #ffffff !important;
}

.ns-bitrix.c-search-title.c-search-title-input-1 .search-title-form-button-submit svg {
    stroke: #808080;
    color: #808080;
    fill: #808080;
}


.ns-bitrix.c-menu.c-menu-horizontal-1 .menu-item-text {
    color: #ffffff;
    margin: 3px 19px;
    padding: 14px 21px;
    border: 1px solid #ffffff;
}

.ns-bitrix.c-menu.c-menu-horizontal-1 .menu-item-text svg {
    fill: #ffffff !important;
}

.header-middle-block .ind-m-v-20 {
    margin-bottom: 16px;
    margin-top: 16px;
}

.header-middle-block {
    padding: 1px 94px;
}

.ns-bitrix.c-menu.c-menu-horizontal-1 .menu-item-text-wrapper {
    font-size: 16px;
    line-height: 123%;
    color: #fff;
}

.header-middle-search {
    padding: 0 9px;
}

.ns-bitrix.c-search-title.c-search-title-input-1 {
    height: 50px;
}

.ns-bitrix.c-search-title.c-search-title-input-1 form input {
    height: 100%
}

.ns-bitrix.c-search-title.c-search-title-input-1 .search-title-form-input {
    height: 50px;
    border-radius: 4px;
    padding-left: 19px;
}

.intec-header .header-basket-wrapper {
    fill: #ffffff;
    stroke: #ffffff !important;
}
.header-upper-block {
    background-color: #ffffff;
}

.header-upper-block .template-container {
    max-width: 1817px;
    margin: 0 0 0 35px;
}

.widget-menu-items {
    gap: 17px;
    justify-content: start;
    margin: 0;
}

.intec-header.standard-8 .header-menu-info [data-role=items] {
    justify-content: start;
    width: fit-content;
}

.menu-button-transparent {
    background: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #1b1e25;
    border: none;
}

.menu-button-transparent:hover {
    cursor: pointer;
}

.header-basket-counter {
    font-weight: 400;
    width: 16px !important;
    font-size: 8px;
    line-height: 8px;
    height: 19px;
    top: -7px !important;
    right: 8px !important;
    background-color: #1B1E25 !important;
}

/* /bitrix/templates/kosmos_s1/components/intec.kosmos/banners/main */
.banners-desktop {
    margin: 5px 0 0;
}

.item-buttons a.item-button {
    background: #cb1a3d;
    font-weight: 600;
    font-size: 14px;
    line-height: 186%;
    color: #fff;
    border: none;
}

.item-buttons a.item-button:hover {
    background-color: rgba(203, 26, 61, 0.8) !important;
}

.banners-desktop .item-main {
    border-radius: 12px;
    width: 99%;
    margin: 0 auto;
}

.swiper-pagination-bullet-active,
.swiper-pagination-bullet-active:hover,
.swiper-pagination-bullet-active:before,
.swiper-pagination-clickable .swiper-pagination-bullet:hover,
.swiper-pagination-clickable .swiper-pagination-bullet:hover:before{
    background-color: #CB1A3D;
    border-color: #CB1A3D;
}

.header-basket-wrapper .ui-svg-stroke-prm-hover:hover svg,
.ui-svg-stroke-prm-b-hover:hover svg,
.ui-svg-stroke-prm-b-hover:hover svg,
.menu-open svg:hover,
.header-middle-icon .ui-svg-24:hover svg {
    fill: rgba(255, 255, 255, 0.8) !important;
    stroke: rgba(255, 255, 255, 0.8) !important;
}

.ui-svg-stroke-prm-hover:hover svg,
.header-upper-block .ui-svg-24:hover svg {
    fill: #CB1A3D !important;
    stroke: #CB1A3D !important;
}

/* bitrix/templates/kosmos_s1/components/intec.kosmos/advantages/standardtemplate.php  */

.intec-advantages.standard .blocks-standard-2 .item-picture-theme {
    fill: #1b1e25;
    stroke: #1b1e25;
}

.intec-advantages.standard .blocks-standard-2 .item {
    display: flex;
    gap: 2px;
}

/* /bitrix/templates/kosmos_s1/components/intec.kosmos/sections/standard/template.php */

#builder_sections {
    padding-top: 112px;
    padding-bottom: 147px;
}

/*.blocks-extended-3 .item {*/
/*    border-radius: 12px !important;*/
/*    background: #e0f4e5 !important;*/
/*}*/

.intec-sections.standard .blocks-extended-3 .item-name {
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #1b1e25;
}

.intec-sections.standard .blocks-extended-3 .item-count {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
    color: #808080;
}

.intec-sections.standard .blocks-extended-3 .item-svg svg {
    fill: none;
    stroke: none;
}

.intec-sections.standard .blocks-extended-3 .item-sections-wrapper>a:hover,
.intec-sections.standard .blocks-extended-3 .item>a:hover .item-name {
    color: #bd1839;
}

#builder_stages {
    padding-top: 138px;
    padding-bottom: 90px;
}

/* /bitrix/templates/kosmos_s1/components/intec.kosmos/brands/standard/ */

#builder_brands {
    padding-top: 110px;
    padding-bottom: 131px;
}

.intec-brands.standard .blocks-standard-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
}

.intec-brands.standard .blocks-standard-2 .item {
    background-color: #F0F2F0;
    flex: 0 0 calc(20% - 30px);
    border-radius: 12px;
    box-sizing: border-box;
    padding: 40px 25px !important;
    min-width: 150px;
    filter: none;
    border: none;
}

@media screen and (max-width: 768px) {
    .intec-brands.standard .blocks-standard-2 .item {
        flex: 0 0 calc(48% - 30px);
    }
}

#builder_news {
    padding-top: 132px;
    padding-bottom: 112px;
}

.intec-stages.slider .block-numbers-1 .item-additional{
    background: #f0f2f0;
    padding: 40px;
    border-radius: 12px;
}

.intec-stages.slider .block-numbers-1 .swiper {
    border-radius: 12px;
}

.complex-fixed .intec-header .header-border-block {
    width: 99%;
    margin: 10px auto 0;
    border-bottom: none !important;
    background: none;
}

.complex-fixed .intec-header .header-border-block .header-middle-block {
    border-radius: 12px;
}

.intec-header.standard-8 .header-border-block.both {
    border-top: none;
    border-bottom: none;
}

.ns-bitrix.c-menu.c-menu-popup-1 .menu-screen[data-show=true] {
    background-color: #303238;
}

.menu-screen[data-show=true] .menu-item-header,
.menu-screen[data-show=true] .menu-catalog-text,
.menu-screen[data-show=true] .menu-close,
.menu-screen[data-show=true] .menu-layout .flex,
.menu-screen[data-show=true] .menu-layout .flex-item   {
    color: #ffffff;
}

.menu-screen[data-show=true] .menu-item-header:hover,
.menu-screen[data-show=true] .menu-close:hover,
.menu-screen[data-show=true] .menu-layout .flex:hover,
.menu-screen[data-show=true] .menu-layout .flex-item:hover {
    color: #cb1a3d;
}

.complex-container[data-state=out] {
    top: -120px !important;
    transition: top 0.5s ease;
}

.ui-bg-ntr-qb,
.ui-bg-ntr-qb-hover:hover {
    background-color: #F0F2F0;
}

.vue-scroll-top svg {
    stroke: #000000;
}

.menu-screen[data-show=true] .layout-column-fixed .flex-item {
    color: #000000;
}

.ns-bitrix.c-menu.c-menu-popup-1 .menu-item-sub-text[data-state=deployed] a {
    color: #cb1a3d;
}

.menu-item-sub-arrow svg {
    stroke: #808080;
    color: #808080;
    fill: #808080;
}

/*Вопросы и ответы на главной*/

/*slot[name=tabs] {*/
/*    display: none !important;*/
/*}*/

/*regions-select*/

.regions-select-dialog-search {
    position: relative;
}

.regions-select-dialog-search .regions-select-dialog-search-icon-clear {
    position: absolute;
    top: 20%;
    right: 10px;
}

.regions-select-dialog-search .regions-select-dialog-search-icon-clear:hover {
    cursor: pointer;
}

.regions-select-dialog-region {
    margin: 0 0 10px;
}

.regions-select-dialog-region:hover {
    cursor: pointer;
}

#cityModal .ui-modal-content-wrap {
    margin: 6% auto !important;
}

.header-city:hover {
    cursor: pointer;
}

.header-city:hover svg {
    fill: #CB1A3D !important;
    stroke: #CB1A3D !important;
}

.header-city:hover {
    color: #CB1A3D;
}

.regions-select-dialog-search-result-region:hover  {
    cursor: pointer;
}

form[name="EDIT_COMPANY"] {
    max-width: 555px;
    margin: 0 auto;
}

.sale-personal-profile-list-company-item {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 37px;
}

.form-edit-company-field-container {
    margin-bottom: 20px;
}

.auth-link {
    margin-top: 10px;
    text-align: center;
    display: block;
}

.intec-header.fixed-1 svg {
    width: 100%;
    height: 100%;
}

.intec-header.standard-8 .fragment-auth svg {
    width: 100%;
    height: 100%;
}

.footer-disclaimer {
    border-bottom: 1px solid #303238;
    padding: 0 0 38px;
}

.footer-disclaimer p {
    margin: 0;
    color: #808080;
}

.intec-footer.standard .footer-copyright {
    padding-left: 0;
    padding-right: 32px;
}

.news-list-item-map-show .flex-item svg {
    stroke: #cb1a3d;
    color: #cb1a3d;
    fill: #cb1a3d;
}

.footer__input-wrapper .ui-label, .footer__input-wrappe .ui-switch-input:checked ~ label {
    color: #808080 !important;
}
a.ui-text-prm {
    text-decoration: none;
}

.footer__input-wrapper {
    display: flex;
    gap: 7px;
    align-items: center;
}

.footer__input-wrapper label {
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .footer__input-wrapper label {
        white-space: wrap;
    }
}

.subscribe-form .ui-button {
    width: -webkit-fill-available;
}

.bitrix-subscribe-edit {
    width: 100%;
}

.subscribe-form {
    display: flex !important;
    gap: 5%;
}

.bitrix-subscribe-edit.footer .subscribe-edit {
    gap: 110px;
}



@media screen and (max-width: 1366px) {
    .subscribe-form {
        flex-direction: column;
        gap: 10px;
        max-width: 420px;
    }

    .bitrix-subscribe-edit {
        width: auto;
    }

    .bitrix-subscribe-edit.footer .subscribe-edit {
        gap: 20px;
    }
}

.intec-footer.standard .footer-address {
    align-items: start;
}

.offer__container {
    display: flex;
    width: 100%;
    padding: 3rem;

    border-radius: 10px;
}

.offer__heading {
    font-size: 2em;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.offer__description {
    flex: 1;
    border-radius: 10px;
}

.offer__image-block {
    flex: 1;
    padding-left: 2rem;
}

.offer__image-block img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    object-fit: cover;
}


.offer__text-block {
    width: 50%;
    padding: 3rem 2rem 0;
    background-color: #F0F2F0;
    border-radius: 12px;
}

@media screen and (max-width: 768px) {
    .offer__container {
        flex-direction: column;
        padding: 12px 10px 30px;
    }

    .offer__image-block {
        padding: 0;
        margin-bottom: 2rem;
    }

    .offer__text-block {
        order: 2;
        width: 100%;
    }
}

.footer-bottom .flex--768-a-h-center {
    display: none;
}

.intec-footer.standard .footer-contacts[data-wide=false] {
    display: flex;
    flex-direction: column;
}

.header-border-block {
    box-shadow: 0 -10px 0 0 rgba(255, 255, 255, 1);
}

@media screen and (min-width: 768px) {
    .swiper-pagination-horizontal.swiper-pagination-bullets {
        bottom: 17px;
    }

    .intec-banners.main .blocks-standard-1 .item-main-content[data-align=left] {
        padding-bottom: 250px;
    }

    #builder_advantages .intec-advantages.standard .blocks-standard-1 .item-name, #builder_advantages .intec-advantages.standard .blocks-standard-1 .item-description {
        color: #ffffff;
    }

    #builder_advantages .intec-advantages.standard .blocks-standard-1 .item-picture-theme {
        fill: #ffffff !important;
        stroke: #ffffff;
    }

    #builder_banner {
        position: relative;
        z-index: 1;
    }

    #builder_advantages {
        position: relative;
        margin: -151px 12px 0px 12px;
        z-index: 2;
        border-radius: 0 0 12px 12px;
        background: rgba(19, 32, 40, 0.50);

    }

    .news-detail-advantages-2 {}
}


/*Поделиться корзиной*/
.share-basket-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.share-basket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.share-basket-header h1 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.shared-basket-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shared-basket-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    transition: transform 0.2s;
}

.shared-basket-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.item-image {
    flex: 0 0 120px;
    margin-right: 20px;
}

.item-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.item-name:hover {
    color: #bd1839;
}

.item-quantity {
    font-size: 14px;
    color: #777;
    margin-right: 10px;
}

.item-actions {
    display: flex;
    align-items: center;
}

.item-remove-btn {
    background: none;
    border: none;
    color: #bd1839;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.item-remove-btn:hover {
    color: #99132b;
}


@media (max-width: 768px) {
    .shared-basket-item {
        flex-direction: column;
        padding: 15px;
    }

    .item-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .share-basket-page {
        padding: 10px;
    }

    .add-all-items-to-basket-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Основные стили модального окна */
.modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 400px;
    max-width: 90%;
    z-index: 1000;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modal-window {
    min-width: 725px;
}

@media (max-width: 768px) {
    .modal-window {
        min-width: auto;
    }
}

.hidden {
    display: none;
}

/* Кнопка закрытия */
.close-cart-notification {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #bd1839;
    transition: color 0.3s;
}

.close-cart-notification:hover {
    color: #99132b;
}

/* Стили контента модального окна */
.modal-content {
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.modal-content b {
    color: #bd1839;
    font-weight: 700;
}

/* Контейнер с ссылкой */
.share-link-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .share-link-container {
        flex-direction: column;
        gap: 20px;
    }
}

#shareable-link {
    background-color: #f8f8f8;
    padding: 10px 15px;
    border-radius: 4px;
    margin-right: 10px;
    word-break: break-all;
    font-family: monospace;
    color: #333;
}

/* Сообщение об успехе */
.copy-success-message {
    margin-top: 10px;
    color: #28a745;
    font-size: 14px;
}

/* Анимация появления модального окна */
.modal-window.show {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.modal-window.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
}

.intec-reviews-list picture {
    display: none;
}

.intec-about.standard .block-extended-3 .item-picture {
    /*position: static;*/
}

.c-client-detail a, .layout-column-content p a {
    text-decoration: none;
    color: #cb1a3d;
}

.c-client-detail a:hover, .c-client-detail a, .layout-column-content p a:hover {
    color: #000;
}

.contact__info .footer-phone a:hover {
    color: #cb1a3d;
    text-decoration: none;
}

.contact__info .footer-phone a {
    color: #000000;
}

@media (min-width: 768px) {
    .hide-on-desktop {
        display: none;
    }
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}

.lg-img-wrap .lg-image {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
}

 .lg-img-wrap {
    display: flex;
    justify-content: center;
}


@media (max-width: 768px) {
    .bitrix.catalog-element.static-standard-1 .product-basket {
        grid-template: auto / 1fr;
    }

    .lg-img-wrap .lg-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }
}

.bitrix.catalog-element-content .content-properties-group-items {
    max-width: 813px;
}

.intec-banners.main .banners-mobile .mobile-standard-2 .item-description p img {
    display: none;
}

.sale-personal-section-menu > .flex {
    justify-content: space-between;
}

.sale-personal-section-menu > .flex > .flex-item {
    width: fit-content !important;
}

.item-date-wrapper .item-date {
    opacity: 0;
}

.product-disclaimer{
    color: #9B9B9B;
}

.product-disclaimer-svg{
    position: relative;
    top: 6px;
    margin: 0 3px 0 10px;
}

.smartsearch-title__wrap .smartsearch-title__input{
    border-radius: 4px;
}

.layout-content #builder_include {
    display: none;
}