/* Nadlan Map – מפת הפרויקטים · שפת העיצוב של נדל"ן מקבלן: צהוב · שחור · לבן */
.nmap {
	--nmap-h: 620px;
	--nmap-h-m: 520px;
	--nmap-pin: #000;
	--nmap-pin-text: #fff;
	--nmap-pin-active: #f6ce00;
	--nmap-pin-active-text: #000;
	--nmap-cluster: #f6ce00;
	--nmap-cluster-text: #000;
	--nmap-accent: #000;
	--nmap-yellow: #f6ce00;
	--nmap-surface: #fefcf2;
	--nmap-ink: #111;
	--nmap-muted: #6b6b6b;
	--nmap-line: #ebe7d8;
	--nmap-tag: #f8f5ea;
	--nmap-radius: 18px;
	--nmap-shadow: 0 8px 28px rgba(0, 0, 0, .10);
	position: relative;
	direction: rtl;
	text-align: right;
	color: var(--nmap-ink);
	--nmap-font: "Google Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	font-family: var(--nmap-font);
	font-size: 15px;
	line-height: 1.45;
	box-sizing: border-box;
}
.nmap *, .nmap *::before, .nmap *::after { box-sizing: border-box; }
/* Google Sans everywhere in the map UI – stronger than theme / Elementor kit font rules. */
.nmap.nmap, .nmap.nmap *:not(svg):not(path) { font-family: var(--nmap-font) !important; }
.nmap button { font-family: inherit; cursor: pointer; }
.nmap svg { width: 1em; height: 1em; flex: none; }
.nmap [hidden] { display: none !important; }
.nmap-boot { min-height: 200px; display: flex; align-items: center; justify-content: center; color: var(--nmap-muted); background: var(--nmap-surface); border-radius: var(--nmap-radius); }

