* {
    box-sizing: border-box;
}

.search-box {
    width: fit-content;
    height: fit-content;
    position: relative;
    display: none;
}

.search-box img {
    width: 70%;
}

.input-search {
    height: 50px;
    width: 50px;
    border-style: none;
    padding: 10px;
    font-size: 30px;
    letter-spacing: 2px;
    outline: none;
    border-radius: 25px;
    transition: all .5s ease-in-out;
    background-color: rgba(198, 158, 166, 0.5);
    padding-right: 40px;
    color: rgb(0, 0, 0);
}

.input-search::placeholder {
    color: rgba(0, 0, 0, 0.3);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 100;
}

.btn-search {
    width: 50px;
    height: 50px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    color: #ffffff;
    background-color: transparent;
    pointer-events: painted;
}


.search_active{
  width: 300px;
  transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
  border-radius: 0px;
  background-color: transparent;
  border-bottom: 1px solid rgba(198, 158, 166, 0.5);
}



#he {
    align-items: center;
    justify-content: space-between;
}

#he_icon {
    width: 40%;
    position: absolute;
    right: 12em;
    max-width: 617px;
}

.cart {
    cursor: pointer;
    margin-right: 1%;
    transition: .5s;
}

.cart img {
    width: 90%;
}

.heart {
    cursor: pointer;
    display: none;
    margin-right: 2%;
    transition: .5s;
}

.register {
    display: none;
    cursor: pointer;
}

.register img {
    margin-top: 5%;
    width: 110%;
}

.heart img {
    width: 100%;
}

@media screen and (max-width: 1100px) {
    .search-box img {
        width: 50%;
    }
    .input-search {
        height: 50px;
        width: 50px;
        border-style: none;
        padding: 10px;
        font-size: 20px;
        letter-spacing: 2px;
        outline: none;
        border-radius: 25px;
        transition: all .5s ease-in-out;
        background-color: rgba(198, 158, 166, 0.5);
        padding-right: 40px;
        color: rgb(0, 0, 0);
    }
    .input-search::placeholder {
        color: rgba(0, 0, 0, 0.3);
        font-size: 12px;
        letter-spacing: 2px;
        font-weight: 100;
    }
    .btn-search {
        width: 50px;
        height: 50px;
        border-style: none;
        font-size: 15px;
        font-weight: bold;
        outline: none;
        cursor: pointer;
        border-radius: 50%;
        position: absolute;
        right: 0px;
        color: #ffffff;
        background-color: transparent;
        pointer-events: painted;
    }
    .btn-search:focus~.input-search {
        width: 230px;
        border-radius: 0px;
        background-color: transparent;
        border-bottom: 1px solid rgba(198, 158, 166, 0.5);
        transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
    }
    .input-search:focus {
        width: 230px;
        border-radius: 0px;
        background-color: transparent;
        border-bottom: 1px solid rgba(198, 158, 166, 0.5);
        transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
    }
    .cart img {
        width: 70%;
    }
    .heart img {
        width: 80%;
    }
    .register img {
        margin-top: 7%;
        width: 95%;
    }
}

@media screen and (max-width:900px) {
    .search-box {
        width: fit-content;
        height: fit-content;
        position: relative;
        display: none;
        justify-content: flex-end;
    }
    .search-box img {
        width: 70%;
    }
    .input-search {
        height: 43px;
        width: 23px;
        border-style: none;
        padding: 3px;
        font-size: 15px;
        letter-spacing: 2px;
        outline: none;
        border-radius: 30px;
        transition: all .5s ease-in-out;
        background-color: rgba(198, 158, 166, 0.5);
        padding-right: 40px;
        color: rgb(0, 0, 0);
    }
    .input-search::placeholder {
        color: rgba(0, 0, 0, 0.3);
        font-size: 10px;
        letter-spacing: 2px;
        font-weight: 100;
    }
    .btn-search {
        width: 30px;
        height: 30px;
        border-style: none;
        font-size: 20px;
        font-weight: bold;
        outline: none;
        cursor: pointer;
        border-radius: 50%;
        position: absolute;
        right: 0px;
        color: #ffffff;
        background-color: transparent;
        pointer-events: painted;
    }
    .btn-search img {
        margin-top: 10px;
        margin-right: 15px;
    }
    .btn-search:focus~.input-search {
        width: 200px;
        border-radius: 0px;
        background-color: transparent;
        border-bottom: 1px solid rgba(198, 158, 166, 0.5);
        transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
    }
    .input-search:focus {
        width: 200px;
        border-radius: 0px;
        background-color: transparent;
        border-bottom: 1px solid rgba(198, 158, 166, 0.5);
        transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
    }
    #he {
        align-items: center;
        justify-content: space-between;
    }
    #he_icon {
        justify-content: center;
        width: 43%;
        margin-left: 0
    }
    .cart {
        cursor: pointer;
        margin-right: 1%;
        transition: .5s;
    }
    .cart img {
        width: 70%;
    }
    .heart {
        cursor: pointer;
        display: none;
        margin-right: 2%;
        transition: .5s;
    }
    .heart img {
        width: 80%;
    }
    .register img {
        margin-top: 7%;
        width: 80%;
    }
}

@media screen and (max-width: 785px) {
    #he {
        display: flex;
        justify-content: space-between;
    }
    #smart_he_icon {
        width: 100%;
        padding-left: 1%;
    }
    .smart_hamburger {
        width: auto;
    }
    .cart_1 {
        cursor: pointer;
        margin-right: 1%;
        transition: .5s;
        justify-content: flex-start;
    }
    .cart_1 img {
        width: 80%;
    }
    .heart_1 {
        cursor: pointer;
        justify-content: flex-end;
        display: block;
        margin-right: 5%;
        transition: .5s;
    }
    .heart_1 img {
        width: 90%;
    }
    .register {
        display: block;
    }
    .register img {
        margin-top: 5%;
        width: 90%;
    }
}


/*  footer   */
