
.wd-hover-quick .single_add_to_cart_button {
	border-radius: 0;
}

.wd-hover-quick .wd-add-btn {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	transition: transform .3s ease, opacity .3s ease;
	transform: translateY(103%) translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.wd-hover-quick .wd-add-btn>p {
	display: none;
}

.wd-hover-quick .wd-add-btn>a {
	display: block;
	font-size: 13px;
	opacity: .8;
	color: #fff;
	background-color: var(--wd-primary-color);
}

.wd-hover-quick .wd-add-btn>a:hover {
	color: #fff;
	box-shadow: inset 0 0 200px rgba(0, 0, 0, .1);
	box-shadow: none;
	opacity: 1;
}

.wd-hover-quick .wd-add-btn>a span {
	padding: 10px;
}

.wd-hover-quick div.quantity {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	height: 100%;
}

.wd-hover-quick div.quantity input[type="button"], .wd-hover-quick div.quantity input[type="number"] {
	border: none;
	background-color: rgba(0, 0, 0, .08);
	color: #fff;
	height: 100%;
}

.wd-hover-quick div.quantity input[type="button"]:hover, .wd-hover-quick div.quantity input[type="number"]:hover {
	background-color: rgba(0, 0, 0, .12);
}

.wd-hover-quick div.quantity input[type="number"] {
	transition: all .25s ease;
}

.wd-hover-quick div.quantity input[type="button"] {
	min-width: 25px;
	border-radius: 0;
}

.wd-hover-quick div.quantity input[type="button"].minus {
	border-right: 1px solid rgba(255, 255, 255, .15);
}

.wd-hover-quick div.quantity input[type="button"].plus {
	border-left: 1px solid rgba(255, 255, 255, .15);
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple {
	padding-left: 80px;
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple:before {
	padding-left: 80px;
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple:after {
	margin-left: 30px;
}

.wd-quantity-enabled .wd-hover-quick .quick-shop-wrapper div.quantity {
	display: inline-flex !important;
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .single_add_to_cart_button {
	padding-left: 92px;
}

.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .single_add_to_cart_button:after {
	margin-left: 30px;
}

.wd-hover-quick:hover .wd-add-btn {
	transform: translateY(0) translateZ(0);
}

.wd-hover-quick.quick-shop-shown .wd-add-btn, .wd-hover-quick.product-swatched .wd-add-btn, .wd-hover-quick[class*="wd-loading"] .wd-add-btn {
	transform: translateY(103%) translateZ(0);
}

.wd-hover-quick.product-swatched:not(.quick-shop-shown):not([class*="wd-loading"]) .product-element-top:hover .wd-add-btn {
	transform: translateY(0) translateZ(0);
}

@media (max-width: 1024px) {
	.wd-quantity-enabled .wd-hover-quick .single_add_to_cart_button {
		font-size: 0;
		white-space: nowrap;
	}
	
	.wd-quantity-enabled .wd-hover-quick .single_add_to_cart_button:before {
		margin-right: 0;
		margin-left: 0;
	}
	
	.wd-hover-quick .wd-add-btn {
		transform: none;
	}
	
	.wd-hover-quick .add-to-cart-loop {
		width: 40px;
		height: 40px;
	}
	
	.wd-hover-quick .add-to-cart-loop span {
		display: none;
	}
	
	.wd-hover-quick .add-to-cart-loop:before {
		transform: none;
	}
	
	.wd-hover-quick .wd-add-btn div.quantity {
		left: 40px;
	}
	
	.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple {
		width: 120px;
		padding-left: 0;
		padding-right: 80px;
	}
	
	.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple:before {
		padding-left: 0;
		padding-right: 80px;
	}
	
	.wd-quantity-enabled .wd-hover-quick:not(.sold-individually) .product_type_simple:after {
		margin-left: 0;
		left: 11px;
	}
}
