/* Vendor profiles, directory pages and the profile editor (Finder Phase 1). Mobile first. */
.nbfv {
    --nbfv-navy: #222f52;
    --nbfv-gold: #a88757;
    --nbfv-ink: #1f2430;
    --nbfv-muted: #5f6675;
    --nbfv-line: #e6e3dd;
    --nbfv-soft: #f7f5f1;
    --nbfv-wa: #1f9d55;
    --nbfv-radius: 12px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px 16px 96px;
    color: var(--nbfv-ink);
    font-size: 16px;
    line-height: 1.55;
}
.nbfv *, .nbfv *::before, .nbfv *::after { box-sizing: border-box; }
/* Theme/Elementor kit heading styles load later with equal specificity, so these are pinned. */
.nbfv h1, .nbfv h2, .nbfv h3 { color: var(--nbfv-navy) !important; line-height: 1.25 !important; margin: 0 0 12px !important; letter-spacing: normal !important; text-transform: none !important; overflow-wrap: break-word; word-break: normal; hyphens: manual; }
.nbfv h1 { font-size: 26px !important; font-weight: 700 !important; }
.nbfv h2 { font-size: 20px !important; font-weight: 700 !important; }
.nbfv h3 { font-size: 18px !important; font-weight: 700 !important; }
.nbfv a { color: var(--nbfv-navy); }
.nbfv-muted { color: var(--nbfv-muted); }
.nbfv-opt { color: var(--nbfv-muted); font-weight: 400; font-size: 13px; }
.nbfv-count { display: inline-block; min-width: 24px; padding: 0 8px; border-radius: 12px; background: var(--nbfv-soft); color: var(--nbfv-muted); font-size: 13px; font-weight: 600; text-align: center; vertical-align: middle; }

