section#content_frame {
    width: 100%;
    max-width: 1444px;
    margin-left: 0;
}

section#first-container {
    width: 97%;
    height: auto;
    border-radius: 20px;
    margin-right: auto;
    margin-left: 3%;
    padding-bottom: 100px;
    padding-left: 40px;
    padding-top: 40px;
    display: flex;
    margin-top: 50px;
    background-color: #24325F;
    background-repeat: no-repeat;
    background-position: right top;
}

section#first-container .left-block {
    width: 50%;
    max-width: 580px;
}

section#first-container .left-block .title h1 {
    padding: 0;
    font-family: 'Arial', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 33px;
    line-height: 40px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.red-text {
    color: #FE434E !important;
}

section#first-container .left-block .description {
    background: #FFFFFF;
    border-radius: 15px;
    font-family: 'Arial', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #171F3A;
    margin-top: 20px;
    padding: 17px 15px;
}

section#first-container .left-block .services {
    margin-top: 25px;
}

section#first-container .left-block .services .list {
    width: auto;
    padding: 0;
}

section#first-container .left-block .services .list .item {
    color: #FFFFFF;
    padding: 0;
    margin-top: 5px;
    display: flex;
    gap: 5px;
}

section#first-container .left-block .services .list .item div {
    margin-top: 5px;
}

section#first-container .left-block .button {
    margin-top: 30px;
}

section#first-container .left-block .button button {
    width: 374px;
    height: 53px;
    background: #F0424F;
    border-radius: 10px;
    border: unset;
    font-family: 'Arial', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
    cursor: pointer;
}

section#first-container .left-block .button button:hover {
    background: #D23F4A;
}

section#first-container .right-block {
    width: 35%;
    margin-left: auto;
}

section#first-container .right-block img {
    width: 100%;
    margin-top: 90px;
}

div#first-container-block {
    display: flex;
    width: 96%;
    margin-right: auto;
    gap: 20px;
    justify-content: center;
    margin-left: 5%;
}

div#first-container-block .block {
    width: 30%;
    height: auto;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 20px;
    margin-top: -50px;
    display: flex;
    gap: 15px;
}

div#first-container-block .block .right-content {
    margin-top: 17px;
}

div#first-container-block .block .right-content .title {
    font-family: 'Arial', serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 21px;
    color: #F0424F;
}

div#first-container-block .block .right-content .description {
    font-family: 'Arial', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    display: flex;
    align-items: center;
    text-align: justify;
    color: #000000;
    margin-top: 20px;
}

section#diagnostic-request-block {
    margin-top: 20px;
    width: 97%;
    margin-left: 3%;
}

section#sales {
    margin-top: 20px;
    width: 97%;
    margin-left: 3%;
}

section#diagnostic-request-block h2,
section#content_frame p,
section#price-list h2,
section h2, section p {
    padding-left: 0;
}

table h2 {
    text-align: center;
}

section#diagnostic-request-block .block {
    max-width: 270px;
    width: 25%;
}

section#diagnostic-request-block .bottom-block {
    display: flex;
    margin-top: 55px;
    gap: 10px;
}

section#diagnostic-request-block .bottom-block .img-container {
    min-height: 56px;
}

section#diagnostic-request-block .bottom-block .description {
    font-family: 'Arial', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    display: flex;
    align-items: center;
    color: #24325F;
}

section#price-list table.products {
    box-shadow: unset;
}

section#price-list,
div#guaranty,
section#repair-info,
section#form-callback,
section#additional-information,
section#reading,
section#algorithm,
section#payment-info,
section#services,
section.content,
section#yandex-reviews,
section#reviews {
    margin-top: 40px;
    margin-right: auto;
    width: 100%;
    margin-left: 3%;
}

section.content{
    margin-top: 0;
}

section#algorithm {
    margin-top: 0;
}

section#price-list h2 {
    padding-bottom: 35px;
}

section#content_frame table.products {
    margin-left: 0;
    width: 100%;
}

section#price-list table.products tr:first-child, div#price-list table.products tr:first-child {
    height: 58px;
    background: #2D375B;
    border-radius: 5px 5px 0 0;
    border-bottom: unset;
}

section#price-list table th {
    text-align: left;
    margin-left: 50px;
    margin-top: auto;
    margin-bottom: auto;
}

section#content_frame table.products tr {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    transition: all .1s linear;
    padding: unset;
    border-bottom: unset;
    height: 58px;
}

section#content_frame table.products tr td {
    margin-left: 50px;
    margin-top: auto;
    margin-bottom: auto;
}

section#content_frame table.products tr td.product-name {
    padding-right: unset;
}

section#price-list table.products tr td:nth-child(2), div#price-list table.products tr td:nth-child(2) {
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

section#price-list table.products tr th:nth-child(1), section#price-list table.products tr td:nth-child(1) {
    width: 40%;
}

section#price-list table.products tr th:nth-child(3), div#price-list table.products tr th:nth-child(3),
section#price-list table.products tr td:nth-child(3) {
    width: 200px;
}

section#price-list table.products button {
    padding: 10px 35px;
    border: 1px solid #24325F;
    border-radius: 5px;
    background: #fff;
    font-family: 'Arial', serif;
    font-weight: 700;
    font-size: 16px;
    text-align: right;
    color: #24325F;
    cursor: pointer;
    margin-right: 10px;
}

section#price-list table.products tr button.added {
    display: none;
    padding: 10px 27px;
}

section#price-list table.products tr.selected button.to-order {
    display: none;
}

section#price-list table.products tr.selected button.added {
    display: block;
}


section#price-list table.products tr td:nth-child(4), div#price-list table.products tr td:nth-child(4) {
    margin-right: 4%;
}

section#price-list table.products tr td:nth-child(4) {
    padding-left: 0;
}

section#content_frame table.products tr.selected, section#content_frame table.products tr:hover {
    color: #fff;
    background-color: #F0424F;
    border-bottom: unset;
}

section#content_frame table.products tr.selected:hover {
    background-color: #D03E49;
}

section#price-list table.products tr.selected td:nth-child(1) {
    width: 40%;
}

section#price-list::-webkit-scrollbar {
    height: 8px; /* Высота горизонтального скролла */
}

section#price-list::-webkit-scrollbar-track {
    background: #db0e0e; /* Цвет фона трека */
}

section#price-list::-webkit-scrollbar-thumb {
    background: #db0e0e; /* Цвет ползунка */
    border-radius: 4px; /* Закругление углов */
}

section#price-list::-webkit-scrollbar-thumb:hover {
    background: #db0e0e; /* Цвет ползунка при наведении */
}

section#price-list {
    scrollbar-width: auto; /* "auto" | "thin" | "none" */
    scrollbar-color: #db0e0e #f1f1f1; /* thumb track */
}

section#content_frame table.products tr.selected::before {
    content: unset;
    border-bottom: unset;
}


section#content_frame table.products tr.selected:hover {
    text-shadow: unset;
}

section#content_frame table.products tr:hover button {
    border-color: unset;
}

section#content_frame table.products tr:hover button {
    border-color: #24325F;
}

tr:nth-child(even) {
    background-color: #F9F9F9;
}

div#guaranty {
    display: flex;
    gap: 20px;
}

div#guaranty .description {
    font-size: 12px;
    line-height: 21px;
    color: #8C8C8C;
    display: flex;
    align-items: center;
}

div#guaranty .description span {
    max-width: 335px
}

section#repair-info h2, section#payment-info h2, section#algorithm h2,
section#services h2, section#yandex-reviews h2 {
    padding-left: 0;
}

section#repair-info p, section#payment-info p, section#algorithm p, section#services p {
    max-width: 1130px;
    text-align: left;
    padding: 0;
}

div#brands-list {
    width: 100%;
    padding-top: 15px;
    margin-left: 0;
    transition: height .3s linear;
}

