/* Start Common Related Product Manager CSS */

.related-products {
     margin-top: 5px !important;
}
.related-products.grid-container.product-grid-gap {
     grid-column-gap: 30px;
     grid-row-gap: none !important ;
}
.related-products_contanair-1 {
     grid-template-columns: repeat(1,1fr);  
}
.related-products_contanair-2 {
     grid-template-columns: repeat(2,1fr);
}
.related-products_contanair-3 {
     grid-template-columns: repeat(3,1fr);
}
.related-products_contanair-4 {
     grid-template-columns: repeat(4,1fr);
}
.related-products_contanair-5 {
     grid-template-columns: repeat(5,1fr);
}
.related-products_contanair-6 {
     grid-template-columns: repeat(6,1fr);
}
.related-products_img {
     width: 100%;
     height: auto;
     display: block;
     margin: 0 0 1em;
     box-shadow: none;
     margin-bottom: .8em;
}
.related-product-category {
     color: #3a3a3a;
     font-size: .85em;
     margin-bottom: .5em;
     display: block;
     line-height: 1.3;
     opacity: .6;
}
.related_product_star_rating.star-rating {
     width: 110px !important;
     height: 30px !important;
}
.related_product_star_rating.star-rating ::before {
     font-size: 20px;
}
.related_product_star_rating.star-rating span::before {
     font-size: 20px;
     color: #ffa500;
}
.related_product_star_rating .star-rating {
     float: none  !important;
}  
.related_product_star_rating {
     display: flex !important;
     justify-content:center;
}
.related-price {
     line-height: 1.3;
     font-weight: 700;
     margin-bottom: .5em;
     font-size: .9em;
     display: block;
     margin: 0 0 1.2em;
     color: #3a3a3a;
}
.view-btn {
     margin-top: .5em;
     margin-bottom: .5em;
     white-space: normal;
     line-height: 1.3;
}
.view-btn a.button {
     border-radius: 2px;
     padding-top: 10px;
     padding-right: 30px;
     padding-bottom: 10px;
     padding-left: 30px;
     color: #ffffff;
     border-color: #0274be;
     background-color: #0274be;
}
.related-products_img a img {
     width: 100%;
}
.related-product-sale-price {
     top: -15px; 
     right: 0;
     left: auto;
     margin: -.5em -.5em 0 0;
     position: relative;
}
.related-product-sale-price span.onsale {
     min-width: 3.5em;
     line-height: 3.5em;
     right:0;
     background-color: #0274be;
     color: #ffffff;
     padding: 0;
     font-size: 1em;
     font-weight: 400;
     position: absolute;
     text-align: center;
     border-radius: 100%;
     -webkit-font-smoothing: antialiased;
     z-index: 9;
}
.related-price del {
     opacity: .5;
     font-weight: 400;
}
.related-product-category {
     opacity:unset !important;
}

/* End Related Product Manager CSS  */
