:root {
    --main-bg-color: #E5E5E5;
    --main-btn-bg-color: #FFD070;
    --first-bg-color: linear-gradient(180deg, #3BBBEE 0%, #3E9AE1 100%),
        linear-gradient(180deg, #18A5F8 0%, #6152E7 100%),
        linear-gradient(0deg, #6CC8DF, #6CC8DF),
        linear-gradient(327.44deg, #3B91FB 12.59%, #6CC8DF 96.48%);
    --second-bg-color: #282646;
    --main-hover-color: #85C0F7;
    --main-color: #3F3D60;

}

/* 
1px = 0.0625rem;

10px = 0.625rem

12px = 0.75rem

14px = 0.875rem

16px = 1rem (base)

17px = 1.0625rem

18px = 1.125rem 

20px = 1.25rem

24px = 1.5rem

30px = 1.875rem

32px = 2rem
*/

/*
MAIN
HEADER
MEDIA
*/

/*MAIN*/
html {
    font-size: 16px;
}

body {
    font-family: 'Proxima Nova';
    background-color: #d5d5d554;
}


a {
    color: var(--main-color);
    text-decoration: none;
}

a:hover {
    color: var(--main-hover-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--main-color);
    font-weight: 600;
}

h1 {
    font-weight: 800;
    font-size: 1.5rem;
}



p {
    color: var(--main-color);
}


.select_radius {
    border: 1px solid transparent;
    border-radius: 6px;
}


.show_by_panel {
    width: 100%;
    background-color: #b9b9b22e;
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 20px;
}

.kn-btn {
    background: #FFC347;
    border: none;
    border-radius: 2rem;
    padding: 0.875rem 1.25rem;
    color: #997325;
    font-size: 0.75rem;
    text-transform: uppercase;
    width: 100%;
}

.btn.btn-primary {
    background: #FFC347;
    border: none;
    border-radius: 2rem;
    padding: 0.875rem 3rem;
    color: #997325;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-size: 0.75rem;

}

.btn.btn-outline-secondary {
    border-radius: 2rem;
    padding: 0.875rem 3rem;
    color: var(--main-color);
    text-transform: uppercase;
    font-size: 0.75rem;
}

.btn.btn-outline-secondary:hover {
    color: #FFFFFF;

}

.title {
    color: var(--main-color);
    font-size: 3rem;
    font-weight: bold;
}

.description {
    color: #3E3E3E;
    font-size: 1rem;
    vertical-align: 1rem;
}


/* HEADER */
.first-header_wrapper {
    position: relative;
    z-index: 50;
    background-color: #FFFFFF
}

.first-header {
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0;
}

.logo img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    display: block;
    /* height: auto; */
    /* max-height: 80px; */
}

.top-menu {
    display: flex;
    justify-content: space-between;
}

.phone {
    text-align: center;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 600;
}

.working-hours {
    font-size: 0.8rem;
    padding-left: 1.2rem;

}

.first-header .kn-btn {
    border-radius: 2rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.75rem;
    width: 100%;
}

.second-header {
    z-index: 50;
    background-color: var(--second-bg-color);
    color: #FFFFFF;
    height: 4rem;
    position: relative;
}

.second-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    height: 100%;
}

.second-header .container div:not(:last-child) {
    padding-right: 0.85rem;
}

.burger-menu img {
    width: 1.5rem;
    cursor: pointer;
}

.second-header .main-menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.search {
    /* width: 20%; */
    text-align: center;
}

@media screen and (min-width: 769px) {
    .search {
        min-width: 250px;
    }

}

.compare {
    position: relative;
}

.num-compare-wrapper {
    position: absolute;
    top: -12px;
    left: 12px;
    background-color: #85C0F7;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #474656;
}

.num-compare {
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
}

.liked {
    position: relative;
}

.num-liked-wrapper {
    position: absolute;
    top: -12px;
    left: 12px;
    background-color: #85C0F7;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #474656;
}

.num-liked {
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8rem;
}

.user_authorization {
    font-size: 1.25rem;
    position: relative;
}

.user_authorization .user-is-auth {
    border: 1px solid #85C0F7;
    padding: 5px;
    border-radius: 40px;
    width: 2rem;
    height: 2rem;
    text-align: center;
    margin: 0 auto;
    font-size: 1rem;
}

.user_authorization .user-is-auth.fa-user-o:before {
    position: absolute;
    top: 0.3rem;
    left: 0.5rem;
    /* font-size: 1rem; */
}

/* .user_authorization .user-is-auth {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.5rem;
    color: chartreuse;
} */

.user_authorization a {
    color: #FFFFFF;
}

.user_authorization.isAuth a {
    color: #85C0F7;
}

/*horizontal-sections-menu*/

.horizontal-sections-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;

}

.horizontal-sections-menu div {
    margin: 1rem 0;
}

.section-menu__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* background: #E5E5E5; */
    /* height: 100%; */
    width: 100%;
    border: 1px solid #B9D3E4;
    border-radius: 20px;
    color: var(--main-color);
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem;
}

