/* Find — the business directory. Built to "Find Directory.dc.html" (Claude Design, Nov 2026).
   Colour has a job here and only one each:
     violet  leads into Book (badge, strip, "Book a pro", "Join as a pro")
     green   is contact (Show number, Call, WhatsApp) and a confirmed outcome
     amber   reports a problem (nothing matched, failed report, wrong/expired code)
     red     outlines the one irreversible action, "Remove listing"
   Everything is scoped under .fd so none of it reaches Book's pages. */
.fd { --ink:#111111; --body:#374151; --muted:#6b7280; --soft:#9ca3af; --faint:#c8cbd0;
      --line:#e5e7eb; --line2:#d1d5db; --hair:#f3f4f6; --canvas:#f8f9fa;
      --green:#15803d; --green-bg:#f0fdf4; --green-line:#bbf7d0;
      --violet:#7c3aed; --violet-ink:#5b21b6; --violet-bg:#f5f3ff; --violet-line:#ddd6fe;
      --amber:#b45309; --amber-bg:#fffbeb; --amber-line:#fde68a;
      --red:#dc2626; --red-line:#fca5a5;
      --display:'Manrope','Inter',system-ui,sans-serif; --ui:'Inter',system-ui,sans-serif;
      --mono:'JetBrains Mono',ui-monospace,monospace;
      font-family:var(--ui); color:var(--ink); background:#fff;
      -webkit-font-smoothing:antialiased; overflow-x:clip; }
.fd *, .fd *::before, .fd *::after { box-sizing:border-box; }
.fd a { color:inherit; text-decoration:none; }
.fd [hidden] { display:none !important; }
.fd button { font:inherit; color:inherit; }
.fd-in { width:100%; max-width:1160px; margin:0 auto; padding:0 32px; }
.fd-in.fd-sp { padding-top:28px; padding-bottom:56px; }   /* search page: side padding stays the shared one (16px on phones) */
.fd-main { flex:1; }
.fd-svg { width:15px; height:15px; flex:none; }

