/* Căutare Rețeaua Medicală PRO BIO — the magnifier in the header, the search window and the results page.
   Colours and type follow the clinic site: navy #204289, blue #2B6CF5, Plus Jakarta Sans, pill buttons. */

:root {
	--pbc-navy: #204289;
	--pbc-blue: #2b6cf5;
	--pbc-blue-ink: #1d4fc4;
	--pbc-ink: #0f2147;
	--pbc-text: #24365e;
	--pbc-muted: #5b6b88;
	--pbc-line: #e6ebf3;
	--pbc-soft: #f4f7fc;
	--pbc-tint: #eef3fe;
	--pbc-red: #d62b45;
	--pbc-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--pbc-ease: cubic-bezier(.16, 1, .3, 1);
	--pbc-focus: 0 0 0 3px #fff, 0 0 0 6px rgba(43, 108, 245, .55);
}

.pbc-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------------------------------------ */
/* Header: search and call as two separate buttons, right after the menu.
   - Search: a white round button with a blue magnifier and a fine outline, like the white menu bar; on hover it fills
     with the site's blue, as the menu's active item does.
   - Call: a solid blue pill with a white handset and "Sună" in the menu's type (Plus Jakarta Sans 600, 15 px), with the
     same soft coloured shadow as the green "Programare", so it stands out. The number is no longer shown; it stays in
     the link and in its spoken label.
   Both sit in BeTheme's phone element (its inner box, ".pbc-pair"): cautare.js puts the magnifier in front of the phone
   link. Where BeTheme hides the phone (tablets, 1024–1239 px), the magnifier stands alone in a column of its own. The
   call button is CSS only, so nothing flashes before the script runs. */
.mfn-header-tmpl .pbc-pair,
.mfn-header-tmpl .mcb-item-header_icon-inner:has(> a[href^="tel:"]) {
	display: inline-flex !important;
	flex: none;
	align-items: center;
	gap: 8px;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none;
}

/* Search */
.mfn-header-tmpl .pbc-trigger,
.mfn-header-tmpl .pbc-trigger:hover,
.mfn-header-tmpl .pbc-trigger:focus {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 48px;
	height: 48px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid #d9e3f5;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgba(32, 66, 137, .1);
	color: var(--pbc-blue);
	line-height: 1;
	text-transform: none;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mfn-header-tmpl .pbc-trigger svg { display: block; width: 21px; height: 21px; pointer-events: none; }
.mfn-header-tmpl .pbc-trigger:hover,
.mfn-header-tmpl .pbc-trigger[aria-expanded="true"] {
	border-color: var(--pbc-blue);
	background: var(--pbc-blue);
	box-shadow: 0 4px 12px rgba(43, 108, 245, .3);
	color: #fff;
}
.mfn-header-tmpl .pbc-trigger:active { transform: translateY(1px); }
.mfn-header-tmpl .pbc-trigger:focus-visible { outline: 2px solid var(--pbc-blue); outline-offset: 3px; }

/* Call */
.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"] {
	display: inline-flex !important;
	flex-direction: row !important;
	flex: none;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;
	box-sizing: border-box;
	width: auto !important;
	height: 48px;
	min-width: 48px;
	margin: 0 !important;
	padding: 0 20px 0 17px !important;
	border: 0 !important;
	border-radius: 38px;
	background: var(--pbc-blue) !important;
	box-shadow: 0 4px 12px rgba(43, 108, 245, .3);
	color: #fff !important;
	font: 600 15px/1 var(--pbc-font) !important;
	letter-spacing: normal;
	text-decoration: none !important;
	white-space: nowrap;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"] > .icon-wrapper,
.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"] > .desc-wrapper { display: none !important; }
.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"]::before {
	content: "";
	display: block;
	flex: none;
	width: 18px;
	height: 18px;
	background: 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='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h2.6l1.4 3.8-1.9 1.3a11 11 0 0 0 6.7 6.7l1.3-1.9 3.8 1.4v2.6a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%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='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.6 3.5h2.6l1.4 3.8-1.9 1.3a11 11 0 0 0 6.7 6.7l1.3-1.9 3.8 1.4v2.6a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"]::after { content: "Sună"; }
.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"]:hover {
	background: #1f5fe8 !important;
	box-shadow: 0 6px 16px rgba(43, 108, 245, .38);
	color: #fff !important;
}
.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"]:active { transform: translateY(1px); }
.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"]:focus-visible { outline: 2px solid var(--pbc-blue); outline-offset: 3px; }

