input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    outline: unset;
    border: unset;
    max-width: fit-content;
    width: 30px;
    text-align: center;
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}
.flex-col-rev{
    display: flex;
    flex-direction: column-reverse;

}

.gap-5 {
    gap: 5px;
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.gap-25 {
    gap: 25px;
}

.gap-30 {
    gap: 30px;
}

.gap-35 {
    gap: 35px;
}

.gap-40 {
    gap: 40px;
}

.gap-45 {
    gap: 45px;
}

.gap-50 {
    gap: 50px;
}

.gap-55 {
    gap: 55px;
}

.gap-60 {
    gap: 60px;
}

.ai-c {
    align-items: center;
}
.ai-s {
    align-items: start;
}
.ai-fe{
    align-items: flex-end;
}
.jc-fe {
    justify-content: flex-end;
}
.jc-fs{
    justify-content: flex-start;
}
.jc-sb {
    justify-content: space-between;
}
.mb-30{
    margin-bottom: 30px;
}
.pb-30{
    padding-bottom: 30px;
}

/* Стили для затемнения фона */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Стили для самого popup окна */
.popup {
    position: fixed;
    top: 50%;
    left: 300%;
    transform: translate(300%, -50%);
    background-color: white;
    padding: 100px 200px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    min-width: 300px;
    text-align: center;
    transition-duration: 1s;
}

.popup:has(#captcha-container) {
    padding: 30px;
}

.popup.open {
    transform: translate(calc(50vw - 50%), -50%);
    left: 0;


}

.popup.hide {
    opacity: 0;
    display: none;
    animation: opacity-hide .7s linear;
}

/* Кнопка закрытия */
.popup .close-btn {
    position: absolute;
    top: 50px;
    right: 50px;
    margin-top: 10px;
    padding: 5px 10px;
    /*background-color: #ff4d4d;*/
    /*color: white;*/
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: block;
    background-image: url("assets/images/close.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Кнопка открытия */
.open-popup-btn {
    margin: 20px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

header {
    padding: 20px 0;
}

header hr {
    margin: 20px 0;
}

.bg-secondary {
    background-color: var(--secondary-color-2);
}

.bg-secondary-1 {
    background-color: var(--secondary-color-1);
}

.bg-main-1 {
    background-color: var(--main-color-1);
    color: var(--white);
}

.link_large {
    font-size: 19px;
    line-height: 150%;
}

.link_medium {
    font-size: 16px;
    line-height: 150%;
}

.link_small {
    font-size: 14px;
    line-height: 150%;
}

.link_super-small {
    font-size: 12px;
    line-height: 150%;
}

.h1 {
    /*font-size: 54px;*/
    font-size: 44px;
    font-style: normal;
    font-weight: 350;
    line-height: 110%; /* 59.4px */
    text-align: center;
}

h1.h1 {
    margin-bottom: 50px;
}

.robotics__inner h1.h1 {
    margin-bottom: 0;
}

.h2 {
    font-family: var(--font-family);
    font-weight: 350;
    /*font-size: 44px;*/
    font-size: 38px;
    line-height: 110%;
    text-align: center;
    margin-bottom: 30px;
}

.h3 {
    text-align: center;
    font-size: 32px;
    font-weight: 350;
    line-height: 120%;

    /*margin-top: 40px;*/
}

.h4 {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 33.6px */
}

.h5 {
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 26.6px */
}

.link-small {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
}

.arrow-down {
    display: block;
    width: 16px;
    height: 20px;
    background-image: url("assets/images/arrow-down.svg");
    background-size: 100%;
    background-repeat: no-repeat;
}

.small {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 15.6px */
}

section {
    padding-top: 50px;
}

.block {
    display: flex;
    gap: 30px;
}

.block__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(446px, 1fr));
    gap: 20px;
}

.block__item {
    display: block;
    position: relative;
    background: var(--secondary-color-2);
    padding: 20px;
    text-decoration: none;
    overflow: hidden;
    -webkit-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
    width: 100%;
    border: 1px solid var(--secondary-color-3, #E5E5E5);

}
.bg-secondary .block__item{
    background: var(--white);

}
.block__grid .block__item {
    width: 100%;
}

.block__item:hover {
    background: var(--card-gradient, radial-gradient(50% 50% at 50% 50%, #F6F7FA 0%, #FFFCF9 100%))
}

.sc-c-1 {
    font-size: 18px;
    font-weight: 400;
    line-height: 140%;
}

.sc-c-1 .block__item:hover {
    background: var(--card-gradient, radial-gradient(50% 50% at 50% 50%, #F6F7FA 0%, #FFFCF9 100%))

}

.sc-c-2 .block__item:hover {
    background: var(--card-gradient, radial-gradient(50% 50% at 50% 50%, #F6F7FA 0%, #FFFCF9 100%))

}

.block__item:hover .block__image img {
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
    opacity: .8
}

.block__item:hover .block__title-text, .block__item:hover .block__text {
    /*color: var(--white)*/
}

.block__item:hover .block__arrow {
    border-left: 1px solid var(--secondary-color-3);
    border-bottom: 1px solid var(--secondary-color-3);
    background: var(--secondary-color-1)
}

.block__item:hover .block__arrow:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='22' height='27' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.876 18.954l-.69.69 1.38 1.378.689-.69-1.379-1.378zM18.41 6.774a.975.975 0 00-.975-.975H8.66a.975.975 0 000 1.95h7.8v7.8a.975.975 0 101.95 0V6.774zM5.255 20.333l12.87-12.87-1.38-1.378L3.876 18.954l1.379 1.379z' fill='%23fff'/%3E%3C/svg%3E")
}

.block__item .block__title-text {
    padding-right: 80px;
}

.block__info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: flex-start;
    margin-top: 15px;
    gap: 30px;
}

.block__title-text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;
    color: var(--secondary-color-1);
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
    text-align: left
}

.block__text {
    color: var(--black);
    -webkit-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
    text-align: left

}

.bg-secondary-1 .block__text {
    color: var(--white);
}

.block__arrow {
    background: transparent;
    border-left: 1px solid var(--secondary-color-3);
    border-bottom: 1px solid var(--secondary-color-3);
    width: 96px;
    height: 96px;
    -webkit-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
    position: absolute;
    top: 0;
    right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.block__arrow:after {
    content: "";
    display: block;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='22' height='27' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.876 18.954l-.69.69 1.38 1.378.689-.69-1.379-1.378zM18.41 6.774a.975.975 0 00-.975-.975H8.66a.975.975 0 000 1.95h7.8v7.8a.975.975 0 101.95 0V6.774zM5.255 20.333l12.87-12.87-1.38-1.378L3.876 18.954l1.379 1.379z' fill='%23201600'/%3E%3C/svg%3E");
    width: 22px;
    height: 27px;
    background-repeat: no-repeat;
    background-size: contain
}

.close {
    display: inline-block;
    background-image: url("assets/images/close.svg");
    width: 20px;
    height: 20px;
    background-size: cover;
    position: relative;
    top: 5px;
}

/*forms*/
.form__wrapper {
    display: flex;
    gap: 30px;
    padding: 50px;
}

.form__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 40%;
    text-align: left;
}

.form__info .h2 {
    text-align: left;
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 60%;
}

.form__wide {
    grid-column: 1 / span 2;
}

.form__file {
    grid-row: 1 / span 3;
    grid-column: 2;
    cursor: pointer;
}

.form__input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: flex-end;
    position: relative;
}

.form__input-wrapper:has(.error) {
    color: var(--secondary-color-1);
}

.form__input {
    padding: 12px 10px;
    border: 1px solid #fff;
    outline: unset;
    background-color: var(--main-color-1);
    color: var(--black);

}

.form__input.error {
    border: 1px solid var(--secondary-color-1);

}

.catalog-offers .form__input {
    color: var(--white);

}

.search-form {
    position: relative;
}

.form__wrapper.bg-main-1 {
    /*margin-bottom: 40px;*/
}

.search-form .form__input {
    background-color: transparent;
    border-color: var(--main-color-1);
    width: 466px;
    max-width: 100%;
    color: var(--black);
    height: 42px;
}

.btn--search {
    border: unset;
    position: absolute;
    right: 12px;
    top: 8px;
}

.icon.btn--search {
    position: absolute;
    background-color: transparent;
}

textarea.form__input {
    height: 98px;
    min-height: 98px;
    /* overflow: hidden;*/
}

input[type=checkbox] {
    accent-color: var(--secondary-color-1);
    width: 18px;
    height: 18px;
}

.form-upload__result {
    display: none;
    background-color: var(--white);
    color: var(--black);
    padding: 10px 12px;
}

.form-white .form__wrapper.bg-main-1 {
    background-color: var(--secondary-color-2);
    color: var(--black);
}

.form-white .form__input {
    background-color: var(--secondary-color-2);
    border-color: var(--secondary-color-4);
}

.form-white .upload-zone_dragover {
    border-color: var(--secondary-color-4);
    color: var(--black);
}

.form-white .upload-zone_dragover path {
    fill: var(--main-color-1);
}


/*Блок tabs*/
.tabs {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 7px 7px;
    gap: 5px;
    overflow: auto;
    background: var(--secondary-color-2);
}

.tabs:before {
    content: "";
    position: absolute;
    height: calc(100% - 14px);
    z-index: 1;
    top: 7px;
    transition-duration: 0.3s;
    left: var(--left);
    right: var(--right);
    background: var(--secondary-color-1);
}

.tabs__tab {
    transition-duration: 0.3s;
    position: relative;
    text-decoration: none;
    z-index: 2;
    padding: 11px 17px;
    color: var(--black);
    white-space: nowrap;
}

.tabs__tab:not(.active):hover {
    cursor: pointer;
    opacity: 0.5;
}

.tabs__tab.active {
    color: white;
}

.border {
    border: 1px solid var(--secondary-color-3);
    padding: 30px;
}

.error-message {
    display: none;
    color: var(--secondary-color-1);
    font-size: 12px;
    text-align: left;
    position: absolute;
    top: 100%;
}

.error-message:before {
    content: '';
    display: inline-block;
    background-image: url("assets/images/icons/error.svg");
    width: 17px;
    height: 17px;
}

.error-message:after {
    margin-left: 5px;
    content: 'Это поле обязательно для заполнения';
}

.form__policy .error-message:after {
    content: 'Чтобы отправить, согласитесь с условиями политики конфиденциальности';
}

section.error {
    padding: 60px 20px;
    margin-top: 100px;
    margin-bottom: 100px
}


.error-wrapper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 50px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    overflow: hidden
}

.error-wrapper .elem__item {
    position: relative;
    left: auto;
    bottom: auto;
    -webkit-transform: scale(1.8);
    -ms-transform: scale(1.8);
    transform: scale(1.8)
}

.error-wrapper span {
    position: relative;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 300px;
    line-height: 110%;
    text-align: center;
    color: #cbcbcb
}

.error-wrapper span:first-child {
    left: -28px
}

.error-wrapper span:last-child {
    left: 28px
}

.error-wrapper .elem__palet {
    bottom: 25px;
    left: 40px;
    -webkit-transform: translateY(200px);
    -ms-transform: translateY(200px);
    transform: translateY(200px)
}

.error-wrapper .elem__palet > * {
    opacity: 1
}

.error-wrapper .elem__palet .elem__palet_pic {
    width: 15px
}

.form-upload {
    display: grid;
    align-items: center;
    width: 80vw;
    min-width: 360px;
}

.upload-zone_dragover {
    display: grid;
    height: 100%;
    min-height: calc(100% - 25px);
    margin-top: 25px;
    border: 1px dashed var(--white);
    color: #FFFFFF;
    font-weight: 500;
    font-size: 18px;
    place-content: center;
    text-align: center;
}

.upload-zone_dragover svg {
    width: 10vw;
    margin: auto;
    pointer-events: none;
}

.form-upload__hint {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
}

.upload-zone_dragover._active {
    background-color: rgba(246, 247, 250, 0.20);
    border-color: var(--secondary-color-1);
    border-style: solid;
}

.form-upload__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-upload__title {
    margin-right: 55px;
    font-size: 18px;
    font-weight: 500;
}

.form-upload__input {
    font-family: inherit;
    font-size: 18px;
}

.form-upload__input::file-selector-button {
    margin-right: 30px;
    border: none;
    border-radius: 6px;
    padding: 9px 15px;
    font-family: inherit;
    font-weight: inherit;
    transition: background-color 0.2s linear;
    cursor: pointer;
}

.form-upload__input::file-selector-button:hover {
    background-color: transparent;
}

.form-upload__container {
    /*width: 360px;*/
    margin-top: 10px;
    font-size: 16px;
}

.upload-zone_dragover {
    background-color: transparent;
}

.upload-hint,
.upload-status {
    width: 75%;
}

.upload-hint {
    display: none;
}

.upload-hint_visible {
    display: block;
    pointer-events: none;
}

.upload-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.upload-loader_visible {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #593273;
}

.upload-loader__image {
    width: 150px;
    height: 150px;
}

footer.footer a {
    font-size: 16px;
}
footer.footer .footer__btn{
    font-size: 19px;
    text-align: center;
}

footer.footer p {
    font-size: 16px;
}

.gallery-row.bg-secondary.right_block_carausel {

    position: absolute;
    right: -110%;
    opacity: 0;
    width: 100%;

}

.gallery-row.bg-secondary.right_block_carausel.animate_right {
    transition: 0.6s;
    opacity: 1;
    right: 0%;
    z-index: 10;
}


.gallery-row.bg-secondary.left_block_carausel {
    position: absolute;
    left: -110%;
    opacity: 0;
    width: 100%;
}

.gallery-row.bg-secondary.left_block_carausel.animate_left {
    transition: 0.6s;
    opacity: 1;
    left: 0%;
    z-index: 10;
}

@media (max-width: 768px) {
    .lg-p{
        padding: 0;
    }

    a.header__burger.active .header__burger__bar:nth-child(1) {
        transform: rotateZ(45deg);
        position: relative;
        top: 5px;
        transition: 0.5s;
    }

    a.header__burger.active .header__burger__bar:nth-child(2) {
        transform: rotateZ(-45deg);
        position: relative;
        top: -5px;
        transition: 0.5s;
    }

    a.header__burger.active .header__burger__bar:nth-child(3) {
        transform: rotateZ(-45deg);
        position: relative;
        top: -15px;
        transition: 0.5s;
    }


    .popup {
        max-width: 100%;
        border-radius: 0;
    }

    .popup .close-btn {
        top: 10px;
        right: 10px;
    }


    .gallery-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        /*margin-top: 50px*/
    }

    .upload-zone {
        padding: 55px 30px;
    }

    .form-upload__title {
        display: block;
        margin-right: 0;
    }

    .form-upload__input::file-selector-button {
        min-width: initial;
        margin-right: 10px;
    }
}


input[type=checkbox] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    outline: none;
    content: none;
}

input[type=checkbox]:before {
    font-family: "FontAwesome";
    content: url('data:image/svg+xml, %3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="10" viewBox="0 0 8 10" fill="none"> <path d="M4.02386 7.30857L1.45072 4.82114L0.571289 5.66229L4.02386 9L11.4284 1.84114L10.5581 1L4.02386 7.30857Z" fill="white" stroke="white" stroke-width="0.5"/> </svg%3E');
    font-size: 15px;
    color: transparent !important;
    background: var(--white);
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid var(--secondary-color-1);
    margin-right: 7px;
}

input[type=checkbox]:checked {

}

input[type=checkbox]:checked:before {
    background: var(--secondary-color-1);

    color: var(--white) !important;
}


.custom-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    gap: 10px;
    transform: translateY(300%);
}

.bar {
    width: 10px;
    height: 100%;
    background-color: var(--secondary-color-1);
    animation: bounce 1s infinite ease-in-out;
}

.bar:nth-child(1) {
    animation-delay: -0.32s;
}

.bar:nth-child(2) {
    animation-delay: -0.16s;
}

.bar:nth-child(3) {
    animation-delay: 0s;
}

.header__burger {
    display: none;
    width: 40px;
    flex-direction: column;
    gap: 8px;
}

.header__burger__bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--main-color-1);
    transition: 0.5s;
}

