.container {
    max-width: 1300px;
    padding-inline: 10px;
    margin-inline: auto;
}

header {
    height: 140px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 25px 0px #0000000D;
}


header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-nav ul {
    display: flex;
    align-items: center;
    column-gap: 18px;
}

.top-nav ul li a {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #27313D;
    transition: .3s all;
}

.top-nav ul li a:hover {
    color: #FFA16B;
    transition: .3s all;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.header__location {
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    text-align: right;
    color: #727E8A;
}

#menu-menu-1 {
    margin: 0;
}

a.header__phone {
    height: 24px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-weight: 300;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
    align-self: flex-end;
    transition: .3s all;
}

a.header__phone p {
    margin: 0;
}

a.header__phone:hover,
a.header__phone:hover span {
    color: #006fa6;
    transition: .3s all;
}


.header__phone span {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    line-height: 21.68px;
    color: #27313D;
    transition: .3s all;
}

.header__callme-btn {
    width: 171px;
    min-height: 50px;
    height: 100%;
    border: 1px solid rgba(39, 49, 61, 0.1);
    border-radius: 10px;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #27313D;
    transition: all 0.4s, color 0.2s 0.2s;
}

.header__callme-btn:hover {
    color: #fff;
    border-color: rgba(39, 49, 61, 1);
    box-shadow: 171px 0 0 0 #FFA16B inset, -171px 0 0 0 #FFA16B inset;
}

.menu-mobile {
    display: none;
}



/* ГС */


.swiperMain {
    position: relative;
    overflow: hidden;
}

.swiperMain .swiper-wrapper {}

.swiperMain .swiper-slide {
    height: 750px;
    width: 100svw;
    background-blend-mode: multiply;

    display: flex;
    align-items: center;
    justify-content: center;
}



.swiperMain .swiper-slide .main-slider-content {
    display: flex;
    row-gap: 40px;
    flex-direction: column;
    align-items: center;
}

.banner-text {
    font-family: 'Palatino Linotype';
    font-style: normal;
    font-weight: 400;
    font-size: 100px;
    line-height: 110px;
    color: #FFFFFF;
    text-align: center;
}

.banner-text span {
    font-family: 'Palatino Linotype';
    font-size: 100px;
    font-weight: 400;
    line-height: 110px;
    color: #FFA16B;
}

.banner-text small {
    margin-top: 40px;
    display: block;
    font-weight: 400;
    font-size: 23px;
    line-height: 29px;
    text-align: center;
    color: #FFFFFF;
}

.slider__btn {
    min-width: 150px;
    height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #FFFFFF;
    transition: .3s all;
}

.slider__btn:hover {
    background-color: #FFA16B;
    color: #27313D;

    transition: .3s all;
}

.slider__btn:hover svg path {
    fill: #27313D;
}

.slider__btn .slider__btn-svg {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-pagination-main .swiper-pagination-bullet {
    background: #ffffff !important;
    width: 10px !important;
    height: 10px !important;
    margin-inline: 15px !important;
    position: relative;
}

.swiper-pagination-main {
    bottom: 70px !important;
}

/* .swiper-pagination-bullet-active::after {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: 1px solid #fff;
    background: transparent;
    position: absolute;
    top: -5px;
    left: -5px;
} */

.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255) !important;
    border-radius: 50%;
    transition: .3s all;
    color: white !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transition: .3s all;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #ffffff !important;
    font-size: 16px !important;
}

#page>section.popular.dark>div>div.swiperPopular.swiper-initialized.swiper-horizontal>div.swiper-button-prev.swiper-button-prev-popular::after,
#page>section.popular.dark>div>div.swiperPopular.swiper-initialized.swiper-horizontal>div.swiper-button-next.swiper-button-next-popular::after {
    color: black !important;
}

.swiper-button-next:after {
    padding-left: 3px !important;
}

.swiper-button-prev:after {
    padding-right: 3px !important;
}


section.light {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: #FFFFFF;
}

section.dark {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: #F7F7F8;
}

.section__title-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.section__title {
    font-family: 'Palatino Linotype';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    color: #27313D;
}

.section__btn {
    width: 152px;
    height: 50px;
    left: 651px;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #27313D;
    border: 1px solid rgb(39, 49, 61, 0.1);
    border-radius: 70px;

    transition: .3s all;
}

.section__btn:hover {
    transition: .3s all;
    background: #FFA16B;
    color: #FFFFFF;
    border: 1px solid rgb(39, 49, 61, 0.1);
}

.catalog__flex {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;

}

a.catalog__flex-item {
    display: block;
    width: 305px;
    height: 400px;
    padding: 30px;
    background: #f0f0f1;
    border-radius: 10px;
    position: relative;
    transition: .3s all;


}

a.catalog__flex-item:hover {
    background: #27313D;
    transition: .3s all;
}

a.catalog__flex-item:hover h3 {
    color: #FFFFFF;
    transition: .3s all;
}

a.catalog__flex-item h3 {
    font-weight: 500;
    font-size: 22px;
    line-height: 28px;
    color: #27313D;
    hyphens: auto;
    z-index: 3;
    position: relative;
    transition: .3s all;
    margin-bottom: 10px;
}

a.catalog__flex-item img {
    position: absolute;
    bottom: 0;
    /* left: 0; */
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
}

.catalog__item-btn {
    width: 132px;
    height: 40px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #27313D;
    border: 1px solid rgba(39, 49, 61, 0.1);
    border-radius: 6px;
    transition: .3s all;
}

a.catalog__flex-item:hover .catalog__item-btn {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s all;
}




.about__content {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    align-items: center;
}

.about__text {
    display: flex;
    column-gap: 40px;
    align-items: flex-start;
}

.about__text-col p {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
    max-width: 400px;
}

.about__text-col p:nth-child(2) {
    margin-top: 20px;
}


p.about__text-col p {
    display: block;
}

.about__cards {
    display: flex;
    column-gap: 20px;
    align-items: center;
}

.about__card {
    width: 240px;
    height: 346px;
    padding: 20px;
    border-radius: 10px;
    background-color: #F7F7F8;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    transition: all .2s ease-out;
    /* transition: .4s all; */
}

.about__card:hover {
    box-shadow: rgba(0, 111, 166, 0.2) 0px 4px 6px -1px, rgba(0, 111, 166, 0.2) 0px 2px 4px -1px;
    transition: .4s all;
}


.about__card:hover .card__num-bg {
    background: #FFFFFF;
    transition: .3s all;
}

.about__card:hover .card__num {
    color: #006FA6;
    transition: .3s all;
}

.card__num-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #006FA6;
    border-radius: 10px;
    border: 2px solid #006FA6;
    /* transition: .3s all; */
    /* transition: all 0.2s ease, background-color 0.4s ease; */
    transition: all 0.8s ease;
}

.card__num {
    font-weight: 700;
    font-size: 30px;
    line-height: 38px;
    color: #FFFFFF;
    transition: .3s all;
}

.card__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #27313D;
}

.card__text {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
}

.card__list li {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
    margin-bottom: 10px;
    /* position: relative;
    padding-left: 15px; */
}

