/* LIVE MOBILE HEADER FIX ACTIVE - 20260603-mobile-header-sticky-gap-line-3 */

/* Masaustunde mobil panel/listeler asla gorunmesin. */
.sifla-mobile-offcanvas,
.sifla-mobile-offcanvas-overlay {
  display: none;
}

@media (max-width: 767.98px) {
  /* Mobilde eski web header parcalari gizlenir; tek kaynak .sifla-mobile-header. */
  body.frontend-site header.header-type-2 .inner > .header-brand,
  body.frontend-site header.header-type-2 .inner > .wrapper,
  body.frontend-site header.header-type-2 .top-header,
  body.frontend-site header.header-type-2 .site-menu,
  body.frontend-site header.header-type-2 .desktop-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.frontend-site header.header-type-2 {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background:
      var(--header-top-image, none) center top / 100% 42px no-repeat,
      linear-gradient(100deg, #d6a94b 0%, #fee8a7 36%, #ffffff 62%, #d7a044 100%) center top / 100% 42px no-repeat,
      #ffffff !important;
    overflow: visible !important;
  }

  /* Ilk header ustundeki gold dalga. Kirik/eksik gorselde gradient yedek devreye girer. */
  body.frontend-site header.header-type-2::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 0 !important;
    display: block !important;
    height: 42px !important;
    background:
      var(--header-top-image, none) center top / 100% 42px no-repeat,
      linear-gradient(100deg, #d6a94b 0%, #fee8a7 36%, #ffffff 62%, #d7a044 100%) center top / 100% 42px no-repeat !important;
    pointer-events: none !important;
  }

  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 {
    background: #ffffff !important;
  }

  body.frontend-site header.header-type-2.is-scrolled::before,
  body.frontend-site header.header-type-2.sticky-header::before,
  body.frontend-site header.header-type-2.is-scrolled.sticky-header::before {
    display: none !important;
    content: none !important;
  }

  body.frontend-site header.header-type-2 .bottom-header {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 42px 0 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  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-top: 0 !important;
  }

  body.frontend-site header.header-type-2 .bottom-header > .container,
  body.frontend-site header.header-type-2 .bottom-header > .container-fluid,
  body.frontend-site header.header-type-2 .inner {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* Mobil header ana satiri: solda marka, sagda dil + hamburger. */
  body.frontend-site header.header-type-2 .sifla-mobile-header {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-header-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    min-height: 72px !important;
    margin: 0 !important;
    padding: 8px 18px !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(17, 24, 39, .14) !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-header-brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 1 auto !important;
    gap: 5px !important;
    width: auto !important;
    max-width: calc(100vw - 132px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    text-decoration: none !important;
  }

  /* Logo ikonunu buyutup/kuculten alan. */
  body.frontend-site header.header-type-2 .sifla-mobile-header-brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    overflow: visible !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-header-brand-logo img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
    object-position: center center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* SIFLA TURIZM yazisini buyutup/kuculten alan. */
  body.frontend-site header.header-type-2 .sifla-mobile-header-brand-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-header-brand-text img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: clamp(126px, 39vw, 164px) !important;
    max-height: 25px !important;
    object-fit: contain !important;
    object-position: left center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Sag blok: telefon gizli, dil ve hamburger ayni satirda. */
  body.frontend-site header.header-type-2 .sifla-mobile-header-tools {
    position: absolute !important;
    top: 50% !important;
    right: clamp(18px, calc(100vw - 390px + 18px), 110px) !important;
    z-index: 30 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: translateY(-50%) !important;
  }

  html body.frontend-site.desktop-locked header.header-type-2 .bottom-header .sifla-mobile-header .sifla-mobile-header-inner > .sifla-mobile-header-tools {
    position: absolute !important;
    top: 50% !important;
    right: clamp(18px, calc(100vw - 390px + 18px), 110px) !important;
    z-index: 40 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    gap: 6px !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: translateY(-50%) !important;
    pointer-events: auto !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-header-phones,
  body.frontend-site header.header-type-2 .sifla-mobile-header-phones a {
    display: none !important;
  }

  /* Dil kutusunu marka satiri ile ayni hizada tutar. */
  body.frontend-site header.header-type-2 .sifla-mobile-header-lang {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 72px !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-header-lang select,
  body.frontend-site header.header-type-2 .sifla-mobile-header-lang .header-locale-select {
    display: block !important;
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 20px 0 8px !important;
    border-radius: 7px !important;
    border: 1px solid rgba(184, 142, 27, .35) !important;
    background:
      linear-gradient(45deg, transparent 50%, #111827 50%) right 10px center / 5px 5px no-repeat,
      linear-gradient(135deg, #111827 50%, transparent 50%) right 6px center / 5px 5px no-repeat,
      linear-gradient(180deg, #ffffff 0%, #FEEFC0 100%) !important;
    color: #111827 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 28px !important;
    text-align: left !important;
    box-shadow: 0 4px 10px rgba(184, 142, 27, .10) !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
  }

  html body.frontend-site.desktop-locked header.header-type-2 .sifla-mobile-header .sifla-mobile-header-lang select.header-locale-select,
  html body.frontend-site.desktop-locked header.header-type-2 .sifla-mobile-header .sifla-mobile-header-lang .header-locale-select {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 20px 0 8px !important;
    font-size: 9px !important;
    line-height: 28px !important;
  }

  /* Mobil menu butonu: gold kutu icinde uc siyah cizgi. */
  body.frontend-site header.header-type-2 .sifla-mobile-header-menu-button,
  body.frontend-site header.header-type-2 .sifla-mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-menu-toggle {
    position: relative !important;
    border: 1px solid rgba(184, 142, 27, .35) !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #f2c96d 0%, #e7b44e 54%, #d78f13 100%) !important;
    box-shadow: 0 5px 12px rgba(184, 142, 27, .18) !important;
    overflow: hidden !important;
    cursor: pointer !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-menu-toggle svg,
  body.frontend-site header.header-type-2 .sifla-mobile-menu-toggle i,
  body.frontend-site header.header-type-2 .sifla-mobile-menu-toggle > span:not(.sifla-mobile-menu-lines):not(.ma5menu__sr-only),
  body.frontend-site header.header-type-2 .sifla-mobile-menu-toggle::before,
  body.frontend-site header.header-type-2 .sifla-mobile-menu-toggle::after {
    display: none !important;
    content: none !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-menu-lines {
    position: relative !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 18px !important;
    gap: 4.5px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-menu-lines > span {
    display: block !important;
    width: 20px !important;
    height: 3px !important;
    min-height: 3px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: #111827 !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.frontend-site header.header-type-2 .ma5menu__sr-only,
  body.frontend-site .sifla-mobile-menu-toggle .ma5menu__sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  /* Mobil acilir menu paneli. */
  body.frontend-site .sifla-mobile-offcanvas-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    display: none;
    background: rgba(17, 24, 39, .42) !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-overlay.is-open {
    display: block !important;
  }

  body.frontend-site.sifla-mobile-menu-open .sifla-mobile-offcanvas-overlay,
  body.frontend-site.sifla-mobile-menu-open .sifla-mobile-offcanvas-overlay:not([hidden]) {
    display: block !important;
  }

  body.frontend-site .sifla-mobile-offcanvas {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 100001 !important;
    display: block !important;
    width: min(86vw, 340px) !important;
    height: 100vh !important;
    padding: 18px !important;
    background: #ffffff !important;
    box-shadow: -18px 0 42px rgba(17, 24, 39, .22) !important;
    overflow-y: auto !important;
    transform: translateX(105%) !important;
    transition: transform .22s ease !important;
  }

  body.frontend-site .sifla-mobile-offcanvas.is-open {
    transform: translateX(0) !important;
  }

  body.frontend-site.sifla-mobile-menu-open .sifla-mobile-offcanvas,
  body.frontend-site .sifla-mobile-offcanvas[aria-hidden="false"] {
    transform: translateX(0) !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(17, 24, 39, .12) !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    max-width: calc(100% - 44px) !important;
    text-decoration: none !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 36px !important;
    max-width: 168px !important;
    object-fit: contain !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-close {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(17, 24, 39, .16) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 22px !important;
    line-height: 30px !important;
    cursor: pointer !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 14px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-menu li {
    list-style: none !important;
    border-bottom: 1px solid rgba(17, 24, 39, .10) !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-menu a,
  body.frontend-site .sifla-mobile-offcanvas-menu span {
    display: block !important;
    padding: 11px 0 !important;
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
  }
}

/* Mobil header beyaz bosluk finali: sadece gold dalga-logo arasi ve sticky alt bosluk daraltilir. */
@media (max-width: 767.98px) {
  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .bottom-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  html body.frontend-site.desktop-locked header.header-type-2:not(.is-scrolled):not(.sticky-header),
  html body.frontend-site.desktop-locked header.header-type-2:not(.is-scrolled):not(.sticky-header) .bottom-header,
  html body.frontend-site.desktop-locked header.header-type-2:not(.is-scrolled):not(.sticky-header) .bottom-header > .container,
  html body.frontend-site.desktop-locked header.header-type-2:not(.is-scrolled):not(.sticky-header) .bottom-header > .container-fluid,
  html body.frontend-site.desktop-locked header.header-type-2:not(.is-scrolled):not(.sticky-header) .inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.frontend-site header.header-type-2,
  body.frontend-site header.header-type-2 .bottom-header,
  body.frontend-site header.header-type-2 .sifla-mobile-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.frontend-site header.header-type-2 .sifla-mobile-header-inner {
    min-height: 60px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  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 {
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }

  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-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  html body.frontend-site.desktop-locked header.header-type-2.is-scrolled,
  html body.frontend-site.desktop-locked header.header-type-2.sticky-header,
  html body.frontend-site.desktop-locked header.header-type-2.is-scrolled.sticky-header,
  html body.frontend-site.desktop-locked header.header-type-2.is-scrolled .bottom-header,
  html body.frontend-site.desktop-locked header.header-type-2.sticky-header .bottom-header,
  html body.frontend-site.desktop-locked header.header-type-2.is-scrolled.sticky-header .bottom-header,
  html body.frontend-site.desktop-locked header.header-type-2.is-scrolled .bottom-header > .container,
  html body.frontend-site.desktop-locked header.header-type-2.sticky-header .bottom-header > .container,
  html body.frontend-site.desktop-locked header.header-type-2.is-scrolled.sticky-header .bottom-header > .container,
  html body.frontend-site.desktop-locked header.header-type-2.is-scrolled .inner,
  html body.frontend-site.desktop-locked header.header-type-2.sticky-header .inner,
  html body.frontend-site.desktop-locked header.header-type-2.is-scrolled.sticky-header .inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  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 {
    min-height: 60px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    border-bottom: 0 !important;
    box-shadow: 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 {
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  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 {
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  body.frontend-site .sifla-mobile-offcanvas-overlay[hidden] {
    display: none !important;
  }

  body.frontend-site .sifla-mobile-offcanvas:not(.is-open):not([aria-hidden="false"]) {
    position: fixed !important;
    height: 100vh !important;
    margin: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    transform: translateX(105%) !important;
  }

  body.frontend-site header.header-type-2.is-scrolled ~ .premium-home-hero,
  body.frontend-site header.header-type-2.sticky-header ~ .premium-home-hero,
  body.frontend-site header.header-type-2.is-scrolled ~ .main-slider,
  body.frontend-site header.header-type-2.sticky-header ~ .main-slider,
  body.frontend-site header.header-type-2.is-scrolled ~ .hero,
  body.frontend-site header.header-type-2.sticky-header ~ .hero,
  body.frontend-site header.header-type-2.is-scrolled ~ main,
  body.frontend-site header.header-type-2.sticky-header ~ main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.frontend-site.add-pt {
    padding-top: 0 !important;
  }
}

/* 20260603 wave fix: keep mobile brand row below the gold wave without redesigning header. */
@media (max-width: 767.98px) {
  body.frontend-site header.header-type-2:not(.is-scrolled):not(.sticky-header) .sifla-mobile-header-inner {
    padding-top: 18px !important;
  }
}

/* 20260604 wave spacing lock: first mobile header must sit below the gold wave. */
@media (max-width: 767.98px) {
  html body.frontend-site.desktop-locked header.header-type-2.has-header-top-image:not(.is-scrolled) .bottom-header,
  body.frontend-site header.header-type-2.has-header-top-image:not(.is-scrolled) .bottom-header {
    padding-top: 42px !important;
  }

  html body.frontend-site.desktop-locked header.header-type-2.has-header-top-image:not(.is-scrolled) .sifla-mobile-header-inner,
  body.frontend-site header.header-type-2.has-header-top-image:not(.is-scrolled) .sifla-mobile-header-inner {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
}