.section-menu__item .menu__title {
    color: inherit;
    padding-top: 1.4rem;
    text-align: center;
    height: 5rem;
}

/* .menu__icon .fa {
    font-size: 6rem;
    color: #85C0F7;
} */


.menu__icon svg {
    height: 6rem;
    width: 100%;
}

.menu__icon svg path.element-ico {
    fill: #85C0F7;
}

.section-menu__item:hover {
    background: linear-gradient(166.34deg, #3AC3F1 -7.14%, #4092DE 112.7%);
    ;
    color: #FFFFFF;
    cursor: pointer;
}

/* .section-menu__item:hover .menu__icon .fa{
    color: #FFFFFF;
}  */
.section-menu__item:hover .menu__icon svg path.element-ico {
    fill: #FFFFFF;
}

.section-menu__item:hover .menu__icon svg rect {
    fill: #85C0F7;
}

.section-menu__item:hover .menu__icon svg rect {
    fill: #85C0F7;
}

/*extended_menu*/
.extended_menu {
    position: relative;

}

header {
    position: relative;
}

.btn-mobile-search {
    background: none;
    border: none;
    color: var(--main-color);
    font-size: 1.7rem;
}

/*burger*/
#btn-extended-menu {
    width: 40px;
    height: 100%;
    position: relative;
    /* margin: 10px auto; */
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    margin-right: 10px;
}

#btn-extended-menu span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: #85C0F7;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

#btn-extended-menu span:nth-child(1) {
    top: 30%;
}

#btn-extended-menu span:nth-child(2),
#btn-extended-menu span:nth-child(3) {
    top: 50%;
}

#btn-extended-menu span:nth-child(4) {
    top: 70%;
}

#btn-extended-menu.open span:nth-child(1) {
    top: 50%;
    width: 0%;
    left: 50%;
}

#btn-extended-menu.open span:nth-child(2) {
    transform: rotate(45deg);
}

#btn-extended-menu.open span:nth-child(3) {
    transform: rotate(-45deg);
}

#btn-extended-menu.open span:nth-child(4) {
    top: 50%;
    width: 0%;
    left: 50%;
}



.extended_menu_wrapper {
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    padding: 2rem;
    border-left: 1px solid #B9D3E4;
    border-right: 1px solid #B9D3E4;
    border-bottom: 1px solid #B9D3E4;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #FFFFFF;
    z-index: -1;
    position: absolute;
    top: -999px;
    left: 0;
    visibility: hidden;
    webkit-transition: .8s;
    -moz-transition: .8s;
    -o-transition: .8s;
    transition: .8s;
    gap: 5rem
}

.extended_menu_wrapper.active {
    z-index: 20;
    top: 0;
    visibility: visible;
}

.extended_menu .menu_item__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--main-color);
}

/*block-hit-sale*/

.block-hit-sale {
    padding: 5rem 0;
    position: relative;
}

.hit-sale__bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.block-hit-sale .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.block-hit-sale .description {
    width: 50%;
    text-align: center;
}

/*advantages*/

