/* Product Upsell
--------------------------------------------------------------- */

.block.upsell .title {
	background: none;
	strong {
		font-size: 33px;
		font-weight: normal;
		font-style: normal;
		line-height: 1;
		text-rendering: optimizeLegibility;
		text-transform: uppercase;
		color: #444;
	}
}

.upsell {
    text-align: center;
    
	.item {
	    display: inline-block;
	    vertical-align: top;
	    margin: 0 1%;
	    width: 17.5%;
	    position: relative;
		float: none;
		
		.product-labels {
			.sale-label {
				right: -225px;
				
				.text {
					margin-top: 13px;
				}
				.value, .save {
					margin-top: 3px;
				}
			}
		}
		
		.product-item-name {
			margin-bottom: 5px !important;
			a {
				font-size: 16px !important;
			}
		} 
	}
}

@media (max-width:991px) {
    .upsell .item {
        width: 30%;
        
        .product-labels {
			.sale-label {
				right: -270px;
			}
		}
    }
}

@media (max-width:768px) {
    .upsell .item {
        width: 40%;
        
        .product-labels {
			.sale-label {
				right: -42vw;
			}
		}
    }
}

@media (max-width:480px) {
    .upsell .item {
        width: 50%;
        
        .product-labels {
			.sale-label {
				right: -84vw;
			}
		}
    }
}


@media only screen and (max-width: @screen__m) {
	.block.upsell {
		.product-image-wrapper {
			padding-bottom: 0 !important;
			height: auto;
			.product-image-photo {
				position: static;
			}
		}
	}

}
