/*------------------------------------*\
    WOOCOMMERCE CARRELLO
\*------------------------------------*/

.red_wc_carrello .woocommerce:after{
	content: "";
	display: block;
	clear: both;
}

.red_wc_carrello .cart-collaterals .cross-sells{
	display: none !important;
}

.red_wc_carrello input.input-text.qty.text::-webkit-outer-spin-button,
.red_wc_carrello input.input-text.qty.text::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.red_wc_carrello input.input-text.qty.text{
  -moz-appearance: textfield;
}	

.red_wc_carrello input.input-text.qty.text{
	border: none;
	padding: 10px 10px 9px 10px;
}

.red_wc_carrello .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents{
	border-top: 0;
	border-left: 0;
	border-right: 0;
}

.red_wc_carrello .product-thumbnail img{
	width: 100px !important;
}

.red_wc_carrello .product-name a{
	font-size: 14px;
	line-height: 18px;
	color: #232323;
	font-weight: bold;
}

.red_wc_carrello .woocommerce-Price-amount.amount{
	font-size: 14px;
	line-height: 18px;
	color: var(--red_tmp_colore_principale);
}

.red_wc_carrello .product-subtotal .woocommerce-Price-amount.amount{
	font-size: 16px;
	line-height: 18px;
	color: var(--red_tmp_colore_principale);
	font-weight: bold;
}

.red_wc_carrello .woocommerce-cart-form__cart-item.cart_item .quantity:after{
	content: "";
	display: block;
	clear: both;
}

.quantity .input-text.qty.text,
.quantity .input-group-prepend,
.quantity .input-group-append{
	display: inline-block;
	float: left;
	width: auto;
	text-align: center;
	margin-bottom: 0 !important;
}

.woocommerce div.product form.cart div.quantity{
	margin-bottom: 10px;
}

@media all and (min-width: 769px) and (max-width: 1044px) {
	.quantity .input-text.qty.text,
	.quantity .input-group-prepend,
	.quantity .input-group-append{
		width: 46px;
	}
}

.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-price{
	min-width: 100px !important;
}

.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-quantity{
	min-width: 200px !important;
}

.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-quantity button{
	box-shadow: none;
	border: none;
}

@media all and (max-width: 767px){
	.shop_table_responsive .quantity .input-text.qty.text,
	.shop_table_responsive .quantity .input-group-prepend,
	.shop_table_responsive .quantity .input-group-append{
		width: 100%;
		display: block;
		clear: both;
		float: none;
		margin: 5px auto !important;
	}
	.shop_table_responsive .quantity{
		padding-top: 25px;
	}
	.shop_table_responsive .quantity .btn{
		display: block;
		width: 100%;
	}
	.shop_table_responsive .product-name a{
		display: block;
		width: 100%;
		clear: both;
		text-align: left;
		padding-top: 10px;		
	}
	.red_wc_carrello .woocommerce-cart-form__cart-item{
		position: relative;
	}
	.red_wc_carrello .woocommerce-cart-form__cart-item .product-remove{
		position: absolute;
		right: 0;
		border: 0 !important;
	}
	.red_wc_carrello .woocommerce-cart-form__cart-item .product-thumbnail{
		padding: 15px 0 0 0 !important;
		text-align: center !important;
		border-bottom: 0 !important;
	}
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-name{
		width: 68% !important;
		border-bottom: 0 !important;
	}
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-price{
		width: 50% !important;
		min-width: auto !important;
		float: right !important;
		clear: both;
		line-height: 39px !important;
		border: 0 !important;
	}
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-quantity{
		width: 50% !important;
		min-width: auto !important;
		float: left !important;
		border: 0 !important;
	}
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-quantity:before{
		display: none !important;
	}
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-subtotal{
		width: 100% !important;
		clear: both;
	}
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-quantity .quantity{
		padding-top: 0 !important;
	}
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-quantity .quantity .input-group-prepend,
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-quantity .quantity .input-text.qty.text,
	.red_tmp_has_woocommerce.woocommerce-cart table.shop_table_responsive .woocommerce-cart-form__cart-item.cart_item td.product-quantity .quantity .input-group-append{
		width: 31%;
		margin: 1% !important;
		float: left;
		clear: none;
	}
}

.quantity .input-group-prepend .btn-outline-secondary,
.quantity .input-group-append .btn-outline-secondary{
	color: var(--red_tmp_colore_bottone_custom) !important;
	background-color: var(--red_tmp_colore_sfondo_bottone_custom) !important;
}

