/* ═══ Specialists — Search Bar ═══ */
.searchBar { max-width: 1440px; margin: -30px auto 0; padding: 0 24px; position: relative; z-index: 10; }
.searchBarInner { display: flex; align-items: center; gap: 16px; background: #fff; padding: 16px 24px; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.searchInput { flex: 1; padding: 12px 18px; border: 2px solid var(--gray-border); border-radius: 50px; font-size: 15px; font-family: inherit; color: var(--text); outline: none; transition: border-color 0.3s; }
.searchInput:focus { border-color: var(--teal); }
.searchInput::placeholder { color: #aaa; }
.searchCount { font-size: 13px; color: var(--text-light); margin-left: auto; white-space: nowrap; }

/* ═══ Specialists — Filter Tabs ═══ */
.filterSection { max-width: 1440px; margin: 16px auto 0; padding: 0 24px; }
.filterTabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filterTab { padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.25s; border: 2px solid var(--gray-border); color: var(--text-mid); background: #fff; white-space: nowrap; font-family: inherit; }
.filterTab:hover { border-color: var(--teal); color: var(--teal); }
.filterTab.active { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ═══ Specialists — Doctors Grid ═══ */
.doctorsSection { max-width: 1440px; margin: 0 auto; padding: 36px 24px 50px; }
.doctorsGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.doctorCard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: all 0.35s; text-decoration: none; display: flex; flex-direction: column; border: 1px solid var(--gray-border); position: relative; }
.doctorCard:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(255,107,0,0.18); border-color: var(--teal); }
.doctorCard.hidden { display: none; }
.doctorImgWrap { position: relative; overflow: hidden; }
.doctorImg { width: 100%; height: 300px; object-fit: cover; object-position: top; display: block; transition: transform 0.5s ease; }
.doctorCard:hover .doctorImg { transform: scale(1.05); }
.doctorImgWrap::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(transparent, rgba(0,0,0,0.06)); pointer-events: none; }
.doctorBadge { position: absolute; top: 10px; left: 10px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 6px; letter-spacing: 0.3px; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.doctorBody { padding: 16px 16px 14px; flex: 1; display: flex; flex-direction: column; text-align: left; }
.doctorName { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.35; }
.doctorSpec { font-size: 11px; color: var(--teal); font-weight: 600; margin-bottom: 10px; }
.doctorMeta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--gray-border); }
.doctorMetaItem { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-light); background: var(--gray-bg); padding: 3px 8px; border-radius: 6px; }
.doctorMetaItem svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--teal); }
.doctorPrice { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--gray-bg); border-top: 1px solid var(--gray-border); }
.doctorPriceLabel { font-size: 11px; color: var(--text-light); }
.doctorPriceValue { font-size: 16px; font-weight: 800; color: var(--navy); }
.doctorCta { display: block; margin: 0; padding: 12px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 700; text-align: center; border: none; cursor: pointer; transition: all 0.3s; border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); }
.doctorCta:hover { background: var(--teal-dark); letter-spacing: 0.5px; }

/* ═══ Responsive ═══ */
@media (max-width: 1200px) {
  .doctorsGrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .doctorsGrid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .doctorImg { height: 240px; }
}
@media (max-width: 600px) {
  .doctorsGrid { grid-template-columns: 1fr; }
  .searchBarInner { flex-direction: column; gap: 8px; }
  .searchCount { margin-left: 0; }
}
