/* Search Drawer Results Styles */
.search-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 9999;
}

.search-drawer.active {
    right: 0;
}

.drawer__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.drawer__header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer__heading {
    margin: 0;
    font-size: 20px;
}

.drawer__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer__body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.drawer_search_reasult {
    margin-top: 20px;
}

.search-results-wrapper {
    animation: fadeIn 0.3s ease;
}

.search-results-list {
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    margin-bottom: 15px;
}

.search-result-item {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-result-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.search-result-image-wrapper {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
}

.search-result-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.search-result-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 4px;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-title {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

.search-result-price {
    color: #e67e22;
    font-weight: bold;
    font-size: 14px;
}

.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-results-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    opacity: 0.5;
}

.search-more-results {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.more-results-btn {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.more-results-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}



.w-100 {
    width: 100%;
}

.mt-3 {
    margin-top: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .search-drawer {
        width: 100%;
        right: -100%;
    }
    
    .search-result-image-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .search-result-title {
        font-size: 13px;
    }
    
    .search-result-price {
        font-size: 12px;
    }
}