/* .card__list li::before {
    content: '—';
    color: #727E8A;
    position: absolute;
    top: 0;
    left: 0;
} */



.swiperPopular {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.swiper-pagination-popular.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-popular .swiper-pagination-bullet {
    background: rgb(39, 49, 61) !important;
    width: 10px !important;
    height: 10px !important;
    margin-inline: 15px !important;
    bottom: 0 !important;
}


.swiper-slide.discount-slide {
    width: fit-content;
    height: fit-content;
}

.swiper-button-prev-popular,
.swiper-button-next-popular {
    border: 1px solid rgba(39, 49, 61, 0.2) !important;
    top: calc(50% - 60px) !important;
}

.swiper-button-prev-popular:hover,
.swiper-button-next-popular:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transition: .2s all;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    color: #27313D;
    /* font-size: 16px !important; */
}

.product__card {
    width: 240px;
    height: fit-content;
    min-height: 470px;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    transition: .3s all;
}

.product__card:hover .product__card-btn {
    transition: .3s all;
    color: #ffffff;
    background-color: #006FA6;
}

.img-wrapper {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product__card img {
    max-height: 100%;
    object-fit: contain;
}

.product__card-content {
    flex: 1;
}

.product__card-title {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #27313D;
}

.product__card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button.product__card-btn {
    border: 1px solid rgba(39, 49, 61, 0.1);
    border-radius: 6px;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #27313D;
    align-self: flex-start;
    width: 102px;
    height: 30px;
    padding: 6px 10px;
    margin-top: auto;
}

.product__card-price {
    font-weight: 600;
    font-size: 15px;
    line-height: 19px;

    color: #27313D;

}

/* Футер Подвал  footer*/

footer {
    background-color: #27313D;
    padding-top: 80px;
    padding-bottom: 80px;
}

footer .container {
    display: flex;
    flex-direction: column;
    row-gap: 100px;
    align-items: center;
}

.footer__top {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer_nav:first-child {
    max-width: 155px;
}

nav.footer_nav ul li:hover a {
    color: #FFA16B;
    transition: .3s all;
}

.footer_nav:last-child {
    max-width: 228px;
}

.footer_nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 20px;
}

.footer_nav ul li a {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #FFFFFF;
    transition: .3s all;
}

.footer__info {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}

.icon {
    width: 24px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.footer__info-location {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 35px;
}

.location__content {
    display: flex;
    column-gap: 20px;
}

.location__address {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #FFFFFF;
    max-width: 255px;
}

.footer__modal-btn {
    width: 186px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: white;

    transition: .3s all;
}

.footer__modal-btn:hover {
    color: #fff;
    border-color: rgba(39, 49, 61, 1);
    box-shadow: 171px 0 0 0 #FFA16B inset, -171px 0 0 0 #FFA16B inset;
    transition: .3s all;
}



.footer__info-phones {
    display: flex;
    column-gap: 20px;
}

.phones__cols {
    display: flex;
    column-gap: 30px;
    align-items: flex-start;

}

.phones__col {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    align-items: flex-start;
}

.phones__col a {
    display: block;
    font-size: 17px;
    font-weight: 300;
    line-height: 21.68px;
    color: #FFFFFF;
    transition: .3s all;
}

.phones__col a:hover {
    color: #006fa6;
    transition: .3s all;
}


.phones__col a span {
    font-size: 17px;
    font-weight: 500;
    line-height: 21.68px;
}

.footer__info-btns {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-left: 34px;
}

.footer__info-btns a {
    color: #FFFFFF;
    display: flex;
    align-items: center;
    column-gap: 6px;
    width: 116px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 5px 10px;
    transition: .3s all;
}

.footer__info-btns a:hover {
    background-color: #fff;
    color: #006fa6;
    transition: .3s all;
}

.footer__info-btns a:hover svg path {
    fill: #006fa6;
    transition: .3s all;
}

.footer__info-btns a .icon {
    align-self: center;
}

.footer__info-mail {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 17px;
    font-weight: 300;
    line-height: 21.68px;
    color: #FFFFFF;
    transition: .3s all;
}

.footer__info-mail:hover {
    transition: .3s all;
    color: #006fa6;
}

.footer__bottom {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}



.footer__bottom small {
    display: block;
    font-weight: 300;
    font-size: 15px;
    line-height: 19px;
    color: rgba(255, 255, 255, 0.2);
    flex: 1;
}


.developers {
    display: flex;
    align-items: flex-start;
    margin-left: auto;
    column-gap: 10px;
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    color: #8E8E8E;
    height: 38px;
    transition: .3s all;
}

.developers:hover h5 {
    color: #FFD400;
    transition: .3s all;
}

.developers h5 {
    font-weight: 300;
    font-size: 15px;
    line-height: 19px;
    color: rgba(255, 255, 255, 0.2);
}



/* Для формы на ГС */

section.fos {
    padding: 75px 0;
    background: url('../img/bg-fos.svg ') center / cover no-repeat, #006FA6;
}

section.fos .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section__fos-title {
    font-family: 'Palatino Linotype';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    color: #FFFFFF;
}

.fos__content p {
    display: flex;
    column-gap: 20px;
}

.fos__content .contact-us-fos-bg input[type="submit"] {
    background: #FFA16B;
    border-radius: 10px;
    font-weight: 600;
    font-size: 17px;
    line-height: 22px;
    color: #FFFFFF;
    width: 200px;
    height: 50px;
    border: 1px solid #FFA16B;
    transition: .3s all;
}

.fos__content .contact-us-fos-bg input[type="submit"]:hover {
    background: #27313D;
    border: 1px solid #27313D;
    transition: .3s all;
}







/* БУРГЕР */
.menu,
.menu-list {
    padding-left: 0;
}

.menu-mobile {
    display: none;
}

.burger-menu-btn {
    display: none;
}

.burger-checkbox {
    position: absolute;
    visibility: hidden;
}

.burger {
    position: relative;
    z-index: 1;
    cursor: pointer;
    display: block;
    position: relative;
    border: none;
    background: transparent;
    width: 40px;
    height: 26px;
}

.burger::before,
.burger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: rgba(39, 49, 61);
}

.burger::before {
    top: 0;
    box-shadow: 0 11px 0 rgba(39, 49, 61);
    transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}

.burger::after {
    bottom: 0;
    transition: bottom .3s .15s, transform .3s;
}

.burger-checkbox:checked+.burger::before {
    top: 11px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
    transition: box-shadow .15s, top .3s, transform .3s .15s;
}

.burger-checkbox:checked+.burger::after {
    bottom: 11px;
    transform: rotate(-45deg);
    transition: bottom .3s, transform .3s .15s;
}

.menu-list {
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 10px;
    margin: 0;
    background: rgba(255, 255, 255, 0.4);
    /* полупрозрачный белый фон */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    list-style-type: none;
    transform: translateX(100%);
    transition: .3s;
    width: 100%;
    z-index: 30;
    height: 100%;
}

.menu-item-mobile {
    text-align: center;
    border-bottom: 1px solid;
}

.menu-item-mobile a {
    display: block;
    padding: 9px;
    padding-top: 9px;
    padding-left: 25px;
    color: black !important;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.menu-item:visited {
    color: white;
}

.menu-list .menu-item:hover {
    background: rgba(255, 255, 255, .2)
}

.burger-checkbox:checked~.menu-list {
    transform: translateX(0);
}

.burger-open {
    transform: translateX(0);
}

.mobile-menu-logo {
    width: 100px;
}

.first-li {
    padding-top: 10px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 2px solid #E31E25;
}

.first-li a {
    cursor: pointer;
    color: #E31E25;
    font-size: 17px;
    font-weight: 900;
    padding: 6px 13px;
    border: 2px solid #E31E25;
    border-radius: 0;
    height: fit-content;
    opacity: 1;
    text-decoration: none;
    text-shadow: none;
    border-radius: 10px;
}


.footer__info-mobil {
    display: none;
}






/* Формы ФОС */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"] {
    width: 200px;
    height: 50px;
    background: #FFFFFF;
    border-radius: 10px;
    padding-left: 20px;
}




.wpcf7-spinner {
    display: none;
}



/*МОДАЛЬНОЕ ОКНО*/
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 99998;
    background-color: rgba(0, 0, 0, .3);
    display: grid;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity .4s, visibility .4s;
}