.robotics-advantages__image {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 300px;
    max-width: 684px
}

.robotics-advantages__image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    max-height: 100%;
}

.robotics-applications h2 {
    font-family: var(--font-family);
    font-weight: 350;
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    color: var(--black)
}

.robotics-applications .about__principles {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 1fr;
}

.robotics-applications .principle {
    width: 100%;
    max-width: inherit;
    /*height: fit-content;*/
}


.btn--up {
    border-radius: 100%;
    width: 60px;
    height: 60px;
    border: 1px solid var(--secondary-color-3, #E5E5E5);
    background-color: rgba(229, 229, 229, 0.50);
    background-image: url("assets/images/arrow-up.svg");
    background-size: calc(100% - 20px);
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 5%;
    right: 2%;
    z-index: 999999;
    transition-duration: .3s;
    cursor: pointer;
}

.btn--up:hover {
    background-color: rgba(229, 229, 229, 1);
}

.bg-secondary .header__container .header__logo {
    width: 20%;
}

.header_search_and_btn {
    width: 62%;
    justify-content: space-between;
}

.contactr_header {

}

.contactr_header a {
    display: block;
    color: #14213D;
    font-size: 16px;
    font-weight: 400;
}

.contactr_header_mobile a {
    display: block;
    color: #14213D;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}

.catalog__detail {
    position: relative;
}

.block_next_prev {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 330px;
    width: 100%;
}

.block_next_prev a {
    display: inline-block;
}

.block_next_prev a:first-child {
    position: absolute;
    left: -35px;
}

.block_next_prev a:last-child {
    position: absolute;
    right: -35px;
}

.catalog {
    position: relative;
}

section.catalog {
    margin-left: 30px;
    margin-right: 30px;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scaleY(1);
    }
    40% {
        transform: scaleY(0.4);
    }
}

@keyframes opacity-hide {
    0% {
        opacity: 1;
        display: grid;
    }
    90% {

        opacity: 0;
    }
    100% {
        opacity: 0;
        display: none;

    }
}

@keyframes opacity-show {
    0% {
        opacity: 0;

    }
    100% {
        opacity: 1;

    }
}

@keyframes slide-down {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes slide-up-hide {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-150px);
    }
}

