/* GENERATED FILE - do not edit.
 * Dealer & Distributor map - looks.
 * Produced by revamp/tools/build-dealer-page.js from
 * revamp/dealer-d.html. Edit that, re-run the tool, re-deploy:
 *     node revamp/tools/build-dealer-page.js
 */

/* The page background. The theme gives this page the body class from
 * superfly_dealer_map_body_class() in functions.php, the same way the FAQ
 * page gets superfly-faq-page. Matched on the SLUG, not the page id, so
 * the page can be deleted and rebuilt without losing its background. */
body.superfly-dealer-map-page {
	background-color: #101014;
	background-image:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 4px),
		repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.35) 0 2px, transparent 2px 4px);
	background-attachment: fixed;
}

/* ============================================================
   OPTION E — option D, with the LIST rebuilt as ruled rows

   Everything outside the list is option D unchanged: same
   masthead, same map, same filters, same paging, same band.
   Only the entries change.

   WHY
   The reference stacks its shops two-up as borderless cards,
   and that works there because its entries are short and the
   same length. Ours are not. A Malaysian shoplot address runs
   two or three lines, shop names run to four words, and the
   result was:

     - nothing bounding a card, so two adjacent entries blur
       into each other;
     - the two columns never aligning, because one name wraps
       and its neighbour does not, so every badge, address and
       link sits at a different height;
     - a state badge repeated on every card, which says nothing
       at all once you have filtered to that state.

   So the entries become ONE COLUMN of ruled rows: name and
   place on the left, the phone and directions right-aligned,
   a hairline under each. That is the FAQ page's own row
   language (.superfly-faq-question), it aligns by construction
   because there is only one column, and it fits more entries in
   less height.

   Judge it against dealer-d.html side by side before choosing.
   ============================================================ */

/* ============================================================
   Inherited from OPTION D — the reference, reproduced

   lupinelights.com/en/pages/dealer-map rebuilt to its own
   measurements, with the colours, borders and typefaces swapped
   for the Superfly theme's and nothing else changed. Same
   precedent as product-b.html, which reproduces its reference
   exactly while product-a.html reinterprets it.

   Every number below was read off the live reference at 1440px
   on 2026-09-30 — computed styles, not eyeballed. The structure
   is the reference's, class for class:

     .utility-page-title   →  .dnd-title
     .store-finder-wrapper →  .dnd-wrap
     .search-and-filters   →  .dnd-sf
     .store-finder-search  →  .dnd-search
     svelte-filter-carousel→  .dnd-carousel
     .stores-list          →  .dnd-list
     .location-item        →  .dnd-item
     .location-header      →  .dnd-head
     .location-address     →  .dnd-addr
     .location-contact     →  .dnd-contact
     .map                  →  .dnd-map

   THE REFERENCE'S LAYOUT, VERBATIM
     grid  "search_filters map" / "stores-list map", tracks
     minmax(0,463px) 2fr, padding-inline 48px, height
     calc(100vh - 48px). The list column is a FIXED-HEIGHT panel
     that scrolls inside itself, holding a two-column card grid
     with no gap and no card borders; the map fills the right
     column at full height and does not scroll at all.
     Breakpoints 740px and 1000px, both the reference's.

   WHAT WAS SWAPPED (colour, border and type only)
     #000 page ................ #101014 + the theme's carbon weave
     rgb(235,90,130) pink ..... #ec1e79   (terms/faq/privacy/contact)
     rgb(250,190,190) icon .... #f7409a
     rgb(135,135,135) grey .... rgba(242,242,244,.40)
     rgb(61,61,61) border ..... rgba(242,242,244,.13)
     rgb(80,70,70) border ..... rgba(242,242,244,.13)
     #0f0f0f row hover ........ #0d0d10  (the theme's card colour)
     recent-grotesk ........... Archivo Black
     Inter .................... Archivo
     Roboto Mono .............. Chakra Petch
     minion-pro italic ........ Archivo italic
   Geometry is untouched — the 96px pill radius on the search, the
   4px→48px radius flip between an inactive and an active filter,
   the 24px card padding, the 16px stack gap. Those ARE the
   reference's design, so they stayed.

   TWO PLACES THE DATA DOES NOT LINE UP
   Both are noted rather than invented around.

   1. The reference's badge and filters are a CATEGORY — Dealers /
      Test centers / Distributors. Our 157 records carry no such
      classification and inventing one would be fiction, so the
      same slot and the same carousel carry the STATE instead,
      which is real, is what a Malaysian visitor filters by, and
      needs the carousel's prev/next arrows just as much (14
      states against the reference's 4 categories).

   2. The reference's cards carry phone, email and website. Our
      records have phone only. So the second contact line is
      Directions — a maps search on the printed address — in the
      same 10px underlined grey style. Eight shops have no phone
      at all on the live page; those show the gap.

   THE MAP is an inline SVG of Malaysia, not the reference's
   embedded Google map. Two reasons, both already settled
   elsewhere in this repo: the contact page refused a Google
   iframe on cookie and clip-path grounds (see
   wordpress/contact-us/README.md), and — the harder one — not
   one of the 157 dealers has coordinates, so there is nothing to
   drop a per-shop pin on. It fills the same panel, at the same
   size, with the same black ground, the same accent markers and
   the same bottom-right zoom controls, and it plots by state.
   ============================================================ */
.dnd{
  /* --- the theme's palette, standing in for the reference's --- */
  --d-text:#f2f2f4;                    /* was #fff */
  --d-grey:rgba(242,242,244,.40);      /* was rgb(135,135,135) */
  --d-line:rgba(242,242,244,.13);      /* was rgb(61,61,61) / rgb(80,70,70) */
  /* Lighter than --d-line, for rules BETWEEN repeated rows rather than
   * around a box. Added 2026-10-01: the ruled list referred to it and it
   * had never been declared, so every row border resolved to an invalid
   * value and was dropped — silently, because an undefined var takes the
   * whole declaration with it. */
  --d-hair:rgba(242,242,244,.07);
  --d-accent:#ec1e79;                  /* was rgb(235,90,130) */
  --d-accent-pale:#f7409a;             /* was rgb(250,190,190) */
  /* The reference's row hover is #0f0f0f against its #000 page — an opaque
   * colour fifteen points up from the ground it sits on. That worked here
   * while the list was transparent too, but the list is now a #0d0d10
   * neumorphic panel and an opaque #0d0d10 hover on a #0d0d10 card is
   * invisible. So the hover became a translucent LIFT instead of a colour:
   * it reads the same on the card, and it keeps reading if the card colour
   * is ever retuned. Same value as contact.css's --superfly-contact-field. */
  --d-hover:rgba(255,255,255,.035);    /* was #0f0f0f, opaque */
  --d-ground:#0a0a0c;                  /* behind the tiles while they load */

  /* The neumorphic set from the deployed contact page — the exact values of
   * --superfly-contact-card / -lift / -sink in
   * twentytwentyfour-child/assets/css/contact.css, which are themselves
   * return-refund.css's SOFTENED pair (.022 / .26) rather than privacy.css's
   * heavier .03 / .38. That page's note applies here too: if these are ever
   * tuned, move BOTH sides in proportion. Cutting the lift alone leaves a
   * neumorphic card reading as a plain dark rectangle; cutting the sink
   * alone stops it lifting off the carbon weave at all.
   *
   * The reference has no card language at all — its map is a bare black
   * rectangle — so none of this came from lupinelights. It is here on the
   * operator's instruction (2026-10-01) to match the rest of the site. */
  /* The gutter between the two cards — the reference's 48px at desktop.
   * The hairline down its middle is positioned at half this, so the two
   * are one number and cannot drift apart. */
  --d-gutter:16px;

  --d-card:#0d0d10;                    /* all but the page colour - no edge, only light */
  --d-lift:rgba(255,255,255,.022);     /* the light side, top-left */
  --d-sink:rgba(0,0,0,.26);            /* the shadow side, bottom-right */

  --d-title:"Inter", system-ui, -apple-system, sans-serif;  /* was recent-grotesk */
  --d-body:"Archivo","Inter",sans-serif;               /* was Inter */
  --d-tech:"Chakra Petch",monospace;                   /* was Roboto Mono */

  color:var(--d-text); font-family:var(--d-body);
}
.dnd *,.dnd *::before,.dnd *::after{ box-sizing:border-box; }

