/* Quantity field styles */

/* General quantity input styles */
input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.qty {
    -moz-appearance: textfield;
}

/* Cart holder quantity */
.cart-holder .widget_shopping_cart_content .product_list_widget li .quantity,
.cart-holder .widget_shopping_cart_content .cart_list li .quantity {
    display: block;
    overflow: hidden;
    margin: 0 0 0 60px;
}

/* Product summary quantity */
.content-holder div.product .summary .quantity {
    margin-bottom: 10px;
}

.content-holder div.product .summary .quantity .qty {
    margin-bottom: 0px;
}

/* Cart table quantity buttons */
#content .page table.cart .quantity input[type="button"] {
    width: 25px;
    height: 25px;
}

/* Product quantity column */
#content .page td.product-quantity {
    min-width: inherit;
}

/* Jigoshop quantity styles */
.quantity input.qty {
    height: 14px;
    text-align: center;
    padding: 7px 5px;
}

.quantity input[type="button"] {
    height: 30px;
    text-align: center;
    /* width: 17px !important; */
}

.quantity input.plus,
.quantity input.minus {
    border-radius: 0;
    /* background-color: #d8d8d8;
    background-image: -moz-linear-gradient(top, #e0e0e0, #ccc);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e0e0e0), to(#ccc));
    background-image: -webkit-linear-gradient(top, #e0e0e0, #ccc);
    background-image: -o-linear-gradient(top, #e0e0e0, #ccc);
    background-image: linear-gradient(to bottom, #e0e0e0, #ccc);
    background-repeat: repeat-x;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffe0e0e0', endColorstr='#ffcccccc', GradientType=0); */
    /* padding: 4px 5px;
    width: 24px;
    border: 1px solid #ccc;
    font-size: 14px; */
}

.quantity input.qty {
    border: 1px solid #ccc;
    border-left: none;
    border-right: none;
}

/* Cart table quantity styles */
.cart-table .quantity {
    width: auto !important;
}

.cart-table .quantity input[type="button"] {
    font-size: 21px !important;
    font-weight: normal !important;
    line-height: 21px !important;
}

.cart-table .quantity input[type="button"],
.cart-table .quantity input.qty {
    float: none !important;
    position: static !important;
    display: inline-block !important;
    vertical-align: middle;
    background: none !important;
    border: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.cart-table .quantity input.qty {
    height: 38px !important;
    width: 35px !important;
    font-size: 17px !important;
    line-height: 17px !important;
    border: 1px solid #8A8A8A !important;
}

.cart-table .quantity input.qty::-webkit-outer-spin-button,
.cart-table .quantity input.qty::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

.cart-table .quantity input.qty {
    -moz-appearance: textfield;
    /* Firefox */
}

/* WooCommerce quantity styles */
.woocommerce #content .product form.cart .quantity,
.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    height: 46px;
    width: 80px;
    border: 1px solid #363431;
}

.woocommerce #content .product form.cart .quantity.disabled {
    opacity: 0.2;
}

.woocommerce .quantity .plus,
.woocommerce .quantity .qty,
.woocommerce .quantity .minus {
    position: relative;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    float: none;
    background: none;
    height: 100%;
    width: 100%;
    margin: 0;
    line-height: 22px;
    font-size: 18px;
    font-weight: normal;
    border: none;
    box-shadow: none;
    outline: none;
}

.woocommerce #content .product .quantity .plus:hover,
.woocommerce #content .product .quantity .minus:hover {
    background: none;
}

/* Checkout quantity column */
@media (max-width: 768px) {
    .woocommerce-checkout .cart-table td.product-quantity {
        display: none !important;
    }
}