.gallery__container {
    margin-top: 20px;
    position: relative;
}

.swiper-button-next svg, .swiper-button-prev svg {
    width: 50%;
    height: 50%;
}
.swiper-button-next svg {
    transform: rotate(180deg);
}

.swiper-button-next svg path, .swiper-button-prev svg path {
    stroke: white;
}

.gallery__container .swiper-button-next {
    right: -45px !important;
}
.gallery__container .swiper-button-next, .gallery__container .swiper-button-prev {
    top: 43% !important;
    background-color: #444 !important;
}
.swiper-button-next {
    right: -45px;
}
.swiper-button-next, .swiper-button-prev {
    top: 43%;
    background-color: #444;
    width: 40px;
    height: 40px;
}

.swiper-button-next::after, .swiper-button-prev::after{
    display: none;
}

.swiper-pagination {
    bottom: 0 !important;
}
.gallery__pagination {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.7rem;
    font-weight: 500;
    position: relative;
}

@media (max-width: 720px) {
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}

.gallery__container a.gallery__slide {
    height: 268px !important;
}

.swiper-button-next, .swiper-button-prev {
    top: 43%;
    transform: translateY(-50%);
}

.gallery__slide {
    height: 23rem;
    height: 18rem;
    background-color: #f9f9fc;
    background-position: center;
    background-size: cover !important;
    display: block;
}

.gallery__container .gallery__pagination {
    text-align: center !important;
    position: relative !important;
}

.gallery__container .swiper-button-next, .gallery__container .swiper-button-prev {
    top: 43% !important;
    background-color: #444 !important;
}

.gallery__container .swiper-button-next {
    right: -45px !important;
}

.gallery__container .swiper-button-prev {
    left: -45px !important;
}


.swiper-lazy {
    transition: opacity ease .3s
}

#main .swiper-lazy:not(.swiper-lazy-loaded) {
    background-size: auto
}

.swiper-lazy:not(.swiper-lazy-loaded)>div {
    opacity: 0
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(0,0,0,.1);
    opacity: 1;
    position: relative
}

.swiper-pagination-bullet:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -4px 0 0 -4px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 100%;
    transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    -webkit-transition: all .3s ease
}

.swiper-pagination-bullet.swiper-pagination-bullet-active:before,.swiper-pagination-bullet:hover:before {
    transform: scale(1.5);
    background-color: #9e9e9e;
    background-color: var(--theme-base-color)
}

.swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 21px
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 7px
}

.swiper-button-next,.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    background: var(--arrows_bg_black);
    border-radius: 3px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.swiper-button-next:hover,.swiper-button-prev:hover {
    background-color: #9e9e9e;
    background-color: var(--theme-base-color)
}

.swiper-button-next:after,.swiper-button-prev:after {
    background: url(../images/svg/header_icons.svg) no-repeat;
    font-size: 0;
    width: 7px;
    height: 12px;
    background-position: var(--light,0 -65px) var(--dark,0 -81px)
}

.swiper-button-prev:hover:after {
    background-position: 0 -81px
}

.swiper-button-next:after {
    background-position: -11px -65px;
    background-position: var(--light,-11px -65px) var(--dark,-11px -81px)
}

.swiper-button-next:hover:after {
    background-position: -11px -81px
}

.navigation_on_hover:not(:hover) .swiper-button-next,.navigation_on_hover:not(:hover) .swiper-button-prev {
    opacity: 0;
    visibility: hidden
}



.hystmodal {
    z-index: 999;
}

.hystmodal__window {
    max-width: 480px;
    padding: 30px 35px;
    background: var(--gray);
    border-radius: var(--radius);
}

.hystmodal__window .wrap_form .wrap_zag .zag {
    line-height: 130%;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}