/* -------------------------------------------------------------
 * Masthead
 *
 * NOT the reference's. This is the one place the page deliberately leaves
 * lupinelights behind, on the operator's instruction (2026-10-01): the
 * reference opens with a 160px title centred in its own band, and the
 * deployed Superfly site opens every page left-aligned with an 11px tech
 * eyebrow over two stacked lines, the second in magenta, closed by a
 * hairline.
 *
 * It is copied from `.superfly-faq-head` / `-eyebrow` / `-title` in
 * twentytwentyfour-child/assets/css/faq.css — which is itself the contact
 * page's masthead, because FAQ and Contact are the two pages a customer
 * actually lands on. This is a third such page, so it opens the same way.
 *
 * EVERY VALUE BELOW IS SHARED. faq.css, contact.css, terms.css,
 * privacy.css and shop-archive.css all set this same size ramp, and
 * faq.css says in its own comment: change it in all five or in none. If
 * this page is ported into the theme, it should read these from the
 * existing variables rather than keep its own copy.
 *
 * There is no sub-heading, for the same reason faq.css gives for not
 * having one: the thing immediately below says the scope better than a
 * tagline would. The reference's "Shine on." slot — which held
 * "Ride. Race. Research." here — goes with it.
 * ----------------------------------------------------------- */
.dnd-title{
  /* faq.css's exact top padding: clamp(34px, 5vw, 64px). This was
   * clamp(40px, 6vw, 72px), which lands 8px lower at 1440 — and with the
   * Elementor container's own 10px on top of it the masthead started 18px
   * below the FAQ's (operator, 2026-10-01). The container padding was
   * zeroed in the same change; both were needed. */
  padding-top:clamp(34px,5vw,64px);
  padding-bottom:clamp(26px,4vw,44px);
  /* The shared page gutter, clamp(20px,5vw,40px) - faq.css, contact.css,
   * about.css, terms.css, privacy.css, return-refund.css and 404.css all
   * set exactly this. Standardised 2026-10-02; this page used a 16px -> 40px
   * STEP at 740px instead, which left it 4px tighter than every other page
   * on a phone and jumped rather than scaled. Change it in all eight or in
   * none. The masthead, the search field and the first card still all start
   * on the same line - they just track the clamp now. */
  padding-inline:var(--sf-gutter);

  /* THE FIXED SOCIAL RAIL COVERED THE HEADLINE AT SCROLL 0 (2026-11-12),
   * and it had done since this page was built — the old "DEALERS &" /
   * "DISTRIBUTORS" collided identically. .sfsr is 46px wide (40 below
   * 782px), z-index 90 and vertically centred, so at the top of this page
   * it sat over the start of both masthead lines. Measured at 1024x768
   * before the fix: rail [0, 236, 46, 426] against an accent line
   * [40, 207, 967, 290], with elementFromPoint at the line's left edge
   * returning sfsr__glyph — the 1 of 157 was behind a social icon.
   *
   * 58px is the house clearance number (.sfidx, .sfcg, .sfbw, .sfdw all
   * use it). Written as a max() against the gutter so it turns itself off
   * if that ever passes 58, and LEFT only — there is no rail on the right.
   *
   * IT IS ON .dnd-title, NOT ON .dnd-title-text, so the eyebrow moves with
   * the headline. Indenting one of two stacked lines reads as a mistake.
   * The border-bottom is on this element, so the rule keeps the full width
   * — the same split .sfidx uses to keep its hairlines on the heading edge.
   *
   * COST: the masthead no longer starts on the same line as the search
   * field and the first card. That was put to the operator and accepted.
   * DO NOT fix it by widening the gutter instead — that clamp is shared
   * with seven other pages and says so above.
   *
   * Check it with a Range over the text, never with a rect on the element:
   * the clearance is padding inside the box, so getBoundingClientRect on
   * .dnd-title still reads the gutter and looks like a collision after the
   * fix. This file is the seventh place that warning has had to be written.
   *
   * THE INDENT IS NOT A FLAT 58px, AND A FLAT ONE IS WRONG. From 1000px up
   * this element is centred in a --sf-measure-box, so it already starts
   * well inside the page and the rail cannot reach it: measured at 1440x900
   * the box starts at 25, the text at 65 and the rail ends at 46 — 19px of
   * clearance with no indent at all. A flat 58 would push that text to 83
   * to solve a collision that is not there. So the sum takes the box's own
   * offset off first, which makes the indent disappear on its own on a wide
   * screen. --dnd-box-left is 0 here and is redefined in the 1000px block.
   *
   * The declaration itself lives in the min-width:740px block, so a phone
   * keeps its full measure: there the rail sits at y 323-489 against a
   * headline at 153-226 and the two never meet, and 38px is a lot to spend
   * out of a 335px line for nothing. */
  --dnd-box-left:0px;

  border-bottom:1px solid var(--d-line);
  margin-bottom:clamp(20px,3vw,34px);
}
.dnd-eyebrow{
  margin:0 0 clamp(20px,3vw,38px);
  font-family:var(--d-tech); font-size:11px; font-weight:700;
  letter-spacing:.22em; text-transform:uppercase;
  color:var(--d-accent);
}
.dnd-title-text{
  margin:0;
  font-family:var(--d-title); font-weight: 700;
  font-size: 30px;
  /* tighter than the type is tall — this is what closes the gap between
   * the two stacked lines */
  line-height: 1;
  letter-spacing: -0.075em; text-transform:uppercase;
  color:var(--d-text);
}

/* SECTION 2 TYPE, AT 100px (operator, 2026-11-16: "i want you open
   all the page like dealer map or FAQ or about us , or others page
   please make it like homepage section 2 font inter and 100px").

   Every page title on this site was Archivo Black 400 on
   clamp(32px, 6vw, 68px) / .92 / -.025em. They are now .sfcg__title
   Inter 700 / 1 / -.075em on its stepped ladder, with ONE deliberate
   difference: the top step is 100px where the home page is 112. The
   home page was explicitly excluded from this pass, so section 2 and
   these titles now agree at 768, 1024 and 1280 and differ at 1900.

   A STEPPED LADDER, NOT A CLAMP, because that is what .sfcg__title
   is. A clamp fitted to the same endpoints ramps between them where
   the ladder jumps, so the two would agree only at the ends.

   700 BECAUSE THE FACE CHANGED. Archivo Black ships one weight and
   is black at 400; Inter at 400 in the same place reads as a
   caption. The note that used to sit here warning against 700 was
   right about Archivo Black and is wrong about Inter.

   THE OTHER PAGES CARRY THESE SAME VALUES AS LITERALS - see the file
   list in docs/research/2026-11-16-shop-filter-references.md. A :root
   token declared in one stylesheet and read from another resolves by
   load order and fails silently, which is why they are not shared. */

@media (min-width:  768px){ .dnd-title-text{ font-size:  48px } }
@media (min-width: 1024px){ .dnd-title-text{ font-size:  60px } }
@media (min-width: 1280px){ .dnd-title-text{ font-size:  72px } }
@media (min-width: 1900px){ .dnd-title-text{ font-size: 100px } }

/* The second line of the headline, in the accent. It carries a SENTENCE as
 * of 2026-11-12 ("157 shops. One near you.") rather than the single word it
 * used to, so it can wrap — and `text-wrap: balance` is what decides where.
 *
 * It is not cosmetic here. Measured at the real size, plain wrapping gives
 * "157 SHOPS. ONE NEAR" / "YOU." from 375px to 800px — an orphan, and a
 * break mid-phrase. Balance breaks after the full stop at every one of
 * those widths. Browsers that do not support it fall back to the orphan,
 * which is ugly and not broken.
 *
 * Re-measure the whole ramp if the sentence is rewritten: it is one line
 * from 850px up and two below, with three at 320px. */
