.quantity {
    align-content: flex-start;
    display: flex;
    flex-wrap: nowrap;
    width: 10rem;
}

    .quantity input {
        background: #f5f5f5;
        border: 0;
        font-size: 1rem;
        text-align: center;
        max-width: 5.1em;
        height: 3.5rem;
    }

    .quantity button.quantity-button {
        background: #f5f5f5;
        box-shadow: none;
        border: 0;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .9rem;
        padding: .5em 1em;
        opacity: .9;
        outline: none;
        overflow: hidden;
        height: 3.5rem;
        width: 2rem;
    }

        .quantity button.quantity-button:hover {
            opacity: 1;
        }

        .quantity button.quantity-button:before {
            display: flex;
            content: "";
            font-family: 'Font Awesome 6 Pro';
        }

        .quantity button.quantity-button.item-decrease:before {
            content: "\f068";
        }

        .quantity button.quantity-button.item-increase:before {
            content: "\2b";
        }


@media only screen and (min-width : 0px) and (max-width : 52rem) {
    .quantity {
        width: 100%;
    }

        .quantity input {
            max-width: 100%;
        }
}