.advantages .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.advantages .title {
    width: 50%;
    text-align: center;
    padding-bottom: 3rem;
}


/*new-item*/
.item-new {
    margin: 6rem 0;
}


.item-new .title {
    /* width: 50%; */
    text-align: center;
}

/*item-stocks*/
.item-stocks {
    /* margin: 6rem 0; */
}


.item-stocks .title {
    /* width: 50%; */
    text-align: center;
}

/*services*/

.services-container {
    height: 70rem;
    position: relative;
}

.services-container-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("/images/main_templates/bg-services-1.png");
    background-size: cover;
    background-position-x: center;
}

.swiper-container-services-blocks {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    height: 80rem;
}

.swiper-wrapper-services-blocks {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.services-tab-block {
    font-size: 1rem;
    background: transparent;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;

    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.services-blocks-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*services-tabs-buttons*/
.services-tabs-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.services-tab-button {
    padding: 1.5rem 3rem;
    background-color: #8DDAFA;
    color: #568DA4;
    text-transform: uppercase;
    font-size: 1em;
    border: none;
    border-radius: 3rem;
    margin: 0 1rem;
    margin-top: 5rem;
    cursor: pointer;


}

.services-tab-button.active {
    background-color: #FFFFFF;
    color: var(--main-color);
}

.services-tab-button:hover {
    background-color: #FFFFFF;
    color: var(--main-color);
}

/*services-tabs-buttons*/

.main-text-container {
    /* padding-top: 10rem; */
    margin: 2rem 0;
}

.main-text-container .title {
    width: 57%;
    margin: 0 auto;
    text-align: center;
}

.main-text-container .description {
    font-size: 1.1rem;
    color: #818181;
    padding: 4rem 0;
    line-height: 2.5rem;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.main-text-container .kn-btn {
    font-size: 1rem;
    margin: 0 auto;
    display: block;
    width: 25%;
    padding: 1rem 1.8rem;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid #3F3D60;
    border-radius: 30px;
    background: #FFFFFF;
    color: var(--main-color);
}

.main-text-container .kn-btn:hover {

    border: 1px solid var(--main-hover-color);
}

.hit-brands .title {
    width: 57%;
    margin: 0 auto;
    text-align: center;
    font-size: 2rem;
}

.map {
    position: relative;
    margin-top: 4rem;
}

/*bread-crambs*/
.bread-crambs-wrapper {
    font-size: 14px;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}


/*page about-us*/
.about-us {
    /* padding-bottom: 20px; */
}

.about-us img {
    width: 100%;
    border-radius: 20px;
}

.about-us h3 {
    padding: 1rem 0;
}

.about-us p {
    color: var(--main-color);
    line-height: 2rem;
}

.about-us .services-container {
    height: 45rem;
}

.about-us .services-tab-button {
    margin-top: 3rem;
}

.about-us .swiper-container-services-blocks {
    height: 45rem;
}

.about-us .article-wrapper {
    height: 35rem;
}

.contacts-page h1 {
    padding-bottom: 2rem;
}

.contacts-page h3 {
    font-weight: 700;
}

.contacts-page .shop-title {
    padding-top: 2rem;
}

.contacts-page .phone-wrapper,
.contacts-page .email-wrapper {
    padding-bottom: 2rem;
    padding-top: 1rem;
}

.contacts-page svg {
    width: 2rem;
    height: 2rem;
}

.contacts-page .phone-number {
    font-size: 1.25rem;
    font-weight: 700;
    padding-left: 10px;
}

.contacts-page .phone-wrapper>p {
    padding-left: 50px
}

.contacts-page .email {
    padding-left: 10px;
}

.contacts-page .social-container svg {
    width: 3rem;
    height: 3rem;
}

.contacts-page .bottom-info {
    padding-top: 2rem;
}

.feedback-form {
    margin-top: 40px;
}

.btn-feedback-form {
    background: #FFC347;
    border: none;
    border-radius: 2rem;
    padding: 0.875rem 1.25rem;
    color: #997325;
    font-size: 0.75rem;
    text-transform: uppercase;
    width: 100%;
}

.contacts-page .shop-address,
.contacts-page .operation-mode {
    display: flex;
    column-gap: 1rem;
}

.contacts-page .shop div {
    padding-top: 2rem;

}

.alphabetical-search {
    display: flex;
    justify-content: space-between;
    border: 1px solid var(--main-color);
    border-radius: 20px;
    flex-wrap: wrap;
}

.alphabetical-search>a.selected {
    color: var(--main-hover-color);
    font-weight: 600;
    background-color: var(--main-bg-color);
}

.alphabetical-search>a.selected:nth-child(1) {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.alphabetical-search>a.selected:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.alphabetical-search a {
    padding: 0.5rem;
}

.brand-item {
    /* margin: 1rem 0; */
    /* margin-bottom: 1rem; */
    padding: 7px;
    margin-top: 7px;
    margin-bottom: 14px;
    /* padding-top: 7px; */
    border-radius: 6px;
    text-align: center;
    background-color: #ffffff;
}

.brand-item__link:hover {
    color: var(--main-hover-color);
}

.brand-item .country-wraper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 10px;
}

.brand-item .country-wraper:hover {
    color: var(--main-hover-color);
}

.brand-img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.cat-img {
    min-height: 200px;
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.country-img {
    width: 20px;
    height: 25px;
    object-fit: contain;
}

.country-search {
    padding-top: 20px;
}

.brand-string-search {
    padding-top: 20px;
}

.form-search {
    position: relative;
    background: #F0F8FF;
    border-radius: 2rem;
}

.form-search input,
.form-search button {
    border: none;
    outline: none;
    background: transparent;
}

.form-search input {
    width: 100%;
    height: 40px;
    padding-left: 15px;
}

.form-search button {
    height: 40px;
    width: 40px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.form-search button:before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 16px;
    color: var(--main-color);
}

.reset-filter {
    padding-top: 20px;
}

.reset-filter .kn-btn {
    height: 40px;
}

.brands {
    padding-bottom: 20px;
}



.product-item-favourites-container.active .fa {
    color: #ed3535;
}

footer {
    background-color: var(--main-color);
    padding: 2rem 0;
    color: #FFFFFF;
    font-size: 0.8rem;
    line-height: 1.5rem;
    /* height: 20rem; */
}

footer .container .row {
    justify-content: space-between;
}

footer a {
    color: #FFFFFF;
}



.footer-description {
    display: flex;
    flex-direction: column;
}

.footer-logo-svg {
    width: 100%;
    height: 40px;
}

.copyright {
    padding: 1.6rem 0;
}

.footer-description span:not(:last-child) {
    padding-bottom: 1.6rem;
}

.footer-phone {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.footer-phone .footer-phone-svg {
    width: 1rem;
    height: 1rem;
}

.footer-phone .phone-number {
    color: #FFFFFF;
    padding-left: 1rem;
}

.footer-call-order {
    padding: 2rem 0;
}

.footer-call-order .kn-btn {
    background-color: transparent;
    border: 1px solid var(--main-btn-bg-color);
    border-radius: 2rem;
    font-size: 1rem;
    padding: 1rem 2rem;
    color: var(--main-btn-bg-color);
}

.footer-call-order .kn-btn:hover {
    background-color: var(--main-btn-bg-color);
    color: var(--main-color);
}

.footer-shop {
    font-size: 0.9rem;
}

.footer-addres-svg {
    height: 1rem;
    width: 1rem;
}

.footer-shop-address {
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

.footer-shop-address span:not(:first-child) {
    padding-left: 1rem;
}

.footer-operation-mode {
    display: flex;
    flex-direction: column;
}

.footer-operation-mode-svg {
    height: 1rem;
    width: 1rem;
}

.footer-operation-mode span:not(:first-child) {
    padding-left: 1rem;
}

.social-title {
    font-size: 1rem;

}

.social-container {
    padding: 2.2rem 0;

}

.footer-social-svg {
    width: 3rem;
    height: 3rem;
}

.footer-social-svg:hover {
    fill: crimson;
}

.footer-menu-name {
    font-size: 1.2rem;
}


.hidden {
    display: none;
}

/*INPUTS*/
.kn-input {
    width: 100%;
    border-radius: 30px;
    background-color: #F0F8FF;
    outline: none;
    border: none;
    padding: 1rem 2rem;
    margin: 1rem 0;
}

/*MODAL*/
.modal .title {
    font-size: 2rem;
    padding-bottom: 1.5rem;
}

.modal-body {
    padding-left: 2rem;
}

.modal button {
    border: none;
    background: transparent;
}

.modal button.close {
    padding: 1rem;

}

.modal .btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/*Модальная корзина*/

.popup-basket-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-size: 0.75rem;
    line-height: 1rem;
}

.popup-basket-item-img {
    width: 20%;
    padding: 10 10 10 0;
}

.popup-basket-item__img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.popup-basket-item-name {
    width: 30%;
    margin-right: 15px;
}

.popup-basket-item-quantity {
    width: 15%;
    white-space: nowrap;
    margin-right: 10px;
}

.popup-basket-item-price {
    width: 20%;
    white-space: nowrap;

}

.popup-basket-item__remove-item {
    width: 5%;
    font-size: 1rem;
    display: flex;
    align-items: flex-end;
    justify-content: end;
    color: var(--main-color);
    cursor: pointer;
}

.popup-basket-item__remove-item:hover {
    color: #ff0000;
}

.empty-popup-basket {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.popup-basket-full-price {
    font-size: 1.2rem;
    padding: 2rem 0;
    color: var(--main-color);
    font-weight: 600;
}

.popup-basket-go-to-cart {
    background: #FFC347;
    width: 15rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

/*country page*/
section.country-wraper {
    background-color: #ededed;
}

.country-item {
    margin-bottom: 1rem;
    border-radius: 20px;
    padding: 10px;
}

.country-item:hover .country__img {
    transition: .5s;
    transform: scale(1.2);
    /* filter: brightness(0.4); */
}

.country__img {
    width: 100%;
    object-fit: contain;
    height: 100px;
}

.country__title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--main-color);
    padding: 1rem 0;

}

/*Обратный звоноr*/
#orderCall-modal-container .title {
    text-align: center;
}

#popup-orderCall-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.text-description {
    text-align: center;
}

.orderCall-input {
    width: 100%;
    border-radius: 20px;
    background-color: #F0F8FF;
    outline: none;
    border: none;
    padding: 1rem 2rem;
    margin: 1rem 0;
}

.orderCall-cap {
    width: 100%;
    border-radius: 20px;
    background-color: #F0F8FF;
    outline: none;
    border: none;
    padding: 1rem 2rem;
    margin: 1rem 0;
}

.modal .kn-btn {
    background: #FFC347;
    width: 15rem;
    margin: 2rem 0;
    padding: 1rem 1.25rem;
}

/*Форма обратной связи*/
#feedback-container .btn.btn-primary {
    margin-top: 20px;
}

/*заказать дизайн проект*/
#order_design-modal-container .title {
    text-align: center;
}

.answer-msg {
    background-color: #FFC347;
    color: var(--main-color);
    padding: 4px 4px 4px 10px;
    border-radius: 15px;
}


#send_order_design {
    display: block;
    margin: 15px auto;
}

