.rfp-open-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 14px; padding: 11px 20px;
    background: #CC0000; border: 1.5px solid #CC0000; color: #fff;
    font-size: 14px; font-weight: 500; letter-spacing: .02em;
    cursor: pointer; border-radius: 4px; transition: background .18s, color .18s;
    line-height: 1;
}
.rfp-open-btn:hover { background: #a30000; border-color: #a30000; color: #fff; }

.rfp-overlay {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(0,0,0,.55); display: flex;
    align-items: center; justify-content: center; padding: 16px;
}
.rfp-modal {
    background: #fff; border-radius: 10px; width: 100%; max-width: 580px;
    max-height: 88vh; display: flex; flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,.28); overflow: hidden; font-family: inherit;
}
.rfp-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px 18px; border-bottom: 1px solid #e8e8e8; flex-shrink: 0;
}
.rfp-modal-title { margin: 0; font-size: 17px; font-weight: 600; color: #111; }
.rfp-close {
    background: none; border: none; cursor: pointer; color: #777;
    font-size: 26px; line-height: 1; padding: 0; width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background .15s;
}
.rfp-close:hover { background: #f2f2f2; color: #111; }

.rfp-location-bar {
    display: flex; align-items: center; gap: 12px; padding: 14px 24px;
    background: #f7f7f7; border-bottom: 1px solid #e8e8e8;
    flex-wrap: wrap; flex-shrink: 0;
}
.rfp-loc-inputs { flex: 1; min-width: 180px; }
.rfp-loc-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #888; margin-bottom: 5px; }
.rfp-input-row { display: flex; gap: 8px; }
.rfp-postcode {
    flex: 1; max-width: 120px; padding: 9px 12px;
    border: 1.5px solid #ddd; border-radius: 5px; font-size: 14px; color: #111; outline: none; transition: border-color .18s;
}
.rfp-postcode:focus { border-color: #222; }
.rfp-btn-primary {
    padding: 9px 18px; background: #222; color: #fff; border: none;
    border-radius: 5px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .18s;
}
.rfp-btn-primary:hover { background: #444; }
.rfp-btn-geo {
    display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px;
    background: none; border: 1px solid #ddd; border-radius: 5px; font-size: 12px;
    color: #555; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s;
}
.rfp-btn-geo:hover { border-color: #999; color: #222; }

.rfp-results { flex: 1; overflow-y: auto; }
.rfp-hint, .rfp-loading, .rfp-error-msg { padding: 36px 24px; text-align: center; font-size: 14px; color: #888; margin: 0; }
.rfp-error-msg { color: #c0392b; }

.rfp-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 24px; border-bottom: 1px solid #f0f0f0; transition: background .12s;
}
.rfp-item:last-child { border-bottom: none; }
.rfp-item:hover { background: #fafafa; }
.rfp-item-body { flex: 1; }
.rfp-item-name { font-size: 15px; font-weight: 600; color: #111; margin: 0 0 3px; }
.rfp-item-address { font-size: 13px; color: #555; margin: 0 0 3px; }
.rfp-item-hours { font-size: 12px; color: #888; margin: 0 0 7px; }
.rfp-item-links { display: flex; gap: 14px; flex-wrap: wrap; }
.rfp-item-links a { font-size: 12px; color: #222; text-decoration: underline; text-underline-offset: 2px; }
.rfp-item-links a:hover { color: #000; }
.rfp-maps-link { display: inline-flex !important; align-items: center; gap: 4px; color: #1a73e8 !important; font-weight: 500; }
.rfp-maps-link:hover { color: #1557b0 !important; }
.rfp-item-dist { font-size: 13px; font-weight: 700; color: #333; white-space: nowrap; flex-shrink: 0; padding-top: 2px; }
.rfp-more-note { font-size: 12px; color: #999; text-align: center; padding: 10px 24px; margin: 0; border-top: 1px solid #f0f0f0; }

.rfp-modal-footer { padding: 14px 24px; border-top: 1px solid #e8e8e8; flex-shrink: 0; }
.rfp-btn-close-footer {
    width: 100%; padding: 12px; background: #fff; border: 1.5px solid #222;
    color: #222; font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 5px; transition: background .15s;
}
.rfp-btn-close-footer:hover { background: #f5f5f5; }

@media (max-width: 520px) {
    .rfp-overlay { padding: 0; align-items: flex-end; }
    .rfp-modal { border-radius: 12px 12px 0 0; max-height: 92vh; }
    .rfp-btn-geo { width: 100%; justify-content: center; }
    .rfp-postcode { max-width: none; }
}