/* Laptop and desktop: the phone column keeps the 44 px BeTheme gave it, and the two buttons extend to the left into
   the space the menu leaves free on its right (124 px, where the number used to sit). The menu and "Programare" keep
   exactly the room they had. */
@media (min-width: 768px) {
	/* display is left to BeTheme (its hide-desktop/-laptop/… classes); right-to-left flow makes the wider pair
	   overflow on the left, by exactly its own width, whatever the label's font. */
	.mfn-header-tmpl .mcb-column.pbc-call-col,
	.mfn-header-tmpl .mcb-column.column_header_icon:has(> .mcb-item-header_icon-inner > a[href^="tel:"]),
	.mfn-header-tmpl .mcb-column.pbc-col {
		flex: 0 0 44px !important;
		width: 44px !important;
		max-width: 44px !important;
		direction: rtl;
		text-align: right;
		white-space: nowrap;
		line-height: 0;
	}
	.mfn-header-tmpl .pbc-call-col > .pbc-pair,
	.mfn-header-tmpl .mcb-column.pbc-col > .pbc-pair,
	.mfn-header-tmpl .mcb-item-header_icon-inner:has(> a[href^="tel:"]) { direction: ltr; vertical-align: middle; margin: 0 6px 0 0 !important; }
}
/* Where the menu shows and the phone does not (BeTheme: 1024–1239 px), the magnifier alone sits in the space the menu
   leaves free on its right and takes no room ("tuck", set by cautare.js when that space is wide enough). Where that
   space is too narrow it is a compact 44 px circle, as wide as the old column, so the menu keeps its room either way. */
@media (min-width: 960px) {
	.mfn-header-tmpl .mcb-column.pbc-col.pbc-col--tuck { flex-basis: 0 !important; width: 0 !important; max-width: 0 !important; }
	.mfn-header-tmpl .mcb-column.pbc-col:not(.pbc-col--tuck) > .pbc-pair { margin: 0 3px 0 0 !important; }
	.mfn-header-tmpl .mcb-column.pbc-col:not(.pbc-col--tuck) .pbc-trigger { width: 44px; height: 44px; }
}

/* Keep search and call on top. BeTheme lifts a header block while the pointer is over it (.mcb-wrap:hover, z-index 2);
   the menu's block reaches into the free space where the two buttons sit, so coming from the menu it covered them
   (no hover, no click). Their block stays above it. Laptop and desktop only: on tablets and phones the side menu lives
   in another block and must stay on top when open. */
@media (min-width: 960px) {
	.mfn-header-tmpl .mcb-wrap.pbc-wrap,
	.mfn-header-tmpl .mcb-wrap:has(.pbc-pair),
	.mfn-header-tmpl .mcb-wrap:has(.pbc-col) { z-index: 3 !important; }
}
/* The fixed header's menu (after scrolling) packs its items with negative margins (-7.5 px each side), so on laptops
   (about 960–1180 px) the green "Programare" and the active item's pill ran into their neighbours' text. A little air
   next to the pills only; the menu still fits on one row (checked 960–1440 px). */
@media (min-width: 960px) {
	.mfn-header-tmpl .mfn-header-sticky-section ul.mfn-header-menu > li.btn-programare:not(:first-child),
	.mfn-header-tmpl .mfn-header-sticky-section ul.mfn-header-menu > li.current-menu-item:not(:first-child),
	.mfn-header-tmpl .mfn-header-sticky-section ul.mfn-header-menu > li.current_page_item:not(:first-child) { margin-left: 8px !important; }
	.mfn-header-tmpl .mfn-header-sticky-section ul.mfn-header-menu > li.current-menu-item:not(:last-child),
	.mfn-header-tmpl .mfn-header-sticky-section ul.mfn-header-menu > li.current_page_item:not(:last-child) { margin-right: 8px !important; }
}