div#brands-list div#brands-list-wrapper {
    justify-content: left;
    width: 100%;
    min-height: 200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
    gap: 20px;
    justify-items: center;
}

div#brands-list div#brands-list-wrapper div.brands-list-item {
    box-sizing: border-box;
    width: 346px;
    height: 140px;
    border: 1px solid #F0F0F0;
    border-radius: 15px;
    margin: unset;
}

div#brands-list div#brands-list-wrapper div.brands-list-item p img {
    width: 14px;
    height: 15px;
    margin-left: 5px;
    margin-top: 4px;
}

div#brands-list div#brands-list-wrapper div.brands-list-item a {
    width: 100%;
    display: flex;
    flex-direction: initial;
    align-items: inherit;
    justify-content: space-between;
}

div#brands-list nav ul li {
    width: 111px;
}

div#brands-list-wrapper div.info div.button p {
    padding: 9px 7px;
    width: 180px;
    height: 38px;
    border: 1px solid #24325F;
    border-radius: 15px;
    display: flex;
    background: #fff;
    font-family: 'Arial', serif;
    font-weight: 400;
    font-size: 14px;
    text-align: right;
    color: #24325F;
    cursor: pointer;
}

div#brands-list-wrapper button img {
    width: 16px;
    height: 18px;
    display: block;
    object-fit: none;
    margin-left: 5px;
}

div#brands-list div#brands-list-wrapper div.brands-list-item p {
    font-family: 'Arial', serif;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    color: #24325F;
    width: unset;
    height: unset;
    margin: unset;
    font-size: 14px;
}

div#brands-list div#brands-list-wrapper div.brands-list-item .price p {
    font-family: 'Arial', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    color: #F0424F;
}

div#brands-list .title p {
    margin-bottom: 0;
}

div#brands-list-wrapper .info {
    margin-left: 10px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
}

div#brands-list-wrapper .info div.button {
    margin-top: auto;
}

section#payment-info p, section#payment-info h3,
section#algorithm p, section#algorithm h3, section#algorithm h2 {
    text-align: left;
    padding-left: 0;
}

section#content_frame ul li, section#content_frame ol li, section#payment-info ul, section#algorithm ul {
    padding: 0;
    margin-left: 20px;
    font-size: 15px;
    line-height: 21px;
    list-style: unset;
    color: #000;
}

section#content_frame ul li, section#content_frame ol li, section#payment-info ul, section#algorithm ul li {
    color: #000;
}

section#algorithm ol {
    padding: 0 15px;
}

section table.repair-table {
    max-width: 1130px;
    margin-top: 1px;
    margin-left: 1px;
}

section#content_frame table.repair-table h3 {
    text-align: center;
}

section#content_frame h3 {
    text-align: left;
    padding-left: 0;
}

section#form-callback p {
    text-align: left;
}

section#form-callback div#callback {
    width: auto;
    margin: unset;
    /*background-image: url('https://kompyuternaya.spb.ru/img/content/remont_pristavok/form_background.png');*/
    padding-left: 30px;
    height: auto;
}

section#content_frame div#callback p {
    padding-right: 0;
}

section#content_frame div#callback p.callback-title {
    padding-top: 30px;
    padding-left: unset;
    padding-right: 10px;
}

section#content_frame div#callback form {
    margin-bottom: 0;
}

section#content_frame div#callback form p {
    font-size: 12px;

}

section#content_frame div#callback p {
    margin-top: 0;
    padding-left: unset;
}

section#content_frame div#callback form label {
    margin: unset;
}

section#content_frame div#callback form {
    justify-content: left;
    padding-left: unset;
    gap: 30px;
}

section#content_frame section#form-callback form label input {
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    height: 53px;
    padding: 0 0 0 10px;
}

section#content_frame div#callback form button {
    width: 27%;
    height: 59px;
    background: #F0424F;
    border-radius: 10px;
    border: unset;
    padding: 0;
    margin-top: 30px;
    margin-left: 0;
}

section#content_frame div#callback form button:hover {
    background: #CF323E;
    color: #fff;
    border: unset;
}

section#content_frame div#callback form div.description {
    margin-top: 45px;
}

section#content_frame div#callback form div.description p {
    line-height: 14px;
}

section#content_frame div#callback form label input::placeholder {
    font-size: 16px;
}

div#faq {
    width: 80%;
    padding: 0;
}

div#faq div.accordion-item {
    border-radius: 20px;
}

div#faq button {
    text-align: left;
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    padding-top: 28px;
}

div#faq div.accordion-item.active {
    background: #1D2A54;
}

div#faq div.accordion-item.active button {
    background: #1D2A54;
    color: #fff;
}

div#faq div.accordion-item.active p, div#faq div.accordion-item.active ul li {
    color: #fff;
}

div#faq div.accordion-item.active ul li {
    margin-top: 5px;
}

div#faq div.accordion-item.active button img.not-active {
    display: none;
}

div#faq div.accordion-item:not(.active) button img.active {
    display: none;
}

div#faq div.accordion-item:not(.active) hr {
    display: none;
}

div#faq div.accordion-item.active hr {
    margin-top: 0;
    margin-bottom: 0;
}

section#additional-information {
    margin-top: 70px;
}

section#additional-information .content {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

section#additional-information .content .left-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 37px 22px;
    gap: 23px;
    height: max-content;
    background: #24325F;
    border-radius: 15px;
    width: 82%;
}

section#additional-information .content .left-container .element {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 21px;
    gap: 10px;
    width: auto;
    height: 52px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    flex: none;
    flex-grow: 0;
    order: 1;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

section#additional-information .content .left-container .element:hover {
    background: #fff;
    color: #24325f;
    cursor: pointer;
}

section#additional-information .content .img-container {
    width: 34%;
    margin-left: -65px;
    margin-top: -65px;
}


section#reading {
    margin-bottom: 40px;
}

section#reading .content {
    display: flex;
    gap: 15px;
    align-items: stretch; /* Добавлено: растягиваем элементы по высоте */
}

section#reading .content .item {
    background: #FFFFFF;
    border: 1px solid #D0D0D0;
    box-shadow: 0 0 13px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    display: flex; /* Добавлено */
    flex-direction: column; /* Добавлено */
    flex: 1; /* Добавлено: равномерное распределение ширины */
}

section#reading .content .item h4 {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    color: #24325F;
    text-align: left;
    padding: 10px 0 0 0;
    margin: unset;
}

section#reading .content p {
    padding-left: unset;
}

section#reading .content .item .text-container {
    margin-left: 20px;
    margin-bottom: 20px;
    flex-grow: 1; /* Добавлено: растягиваем текстовый блок */
    display: flex; /* Добавлено */
    flex-direction: column; /* Добавлено */
}

section#reading .content .item .text-container .button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 159px;
    height: 40px;
    background: #24325F;
    border-radius: 5px;
    color: #fff;
    margin-top: auto; /* Добавлено: прижимаем кнопку к низу */
}

section#reading .content .item .text-container .button a {
    font-weight: 700;
}

section#reading .content .item .img-container {
    height: 255px;
}

section#reading .content .item .img-container img {
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ключевое свойство */
}

section#content_frame div#yandex-map {
    width: 100%; /* 100% - 3% margin-left */
    height: 500px;
    margin: 40px auto 0px 3%;
}

section#content_frame div#yandex-map iframe {
    width: 100%;
    height: 100%;
    border: none; /* Убираем стандартную рамку iframe */
    border-radius: 10px; /* Опционально: скругление углов */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); /* Опционально: тень */
}

div#faq div.accordion-item {
    padding-top: 3px;
}


/* Кнопка открытия попапа */
.open-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Структура попапа */
#popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4.1px);
}

#popup_overlay h2 {
    padding: 10px 0 0 0;
    width: auto;
    font-weight: 700;
}

