/*--------------------------- 
Add Plugin Front-End CSS here 
---------------------------*/
#mega-menu-wrap-main_navigation #mega-menu-main_navigation > li.mega-menu-megamenu > ul.mega-sub-menu{
	background: fff !important;
}


.products-grid {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
	justify-content: center;
}
.product {
    width: 30%; /* Для ПК */
    margin-bottom: 20px;
}

div#custom-products-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

div#custom-products-container .product a h2{
    text-align: center;
    font-weight: 400;
    font-size:18px;
    padding-left:15px;
    padding-right:15px;
	padding-top:25px;
}

@media only screen and (max-width: 768px) {
    .product {
        width: 100%; /* Для мобільних */
    }
}

/*  overley */
.product {
    position: relative;
    /* Ваші стилі для товару */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5); !* Напівпрозорий чорний фон *!*/
    background: rgb(255 31 17 / 85%); /* Напівпрозорий чорний фон */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

div#custom-products-container .product:hover .overlay {
    opacity: 1;
}

/*div#custom-products-container .product:hover h2{*/
/*    opacity:0;*/
/*}*/


div#custom-products-container .overlay-read-more{
    opacity:0;
    text-align: center;
    color: #ffffff;
    font-size: 17px;
    margin-top: -10px;
    font-weight: 400;
    display: block;
	background: #ff1814;
	border: 2px solid #ff1814;
}

div#custom-products-container  .product:hover  .overlay-read-more{
    opacity:1;
}

.product .overlay {

    padding: 20px;
    display: flex;
    flex-direction: column;
}

/*

*/
#mrgrill_wraper,
#tulchin_wraper {
    cursor:pointer;
}

body:not(.fusion-builder-live) .tulchin_btn,
body:not(.fusion-builder-live) .mrgrill_btn {
    display: none;
}
@media screen and (min-width:769px) {
    [style="grid-template-columns: repeat(5, 1fr);"] .product {
        width: 20%;
    }

    [style="grid-template-columns: repeat(4, 1fr);"] .product {
        width: 25%;
    }
}


/* IRekunenko*/
.fusion-tabs .nav-tabs li.active .fusion-tab-heading {
    color: #e72419 !important;
}
.grayscale_logo img.attachment-blog-medium.size-blog-medium{
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);
}

.grayscale_logo img.attachment-blog-medium.size-blog-medium:hover {
    filter: none;
}

.hidden{
	display:none;
}