/* 1. Kapsayıcı: Kutu buna göre hizalanacak */
.search-input-wrapper {
    position: relative !important; /* KİLİT NOKTA BURASI */
    width: 100%;
    display: block;
}

/* Input Stil (Varsa kendi class'ın kalsın, bu örnek) */
.my-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 2. Açılan Sonuç Kutusu */
#custom-search-results {
    position: absolute;
    top: 100%; /* Inputun bittiği milimden başla */
    left: 0;
    width: 100%;
    background: #fff;
    border-top: none;
    z-index: 99999; /* En üstte dur */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Güzel bir gölge */
    max-height: 400px;
    overflow-y: auto; /* Çok ürün varsa kaydırma çubuğu çıkar */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Liste Sıfırlama */
.arama-listesi {
    list-style: none;
    padding: 0;
    margin: 0;
}

    /* Her Bir Satır */
    .arama-listesi li {
        border-bottom: 1px solid #f1f1f1;
    }

        .arama-listesi li:last-child {
            border-bottom: none;
        }

        /* Link Yapısı */
        .arama-listesi li a {
            display: flex; /* Yanyana diz */
            align-items: center; /* Ortala */
            padding: 12px;
            text-decoration: none;
            color: #333;
            transition: background-color 0.2s ease;
        }

            /* Mouse ile üzerine gelince */
            .arama-listesi li a:hover {
                background-color: #f8f9fa;
            }

/* Resim Kutusu */
.img-box {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 4px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .img-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* Bilgi Kutusu */
.info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .info-box .title {
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 3px;
        line-height: 1.2;
    }

    .info-box .price {
        font-size: 14px;
        color: #e74c3c; /* Kırmızı Fiyat */
        font-weight: bold;
    }