/* THE PINK LINE CARRIES SECTION 2's SHEEN (operator, 2026-11-16:
   "also the color pink text in title please match with effect
   PERFORMANCE text").

   Ported from .sfcg__word in category-grid.css: ink -> magenta -> ink
   clipped to the glyphs and looping for ever, so it reads as a light
   passing through the word rather than as a second colour. Both
   background-clip longhands, or Blink paints a solid magenta band with
   invisible type inside it.

   width: fit-content IS LOAD-BEARING HERE and is NOT in the original.
   .sfcg__word is an inline span inside a line; this one is
   display: block, so without it the background's positioning area is
   the whole title column and the sweep is spread across the measure
   instead of across the words. home-opening.css records the same fix
   for .sfop__line. It must stay display: block so the line still
   breaks after the white half.

   The keyframe is named sfSheen in every file that carries this. CSS
   keyframes are global, and all these copies are identical, so a page
   loading two of them is harmless. */
.dnd-title-text span{
	display: block;
	text-wrap: balance;
	width: fit-content;
	color: transparent;
	background-image: linear-gradient(90deg,
		var(--d-text)    0%,
		var(--d-accent) 48%,
		var(--d-text)   100%);
	background-size: 220% 220%;
	-webkit-background-clip: text;
	background-clip: text;
	animation: sfSheen 5s ease infinite;

	/* the last glyph would otherwise be clipped by the background box */
	margin-right: -.12em;
	padding-right: .12em;
}

@keyframes sfSheen{
	0%   { background-position: 10% 0 }
	50%  { background-position: 91% 100% }
	100% { background-position: 10% 0 }
}


/* -------------------------------------------------------------
 * .store-finder-wrapper
 * ----------------------------------------------------------- */
.dnd-wrap{
  display:grid; position:relative;
  grid-template-columns:1fr;
  grid-template-areas:"sf" "map" "list";
  color:var(--d-text);

  /* The reference ends dead on the bottom of its list, because its list is
   * loose markup on a black page and there is no edge to land on. Ours are
   * two cards with a rounded bottom corner and a shadow that falls BELOW
   * them, so with no padding here the corner butts the end of the document
   * and the shadow has nothing to fall onto. Added on the operator's
   * instruction (2026-10-01). */
  padding-bottom:clamp(32px,5vw,48px);
}

/* --- .search-and-filters ---
 * Absolute and floated over the map on phones, exactly as the
 * reference does it: the map is the full screen behind, the controls
 * ride on top of it on a gradient scrim. */
.dnd-sf{
  display:flex; position:absolute; top:0; grid-area:sf;
  flex-direction:column; gap:16px; z-index:10;
  width:100%; padding:16px;
  backdrop-filter:blur(1.5px); -webkit-backdrop-filter:blur(1.5px);
  background:linear-gradient(178deg,
    rgba(16,16,20,.70)  1.96%,
    rgba(16,16,20,.66)  6.04%,
    rgba(16,16,20,.63)  9.17%,
    rgba(16,16,20,.55) 20%,
    rgba(16,16,20,.38) 46%,
    rgba(16,16,20,.16) 74%,
    rgba(16,16,20,0)  100%);
}
.dnd-search-col{ display:flex; flex-direction:column; gap:16px; padding-top:0; }

/* --- .store-finder-search --- */
.dnd-search{ position:relative; }
.dnd-search input{
  transition:.3s; outline:none;
  border:1px solid var(--d-line);
  border-radius:96px;                       /* the reference's pill */
  background-color:transparent;
  padding:16px 20px; width:100%;
  font-family:var(--d-body); letter-spacing:.24px;
  color:var(--d-text); font-size:14px; line-height:132%;
}
.dnd-search input::placeholder{
  color:var(--d-grey); line-height:132%;
  font-family:var(--d-body); letter-spacing:.24px; font-size:inherit;
}
.dnd-search input:focus{
  box-shadow:0 0 0 2px rgba(236,30,121,.1);
  border-color:var(--d-accent);
}
.dnd-search input:focus-visible{ outline:var(--d-accent) solid 2px; }

/* --- svelte-filter-carousel --- */
/* NO touch-action HERE. It was `pan-x pinch-zoom`, which also forbade
 * VERTICAL touch panning over the strip — so a thumb drag up the page died
 * on the pills. The scroller below claims pan-x on its own. */
.dnd-carousel{
  display:flex; position:relative; align-items:center; gap:8px;
  width:100%;
}

/* NATIVE HORIZONTAL SCROLL (2026-11-12), not an overflow:hidden window onto
 * a translated track. That is what gives the pill strip a trackpad swipe, a
 * wheel, a touch flick and keyboard focus-scrolling; the arrows are scrollBy
 * now. The full note is in dealer-map.js, including why a sideways trackpad
 * swipe needs a wheel listener there: Lenis preventDefaults every wheel on
 * the page, which would otherwise kill the native horizontal scroll.
 *
 * The scrollbar is hidden: the strip is 32px tall and sits under a search
 * field, where a scrollbar across it reads as a rule. The arrows are the
 * affordance, and they disable at each end. */
.dnd-viewport{
  position:relative; flex:1 1 0%;
  overflow-x:auto; overflow-y:hidden;
  overscroll-behavior-x:contain;
  scrollbar-width:none; -ms-overflow-style:none;
}
.dnd-viewport::-webkit-scrollbar{ display:none }
.dnd-viewport.is-grabbing{ cursor:grabbing; user-select:none }

.dnd-track{
  display:flex; gap:4px; width:max-content; height:32px;
}
.dnd-filter{
  position:relative; z-index:2; flex:0 0 auto; cursor:pointer;
  display:flex; justify-content:center; align-items:center; gap:4px;
  font-size:10px; line-height:120%; font-family:var(--d-tech);
  font-weight:500; letter-spacing:1px; text-transform:uppercase;
  border:1px solid var(--d-line); border-radius:4px;
  background:transparent; padding:10px 12px; color:var(--d-text);
  white-space:nowrap; user-select:none;
  transition:border-color .2s ease, border-radius .2s ease;
}
.dnd-filter i{ font-style:normal; color:var(--d-grey); }
/* The reference's one real flourish: an active filter grows a 2px accent
 * border AND flips from a 4px corner to a 48px pill. Both, together. */
.dnd-filter.is-active{
  border-width:2px; border-color:var(--d-accent); border-radius:48px;
  padding:9px 11px;             /* the extra border px taken back off */
}
.dnd-filter.is-active i{ color:var(--d-accent); }
.dnd-filter:focus-visible{ outline:var(--d-accent) solid 2px; }

