.search-header-modal {
    position: fixed;
    inset: 0;
    z-index: 100000120;
    display: none;
    background: rgba(15, 23, 42, 0.45);
}

.search-header-modal.is-open {
    display: block;
}

.search-header-modal-panel {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    padding: 14px 12px;
}

.search-header-modal-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-header-input-wrap {
    position: relative;
    flex: 1 1 auto;
}

.search-header-input {
    width: 100%;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
}

.search-header-input:focus {
    border-color: #f21838;
    box-shadow: 0 0 0 3px rgba(242, 24, 56, 0.15);
}

.search-autocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    max-height: 320px;
    overflow-y: auto;
    z-index: 20;
    display: none;
}

.search-autocomplete.is-open {
    display: block;
}

.search-autocomplete-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
}

.search-autocomplete-item:last-child {
    border-bottom: none;
}

.search-autocomplete-item.is-active,
.search-autocomplete-item:hover {
    background: #fff1f3;
}

.search-autocomplete-item .name {
    font-weight: 600;
    color: #111827;
}

.search-autocomplete-item .meta {
    font-size: 12px;
    color: #6b7280;
    margin-top: 3px;
}

@media (max-width: 640px) {
    .search-header-modal-inner {
        flex-wrap: wrap;
    }
}
