/* Header */


.header {
    padding: 16px 0;
    border-bottom: 1px solid #DDD;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: block;
    width: 216px;
}

.header__logo br+* {
    font-size: 11px;
    display: block;
    margin-top: -2px;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__icon-btn {
    position: relative;
    cursor: pointer;
}


.header__icon-btn img {
    width: 24px;
    height: 24px;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__phone p {
    color: var(--Black, #0D0D0D);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    transition: all 0.3s;
    /* 20px */
}

.header__phone svg path {
    transition: all 0.3s;
}

.header__phone:hover p {
    color: #93764c;
}

.header__phone:hover svg path {
    fill: #93764c;
}

.cart-count {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 20px;
    height: 20px;
    background: #93764c;
    border-radius: 50%;
    top: -5px;
    right: -5px;
    color: white;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    opacity: 0;
    /* 12px */
}

.cart-count_active {
    opacity: 1;
}

/* Navigation */
.nav {
    transition: var(--transition-default);
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-catalog-mobile{
    display: none;
}

.menu-catalog {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 16px;
    background: var(--Primary100, #93764c);
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.menu-catalog:hover {
    background: #685236;
}

.nav-catalog {
    position: relative;
    z-index: 100;
}

.menu-catalog p {
    color: var(--White, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    /* 20px */
}

.nav__list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav__link {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-default);
    display: block;
    padding: var(--spacing-xs) 0;
}

.nav__link:hover {
    opacity: 0.8;
}

.nav__link--active {
    position: relative;
}

.menu-item a {
    color: var(--Black, #0D0D0D);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    /* 20px */
}

.menu-item a:hover {
    color: #93764c;
}

.menu-item-has-children {
    position: relative;
}

.catalog-menu {
    position: absolute;
    top: 150%;
    left: -20px;
    z-index: 1000;
    border-radius: 24px;
    border: 1px solid var(--Grey10, #DDD);
    background: #F5F5F5;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    display: none;
}

.catalog-menu_active {
    display: flex;
}

.catalog-menu-left,
.catalog-subcats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.catalog-subcats {
    margin-left: 100px;
    display: none;
}

.catalog-subcats_active {
    display: flex;
}

.catalog-menu-left-li a,
.catalog-subcats-li a {
    color: var(--Black, #0D0D0D);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%;
    white-space: nowrap;
    transition: all 0.3s;
    /* 20px */
}

.catalog-menu-left-li a:hover,
.catalog-subcats-li a:hover {
    color: #93764c;
}

.chileds {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chileds svg path {
    transition: all 0.3s;
}

.chileds:hover svg path {
    fill: #93764c;
}

/* Burger Menu */

.burger-btn {
    display: none;
}

.burger {
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    width: 24px;
    height: 24px;
}

.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    position: relative;
    transition: var(--transition-default);
}

.burger__line::before,
.burger__line::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: white;
    transition: var(--transition-default);
    left: 0;
}

.burger__line::before {
    top: -8px;
}

.burger__line::after {
    bottom: -8px;
}

.burger--active .burger__line {
    background: transparent;
}

.burger--active .burger__line::before {
    transform: rotate(45deg);
    top: 0;
}

.burger--active .burger__line::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.search-wrapper {
    position: relative;
    background: white;
    width: 100%;
    max-width: 560px;
    margin-right: 50px;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    padding: 0px 20px;
    transition: all 0.3s;
    border: 1px solid var(--Grey10, #DDD);
}

.search-icon {
    width: 24px;
    height: 24px;
}

.search-clean {
    display: none;
    cursor: pointer;
}

.search-wrapper_active {
    top: 128px;
}

.search-result {
    max-height: 500px;
    width: 560px;
    overflow-x: auto;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0px 20px;
    background: white;
    border-radius: 16px;
    z-index: 1000;
}

.search-result::-webkit-scrollbar {
    width: 5px;
}

.search-result::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.search-result::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.search-line {
    display: block;
    height: 25.5px;
    width: 1px;
    background: #16170C;
    margin: 0 10px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
}

.search-item-name {
    color: #313131;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 0;
    /* 22.4px */
}

.search-item-err {
    color: #313131;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    padding: 8px 0;
}

.search-item-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.search-top {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    color: var(--Grey, #807F7D);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    padding: 18px 0;
    /* 16px */
    letter-spacing: -0.32px;
    font-family: 'Inter';
}



.search-input::placeholder {
    color: var(--Grey, #807F7D);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 16px */
    letter-spacing: -0.32px;
    font-family: 'Inter';
}

.header-bot__wrapper {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__mob-search-btn{
    display: none;
}

.swiper-button,
.swiper-button-prev,
.swiper-button-next {
    z-index: 5;
}

@media (width < 1200px) {
    .nav {
        position: fixed;
        z-index: -1;
        top: 151px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #F5F5F5;
        opacity: 0;
        transition: all 0.3s;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 40px 40px 16px 40px;
        align-items: baseline;
    }
    .nav-catalog-mobile{
        color: var(--Black, #0D0D0D);
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 125%; /* 20px */
        display: block;
        padding: 20px 0;

    }
    .menu-catalog{
        display: none;
    }
    .nav-catalog{
        display: none;
    }

    .nav--active {
        z-index: 999;
        opacity: 1;
    }

    .header .nav__list {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .nav__link {
        font-size: var(--font-lg);
        padding: var(--spacing-sm) 0;
    }

    .burger-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 16px 24px;
        border-radius: 16px;
        background: #93764c;
    }

    .burger-btn p {
        color: var(--White, #FFF);
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 125%;
        /* 20px */
    }

    .burger {
        display: block;
    }

    .header .menu-item a {
        color: var(--Black, #0D0D0D);
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 125%; /* 20px */
        display: block;
        padding: 20px 0;
    }

    .nav .menu-menu-container {
        align-items: flex-start;
    }

    .search-wrapper {
        max-width: 90%;
        width: 100%;
        margin: 0 auto;
        position: absolute;
        top: 160px;
        z-index: -1;
        opacity: 0;
        transition: all 0.3s;
    }

    .search-wrapper_active {
        z-index: 99;
        opacity: 1;
    }

    .search-result {
        width: 100%;
    }

    .header__mob-search-btn{
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        width: 24px;
        height: 24px;
    }

}

@media (width < 768px) {
    .header__phone{
        display: none;
    }
    .header__icon-btn{
        width: 24px;
        height: 24px;
    }
}
