
.container-header {
    max-width: 1600px;
    margin: 0 auto;
    position: sticky;
    top: 0; /* Фиксирует header у верхнего края */
    z-index: 1000; /* Убедитесь, что header находится поверх других элементов */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Добавление тени для эффекта */
}
header {

    background-color: #ffffff;
    color: #fff;
    padding: 10px 10px 10px 0;
    display: flex;
    align-items: center;
    border-radius: 0 0 7px 7px;
    z-index: 9000;
}
.logo {
    height: 47px;
    margin-right: 35px;
    display: flex;
}

.header-img-logo{
    width: 200px;
    height: 50px;
}

.header-img-hl-container{
    display: none;
    margin: 0 20px;
}

.catalog {
    margin: 0 30px 0 -1px;
}
.catalog:hover .munu-block {
    background-color: #2c3e50;
    width: 80%;
    height: 500px;
    display: block;
}
.munu-block {
    display: none;
    background-color: #2c3e50;
    width: 80%;
}
.search {
    flex: 2;
    margin: 0 10px;
}
.cart {
    margin-left: 10px;
}
.cart {
    font-family: 'Roboto', sans-serif;
    position: relative;
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    color: #3a3a3a;
    font-size: 14px;
    margin: 0 0 0 auto;
}

.bc{
    display: none;
}



@media (max-width: 468px) {

    .search {
        flex: 1;
        margin-top: 10px;
    }
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
}
.icon-7 {
    margin-right: 8px;
}
/* Поле поиска */
.search-container {
    display: flex;
    border: 1px solid #dfe1e5;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    border-radius: 7px;
    overflow: hidden;
    width: 50%;
}
.search-input-main-page {
    flex: 1;
    border: none;
    padding: 10px 10px 10px 20px;
    font-size: 16px;
}
.search-btn {
    background-color: #f3f3f3;
    /* background-color: #f8f9fa; */
    border: none;
    padding: 10px 15px 10px 15px;
    border-radius: 0 7px 7px 0;
    cursor: pointer;
}
.search-btn:hover{
    background-color: #ececec;
}

.search-btn img {
    width: 20px;
    height: 20px;
}
input:focus {
    outline: none;
}
/* Поле поиска END */
/* Стили для экранов с шириной менее 480 пикселей */


/* Авторизация */
.auth {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 0 10px;
    gap: 10px;
}

.auth a {
    font-weight: bold;
    color: #333 !important;
}

/* Авторизация */


/* Услуги */

.service-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    background-color: #f14924;
    max-width: 300px;
    font-family: sans-serif;
    margin: 0 30px 0 0;
}

.service-card svg {
    width: 30px;
    height: 30px;
}

.service-card img {
    width: 20px;
}

.service-button {
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    width: max-content;
}

.count-red {
    color: red;
    font-weight: bold;
    margin-left: 5px;
    text-decoration: none;
}
.count-yellow {
    color: #efab00;
    font-weight: bold;
    text-decoration: none;
}



.service-card:hover {
    /*background-color: #45a803;*/
}

/* Услуги */

/* фиксированое меню */

.catalog-header{
    display: none;
    background-color: #eb5b28;
    border-radius: 5px;
    margin: 0 10px 0 15px;
}

.um-catalog-img{
    width: 35px;
}



.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    display: none;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.3);

}

/* .mob-menu-icon{
    padding: 10px 10px 4px 10px;
    border: none;
    width: 30px;
} */

.bot-menu-item{
    display: flex;
    justify-content: center;
    /*width: 20%;*/
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 12px;

    /*padding-bottom: 5px;*/
}



@media only screen and (max-width: 1300px) {
    .container-header {
        max-width: none;
    }
    .service-card{
        display: none;
    }
}

@media only screen and (max-width: 1070px) {
    .bottom-menu {
        display: flex;
    }
}

@media (max-width: 750px) {
    .catalog{
        display: none;
    }
}

@media (max-width: 740px) {
    .logo{
        margin-right: 10px;
    }
}

@media (max-width: 550px) {
    .logo{
        display: none;
    }
    .header-img-hl-container{
        display: flex;
    }
    .search-container {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 470px) {
    .catalog{
        margin-right: 10px;
    }
    .search-container{
        width: 250px;
    }
}

@media (max-width: 450px) {
    .header-img-hl-container{
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (max-width: 460px) {

    .contact-number {
        display: none;
    }
    .cart {
        display: none;
    }
    .logo {
        width: 90%;
        margin: 10px auto;
    }
}






/* Стили для модального окна */
.modal {
    display: none; /* Скрываем по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    justify-content: center;
    align-items: center;
}

/* Контент модального окна */
.modal-content {
    background-color: #fff;
    padding: 20px;
    width: 50%; /* Ширина 50% экрана */
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.overlay {
    display: none;
    position: fixed;
    z-index: 9800;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
    opacity: 60;
    visibility: hidden;
    /*transition: opacity 0.5s, visibility 0.5s;*/
    overflow: scroll;
}

.overlay.show {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 35px;
    cursor: pointer;
}


.bm-menu-item{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 12px;
    /*background-color: var(--orange-color-light);*/
    border-radius: 7px;
    margin: 0 20px;
}

.bm-menu-item .auth {
    display: none !important;
}


.hm-menu-item{
    display: none;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: var(--orange-color-light);
    font-size: 12px;
    /*background-color: var(--orange-color-light);*/
    border-radius: 7px;
    margin: 0 20px;
}

/* .mob-menu-icon{
    padding: 10px 10px 10px 10px;
    border: none;
    width: 20px;
} */

.close-btn{
    color: white;
    display: flex;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
    align-items: center;
    gap: 10px;
    background-color: #4a5c6b;
}

.bnt-back img{
    width: 15px;
}

.nav-top {
    display: none;
    align-items: center;
    /*position: fixed;*/
    z-index: 101;
    /*width: 100%;*/
}

@media screen and (max-width: 1070px ){

    .hm-menu-item{
        display: flex;
    }
}

@media (max-width: 1070px) {
    .nav-top{
        display: none;
    }
    .header-line{
        display: none;
    }
    header{
        justify-content: space-between;
    }

    .catalog-header{
        display: flex;
    }

}
@media (max-width: 420px) {
    .search-btn{
        padding: 10px 5px;
    }
    .search-input{
        width: 80%;
    }
    .search-btn{
        width: 20%;
    }
    /*.nav-top{*/
    /*    display: none;*/
    /*}*/
}


.hidden {
    display: none;
}

.visible {
    display: block;
}




.catalog-header{

}