/* ── header ── */
.fd-hd { position:sticky; top:0; z-index:40; background:#fff; border-bottom:1px solid var(--line); }
.fd-hd .fd-in { display:flex; align-items:center; gap:18px; height:64px; }
.fd-logo { display:flex; align-items:center; flex:none; }
.fd-logo img { height:30px; width:auto; display:block; }
.fd-seg { display:inline-flex; padding:3px; background:var(--hair); border:1px solid var(--line); border-radius:10px; flex:none; }
.fd-seg a { font:500 13px var(--ui); color:var(--muted); padding:6px 14px; border-radius:7px; }
.fd-seg a.on { background:#fff; color:var(--ink); font-weight:600; box-shadow:0 1px 2px rgba(0,0,0,.06); }
.fd-hsearch { flex:1; min-width:0; max-width:470px; display:flex; align-items:center; height:40px; background:var(--canvas);
              border:1px solid var(--line); border-radius:10px; padding:0 6px 0 12px; gap:8px; }
.fd-hsearch input { flex:1; min-width:0; border:0; outline:0; background:none; font:400 14px var(--ui); color:var(--ink); }
.fd-hsearch select { border:0; border-left:1px solid var(--line); background:none; font:500 13px var(--ui); color:var(--body);
                     padding:0 6px 0 10px; height:24px; max-width:140px; outline:0; cursor:pointer; }
.fd-hsearch .fd-svg { color:var(--muted); }
.fd-nav { margin-left:auto; display:flex; align-items:center; gap:20px; flex:none; }
.fd-nav a { font:500 13.5px var(--ui); color:var(--body); }
.fd-nav a:hover { color:var(--ink); }
.fd-nav .fd-login { border:1px solid var(--line); border-radius:8px; padding:8px 15px; color:var(--ink); font-weight:600; }
.fd-burger { display:none; margin-left:auto; width:38px; height:38px; border:1px solid var(--line); border-radius:9px; background:#fff;
             align-items:center; justify-content:center; cursor:pointer; }
.fd-menu { display:none; border-top:1px solid var(--line); padding:8px 16px 14px; background:#fff; }
.fd-menu a { display:block; padding:11px 2px; font:500 14.5px var(--ui); border-bottom:1px solid var(--hair); }
.fd-menu.open { display:block; }

/* ── type ── */
.fd-kicker { font:500 10.5px var(--mono); letter-spacing:.1em; text-transform:uppercase; color:var(--soft); }
.fd-h1 { font:600 38px/1.12 var(--display); letter-spacing:-1.3px; margin:0; }
.fd-h2 { font:600 24px/1.15 var(--display); letter-spacing:-.8px; margin:0; }
.fd-count { display:flex; align-items:baseline; gap:10px; margin-top:8px; }
.fd-count b { font:600 19px var(--display); letter-spacing:-.5px; color:var(--body); }
.fd-count span { font:400 13.5px var(--ui); color:var(--muted); }
.fd-crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:7px; font:500 13px var(--ui); color:var(--muted); margin:26px 0 16px; }
.fd-crumbs a:hover { color:var(--ink); }
.fd-crumbs i { font-style:normal; color:var(--faint); }
.fd-crumbs strong { color:var(--ink); font-weight:600; }
.fd-note { font:400 13px/1.55 var(--ui); color:var(--muted); }

/* ── search bar (big) ── */
.fd-search { display:flex; align-items:center; height:56px; border:1px solid var(--line2); background:#fff; border-radius:12px;
             padding:0 6px 0 18px; gap:12px; }
.fd-search .fd-svg { color:var(--muted); }
.fd-search input { flex:1; min-width:0; border:0; outline:0; background:none; font:400 15.5px var(--ui); color:var(--ink); height:100%; }
.fd-search .fd-sep { align-self:stretch; width:1px; background:var(--line); margin:12px 0; flex:none; }
.fd-search label.fd-town { display:flex; align-items:center; gap:7px; flex:none; color:var(--muted); }
.fd-search select { border:0; background:none; font:600 13.5px var(--ui); color:var(--ink); outline:0; max-width:170px; cursor:pointer; }
.fd-search .fd-clear { display:none; }
.fd-search:focus-within, .fd-hsearch:focus-within { border-color:var(--ink); box-shadow:0 0 0 3px rgba(17,17,17,.06); }

/* ── buttons ── */
.fd-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 20px; border-radius:8px;
          border:1px solid var(--ink); background:var(--ink); color:#fff !important; font:600 14px var(--ui); cursor:pointer; white-space:nowrap; }
.fd-btn:hover { background:#000; }
.fd-btn.ghost { background:#fff; color:var(--ink) !important; border-color:var(--line); }
.fd-btn.ghost:hover { background:var(--canvas); }
.fd-btn.green { background:var(--green); border-color:var(--green); }
.fd-btn.green:hover { background:#166534; }
.fd-btn.green-o { background:#fff; color:var(--green) !important; border-color:var(--green-line); }
.fd-btn.green-o:hover { background:var(--green-bg); }
.fd-btn.violet { background:var(--violet); border-color:var(--violet); }
.fd-btn.violet:hover { background:#6d28d9; }
.fd-btn.violet-o { background:#fff; color:var(--violet) !important; border-color:var(--violet-line); }
.fd-btn.red-o { background:#fff; color:var(--red) !important; border-color:var(--red-line); }
.fd-btn.red-o:hover { background:#fef2f2; }
.fd-btn.sm { min-height:38px; padding:0 14px; font-size:13px; }
.fd-btn[disabled] { opacity:.55; cursor:default; }

/* ── chips ── */
.fd-chips { display:flex; flex-wrap:wrap; gap:9px; }
.fd-chip { display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line); border-radius:999px;
           padding:8px 15px; white-space:nowrap; font:500 13.5px var(--ui); color:var(--ink); }
.fd-chip em { font:500 11.5px var(--mono); font-style:normal; color:var(--soft); }
.fd-chip:hover { border-color:var(--soft); }
.fd-chip.dark { background:var(--ink); border-color:var(--ink); color:#fff; }
.fd-chip.dark em { color:#9ca3af; }
.fd-chip.sm { padding:7px 13px; font-size:12.5px; font-weight:600; color:var(--body); }

/* ── home ── */
.fd-hero { text-align:center; padding:64px 0 52px; border-bottom:1px solid var(--hair); }
.fd-pill { display:inline-flex; align-items:center; gap:6px; background:var(--canvas); border:1px solid var(--line); border-radius:999px;
           padding:6px 14px; font:500 12.5px var(--ui); color:var(--body); }
.fd-hero h1 { font:600 56px/1.05 var(--display); letter-spacing:-2px; margin:20px 0 14px; }
.fd-hero p { font:400 17px/1.55 var(--ui); color:var(--body); max-width:520px; margin:0 auto 26px; }
.fd-hero .fd-search { max-width:700px; margin:0 auto; }
.fd-totals { display:flex; justify-content:center; align-items:center; gap:22px; margin-top:24px; }
.fd-totals div { display:flex; align-items:baseline; gap:8px; }
.fd-totals b { font:600 22px var(--display); letter-spacing:-.6px; }
.fd-totals span { font:400 13.5px var(--ui); color:var(--muted); }
.fd-totals i { width:1px; height:26px; background:var(--line); }
.fd-sec { padding:40px 0; }
.fd-sechd { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.fd-sechd > div { display:flex; flex-direction:column; gap:6px; }
.fd-duo { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding:8px 0 56px; }
.fd-duo > div { border:1px solid var(--line); border-radius:12px; padding:24px; background:var(--canvas); display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.fd-duo > .v { background:var(--violet-bg); border-color:var(--violet-line); }
.fd-duo .fd-kicker { color:var(--soft); }
.fd-duo > .v .fd-kicker { color:var(--violet); }
.fd-duo h3 { font:600 19px var(--display); letter-spacing:-.4px; margin:0; }
.fd-duo p { font:400 14px/1.55 var(--ui); color:var(--muted); margin:0 0 8px; }

/* "Near you" — from the header's saved location (find-loc.js) */
.fd-near { margin:26px 0 -8px; }
.fd-near a { display:flex; align-items:center; gap:10px; background:var(--canvas); border:1px solid var(--line); border-radius:12px;
             padding:14px 16px; font:400 14.5px var(--ui); color:var(--body); }
.fd-near a .fd-svg { color:var(--ink); }
.fd-near b { color:var(--ink); font-weight:600; }
.fd-near em { margin-left:auto; font:600 13.5px var(--ui); font-style:normal; color:var(--ink); white-space:nowrap; }
.fd-near a:hover { border-color:var(--soft); }

.fd-nearbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; background:var(--canvas); border:1px solid var(--line);
               border-radius:12px; padding:12px 16px; margin:0 0 12px; font:400 14px var(--ui); color:var(--body); }
.fd-nearbar b { color:var(--ink); font-weight:600; }
.fd-nearbar a { margin-left:auto; font:600 13px var(--ui); color:var(--ink); text-decoration:underline; }
.fd-tag-near { gap:4px; padding:2px 9px; font-size:11px; border-color:var(--ink); color:var(--ink); }
.fd-tag-near .fd-svg { width:11px; height:11px; }

/* ── town ── */
.fd-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.fd-group { border:1px solid var(--line); border-radius:12px; background:#fff; overflow:hidden; display:block; align-self:start; }
.fd-group > summary { list-style:none; display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:16px 16px 10px; cursor:default; }
.fd-group > summary::-webkit-details-marker { display:none; }
.fd-group h3 { font:600 16px/1.3 var(--display); letter-spacing:-.3px; margin:0; }
.fd-group > summary em { font:500 11.5px var(--mono); font-style:normal; color:var(--soft); }
.fd-types { list-style:none; margin:0; padding:0 16px 8px; }
.fd-types li a { display:flex; justify-content:space-between; gap:10px; padding:7px 0; font:400 14px var(--ui); color:var(--body); }
.fd-types li a:hover { color:var(--ink); text-decoration:underline; }
.fd-types li a em { font:500 11.5px var(--mono); font-style:normal; color:var(--soft); }
.fd-more { margin-top:auto; padding:11px 16px; background:var(--canvas); border:0; border-top:1px solid var(--hair);
           text-align:left; font:600 12.5px var(--ui); color:var(--ink); cursor:pointer; width:100%; }
.fd-group.extra { display:none; }
.fd-groups.all .fd-group.extra { display:block; }
.fd-center { display:flex; justify-content:center; margin-top:22px; }

/* ── listing cards ── */
.fd-list { display:flex; flex-direction:column; gap:12px; }
.fd-card { border:1px solid var(--line); border-radius:12px; background:#fff; padding:18px 18px 18px 18px; display:flex; gap:24px; align-items:center; }
.fd-card-main { flex:1; min-width:0; }
.fd-card h3 { font:600 17px/1.3 var(--display); letter-spacing:-.3px; margin:0 0 5px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.fd-card h3 a:hover { text-decoration:underline; }
.fd-meta { font:400 13px/1.5 var(--ui); color:var(--muted); margin:0 0 7px; }
.fd-meta b { color:var(--body); font-weight:600; }
.fd-meta i { font-style:normal; color:var(--faint); margin:0 6px; }
.fd-svc { font:400 14px/1.55 var(--ui); color:var(--body); margin:0; overflow-wrap:anywhere; }
.fd-acts { flex:none; width:172px; display:flex; flex-direction:column; gap:8px; }
.fd-acts .fd-btn { width:100%; min-height:38px; font-size:13px; padding:0 10px; }
.fd-det-m { display:none; }
.fd-badge-v { display:inline-flex; align-items:center; background:var(--violet-bg); border:1px solid var(--violet-line); color:var(--violet-ink);
              border-radius:999px; padding:2px 9px; font:600 11px var(--ui); letter-spacing:0; }
.fd-tag { display:inline-flex; align-items:center; background:#fff; border:1px solid var(--line); border-radius:999px; padding:4px 11px; font:600 12px var(--ui); color:var(--body); }

.fd-book { display:flex; align-items:center; justify-content:space-between; gap:18px; background:var(--violet-bg); border:1px solid var(--violet-line);
           border-radius:12px; padding:16px 18px; margin:0 0 18px; }
.fd-book b { display:block; font:600 16px var(--display); color:var(--violet-ink); letter-spacing:-.3px; margin-bottom:3px; }
.fd-book span { font:400 13.5px/1.5 var(--ui); color:var(--violet); }

.fd-pager { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px; flex-wrap:wrap; }
.fd-pages { display:flex; gap:6px; }
.fd-pages a, .fd-pages span { min-width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; padding:0 10px;
                              border:1px solid var(--line); border-radius:8px; font:600 13px var(--ui); color:var(--body); background:#fff; }
.fd-pages .on { background:var(--ink); border-color:var(--ink); color:#fff; }
.fd-pages .off { color:var(--faint); }
.fd-pager-m { display:none; }
.fd-rel { margin-top:30px; padding-top:22px; border-top:1px solid var(--hair); display:flex; flex-direction:column; gap:12px; }

/* ── business page ── */
.fd-biz { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:28px; align-items:start; padding-bottom:56px; }
.fd-tags { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.fd-sub { font:400 15px var(--ui); color:var(--muted); margin:8px 0 22px; }
.fd-panel { border:1px solid var(--line); border-radius:12px; background:#fff; overflow:hidden; }
.fd-dl { margin:0; padding:6px 18px; }
.fd-dl > div { display:grid; grid-template-columns:140px minmax(0,1fr); gap:16px; padding:13px 0; border-top:1px solid var(--hair); }
.fd-dl > div:first-child { border-top:0; }
.fd-dl dt { font:500 10.5px/1.9 var(--mono); letter-spacing:.1em; text-transform:uppercase; color:var(--soft); }
.fd-dl dd { margin:0; font:400 14.5px/1.55 var(--ui); color:var(--body); overflow-wrap:anywhere; }
.fd-dl dd.mono { font-family:var(--mono); font-size:13.5px; }
.fd-panel-ft { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 18px; background:var(--canvas); border-top:1px solid var(--line); }
.fd-biz .fd-book { margin:18px 0 0; }
.fd-subhd { margin:30px 0 12px; }
.fd-quiet { display:flex; gap:24px; flex-wrap:wrap; margin-top:26px; padding-top:18px; border-top:1px solid var(--hair); }
.fd-quiet button { background:none; border:0; padding:0; font:500 13.5px var(--ui); color:var(--muted); cursor:pointer; }
.fd-quiet button:hover, .fd-quiet button[aria-expanded="true"] { color:var(--ink); text-decoration:underline; }

.fd-contact { position:sticky; top:96px; border:1px solid var(--green-line); border-radius:12px; padding:18px; background:#fff; display:flex; flex-direction:column; gap:10px; }
.fd-contact .fd-kicker { color:var(--green); }
.fd-num { display:flex; align-items:center; justify-content:space-between; gap:8px; font:600 22px var(--mono); letter-spacing:.5px; color:var(--ink); margin:2px 0 4px; }
.fd-shown { font:600 11px var(--ui); color:var(--green); background:var(--green-bg); border:1px solid var(--green-line); border-radius:999px; padding:2px 9px; letter-spacing:0; }
.fd-contact .fd-btn { width:100%; }
.fd-contact .fd-note { font-size:12.5px; margin:2px 0 0; }
.fd-numbox-m { display:none; }
.fd-bar { display:none; }

/* report / remove panels */
.fd-flow { margin-top:16px; border:1px solid var(--line); border-radius:12px; padding:20px; background:#fff; max-width:520px; }
.fd-flow.ok { border-color:var(--green-line); }
.fd-flow.warn { border-color:var(--amber-line); }
.fd-flow h4 { font:600 18px var(--display); letter-spacing:-.4px; margin:0 0 4px; }
.fd-flow p { font:400 13.5px/1.55 var(--ui); color:var(--muted); margin:0 0 14px; }
.fd-flow select, .fd-flow textarea { width:100%; border:1px solid var(--line2); border-radius:8px; padding:11px 12px; font:400 14px var(--ui); color:var(--ink); background:#fff; }
.fd-flow textarea { min-height:84px; resize:vertical; margin-top:10px; }
.fd-flow .fd-row { display:flex; align-items:center; gap:10px; margin-top:14px; flex-wrap:wrap; }
.fd-flow .fd-row .fd-right { margin-left:auto; font:500 12.5px var(--ui); color:var(--muted); }
.fd-codeto { display:flex; justify-content:space-between; align-items:center; background:var(--canvas); border:1px solid var(--line); border-radius:8px; padding:12px 14px; font:400 13px var(--ui); color:var(--muted); }
.fd-codeto b { font:600 14px var(--mono); color:var(--ink); }
.fd-otp { display:flex; gap:10px; }
.fd-otp input { width:52px; height:56px; border:1px solid var(--line2); border-radius:9px; text-align:center; font:600 22px var(--mono); color:var(--ink); background:#fff; }
.fd-otp input:focus { outline:0; border-color:var(--ink); box-shadow:0 0 0 3px rgba(17,17,17,.06); }
.fd-otp.bad input { border-color:var(--red-line); }
.fd-alert { margin-top:14px; border-left:3px solid var(--amber); background:var(--amber-bg); color:var(--amber); padding:10px 12px; font:500 13px/1.5 var(--ui); border-radius:0 6px 6px 0; }
.fd-tick { width:34px; height:34px; border-radius:50%; background:var(--green-bg); border:1px solid var(--green-line); color:var(--green);
           display:flex; align-items:center; justify-content:center; font:700 16px var(--ui); margin-bottom:12px; }
.fd-linkbtn { background:none; border:0; padding:0; font:600 13px var(--ui); color:var(--ink); cursor:pointer; margin-left:auto; }

/* ── empty / not found ── */
.fd-empty { border:1px solid var(--line); border-radius:12px; padding:44px 24px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:8px; }
.fd-ico { width:46px; height:46px; border-radius:50%; background:var(--amber-bg); border:1px solid var(--amber-line); color:var(--amber);
          display:flex; align-items:center; justify-content:center; margin-bottom:8px; }
.fd-empty h2 { font:600 22px var(--display); letter-spacing:-.6px; margin:0; }
.fd-empty p { font:400 14px var(--ui); color:var(--muted); margin:0 0 10px; }
.fd-nf { text-align:center; padding:76px 0 84px; display:flex; flex-direction:column; align-items:center; gap:14px; }
.fd-nf h1 { font:600 36px var(--display); letter-spacing:-1.2px; margin:0; }
.fd-nf p { font:400 16px/1.55 var(--ui); color:var(--body); max-width:400px; margin:0 0 6px; }
.fd-nf .fd-search { width:100%; max-width:520px; }

/* ── footer ── */
.fd-ft { background:#101010; color:#fff; padding:40px 0 44px; margin-top:auto; }
.fd-ft .fd-in { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:28px; }
.fd-ft b { font:600 17px var(--display); letter-spacing:-.3px; }
.fd-ft p { font:400 13px/1.55 var(--ui); color:#9ca3af; margin:8px 0 0; max-width:320px; }
.fd-ft h5 { font:500 10.5px var(--mono); letter-spacing:.1em; text-transform:uppercase; color:#8b9099; margin:0 0 10px; }
.fd-ft a { display:block; font:400 13.5px var(--ui); color:#e5e7eb; padding:4px 0; }
.fd-ft a:hover { color:#fff; }

/* ── Colour layer (16 Nov 2026, owner: "more colours") ──────────────────────────
   The meanings above still hold: green is contact, violet is Book, amber a problem,
   red the remove action. What is added is colour that carries no instruction:
     · BLUE, the site's own (homepage Find card, xw-btn--blue), is Find's main colour:
       search button, focus rings, page headers, pager, numbers;
     · EIGHT HUES (.fd-hue0–7) give every category group, town chip and business its
       own steady colour, chosen from the name (fd_hue() in index.php), so a page of
       listings reads as many different businesses rather than one grey list. None of
       the eight is the contact green, Book violet or problem amber. */
.fd { --blue:#2563eb; --blue-ink:#1d4ed8; --blue-bg:#eff6ff; --blue-line:#bfdbfe; }
.fd-hue0 { --h:#2563eb; --hb:#eff6ff; --hl:#bfdbfe; }   /* blue */
.fd-hue1 { --h:#0891b2; --hb:#ecfeff; --hl:#a5f3fc; }   /* cyan */
.fd-hue2 { --h:#0d9488; --hb:#f0fdfa; --hl:#99f6e4; }   /* teal */
.fd-hue3 { --h:#4f46e5; --hb:#eef2ff; --hl:#c7d2fe; }   /* indigo */
.fd-hue4 { --h:#db2777; --hb:#fdf2f8; --hl:#fbcfe8; }   /* pink */
.fd-hue5 { --h:#ea580c; --hb:#fff7ed; --hl:#fed7aa; }   /* orange */
.fd-hue6 { --h:#0284c7; --hb:#f0f9ff; --hl:#bae6fd; }   /* sky */
.fd-hue7 { --h:#be185d; --hb:#fdf2f8; --hl:#f9a8d4; }   /* raspberry */

/* every page opens on a soft blue wash instead of flat white */
.fd-main { background:linear-gradient(180deg, #eff6ff 0, #f8fbff 180px, #fff 420px) no-repeat; }
.fd-crumbs a { color:var(--blue-ink); }
.fd-h1 { color:#0b1530; }
.fd-count b { color:var(--blue); }

/* main buttons and inputs in site blue */
.fd-btn { background:var(--blue); border-color:var(--blue); }
.fd-btn:hover { background:var(--blue-ink); border-color:var(--blue-ink); }
.fd-btn.ghost { border-color:var(--blue-line); color:var(--blue-ink) !important; }
.fd-btn.ghost:hover { background:var(--blue-bg); }
.fd-search { box-shadow:0 6px 20px -12px rgba(37,99,235,.35); }
.fd-search .fd-svg { color:var(--blue); }
.fd-search:focus-within, .fd-hsearch:focus-within { border-color:var(--blue); box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.fd-otp input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.fd-pages .on { background:var(--blue); border-color:var(--blue); }
.fd-pages a:hover { border-color:var(--blue-line); color:var(--blue-ink); }
.fd-kicker { color:var(--blue); }

/* home hero: blue-to-cyan band with two soft glows */
.fd-hero { position:relative; overflow:hidden; border-bottom:0;
           background:linear-gradient(135deg, #1e3a8a 0%, #2563eb 48%, #0891b2 100%); color:#fff; }
.fd-hero::before, .fd-hero::after { content:''; position:absolute; border-radius:50%; pointer-events:none; }
.fd-hero::before { width:420px; height:420px; left:-140px; top:-180px; background:radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0) 70%); }
.fd-hero::after  { width:360px; height:360px; right:-120px; bottom:-200px; background:radial-gradient(circle, rgba(34,211,238,.35), rgba(34,211,238,0) 70%); }
.fd-hero .fd-in { position:relative; z-index:1; }
.fd-hero h1 { color:#fff; }
.fd-hero h1 span { color:#a5f3fc; }
.fd-hero p { color:rgba(255,255,255,.86); }
.fd-hero .fd-pill { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.28); color:#fff; }
.fd-hero .fd-search { border-color:transparent; box-shadow:0 18px 40px -18px rgba(8,20,60,.6); }
.fd-hero .fd-totals b { color:#fff; }
.fd-hero .fd-totals span { color:rgba(255,255,255,.78); }
.fd-hero .fd-totals i { background:rgba(255,255,255,.3); }
.fd-main:has(.fd-hero) { background:#fff; }

/* chips: a coloured dot and count from the name's hue */
.fd-chip[class*="fd-hue"]::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--h); flex:none; }
.fd-chip[class*="fd-hue"] em { color:var(--h); font-weight:600; }
.fd-chip[class*="fd-hue"]:hover { border-color:var(--hl); background:var(--hb); }
.fd-chip.sm[class*="fd-hue"] { background:var(--hb); border-color:var(--hl); color:var(--h); }

/* "near you" boxes in blue */
.fd-near a, .fd-nearbar { background:var(--blue-bg); border-color:var(--blue-line); }
.fd-near a .fd-svg, .fd-nearbar .fd-svg, .fd-near em, .fd-nearbar a { color:var(--blue-ink); }
.fd-tag-near { border-color:var(--blue); color:var(--blue-ink); background:var(--blue-bg); }

/* town page: each group carries its hue */
.fd-group[class*="fd-hue"] { border-top:3px solid var(--h); }
.fd-group[class*="fd-hue"] > summary h3 { display:flex; align-items:center; gap:9px; }
.fd-group[class*="fd-hue"] > summary h3::before { content:''; width:10px; height:10px; border-radius:3px; background:var(--h); flex:none; }
.fd-group[class*="fd-hue"] > summary em { color:var(--h); font-weight:600; }
.fd-group[class*="fd-hue"] .fd-types li a:hover { color:var(--h); }
.fd-group[class*="fd-hue"] .fd-types li a em { color:var(--h); opacity:.8; }
.fd-group[class*="fd-hue"] .fd-more { background:var(--hb); color:var(--h); }

/* listing card: coloured initial, hover lifts the border to blue */
.fd-card { transition:border-color .2s ease, box-shadow .2s ease; }
.fd-card:hover { border-color:var(--blue-line); box-shadow:0 10px 26px -18px rgba(37,99,235,.45); }
.fd-card-main { display:grid; grid-template-columns:44px minmax(0,1fr); column-gap:14px; align-content:start; }
.fd-card-main > :not(.fd-av) { grid-column:2; }
.fd-av { grid-row:1 / span 3; width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center;
         background:var(--h); color:#fff; border:0; font:700 18px var(--display); box-shadow:0 6px 14px -8px var(--h); }
.fd-card h3 a { color:#0b1530; }
.fd-card h3 a:hover { color:var(--blue-ink); }

/* business page header: big initial on a tinted band */
.fd-bizhd { display:flex; gap:16px; align-items:flex-start; background:linear-gradient(135deg, var(--hb), #fff 75%);
            border:1px solid var(--hl); border-radius:16px; padding:20px; margin-bottom:18px; }
.fd-bizhd-t { min-width:0; flex:1; }
.fd-bizhd .fd-sub { margin-bottom:0; }
.fd-av.lg { width:64px; height:64px; border-radius:16px; font-size:28px; background:var(--h); color:#fff; border:0;
            box-shadow:0 10px 24px -12px var(--h); flex:none; }
.fd-bizhd .fd-tag { background:#fff; border-color:var(--hl); color:var(--h); }
.fd-dl dt { color:var(--blue); }
.fd-panel { box-shadow:0 8px 24px -20px rgba(15,23,42,.35); }

/* home: the owner card picks up a light blue, Book's stays violet */
.fd-duo > div:not(.v) { background:var(--blue-bg); border-color:var(--blue-line); }

/* ── phone ── */
@media (max-width:860px) {
  .fd-hsearch, .fd-nav { display:none; }
  .fd-burger { display:inline-flex; }
  .fd-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .fd-biz { grid-template-columns:1fr; }
  .fd-contact { display:none; }
  .fd-numbox-m { display:flex; justify-content:space-between; align-items:center; background:var(--green-bg); border:1px solid var(--green-line);
                 border-radius:10px; padding:12px 14px; margin:0 0 18px; font:600 16px var(--mono); }
  .fd-numbox-m span { font:500 12px var(--ui); color:var(--green); }
  .fd-bar { display:flex; gap:8px; position:fixed; left:0; right:0; bottom:0; z-index:45; background:#fff; border-top:1px solid var(--line);
            padding:10px 12px calc(10px + env(safe-area-inset-bottom)); }
  .fd-bar .fd-btn { flex:1; min-height:48px; }
  .fd.has-bar { padding-bottom:72px; }
}
/* The site's own phone bottom menu (customer_bottom_nav.php, below 768px, 3.5rem) — the
   business page's contact bar sits just above it instead of underneath. */
@media (max-width:767px) {
  .fd-bar { bottom:calc(3.5rem + env(safe-area-inset-bottom)); padding-bottom:10px; }
}
@media (max-width:640px) {
  .fd-in { padding:0 16px; }
  .fd-hd .fd-in { height:58px; gap:10px; }
  .fd-logo img { height:26px; }
  .fd-seg a { padding:5px 11px; font-size:12.5px; }
  .fd-h1 { font-size:26px; letter-spacing:-.8px; }
  .fd-hero { padding:30px 0 28px; text-align:left; }
  .fd-hero .fd-pill { display:none; }
  .fd-hero h1 { font-size:32px; letter-spacing:-1.1px; margin:0 0 8px; }
  .fd-hero p { margin:0 0 18px; font-size:15px; }
  .fd-totals { justify-content:flex-start; }
  .fd-search { flex-wrap:wrap; height:auto; border:0; padding:0; gap:10px; background:none; }
  .fd-search:focus-within { box-shadow:none; }
  .fd-search > .fd-svg, .fd-search .fd-sep { display:none; }
  .fd-search input { flex:1 1 100%; height:50px; border:1px solid var(--line2); border-radius:10px; padding:0 14px; background:#fff; }
  .fd-search label.fd-town { flex:1 1 0; min-width:0; height:48px; border:1px solid var(--line2); border-radius:10px; padding:0 12px; background:#fff; }
  .fd-search select { flex:1; min-width:0; width:100%; max-width:none; }
  .fd-search .fd-btn { flex:none; }
  .fd-chip { max-width:100%; }
  .fd-search .fd-btn { height:48px; }
  .fd-scroll { flex-wrap:nowrap; overflow-x:auto; margin:0 -16px; padding:0 16px 4px; scrollbar-width:none;
               -webkit-mask-image:linear-gradient(90deg,#000 85%,transparent); mask-image:linear-gradient(90deg,#000 85%,transparent); }
  .fd-scroll::-webkit-scrollbar { display:none; }
  .fd-sec { padding:26px 0; }
  .fd-h2 { font-size:20px; }
  .fd-duo { grid-template-columns:1fr; padding-bottom:36px; }
  .fd-groups { grid-template-columns:1fr; gap:0; border-top:1px solid var(--line); }
  .fd-group { border:0; border-bottom:1px solid var(--line); border-radius:0; }
  .fd-group > summary { cursor:pointer; padding:15px 2px; }
  .fd-group > summary h3 { font-size:15px; font-family:var(--ui); font-weight:500; }
  .fd-group > summary::after { content:'▾'; color:var(--soft); font-size:11px; margin-left:8px; }
  .fd-group[open] > summary::after { content:'▴'; }
  .fd-group .fd-types { padding:0 0 10px; }
  .fd-types li a { border:1px solid var(--line); border-radius:9px; padding:11px 12px; margin-bottom:7px; }
  .fd-group .fd-more { background:none; border:0; padding:4px 2px 14px; color:var(--body); }
  .fd-group.extra { display:block; }
  .fd-showall { display:none; }
  .fd-card { flex-direction:column; align-items:stretch; padding:0; gap:0; overflow:hidden; }
  .fd-card-main { padding:15px 14px 13px; }
  .fd-card h3 { padding-right:70px; position:relative; font-size:16px; }
  .fd-det-m { display:block; position:absolute; right:0; top:2px; font:600 12.5px var(--ui); color:var(--ink); }
  .fd-acts { width:auto; flex-direction:row; gap:0; border-top:1px solid var(--line); }
  .fd-acts .fd-btn { flex:1; border-radius:0; border:0; min-height:48px; }
  .fd-acts .fd-btn.green { background:var(--green-bg); color:var(--green) !important; }
  .fd-acts a.fd-btn.green { background:var(--green); color:#fff !important; }
  .fd-acts .fd-btn.green-o { border-left:1px solid var(--line); }
  .fd-acts .fd-det { display:none; }
  .fd-book { flex-direction:column; align-items:stretch; }
  .fd-book .fd-btn { width:100%; }
  .fd-pages, .fd-pager > .fd-note { display:none; }
  .fd-pager-m { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; width:100%; }
  .fd-pager-m > * { height:44px; display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:9px; font:600 13px var(--ui); }
  .fd-pager-m .off { color:var(--faint); }
  .fd-dl { padding:0 0; }
  .fd-panel { border:0; border-top:1px solid var(--line); border-radius:0; }
  .fd-dl > div { grid-template-columns:1fr; gap:3px; }
  .fd-panel-ft { background:none; padding:14px 0; border-top:1px solid var(--hair); }
  .fd-panel-ft .fd-note { display:none; }
  .fd-panel-ft .fd-btn { width:100%; }
  .fd-nf { padding:40px 0 48px; }
  .fd-nf h1 { font-size:26px; }
  .fd-otp { gap:7px; }
  .fd-otp input { width:calc((100% - 35px) / 6); height:52px; }
  .fd-ft .fd-in { grid-template-columns:1fr; gap:6px; }
  .fd-ft .fd-col { display:none; }
}
/* ── The site header on Find phones ──
   Find keeps the shared header on phones for its location picker
   ($keep_mobile_header), but that header was only ever laid out for desktop:
   below 768px its search squeezed to a 25px sliver and the location chip was
   crushed between the logo and Logout. On Find phones it is ONE calm row —
   logo · location (takes the room) · cart — and it scrolls away instead of
   sticking, so the listings get the screen. Dropped on phones:
     · the header search: it searches Book services, not Find — Find's own search
       is on its pages;
     · Login / Logout: the bottom menu's Account tab covers them. */
@media (max-width:767px) {
  #xw-cust-header { position:relative; }
  #xw-cust-header .xw-hdr-inner { flex-wrap:nowrap; gap:8px; padding:8px 12px; }
  #xw-cust-header .xw-hdr-inner > a:first-child img { height:28px; width:auto; }
  #xw-cust-header .xw-hdr-inner > button:first-of-type { flex:1 1 auto; min-width:0; max-width:none; padding:7px 10px; }
  #xw-cust-header #header-search-wrap,
  #xw-cust-header nav { display:none !important; }
  #xw-cust-header .xw-ico { flex:none; }
}
/* Phone listing cards: scan, don't read. Address and services keep two lines each
   (the full text is one tap away on Details), so ~3 cards fit a screen, not 1½. */
@media (max-width:640px) {
  .fd-card-main { padding:13px 14px 11px; }
  .fd-card h3 { font-size:15.5px; line-height:1.3; }
  .fd-card .fd-meta, .fd-card .fd-svc { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
  .fd-card .fd-meta { font-size:13px; margin-top:4px; }
  .fd-card .fd-svc { font-size:13.5px; margin-top:6px; }
  .fd-acts .fd-btn { min-height:44px; }
  .fd-list { gap:10px; }
  .fd-crumbs { margin:16px 0 12px; font-size:12.5px; }
  .fd-bar.fd-bar-off { display:none; }
  /* The Book offer stays, but as one line and a button, not half a screen above
     the first listing. */
  .fd-book { padding:14px; gap:10px; margin-bottom:14px; }
  .fd-book b { font-size:15px; line-height:1.35; }
  .fd-book span { display:none; }
  .fd-book .fd-btn { min-height:42px; }
}
@media (prefers-reduced-motion:reduce) { .fd * { transition:none !important; } }
/* colour layer on phones */
@media (max-width:640px) {
  .fd-hero { padding:30px 0 28px; }
  .fd-hero::before { width:260px; height:260px; }
  .fd-card-main { grid-template-columns:38px minmax(0,1fr); column-gap:12px; }
  .fd-av { width:38px; height:38px; border-radius:10px; font-size:16px; }
  .fd-bizhd { padding:14px; gap:12px; border-radius:14px; }
  .fd-av.lg { width:52px; height:52px; font-size:23px; border-radius:14px; }
  .fd-group[class*="fd-hue"] { border-top:0; border-left:3px solid var(--h); padding-left:10px; }
}
/* the hero search on phones sits straight on the blue band: no shadow on the wrapper,
   and a navy button so it doesn't vanish into the blue behind it */
@media (max-width:640px) {
  .fd-hero .fd-search { box-shadow:none; }
  .fd-hero .fd-search input, .fd-hero .fd-search label.fd-town { border-color:transparent; }
  .fd-hero .fd-search .fd-btn { background:#0b1530; border-color:#0b1530; }
}
