input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

.main {
    width: auto;
    margin: 0 auto;
    max-width: 1000px;
    padding-bottom: 4em;
}

.flex-container {
    margin-top: 1em;
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    /* margin: auto; */
}

/* .flex-container::after {
    content: "";
    flex: auto;
} */

.item-card {
    background-color: #fff;
    box-shadow: #dfdfdf 1px 1px 20px;
    width: 275px;
    height: 460px;
    /* padding: 10px; */
    margin: 10px 15px;
}

.item-row {
    background-color: #fff;
    box-shadow: #dfdfdf 1px 1px 20px;
    width: 100%;
    display: flex;
    height: 8.5em;
    line-height: 2em;
    padding: 0.5em 0.5em;
    margin-bottom: 1em;
}

.item-card .picture-container {
    width: 100%;
    height: 260px;
    display: block;
    margin: 0 auto;
    position: relative;
}

.item-card .product-picture {
    max-width: 100%;
    max-height: 100%;
    background-size: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* border: solid 1px black; */
}

.item-row .picture-container {
    width: 15em;
    height: 100%;
}

.item-row .product-picture {
    max-height: 8em;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    background-size: cover;
    /* border: solid 1px black; */
}

.item-row .clicker-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}


.item-card .card-title {
    /* font-weight: bold; */
    text-align: center;
    font-size: 1.2em;
    font-weight: 500;
    margin: 1em 0px;
    padding: 0 0.5em;
    height: 3.6em;
}

.item-row .cart-title-container {
    width: 60%;
    min-width: 8em;
    display: flex;
    align-items: center;
}

.item-row .card-title {
    text-align: center;
    width: 100%;
    font-size: 1.1em;
    font-weight: 500;
}

.item-card .card-price {
    text-align: center;
}

.item-row .cart-price-container {
    text-align: center;
    width: 30%;
    min-width: 7em;
    display: flex;
    align-items: center;
}

.item-row .card-price {
    width: 100%;
    line-height: 6.5em;
}

.item-card .button-container>.card-quantity {
    width: 4em;
    text-align: center;
    border: solid #999 1px;
    border-radius: 2px;
    text-align: center;
    margin: 5px;
}

.item-row .button-container>.card-quantity {
    display: inline-block;
    width: 4em;
    height: 2.0em;
    text-align: center;
    border: solid #999 1px;
    border-radius: 2px;
    text-align: center;
}

.item-card .button-container {
    display: flex;
    width: 100%;
    height: 2.5em;
    justify-content: center;
    line-height: 2em;
    margin: 1em 0;
}

.item-row .button-container {
    display: flex;
    width: 15em;
    /* height: 2.5em; */
    justify-content: center;
    align-items: center;
    /* line-height: 2em; */
    /* margin: 1em 0; */
}


.item-card .btn-addToCard,
.item-card .btn-buy-new {
    background-color: transparent;
    margin: 0 5px;
    padding: 0 0.3em;
    border: solid #ffb74d 2px;
    color: #555;
}

.item-row .btn-addToCard,
.item-row .btn-buy-new {
    display: inline-block;
    background-color: transparent;
    margin: 0 5px;
    padding: 0 0.3em;
    border: solid #ffb74d 2px;
    color: #555;
}

.item-row .fa-shopping-basket,
.item-row .fa-credit-card {
    border: none;
    background-color: transparent;
    line-height: 1.2em;
    transition: all 0.5s;
    white-space: nowrap;
    font-size: 1.6em;
    width: 1.5em;
    height: 100%;
    transition: all 0.4s;
}

.btn-addToCard:hover,
.btn-buy-new:hover {
    background-color: #ffb74d;
    color: white;
}

.focus-animation {
    animation-name: yellow-fadeout;
    animation-duration: 2.5s;
}

@keyframes yellow-fadeout {
    from {background-color: #ffb74d;}
    to {background-color: #fff;}
}