.modal__box {
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    padding: 20px;
    z-index: 1;
    margin: 30px 15px;
    background-color: white;
    box-shadow: 0px 0px 17px -7px rgba(34, 60, 80, 0.2);
    transform: scale(0);
    transition: transform .8s;
}

.modal__close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    aspect-ratio: 1;
}

.modal__close-btn:hover i {
    color: red;
}

.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal.open .modal__box {
    transform: scale(1);
}

.form-fields p {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
}

.form-fields {
    width: 300px;
}

.form-fields .simple-row {
    width: 100% !important;
}

.form-btn {
    width: 100% !important;
    border-radius: 8px !important;
    background: rgb(157, 210, 51) !important;
    height: 50px !important;
    color: rgb(34, 34, 34) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: 0.3s !important;
    border: 2px solid rgb(157, 210, 51) !important;
}

.form-btn:hover {
    transition: 0.3s !important;
    border: 2px solid #602ff4 !important;
    color: #602ff4 !important;
}

.modal-fos-bg p {
    display: flex;
    row-gap: 10px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
}

.modal-fos-bg input[type="text"],
.modal-fos-bg input[type="tel"],
.modal-fos-bg input[type="email"] {
    width: 250px;
}


.modal-fos-bg p input[type="submit"] {
    width: 250px;
    height: 50px;
    background: #27313D;
    color: #fff;
    border-radius: 10px;
    border: 1px solid #27313D;
    margin-top: 10px;
    transition: .2s all;
}

.modal-fos-bg p input[type="submit"]:hover {
    background-color: #FFA16B;
    transition: .2s all;
}

.modal__box a {
    display: block;
    width: 100%;
    height: fit-content;
}

.modal__box a .Soglasie {
    text-align: center;
    font-size: 12px;
    color: #27313D;
    transition: .2s all;
}

.modal__box a .Soglasie:hover {
    color: #FFA16B;
    transition: .2s all;
}


/* SCROLL */

body::-webkit-scrollbar {
    width: 10px;
    /* ширина scrollbar */
}

body::-webkit-scrollbar-track {
    background: rgb(34, 34, 34);
    /* цвет дорожки */
}

body::-webkit-scrollbar-thumb {
    background-color: #FFA16B;
    /* цвет плашки */
    border-radius: 20px;
    /* закругления плашки */
    border: 3px solid rgb(34, 34, 34);
    /* padding вокруг плашки */
}




/* --------------------Хлебные крошки--------------------------- */

#breadcrumbs {
    padding-top: 30px;
    margin-bottom: 10px;
}

#breadcrumbs a {
    background-color: #FFFFFF;
    padding: 6px 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #727E8A;
    border-radius: 10px;
}

a.breadcrumb_last {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #727E8A;
}



/*------------------ PAGES, TEMPLATES, SINGLE -----------------------------------------*/


#page {
    background-color: #F7F7F8;
}



.page__title,
.post__title,
.product__title,
.lixcards-archive__title {
    font-family: 'Palatino Linotype';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 54px;
    color: #27313D;
    margin-bottom: 30px;
}


.page__about,
.page-contacts,
.page__sale,
.page__catalog {
    padding-bottom: 200px;
}

.page__about .about__card {
    background-color: #FFFFFF;
}

.page-contacts {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;


}

.page-contacts__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.contacts__block-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #27313D;
    margin-bottom: 10px;
}

.contacts__block-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.contacts__block-item {
    display: flex;
    align-items: center;
    gap: 20px;

    transition: .3s all;
}

a.contacts__block-item.tel:hover .contacts__item-tel,
a.contacts__block-item.tel:hover .contacts__item-tel span {
    color: #006FA6;
    transition: .3s all;
}

a.contacts__block-item.mail:hover .contacts__item-mail {
    color: #006FA6;
    transition: .3s all;
}


.contacts__item-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(39, 49, 61, .2);
}

.contacts__item-text {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
    max-width: 373px;
}

.contacts__item-tel {
    font-weight: 300;
    font-size: 20px;
    line-height: 26px;
    color: #27313D;
}

.contacts__item-tel span {
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    color: #27313D;
}

.contacts__item-mail {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
    max-width: 373px;
}

.block-mes__btns {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.block-mes__btns a {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #27313D;
    display: flex;
    align-items: center;
    column-gap: 12px;
    width: 136px;
    height: 44px;
    border-radius: 6px;
    padding: 10px;
    transition: .3s all;
    border: 1px solid rgba(39, 49, 61, 0.2);
}

.block-mes__btns a:hover {
    background-color: #fff;
    color: #006fa6;
    border: 1px solid #006fa6;
    transition: .3s all;
}

.block-mes__btns a:hover svg path {
    fill: #006fa6;
    transition: .3s all;
}

.block-mes__btns a .icon {
    align-self: center;
}

.block-time__content {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
}

.block-time__content span {
    color: #006FA6;
}

.page-contacts__map {
    border-radius: 10px;
    overflow: hidden;
}

/* Архив в ациями, АКЦИИ, SALE */

.page__sale-flex {
    display: flex;
    align-self: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

}

.sale__card {
    width: 413px;
    height: 429px;
    border-radius: 10px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    transition: .2s all;
}

.sale__card:hover {
    box-shadow: 0 12px 10px 0 rgb(0 0 0 / 2%), 0 12px 20px 0 rgb(0 0 0 / 3%), 0 20px 28px 0 rgb(0 0 0 / 4%);
    transition: .2s all;
}

.sale__card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px 10px 0px 0px;
}

.sale__card-content {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
}

.sale__card-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #27313D;
}

.sale__card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sale__card-date {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.sale__card-date small {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
}

.sale__card-btn {
    width: 102px;
    height: 30px;
    border: 1px solid rgba(39, 49, 61, .1);
    border-radius: 6px;

    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #27313D;
    transition: .3s all;
}

.sale__card-btn:hover {
    background-color: #006FA6;
    color: #FFFFFF;
    transition: .3s all;
}



/* Single sale */

.post-sale-content {
    padding-bottom: 50px;
}




















.page__category {
    display: flex;
    gap: 20px;
}



.page__category-right {
    width: calc(100% - 240px - 20px);
}

.page__catalog-flex {

    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
}




.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 90px;
}

