

/* Start:/local/templates/logistic/components/bitrix/menu/main_menu/style.css?17748641982188*/
/* Стили основного меню .top.menu.php */

.header__bottom-menu {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    text-transform: uppercase;
    background: #FFFFFF;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
}

.header__bottom-menu--list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
}

.header__menu-item {
    position: relative;
}

.header__menu-item--active {
    color: #0033A3;
    cursor: default;
}

.header__menu-item--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #FF8C00;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 98;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 980px) {
    .header__bottom-menu--list {
        position: absolute;
        top: 60px;
        right: 0;
        width: 360px;
        height: 480px;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 20px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        padding: 30px;
        box-shadow: 0 4px 4px 0 #00000040;
        z-index: 999;
    }

    /* Когда меню открыто */
    .header__bottom-menu--list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header__bottom-menu--list .header__menu-item {
        width: 100%;
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .header__bottom-menu--list {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        gap: 40px;
        padding-top: 80px;
    }
}
/* End */


/* Start:/local/templates/logistic/template_styles.css?177486419858524*/

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial sans-serif;
}

.global__container {
    display: flex;
    top: 0;
    left: 0;
    flex-direction: column;
    margin-top:98px;
    width: 100%;
    height: 100vh;
}

.wrapper {
    max-width: 1440px;
    min-width: 360px;
    margin: 0 auto;
}

Header {
    position: fixed;
    display: flex;
    width: 100%;
    top: 0;
    flex-shrink: 0;
    z-index: 3;
}

Main {
    flex: 1;
}

Footer {
    flex-shrink: 0;
}

/* Убирает стрелки в WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Убирает стрелки в Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}


select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 10px 30px 10px 10px; /* right padding для места под стрелку */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center; /* позиция стрелки с отступом */
    background-size: 16px;
}

/* Фон на всю ширину */
.header__top-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 38px;
    background: #0033A3;
    z-index: 2;
}

.header__bottom-bg {
    position: absolute;
    background-color: #FFFFFF;
    top: 38px;
    left: 0;
    right: 0;
    height: 59px;
    z-index: 2;
    box-shadow: 0 4px 4px -2px #00000040;
}

/* Фон на всю ширину */
.footer__bg {
    background-color: #E9E9E9;
    box-sizing: border-box;
}

.header__main {
    height: 98px;
}

.header__top {
    position: relative;
    font-size: 14px;
    line-height: 18px;
    color: white;
    background: #0033A3;
    height: 38px;
}

.header__top-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
    height: 100%;
    padding: 0 50px;
    max-width: 1440px;
    margin: 0 auto;
}

.header__auth-ico{
    display: none;
}

.header__auth {
    display: block;
}

.header__city,
.header__support,
.header__phone,
.header__auth {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header__city-icon,
.header__support-icon,
.header__phone-icon {
}

.header__city-name,
.header__support-name,
.header__phone-number {
    white-space: nowrap;
}

.header__bottom {
    height: 60px;
}

.header__bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.header__logo {
    margin: 10px 0;
    width: 150px;
    height: 40px;
}

.header__menu-burger {
    display: none;
}

.menu__burger-button {
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}

/* FOOTER */
.footer__main {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 1440px;
    min-height: 563px;
    background-color: #E9E9E9;
}

.footer__top {
    height: 140px;
    width: 100%;
    padding: 50px 0;
}

.footer__top-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 0 100px;
    gap: 16.5px;
    height: 40px;
}

.footer__company {
    color: #797979;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.footer__bottom {
    width: 100%;
    min-height: 423px;
}

.footer__bottom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 100px 50px 100px;
    min-height: 373px;
    border-style: solid;
    border-color: #DBD6D6;
    border-width: 1px 0;
}

.footer__bottom-content--left {
    color: #000000;
    display: flex;
    /*align-items: center;*/
    justify-content: space-between;
    /*gap: clamp(20px, 8vw, 104.5px);*/
    /*max-width: 604px;*/
    gap: 20px;
    width: 100%;
    /*height: 273px;*/
}

.footer__bottom-inform {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 2%;
    /*justify-content: center;*/

    /*height: 150px;*/
    /*width: 147px;*/
}

.footer__bottom-info--title,
.footer__bottom-feedback--title {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.footer__bottom-inform--item,
.footer__bottom-feedback--item {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap:10px;
}

.footer__bottom-feedback {
    flex: 1;
    padding-top: 2%;
    /*height: 150px;*/
    /*width: 248px;*/
}

/*.footer__bottom-image--map  {*/
/*    max-width: 636px;*/
/*    !*margin: 0 auto;*!*/
/*}*/

/*.footer__bottom-image--map_pad {*/
/*    display: none;*/
/*    margin: 0 auto;*/
/*    max-width: 367px;*/
/*}*/

.footer__bottom-image--map img,
.footer__bottom-image--map_pad img {
    width: 100%;
    height: auto;
    display: block;
}

.footer__bottom-map {
    flex: 2;
    display: flex;
    position: relative;
    /*max-width: 636px;*/
    width: 100%;
    /*height: 100%;*/
    /*height: 0;*/
    /*padding-bottom: 23.69%;*/
}

.footer__bottom-map--container-img {
    width: 100%;
    height: 100%;
}

.footer__bottom-map--container-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* или contain, в зависимости от нужного поведения */
    display: block;
}

