.desktop{
    background-color: rgb(250, 250, 250);
}
.desktop img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 100px;
}
.desktop a{
    display: flex;
    margin: auto;
}
.desktop > nav > ul{
    display: flex;
    flex-wrap: wrap; /* Позволяет перенос элементов */
    gap: 10px; /* Отступ между элементами */
    padding: 10px;
}
.desktop nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 15px;
    position: relative;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.desktop nav ul li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: rgb(91, 91, 92);
    transition: width 0.3s ease, left 0.3s ease;
}

.desktop nav ul li a:hover {
    background: lightgray;
    color: black;
}

.desktop nav ul li a.active {
    background: gray;
    color: white;
}

.desktop nav ul li a:hover::after,
.desktop nav ul li a.active::after {
    width: 100%;
    left: 0;
}
.desktop a.tel{
    color: black;
}
.desktop a.tel:hover{
    color: #b39d80;
    transition: color 0.3s ease;
}

.submenu {
    display: none;
    position: absolute;
    background-color: rgb(250, 250, 250);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 160px;
    max-width: 300px;
    z-index: 1000;
  }

  /* Показываем подменю при наведении */
li:hover .submenu {
    display: block;
  }

.submenu li{
    display: inline;
}
.mobile{
    display: none;
}
header svg{
    width: 20px;
    height: 20px;
}
header button{
    padding: 0;
    border: none;
    background-color: inherit;
}
@media(max-width: 1000px){
    .desktop{
        display: none;
    }
    .mobile{
        display: grid;
    }
    .sidebar{
        color: white;
        background-color: #333;
        width: 90vw;
        height: 100vh;
        position: fixed;
        overflow-x: hidden;
        transition: 0.5s;
        display: none;
        right: 0px;
        font-size: larger;
        z-index: 5;
    }
    .sidebar nav ul{
        list-style: none;
        padding: 20px;
        display: inline-flex;
        flex-direction: column;
    }
    .sidebar nav ul li{
        margin: 10px 0;
    }
    .sidebar nav ul li a {
        color: white;
        text-decoration: none;
        display: block;
        text-decoration: none;
    }
    .sidebar nav ul li a.active{
        color: #b39d80;
    }
    .sidebar nav ul li a:hover{
        color: #b39d80;
        transition: color 0.3s ease;
    }
    .mobile img{
        max-height: 70px;
    }
    div[data-row="top"]{
        width: 100vw;
    }
    .closebtn {
        position: absolute;
        top: 0px;
        right: 23px;
        font-size: 36px;
    }
    .closeBtnSvg{
        fill: white;
    }
}