@keyframes slide-up {
    0% {
        transform: translateY(250px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes slide-down-height {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

@media (max-width: 1530px) {
    .header_search_and_btn {
        width: 75%;
    }
}

@media (max-width: 1340px) {
    .search-form .form__input {
        width: 400px;
    }
}

@media (max-width: 1200px) {
    .search-form .form__input {
        width: 230px;
    }

    .form {
        width: 100%;
    }

    .form__info .h2 {
        text-align: center;
    }

    .form__wrapper {
        flex-direction: column;
        padding: 20px 10px;
    }

    .catalog .form__wrapper {
        flex-direction: row;

    }

    .catalog .form__wrapper:has(.upload-zone_dragover) {
        flex-direction: column;
    }

    .catalog .form {
        grid-template-columns: 1fr;
    }

    .form__info, form {
        width: 100%;
    }

    .form__info {
        align-items: center;
        text-align: center;
    }

    .catalog .form__info .h2, .catalog .form__info {
        text-align: left;
    }

    section {
        padding-top: 50px;
    }

    .h1 {
        font-size: 44px;
    }

    .h2 {
        font-size: 36px;
    }

    .h3 {
        font-size: 30px;
    }

    .h4 {
        font-size: 20px;
    }

    .h5 {
        font-size: 17px;
    }

    .small {
        font-size: 12px;
    }

}

@media (max-width: 992px) {

    .robotics-advantages__inner {
        flex-direction: column;
    }

  

    .robotics-advantages__image {
        max-width: 100%;
        width: 100%;
    }

    .robotics-advantages__image img {
        max-height: 606px;
    }
    .robotics-applications .about__principles {
        grid-template-columns: 1fr 1fr;
    }

    /*.header__btn {
        width: 242px;
    }*/

}

@media (max-width: 929px) {
    .search-form {
        /*left: 20px!important;*/
    }

    .search-form .form__input::placeholder {
        font-size: 14px;
    }

    .search-form .form__input {
        width: 200px;
        font-size: 14px;
    }

    .header__container .flex.gap-60 {
        gap: 0px;
    }
}

@media (max-width: 883px) {
    .header__btn {
        text-wrap: nowrap;
    }
}

@media (max-width: 829px) {
    .search-form .form__input {
        /*width: 170px;*/
    }

    .header_search_and_btn {
        width: 75%;
    }
}

@media (max-width: 875px) {
    a.header__menu-link {
        font-size: 14px;
    }
}

@media (max-width: 875px) {
    ul.header__menu {
        gap: 20px;
    }

    a.header__cart {
        font-size: 14px;
    }

    .header_search_and_btn {
        width: 79%;
    }

}

@media (max-width: 812px) {
    .search-form .form__input {
        width: 165px;
    }

    .btn--search {
        right: 3px;
    }

    .search-form .form__input {
        font-size: 12px;
    }

    .search-form .form__input::placeholder {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .robotics-applications .about__principles {
        grid-template-columns: 1fr;
    }
    h1.product__title {
        text-align: center;
        min-height: 66px;
    }

    section.catalog {
        margin-left: 0;
        margin-right: 0;
    }

    .block_next_prev a:first-child {
        left: 5px;
        position: absolute;
    }

    .block_next_prev a:last-child {
        right: 5px;
        position: absolute;
        text-align: right;
    }

    .block_next_prev a img {
        width: 70%;
    }

    .block_next_prev {
        top: 480px;
    }

    .contactr_header {
        display: none;
    }

    .header_search_and_btn {
        width: 20%;
    }

    .bg-secondary .header__container .header__logo {
        width: auto;
    }

    .header_search_and_btn {
        justify-content: end;
    }

    .upload-zone_dragover {
        margin-top: 0;
        padding: 20px;
    }

    .search-form .form__input {
        width: 100%;
    }

    .stocks .block__grid {
        gap: 20px;
    }

    section {
        padding-top: 30px;
    }

    .production-visualization__wrapper {
        padding-top: 10px;
        flex-direction: column;
        gap: 10px;
    }

    .block__arrow {
        width: 60px;
        height: 60px;
    }

    .block__info {
        gap: 10px;
    }

    .block__item {
        padding: 20px 10px;
    }

    .news__item.block__item img {
        max-height: 185px;
        display: block;
        margin: auto;
    }

    .news__item.block__item {
        padding: 20px 50px;
    }

    .block__item .block__title-text {
        padding-right: 40px;
    }

    .h1 {
        font-size: 33px;
        margin-bottom: 20px;
    }

    .h2 {
        font-size: 30px;
    }

    .h3 {
        font-size: 28px;
        text-align: left;
    }

    .h4 {
        font-size: 19px;
    }

    .h5 {
        font-size: 16px;
    }

    body {
        font-size: 14px;
    }

    .small {
        font-size: 12px;
    }

    .header__container .search-form, .header__container .header__btn, .header__container .header__cart {
        display: none;
    }

    .header__container .header__burger {
        display: flex;
    }
}

@media (max-width: 700px) {
    .form {
        grid-template-columns: 1fr;
    }

    .form__wide, .form__file {
        grid-column: auto;
        grid-row: auto;
    }

    .catalog .form__wrapper {
        flex-direction: column;
    }

    .catalog .form__info .h2, .catalog .form__info {
        text-align: center;
    }

    .error-wrapper {
        max-width: 100%;
    }

    .error-wrapper span {
        font-size: 200px;
    }

    section.error {
        padding: 0;
    }

    .error-wrapper .elem__item {
        min-width: 50px;
    }

    .error-wrapper .elem__palet {
        scale: .8 !important;
        left: 20px;
    }
}

@media (max-width: 600px) {
    .docs .block {
        flex-direction: column;
    }

    .robotics-applications .principle {
        width: 100%;
        max-width: 100%;
    }

    .block__grid{
        grid-template-columns: 1fr;
    }
    .news__item.block__item{
        padding: 20px;
    }
}
@media (max-width: 475px) {
    .block_next_prev a:first-child{
        left: -5px;
    }
    .block_next_prev a:last-child{
        right: -5px;
    }
}