#popup_overlay form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.popup-content {
    position: relative;
    background: white;
    padding: 30px 60px;
    border-radius: 10px;
    max-width: 555px;
    width: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-header {
    font-size: 30px;
    text-transform: uppercase;
    color: #24325F;
    width: max-content;
}

.popup-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


.popup-image {
    margin-top: 10px;
    text-align: center;
}

.popup-image img {
    max-width: 100%;
    border-radius: 5px;
}

#callback-button1 {
    height: 53px;
    background: #F0424F;
    border-radius: 10px;
    flex: 1 0 calc(50% - 8px);
    border: unset;
    font-size: 18px;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
}

#callback-button1:hover {
    background: #D23F4A;
}

#popup_overlay input {
    height: 53px;
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    padding: 0 0 0 10px;
}

#popup_overlay input::placeholder {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    color: #D4D4D4;
}


#popup_overlay label {
    flex-direction: column;
    flex: 1 0 calc(50% - 8px);
    font-size: 16px;
    line-height: 16px;
    color: #212121;
    display: flex;
    gap: 15px;
}

#popup_overlay .description {
    flex: 1 0 calc(50% - 8px);
    display: flex;
    align-items: center;
}

#popup_overlay .description p {
    font-size: 12px;
    line-height: 14px;
    color: #C8C8C8;
}

/* Кнопка закрытия */
.popup-close-btn {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #F0424F;
    border: none;
    border-radius: 50%;
    font-size: 35px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding-bottom: 4px;
}

/* Блокировка прокрутки */
body.popup-open {
    overflow: hidden;
}


section#yandex-reviews .title {
    margin-bottom: 30px;
    display: flex;
}

section#yandex-reviews .title .img-container {
    display: flex;
    align-content: center;
    margin-right: 40px;
}

section#yandex-reviews .description {
    height: min-content;
    display: flex;
    gap: 50px;
}

/*
section#yandex-reviews .description .right-container{
	flex: 40%;
}
section#yandex-reviews .description .left-container{
	flex: 60%;
}
section#yandex-reviews .description .left-container > div{
	width: auto !important;
}

div.badge{
	max-width: unset !important;
}
.badge{
	max-width: unset !important;
}
*/

section#yandex-reviews .description .right-container .title h3 {
    padding: 0;
    max-width: unset;
    margin-top: 15px;
    width: auto;
}

section#yandex-reviews .description .right-container .title .img-container img {
    max-width: 90px;
}

section#yandex-reviews .description .right-container .title {
    margin-left: 0;
    margin-bottom: 30px;
}

section#yandex-reviews .description .right-container .title .title {
    margin-bottom: 0;
}

section#yandex-reviews .description .right-container .bottom-container {
    box-sizing: border-box;
    max-width: 590px;
    height: 100px;
    border: 1px solid #ACACAC;
    border-radius: 15px;
    display: flex;
    gap: 40px;
    padding-left: 20px;
}

section#yandex-reviews .description .right-container .bottom-container .rating-container-left,
section#yandex-reviews .description .right-container .bottom-container .rating-container-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

section#yandex-reviews .description .right-container .bottom-container .rating-container-right {
    flex-direction: column;
    gap: 5px;
    align-items: last baseline;
    justify-content: center;
}

section#yandex-reviews .description .right-container .bottom-container .rating-container-right .rating-container-count {
    padding-left: 5px;
}

section#yandex-reviews .description .right-container .bottom-container .rating-container-left .rating-number {
    font-weight: 700;
    font-size: 28px;
    line-height: 30px;
    color: #24325F;
}

section#yandex-reviews .description .text p {
    font-size: 16px;
    line-height: 30px;
}


.repair-table-container {
    max-height: 190px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 0;
    position: relative; /* Для позиционирования градиента */
}

.repair-table-container.expanded {
    max-height: none;
}

.repair-table-container.expanded table {
    margin-bottom: 2px;
}

/* Эффект затуманивания внизу таблицы */
.repair-table-container:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), rgb(255, 255, 255));
    pointer-events: none;
}

.toggle-table-btn {
    padding: 8px 16px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    background: #1D2A54;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    margin-top: 0;
    transition: background-color 0.3s ease;
}

.toggle-table-btn.expanded {
    margin-top: 10px;
}

.toggle-table-btn:hover {
    background-color: #2a3a6e;
}

@media screen and (max-width: 1829px) {
    section#content_frame {
        width: calc(100% - 320px);
    }

    section#first-container {
        width: calc(100% - 80px);
        margin-left: 2%;
    }

    div#first-container-block {
        width: calc(100% - 80px);
        margin-left: 3.4%;
    }

    section#price-list, div#guaranty, section#repair-info, section#form-callback, section#additional-information, section#reading, section#yandex-reviews,
section#reviews {
        margin-left: 2%;
        width: calc(100% - 38px);
    }
}

@media screen and (max-width: 1559px) {
    div#first-container-block {
        margin-left: 3.6%;
    }

    section#diagnostic-request-block,
    section#price-list,
    div#guaranty,
    section#repair-info,
    section#payment-info,
    section#algorithm,
    section#services,
    section.content {
        width: calc(100% - 40px);
        margin-left: 2%;
    }

    section#diagnostic-request-block {
        width: calc(100% - 40px);
    }

    section#price-list table.products tr th:nth-child(1) {
        min-width: 307px;
    }

    section#price-list table.products tr th:nth-child(2),
    div#price-list table.products tr th:nth-child(2),
    section#price-list table.products tr th:nth-child(3),
    section#price-list table.products tr td:nth-child(2),
    div#price-list table.products tr td:nth-child(2),
    section#price-list table.products tr th:nth-child(4),
    div#price-list table.products tr th:nth-child(4),
    section#price-list table.products tr td:nth-child(4),
    div#price-list table.products tr td:nth-child(4),
    section#price-list table.products tr td:nth-child(3) {
        width: 20% !important;
        text-align: left !important;
    }

    section#price-list table.products tr td:nth-child(4),
    div#price-list table.products tr td:nth-child(4) {
        margin-right: 0 !important;
    }

    div#faq {
        width: 96%;
    }

    section#additional-information .content .img-container {
        width: 35%;
    }

    section#additional-information .content .img-container img {
        margin-left: -55px;
        margin-top: 75px;
    }
}

@media screen and (max-width: 1399px) {
    div#first-container-block {
        margin-left: 3.8%;
    }

    div#guaranty {
        justify-content: flex-start;
    }

    div#guaranty .image-container {
        width: max-content;
        max-width: 60%;
    }

    div#guaranty .image-container img {
        width: 100%;
    }

    section#repair-info div#brands-list div#brands-list-wrapper {
        width: 100%;
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
        gap: 20px;
        row-gap: 5px;
    }

    div#brands-list div#brands-list-wrapper div.brands-list-item {
        width: auto;
        height: auto;
    }

    section#content_frame div#callback form {
        margin-bottom: unset;
        padding-right: 0;
    }

    section#yandex-reviews .description {
        gap: 20px;
    }

    section#additional-information .content .img-container {
        width: 40%;
        margin-left: -120px;
    }

    section#additional-information .content .img-container img {
        margin-left: 70px;
        margin-top: 275px;
        width: 100%;
    }

}

@media screen and (max-width: 1365px) {
    section#content_frame div#callback form label {
        width: 25vw;
    }

    section#content_frame div#callback form label input {
        width: 100%;
    }

    section#content_frame div#callback form button {
        width: 26vw;
        margin-top: 0;
    }

    section#content_frame div#callback form div.description {
        margin-top: 16px;
    }

    section#additional-information .content .img-container img {
        margin-top: 290px;
    }

    section#yandex-reviews .description {
        flex-direction: column;
    }
}