.dnd-prev,.dnd-next{
  display:none; position:absolute; flex-shrink:0; align-items:center;
  z-index:1; cursor:pointer; border:0; width:90px; height:60px;
  pointer-events:auto; color:var(--d-text); padding:0;
}
.dnd-prev{ left:0; justify-content:flex-start;
  background:linear-gradient(90deg,#101014,rgba(16,16,20,0)); }
.dnd-next{ right:0; justify-content:flex-end;
  background:linear-gradient(270deg,#101014,rgba(16,16,20,0)); }
.dnd-prev:disabled,.dnd-next:disabled{ opacity:0; cursor:not-allowed; pointer-events:none; }
.dnd-prev svg,.dnd-next svg{
  width:20px; height:20px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
}

/* --- .stores-list ---
 * The map's pair. contact.css puts its form column and its details column
 * in two matching neumorphic cards side by side; this page's two columns
 * are the list and the map, so they get the same treatment and the same
 * values. Panel, not per-card: 157 individual neumorphic cards would be
 * noise, and contact.css already warns that this shadow "reads heavy"
 * under anything but a few large boxes.
 *
 * The rounded corners clip the cards inside for free — `overflow-y:scroll`
 * is a non-visible overflow, so the radius applies to the content too, and
 * a row's hover highlight gets trimmed to the corner on the first and last
 * rows rather than squaring them off. */
.dnd-list{
  display:grid; position:relative; grid-area:list;
  margin-top:20px; padding-top:20px;
  /* The rows inside carry `padding: 20px 0` — faq.css's row rule, which
   * has NO horizontal padding because on that page the block's 40px gutter
   * holds the content off the page edge. This card has to do that job here,
   * or the names and addresses sit on its own border (operator,
   * 2026-10-01).
   *
   * Same value as the band and the contact page's cards,
   * clamp(22px, 2.4vw, 34px), so all three neumorphic surfaces on this page
   * inset their content by the same amount. */
  padding-inline:clamp(22px,2.4vw,34px);
  height:100%; overflow-y:scroll;
  scrollbar-color:var(--d-grey) transparent; scrollbar-width:thin;

  background:var(--d-card);
  border:0;
  border-radius:8px;
  box-shadow:
    -3px -3px 8px var(--d-lift),
    4px 4px 10px var(--d-sink);
  /* no hover lift, for the same reason the map has none: the pointer lives
   * inside this box while reading, so it would sit raised permanently */

  margin-inline:16px;
}
.dnd-list::-webkit-scrollbar{ width:6px; }
.dnd-list::-webkit-scrollbar-thumb{ background:var(--d-grey); border-radius:3px; }
.dnd-list::-webkit-scrollbar-track{ background:transparent; }

.dnd-list ul{
  /* ONE column, not the reference's two. With two, a name that wraps
   * pushes its whole card down and the neighbouring column no longer
   * lines up with it — across 157 entries nothing ever agrees. One column
   * aligns by construction. */
  display:grid; grid-template-columns:1fr;
  grid-auto-rows:max-content;
  margin:0; padding:0; list-style:none;
}
.dnd-list ul li{ display:contents; }

/* --- the row ---
 * Name and place left, actions right, a hairline under each. Built to
 * .superfly-faq-question in faq.css: 20px of vertical padding, no
 * horizontal padding of its own, separated by a rule rather than by
 * whitespace. */
.dnd-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  column-gap:24px; row-gap:6px;
  /* +24px pays for the 12px of padding added at each side below; with the
   * -12px margins the MARGIN box still measures exactly one grid column,
   * so nothing in the list shifts and no horizontal scrollbar appears. */
  width:calc(100% + 24px); min-width:0;
  /* NOT symmetric, on purpose. 18/18 measures equal and reads unequal:
   * the name is uppercase Archivo Black, whose caps sit low in their line
   * box and leave dead space above them, while the address usually ends on
   * digits with no descenders, so its baseline lands near the box bottom.
   * The eye sees the leading, not the padding. 24px at the foot puts the
   * two apparent gaps level (operator, 2026-10-01). */
  /* 12px horizontal, cancelled by an equal negative margin, so the TEXT
   * stays exactly where it was - aligned to .dnd-list's padding-inline,
   * level with the section heads and the readout - while the hover tint
   * and the active state bleed 12px past it on each side. Without this the
   * background painted on hover ends on the glyphs: the name touches its
   * left edge and the phone number touches its right (operator,
   * 2026-10-02). 12px is not arbitrary - it is the gutter ::before already
   * rides in, so the tint now fills exactly that gutter and the accent bar
   * sits on its edge rather than floating outside it.
   *
   * The bleed stays inside the card at every width: the list's gutter is
   * 34px at 1440 and 20px on a phone, leaving 22px and 8px of inset
   * respectively. Measured, not assumed - do not raise the 12px without
   * re-checking the phone, where the margin is smallest. */
  padding:18px 12px 24px;
  margin-inline:-12px;
  border:0; border-bottom:1px solid var(--d-hair);
  background:transparent; color:inherit; font:inherit; text-align:left;
  cursor:pointer;
  position:relative;
  transition:background-color .18s ease;
}
/* The accent edge on hover. left:0 now, not -12px: the row carries that 12px
 * as padding since 2026-10-02, so 0 puts the bar in the same place on screen
 * as before - on the left edge of the hover tint rather than floating 12px
 * outside it. */
.dnd-item::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:2px;
  background:var(--d-accent); opacity:0; transition:opacity .18s ease;
}
.dnd-item:hover{ background:var(--d-hover); }
.dnd-item:hover::before{ opacity:1; }
.dnd-item:focus-visible{ outline:var(--d-accent) solid 2px; outline-offset:-2px; }
.dnd-item.is-active{ background:var(--d-hover); }
.dnd-item.is-active::before{ opacity:1; }

.dnd-head{ grid-column:1; display:flex; flex-direction:column; gap:3px; min-width:0; }

.dnd-name{
  display:block;
  font-size:17px; line-height:1.15;
  font-family:var(--d-title);   /* 700, NOT 400. The display face is Inter since 2026-11-16;
        Archivo Black shipped ONE weight and was black at 400, so every
        rule here named 400. Inter at 400 in the same place reads as a
        caption. */
  font-weight:700; letter-spacing:.3px;
  color:var(--d-text); text-transform:uppercase;
  overflow-wrap:break-word;
}

/* The PLACE, not the state. On option D every card repeated the state —
 * which, once you have filtered to Johor, is 40 rows all saying JOHOR.
 * The town is the thing that actually tells them apart. The state only
 * appears when no state filter is on, where it still carries meaning. */
.dnd-type{
  display:flex; align-items:center; gap:5px;
  font-family:var(--d-tech); font-size:10.5px; font-weight:700;
  /* --d-accent-pale, the same pale magenta as the pin beside it. It asked
   * for --d-blue until 2026-10-01, which was never declared on this page —
   * so the colour was silently dropped and the town inherited the name's
   * white. Pale magenta rather than the brand T-Blue because this page is
   * otherwise two colours, and a third one earns its place or stays out. */
  letter-spacing:.16em; text-transform:uppercase; color:var(--d-accent-pale);
}
.dnd-type svg{ width:12px; height:12px; flex:none; color:var(--d-accent-pale); fill:currentColor; }
.dnd-item.is-dist .dnd-type{ color:var(--d-accent); }
.dnd-item.is-dist .dnd-type svg{ color:var(--d-accent); }

.dnd-addr{ grid-column:1; min-width:0; }
.dnd-addr span{
  font-size:12.5px; line-height:1.5; color:var(--d-grey);
  display:block;
}
.dnd-addr span.is-missing{ font-style:italic; }

/* the actions, right-aligned and on their own column so they line up down
 * the whole list however long the name or address beside them runs */
.dnd-contact{
  grid-column:2; grid-row:1 / span 2;
  display:flex; flex-direction:column; align-items:flex-end; gap:6px;
  text-align:right; white-space:nowrap;
}
.dnd-contact a,
.dnd-contact span{
  display:inline-flex; align-items:center; gap:5px;
  text-decoration:none;
}
/* the phone is what most people came for, so it reads first */
.dnd-contact a[href^="tel:"]{
  font-family:var(--d-tech); font-size:13px; font-weight:700;
  letter-spacing:.04em; color:var(--d-text);
}
.dnd-contact a[href^="tel:"]:hover{ color:var(--d-accent); }
.dnd-contact a:not([href^="tel:"]){
  font-family:var(--d-tech); font-size:10px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--d-grey);
}
.dnd-contact a:not([href^="tel:"]):hover{ color:var(--d-accent); }
.dnd-contact span{
  font-family:var(--d-tech); font-size:10px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--d-grey); opacity:.6; font-style:italic;
}
.dnd-contact svg{
  width:12px; height:12px; flex:none;
  fill:none; stroke:currentColor; stroke-width:1.9;
  stroke-linecap:round; stroke-linejoin:round;
}

/* A heading row inside the two-column card grid. Spans both tracks, so the
 * grid keeps its rhythm and the cards below it stay on their own rows. */
