@charset "utf-8";
/* CSS Document */


/*///////////////////// CATALOGO PRODOTTI /////////////////////////////*/

.ProductsMenu_Box{
    position: relative;
	left: +14px;
    border-bottom-color: #DDDDDD;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: #DDDDDD;
	font-weight: 300;
	font-size: 1.3em;
	text-align: left;
	line-height: 45px;

}

.ProductsMenu_Pad{
    padding: 5px 20px 20px 20px;  
}


.ProductsSubMenu{
	display: none;
	color: #000000;
	font-weight: 300;
	font-size: 13px;
	text-align:left;
	line-height: 18px;

}



div#ProductsSearch_Box{
  width: 100%;
  border-bottom-color: #CCCCCC;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-left-color: #CCCCCC;
  border-left-width: 1px;
  border-left-style: solid;
  border-right-color: #CCCCCC;
  border-right-width: 1px;
  border-right-style: solid;
}

div#ProductsSearch_Pad{
    padding: 40px 0px 50px 30px;  
}


.OldPrice{
	text-decoration: line-through;
}

div#ProductDetail_Box{
   font-size: 1em;
   width: 100%;
   text-align: justify;
   margin-right: auto;
   margin-left: auto;
   
   border-bottom-color: #EAC73D;
   border-bottom-style: solid;
   border-bottom-width: 1px;
   border-top-color: #EAC73D;
   border-top-style: solid;
   border-top-width: 1px;
   border-right-color: #EAC73D;
   border-right-style: double;
   border-right-width: 1px;
   border-left-color: #EAC73D;
   border-left-style: solid;
   border-left-width: 1px;
}

div#ProductDetail_Pad{
   padding: /*sopra=*/20px /*destra=*/20px /*sotto=*/20px /*sinistra=*/20px;
}


.HomeProductsLink {
	color: #1A6FA1;
	font-size: 18px;
	padding: 0px;
}

/******************************************************/
@media screen and (max-width: 767px) {
	div#ProductsMosaic_Box{
	  width: 100%;
	  vertical-align: top;
	}
	
	div#ProductsMosaic_Pad{
	  padding: 20px 20px 20px 0px;
	}
	
	
	.LogoMini{
	  display: none;
	}
	
	.BoxProduct{
	  padding: 20px;  
	  font-size: 1rem;
	  color: #777;
	  border: solid 1px #ccc;
	  border-radius: 15px;
	  min-height: 150px;
	}

}

.CorniceFotoMosaic {
	width: 100%;
	height: 320px;
	overflow: hidden;
	border: #CCCCCC solid 1px;	  
	  border-radius: 10px;
	background-repeat: no-repeat;
	background-size: cover;
  }
@media screen and (min-width: 768px) {
	div#ProductsMosaic_Box{
	  width: 33%;
	  float: left;
	  vertical-align: top;	  
	}
	
	div#ProductsMosaic_Pad{
	  padding: 10px 10px 0px 0px;
	}
	
	.CorniceFotoMosaic {
	  width: 100%;
	  height: 320px;
	  overflow: hidden;
	  border: #CCCCCC solid 1px;	  
  	  border-radius: 10px;
	  background-repeat: no-repeat;
	  background-size: cover;
	}
	
	.ColonnaTesto{
	   width: 55%;
	   float:left;
	   line-height: 25px;
	}
		
	.ColonnaFoto{
	  width: 45%;
	  float:left;
	  padding: 20px;
	} 
	
	.LogoMini{
	  position:relative;
	  left: 85%;
	  top:430px;
	}
	
	.BoxProduct{
	  padding: 20px;  
	  font-size: 1rem;
	  color: #777;
	  border: solid 1px #ccc;
	  border-radius: 15px;
	  min-height: 150px;
	  position:relative;
	  top: -30px;
	}
	
}



@media screen and (max-width: 768px) {
  #HomePromozioni{
	  background-color: var(--secondary); 
	  padding: 3% 1%;
	  width:100%; 
  }
  #HomePromozioni h3{
	color: var(--secondary_c);
	font-size: 42px;
	padding: 50px;
  }
}

@media screen and (min-width: 769px) {
  #HomePromozioni{
	background-color: var(--secondary); 
	padding: 3% 1%;
	border-radius: 10px;
	width: 100%; 
  }
  #HomePromozioni h3{
	color: var(--secondary_c);
	font-size: 42px;
	padding: 50px;
  }
}


.TitleMosaic{
  font-size: 1rem;
  font-weight: bold;
  min-height: 65px;
  color: var(--secondary);
}

/*** BOTTONE CATALOGO *****/

@media screen and (max-width: 767px) {
	#Catalogo_box{
		display: flex; 
		justify-content: center; 
		height: 50px;
	}
    .CatalogoNavBar_box{
        display: none;
    } 
	.Catalogo_button{
		display: none;
	}
}
@media screen and (min-width: 768px) {
	
	#Catalogo_box{
		display: flex; 
		justify-content: flex-end; 
		height: 58px;	
		border: solid 1px var(--secondary);
		border-radius: 10px;
		margin-top: 10px;
		margin: 10px 1% 0px 1%;
		width: 98%;		
		box-shadow: 0 0 20px #CCC;
	}
	.Catalogo_button{
		background-color: var(--secondary);
		padding: 15px 25px;
	}
	.Catalogo_button a{
		color: var(--secondary_c);
	}
	.Catalogo_button:hover{
		background-color: var(--primary);
	}
	.Catalogo_button:hover a{
		color: var(--primary_c);
	}

	.CatalogoNavBar_box{
		position: fixed;
		top: 0px;
		left: 0;
		width: 28%;
		height: 100%;
		padding: 30px;
		text-align: left;
		background-color: var(--secondary);
		transition: 0.8s;
		transform: translateX(-100%);
		z-index: 1000;
	}

	.CatalogoNavBar_box h1{
		font-size: 1.5rem;
		color: var(--secondary_c);
		padding: 20px;
	}
	.CatalogoNavBar_box a{
		color: var(--secondary_c);
	}

	.showMenuHidden{
		transform: translateX(0);
	}
	.CatalogoNavBar_box input[type=text]{
		width: 70%;
	}
}


/****************************************************/
.related-products-section {
    margin: 40px 0;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.related-products-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin: 0 0 30px 0;
    position: relative;
}

.related-products-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Gallery Container */
.related-products-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Link Prodotto */
.related-product-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.related-product-link:hover {
    transform: translateY(-3px);
}

/* Card Prodotto Correlato */
.RelatedCard {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.RelatedCard:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Immagine Prodotto */
.RelatedProductImage {
    width: 100%;
    height: 300px;
    background-color: #f1f3f4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-bottom: 2px solid #e9ecef;
}

.RelatedProductImage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 100%);
}

/* Badge Promo
.related-promo-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e74c3c;
    padding: 6px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    z-index: 2;
} */

.related-promo-badge img {
    filter: brightness(0) invert(1);
}

/* Informazioni Prodotto */
.related-product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 400px);
}

.related-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
	  line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-brand {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

/* Sezione Prezzi */
.related-price-section {
    margin: 8px 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-old-price {
    font-size: 12px;
    color: #6c757d;
    text-decoration: line-through;
}

.related-current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* Bottone Dettagli */
.related-details-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-top: auto;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-product-link:hover .related-details-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .related-products-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .related-products-section {
        margin: 30px 0;
        padding: 20px 15px;
    }
    
    .RelatedProductImage {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .related-products-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .related-products-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}