/* Dubaide.com - F4 tema düzeltmeleri (styles.css'e dokunmadan). Masaüstü görünümünü değiştirmez. */

/* Erişilebilirlik: klavye odağı ve "içeriğe geç" bağlantısı */
.skip-link { position: absolute; left: 8px; top: 8px; z-index: 10000; background: #014398; color: #fff; padding: 8px 14px; border-radius: 4px; }
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
a:focus-visible, button:focus-visible, .nav-toggle:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #017efa; outline-offset: 2px; }
button.mod-close { cursor: pointer; }

/* h4/h1 değişimi: eski `.prt-detail-title-desc h4` kuralının karşılığı */
.as-h4 { font-size: 21px; line-height: 26px; margin-bottom: 2px; }
.page-title h1.ipt-title { line-height: 36px; }

/* Breadcrumb (yeni bileşen) */
.site-breadcrumb { background: #f8f9fa; font-size: 14px; }
.site-breadcrumb .breadcrumb { background: transparent; padding-left: 0; padding-right: 0; }

/* Mobil: yatay kaydırmayı engelle */
html, body { max-width: 100%; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }
@media (max-width: 575.98px) {
  .pagination { flex-wrap: wrap; }
  .item-shorting-box { flex-wrap: wrap; gap: 8px; }
  .vshm-cov-caption ul { padding-left: 0; }
}

@media (max-width: 575.98px) {
  .list-fx-fisrt .label { display: inline-block; margin-bottom: 6px; }
}

/* ---- Mobil QA (360-768px) ---- */
/* Arama başlığı: .over-top kapsayıcısı mobilde -130px yukarı çekilip başlıkla çakışıyordu */
@media (max-width: 991.98px) {
  .over-top .container { top: 0; }
  /* sonuç sayısı artık mavi bandın üstünde değil: beyaz metin görünmüyordu */
  .item-shorting .left-column h4 { color: #1d2a4d !important; }
  .page-title { height: auto; min-height: 96px; padding: 1.5rem 0; }
  /* hero sayaçları: koyu mavi metin fotoğraf üzerinde okunmuyordu */
  .lios-parts { background: rgba(255,255,255,.88); border-radius: 8px; padding: 4px 10px; display: inline-block; }
  .navigation-portrait .nav-menu > li > a { min-height: 44px; }
  .nav-toggle { width: 44px; height: 44px; margin-top: -22px; left: -8px; }
  .nav-toggle:before { left: 10px; top: 14px; }
}
/* Üst menü CTA: 360px'te iki satıra kırılmasın */
@media (max-width: 575.98px) {
  .mobile_nav ul li { margin-left: .5rem; }
  .mobile_nav ul li a { white-space: nowrap; padding: .8rem 1rem; font-size: 15px; display: inline-flex; align-items: center; }
  .nav-header .nav-brand { max-width: 150px; }
}
/* iOS otomatik yakınlaştırmayı önle + dokunma hedefi >= 44px */
@media (max-width: 767.98px) {
  .form-control, .form-select, .nice-select { font-size: 16px; min-height: 44px; }
  textarea.form-control { min-height: 96px; }
  .btn { min-height: 44px; }
  .footer-menu li a { display: inline-flex; align-items: center; min-height: 44px; }
  .page-title .ipn-subtitle { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
  .page-title .ipt-title { text-shadow: 0 1px 3px rgba(0,0,0,.5); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---- Mobil QA 2 (gerçek veri: liste kartları, ilan detayı, galeri) ---- */
.site-breadcrumb .breadcrumb { flex-wrap: wrap; }
.vesh-detail-headup-first .prt-detail-title-desc h1 { overflow-wrap: anywhere; }
.veshm-list-wraps .rlhc-title-name, .rlhc-prt-location { overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
  /* 16 noktalı "benzer" slaytında 44px hedef sığmaz: noktalar gizli, kaydırma ile gezilir */
  .similar-slide .slick-dots, .property-slide .slick-dots, .side-slide .slick-dots { display: none !important; }
  /* dokunma hedefleri */
  .site-breadcrumb .breadcrumb-item a { display: inline-block; padding: 12px 0; }
  .site-breadcrumb .breadcrumb-item { display: inline-flex; align-items: center; }
  .page-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .form-check-input { width: 24px; height: 24px; margin-top: 0; }
  .form-check-label { min-height: 44px; display: inline-block; padding: 8px 0 8px 6px; }
  /* fiyat satırı: etiket fiyatın altında sola hizalı */
  .vesh-detail-headup-last .label { float: none !important; display: inline-block; }
  .prt-price-fix { overflow-wrap: anywhere; }
}
@media (max-width: 991.98px) {
  a.prt-link-detail { display: inline-flex; align-items: center; min-height: 44px; }
  .veshm-list-prty-caption > div > a { display: inline-flex; align-items: center; min-height: 44px; }
  .btn.btn-like { min-width: 44px; min-height: 44px; }
  .site-breadcrumb .breadcrumb-item a { display: inline-block; padding: 12px 0; }
  .site-breadcrumb .breadcrumb-item { display: inline-flex; align-items: center; }
}
@media (max-width: 991.98px) {
  .similar-slide .slick-dots, .property-slide .slick-dots, .side-slide .slick-dots { display: none !important; }
  .form-check-input { width: 24px; height: 24px; margin-top: 0; }
  .form-check-label { min-height: 44px; display: inline-block; padding: 8px 0 8px 6px; }
  .footer-menu li a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* Menü JS'i (portrait'e geçiş) gelmeden önce de mobil düzen: başlık yüksekliği değişmesin (CLS) */
@media (max-width: 991.98px) {
  .navigation-landscape .nav-menus-wrapper { display: none; }
  .navigation-landscape .nav-toggle { display: block; }
  .navigation-landscape .nav-header .nav-brand { max-width: 150px; }
  .page-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 991.98px) {
  /* galeri: slick başlamadan önce yer ayır (CLS), başlayınca tek kare 4:3 */
  .featured_slick_gallery-slide:not(.slick-initialized) { overflow: hidden; height: calc((100vw - 32px) * .75); }
  .featured_slick_padd { padding: 0 4px; }
  .featured_slick_padd a.mfp-gallery { display: block; }
  .featured_slick_padd img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .featured_slick_gallery .slick-prev, .featured_slick_gallery .slick-next { width: 48px; height: 48px; }
  .featured_slick_gallery .slick-prev { left: 12px; }
  .featured_slick_gallery .slick-next { right: 12px; }
  .nav-header .nav-brand { max-width: 150px; }
}

/* ---- Arama sonuçları başlığı ----
   .over-top içeriği 130px yukarı çekilip mavi bandın üstüne biner. Band 180px sabit ve araya ayrı breadcrumb
   şeridi girince "toplam X sonuç" (beyaz metin) bandın alt sınırına düşüyor, breadcrumb kartların altında kalıyordu.
   Breadcrumb bandın içinde; band yüksekliği içeriğe göre, altta bindirme payı kadar boşluk. */
.page-title--listing { display: block; height: auto; }
.page-title--listing .site-breadcrumb { background: transparent; font-size: 14px; }
.page-title--listing .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255,255,255,.6);
  --bs-breadcrumb-item-active-color: rgba(255,255,255,.85);
}
.page-title--listing .breadcrumb-item a { color: #fff; text-decoration: none; }
.page-title--listing .breadcrumb-item a:hover { text-decoration: underline; }
@media (min-width: 992px) {
  .page-title--listing { padding: 32px 0 84px; }
  .over-top .item-shorting .left-column h4 { line-height: 38px; }
}

/* Detay fiyatı: üstte küçük AED, altında TL büyük, kalın, tema mavisi (#014398). Temanın `.prt-price-fix span` (12px) kuralını ezer. */
.prt-price-fix .price-tl { display: block; font-size: 24px; font-weight: 800; line-height: 1.3; color: #014398; white-space: nowrap; }
.prt-price-fix .price-aed { display: block; font-size: 13px; font-weight: 500; line-height: 1.4; color: #687b96; }
@media (max-width: 767.98px) {
  /* mobilde detay başlığı sola hizalı: AED ve TL de aynı hizada başlasın */
  .prt-price-fix { text-align: left; }
}