/*.footer__bottom-map > div:first-child {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/

.footer__bottom-map--info {
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 25%;
    left: 38%;
    max-width: 322px;
    width: 58%;
    /*height: 127px;*/
    background-color: #FFFFFFC4;
    color: #2F2F2F;
}

.footer__map-info--title {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
}

.mobile__map-info--title {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.footer__map-info--body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile__map-info--body {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
}

.map__info-body--wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.map__info-body--text {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.footer__map-info--mail,
.footer__map-info--schedule {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.footer__map-info--name {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.footer__map-info--left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.footer__map-info--right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
}

.footer__map-info--subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.footer__map-info--value {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.footer-correction {
    padding-bottom: 120px;
}

/* Кнопка скролл наверх */
.scroll-to-top {
    position: fixed;
    bottom: 114px;
    right: 30px;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top.show:hover {
    opacity: 0.7;
}

/*  Контент  */
.container__content {
    width: 100%;
    margin: 50px 0;
    padding: 0 100px;
    position: relative;
}

.container__map {
    max-width: 1246px;
    width: 100%;
    height: 545px;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 #00000033;
    margin-top: 50px;
    overflow: hidden;
}

.map__office,
.map__warehouse,
.map__geography,
.map__geozones {
    width: 1246px;
    height: 545px;
    position: relative;
}

.map__office > div:first-child,
.map__warehouse > div:first-child,
.map__geography > div:first-child,
.map__geozones > div:first-child {
    width: 100%;
    height: 100%;
}

.map__info-office {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 51px;
    left: 50px;
    width: 429px;
    height: 160px;
    background-color: #FFFFFFC4;
    color: #2F2F2F;
}

.map__info-office--mobile {
    display: none;
    margin: 20px 20px 0 20px;
    padding: 20px;
    color: #2F2F2F;
}

.map__info-warehouse {
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 48px;
    left: 771px;
    width: 421px;
    height: 214px;
    background-color: #FFFFFFC4;
    color: #2F2F2F;
}

.map__info-geography {
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 50px;
    left: 50px;
    width: 323px;
    height: 298px;
    background-color: #FFFFFFC4;
    color: #2F2F2F;
}

.map__info-geozones {
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 50px;
    left: 870px;
    width: 323px;
    height: 72px;
    background-color: #FFFFFFC4;
    color: #2F2F2F;
}

.form-container {
    max-width: 1240px;
    width: 100%;
    min-height: 275px;
    padding: 50px;
    box-shadow: 0 4px 15px 0 #8A8A8A33;

    border: solid 1px #C8C8C8;
    border-radius: 10px;
    margin-top: 50px;
}

.form-title {
    color: #000000;
    font-weight: 700;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0;
}

.form-text {
    color: #7E7E7E;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    margin-top: 17px;
}

.form {
    display: flex;
    align-items: flex-start;
    margin-top: 50px;
}

.form__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 63px;
}

.form__input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 2;
    min-width: 200px;
}

.form--textarea {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 3;
    min-width: 300px;
}

.form__label {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.form__field {
    width: 100%;
    height: 40px;
    opacity: 1;
    border: 1px solid #CED9F9;
    border-radius: 4px;
    background-color: #E4ECF9;
    padding: 0 4px;
    font-size: 20px;
}


.form__field-message {
    width: 100%;
    min-height: 40px;
    max-height: 240px;
    opacity: 1;
    border: 1px solid #CED9F9;
    border-radius: 4px;
    background-color: #E4ECF9;
    padding: 10px 4px;
    font-size: 20px;
    resize: vertical;
}

.form__field-message textarea {
    max-height: 240px;
}


.form__field:focus,
.form__field-message:focus {
    outline: none;
    border-color: #82a2fd;
    box-shadow: 0 0 0 2px rgba(0, 51, 163, 0.2);
}

.form__button {
    margin-top: 24px;
    font-size: 14px;
    font-weight: 400;
    width: 120px;
    height: 40px;
    border-radius: 4px;
    background: #FF8C00;
    border: solid 1px #FF8C00;
    color: #FFFFFF;
    flex: 1;
    transition: all 0.3s ease;
}

.form__button:hover {
    background-color: #FFE8CC;
    color: #FF8C00;
}

.requisites {
    max-width: 1246px;
    width: 100%;
    padding-top: 50px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.requisites__title,
.table__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.requisites__table {
    margin-top: 24px;
    font-size: 14px;
    border: 1px solid #5B5B5B80;
    border-radius:  4px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.requisites__cell {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #ddd;
    color: #555;
    width: 30%;
}

.warehouse_info {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 20px;
    max-width: 1240px;
    height: auto;
    padding: 20px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 20px 0 #00000033;
}

.warehouse_info__bottom {
    margin-top: 20px;
}

.warehouse_info__bottom-text {
    color: #2F2F2F;
    font-weight: 400;
    font-size: 14px;
    line-height: 40px;
    letter-spacing: 0;
    text-align: justify;
    vertical-align: middle;
}

.table {
    max-width: 1246px;
    width: 100%;
    display: flex;
    align-items: start;
    flex-direction: column;
}

.table__table {
    width: 100%;
    margin-top: 10px;
    font-size: 13px;
    border: 1px solid #5B5B5B;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    table-layout: fixed;
}

.table__cell {
    margin-top: 24px;
    border: 1px solid #5B5B5B;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    padding: 10px 12px;
    text-align: left;
    color: #2F2F2F;
    font-weight: 400;
    font-size: 13px;
    line-height: 130%;
    letter-spacing: 0;
    vertical-align: middle;
}

.table__cell--desc  { width: 42%; }
.table__cell--unit  { width: 29%; }
.table__cell--price { width: 29%; }

.table__cell--desc,
.table__cell--unit,
.table__cell--price {
    color: #2F2F2F;
    font-weight: 500;
    font-size: 13px;
    line-height: 130%;
    letter-spacing: 0;
    vertical-align: middle;
}

.footer__logo {
    width: 150px;
    height: auto;
}

/* Фон на всю ширину */
.main-banner__bg {
    position: relative;
    background-image: url('/local/templates/logistic/images/mparts_logistic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.main-banner__bg-warehouse {
    position: relative;
    background-image: url('/local/templates/logistic/images/mparts_warehouse.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.main-banner {
    position: relative;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    width: 100%;
    /*height: 824px;*/
    height: 618px;
    display: flex;
    justify-content: space-between;
}

.main-banner__logo {
    display: none;
    padding-top: 50px;
    padding-left: 50px;
    flex: 0 1 calc(33.333% - 35px);
    min-width: 100px;
}

.warehouse__logo {
    flex: 0 1 calc(33.333% - 38px);
    display: flex;
    padding-right: 50px;
    justify-content: flex-end;
}

.main-banner__logo svg {
    width: 300px;
    height: 80px;
}

.main-banner__right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: end;
    align-items: center;
    min-width :200px;
    display: flex;
}

.blue-banner__right {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(
            127deg,
            rgba(0, 0, 0, 0.0) 47%,
            #000089D7 0%
    );
    height: 100%;
}

.main-banner__left {
    flex: 0 1 calc(66.666% + 38px);
    width: 100%;
    z-index: 2;
    justify-content: start;
    align-items: center;
    min-width :200px;
    display: flex;
}

.main-banner__left-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    width: 360px;
    height: 96px;
}

.blue-banner__left {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(
            48deg,
            #000089D7 52%,
            rgba(0, 0, 0, 0.0) 0%
    );
    height: 100%;
}

.main-banner__right-content {
    margin: 0 20px 0 0;
    z-index: 2;
}

.main-banner__left-content {
    margin: 0 50px;
}

.main-banner__right-title h1 {
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 2px;
    padding-left: 65px;
    margin:0 0 60px 0;
    color: #FF8C00;
}

.main-banner__left-title h1 {
    margin:0 0 40px 0;
    font-weight: 400;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 2px;
    text-align: center;
    color: #FF8C00;
}

.main-banner__ul {
    color: #FFFFFF;
    font-weight: 300;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: 2px;
}

.main-banner__ul li {
    display: flex;
    margin-top: 30px;
    text-align: center;
    justify-content: flex-start;
}

.main-banner__ul-li--ico {
    display: flex;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 30px;
}

.order {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.order-top {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.order-body {
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}

.order-left {
    flex: 2;
}

.order-right {
    flex: 1;
    padding-top: 103.6px;
}

.order-title {
    color: #2F2F2F;
    font-weight: 500;
    font-size: 28px;
    line-height: 48px;
    letter-spacing: 0;
}

.order-info {
    margin-top: 10px;
    color: #676E78;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.16px;
}

.order-subtitle {
    color: #2F2F2F;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0;
    margin: 50px 0 20px 0;
}

.order-subtitle span {
    color: #0033A3;
}

.order-blue-box {
    background-color: #A3C0FF4D;
    box-shadow: 0 0 10px 1px #00000008;
    border-radius: 10px;
    padding: 20px;
}

.order-summary__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.order-summary__title {
    color: #2F2F2F;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
}

.order-summary__description {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
    margin-top: 20px;
}

.order-summary__description-item {
    display: flex;
    justify-content: flex-start;
    text-align: center;
    gap: 10px;
}

.order-summary__description-item-title,
.order-summary__description-item-value {
    display: inline-block;
    vertical-align: bottom;
}

.order-summary__description-item-title {
    color: #5B5B5B;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.order-summary__description-item-value {
    color: #5B5B5B;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
}

.order-summary__summa {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    gap: 20px;
}

.order-summary__summa-title {
    color: #2F2F2F;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    display: flex;
    justify-content: flex-start;
}

.order-summary__summa-value {
    color: #2F2F2F;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;

}

.order-summary__attention {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}

.order-summary__attention-value {
    color: #000000;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
}

.order-summary__button-wrapper {
    width: 100%;
}

.order-summary__button {
    margin-top: 20px;
    transition: all 0.3s ease;
}

.order-summary__button button {
    width: 100%;
    box-shadow: 0 0 10px 1px #00000008;
    border: 1px solid #0033A3;
    border-radius: 4px;
    background-color: #0033A3;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    padding: 12px 50px;
    transition: all 0.3s ease;
}

.order-summary__wrapper.center {
    align-items: center;
}

.calculate__button {
    width: 629px;
    height: 80px;
}

.calculate__button button {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px 1px #00000008;
    border: 1px solid #000089;
    border-radius: 10px;
    cursor: pointer;
    background-color: #000089;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
    text-wrap: nowrap;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    padding: 12px 50px;
    transition: all 0.3s ease;
}

.calculate_double {
    display: flex;
    justify-content: center;
    padding: 20px 40px;
}

.order-summary__button button:hover {
    background-color: #ACACE9;
    color: #000089;
}

.calculate__button button:hover {
    background-color: #ACACE9;
    color: #000089;
}

/* Базовые стили таблицы 2 */
.form2-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    background-color: #A3C0FF4D;
    border-radius: 8px;
}

.form2-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form2-group label {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.16px;
    vertical-align: middle;
    color: #676E78;
}

.form2-group input,
.form2-group select,
.form2-group textarea {
    padding: 12px 16px;
    border: 1px solid #B0BAC1;
    border-radius: 4px;
    background-color: white;
    font-weight: 400;
    color: #2F2F2F;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.16px;
    vertical-align: middle;
    min-height: 50.5px;
}


.form2-group textarea {
    resize: vertical;
    min-height: 45px;
}


input::placeholder {
    color: rgba(91, 91, 91, 0.75);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.16px;
    vertical-align: middle;
    opacity: 1;
}

.form2-group__small-input {
    width: 100%;
    max-width: 120px;
    box-sizing: border-box;
}

.form2-group__ico {
    margin-top: 5px;
    flex-shrink: 0;
    width: 35px;
    align-self: flex-end;
}

.form2-group__ico--label {
    display: none;
}

.form2-copy {
    margin-top: 20px;
}

/* Адаптивность */
.address-row {
    display: flex;
    gap: 16px;
}

.four-row {
    display: flex;
    justify-content: space-between;
}

.address-row {
    flex-direction: row;
}

.four-row {
    flex-direction: row;
}

.form2-group {
    flex: 1;
}

.form2-group__ico-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.icon-label {
    display: none;
}

.cargo-icon {
    flex-shrink: 0;
    width: 30px;
    height: 45px;
    display: block;
}

.icon-label {
    color: #0033A3;
    font-size: 14px;
    white-space: nowrap;
    font-family: inherit;
}


/* Опционально: ховер-эффекты */
.add-row-btn,
.remove-row-btn {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.add-row-btn:hover,
.remove-row-btn:hover {
    opacity: 1;
}

.summary__sticky {
    position: sticky;
    top: 108px;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: rgba(58, 92, 168, 0.85);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 20px 20px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s ease;

    /* Треугольник указатель */
    &::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: rgba(58, 92, 168, 0.85) transparent transparent transparent;
    }
}

.tooltip:hover .tooltip-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    visibility: visible;
    opacity: 1;
}

/* Выбор города отправки */
.city-selector {
    position: relative;
    display: inline-block;
    min-width: 150px;
}

.city-display {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: white;
}

.city-display:hover {
    border-color: #999;
}

.city-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow: hidden;
    z-index: 1000;
    display: none;
}

.city-dropdown.show {
    display: block;
}

.city-search {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #eee;
    outline: none;
    box-sizing: border-box;
    color: #2F2F2F;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
}

.city-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
    color: #2F2F2F;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
}

.city-list li {
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.city-list li:hover {
    background-color: #A3C0FF4D;
}

.city-list li.selected {
    background-color: #e6f3ff;
}

.order-right-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    align-items: center;
    /*display: none;*/
}

.calculate-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    /*display: none;*/
}

.order-right-bottom.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.calculate-bottom.hidden {
    opacity: 0;
    pointer-events: none;
}

.cargo_number {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.16px;
    vertical-align: middle;
    color: #2F2F2F;
}


.column {
    position: relative;
}

.absolute {
    position: absolute;
    top: 100%;
    left: 0;
}


/* Красная обводка для ошибочных полей */
.input-error {
    border: 1px solid #dc3545 !important;
    background-color: #fff8f8;
    outline: none;
}

/* Сообщение об ошибке под полем */
.error-message {
    display: block;
    color: #0033A3;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 400;
    animation: fadeIn 0.2s ease;
}

/* Плавное появление ошибки */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Убираем стандартные стрелки у number input для чистоты (опционально) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}


/*   Корректировочный   */
@media (max-width: 1230px) {

    .main-banner__left-logo {
        width: 270px;
        height: 72px;
    }

    .main-banner__left-title h1,
    .main-banner__right-title h1 {
        letter-spacing: 1px;
        font-size: 36px;
    }

    .main-banner__ul-li--ico {
        width: 26px;
        height: 26px;
    }

    .main-banner__ul {
        font-size: 24px;
        letter-spacing: 1px;
    }

}

@media (max-width: 980px) {

    .wrapper {
        max-width: 979px;
    }

    .container__content {
        width: 100%;
        margin: 50px 0;
        padding: 0 50px;
    }

    .scroll-to-top {
        display: none;
    }

    .header__top-content {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 50px;
        padding: 0 50px;
    }

    .header__menu-burger {
        display: flex;

        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .header__bottom-content {
        padding: 0 50px;
    }

    .main-banner {
        height: 420px;
    }

    .main-banner__right {
        flex: 0 1 calc(66.666% + 35px);
        min-width :200px;
    }

    .main-banner__right-content {
        margin: 0 20px 0 0;
    }

    .main-banner__left-content {
        margin: 0 30px;
    }

    .main-banner__right-title h1 {
        font-size: 32px;
    }

    .main-banner__left-title h1 {
        font-size: 32px;
    }

    .main-banner__ul {
        padding: 0;
        margin: 0;
        font-weight: 300;
        font-size: 22px;
    }

    .main-banner__ul-li--ico {
        width: 22px;
        height: 22px;
        margin-right: 20px;
    }

    .calculate__button {
        height: 56px;
    }

    .calculate__button button {
        font-size: 16px;
    }

    .container__map {
        max-width: 880px;
        width: 100%;
        height: 385px;
        border-radius: 10px;
        box-shadow: 0 0 20px 0 #00000033;
        margin-top: 50px;
        overflow: hidden;
    }

    .map__office,
    .map__warehouse,
    .map__geography,
    .map__geozones {
        max-width: 880px;
        height: 385px;
        position: relative;
    }

    .map__info-office {
        top: 50px;
        left: 50px;
        width: 429px;
        height: 160px;
        background-color: #FFFFFFC4;
        color: #2F2F2F;
    }

    .map__info-warehouse {
        top: 50px;
        left: 409px;
        width: 421px;
        height: 214px;
    }

    .map__info-geozones {
        top: 50px;
        left: 500px;
    }

    .form__wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 20px;
        flex-grow: inherit;
    }

    .form__input {
        width: 100%;
    }

    .form__button {
        width: 100%;
    }

    .form {
        display: block;
        margin-top: 20px;
        width: 100%;
    }

    .form2-container {
        padding: 20px;
    }

    .footer__bottom-content--left {
        align-items: unset;
    }

    .footer__bottom-map--info {
        left: 11%;
        width: unset;
    }

    .footer__map-info--title {
        font-weight: 500;
    }
    .footer__map-info--subtitle {
        font-weight: 400;
    }

    .footer__bottom-image--map {
        display: none;
    }
    .footer__bottom-image--map_pad {
        display: block;
    }

    .footer-correction {
        padding-bottom: 100px;
    }

}

/*   Корректировочный   */
@media (max-width: 850px) {

    .main-banner__left-logo {
        width: 240px;
        height: 64px;
    }

    .main-banner__left-title h1,
    .main-banner__right-title h1 {
        letter-spacing: 0;
        font-size: 30px;
    }

    .main-banner__ul-li--ico {
        width: 20px;
        height: 20px;
    }

    .main-banner__ul {
        font-size: 18px;
        letter-spacing: 0;
    }

}

/*   Корректировочный   */
@media (max-width: 800px) {

    .main-banner__left-logo {
        width: 180px;
        height: 48px;
    }

    .main-banner__left-title h1,
    .main-banner__right-title h1 {
        letter-spacing: 0;
        font-size: 26px;
    }

    .main-banner__ul-li--ico {
        width: 18px;
        height: 18px;
    }

    .main-banner__ul {
        font-size: 16px;
        letter-spacing: 0;
    }

}


@media (max-width: 640px) {
    .header__top {
        height: auto;
        padding: 8px 0;
    }

    .header__top-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
    }
    .header__support {
        display: none;
    }

    .header__auth-ico{
        display: flex;
    }

    .header__auth {
        display: none;
    }

    .header__auth a {
        font-size: 13px;
    }

    .container__content {
        width: 100%;
        margin: 20px 0;
        padding: 0 10px;
    }

    .header__logo {
        margin: 10px 0;
        width: 120px;
        height: 32px;
    }

    .header__bottom-content {
        padding: 0 10px;
    }

    .main-banner {
        height: 154px;
        justify-content: normal;
    }

    .main-banner__logo {
        display: inherit;
        background-size: cover;
        padding-top: 12px;
        padding-left: 10.5px;
        z-index: 2;
    }

    .main-banner__left-logo {
        display: none;
    }

    .main-banner__left-title h1 {
        margin-bottom: 20px;
    }

    .warehouse__logo {
        flex: none;
        padding-right: 0;
    }

    .main-banner__logo svg {
        width: 75px;
        height: 20px;
    }

    .blue-banner__right,
    .blue-banner__left {
        display: inherit;
        background: linear-gradient(
                135deg,
                rgba(0, 0, 0, 0.0) 0%,
                #000089D7 0%
        );
    }

    .form2-group__ico--label {
        display: block;
    }

    .form2-group__ico {
        margin-top: 5px;
        flex-shrink: 0;
        width: 35px;
        align-self: center;
    }

    .main-banner__left-content {
        margin: 20px;
    }

    .main-banner__right-title h1 {
        font-size: 16px;
        margin: 0;
        padding-left: 27px;
    }

    .main-banner__left-title h1 {
        font-size: 16px;
    }

    .main-banner__ul {
        font-size: 14px;
    }

    .main-banner__ul li {
        margin-top: 10px;
    }

    .main-banner__ul-li--ico {
        width: 14px;
        height: 14px;
        padding: 0;
        margin-right: 10px;
    }

    .calculate__button {
        width: 100%;
    }

    .form-container {
        padding: 20px;
        margin-top: 20px;
    }

    .form-title {
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0;
        text-transform: uppercase;
        text-align: center;
    }

    .form-text {
        font-size: 14px;
        line-height: 150%;
        margin-top: 10px;
    }

    .form__wrapper {
        gap: 10px;
    }

    .form2-container {
        padding: 10px;
        gap: 10px;
    }

    .form2-group {
        gap: 3px;
    }

    .form2-group__small-input {
        max-width: none;
    }

    .order-right {
        flex: none;
        width: 100%;
        padding-top: 0;
    }

    .form {
        margin-top: 20px;
        display: block;
        align-items: flex-start;
    }

    .form__button {
        margin-top: 10px;
        font-size: 16px;
        font-weight: 400;
        min-width: 300px;
        height: 40px;
        border-radius: 4px;
        background: #FF8C00;
        border: solid 1px #FF8C00;
        color: #FFFFFF;
        flex: 2;
    }

    .order-body {
        gap: 20px;
    }

    .order-title {
        text-align: center;
        line-height: 100%;
        font-size: 18px;
    }

    .order-info {
        font-size: 14px;
        line-height: 100%;
    }

    .order-subtitle {
        margin-top: 20px;
        font-size: 18px;
        line-height: 100%;
    }

    .order-right-bottom {
        display: block;
    }

    .order-summary__wrapper.center {
        align-items: center;
    }

    .order-summary__summa.no_margin {
        margin: 0;
    }

    .summary_double {
        padding: 10px 20px;
    }

    .calculate_double {
        padding: 10px 20px;
    }

    /*.footer__main {*/
    /*    padding-bottom: 96px;*/
    /*}*/

    .order-summary__button-wrapper {
        width: 100%;
    }

    .table {
        align-items: center;
    }

    .table__title {
        text-align: center;
    }

    .map__info-office {
        display: none;
    }

    .map__info-warehouse {
        display: none;
    }

    .map__info-office--mobile {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        margin: 0 10px;
        padding: 0;
    }

    .map__info-geography {
        display: none;
    }

    .map__info-geozones {
        display: none;
    }

    .map__info-geography--mobile {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: 20px;
        padding: 0;
    }

    .container__map {
        max-width: 640px;
        width: 100%;
        height: unset;
        /*height: 200px;*/
        border-radius: 5px;
        box-shadow: 0 0 0 0 #00000033;
        margin-top: 20px;
        overflow: hidden;
    }

    .map__office,
    .map__warehouse,
    .map__geography,
    .map__geozones {
        max-width: unset;
        width: 100%;
        /*height: 385px;*/
        position: relative;
    }

    .warehouse_info__bottom-text {
        line-height: 22px;
    }

    .footer-correction {
        padding-bottom: 90px;
    }

    .footer__main {
        max-width: 640px;
        min-height: 420px;
    }

    .footer__top {
        height: 72px;
        width: 100%;
        padding: 20px 0;
    }

    .footer__top-content {
        margin: 0 0 0 50px;
        gap: 16.5px;
        height: 40px;
    }

    .footer__bottom {
        min-height: 400px;
    }

    .footer__bottom-content {
        display: flex;
        padding: 20px  0;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        margin: 0 50px;
        min-height: 373px;
        border-style: solid;
        border-color: #DBD6D6;
        border-width: 1px 0;
    }

    .footer__bottom-content--left {
        color: #000000;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        max-width: 604px;
        width: 100%;
        height: 273px;
    }

    .footer__bottom-info--title,
    .footer__bottom-feedback--title {
        font-weight: 700;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0;
        margin-bottom: 10px;
    }

    .footer__logo {
        width: 120px;
        height: auto;
    }

    .scroll-to-top {
        display: none;
    }

    .footer__bottom-map {
        display: none;
    }

    .footer__bottom-image--map {
        display: none;
    }
    .footer__bottom-image--map_pad {
        display: none;
    }

    .footer__company {
        display: none;
    }

    .address-row {
        flex-direction: row;
    }

    .form2-group {
        display: flex;
        flex-direction: column;
        min-width: 0; /* Позволяет тексту сжиматься */
    }

    .form2-group input,
    .form2-group select,
    .form2-group option {
        width: 100%;
        box-sizing: border-box;
        padding: 12px;
    }

    .form2-group.mob_wide {
        flex: 3;
    }

    .form2-group.mob_narrow {
        flex: 1;
    }

    .form2-group.mob_middle {
        flex: 2;
    }

    .four-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
    }

    .four-row .form2-group {
        flex: 0 0 calc(50% - 5px);
        min-width: 0;
        box-sizing: border-box;
    }

    /* Стили для кнопки-иконки */
    .four-row .form2-group__ico {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .form2-group__ico.add-row-btn,
    .form2-group__ico.remove-row-btn
    {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        align-self: center;
    }

    .form2-group__ico-wrapper {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .icon-label {
        display: inline-block;
        margin-left: 10px;
    }

    .order-left {
        width: 100%;
    }

}


.after-banner-container {
    position: relative;
    width: 100%;
}



/*   Модальное окно  */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    padding: 15px 30px 30px 30px;
    max-width: 880px;
    min-height: 456px;
    width: 90%;
    margin: 10% auto;
    animation: slideIn 0.5s ease;
}

.modal-top {
    padding: 24px 0;
    font-weight: 300;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.modal-top span {
    color: #5B5B5B;
}

.modal-top__delimiter {
    height: 0;
    opacity: 1;
    border: 0.1px solid #C8C8C8;
    margin: 0 auto;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 15px;
    font-size: 28px;
    line-height: 1;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
    margin-bottom: 25px;
}

.modal-close:hover {
    color: red;
}

.open-modal-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 629px;
    background-color: #000089;
    color: white;
    border: none;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-button-container-new {
    top: 120px;
    display: flex;
    margin-top: 40px;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.open-modal-btn-new {
    width: 629px;
    height: 80px;
    background-color: #000089;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.open-modal-btn-text-new {
    display: block;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 40px;
    text-transform: uppercase;
    transition: transform 0.3s ease;
    text-wrap: nowrap;
}

.open-modal-btn:hover,
.open-modal-btn-new:hover {
    background-color: #ACACE9;
    color: #000089;
}

.open-modal-btn-text {
    display: block;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 40px;
    text-transform: uppercase;
    transform: rotate(270deg);
    transform-origin: center;
    transition: transform 0.3s ease;
    text-wrap: nowrap;
}

.modal-content-choice {
    position: relative;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.modal-content-choice h2 {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
}

.modal-form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0;
    color: #2F2F2F;
}

.modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 84px;
}

.modal-card__title {
    color: #F18923;
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.modal-card__body {
    color: #2F2F2F;
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
}

.modal-content-choice input[type="checkbox"] {
    accent-color: #0033A3;
    transform: scale(1.1);
}

.modal-form__input {
    font-size: 14px;
    font-weight: 300;
    line-height: 130%;
    display: grid;
    grid-template-columns: 320px 120px 120px;
    gap: 8px;
    align-items: center;
}

.modal-form__input.input-wide-2 {
    grid-template-columns: 320px 200px 120px;
}

.modal-form__input-type-text {
    background-color: #A3C0FF4D;
    border: 1px solid #0033A3;
    border-radius: 2px;
    padding: 6px 8px;
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: left;
}

.modal-form__input input,
.modal-form__input select,
.modal-form__input textarea,
.modal-form__input option {
    background-color: #A3C0FF4D;
    border: 1px solid #0033A3;
    border-radius: 2px;
    padding: 6px 8px;
    font-weight: 300;
    font-size: 12px;
    color: #2F2F2F;
    line-height: 100%;
    letter-spacing: 0;
    text-align: left;
}

.modal-form__input textarea {
    min-height: 64px;
    max-height: 140px;
    min-width: 200px;
    max-width: 240px;
    resize: vertical;
}

.mod5 input {
    min-width: 200px;
}

.modal-form__input option:hover {
    background-color: #A3C0FF;
}

.modal-form__input span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
}

.modal-btns {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.modal-btn-back,
.modal-btn-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: white;
    color: #0033A3;
    border: 1px solid #0033A3;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    transition: all 0.3s ease;
}

.modal-btn-back:hover,
.modal-btn-next:hover {
    background-color: #D6E3FF;
}

.modal-form__checkbox.grid,
.error-wrapper__small.grid {
    display: grid;
    grid-template-columns: 14.3px 1fr 1fr;
    gap: 10px;
}

.modal-form__checkbox.grid {
    margin-bottom: 0;
}


/* Стили для ошибок валидации */
/* Красные квадратики чекбоксов */
.modal-form__checkbox.has-error input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

/* Создаём кастомный "квадратик" */
.modal-form__checkbox.has-error::before {
    box-sizing: border-box;
    content: '';
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    /*margin-right: 0.5rem;*/
    border: 1.8px solid #dc3545; /* цвет рамки по умолчанию */
    border-radius: 3px;
    background-color: #fff;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Сообщение об ошибке */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.875em;
    /*color: #dc3545;*/
    color: #0033A3;
    font-weight: 300;
}

.invalid-feedback.small {
    font-size: 0.78em;
}

.invalid-feedback.show {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
}

.form-group {
    margin-bottom: 16px;
}

.error-wrapper__small {
    display: grid;
    grid-template-columns: 320px 240px;
    gap: 8px;
    align-items: center;
}

/* Стили для полей ввода с ошибкой */
.form-group.has-error input[type="number"],
.form-group.has-error select {
    border-color: #dc3545;
}

.form-group.has-error .modal-form__input span {
    /*color: #dc3545;*/
}

/* Стили для select при ошибке */
.form-group.has-error select {
    border-color: #dc3545;
}

/* Сообщения об ошибках */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    /*color: #dc3545;*/
    color: #0033A3;
}

.invalid-feedback.show {
    display: block;
}


/* Стили для ошибок 3-й формы */
#mod_form_3 .form-group.has-error input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

/* Создаём кастомный "квадратик" */
#mod_form_3 .form-group.has-error::before {
    box-sizing: border-box;
    content: '';
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border: 1.8px solid #dc3545; /* цвет рамки по умолчанию */
    border-radius: 3px;
    background-color: #fff;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.2s ease;
}