@media screen and (max-width: 1199px) {
    h2 {
        font-size: 18px;
        text-align: left;
        font-weight: 600;
    }

    #popup_overlay h2 {
        font-size: 26px;
        font-weight: 100;
    }

    div#first-container-block {
        margin-left: 4.2%;
    }

    div#first-container-block .block {
        display: block;
        padding: 15px;
    }

    div#first-container-block .block .right-content {
        margin-top: 5px;
    }

    div#first-container-block .block .right-content .title {
        font-size: 17px;
    }

    div#first-container-block .block .right-content .description {
        margin-top: 10px;
        font-size: 12px;
    }

    section#first-container .left-block {
        width: 60%;
    }

    section#first-container .left-block .services .list .item div, section#first-container .left-block .description {
        font-size: 14px;
    }

    section#first-container .left-block .title h1 {
        font-size: 24px;
    }

    section#first-container .left-block .button button {
        font-size: 16px;
        width: 311px;
        height: 53px;
    }

    section#diagnostic-request-block .block {
        max-width: 25%;
    }

    section#diagnostic-request-block .bottom-block {
        margin-top: 20px;
    }

    section#diagnostic-request-block .bottom-block .description {
        font-size: 12px;
    }

    section#diagnostic-request-block .bottom-block .img-container {
        min-height: 45px;
    }

    section#diagnostic-request-block .bottom-block .img-container img {
        max-height: 35px;
    }

    section#price-list h2 {
        padding-bottom: 10px;
    }

    section#content_frame table.products {
        font-size: 14px;
    }

    section#price-list table th {
        margin-left: 15px;
    }

    section#content_frame table.products tr td,
    section#price-list table.products tr td:nth-child(2),
    div#price-list table.products tr td:nth-child(2) {
        margin-left: 15px;
        width: 120px;
        text-align: left;
    }

    section#price-list table.products button {
        padding: 10px 20px;
        margin-right: 10px;
    }

    section table.repair-table {
        max-width: unset;
        width: 98.5%;
    }

    section#content_frame div#callback form label {
        width: 40%;
    }

    section#content_frame section#form-callback form label input {
        width: 100%;
    }

    section#content_frame div#callback form button {
        margin-top: 0;
        width: 42%;
    }

    section#content_frame div#callback p.callback-title {
        font-size: 30px;
    }

    section#additional-information {
        margin-top: 0;
    }

    section#additional-information .content .left-container {
        width: 95%;
    }

    section#additional-information .content .img-container {
        margin-top: 0;
    }

    section#additional-information .content .img-container {
        width: 40%;
        margin-right: 0;
    }

    section#additional-information .content .img-container img {
        margin-top: 44px;
    }

    section#additional-information .content .left-container {
        font-size: 13px;
        padding: 25px 15px;
        gap: 10px;
    }

    section#additional-information .content .left-container .element {
        padding: 0 10px;
        height: 35px;
    }

    section#price-list table.products tr button.added {
        padding: 10px 12px;
    }

    section#content_frame div#yandex-map{
        height: 300px;
    }
}

@media screen and (max-width: 1023px) {
    section#content_frame {
        width: 100%;
    }

    section#first-container .left-block .title h1 {
        text-align: left;
    }

    section#form-callback div#callback {
        border-radius: 8px;
    }

    section#content_frame div#callback form button {
        width: 41.5%;
        margin-right: 0;
    }

    section#content_frame div#callback form div.description {
        margin-top: 0;
        width: 250px;
    }

    section#content_frame div#callback form p {
        text-align: left;
    }

    div#faq button {
        padding-top: 18px;
        padding-bottom: 14px;
    }

    section#additional-information .content .img-container img {
        margin-top: -40px;
    }

    h2{
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 900px) {
    section#additional-information .content .img-container img {
        margin-top: 23px;
    }

    div#faq button {
        font-size: 15px !important;
    }

    div#faq p {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 800px) {
    #popup_overlay .popup-content {
        width: 80%;
        padding: 30px 20px;
    }

    #popup_overlay .popup-header {
        width: 100%;
    }

    section#additional-information .content .img-container img {
        margin-top: 100px;
    }
}

@media screen and (max-width: 679px) {
    section#first-container {
        width: calc(100% - 50px);
        margin-left: 2%;
        padding-left: 20px;
        margin-top: 25px;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    section#content_frame div.breadcrumbs {
        display: none;
    }

    section#content_frame section#first-container {
        flex-direction: column;
    }

    section#content_frame section#first-container .left-block {
        order: 2;
    }

    section#content_frame section#first-container .right-block {
        order: 1;
        width: 52%;
        margin-right: auto;
    }

    section#first-container .right-block img {
        margin-top: 0;
    }

    section#first-container .left-block {
        width: 80%;
    }

    div#first-container-block,
    div#guaranty,
    section#repair-info,
    section#yandex-reviews {
        display: block;
        margin-top: 30px;
        width: calc(100% - 30px);
        margin-left: 2%;
    }

    div#first-container-block .block {
        width: auto;
        display: flex;
        padding: 20px;
        min-height: 70px;
        margin-top: 20px;
    }

    section#diagnostic-request-block .bottom-block {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    section#diagnostic-request-block .block {
        width: calc(50% - 5px);
        box-sizing: border-box;
        max-width: 210px;
    }

    /* Каждый четный блок (правый) */
    section#diagnostic-request-block .block:nth-child(even) {
        margin-left: 20%; /* Сдвигаем на половину экрана вправо */
    }

    section#diagnostic-request-block h2 {
        text-align: left;
        width: auto;
    }

    div#guaranty .image-container {
        max-width: 100%;
    }

    div#guaranty .description {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        display: block;
    }

    section#repair-info div#brands-list div#brands-list-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(230px, 2fr));
        gap: 5px;
    }

    div#brands-list {
        padding-left: 0;
    }

    section#content_frame ul, section#content_frame ol {
        width: calc(100% - 4%);
        padding: 0;
    }

    div#brands-list-wrapper div.info div.button p {
        padding: 9px 7px;
        width: auto;
    }

    div#brands-list-wrapper button img {
        display: none;
    }

    .brands-list-item img {
        width: 90px;
        height: 90px;
    }

    div#brands-list-wrapper div.info div.button p {
        padding: 0 7px;
        width: auto;
        text-align: center;
        line-height: 15px;
        align-items: center;
    }

    section#price-list {
        width: calc(100% - 30px);
    }

    section#price-list table.products {
        display: block;
        max-width: unset;
        overflow: unset;
    }

    section#content_frame table.products tbody {
        display: block;
    }

    section#content_frame div#callback p.callback-title {
        font-size: 24px;
        text-align: left;
    }

    section#content_frame div#callback p {
        text-align: left;
    }

    section#form-callback div#callback {
        padding-left: 20px;
    }

    section#reading .content {
        flex-direction: column;
    }

    section#reading .content .item {
        flex-direction: initial;
    }

    section#reading .content .item .img-container {
        width: 40%;
    }

    section#reading .content .item .img-container img {
        border-radius: 15px 0 0 15px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    section#reading .content .item .text-container {
        width: 60%;
    }

    section#additional-information .content .img-container {
        display: none;
    }

    section#content_frame ul li, section#content_frame ol li {
        margin-left: 15px;
    }
}