/*Popup BITRIX*/

.popup-window-with-titlebar.bx-blue {
    width: 90%;
    margin-left: 5%;
    left: 0 !important;
}

.popup-window-with-titlebar.bx-blue img {
    width: 100%;
    object-fit: contain;
}

/*ACCORDION*/
.accordion {
    /*width: 100%;*/
    /*padding-left: 0;*/
    /* max-width: 360px;
    margin: 30px auto 20px;
    background: #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;*/
}

.accordion li {
    list-style: none;
    padding: 0.75rem 0;
}

.accordion .link {
    background: linear-gradient(90deg, rgba(0,0,0,0.5858718487394958) 13%, rgba(255,255,255,1) 62%);    cursor: pointer;
    display: block;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 400;
    /*border-bottom: 1px solid #CCC;*/
    text-transform: uppercase;
    /* padding: 15px 15px 15px 42px;
    color: #4D4D4D;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #CCC;*/
    position: relative;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.accordion li:last-child .link {
    border-bottom: 0;
}

.accordion li i {
    position: absolute;
    top: 16px;
    left: 12px;
    font-size: 18px;
    color: #595959;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.accordion li i.fa-chevron-down {
    right: 12px;
    left: auto;
    font-size: 16px;
}

.accordion li.open .link {
    color: #FFFFFF;
    background-color: var(--main-color);
}

.accordion li.open i {
    color: #FFFFFF;
}

.accordion li.open i.fa-chevron-down {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

/**
 * Submenu
 -----------------------------*/

.accordion .submenu {
    padding-left: 2rem;
}

.submenu {
    display: none;
    background: #FFFFFF;
    font-size: 18px;

}

.submenu li {
    border-bottom: 1px solid #4b4a5e;
}

.submenu li:last-child {
    border-bottom: none;
}

.submenu a {
    display: block;
    text-decoration: none;
    color: var(--main-color);
    /* padding: 12px;
    padding-left: 42px;*/
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.submenu a:hover {
    color: var(--main-color);
}


/*Для адаптифных фотографий с обтеканием текста*/
.left_photo {
    display: block;
    float: left;
    height: auto;
    margin: 10px 10px 10px 0;
    border-radius: 6px;
}

.right_photo {
    display: block;
    float: right;
    height: auto;
    margin: 10px 0 10px 10px;
    border-radius: 6px;
}

.w250 {
    width: 250px;
}

.w300 {
    width: 300px;
}

.w350 {
    width: 350px;
}

.w400 {
    width: 400px;
}

.w450 {
    width: 450px;
}

.w500 {
    width: 500px;
}

.w550 {
    width: 550px;
}

.w600 {
    width: 600px;
}

.trio_photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 4px;
    border-radius: 6px;
}

/*MEDIA*/

@media (min-width: 768px) and (max-width: 991px) {

    html {
        font-size: 10px;
    }

    .user_authorization {
        font-size: 1.8rem;
    }

    .menu__icon svg {
        height: 5rem;
    }

    .image-wrap {
        width: 12rem;
        height: 12rem;
    }

}

@media (min-width: 992px) and (max-width: 1199px) {
    html {
        font-size: 12px;
    }
}


@media (min-width: 1200px) and (max-width: 1399.98px) {

    html {
        font-size: 14px;
    }

}

@media (max-width: 768px) {
    h1 {
        margin-top: 15px;
    }

    .custom_panel {
        display: none;
    }

    html {
        font-size: 14px;
    }

    header {
        padding: 0 10px;
        height: 80px;
    }

    .mobile-header-box {
        padding: 10px;
        position: relative;
        padding-top: 0;
    }

    .mobile-header-box>div {
        width: 100%;
        position: fixed;
        padding-top: 10px;
        background-color: #FFFFFF;
        z-index: 200;
    }

    .mobile-header-box .liked {
        font-size: 2rem;
        font-weight: 600;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80px;
    }

    .mobile-header-box .num-liked-wrapper {
        top: 15px;
    }

    .mobile-search-wraper {
        position: fixed;
        left: 0;
        top: 80px;
        width: 100%;
        margin: 0;
        background-color: #FFFFFF;
        padding: 10px 0;
    }

    .mobile-search-wraper.active .bx-searchtitle {
        width: 85%;
    }

    .mobile-search-wraper.active .close-search-popup {
        width: 15%;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--main-color);
    }

    .mobile-search-wraper.active #title-search>form {
        margin: 0;
    }

    /*MOBILE_MENU*/
    .mobile-menu-container.active {
        position: fixed;
        left: 0;
        top: 0px;
        padding-top: 30px;
        width: 100%;
        height: 100%;
        background-color: #FFFFFF;
        overflow-y: auto;
        z-index: 20;
    }

    .mobile-menu-wraper .top-row {
        height: 40px;
    }

    .close-mobile-menu {
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--main-color);
        width: 60px;
        height: 100%;
        float: right;
    }

    .mobile-menu-wraper ul {
        padding-left: 0;
        margin-bottom: 0;
    }

    .mobile-menu-wraper .menu-item {
        list-style: none;
        color: var(--main-color);
        font-size: 1rem;
        font-weight: 600;
        border-top: 1px solid var(--main-color);
        padding: 0.75rem 0;
    }

    .mobile-menu-wraper .main_section {
        border-top: 1px solid var(--main-color);
        padding: 0;
    }

    .mobile-menu-wraper li.main_section:last-child {
        border-bottom: 1px solid var(--main-color);
    }

    .mobile-menu-wraper .menu-item__link {
        padding: 0.75rem;
    }

    .mobile-menu-wraper .phone-row {
        gap: 1rem;
        width: 80%;
        margin: 1rem auto;
    }

    .mobile-menu-wraper .kn-btn {
        height: 3rem;

    }

    .mobile-footer-menu li {
        font-size: 0.75rem;
        font-weight: 500;
    }

    .mobile-footer-menu li:last-child {
        border-bottom: none;
    }

    .fixed {
        position: fixed;
    }

    /*MOBILE_MENU END*/

    .mobile-header-box .search {
        /* width: 41%; */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-header-box .menu-button-mobile {
        width: 40px;
        height: 100%;
        position: relative;
        /* margin: 10px auto; */
        transform: rotate(0deg);
        transition: .5s ease-in-out;
        cursor: pointer;
        margin-right: 10px;
    }

    .menu-button-mobile .fa {
        font-size: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 80px;
    }

    .bread-crambs-wrapper {
        display: none;
        padding-top: 0;
        padding-bottom: 0;
    }

    .block-hit-sale .description {
        width: 100%;
    }

    .advantages .title {
        width: 100%;
        padding-bottom: 1rem;
    }

    .services-container {
        height: 30rem;
    }

    .services-tab-button {
        padding: 1rem 1.5rem;
        font-size: 0.6rem;
        margin: 0 0.5rem;
        margin-top: 2rem;
    }

    .swiper-container-services-blocks {
        height: 40rem;
    }

    .main-text-container {
        margin: 2rem 0;
    }

    .main-text-container .title {
        width: 100%;
        font-size: 2rem;
    }

    .main-text-container .kn-btn {
        font-size: 1rem;
        width: 100%;
        padding: 0.5rem 0.5rem;
    }

    .hit-brands .title {
        width: 100%;
        font-size: 2rem;
    }

    footer {
        min-height: 70px;
        padding: 0 10px;
    }

    .footer-menu-wraper {
        padding-left: 3rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #616075;

    }

    .footer-menu-name {
        display: flex;
        justify-content: space-between;
        font-size: 2rem;
    }

    .footer-menu-name::after {
        content: '';
        width: 0.75rem;
        height: 0.75rem;
        margin-right: 1rem;
        margin-top: 0.35rem;
        background-size: cover;
        background-image: url("data:image/svg+xml;charset=UTF-8, %3csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' height='100' width='100'%3e%3cpath d='M97.625 25.3l-4.813-4.89c-1.668-1.606-3.616-2.41-5.84-2.41-2.27 0-4.194.804-5.777 2.41L50 52.087 18.806 20.412C17.223 18.805 15.298 18 13.03 18c-2.225 0-4.172.804-5.84 2.41l-4.75 4.89C.813 26.95 0 28.927 0 31.23c0 2.346.814 4.301 2.439 5.865l41.784 42.428C45.764 81.174 47.689 82 50 82c2.268 0 4.215-.826 5.84-2.476l41.784-42.428c1.584-1.608 2.376-3.563 2.376-5.865 0-2.26-.792-4.236-2.375-5.932z'/%3e%3c/svg%3e");
    }

    .footer-menu-name.open::after {
        transform: rotate(180deg);
    }

    .mobile-footer-box .social-container {
        justify-content: center;
        display: flex;
        gap: 2rem;
    }

    .mobile-footer-box .copyright {
        text-align: center;
        font-size: 1rem;
    }

    .mobile-footer-box .footer-description p {
        color: #FFFFFF;
    }

    .about-us .swiper-container-services-blocks {
        height: 36rem;
    }

    .w250,
    .w300,
    .w350,
    .w400,
    .w450,
    .w500,
    .w550,
    .w600 {
        width: 100%;
    }
}