.nmap-demo-badge { display: inline-block; margin-bottom: 10px; padding: 5px 14px; border-radius: 99px; background: var(--nmap-yellow); color: #000; font-size: 13px; font-weight: 700; }

/* ---------- Filters bar ---------- */
.nmap-bar { margin-bottom: 14px; }
.nmap-bar__toggle { display: none; }
.nmap-bar__panel {
	display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px;
	padding: 16px 18px; background: #fff; border: 1px solid var(--nmap-line); border-radius: var(--nmap-radius);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.nmap-f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.nmap-f__label { font-size: 13px; font-weight: 700; color: var(--nmap-ink); }
.nmap select {
	height: 44px; min-width: 160px; padding: 0 16px 0 36px; border: 1px solid #d9d5c6; border-radius: 99px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23111' stroke-width='2.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 15px center;
	-webkit-appearance: none; appearance: none; color: var(--nmap-ink); font: inherit; font-size: 14.5px; font-weight: 500; direction: rtl;
	transition: border-color .15s;
}
.nmap select:hover { border-color: #000; }
.nmap select:focus-visible, .nmap button:focus-visible, .nmap .nmap-item:focus-visible, .nmap a:focus-visible { outline: 3px solid var(--nmap-yellow); outline-offset: 2px; }
.nmap-budget { display: flex; align-items: center; gap: 6px; }
.nmap-budget select { min-width: 128px; }
.nmap-dash { color: var(--nmap-muted); }
.nmap-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.nmap-chip {
	min-width: 46px; height: 44px; padding: 0 14px; border: 1px solid #d9d5c6; border-radius: 99px;
	background: #fff; color: var(--nmap-ink); font-size: 15px; font-weight: 700; transition: background .15s, border-color .15s;
	direction: ltr; unicode-bidi: isolate;
}
.nmap-chip:hover { border-color: #000; }
.nmap-chip[aria-pressed="true"] { background: var(--nmap-yellow); border-color: var(--nmap-yellow); color: #000; }
.nmap-f--actions { flex-direction: row; margin-inline-start: auto; gap: 8px; }
.nmap-reset { height: 44px; padding: 0 22px; border: 1px solid #d9d5c6; border-radius: 99px; background: #fff; color: var(--nmap-ink); font-weight: 700; font-size: 14.5px; transition: border-color .15s; }
.nmap-reset:hover { border-color: #000; }
.nmap-apply { display: none; }
.nmap--no-filters .nmap-bar { display: none; }
.nmap--locked .nmap-f--city { display: none; }

/* ---------- Body ---------- */
.nmap-body {
	display: flex; height: var(--nmap-h); border: 1px solid var(--nmap-line); border-radius: var(--nmap-radius);
	overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.nmap-list { flex: 0 0 380px; max-width: 42%; display: flex; flex-direction: column; border-inline-end: 1px solid var(--nmap-line); background: var(--nmap-surface); min-height: 0; }
.nmap--no-list .nmap-list { display: none; }
.nmap-list__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 10px; font-size: 14px; }
.nmap-count { display: inline-flex; align-items: center; padding: 4px 12px; border: 1px solid var(--nmap-line); border-radius: 99px; background: #fff; font-weight: 700; font-size: 13px; }
.nmap-area-chip { border: 0; background: var(--nmap-yellow); color: #000; border-radius: 99px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; }
.nmap-items { list-style: none; margin: 0; padding: 4px 12px 12px; overflow-y: auto; flex: 1; min-height: 0; overscroll-behavior: contain; }
.nmap-items__empty { padding: 30px 12px; text-align: center; color: var(--nmap-muted); }
.nmap-item {
	position: relative; display: flex; gap: 12px; align-items: stretch; margin: 0 0 10px; padding: 10px; border-radius: 16px;
	background: #fff; border: 1.5px solid var(--nmap-line); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.nmap-item:hover { border-color: #cfc9b2; box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.nmap-item.is-active { border-color: var(--nmap-yellow); box-shadow: 0 0 0 2px var(--nmap-yellow) inset, 0 6px 18px rgba(0,0,0,.08); }
.nmap-item__img { flex: 0 0 108px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--nmap-tag); }
.nmap-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nmap-item__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; padding-inline-end: 26px; }
.nmap-item__title { font-size: 16px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmap-item__loc { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--nmap-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nmap-item__meta { display: flex; flex-wrap: wrap; gap: 4px; }
.nmap-item__price { margin-top: auto; font-weight: 700; font-size: 16px; color: #000; }
.nmap-item__price small, .nmap-card__price small { font-size: 12px; font-weight: 600; color: var(--nmap-muted); margin-inline-end: 4px; }
.nmap-item__go { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--nmap-tag); color: #000; text-decoration: none; transition: background .15s; }
.nmap-item__go:hover { background: var(--nmap-yellow); }

/* Small tags (rooms, delivery) */
.nmap-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid var(--nmap-line); border-radius: 99px; background: var(--nmap-tag); color: var(--nmap-ink); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.nmap-tag svg { color: #555; font-size: 13px; }

/* ---------- Map ---------- */
.nmap-mapwrap { position: relative; flex: 1; min-width: 0; }
.nmap-map { position: absolute; inset: 0; z-index: 0; background: #f2f0e8; }
.nmap--tone-soft .leaflet-tile-pane { filter: grayscale(.55) saturate(.8) brightness(1.04) contrast(.94); }
.nmap--tone-gray .leaflet-tile-pane { filter: grayscale(1) brightness(1.05) contrast(.9); }
.nmap .leaflet-container { direction: ltr; font-family: inherit; font-size: 13px; }
.nmap .leaflet-control-attribution { direction: ltr; font-size: 10.5px; }
.nmap .leaflet-bar { border: 0; box-shadow: var(--nmap-shadow); border-radius: 14px; overflow: hidden; }
.nmap .leaflet-bar a { width: 38px; height: 38px; line-height: 38px; color: #000; font-weight: 700; }
.nmap .leaflet-bar a:hover { background: var(--nmap-yellow); }

.nmap-search-area {
	position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 500;
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 99px;
	background: var(--nmap-yellow); color: #000; font-weight: 700; font-size: 14.5px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
	animation: nmapPop .18s ease-out; transition: filter .15s;
}
.nmap-search-area:hover { filter: brightness(.96); }
.nmap-auto { position: absolute; bottom: 26px; right: 12px; z-index: 500; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: #fff; box-shadow: var(--nmap-shadow); font-size: 12.5px; font-weight: 600; cursor: pointer; user-select: none; }
.nmap-auto input { margin: 0; width: 15px; height: 15px; accent-color: #000; }
.nmap-fit { position: absolute; top: 98px; left: 10px; z-index: 500; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: #fff; color: #000; box-shadow: var(--nmap-shadow); font-size: 18px; }
.nmap-fit:hover { background: var(--nmap-yellow); }

.nmap-loading, .nmap-empty {
	position: absolute; z-index: 600; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 24px; border-radius: var(--nmap-radius);
	background: #fff; box-shadow: var(--nmap-shadow); text-align: center; color: var(--nmap-ink); max-width: 86%;
}
.nmap-loading { flex-direction: row; font-weight: 700; }
.nmap-loading.is-error { color: #b42318; }
.nmap-empty strong { font-size: 16px; }
.nmap-empty span { color: var(--nmap-muted); font-size: 13.5px; }
.nmap-empty .nmap-reset { margin-top: 6px; background: #000; border-color: #000; color: #fff; }
.nmap-spinner { width: 18px; height: 18px; border: 3px solid var(--nmap-line); border-top-color: var(--nmap-yellow); border-radius: 50%; animation: nmapSpin .8s linear infinite; }

/* Price pins */
.nmap-pin-wrap { background: none; border: 0; }
.nmap-pin {
	position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 7px));
	padding: 6px 12px; border-radius: 99px; background: var(--nmap-pin); color: var(--nmap-pin-text);
	font-weight: 700; font-size: 13.5px; line-height: 1.2; white-space: nowrap; direction: ltr; unicode-bidi: plaintext; cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .3); border: 2px solid #fff; transition: transform .12s ease, background .12s, color .12s;
}
.nmap-pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 7px solid transparent; border-top-color: #fff; border-bottom: 0; }
.nmap-pin::before { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); z-index: 1; border: 5px solid transparent; border-top-color: var(--nmap-pin); border-bottom: 0; }
.nmap--pins-bubble .nmap-pin { border-radius: 12px; }
.nmap--pins-square .nmap-pin { border-radius: 4px; }
.nmap-pin-wrap.is-hover .nmap-pin, .nmap-pin:hover { transform: translate(-50%, calc(-100% - 7px)) scale(1.08); }
.nmap-pin-wrap.is-hover .nmap-pin { background: var(--nmap-pin-active); color: var(--nmap-pin-active-text); }
.nmap-pin-wrap.is-hover .nmap-pin::before { border-top-color: var(--nmap-pin-active); }
.nmap-pin-wrap.is-active .nmap-pin { background: var(--nmap-pin-active); color: var(--nmap-pin-active-text); transform: translate(-50%, calc(-100% - 7px)) scale(1.16); box-shadow: 0 0 0 4px rgba(246, 206, 0, .55), 0 8px 20px rgba(0, 0, 0, .3); }
.nmap-pin-wrap.is-active .nmap-pin::before { border-top-color: var(--nmap-pin-active); }

/* Clusters */
.nmap-cluster-wrap { background: none; border: 0; }
.nmap-cluster {
	position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
	min-width: 58px; height: 58px; padding: 0 11px; border-radius: 29px; display: flex; flex-direction: column; align-items: center; justify-content: center; white-space: nowrap;
	background: var(--nmap-cluster); color: var(--nmap-cluster-text); border: 3px solid #fff; box-shadow: 0 0 0 7px rgba(246, 206, 0, .28), 0 6px 16px rgba(0, 0, 0, .22);
	line-height: 1.05; text-align: center; cursor: pointer; transition: transform .12s;
}
.nmap-cluster:hover { transform: translate(-50%, -50%) scale(1.06); }
.nmap-cluster b { font-size: 18px; font-weight: 700; }
.nmap-cluster small { display: flex; gap: 1px; font-size: 10px; font-weight: 700; direction: rtl; white-space: nowrap; }

/* Popup card */
.nmap .nmap-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: var(--nmap-radius); overflow: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, .2); }
.nmap .nmap-popup .leaflet-popup-content { margin: 0; width: 290px !important; direction: rtl; text-align: right; }
.nmap .nmap-popup a.leaflet-popup-close-button { top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000; font: 700 20px/28px Arial, sans-serif; text-align: center; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.nmap .nmap-popup a.leaflet-popup-close-button:hover { background: var(--nmap-yellow); }
.nmap-card { display: flex; flex-direction: column; color: var(--nmap-ink) !important; text-decoration: none !important; background: #fff; }
.nmap-card__img { position: relative; display: block; height: 160px; background: var(--nmap-tag); overflow: hidden; }
.nmap-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.nmap-card:hover .nmap-card__img img { transform: scale(1.04); }
.nmap-badge { position: absolute; top: 10px; left: 10px; padding: 4px 11px; border-radius: 99px; background: #fff; color: #000; font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.nmap-card__body { display: flex; flex-direction: column; gap: 6px; padding: 13px 15px 15px; }
.nmap-card__title { font-size: 18px; font-weight: 700; line-height: 1.25; }
.nmap-card__loc { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--nmap-muted); }
.nmap-card__addr, .nmap-card__dev { font-size: 13px; color: var(--nmap-muted); }
.nmap-card__meta { display: flex; flex-wrap: wrap; gap: 5px; }
.nmap-card__price { font-size: 21px; font-weight: 700; color: #000; line-height: 1.2; }
.nmap-card__btn {
	display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; height: 44px; padding: 0 14px;
	border-radius: 99px; background: var(--nmap-accent); color: #fff; font-weight: 700; font-size: 15px; transition: background .15s, color .15s;
}
.nmap-card:hover .nmap-card__btn { background: var(--nmap-yellow); color: #000; }

/* Mobile bottom sheet */
.nmap-sheet { position: absolute; z-index: 700; left: 10px; right: 10px; bottom: 66px; animation: nmapUp .2s ease-out; }
.nmap-card--sheet { position: relative; flex-direction: row; border-radius: var(--nmap-radius); overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.nmap-card--sheet .nmap-card__img { flex: 0 0 38%; height: auto; min-height: 150px; }
.nmap-card--sheet .nmap-card__body { flex: 1; min-width: 0; padding: 11px 13px; gap: 5px; }
.nmap-card--sheet .nmap-card__title { font-size: 16.5px; padding-inline-end: 30px; }
.nmap-card--sheet .nmap-card__price { font-size: 18px; }
.nmap-card--sheet .nmap-card__btn { height: 38px; font-size: 14px; }
.nmap-sheet__close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; color: #000; font-size: 20px; line-height: 26px; padding: 0; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.nmap-card--sheet .nmap-sheet__close { right: auto; left: 8px; }
.nmap-card--sheet .nmap-badge { left: auto; right: 8px; top: 8px; font-size: 11px; padding: 3px 8px; }

/* Mobile switch */
.nmap-switch { display: none; }

@keyframes nmapSpin { to { transform: rotate(360deg); } }
@keyframes nmapPop { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes nmapUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Compact (container < 768px) ---------- */
.nmap--compact .nmap-bar { position: relative; margin-bottom: 10px; }
.nmap--compact .nmap-bar__toggle {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0;
	border-radius: 99px; background: #000; color: #fff; font-weight: 700; font-size: 15px;
}
.nmap-bar__badge { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; align-items: center; justify-content: center; border-radius: 99px; background: var(--nmap-yellow); color: #000; font-size: 12px; font-weight: 700; }
.nmap--compact .nmap-bar__panel { display: none; position: absolute; z-index: 1000; top: 52px; left: 0; right: 0; flex-direction: column; align-items: stretch; box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.nmap--compact.nmap--panel-open .nmap-bar__panel { display: flex; animation: nmapUp .15s ease-out; }
.nmap--compact .nmap select, .nmap--compact .nmap-budget select { width: 100%; min-width: 0; }
.nmap--compact .nmap-budget select { flex: 1; }
.nmap--compact .nmap-chip { flex: 1; }
.nmap--compact .nmap-f--actions { margin: 4px 0 0; gap: 8px; }
.nmap--compact .nmap-f--actions button { flex: 1; }
.nmap--compact .nmap-apply { display: block; height: 44px; border: 0; border-radius: 99px; background: #000; color: #fff; font-weight: 700; font-size: 15px; }

.nmap--compact .nmap-body { height: var(--nmap-h-m); position: relative; }
.nmap--compact .nmap-list { position: absolute; inset: 0; max-width: none; z-index: 800; border: 0; display: none; }
.nmap--compact.nmap--view-list .nmap-list { display: flex; }
.nmap--compact .nmap-list .nmap-items { padding-bottom: 74px; }
.nmap--compact .nmap-item__img { flex-basis: 98px; height: 86px; }
.nmap--compact .nmap-switch {
	display: flex; position: absolute; z-index: 900; bottom: 14px; left: 50%; transform: translateX(-50%);
	padding: 4px; gap: 4px; border-radius: 99px; background: #000; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.nmap--compact .nmap-switch button { border: 0; background: transparent; color: #fff; padding: 8px 20px; border-radius: 99px; font-weight: 700; font-size: 14.5px; }
.nmap--compact .nmap-switch button[aria-pressed="true"] { background: var(--nmap-yellow); color: #000; }
.nmap--compact.nmap--no-list .nmap-switch { display: none; }
.nmap--compact.nmap--no-list .nmap-sheet { bottom: 12px; }
.nmap--compact .nmap-auto { bottom: auto; top: 10px; right: 10px; }
.nmap--compact .nmap-search-area { top: 54px; height: 40px; font-size: 14px; }
.nmap--compact .leaflet-control-attribution { font-size: 9px; }

/* ---------- "לכל הפרויקטים במפה" button + pop-up ---------- */
.nmap-launch-wrap { margin: 8px 0; }
.nmap-launch {
	--nmap-yellow: #f6ce00;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-width: min(100%, 420px); height: 62px; padding: 0 36px; border: 0; border-radius: 99px;
	background: var(--nmap-yellow); color: #000; cursor: pointer; direction: rtl;
	font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important; font-size: 19px; font-weight: 700; line-height: 1;
	box-shadow: 0 8px 22px rgba(246, 206, 0, .35); transition: transform .15s, box-shadow .15s, background .15s;
}
.nmap-launch svg { width: 22px; height: 22px; flex: none; }
.nmap-launch .nmap-launch__arrow { width: 18px; height: 18px; transition: transform .15s; }
.nmap-launch:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(246, 206, 0, .45); }
.nmap-launch:hover .nmap-launch__arrow { transform: translateX(-4px); }
.nmap-launch:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.nmap-launch--full { display: flex; width: 100%; }

.nmap-modal {
	position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center;
	padding: 24px; background: rgba(0, 0, 0, .55); animation: nmapFade .18s ease-out;
	font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; direction: rtl;
}
.nmap-modal[hidden] { display: none !important; }
.nmap-modal__box {
	display: flex; flex-direction: column; width: 100%; max-width: 1480px; height: 100%; max-height: 940px;
	background: #fefcf2; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: nmapUp .22s ease-out;
}
.nmap-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px 12px; }
.nmap-modal__title { font-size: 24px; font-weight: 700; color: #000; background: linear-gradient(transparent 62%, #f6ce00 62%); padding: 0 2px; }
.nmap-modal__close {
	display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
	background: #000; color: #fff; cursor: pointer; transition: background .15s, color .15s; flex: none;
}
.nmap-modal__close svg { width: 22px; height: 22px; }
.nmap-modal__close:hover { background: #f6ce00; color: #000; }
.nmap-modal__body { flex: 1; min-height: 0; padding: 0 22px 22px; }
.nmap--in-modal { height: 100%; display: flex; flex-direction: column; }
.nmap--in-modal .nmap-bar { flex: none; }
.nmap.nmap--in-modal .nmap-body { flex: 1; height: auto; min-height: 0; }
html.nmap-modal-open, html.nmap-modal-open body { overflow: hidden !important; }
@keyframes nmapFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 767px) {
	.nmap-launch { height: 56px; font-size: 17px; padding: 0 24px; width: 100%; }
	.nmap-modal { padding: 0; }
	.nmap-modal__box { max-height: none; border-radius: 0; }
	.nmap-modal__head { padding: 10px 12px 8px; }
	.nmap-modal__title { font-size: 20px; }
	.nmap-modal__close { width: 42px; height: 42px; }
	.nmap-modal__body { padding: 0 10px 10px; }
}

/* ---------- Guard against theme button states (Hello Elementor paints buttons #c36 on hover/focus/active) ---------- */
.nmap-launch.nmap-launch, .nmap-launch.nmap-launch:hover, .nmap-launch.nmap-launch:focus, .nmap-launch.nmap-launch:active { background: var(--nmap-yellow, #f6ce00) !important; color: #000 !important; border: 0 !important; text-decoration: none !important; }
.nmap-modal__close.nmap-modal__close, .nmap-modal__close.nmap-modal__close:focus { background: #000 !important; color: #fff !important; border: 0 !important; }
.nmap-modal__close.nmap-modal__close:hover, .nmap-modal__close.nmap-modal__close:active { background: #f6ce00 !important; color: #000 !important; }

.nmap.nmap .nmap-chip:hover, .nmap.nmap .nmap-chip:focus, .nmap.nmap .nmap-chip:active { background: #fff !important; color: #111 !important; border-color: #000 !important; }
.nmap.nmap .nmap-chip[aria-pressed="true"], .nmap.nmap .nmap-chip[aria-pressed="true"]:hover, .nmap.nmap .nmap-chip[aria-pressed="true"]:focus, .nmap.nmap .nmap-chip[aria-pressed="true"]:active { background: var(--nmap-yellow) !important; border-color: var(--nmap-yellow) !important; color: #000 !important; }
.nmap.nmap .nmap-reset:hover, .nmap.nmap .nmap-reset:focus, .nmap.nmap .nmap-reset:active { background: #fff !important; color: #111 !important; border-color: #000 !important; }
.nmap.nmap .nmap-empty .nmap-reset, .nmap.nmap .nmap-empty .nmap-reset:hover, .nmap.nmap .nmap-empty .nmap-reset:focus, .nmap.nmap .nmap-empty .nmap-reset:active,
.nmap.nmap .nmap-apply, .nmap.nmap .nmap-apply:hover, .nmap.nmap .nmap-apply:focus, .nmap.nmap .nmap-apply:active,
.nmap.nmap .nmap-bar__toggle, .nmap.nmap .nmap-bar__toggle:hover, .nmap.nmap .nmap-bar__toggle:focus, .nmap.nmap .nmap-bar__toggle:active { background: #000 !important; color: #fff !important; border-color: #000 !important; }
.nmap.nmap .nmap-search-area, .nmap.nmap .nmap-search-area:hover, .nmap.nmap .nmap-search-area:focus, .nmap.nmap .nmap-search-area:active,
.nmap.nmap .nmap-area-chip, .nmap.nmap .nmap-area-chip:hover, .nmap.nmap .nmap-area-chip:focus, .nmap.nmap .nmap-area-chip:active { background: var(--nmap-yellow) !important; color: #000 !important; }
.nmap.nmap .nmap-fit, .nmap.nmap .nmap-fit:focus { background: #fff !important; color: #000 !important; }
.nmap.nmap .nmap-fit:hover, .nmap.nmap .nmap-fit:active { background: var(--nmap-yellow) !important; color: #000 !important; }
.nmap.nmap .nmap-switch button, .nmap.nmap .nmap-switch button:hover, .nmap.nmap .nmap-switch button:focus, .nmap.nmap .nmap-switch button:active { background: transparent !important; color: #fff !important; border: 0 !important; }
.nmap.nmap .nmap-switch button[aria-pressed="true"], .nmap.nmap .nmap-switch button[aria-pressed="true"]:hover, .nmap.nmap .nmap-switch button[aria-pressed="true"]:focus, .nmap.nmap .nmap-switch button[aria-pressed="true"]:active { background: var(--nmap-yellow) !important; color: #000 !important; }
.nmap.nmap .nmap-sheet__close, .nmap.nmap .nmap-sheet__close:focus { background: #fff !important; color: #000 !important; border: 0 !important; }
.nmap.nmap .nmap-sheet__close:hover, .nmap.nmap .nmap-sheet__close:active { background: var(--nmap-yellow) !important; color: #000 !important; }
.nmap.nmap .nmap-item__go, .nmap.nmap .nmap-item__go:focus { background: var(--nmap-tag) !important; color: #000 !important; }
.nmap.nmap .nmap-item__go:hover, .nmap.nmap .nmap-item__go:active { background: var(--nmap-yellow) !important; color: #000 !important; }
.nmap.nmap .leaflet-popup-close-button, .nmap.nmap .leaflet-popup-close-button:focus { background: #fff !important; color: #000 !important; }
.nmap.nmap .leaflet-popup-close-button:hover, .nmap.nmap .leaflet-popup-close-button:active { background: var(--nmap-yellow) !important; color: #000 !important; }
.nmap.nmap .leaflet-bar a, .nmap.nmap .leaflet-bar a:focus { background: #fff !important; color: #000 !important; }
.nmap.nmap .leaflet-bar a:hover, .nmap.nmap .leaflet-bar a:active { background: var(--nmap-yellow) !important; color: #000 !important; }
.nmap.nmap .nmap-card, .nmap.nmap .nmap-card:hover, .nmap.nmap .nmap-card:focus { color: #111 !important; text-decoration: none !important; }
.nmap.nmap .nmap-card .nmap-card__btn { background: var(--nmap-accent) !important; color: #fff !important; }
.nmap.nmap .nmap-card:hover .nmap-card__btn, .nmap.nmap .nmap-card:focus .nmap-card__btn { background: var(--nmap-yellow) !important; color: #000 !important; }
.nmap-launch:focus:not(:focus-visible), .nmap-modal__close:focus:not(:focus-visible), .nmap.nmap button:focus:not(:focus-visible) { outline: none !important; }