/* Breadcrumbs */
.nbfv-crumbs { font-size: 13px; color: var(--nbfv-muted); margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.nbfv-crumbs a { color: var(--nbfv-muted); text-decoration: none; }
.nbfv-crumbs a:hover { color: var(--nbfv-navy); text-decoration: underline; }

/* Buttons */
.nbfv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; line-height: 1.2; }
/* Pinned: the Elementor kit styles <button> elements site-wide. */
.nbfv .nbfv-btn { font-family: inherit; text-transform: none; letter-spacing: normal; }
/* The theme underlines links in page content; buttons never are. */
.nbfv a.nbfv-btn, .nbfv a.nbfv-btn:hover, .nbfv a.nbfv-btn:focus { text-decoration: none !important; }
.nbfv .nbfv-btn-primary { background: var(--nbfv-navy) !important; color: #fff !important; border-color: var(--nbfv-navy) !important; }
.nbfv .nbfv-btn-primary:hover, .nbfv .nbfv-btn-primary:focus { background: #1a2440 !important; }
.nbfv .nbfv-btn-wa { background: var(--nbfv-wa) !important; color: #fff !important; border-color: var(--nbfv-wa) !important; }
.nbfv .nbfv-btn-wa:hover, .nbfv .nbfv-btn-wa:focus { background: #198347 !important; }
.nbfv .nbfv-btn-ghost { background: #fff !important; color: var(--nbfv-navy) !important; border-color: var(--nbfv-navy) !important; }
.nbfv-lightbox button { font-family: inherit; padding: 0 !important; line-height: 48px !important; background: rgba(255,255,255,.14) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; }
.nbfv-lightbox button:hover, .nbfv-lightbox button:focus { background: rgba(255,255,255,.28) !important; }
.nbfv-btn-block { width: 100%; }
.nbfv-btn[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.nbfv-hero { border-radius: var(--nbfv-radius); overflow: hidden; background: #fff; border: 1px solid var(--nbfv-line); }
.nbfv-cover { aspect-ratio: 16 / 9; background: var(--nbfv-soft); }
.nbfv-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nbfv-cover-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--nbfv-navy), #3b4a74 55%, var(--nbfv-gold)); opacity: .9; }
.nbfv-head { display: grid; grid-template-columns: 72px 1fr; gap: 12px 16px; padding: 0 16px 16px; }
.nbfv-logo { position: relative; z-index: 2; width: 72px; height: 72px; margin-top: -36px; border-radius: 50%; background: #fff; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.nbfv-logo img { width: 100%; height: 100%; object-fit: cover; }
.nbfv-initial { font-size: 30px; font-weight: 700; color: var(--nbfv-gold); }
.nbfv-title { padding-top: 10px; min-width: 0; }
.nbfv-title h1 { margin-bottom: 4px; word-wrap: break-word; }
.nbfv-meta { margin: 0; color: var(--nbfv-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nbfv-price { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f5efe5; color: #7a5f37; font-weight: 600; font-size: 14px; }
.nbfv-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.nbfv-cta .nbfv-btn { flex: 1 1 auto; }

/* Body */
.nbfv-body { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
.nbfv-section { background: #fff; border: 1px solid var(--nbfv-line); border-radius: var(--nbfv-radius); padding: 16px; margin-bottom: 16px; }
.nbfv-about p:last-child { margin-bottom: 0; }

.nbfv-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.nbfv-gallery-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--nbfv-soft); }
.nbfv-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.nbfv-gallery-item:hover img { transform: scale(1.03); }

.nbfv-videos { display: grid; gap: 12px; }
.nbfv-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; }

.nbfv-services { list-style: none; margin: 0; padding: 0; }
.nbfv-services li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nbfv-line); }
.nbfv-services li:last-child { border-bottom: 0; }
.nbfv-service-price { font-weight: 600; white-space: nowrap; }

/* isolation keeps Leaflet's controls (z-index 1000) under the site's sticky header */
.nbfv-map { position: relative; z-index: 0; isolation: isolate; height: 260px; border-radius: 8px; overflow: hidden; background: var(--nbfv-soft); }

/* Sidebar cards */
.nbfv-card { background: #fff; border: 1px solid var(--nbfv-line); border-radius: var(--nbfv-radius); padding: 16px; margin-bottom: 16px; }
.nbfv-quote-form label, .nbfv-field { display: block; font-weight: 600; font-size: 14px; margin-bottom: 12px; color: var(--nbfv-ink); }
.nbfv-quote-form input, .nbfv-quote-form textarea, .nbfv-field input[type=text], .nbfv-field input[type=url], .nbfv-field input[type=number], .nbfv-field textarea {
    display: block; width: 100%; margin-top: 4px; padding: 10px 12px; min-height: 44px; border: 1px solid #cfcac1; border-radius: 8px; font: inherit; font-weight: 400; background: #fff;
}
.nbfv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nbfv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nbfv-form-msg { margin: 10px 0 0; font-size: 14px; }
.nbfv-form-msg.is-ok { color: var(--nbfv-wa); font-weight: 600; }
.nbfv-form-msg.is-err { color: #b42318; }
.nbfv-details { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 12px; font-size: 15px; }
.nbfv-details dt { color: var(--nbfv-muted); }
.nbfv-details dd { margin: 0; }
.nbfv-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nbfv-links a { padding: 6px 12px; border: 1px solid var(--nbfv-line); border-radius: 999px; text-decoration: none; font-size: 14px; }

/* Sticky bottom bar on phones (sits above the site's own bottom bar) */
.nbfv-sticky-cta { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 50; display: flex; gap: 8px; padding: 8px 16px; background: rgba(255,255,255,.96); border-top: 1px solid var(--nbfv-line); }
.nbfv-sticky-cta .nbfv-btn { flex: 1; }

/* Lightbox */
.nbfv-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(10,12,20,.92); display: flex; align-items: center; justify-content: center; }
.nbfv-lightbox img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
.nbfv-lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 26px; cursor: pointer; }
.nbfv-lb-close { top: 16px; right: 16px; }
.nbfv-lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.nbfv-lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Directory pages */
.nbfv-archive-head h1 { margin-bottom: 4px !important; }
.nbfv-archive-head .nbfv-search--bar { max-width: none; }
@media (max-width: 600px) {
    /* One line on phones; the full name is in the breadcrumb above. */
    .nbfv-archive-head h1 { font-size: 22px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
}
.nbfv-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: thin; }
.nbfv-chip { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--nbfv-line); border-radius: 999px; background: #fff; text-decoration: none; font-size: 14px; white-space: nowrap; }
.nbfv-chip.is-active { background: var(--nbfv-navy); border-color: var(--nbfv-navy); color: #fff !important; }
.nbfv-chip-n { color: var(--nbfv-muted); font-size: 12px; }
.nbfv-chip.is-active .nbfv-chip-n { color: #d8dbe6; }
.nbfv-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 8px; }
.nbfv-tile { background: #fff; border: 1px solid var(--nbfv-line); border-radius: var(--nbfv-radius); overflow: hidden; }
.nbfv-tile-link { display: block; text-decoration: none; color: inherit; }
.nbfv-tile-img { aspect-ratio: 4 / 3; background: var(--nbfv-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nbfv-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nbfv-tile-placeholder { font-size: 48px; font-weight: 700; color: var(--nbfv-gold); }
.nbfv-tile-body { padding: 12px 16px 16px; }
.nbfv-tile-name { font-size: 17px !important; margin: 0 0 2px !important; }
.nbfv-tile-meta { margin: 0; color: var(--nbfv-muted); font-size: 14px; }
.nbfv-tile-price { margin: 6px 0 0; font-weight: 600; color: #7a5f37; font-size: 14px; }
.nbfv-empty { text-align: center; padding: 48px 16px; background: #fff; border: 1px dashed var(--nbfv-line); border-radius: var(--nbfv-radius); }

/* Editor */
.nbfv-editor-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.nbfv-editor-head p { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.nbfv-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; background: var(--nbfv-soft); }
.nbfv-notice-ok { background: #e7f6ec; color: #135c32; }
.nbfv-notice-warn { background: #fff4e5; color: #7a4a00; }
.nbfv-stats { width: 100%; border-collapse: collapse; font-size: 15px; }
.nbfv-stats th, .nbfv-stats td { padding: 8px 6px; border-bottom: 1px solid var(--nbfv-line); text-align: right; }
.nbfv-stats th:first-child, .nbfv-stats td:first-child { text-align: left; }
.nbfv-field-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.nbfv-label { display: block; font-weight: 600; font-size: 14px; margin: 4px 0 6px; }
.nbfv-thumb { display: flex; align-items: center; justify-content: center; background: var(--nbfv-soft); border-radius: 8px; overflow: hidden; margin-bottom: 8px; color: var(--nbfv-muted); font-size: 13px; }
.nbfv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nbfv-thumb-logo { width: 96px; height: 96px; border-radius: 50%; }
.nbfv-thumb-cover { width: 100%; max-width: 320px; aspect-ratio: 16 / 9; }
.nbfv-check { display: block; font-weight: 400; font-size: 13px; margin: 4px 0; }
.nbfv-editor-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.nbfv-editor-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.nbfv-enquiry { border-top: 1px solid var(--nbfv-line); padding: 12px 0; }
.nbfv-enquiry:first-child { border-top: 0; }
.nbfv-enquiry header { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.nbfv-enquiry-meta { font-size: 14px; color: var(--nbfv-muted); margin: 4px 0 8px; }

/* ── Phase 2: stars, badges, reviews, filters, availability, claim ── */
.nbfv-stars { display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 1px; vertical-align: -1px; }
.nbfv-stars::before {
    content: "\2605\2605\2605\2605\2605";
    background: linear-gradient(90deg, #e2a336 calc(var(--nbfv-r, 0) / 5 * 100%), #d9d6d0 0);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nbfv-rating { margin: 4px 0 0 !important; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.nbfv-rating a { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.nbfv-rating-num { font-weight: 700; color: var(--nbfv-ink); }
.nbfv-rating-big .nbfv-stars { font-size: 22px; }
.nbfv-badges { margin: 4px 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.nbfv-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.nbfv-badge-verified { background: #e7f1fb; color: #1d4f86; }
.nbfv-badge-verified::before { content: "\2713  "; }
.nbfv-badge-top { background: #fdf3df; color: #8a5a00; }
.nbfv-badge-top::before { content: "\2605  "; }
.nbfv-reviews { margin: 8px 0 16px; }
.nbfv-review { border-top: 1px solid var(--nbfv-line); padding: 12px 0; }
.nbfv-review:first-child { border-top: 0; }
.nbfv-review header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nbfv-review p { margin: 6px 0 0; }
.nbfv-review-date { margin-left: auto; font-size: 13px; }
.nbfv-review-reply { margin: 10px 0 0 16px; padding: 10px 12px; background: var(--nbfv-soft); border-radius: 8px; font-size: 15px; }
.nbfv-review-reply p { margin: 4px 0 0; }
.nbfv-review-box > summary, .nbfv-claim > summary { list-style: none; cursor: pointer; }
.nbfv-review-box > summary::-webkit-details-marker, .nbfv-claim > summary::-webkit-details-marker { display: none; }
.nbfv-review-form { margin-top: 12px; }
.nbfv-review-form label { display: block; font-weight: 600; font-size: 14px; margin: 8px 0 12px; }
.nbfv-review-form textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid #cfcac1; border-radius: 8px; font: inherit; font-weight: 400; }
.nbfv-star-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.nbfv-star-input legend { font-weight: 600; font-size: 14px; margin-bottom: 4px; float: left; width: 100%; }
.nbfv-star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nbfv-star-input label { font-size: 34px !important; line-height: 1; color: #d9d6d0; cursor: pointer; margin: 0 !important; padding: 0 2px; }
.nbfv-star-input input:checked ~ label, .nbfv-star-input label:hover, .nbfv-star-input label:hover ~ label { color: #e2a336; }
.nbfv-star-input input:focus-visible + label { outline: 2px solid var(--nbfv-navy); border-radius: 4px; }
.nbfv-filters { margin: 0 0 8px; }
.nbfv-filters details { background: #fff; border: 1px solid var(--nbfv-line); border-radius: var(--nbfv-radius); padding: 0 16px; }
.nbfv-filters summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--nbfv-navy); }
.nbfv-filter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nbfv-filter-grid label { font-size: 13px; font-weight: 600; display: block; }
.nbfv-filter-grid select, .nbfv-filter-grid input { display: block; width: 100%; margin-top: 4px; min-height: 44px; padding: 8px 10px; border: 1px solid #cfcac1; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
.nbfv-filter-actions { display: flex; gap: 8px; padding: 12px 0 16px; }
.nbfv-availability .nbfv-avail-label { display: block; font-weight: 600; font-size: 14px; }
.nbfv-availability input { display: block; width: 100%; margin-top: 4px; min-height: 44px; padding: 8px 10px; border: 1px solid #cfcac1; border-radius: 8px; font: inherit; }
.nbfv-avail-msg { margin: 8px 0 0; font-size: 14px; }
.nbfv-avail-msg.is-ok { color: var(--nbfv-wa); font-weight: 600; }
.nbfv-avail-msg.is-err { color: #b42318; font-weight: 600; }
.nbfv-claim { margin: 0 0 12px; font-size: 14px; }
.nbfv-claim summary { color: var(--nbfv-navy); text-decoration: underline; }
.nbfv-claim form { margin-top: 8px; }
.nbfv-claim textarea { display: block; width: 100%; margin: 4px 0 8px; padding: 8px 10px; border: 1px solid #cfcac1; border-radius: 8px; font: inherit; }
.nbfv-booked-list { display: grid; gap: 4px; margin-bottom: 12px; }
.nbfv-booked-item { font-size: 15px; }
.nbfv-reply-form { margin-top: 8px; }
.nbfv-reply-form textarea { display: block; width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #cfcac1; border-radius: 8px; font: inherit; font-weight: 400; }

/* ── Phase 3: plans, featured tiles, spotlight ── */
.nbfv-badge-featured { background: var(--nbfv-navy); color: #fff; }
.nbfv-tile-featured { border-color: var(--nbfv-gold); box-shadow: 0 0 0 1px var(--nbfv-gold); }
.nbfv-plan-card h3 { margin-bottom: 4px !important; }
.nbfv-plan-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.nbfv-plans-lead { font-size: 17px; }
.nbfv-plans-table-wrap { overflow-x: auto; margin: 16px 0 24px; }
/* Phones: all three plans fit side by side (no sideways scrolling). */
.nbfv-plans-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: #fff; font-size: 13px; }
.nbfv-plans-table th, .nbfv-plans-table td { padding: 10px 4px; border: 0 !important; border-bottom: 1px solid var(--nbfv-line) !important; text-align: center; overflow-wrap: break-word; }
.nbfv-plans-table th:first-child, .nbfv-plans-table td:first-child { text-align: left; width: 38%; padding-left: 8px; }
.nbfv-plans-table th { color: var(--nbfv-navy); font-size: 12.5px; line-height: 1.2; overflow-wrap: normal; word-break: keep-all; }
.nbfv-plans-table th span { display: block; font-size: 11px; color: var(--nbfv-muted); font-weight: 600; margin-top: 2px; }
.nbfp-compare { table-layout: auto; min-width: 480px; }
@media (min-width: 640px) {
    .nbfv-plans-table { font-size: 15px; }
    .nbfv-plans-table th, .nbfv-plans-table td { padding: 12px 10px; }
    .nbfv-plans-table th { font-size: 17px; }
    .nbfv-plans-table th span { font-size: 13px; }
    .nbfv-plans-table th:first-child, .nbfv-plans-table td:first-child { width: 46%; }
}
.nbfv-plans-table .is-hi { background: #f7f3ec; }
.nbfv-yes { color: var(--nbfv-wa); font-weight: 700; font-size: 18px; }
.nbfv-no { color: #b8b3aa; }
.nbfv-plan-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.nbfv-spotlight { padding: 0 0 8px; margin: 0; max-width: none; }
.nbfv-spotlight-title { font-size: 18px !important; margin: 4px 0 8px !important; }
.nbfv-spotlight-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.nbfv-spot { scroll-snap-align: start; display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--nbfv-gold); border-radius: var(--nbfv-radius); overflow: hidden; }
.nbfv-spot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.nbfv-spot-body { display: grid; gap: 2px; padding: 10px 14px 14px; font-size: 14px; color: var(--nbfv-muted); }
.nbfv-spot-body strong { color: var(--nbfv-navy); font-size: 16px; }

@media (min-width: 640px) {
    .nbfv-spotlight-row { grid-auto-columns: calc(50% - 6px); }
    .nbfv-filter-grid { grid-template-columns: repeat(4, 1fr); }
    .nbfv-gallery { grid-template-columns: repeat(3, 1fr); }
    .nbfv-grid { grid-template-columns: repeat(2, 1fr); }
    .nbfv-field-row { grid-template-columns: repeat(2, 1fr); }
    .nbfv-editor-gallery { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 960px) {
    .nbfv { padding-bottom: 48px; }
    .nbfv h1 { font-size: 34px !important; }
    .nbfv-cover { aspect-ratio: 21 / 8; }
    .nbfv-head { grid-template-columns: 112px 1fr auto; align-items: end; padding: 0 24px 20px; }
    .nbfv-logo { width: 112px; height: 112px; margin-top: -56px; }
    .nbfv-cta { grid-column: auto; flex-wrap: nowrap; }
    .nbfv-body { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
    .nbfv-side { position: sticky; top: 24px; align-self: start; }
    .nbfv-sticky-cta { display: none; }
    .nbfv-grid { grid-template-columns: repeat(3, 1fr); }
    .nbfv-field-row { grid-template-columns: repeat(3, 1fr); }
}

/* ── Phase 3: deals and the wedding planner ── */
.nbfv-deal { border-color: var(--nbfv-gold); background: #fffaf2; }
.nbfv-deal-item + .nbfv-deal-item { border-top: 1px solid var(--nbfv-line); margin-top: 10px; padding-top: 10px; }
.nbfv-deal-item p { margin: 4px 0 0; }
.nbfp-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.nbfp-stat { background: #fff; border: 1px solid var(--nbfv-line); border-radius: var(--nbfv-radius); padding: 12px 14px; display: grid; gap: 2px; }
.nbfp-stat span { font-size: 13px; color: var(--nbfv-muted); }
.nbfp-stat strong { font-size: 20px; color: var(--nbfv-navy); }
.nbfp-stat em { font-style: normal; font-size: 13px; color: var(--nbfv-wa); font-weight: 600; }
.nbfp-stat em.is-over { color: #b42318; }
.nbfp-bar { height: 8px; background: var(--nbfv-soft); border-radius: 999px; overflow: hidden; margin: 0 0 16px; }
.nbfp-bar span { display: block; height: 100%; background: var(--nbfv-wa); }
.nbfp-h { margin: 20px 0 8px !important; }
.nbfp-cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.nbfp-cat-head h4 { margin: 0 0 8px; color: var(--nbfv-navy); font-size: 17px; }
.nbfp-vendors { list-style: none; margin: 0 0 8px; padding: 0; }
.nbfp-vendors li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--nbfv-line); }
.nbfp-vendors li:first-child { border-top: 0; }
.nbfp-vendors li.is-chosen { background: #f2f9f4; border-radius: 8px; padding-left: 8px; padding-right: 8px; }
.nbfp-vendors li.nbfp-none { grid-template-columns: 1fr; }
.nbfp-thumb { width: 48px; height: 48px; border-radius: 8px; background: var(--nbfv-soft); overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--nbfv-gold); }
.nbfp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nbfp-vinfo { display: grid; gap: 1px; font-size: 14px; min-width: 0; }
.nbfp-vinfo a { text-decoration: none; }
.nbfp-vact { grid-column: 2; display: flex; gap: 16px; }
.nbfp-money { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nbfp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.nbfp-share-link { width: 100%; padding: 10px 12px; border: 1px solid #cfcac1; border-radius: 8px; font: inherit; font-size: 14px; }
.nbfp-pitch { text-align: center; padding: 32px 16px; }
.nbfp .nbfv-field select { display: block; width: 100%; margin-top: 4px; min-height: 44px; padding: 8px 10px; border: 1px solid #cfcac1; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
.nbfp-compare td, .nbfp-compare th { vertical-align: top; }
@media (min-width: 640px) {
    .nbfp-summary { grid-template-columns: repeat(4, 1fr); }
    .nbfp-vendors li { grid-template-columns: 48px 1fr auto; }
    .nbfp-vact { grid-column: auto; }
}

/* ---------- Search box (directory pages and home page) ---------- */
.nbfv-search { display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 16px 0 0; padding: 6px; background: #fff; border: 1px solid var(--nbfv-line); border-radius: 999px; box-shadow: 0 8px 24px rgba(20, 24, 40, .06); }
.nbfv-search-field { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding-left: 12px; margin: 0; cursor: text; }
.nbfv-search-field svg { width: 20px; height: 20px; flex: none; fill: var(--nbfv-muted); }
.nbfv-search input[type="search"] {
    flex: 1; min-width: 0; width: 100%; height: 44px !important; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important;
    padding: 0 !important; margin: 0 !important; font: inherit; font-size: 16px !important; color: var(--nbfv-ink) !important; -webkit-appearance: none; appearance: none;
}
.nbfv-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.nbfv-search button {
    flex: none; height: 44px; padding: 0 24px !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
    background: var(--nbfv-navy) !important; color: #fff !important; font: inherit; font-size: 15px !important; font-weight: 700 !important; box-shadow: none !important;
}
.nbfv-search button:hover { background: #1a2442 !important; }
.nbfv-search:focus-within { border-color: var(--nbfv-navy); box-shadow: 0 0 0 3px rgba(34, 47, 82, .12), 0 8px 24px rgba(20, 24, 40, .06); }
.nbfv-search-note { margin: 10px 0 0; font-size: 14px; color: var(--nbfv-muted); }
.nbfv-search-note a { margin-left: 8px; font-weight: 600; color: var(--nbfv-navy); }

/* Home hero: bigger, on top of the photo */
.nbfv-hero-search { width: 100%; max-width: 680px; margin: 0 auto; padding: 0; background: none; }
.nbfv-search--hero { max-width: none; margin: 0; padding: 7px; border: 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.nbfv-search--hero input[type="search"] { height: 50px !important; font-size: 17px !important; }
.nbfv-search--hero button { height: 50px; padding: 0 30px !important; background: var(--nbfv-gold) !important; }
.nbfv-search--hero button:hover { background: #c9a46a !important; }
.nbfv-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0 !important; font-size: 14px; color: rgba(255, 255, 255, .85); }
.nbfv-popular span { font-weight: 600; }
.nbfv-popular a {
    padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
    color: #fff !important; text-decoration: none !important; font-weight: 500; backdrop-filter: blur(4px); transition: background .15s;
}
.nbfv-popular a:hover { background: rgba(255, 255, 255, .26); }

/* Home vendor grid */
.nbfv-home-grid { max-width: 1140px; margin: 0 auto; padding: 8px 16px 24px; }
.nbfv-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.nbfv-home-head h2 { margin: 0 !important; font-size: clamp(24px, 3vw, 32px) !important; color: var(--nbfv-navy) !important; text-transform: none !important; }
.nbfv-eyebrow { margin: 0 0 4px !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nbfv-gold); }
.nbfv-home-grid .nbfv-chips { margin: 0 0 18px; }
.nbfv-home-more { text-align: center; margin: 22px 0 0; }

@media (max-width: 600px) {
    .nbfv-search { margin-top: 12px; }
    .nbfv-search button { padding: 0 16px !important; }
    .nbfv-search--hero { padding: 5px; }
    .nbfv-search--hero input[type="search"] { height: 46px !important; font-size: 16px !important; }
    .nbfv-search--hero button { height: 46px; padding: 0 18px !important; }
    .nbfv-popular { font-size: 13px; gap: 6px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: -16px !important; margin-right: -16px !important; padding: 0 16px; }
    .nbfv-popular::-webkit-scrollbar { display: none; }
    .nbfv-popular a, .nbfv-popular span { flex: none; white-space: nowrap; }
    .nbfv-home-head .nbfv-btn { display: none; }
}

/* ---------- Home: Popular Services (busiest categories) ---------- */
.nbfv-pop { padding: 0 15px; }
.nbfv-pop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.nbfv-pop-grid > :nth-child(3n+2) { margin-top: 56px; }
.nbfv-pop-card {
    display: block; background: #fff; text-decoration: none !important; color: inherit;
    box-shadow: 0 10px 30px rgba(20, 24, 40, .08); border-bottom: 3px solid transparent; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.nbfv-pop-card:hover, .nbfv-pop-card:focus-visible { border-bottom-color: var(--nbfv-gold); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20, 24, 40, .12); }
.nbfv-pop-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #efe8dc; }
.nbfv-pop-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .4s; }
.nbfv-pop-card:hover .nbfv-pop-img img { transform: scale(1.04); }
.nbfv-pop-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font: 600 56px/1 "Playfair Display", Georgia, serif; color: var(--nbfv-gold); }
.nbfv-pop-body { display: block; padding: 18px 16px 20px; text-align: center; }
.nbfv-pop-title { display: block; font: 600 22px/1.22 "Playfair Display", Georgia, serif; color: var(--nbfv-navy); transition: color .2s; }
.nbfv-pop-card:hover .nbfv-pop-title { color: var(--nbfv-gold); }
.nbfv-pop-count { display: block; margin-top: 4px; font-size: 14px; color: var(--nbfv-muted); }
@media (max-width: 900px) {
    .nbfv-pop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .nbfv-pop-grid > :nth-child(3n+2) { margin-top: 0; }
}
@media (max-width: 600px) {
    .nbfv-pop { padding: 0 4px; }
    .nbfv-pop-grid { gap: 12px; }
    .nbfv-pop-body { padding: 12px 8px 14px; }
    .nbfv-pop-title { font-size: 17px; }
    .nbfv-pop-count { font-size: 13px; }
}

/* ---------- Search suggestions dropdown (moved to <body> by the script, so no --nbfv variables) ---------- */
.nbfv-suggest {
    position: fixed; top: 0; left: 0; width: 320px; z-index: 2147481000; max-height: 340px; overflow-y: auto; box-sizing: border-box;
    background: #fff; border: 1px solid #e6e3dd; border-radius: 16px; box-shadow: 0 16px 40px rgba(20, 24, 40, .18);
    padding: 6px; text-align: left; font-family: inherit;
}
.nbfv-suggest[hidden] { display: none; }
.nbfv-suggest-item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px;
    color: #1f2430 !important; text-decoration: none !important; line-height: 1.3;
}
.nbfv-suggest-item:hover, .nbfv-suggest-item.is-active { background: #f4f1ec; }
.nbfv-suggest-text { display: flex; flex-direction: column; min-width: 0; }
.nbfv-suggest-label { font-size: 15px; font-weight: 600; color: #222f52; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nbfv-suggest-meta { font-size: 13px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nbfv-suggest-type { flex: none; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #f0ece4; color: #7a6542; }
.nbfv-suggest-type--town { background: #e8eef8; color: #2d4a7a; }
.nbfv-suggest-type--vendor { background: #eef4ec; color: #3b6a35; }

/* Pages built from a shortcode (profile editor, wedding planner, vendor plans) have no page title above
   them, so give them their own space below the site header. */
.nbfv.nbfv-editor, .nbfv.nbfp, .nbfv.nbfv-plans { padding-top: 40px; }
@media (max-width: 600px) { .nbfv.nbfv-editor, .nbfv.nbfp, .nbfv.nbfv-plans { padding-top: 24px; } }

/* ---------- Business details form: /add/ and the editor's "Business details" card (class-listing-form.php) ---------- */
.nbfv.nbfl { max-width: 760px; margin: 0 auto; padding-top: 40px; }
.nbfl-head h2 { margin-bottom: 4px !important; }
.nbfl-head p { margin: 0 0 16px; }
.nbfl-steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.nbfl-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--nbfv-soft); color: var(--nbfv-muted); font-size: 13px; font-weight: 600; }
.nbfl-steps li span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--nbfv-line); font-size: 12px; }
.nbfl-steps li.is-current { background: var(--nbfv-navy); color: #fff; }
.nbfl-steps li.is-current span { background: var(--nbfv-gold); border-color: var(--nbfv-gold); color: #fff; }
.nbfl-intro { text-align: center; padding: 28px 20px; }
.nbfl-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; }
.nbfl-form .nbfv-field select,
.nbfl-form .nbfv-field input[type=tel] {
    display: block; width: 100%; margin-top: 4px; min-height: 44px; padding: 8px 10px;
    border: 1px solid #cfcac1; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--nbfv-ink); box-sizing: border-box;
}
.nbfl-form .nbfv-field input:focus, .nbfl-form .nbfv-field select:focus { outline: 2px solid var(--nbfv-gold); outline-offset: 1px; }
.nbfv-hint { display: block; font-weight: 400; font-size: 13px; color: var(--nbfv-muted); margin-top: 4px; }
.nbfl-map { height: 280px; border-radius: 10px; overflow: hidden; margin-top: 8px; border: 1px solid var(--nbfv-line); background: var(--nbfv-soft); position: relative; z-index: 0; }
.nbfl-map-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; font-weight: 400; }
.nbfl-map-bar .nbfv-btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.nbfl-coords { font-size: 13px; }
.nbfl-coords.is-error { color: #b3261e; }
.nbfl-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.nbfl-submit .nbfv-muted { font-size: 13px; }
.nbfl-details .nbfl-form { margin-top: 8px; }
.nbfl-form .nbfv-field input[type=text], .nbfl-form .nbfv-field input[type=tel] { width: 100% !important; max-width: none !important; box-sizing: border-box; }
@media (min-width: 600px) { .nbfv-field-row.nbfl-row-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- /delete-account/ (class-account-deletion.php) ---------- */
.nbfl-form .nbfv-field input[type=email], .nbfl-form .nbfv-field input[type=password], .nbfl-form .nbfv-field textarea {
    display: block; width: 100% !important; margin-top: 4px; min-height: 44px; padding: 8px 10px;
    border: 1px solid #cfcac1; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--nbfv-ink); box-sizing: border-box;
}
.nbf-delete .nbfv-card p { margin: 0 0 10px; }
.nbf-delete .nbfv-check { font-size: 14px; margin: 4px 0 12px; }
.nbfv .nbfv-btn-danger { background: #b3261e !important; color: #fff !important; border-color: #b3261e !important; }
.nbfv .nbfv-btn-danger:hover { background: #8f1e18 !important; }
.nbf-delete-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
