/* LIVE MOBILE HEADER FIX ACTIVE - 20260603-mobile-header-web-mini-menu-1 */
/* Ayrı mobil header ayarları. Bu dosya sadece mobil başlığı etkiler. */
/* Üst satır: telefon ve dil alanının mobilde nerede görüneceğini ayarlar. */
/* Ana satır: soldaki logo ve SIFLA TURİZM yazısını, sağdaki menü butonunu kontrol eder. */
/* Logo boyutu: ana logonun ne kadar büyük/küçük görüneceğini belirler. */
/* Yazı boyutu: SIFLA TURİZM metninin daha kompakt ya da daha geniş görünmesini ayarlar. */
/* Menü butonu: sağdaki gold kutunun boyutunu ve ikon ölçüsünü belirler. */
/* Sticky / scrolled durum: başlık kaydırılınca uygulanacak sıkı mobil ölçüler. */
/* Küçük ekranlar: dar telefonlarda ek sıkıştırma ve taşmayı önleme ayarları. */
@media (max-width: 767.98px) {
  body.frontend-site header.header-type-2,
  body.frontend-site header.header-type-2.is-scrolled,
  body.frontend-site header.header-type-2.sticky-header,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header {
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(7, 21, 35, 0.12) !important;
    transform: none !important;
  }

  body.frontend-site header.header-type-2 .bottom-header,
  body.frontend-site header.header-type-2.is-scrolled .bottom-header,
  body.frontend-site header.header-type-2.sticky-header .bottom-header,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .bottom-header {
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    background: transparent !important;
  }

  body.frontend-site header.header-type-2 .bottom-header .container,
  body.frontend-site header.header-type-2.is-scrolled .bottom-header .container,
  body.frontend-site header.header-type-2.sticky-header .bottom-header .container,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .bottom-header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 8px 6px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  body.frontend-site header.header-type-2 .inner,
  body.frontend-site header.header-type-2.is-scrolled .inner,
  body.frontend-site header.header-type-2.sticky-header .inner,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.frontend-site header.header-type-2 .wrapper.sifla-desktop-header-tools,
  body.frontend-site header.header-type-2.is-scrolled .wrapper.sifla-desktop-header-tools,
  body.frontend-site header.header-type-2.sticky-header .wrapper.sifla-desktop-header-tools,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .wrapper.sifla-desktop-header-tools {
    display: none !important;
  }

  /* Mobil header kabuğu: sadece mobilde görünen ayrı yapı. */
  body.frontend-site .sifla-mobile-header-shell,
  body.frontend-site .sifla-mobile-header {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Mobilde web menü linkleri görünmez, sadece hamburger toggle kalır. */
  body.frontend-site header.header-type-2 .site-menu,
  body.frontend-site header.header-type-2 .site-menu.d-none,
  body.frontend-site header.header-type-2 .site-menu.d-none.d-xl-flex,
  body.frontend-site header.header-type-2 .desktop-menu,
  body.frontend-site header.header-type-2 .site-menu > li,
  body.frontend-site header.header-type-2 .site-menu > li > a,
  body.frontend-site header.header-type-2 .site-menu .sub-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.frontend-site header.header-type-2 .bottom-header {
    padding: 0 !important;
    overflow: visible !important;
  }

  body.frontend-site header.header-type-2 .bottom-header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 4px !important;
    overflow: visible !important;
  }

  body.frontend-site header.header-type-2 .inner {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  /* Ana satır: solda marka, sağda telefon/dil/menü sütunu. */
  body.frontend-site .sifla-mobile-header-inner,
  body.frontend-site .sifla-mobile-header-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(104px, 28vw, 132px) !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 8px 12px 8px 16px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  /* Marka bloğu: logo ve SIFLA TURİZM yazısı aynı satırda. */
  body.frontend-site .sifla-mobile-header-brand,
  body.frontend-site header.header-type-2 a.sifla-mobile-header-brand.logo.header-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  /* Logo kutusu: soldaki küçük ikonun alanı. */
  body.frontend-site .sifla-mobile-header-brand-logo,
  body.frontend-site .sifla-mobile-header-brand-main {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
  }

  /* Logo görseli: küçük ve net. */
  body.frontend-site .sifla-mobile-header-brand-logo img,
  body.frontend-site .sifla-mobile-header-brand-main img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }

  /* Yazı alanı: SIFLA TURİZM görseli solda logo ile taşmadan yan yana durur. */
  body.frontend-site .sifla-mobile-header-brand-text,
  body.frontend-site .sifla-mobile-header-brand-side {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  /* Marka yazısı: okunur ama kompakt. */
  body.frontend-site .sifla-mobile-header-brand-text img,
  body.frontend-site .sifla-mobile-header-brand-side img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: clamp(106px, 36vw, 148px) !important;
    max-height: 18px !important;
    object-fit: contain !important;
    object-position: left center !important;
    flex-shrink: 1 !important;
  }

  /* Sağ araç sütunu: telefon, dil ve menü tek blokta üst üste. */
  body.frontend-site .sifla-mobile-header-tools {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Telefon alanı: iki satır, sağa hizalı ve küçük. */
  body.frontend-site .sifla-mobile-header-phones {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 1px !important;
  }

  body.frontend-site .sifla-mobile-header-phones .phones {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 1px !important;
    width: 100% !important;
  }

  body.frontend-site .sifla-mobile-header-phones a {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #111827 !important;
    text-align: right !important;
    white-space: nowrap !important;
    font-size: clamp(8px, 1.55vw, 10px) !important;
    line-height: 1.05 !important;
    font-weight: 600 !important;
  }

  body.frontend-site .sifla-mobile-header-phones svg {
    display: none !important;
  }

  /* Dil kutusu: sağ orta küçük gold seçim alanı. */
  body.frontend-site .sifla-mobile-header-lang {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.frontend-site .sifla-mobile-header-lang select,
  body.frontend-site .sifla-mobile-header-lang .header-locale-select {
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 24px !important;
    height: 24px !important;
    padding: 0 24px 0 8px !important;
    border: 0 !important;
    border-radius: 7px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 24px !important;
    color: #111827 !important;
    background-color: #E5BC6A !important;
    background-image:
      linear-gradient(45deg, transparent 50%, #111827 50%),
      linear-gradient(135deg, #111827 50%, transparent 50%),
      linear-gradient(180deg, #E5BC6A 0%, #FEEFC0 100%) !important;
    background-position:
      calc(100% - 15px) calc(50% - 2px),
      calc(100% - 10px) calc(50% - 2px),
      center !important;
    background-size: 5px 5px, 5px 5px, 100% 100% !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 6px 12px rgba(184, 142, 27, 0.16) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
  }

  body.frontend-site .sifla-mobile-header-lang select:focus,
  body.frontend-site .sifla-mobile-header-lang .header-locale-select:focus {
    outline: 2px solid rgba(184, 142, 27, 0.22) !important;
    outline-offset: 1px !important;
  }

  /* Menü alanı: sağ alt küçük gold kutu. */
  body.frontend-site .sifla-mobile-header-menu {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.frontend-site .sifla-mobile-header-menu .ma5menu__toggle,
  body.frontend-site header.header-type-2 .ma5menu__toggle,
  body.frontend-site header.header-type-2.is-scrolled .ma5menu__toggle,
  body.frontend-site header.header-type-2.sticky-header .ma5menu__toggle,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .ma5menu__toggle {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #f2c96d 0%, #e7b44e 54%, #d78f13 100%) !important;
    border: 1px solid #d2a24b !important;
    box-shadow: 0 8px 14px rgba(229, 188, 106, 0.22) !important;
    color: #ffffff !important;
    flex: 0 0 auto !important;
  }

  body.frontend-site .sifla-mobile-header-menu .ma5menu__toggle svg,
  body.frontend-site header.header-type-2 .ma5menu__toggle svg,
  body.frontend-site header.header-type-2.is-scrolled .ma5menu__toggle svg,
  body.frontend-site header.header-type-2.sticky-header .ma5menu__toggle svg,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .ma5menu__toggle svg {
    width: 16px !important;
    height: 16px !important;
  }

  body.frontend-site .sifla-mobile-header-menu .ma5menu__toggle svg path,
  body.frontend-site header.header-type-2 .ma5menu__toggle svg path,
  body.frontend-site header.header-type-2.is-scrolled .ma5menu__toggle svg path,
  body.frontend-site header.header-type-2.sticky-header .ma5menu__toggle svg path,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .ma5menu__toggle svg path {
    stroke: #ffffff !important;
    fill: none !important;
  }

  body.frontend-site header.header-type-2 .wrapper.sifla-desktop-header-tools .ma5menu__toggle,
  body.frontend-site header.header-type-2.is-scrolled .wrapper.sifla-desktop-header-tools .ma5menu__toggle,
  body.frontend-site header.header-type-2.sticky-header .wrapper.sifla-desktop-header-tools .ma5menu__toggle,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .wrapper.sifla-desktop-header-tools .ma5menu__toggle {
    display: none !important;
  }

  /* İlk görünüm: biraz daha rahat ama hâlâ kompakt. */
  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-inner,
  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-main {
    min-height: 56px !important;
    padding: 8px 12px 8px 16px !important;
  }

  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-brand-logo,
  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-brand-main {
    flex-basis: 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
  }

  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-brand-text img,
  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-brand-side img {
    max-width: clamp(106px, 34vw, 146px) !important;
    max-height: 18px !important;
  }

  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-tools {
    width: clamp(104px, 28vw, 132px) !important;
  }

  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-phones a {
    font-size: clamp(8px, 1.5vw, 10px) !important;
  }

  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-lang select,
  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-lang .header-locale-select {
    min-height: 24px !important;
    height: 24px !important;
    font-size: 9px !important;
  }

  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-menu .ma5menu__toggle,
  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .ma5menu__toggle {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  /* Kaydırma sonrası: aynı mantık korunur, sadece biraz sıkılaşır. */
  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-inner,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-inner,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-inner,
  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-main,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-main,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-main {
    min-height: 52px !important;
    padding: 6px 12px 6px 16px !important;
  }

  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-brand-logo,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-brand-logo,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-brand-logo,
  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-brand-main,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-brand-main,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-brand-main {
    flex-basis: 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
  }

  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-brand-logo img,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-brand-logo img,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-brand-logo img,
  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-brand-main img,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-brand-main img,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-brand-main img {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }

  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-brand-text img,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-brand-text img,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-brand-text img,
  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-brand-side img,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-brand-side img,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-brand-side img {
    max-width: clamp(96px, 32vw, 136px) !important;
    max-height: 17px !important;
  }

  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-tools,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-tools,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-tools {
    width: clamp(96px, 26vw, 124px) !important;
  }

  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-phones a,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-phones a,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-phones a {
    font-size: clamp(7px, 1.45vw, 9px) !important;
  }

  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-lang select,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-lang select,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-lang select,
  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-lang .header-locale-select,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-lang .header-locale-select,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-lang .header-locale-select {
    min-height: 22px !important;
    height: 22px !important;
    font-size: 8px !important;
  }

  body.frontend-site header.header-type-2.is-scrolled .sifla-mobile-header-menu .ma5menu__toggle,
  body.frontend-site header.header-type-2.sticky-header .sifla-mobile-header-menu .ma5menu__toggle,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header .sifla-mobile-header-menu .ma5menu__toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
}

@media (max-width: 390px) {
  /* Çok dar ekranlarda soldaki blok biraz daha nefes alır. */
  body.frontend-site .sifla-mobile-header-inner,
  body.frontend-site .sifla-mobile-header-main {
    padding-left: 14px !important;
    grid-template-columns: minmax(0, 1fr) clamp(96px, 26vw, 120px) !important;
  }

  /* Yazı çok dar ekranda daha kısa kalır ama kesilmez. */
  body.frontend-site .sifla-mobile-header-brand-text img,
  body.frontend-site .sifla-mobile-header-brand-side img {
    max-width: clamp(96px, 34vw, 126px) !important;
    max-height: 17px !important;
  }

  /* Telefon satırları çok dar ekranlarda da iki satır kalır. */
  body.frontend-site .sifla-mobile-header-phones a {
    font-size: 8px !important;
  }

  /* Menü kutusu dar ekranda da küçük kalır. */
  body.frontend-site .sifla-mobile-header-menu .ma5menu__toggle,
  body.frontend-site header.header-type-2 .ma5menu__toggle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
}
