﻿body {
    position: relative;
    z-index: 0;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: url('../image/bg.jpg') no-repeat center center fixed;
        background-size: cover;
        filter: blur(8px);
        z-index: -1;
    }

.logo {
    width: 80px;
    border-radius: 50%;
}
.kategori-kapak-container {
    position: relative;
    display: inline-block;
}

.kategori-baslik-overlay {
    position: absolute;
    bottom: 10px; /* İstersen top: 10px yapabilirsin */
    left: 50%;
    transform: translateX(-50%);
    color: #B12A38;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 2;
}

.kategori-kart {
    position: relative;
    height: 150px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.kategori-overlay {
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    padding: 10px;
}

.kategori-image-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    transition: transform 0.3s ease;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background-color: white;
}

    .kategori-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.kategori-kart:hover .kategori-image-wrapper {
    transform: scale(1.2);
}

.kategori-ad {
    color: white;
    font-weight: 600; /* semibold */
    font-size: 14px;
    text-transform: uppercase;
    z-index: 3;
}


.urun-kart {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

    .urun-kart img {
        width: 100%;
        height: 160px;
        object-fit: cover;
    }

.urun-fiyat {
    background-color: #000;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 14px;
    position: absolute;
    top: 10px;
    right: 10px;
}
/* Modal aşağıdan çıkan, sabit kart gibi olan yapı */
.modal.fade.bottom-modal.show {
    display: flex !important;
    align-items: flex-end;
}

.modal-dialog-bottom {
    margin: 0 auto;
    width: 100%;
    max-width: 576px;
}

.modal-bottom-sheet {
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
}
@media (max-width: 576px) {
    .modal-dialog-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none !important;
    }
}
#geriBtnContainer {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
}
@media (max-width: 768px) {
    #geriBtnContainer {
        top: 10px;
        left: 10px;
    }
}
