body {
    font-size: 16px;
    line-height: 1.4;
}

p {
    margin: 16px auto;
}

h1, .welcome {
    font-family: "Open Sans", sans-serif;
    color: #0090a4;
    margin: 16px 0 16px 0;
    font-size: 42px;
    line-height: 1.4;
    font-weight: 900;
    text-transform: uppercase;
}

.true_h1 {
    font-size: 48px;
    padding-left: 70px;
}

h2, p.h2 {
    color: #000000;
}

h2 {
    font-family: "Open Sans";
    font-size: 24px;
    line-height: 1.4;
    font-weight: 900;
    color: #000000;
    margin: 16px auto;
}

h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    text-transform: uppercase;
    color: #272727;
}

#header.scrolled {
    height: 99px;
}

.highlight {
    color: #fff !important;
    /*color: #ff404e !important;*/
}

.text-center {
    text-align: center;
}

a, a:visited, a b {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #006f80;
    text-decoration: underline;
}

a.button, button.button,
#top-links > a,
#top-phones1 > div, #top-phones2 > div,
#top-menu > div > ul > li > a {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

a.button, button.button {
    cursor: pointer;
    color: #fff !important;
    background-color: #ff404e !important;
    text-decoration: none !important;
}

a.button:hover, button.button:hover {
    color: #fff !important;
    background-color: #ff0013 !important;
}

#page-okna h2 {
    font-family: "Open Sans";
    font-size: 26px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    margin: 0 auto 24px auto;
}

#actions h2 {
    text-shadow: none;
    font-family: "Open Sans";
    font-size: 44px;
    font-weight: 900;
    text-transform: uppercase;
    color: #00444d;
    position: relative;
    padding: 28px 0 32px 128px;
}

#header.scrolled #top-phones2 > .button, a.button, button.button {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    padding: 8px 14px 11px 14px;
    background-color: #e5213c;
    box-shadow: 0 4px 4px rgba(1, 0, 0, 0.2);
    text-shadow: none !important;
}

#top-menu > div > ul > li > a {
    font-size: 18px;
    font-weight: 600;
    line-height: 38px;
}

#header {
    background-color: #0090a4;
    border-top: 1px solid #0090a4;
    transition: all 0.25s;
}

#top-menu {
    background-color: #0090a4;
    background: linear-gradient(180deg, #01B2CB 0%, #07a4ba 100%);
}

#header a.logo {
    background-image: url(/image/logo2.webp);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size: 154px 86px;
    width: 154px;
    padding-top: 92px;
    font-family: 'Open Sans', serif;
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 100%;
    color: #FFFFFF;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 10px;
    transition: all 0.25s;
}

#top-phones1 > div > a.viber, .telegram, .instagram {
    top: 12px;
}

#top-phones1 > div > a.viber, .telegram, .instagram {
    right: -44px;
}

#top-phones1 > div > a.instagram {
    right: -104px !important;
}

#top-phones1 > div > a.telegram {
    right: -73px !important;
}

#top-phones2 > div:nth-of-type(1) {
    margin-left: 42px;
}

/* Форма заявки на страницах */

#callback-form {
    background-color: #bbdaed;
    min-width: 384px;
    box-shadow: 0 4px 4px rgba(1, 0, 0, 0.2);
    background-image: linear-gradient(to bottom, #bbdaed, #adcfe4);
}

#questions #callback-form .form-head {
    font-family: "Open San", sans-serif;
    font-size: 24px;
    line-height: 1.4;
    padding: 20px 0 0 0;
}

#callback-form label {
    color: #2c3e50;
}

#callback-form .form-head {
    background-color: #0090a4;
    box-shadow: none;
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 20px;
    line-height: 1.3;
    padding: 0;
    margin: 0 auto;
}

html.webp #questions {
    background-image: none;
}

#our_certificates {
    margin: 24px auto 48px auto;
}

#balkon-ramy h3 {
    color: #000000;
    padding-left: 0;
}

#page-okna #variants,
#page-okna #spektr,
#actions {
    padding: 0;
}

#page-okna #variants h3 {
    font-family: "Open Sans Condensed";
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    color: #00444d;
}

#page-okna #variants li {
    font-size: 16px;
    line-height: 1.2;
    color: #00444d;
    font-weight: 400;
}

#page-okna #variants li.simple {
    position: relative;
    text-align: left;
    padding-left: 48px;
}

