/* ==========================================================================
   Product List Info on Image styles
   ========================================================================== */

.qodef-woo-product-list {
	
	&.qodef-item-layout--info-on-image {
		
		.qodef-e-inner {

			.qodef-woo-product-image-inner {
				@include qodefAbsoluteLayout();
				display: flex;
				align-items: center;
				justify-content: center;
				flex-direction: column;
				padding: 20px 40px 35px;
				background-color: rgba($additional-background-color, .7);
				text-align: center;
				opacity: 0;
				transition: $opacity-transition;
			}
			
			.added_to_cart,
			.button {
				margin-top: 20px !important; // to override default list selector with id

				&:after {
					position: relative;
					top: 0;
					left: 0;
				}
			}

			&:hover {

				.qodef-woo-product-image-inner {
					opacity: 1;
				}
			}
		}
	}
}