/* Dış klinik profili: ortak katalog ve yönetim ekranlarından bağımsızdır. */
.clinic-profile :is(a, button, input):focus-visible {
  outline: 2px solid #475569;
  outline-offset: 3px;
}
.clinic-profile #serviceSearch { border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; font-size: 14px; }
.clinic-profile #shareBtn { min-height: 40px; border: 1px solid #111827; }
.clinic-profile #loadMoreReviews { border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; font-size: 14px; }
.clinic-profile .clinic-hero-logo { object-fit: contain; background: #fff; }
.clinic-profile .tab-menu { margin: 0; padding: 12px 0 0; gap: 8px 18px; font-size: 14px; }
.clinic-profile .tab-menu li { margin: 0; }

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.service-card, .clinic-expert-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .03);
}

.service-card { position: relative; color: #0f172a; transition: border-color .18s ease, box-shadow .18s ease; }
.service-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 14px rgba(15, 23, 42, .06); }
.service-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media heading" "media actions";
  grid-template-rows: 1fr auto;
  min-height: 184px;
  align-items: start;
}
.service-media { grid-area: media; position: relative; min-width: 0; align-self: stretch; overflow: hidden; border-radius: 14px 0 0 14px; background: #f8fafc; }
.service-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.service-open { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.service-open::after { content: ''; position: absolute; inset: 0; border-radius: 14px; cursor: pointer; }
.service-open:focus-visible::after { outline: 2px solid #475569; outline-offset: 3px; }
.service-heading { grid-area: heading; min-width: 0; padding: 18px 18px 10px; }
.service-name { font-size: 16px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.service-meta { display: flex; flex: 1 0 auto; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.service-duration { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #475569; white-space: nowrap; }
.service-duration svg { width: 14px; height: 14px; flex-shrink: 0; }
.service-price { font-size: 15px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.service-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 12px; padding: 0 16px 14px; }
.service-actions .service-book { flex-shrink: 0; margin-left: auto; }

/* Gerçek fotoğraf olmayan hizmetler için hafif, sabit dekoratif desenler. */
.service-media--pattern { display: grid; place-items: center; color: #829992; background: #f0f5f2; }
.service-media--pattern svg { width: 76px; max-width: 65%; height: auto; }
.service-pattern--1, .service-pattern--5 { color: #8798aa; background: #f0f3f7; }
.service-pattern--2, .service-pattern--6 { color: #a5967b; background: #f7f4ee; }
.service-pattern--3, .service-pattern--7 { color: #8b9d9f; background: #f0f5f5; }
.service-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 40px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.service-book svg { width: 18px; height: 18px; flex-shrink: 0; }
.service-card .service-book { position: relative; z-index: 1; }
.service-book { padding: 8px 14px; border: 1px solid #111827; background: #111827; color: #fff; }
.service-book:hover { background: #253044; }
.clinic-expert-card [data-toggle="expert-services"] { min-height: 40px; background: #fff; border: 1px solid #e2e8f0; color: #334155; }

.clinic-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .18s ease; }
.clinic-gallery a:hover img { transform: scale(1.03); }

/* Ortak sağ panel / alt panel bileşeni; yalnızca hizmet içeriği özelleştirilir. */
.service-sheet { z-index: 10000; }
.service-sheet .notet-sheet__panel:focus { outline: none; }
.service-sheet .notet-sheet__close { font-size: 26px; }
.service-sheet .notet-sheet__body { overflow-wrap: anywhere; }
.service-sheet .catalog-gallery { margin-bottom: 20px; }
.service-sheet__name { margin: 0; font-size: 21px; font-weight: 650; line-height: 1.4; }
.service-sheet__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 8px; font-size: 14px; color: #64748b; }
.service-sheet__meta strong { color: #111827; font-size: 16px; font-weight: 600; }
.service-sheet__description { margin: 20px 0 0; white-space: pre-line; font-size: 14px; line-height: 1.75; color: #475569; }
.service-sheet__experts { margin-top: 24px; padding-top: 20px; border-top: 1px solid #e5e7eb; }
.service-sheet__experts h4 { margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.service-sheet .service-experts-grid { grid-template-columns: minmax(0, 1fr); }
.service-sheet .service-expert-card { padding: 12px; border: 1px solid #e5e7eb; border-radius: 10px; }
.service-expert-book, .service-sheet__dismiss { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #334155; font-size: 13px; font-weight: 500; text-align: center; }
.service-sheet .notet-sheet__footer > * { min-height: 44px; }
.service-sheet__rating { margin-top: 4px; color: #64748b; font-size: 12px; }
.service-sheet__rating > span:first-child { color: #f59e0b; }
.clinic-profile .appointment-modal { z-index: 10020; }

@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .service-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .service-meta { flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; }
  .service-actions .service-book { width: 100%; margin-left: 0; }
}
@media (max-width: 479px) {
  .clinic-profile .hero-hours__row { flex-direction: column; align-items: flex-start; }
  .service-heading { padding: 14px 12px 10px; }
  .service-actions { padding: 0 12px 12px; }
  .service-price { font-size: 14px; }
  .service-name { font-size: 15px; }
  .service-expert-card { gap: 8px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .clinic-profile *, .clinic-profile *::before, .clinic-profile *::after { scroll-behavior: auto !important; transition: none !important; }
}