@media screen and (max-width: 599px) {
    section#first-container .left-block {
        width: 95%;
    }

    section#first-container .left-block .title h1 {
        line-height: 33px;
    }

    section#first-container .left-block .button button {
        font-size: 16px;
        width: auto;
        height: auto;
        padding: 12px;
    }

    section#diagnostic-request-block .block:nth-child(2n) {
        margin-left: 0;
    }

    section#price-list table.products {
        width: max-content;
    }

    section#price-list {
        overflow-x: auto;
    }

    #popup_overlay h2 {
        font-size: 18px;
        font-weight: 600;
    }

    #popup_overlay .popup-content {
        width: 78%;
        padding: 20px 20px 30px;
        margin-top: 115px;
    }

    .popup-close-btn {
        top: -30px;
        right: -30px;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }

    #popup_overlay form {
        flex-direction: column;
    }

    #callback-button1 {
        padding: 12px;
        font-size: 16px;
    }

    #popup_overlay input {
        height: 40px;
    }

    #popup_overlay label {
        font-size: 14px;
    }

    #popup_overlay .description {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    section#yandex-reviews .description .left-container div {
        width: auto !important;
    }

    section#content_frame div#callback form {
        flex-direction: column;
        align-items: flex-start;
    }

    section#content_frame div#callback form label {
        width: 70%;
    }

    section#content_frame div#callback form button {
        width: 73%;
        margin-bottom: 0;
    }

    section#content_frame div#callback form label input {
        margin-top: 15px;
    }

    section#content_frame div#callback form {
        gap: 20px;
    }
}

@media screen and (max-width: 550px) {
    section#content_frame div#callback form {
        flex-direction: unset;
        flex-wrap: wrap;
    }

    section#content_frame div#callback form label {
        width: 84%;
    }

    section#content_frame div#callback form button, section#content_frame div#callback form div.description {
        width: 94%;
    }

    section#content_frame div#callback form div.description {
        margin-top: -26px;
    }

    section#content_frame div#callback form p {
        text-align: center;
    }

    section#content_frame div#callback form div.description p {
        margin-top: 15px;
    }

    section#content_frame section#first-container {
        margin-top: 100px;
    }

    /*section#content_frame div#yandex-map{
        background-image: url('https://kompyuternaya.spb.ru/img/content/remont_pristavok/map-mob.png');
        margin: 0 auto 0 0;
    }
    section#content_frame div#yandex-map iframe{
        display: none;
    }*/
}

@media screen and (max-width: 494px) {
    div#brands-list div#brands-list-wrapper div.brands-list-item {
        width: 100%;
    }

    section#content_frame section#first-container {
        width: calc(100% - 35px);
    }

    div#first-container-block, section#diagnostic-request-block, section#price-list,
    div#first-container-block, div#guaranty, section#repair-info, section#services,
    section#content_frame h3, section#content_frame h4, section#content_frame p.header,
    section#form-callback, section#additional-information, section.content, section#algorithm, section#reading, section#yandex-reviews {
        width: calc(100% - 15px);
    }

    section#content_frame p {
        padding: 0;
    }

    section.content p {
        padding: 0;
    }

    div#faq {
        width: 100%;
    }

    section#content_frame div#callback p {
        padding-right: 10px;
    }

    section#content_frame div#callback form label {
        width: 90%;
    }

    section#content_frame div#callback form button {
        width: 94%;
    }

    section#reading .content .item {
        flex-direction: column;
        width: 100%;
    }

    section#reading .content .item .img-container,
    section#reading .content .item .text-container {
        width: 100%;
    }

    section#reading .content .item .img-container img {
        border-radius: 15px 15px 0 0;
    }

    section#reading .content .item .text-container {
        margin-left: 10px;
        width: auto;
        padding-right: 10px;
    }
}

@media screen and (max-width: 460px) {
    .popup-close-btn {
        top: -20px;
        right: -19px;
        width: 23px;
        height: 23px;
        font-size: 19px;
    }

    section#yandex-reviews .description .right-container .bottom-container .rating-container-right .stars-container img {
        width: 90%;
    }
}

@media screen and (max-width: 370px) {
    #popup_overlay .popup-content {
        width: 80%;
        padding: 12px 13px 15px;
    }

    .popup-close-btn {
        font-size: 20px;
    }
}


@media only screen and (max-width: 926px) and (orientation: landscape) {
    section#repair-info p {
        font-size: 12px !important;
        line-height: 17px;
    }

    section#payment-info p {
        font-size: 12px !important;
        line-height: 17px;
    }

    section#yandex-reviews .description .text p {
        font-size: 12px !important;
        line-height: 17px;
    }

    section#algorithm p {
        font-size: 12px !important;
        line-height: 17px;
    }

    section#services p {
        font-size: 12px !important;
        line-height: 17px;
    }

    section#content_frame ul li {
        font-size: 12px !important;
        line-height: 17px;
    }

    section.content p {
        font-size: 12px !important;
        line-height: 17px;
    }

    h2 {
        line-height: 20px;
    }

	h1 {
        line-height: 30px;
    }

    div#faq p.description-faq {
        font-size: 20px !important;
        line-height: 28px !important;
        margin-top: 5px !important;
    }

    div#faq div.accordion-item button, div#faq div.accordion-item.active button, div#faq div.accordion-item button span {
        font-size: 15px !important;
        line-height: 15px !important;
    }

    div#faq div.accordion-item p {
        font-size: 10px !important;
        line-height: 12px !important;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }
    html {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    section#first-container .left-block .services .list .item div {
        font-size: 14px !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    section#content_frame h3 {
        line-height: 20px !important;
        font-size: 18px;
        font-weight: 600;
    }

    .popup-content {
        padding: 20px 30px !important;
    }
    #popup_overlay h2 {
        font-size: 20px !important;
        font-weight: 100 !important;
    }
    #popup_overlay input {
        font-size: 14px !important;
        height: 40px !important;
    }
    #callback-button1 {
        height: 46px;
        font-size: 14px;
    }
    .popup-close-btn {
        top: -10px !important;
        right: -10px !important;
        font-size: 35px !important;
        padding-bottom: 0 !important;
    }

}

section#reviews h2 {
        text-align: center;
    font-weight: 700;
    font-size: 22px;
    line-height: 136%;
    color: #24325f;
}

@media screen and (max-width: 768px) {
    
section#reviews h2 {
    font-size: 18px;
}
}

.reviews-swiper {
  width: 100%;
  max-width: 1440px;
  margin: 40px auto;
}

.reviews-swiper .review-card {
  background: #fff;
  overflow: hidden;
  padding: 30px 24px;
  position: relative;
  border: 1px solid #acacac;
  border-radius: 15px;
}

.reviews-swiper .review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
}

.swiper-slide:nth-child(3n+1) .review-card::before {
  background: #2c325c; /* navy */
}

.swiper-slide:nth-child(3n+2) .review-card::before {
  background: #e74c3c; /* red */
}

.swiper-slide:nth-child(3n+3) .review-card::before {
  background: #2980ef; /* blue */
}

.avatar {
  position: absolute;
  top: 20px;
  left: 15px;
  background: #fff;
  color: #2c325c;
  border-radius: 50%;
  border: 1px solid currentColor;
  width: 60px;
  height: 60px;
  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;
  font-weight: 600;
  font-size: 24px;
}

.review-card.red .avatar {
  color: #e74c3c;
}

.review-card.blue .avatar {
  color: #2980ef;
}

.swiper-slide:nth-child(3n+1) .review-card .avatar {
  color: #2c325c; /* navy */
}

.swiper-slide:nth-child(3n+2) .review-card .avatar {
  color: #e74c3c; /* red */
}

.swiper-slide:nth-child(3n+3) .review-card .avatar {
  color: #2980ef; /* blue */
}

.reviews-swiper .content {
  margin-top: 70px;
}

.reviews-swiper .content h3 {
  font-weight: 700;
  font-size: 16px;
  color: #2d375b;
  margin-bottom: 15px;
  margin-top: 0;
}

.reviews-swiper .content p {
  font-size: 15px;
  line-height: 140%;
  color: #000;
  margin-bottom: 20px;
  margin-top: 0;
}

