/* ----------------------------------------------------------------
	Canvas: Recipes
-----------------------------------------------------------------*/

:root {
	--cnvs-themecolor: #267DF4;
	--cnvs-themecolor-rgb: 38, 125, 244;

	--cnvs-body-font: 'Noto Sans', sans-serif;
	--cnvs-primary-font: 'Noto Serif', serif;
}

#header {
	--cnvs-primary-menu-font-weight: 500;
	--cnvs-primary-menu-font-size:	1rem;
	--cnvs-primary-menu-tt:	none;
	--cnvs-primary-menu-ls:	0;
	--cnvs-primary-menu-submenu-font-size:	0.875rem;
	--cnvs-primary-menu-submenu-font-weight:	400;
	--cnvs-primary-menu-submenu-hover-font-weight: 500;
	--cnvs-primary-menu-submenu-tt:	none;
}

.is-expanded-menu .mega-menu-style-2 .mega-menu-title > .menu-link {
	font-size: calc(var(--cnvs-primary-menu-submenu-font-size) * 0.9);
}

.slider-features .grid-inner {
	overflow: visible;
}

.slider-features .grid-inner::after {
	content: '';
	position: absolute;
	width: 0;
	height: 100%;
	top: 0;
	left: auto;
	right: -1px;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.slider-features img {
	display: block;
	width: 30px !important;
	height: 30px !important;
	margin-bottom: 1rem;
}

.dark .slider-features .grid-inner::after {
	border-right-color: rgba(255, 255, 255, 0.2);
}

.rev_slider .slider-features ul li:not(:last-child) {
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	margin-right: 40px;
	padding-right: 40px;
}

.rev_slider .dark .slider-features ul li:not(:last-child),
.rev_slider .slider-features ul.dark li:not(:last-child) {
	border-right-color: rgba(255, 255, 255, 0.2);
}


/**
 * Recipe Categories
 */

.recipe-categories {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.recipe-category {
	position: relative;
	overflow: hidden;
	flex: 0 0 calc(100% - 20px);
	max-width: calc(100% - 20px);
	margin: 10px;
	height: 80px;
	background-size: cover;
	background-position: center center;
	border-radius: 250px;
	transition: all 0.5s cubic-bezier(.02, .01, .5, 1);
}

.recipe-category::after {
	position: absolute;
	content: '';
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-color: rgba(0,0,0,0.2);
}

.recipe-category-inner {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 10px;
	z-index: 2;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
}


.recipe-category-icon {
	width: 40px;
	height: 40px;
	margin: 0;
	display: flex;
	justify-content: center;
	text-align: center;
	border-radius: 100%;
	background-color: #FFF;
	padding: 8px;
	margin-right: 10px;
	color: #000;
	transition: transform .5s ease-out;
}

.recipe-category:hover .recipe-category-icon {
	transform: rotate(360deg);
}

.recipe-category-info {
	color: #FFF;
	font-size: 18px;
	text-align: center;
}

@media (min-width: 768px) {

	.recipe-category {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}

}


@media (min-width: 992px) {

	.recipe-category {
		flex: 0 0 60px;
		max-width: 60px;
		height: 300px;
		margin: 15px;
		background-size: auto 105%;
		background-position: center;
		border-radius: 30px;
	}

	.recipe-category:hover {
		flex: 0 0 250px;
		max-width: 250px;
		background-size: auto 100%;
		border-radius: 10px;
	}

	.recipe-category-inner {
		width: auto;
		height: auto;
		left: 0;
		top: auto;
		bottom: 0;
		writing-mode: vertical-rl;
		text-orientation: mixed;
		transform: rotate(180deg);
	}

	.recipe-category:hover .recipe-category-inner {
		writing-mode: horizontal-tb;
		transform: rotate(0);
	}

	.recipe-category:not(:hover) .recipe-category-icon {
		width: 40px;
		height: 40px;
		margin-right: 0;
		margin-bottom: 10px;
		transform: rotate(180deg);
	}

	.recipe-category::after {
		background: -webkit-linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
		background: -o-linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
		background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
	}

}



.recipe-items .card img,
.rotating {
	transform: rotate(0deg);
	transition: transform 1.5s linear;
}

.recipe-items .card:hover img,
.rotating:hover {
	transform: rotate(0deg);
	transition: transform 0s linear;
}

.recipe-items .row  {
	border-top: 1px solid #EEE;
	margin-top: -1px;
	margin-bottom: -1px;
}

.recipe-items .row [class^=col-] {
	border-right: 1px solid #EEE;
	border-bottom: 1px solid #EEE;
}

.recipe-items .card {
	border: 0;
	background: transparent;
	border-radius: 0;
	padding: 20px 10px;
}

.recipe-items .card-author {
	font-size: 12px;
	font-weight: 400;
	color: #AAA;
	margin-bottom: 0;
}

.recipe-items .card-title {
	font-size: 18px;
	line-height: 1.3;
}
.recipe-items .card-author a {
	color: #999;
	text-transform: uppercase;
	margin-left: 2px;
	font-weight: 600;
}

.recipe-items .card-title a { color: #222; }

.recipe-items .card-date {
	margin-top: 15px;
	color: #555;
	margin-bottom: 0;
	font-weight: 400;
}

.recipe-items .card-date i { margin-right: 6px; }

.play-video i {
	position: absolute;
	padding-left: 5px;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	line-height: 71px;
	border-radius: 50%;
	z-index: 1;
	border: 4px solid #111;
	text-align: center;
	font-size: 24px;
	color: #111;
	margin-top: -40px;
	margin-left: -40px;
	transition: transform .3s ease-out;
	-webkit-backface-visibility: hidden;
}

.device-sm #page-title .play-video i,
.device-xs #page-title .play-video i {
	position: relative;
	top: auto;
	left: auto;
	margin-top: 20px;
	margin-left: 0;
}

.dark .play-video i {
	background-color: rgba(255, 255, 255, .3);
	border: 4px solid #FFF;
	color: #FFF;
}

.text-title-light {
	font-size: 42px;
	color: #EEE;
	letter-spacing: -1px;
	line-height: 1;
}

.owl-carousel .owl-stage { padding: 0; }
.owl-item { padding: 20px 15px; }
.owl-carousel .owl-nav [class*=owl-] { opacity: 1; }
.owl-carousel .owl-nav .owl-prev { left: -3px !important; }
.owl-carousel .owl-nav .owl-next { right: -3px !important; }

.sub-menu-container:not(.mega-menu-column) {
	padding: 0 !important;
}

.menu-container > .menu-item > .menu-link,
.sub-menu-container .menu-item > .menu-link {
	text-transform: none;
	font-weight: 400 !important;
	letter-spacing: 0;
	font-size: 16px;
	color: #111;
}

.sub-menu-container .menu-link {
	font-size: 14px;
	letter-spacing: 0;
}

.masonry-thumbs a:hover { opacity: .9; }

.widget > h4 { font-size: 22px; }
footer .widget > h4 {
	font-size: 18px;
	margin-bottom: 30px;
}

/* About Page
-----------------------------------------------------------------*/
.page-title.page-title-parallax h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 0;
}

.page-title.page-title-parallax span {
	margin-top: 30px;
    font-weight: 400;
    color: #666;
    font-size: 17px;
}

.about-img > img {
	position: absolute;
	top: 0;
	right: 0;
	width: 60%;
	height: 80%;
}

.about-img > img + img {
	position: relative;
	margin-top: 60px;
	border: 12px solid #FFF;
}

/* Recipe Single
-----------------------------------------------------------------*/
ul.list-ingredients li  {
	font-size: 15px;
	text-transform: capitalize;
}

ul.list-ingredients li:not(:first-child) { padding-top: 12px; }

ol.list-preparation {
	font-variant-numeric: tabular-nums;
    -webkit-font-feature-settings: 'tnum' 1;
    font-feature-settings: 'tnum' 1;
    margin-left: 40px;
}

ol.list-preparation li::before {
    display: inline-block;
    position: absolute;
    content: counter(step-counter) ". ";
    margin-right: 14px;
    color: #267DF4;
    color: var(--cnvs-themecolor);
    font-weight: 700;
    margin-left: -38px;
    margin-top: 2px;
}

ol.list-preparation li {
	counter-increment: step-counter;
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
}

ol.list-preparation li:not(:first-child) { padding-top: 18px; }

.post-navigation a i {
	position: relative;
	top: 1px;
	margin: 0 3px;
}

/* Contact Page
-----------------------------------------------------------------*/
.form-control-pill { border-radius: 23px; }

.select-wrapper {
	overflow: hidden;
    border: 1px solid #ced4da;
}

.recipe-contactform-processing form { opacity: .5; }

/* Responsive Device more than 992px (.device-md >)
-----------------------------------------------------------------*/
@media (min-width: 992px) {

	#header-wrap::before {
		content: '';
		position: absolute;
		top: 50%;
		right: 0;
		height: 60px;
		width: 51%;
		transform: translateY(-50%);
		background-color: rgba(255, 255, 255, 1);
		box-shadow: 0 0.5rem 1.3rem rgba(0, 0, 0, 0.2);
		border-top-left-radius: 3px;
		border-bottom-left-radius: 3px;
		transition: background-color .4s ease;
	}

	#header.sticky-header #header-wrap {
		background-color: transparent;
		box-shadow: none;
		--cnvs-header-border-color: transparent;
	}

	#header.transparent-header:not(.full-header):not(.floating-header) .top-search-form input {
		border-bottom: 0 !important;
		margin-left: 53%;
		width: 51%;
		letter-spacing: 0;
		font-size: 20px;
	}

	.primary-menu .sub-menu-container:not(.mega-menu-column),
	.primary-menu .mega-menu-content { top: 80%; }

	body.top-search-open #header-wrap #logo { opacity: 1; }

	.section { padding: 80px 0; }

}

