/* [nathan_branches] - רשימת סניפים עם סינון לפי אזור וחיפוש.
 * צבעים וריווחים ניתנים לשינוי במשתנים שבראש הקובץ. */
.nb {
	--nb-accent: #FCB73F;
	--nb-text: #000;
	--nb-border: #DAD9DB;
	--nb-head-bg: #E3DCE3;
	--nb-row-bg: #fff;
	--nb-waze: #0a9cc9;
	--nb-radius: 8px;
	--nb-cols: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1fr);

	color: var(--nb-text);
	margin-block: 1.5em;
}

.nb [hidden] {
	display: none !important;
}

/* ---- סינון וחיפוש ---- */
.nb__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 1.25em;
	padding-bottom: 1em;
	border-bottom: 1px solid var(--nb-border);
}

.nb__areas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nb__chip {
	min-height: 44px;
	padding: 6px 18px;
	border: 1px solid var(--nb-border);
	border-radius: 999px;
	background: var(--nb-row-bg);
	color: var(--nb-text);
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}

.nb__chip:hover {
	border-color: var(--nb-accent);
}

.nb__chip.is-active {
	background: var(--nb-accent);
	border-color: var(--nb-accent);
}

.nb__search {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 600;
}

.nb__search input {
	width: min(100%, 280px);
	min-height: 44px;
	padding: 6px 14px;
	border: 1px solid var(--nb-border);
	border-radius: var(--nb-radius);
	background: var(--nb-row-bg);
	font: inherit;
	font-weight: 400;
}

.nb__chip:focus-visible,
.nb__search input:focus-visible,
.nb__more:focus-visible,
.nb__addr:focus-visible,
.nb__phone:focus-visible {
	outline: 3px solid #472668;
	outline-offset: 2px;
}

/* ---- כותרת ושורות ---- */
.nb__head,
.nb__item {
	display: grid;
	grid-template-columns: var(--nb-cols);
	align-items: center;
	gap: 16px;
	padding: 14px 20px;
}

.nb__head {
	margin-bottom: 8px;
	border-radius: var(--nb-radius);
	background: var(--nb-head-bg);
	font-weight: 700;
}

.nb__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nb__item {
	border: 1px solid var(--nb-border);
	border-radius: var(--nb-radius);
	background: var(--nb-row-bg);
}

.nb__name {
	font-size: 20px;
}

.nb__phone {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	justify-self: start;
}

.nb__phone:hover {
	text-decoration: underline;
}

/* כתובת = קישור ניווט ב-Waze, עם האייקון לידה */
.nb__addr {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	text-decoration: none;
}

a.nb__addr:hover .nb__addr-text {
	text-decoration: underline;
}

.nb__waze {
	flex: none;
	color: var(--nb-waze);
}

/* ---- הצג עוד / אין תוצאות ---- */
.nb__more {
	display: block;
	min-height: 44px;
	margin: 1.25em auto 0;
	padding: 8px 28px;
	border: 0;
	border-radius: var(--nb-radius);
	background: var(--nb-head-bg);
	color: var(--nb-text);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.nb__more:hover {
	background: var(--nb-accent);
}

.nb__empty {
	margin: 1.5em 0;
	text-align: center;
	font-size: 18px;
}

.nb__status,
.nb__search-label,
.nb__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---- מובייל ---- */
@media (max-width: 767px) {
	.nb__head {
		display: none;
	}

	.nb__item {
		grid-template-columns: 1fr;
		gap: 4px;
		padding: 14px 16px;
	}

	.nb__phone,
	a.nb__addr {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.nb__search,
	.nb__search input {
		width: 100%;
	}

	.nb__chip {
		font-size: 16px;
		padding-inline: 14px;
	}
}
