.bibli-search-modal {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.bibli-search-container {
    position: relative;
}

.bibli-search-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.bibli-search-input:focus {
    border-color: #007cba;
}

.bibli-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.bibli-result-section {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.bibli-result-section:last-child {
    border-bottom: none;
}

.bibli-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}

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

.bibli-product-image {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
}

.bibli-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eee;
}

.bibli-product-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bibli-product-details {
    flex: 1;
    padding-right: 15px;
}

.bibli-result-title {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.bibli-result-sku {
    display: block;
    font-size: 0.85em;
    color: #666;
}

.bibli-price-container {
    text-align: right;
    min-width: 100px;
}

.bibli-regular-price {
    display: block;
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.bibli-sale-price {
    display: block;
    color: #e41e31;
    font-weight: bold;
    font-size: 1.1em;
}

.bibli-price {
    display: block;
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
}

/* Yazar ve Yayınevi bölümleri */
.bibli-terms-section {
    border-top: 2px solid #eee;
    padding-top: 8px;
    margin-top: 8px;
}

.bibli-terms-title {
    padding: 8px 16px;
    font-weight: 500;
    color: #666;
    background: #f8f9fa;
    font-size: 0.9em;
}

.bibli-term-item {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

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

.bibli-term-count {
    color: #666;
    font-size: 0.9em;
}

.bibli-loading {
    padding: 16px;
    text-align: center;
    color: #666;
}

.bibli-error {
    padding: 16px;
    text-align: center;
    color: #dc3232;
}

.bibli-no-results {
    padding: 16px;
    text-align: center;
    color: #666;
}

/* Mobil arama stilleri */
.bibli-mobile-search {
    display: none;
}

.bibli-mobile-search-icon {
    background: none;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.bibli-mobile-search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bibli-mobile-search-header {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.bibli-mobile-search-header .bibli-search-input {
    flex: 1;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.bibli-mobile-close-btn {
    background: none;
    border: none;
    padding: 10px;
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

.bibli-mobile-search-popup .bibli-search-results {
    max-height: 80vh;
    overflow-y: auto;
    padding: 0;
}

/* Mobil için sonuç stilleri */
@media (max-width: 768px) {
    .bibli-mobile-search {
        display: block;
    }
    
    .bibli-result-title {
        max-width: 200px;
    }
    
    .bibli-mobile-search-popup.active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    .bibli-product-info {
        flex: 1;
        min-width: 0;
    }
    
    .bibli-price-container {
        min-width: 80px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
 