/* The selector has to out-specify `.dnd-list ul li`, which the reference
 * sets to display:contents so each card becomes a grid item directly.
 * display:contents on a heading makes its two spans separate grid cells —
 * the label landed in one column and the count in the next row down. A
 * bare .dnd-sechead (0,1,0) loses to .dnd-list ul li (0,1,2), so the
 * heading is scoped the same way. */
.dnd-list ul li.dnd-sechead{
  display:flex;
  grid-column:1/-1;
  align-items:baseline; justify-content:space-between; gap:12px;
  padding:20px 0 10px;
  font-family:var(--d-tech); font-size:10.5px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--d-grey);
  border-bottom:1px solid var(--d-line);
  margin-bottom:4px;
}
.dnd-list ul li.dnd-sechead b{ color:var(--d-text); font-weight:700; }
.dnd-list ul li.dnd-sechead i{ font-style:normal; color:var(--d-accent); }
/* The first heading carries no extra top padding: the list card now has its
 * own padding-top, and 20 + 20 pushed it away from the edge twice over. It
 * briefly ran at 4px, which was too close to the card border — that is what
 * the card padding now solves, in the right place. */
.dnd-list ul li.dnd-sechead:first-child{ padding-top:0; }

/* A distributor is the same card as a dealer — same padding, same type,
 * same hover — with its badge in the accent instead of the blue used for
 * the dealers' state, so the pinned three read as a different KIND of
 * entry rather than as three more shops. */
/* An odd number of distributors leaves the last one alone in column one
 * with an empty cell beside it — and because a heading follows immediately,
 * that hole is right in the middle of the list rather than hidden at the
 * bottom. The odd one out takes both columns instead.
 *
 * The grid item is the BUTTON, not the li: the reference sets
 * .dnd-list ul li { display: contents }, so the li is not in the grid at
 * all and a span set on it would do nothing.
 *
 * Harmless under 740px, where the grid is a single column and 1/-1 is that
 * one column.
 *
 * Applies to the DEALER cards too, since the list started paging at 15 a
 * page: an odd page leaves its last card alone with the View-more row
 * immediately beneath, which is the same hole in the same place. It is set
 * per render from the page length, so it moves with the paging rather than
 * being pinned to one card. */
.dnd-list ul li .dnd-item.is-wide{ grid-column:1/-1; }

.dnd-item.is-dist .dnd-type{ color:var(--d-accent); }
.dnd-item.is-dist .dnd-type svg{ color:var(--d-accent); }
.dnd-pending{
  color:var(--d-grey); font-style:italic;
}

/* The View-more row. Its own li, not a card, so it never picks up
 * .dnd-item's hover.
 *
 * NO border-top. It had one when the entries were borderless cards and
 * something had to mark the end of the list. Now every row carries its own
 * bottom hairline, so a border here is the second line in a row — removed
 * on request (operator, 2026-10-01). */
.dnd-list ul li.dnd-more{
  display:flex; flex-direction:column; align-items:center; gap:12px;
  grid-column:1/-1;
  padding:28px 0 8px;
  margin-top:0;
}
.dnd-more-note{
  margin:0;
  font-family:var(--d-tech); font-size:10.5px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--d-grey);
}

.dnd-none{
  grid-column:1/-1; padding:64px 24px; text-align:center;
}
.dnd-none b{
  display:block; font-family:var(--d-title);   /* 700, NOT 400. The display face is Inter since 2026-11-16;
        Archivo Black shipped ONE weight and was black at 400, so every
        rule here named 400. Inter at 400 in the same place reads as a
        caption. */
  font-weight:700;
  font-size:24px; text-transform:uppercase; letter-spacing:.56px; margin-bottom:8px;
}
.dnd-none span{ font-size:14px; color:var(--d-grey); }

/* --- .map ---
 * A real slippy map, dark: Leaflet over CARTO's dark_matter basemap, with
 * Leaflet.markercluster for the counted bubbles. Everything below is the
 * theme repainting those two libraries' default chrome — Leaflet ships
 * light-mode controls, white popups and blue clusters, and none of that
 * can stay. No colour outside the palette at the top of this file. */
/* The map panel is a neumorphic card, following the deployed contact page —
 * `.superfly-contact-col-form` in twentytwentyfour-child/assets/css/contact.css.
 * Its rule, verbatim: background #0d0d10, NO BORDER ("the edge is the light,
 * not a line" — a hairline on top of the shadow reads as a card wearing two
 * edges), 8px radius, and the softened return-refund shadow pair rather than
 * privacy.css's heavier .03/.38.
 *
 * NO HOVER LIFT, which is the one place this departs from those cards. The
 * contact cards grow their shadow on hover; a map is a surface you live
 * inside with the pointer, so the same rule would leave it permanently
 * raised and flicker every time the pointer crossed the edge mid-pan.
 *
 * The radius has to be on BOTH this and .dnd-leaflet. overflow:hidden here
 * clips the tiles in most browsers, but Leaflet moves its panes with
 * translate3d, and a transformed child is not reliably clipped by a rounded
 * ancestor — belt and braces, or square tile corners poke through the
 * rounded ones on a pan. */
.dnd-map{
  grid-area:map; height:100vh;
  position:relative; overflow:hidden;

  /* MUST create a stacking context. Leaflet gives its own panes z-indexes
   * from 200 (tiles) to 800 (controls), and with this element at
   * `z-index:auto` those compete directly with everything else in the
   * wrapper — so under 740px, where .dnd-sf floats the search and the
   * filter pills OVER the map, the tiles painted straight over the top of
   * them and the controls vanished. `z-index:0` on a positioned element
   * seals Leaflet's numbers inside this box, where they belong. */
  z-index:0;

  background:var(--d-card);
  border:0;
  border-radius:8px;
  box-shadow:
    -3px -3px 8px var(--d-lift),
    4px 4px 10px var(--d-sink);

  /* the shadow needs somewhere to fall. Below 1000px the panel is otherwise
   * flush to both window edges and the rounding has nothing to show against;
   * .dnd-sf already pads its floating controls by the same 16px, so they
   * stay aligned to the inset edge. Above 740 the LEFT margin stops being
   * an inset and becomes the gutter between the two cards — same property,
   * different job, which is why it reads the variable. */
  margin-left:var(--d-gutter);
  margin-right:16px;
}
.dnd-leaflet{
  position:absolute; inset:0;
  background:var(--d-ground);
  border-radius:8px; overflow:hidden;
}

/* Leaflet paints its own background behind the tiles while they load; left
 * alone it is #ddd, which flashes white on every pan. */
.dnd-map .leaflet-container{
  background:var(--d-ground);
  font-family:var(--d-body);
  outline:none;
}
/* Esri's dark gray canvas is a MID grey out of the box, which reads as a
 * different page sitting inside this one. It gets crushed to near-black to
 * match --d-ground.
 *
 * This is why the basemap and its labels are loaded as two separate tile
 * layers into two different panes: crushing a single combined layer this
 * hard takes the place names down with it. So the base pane is darkened
 * hard and the label pane is only trimmed, and the type stays readable on
 * black. Change one of these and check the other. */
/* NOT tuned by eye — measured, because the naive version is wrong in a way
 * that is hard to see and impossible to fix by nudging.
 *
 * Esri's dark gray canvas renders WATER LIGHTER THAN LAND: sampled off a
 * Malacca Strait tile, sea is rgb(65,65,67) and land is rgb(34,35,39). That
 * is the opposite polarity to the Google dark style this page is matching,
 * where the sea is black and the land is grey. No amount of brightness and
 * contrast fixes a reversed order — both values sit below the 0.5 pivot
 * contrast() works around, so turning contrast up drives BOTH to black and
 * Malaysia disappears from its own dealer map.
 *
 * invert(1) puts them in the right order — sea 0.745, land 0.865 — and the
 * rest is solving for the two constants that land those on black sea and
 * grey land. With `brightness(m) contrast(k)`: slope = m*k, intercept =
 * 0.5 - 0.5k. Solving for sea → 0.04 and land → 0.16 gives k = 2.41,
 * m = 1/k = 0.415, which is what is below. Re-measure before changing them.
 *
 * The tiles are near-neutral (65,65,67), so the inversion needs no
 * hue-rotate to stay grey. The LABEL pane is deliberately not inverted —
 * it is already light text, and flipping it would turn the place names
 * black on black. */
