/* FF Property Search */

.ff-ps-wrap {
    text-align: center;
    padding: 40px 20px;
}

.ff-ps-heading {
    font-size: 2em;
    margin: 0 0 10px 0;
}

.ff-ps-subtext {
    color: #666;
    margin: 0 0 24px 0;
    font-size: 1em;
}

.ff-ps-field-wrap {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

.ff-ps-label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.ff-ps-input-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.ff-ps-autocomplete {
    flex: 1;
    position: relative;
}

.ff-ps-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

.ff-ps-input:focus {
    border-color: #888;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.06);
}

.ff-ps-btn {
    height: 48px;
    padding: 0 24px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s;
}

.ff-ps-btn:hover {
    background: #444;
}

/* Dropdown */
.ff-ps-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 9999;
    max-height: 360px;
    overflow-y: auto;
}

.ff-ps-dropdown--open {
    display: block;
}

.ff-ps-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}

.ff-ps-result:last-child {
    border-bottom: none;
}

.ff-ps-result:hover,
.ff-ps-result--active {
    background: #f5f5f5;
}

.ff-ps-thumb {
    width: 52px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    display: block;
}

.ff-ps-thumb--empty {
    background: #eee;
}

.ff-ps-result-title {
    font-size: 0.95em;
    color: #222;
    line-height: 1.3;
}

.ff-ps-no-results {
    padding: 14px;
    color: #888;
    font-size: 0.9em;
    text-align: center;
}

/* Mobile */
@media (max-width: 560px) {
    .ff-ps-input-row {
        flex-direction: column;
    }
    .ff-ps-autocomplete,
    .ff-ps-btn {
        width: 100%;
    }
    .ff-ps-btn {
        height: 44px;
    }
}
