.qib-button-wrapper button.qib-button{
    padding: 6px 12px 8px;
    height: 41px;
    background: #ffffff;
    border: 1px solid #efefef;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    width: 41px;
    color: black;
    height: 41px;
}
.qib-button-wrapper .quantity {
    display: inline;
}
.qib-button-wrapper{
    margin: 3px auto;
    white-space: nowrap;
}

.qib-button-wrapper button.qib-button, .qib-button-wrapper div.quantity.wqpmb_quantity {
    float: none !important;
    height: 41px;
}

.qib-button-wrapper .quantity input.input-text.qty.text {
    height: 41px;
    padding: 0px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #efefef;
    font-size: 20px;
    line-height: 20px;
    box-shadow: none;
}

span.wqpmb_plain_input.hidden{display: none;}

body.cart tr.woocommerce-cart-form__cart-item.cart_item .quantity.wqpmb_quantity,.quantity.wqpmb_quantity {
    display: inline-flex;
}
body.single-product .qib-button.qib-button-wrapper {
    display: inline-block;
    float: left;
    margin-right: 5px;
}
body.cart tr.woocommerce-cart-form__cart-item.cart_item .qib-button-wrapper{
    margin: inherit;
}
.woocommerce div.product form.cart .qib-button-wrapper div.quantity{
    margin-right: 0;margin: 0;
}

.qib-button-wrapper input::-webkit-outer-spin-button,
.qib-button-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0; 
}
.qib-button-wrapper input[type=number]
{
  -moz-appearance: textfield;
}

.woocommerce button.button.alt:after, .woocommerce button.button:after{right:20px;content:"\e07a";border:none;padding:0px;font-size:20px;}
.woocommerce button.button.alt, .woocommerce button.button{border:none;padding:0px;}
.woocommerce button.button.alt:hover, .woocommerce button.button:hover{content:none; border:none;padding:0px;}


/*CSS to make sure the Quantity and Add to cart button are next to each other*/

.product .cart {
	flex-flow: row nowrap;
	justify-content: center;
	margin-top: 10px;
}

.woocommerce ul.products li.product .button {
    display: block;
    align-items: center;
    background: #d33;
    width: 100%;
    border-radius:none;
}

/*Styling the Add to cart*/
.woocommerce ul.products li.product .button {
	display: block;
	align-items: center;
	background: #d33;
	width: 100%;
}
.woocommerce ul.products li.product .button:after {
	display: block !important;
	content: "\e07a";
	color: #ffffff; /* buttonicon color */
	padding: 4px!important;
	border-radius: 5px;
	text-align: center;
	transition: .3s ease;
	position: absolute;
	font-size: 20px;
	transform: none !important;
	opacity: 1 !important;
	left: 30px;
	top: 5px;
}

section.related.products {
    margin-top: 60px;
}