._di>div[id^="bx_incl_area_"] {
    display: inline-block;
}

.history-line-item-content {
    margin-top: 10px;
    margin-bottom: 10px;
}

.sidebar {
    padding-bottom: 40px;
}

.blog-article-cat {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

._catalog-content {
    padding-bottom: 80px;
}

input.error,
textarea.error {
    border-color: #b60707 !important;
}

.error-response {
    text-align: left;
    font-size: 12px;
    color: #b60707;
    margin-top: 10px;
}

.error-response:empty {
    margin: 0;
    display: none;
}

.coop-item .img-block img {
    width: 108px;
    height: 108px;
}

body a._catalog-link {
    grid-gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #2e2e2e;
    color: var(--black);
    position: relative;
    display: flex;
    align-items: center;
}

body a._catalog-link.active {
    font-weight: 700;
    color: #1b9640;
    color: var(--green);
}

body a._catalog-link.active:before {
    content: '';
    background-color: #2eb25c;
    background-color: var(--main-green);
    width: 1rem;
    display: block;
    height: 2px;
}

.filter-items-group:not(.open) .filter-items-title+.icon {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.filter-items-group.open .filter-items-title+.icon {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.filter-items-title {
    padding-right: 8px;
}

._q {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

._q .icon {
    padding: 4px;
    cursor: pointer;
}

._contract-quiz-form input+input:not([type=submit]) {
    margin-top: 12px;
}

.sert-items-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.sert-items-wrapper .sert-item img {
    width: auto;
    height: 100px;
}

.sert-items-wrapper .sert-item {
    text-align: center;
}

@media (max-width: 767px) {
    .sert-items-wrapper {
        flex-wrap: wrap;
        gap: 20px;
    }

    .sert-items-wrapper .sert-item img {
        height: 70px;
    }
}

.section-description {
    margin-top: 40px;
}

.section-description h2 {
    font-family: var(--road);
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(28px, 2vw, 42px);
    font-size: var(--h2);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}


.btn-green.btn-red {
    background: #ea563c;
    border-color: #ea563c;
}

.btn-green.btn-red:hover {
    background-color: #cd4f39;
    border-color: #cd4f39;
}

#order_calculation .img-cover {
    right: 0;
    left: unset;
    object-fit: contain;
    object-position: left;
    background-color: white;
}

#order_calculation .modal-form .form-wrapper,
#questions .modal-form .form-wrapper {
    margin-right: auto;
    margin-left: 0;
}

#questions .img-cover {
    right: 0;
    left: unset;
    object-fit: cover;
    object-position: center;
    background-color: white;
}

.main-page-form.form-background {
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
}

.has-iframe .fancybox__content {
    height: 90% !important;
}

.start-brand-wrapper {
    display: flex;
    gap: 2rem;
    padding-top: 70px;
    flex-wrap: wrap;
}

.start-brand-wrapper .start-brand_item {
    position: relative;
    border-radius: var(--brs);
    border: 1px solid #e1e2e6;
    background-color: var(--l-gray);
    padding: 1rem;
    z-index: 1;
    width: calc(25% - 2rem);
    text-align: center;
    font-size: var(--h4);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.start-brand-wrapper .start-brand_item .item_number {
    position: absolute;
    background-color: var(--main-green);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-align: center;
    top: -35px;
    left: 50%;
    font-size: 35px;
    padding-top: 10px;
    transform: translate(-50%, 0%);
    color: white;
}

@media (max-width: 767px) {
    .start-brand-wrapper .start-brand_item {
        width: calc(50% - 2rem);
    }

    .start-brand-wrapper .start-brand_item {
        margin-top: 35px;
    }

    .start-brand-wrapper .start-brand_item .item_number {
        top: -50%;
    }

    .start-brand-wrapper {
        padding-top: 30px;
    }

    .single-item-desc-wrapper .flex-group-items .single-filter-group {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .start-brand-wrapper .start-brand_item {
        width: 100%;
    }

    .table-wrapper {
        max-width: 90vw;
        overflow-x: scroll;
    }
}

.single-content p:has(img) {
    margin-bottom: 0;
}

.single-content .image-title {
    margin-top: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-family: var(--road);
}

.catalog-content .section-description a {
    /* border-bottom: 2px solid var(--main-green); */
    color: var(--main-green) !important;
}

.catalog-content .section-description ul {
    padding-left: 15px;
}

.catalog-content .section-description ul li {
    position: relative;
    padding-left: 2rem;
}

.catalog-content .section-description ul li::before {
    position: absolute;
    content: '';
    display: block;
    top: .55em;
    left: 0;
    background-color: #2eb25c;
    background-color: var(--main-green);
    width: 12px;
    height: 2px;
}

.catalog-content .section-description ul li+li {
    margin-top: 10px;
}

.main-page-catalog-item:hover {
    border-color: #2eb25c;
}

.catalog-card-preview:hover {
    border: 1px solid #2eb25c;
}

.single-item-desc-wrapper .flex-group-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.single-item-desc-wrapper .flex-group-items .single-filter-group,
.single-item-desc-wrapper .flex-group-items p {
    align-self: center;
    display: flex;
    width: 45%;
}

.single-item-desc-wrapper .flex-group-items .single-filter-group .select-group {
    width: 100%;
}

.single-item-desc-wrapper .flex-group-items .single-filter-group .select-group .select-item-list li {
    padding: 6px 1rem;
}

._tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

._tags a {
    display: block;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid #2e2e2e20;
    color: #2e2e2e90;
    transition: all 0.3s;
}

._tags a:hover {
    border-color: #2eb25c;
    color: #2eb25c;
}

.single-tags-list:not(:empty) {
    margin-bottom: 30px;
}

.__article ul li {
    list-style: none;
    position: relative;
}

.__article ul li:before {
    content: '';
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 100%;
    background: #3AAF5D;
    position: absolute;
    top: 7px;
    left: 0;
}

.__article q {
    padding-left: 30px;
    position: relative;
    border-left: 4px solid #FF8900;
    display: block;
    margin: 1rem 0;
}

.__article q:before,
.__article q:after {
    display: none;
}

.__article mark,
.__article del {
    border-radius: 20px;
    background: #F2F6FC;
    padding: 36px 50px;
    display: block;
    margin: 1rem 0;
}

.__article del {
    text-decoration: none;
}

._r-article .sidebar-tags-list {
    margin-top: 0;
    margin-bottom: 1rem;
}

.__article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.__article-tags span {
    border-radius: 40px;
    border: 1px solid #2eb25c;
    background: #fff;
    color: #2e2e2e;
    padding: 6px 16px;
    font-size: 12px;
    cursor: default;
}

body ._r-header {
    overflow: visible;
}

._r-nav .dropdown {
    position: relative;
}

._r-nav .dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    top: 100%;
    left: -10px;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 16px 10px;
    width: 300px;
    flex-direction: column;
    gap: 10px;
}

._r-nav .dropdown:hover .dropdown-menu {
    display: flex;
}

._r-header__mobile-menu-nav {
    padding-left: 16px;
    padding-right: 16px;
    height: calc(100svh - 80px);
}

._r-header__mobile-menu-nav a svg {
    flex-shrink: 0;
}

._r-main ._r-header__mobile-menu-nav .submenu a {
    font-size: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
}

._r-header--opened ._r-header__mobile-menu {
    overflow: auto;
}

._r-header__mobile-menu-bottom {
    flex-direction: column;
}

._r-main ._r-header__mobile-menu-nav ._r-header__mobile-menu-bottom a {
    padding: 0;
    border: none;
    display: inline-block;
}

.price-modal {
    padding: 0;
}

.price-modal__row {
    display: flex;

    @media (max-width: 767px) {
        display: block;
    }
}

.price-modal__image {
    width: 466px;
    flex: 1;
    background-image: url('/price-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    @media (max-width: 767px) {
        width: 100%;
        height: 400px;
    }
}

.price-modal__right {
    flex: 1;
}

.price-modal__content {
    padding: 60px 26px 30px;
}

.price-modal__title {
    font-weight: 800;
    font-size: 22px;
    line-height: 120%;
    text-transform: uppercase;
    text-align: center;
    color: #000;
    margin-bottom: 7px;
}

.price-modal__text {
    font-style: italic;
    font-weight: 300;
    font-size: 15px;
    text-align: center;
    color: #000;
    margin-bottom: 25px;
}

.price-modal__form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.price-modal__form input[type="text"],
.price-modal__form input[type="tel"] {
    border-radius: 5px;
    background: #f1f1f1;
    outline: none;
    font-weight: 400;
    font-size: 15px;
    padding: 11px 24px;
    border: 1px solid transparent;
}

.price-modal__form input[type="text"].error,
.price-modal__form input[type="tel"].error {
    border-color: #b60707;
}

.price-modal__form button {
    display: inline-block;
    margin: 0 auto;
    border-radius: 5px;
    background: #1b9640;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    color: #fff;
    padding: 12px 74px;
    border: none;
    outline: none;
    cursor: pointer;
}

.price-modal__checkbox {
    margin-top: 38px;
}

.price-modal__checkbox input[type="checkbox"] {
    display: none;
}

.price-modal__checkbox label {
    position: relative;
    font-style: italic;
    font-weight: 250;
    font-size: 10px;
    text-align: center;
    color: #000;
    padding-left: 21px;
    cursor: pointer;
}

.price-modal__checkbox label::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    background: #f9eeee;
}

.price-modal__checkbox input[type="checkbox"]:checked+label::before {
    background: #1b9640;
}

._policy-modal {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: none;
    background: #fff;
    z-index: 999990;
    padding: 10px 20px 10px 10px;
    font-size: 13px;
    max-width: calc(100% - 20px);
    width: 500px;
    border: 1px solid #eee;
    border-radius: 12px;
}

._policy-modal__close {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    display: block;
    text-decoration: none;
    border: none !important;
    color: #000;
}

._policy-modal__close svg {
    width: 100%;
    height: 100%;
}

._policy-modal button {
    all: unset;
    background: #1b9640;
    padding: 6px 20px;
    color: #fff;
    cursor: pointer;
    margin-top: 8px;
    border-radius: 8px;
}

._policy-modal a {
    color: #1b9640;
}

._policy-modal a:hover {
    text-decoration: underline;
}

._r-footer__col-nav-item a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.production-block img {
    max-width: inherit;
}

.unique-products p {
    margin: inherit;
}

.unique-products .title {
    margin: 0;
}

.unique-products .unique-products__stages {
    margin: 0;
}

.production-block .title {
    text-transform: inherit;
    font-family: var(--font-family-primary);
}

.production-block-item:nth-child(5) .production-block-item__img {
    max-width: none;
}

.block__wrap {
    @media screen and (max-width: 600px) {
        padding-left: 0;
        padding-right: 0;
    }
}

.unique-products .title,
.profit .title,
.certificates .title {
    font-family: var(--font-family-primary);
    text-transform: inherit;
}

.certificates p {
    margin: 0;
}

.modal.fancybox__content .title {
    font-size: inherit;
}

.main__trand {
    max-width: 760px;

    @media screen and (max-width: 600px) {
        max-width: 100%;
    }
}

._r-about__gallery--mobile.swiper {
    display: none;

    @media screen and (max-width: 400px) {
        display: block;
    }
}

.order-production p {
    margin: 0;
}

#callback.modal {
    max-width: 880px;
}

