header {
    position: sticky;
    z-index: 20;
    top: 0;
    transition: all 400ms ease;
}

header.header-dark {}

header.blur-active {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

header .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    position: relative;
    gap: 1.5rem;
}

header .header-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(58, 58, 58, 0.00) 0%, rgba(187, 187, 187, 0.40) 9%, rgba(187, 187, 187, 0.40) 49.5%, rgba(187, 187, 187, 0.40) 86.5%, rgba(58, 58, 58, 0.00) 100%);
}

header .header-wrapper .hamburger-menu-wrapper {
    flex: 1;
}

header .header-wrapper .hamburger-menu-wrapper .hamburger-menu {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    padding: 20px 0;
}

header .header-wrapper .hamburger-menu-wrapper .hamburger-menu .line {
    display: inline-block;
    background: var(--white);
    height: 4px;
    border-radius: 100px;
    flex-shrink: 0;
    transition: width 300ms ease;
    will-change: width;
}

header .header-wrapper .hamburger-menu-wrapper .hamburger-menu .line.line-1 {
    width: 19px;
}

header .header-wrapper .hamburger-menu-wrapper .hamburger-menu .line.line-2 {
    width: 38px;
}

header .header-wrapper .hamburger-menu-wrapper .hamburger-menu .line.line-3 {
    width: 26px;
}

header.menu-active .header-wrapper .hamburger-menu-wrapper .hamburger-menu .line.line-1 {
    width: 38px;
}

header.menu-active .header-wrapper .hamburger-menu-wrapper .hamburger-menu .line.line-3 {
    width: 38px;
}

header.menu-active .header-wrapper .hamburger-menu-wrapper .hamburger-menu .line.line-2 {
    width: 19px;
}

header .header-wrapper .header-logo {
    position: relative;
    z-index: 12;
}

header .header-wrapper .header-logo a {}

header .header-wrapper .header-logo a img {
    width: auto;
    height: 97px;
}

header .header-wrapper .header-icons {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: end;
}

header .header-wrapper .header-icons .icon-item {
    position: relative;
    padding: 20px 0;
}

header .header-wrapper .header-icons .icon-item>a {
    color: var(--white);
}

header .header-wrapper .header-icons .icon-item a svg {}

header .header-wrapper .header-icons .icon-item a svg path {}

.user-logged-menu {
    /* background: linear-gradient(to left, #3a3a3a 0%, #BBBBBB 25%, #bbbbbb 50%, #bbbbbb 75%, #3a3a3a 100%); */
    /* padding: 1px; */
    /* border-radius: 100px; */
    /* transition: all 300ms ease; */
    /* cursor: pointer; */
}

.user-logged-menu .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 100px;
    padding: 16px 22px;
    gap: 1rem;
    transition: all 400ms ease;
    cursor: pointer;
}

