/* Arama Sonuçları Stilleri */
.search-container {
    position: relative;
}

.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Webkit (Chrome, Safari, Edge) için scrollbar stilleri */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.search-results .product-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-results .product-item:hover {
    background-color: #f5f5f5;
}

.search-results .product-image {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.search-results .product-info {
    flex: 1;
}

.search-results .product-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.search-results .product-price {
    color: #e52e06;
    font-weight: bold;
}

.search-results .no-results {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.search-results img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.search-results .searching {
    padding: 15px;
    text-align: center;
    color: #666;
}

.search-results .searching::after {
    content: "...";
    animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ""; }
    40% { content: "."; }
    60% { content: ".."; }
    80%, 100% { content: "..."; }
}

/* Mobil uyumluluk için */
@media (max-width: 768px) {
    .search-results {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 60px);
        margin: 0;
        border-radius: 0;
    }
}

.indicator {
    position: relative;
}

.indicator__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    z-index: 1000;
}

.indicator--opened .indicator__dropdown {
    display: block;
}