@use "sass:math";

$imageBorderColor: #d9d9ae;

#prodotto-immagine {
	width: math.div(500px, 860px) * 100%;
	float: left;	
}

#prodotto-immagine-container {
	width: 100%;
	max-width: 500px;	
}

#prodotto-immagine-container img {
	width: 100%;
	max-width: 500px;
}
	
#prodotto-dati {
	width: math.div(320px, 860px) * 100%;
	float: left;
	margin-left: 25px;
}



#prodotto-dettaglio {
	margin: 5px 0px 5px 0px;
}

/* stili per la lista delle categorie di prodotti */

#categorie {
	margin-top: 30px;
}

#categorie a {
	font-family: "AGaramondPro-Regular","Bernhard Modern",Times;
	font-size: 2em;
	text-decoration: none;
	font-weight: normal;
}

#categorie img {
	background-color: #f2f2e0;
	padding: 1px;
	border: 1px solid $imageBorderColor;
}


#categorie p {
	margin-top: 7px;
}

#categorie div {
	text-align: center;
}


/* stili per la lista di prodotti X categoria */
#prodotti-lista {
	
}

#prodotti-lista .col2-a-abb img {
	margin-top: 10px;	
	margin-bottom: 10px;	
}

#prodotti-lista div {
	margin-top: 0px;
	margin-bottom: 0px;
}

#prodotti-lista div.col2-a-abb {
	text-align: center;
}

#prodotti-lista h4 {
	font-size: 1em;
	margin: 0px;
}

#prodotti-lista h4 a {
	font-weight: normal !important;
	font-family: "AGaramondPro-Regular","Bernhard Modern",Times;
	font-size: 2em;
	text-decoration: none;

}

#prodotti-lista img {
	background-color: #f2f2e0;
	padding: 1px;
	border: 1px solid $imageBorderColor;	
}



/* stili per ll detteglio */

#quantita {
	margin-left: 0;
	text-align: center;	
}

.warning-message {
	color: #800000;
}


/* stili per i commenti */
#form-product-comment {
	margin-top: 10px;
}

#form-product-comment div.col2-a-abb {
	width: 15% !important;
	padding: 3px 0 0 0;
	margin-top: 0;
	text-align: right;
}

#form-product-comment div.col2-b-abb {
	float: left !important;
	width: 85% !important;
	padding: 3px 0 0 0;
	margin-top: 0;
}

#form-product-comment div.col2-a-abb label {
	padding-top: 4px;
	margin-right: 5px;
}

#form-product-comment #form-buttons {
	margin-top: 5px;
}


/* stili per la segnala ad un amico */
#form-send-to-friend {
	margin-top: 10px;
}

#form-send-to-friend div.col2-a-abb {
	width: 20% !important;
	padding: 3px 0 0 0;
	margin-top: 0;
	text-align: right;
}

#form-send-to-friend div.col2-b-abb {
	float: left !important;
	width: 75% !important;
	padding: 3px 0 0 0;
	margin-top: 0;
}

#form-send-to-friend div.col2-a-abb label {
	padding-top: 4px;
	margin-right: 5px;
}

#form-send-to-friend #form-buttons {
	margin-top: 5px;
}


.ajax_progress img {
	margin: 7px 10px 0px 0px;
}


.price {
	font-size: 2em;
	color: #800000;
	font-weight: normal;
	margin:10px 0px 0px 0px ;
}

.iva {
	color: #666;
	font-size: .9em;
}


#product-image {
	padding: 0px 25px 0px 0px;
	width: math.div(240px, 860px) * 100%;
	float: left;
}

#product-detail {
	width: math.div(570px, 860px) * 100%;
	float: left;
}

#product-image img {
	max-width: 240px;
	width: 100%;
}

/*
@media all and (max-width: 800px) {
	#product-image {
		width: 20% !important;
	}

	#product-detail {
		width: 40% !important;		
	}

}
*/

#prodotto-dati .lista-link {
	margin-top: 0px;
}



/* ################## SEND TO FRIEND ##################### */

#sendtofriend-message {
	color: #366C36;
	text-align: center;
}
#sendtofriend-errors, #leavecomment-errors {
	margin-bottom: 10px;
}



/* ################## CART OVERLAY ##################### */
/*
#cart-overlay {
	z-index: 1000;
	position: absolute;
	left: 30px;
	top: 30px;
	
	background-color: white;
	color: black;
	width: 300px;
	padding: 10px;
	
	-webkit-border-radius: 8px 8px 8px 8px;
	-moz-border-radius: 8px 8px 8px 8px;
	border-radius: 8px 8px 8px 8px;
	
	-webkit-box-shadow: 0px 9px 20px 0px rgba(116, 123, 121, 1);
	-moz-box-shadow:    0px 9px 20px 0px rgba(116, 123, 121, 1);
	box-shadow:         0px 9px 20px 0px rgba(116, 123, 121, 1);
}

.cart-overlay-item {
	width: 100%;
	margin-bottom: 5px;
}
			
.cart-overlay-item-productquantity {	
	padding: 0px;
	margin: 0px;
	color: gray;
	font-size: .85em;
	text-align:left;
}

.cart-overlay-item-productphoto {
	float: left;
	width: 50px;
	height: 50px;				
}
			
.cart-overlay-item-producttitle {
	font-weight: bold;
	margin: 0px;
	padding: 0px;
}

.cart-overlay-item-productinfo {
	float: left;
}

#cart-overlay-button {
	width: 100%;
	text-align: center;
	font-weight: bold;
	display: block;
	color: #455A1F;
	background-color: #F1ECD0;
	padding: 2px;
	
	border: 1px solid lightGray;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}



#cart-total-products {
	font-size: 1em;
	font-family: Arial;
	font-weight: bold;
	
	position: absolute;
	text-align: center;
	
	min-height: 100px;
}

#prodotti-label {
	color: black;
}

*/

/*############### PRODOTTI SIMILI ################### */

.other-product-item {
	width: 100%;
}

.other-product-item-title {
	text-align: center;
	font-size: 1.1em;
	margin-top: 10px;
	height: 40px;
}

.other-product-item-photo {
	margin: 0px auto;
	margin-bottom: 10px solid #fff;
	width: 100px;
	max-width: 100px;
	
	background-color: #F2F2E0;
}


/*############ DETTAGLIO ###########*/


.product-addcart-quantity {
	float: left;
	margin-right:20px;
	margin-bottom:10px;
}

.product-addcart-button {
	float:left;
	margin-bottom:10px;
}
	


.product-photo img {
	max-width: 90%;
	margin: 0px auto 0px auto;
}