/* ============================================================
   首页专属样式（AI Shopping Assistant 搜索页）
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: linear-gradient(145deg, #f6f9fc 0%, #edf2f9 100%);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@keyframes slideFade {
    0% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: translateY(0); }
}
.suggest-box-animate {
    animation: slideFade 0.2s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}

.search-input:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2), 0 8px 20px rgba(0, 20, 50, 0.1);
    border-color: #3b82f6;
}

.trend-tag {
    transition: all 0.15s ease;
    background-color: #ffffffd9;
    backdrop-filter: blur(2px);
    border: 1px solid #e2e8f0;
}
.trend-tag:hover {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.25);
}
.trend-tag i { transition: transform 0.15s; }
.trend-tag:hover i { transform: scale(1.1); color: white !important; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #b0c4de; border-radius: 12px; }
::-webkit-scrollbar-track { background: #f1f5f9; }

.no-tap-highlight { -webkit-tap-highlight-color: transparent; }

@media (max-width: 380px) {
    .trend-grid { grid-template-columns: repeat(2, 1fr); }
}
