/* Responsive Search Bar */
@media (max-width: 991px) {
    .search_input {
        width: 180px;
    }
    
    .search_results {
        max-height: 350px;
    }
}

@media (max-width: 767px) {
    .search_bar {
        margin-right: 10px;
        position: static;
    }
    
    .search_input {
        width: 120px;
        padding: 8px 10px;
        font-size: 1.4rem;
    }
    
    .search_btn {
        padding: 8px;
    }
    
    .search_results {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-height: 60vh;
        border-radius: 12px;
        box-shadow: 0 -5px 40px rgba(0, 0, 0, 0.2);
    }
    
    .search_bar.is-active::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        animation: fadeIn 0.2s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .search_result_item {
        padding: 12px;
    }
    
    .search_result_image {
        width: 45px;
        height: 45px;
    }
    
    .search_result_title {
        font-size: 1.3rem;
    }
    
    .search_result_price {
        font-size: 1.2rem;
    }
    
    .search_loader {
        right: 50px;
    }
}

@media (max-width: 480px) {
    .search_input {
        width: 100px;
    }
    
    .search_result_image {
        width: 40px;
        height: 40px;
    }
}