#snow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1000;
    width: 100%;
    height: 100%;
}

.snowflake {
    position: absolute;
    color: #FFF;
    font-size: 1em;
    opacity: 0.7;
    animation-name: fall;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}


.kategoriButton,
.urunEkleButton,
.testEtButton {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    /* Butonun etrafına çerçeve */
    background-color: #f8f9fa;
    /* Arka plan rengi */
    border-radius: 5px;
    /* Hafif yuvarlatılmış köşeler */
    text-decoration: none;
}

.kategoriButton i,
.urunEkleButton i,
.testEtButton i {
    font-size: 18px;
    /* İkon boyutu */
    color: #000;
    /* İkon rengi */
}

/* Detay Sayfasındaki Sepet Butonu Stili */
#food-recipe-image {
    position: relative; /* Pozisyon içindeki mutlak konumlandırma için */
}

.pgp-img {
    position: relative !important; /* Butonun resmin üzerine gelmesi için gerekli */
}

.pgp-img .cart-btn,
#food-recipe-image .cart-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 99999; /* En üstte görünmesi için çok yüksek z-index */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Resim içindeki tüm konteynerların pozisyon ayarı */
#food-recipe-image .pgp-wrap-img,
#food-recipe-image .pgp-wrap-img-in,
#food-recipe-image .pgp-img {
    position: relative;
}

/* Buton üzerine gelindiğinde stiller */
.pgp-img .cart-btn:hover,
#food-recipe-image .cart-btn:hover {
    background-color: #25D366;
    color: white;
    transform: scale(1.1);
}

.pgp-img .cart-btn i,
#food-recipe-image .cart-btn i {
    font-size: 20px;
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .pgp-img .cart-btn,
    #food-recipe-image .cart-btn {
        width: 36px;
        height: 36px;
    }
    
    .pgp-img .cart-btn i,
    #food-recipe-image .cart-btn i {
        font-size: 18px;
    }
}


@keyframes fall {
    0% {
        opacity: 0;
        transform: translateY(-50vh) rotate(0deg);
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

.heading-page-down {
    display: flex;
    justify-content: space-between;
}

.end {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.end button {
    text-align: center;
    vertical-align: middle;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    margin-right: 0 !important;
}

@media (max-width: 760px) {
    .heading-page-down {
        display: ruby;
    }

    .heading-page-down button {
        margin-right: 0px;
    }
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1042;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);

}

@media (max-width: 480px) {
    .modal {
        width: 100%;
    }
}

/* Modal Content Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-left: auto;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.qr-code {
    margin: auto;
}

@media (min-width: 768px) {
    .qr-code {
        width: 200px;
    }
}



/* Download Button */
.download-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 50%;
    margin: auto;
}

.download-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 480px) {
    .download-btn {
        width: 100%;
        font-size: 10px;
    }
}

.image-favourite {
    width: 400px;
    height: 400px;
    margin: auto;
}


.whatsapp-icon-container {
    display: inline-block;
    background-color: #041510;
    /* #041510; Koyu mavi arka plan rengi (Wwhats rengi: 035942) */
    color: #fff;
    /* Beyaz yazı rengi */
    padding: 7px 10px;
    /* Yüksekliği artırmak için padding değerini ayarlayabilirsiniz */
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    /* Yazı fontu boyutu */
    position: relative;
    cursor: pointer;

}

.whatsapp-icon-container i {
    margin-right: 5px;
    /* WhatsApp ikonu ile metin arasındaki boşluk */
}

.friend-send-text {
    margin-bottom: 5px;
    /* Arkadaşınla yazısı ile Gönder yazısı arasındaki boşluk */
}

.whatsapp-icon-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;

}

.whatsapp-icon-container:hover:before {
    opacity: 0.8;
    /* Parıltıda saydamlığı artırıyoruz */
}

#myCanvas {
    cursor: pointer;
}

.testEtButton {
    font-size: 14px;
    min-height: 42px;
    font-weight: bold;
}

.kategoriHeader {
    display: none;
}

.kategoriHeader2 {
    display: none;
}

.kategoriHeader button:hover {
    background: black;
}

.kategoriHeader button {
    background: white;
    transform: translateY(-6px);
    transition: 0.2s all ease-in;
    border: 1px solid black;
    margin-bottom: 0px;
    float: right;
}