/* The magnifier alone, in its own column (laptop and desktop: see the 44 px rule above). */
.mfn-header-tmpl .mcb-column.pbc-col.pbc-col--off { display: none !important; }
@media (max-width: 767px) {
	.mfn-header-tmpl .mcb-column.pbc-col { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
	.mfn-header-tmpl .mcb-column.pbc-col > .pbc-col-inner { margin: 0 4px !important; }
}

/* Phones: search and call are two round buttons, white and blue. The header row (menu, logo, ANMCS badge, phone) was
   already full, so the logo and the badge get a little smaller (logo 140 → 108 px, badge 70 → 50 px), and smaller
   again below 380 px. */
@media (max-width: 767px) {
	.mfn-header-tmpl .mcb-column.pbc-call-col,
	.mfn-header-tmpl .mcb-column.column_header_icon:has(> .mcb-item-header_icon-inner > a[href^="tel:"]) { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
	.mfn-header-tmpl .pbc-pair,
	.mfn-header-tmpl .mcb-item-header_icon-inner:has(> a[href^="tel:"]) { gap: 6px; margin: 0 4px !important; }
	.mfn-header-tmpl .pbc-trigger { width: 40px; height: 40px; }
	.mfn-header-tmpl .pbc-trigger svg { width: 19px; height: 19px; }
	.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"] { width: 40px !important; height: 40px; min-width: 40px; padding: 0 !important; }
	.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"]::after { content: none; }
}
@media (max-width: 479px) {
	.mfn-header-tmpl .pbc-pair,
	.mfn-header-tmpl .mcb-item-header_icon-inner:has(> a[href^="tel:"]) { margin: 0 2px !important; }
	.mfn-header-tmpl .mcb-column.column_header_logo { width: auto !important; flex: 0 0 auto !important; }
	.mfn-header-tmpl .column_header_logo > .mcb-column-inner,
	.mfn-header-tmpl .column_header_logo .logo-wrapper { width: auto !important; }
	.mfn-header-tmpl .mcb-column.column_header_logo:not(.hide-desktop) img { max-width: 108px !important; height: auto !important; }
	.mfn-header-tmpl .mcb-column.column_header_logo.hide-desktop.hide-laptop img { max-width: 50px !important; height: auto !important; }
}
@media (max-width: 379px) {
	.mfn-header-tmpl .mcb-column.column_header_logo:not(.hide-desktop) img { max-width: 96px !important; }
	.mfn-header-tmpl .mcb-column.column_header_logo.hide-desktop.hide-laptop img { max-width: 44px !important; }
	.mfn-header-tmpl .pbc-pair,
	.mfn-header-tmpl .mcb-item-header_icon-inner:has(> a[href^="tel:"]) { gap: 5px; margin: 0 !important; }
	.mfn-header-tmpl .pbc-trigger { width: 38px; height: 38px; }
	.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"] { width: 38px !important; height: 38px; min-width: 38px; }
}
/* Tablets (BeTheme: 768–959 px), the fixed header shown after scrolling. Not part of search, but of the same header fit:
   - its round logo has a size only for phones (50 px); on tablets it took the desktop column's 210 px and grew to
     200 × 200, making that header 232 px tall. Same 50 px as on phones (header about 82 px);
   - its menu button is pushed 290 px to the left (left: -290px, which hides it on laptops), so on tablets it was off
     screen and the menu could not be opened after scrolling. Back in place on tablets only. */
@media (min-width: 768px) and (max-width: 959px) {
	.mfn-header-tmpl .mfn-header-sticky-section .mcb-column.column_header_logo.hide-desktop.hide-laptop { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
	.mfn-header-tmpl .mfn-header-sticky-section .column_header_logo.hide-desktop.hide-laptop > .mcb-column-inner,
	.mfn-header-tmpl .mfn-header-sticky-section .column_header_logo.hide-desktop.hide-laptop .logo-wrapper { width: 50px !important; height: 50px !important; }
	.mfn-header-tmpl .mfn-header-sticky-section .column_header_logo.hide-desktop.hide-laptop img { width: 50px !important; max-width: 50px !important; height: 50px !important; }
	.mfn-header-tmpl .mfn-header-sticky-section .mcb-column.column_header_burger { left: 0 !important; }
}
@media (max-width: 339px) {
	.mfn-header-tmpl .mcb-header-section { padding-left: 14px !important; padding-right: 14px !important; }
	.mfn-header-tmpl .mcb-column.column_header_logo:not(.hide-desktop) img { max-width: 90px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.mfn-header-tmpl .pbc-trigger,
	.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"] { transition: none; }
	.mfn-header-tmpl .pbc-trigger:active,
	.mfn-header-tmpl .mcb-item-header_icon-inner > a[href^="tel:"]:active { transform: none; }
}

/* ------------------------------------------------------------------------------------------------ */
/* The search window                                                                                */
html.pbc-search-lock { overflow: hidden; }
html.pbc-search-lock body { padding-right: var(--pbc-sbw, 0); }

.pbc {
	position: fixed;
	inset: 0;
	z-index: 2147483640; /* above the fixed header and the chat bubble */
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: min(9vh, 88px) 16px 16px;
	color: var(--pbc-text);
	font: 400 16px/1.5 var(--pbc-font);
	-webkit-text-size-adjust: 100%;
	text-align: left;
}
.pbc[hidden] { display: none; }
.pbc *, .pbc *::before, .pbc *::after { box-sizing: border-box; }
.pbc p { margin: 0; padding: 0; }
.pbc a { text-decoration: none; }
.pbc mark { padding: 0; background: none; color: var(--pbc-blue); font-weight: 700; }

.pbc-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 33, 71, .46);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.pbc-sheet {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(760px, 100%);
	max-height: calc(100vh - min(9vh, 88px) - 24px);
	max-height: calc(100dvh - min(9vh, 88px) - 24px);
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 32px 80px rgba(15, 33, 71, .34), 0 2px 6px rgba(15, 33, 71, .12);
}
.pbc.is-open .pbc-backdrop { animation: pbc-fade .2s ease both; }
.pbc.is-open .pbc-sheet { animation: pbc-in .28s var(--pbc-ease) both; }
@keyframes pbc-fade { from { opacity: 0; } }
@keyframes pbc-in { from { opacity: 0; transform: translateY(-10px) scale(.985); } }

/* Search field */
.pbc .pbc-form {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 12px 12px 20px;
	border-bottom: 1px solid var(--pbc-line);
}
.pbc-form-icon { display: flex; flex: none; color: var(--pbc-blue); }
.pbc .pbc-form .pbc-input,
.pbc .pbc-form .pbc-input:focus {
	flex: 1;
	width: auto;
	min-width: 0;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: none;
	background: transparent;
	box-shadow: none;
	color: var(--pbc-ink);
	font: 500 19px/1.3 var(--pbc-font);
	letter-spacing: -.01em;
	-webkit-appearance: none;
	appearance: none;
}
.pbc .pbc-input::placeholder { color: #7a88a3; font-weight: 400; opacity: 1; }
.pbc .pbc-input::-webkit-search-cancel-button,
.pbc .pbc-input::-webkit-search-decoration { -webkit-appearance: none; display: none; }

.pbc .pbc-clear,
.pbc .pbc-dismiss {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	margin: 0;
	border: 0;
	font-family: var(--pbc-font);
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.pbc .pbc-clear {
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 50%;
	background: var(--pbc-soft);
	color: var(--pbc-muted);
}
.pbc .pbc-clear[hidden] { display: none; }
.pbc .pbc-clear:hover { background: var(--pbc-line); color: var(--pbc-ink); }
.pbc .pbc-dismiss {
	gap: 8px;
	height: 40px;
	padding: 0 8px 0 14px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--pbc-line);
	color: var(--pbc-text);
	font-size: 14px;
	font-weight: 600;
}
.pbc .pbc-dismiss:hover { background: var(--pbc-soft); color: var(--pbc-ink); }
.pbc-kbd {
	padding: 3px 6px;
	border-radius: 6px;
	background: var(--pbc-soft);
	box-shadow: inset 0 0 0 1px var(--pbc-line);
	color: var(--pbc-muted);
	font: 600 11px/1 var(--pbc-font);
}
.pbc .pbc-clear:focus-visible,
.pbc .pbc-dismiss:focus-visible { outline: none; box-shadow: var(--pbc-focus); }

/* Thin loading line under the field */
.pbc-bar { position: relative; height: 2px; margin-top: -1px; overflow: hidden; }
.pbc-sheet.is-loading .pbc-bar::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 38%;
	background: linear-gradient(90deg, transparent, var(--pbc-blue), transparent);
	animation: pbc-load 1s ease-in-out infinite;
}
@keyframes pbc-load { from { transform: translateX(-100%); } to { transform: translateX(270%); } }

.pbc-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 6px 10px 12px;
	-webkit-overflow-scrolling: touch;
}

/* Before typing */
.pbc-start { padding: 8px 10px 6px; }
.pbc-label {
	margin: 10px 0 10px !important;
	color: var(--pbc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}
.pbc-label + .pbc-chips + .pbc-label { margin-top: 22px !important; }
.pbc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pbc .pbc-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 9px 15px;
	border: 0;
	border-radius: 999px;
	background: var(--pbc-soft);
	box-shadow: inset 0 0 0 1px var(--pbc-line);
	color: var(--pbc-text);
	font: 600 14px/1.2 var(--pbc-font);
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.pbc .pbc-chip svg { color: var(--pbc-blue); }
.pbc .pbc-chip:hover { background: var(--pbc-tint); box-shadow: inset 0 0 0 1px rgba(43, 108, 245, .35); color: var(--pbc-ink); }
.pbc .pbc-chip:focus-visible { outline: none; box-shadow: var(--pbc-focus); }
.pbc-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pbc .pbc-tile {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	box-shadow: inset 0 0 0 1px var(--pbc-line);
	color: var(--pbc-ink);
	font-size: 14.5px;
	font-weight: 600;
	transition: background-color .15s ease, box-shadow .15s ease;
}
.pbc .pbc-tile:hover { background: var(--pbc-tint); box-shadow: inset 0 0 0 1px rgba(43, 108, 245, .3); color: var(--pbc-ink); }
.pbc .pbc-tile:focus-visible { outline: none; box-shadow: var(--pbc-focus); }
.pbc-tile-ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--pbc-tint);
	color: var(--pbc-blue);
}

/* Results */
.pbc-group + .pbc-group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--pbc-line); }
.pbc-group-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 12px 6px;
	color: var(--pbc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}
