/* Product Detail
--------------------------------------------------------------- */

.product.media {

	.product-label.sale-label {
		-webkit-transform: scale(1.1);
		-moz-transform: scale(1.1);
		-ms-transform: scale(1.1);
		-o-transform: scale(1.1);
		transform: scale(1.1);
		right: 5px;
		top:5px;
	}

	.product-image-list {
		border: 1px solid #f5f5f5;
		position: relative;
		> img {
			max-height: 481px;
			width: auto;
			max-width: 100%;
			margin: 0 auto;
			display: block;
		}
	}
}



.product-info-main {
    
    

	.page-title-wrapper {
		h1 {
			margin-bottom: 0;
			font-size: 40px;
			line-height: normal;
			font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
			color: #444444;
			font-weight: 400;
		}
	}
	
	.product.overview {
        letter-spacing: inherit;
        line-height: inherit;
        font-size: inherit;
        margin: 18px 0;
            
    }
		
	.product-info-price {
		border-bottom: none;
        letter-spacing: inherit;
        line-height: inherit;
        font-weight: inherit;
		.price-box {
			.price-box();
		}
		
		.page-product-grouped & {
			display: none;
		}
		
	}
	
	.stock span + span {
        font-weight: inherit;
    }
	
	.product-info-stock-sku {
		color: #444;
		font-size: 16px;
		text-align: left;
		display: block;
		padding-bottom: 0;
		padding-left: 0;
		text-transform: none;
		.stock {
			.stock();
			> span {
				font-size: 16px;
				color: #444;
			}
		}
	}
	
	.product-add-form {
		.product-add-form();
		// overrides
		
		.item {
			.product-item-name,
			.stock {
				font-size: 16px;
				
				&.unavailable {
					text-transform: inherit;
					font-weight: 400;
				}
				
				::before {
					top: 3px;
				}
			}
			
			@media (max-width: 1200px) {
				.price-box {
					.special-price {
						.price-hints {
							left: 0;
						}
					}
				}
			}
		}
		
		.table-wrapper.grouped {
			@media only screen and (max-width: @screen__m) {
				margin-left: inherit;
				margin-right: inherit;
			}
			.row {
				margin: 0;
				
				@media (min-width: 768px) {
					display: flex;
				}
				
				> .item {
					width: ~"calc(50% - 15px)";
					margin-bottom: 0;
					
					@media only screen and (max-width: @screen__m) {
						width: 100%;
					}
					
					&:first-child {
						margin-right: 30px;
					}
					
					// not selected item
					&:not(.selected) {
						.price-box {
							.old-price {
								.price {
									font-size: 16px;
								}
							}
							.price {
								font-size: 25px;
								color: #2f6299;
							}
						}	
					}
					
					// selected item
					&.selected {
						.product-item-name {
							font-size: 20px;
						}
						.price-box {
							.old-price {
								.price {
									font-size: 16px;
								}
							}
							.price {
								font-size: 35px;
							}
						}
					}
					
				}
			}
		}
		.box-tocart {
            border: none;
            margin-bottom: 15px;
			.field {
				display: inline-block;
				.qty {
					width: 100px;
				}
			}
			.actions {
				margin-top: 0;
				display: inline-block;
				.action {
					&:hover {
						background: #1694d6;
					}
				}
				
				// has-aponow
				&.has-aponow {
				    display: inline-flex;
			        margin-right: auto;
				    .action {
					    width: auto;
    					margin-right: 15px;
					    padding-top: 2px;
					    padding-bottom: 2px;
					    margin-right: 0;
					    &.tocart {
							margin-right: 15px;	
						}
					    &.aponow {
							letter-spacing: -.015em;
						}
    					+ a {
							width: auto;
						    flex-basis: 260px;
						    padding-top: 2px;
						    padding-bottom: 2px;
						}
					}
				}
				
			}

		}
	}
	
}


.box-tocart .action.tocart:before {
    display: none;
}

.box-tocart .action.tocart {
    font-weight: inherit;
    height: auto;
    font-size: 14px;   
}


.product-info-main .product-reviews-summary .reviews-actions a {
    color: #bdbdbd;
    padding: 0 15px 0 10px;   
    font-size: 14px;
}

.product-info-main .product-reviews-summary .rating-summary {
    top: inherit; 
    margin-right: 15px;
}

.product-info-main .product-reviews-summary.empty .reviews-actions::before {
    display: none;
}

.product-info-main .product-reviews-summary .rating-summary .rating-result:before {
    color: #c3c5c9;
}

.product-info-main .product-reviews-summary .rating-summary .rating-result > span:before {  
    color: #ffc600;
}

.product-info-main .product-reviews-summary:after {
    display: none;
}

.product-info-main .product-reviews-summary .reviews-actions a:not(:last-child)::after {
    border-left: 1px solid #ccc;
    top: 0;
    height: 19px;
}

.fotorama__thumb {
	background: transparent;
}

.fotorama__thumb-border {
	background-image: none;
}
