.kategoriHeader2 button:hover {
    background: black;
}

.kategoriHeader2 button {
    background: white;
    transform: translateY(-6px);
    transition: 0.2s all ease-in;
    border: 1px solid black;
    margin-bottom: 0px;
    float: right;
}

.yesOrNo {
    display: none;
    position: fixed;
    border-radius: 10px;
    width: fit-content;
    height: auto;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #252525;
    padding: 20px;
    border: 2px solid white;
    z-index: 10000;
    overflow-y: auto;
    color: white;
}

@media (max-width: 365px) {
    .kategoriHeader button {
        padding: 0px !important;
        width: 50px;
        height: 32px;
        font-size: 12px;
    }

    .kategoriHeaderText b {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .yesOrNo p {
        font-size: 12px;
    }

    .yesOrNo {
        min-width: 90% !important;
        transform: translate(-50%, -50%) scale(0.8) !important;
        /* Merkezden ayarla */
    }

    .form {
        transform: translate(-50%, -50%) scale(0.58) !important;
        /* Merkezden ayarla */
    }

    .kategoriHeader button {
        padding: 5px 10px;
        height: 42px;
    }
}

@media (min-width: 400px) {
    .yesOrNo p {
        font-size: 14px;
    }

    .form {
        transform: translate(-50%, -50%) scale(0.75) !important;
        /* Merkezden ayarla */
    }
}

@media (min-width: 500px) {
    .yesOrNo p {
        font-size: 14px;
    }

    .form {
        transform: translate(-50%, -50%) scale(0.85) !important;
        /* Merkezden ayarla */
    }
}

@media (max-width: 600px) {
    .panelButtons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }
}

@media (min-width: 600px) {
    .kategoriHeader2 .panelButtons {
        float: right;
        display: flex;
        justify-content: center;
        /* Align buttons horizontally at the center */
    }

    .panelButtons button {
        margin: 0 10px 10px 0;
    }
}

@media (min-width: 768px) {
    .yesOrNo p {
        font-size: 22px;
    }

    .yesOrNo {
        transform: translate(-50%, -50%) scale(0.85) !important;
        /* Merkezden ayarla */
    }

    .form {
        transform: translate(-50%, -50%) scale(0.7) !important;
        /* Merkezden ayarla */
    }

    #kategori-adi {
        margin-left: 14%;
    }
}

@media (min-height: 1024px) {
    .form {
        transform: translate(-50%, -50%) scale(1.2) !important;
        /* Merkezden ayarla */
    }
}

#choices {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

button {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.evetSil,
#iptal {
    transition: 0.3s background ease;
    color: white;

}

.evetSil {
    background: #e74c3c;
}

.evetSil:hover {
    background: #c0392b;
}

#iptal {
    background: green;
}

#iptal:hover {
    background: darkgreen;
}

#gosterilenResim {
    font-weight: normal;
}

.ortalamaKutusu {
    display: flex;
    justify-content: center;
    /* Yatayda ortala */
    align-items: center;
    /* Dikeyde ortala */
    margin-bottom: 3em;
}

.oncekiResim {
    padding: 0.5em;
    border-radius: 5px;
    width: 125px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #252525;
    color: white;
    height: 50px;
}

.oncekiResim:hover {
    background-color: red;
    color: white;
}

.sonrakiResim {
    width: 125px;
    padding: 0.5em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #252525;
    color: white;
    height: 50px;
}

.sonrakiResim:hover {
    background-color: red;
    color: white;
}

.siyahFiltre {
    position: fixed;
    /* Sabit konumlandırma */
    top: 0;
    /* Üstten boşluk */
    left: 0;
    /* Soldan boşluk */
    width: 100%;
    /* Genişlik */
    height: 100%;
    /* Yükseklik */
    background: rgba(0, 0, 0, 0.8);
    /* Tamamen siyah overlay */
    z-index: 998;
    /* Öğenin sıralamasını belirler */
    display: none;
    /* Görünürlüğü gizler */
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 530px;
    max-width: 530px;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 0.4em;
    background-color: white;
    border-radius: 25px;
    border: 1px solid black;
    transition: .4s ease-in-out;
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centering horizontally and vertically */
}


