/* product price box
---------------------------------------------------- */
.price-box() {
	
	.price {
		color: #004795;
		font-size: 30px;
		font-weight: 400;
	}

	.old-price {
		vertical-align: top;
		padding-top: 10px;
		.price-hints {
			display: none;
		}
		.price {
			// color: #7e786b;
			// color: #004795;
			color: #7e786b;
			// font-size: 30px;
			font-size: 16px;
			font-weight: 400;
			position: relative;
			top: -10px;
			margin: 0 0 0 10px;
		}
	}
	
	.special-price {
		.price-hints {
			position: relative;
			left: -50px;
		}
	}

	.price-hints {
		color: #6f6f6f;
		font-size: 11px;
		.normalized-price {
			display: block;
		}
		a {
			color: #004896;
			text-transform: none;
			transition: none;		
		}
	}
}


/* product stock
---------------------------------------------------- */
.stock() {
	padding-left: 10px;
	&::before {
		content: "";
		display: inline-block;
		height: 11px;
		width: 11px;
		border-radius: 50%;
		background-color: green;
		position: relative;
		left: -10px;
		top: 7px;
		float: left;
	}
	
	&.unavailable {
		&::before {
			background-color: red;
		}
	}
	
	> span {
		display: block;
		padding-left: 11px;
		color: #999;
		font-size: 11px;
	}
}

/* product product-add-form
---------------------------------------------------- */
.product-add-form() {
	.item {
		padding: 15px 20px;
		min-height: 175px;
		border: 2px solid #eee;
		border-radius: 5px;
		cursor: pointer;
		-webkit-transition: all 300ms ease-in-out;
		transition: all 300ms ease-in-out;
		margin: 0 0 15px;
		

		.product-item-name {
			font-weight: 700;
		}
		
		.stock {
			.stock();
		}
		
		.price-box {
			.price-box();
		}
		
		.control.qty {
			display: none;
		}
		
		
		// active item 
		&.selected {
			border-color: #004795;
		}
		
		// hover
		&.highlight {
			border-color: #1694d6;
		}
		
	}
	
	.box-tocart {
		padding-top: 30px;
		
		.fieldset {
			margin-bottom: 0;
		}
		
		.field {
			display: block;
			
			label {
				display: none;
			}
			.qty {
				width: 100%;
				&:focus {
					box-shadow: none;
				}
			}
			.mage-error {
				margin: 10px 0;
			}
			
		}
		
		.actions {
			margin-top: 7px;
			display: block;
			.action {
				background-color: #004896;
				color: #ffffff;
				border: none;
				display: block;
				width: 100%; 
				text-transform: uppercase;
			}
		}
		
	}
}