.card__center {
    flex-grow: 2;
}

#spec-container img {
    width: auto !important;
    height: auto !important;
}
.overlay {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3;
    background-color: rgb(103 103 103 / 40%);
    backdrop-filter: blur(1px);
}
.overlay.active {
    display: block;
}
.location-mobi {
    display: none;
    left: 0;
    width: 100%;
    bottom: -130px;
    padding: 20px 0;
    position: absolute;
    background: #ffffff;
}

.location {
    box-shadow: 0 0 16.5px 0 #E7EFF6;
    right: 70px;
    z-index: 10000;
    bottom: -133px;
    padding: 20px 15px;
    position: absolute;
    background: #ffffff;
    display: none;
}

.surely-btn,
.select_city-btn {
    text-transform: uppercase;
    font-size: 14px;
    padding: 16px 17px;
    font-weight: 600;
}
.select_city-btn {
    margin-left: 10px;
    border: 1px solid #14477D;
    color: #14477D;
}
.surely-btn {
    color: #fff;
    background: #14477D;
}
.surely-btn {
    font-weight: 600;
    color: #fff;
    background: #14477D;
    padding: 16px 17px;
}
.location-text {
    font-size: 16px;   
}
.location-text span {
    font-weight: 700;  
}
.header__top-city {
    margin-bottom: 9px;
}
.header__top-city-block {
    justify-content: end;
    display: flex;
    align-items: center;
}
.header__btn-city {
    margin-left: 3.5px;
    position: relative;
    font-size: 14px;
    white-space:nowrap;
}
.header__btn-city::before {
    bottom: 0;
    border-bottom-width: 2px;
    border-bottom-style: dashed;
    border-bottom-color: #0F3CA5;
    height: 0.3px;
    width: 100%;
    position: absolute;
    content: '';
}
.header__btn-city {
    position: relative;
}
.header__dropdown-list {
	top: 40px;
    right: 70px;
    display: none;
    position: absolute;
    padding: 20px 20px 20px 15px;
    margin: 0;
    background: #fff;
    box-shadow: 1px 2px 17px 2px #E7EFF6;
    z-index: 100000;
    min-width: 170px;
}
.header__dropdown-list li {
    list-style: none;
    margin-bottom: 18px;
}
.header__dropdown-list li a {
    text-transform: uppercase;
    font-size: 16px;
}
.header__dropdown-list li:last-child {
    margin-bottom: 0;
}
.header__dropdown-list.active {
    display: block;
}

.header__dropdown-list  li.active a {
	font-weight: 700;
}

@media(min-width: 1199.98px) { 
    .dropdown-block-city-desk {
        display: block;
    }
    .dropdown-block-city-mobi {
        display: none; 
    }
    .location.active {
        display: block;
    }
    .location-mobi.active {
        display: none;
    }
}

@media (max-width: 1199.98px) and (min-width: 767.98px) {
    .location-mobi {
        z-index: 100;
        top: 90px;
        display: none;
        width: 100%;
        bottom: auto;
        padding: 20px 0;
        position: absolute;
        background: #ffffff;
   }
}

@media(max-width: 1199.98px) {
    .location.active {
        display: none;
    }
    .location-mobi.active {
        display: block;
    }
    .surely-btn, 
    .select_city-btn {
        padding: 14px 15px;
    }
    .dropdown-block-city-desk {
        display: none;
    }
    .dropdown-block-city-mobi {
        display: block;
    }
    .dropdown-block-city-mobi.header__top-city {
        margin-top: 13px;
    } 
    .dropdown-block-city-mobi .header__top-city-block {
        justify-content: flex-start;
    }
    .dropdown-block-city-mobi .header__btn-city {
        text-transform: uppercase;
        color: #fff;
        margin-left: 19px;
        font-size: 16px;
    }
    .dropdown-block-city-mobi .header__btn-city::before {
        bottom: -7px;
        border-bottom-color: #ffffff;
    }
    .dropdown-block-city-mobi .header__dropdown-list {
		top: auto;
		right: auto;
        border: 1px solid #fff;
        display: none;
        position: absolute;
        padding: 22px 23px 22px 15px;
        margin: 9px 0 0 39px;
        background: transparent;
        box-shadow: none;
        z-index: 100000;
    }
   .dropdown-block-city-mobi .header__dropdown-list.active {
        display: block;
    }
    .dropdown-block-city-mobi .header__dropdown-list li a {
        line-height: normal;
    }
    .dropdown-block-city-mobi .header__dropdown-list .active {
        font-weight: 700;
    }
}

.modal-city__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.modal-city {
    left: 0;
    margin: 0 10px;
    z-index: 100;
    display: none;
    background: #ffff;
    position: absolute;
    width: 93%;
    padding: 20px;
}
.modal-city.active {
    display: block;
}
.modal-city__list li {
    margin-bottom: 18px;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
}
.modal-city__list li:last-child { 
    margin-bottom: 0;
}