@media (min-width: 1200px) {

	#header-wrap::before { width: 45%; }

	#header.transparent-header:not(.full-header):not(.floating-header) .top-search-form input {
		width: 45%;
		margin-left: 60%;
	}

}

/* Kart kapsayıcısının 3D derinlik kazanması */
.card-flip-container {
    perspective: 1000px;
    cursor: pointer;
}

/* Ön ve arka yüzleri barındıran ana yapı */
.card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Tıklandığında dönme efekti */
.card-flip-container.flipped .card-flipper {
    transform: rotateY(180deg);
}

/* Ön ve arka yüzlerin ortak özellikleri */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
}

/* Ön yüz (Orijinal kart tasarımı) */
.card-front {
    z-index: 2;
    transform: rotateY(0deg);
    position: relative; /* Ön yüzün yüksekliğini koruması için */
}

/* Arka yüz (Sadece görsel için) */
.card-back {
    transform: rotateY(180deg);
    z-index: 1;
    background-color: #fff;
    border-radius: var(--bs-card-border-radius);
    overflow: hidden;
}
/* Arka yüzdeki görselin tamamının görünmesi ve kesilmemesi için */
.card-back-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Görseli kırpmadan, oranını bozmadan içine sığdırır */
    display: block;
    background-color: #fff; /* Görselin kenarlarında boşluk kalırsa arka planı beyaz yapar */
}
 /* =========================================================
           FİLTRELEME
        ========================================================= */

        .recipe-category {
            cursor: pointer;
            text-decoration: none;
            transition: all .25s ease;
        }

        .recipe-category.active {
            transform: translateY(-5px);
        }

        .recipe-item {
            transition:
                opacity .3s ease,
                transform .3s ease;
        }

        .recipe-item.filter-hidden {
            display: none !important;
        }


        /* =========================================================
           CARD FLIP
        ========================================================= */

        .card-flip-container {
            perspective: 1000px;
            cursor: pointer;
        }

        .card-flipper {
            position: relative;
            width: 100%;
            transform-style: preserve-3d;
            transition: transform .6s ease;
        }

        .card-flipper.flipped {
            transform: rotateY(180deg);
        }

        .card-front,
        .card-back {
            width: 100%;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }

        .card-front {
            position: relative;
            z-index: 2;
        }

        .card-back {
            position: absolute;
            top: 0;
            left: 0;
            transform: rotateY(180deg);
            z-index: 1;
        }

        .card-front img,
        .card-back img {
            width: 100%;
            height: auto;
            display: block;
        }

        .card-body {
            padding: 0 !important;
        }


        /* =========================================================
           ÜRÜN PUANLAMA - CANLI TASARIM
        ========================================================= */

        .product-rating {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 11px 12px 13px;
            margin: 0;
            background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
            border-radius: 0 0 14px 14px;
            box-shadow: 0 4px 14px rgba(0,0,0,.08);
            font-size: 14px;
            line-height: 1;
        }

        .rating-stars {
            position: relative;
            display: inline-block;
            font-size: 20px;
            letter-spacing: 1px;
            filter: drop-shadow(0 2px 2px rgba(255,166,0,.15));
            line-height: 1;
            height: 21px;
            flex: 0 0 auto;
        }

        .rating-stars::before {
            content: "★★★★★";
            color: #e5e7eb;
            text-shadow: 0 1px 1px rgba(0,0,0,.08);
        }

        .rating-stars::after {
            content: "★★★★★";
            position: absolute;
            left: 0;
            top: 0;
            width: var(--rating-width, 95.6%);
            overflow: hidden;
            white-space: nowrap;
            color: #ffad00;
            text-shadow: 0 1px 2px rgba(255,157,0,.25);
        }

        .rating-votes {
            display: inline-flex;
            align-items: center;
            padding: 7px 10px;
            border-radius: 999px;
            background: linear-gradient(135deg, #00c98b, #00a875);
            color: #fff;
            font-weight: 700;
            font-size: 12px;
            white-space: nowrap;
            border: 0;
            box-shadow: 0 4px 10px rgba(0,180,125,.22);
        }

        .rating-votes::before {
            content: "👥";
            margin-right: 5px;
            font-size: 11px;
        }

        @media (max-width: 575.98px) {
            .product-rating {
                gap: 6px;
                padding: 8px 7px 11px;
            }

            .rating-stars {
                font-size: 17px;
                letter-spacing: 0;
            }
            .rating-votes {
                padding: 6px 8px;
                font-size: 11px;
            }
        }

        /* =========================================================
           SIRALAMA ALANI
        ========================================================= */

        .recipe-sort-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 20px;
            margin-bottom: 30px;
        }

        .recipe-sort {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .recipe-sort label {
            font-weight: 700;
            margin: 0;
        }

        .recipe-sort select {
            min-width: 240px;
            padding: 11px 40px 11px 16px;
            border: 0;
            border-radius: 5px;
            background: linear-gradient(135deg, #00b878, #08a879);
            color: #fff;
            cursor: pointer;
            font-size: 14px;
            font-weight: 800;
            box-shadow: 0 5px 14px rgba(0,170,115,.22);
        }


        /* =========================================================
           MOBİL
        ========================================================= */

        @media (max-width: 576px) {

            .recipe-sort {
                width: 100%;
                justify-content: center;
                flex-direction: column;
            }

            .recipe-sort select {
                width: 100%;
                max-width: 300px;
            }

        }