/* Product Grid
--------------------------------------------------------------- */
.products-grid {

	.actions-wrapper {

		position: relative;

		.product-btn {
			background: #004795;
		}
		

	}
	
	.actions {
		position: relative;
		-webkit-transform: none;
		transform: none;
		margin-top: 10px;
		.actions-wrapper {
			a {
				display: inline-block;
				float: none;
				vertical-align: top;
				margin-right: 5px;
				padding: 0;
				width: 40px;
				height: 40px;
				max-height: none;
				border-radius: 3px;
				font-size: 0;
				line-height: 40px;
				font-weight: normal;
			}
		}
		
		.product-add-btn {
			&::before {
				content: '\e822';
				font: 20px/40px granada-font;
			}
		}
		
		.link-wishlist {
			&::before {
				font-size: 24px;
			}
		}
		
		.product-btn.link-wishlist {
			border: 1px solid #004896;
			color: #004896;
			background: 0 none;
			line-height: 38px;
			&:hover {
				border-color: #1694d6;
				background: #1694d6;
				color: #fff;
			}
		}
	}
	
	li {
		&:hover {
			.sw-product-quickview.product-btn {
				opacity: 1;
			}
		}
	}
	
	.product-item {
		list-style: none;
		
		/*
		.cms-home & {
		    width: 20% !important;
		    margin: 0 0 50px 0 !important;
		    padding: 0 5px !important;
		}
		*/
		
		.product-item-details {
		
			list-style: none;
			margin-bottom: 20px;
		
			.product-item-name {
				min-height: inherit;
				margin-bottom: 0;
				
				.cms-home & {
					min-height: 55px;
				}
				
				a {
					color: #444;
					font-size: 18px;
					line-height: normal;
					text-transform: uppercase;
					&:hover {
						text-decoration: underline;
					}
					-webkit-hyphens: none;
				    -moz-hyphens:    none;
				    -ms-hyphens:     none;
				    hyphens:         none;
				}
			}
			
			.product-property-short {
				font-size: 16px;
				margin-bottom: 10px;
				color: #777;
			}
			
			.product-content {
				font-size: 12px;
				font-weight: bold;
				color: #777;
			}
			
			.price-box {
				margin-top: 0;
				.minimal-price {
					margin-bottom: 0;
					.price-label {
						color: #7e786b;
						white-space: nowrap;
						font-size: 16px;
					    display: inline-block;
					    vertical-align: inherit;
					}
					.price-container {
						display: inline-block;
					}
				}
				
				.price {
					color: #004896;
					font-weight: 500;
					font-size: 20px;
				}
				
				.old-price {
					display: none;
				}
				
				.special-price {
					.price-hints {
						display: block;
						font-size: 12px;
						color: #6f6f6f;
						a {
							&:hover {
								text-decoration: none;
							}
						}
					}
				}
				.price-hints {
					display: block;
					font-size: 12px;
					color: #6f6f6f;
					
					.tax-hint {
						display: block;
						font-size: 11px;
						color: #6f6f6f;
					}
					
					.normalized-price {
						color: #999;
						font-size: 11px;
					}
					
					a {
						&:hover {
							text-decoration: none;
						}
					}
				}
			}
		}
		

		
		.product-item-photo {
			padding: 0;
			border: 0;
			border-radius: 0;
			margin-bottom: 18px;
			overflow: visible;
			
			.upsell & {
				margin-bottom: 0;
			}
			
			img {
				margin: 0 auto;
				height: 270px;
				width: auto;
			}
			
			.product-labels {
				top: 0;
				right: -5px;
				span {
					line-height: 1.5;
					font-size: 11px;
				}
				span.text {
					margin-top: 9px;
				}
				span.value {
					margin-top: 3px;
					font-size: 30px;
					line-height: 30px;
				}
				span.save {
					margin-top: 4px;
				}
			}
			.product-label.sale-label {
				right: 0;
			}
		}
		
		&:hover {
			.product-item-details {
				.product-item-actions {
					.tocart {
						font-size: 23px;
						background: #004795;
						color: #fff;
						white-space: normal;
						border-color: #004896;
						width: 40px;
						height: 40px;
					}
				}
			}
		}
	}
	
	.product-item-details {
		.product-item-inner {
			margin-top: 10px;
		}
		
		.product-item-actions {
			.tocart {
				font-size: 23px;
				background: #004795;
				color: #fff;
				white-space: normal;
				border-color: #004896;
				width: 40px;
				height: 40px;
				color: #fff;
				background: #004795;
                border-radius: 5px;
                font-weight: 400;
				
				&:hover {
					border-color: #1694D6 !important;
					background-color: #1694D6 !important;
					color: #fff !important;
					
					
					
				}
				
			}
		}
	}
}

.sw-product-quickview.product-btn {
	color: #000;
	position: absolute;
	right: 0;
	top: 250px;
	text-transform: uppercase;
	opacity: 0;
	transition: all 0.35s;
}

.product-item .tocart:before {
	content: '\e871';
	font-size: 20px;
	margin-right: 1px;
    font-weight: inherit;
}


.product-item-name {
	font-size: 14px;
}

// remove clearing

/*
.products-grid.columns3 .product-item.nth-child-2np1, 
.products-grid.columns4 .product-item.nth-child-2np1, 
.products-grid.columns5 .product-item.nth-child-2np1 {
	clear: inherit;
}
*/

@media(max-width:600px) {
	.products-grid {
		.product-item {
			.product-item-photo {
				img {
					height: 200px;
				}
			}
		}
	}
}

@media(max-width:1199px) {
	.page-layout-1column {
		.block.widget {
			.products-grid {
				.product-item {
					width: 33% !important;
				}
			}
		}
	}
}

@media(max-width:767px) {
	.page-layout-1column {
		.block.widget {
			.products-grid {
				.product-item {
					width: 50% !important;
					margin-left: 0;
				}
			}
		}
	}
}

@media(max-width:480px) {
	.page-layout-1column {
		.block.widget {
			.products-grid {
				.product-item {
					width: 100% !important;
				}
			}
		}
	}
}