#page-okna #variants li.simple:before {
    content: '-';
    position: absolute;
    left: 32px;
    top: 0;
}

/* Таблица по рассрочке */

.installment-plan-table {
    margin-top: 48px;
}

.installment-plan-table .money, .installment-plan-table .calendar, .installment-plan-table .byn {
    text-align: left;
    background-size: 42px 42px;
    background-position: left center;
    background-repeat: no-repeat;
    min-height: 42px;
    padding-left: 57px;
    display: flex;
    align-items: center;
    margin: 0px 0 10px 23px;
}

.installment-plan-table .money {
    background-image: url("/catalog/view/theme/default/image/coins2.png");
}

.installment-plan-table .calendar {
    background-image: url("/catalog/view/theme/default/image/calendar.png");
}

.installment-plan-table .byn {
    background-image: url("/catalog/view/theme/default/image/BYN.png");
}

/* Главная страница */

#page-okna h1 {
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    line-height: 1.4;
    font-weight: 900;
    color: #0090a4;
}

.pvh_main .title_block {
    margin-top: 0;
    padding-top: 0;
}

.our_reviews__item_simple {
    padding: 24px;
    transition: all 0.3s ease;
    margin: 24px auto;
    width: 50%;
    min-height: 120px;
    text-align: center;
    border-radius: 16px;
}

.our_reviews__item_simple.yandex-reviews {
    width: 40%;
}

.our_reviews__item_simple.yandex-reviews > div {
    width: auto !important;
}

.our_reviews__item_simple.google-reviews {
    width: 60%;
}

.our_reviews__item--wrapper {
    max-width: 380px;
    margin: 0 auto;
}

.our_reviews__item--wrapper h3 {
    margin: 32px 16px;
}

.our_reviews__item--wrapper h3 {
    margin: 32px 16px;
}

.our_reviews__item_simple {
    color: var(--color-gray-dark-darker);
    background: var(--color-white);
}

.our_reviews__item--wrapper h3 {
    color: var(--color-gray-dark-darker);
}

#callback-form:after {
    width: 100%;
    height: 420px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: -110%;
    top: -20px;
    z-index: 99;
}

#questions #callback-form:after {
    background-image: url("/image/content/6u7v8w9x0y1za2.png");
}

#page-okna #profiles .greenhouse-60,
#page-okna #profiles .greenhouse-70 {
    background-image: url("/image/content/mainpage/8m9n0o1p2q3rs4.jpg");
}

#page-okna #profiles .brusbox-60,
#page-okna #profiles .brusbox-70 {
    background-image: url("/image/content/mainpage/5t6u7v8w9x0yz1.jpg");
}

#page-okna #profiles .kommerling-70-pro {
    background-image: url("/image/content/mainpage/2a3b4c5d6e7f89.jpg");
}

#page-okna #profiles .kommerling-76 {
    background-image: url("/image/content/mainpage/2a3b4c5d6e7f89.jpg");
}

/* Страница "Обшивка балконов и лоджий в Минске" */

#laminate-samples {
    margin: 48px auto;
}

.carousel_laminate_samples {
}

.carousel_laminate_samples img {
    width: 183px;
    height: 137px !important;
}

.carousel_laminate_samples .owl-item a {
    position: relative;
}

.carousel_laminate_samples .owl-item a::after {
    content: attr(data-index);
    z-index: 9;
    position: absolute;
    top: 2px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    color: white;
    background: #01b2cb;
    font-weight: 400;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Страница "Балконные рамы в рассрочку" */

html.webp #balkon-ramy .item-1 h3,
html.webp #balkon-ramy .item-2 h3,
html.webp #balkon-ramy .item-3 h3 {
    text-align: center;
}

/* Акционный таймер; начало */

.timer {
    display: flex;
    grid-template-columns: 4.5rem 0.5rem 4.5rem 0.5rem 4.5rem 0.5rem 4.5rem;
    font-size: 9rem;
    justify-items: center;
    text-align: center;
    align-items: center;
    margin: 64px auto;
    width: 100%;
    flex-direction: row;
    justify-content: center;
}

