/* V58: Desktop topbar: fixed right-aligned sequence. No JS repositioning.
   All controls use the original Porto .container positioning context.
   10px right inset positions search edge near the İLETİŞİM menu end.
   Preserve all earlier banner rules and mobile behavior. */
body.home #main .fast-r54-removed-ag-promo { display:none !important; }
@media (min-width:1450px) {
  #header .header-top .fast-r4-topbar-container { position:relative!important; }
  #header .header-top .fast-r48-shell { left:auto!important; right:10px!important; }
  #header .header-top .fast-r4-header-socials { right:61px!important; }
  #header .header-top .fast-r7-education-trigger:not(.fast-r7-mobile-fallback) { right:158px!important; }
  #header .header-top .fast-r8-appointment-trigger:not(.fast-r8-mobile) { right:356px!important; }
}

/* V64 — Search drops BELOW its icon, staying inside viewport on desktop.
   Existing search toggle, outside-click and Enter/Escape callbacks stay intact. */
@media (min-width:992px) {
  #header .header-top .fast-r48-shell {
    overflow:visible!important;
  }
  #header .header-top .fast-r48-input,
  #header .header-top .fast-r48-open .fast-r48-input {
    top:45px!important;
    left:auto!important;
    right:0!important;
    transform:none!important;
    max-width:min(220px, calc(100vw - 24px))!important;
    border-radius:9px!important;
  }
  #header .header-top .fast-r48-open .fast-r48-input {
    width:220px!important;
    height:38px!important;
    padding:0 12px!important;
    box-shadow:0 8px 22px rgba(0,0,0,.22)!important;
  }
  /* Keep the search icon visibly active in its original position. */
  #header .header-top .fast-r48-open .fast-r48-toggle {
    background:#34383b!important;
    border-color:rgba(255,255,255,.2)!important;
    color:#fff!important;
  }
}
/* At wide desktop widths the CTA is positioned absolutely to the left
   of Education. Reduce the gap by moving only Appointment 30px right. */
@media (min-width:1450px) {
  #header .header-top .fast-r8-appointment-trigger:not(.fast-r8-mobile) {
    right:326px!important;
  }
}
