/* ==========================================================================
   Cardiology — şablon (style.css) üzerine küçük eklemeler
   Şablon dosyalarına dokunulmaz; tüm özelleştirmeler burada tutulur.
   ========================================================================== */

/* Üst menüde sepet yerine kullanılan "Hasta Girişi" bağlantısı buton gibi görünsün */
.header-button a.icon-btn { display: inline-flex; align-items: center; justify-content: center; }

/* ------------------------------ Logo ------------------------------
   Yüklenen logo hangi boyutta olursa olsun şablondaki alana (250×60) sığar;
   menüyle çakışmaz, oranı korunur. */
.header-logo img, .mobile-logo img, .about-logo img, .preloader-inner > img {
  width: auto; height: auto; max-width: 250px; max-height: 60px; object-fit: contain;
}
.header-layout4 .header-logo { flex: none; }
.header-layout4 .header-logo a { display: block; line-height: 0; }
@media (max-width: 1399px) { .header-layout4 .header-logo img { max-width: 220px; max-height: 54px; } }
@media (max-width: 1199px) { .header-layout4 .header-logo img { max-width: 190px; max-height: 48px; } }
@media (max-width: 575px)  { .header-logo img, .mobile-logo img { max-width: 170px; max-height: 44px; } }

/* Logo bandındaki bağlantısız logolar */
.brand-item a:not([href]) { cursor: default; }

/* Geçici "hazırlanıyor" iç sayfası */
.coming-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.coming-inner .box-icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--smoke-color5); color: var(--theme-color); font-size: 38px; }
.coming-inner .sec-text { margin-bottom: 30px; }

/* Türkçe menü etiketleri İngilizceden uzun: orta genişlikte menü ve butonlar tek satırda kalsın */
@media (max-width: 1399px) {
  .header-layout4 .main-menu > ul > li { margin: 0 10px; }
  .header-layout4 .header-logo { padding-right: 60px; }
}
@media (max-width: 1299px) {
  .header-layout4 .main-menu > ul > li { margin: 0 7px; }
  .header-layout4 .main-menu a { font-size: 15px; }
}
@media (max-width: 1199px) {
  .header-layout4 .main-menu > ul > li { margin: 0 6px; }
  .header-layout4 .header-logo { padding-right: 36px; }
}

/* ------------------------------ Formlar ------------------------------ */
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-group .field-error { display: block; color: var(--error-color); font-size: 14px; margin-top: 6px; line-height: 1.4; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--error-color) !important; }
.form-messages:empty { display: none; }
.form-messages.success, .form-messages.error { padding: 14px 18px; border-radius: 10px; font-size: 15px; line-height: 1.5; }
.form-messages.success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.form-messages.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.kvkk-check label a { color: var(--theme-color); text-decoration: underline; }
.kvkk-check .field-error { margin-left: 30px; }
.form-note { font-size: 14px; color: var(--body-color); margin: 0 0 6px; }
.widget-form .kvkk-check label { font-size: 14px; line-height: 1.5; }
.appointment-form input[type="date"] { padding-right: 20px; }
.service-meta a.rating { color: inherit; }

/* Yönetim panelinden gelen zengin metin */
.rich-content p:last-child { margin-bottom: 0; }
.rich-content ul { padding-left: 20px; margin-bottom: 20px; }
.rich-content ul li { margin-bottom: 6px; }
.rich-content h4 { margin-top: 30px; }
.blog-empty { padding: 40px; border-radius: 20px; background: var(--smoke-color2); }

/* ------------------------------ Çerez bildirimi ------------------------------ */
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 99; max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; background: var(--title-color); color: #fff;
  box-shadow: 0 20px 40px rgba(28,35,89,.25); font-size: 15px; line-height: 1.5; }
.cookie-bar[hidden] { display: none; }
.cookie-bar a { color: #fff; text-decoration: underline; }
.cookie-bar .th-btn { flex: none; padding: 12px 22px; min-width: 0; }
@media (max-width: 575px) { .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; } }