.cart .input-group-append .btn,
.cart .input-group-prepend .btn{
	width: 100%;
}

.quantity .input-group-prepend .btn-outline-secondary:hover,
.quantity .input-group-append .btn-outline-secondary:hover{
    color: var(--red_tmp_colore_bottone_custom_hover) !important;
    background-color: var(--red_tmp_colore_sfondo_bottone_custom_hover) !important;
}

.red_wc_carrello .coupon #coupon_code{
	font-size: 14px;
	line-height: 31px;
}

.red_wc_carrello .coupon .button{
	font-size: 14px;
	line-height: 51px;
	margin-right: 10px !important;
}

@media all and (max-width: 767px) {
	.red_wc_carrello .coupon #coupon_code,
	.red_wc_carrello .coupon .button{
		width: 100% !important;
		margin-right: 0 !important;
	}
}

.red_wc_carrello .actions .button[name='update_cart']{
	font-size: 14px;
	line-height: 51px;
}

.red_wc_carrello .actions .button[name='update_cart']:hover{
	background: var(--red_tmp_colore_principale);
	color: #ffffff;
}

@media all and (min-width: 1024px) {
	#coupon_code{
		min-width: 200px; 
	}
}

.red_wc_carrello .cart-collaterals{
	padding: 20px;
	border: 1px solid #cccccc;		
}

.red_wc_carrello .cart-collaterals .cart_totals h2{
	padding: 0 0 20px 12px;
}

.woocommerce table.shop_table td.actions{
	padding-left: 0 !important;
}

.red_wc_carrello .cart-collaterals h2{
	font-size: 24px;
	line-height: 24px;
	text-transform: uppercase;
	color: #232323;		
}

.red_wc_carrello .woocommerce table.shop_table{
	border-radius: 0;
}

.red_wc_carrello .woocommerce .shop_table.shop_table_responsive{
	border: 0;
}

.red_wc_carrello .woocommerce .shop_table.shop_table_responsive{
	font-size: 14px;
	line-height: 16px;
	color: #777777;
}

.red_wc_carrello .woocommerce .shop_table.shop_table_responsive th{
	font-size: 14px;
	line-height: 14px;
	color: #232323;
}

.red_wc_carrello .woocommerce .shop_table.shop_table_responsive .order-total th,
.red_wc_carrello .woocommerce .shop_table.shop_table_responsive .order-total .woocommerce-Price-amount.amount{
	font-size: 26px;
	line-height: 26px;
	padding-top: 40px !important;
	padding-bottom: 30px !important;
}

.shop_table_responsive .actions .coupon input{
	line-height: 23px;
}

.shop_table_responsive .actions button{
	color: var(--red_tmp_colore_bottone_custom) !important;
	background-color: var(--red_tmp_colore_sfondo_bottone_custom) !important;
	margin: 0 5px;
	line-height: 40px;
	padding: 0 20px !important;
}

.shop_table_responsive .actions button:hover{
    color: var(--red_tmp_colore_bottone_custom_hover) !important;
    background-color: var(--red_tmp_colore_sfondo_bottone_custom_hover) !important;
}

@media all and (max-width: 767px) {
	.shop_table_responsive .actions input,
	.shop_table_responsive .actions button{
		display: block !important;
		width: 100% !important;
		float: none !important;
		margin: 10px auto !important;
	}
}

.red_wc_carrello .woocommerce .shop_table.shop_table_responsive .order-total .woocommerce-Price-amount.amount{
	text-align: right;
	display: block;
}

.red_wc_carrello .wc-proceed-to-checkout{
	padding: 0;
}

.red_wc_carrello .wc-proceed-to-checkout a.button.alt {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 16px;
    background: var(--red_tmp_colore_principale);
    border-radius: 0;
    margin-bottom: 0;
	padding: 10px 20px !important;
	display: inline-block;
}

.red_wc_carrello .wc-proceed-to-checkout a.button.alt:hover {
    opacity: 0.8;
}

.woocommerce .cart_totals table.shop_table_responsive tr td{
	background: #ffffff !important;
}

.woocommerce-input-wrapper{
	margin-bottom: 15px !important;
}

.woocommerce-input-wrapper span.select2-selection{
	display: block !important;
	padding: 0 10px !important;
	height: auto !important;
	margin-bottom: 0 !important;
}

.woocommerce-cart #ppcp-messages,
.woocommerce-cart .ppc-button-wrapper{
	display: none;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals{
	float: none;
	width: 100%;
}