/*
 * BEF Agency — tasarim duzeltmeleri (2026-12-03)
 * style.css'ten sonra yuklenir. Geri almak icin theme/static/top.php icindeki bef-fixes.css satirini silin.
 */

/* ---------- 1. Okunabilirlik / kontrast (WCAG AA 4.5:1) ---------- */
.color-gray-500 { color: #5A6D96 !important; }          /* onceki #8C9EC5: 2.4:1 */
.color-gray-700 { color: #4D5F87 !important; }          /* onceki #6B83B6: 3.4:1 */
.color-success  { color: #0F7A42 !important; }          /* ust cubuktaki telefon: onceki 2.1:1 */
.form-control::placeholder,
input::placeholder,
textarea::placeholder { color: #64748B !important; opacity: 1; }
.breadcrumbs-div .breadcrumb a { color: #5A6D96; }
.breadcrumbs-div .breadcrumb li:first-child a { color: #081F5C; }
.bef-link { color: #0A6FA8; text-decoration: underline; text-underline-offset: 2px; }
.bef-link:hover { color: #081F5C; }
.button-whatsapp,
.btn.button-whatsapp {
  background-color: #0F7A42 !important;                  /* onceki #25D366 uzerinde beyaz: 2:1 */
  border-color: #0F7A42 !important;
  color: #FFFFFF !important;
}
.button-whatsapp:hover { background-color: #0B5E33 !important; border-color: #0B5E33 !important; }
.alertify-notifier .ajs-message.ajs-error { background: #C81E1E !important; color: #fff !important; }
.alertify-notifier .ajs-message.ajs-success { background: #0F7A42 !important; color: #fff !important; }
.footer .icon-socials, footer .icon-socials { opacity: 1; filter: none; }
footer .icon-socials { background-color: #081F5C; border-radius: 50%; }

/* ---------- 2. Baslik hiyerarsisi: H1'ler eski boyutlarini korur ---------- */
h1.bef-as-h3 { font-size: 32px; line-height: 41px; }
h1.bef-as-h2 { font-size: 45px; line-height: 58px; }
.bef-page-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  color: #081F5C;
  margin: 10px 0 18px;
}
h1.bef-product-title { font-size: 32px; line-height: 41px; }
@media (max-width: 767.98px) {
  h1.bef-as-h3, h1.bef-product-title { font-size: 22px; line-height: 31px; }
  h1.bef-as-h2 { font-size: 26px; line-height: 34px; }
  .bef-page-title { font-size: 22px; line-height: 30px; margin: 4px 0 12px; }
}

/* ---------- 3. Ust bilgi / rozetler ---------- */
.number-item.is-zero { display: none !important; }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .header .header-search { margin-left: 18px; }          /* tablette logo arama kutusuna yapisikti */
  .header .header-logo img { width: 130px; height: auto; }
}

/* ---------- 4. Mobil menu ---------- */
.mobile-header-wrapper-style .mobile-logo { padding-right: 48px; }   /* kapat (X) butonu logonun ustune biniyordu */
.mobile-header-wrapper-style .mobile-logo img { max-width: 150px; height: auto; }
.bef-mobile-extra { border-top: 1px solid #D5DFE4; padding-top: 18px; }
.bef-mobile-phone { display: inline-block; font-weight: 600; padding: 8px 0; }
.bef-mobile-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.bef-mobile-langs a {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 12px;
  border: 1px solid #D5DFE4; border-radius: 20px;
  font-size: 14px; color: #081F5C;
}
.bef-mobile-langs a.active { border-color: #081F5C; background: #081F5C; color: #fff; }

/* Yuzen dil butonu kaldirildi (mobilde icerigi kapatiyordu) */
.language-menu { display: none !important; }

/* ---------- 5. Urun kartlari ---------- */
.card-grid-style-3 { margin-bottom: 24px; }
@media (max-width: 575.98px) {
  /* mobilde tek sutun yerine iki sutun: sayfa boylari ~%55 kisalir */
  .list-products-5 .card-grid-style-3 { width: 50% !important; padding: 5px !important; margin-bottom: 0; }
  .bef-product-col { padding-left: 5px; padding-right: 5px; }
  .bef-product-col .card-grid-style-3 { height: auto !important; margin-bottom: 10px; }
  .card-grid-style-3 .card-grid-inner { padding: 10px !important; }
  .card-grid-style-3 .card-grid-inner .image-box { height: 120px !important; line-height: 120px !important; margin-bottom: 8px !important; }
  .card-grid-style-3 .card-grid-inner .image-box img { max-height: 110px; width: auto; }
  .card-grid-style-3 .product-description { display: none !important; }
  .card-grid-style-3 .product-title,
  .card-grid-style-3 .info-right .font-sm-bold { font-size: 13px !important; line-height: 18px !important; }
  .card-grid-style-3 .info-right > br { display: none; }
  .card-grid-style-3 .info-right .font-xs { display: block; margin-bottom: 4px; }
  .card-grid-style-3 .box-btn-cart { margin-top: 10px !important; }
  .card-grid-style-3 .btn-cart { font-size: 12px; padding: 8px 4px; }
  .card-grid-style-3 .tools { top: 6px; right: 6px; }
  /* style.css sonundaki min-height:450px + mutlak konumlu buton mobilde bos alan birakiyordu */
  .card-grid-style-3 { min-height: 0 !important; }
  .card-grid-style-3 .mt-20.box-btn-cart { position: static !important; margin-top: auto !important; padding-top: 10px; }
}
.bef-mobile-cats select { height: 44px; }

/* ---------- 6. Urun detay ---------- */
.bef-rich ul { list-style: disc; padding-left: 22px; margin: 0 0 2px; }
.bef-rich ul li { list-style: disc; font-size: 15px; line-height: 24px; color: #253D4E; }
.bef-rich p { margin: 16px 0 6px; }
.bef-rich p:first-child { margin-top: 4px; }
.bef-rich p strong { color: #081F5C; }
.bef-rich table { width: 100%; max-width: 720px; border-collapse: collapse; margin: 10px 0; }
.bef-rich td, .bef-rich th { border: 1px solid #E5EAF2; padding: 8px 10px; font-size: 14px; }

/* ---------- 7. Sayfalama marka renginde ---------- */
.pagination .page-item.active .page-link,
.pagination .page-link.active {
  background-color: #081F5C !important;
  border-color: #081F5C !important;
  color: #fff !important;
}
.pagination .page-link { color: #081F5C; }

/* ---------- 8. Iletisim: harita formla hizali ---------- */
@media (min-width: 992px) {
  .bef-map-offset { margin-top: 60px; }
}

/* ---------- 9. Blog icerigi ---------- */
.content-text ul, .content-text ol { padding-left: 22px; margin: 8px 0 14px; }
.content-text ul li { list-style: disc; }
.content-text ol li { list-style: decimal; }
.content-text li { font-size: inherit; line-height: 1.7; margin-bottom: 4px; }
.content-text p { margin-bottom: 14px; }

/* ---------- 10. Altbilgi (mobil imza hizasi) ---------- */
@media (max-width: 767.98px) {
  .footer-bottom .bef-credit, footer .bef-credit { justify-content: center; margin-left: auto; margin-right: auto; }
}
