/* =========================================================
   Birine Danış Sigorta - statik site düzeltmeleri
   (tema CSS'inden sonra yüklenir)
   ========================================================= */

:root {
  --bd-yesil: #16606e;
  --bd-kirmizi: #d62828;
  --bd-koyu: #1d2b3a;
  --bd-gri: #6b7785;
  --bd-cizgi: #e3e8ee;
}

html, body { overflow-x: clip; }
img { max-width: 100%; }

/* ---------- 1) Mobil header: logo sütunu taşıyordu ---------- */
@media (max-width: 768px) {
  .bs-header { width: 100%; max-width: 100vw; box-sizing: border-box; }
  .bs-header__inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    box-sizing: border-box;
  }
  .bs-header__logo img { max-width: 160px; height: auto; }
  .bs-header__right { justify-self: end; }
}
@media (max-width: 360px) {
  .bs-header__logo img { max-width: 136px; }
}

/* ---------- 2) Sepet çekmecesi (sigorta sitesinde kullanılmıyor) ---------- */
#shopify-section-cart-drawer, cart-drawer { display: none !important; }

/* ---------- 3) WhatsApp + yukarı çık butonu ---------- */
/* WhatsApp bölümünün kendi boşluğu footer üstünde gereksiz beyaz alan bırakıyordu */
[class*="custom_liquid_hHgUK9-padding"] { padding: 0 !important; }
.whatsapp-float { bottom: 18px !important; right: 16px !important; }
.whatsapp-float a { transition: transform .15s ease, box-shadow .15s ease; }
.whatsapp-float a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.scroll-to-top-btn { bottom: 84px !important; }
@media (max-width: 600px) {
  /* mobilde yalnızca ikon: form alanlarının üstünü kapatmasın */
  .whatsapp-float a { width: 54px; height: 54px; padding: 0 !important; justify-content: center; font-size: 0 !important; gap: 0 !important; }
  .whatsapp-float img { width: 28px !important; height: 28px !important; }
  .scroll-to-top-btn { bottom: 82px !important; right: 20px !important; }
}

/* ---------- 4) Anlaşmalı şirket logoları: hepsi aynı görsel ağırlıkta ---------- */
.bd-partners img {
  width: 100%;
  max-width: 150px;
  height: 64px;
  object-fit: contain;
}

