.sidebar {
    display: flex;
    position: relative;
    height: 90vh;
    width: 25vw;
    margin: auto;
    background-color: whitesmoke;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* search bar design */
.search-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 13vh;
    width: 100%;
    z-index: 9999;
    background-color: transparent;
}

.search-bar {
    display: flex;
    width: 22vw;
    height: 5vh;
    font-size: 1vw;
    border: 0.1vw solid #01bdd3; /* Mavi border ekleyelim */
    border-radius: 0.5vw;
    background: white; /* Arka plan BEYAZ olsun */
    color: #333; /* Yazı rengi SİYAH */
    z-index: 9998; /* Input diğerlerinin ÜZERİNDE */
    padding: 0.3vw 0.5vw 0.3vw 0.5vw;
}

.stones-frame {
    display: flex;
    position: relative;
    height: 90vh;
    width: 25vw;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    overflow-y: scroll;
}

/* Webkit tabanlı tarayıcılar (Chrome, Safari, Edge) için */
.stones-frame::-webkit-scrollbar {
    width: 0.45vw; /* Scrollbar genişliği */
}

/* Scrollbar arka planı */
.stones-frame::-webkit-scrollbar-track {
    border-radius: 1vw; /* Kenarların yuvarlatılması */
}

/* Scrollbarın kendisi */
.stones-frame::-webkit-scrollbar-thumb {
    background-color: var(--scroll-color); /* Scrollbar rengi */
    border-radius: 1vw; /* Yuvarlak köşeler */
}

/* Scrollbar üzerine gelindiğinde */
.stones-frame::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color); /* Hover sırasında scrollbar rengi */
}
/*Filtreleme*/

.sidebar .filter-options {
    display: flex;
    width: 25vw;
    height: 6vh;
    align-items: center;
    justify-content: center;
}

.sidebar .filter-title {
    font-weight: bold;
    display: flex; /*yeni eklendi*/
    font-size: 1vw;
    margin-right: 0.6vw;
}

.sidebar .filter-btn {
    padding: 0.5vw 0.7vw;
    width: 5.6vw;
    border: 0.1vw solid #01bdd3;
    border-radius: 0.5vw;
    background: white;
    cursor: pointer;
    font-size: 0.8vw;
    margin: 0;
}

.space {
    width: 1vw;
}

.filter-dropdown {
    z-index: 2000;
}
.zodiac-dropdown-web {
    position: absolute;
    display: none;
    flex-direction: column;
    background-color: white;
    width: 5.5vw;
    left: 18.35vw; /* Değişen */
    top: 2.2vw; /* Değişen */
    border: 0.1vw solid #01bdd3;
    border-radius: 0.5vw;
    box-shadow: 0 0.5vw 1vw rgba(0,0,0,0.1);
    z-index: 2000; /* Yeni eklenen */

}

.filter-options {
    position: relative; /* Yeni eklenen */
    z-index: 1000; /* Yeni eklenen */
}

.zodiac-dropdown-web div{
    font-size: 1vw;
    padding: 0.5vw;
    padding: 0.5vw;
    z-index: 999;
    cursor:pointer;
}

.filter-dropdown:hover + .zodiac-dropdown-web,
.zodiac-dropdown-web:hover{
display:flex;
}

/* Karelerin stil ayarları */
.square {
    display: flex;
    width: 5.3vw;
    height: min-content;
    background-color: whitesmoke;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1.2vw;
    text-align: center;
}

.square img {
    cursor: grab;
    width: 5vw;
    height: 5vw;
    object-fit: cover;
}

.text{ 
    margin-top: 1vw;
    margin-bottom: 0;
    font-size: 1vw;
    font-family: "primaryFont";
    white-space: 1 wrap; /* Geçerli değer */
    color: grey;
    transition: color 0.3s ease; /* Renk geçiş animasyonu */
    cursor: pointer;
    font-family: 'roboto', sans-serif;
}

/* Hover efekti: Renk değişimi */
.text:hover {
    color: var(--primary-color);
}

/* Aktif durum */
.text:active {
    transform: scale(0.96);
    opacity: 0.9;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 4vw;
}

/*Taş Fiyatı Stillendirme*/
.price {
    background-color: var(--primary-color);  /* Arka plan rengi, isterseniz değiştirin */
    padding: 0.4vw 1vw;           /* İç boşluk, metni çevreler */
    border-radius: 0.3vw;         /* Hafif yuvarlatılmış köşeler */
    color: white;               /* Yazı rengi */
    display: inline-block;      /* Arka planın metni çevrelemesi için */
    font-family: 'roboto', sans-serif;
    font-size: 1vw;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 2px solid var(--primary-color);
    z-index: 1002;
}