p.order-production__title,
p.order-production__date {
    margin-bottom: 40px;
    font-size: 40px;
}

._r-main .order-production__btn {
    padding: 16px 34px;
    color: var(--white);
    font-family: var(--font-family-primary);
    font-size: 60px;
    font-weight: 700;
    border-radius: 16px;
    background: var(--green-dark);
}

.order-production-table__title,
.order-production-table__note,
._r-partners .order-production__btn {
    font-size: 17px;
}

@media screen and (max-width: 767px) {
    ._r-main .order-production__btn {
        font-size: 20px;
        padding: 5px 8px;
        border-radius: 6px;
    }

    p.order-production__title,
    p.order-production__date {
        font-size: 32px;
    }

    .order-production-table__title,
    .order-production-table__note,
    ._r-partners .order-production__btn {
        font-size: 12px;
    }
}

.certificates__content p.title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: var(--white);

    @media screen and (max-width: 1199px) {
        text-align: center;
        font-size: 56px;
    }

    @media screen and (max-width: 767px) {
        font-size: 32px;
    }
}

#callback,
#eks {
    scroll-margin-top: 80px;
}


/* Десктоп */
.header_contact_logo {
    width: 30px;
}

.order-production-table__body {
    font-size: 24px;
    gap: 20px;
}