.hystmodal__window .wrap_form .wrap_list .list_title {
    font-size: var(--fs-medium);
    font-weight: 600;
    line-height: 130%;
    font-family: var(--wix-display);
    margin-bottom: 15px;
}
.hystmodal__window .wrap_form .wrap_list .list_content {
    margin-bottom: -10px;
    max-width: 510px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.hystmodal__window .wrap_form .wrap_list .list_content li {
    background: #FFFFFF;
    border-radius: 4px;
    padding: 10px 20px;
    min-height: 50px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: var(--fs-small);
    color: #515151;
    letter-spacing: -0.01em;
    margin: 0 10px 10px 0;
    width: calc(50% - 10px);
}
.hystmodal__window .wrap_form .wrap_list .list_content li:last-child {
    width: calc(100% - 10px);
}
.hystmodal__window .wrap_form .wrap_list .list_content li span {
    padding-left: 15px;
}
.hystmodal__window .wrap_form .wrap_list .list_content li img {
    height: 30px;
}


@media (max-width: 767px) {

    .hystmodal__window .wrap_form {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .hystmodal__window .wrap_form .wrap_zag {
        margin-bottom: 35px;
    }

    .hystmodal__window .wrap_form .col {
        width: 100%;
        padding: 30px 15px;
    }

    .hystmodal__window .wrap_form .wrap_list {
        margin-bottom: 35px;
    }

    .hystmodal__window .wrap_form .wrap_list .list_title {
        font-size: 16px;
        text-align: center;
    }

    .hystmodal__window .wrap_form .wrap_list .list_content {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        margin: 0 -5px;
        max-width: none;
    }

    .hystmodal__window .wrap_form .wrap_list .list_content li {
        width: calc(33.33% - 10px);
        margin: 0 5px;
        font-size: 13px;
        display: block;
        text-align: center;
        min-height: 100%;
    }

    .hystmodal__window .wrap_form .wrap_list .list_content li:last-child {
        width: calc(33.33% - 10px);
    }

    .hystmodal__window .wrap_form .wrap_list .list_content li img {
        height: 20px;
        display: block;
        margin: 0 auto 5px;
    }

    .hystmodal__window .wrap_form .wrap_list .list_content li span {
        padding: 0;
    }
}

@media (max-width: 500px) {
    .hystmodal__window {
        max-width: calc(100% - 16px);
    }
}

@media (max-width: 479px) {
    .hystmodal__window .wrap_form .wrap_list .list_content {
        margin-left: -3px;
        margin-right: -3px;
    }

    .hystmodal__window .wrap_form .wrap_list .list_content li {
        width: calc(33.33% - 6px);
        margin: 0 3px;
        padding: 10px 5px;
    }

    .hystmodal__window .wrap_form .wrap_list .list_content li:last-child {
        width: calc(33.33% - 6px);
    }
}


/*
временные стили*/

.s_projects .tab-content .wrap_big .item_project .inner_details ul li,
.s_projects .tab-content .wrap_small .item_project .inner_details ul li {
    font-size: calc(var(--fs-medium) + 4px);
    font-weight: 500;
}

.s_calc .block_benefits .benefits_list > * {
    font-size: calc(var(--fs-default) + 2px);
    background: #3E7D44;
}

.s_calc .block_benefits .benefits_list > *:first-child {
    background: #DE8C2E;
}

.calc-section + .s_products {
    margin-top: 10px;
}


/*
для блока порошковая покраска*/
#poroshkovayaKraska {
    padding-top: 65px;
}

#poroshkovayaKraska iframe{
    margin-top: 0 !important;
}

.painting__poroshkovaya_phones{
    margin-top: 2rem;
}
.painting__poroshkovaya_phones img {
    max-width: 300px;

}

.row_new{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem 0 ;
}

.painting__icons-row div {
    font-weight: 500;
    font-size: 17px;
    display: flex;
    max-width: 300px;
    width: 100%;
    align-items: center;
}
.painting__icons-row div b {
    height: 7rem;
    width: 7rem;
    background-size: 70% auto;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 6px;
    background-color: #f9f9fc;
    margin-right: 1rem;
    display: inline-block;
}

.painting__icons-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top : 60px
}

.painting__icons-row div:nth-of-type(1) b {
    background-image: url('/upload/site/painting_1-icon.svg');
}
.painting__icons-row div:nth-of-type(2) b {
    background-image: url('/upload/site/painting_2-icon.svg');
}

.painting__icons-row div:nth-of-type(3) b {
    background-image: url('/upload/site/painting_3-icon.svg');
}
.painting__icons-row div:nth-of-type(4) b {
    background-image: url('/upload/site/painting_4-icon.svg');
}


