/* Header Custom Styles - Consolidated from templates/header.php */

/* Üste çık butonu */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0088cc;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

#scrollToTopBtn:hover {
    background-color: #006699;
    transform: scale(1.1);
}

#scrollToTopBtn i {
    font-size: 18px;
}

/* Özel stil ayarları */
.logo img {
    max-height: 40px;
    width: auto;
}

/* Live Search Dropdown Styles */
.search-results-dropdown {
    min-width: 300px;
}

.search-result-item {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:last-child {
    border-bottom: none;
}

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

@media (max-width: 767px) {
    .search-results-dropdown {
        min-width: 100%;
        max-height: 300px;
    }
}

/* Bekleyen sipariş badge animasyonu */
.pending-orders-count:not(:empty) {
    animation: pulse 2s infinite;
}

.pending-orders-count:empty {
    display: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