.dnd-map .leaflet-tile-pane{           /* the basemap */
  filter:invert(1) brightness(.415) contrast(2.41);
}
.dnd-map .leaflet-shadow-pane{         /* the place names — see TILE_LABELS */
  filter:brightness(.78) contrast(1.05) saturate(.6);
}

/* --- markers and clusters ---
 * White teardrop pins with the count inside, matching the reference's map.
 * An inline SVG in a divIcon, not a CSS box: the classic
 * `border-radius:50% 50% 50% 0` + `rotate(-45deg)` teardrop grows its own
 * bounding box under rotation, which makes the icon anchor a guess. A path
 * is exact, so the tip really does sit on the coordinate.
 *
 * Brand magenta, not the reference's white (operator, 2026-10-01). White
 * was taken straight from lupinelights, and on a near-black basemap it is
 * certainly the highest-contrast thing available — but it is not a Superfly
 * colour, and 157 white pins made the map the loudest thing on a page whose
 * own accent is #ec1e79. Pink pins with white counts, and the drop-shadow
 * doing the work of separating them from the land. */
.dnd-marker,.dnd-cluster{ background:none; border:0; }
.dnd-marker svg,.dnd-cluster svg{
  display:block; width:100%; height:100%; overflow:visible;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.65));
  transition:transform .16s cubic-bezier(.22,1,.36,1);
  transform-origin:50% 100%;      /* grow from the tip, so it stays put */
}
.dnd-marker:hover svg,.dnd-cluster:hover svg{ transform:scale(1.12); }
.dnd-pin-body{ fill:var(--d-accent); }
.dnd-pin-dot{ fill:#fff; }
/* A town-level fix is drawn hollow. The list says so, the popup says so,
 * and the pin says so without being asked — see dealer-coords.js. */
.dnd-marker.is-town .dnd-pin-dot{
  fill:none; stroke:#fff; stroke-width:2.4;
}
.dnd-marker.is-on svg{ transform:scale(1.35); }
/* the selected pin inverts, so it still reads when every other pin is
 * already the accent */
.dnd-marker.is-on .dnd-pin-body{ fill:#fff; }
.dnd-marker.is-on .dnd-pin-dot{ fill:var(--d-accent); stroke:var(--d-accent); }

.dnd-cluster text{
  fill:#fff; font-family:var(--d-tech); font-weight:700;
  text-anchor:middle; dominant-baseline:central;
  letter-spacing:.2px;
}

/* --- popup --- */
.dnd-map .leaflet-popup-content-wrapper{
  background:#0d0d10; color:var(--d-text);
  border:1px solid var(--d-line); border-radius:4px;
  box-shadow:0 10px 30px rgba(0,0,0,.6);
}
.dnd-map .leaflet-popup-content{ margin:14px 16px; font-size:13px; line-height:1.5; }
.dnd-map .leaflet-popup-tip{ background:#0d0d10; border:1px solid var(--d-line); }
.dnd-map .leaflet-popup-close-button{ color:var(--d-grey) !important; }
.dnd-map .leaflet-popup-close-button:hover{ color:var(--d-accent) !important; }
.dnd-pop-name{
  display:block; font-family:var(--d-title);   /* 700, NOT 400. The display face is Inter since 2026-11-16;
        Archivo Black shipped ONE weight and was black at 400, so every
        rule here named 400. Inter at 400 in the same place reads as a
        caption. */
  font-weight:700;
  font-size:15px; line-height:1.15; letter-spacing:.4px;
  text-transform:uppercase; margin-bottom:6px;
}
.dnd-pop-addr{ display:block; color:var(--d-grey); font-size:12px; margin-bottom:9px; }
.dnd-pop-links{ display:flex; gap:12px; }
.dnd-pop-links a{
  color:var(--d-accent); font-family:var(--d-tech); font-size:10px;
  font-weight:600; letter-spacing:1px; text-transform:uppercase;
  text-decoration:none; border-bottom:1px solid transparent;
}
.dnd-pop-links a:hover{ border-bottom-color:var(--d-accent); }
.dnd-pop-approx{
  display:block; margin-top:8px; font-size:10px; font-style:italic;
  color:var(--d-grey);
}

/* --- attribution ---
 * Required by both OpenStreetMap and CARTO. It is restyled to sit in the
 * theme; it is not hidden, and it must not be. */
.dnd-map .leaflet-control-attribution{
  background:rgba(16,16,20,.82); color:var(--d-grey);
  font-family:var(--d-body); font-size:9px; padding:3px 7px;
  border-top:1px solid var(--d-line); border-left:1px solid var(--d-line);
  border-radius:3px 0 0 0;
}
.dnd-map .leaflet-control-attribution a{ color:var(--d-grey); }
.dnd-map .leaflet-control-attribution a:hover{ color:var(--d-accent); }

/* Leaflet's own zoom control is switched off in the script; the cluster
 * below replaces it, in the bottom-right corner the reference uses. */
.dnd-zoom{
  position:absolute; right:16px; bottom:34px; z-index:500;
  display:flex; flex-direction:column; gap:1px;
}
.dnd-zoom button{
  width:34px; height:34px; display:flex; align-items:center; justify-content:center;
  background:rgba(16,16,20,.86); border:1px solid var(--d-line);
  color:var(--d-text); cursor:pointer; padding:0;
  font-family:var(--d-tech); font-size:16px; font-weight:600; line-height:1;
  transition:background-color .16s ease, color .16s ease, border-color .16s ease;
}
.dnd-zoom button:first-child{ border-radius:3px 3px 0 0; }
.dnd-zoom button:nth-child(2){ border-radius:0 0 3px 3px; }
.dnd-zoom button:last-child{ margin-top:6px; border-radius:3px; }
.dnd-zoom button:hover{ border-color:var(--d-accent); color:var(--d-accent); }
.dnd-zoom button svg{
  width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.9;
  stroke-linecap:round; stroke-linejoin:round;
}

/* the count readout, bottom-left, standing in for the reference's
 * "N results" strip */
.dnd-readout{
  position:absolute; left:16px; bottom:34px; z-index:500;
  margin:0; padding:8px 12px; border-radius:3px;
  background:rgba(16,16,20,.86); border:1px solid var(--d-line);
  font-family:var(--d-tech); font-size:10px; font-weight:600;
  letter-spacing:1px; text-transform:uppercase; color:var(--d-grey);
}
.dnd-readout b{ color:var(--d-accent); }
.dnd-readout i{ font-style:normal; color:var(--d-grey); opacity:.75; }
/* -------------------------------------------------------------
 * The closing band — "no dealer nearby?"
 *
 * The page used to stop dead at the bottom of the two cards, which is what
 * the reference does; but the reference is a full Shopify page with a
 * newsletter block and a footer under its store finder, so its finder never
 * has to close anything.
 *
 * This band is deliberately NOT a dealer-recruitment pitch (that was the
 * first attempt and it was rejected, 2026-10-01). It is addressed to the
 * visitor the page just FAILED — someone in Kuala Terengganu or Sandakan
 * who scrolled 157 shops and found nothing within two hours' ride. A
 * dealer map owes that person an answer, and "order it from us instead" is
 * the answer.
 *
 * Built to `.superfly-contact-band` / `-band-inner` / `-band-tab` in
 * contact.css: the same neumorphic card as the two panels above, a skewed
 * -14deg accent tab on the top edge, copy left and one action right. It
 * DOES take the hover lift the map and the list refuse — it is a small
 * object you point at and click, not a surface you live inside.
 * ----------------------------------------------------------- */
.dnd-band{
  width:100%;
  /* the shared page gutter - see .dnd-title */
  padding-inline:var(--sf-gutter);
  padding-bottom:clamp(56px,8vw,110px);
}
.dnd-band-inner{
  position:relative;
  display:flex; flex-wrap:wrap;
  align-items:center; justify-content:space-between;
  column-gap:28px; row-gap:24px; width:100%;

  padding:clamp(38px,4vw,50px) clamp(22px,2.4vw,34px) clamp(30px,4vw,44px);

  background-color:var(--d-card);
  border:0;
  border-radius:8px;
  box-shadow:
    -3px -3px 8px var(--d-lift),
    4px 4px 10px var(--d-sink);
  transition:box-shadow .3s ease;
}
.dnd-band-inner:hover{
  box-shadow:
    -4px -4px 9px var(--d-lift),
    5px 5px 12px var(--d-sink);
}

/* lifted from .superfly-contact-band-tab, which is itself
 * .superfly-terms-number: the same -14deg, the same 12px Chakra Petch, and
 * the same trick of skewing a ::before so the label stays upright */
.dnd-band-tab{
  position:absolute; top:0; left:clamp(22px,2.4vw,34px);
  transform:translateY(-50%);
  display:inline-flex; align-items:center; justify-content:center;
  margin:0; padding:6px 14px;
  font-family:var(--d-tech); font-size:12px; font-weight:700;
  letter-spacing:.10em; text-transform:uppercase; color:#171717;
  isolation:isolate;
}
.dnd-band-tab::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background-color:var(--d-accent); transform:skewX(-14deg);
}
.dnd-band-copy{ flex:1 1 340px; min-width:0; }
.dnd-band-title{
  margin:0 0 8px;
  font-family:var(--d-title);   /* 700, NOT 400. The display face is Inter since 2026-11-16;
        Archivo Black shipped ONE weight and was black at 400, so every
        rule here named 400. Inter at 400 in the same place reads as a
        caption. */
  font-weight:700;
  font-size:clamp(20px,2vw,27px); line-height:1.1;
  letter-spacing:-.01em; text-transform:uppercase;
}
.dnd-band-text{
  margin:0; font-size:13.5px; line-height:1.6; color:var(--d-grey);
  max-width:62ch;

  /* Justified on request (operator, 2026-10-01).
   *
   * `hyphens` comes with it rather than as a flourish: justification works
   * by stretching the word spaces on every line but the last, and in a
   * column this narrow a long word pushed to the next line leaves a visible
   * river of white behind it. Hyphenation gives the engine somewhere to
   * break, so the spacing stays even. It needs the lang attribute to pick a
   * dictionary, which <html lang="en"> already supplies.
   *
   * Only this paragraph. The dealer cards are 179px wide — far too narrow
   * to justify without it tearing into gaps — and they stay ragged-right. */
  text-align:justify;
  -webkit-hyphens:auto; hyphens:auto;
}
/* the quiet second route, in the same key as .superfly-contact-band-links */
.dnd-band-actions{
  display:flex; flex-wrap:wrap; align-items:center; gap:18px;
}

/* THE LIVE SITE'S SECONDARY BUTTON, copied off the deployed page rather
 * than out of a stylesheet: .sf-cart__ghost as it actually renders on
 * superfly.durianbikers.com, read on 2026-10-01.
 *
 * This is the third button this band has worn, and the first that matches.
 * The two before it came from reading the theme's CSS files — the solid
 * magenta CTA, then terms.css's -14deg white button — and both were wrong
 * for the same reason: those files describe buttons the DEPLOYED pages do
 * not use. The live buttons are not skewed at all, and they are smaller.
 * Measured on the live FAQ page: 12px/18px padding, 10.5px type, 42px tall
 * against the 47px and 14px this page had.
 *
 * Lesson for the next person: for anything visual, measure the deployed
 * page. A stylesheet in the repo is what someone meant at some point, not
 * necessarily what ships. */
.dnd-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px;
  /* Pink, on the operator's instruction (2026-10-01). The GEOMETRY stays
   * the live ghost button's — 12px/18px at 10.5px — because that was the
   * size that passed; the live primary (.sf-pf__signup) is 20px/30px at
   * 12px and 59px tall, which is the "too big" that got rejected earlier.
   * So: the small button's shape, the primary's colour, and the primary's
   * own hover, which is a brightness lift rather than a colour swap. */
  background:var(--d-accent);
  border:1px solid var(--d-accent);
  color:#fff;
  font-family:var(--d-tech); font-size:10.5px; font-weight:700;
  /* 16px, not the font's natural ~15px. The live button has no line-height
   * of its own — it inherits one from the theme body — so it has to be set
   * explicitly here, where there is no theme body to inherit from.
   * 16 content + 24 padding + 2 border = the 42px box that ships. */
  line-height:16px;
  letter-spacing:.16em; text-transform:uppercase; text-decoration:none;
  border-radius:0;
  transition:filter .2s ease;
}
.dnd-btn:hover{ filter:brightness(1.12); }
.dnd-band-alt{
  font-family:var(--d-tech); font-size:12px; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--d-grey);
}
.dnd-band-alt a{
  color:var(--d-text); text-decoration:none;
  border-bottom:1px solid var(--d-line);
}
.dnd-band-alt a:hover{ color:var(--d-accent); border-bottom-color:var(--d-accent); }

