 :root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --success: #27ae60;
    --danger: #e74c3c;
    --light: #f8f9fa;
    --dark: #343a40;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* EN KRİTİK DÜZELTME */
.arama_form {
    position: relative;
    margin-bottom: 25px;
	  z-index: 99999 !important;
}

.arama, .col-lg-9 {
       position: static; /* Varsayılan değer */
overflow: visible !important;}
.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
   "
    outline: none;
}

.search-input:focus {
   
}

/* DÜZELTMELER YAPILAN KISIM */
.search-results {
    position: absolute;
    top: calc(100% + 5px); /* Arama kutusuyla arasına boşluk ekler */
    left: 0;
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
      z-index: 99999 !important;
    display: none; /* Başlangıçta gizli olmalı */
    
    /* Yeni eklenen stil */
    border: 1px solid #ddd;
    margin-top: 0; /* Önceki margin-top kaldırıldı */
}

/* Sonuçların görünür olmasını sağlayacak sınıf */
.search-results.visible {
    display: block !important;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.product-item:hover {
    background-color: #f8f9fa;
}

.product-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 5px;
    margin-right: 15px;
    border: 1px solid #eee;
    background: #fafafa;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
}

.product-price {
    font-weight: 700;
    color: var(--success);
    font-size: 18px;
}

.product-sku {
    font-size: 14px;
    color: #777;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #777;
}

.loading {
    padding: 20px;
    text-align: center;
    color: var(--primary);
}

.info-text {
    text-align: center;
    color: #777;
    margin-top: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 20px auto;
    }
    
    .search-input {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .product-item {
        padding: 10px;
    }
    
    .product-image {
        width: 50px;
        height: 50px;
    }
    
    /* Mobilde sonuçların genişliğini ayarla */
    .search-results {
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        max-width: 100%;
    }
}