.reviews-swiper .date {
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  color: #9e9d9d;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

/* Настройки Swiper */
.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next {
  position: static;
  background: #24325f;
  width: 36px;
  height: 36px;
  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;
  border-radius: 100%;
  padding: 8px;
  margin: 0 !important;
}

.reviews-swiper .swiper-button-disabled {
  background: #e5e5e5;
}

.reviews-swiper .swiper-button-disabled path {
  fill: #6c6c6c;
}

.reviews-swiper .swiper-button-prev::after,
.reviews-swiper .swiper-button-next::after {
  display: none;
}

.reviews-swiper .swiper-pagination {
  width: auto !important;
  position: static !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.reviews-swiper .swiper-pagination-bullet {
  background: #e5e5e5;
  opacity: 1 !important;
  width: 10px;
  height: 10px;
}

.reviews-swiper .swiper-pagination-bullet-active {
  background: #24325f;
}

.reviews-navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 22px;
  margin-top: 25px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.additional_information_image.top {
    transform: translateY(-110px);
}

.additional_information_image.center {
     transform: translateY(0);
}

.additional_information_image.bottom {
        transform: translateY(110px);
}

section#first-container .left-block .title .red-text {
 white-space: nowrap;   
}

.sales-slider .slide-content {
	border-radius: 25px;
	background: -o-linear-gradient(241deg, #2d375b 0%, #5f75c1 100%);
	background: linear-gradient(209deg, #2d375b 0%, #5f75c1 100%);
	padding: 25px;
    height: 238px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.sales-slider .swiper-slide:nth-child(even) .slide-content {
    background: -o-linear-gradient(310deg, #f0424f 0%, #8a262d 100%), -o-linear-gradient(125deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
    background: linear-gradient(140deg, #f0424f 0%, #8a262d 100%), linear-gradient(325deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
}


.sales-slider .swiper-slide img {
    position: absolute;
    right: 0;
    bottom: 0;
    border-bottom-right-radius: 25px;
}

.sales-slider .swiper-slide h4,
.sales-slider .swiper-slide p {
	max-width: 233px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	color: #fff;
}

section#content_frame .sales-slider .swiper-slide h4 {
	font-weight: 700;
	font-size: 24px;
	color: #fff;
	margin-bottom: 13px;
	margin-top: 0;
	padding: 0;
    text-align: left;
}

section#content_frame .sales-slider .swiper-slide p {
	font-weight: 700;
	font-size: 14px;
	line-height: 157%;
	color: #fff;
	margin-bottom: 13px;
	margin-top: 0;
	display: inline-block;
}

.sales-slider .swiper-slide a {
	border-radius: 10px;
	padding: 10px 35px;
	background: #f0424f;
	font-weight: 400;
	font-size: 16px;
	color: #fff;
	display: inline-block;
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
}

.sales-slider .swiper-slide:nth-child(even) a {
    background: #fff;
    color: #f0424f;
}

#sales .swiper-button-next,#sales .swiper-button-prev {
    position: static;
    background: #24325f;
    width: 36px;
    height: 36px;
    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;
    border-radius: 100%;
    padding: 8px;
    margin: 0!important
}

#sales .swiper-button-disabled {
    background: #e5e5e5
}

#sales .swiper-button-disabled path {
    fill: #6c6c6c
}

#sales .swiper-button-next:after,#sales .swiper-button-prev:after {
    display: none
}

#sales .swiper-pagination {
    width: auto!important;
    position: static!important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

#sales .swiper-pagination-bullet {
    background: #e5e5e5;
    opacity: 1!important;
    width: 10px;
    height: 10px
}

#sales .swiper-pagination-bullet-active {
    background: #24325f
}

.sales-navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 22px;
    margin-top: 25px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#sales h2 {
	font-size: 30px;
    padding-top: 0;
    margin-left: 0;
    width: 100%;
    font-weight: 700;
    text-align: left;
    margin-bottom: 35px;
}

.banner-tg {
    border-radius: 25px;
    background: -o-linear-gradient(49deg, #2d375b 0%, #5f75c1 100%);
    background: linear-gradient(41deg, #2d375b 0%, #5f75c1 100%);
    color: #fff;
    padding: 47px 30px;
	position: relative;
}

.banner-tg h2 {
	    padding: 0;
    color: #fff;
    margin-bottom: 7px;
}

section#content_frame .banner-tg p {
	    margin-bottom: 35px;
	font-size: 16px;
	line-height: 125%;
    color: #fff;
}

.banner-btn {
    border-radius: 15px;
    padding: 15px 61px;
    /* width: 326px; */
    /* height: 50px; */
    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;
    background: #f0424f;
    gap: 20px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 125%;
}

.banner-btn.blue {
	background: #27a6e6;
}


.banner-tg .banner-btn {
	    max-width: 326px;
}

.banner-tg img {
	    position: absolute;
    bottom: 0;
    right: 130px;
}

#ask-price,
.ask-price {
margin-top: 40px;
    margin-right: auto;
    width: 100%;
    margin-left: 3%;
}

.contact-banner {
    padding: 60px 65px;
    border-radius: 25px;
    border: 1px solid #cacaca;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 50px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

    
}

.contact-banner.blue {
	background: -o-linear-gradient(49deg, #2d375b 0%, #5f75c1 100%);
	background: linear-gradient(41deg, #2d375b 0%, #5f75c1 100%);
	border: none;
}

.contact-banner h3 {
    padding: 0;
    font-weight: 700;
    font-size: 33px;
    line-height: 121%;
    margin-bottom: 20px;
	color: #2d375b;
    margin-top: 0 !important;
}

.contact-banner p {
	font-weight: 400;
font-size: 16px;
color: #000;
margin-bottom: 0 !important;
}

.contact-banner.blue h3, 
.contact-banner.blue p {
	color: #fff
}

.contact-banner .btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
}

.reviews-swiper .content p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.reviews-swiper .expanded .content p {
	-webkit-line-clamp: none;
    line-clamp: none;
}

.reviews-swiper .more {
	border: none;
	padding: 0;
	font-weight: 600;
	color: #24325f;
	background: transparent;
    cursor:pointer;
}

section#gallery { width: 100%; margin-top: 60px; background:var(--dark-blue3);}
section#gallery h2 {font-size: 33px; color: var(--white); text-shadow: 0 0 6px var(--alpha-dark);
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; width: 600px; text-align: center; margin-left: calc(50% - 300px); 
    padding-top: 50px; letter-spacing: 1px;}
section#gallery ul {max-width:1200px;margin-left:calc(50% - 600px);margin-top:30px;padding-bottom: 90px; 
    display: -webkit-box; 
    display: -ms-flexbox; 
    display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;}
section#gallery ul li {border: 1px solid var(--white2); border-radius: 6px;
    margin: 8px; width: 180px; height: 180px; -webkit-transition: all .15s linear; -o-transition: all .15s linear; transition: all .15s linear;}
section#gallery ul li img {width: 180px; height: 180px; border-radius: 6px; 
    -webkit-filter:sepia(.3); 
            filter:sepia(.3); -webkit-transition: -webkit-filter .15s linear; transition: -webkit-filter .15s linear; -o-transition: filter .15s linear; transition: filter .15s linear; transition: filter .15s linear, -webkit-filter .15s linear;}
section#gallery ul li:hover {border: 1px solid var(--white); -webkit-box-shadow: 0 0 10px var(--alpha-dark); box-shadow: 0 0 10px var(--alpha-dark);
    cursor: pointer; -webkit-transform: scale(1.05); -ms-transform: scale(1.05); transform: scale(1.05);}