.user-logged-menu .menu-header .menu-header-left {
    color: var(--white);
    font-size: 24px;
    font-weight: 400;

    /* 100% */
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-logged-menu .menu-header .menu-header-left svg {}

.user-logged-menu .menu-header .menu-header-left .menu-user-name {
    max-width: 175px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.user-logged-menu .menu-header .menu-icon {
    will-change: transform;
    transition: transform 400ms ease;
    line-height: 0;
}

.user-logged-menu .menu-header .menu-icon svg {}

.user-logged-menu .user-logged-border {
    position: absolute;
    top: 70%;
    right: 0;
    background: linear-gradient(to top left, #3a3a3a 0%, #BBBBBB 25%, #bbbbbb 50%, #bbbbbb 75%, #3a3a3a 100%);
    padding: 1px;
    transition: all 300ms ease;
    border-radius: 30px;
    width: 100%;
    min-width: 386px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.user-logged-menu .user-logged-border .user-logged-dropdown {
    background: #2B2D2B;
    border-radius: 30px;
    padding: 36px 0;
}

.user-logged-menu .user-logged-border .user-logged-dropdown .logged-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user-logged-menu .user-logged-border .user-logged-dropdown .logged-dropdown-list .dropdown-list-item {}

.user-logged-menu .user-logged-border .user-logged-dropdown .logged-dropdown-list .dropdown-list-item a {
    color: var(--primary);
    font-size: 30px;
    font-weight: 500;
    line-height: 32px;
    /* 106.667% */
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 10px 36px;
}

header .nav-border {
    position: absolute;
    left: 0;
    top: 70%;
    min-width: 386px;
    background: linear-gradient(to top left, #3a3a3a 0%, #bbbbbb 25%, #bbbbbb 50%, #bbbbbb 75%, #3a3a3a 100%);
    padding: 1px;
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 300ms ease;
}

header.menu-active .nav-border {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    top: 80%;
}

header .header-nav-wrapper {
    border-radius: 30px;
    background: #2B2D2B;
    padding: 30px 3rem;
    padding-right: 32px;
}

header .header-nav-wrapper .nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 34px;
    position: relative;
    margin-bottom: 24px;
}

header .header-nav-wrapper .nav-top .top-title {
    color: #D9D9D9;
    font-size: 34px;
    font-weight: 400;
    line-height: 32px;
    /* 94.118% */
    text-transform: capitalize;
}

header .header-nav-wrapper .nav-top .nav-close {
    cursor: pointer;
    transition: color 300ms ease;
    color: var(--primary);
}

header .header-nav-wrapper .nav-top .nav-close svg {}

header .header-nav-wrapper nav {
    position: relative;
    display: flex;
    gap: 44px;
}

header .header-nav-wrapper nav ul {
    display: grid;
    gap: 2rem;
    max-height: 100%;
    height: auto;
    margin-top: 42px;
    margin-bottom: 2rem;
    position: relative;
}

header .header-nav-wrapper nav ul li {}

header .header-nav-wrapper nav ul li a {
    color: var(--primary);
    font-size: 30px;
    font-weight: 400;
    line-height: 32px;
    /* 106.667% */
    text-transform: capitalize;
}

header .header-nav-wrapper nav::before {
    content: '';
    position: relative;
    width: 1px;
    height: auto;
    display: block;
    background: linear-gradient(0deg, rgba(58, 58, 58, 0.00) 0%, rgba(187, 187, 187, 0.30) 9%, rgba(187, 187, 187, 0.30) 49.5%, rgba(187, 187, 187, 0.30) 86.5%, rgba(58, 58, 58, 0.00) 100%);
}

header .header-nav-wrapper .nav-top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(58, 58, 58, 0.00) 0%, rgba(187, 187, 187, 0.30) 9%, rgba(187, 187, 187, 0.30) 49.5%, rgba(187, 187, 187, 0.30) 86.5%, rgba(58, 58, 58, 0.00) 100%);
}

header .dropdown-basket-wrapper {
    position: absolute;
    right: 0;
    top: 70%;
    max-width: 747px;
    width: 100%;
    background: linear-gradient(to top left, #3a3a3a 0%, #bbbbbb 25%, #bbbbbb 50%, #bbbbbb 75%, #3a3a3a 100%);
    padding: 1px;
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 300ms ease;
}

header.basket-active .dropdown-basket-wrapper {
    top: 80%;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

header .dropdown-basket-wrapper .dropdown-basket {
    border-radius: 30px;
    background: #2B2D2B;
    padding: 28px 50px;
}

header .dropdown-basket-wrapper .dropdown-basket .dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    padding-bottom: 34px;
    position: relative;
    margin-bottom: 34px;
    white-space: unset;
    font-size: unset;
    color: unset;
}

header .dropdown-basket-wrapper .dropdown-basket .dropdown-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(58, 58, 58, 0.00) 0%, rgba(187, 187, 187, 0.30) 9%, rgba(187, 187, 187, 0.30) 49.5%, rgba(187, 187, 187, 0.30) 86.5%, rgba(58, 58, 58, 0.00) 100%);
}

header .dropdown-basket-wrapper .dropdown-basket .dropdown-header .header-title {
    color: #D9D9D9;
    font-size: 34px;
    font-weight: 400;
    line-height: 32px;
    text-transform: capitalize;
}

header .dropdown-basket-wrapper .dropdown-basket .dropdown-header .basket-dropdown-close {
    cursor: pointer;
    transition: color 300ms ease;
    color: var(--primary);
}

header .dropdown-basket-wrapper .dropdown-basket .dropdown-header .nav-close svg {}

header .dropdown-basket-wrapper .dropdown-basket .dropdown-header .nav-close svg path {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper {
    max-height: 510px;
    overflow-y: auto;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper::-webkit-scrollbar {
    display: block;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product {
    display: grid;
    gap: 20px;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-bottom: 20px;
    padding-right: 1.5rem;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(58, 58, 58, 0.00) 0%, rgba(187, 187, 187, 0.40) 9%, rgba(187, 187, 187, 0.40) 49.5%, rgba(187, 187, 187, 0.40) 86.5%, rgba(58, 58, 58, 0.00) 100%);
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 70%;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 60px;
    max-height: 60px;
    transition: transform 300ms ease;
    will-change: transform;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-info {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-info .basket-product-title {
    color: var(--white);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 300ms ease;
    will-change: color;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-info .info-list {
    display: grid;
    gap: 4px;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-info .info-list .list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-info .info-list .list-item svg {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-info .info-list .list-item svg path {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-info .info-list .list-item span {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece .item-increase {
    cursor: pointer;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece .item-increase svg {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece .item-increase svg path {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece .piece {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    background: transparent;
    border: 0;
    outline: none;
    text-align: center;
    min-width: 17px;
    max-width: 17px;
    width: auto;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece .item-reduce {
    cursor: pointer;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece .item-reduce svg {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece .item-reduce svg path {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-delete-product {
    cursor: pointer;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-delete-product svg {}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-delete-product svg path {}

header .dropdown-basket-wrapper .dropdown-basket .basket-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 2rem;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-summary .summary-text {
    color: var(--white);
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    display: flex;
    align-items: center;
    gap: 5px;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-summary .summary-text b {}

header .dropdown-basket-wrapper .dropdown-basket .basket-summary .summary-text span {
    display: block;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-summary .summary-submit {}

header .dropdown-basket-wrapper .dropdown-basket .basket-summary .summary-submit a {
    background: #12B76A;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    padding: 1.3rem 4.8rem 1.5rem;
    border-radius: 24px;
    border: 1px solid #dbdbdb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-search-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 12px 12px;
    background: #2B2D2B;
    z-index: 10;
    transform: translateY(-100%);
    transition: all 400ms ease-out;
    pointer-events: none;
    height: 486px;
    opacity: 0;
    visibility: hidden;
}

.header-search-popup.found {
    height: 100vh;
}

.header-search-popup.active {
    pointer-events: all;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.header-search-popup .search-wrapper {
    position: relative;
    padding-top: 180px;
}

.header-search-popup .search-wrapper .search-popup-close {
    display: flex;
    justify-content: end;
    position: absolute;
    top: 3rem;
    right: 3rem;
    cursor: pointer;
}

.header-search-popup .search-wrapper .search-popup-close svg {}

.header-search-popup .search-wrapper .search-popup-close svg path {}

.header-search-popup .search-wrapper .search-popup-input {}

.header-search-popup .search-wrapper .search-popup-input input {
    border-radius: 32px;
    padding: 39px 60px;
    border: 0;
    width: 100%;
    background: transparent;
    color: #BDBEBD;
    font-size: 35px;
    font-weight: 400;
    line-height: normal;
}

.header-search-popup .search-wrapper .search-popup-input input::placeholder {
    color: #bdbebd;
}

.header-search-popup .search-wrapper .search-popup-content-wrapper {
    position: relative;
    overflow-y: auto;
    display: none;
    max-height: 65vh;
}

.header-search-popup .search-wrapper .search-popup-content-wrapper .search-popup-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.search-backdrop {
    position: absolute;
    background: rgba(0, 0, 0, 40%);
    height: 100vh;
    width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    will-change: transform;
    transform: translateY(-150%);
    transition: transform 400ms ease-out;
    pointer-events: none;
}

.search-backdrop.active {
    transform: translateY(0);
    pointer-events: all;
}

.header-search-popup .product-item-gradient .product-img-wrapper .product-image {
    height: 320px;
}

@media screen and (max-width: 1199px) {
    .user-logged-menu .menu-header {
        background: none;
        padding: 1rem 0;
    }

    .user-logged-menu .menu-header .menu-header-left .menu-user-name {
        display: none;
    }

    .user-logged-menu .menu-header .menu-icon {
        display: none;
    }

    header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper {
    max-height: 380px;
}
    .header-search-popup .search-wrapper .search-popup-content-wrapper .search-popup-content {
    grid-template-columns: repeat(3, 1fr);
}
}

@media screen and (max-width: 991px) {
    .header-search-popup .search-wrapper .search-popup-content-wrapper .search-popup-content {
    grid-template-columns: repeat(2, 1fr);
}
}

@media screen and (max-width: 767px) {
    header .header-wrapper .hamburger-menu-wrapper {
        order: 1;
        flex: unset;
        width: 38px;
    }

    header .header-wrapper .header-logo a img {
        height: 70px;
    }

    header .header-wrapper .header-icons {
        order: 1;
        gap: 1rem;
        flex: unset;
    }

    header .header-wrapper {
        gap: 1rem;
    }

    header .header-wrapper .hamburger-menu-wrapper .hamburger-menu {
        gap: 6px;
    }

    header .header-wrapper .hamburger-menu-wrapper .hamburger-menu .line {
        height: 3px;
    }

    header .header-wrapper .header-logo {
        flex: 1;
    }

    header .nav-border {
        min-width: unset;
        width: 100%;
    }

    .header-search-popup .search-wrapper .search-popup-close {
        right: 1rem;
        top: 2rem;
    }

    .header-search-popup.found {
        height: 100vh;
        border-radius: 0;
    }
    
    .header-search-popup .product-item-gradient .product-img-wrapper .product-image {
        height: 150px;
    }

    header .dropdown-basket-wrapper .dropdown-basket {
    padding: 1.5rem;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left {width: 100%;gap: 12px;}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item {flex-wrap: wrap;justify-content: end;gap: 1rem;}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece {
    flex-direction: row-reverse;
    background: #565656;
    padding: 2px 8px 4px;
    border-radius: 8px;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-piece svg path {
    stroke: #fff;
}

header .dropdown-basket-wrapper .dropdown-basket .basket-summary .summary-submit a {width: 100%;}

header .dropdown-basket-wrapper .dropdown-basket .basket-summary .summary-submit {
    width: 100%;
}

    header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper {
    max-height: 220px;
}
       .header-search-popup .search-wrapper .search-popup-content-wrapper .search-popup-content {
    grid-template-columns: 1fr;
}
    .header-search-popup .search-wrapper {
        padding-top: 140px;
    }
    .header-search-popup .search-wrapper .search-popup-input input {
    padding: 1rem 2rem;
    line-height: 1;
    font-size: 30px;
}
}

@media (hover: hover) {
    header .header-wrapper .hamburger-menu-wrapper .hamburger-menu:hover .line.line-1 {
        width: 38px;
    }

    header .header-wrapper .hamburger-menu-wrapper .hamburger-menu:hover .line.line-3 {
        width: 38px;
    }

    header .header-wrapper .hamburger-menu-wrapper .hamburger-menu:hover .line.line-2 {
        width: 19px;
    }

    header .header-nav-wrapper nav ul li a:hover {
        color: var(--hover-color);
    }

    header .header-nav-wrapper .nav-top .nav-close:hover {
        color: var(--hover-color);
    }

    header .dropdown-basket-wrapper .dropdown-basket .basket-summary .summary-submit a:hover {
        background: transparent;
    }

    header .dropdown-basket-wrapper .dropdown-basket .dropdown-header .basket-dropdown-close:hover {
        color: var(--hover-color);
    }

    header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-img:hover img {
        transform: scale(1.2);
    }

    header .dropdown-basket-wrapper .dropdown-basket .basket-product-wrapper .basket-product .basket-product-item .basket-product-item-left .basket-product-info .basket-product-title:hover {
        color: var(--hover-color);
    }

    .user-logged-menu:hover .menu-header {
        background-color: transparent;
    }

    .user-logged-menu:hover .menu-header .menu-icon {
        transform: rotate(180deg);
    }

    .user-logged-menu .user-logged-border .user-logged-dropdown .logged-dropdown-list .dropdown-list-item a:hover {
        color: #ffff;
        background: rgb(85 87 85 / 20%);
    }

    .icon-item:hover .user-logged-menu .user-logged-border {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        top: 100%;
    }

    .user-logged-menu .user-logged-border .user-logged-dropdown .logged-dropdown-list .dropdown-list-item:last-child a:hover {
        color: #FDA29B;
    }
}