  /* ═══ 2026-12-03 HOMEPAGE REDESIGN ═══════════════════════════════════
     Two states on one page. body.sdx-landing: hero, trending, videos, closing.
     body.sdx-results: compact search + filters + clinics (the old directory).
     The filter code is unchanged; the new search box drives its controls. */
  .sdx-ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .sdx-legacy { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero.sdx-hero { padding: 116px 5% 54px; }
  .hero.sdx-hero::before { display: none; }
  .sdx-hero-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; position: relative; z-index: 2; }
  .sdx-h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(3rem, 6.2vw, 5rem); line-height: 1.02; color: #F6F0E7; margin: 0; letter-spacing: -0.005em; }
  .sdx-h1 span { color: var(--gold); }
  .sdx-sub { color: #CBBFB3; font-size: 1.04rem; line-height: 1.6; max-width: 470px; margin: 1.1rem 0 0; }
  .sdx-pill { display: none; }
  .sdx-sbox { background: var(--cream); border-radius: 18px; padding: 6px 20px 20px; box-shadow: 0 18px 50px rgba(0,0,0,0.25); }
  .sdx-fld { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid var(--border); color: var(--muted); }
  .sdx-in { flex: 1; min-width: 0; display: block; cursor: text; margin: 0; }
  .sdx-lab { display: block; font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
  .sdx-in input { width: 100%; border: 0; outline: 0; background: transparent; font: 400 1.02rem 'DM Sans', sans-serif; color: var(--deep); padding: 3px 0 0; }
  .sdx-in input::placeholder { color: #A1938A; }
  .sdx-near.btn-nearby { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; color: var(--rose); border-radius: 99px; padding: 7px 13px 7px 10px; font: 600 0.8rem 'DM Sans', sans-serif; cursor: pointer; white-space: nowrap; width: auto; height: auto; margin: 0; }
  .sdx-near.btn-nearby::before { content: ''; width: 15px; height: 15px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center/contain no-repeat; }
  .sdx-near.btn-nearby:hover { border-color: var(--rose-m); }
  .sdx-clear { display: none; border: 0; background: var(--warm); color: var(--muted); width: 26px; height: 26px; border-radius: 50%; font-size: 1.05rem; line-height: 1; cursor: pointer; flex: none; }
  .sdx-fld.has-val .sdx-clear { display: block; }
  .sdx-go.btn-search { display: block; width: 100%; margin-top: 12px; border-radius: 12px; padding: 15px; font-size: 1rem; font-weight: 600; }
  .sdx-sug { display: none; position: absolute; left: -8px; right: -8px; top: calc(100% + 6px); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px rgba(28,23,20,0.16); z-index: 60; max-height: 420px; overflow-y: auto; padding: 6px 0; text-align: left; }
  .sdx-sug.open { display: block; }
  .sdx-grp { padding: 10px 16px 4px; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
  .sdx-opt { display: flex; align-items: center; gap: 12px; padding: 9px 16px; cursor: pointer; color: var(--deep); }
  .sdx-opt:hover, .sdx-opt.act { background: var(--warm); }
  .sdx-opt .bx { width: 34px; height: 34px; border-radius: 9px; background: var(--warm); display: flex; align-items: center; justify-content: center; color: var(--rose); flex: none; }
  .sdx-opt:hover .bx, .sdx-opt.act .bx { background: #fff; }
  .sdx-opt .bx .sdx-ic { width: 17px; height: 17px; }
  .sdx-opt .t { font-size: 0.95rem; font-weight: 600; line-height: 1.25; }
  .sdx-opt .m { font-size: 0.78rem; color: var(--muted); margin-top: 1px; }
  .sdx-opt .n { margin-left: auto; font-size: 0.78rem; color: var(--rose); font-weight: 600; white-space: nowrap; }
  .sdx-opt .vth { width: 56px; height: 32px; border-radius: 6px; background: center/cover no-repeat; flex: none; }
  .sdx-none { padding: 12px 16px; font-size: 0.88rem; color: var(--muted); }
  .sdx-trend { margin-top: 20px; }
  .sdx-trend-lab { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #A8998C; }
  .sdx-trend-lab { display: flex !important; align-items: center; gap: 7px; color: var(--gold) !important; margin-bottom: 12px; text-transform: none !important; letter-spacing: 0 !important; font-size: 0.95rem !important; font-weight: 500; }
  .sdx-trend-ic { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .sdx-trend-i { position: relative; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #8F8276; background: none; color: #A8998C; font: 600 0.6rem/13px 'DM Sans', sans-serif; padding: 0; cursor: help; text-transform: none; letter-spacing: 0; }
  .sdx-trend-i:hover::after, .sdx-trend-i:focus::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; background: #F3ECE2; color: var(--deep); font: 500 0.75rem 'DM Sans', sans-serif; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.25); z-index: 5; }
  .sdx-trend-sub { display: block; font-size: 0.78rem; color: #8F8276; margin: 3px 0 10px; }
  .sdx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .sdx-chip { border: 1px solid rgba(201,169,110,0.38); background: transparent; color: #EDE4D8; border-radius: 99px; padding: 7px 15px; font: 400 0.88rem 'DM Sans', sans-serif; cursor: pointer; transition: border-color .2s, background .2s; }
  .sdx-chip:hover { border-color: var(--gold); background: rgba(201,169,110,0.08); }
  /* landing sections */
  .sdx-wrap { max-width: 1240px; margin: 0 auto; }
  .sdx-videos { background: var(--cream); padding: 64px 5% 60px; }
  .sdx-kick { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); font-weight: 600; }
  .sdx-h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2rem, 3.4vw, 2.7rem); line-height: 1.1; margin: 8px 0 6px; color: var(--deep); }
  .sdx-lede { color: var(--muted); font-size: 1rem; margin: 0 0 30px; }
  .sdx-vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .sdx-vcard { all: unset; cursor: pointer; display: block; }
  .sdx-thumb { display: block; position: relative; aspect-ratio: 16/9; border-radius: 14px; background: var(--warm) center/cover no-repeat; box-shadow: 0 2px 10px rgba(28,23,20,0.08); overflow: hidden; }
  .sdx-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(28,23,20,0.72); transition: transform .2s, background .2s; }
  .sdx-play::after { content: ''; position: absolute; left: 22px; top: 17px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
  .sdx-vcard:hover .sdx-play { transform: scale(1.06); background: var(--rose); }
  .sdx-dur { position: absolute; right: 10px; bottom: 10px; background: rgba(28,23,20,0.78); color: #fff; font-size: 0.75rem; border-radius: 5px; padding: 2px 7px; }
  .sdx-vtxt { display: block; }
  .sdx-vt { display: block; font-weight: 600; font-size: 1.15rem; color: var(--deep); margin-top: 14px; }
  .sdx-vd { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
  .sdx-w { display: block; font-size: 0.84rem; color: var(--rose); font-weight: 600; margin-top: 8px; }
  .sdx-fin { background: var(--warm); text-align: center; padding: 72px 5% 80px; }
  .sdx-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 500; line-height: 1; color: var(--deep); }
  .sdx-numlab { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
  .sdx-motto { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; margin-top: 28px; color: var(--deep); }
  .sdx-motto span { color: var(--rose); }
  /* state switching */
  body.sdx-landing #viewToggleStrip, body.sdx-landing #prices, body.sdx-landing #mapSection { display: none !important; }
  body.sdx-results .sdx-land { display: none !important; }
  .stat-strip { display: none !important; }
  body.sdx-results .hero.sdx-hero { padding: 84px 5% 18px; }
  body.sdx-results .sdx-brand, body.sdx-results .sdx-trend { display: none; }
  body.sdx-results .sdx-hero-in { grid-template-columns: 1fr; }
  body.sdx-results .sdx-sbox { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 18px; box-shadow: none; }
  body.sdx-results .sdx-fld { flex: 1; border-bottom: 0; padding: 8px 2px; }
  body.sdx-results #sdxLocFld { border-right: 1px solid var(--border); padding-right: 12px; }
  body.sdx-results .sdx-go.btn-search { width: auto; margin: 0; padding: 14px 26px; flex: none; }
  body.sdx-results #prices .section-header { display: none; }
  body.sdx-results #prices { padding-top: 1.6rem; }
  html.map-view-active .sdx-hero { display: none; }
  /* nav: For clinics is a quiet link on desktop, gone from the phone header */
  #navPortalBtn.sdx-forclinics { background: transparent; border: 0; color: var(--dim); padding: 0.4rem 0.2rem; font-weight: 400; }
  #navPortalBtn.sdx-forclinics:hover { color: var(--cream); background: transparent; }
  /* matching technology on result cards */
  .card-match { margin: 0 1.25rem 0.9rem; background: var(--rose-bg); border-radius: 10px; padding: 8px 12px; }
  .card-match span { display: block; font-size: 0.6rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--rose); opacity: .85; }
  .card-match b { font-size: 1rem; color: var(--deep); font-weight: 600; }
  /* menu drawer */
  .nav-overlay.sdx-drawer-bg { display: block; background: rgba(15,12,10,0.5); justify-content: initial; align-items: initial; transition: opacity .25s ease; z-index: 1200; }
  .sdx-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); background: var(--deep); padding: 0 24px 24px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; }
  .nav-overlay.open .sdx-drawer { transform: none; }
  .sdx-dr-head { height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hero-border); margin-bottom: 8px; }
  .sdx-drawer .nav-overlay-logo { position: static; font-size: 1.5rem; }
  .sdx-dr-x { background: none; border: 0; color: #D9CFC3; font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 4px; }
  .sdx-dr-sec { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 22px 0 6px; }
  .sdx-drawer > a { display: block; color: #EDE4D8; text-decoration: none; font-size: 1rem; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .sdx-drawer > a:hover { color: var(--gold); }
  .sdx-dr-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .sdx-dr-foot a { color: var(--muted); font-size: 0.82rem; text-decoration: none; }
  /* floating map button (phone results) */
  .sdx-mapfab { display: none; }
  /* video player */
  .sdx-vm { position: fixed; inset: 0; z-index: 2000; background: rgba(15,12,10,0.94); display: none; align-items: center; justify-content: center; padding: 20px; }
  .sdx-vm.open { display: flex; }
  .sdx-vm-box { width: min(1040px, 100%); }
  .sdx-vm-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #D9CFC3; font-size: 0.92rem; margin-bottom: 12px; }
  .sdx-vm-top .acts { display: flex; gap: 18px; align-items: center; }
  .sdx-vm-skip { background: none; border: 0; color: var(--gold); font: 600 0.88rem 'DM Sans', sans-serif; cursor: pointer; }
  .sdx-vm-x { background: none; border: 0; color: #D9CFC3; font-size: 1.7rem; line-height: 1; cursor: pointer; }
  .sdx-vm video { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 10px; display: block; }
  .sdx-vm-cta { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
  .sdx-vm-cta .k { font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); width: 100%; }
  .sdx-vm-cta .h { font-family: 'Cormorant Garamond', serif; color: #F3ECE2; font-size: 1.7rem; line-height: 1.15; flex: 1; min-width: 240px; }
  .sdx-vm-go { background: var(--rose); color: #fff; border: 0; border-radius: 12px; padding: 14px 24px; font: 600 0.98rem 'DM Sans', sans-serif; cursor: pointer; }
  .sdx-vm-again { background: none; color: #CBBFB3; border: 1px solid #3a322c; border-radius: 12px; padding: 13px 20px; font: 400 0.92rem 'DM Sans', sans-serif; cursor: pointer; }
  /* contextual video prompt in results */
  .sdx-tip { display: none; align-items: center; gap: 12px; max-width: 1240px; margin: 0 auto 1rem; padding: 10px 14px; border-radius: 12px; background: var(--warm); cursor: pointer; }
  .sdx-tip.show { display: flex; }
  .sdx-tip .pc { width: 32px; height: 32px; border-radius: 50%; background: var(--deep); flex: none; position: relative; }
  .sdx-tip .pc::after { content: ''; position: absolute; left: 12px; top: 10px; border-left: 9px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
  .sdx-tip .tt { font-size: 0.9rem; font-weight: 600; color: var(--deep); }
  .sdx-tip .ts { font-size: 0.78rem; color: var(--muted); }
  .sdx-tip .x { margin-left: auto; background: none; border: 0; color: var(--dim); font-size: 1.3rem; cursor: pointer; }


  /* ── Results bar (2026-12-03): compact filter row, count, sort, list/map ── */
  .sdx-rbar { display: none; }
  body.sdx-results .sdx-rbar { display: block; max-width: 1280px; margin: 0 auto; padding: 14px 5% 4px; }
  .sdx-fchips { display: flex; flex-wrap: wrap; gap: 8px; }
  .sdx-fc { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); color: var(--deep); border-radius: 99px; padding: 8px 14px; font: 500 0.86rem 'DM Sans', sans-serif; cursor: pointer; max-width: 100%; }
  .sdx-fc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
  .sdx-fc::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; }
  .sdx-fc.on { background: var(--rose-bg); border-color: var(--rose); color: var(--rose-ink, var(--deep)); font-weight: 600; }
  .sdx-fc[hidden] { display: none; }
  .sdx-rmeta { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
  .sdx-count { font-size: 0.88rem; color: #5E5249; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sdx-sort { appearance: none; -webkit-appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A6D63' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 2px center; border: 0; padding: 4px 16px 4px 0; font: 600 0.86rem 'DM Sans', sans-serif; color: var(--deep); cursor: pointer; }
  .sdx-lm { display: inline-flex; background: var(--warm); border-radius: 9px; padding: 3px; flex: none; }
  .sdx-lm button { background: transparent; border: 0; border-radius: 7px; padding: 6px 12px; font: 500 0.82rem 'DM Sans', sans-serif; color: var(--muted); cursor: pointer; }
  .sdx-lm button.on { background: #fff; color: var(--deep); font-weight: 600; box-shadow: 0 1px 2px rgba(28,23,20,0.08); }
  html.map-view-active .sdx-rbar { display: none !important; }  /* the map has its own header and back button */
  body.sdx-results #viewToggleStrip, body.sdx-results .sdx-mapfab, body.sdx-results #activeFilterLine { display: none !important; }
  body.sdx-results #prices { padding-top: 0.8rem; }

  /* ── Filter panel ── */
  .sdx-fp { position: fixed; inset: 0; z-index: 1300; display: none; }
  .sdx-fp.open { display: block; }
  .sdx-fp-bg { position: absolute; inset: 0; background: rgba(15,12,10,0.45); }
  .sdx-fp-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--cream); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(15,12,10,0.18); }
  .sdx-fp-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
  .sdx-fp-head b { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 500; color: var(--deep); }
  .sdx-fp-x { background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 6px; }
  .sdx-fp-body { flex: 1; overflow-y: auto; padding: 4px 20px 24px; -webkit-overflow-scrolling: touch; }
  .sdx-fp-body section { padding: 18px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 8px; }
  .sdx-fp-body section:last-child { border-bottom: 0; }
  .sdx-fp-body h4 { font: 600 0.72rem 'DM Sans', sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
  .sdx-fp .tech-picker { width: 100%; }
  .sdx-fp .tech-btn { width: 100%; max-width: none; justify-content: space-between; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 0.95rem; }
  .sdx-fp .tech-btn.on { border-color: var(--rose); color: var(--deep); }
  .sdx-fp .tech-panel { position: static; width: 100%; max-width: none; margin-top: 8px; box-shadow: none; }
  .sdx-fp .tech-scroll { max-height: 46vh; }
  .sdx-fp .price-chips { flex-wrap: wrap; gap: 8px; }
  .sdx-fp .price-chip { padding: 9px 16px; font-size: 0.88rem; background: #fff; }
  .sdx-fp .price-chip.active, .sdx-fp .sdx-cred-chip.on { background: var(--deep); border-color: var(--deep); color: #fff; }
  .sdx-fp-foot { display: flex; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--cream); }
  .sdx-fp-clear { background: none; border: 0; color: var(--deep); font: 600 0.92rem 'DM Sans', sans-serif; text-decoration: underline; cursor: pointer; padding: 0 6px; }
  .sdx-fp-go { flex: 1; background: var(--rose); color: #fff; border: 0; border-radius: 12px; padding: 14px; font: 600 0.98rem 'DM Sans', sans-serif; cursor: pointer; }
  body.sdx-filters-open { overflow: hidden; }

  /* ── Result cards: quieter rating, labelled rows, smaller name ── */
  body.sdx-results .clinic-card .clinic-name { font-size: 1.15rem; }
  body.sdx-results .clinic-card .clinic-meta { color: #5E5249; }
  .sdx-rating { gap: 0.3rem !important; }
  .sdx-rating .star1 { color: var(--gold); font-size: 0.95rem; line-height: 1; }
  .sdx-rating .rating-num { font-size: 0.88rem; }
  .sdx-rating .rating-rev { font-size: 0.8rem; color: #6B5E55; }
  .card-devices .cd-lab { flex: 0 0 100%; font-size: 0.6rem; letter-spacing: 0.13em; text-transform: uppercase; color: #6B5E55; font-weight: 600; margin-bottom: 1px; }
  .card-devices + .card-devices { margin-top: 0.55rem; }
  .skin-chip { background: #F1F3EC; border-color: #D5DCC8; }

  /* Desktop landing: the headline is centred against the search card itself;
     Trending sits under the card and is left out of the alignment (2026-12-03). */
  @media (min-width: 901px) {
    body.sdx-landing .sdx-hero-in { grid-template-rows: auto auto; align-items: center; row-gap: 0; }
    body.sdx-landing .sdx-searchcol { display: contents; }
    body.sdx-landing .sdx-brand { grid-column: 1; grid-row: 1; }
    body.sdx-landing .sdx-sbox { grid-column: 2; grid-row: 1; }
    body.sdx-landing .sdx-trend { grid-column: 2; grid-row: 2; align-self: start; }
    body.sdx-landing .sdx-pill { display: none; }
  }
  /* closing call to action */
  .sdx-fin-go { display: inline-block; margin-top: 30px; border: 1px solid var(--deep); color: var(--deep); background: transparent; border-radius: 12px; padding: 13px 28px; font: 600 0.95rem 'DM Sans', sans-serif; text-decoration: none; cursor: pointer; }
  .sdx-fin-go:hover { background: var(--deep); color: #F3ECE2; }
  @media (max-width: 900px) {
    .sdx-hero-in { grid-template-columns: 1fr; gap: 22px; }
    .sdx-vgrid { grid-template-columns: 1fr; gap: 0; }
    .sdx-vcard { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
    .sdx-thumb { width: 132px; flex: none; border-radius: 10px; }
    .sdx-play { width: 32px; height: 32px; }
    .sdx-play::after { left: 12px; top: 9px; border-left-width: 10px; border-top-width: 7px; border-bottom-width: 7px; }
    .sdx-dur { right: 5px; bottom: 5px; font-size: 0.66rem; padding: 1px 5px; }
    .sdx-vt { margin-top: 0; font-size: 0.98rem; }
    .sdx-vd { font-size: 0.84rem; }
    .sdx-w { display: none; }
  }
  @media (max-width: 760px) {
    nav { height: 56px; }
    .nav-ctas { display: none !important; }
    .hamburger { display: flex !important; }
    body.sdx-results #viewToggle .view-toggle-btn:not(.active) { color: var(--muted); }
    .hero.sdx-hero { padding: 80px 20px 26px; }
    .sdx-h1 { font-size: 2.85rem; }
    .sdx-sub { font-size: 0.95rem; margin-top: 0.8rem; }
    .sdx-sbox { padding: 4px 14px 14px; border-radius: 16px; }
    .sdx-in input { font-size: 16px; }
    .sdx-near.btn-nearby { padding: 6px 10px 6px 8px; font-size: 0.76rem; }
    .sdx-sug { left: -14px; right: -14px; }
    .sdx-videos { padding: 30px 20px 18px; }
    .sdx-lede { font-size: 0.9rem; margin-bottom: 14px; }
    .sdx-fin { padding: 40px 20px 48px; }
    .sdx-filt { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: -6px; border-radius: 9px; }
    body.sdx-filters-open .sdx-filt { background: var(--warm); color: var(--rose); }
    body.sdx-results #prices { padding-top: 0.6rem; }
    /* results state on the phone: one search pill, the full box on tap */
    body.sdx-results .hero.sdx-hero { padding: 66px 12px 10px; background: var(--cream); border-bottom: 1px solid var(--border); }
    body.sdx-results .sdx-pill { display: flex; align-items: center; gap: 10px; width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 12px; height: 48px; padding: 0 12px; color: var(--deep); font-family: 'DM Sans', sans-serif; text-align: left; cursor: pointer; }
    .sdx-pill-q { flex: 1; min-width: 0; line-height: 1.15; }
    .sdx-pill-q b { display: block; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .sdx-pill-q span { font-size: 0.75rem; color: var(--muted); }
    body.sdx-results .sdx-sbox { display: none; }
    body.sdx-results.sdx-editing .sdx-sbox { display: block; margin-top: 10px; padding: 4px 14px 14px; border: 1px solid var(--border); }
    body.sdx-results.sdx-editing .sdx-fld { border-bottom: 1px solid var(--border); padding: 11px 2px; }
    body.sdx-results.sdx-editing #sdxLocFld { border-right: 0; }
    body.sdx-results.sdx-editing .sdx-go.btn-search { width: 100%; margin-top: 10px; }
    body.sdx-results #viewToggleStrip { display: none !important; }
    body.sdx-results .sdx-mapfab { display: inline-flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 950; align-items: center; gap: 8px; background: var(--deep); color: #F3ECE2; border: 0; border-radius: 99px; padding: 12px 20px; font: 600 0.9rem 'DM Sans', sans-serif; box-shadow: 0 8px 24px rgba(28,23,20,0.3); cursor: pointer; }
    body.sdx-results .sdx-mapfab .sdx-ic { width: 18px; height: 18px; }
    html.map-view-active .sdx-mapfab, body:has(.compare-bar.visible) .sdx-mapfab { display: none !important; }
    footer .footer-top { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.8rem 1.2rem; }
    footer .footer-top > div:first-child { grid-column: 1 / -1; }
    body.sdx-results #viewToggle { width: 100%; display: flex; background: var(--warm); border-radius: 10px; padding: 3px; }
    body.sdx-results #viewToggle .view-toggle-btn { flex: 1; justify-content: center; }
    /* result cards: thumbnail left, matching technology first, short footer */
    body.sdx-results .cards-grid { gap: 12px; }
    body.sdx-results .clinic-card { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 14px 14px 0; border-radius: 16px; }
    body.sdx-results .clinic-card > .card-photo-banner { grid-column: 1; grid-row: 1; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; margin: 0; }
    body.sdx-results .clinic-card > .card-photo-banner img { width: 100%; height: 100%; object-fit: cover; }
    body.sdx-results .clinic-card > .card-photo-banner .card-logo-badge { display: none; }
    body.sdx-results .clinic-card > .card-header { grid-column: 2; grid-row: 1; padding: 0 28px 0 0; }
    body.sdx-results .clinic-card > .card-corner-actions { top: 12px; right: 10px; }
    body.sdx-results .clinic-card > :not(.card-photo-banner):not(.card-header):not(.card-corner-actions) { grid-column: 1 / -1; }
    body.sdx-results .clinic-card .card-categories, body.sdx-results .clinic-card .card-pills .pill-lang, body.sdx-results .clinic-card > .card-visit-row { display: none; }
    body.sdx-results .clinic-card .card-header > div[style*="font-size:0.75rem"] { display: none; }
    body.sdx-results .clinic-card .clinic-name { font-size: 1.08rem; }
    body.sdx-results .card-match { margin: 12px 0 0; }
    body.sdx-results .clinic-card .card-price { margin: 10px 0 0; padding: 10px 0 0; }
    body.sdx-results .clinic-card.has-match .card-price { border-top: 0; padding-top: 6px; }
    body.sdx-results .clinic-card.has-match .price-label { display: none; }
    body.sdx-results .clinic-card.has-match .price-amount { font-size: 1.15rem; }
    body.sdx-results .clinic-card > .card-footer { margin: 12px 0 0 !important; padding: 10px 0 12px; }
    body.sdx-results .sdx-rbar { padding: 12px 12px 2px; }
    .sdx-fc { padding: 7px 12px; font-size: 0.82rem; }
    .sdx-fc span { max-width: 150px; }
    .sdx-rmeta { gap: 10px; margin-top: 12px; padding-top: 10px; }
    .sdx-count { font-size: 0.82rem; }
    .sdx-fp-box { width: 100%; }
    .sdx-vm { padding: 0; align-items: stretch; }
    .sdx-vm-box { display: flex; flex-direction: column; justify-content: center; padding: 16px; }
    .sdx-vm video { border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); }
    .sdx-vm-cta .h { font-size: 1.5rem; min-width: 0; width: 100%; flex: none; }
    .sdx-vm-go, .sdx-vm-again { width: 100%; }
  }

  /* no italics anywhere on these pages (Andy) */
  .price-from, .sdx-hero em, .sdx-land em { font-style: normal !important; }