.page-numbers {
    width: 40px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #27313D;
    border-radius: 6px;
    border: 1px solid rgba(39, 49, 61, 0.1);
}

.page-numbers.current {
    border: 1px solid #006FA6;
    color: #006FA6;

}



/* Pay Страница доставка и оплата */

.page__content p {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    color: #27313D;
    margin-bottom: 20px;
}

.page__content ul li {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
    margin-bottom: 10px;
}

.page__content ul li b {
    color: #27313D;
}

.page__payment-items {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 200px;
}

.page__payment-item {
    width: 420px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.paymen__item-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    aspect-ratio: 1;
    border-radius: 10px;
    background-color: #006FA6;
    flex-shrink: 0;
}

.paymen__item-text {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
}



/* Товар single-products */

section.product__top {
    width: 100%;
    min-height: 600px;
    background: #FFFFFF;
    border-radius: 10px;

    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    padding: 50px;
}





.slider__gallery {
    align-self: flex-start;
    display: flex;
    flex-direction: row-reverse;
    column-gap: 20px;
    align-items: center;
}

.swiper-top {
    width: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.swiper-top .swiper-slide {
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider__img {
    max-width: 450px;
    max-height: 450px;
    object-fit: contain;
}

.thumbs-wrap {
    width: fit-content;
    height: fit-content;
    position: relative;
}

.gallery-thumbs {
    width: 80px;
    height: 500px;
    /* position: relative; */
    overflow: hidden;
}

.gallery-thumbs .swiper-slide {
    width: 80px;
    height: 80px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.slider__img-small {
    max-height: 60px;
    max-width: 60px;
    object-fit: cover;
}

.gallery-thumbs .swiper-slide-thumb-active {
    border: 2px solid #006FA6;
}

.swiper-button-next-thumb {
    top: calc(100% + 10px) !important;
    left: 0 !important;
    width: 100% !important;
    height: 30px !important;
}

.swiper-button-prev-thumb {
    top: -10px !important;
    left: 0 !important;
    width: 100% !important;
    height: 30px !important;
}

.swiper-button-next-thumb::after,
.swiper-button-prev-thumb::after {
    transform: rotate(90deg);
    color: #626262 !important;
    font-size: 16px !important;
}


section.product__description {
    margin-bottom: 50px;
}

.product__subtitle {
    font-family: 'Palatino Linotype';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 40px;
    color: #27313D;
    margin-bottom: 20px;
}

.product__description-text p {
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 20px;
}

.product__top-info {
    width: calc(100%);
}

.product__meta {
    display: flex;
    flex-direction: row-reverse;
    border-bottom: 1px solid #E2E6EA;
    margin-bottom: 15px;
    padding-bottom: 10px;
    justify-content: space-between;
}

.info__head {
    display: flex;
    align-items: center;
    /* width: 100%; */
    justify-content: space-between;
    /* margin-bottom: 30px; */

    flex-direction: row-reverse;
}

.info__head-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* 
.price__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #27313D;
}



.price__amount,
.price__value small {
    font-weight: 500;
    font-size: 44px;
    line-height: 56px;
    color: #27313D;
} */

.price__stock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 123px;
    height: 30px;
    border-radius: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
}

.price__stock.green {
    color: #2F973A;
    border: 1px solid rgba(47, 151, 58, 0.4);
}

.price__stock.red {
    color: #E3280E;
    border: 1px solid rgba(227, 40, 14, 0.4);
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.brand__text {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #27313D;
}

.brand__img {
    max-width: 120px;
    object-fit: contain;
}



.info__attributes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    /* padding-bottom: 30px;
    
    margin-bottom: 30px; */
}

@media (max-width: 640px) {
    .product__meta {
        flex-direction: column;
        align-items: flex-start;
    }
}


.product__secondary-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product__delivery {
    margin-top: 16px;
}

.product__delivery-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product__delivery-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product__delivery-item {
    font-size: 16px;
    margin-bottom: 6px;
}

.product__benefits {
    display: flex;
    gap: 16px;
}

.product__benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 300px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 10px 14px;
}

.product__benefit-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background-color: #0077A3;
    /* твой фирменный синий */
    border-radius: 8px;
    /* закругление */
    padding: 6px;
    /* внутренний отступ, чтобы иконка не прилипала */
    display: flex;
    align-items: center;
    justify-content: center;
}



.product__benefit-text {
    font-size: 14px;
    color: #727E8A;
}

/* 
.info__attributes fieldset legend {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #27313D;
    margin-bottom: 5px;
}

.attributes__items-flex {
    display: flex;
    align-items: center;
    column-gap: 20px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.attributes__flex-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
    align-self: stretch;
    flex-wrap: wrap;
}


input[type="radio"] {
    accent-color: #006FA6;
    width: 30px;
    height: 30px;
    border-color: #E2E6EA;
}

.atribute__text {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #727E8A;
}

.atribute__increase,
.atribute__increase small {
    font-weight: 600;
    font-size: 15px;
    line-height: 19px;
    color: #27313D;
} */

.color__fieldset-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.color__item input[type="radio"] {
    display: none;
}

.color__item label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.color__item label h6 {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #727E8A;
    flex-shrink: 1;
}



