.header {
    position: fixed;
    width: calc(100% - 500px);
    left: 250px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    background-color: #202020;
    padding: 0;
    z-index: 10;
    /* overflow: hidden; */
}

.cart {
    height: 100%;
    display: flex;
    align-items: center;

    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}

.cart-btn {
    width: 100%;
    height: 100%;
    padding: 0 10px 0 30px;
    transition: .2s;
}

.cart-btn:hover {
    background-color: #f3f3f3;
    transition: .2s;
    color: #202020;
}

.cart-btn:hover div {
    color: #202020;
    transition: .2s;
}

.cart-btn div {
    padding: 0;
    border: none;
    font: inherit;
    color: white;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    height: 100%;
    transition: .2s;
    font-weight: 600;
}

.cart-btn div svg {
    stroke: #ffffff;
    transition: .2s;
}

.cart-btn:hover div svg {
    stroke: #202020;
    transition: .2s;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
}

.search-input {
    position: relative;
    width: 250px;
}

.search-input span img {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.search-input input {
    outline: 0;
    width: calc(100% - 15px);
    height: 24px;
    padding: 0 0 0 15px;
    margin: 0;
    background-color: #202020;
    border: 2px solid white;
    color: white;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

.search-container button {
    padding: 0 30px;
    border: none;
    font: inherit;
    color: white;
    background-color: transparent;
    font-size: 14px;
    height: 100%;
    cursor: pointer;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
}

.search-container button:hover {
    background-color: #f3f3f3;
    color: #202020;
    transition: .2s;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
}

.search-container button:hover svg path {
    stroke: #202020;
    transition: .2s;
}

.cart-btn {
    text-decoration: none;
}

.cart-lenght {
    position: absolute;
    background-color: #f3f3f3;
    width: 15px;
    height: 15px;
    bottom: 15px;
    left: 40px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 10px;
    color: #242424;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-lenght.hide {
    display: none;
}

.search-container button.active {
    color: green;
}

.search-modal-box {
    width: calc(100% - 60px);
    height: auto;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 30px;
    background-color: #f3f3f3;
    z-index: 2;
    display: none;
}

@media(max-width: 1024px) {
    .cart {
        order: 3;
        padding: 0 15px;
    }
    .cart-btn {
        padding: 0;
    }
    .cart-lenght {
        right: 90px;
        left: inherit;
    }
}
@media(max-width: 550px) {
    .cart-lenght {
        right: 15px;
        left: inherit;
    }
}