/* Hussein's front-page map search (owner, 2026-11-01): centered, glassy, gold details, dark map. */
.sk-hero { align-items: center; }
.sk-hero-inner { max-width: 1040px; width: 100%; margin: 0 auto; text-align: center; }
.sk-hero .sk-h1 { margin: 0 auto 34px; font-size: clamp(42px, 6vw, 92px); }
.sk-hero .sk-cta { justify-content: center; margin-top: 26px; }
.sk-hero .sk-stats { display: none; }
.hm-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.72); text-decoration: none; }
.hm-rating b { color: var(--accent); letter-spacing: 2px; font-size: 12px; }
.hm-rating:hover { color: #fff; }

.hm { --hm-line: rgba(255,255,255,.14); text-align: left; padding: 10px; border-radius: 28px; position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(20,22,28,.72), rgba(12,14,18,.82)); border: 1px solid var(--hm-line);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.08); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); }
.hm-bar { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1.6fr) auto; gap: 6px; align-items: stretch; }
.hm-loc { display: flex; align-items: center; gap: 12px; padding: 0 18px; min-height: 62px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid transparent; transition: border-color .25s, background .25s; }
.hm-loc:focus-within { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: rgba(255,255,255,.09); }
.hm-loc svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.hm-loc input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: 500 16px "Inter", system-ui, sans-serif; }
.hm-loc input::placeholder { color: rgba(255,255,255,.5); }
.hm-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 20px; background: rgba(255,255,255,.04); }
.hm-filters label { display: grid; align-content: center; gap: 2px; padding: 8px 14px; min-width: 0; font: 600 10px/1.2 "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.48); }
.hm-filters label + label { border-left: 1px solid var(--hm-line); }
.hm-filters label:focus-within { color: var(--accent); }
.hm-filters select { -webkit-appearance: none; appearance: none; width: 100%; border: 0; outline: 0; background: transparent; color: #fff; cursor: pointer; padding: 2px 16px 2px 0;
  font: 500 15px "Inter", sans-serif; letter-spacing: 0; text-transform: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 8px) 55%, calc(100% - 3px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.hm-filters option { color: #111; }
.hm-go { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 28px; border: 0; border-radius: 20px; cursor: pointer;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent) 55%, color-mix(in srgb, var(--accent) 80%, #000));
  color: #0A0C10; font: 700 15px "Inter", sans-serif; box-shadow: 0 12px 30px -12px var(--accent); transition: transform .2s, filter .2s; }
.hm-go:hover { transform: translateY(-1px); filter: brightness(1.05); }
.hm-go svg { width: 18px; height: 18px; }

.hm-tools { display: flex; align-items: center; gap: 10px; padding: 12px 8px 10px; font: 500 13px "Inter", sans-serif; color: rgba(255,255,255,.65); }
.hm-count { margin-right: auto; white-space: nowrap; }
.hm-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--hm-line); }
.hm-seg button { border: 0; background: transparent; color: rgba(255,255,255,.7); padding: 6px 13px; border-radius: 999px; font: 600 12.5px "Inter", sans-serif; cursor: pointer; }
.hm-seg button.on { background: rgba(255,255,255,.14); color: #fff; }
.hm-seg button:disabled { opacity: .35; cursor: default; }
.hm.map-off .hm-seg { display: none; }
.hm-toggle { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; color: #fff; font: 600 13px "Inter", sans-serif; cursor: pointer; padding: 4px 2px; }
.hm-knob { position: relative; width: 38px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.18); transition: background .25s; }
.hm-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.hm-toggle[aria-checked="true"] .hm-knob { background: var(--accent); }
.hm-toggle[aria-checked="true"] .hm-knob::after { transform: translateX(16px); }

.hm-mapwrap { position: relative; height: clamp(300px, 38vh, 400px); border-radius: 20px; overflow: hidden; border: 1px solid var(--hm-line);
  transition: height .45s cubic-bezier(.2,.8,.2,1), opacity .3s, border-color .3s; }
.hm-mapwrap.off { height: 0; opacity: 0; border-width: 0; }
.hm-map { position: absolute; inset: 0; background: #14161b; }
.hm-map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.35); }
.hm-map .leaflet-control-zoom a { background: rgba(20,22,28,.9); color: #fff; border-color: var(--hm-line); }
.hm-map .leaflet-control-attribution { background: rgba(10,12,16,.6); color: rgba(255,255,255,.5); font-size: 10px; }
.hm-map .leaflet-control-attribution a { color: rgba(255,255,255,.7); }
.hm-pin span { display: inline-block; transform: translate(-50%, -50%); padding: 5px 10px; border-radius: 999px; white-space: nowrap; cursor: pointer;
  background: #0f1116; color: #fff; border: 1px solid color-mix(in srgb, var(--accent) 75%, transparent); font: 700 12px "Inter", sans-serif;
  box-shadow: 0 6px 18px rgba(0,0,0,.55); transition: background .2s, color .2s, transform .2s; }
.hm-pin span:hover { background: var(--accent); color: #0A0C10; transform: translate(-50%, -50%) scale(1.08); }
.hm-card { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1000; max-width: 440px; display: grid; grid-template-columns: 120px 1fr; gap: 14px;
  padding: 10px; border-radius: 18px; background: rgba(14,16,21,.94); border: 1px solid var(--hm-line); box-shadow: 0 20px 50px -20px #000; color: #fff; font-family: "Inter", sans-serif; }
.hm-card[hidden] { display: none; }
.hm-card img { width: 120px; height: 100%; min-height: 96px; object-fit: cover; border-radius: 12px; }
.hm-price { font: 700 18px "Inter", sans-serif; }
.hm-card > div { padding-right: 20px; min-width: 0; }
.hm-price small { margin-left: 6px; font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.hm-addr { font-size: 13.5px; color: rgba(255,255,255,.75); margin-top: 2px; }
.hm-specs { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 2px; }
.hm-ask { display: inline-block; margin-top: 8px; color: var(--accent); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.hm-sample { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.hm-x { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; color: rgba(255,255,255,.6); font-size: 20px; cursor: pointer; line-height: 1; }

@media (max-width: 860px) {
  .sk-hero { padding-top: 110px; }
  .hm { padding: 8px; border-radius: 24px; }
  .hm-bar { grid-template-columns: 1fr; }
  .hm-loc { min-height: 56px; }
  .hm-filters label { padding: 10px 12px; }
  .hm-go { height: 52px; }
  .hm-mapwrap { height: 300px; }
  .hm-card { grid-template-columns: 92px 1fr; gap: 12px; }
  .hm-price { font-size: 16px; }
  .hm-tools { gap: 8px; padding: 10px 4px 8px; }
  .hm-seg button { padding: 6px 10px; }
  .hm-card img { width: 92px; }
}
