/* Общие стили и респонсивность */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial Black', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Сбрасываем некоторые базовые стили */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

.left { float: left; }
.right { float: right; }
.clear { clear: both; }

p {
    padding: 0;
    margin: 0;
}

.invis { display: none; }

#wrapper {
    width: 100%;
    overflow: hidden;
}

/* Секции - общие стили */
.section {
    width: 100%;
    position: relative;
    padding: 30px 0;
    line-height: 150%;
    border-bottom: 1px solid #e0e0e0;
}

.section.hide_line {
    border-bottom: none;
    padding-bottom: 1px;
}

.section_inner {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Формы и поля ввода */
.field {
    color: #000;
    margin-bottom: 15px;
}

.field input[type="text"],
.field textarea {
    display: block;
    width: 100%;
    padding: 7px 10px;
    border: solid 1px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    color: #313131;
}

.field input[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px 10px;
    border: solid 2px;
    margin-bottom: 15px;
    color: #fff;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
}

.field input[type="submit"]:hover {
    background: rgba(0,0,0,0.1);
}

.field textarea {
    min-height: 70px;
}

.field_description {
    font-size: 12px;
    color: #666;
}

/* Всплывающие окна */
.popup_form,
.popup_thanks {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 100;
}

.popup_form_inner,
.popup_thanks_inner {
    width: 90%;
    max-width: 400px;
    height: auto;
    background: #fff;
    padding: 15px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.popup_form_title,
.popup_thanks_title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
    margin-right: 20px;
}

.popup_form_close,
.popup_thanks_close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #000;
}

.popup_form_text {
    font-size: 12px;
    color: #000;
    line-height: 120%;
}