/* Для мобильных устройств (смартфоны, до 480px) */
@media (max-width: 480px) {
    .order-production {
        height: auto;
    }

    .order-production-table__body {
        font-size: 15px;
        gap: 20px;
    }
}

/* Для планшетов и небольших экранов (481px — 768px) */
@media (max-width: 768px) {
    .order-production {
        height: auto;
    }

    .order-production-table__body {
        font-size: 20px;
        gap: 20px;
    }
}

/* Навигация на странице 404 */
._r-404-nav {
    margin-top: 60px;
    padding-bottom: 40px;
    text-align: center;
}

._r-404-nav-title {
    font-family: "Manrope", sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 116%;
    letter-spacing: -0.4px;
    color: #000410;
    margin-bottom: 30px;
}

._r-404-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

._r-404-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #e1e2e6;
    background: #fff;
    color: #000410;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    text-decoration: none;
    transition: all 0.3s ease;
}

._r-404-nav-item:hover,
._r-404-nav-item.active {
    border-color: #3aaf5d;
    color: #3aaf5d;
}

@media screen and (max-width: 767px) {
    ._r-404-nav {
        margin-top: 40px;
    }

    ._r-404-nav-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    ._r-404-nav-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }

    ._r-404-nav-item {
        min-height: 64px;
        padding: 16px;
        font-size: 14px;
        border-radius: 12px;
    }
}

@media screen and (max-width: 480px) {
    ._r-404-nav-grid {
        grid-template-columns: 1fr;
    }
}