#mod_form_3 .form-group.has-error .modal-form__input-type-text {
    border-color: #dc3545;
}

#mod_form_3 .modal-form__input-type-text.has-error {
    border-color: #dc3545;
}

#mod_form_3 .invalid-feedback {
    display: none;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #0033A3;
}

#mod_form_3 .invalid-feedback.small {
    font-size: 0.78em;
}

#mod_form_3 .invalid-feedback.show {
    display: block;
}


/* Подсветка для поля ввода при ошибке */
#mod_form_3 .dimensions-input-wrapper.has-error input {
    border-color: #dc3545;
    background-color: #fff8f8;
}

/* Стили для ошибок полей ввода (как в mod_form_2) */
#mod_form_5 .form-group.has-error input {
    border-color: #dc3545;
}

#mod_form_5 .invalid-feedback.show {
    display: block;
}


/* Анимация для привлечения внимания (опционально) */
@keyframes errorPulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.modal-form__checkbox.has-error {
    animation: errorPulse 1s ease-in-out 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.fade-out .modal-overlay {
    animation: fadeOut 0.5s ease forwards;
}

.modal.fade-out .modal-content {
    animation: slideOut 0.5s ease forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}


@media (max-width: 980px) {

    .open-modal-btn,
    .open-modal-btn-new {
        position: inherit;
        /*width: 100%;*/
        height: 56px;
        border-radius: 10px;
        margin-top: 50px;
    }



    .open-modal-btn-text,
    .open-modal-btn-text-new {
        display: block;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 100%;
        transform: rotate(0deg);
        transform-origin: center;
        transition: transform 0.3s ease;
        text-wrap: nowrap;
    }
}

@media (max-width: 640px) {

    .modal-button-container,
    .modal-button-container-new {
        top: 95px;
        margin: 0;
        display: flex;
        justify-content: center;
        padding: 0 10px;
    }

    .open-modal-btn,
    .open-modal-btn-new {
        margin-top: 20px;
    }

    .modal-close {
        top: 20px;
    }

    .modal-top {
        padding: 20px 0 5px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .modal-content {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
        padding: 15px;
        max-width: 639px;
        height: 640px;
        width: 100%;
        margin: 0;
    }

    .modal-card {
        padding: 130px 5px;
    }

    .modal-card__title {
        font-size: 24px;
    }

    .modal-card__body {
        font-size: 14px;
    }

    .modal-btn-back {
        padding: 10px;
    }

    .modal-form__input {
        font-size: 14px;
        font-weight: 300;
        line-height: 130%;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 4px 30px;
        align-items: center;
        /*margin-bottom: 16px;*/
    }


    /* Текст (span) - сверху */
    .modal-form__input span {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 4px;
    }

    /* Инпут - на всю ширину */
    .modal-form__input input[type="number"] {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    /* Селект - на всю ширину */
    .modal-form__input select {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        margin-top: 8px;
    }

    .modal-form__input textarea {
        grid-column: 1 / -1;  /* от первой до последней колонки */
        width: 100%;
        margin-top: 8px;
        max-width: none;
        height: 255px;
        resize: none;

    }


    /* Третий лейбл: инпут и селект на одной строке */
    .modal-form__input:nth-child(3) {
        grid-template-columns: 1fr auto; /* две колонки */
        grid-template-rows: auto auto;   /* две строки */
    }

    .modal-form__input:nth-child(3) span {
        grid-column: 1 / -1;             /* занимает обе колонки */
        grid-row: 1;
        margin-bottom: 4px;
    }

    .modal-form__input:nth-child(3) input[type="number"] {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    .modal-form__input:nth-child(3) select {
        grid-column: 2;
        grid-row: 2;
        width: auto;
        margin-top: 0;
    }

    .modal-form__input-type-text {
        /*width: 50%;*/
        height: 32px;
        max-width: none;
    }

    .error-wrapper__small {
        display: block;
    }

    .form-group{
        margin-bottom: 16px;
    }

    .modal-form__checkbox.grid {
        grid: none;
        display: flex;
    }

    .error-wrapper__small.grid {
        /*grid-template-columns: 14.3px 210px 180px;*/
        grid-template-columns: 14.3px 1fr 1fr;
    }

    #mod_form_3 .invalid-feedback.small {
        font-size: 0.75em;
        /*text-align: center;*/
    }

    .invalid-feedback.small {
        font-size: 0.75em;
    }

}

/* Когда админ-панель видна — сдвигаем фиксированный хедер вниз */
body.bx-panel-mode-top Header {
    top: 40px; /* Высота панели Битрикс */
}

/* Компенсируем сдвиг для основного контейнера */
body.bx-panel-mode-top .global__container {
    /*margin-top: 138px; !* 98px (ваш отступ) + 40px (панель) *!*/
}

/* На всякий случай: убедитесь, что панель выше хедера */
#panel {
    z-index: 10000 !important;
}
Header {
    z-index: 3; /* Должно быть меньше, чем у #panel */
}

/* End */
/* /local/templates/logistic/components/bitrix/menu/main_menu/style.css?17748641982188 */
/* /local/templates/logistic/template_styles.css?177486419858524 */
