@import url("global.css");


/* Search */

#search {
    width: 100%;
    height: 350px;
    padding: 155px;
    box-sizing: border-box;
    background-color: var(--light-grey);
}

#search div {
    width: 450px;
    height: 40px;
    margin: 0 auto;
    border-radius: 4px;
    color: var(--grey);
    background-color: var(--white);
    box-shadow: 0px 1px 1px var(--lighter-black);
}

#search i {
    margin: 10px;
}

#search input {
    width: 400px;
    height: 100%;
    border: none;
    outline: none;
}

#search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}


/* Products */

#products {
    width: 100%;
    height: 570px;
    display: flex;
    align-items: center;
    align-content: center;
    box-sizing: border-box;
    justify-content: space-evenly;
}

.product {
    bottom: 0;
    width: 320px;
    height: 300px;
    cursor: pointer;
    border-radius: 4px;
    position: relative;
    transition: bottom .3s ease;
    background-color: var(--white);
    border: 1px solid var(--lighter-black);
}

.product:hover {
    bottom: 5px;
}

.product a {
    color: unset;
    text-decoration: none;
}

.product img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.product h1 {
    height: 30px;
    margin: 10px;
    font-weight: 800;
    text-transform: capitalize;
}

.product h2 {
    font-weight: 800;
    color: var(--red);
    display: inline-block;
    margin: 5px auto 0 10px;
}

.product button {
    border: 0;
    right: 10px;
    bottom: 20px;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    position: absolute;
    color: var(--white);
    text-transform: uppercase;
    background-color: var(--red);
}
