/* ===== Explore Page Styles ===== */
.explore-page {
    background: var(--white-soft);
}

.hero-search {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
    margin-left: 0.75rem;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.75rem;
    outline: none;
}

.search-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Search History */
.search-features {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-history {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.search-history-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #6b7280;
}

.search-history-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.history-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-tag:hover {
    background: rgba(37, 99, 235, 0.2);
}

.history-remove {
    font-size: 1rem;
    line-height: 1;
    margin-left: 0.25rem;
    opacity: 0.7;
}

.history-remove:hover {
    opacity: 1;
}

/* Filters */
.filters-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 70px;
    z-index: 30;
}

.filters-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filters-secondary {
    margin-top: 0.75rem;
}

.filter-select {
    flex: 1;
    min-width: 150px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

.filter-select:focus {
    outline: none;
    border-color: #2563eb;
}

/* Items Section */
.items-section {
    padding: 2rem 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.empty-illustration {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    color: #9ca3af;
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.empty-state p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 1.5rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .filters-row {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
}

/* Alert Animation Keyframes */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}