/* ---------- 5) Form durumları ---------- */
.bd-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.bd-gecersiz input:not([type=checkbox]),
input[aria-invalid="true"]:not([type=checkbox]),
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--bd-kirmizi) !important;
  box-shadow: 0 0 0 3px rgba(214, 40, 40, .12) !important;
}
.idea-input.bd-gecersiz { border-color: var(--bd-kirmizi) !important; }
.bd-hata {
  color: var(--bd-kirmizi);
  font-size: 12.5px;
  line-height: 1.4;
  margin: 5px 2px 2px;
  font-weight: 500;
  text-align: left;
}
.bd-sonuc {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 16px;
  outline: none;
  grid-column: 1 / -1;
  text-align: left;
}
.bd-sonuc--ok { background: #e8f6ee; color: #146c3c; border: 1px solid #b9e3c9; }
.bd-sonuc--hata { background: #fdecec; color: #a11d1d; border: 1px solid #f5c2c2; }
.bd-sonuc__ikon {
  flex: 0 0 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff;
  background: currentColor;
}
.bd-sonuc__ikon { color: inherit; }
.bd-sonuc--ok .bd-sonuc__ikon { background: #1f9254; color: #fff; }
.bd-sonuc--hata .bd-sonuc__ikon { background: var(--bd-kirmizi); color: #fff; }

button.bd-yukleniyor { opacity: .75; cursor: progress !important; position: relative; }
button.bd-yukleniyor::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: bd-don .7s linear infinite;
}
@keyframes bd-don { to { transform: rotate(360deg); } }

/* checkbox metinleri ve linkleri */
.contact-page__checkbox, .idea-kvkk, .sigorta-teklif-clean__checkbox { cursor: pointer; }
.contact-page__checkbox a, .idea-kvkk a, .sigorta-teklif-clean__checkbox a { text-decoration: underline; text-underline-offset: 2px; }
input[type=checkbox] { accent-color: var(--bd-kirmizi); }

/* Ürün sayfası formu: ikonlar emoji yerine sabit genişlikte */
.idea-input > span:first-child { width: 22px; text-align: center; flex: 0 0 22px; }

/* ---------- 6) Yeni footer ---------- */
.bd-footer {
  background: #1b2a44;
  color: #c9d3e0;
  padding: 56px 0 0;
  font-size: 14px;
  line-height: 1.7;
}
.bd-footer__ic {
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  display: grid; gap: 36px 32px;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
}
.bd-footer h3 { color: #fff; font-size: 15px; letter-spacing: .02em; margin: 0 0 14px; font-weight: 700; }
.bd-footer ul { list-style: none; padding: 0; margin: 0; }
.bd-footer li { margin: 0 0 7px; }
.bd-footer a { color: #c9d3e0; text-decoration: none; transition: color .15s; }
.bd-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bd-footer__logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.bd-footer__logo img { display: block; height: 40px; width: auto; }
.bd-footer__iletisim li { display: flex; gap: 10px; align-items: flex-start; }
.bd-footer__iletisim svg { flex: 0 0 18px; margin-top: 4px; opacity: .8; }
.bd-footer__cta {
  display: inline-block; margin-top: 10px; background: var(--bd-kirmizi); color: #fff !important;
  padding: 10px 18px; border-radius: 8px; font-weight: 700; text-decoration: none !important;
}
.bd-footer__alt {
  margin-top: 44px; border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 20px 22px; text-align: center; font-size: 12.5px; color: #93a1b3;
}
.bd-footer__alt a { color: #93a1b3; }
.bd-footer__alt > span + span::before { content: "·"; margin: 0 10px; }
@media (max-width: 990px) {
  .bd-footer__ic { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bd-footer { padding-top: 40px; }
  .bd-footer__ic { grid-template-columns: 1fr; gap: 28px; }
  .bd-footer__alt { padding-bottom: 90px; } /* WhatsApp butonu altta metni kapatmasın */
  .bd-footer__alt > span { display: block; margin-bottom: 4px; }
  .bd-footer__alt > span + span::before { content: none; }
}
/* eski Shopify footer'ı (sadece telif satırı) gizlenir; yeni footer onun yerini alır */
#shopify-section-sections--20857845579914__footer, .shopify-section-group-footer-group .footer { display: none !important; }

/* ---------- 7) Blog boş durumu ---------- */
.bd-bos {
  max-width: 640px; margin: 10px auto 60px; padding: 36px 24px; text-align: center;
  background: #f5f8fa; border: 1px solid var(--bd-cizgi); border-radius: 16px; color: var(--bd-gri);
}
.bd-bos h2 { color: var(--bd-koyu); font-size: 20px; margin: 0 0 8px; }
.bd-bos a { display: inline-block; margin-top: 16px; background: var(--bd-kirmizi); color: #fff; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 700; }

/* ---------- 8) Yasal metin sayfaları ---------- */
.bd-yasal { max-width: 860px; margin: 0 auto; padding: 48px 20px 72px; color: #34414f; font-size: 15px; line-height: 1.75; }
.bd-yasal h1 { font-size: clamp(26px, 4vw, 36px); color: var(--bd-koyu); margin: 0 0 6px; line-height: 1.2; }
.bd-yasal .bd-yasal__tarih { color: var(--bd-gri); font-size: 13px; margin-bottom: 28px; }
.bd-yasal h2 { font-size: 19px; color: var(--bd-koyu); margin: 32px 0 10px; }
.bd-yasal ul { padding-left: 20px; }
.bd-yasal li { margin-bottom: 6px; }
.bd-yasal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
.bd-yasal td, .bd-yasal th { border: 1px solid var(--bd-cizgi); padding: 8px 10px; text-align: left; vertical-align: top; }
.bd-yasal th { background: #f5f8fa; }
.bd-yasal__not { background: #fff8e6; border: 1px solid #f2dfa7; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }

/* ---------- 9) Teşekkür / 404 sayfaları ---------- */
.bd-mesaj-sayfa { max-width: 620px; margin: 0 auto; padding: 80px 20px 100px; text-align: center; }
.bd-mesaj-sayfa__ikon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff; background: #1f9254; }
.bd-mesaj-sayfa--404 .bd-mesaj-sayfa__ikon { background: var(--bd-yesil); font-size: 22px; font-weight: 800; }
.bd-mesaj-sayfa h1 { font-size: clamp(26px, 4vw, 34px); color: var(--bd-koyu); margin: 0 0 10px; }
.bd-mesaj-sayfa p { color: var(--bd-gri); font-size: 16px; line-height: 1.6; }
.bd-mesaj-sayfa__butonlar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.bd-mesaj-sayfa__butonlar a { padding: 12px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.bd-btn-ana { background: var(--bd-kirmizi); color: #fff; }
.bd-btn-ikincil { border: 1px solid var(--bd-cizgi); color: var(--bd-koyu); background: #fff; }

/* ---------- 10) Erişilebilirlik: klavye odağı görünür olsun ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bd-yesil) !important;
  outline-offset: 2px;
}