/* -------------------------------------------------------------
 * the reference's breakpoints: 740 and 1000
 * ----------------------------------------------------------- */
@media (min-width:740px){
  /* The 40px gutter that used to be set here is gone: .dnd-title and
   * .dnd-band now carry clamp(20px,5vw,40px) at every width, which reaches
   * 40px at 800px on its own. Re-adding a flat value here would flatten the
   * 740-800px ramp and put this page back out of step with the others. */

  /* Clear the fixed social rail — the full argument is on .dnd-title.
   * 58px is the house number, less whatever offset the centred measure box
   * already gives us, and never less than the gutter it replaces. From
   * 740 to 999 the box is full width so the second term is 0 and this is a
   * flat 58; above 1000 it unwinds to nothing on its own. */
  .dnd-title{ padding-left:max(var(--sf-gutter), calc(58px - var(--dnd-box-left))); }

  /* The viewport height, and the map filling it, belong to EVERY two-column
   * width — not just >=1000, which is where the reference puts them.
   *
   * The reference leaves 740-999 unbounded, so its row is content-sized,
   * .stores-list height:100% resolves to auto, and the list runs its full
   * length beside a 100vh map. That was survivable while the list was loose
   * markup on a black page. It is not survivable now the list is a card:
   * at 820px it measured 19,763px tall against a 780px map, i.e. a
   * twenty-thousand-pixel neumorphic card next to a short one. Bounding the
   * wrapper here makes the whole 740+ range behave like >=1000 — the list
   * scrolls inside its own card — and only the gutters change at 1000. */
  .dnd-wrap{
    /* The reference's list track is 463px. Widened to 560 on request
     * (operator, 2026-10-01): at 463 a card had 179px of content and shop
     * names wrapped to three lines. 560 gives each card about 244px, which
     * fits the longest single word in the list (MOTORSPORTS, 192px at the
     * card's 20px) on one line with room to spare.
     *
     * The cap is what stops the widening starving the map: a flat 560px
     * track is fine at 1920 but leaves the map under 300px at the 1000px
     * breakpoint, narrower than the list beside it.
     *
     * It is a PERCENTAGE, not vw, and that distinction is the whole point.
     * A grid percentage resolves against the grid container; vw resolves
     * against the window. On the concept page those are nearly the same
     * thing. On WordPress they are not: the theme wraps this in an
     * Elementor container that is 1044px wide inside a 1280px window, so
     * 46vw came out at 589px — 56% of the container — and the map ended up
     * NARROWER than the list on the live site while looking correct here.
     * 46% gives the list 480 and the map 516 at that width, and the map
     * stays the larger column at every width. */
    grid-template:"sf map" "list map" 1fr / minmax(0, min(560px, 46%)) 2fr;
    padding-top:48px;
    /* border-box, so the padding-bottom above eats into this rather than
     * adding to it — the cards shrink and the gap appears below them,
     * which is why the height needs no adjusting to make room. */
    height:calc(100vh - 48px);
  }
  .dnd-map{ height:100%; }

  /* The hairline down the gutter, separating the list from the map.
   *
   * It is a pseudo-element of the GRID, not of either card, because both
   * cards clip: .dnd-list scrolls and .dnd-map is overflow:hidden, so a
   * ::before on either one hung out into the gutter would be cut off at
   * the card edge.
   *
   * A pseudo-element of a grid container is itself a grid item, so putting
   * it in the `map` area pins it to that column's start edge — the same
   * edge the map's own left margin is measured from. It therefore tracks
   * the 2fr track at every width with no magic numbers: `--d-gutter / 2`
   * is the middle of the gap, whatever the gap currently is.
   *
   * Spanning the `map` area also means it runs the full height of both
   * rows, past the search field and the filters, which is what makes it
   * read as a division of the page rather than a rule beside the list.
   *
   * Faded at both ends rather than stopped dead: the cards it runs between
   * have 8px rounded corners, and a hairline terminating square against a
   * curve is the detail that gives a drawn-on divider away. */
  .dnd-wrap::before{
    content:"";
    grid-area:map;
    justify-self:start;
    align-self:stretch;
    width:1px;
    margin-left:calc(var(--d-gutter) / 2);
    pointer-events:none;
    /* Brighter than --d-line (.13), which is the colour of a hairline
     * BORDER — a short edge, read against the thing it encloses. This is a
     * 900px free-standing rule with black either side of it and nothing to
     * read it against, and at .13 it all but disappears at that length.
     * .20 is the same hairline at the weight it needs to carry the height. */
    background:linear-gradient(
      180deg,
      transparent 0,
      rgba(242,242,244,.20) 6%,
      rgba(242,242,244,.20) 94%,
      transparent 100%);
  }
  .dnd-sf{
    position:static; padding:0; background:none;
    backdrop-filter:none; -webkit-backdrop-filter:none;
  }
  .dnd-prev,.dnd-next{ display:flex; }
  /* The reference's 24px between the filters and the first card.
   *
   * `height` has to go with it. The base rule sets height:100%, which on a
   * grid item means 100% of the ROW — so a 24px top margin on top of that
   * pushed the list's bottom edge 24px past the map's, and the two cards
   * ended on different lines. Dropping to `height:auto` hands sizing back
   * to the default `align-self:stretch`, which fills the row MINUS the
   * margins, so the bottoms line up. `min-height:0` keeps the box definite
   * enough to scroll — without it a grid item refuses to shrink below its
   * content and the inner scroll never engages. */
  /* The card's own vertical padding. It had padding-top:0 and no bottom at
   * all, so the last visible row ran straight into the panel's bottom
   * border while the top had room (operator, 2026-10-01). This is the
   * CARD breathing, not the rows — the rows' own padding is separate.
   *
   * 28 at the foot against 20 at the head for the same optical reason the
   * rows carry 24/18: the last thing in the list is an address ending on
   * digits, whose baseline sits at the bottom of its line box with nothing
   * below it, while the first thing is a heading with leading above it. */
  .dnd-list{
    margin-top:24px;
    padding-top:20px; padding-bottom:28px;
    height:auto; min-height:0;
  }
  .dnd-name{ font-size:20px; }    /* the reference's 28px — see .dnd-name */
}

