.header{
    max-width: 1440px;
    height: auto;
    margin: 0 auto;
}
.plashka{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background-color: rgb(20, 23, 24);
    color: rgb(255, 255, 255);

    h3{
        font-family: var(--font-inter);
        font-size: clamp(0.75rem, 0.708rem + 0.22vw, 0.875rem);
        font-weight: 600;
        line-height: 22px;
    }
}
.plashka__link{
    display: flex;
    justify-content: space-between;
    gap: 5px;
    border-bottom: 1px solid rgb(255, 171, 0);

    a{
        color: rgb(255, 171, 0);
        font-family: var(--font-inter);
        font-size: 14px;
        font-weight: 500;
        line-height: 23px;
    }
}
.plashka__close{
    position: absolute;
    top: 13px;
    right: 15px;
}
.nav {
    position: relative;
    padding: 18px 8px;
    background-color: rgba(255, 171, 0, 0.64);
}
.nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    font-family: var(--font-poppins);
    font-size: 24px;
    font-weight: 500;
    color: #141718;
}
.nav__list {
    display: flex;
    gap: 40px;
}
.nav__item{
    display: block;
    position: relative;

    a{
        color: rgb(20, 23, 24);
        font-family: var(--font-grotesk);
        font-size: 14px;
        font-weight: 500;
    }
}
.nav__item:after {
    content: '';
    position: absolute;
    left: 0;
    display: inline-block;
    width: 100%;
    border-bottom: 2px solid black;
    margin-top: 1.2em;
    transition: all .3s;
    opacity: 1;
    transform: scale(1);
}
.nav__item:hover {
    color: black;
    opacity: .75;
}
.nav__item:hover:after{
    opacity: 0;
    transform: scale(0,1);
}
.nav__btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    
}
.search-container {
    position: relative;
    width: auto;
    display: flex;
    align-items: center;
}
.search-input {
    width: 0;
    padding: 5px 10px;
    font-size: 14px;
    font-family: var(--font-inter);
    font-weight: 400;
    border: 1px solid #696767;
    border-radius: 6px;
    outline: none;
    transition: width 0.4s ease;
    opacity: 0;
    pointer-events: none;
}
.search-input.active {
    width: 150px;
    opacity: 1;
    pointer-events: auto;
}
.search-icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.search-icon:hover {
    transform: scale(1.1);
}
//Search - в бургере - начало
.search__box {
    position: relative;
    width: 95%;
    margin-top: 16px;
    margin-bottom: 16px;
}

.search__box-input {
    width: 100%;
    padding: 10px 10px 10px 40px; /* отступ слева для иконки */
    font-family: var(--font-inter);
    color: rgb(20, 23, 24);
    font-weight: 400;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.search__box-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
    opacity: 0.6;
}
//Search - в бургере - конец

//BURGER - начало
.burger__menu{
    display: none;
}
#menu__toggle{
    display: none;
}
.menu__btn {
    display: flex;
    align-items: center;
    position: absolute;
    top: 22px;
    right: 20px;

    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 11;
    margin: 0px 30px 0px 0px;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;

    width: 100%;
    height: 3px;
    background-color: black;

    transition-duration: 250ms;
}
.menu__btn > span::before{
    content: "";
    top: -8px;
}
.menu__btn > span::after{
    content: "";
    top: 8px;
}
.menu__box {
    display: block;
    position: absolute;
    visibility: hidden;
    top: 0;
    right: -100%;

    width: 19rem;
    min-height: 500px;

    margin: 0;
    padding: 20px 0px 10px 10px;
    border-bottom: 2px solid #FFC95C;
    border-radius: 0 0 0 20px;

    list-style: none;
    text-align: left;

    background-color: #FFFFFF;

    z-index: 10;

    transition-duration: 1s;
}
.menu__items {
    display: block;
    padding: 10px 15px;

    color: azure;
    font-size: 20px;
    font-weight: 400;
    border-bottom: 1px solid rgb(232, 236, 239);

    text-decoration: none;

    transition-duration: 1s;

    a{
        font-family: var(--font-inter);
        color: rgb(20, 23, 24);
        font-size: 14px;
        font-weight: 500;
    }
}
.menu__items:hover{
    background-color:rgba(232, 236, 239, 0.7) ;
}
#menu__toggle:checked ~ .menu__btn > span{
    transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before{
    top: 0;
    transform: rotate(0deg);
}
#menu__toggle:checked ~ .menu__btn > span::after{
    top: 0;
    transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box{
    visibility: visible;
    right: 0;
}
//Конец бургера
.menu__items-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 100px;

    h2{
        font-family: var(--font-inter);
        color: rgb(108, 114, 117);
        font-size: 18px;
        font-weight: 500;
    }
}
.menu__items-flex2{
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 5px;

    h2{
        font-family: var(--font-inter);
        color: rgb(108, 114, 117);
        font-size: 18px;
        font-weight: 500;
    }
}
//BURGER - конец
.menu__items-img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50px;
    height: 28px;
}
.items__calk {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #141718;
    color: #FFFFFF;
    font-family: var(--font-inter);
    font-size: 12px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.button__burger{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    background-color: #141718;
    color: #FFFFFF;
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    margin-top: 25px;
    margin-bottom: 20px;

    &:hover{
        background-color: #FFFFFF;
        color: #141718;
        border: 1px solid #141718;
        transform: scale(0.95);
        transition: .15s all;
    }
}
.menu__items-socials{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 25px;

    img{
        &:hover{
            &:hover{
                transform: scale(1.1);
                transition: .15s all;
            }
        }
    }
}
@media (max-width: 760px){
    .burger__menu{
        display: block;
    }
    .nav__list{
        display: none;
    }
    .search-container{
        display: none;
    }
    .nav__img{
        display: none;
    }
    .nav__row{
        justify-content: center;
        gap: 300px;
    }
}
@media (max-width: 600px){
    .nav__row{
        justify-content: center;
        gap: 120px;
    }
    .menu__btn{
        top: 22px;
        right: 0;
    }
}
@media (max-width: 430px){
    .plashka__link{
        display: none;
    }
    .nav__row{
        justify-content: center;
        gap: 40px;
    }
}