.color__item .color__outer {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color__item .color__inner {
    width: 35px;
    height: 35px;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    flex-shrink: 1;
}

.color__item:hover h6 {
    color: #006FA6;
    transition: .2s;
}

/* Checked */
.color__item input[type=radio]:checked+label .color__outer {
    background-color: #006FA6 !important;
    /* color: #FFFFFF; */
}

.color__item input[type=radio]:checked+label h6 {
    color: #27313D;
}

.info__bottom {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.bottom__count,
.bottom__width {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.bottom__count h6,
.bottom__width p,
.info__size h6,
.color__fieldset legend {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #27313D;
}

/* +- */
.number {
    user-select: none;
    position: relative;
    text-align: left;
    padding: 0;
    width: 150px;
    height: 50px;
    border-radius: 10px;
    display: inline-block;
    border: 1px solid #E2E6EA;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #727E8A;
}

.number-minus,
.number-plus {
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    line-height: 50px;
    display: block;

    font-size: 20px;
    font-weight: 600;
    text-align: center;
    font-family: arial;
    color: #3e1e02;
    text-decoration: none;
}

.number-minus {
    left: 0;
}

.number-plus {
    right: 0;

}

.number-minus:hover,
.number-plus:hover {
    color: #006FA6;
}

.number-minus:active,
.number-plus:active {}

.number-text {
    display: inline-block;
    font-size: 17px;

    line-height: 50px;
    height: 98%;
    padding: 0;
    margin: 0 0 0 40px;
    background: #fff;
    outline: none !important;
    border: none !important;

    width: 29px;
    text-align: right;

    font-weight: 400;
    color: #727E8A;

}

.number-unit {
    display: inline-block;
    height: 100%;

    font-weight: 400;
    font-size: 17px;
    line-height: 50px;
    color: #727E8A;
}

.order__btn {
    width: 200px;
    height: 50px;
    background: #006FA6;
    border-radius: 10px;
    border: 1px solid #006FA6;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #FFFFFF;
    padding: 14px 31px;
    transition: .3s all;
    margin-left: auto;
}

.order__btn:hover {
    background-color: #FFA16B;
    /* border: 1px solid #FFA16B; */
    transition: .3s all;
}

.select-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.select-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #27313D;
}

.select-width {
    width: 150px;
    height: 50px;
    border: 1px solid #E2E6EA;
    border-radius: 10px;
    background: url(../img/arrow.svg) no-repeat bottom 50% right 20px, #ffffff;
    color: #727E8A;
    font-size: 17px;
    line-height: 21.68px;
    font-weight: 400;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: none;
    padding: 13px 20px 15px;
}



.product__same-items {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    margin-bottom: 100px;
    flex-wrap: wrap;
}


/* вкладки */
.info__size {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.tabs {
    width: 100%;
    display: inline-block;
}

.tab-list {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
}

.tab-list li {
    padding: 10px;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    line-height: 19px;
    color: #727E8A;
    transition: .2s all;
    position: relative;
}

.tab-list li:hover {
    color: #27313D;
    transition: .2s all;
}

.tab-list .tab-item.active {
    color: #27313D;
}

.tab-list .tab-item.active::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #006FA6;
}

.tab-content {
    border: 1px solid #f1f1f1;

    padding: 20px;
    border-radius: 5px;
    height: fit-content;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.size__fieldset input[type=radio] {
    display: none;
}

fieldset.size__fieldset {
    display: flex;
    column-gap: 10px;
    row-gap: 25px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.size__item label {
    padding: 10px;
    border: 1px solid #E2E6EA;
    border-radius: 10px;
}

/* Checked */
.size__item input[type=radio]:checked+label {
    background: linear-gradient(45deg, #f9e2d8, #9edaf6);
    /* color: #FFFFFF; */

}

.tab2__content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tab2__title {
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    color: #27313D;
}

.tab2__inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.tab2__inputs small {
    font-size: 18px;
    line-height: normal;
}

.tab2__item {
    display: block;
    width: fit-content;
    height: fit-content;
    position: relative;
}


.tab2__inputs input[type='text'] {
    background: #FFFFFF;
    border: 1px solid #F2F2F2;
    border-radius: 5px;
    padding: 11.5px 20px;
    width: 140px;
}

.tab2__item:after {
    content: attr(data-title);
    position: absolute;
    top: -50px;
    left: 0px;
    z-index: 5;
    display: block;
    width: 180px;
    text-align: center;
    background: #006FA6;
    border-radius: 10px;
    padding: 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.3s linear;
    color: #fff;
    font-size: 13px;
    pointer-events: none;
}

.tab2__item:hover:after {
    opacity: 1;
    transform: translateY(0);
}

.info__price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.price__variation input[type=radio] {
    display: none;
}

fieldset.price__variation {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: row;
}

.price__base {
    width: 150px;
}

.price__base label {
    padding: 15px;
    border: 1px solid #E2E6EA;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

/* Checked */
.price__base input[type=radio]:checked+label {
    background: linear-gradient(45deg, #f9e2d8, #9edaf6);
    /* color: #FFFFFF; */
}

.price__base label h6 {
    font-weight: 400;
    font-size: 18px;
    line-height: 19px;
}

.price__amount {
    font-weight: 500;
    font-size: 25px;
    line-height: normal;
    color: #27313D;
    display: flex;
    gap: 5px;
    align-items: center;
}


.info__complect h6 {
    font-size: 14px;
    line-height: normal;
    margin-bottom: 5px;
}

.info__complect ul {
    list-style: disc;
    font-size: 12px;
    padding-left: 15px;
}

.info__complect ul li {
    list-style: disc;

}

.error-border {
    border-color: red !important;
}

.order__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}




/* Товар ФОС */

.buy-fos-bg p {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.buy-fos-bg textarea {
    display: none;
}

.buy-fos-bg input[type='submit'] {
    width: 250px;
    height: 50px;
    background: #27313D;
    color: #fff;
    border-radius: 10px;
    border: 1px solid #27313D;
    transition: .2s all;
}

.buy-fos-bg input[type='submit']:hover {
    background-color: #FFA16B;
    transition: .2s all;
}

.buy-fos-bg input[type="text"],
.buy-fos-bg input[type="tel"],
.buy-fos-bg input[type="email"] {
    width: 250px;
}

.buy-fos-bg .wpcf7-response-output {
    border: none !important;
    color: #2F973A !important;
    margin: -1em 0.5em 1em !important;
    text-align: center !important;
}

.wpcf7-response-output:not(.wpcf7-mail-sent-ok) {
    border: 2px solid red;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
}


/* Стили фильтра ФИЛЬТЕР catalog-filter () */

.filter {
    width: 240px;
    height: fit-content;
}

.filter .main-filter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    width: 100%;
}

.form-item label,
.form-item legend {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #27313D;
}

.select-filter {
    width: 240px;
}

.checkbox input {
    display: none;
}

.checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-color-border {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-color {
    width: 35px;
    height: 35px;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
    flex-shrink: 1;
}

.checkbox-name {
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    color: #727E8A;
    flex-shrink: 1;
}

fieldset {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

fieldset legend {
    margin-bottom: 10px;
}

.checkbox {
    transition: .2s;
}

.checkbox:hover .checkbox-name {
    color: #006FA6;
    transition: .2s;
}


input.checkbox-input:checked~.checkbox-label .checkbox-color-border {
    background-color: #006FA6 !important;
}

input.checkbox-input:checked~.checkbox-label .checkbox-name {
    color: #006FA6 !important;
}

.form-btns {
    display: flex;

}

.filter input[type='submit'] {
    width: 115px;
    height: 50px;
    border-radius: 6px;
    border: 1px solid rgba(39, 49, 61. 0.2);
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 22px;
    color: #27313D;
    transition: .3s all;


}



.filter input[type='submit']:hover {
    background-color: #006FA6;
    border: 1px solid #006FA6;
    color: #FFFFFF;
    transition: .3s all;
}

.filter input[type='submit'].sub {
    align-self: flex-end;
}

.form-reset {
    display: flex;
    align-items: flex-start;
}

.filter input[type='submit'].dec {
    margin-top: -50px;
}

.page__content {
    margin-bottom: 30px;
}


/* ГАЛЕРЕЯ */

.gallery-container {
    width: 100%;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 колонок */
    grid-gap: 20px;
    /* Зазор между картинками */
    grid-auto-rows: 200px;
    /* Базовая высота строки */

    margin-bottom: 120px;
}

.grid-item {
    border-radius: 10px;
    /* Радиус бордера */
    overflow: hidden;
    position: relative;
}

.grid-item a {
    width: 100%;
    height: 100%;
    display: block;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Обеспечивает заполнение картинки и обрезку */
    transition: transform 0.3s ease;
}

/* Для случайного изменения высоты изображений */
.grid-item:nth-child(odd) {
    grid-row: span 2;
    /* Изменяет высоту для нечетных картинок */
}

.grid-item img:hover {
    transform: scale(1.05);
    /* Увеличение картинки при наведении */
}




/* Политика */
.form-privacy-note {
    margin-top: 15px;
    font-size: 12px;
    color: #ffffff;
    text-align: center;
}

.form-privacy-note a {
    color: #ffffff;
    text-decoration: underline;
    margin-top: 18px;
    margin-left: -15px;
}





/* куки */
.cookie-card {
    display: none;
    /* СКРЫТО по умолчанию! */
    position: fixed;
    /* Фиксировано! */
    bottom: 20px;
    /* Расположение снизу */
    right: 20px;
    /* и справа */
    max-width: 320px;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, .05);
    z-index: 9999;
    /* Поверх всего! */
}


.title {
    font-weight: 600;
    color: rgb(31 41 55);
}

.description {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: rgb(75 85 99);
}

.description a {
    --tw-text-opacity: 1;
    color: rgb(59 130 246);
}

.description a:hover {
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
}

.actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    flex-shrink: 0;
}

.pref {
    font-size: 0.75rem;
    line-height: 1rem;
    color: rgb(31 41 55);
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background-color: transparent;
}

.pref:hover {
    color: rgb(156 163 175);
}

.pref:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.accept {
    font-size: 0.75rem;
    line-height: 1rem;
    background-color: rgb(17 24 39);
    font-weight: 500;
    border-radius: 0.5rem;
    color: #fff;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    border: none;
    transition: all .15s cubic-bezier(0.4, 0, 0.2, 1);
}

.accept:hover {
    background-color: rgb(55 65 81);
}

.accept:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

/* Базовая сетка и контейнер */
.lx-articles__container,
.lx-post__container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* Хиро-секции */
.lx-articles__hero,
.lx-post__hero {
    background: radial-gradient(1200px 400px at 50% -200px, rgba(251, 132, 47, .15), transparent 70%),
        linear-gradient(180deg, #fff, #fafafa);
    padding: 48px 0 24px;
}

.lx-articles__title,
.lx-post__title {
    font: 700 42px/1.1 "Palatino Linotype", system-ui;
    letter-spacing: .2px;
    margin: 6px 0 10px;
}

.lx-articles__subtitle {
    color: #666;
    margin-bottom: 18px;
}

/* Поиск */
.lx-articles__search {
    display: flex;
    gap: 10px;
}

.lx-articles__search-input {
    flex: 1;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px 16px;
    outline: none;
}

.lx-articles__search-input:focus {
    border-color: #fb842f;
    box-shadow: 0 0 0 4px rgba(251, 132, 47, .12);
}

.lx-articles__search-btn {
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    background: #fb842f;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.lx-articles__search-btn:hover {
    filter: brightness(.98);
}

/* Сетка карточек */
.lx-articles__grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(12, 1fr);
    margin: 28px 0 34px;
}

.lx-article-card {
    grid-column: span 4;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1100px) {
    .lx-article-card {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .lx-article-card {
        grid-column: span 12;
    }
}

.lx-article-card__thumb {
    display: block;
    aspect-ratio: 16/9;
    background: #f6f6f6;
}

.lx-article-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lx-article-card__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #bbb;
    font-weight: 600;
}

.lx-article-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lx-article-card__title {
    font: 600 20px/1.25 "Palatino Linotype", system-ui;
    color: #1a1a1a;
    text-decoration: none;
}

.lx-article-card__title:hover {
    color: #fb842f;
}

.lx-article-card__meta {
    color: #777;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lx-article-card__dot {
    opacity: .5;
}

.lx-article-card__excerpt {
    color: #4a4a4a;
}

.lx-article-card__more {
    margin-top: auto;
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.lx-article-card__more:hover {
    border-color: #fb842f;
    color: #fb842f;
}

/* Пагинация */
.lx-articles__pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.lx-articles__pagination .page-numbers a,
.lx-articles__pagination .page-numbers span {
    border: 1px solid #eee;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.lx-articles__pagination .page-numbers .current {
    background: #fb842f;
    color: #fff;
    border-color: #fb842f;
}

/* Статья */
.lx-post__cover img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

@media (max-width: 640px) {
    .lx-post__cover img {
        height: 240px;
    }
}

.lx-post__meta {
    color: #777;
    margin-top: 6px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.lx-post__dot {
    opacity: .5;
}

/* Контент + сайдбар */
.lx-post__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    margin: 26px auto 40px;
}

@media (max-width: 980px) {
    .lx-post__layout {
        grid-template-columns: 1fr;
    }
}

.lx-post__content {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.lx-post__content h2,
.lx-post__content h3 {
    margin: 22px 0 12px;
}

.lx-post__content p {
    color: #333;
    line-height: 1.7;
}

/* Поделиться */
.lx-post__share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.lx-post__share-btn {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #eee;
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.lx-post__share-btn:hover {
    border-color: #fb842f;
    color: #fb842f;
}

/* Навигация по соседним */
.lx-post__nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

/* Сайдбар */
.lx-side-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .04);
}

.lx-side-card+.lx-side-card {
    margin-top: 18px;
}

.lx-side-card__title {
    font-weight: 700;
    margin-bottom: 12px;
}

.lx-side-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lx-side-card__list li {
    margin: 8px 0;
}

.lx-side-card__list a {
    text-decoration: none;
    color: #111;
}

.lx-side-card__list a:hover {
    color: #fb842f;
}

/* Хлебные крошки */
.lx-post__breadcrumbs {
    color: #777;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lx-post__breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.lx-post__breadcrumbs a:hover {
    color: #fb842f;
}

/* Пусто */
.lx-articles__empty {
    color: #666;
    padding: 30px 0 60px;
    text-align: center;
}












/* ===== СЕТКА АРХИВА ===== */
.lixcards-archive {
    padding: 40px 0;
}

.lixcards-archive__container {
    width: min(1300px, 92vw);
    margin: 0 auto;
}

.lixcards-archive__title {
    font-size: 40px;
    margin: 0 0 24px;
}

.lixcards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.lixcards-item {
    position: relative;
}

.lixcards-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.lixcards-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    /* удерживаем аккуратную сетку */
}

.lixcards-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lixcards-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    transition: opacity .35s ease;
}

.lixcards-overlay__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .6) 100%);
}

.lixcards-overlay__title {
    position: relative;
    z-index: 1;
    padding: 16px;
    font-size: 18px;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}

.lixcards-media:hover .lixcards-overlay {
    opacity: 0;
}

/* пагинация */
.lixcards-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

/* ===== ОДИНОЧНАЯ КАРТОЧКА ===== */
.lixcards-single {
    padding: 32px 0 48px;
}

.lixcards-single__container {
    width: min(1280px, 92vw);
    margin: 0 auto;
}

.lixcards-single__back {
    display: inline-block;
    margin-bottom: 12px;
    opacity: .7;
}

.lixcards-single__title {
    font-size: 36px;
    margin: 0 0 16px;
}

.lixcards-single__hero {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    max-width: 350px;
    max-height: 500px;
}

.lixcards-single__img {
    width: 100%;
    height: auto;
    display: block;
}

.lixcards-single__placeholder {
    padding: 40px;
    background: #f3f3f5;
    border-radius: 14px;
}

.lixcards-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.lixcards-gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    display: block;
}

.lixcards-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.lixcards-gallery__item:hover .lixcards-gallery__img {
    transform: scale(1.03);
}

.lixcards-single__content {
    font-size: 16px;
    line-height: 1.7;
}

/* адаптивные штрихи */
@media (max-width: 680px) {
    .lixcards-archive__title {
        font-size: 28px;
    }

    .lixcards-single__title {
        font-size: 28px;
    }
}




/* ===== ГРУППЫ ПО АДРЕСАМ ===== */
.lixcards-addr__group {
    margin-bottom: 28px;
}

.lixcards-addr__title {
    font-size: 22px;
    margin: 0 0 12px;
    line-height: 1.2;
}

/* Лейбл-адрес поверх картинки */
.lixcards-gallery__label {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.2;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(6px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

/* Чуть усилим читаемость на светлых фото */
.lixcards-gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 60%);
    opacity: .9;
    pointer-events: none;
}













/* Обёртка виджета */
.ya-reviews {
    width: 100%;
    max-width: 560px;
    /* на десктопе остаётся как было */
    margin: 0 auto;
    /* центрируем */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Адаптивная высота */
.ya-reviews {
    height: clamp(420px, 80vh, 800px);
    /* мобилка/планшет/десктоп */
}

/* Iframe на всю обёртку */
.ya-reviews__iframe {
    width: 100%;
    height: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-sizing: border-box;
    display: block;
}

/* Подпись-ссылка снизу */
.ya-reviews__link {
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;

    text-decoration: none;
    color: #b3b3b3;
    font-size: 10px;
    font-family: "YS Text", sans-serif;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.max-btn {
    color: #27313D;
    /* как у остальных иконок сейчас */
    transition: none;
    /* чтобы переключалось мгновенно */
}

.max-btn:hover {
    color: #006Fa6;
    /* твой синий */
}

.max-svg {
    display: block;
}

/* Поиск в шапке */
header {
    position: relative;
    z-index: 40;
}

.header__mobil-btns {
    display: flex;
    align-items: center;
    column-gap: 12px;
    flex-shrink: 0;
}

.header__search-toggle {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(39, 49, 61, 0.1);
    border-radius: 12px;
    background: #FFFFFF;
    color: #27313D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .3s all;
}

.header__search-toggle:hover,
.site-header.search-is-open .header__search-toggle {
    background: #FFA16B;
    border-color: #FFA16B;
    color: #27313D;
}

.header__search-toggle:focus-visible,
.header__search-input:focus-visible,
.header__search-submit:focus-visible {
    outline: 2px solid #006FA6;
    outline-offset: 2px;
}

.header__search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 0 20px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(39, 49, 61, 0.08);
    box-shadow: 0px 16px 30px 0px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.site-header.search-is-open .header__search {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.header__search-form {
    display: flex;
    align-items: center;
    column-gap: 12px;
    width: 100%;
}

.header__search-input {
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(39, 49, 61, 0.12);
    border-radius: 12px;
    background: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #27313D;
}

.header__search-input::placeholder {
    color: #727E8A;
}

.header__search-submit {
    min-width: 132px;
    height: 56px;
    padding: 0 22px;
    border: 1px solid rgba(39, 49, 61, 0.1);
    border-radius: 12px;
    background: #27313D;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    transition: .3s all;
}

.header__search-submit:hover {
    background: #FFA16B;
    border-color: #FFA16B;
    color: #27313D;
}

/* ===== FIX: typography/content for single articles & sales ===== */
.lx-post__content > *:first-child {
    margin-top: 0;
}

.lx-post__content > *:last-child {
    margin-bottom: 0;
}

.lx-post__content p,
.lx-post__content ul,
.lx-post__content ol,
.lx-post__content blockquote,
.lx-post__content figure,
.lx-post__content .wp-block-list {
    margin: 0 0 18px;
}

.lx-post__content p,
.lx-post__content li {
    color: #333333;
    line-height: 1.7;
}

.lx-post__content ul,
.lx-post__content ol,
.lx-post__content .wp-block-list {
    padding-left: 28px;
    margin-left: 0;
}

.lx-post__content ul,
.lx-post__content .wp-block-list {
    list-style: disc outside !important;
}

.lx-post__content ol {
    list-style: decimal outside !important;
}

.lx-post__content ul > li,
.lx-post__content ol > li,
.lx-post__content .wp-block-list > li {
    display: list-item !important;
    margin-bottom: 8px;
}

.lx-post__content li:last-child {
    margin-bottom: 0;
}

.lx-post__content ul > li::marker,
.lx-post__content ol > li::marker,
.lx-post__content .wp-block-list > li::marker {
    color: #27313D;
}

.lx-post__content strong,
.lx-post__content b {
    color: #27313D;
}

.lx-post__content a,
.lx-post__content a:visited {
    color: #006FA6;

}

.lx-post__content a:hover {
    color: #FFA16B;
}

.lx-post__breadcrumbs a:visited {
    color: #555555;
}

.lx-side-card__list a:visited,
.lx-post__nav a:visited,
.lx-article-card__title:visited,
.lx-article-card__more:visited {
    color: inherit;
}

.lx-post__share-btn:visited {
    color: #111111;
}


/* ===== Lixon catalog filters v5 ===== */
.filter--catalog-upgrade {
    width: 100%;
    max-width: 300px;
    position: relative;
    z-index: 3;
}

.filter--catalog-upgrade,
.filter--catalog-upgrade *,
.filter--catalog-upgrade *::before,
.filter--catalog-upgrade *::after {
    box-sizing: border-box;
}

.filter--catalog-upgrade .main-filter {
    width: 100%;
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(39, 49, 61, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: visible;
}

.filter--catalog-upgrade .form-item,
.filter--catalog-upgrade fieldset,
.filter--catalog-upgrade .filter__group,
.filter--catalog-upgrade .form-btns--catalog-upgrade,
.filter--catalog-upgrade .filter-select-wrap {
    width: 100%;
    min-width: 0;
}

.filter--catalog-upgrade .select-label {
    display: block;
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    color: #27313D;
}

.filter--catalog-upgrade .select-filter.select-width {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 60px;
    border-radius: 18px;
    padding: 0 54px 0 20px;
    background-position: right 20px center;
    font-size: 17px;
    line-height: 22px;
    color: #60758a;
    background-color: #FFFFFF;
    border: 1px solid rgba(39, 49, 61, 0.08);
    box-shadow: none;
    transition: .25s ease;
}

.filter--catalog-upgrade .select-filter.select-width:hover,
.filter--catalog-upgrade .select-filter.select-width:focus {
    border-color: rgba(0, 111, 166, 0.35);
    outline: none;
}

.filter-accordion {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(39, 49, 61, 0.08);
    background: #FFFFFF;
    overflow: hidden;
}

.filter-accordion__toggle {
    width: 100%;
    min-height: 58px;
    padding: 14px 16px;
    border: 0;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
    color: #27313D;
    transition: .25s ease;
}

.filter-accordion__toggle:hover,
.filter-accordion.is-open .filter-accordion__toggle {
    background: #F7F7F8;
}

.filter-accordion__title {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    color: #27313D;
}

.filter-accordion__badge {
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #006FA6;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.filter-accordion__chev {
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border-right: 2px solid #27313D;
    border-bottom: 2px solid #27313D;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.filter-accordion.is-open .filter-accordion__chev {
    transform: rotate(-135deg);
}

.filter-accordion__panel {
    padding: 0 16px 16px;
}

.filter--catalog-upgrade fieldset,
.filter--catalog-upgrade .filter__group {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.filter--catalog-upgrade .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.filter--catalog-upgrade .checkbox,
.filter--catalog-upgrade .filter-color {
    position: relative;
}

.filter--catalog-upgrade .checkbox-input,
.filter--catalog-upgrade .filter-color input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter--catalog-upgrade .checkbox-label {
    gap: 14px;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 14px;
    padding: 2px 4px;
    transition: .25s ease;
}

.filter--catalog-upgrade .checkbox-label:hover {
    background: rgba(247, 247, 248, 0.9);
}

.filter--catalog-upgrade .checkbox-name {
    min-width: 0;
    word-break: break-word;
    font-size: 16px;
    line-height: 20px;
    color: #60758a;
    transition: .25s ease;
}

/* Вернули старую визуальную механику бренда и цветовых плашек */
.filter--catalog-upgrade .checkbox-brand-border,
.filter--catalog-upgrade .checkbox-color-border {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    border: 1px solid rgba(39, 49, 61, 0.1);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s ease;
}

.filter--catalog-upgrade .checkbox-brand-color,
.filter--catalog-upgrade .checkbox-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter--catalog-upgrade .checkbox-brand-color {
    overflow: hidden;
    background: #fff;
}

.filter--catalog-upgrade .checkbox-brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.filter--catalog-upgrade .checkbox-brand-letter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #27313D;
    background: #f5f7fa;
    border-radius: 50%;
}

.filter--catalog-upgrade .checkbox--plain .checkbox-label::before {
    content: '';
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 8px;
    border: 1px solid rgba(39, 49, 61, 0.16);
    background: #FFFFFF;
    box-shadow: inset 0 0 0 4px #FFFFFF;
    transition: .25s ease;
}

.filter--catalog-upgrade .checkbox--plain .checkbox-input:checked + .checkbox-label::before {
    background: #006FA6;
    border-color: #006FA6;
}

.filter--catalog-upgrade .checkbox:hover .checkbox-name {
    color: #27313D;
}

.filter--catalog-upgrade .checkbox-input:checked ~ .checkbox-label .checkbox-name,
.filter--catalog-upgrade .checkbox-input:checked + .checkbox-label .checkbox-name {
    color: #27313D !important;
    font-weight: 600;
}

.filter--catalog-upgrade .checkbox-input:checked ~ .checkbox-label .checkbox-color-border,
.filter--catalog-upgrade .checkbox-input:checked + .checkbox-label .checkbox-color-border,
.filter--catalog-upgrade .checkbox-input:checked ~ .checkbox-label .checkbox-brand-border,
.filter--catalog-upgrade .checkbox-input:checked + .checkbox-label .checkbox-brand-border {
    background: #e7f2f8 !important;
    border-color: #006FA6;
}

.filter--catalog-upgrade .form-btns--catalog-upgrade {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 2px;
}

.filter--catalog-upgrade .filter-btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 14px 16px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 17px;
    line-height: 22px;
    font-weight: 600;
    border: 1px solid rgba(39, 49, 61, 0.1);
    transition: .25s ease;
}

.filter--catalog-upgrade .filter-btn-reset {
    background: #fff;
    color: #27313D;
}

.filter--catalog-upgrade .filter-btn-reset:hover {
    border-color: #27313D;
    color: #27313D;
}

.filter--catalog-upgrade .filter-btn-apply {
    background: #27313D;
    color: #fff;
}

.filter--catalog-upgrade .filter-btn-apply:hover {
    background: #FFA16B;
    border-color: #FFA16B;
    color: #27313D;
}

/* Вернули боковую плашку "Показать" */
.filter--catalog-upgrade .filter-floating-apply {
    position: absolute;
    right: -22px;
    top: 0;
    transform: translate(100%, 0);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 20px;
    background: #27313D;
    color: #fff;
    box-shadow: 0 18px 34px rgba(39, 49, 61, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, top .2s ease;
    z-index: 20;
    white-space: nowrap;
}

.filter--catalog-upgrade .filter-floating-apply::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    width: 16px;
    height: 16px;
    background: #27313D;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 4px;
}

.filter--catalog-upgrade .filter-floating-apply.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.filter--catalog-upgrade .filter-floating-apply__count {
    padding: 0 4px;
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.filter--catalog-upgrade .filter-floating-apply__button {
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 16px;
    border: 0;
    background: #fff;
    color: #27313D;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.filter--catalog-upgrade .filter-floating-apply__button:hover {
    background: #FFA16B;
}

.filter-mobile {
    display: none;
}

.filter-colors__panel {
    margin-top: 0;
}

.filter-colors__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    background: #f7f7f8;
}

.filter-color {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter-color__dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(39, 49, 61, 0.12);
}

.filter-color input:checked + .filter-color__dot {
    box-shadow: 0 0 0 2px #006FA6;
}

/* ===== Compact color filter preview ===== */
.filter--catalog-upgrade .filter-colors {
    overflow: hidden;
}

.filter--catalog-upgrade .filter-colors__preview,
.filter--catalog-upgrade .filter-colors__grid {
    display: grid;
    grid-template-columns: repeat(5, 34px);
    justify-content: start;
    gap: 10px 12px;
    padding: 0 16px 16px;
    border-radius: 0;
    background: transparent;
}

.filter--catalog-upgrade .filter-colors__preview {
    padding-top: 0;
}

.filter--catalog-upgrade .filter-colors__panel {
    padding: 0;
    margin-top: -4px;
}

.filter--catalog-upgrade .filter-color {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter--catalog-upgrade .filter-color__dot {
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px rgba(39, 49, 61, 0.18);
    transition: box-shadow .2s ease, transform .2s ease;
}

.filter--catalog-upgrade .filter-color:hover .filter-color__dot {
    transform: translateY(-1px);
    box-shadow: 0 0 0 2px rgba(39, 49, 61, 0.32);
}

.filter--catalog-upgrade .filter-color input:checked + .filter-color__dot {
    box-shadow: 0 0 0 3px #006FA6;
}

@media (max-width: 520px) {
    .filter--catalog-upgrade .filter-colors__preview,
    .filter--catalog-upgrade .filter-colors__grid {
        grid-template-columns: repeat(5, 32px);
        gap: 10px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .filter--catalog-upgrade .filter-color {
        width: 32px;
        height: 32px;
    }

    .filter--catalog-upgrade .filter-color__dot {
        width: 27px;
        height: 27px;
    }
}
