/* Reference profile card, scoped to search results. */
body .search-results .search-provider-grid.is-list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
}
body .search-results .search-provider-grid .search-provider-card.nafe3-profile-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 190px !important;
    grid-template-rows: auto auto auto auto !important;
    direction: ltr !important;
    gap: 16px 26px !important;
    align-items: center !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 22px !important;
    border: 1px solid #e9edf1 !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 9px 30px #173b5b09 !important;
    color: #17314c;
}
.nafe3-profile-card * { box-sizing: border-box; }
.nafe3-profile-card a { text-decoration: none; }
.nafe3-profile-card .material-symbols-rounded { font-size: 24px; flex-shrink: 0; }
.nafe3-profile-card .npc-metrics { grid-column: 1; grid-row: 1; display: flex; justify-content: flex-start; gap: 10px; direction: ltr; }
.nafe3-profile-card .npc-favorite,
.nafe3-profile-card .npc-rating { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 79px; height: 42px; padding: 0 13px; border: 1.5px solid #e7ecf0; border-radius: 999px; background: #fff; color: #294257; font: 800 17px/1 'Cairo', sans-serif; }
.nafe3-profile-card .npc-favorite { cursor: pointer; }
.nafe3-profile-card .npc-heart { color: #fa425b; font-size: 26px; font-variation-settings: 'FILL' 0; }
.nafe3-profile-card .npc-favorite.active .npc-heart { font-variation-settings: 'FILL' 1; }
.nafe3-profile-card .npc-favorite.is-loading { opacity: .6; cursor: progress; }
.nafe3-profile-card .npc-rating { background: #fffbef; border-color: #ffedbf; color: #92600b; }
.nafe3-profile-card .npc-rating .material-symbols-rounded { color: #d99a05; font-variation-settings: 'FILL' 1; }
.nafe3-profile-card .npc-portrait { grid-column: 2; grid-row: 1 / 4; position: relative; align-self: center; padding-bottom: 16px; text-align: center; direction: rtl; }
.nafe3-profile-card .npc-portrait > a { display: block; width: 190px; height: 190px; overflow: hidden; border: 2px solid #e7edf1; padding: 5px; border-radius: 50%; background: #f0f5f7; }
.nafe3-profile-card .npc-portrait img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top; }
.nafe3-profile-card .npc-badge { position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: max-content; max-width: 100%; padding: 8px 13px; border: 2px solid white; border-radius: 999px; background: linear-gradient(110deg, #ac7008, #efbb23); box-shadow: 0 8px 18px #6646061a; color: white; font-size: 13px; font-weight: 800; white-space: nowrap; }
.nafe3-profile-card .npc-badge .material-symbols-rounded { font-size: 22px; font-variation-settings: 'FILL' 1; }
.nafe3-profile-card .npc-info { grid-column: 1; grid-row: 2; direction: rtl; text-align: right; min-width: 0; }
.nafe3-profile-card .npc-info h3 { display: flex; flex-wrap: nowrap; align-items: center; gap: 7px; min-width: 0; margin: 0; color: #102844; font-size: 29px; font-weight: 900; line-height: 1.5; white-space: nowrap; }
.nafe3-profile-card .npc-info h3 a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.nafe3-profile-card .npc-verified { color: #2c75c1; font-size: 19px; }
.nafe3-profile-card .npc-specialty { margin: 3px 0 16px; color: #4c6172; font-size: 18px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.nafe3-profile-card .npc-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.nafe3-profile-card .npc-pills > span { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 5px 17px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.nafe3-profile-card .npc-identity { background: #edf4ff; color: #245b9e; }
.nafe3-profile-card .npc-status { background: #fff0f3; color: #d32a41; }
.nafe3-profile-card .npc-status i { width: 10px; height: 10px; border-radius: 50%; background: #ff4055; box-shadow: inset 0 0 0 1px #e92c40; }
.nafe3-profile-card .npc-status.is-online { background: #eaf8ef; color: #178347; }
.nafe3-profile-card .npc-status.is-online i { background: #20ab5d; box-shadow: none; }
.nafe3-profile-card .npc-location { display: flex; align-items: flex-start; gap: 8px; margin: 17px 0 0; color: #435c70; font-size: 15px; font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; }
.nafe3-profile-card .npc-location .material-symbols-rounded { color: #fa425b; font-variation-settings: 'FILL' 1; }
.nafe3-profile-card .npc-profile { grid-column: 1; grid-row: 3; display: flex; align-items: center; justify-content: center; position: relative; gap: 9px; min-height: 57px; padding: 10px 36px; border: 1px solid #2365ad; border-radius: 14px; background: linear-gradient(180deg, #3988e1, #2165b1); box-shadow: inset 0 0 0 2px #ffffff24, 0 4px 9px #2567b213; color: white; font-size: 19px; direction: rtl; text-align: center; }
.nafe3-profile-card .npc-profile::before { position: absolute; content: ''; top: -12px; left: 0; right: 0; height: 1px; background: #edf0f3; }
.nafe3-profile-card .npc-arrow { position: absolute; left: 15px; }
.nafe3-profile-card .npc-profile { min-width: 0; white-space: nowrap; }
.nafe3-profile-card .npc-profile b { white-space: nowrap; font-size: clamp(14px, 1.2vw, 17px); }
.nafe3-profile-card .npc-contacts { grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; direction: rtl; }
.nafe3-profile-card .npc-contacts > a,
.nafe3-profile-card .npc-contacts > span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 59px; padding: 10px 7px; border: 1.5px solid; border-radius: 14px; font-size: 19px; }
.nafe3-profile-card .npc-contacts svg { width: 27px; height: 27px; flex-shrink: 0; }
.nafe3-profile-card .npc-call { color: #1252a3; border-color: #dbe7ff !important; background: #f2f6ff; }
.nafe3-profile-card .npc-whatsapp { color: #079b41; border-color: #d4efe2 !important; background: #effaf5; }
.nafe3-profile-card .npc-message { color: #805016; border-color: #ffe4bf !important; background: #fff8ee; }
.nafe3-profile-card .is-disabled { opacity: .45; cursor: not-allowed; }
.nafe3-profile-card a:hover { filter: brightness(.96); }
.nafe3-profile-card :is(a, button):focus-visible { outline: 3px solid #f7a22a; outline-offset: 3px; }
body .search-results .search-provider-grid.is-grid .search-provider-card.nafe3-profile-card { grid-template-columns: minmax(0, 1fr) 112px !important; gap: 14px !important; padding: 17px !important; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-portrait > a { width: 112px; height: 112px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-badge { font-size: 10px; padding: 6px 8px; gap: 3px; max-width: 125px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-badge .material-symbols-rounded { font-size: 17px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-info h3 { font-size: 22px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-specialty { font-size: 14px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-pills > span { font-size: 11px; padding: 4px 10px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-location { font-size: 12px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-profile { font-size: 15px; padding: 9px 28px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-profile b { font-size: 14px; }
.search-provider-grid.is-grid .nafe3-profile-card .npc-contacts > a,
.search-provider-grid.is-grid .nafe3-profile-card .npc-contacts > span { font-size: 14px; gap: 5px; }
@media (min-width: 901px) and (max-width: 1179px) {
    body .search-results .search-provider-grid.is-list .search-provider-card.nafe3-profile-card { grid-template-columns: minmax(0, 1fr) 280px !important; gap: 20px 30px !important; padding: 26px !important; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-portrait > a { width: 280px; height: 280px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-info h3 { font-size: 36px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-specialty { font-size: 22px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-pills > span { font-size: 16px; padding: 6px 21px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-location { font-size: 18px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-badge { font-size: 17px; padding: 9px 20px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-profile { min-height: 64px; font-size: 23px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-profile b { font-size: 23px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-contacts > a,
    .search-provider-grid.is-list .nafe3-profile-card .npc-contacts > span { min-height: 64px; font-size: 22px; }
}
@media (min-width: 1180px) {
    body .search-results .search-provider-grid.is-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    body .search-results .search-provider-grid.is-list .search-provider-card.nafe3-profile-card { grid-template-columns: minmax(0, 1fr) 150px !important; gap: 16px 18px !important; padding: 20px !important; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-portrait > a { width: 150px; height: 150px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-info h3 { font-size: 25px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-specialty { font-size: 16px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-badge { font-size: 12px; padding: 7px 10px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-profile { font-size: 17px; padding-inline: 30px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-profile b { font-size: 16px; }
    .search-provider-grid.is-list .nafe3-profile-card .npc-contacts > a,
    .search-provider-grid.is-list .nafe3-profile-card .npc-contacts > span { font-size: 17px; }
}
@media (max-width: 600px) {
    body .search-results .search-provider-grid .search-provider-card.nafe3-profile-card,
    body .search-results .search-provider-grid.is-grid .search-provider-card.nafe3-profile-card { grid-template-columns: minmax(0, 1fr) 96px !important; gap: 14px !important; padding: 16px !important; border-radius: 20px !important; }
    .nafe3-profile-card .npc-metrics { grid-column: 1 / -1; }
    .nafe3-profile-card .npc-favorite, .nafe3-profile-card .npc-rating { height: 34px; min-width: 66px; font-size: 14px; padding: 0 10px; gap: 7px; }
    .nafe3-profile-card .npc-portrait { grid-row: 2; align-self: start; margin-top: 5px; }
    .nafe3-profile-card .npc-portrait > a, .search-provider-grid.is-grid .nafe3-profile-card .npc-portrait > a { width: 96px; height: 96px; padding: 3px; }
    .nafe3-profile-card .npc-badge, .search-provider-grid.is-grid .nafe3-profile-card .npc-badge { font-size: 9px; padding: 5px 6px; gap: 3px; max-width: 116px; }
    .nafe3-profile-card .npc-badge .material-symbols-rounded { font-size: 16px; }
    .nafe3-profile-card .npc-info h3, .search-provider-grid.is-grid .nafe3-profile-card .npc-info h3 { font-size: 21px; }
    .nafe3-profile-card .npc-specialty { font-size: 13px; margin-bottom: 10px; }
    .nafe3-profile-card .npc-pills { gap: 6px; }
    .nafe3-profile-card .npc-pills > span { font-size: 10px; min-height: 29px; padding: 4px 9px; gap: 5px; }
    .nafe3-profile-card .npc-pills .material-symbols-rounded { font-size: 18px; }
    .nafe3-profile-card .npc-location { margin-top: 11px; font-size: 12px; gap: 4px; }
    .nafe3-profile-card .npc-profile { grid-column: 1 / -1; font-size: 17px; min-height: 49px; }
    .nafe3-profile-card .npc-contacts { gap: 7px; }
    .nafe3-profile-card .npc-contacts > a, .nafe3-profile-card .npc-contacts > span { min-height: 48px; font-size: 13px; gap: 5px; border-radius: 12px; }
    .nafe3-profile-card .npc-contacts .material-symbols-rounded, .nafe3-profile-card .npc-contacts svg { font-size: 21px; width: 21px; height: 21px; }
}