@media (min-width:1000px){
  /* FAQ's measure, not the reference's full bleed. faq.css sets
   * .superfly-faq to max-width:1180px, centred, with 40px of padding — and
   * because that block is content-box its total comes to 1260. These boxes
   * are border-box, so 1260 here yields the same 1180 of content and the
   * same ~125px inset from a 1440px window.
   *
   * The page ran full-bleed until 2026-10-01, which put the masthead 40px
   * from the window edge while the FAQ masthead sat at 125px — side by side
   * the two pages visibly did not start on the same line.
   *
   * The Elementor container stays set to full width. The measure is held
   * here instead, so it lives in CSS with everything else rather than being
   * split between a stylesheet and a page setting.
   *
   * Cost: the map gives back roughly 180px at 1440px. That is the price of
   * matching the rest of the site, and it was asked for. */
  .dnd-title,
  .dnd-wrap,
  .dnd-band{ max-width:var(--sf-measure-box); margin-left:auto; margin-right:auto; }

  /* Centring the box is itself clearance from the social rail, so the
   * rail indent set at 740 subtracts it and lets itself out. 100vw rather
   * than 100% because the box is what we are measuring the offset OF; it
   * counts the scrollbar, which only ever makes the figure smaller and so
   * errs toward keeping the indent. */
  /* 0 SINCE 2026-11-17: the band is full bleed, so it starts ON the gutter
   * and there is no centring offset to subtract. It was
   * max(0px, calc((100vw - var(--sf-measure-box)) / 2)) -- put that back
   * with the cap, and note calc() CANNOT take the token while it is "none":
   * the whole declaration would be dropped and the rail indent below it
   * would resolve against nothing. */
  .dnd-title{ --dnd-box-left:0px; }

  /* height is set at 740 and inherited here; only the gutters change */
  /* the shared gutter, which is already 40px at this width - written as
   * the clamp so all eight files still say the same thing */
  .dnd-wrap{ padding-inline:var(--sf-gutter); padding-top:0; }
  /* The reference indents its search column 96px down the page, so the
   * search field floats well below the top of the map. Dropped on the
   * operator's instruction (2026-10-01): the search, the list card and the
   * map card now all start on the same line.
   *
   * It is a deliberate deviation, not an oversight. The reference can
   * afford the indent because its map is a bare full-bleed rectangle with
   * no top edge to align to — ours is a neumorphic card with a hard rounded
   * corner, and 96px of empty space beside that corner reads as a mistake
   * rather than as breathing room. Restore `padding-top:96px` here to go
   * back to the reference's spacing. */
  .dnd-search-col{ padding-top:0; }
  /* the reference's 48px gap between the list and the map. The right margin
   * goes to 0 because the wrapper's own 48px padding already holds the card
   * off the window edge — doubling it would push the map narrower than the
   * reference's 2fr track. */
  .dnd{ --d-gutter:48px; }
  .dnd-map{ margin-right:0; }
  /* the wrapper's own 48px padding holds the list card off the window edge */
  .dnd-list{ margin-inline:0; }
}

/* Under 740 the map is a full screen behind the floating controls, which
 * is the reference's phone layout. It is also 100vh of map before any
 * card is reachable, so the map is capped — the reference can afford it
 * because its map is the answer; ours is at state resolution, so the
 * cards are. */
@media (max-width:739px){
  .dnd-map{ height:72vh; }
  /* The list stops being a panel here — it is no longer a fixed-height box
   * that scrolls inside itself, it IS the rest of the page, 157 rows and
   * some 30,000px tall. A neumorphic card that long is not a card, and
   * contact.css does the same thing: it drops the background and the
   * shadow off its columns on phones and lets the content run flat. */
  .dnd-list{
    max-height:none; overflow:visible;
    background:transparent; box-shadow:none; border-radius:0;
    margin-inline:0;
    /* No card here, so no CARD inset — but the list still needs the page
     * gutter, because .dnd-wrap has none below 1000px (only .dnd-title and
     * .dnd-band carry 16px at this size). Set to 0 first and the shop names
     * ran hard against the screen edge at x=0 while the masthead sat at 16.
     * The shared gutter here puts the list on the same line as the masthead
     * above it, which carries the same clamp. */
    padding-inline:var(--sf-gutter);
  }
  .dnd-list ul{ grid-template-columns:1fr; }
}

@media (prefers-reduced-motion:reduce){
  .dnd *{ transition-duration:.001ms !important; animation:none !important; }
}