.pbc-group-count { font-weight: 600; letter-spacing: .02em; text-transform: none; }

.pbc-hit {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 9px 12px;
	border-radius: 14px;
	color: var(--pbc-text);
	scroll-margin: 8px;
}
.pbc .pbc-hit:hover,
.pbc .pbc-hit[aria-selected="true"] { background: var(--pbc-tint); color: var(--pbc-text); }
.pbc .pbc-hit:focus-visible { outline: none; box-shadow: var(--pbc-focus); }
.pbc-media {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--pbc-soft);
	color: var(--pbc-blue);
}
.pbc-media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: 50% 20%; }
.pbc-hit--medic .pbc-media { border-radius: 50%; }
.pbc-hit--specializare .pbc-media { background: var(--pbc-tint); }
.pbc-hit--voucher .pbc-media { background: #fdecef; color: var(--pbc-red); }
.pbc-text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 1px; min-width: 0; }
.pbc-hit-title { color: var(--pbc-ink); font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.pbc-sub {
	overflow: hidden;
	color: var(--pbc-muted);
	font-size: 13.5px;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.pbc-sub mark { font-weight: 600; }
.pbc-price {
	flex: none;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--pbc-soft);
	color: var(--pbc-navy);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
.pbc-go { display: flex; flex: none; color: #9aa8c2; opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; }
.pbc-hit:hover .pbc-go,
.pbc-hit[aria-selected="true"] .pbc-go { opacity: 1; transform: none; color: var(--pbc-blue); }
.pbc .pbc-more {
	justify-content: space-between;
	margin-top: 2px;
	color: var(--pbc-blue);
	font-size: 14.5px;
	font-weight: 700;
}
.pbc .pbc-more:hover,
.pbc .pbc-more[aria-selected="true"] { color: var(--pbc-blue-ink); }

/* Nothing found */
.pbc-none { padding: 26px 16px 22px; text-align: center; }
.pbc-none-ico {
	display: inline-grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--pbc-tint);
	color: var(--pbc-blue);
}
.pbc-none-title { color: var(--pbc-ink); font-size: 17px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pbc-none-text { max-width: 46ch; margin: 6px auto 0 !important; color: var(--pbc-muted); font-size: 14.5px; }
.pbc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* Buttons (window and results page) */
.pbc-action,
.pbc .pbc-action,
.pbc-page .pbc-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin: 0;
	padding: 11px 22px;
	border: 0;
	border-radius: 38px;
	background: var(--pbc-blue);
	box-shadow: 0 6px 16px rgba(43, 108, 245, .28);
	color: #fff;
	font: 600 15px/1.2 var(--pbc-font);
	text-decoration: none;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s var(--pbc-ease);
}
.pbc .pbc-action:hover,
.pbc-page .pbc-action:hover { background: var(--pbc-blue-ink); color: #fff; transform: translateY(-1px); }
.pbc .pbc-action--ghost,
.pbc-page .pbc-action--ghost { background: #fff; box-shadow: inset 0 0 0 1.5px var(--pbc-line); color: var(--pbc-ink); }
.pbc .pbc-action--ghost:hover,
.pbc-page .pbc-action--ghost:hover { background: var(--pbc-tint); box-shadow: inset 0 0 0 1.5px rgba(43, 108, 245, .35); color: var(--pbc-ink); }
.pbc .pbc-action:focus-visible,
.pbc-page .pbc-action:focus-visible { outline: none; box-shadow: var(--pbc-focus); }

/* Footer of the window */
.pbc-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 12px 20px;
	border-top: 1px solid var(--pbc-line);
	background: #fbfcfe;
	font-size: 14px;
}
.pbc .pbc-all { display: inline-flex; align-items: center; gap: 6px; color: var(--pbc-blue); font-weight: 700; }
.pbc .pbc-all[hidden] { display: none; }
.pbc .pbc-all:hover { color: var(--pbc-blue-ink); }
.pbc-help { margin-left: auto !important; color: var(--pbc-muted); }
.pbc .pbc-help a { display: inline-flex; align-items: center; gap: 5px; color: var(--pbc-navy); font-weight: 700; white-space: nowrap; }
.pbc .pbc-help a:hover { color: var(--pbc-blue); }

/* Phone: full screen, field on top, thumb-sized rows */
@media (max-width: 640px) {
	.pbc { padding: 0; }
	.pbc-sheet {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		max-height: none;
		border-radius: 0;
	}
	.pbc .pbc-form { padding: 8px 10px 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); }
	.pbc .pbc-form .pbc-input { height: 48px; font-size: 17px; }
	.pbc-kbd { display: none; }
	.pbc .pbc-dismiss { padding: 0 14px; }
	.pbc-scroll { padding: 4px 6px 12px; }
	.pbc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pbc-hit { gap: 12px; padding: 10px; }
	.pbc-hit-title { font-size: 15px; }
	.pbc-sub { font-size: 13px; }
	.pbc-price { padding: 3px 8px; font-size: 13.5px; }
	.pbc-go { display: none; }
	.pbc-footer { padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); }
	.pbc-help { margin-left: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
	.pbc.is-open .pbc-backdrop,
	.pbc.is-open .pbc-sheet,
	.pbc-sheet.is-loading .pbc-bar::after { animation: none; }
	.pbc-trigger, .pbc-go, .pbc .pbc-action, .pbc-page .pbc-action { transition: none; }
}

/* ------------------------------------------------------------------------------------------------ */
/* Results page (/?s=…)                                                                             */
.pbc-page { float: none; width: 100%; }
.pbc-page-wrap {
	box-sizing: border-box;
	width: min(980px, 100% - 32px);
	margin: 0 auto;
	padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px);
	color: var(--pbc-text);
	font: 400 16px/1.55 var(--pbc-font);
}
.pbc-page-wrap *, .pbc-page-wrap *::before, .pbc-page-wrap *::after { box-sizing: border-box; }
.pbc-page-head {
	padding: clamp(22px, 3.5vw, 40px);
	border-radius: 24px;
	background:
		radial-gradient(90% 120% at 100% 0%, rgba(43, 108, 245, .12), transparent 60%),
		linear-gradient(180deg, #f3f7ff, #eef3fe);
}
.pbc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 10px;
	color: var(--pbc-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.pbc-page .pbc-page-title {
	margin: 0 0 20px;
	padding: 0;
	color: var(--pbc-navy);
	font: 800 clamp(26px, 3.4vw, 40px)/1.15 var(--pbc-font);
	letter-spacing: -.03em;
	overflow-wrap: anywhere;
}
.pbc-page .pbc-page-title span { color: var(--pbc-blue); }
.pbc-page .pbc-page-form {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 6px 6px 6px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(32, 66, 137, .12), inset 0 0 0 1px var(--pbc-line);
}
.pbc-page .pbc-page-form:focus-within { box-shadow: 0 10px 30px rgba(32, 66, 137, .12), inset 0 0 0 2px var(--pbc-blue); }
.pbc-page .pbc-page-form .pbc-page-input,
.pbc-page .pbc-page-form .pbc-page-input:focus {
	flex: 1;
	width: auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	background: transparent;
	box-shadow: none;
	color: var(--pbc-ink);
	font: 500 17px/1.3 var(--pbc-font);
	-webkit-appearance: none;
	appearance: none;
}
.pbc-page .pbc-page-input::placeholder { color: #7a88a3; font-weight: 400; opacity: 1; }
.pbc-page .pbc-page-input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.pbc-page .pbc-page-form .pbc-page-submit {
	flex: none;
	height: 48px;
	margin: 0;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--pbc-blue);
	color: #fff;
	font: 600 15px/1 var(--pbc-font);
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.pbc-page .pbc-page-form .pbc-page-submit:hover { background: var(--pbc-blue-ink); }
.pbc-page .pbc-page-form .pbc-page-submit:focus-visible { outline: none; box-shadow: var(--pbc-focus); }
.pbc-page-count { margin: 14px 0 0; color: var(--pbc-muted); font-size: 15px; }

.pbc-page-sec { margin-top: clamp(28px, 3.5vw, 40px); }
.pbc-page .pbc-page-h2 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	padding: 0;
	color: var(--pbc-ink);
	font: 700 clamp(19px, 1.8vw, 22px)/1.3 var(--pbc-font);
	letter-spacing: -.015em;
}
.pbc-page .pbc-page-h2 span {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--pbc-tint);
	color: var(--pbc-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
}
.pbc-page .pbc-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pbc-page .pbc-cards li { margin: 0; padding: 0; list-style: none; }
.pbc-page .pbc-cards li::before { display: none; }
.pbc-page .pbc-hit {
	height: 100%;
	padding: 12px 14px;
	border-radius: 16px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--pbc-line);
	text-decoration: none;
	transition: box-shadow .15s ease, background-color .15s ease;
}
.pbc-page .pbc-hit:hover { background: #fbfcff; box-shadow: inset 0 0 0 1px rgba(43, 108, 245, .4), 0 8px 20px rgba(32, 66, 137, .08); }
.pbc-page .pbc-hit:focus-visible { outline: none; box-shadow: var(--pbc-focus); }
.pbc-page .pbc-hit:hover .pbc-go { opacity: 1; transform: none; color: var(--pbc-blue); }
.pbc-page .pbc-media { width: 48px; height: 48px; }
.pbc-page .pbc-sub { white-space: normal; }
.pbc-page mark { padding: 0; background: none; color: var(--pbc-blue); font-weight: 700; }
.pbc-page .pbc-page-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--pbc-blue);
	font-weight: 700;
	text-decoration: none;
}
.pbc-page .pbc-page-more:hover { color: var(--pbc-blue-ink); }
.pbc-page-empty { margin-top: 28px; }
.pbc-page-empty p { margin: 6px 0 0; color: var(--pbc-muted); }
.pbc-page-empty .pbc-none-title { color: var(--pbc-ink); }
.pbc-page .pbc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pbc-page .pbc-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 15px;
	border-radius: 999px;
	background: var(--pbc-soft);
	box-shadow: inset 0 0 0 1px var(--pbc-line);
	color: var(--pbc-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.pbc-page .pbc-chip svg { color: var(--pbc-blue); }
.pbc-page .pbc-chip:hover { background: var(--pbc-tint); color: var(--pbc-ink); }
.pbc-page-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	margin-top: clamp(36px, 5vw, 56px);
	padding: 22px 24px;
	border-radius: 20px;
	background: var(--pbc-soft);
}
.pbc-page-help p { margin: 0; color: var(--pbc-text); }
.pbc-page-help strong { color: var(--pbc-ink); }
.pbc-page-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 767px) {
	.pbc-page-wrap { width: calc(100% - 32px); }
	.pbc-page .pbc-cards { grid-template-columns: 1fr; }
	.pbc-page .pbc-page-form { padding-left: 14px; }
	.pbc-page .pbc-page-form .pbc-page-submit { padding: 0 18px; }
	.pbc-page .pbc-go { display: none; }
}