/* ARTICLE_DESCRIPTION */

.article_wrapper {
    text-align: end;
    margin-bottom: 10;
}

.article_container {
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
    max-height: 7000px;
    overflow: hidden;
    padding: 20px;
    text-align: left;
    background-color: #ebecee;
    border-radius: 6px;
}

.article_read_more_container {
    width: 100%;
    position: relative;
    height: 30px;
}

.article_read_more {
    position: absolute;
    right: 0;
    width: 120px;
    margin-top: 10px;
    cursor: pointer;
    background-color: #FFC347;
    color: #997325;
    text-align: center;
    font-size: 0.8rem;
    border-radius: 20px;
    padding: 10px;
}

.article_hide {
    /* display: -webkit-box; */
    -webkit-line-clamp: 4;
    /* -webkit-box-orient: vertical; */
    max-height: 8rem;
}


/*CUSTOM PRELOADER*/
.loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: block;
    background-color: #6c777e;
    opacity: 0.6;
}

.loader__spin {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
    margin: 0 auto;
    margin-top: 20%;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Мобильный футер */

.mobile-footer {
    height: 70px;
    position: fixed;
    bottom: 0;
    background-color: var(--main-color);
    width: 100%;
    z-index: 99999;
}

.mob-btn {
    text-align: center;
    vertical-align: middle;
    border-left: 1px solid white;
    height: 100%;
    font-size: 50px;
}


.mobile-filter-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3100;
    width: 120px;
    height: 60px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 24px;
    line-height: 60px;
    text-align: center;
    outline: none;
    transition: transform 0.2s ease;
}