section#gallery ul li:hover img {-webkit-filter:sepia(0) contrast(1.2);filter:sepia(0) contrast(1.2);}
@media (min-width: 260px) and (max-width: 320px) {
	section#gallery {  margin-top: 30px; }
	section#gallery h2 {font-size: 15px; line-height: 24px; width: 100%; margin-left: unset; padding-top: 25px;}
	section#gallery ul {width: calc(100% - 20px); margin-left: unset; padding-left: 10px; margin-top:10px;padding-bottom: 10px;}
	section#gallery ul li, section#gallery ul li img {width: 35vw; height: 35vw;}
}
@media (min-width: 321px) and (max-width: 439px) {
	section#gallery {  margin-top: 30px; }
	section#gallery h2 {font-size: 17px; line-height: 26px; width: 100%; margin-left: unset; padding-top: 25px;}
	section#gallery ul {width: calc(100% - 30px); margin-left: unset; padding-left: 15px; margin-top:15px;padding-bottom: 15px;}
	section#gallery ul li, section#gallery ul li img {width: 20vw; height: 20vw;}
}
@media (min-width: 440px) and (max-width: 679px) {
	section#gallery {  margin-top: 30px; }
	section#gallery h2 {font-size: 20px; line-height: 26px; width: 100%; margin-left: unset; padding-top: 25px;}
	section#gallery ul {width: calc(100% - 60px); margin-left: unset; padding-left: 30px; margin-top:15px;padding-bottom: 15px;}
	section#gallery ul li, section#gallery ul li img {width: 20vw; height: 20vw;}
}
@media (min-width: 680px) and (max-width: 1023px) {
	section#gallery {  margin-top: 30px; }
	section#gallery h2 {font-size: 22px; width: 100%; margin-left: unset; padding-top: 30px;}
	section#gallery ul {width: calc(100% - 120px); margin-left: unset; padding-left: 55px; margin-top:20px;padding-bottom: 30px;}
	section#gallery ul li, section#gallery ul li img {width: 15vw; height: 15vw;}
}
@media (min-width: 1024px) and (max-width: 1439px) {
	section#gallery h2 {font-size: 24px; width: 100%; margin-left: unset;}
	section#gallery ul {width: calc(100% - 210px); margin-left: unset; padding-left: 140px; }
	section#gallery ul li, section#gallery ul li img {width: 144px; height: 144px;}
}

section#gallery {
	margin-top: 75px;
	background: transparent;
}

section#gallery ul {
	max-width: 100%;
    padding: 0;
    margin: 0;
    display: -ms-grid;
    display: grid;
	-ms-grid-columns: calc(100% / 3 - 13px) 20px calc(100% / 3 - 13px) 20px calc(100% / 3 - 13px);
	grid-template-columns: repeat(3, calc(100% / 3 - 13px));
	gap: 20px;
    -ms-grid-rows: 1fr 20px 1fr;
    grid-template-rows: 1fr 1fr;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: start;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: start;
	width: 100%;
}

section#gallery ul > *:nth-child(1) {-ms-grid-row:1;-ms-grid-column:1;
}

section#gallery ul > *:nth-child(2) {-ms-grid-row:1;-ms-grid-column:3;
}

section#gallery ul > *:nth-child(3) {-ms-grid-row:1;-ms-grid-column:5;
}

section#gallery ul > *:nth-child(4) {-ms-grid-row:3;-ms-grid-column:1;
}

section#gallery ul > *:nth-child(5) {-ms-grid-row:3;-ms-grid-column:3;
}

section#gallery ul > *:nth-child(6) {-ms-grid-row:3;-ms-grid-column:5;
}

section#gallery ul li {
	border: none;
	border-radius: 25px;
	width: 100%;
	height: 100%;
	margin: 0;
}

section#gallery ul li img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	   object-fit: cover;
	display: block;
	border-radius: 25px;
}


section#gallery ul li:nth-child(1) {
	-ms-grid-row: 1;
	-ms-grid-row-span: 2;
	grid-row: 1 / 3;
    -ms-grid-column: 1;
    grid-column: 1;
	aspect-ratio: 1;
}

section#gallery ul li:nth-child(2) {
	    -ms-grid-row: 1;
	    grid-row: 1;
    -ms-grid-column: 2;
    grid-column: 2;
    aspect-ratio: 3;
}

section#gallery ul li:nth-child(3) {
	-ms-grid-row: 1;
	grid-row: 1;
    -ms-grid-column: 3;
    grid-column: 3;
    aspect-ratio: 3;
}

section#gallery ul li:nth-child(4) {
	-ms-grid-row: 2;
	grid-row: 2;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 2 / 4;
    aspect-ratio: 6;
}

section#gallery h2 {
	padding: 0;
	margin: 0;
	text-align: left;
	font-weight: 700;
	font-size: 30px;
	line-height: 120%;
	color: #24325f;
	margin-bottom: 35px;
	text-shadow: none;
	width: auto;
	letter-spacing: normal;
}

section#gallery {
        margin-top: 40px;
    margin-right: auto;
    width: 100%;
    margin-left: 3%;
}

/* gallery modal */
@-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }}
@keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }}
div#galleryList {width: 100%; max-width: 1200px; position: fixed; top:30px; left: calc(50% - 600px);
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex; -ms-flex-wrap:wrap; flex-wrap:wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;}
div#galleryList img {border: 1px solid var(--black2); width: 75px; -webkit-transition: all .3s linear; -o-transition: all .3s linear; transition: all .3s linear; margin: 5px; border-radius: 6px;}
div#galleryList img.selected {border: 1px solid var(--white); -webkit-box-shadow: 0 0 25px var(--white); box-shadow: 0 0 25px var(--white);
	-webkit-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear; -webkit-filter:contrast(1.5); filter:contrast(1.5); }
div#galleryList img:hover {border: 1px solid var(--white2); cursor: pointer;  -webkit-filter:sepia(.7);  filter:sepia(.7);}
div#modal-wrapper div.gallery-loader {width: 50px; height: 50px; position: fixed; top:calc(50% - 25px); left: calc(50% - 25px);
	border-radius: 50%; border: 5px solid var(--black2); border-top: 5px solid var(--white2); -webkit-animation: spin .8s linear infinite; animation: spin .8s linear infinite;
	-webkit-transition: opacity .3s linear;
	-o-transition: opacity .3s linear;
	transition: opacity .3s linear; opacity: 0;}
div#modal-wrapper div.gallery-loader.show {opacity: 1;}
div#modal-wrapper div#big-frame {position: fixed; top:150px; width:100%; height: calc(100vh - 215px); overflow:hidden;}
div#modal-wrapper div#big-wrapper {width: 100%; max-width: 1200px; left: 105%; height: calc(100% - 5px); 
	border-radius: 8px; position: absolute; -webkit-transition: all .3s linear; -o-transition: all .3s linear; transition: all .3s linear; opacity: 0; -webkit-transform: scale(0.8); -ms-transform: scale(0.8); transform: scale(0.8);}
div#modal-wrapper div#big-wrapper img {float: right; margin-top: 5px; margin-right: 30px; width: 150px; opacity: .7;}
div#modal-wrapper div#big-wrapper span {float: left; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; 
	color:var(--white2); font-size: 14px; min-width: calc(75% - 250px); height: 50px; padding-left: 30px; border-radius: 8px 0 0 0;
	background: -webkit-gradient(linear, left top, right top, from(var(--alpha-dark)), to(rgba(0,0,0,0)));
	background: -o-linear-gradient(left, var(--alpha-dark) 0%, rgba(0,0,0,0) 100%);
	background: linear-gradient(90deg, var(--alpha-dark) 0%, rgba(0,0,0,0) 100%);}
div#modal-wrapper div#big-wrapper.loaded {left: calc(50% - 600px); opacity: 1;-webkit-transform: scale(1);-ms-transform: scale(1);transform: scale(1);}
div#modal-wrapper div#galleryControls {position: fixed; bottom:30px; width: 240px; height: 80px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -ms-flex-pack: distribute; justify-content: space-around;
	background: var(--dark-blue3);border-radius: 6px; border-bottom: 1px solid var(--white2); border-top: 1px solid var(--white2);}