/*
.product-view .owl-carousel .owl-item {
    text-align: center;
    border: 1px solid #f5f5f5;
}
.product-image-gallery .gallery-image.visible,
.product-view .product-img-box .product-image-zoom img.visible {
    max-height: 481px;
    width: auto;
}
.product-view .product-shop .product-name h1 {
    margin-bottom: 0;
    font-size: 40px;
    line-height: normal;
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.button.btn-cart.product-add-btn {
    background: #004795;
    color: #fff;
    white-space: normal;
}
.button.btn-cart.product-add-btn:hover {
    background: #1694d6;
}
.product-view .product-shop .price-box {
    margin-bottom: 0;
}
.product-view .product-shop .price-box p {
    margin: 0;
}
.product-view .product-shop .price-box .regular-price .price,
.product-view .product-shop .price-box .special-price .price,
.product-view .product-shop .price-box .full-product-price .price {
    color: #004795;
    font-size: 30px;
}
.price-box .special-price {
    padding: 0;
}
.product-view .product-shop table.data-table .price {
    font-size: 18px !important;
}
.product-view .product-shop .price-box .price {
    font-size: 30px;
}
.price-box .price,
.price {
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.product-view .product-shop .price-box .old-price .price {
    position: relative;
    top: -10px;
    margin: 0 0 0 10px;
    font-size: 16px;
}
.mwst {
    display: block;
    font-size: 80%;
    color: #6f6f6f;
}
.mwst a {
    color: #004896;
    text-transform: none;
    transition: none;
} 
.availability.in-stock {
    padding-left: 20px;
    background: url("../images/icon-in-stock.png") no-repeat left 9px;
}
.availability.out-of-stock {
    padding-left: 20px;
    background: url("../images/icon-out-of-stock.png") no-repeat left 9px;
}
.product-view table small {
    margin: 0 0 0 20px;
    font-size: 16px !important;
}
.product-view .product-shop .grouped-items-table {
    border: 0 none;
}
.product-view .product-shop .grouped-items-table td {
    padding-left: 0;
    font-size: 20px;
    border-color: #e5e5e5;
    vertical-align: bottom;
}
.product-view .product-shop .grouped-items-table small {
    display: block;
}
.product-view .product-shop .grouped-items-table small.normalize {
    font-size: 14px !important;
    margin: 0;
}
.product-view .product-shop .grouped-items-table tr:last-child td {
    border: 0 none;
}
.product-view .product-shop .grouped-items-table .mwst {
    display: none;
}
.product-view .product-shop .grouped-items-table .special-price {
    float: right;
}
.product-view .product-shop .data-table.grouped-items-table .price {
    font-size: 26px !important;
}
.product-view .product-shop .data-table.grouped-items-table .old-price .price {
    font-size: 16px !important;
    margin: 0 10px;
    top: -6px;
}
.product-view .availability-wrapper .amstockstatus {
    display: block;
}
.product-view .product-shop .data-table.grouped-items-table .input-text.qty {
    margin-top: -25px;
    height: 35px;
}
.product-view .product-shop .short-description {
    margin:30px 0;
}
*/







/* Sharing */
.product-essential label.share-title {
    display: block;
}
.product-essential .sharing-tool-area.style_10,
.product-essential .icon-email {
    display: inline-block;
    vertical-align: top;
}
.product-essential .icon-email {
    height: 40px;
    padding: 9px 0;
    width: 45px;
}
.product-essential .icon-email:before,
.product-essential .icon-email:focus {
  content: '\e813';
    font-size: 24px;
}
.sw-cart-state a {
    color: #fff;
    text-decoration: underline;
}
.sw-cart-state a:hover {
    text-decoration: none;
}





/* Grouped Items */
.product-view .item-selector {
    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;
}
.product-view .item-selector:hover {
    border-color: #1694d6;
}
.product-view .item-selector.active {
    border-color: #004795;
}
.product-view .item-selector p {
    margin: 0;
}
.product-view .item-selector .price-box {
    margin-top: 15px;
}
.product-view .item-selector .availability.amstockstatus_grouped_status {
    display: block;
    margin: 0 0 0 20px;
    color: #999;
}
.add-to-box #item-qty {
    float: left;
    height: 36px;
    margin: 7px 20px 0 0;
    text-align: center;
    width: 100px;
}
.product-view .product-collateral {
    margin: 50px 0;
}
@media (max-width: 990px) {
    .product-view .item-selector {
        min-height: 220px;
    }
}
@media (max-width: 768px) {
    .product-view .item-selector {
        min-height: auto;
    }
    .product-view .product-collateral {
        margin-top:20px;
    }
    .product-view .product-tab li {
        width: 100%;
        margin: -1px 0 0;
    }
    .product-view .product-tab li a {
        display: block;
    }
}
@media (max-width:480px) {
    .product-view .add-to-cart,
    .product-view .add-to-cart .qty {
        margin-right: 10px;
    }
}
@media (max-width: 600px) {
    .product-view .product-shop .grouped-items-table tr {
        border-bottom: 1px solid #e5e5e5;
    }
    .product-view .product-shop .grouped-items-table td {
        float: left;
        clear:left;
        padding: 5px 0;
        border: 0 none;
    }
    .product-view .product-shop .grouped-items-table td.last {
        clear: none;
        float: left;
        margin-left: 10px;
        margin-top: -3px;
    }
    .product-view .product-shop .grouped-items-table td.last:before {
        font-size: 18px;
    }
    .product-view .product-shop .data-table.grouped-items-table .input-text.qty {
        margin: 13px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .product-view .product-tab li a {
        font-size: 13px;
    }
    .product-view .product-tab > ul {
        margin-bottom: 8px;
    }
}





/* Table */
.product-essential table {
    /*max-width: 50%;*/
    max-width: 100%;
    margin-top: 20px;
}





/* Tabs 
.granada-tab > ul {
    margin-bottom: 10px;
}
.granada-tab > ul > li {
    margin-right: 10px;
}
.granada-tab > ul > li a {
    border: 1px solid #e5e5e5;
    color: #444;
    border-radius: 4px 4px 0 0;
    font-size: 18px;
}
.granada-tab > ul > li.active a {
    border: 1px solid #e5e5e5;
    background: #e5e5e5;
    color: #444;
}
.granada-tab > ul > li.active::after {
    border: 0 none;
}
.granada-tab .tab-content {
    padding: 20px;
    border: 1px solid #e5e5e5;
}
.granada-tab .tab-content img {
    display: inline-block;
    margin-right: 20px;
    width: 50px;
    vertical-align: top;
}
*/