/* Стили шапки (section103) */
.section103 .slogan {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.section103 .text1 {
    font-size: 24px;
}

.section103 .text2 {
    font-size: 16px;
}

.section103 .logo_img {
    text-align: center;
    margin-bottom: 20px;
}

.section103 .phone-and-btn {
    text-align: center;
}

.section103 .phone1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.mobile-call-btn {
    display: inline-block;
    padding: 10px 20px !important;
    margin-top: 10px;
    text-align: center;
}

/* Стили навигации (section116) */
.section116 .menu1 {
    width: 100%;
    position: relative;
}

.menu-toggle {
    display: none;
    background: orange;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.section116 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.section116 li {
    margin: 0;
    padding: 0;
    display: inline-block;
    line-height: 45px;
}

.section116 ul a {
    border-bottom: 1px solid;
    color: orangered;
    margin: 0 13px;
    padding: 1px 0;
    text-decoration: none;
    font-size: 22px;
}

.section116 a:hover {
    border-bottom: none;
}

/* Стили для секции с формой (section154) */
.section154 {
    background-size: cover;
    background-position: center;
}

.section154 .dark {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
}

.section154 .headliner {
    width: 100%;
    position: relative;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.section154 .title {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 130%;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.section154 .sub_title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.section154 .form_wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #FEFDFB;
    padding: 20px;
    border-radius: 5px;
    position: relative;
}

.section154 .form_title {
    text-align: center;
    color: #666;
    font-size: 22px;
}

.section154 .form_sub_title {
    text-align: center;
    color: #333;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Стили для "Почему мы" (section117) */
.why-us-title {
    display: block;
    font-size: 30px;
    line-height: 2;
    background: orange;
    color: white;
    padding: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.section117 .col_2 {
    width: 100%;
}

.section117 .descr1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.section117 .txt1 {
    font-size: 18px;
    line-height: 1.8;
    color: orangered;
}

/* Стили для секции "Производители" (section152) */
.manufacturers-title {
    display: block;
    font-size: 30px;
    line-height: 2;
    background: orange;
    color: white;
    padding: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.section152 .arr1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    height: auto;
    padding-bottom: 20px;
}

.section152 .image_box1,
.section152 .image_box2,
.section152 .image_box3,
.section152 .image_box4,
.section152 .image_box5 {
    width: calc(33.33% - 10px);
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0;
}

/* Стили для секции "Продукция" (section151) */
.products-title {
    display: block;
    font-size: 30px;
    line-height: 2;
    background: orange;
    color: white;
    padding: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.products-list {
    font-size: 18px;
    line-height: 1.8;
    color: orangered;
}

.highlight-red {
    background: red;
    color: white;
    font-size: 20px;
    padding: 3px 5px;
    display: inline-block;
    margin-bottom: 10px;
}

.product-items {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.new-label {
    background: red;
    color: white;
    font-size: 12px;
    padding: 3px 5px;
}

.product-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.product-images img {
    max-width: calc(33.33% - 10px);
    height: auto;
}

/* Стили для секции "Доставка" (section151) */
.delivery-title {
    display: block;
    font-size: 30px;
    line-height: 2;
    background: orange;
    color: white;
    padding: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.delivery-options {
    font-size: 18px;
    line-height: 1.8;
    color: orangered;
}

.delivery-items {
    list-style-type: none;
    padding-left: 0;
}

/* Стили для выставочного зала */
.showroom-title {
    display: block;
    font-size: 30px;
    line-height: 2;
    background: orange;
    color: white;
    padding: 5px;
    text-align: center;
    margin-bottom: 20px;
}

.showroom-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.showroom-img {
    max-width: calc(50% - 10px);
    height: auto;
}

/* Стили для футера (section119) */
.section119 {
    padding-bottom: 40px;
}

.section119 .logo_img {
    text-align: center;
    margin-bottom: 20px;
}

.section119 .address-and-ua {
    text-align: center;
    margin-bottom: 20px;
}

.section119 .address1 {
    font-size: 16px;
}

.section119 .phone-and-address {
    text-align: center;
}

.section119 .phone1 {
    font-size: 20px;
    margin-bottom: 10px;
}

.section119 .text1 {
    margin-bottom: 10px;
}

.section119 .tobiz_link {
    text-decoration: underline;
    color: #888;
}

/* Медиа-запросы для адаптивности */
@media (min-width: 768px) {
    /* Стили для планшетов и больше */
    .section103 .slogan {
        width: 30%;
        float: left;
        text-align: right;
        margin-bottom: 0;
    }
    
    .section103 .logo_img {
        float: left;
        width: 30%;
        margin-left: 5%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .section103 .phone-and-btn {
        float: right;
        width: 30%;
        text-align: left;
    }
    
    .section154 .headliner {
        float: left;
        width: 60%;
        text-align: left;
    }
    
    .section154 .form_wrapper {
        float: right;
        width: 35%;
        margin: 0;
    }
    
    .showroom-img {
        max-width: 48%;
    }
    
    .section119 .logo_img {
        float: left;
        width: 30%;
        text-align: left;
        margin-bottom: 0;
    }
    
    .section119 .address-and-ua {
        float: left;
        width: 40%;
        text-align: left;
        margin-left: 5%;
        margin-bottom: 0;
    }
    
    .section119 .phone-and-address {
        float: right;
        width: 25%;
        text-align: left;
    }
}

@media (min-width: 992px) {
    /* Стили для небольших десктопов и больше */
    .section154 .title {
        font-size: 36px;
    }
    
    .section154 .headliner.revers {
        float: right;
    }
    
    .section154 .form_wrapper.revers {
        float: left;
    }
    
    .product-images img {
        max-width: calc(16.66% - 10px);
    }
}

@media (max-width: 767px) {
    /* Стили для мобильных устройств */
    .menu-toggle {
        display: block;
    }
    
    .section116 ul {
        display: none;
        text-align: left;
    }
    
    .section116 ul.active {
        display: block;
    }
    
    .section116 li {
        display: block;
        line-height: 40px;
        border-bottom: 1px solid #eee;
    }
    
    .section116 ul a {
        display: block;
        margin: 0;
        padding: 0 15px;
    }
    
    .section152 .image_box1,
    .section152 .image_box2,
    .section152 .image_box3,
    .section152 .image_box4,
    .section152 .image_box5 {
        width: calc(50% - 10px);
    }
    
    .why-us-title,
    .manufacturers-title,
    .products-title,
    .delivery-title,
    .showroom-title {
        font-size: 24px;
    }
    
    .section117 .txt1 {
        font-size: 16px;
    }
    
    .products-list,
    .delivery-options {
        font-size: 16px;
    }
}