.modal-space {
    padding-left: 10vw;
    padding-right: 10vw;

}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;

}

.modal-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin: 1rem 0;

}

.modal-title {
    font-family: 'roboto', sans-serif;
    color: var(--gray-color);

}

.modal-description { 
    font-family: 'roboto', sans-serif;
    color: var(--gray-color);

}

.modal-price {
    font-weight: bold;
    font-family: 'roboto', sans-serif;
    color: var(--gray-color);

}


.modal-zodiacTags {
    font-weight: bold;
    font-family: 'roboto', sans-serif;
    color: var(--gray-color);

}

@media screen and (max-width: 1280px)  and (orientation: landscape) {

}

@media screen and (max-width: 1280px)  and (orientation: portrait) {
.sidebar {
        height: 17.5vh; /* Gerektiğinde ayarlayın */
        width: 100vw;
        -webkit-overflow-scrolling: touch; /* Mobilde daha akıcı kaydırma */
        justify-content: flex-end;
        align-items: start;
        overflow-x: scroll; /* Yatay kaydırma */
        z-index: 1000;
    }

    .stones-frame {
        height: auto; /* İçeriğe göre yükseklik */
        min-width: fit-content;
        flex-wrap: nowrap;
        align-items: start; /* İçerik ortalanabilir*/
        overflow-x: scroll; /* Yatay kaydırma */
    }
    
    /* Stones-frame scrollbar stil ayarları */
    .stones-frame::-webkit-scrollbar {
        height: 0.5vw; /* İnce scrollbar */
    }
    .stones-frame::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 1vw;
    }
    .stones-frame::-webkit-scrollbar-track {
        background: transparent;
    }
        
    /* Karelerin stil ayarları */
    .square {
        width: 10vw; 
        height: auto; /* İçeriğe göre ayarlanır */
        margin: 3vw;
        box-sizing: border-box;
        margin-bottom: 1vw;
        margin-top: 1vw;
    }
    
    .search-bar,
    .search-container {
        display: none;
    }
        
    /* Kareler içerisindeki resimler */
    .square img {
        width: 8vw;
        height: 8vw;
    }

    .text:hover::after {
        display: none;
    }
        
    .text{
        margin-top: 1vw;
        font-size: 2vw;
        justify-content: start;
    }
        
    .text::after {
        height: 1.5px;
    }
    
    .sidebar .filter-options,
    .sidebar .filter-btn,
    .sidebar .zodiac-dropdown-web {
      display: none !important;
    }

    .price {
        margin-top: 3.5vw;
        font-size: 2.5vw;
    } 
}

@media screen and (max-width: 767px)  and (orientation: landscape) {

}

@media screen and (max-width: 767px)  and (orientation: portrait) {
    .sidebar {
        height: 17.5vh; /* Gerektiğinde ayarlayın */
        width: 100vw;
        -webkit-overflow-scrolling: touch; /* Mobilde daha akıcı kaydırma */
        justify-content: flex-end;
        align-items: start;
        overflow-x: scroll; /* Yatay kaydırma */
        z-index: 1000;
    }
    
    .stones-frame {
        height: auto; /* İçeriğe göre yükseklik */
        min-width: fit-content;
        flex-wrap: nowrap;
        align-items: start; /* İçerik ortalanabilir*/
        overflow-x: scroll; /* Yatay kaydırma */
    }
    
    /* Stones-frame scrollbar stil ayarları */
    .stones-frame::-webkit-scrollbar {
        height: 0.5vw; /* İnce scrollbar */
    }
    .stones-frame::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 1vw;
    }
    .stones-frame::-webkit-scrollbar-track {
        background: transparent;
    }
        
    /* Karelerin stil ayarları */
    .square {
        width: 16vw; 
        height: auto; /* İçeriğe göre ayarlanır */
        margin: 2vw;
        box-sizing: border-box;
        margin-bottom: 1vw;
        margin-top: 1vw;
    }
    
    .search-bar,
    .search-container {
        display: none;
    }
        
    /* Kareler içerisindeki resimler */
    .square img {
        width: 12vw;
        height: 12vw;
    }

    .text:hover::after {
        display: none;
    }
        
    .text{
        margin-top: 1vw;
        font-size: 2.5vw;
        justify-content: start;
    }
        
    .text::after {
        height: 1.5px;
    }
    
    .sidebar .filter-options,
    .sidebar .filter-btn,
    .sidebar .zodiac-dropdown-web {
      display: none !important;
    }

    .price {
        margin-top: 5.2vw;
        font-size: 3vw;
    }
}