/* =====================================================
   LIVE SEARCH DROPDOWN - DESIGN SYSTEM COMPLIANT
   ===================================================== */

/* Container do Dropdown */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1060;
    max-height: 420px;
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header de Categoria */
.search-category-header {
    padding: 10px 16px 6px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    background: #F8F9FA;
    border-bottom: 1px solid #f0f0f0;
}

.search-category-header:not(:first-child) {
    border-top: 1px solid #f0f0f0;
}

/* Item de Resultado */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.search-result-item:hover {
    background: linear-gradient(90deg, rgba(158, 90, 83, 0.08), transparent);
}

.search-result-item:hover .search-result-item__arrow {
    opacity: 1;
    transform: translateX(0);
    color: #9E5A53;
}

.search-result-item:hover .search-result-item__icon {
    background: #9E5A53;
    color: white;
}

/* Ícone do Item */
.search-result-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #F4F6F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9E5A53;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-result-item__icon .material-symbols-outlined {
    font-size: 20px;
}

/* Conteúdo do Item */
.search-result-item__content {
    flex: 1;
    min-width: 0;
}

.search-result-item__title {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #3F3F3F;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item__desc {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Seta do Item */
.search-result-item__arrow {
    font-size: 18px;
    color: #ccc;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

/* Link Ver Todos */
.search-see-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #F8F9FA, #F4F6F9);
    color: #9E5A53;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    border-top: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.search-see-all:hover {
    background: #9E5A53;
    color: white;
}

.search-see-all .material-symbols-outlined {
    font-size: 20px;
}