[class="timer-block"] .timer .timer__item {
    position: relative;
    padding: 4px 4px;
    color: #ffffff;
    /*background: #623583;*/
    background: #009bb1;
    background: linear-gradient(180deg, #01B2CB 0%, #008FA3 100%);
    border-radius: 8px;
}

[class="timer-block"] .flip-action-pan {
    background: #009bb1;
    background: linear-gradient(180deg, #01B2CB 0%, #008FA3 100%);
    font-size: 1.5rem;
    line-height: 1.6;
    height: 66px;
}

.timer__item::before {
    content: attr(data-title);
    display: block;
    position: absolute;
    bottom: -4.05rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.4rem;
    color: #000000;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
    /* font-size: 0.375em; */
    text-align: center;
    color: #f6d32d;
    text-transform: uppercase;
    text-shadow: #320455 1px 0 10px;
    font-weight: bold;
}

.timer-block {
    padding: 24px 0;
}

/* Акционный таймер; окончание */

/* Обшивка балконов и лоджий */

.card-item {
    margin: 0 auto 24px auto;
}

.card-item p {
    margin: 12px auto;
}

#obshivka-balkonov {
}

div.calculator {
    background-color: #1AA0B2;
    background: linear-gradient(180deg, #01B2CB 0%, #008FA3 100%);
}

.running-rows-block {
    position: relative;
    overflow: hidden;
    height: 39px;
    /*background: #bbdaed;*/
    background: #ff0000 !important;
}

.running-rows-block .show {
    display: flex; /* Используем flex для горизонтального расположения */
    transition: transform 0.5s ease;
}

.running-rows-block .show > div {
    font-family: "Open Sans", sans-serif;
    color: #fff !important;
    font-size: 18px;
    line-height: 39px;
    text-align: center;
    white-space: nowrap;
    flex: none; /* Запрет на сжатие */
}

.phone-block {
    text-align: center;
}

/* ОБНОВЛЕНИЕ КОНТЕНТА: ОБНОВЛЕНИЕ СТИЛИСТИКИ: НАЧАЛО */

html.webp #home-visual-cont:after {
    background-image: none !important;
    content: "Осенние скидки на все виды работ!";
    position: absolute;
    left: 0;
    top: 59%;
    margin-top: -80px;
    color: #fff;
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

html.webp #home-visual-cont picture:after {
    background-image: none !important;
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    margin-top: 0;
    margin-bottom: 61px;
    margin-right: 180px;
    color: #fff;
    font-size: 2.0rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    line-height: 1.2;
}

.table-modern-style-1 {
}

.table-modern-style-1 tr td,
.table-modern-style-1 tr th {
    font-size: 2rem;
}

.table-modern-style-1 tr th small, .table-modern-style-1 tr td small {
    display: inline-block;
    font-weight: 100;
    font-size: 14px;
    line-height: 1.2;
    padding: 12px 0 4px 0;
}

.table-modern-style-1 thead {
    color: white;
    background: #00b1cb;
}

.table-modern-style-1 thead tr th {
}

.table-modern-style-1 tbody {
}

.table-modern-style-1 tbody tr td {
}

/* ОБНОВЛЕНИЕ КОНТЕНТА: ОБНОВЛЕНИЕ СТИЛИСТИКИ: ОКОНЧАНИЕ */

/* Footer */

html.webp #footer {
    background-image: none;
}

#footer {
    color: #ffffff;
    background-color: #0090a4;
    font-size: 14px;
    line-height: 1.2;
}

#footer .h3, #footer .h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

#footer p.address a,
#footer p.social {
    color: #fff;
}

@media screen and (min-width: 768px) {
    .only-mobile {
        display: none !important;
    }

    .timer__item {
        min-width: 130px;
    }
}

@media screen and (min-width: 1200px) {
    .desktop-right {
        text-align: right;
    }

    #top-phones1 {
    }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    a.button, button.button {
        font-family: "Open Sans", sans-serif;
    }
}

@media screen and (min-width: 1920px) {
    html.webp #home-visual-cont picture:after {
        right: 15%;
    }
}

@media screen and (max-width: 1439px) {
    html.webp #home-visual-cont picture:after {
        margin-right: 9%;
    }
}

@media screen and (max-width: 1344px) {
    .our_reviews__item_simple {
        margin-left: auto;
        margin-right: auto;
    }

    .our_reviews__item_simple.yandex-reviews {
        width: 40%;
    }

    .our_reviews__item_simple.yandex-reviews > div {
        width: 100% !important;
    }

    .our_reviews__item_simple.google-reviews {
        width: 60%;
    }
}

@media screen and (max-width: 1279px) {
    html.webp #home-visual-cont:after {
        top: 64%;
        margin-right: 5%;
    }
}

