.hp-search-container {
    max-width: 640px;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 20;
}

.hp-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #0f172a;
    border-radius: 12px;
    padding: 6px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    width: 100%;
}

.hp-search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 16px;
}

.hp-search-icon {
    flex-shrink: 0;
    margin-right: 12px;
}

#hp-search-input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 12px 0 !important;
    font-size: 15px !important;
    font-family: 'Outfit', sans-serif !important;
    color: #0f172a !important;
    outline: none !important;
    box-shadow: none !important;
}

#hp-search-input::placeholder {
    color: #94a3b8;
}

.hp-search-btn {
    background: #F5C400 !important;
    color: #0f172a !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    cursor: pointer !important;
    transition: background-color 0.2s, transform 0.1s !important;
    flex-shrink: 0;
}

.hp-search-btn:hover {
    background: #e0b200 !important;
}

.hp-search-btn:active {
    transform: scale(0.98);
}

/* Dropdown list styling */
.hp-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -7px;
    right: -7px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
    padding: 6px;
}

.hp-search-dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none !important;
    color: #0f172a;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.15s, color 0.15s;
    cursor: pointer;

}

.hp-search-dropdown-item:hover {
    background-color: #f8fafc;
    color: #2563eb;
    text-decoration: underline;
}

.hp-search-dropdown-header {
    padding: 8px 16px 6px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-family: 'Outfit', sans-serif;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}

.hp-search-dropdown-no-results {
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .hp-search-form {
        flex-direction: column;
        padding: 8px;
        border-radius: 16px;
    }
    .hp-search-input-wrapper {
        width: 100%;
        padding-left: 8px;
        margin-bottom: 8px;
    }
    .hp-search-btn {
        width: 100%;
        padding: 14px !important;
    }
    .hp-search-dropdown {
        left: -1px;
        right: -1px;
    }
}