/*выпадающее окно города*/
.city-modal__js.open {
    display: flex;
}
.city-modal__js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(29 64 121 / 83%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100001;
}
.city-modal__inner {
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.city-modal__close {
    background: transparent;
    border: none;
    right: -15px;
    top: -15px;
    position: absolute;
    padding: 0;
    height: 15px;
    width: 15px;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.251 0.323352L14.1738 1.24613L8.03254 7.38735L14.0147 13.3695L13.0282 14.3559L7.04612 8.37376L0.936718 14.4832L0.0139438 13.5604L6.12335 7.45099L0.109403 1.43705L1.09582 0.450631L7.10976 6.46457L13.251 0.323352Z' fill='%23D6DAE1'/%3E%3C/svg%3E%0A");
}
.city-modal__close-cont {
  position: relative;
  width: 100%;
  height: 100%;
}
.city-modal__cont {
    position: relative;
    padding: 60px 0 60px 60px;
    height: 80vh;
    max-width: 1290px;
    background-color: white;
    width: 100%;
}
.city-modal__content {
    width: 100%;
    height: 100%;
    box-sizing: border-box; 
}
.city-modal__content-grid {
    margin: 0 auto;
}
.city-modal__content-grid-item {
    box-sizing: border-box;
}
.city-modal__content-grid-item-title {
    line-height: 18.29px;
    font-size: 15px;
    font-weight: 600;
    padding: 0;
    margin: 0;
    color: #0F265C;
}
.city-modal__content-top-title {
    font-size: 22px;
    font-weight: 700; 
    color: #0F265C;
    line-height: 26.82px;
    padding: 0;
    margin: 0 0 20px 0;
}
.city-modal__content-grid-bottom-title {
    font-size: 22px;
    font-weight: 700; 
    color: #0F265C;
    line-height: 26.82px;
    padding: 0;
    margin:0 ;
    height: 20%; 
    box-sizing: border-box;
}
.city-modal__content-grid-bottom-row {
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}
.city-modal__content-grid-bottom {
    box-sizing: border-box;
    height: calc(100% - 130px);   
}
.city-modal__content-grid-item-desk {
    line-height: 15.85px;
    font-size: 13px;
    font-weight: 400;
    padding: 0;
    margin: 0; 
    color: #0F265C;
}
.city-modal__content-top-list {
    padding: 0;
    display: flex;
    margin: 0;
}
.city-modal__content-top-list li {
    list-style: none;
    margin-right: 70px;
}
.city-modal__content-top-list li:last-child {
    margin-right: 0;
}
.city-modal__content-top-list li  a {
    line-height: 18.29px;
    font-size: 15px;
    font-weight: 600;
    color: #0F265C;
}
.city-modal__content-top {
    margin-bottom: 30px;
}

.city-modal__content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1200px) {
    .city-modal__content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .city-modal__content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .city-modal__content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Стили для WebKit браузеров (Chrome, Safari, новые версии Edge) */
.city-modal__content-grid-bottom-row::-webkit-scrollbar {
    width: 18px;
}

.city-modal__content-grid-bottom-row::-webkit-scrollbar-track {
    background: #DBE6FB;
}

.city-modal__content-grid-bottom-row::-webkit-scrollbar-thumb {
    background: #BFD0F1;
    border-radius: 9px; /* Скругляем углы ползунка */
    border: 4px solid #DBE6FB; /* Создаем эффект отступа от краев */
}

/* Убираем кнопки (стрелки) */
.city-modal__content-grid-bottom-row::-webkit-scrollbar-button {
    display: none;
}

/* Стили для Firefox */
.city-modal__content-grid-bottom-row {
    scrollbar-width: thin;
    scrollbar-color: #BFD0F1 #DBE6FB;
}

/* Стили для IE и Edge (старые версии) */
.city-modal__content-grid-bottom-row {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.city-modal__content-grid-bottom-row::-ms-scrollbar {
    width: 18px;
}

.city-modal__content-grid-bottom-row::-ms-scrollbar-track {
    background: #DBE6FB;
}

.city-modal__content-grid-bottom-row::-ms-scrollbar-thumb {
    background: #BFD0F1;
    border-radius: 9px;
    border: 4px solid #DBE6FB;
}

/* Убираем кнопки (стрелки) для IE */
.city-modal__content-grid-bottom-row::-ms-scrollbar-button {
    display: none;
}
body.open-modal {
    overflow: hidden;
}
.link-secondary {
    /* text-decoration: underline;
    text-decoration-color: #7294e2;
    height: 24px; */
}
.header__dropdown-list {
	top: 0;
    right: 27px;
    z-index: 100000;
    padding: 13px 20px 20px 19px;
    height: 100%;
    text-align: right;
}
.header__btn-city {
    color: #333333;
    font-weight: 700;
    margin-left: 3.5px;
    font-size: 13px;
    cursor: pointer;
}
.header__dropdown-list__sity {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    justify-content: end;
}
.header__dropdown-list__sity-name {
    padding: 0;
    margin: 0 0 0 3.5px;
    line-height: 15.85px;
    color: #333333;
    font-weight: 700;
    font-size: 13px;
}
.header__dropdown-list__sity-f {
    line-height: 14.63px;
    color: #333333;
    font-weight: 400;
    font-size: 12px;
    margin: 0 0 15px 0;
    padding: 0;
}
.open-city-modal {
    line-height: 14.63px;
    color: #0F3CA5;
    font-weight: 400;
    font-size: 12px;
    margin: 0;
    padding: 0;
}
.header__top-city {
    margin-bottom: 7px;
}
.header__call {
    text-align: right;
}
.header__logo img {
    height: auto;
    max-width: 273px;
}
.header__logo {
    margin-right: 40px;
}
.catalog-container {
    margin-right: 37px;
}
.header__call .d-md-block {
    font-size: 13px;
}
.feedback-header {
    gap: 15px;
    display: flex;
    align-items: center;
}
.header__call {
    justify-content: center;
    flex-direction: column;
    display: flex;
    height: 100%;
    position: relative;
}
.header__call .d-md-none {
    display: none;
}
.menu__call a span {
    font-size: 15px;
    text-transform: initial;
    margin-left: 10px;
}
.dropdown-block-city-mobi {
    display: none;
}
.menu__call {
    margin-bottom: 18px;
}
.city-mob-block {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}
.city-mob-block__name {
    margin-bottom: 4px;
    line-height: 18.29px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}
.city-mob-block__fil {
    margin-bottom: 15px;
    line-height: 18.29px;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
}
.mobi-open-city-modal {
    position: relative;
}
.mobi-open-city-modal::before {
    top: 16px;
    bottom: 0;
    border-bottom-width: 2px;
    border-bottom-style: dashed;
    border-bottom-color: #ffffff;
    height: 0.3px;
    width: 100%;
    position: absolute;
    content: '';
}
.mobi-open-city-modal {
    color: #fff;
}
.city-modal__content-grid-bottom-row {
    padding: 0 40px 0 0;
}
.footer-email {
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: #ffffff;
}
.footer-text {
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
}
.footer-text:hover {
    color: #FFFFFF;
}
.footer-email:hover {
    color: #FFFFFF;
}
.footer-f-title {
    line-height: 17.07px;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 0 9px 0;
    margin: 0;
}
.footer-f-addres {
    line-height: 17px;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}
@media (max-width: 1450px) {
    .catalog-container {
        display: none;
    }
}
@media (max-width: 1290px) { 
    .city-modal__cont {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .city-modal__cont {
        max-width: 1000%;
    }
    .city-modal__cont {
        position: relative;
        height: 100vh; 
    }
    .city-modal__close {
        right: 20px;
        top: 30px;
        background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.251 0.0139343L14.1738 0.936709L8.03254 7.07793L14.0147 13.0601L13.0282 14.0465L7.04612 8.06435L0.936718 14.1737L0.0139438 13.251L6.12335 7.14157L0.109403 1.12763L1.09582 0.141213L7.10976 6.15516L13.251 0.0139343Z' fill='%235A5A5A'/%3E%3C/svg%3E");
    }
    .city-modal__cont {
        position: relative;
        padding: 50px 0 30px 20px; 
    }
    .city-modal__content-top-list li {
        margin-right: 30px;
    }
    .menu__call {
        padding-top: 10px;
        border-top: 2px solid #fff;
        margin-top: 10px;
    }
}

@media (max-width: 1199.98px) {
    .menu__main>li {
        padding-right: 0;
        margin-bottom: 2px;
    }
}

@media (max-width: 769px) { 
    .header__logo img {
        max-width: 40px;
    }
    .header__logo {
        margin-right: 0;
    }
    .header__logo {
        width: 50px; 
    }
}
@media (max-width: 575.98px) {
    .main__about-wrap h1 {
        font-size: 18px;
    }
    .main__about-cols {
        flex-direction: column;
    }
    .main__about-text2 {
        margin-left: 0;
        margin-top: 10px;
    }
    .main__about-text2{
        font-size: 18px;
    }
}
.btn-white:hover {
    color: #E3000F;
}

.header .btn_catalog:hover {
    background: #E3000F;
    color: #fff;
    border: 1px solid #E3000F;
}

.header  .catalog-container:hover .btn_catalog {
    background: #E3000F;
    color: #fff;
    border: 1px solid #E3000F;
}


.d-md-inline-block {
    white-space: nowrap;
    word-wrap: normal;
    word-break: keep-all;
}
.header__fix-right .btn-red {
    width: auto;
}

@media (max-width: 1024px) {
    .header__fix-right .btn-red.conf-btn-sticky {
        width: auto;
    }
}

.cookie-banner {
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    bottom: 0;
    background: #222;
    color: #fff;
    padding: 16px 8px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-size: 15px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.12);
    display: flex;
  }
  .cookie-banner a {
    color: red;
  }
  .cookie-accept-btn {
    margin-top: 10px;
    background: #fe2026;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 24px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .cookie-accept-btn:hover {
    background: #e60000;
  }
  @media (min-width: 600px) {
    .cookie-banner {
      flex-direction: row;
      justify-content: flex-start;
      padding: 16px 32px;
      font-size: 16px;
    }
    .cookie-accept-btn {
      margin-top: 0;
      margin-left: 24px;
    }
  }