#heading {
    text-align: center;
    color: black;
    font-size: 20px;
    font-weight: bold;
}

.form .buttonContainer {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 1em;

}

.testOnay {
    width: 100px;
    padding: 0.5em;
    padding-left: 1.1em;
    padding-right: 1.1em;
    border-radius: 5px;
    margin-right: 0.5em;
    border: 1px solid black;
    outline: none;
    transition: .4s ease-in-out;
    background-color: white;
    color: white;
}

.testOnay:hover {
    background-color: black;
    color: white;
}

.testEleme {
    width: 100px;
    padding: 0.5em;
    padding-left: 2.3em;
    padding-right: 2.3em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #252525;
    color: white;
}

.testEleme:hover {
    background-color: black;
    color: white;
}

.testEtContainer p {
    text-align: center;
    color: black;
}

/* Duplicate .testOnay selector - commented out
.testOnay {
    float: left;
    margin-bottom: 0px;
    margin-top: 10px;
    border: 1px solid black;
    background: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    color: black;
}
*/

/* Duplicate .testEleme selector - commented out
.testEleme {
    float: right;
    margin-top: 10px;
    border: 1px solid black;
    background: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    color: black;
}
*/

#qr {
    font-family: sans-serif;
    /* QR kodu içindeki metinler için yazı tipi belirlenir */
    font-weight: 500;
    /* QR kodu içindeki metinler için yazı kalınlığı belirlenir */
}

/* Shopping Cart Button Styling - Duplicate of .cart-btn styles above */
/* .cart-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.cart-btn:hover {
    background-color: #25D366;
    color: white;
    transform: scale(1.1);
}

.cart-btn i {
    font-size: 18px;
}

.home-text-category {
    position: relative;
} */


/* Yıldız simgesi için gerekli CSS */
.star {
    width: 13vw;
    /* Ebatları GENİŞLİĞE sığacak kadar büyük yapar (2 kat büyütüldü) */
    height: auto;
    /* Yükseklik otomatik olarak ayarlanacak */
    cursor: pointer;
    display: inline-block;
    /* Yıldızların tek sırada düzgün yerleşmesini sağlar */
    background-image: url("https://dslink.co/star0.svg#star0");
    /* Yıldızların arka planında star0.svg görünecek */
    background-size: contain;
    /* SVG boyutunu içinde sığacak şekilde ölçekler */
    background-repeat: no-repeat;
    /* Tekrar etmeyi engeller */
    background-position: center;
    /* Yıldızları dikey ve yatay olarak ortalar */
    margin: 0 0.5vw;
    /* Yıldızlar arasındaki boşluğu ayarlar */
    padding-bottom: 16vw;
    /* Yıldızların yüksekliği, genişliğe göre orantılı olarak ayarlanır */
    transition: background-image 0.3s;
    /* Yıldızlar arası geçiş süresi 0.2 saniye olarak ayarlandı */
}

/* Dolu yıldız rengi */
.star.filled {
    background-image: url("https://dslink.co/star1.svg#star1");
    /* Seçili yıldızların arka planında star1.svg görünecek */
}

/* Yıldızları tam ortalamak için */
.rating {
    text-align: center;
}

.right {
    /* Sağ tarafa yaslanmış bir görünüm için stil belirleniyor */
    float: right;
    margin-right: 2px;
}

img.viewImage {
    /* Resim önizleme alanında görüntülenecek resmin maksimum boyutları ve boşlukları belirleniyor */
    max-width: 200px;
    max-height: 200px;
    padding: 1px 10px 0px;
}

/*silmeee işleminden sonra çıkacak mesaj için css*/
#snackbar,
#error-message {
    visibility: hidden;
    min-width: 250px;
    max-width: 300px;
    margin-left: -125px;
    background-color: #002fff;
    color: #fff;
    text-align: center;
    border-radius: 20px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 130px;
    font-size: 17px;

}

#snackbar.show,
#error-message.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}


/* Shopping Cart Button Styling - Duplicate section commented out */
/* .cart-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.cart-btn:hover {
    background-color: #25D366;
    color: white;
    transform: scale(1.1);
}

.cart-btn i {
    font-size: 18px;
}

.home-text-category {
    position: relative;
} */