@media (max-width: 1145px) {
    .painting__poroshkovaya_phones img {
        width: 23%;
    }

    .painting__icons-row {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

#formModal input[type="email"],
#formModal textarea,
#formModal input.product-data,
.s_consultation .ajax-form input[type="email"],
.s_consultation .ajax-form  textarea,
.s_consultation .ajax-form  input.product-data {
    display: none;
}

/*Для общих стилей верстки*/
.s_projects .tab-content .wrap_small .item_project .inner_title,
.s_projects .tab-content .wrap_big .item_project .inner_title,
.s_projects .tab-content .wrap_full .item_project .inner_title {
    color: #fff;
}

.s_projects .tab-content .wrap_small a.item_project {
    display: block;
}

/*Для идущих друг за другом блоков с товарами */

.s_products__wrapper .s_products {
    padding-bottom: 70px;
}

.s_products__wrapper .s_products:first-child {
    padding-top: 100px;

    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.s_products__wrapper .s_products:not(:first-child) {
    margin-top: 0;
    padding-top: 0;

    border-radius: 0;
}

.s_products__wrapper .s_products:last-child {
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.s_products .wrap_products .products .product .product_img img {
    height: 100%;
}

.s_products .section-title .text-green {
    padding: 0 10px 6px;
    display: inline-flex;

    background: #3aa13a;
    border-radius: 6px;
    line-height: 1;
    color: white;
}

.s_reviews--single {
    padding-top: 20px;
}

.s_products.epoxy-tables .wrap_products .products .product .product_img {
    height: 300px;
}

.s_products.grill-tables .wrap_products .products .product .product_img {
    height: 360px;
}

@media (max-width: 550px) {
    .s_products.epoxy-tables .wrap_products .products,
    .s_products.grill-tables .wrap_products .products {
        display: block;
        margin: 0;
    }

    .s_products.epoxy-tables .wrap_products .products .product,
    .s_products.grill-tables .wrap_products .products .product {
        width: 100%;
        margin-bottom: 15px;
    }

    .s_products.epoxy-tables .wrap_products .products .product .product_img {
        height: 350px;
    }
}

.wrap_zag.white h5 {
    color: white;
}

.bg-brightness {
    filter: brightness(80%);
}

/* Для блока гриль-столов */

.s_grill_price .wrap_content {
    justify-content: center;
}

.s_grill_price .wrap_content .item_content .item_zag {
    margin-bottom: var(--mb-default);

    font-size: 40px;
}

.s_grill_price .wrap_content .item_content .item_descr {
    max-width: none;
}

.s_grill_price .wrap_content .item_content {
    width: 80%;
    display: flex;
    gap: 40px;
    align-items: center;
    padding-right: 0;
}

.s_grill_price .wrap_content .item_details .item_price {
    padding: 5px 10px;
    background: var(--blue);
    color: #fff;
}

.s_grill_price .wrap_content .item_content .item_details {
    display: block;
}

.s_grill_price .wrap_content .item_details .item_title {
    color: inherit;
}

.s_grill_price .wrap_content .item_details .item_size {
    margin-bottom: 15px;

    color: inherit;
    font-size: 16px;
}

.reviews-gallery {
    display: flex;
    gap: 30px;
    margin-bottom: var(--mb-default);
}

.reviews-gallery__list {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.reviews-gallery__widget {
    width: 30%;
}

.reviews-gallery__item {
    max-height: 350px;
    overflow: hidden;

    border-radius: var(--radius);
}

.reviews-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1440px) {
    .s_grill_price .wrap_content .item_content > div:first-child {
        width: 70%;
    }

    .s_grill_price .wrap_content .item_content > div:last-child {
        width: 30%;
    }
}

@media (max-width: 1199px) {
    .reviews-gallery__list {
        width: 60%;
    }

    .reviews-gallery__widget {
        width: 40%;
    }
}

@media (max-width: 991px) {
    .reviews-gallery {
        gap: 15px;
    }

    .reviews-gallery__list {
        gap: 15px;
    }

    .s_grill_price .wrap_content .item_content,
    .s_grill_price .wrap_content {

        margin-inline: 0;
        width: 100%;
        max-width: none;
    }

    .s_grill_price .wrap_content .item_content .item_zag {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .s_grill_price .wrap_content .item_content {
        flex-direction: column;
        gap: 20px;
    }

    .s_grill_price .wrap_content .item_content > div:first-child,
    .s_grill_price .wrap_content .item_content > div:last-child {
        width: 100%;
    }

    .reviews-gallery {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .reviews-gallery__widget {
        width: 100%;
    }

    .reviews-gallery__list {
        width: 100%;
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 10px;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .reviews-gallery__list::-webkit-scrollbar {
        display: none;
    }

    .reviews-gallery__item {
        flex: 0 0 auto;
        width: 50vw;
        max-height: none;
    }
}

@media (max-width: 767px) {
    .s_main.grill-tables .wrap_zag h1 {
        order: 1;
    }

    .s_main.grill-tables .wrap_zag h5 {
        order: 3;
    }

    .s_main.grill-tables .wrap_zag p {
        order: 2;
        margin-top: auto;
        margin-bottom: 24px;
    }
}

.company-details {
    font-family: var(--wix-display);
    border-radius: var(--radius);
    background: var(--gray);
    padding: calc(var(--padding) - 5px) var(--padding);
    margin-bottom: 15px;
}
.company-details h3 {
    margin-top: 0;
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 20px;
}
.company-details dt {
    font-weight: 500;
    font-size: 18px;
}
.company-details dd {
    margin: 0 0 10px 0;
    font-size: 16px;
}

@media (max-width: 1199px) {
    .company-details h3 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .company-details h3 {
        font-size: 22px;
    }


    .company-details dt {
        font-size: 16px;
    }

    .company-details dd {
        font-size: 14px;
    }
}

.s_product_main .wrap_bg {
    filter: brightness(0.3);
}

.s_product_details .status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

}

.s_product_details .status .status__label {
    color: #ffffff;
    background-color: #1F1F22;
    border-radius: 6px;
    font-size: 16px;


    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 2px 10px;
}

.s_product_details .status.status--order .status__label {
    background-color: #DE8C2E;
}

.s_product_details .status.status--available .status__label {
    background-color: #7CB95E;
}

.s_product_main .wrap_zag h1 {
    max-width: 750px;
}

.s_product_details .wrap_forma {
    margin-top: 0;
}

.s_product_main {
    height: auto;
}

.s_product_details .wrap_content .inner_imgs .item {
    max-height: 350px;
}

.s_product_details .wrap_content .inner_imgs {
    min-height: 350px;
}

.s_product_details .wrap_content .inner_imgs .item:nth-child(3n) {
    width: calc((100% - var(--padding)) / 2);
}

.s_product_details .wrap_content .inner_imgs .item:nth-child(3n + 1) {
    width: 100%;
}

.header .header_row .box_menu_top {
    padding-left: 10px;
    width: calc(100% - 155px);
}

.header.light .header_row .box_menu_top::before {
    content: none;
}

.header .header_row .box_menu_top::before {
    content: none;
}

.header .header_row .link {
    margin-block: 6px;
    padding: 8px 0;
    display: flex;
    width: 155px;
    justify-content: center;
    flex-grow: 1;

    background: #DE8C2E;
    color: #fff;
    font-weight: 500;
    border-radius: 6px;
}

.header .header_row .link::after,
.header.light .header_row .link::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='26' height='24' viewBox='0 0 26 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.91353 5.1C5.91353 3.88 6.39818 2.70998 7.26084 1.84731C8.12351 0.984642 9.29354 0.5 10.5135 0.5H15.1135C16.3335 0.5 17.5036 0.984642 18.3662 1.84731C19.2289 2.70998 19.7135 3.88 19.7135 5.1V7.4H24.3135C24.4805 7.40008 24.6454 7.4365 24.7968 7.50673C24.9483 7.57696 25.0826 7.67932 25.1905 7.80669C25.2984 7.93407 25.3773 8.08341 25.4216 8.24434C25.466 8.40527 25.4748 8.57393 25.4474 8.7386L23.6281 19.6567C23.4491 20.7304 22.8951 21.7058 22.0646 22.4095C21.2341 23.1132 20.181 23.4996 19.0925 23.5H6.53453C5.44582 23.4999 4.39245 23.1136 3.56175 22.4099C2.73105 21.7061 2.17688 20.7306 1.99778 19.6567L0.179633 8.7386C0.152256 8.57393 0.161058 8.40527 0.205428 8.24434C0.249797 8.08341 0.328671 7.93407 0.436569 7.80669C0.544467 7.67932 0.678802 7.57696 0.830243 7.50673C0.981684 7.4365 1.1466 7.40008 1.31353 7.4H5.91353V5.1ZM8.21353 7.4H13.9635C14.2685 7.4 14.561 7.52116 14.7767 7.73683C14.9924 7.95249 15.1135 8.245 15.1135 8.55C15.1135 8.855 14.9924 9.14751 14.7767 9.36317C14.561 9.57884 14.2685 9.7 13.9635 9.7H2.67053L4.26788 19.2784C4.35738 19.815 4.63422 20.3025 5.04921 20.6544C5.4642 21.0062 5.99048 21.1995 6.53453 21.2H19.0925C19.6368 21.1998 20.1633 21.0066 20.5786 20.6547C20.9938 20.3029 21.2708 19.8152 21.3603 19.2784L22.9565 9.7H18.5635C18.2585 9.7 17.966 9.57884 17.7504 9.36317C17.5347 9.14751 17.4135 8.855 17.4135 8.55V5.1C17.4135 4.49 17.1712 3.90499 16.7399 3.47365C16.3085 3.04232 15.7235 2.8 15.1135 2.8H10.5135C9.90354 2.8 9.31852 3.04232 8.88719 3.47365C8.45586 3.90499 8.21353 4.49 8.21353 5.1V7.4Z' fill='white'/%3E%3C/svg%3E");
    background-size: 12px 13px;
    background-position: center;
    display: inline-block;
    margin-left: 6px;
    width: 12px;
    height: 13px;
    opacity: 0.6;
}

.header .header_row .link:hover {
    color: white;
}

.header .header_row .col .btn_catalog {
    width: 155px;
}

@media (max-width: 991px) {
    .header .header_row .box_menu_top {
        width: 100%;
        padding-left: 0;
    }
}

/*404 страница*/
.s_404 .page_error_block {
    display: flex;
    justify-content: center;
    margin-top: 50px;

    text-align: center;
}