div#modal-wrapper div#galleryControls button {background:var(--dark-blue3); width: 80px; height: 80px; 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;
	-webkit-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear; color: var(--white); font-size: 40px; line-height: 40px; padding: 0; border: none; -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; user-select:none;}
div#modal-wrapper div#galleryControls button:first-child {-webkit-transform: scale(-1, -1);-ms-transform: scale(-1, -1);transform: scale(-1, -1); border-radius:0 8px 8px 0;}
div#modal-wrapper div#galleryControls button:last-child {border-radius:0 8px 8px 0;}
div#modal-wrapper div#galleryControls button:hover {background:var(--white2); border-radius: 8px;
	cursor: pointer; color: var(--dark-blue3); -webkit-box-shadow: 0 0 25px var(--black2); box-shadow: 0 0 25px var(--black2);}
div#modal-wrapper div#galleryControls button.active {border-radius: 8px;background:var(--white);color: var(--red);-webkit-box-shadow: 0 0 25px var(--white);box-shadow: 0 0 25px var(--white);}
@media (min-width: 260px) and (max-width: 320px) {
	div#modal-wrapper button#modal-close {top: 10px; right:10px;}
	div#galleryList {top:15px; left: 10px; max-width: calc(100% - 50px);}
	div#galleryList img {width: 30px;}
	div#modal-wrapper div#big-frame {top:unset; height: calc(100vh - 230px); margin-top: 10px;}
	div#modal-wrapper div#big-wrapper {max-width: calc(100% - 20px);}
	div#modal-wrapper div#big-wrapper.loaded {left: 10px;}
	div#modal-wrapper div#big-wrapper img {float:unset;position:absolute;bottom:calc(50% - 40px);right:calc(50% - 150px);margin-top:unset;margin-right:unset;width:300px;opacity: .1;}
	div#modal-wrapper div#galleryControls {left:10px; width: 150px; height: 50px; bottom: 10px;}
	div#modal-wrapper div#galleryControls button { width: 50px; height: 50px;  font-size: 25px; line-height: 25px;}
	div#modal-wrapper div#big-wrapper span {width: calc(100% - 10px);font-size:12px;line-height: 16px; min-width:unset; 
		height: 40px;padding-left:10px;border-radius:8px 0 0 0;-o-text-overflow: ellipsis;text-overflow: ellipsis;}
}
@media (min-width: 321px) and (max-width: 439px) {
	div#modal-wrapper button#modal-close {top: 15px; right:15px;}
	div#galleryList {top:15px; left: 15px; max-width: calc(100% - 75px);}
	div#galleryList img {width: 35px;}
	div#modal-wrapper div#big-frame {top:unset; height: calc(100vh - 230px); margin-top: 15px;}
	div#modal-wrapper div#big-wrapper {max-width: calc(100% - 30px);}
	div#modal-wrapper div#big-wrapper.loaded {left: 15px;}
	div#modal-wrapper div#big-wrapper img {float:unset;position:absolute;bottom:calc(50% - 40px);right:calc(50% - 150px);margin-top:unset;margin-right:unset;width:300px;opacity: .1;}
	div#modal-wrapper div#galleryControls { width: 150px; height: 50px; bottom: 25px;}
	div#modal-wrapper div#galleryControls button { width: 50px; height: 50px;  font-size: 25px; line-height: 25px;}
	div#modal-wrapper div#big-wrapper span {width: 100%; font-size: 12px; line-height: 16px; min-width: unset; 
		height: 40px; padding-left: 15px; border-radius: 8px 0 0 0; -o-text-overflow: ellipsis; text-overflow: ellipsis;}
}
@media (min-width: 440px) and (max-width: 679px) {
	div#modal-wrapper button#modal-close {top: 15px; right:15px;}
	div#galleryList {top:15px; left: 15px; max-width: calc(100% - 75px);}
	div#galleryList img {width: 35px;}
	div#modal-wrapper div#big-frame {top:80px; height: calc(100vh - 140px);}
	div#modal-wrapper div#big-wrapper {max-width: calc(100% - 30px);}
	div#modal-wrapper div#big-wrapper.loaded {left: 15px;}
	div#modal-wrapper div#big-wrapper img {float: unset; position: absolute; bottom:15px; right:15px;  margin-top: unset; margin-right: unset; width: 150px; opacity: .7;}
	div#modal-wrapper div#galleryControls {left:30px; width: 180px; height: 60px; bottom: 60px;}
	div#modal-wrapper div#galleryControls button { width: 60px; height: 60px;  font-size: 30px; line-height: 30px;}
}
@media (min-width: 680px) and (max-width: 1023px) {
	div#modal-wrapper button#modal-close {top: 15px; right:15px;}
	div#galleryList {top:15px; left: 15px; max-width: calc(100% - 75px);}
	div#galleryList img {width: 35px;}
	div#modal-wrapper div#big-frame {top:80px; height: calc(100vh - 140px);}
	div#modal-wrapper div#big-wrapper {max-width: calc(100% - 30px);}
	div#modal-wrapper div#big-wrapper.loaded {left: 15px;}
	div#modal-wrapper div#galleryControls {left:30px; width: 180px; height: 60px; bottom: 15px;}
	div#modal-wrapper div#galleryControls button { width: 60px; height: 60px;  font-size: 30px; line-height: 30px;}
}
@media (min-width: 1024px) and (max-width: 1439px) {
	div#galleryList {left: calc(50% - 450px); max-width: 900px;}
	div#modal-wrapper div#big-frame {top:130px; height: calc(100vh - 195px);}
	div#galleryList img {width: 55px;}
	div#modal-wrapper div#big-wrapper {max-width: calc(100% - 150px);}
	div#modal-wrapper div#big-wrapper.loaded {left: 75px;}
}

.content .contact-banner {
    width: calc(80% - 130px);
}

section#content_frame .contact-banner.blue p {
    margin-bottom: 0;
    color: #fff;
}

section#content_frame .contact-banner.blue h3 {
    color: #fff;
}

@media screen and (max-width: 998px) {
	.contact-banner {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
    	-webkit-box-align: start;
    	    -ms-flex-align: start;
    	        align-items: flex-start;
	}

	.banner-tg img {
		display: none;
	}

    .banner-btn {
        padding: 15px 30px;
    }

    section#gallery ul {
		-ms-grid-columns: (calc(100% / 2 - 13px))[2];
		grid-template-columns: repeat(2, calc(100% / 2 - 13px));
	}

	section#gallery ul li:nth-child(1) {
		grid-row: auto;
		grid-column: auto;
		aspect-ratio: 1;
	}

	section#gallery ul li:nth-child(2) {
			grid-row: auto;
		grid-column: auto;
		aspect-ratio: 1;
	}

	section#gallery ul li:nth-child(3) {
		grid-row: auto;
		grid-column: auto;
		aspect-ratio: 1;
	}

	section#gallery ul li:nth-child(4) {
		grid-row: auto;
		grid-column: auto;
		aspect-ratio: 1;
	}
}

@media screen and (max-width: 768px) {
    section#price-list, div#guaranty, section#repair-info, section#form-callback, section#additional-information, section#reading, section#yandex-reviews, section#reviews, #ask-price, .ask-price, section#gallery {
        margin-left: 2%;
        width: calc(100% - 4%);
    }

    .contact-banner .banner-btn {
		width: -webkit-fill-available;
		width: -moz-available;
		width: stretch;
	}

	.contact-banner .btns {
		width: 100%;
	}

	.contact-banner h3 {
		font-size: 17px !important;
		margin-bottom: 14px !important;
	}

	.contact-banner {
		gap: 14px;
		padding: 30px;
	}

    .content .contact-banner {
        width: auto;
    }

        #sales h2 {
        font-size: 20px;
    }

    section#gallery h2 {
        font-size: 20px;
    }

    .sales-slider .swiper-slide img {
        max-width: 52%;
    }
}