@media screen and (max-width: 1199px) {
    html.webp #home-visual-cont:after {
        font-size: 8rem;
        font-weight: 700;
    }

    html.webp #home-visual-cont picture:after {
        margin-right: 12%;
    }

    .our_reviews__item_simple,
    .our_reviews__item_simple.yandex-reviews,
    .our_reviews__item_simple.google-reviews {
        width: 100%;
        padding: 24px;
        margin: 24px auto;
    }

    .our_reviews__item_simple.yandex-reviews {
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    #top-phones1 > div > a.viber, #top-phones1 > div > a.telegram {
        top: -8px;
    }

    #top-phones1 > div > a.telegram {
        right: -43px !important;
        top: 20px;
    }

    #top-phones1 > div > a.instagram {
        right: -43px !important;
        top: 49px;
    }
}

@media screen and (max-width: 991px) {
    h1, h2 {
        text-align: center;
    }

    h1, .welcome {
        margin: 16px auto;
        font-size: 24px;
        line-height: 1.4;
        font-weight: 900;
    }

    #header a.logo {
        background-size: 124px 69px !important;
        min-width: 140px;
        height: 69px;
        margin-top: 9px;
        margin-bottom: 10px;
    }

    #header a.logo span {
        display: none;
    }

    html.webp #home-visual-cont {
        margin-top: 40px;
    }

    #callback-form {
        min-width: 284px;
    }

    .true_h1 {
        text-align: center;
        text-align-last: center !important;
        font-size: 24px;
        padding-left: 0;
    }

    #callback-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 24px auto;
    }

    html.webp #home-visual-cont:after {
        font-size: 6rem;
    }

    html.webp #home-visual-cont picture:after {
        font-size: 3rem;
        margin-right: 5%;
    }

    #questions h4 {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .only-desktop {
        display: none !important;
    }

    #home-visual {
        margin-bottom: 0;
    }

    html.webp #home-visual-cont:after {
        top: 74%;
        margin-right: 5%;
    }

    html.webp #home-visual-cont picture:after {
        bottom: -40px;
    }

    .running-rows-block .show > div {
        font-size: 16px;
    }

    html.webp #home-visual-cont:after {
       font-family: 'Georgia', sans-serif !important;
        font-weight: 900 !important;
        font-size: 32px !important;
        top: 90% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center !important;
        width: 90% !important;
        margin: 0 !important;
    }

    html.webp #home-visual-cont picture:after {
        bottom: 0;
        font-size: 2rem;
        margin-right: 16%;
    }

    .timer {
        margin: 32px auto;
        font-size: 6rem;
    }

    .our_reviews__item_simple > div {
        width: 100% !important;
        max-width: 100% !important;
    }

    .our_reviews__item_simple {
        margin-bottom: 24px;
        width: 100%;
    }

    #actions h2 {
        font-size: 17px;
        font-weight: 700;
        padding: 38px 0 32px 128px;
    }
}

@media screen and (max-width: 661px) {
    #top-phones1 {
        margin-right: 34%;
    }

    #top-phones1 > div > a.viber, #top-phones1 > div > a.telegram {
        top: -12px;
    }

    #top-phones1 > div > a.telegram {
        top: 16px;
    }

    #top-phones1 > div > a.instagram {
        top: 45px;
    }
}

@media screen and (max-width: 479px) {
    html.webp #home-visual-cont:after {
        top: 74%;
        margin-right: 5%;
        font-size: 2.6rem;
    }

    html.webp #home-visual-cont picture:after {
        bottom: -40px;
        font-size: 1.6rem;
    }

    #header a.logo {
        background-size: 106px 59px !important;
        min-width: 106px;
        max-width: 130px;
        height: 59px;
        padding-top: 0px !important;
        margin-top: 9px;
        margin-bottom: 11px;
    }

    #top-phones1 > div > a.viber, #top-phones1 > div > a.telegram {
        top: -14px;
    }

    #top-phones1 > div > a.telegram {
        top: 11px;
    }

    #top-phones1 > div > a.instagram {
        top: 38px;
    }

    .timer__item::before {
        bottom: -3.05rem;
        font-size: 1.65rem;
    }
}

@media screen and (max-width: 399px) {
    html.webp #home-visual-cont:after {
        top: 74%;
    }

    html.webp #home-visual-cont picture:after {
        font-size: 1.4rem;
        bottom: -50px;
        margin-right: 10%;
    }
}