.mobile-filter-toggle:active {
    transform: scale(0.95);
}

/* Пульсирующий эффект */
.mobile-filter-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 60px;
    background-color: rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {

    /* Скрываем фильтр за экраном */
    .kg-filter-conteiner {
        position: fixed;
        top: 0;
        /* left: -300px; */
        left: -70%;
        /* ширина фильтра */
        width: 70%;
        height: 100%;
        background: #d7d7d7;
        z-index: 1050;
        overflow-y: auto;
        transition: left 0.3s ease;

        margin-top: 0px !important;
    }

    /* При наличии класса active фильтр выезжает */
    .kg-filter-conteiner.active {
        left: 0;
        margin-top: 0px !important;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    }
}

/* Только для десктопов */
@media (min-width: 769px) {
    .kg-filter-conteiner {
        position: sticky;
        /* top: -450px; */
        /* Отступ от верхнего края */
        height: fit-content;
        z-index: 20;
    }
}

/* На десктопе кнопка не видна */
@media (min-width: 769px) {
    .mobile-filter-toggle {
        display: none;
    }

    /* Можно оставить фильтр статичным, как сейчас */
}


.section-card {
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    aspect-ratio: 1/1;
    /* Сохраняем квадратную форму */
    min-height: 250px;
    /* Минимальная высота для мобилок */
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.29), rgba(0, 0, 0, 0.07));
    z-index: 1;
}

.section-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Обрезаем изображение по контейнеру */
    transition: transform 0.3s ease;
}

.title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 40px;
    background: rgba(0, 0, 0, 0.54);
    /* border-radius: 10px; */
    text-align: center;
    z-index: 2;
    /* backdrop-filter: blur(3px); */
    transition: all 0.3s ease;
}

.section-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

/* Анимация для заголовка */
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.section-card:hover .section-title::after {
    width: 100%;
}

@media (max-width: 768px) {
    .section-card {
        aspect-ratio: unset;
        height: 200px;
    }

    .section-title {
        font-size: 1.2rem;
    }
}