/* V15: use the ORIGINAL desktop menu and tools as the sticky bar.
   This avoids clone-vs-original typography differences completely. */

#ceOriginalStickySpacer{display:block;height:0;pointer-events:none}

@media screen and (min-width:1251px){
  html body .site-box>header.header{position:relative!important;top:auto!important;bottom:auto!important}
  html body .site-box>header.header>.wrap.nav{overflow:visible!important}

  html body #ceOriginalStickyBar{
    position:relative;
    z-index:40;
    width:100%;
    box-sizing:border-box;
  }

  html body #ceOriginalStickyBar.ce-stick-active{
    position:fixed!important;
    top:0;
    z-index:10020!important;
    box-sizing:border-box;
    background:#ffffff!important;
    border-bottom:1px solid rgba(38,79,114,.14)!important;
    box-shadow:0 8px 22px rgba(15,44,69,.12)!important;
  }

  html[data-klinik-tema="koyu"] body #ceOriginalStickyBar.ce-stick-active{
    background:#173042!important;
    border-bottom-color:rgba(130,168,196,.24)!important;
    box-shadow:0 8px 22px rgba(0,0,0,.28)!important;
  }

  /* Keep the real menu/tools in one line while sticky. */
  html body #ceOriginalStickyBar.ce-stick-active,
  html body #ceOriginalStickyBar.ce-stick-active.nav{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    flex-wrap:nowrap!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }

  html body #ceOriginalStickyBar.ce-stick-active>#mainNav{
    flex:1 1 auto!important;
    min-width:0!important;
  }

  html body #ceOriginalStickyBar.ce-stick-active>.klinik-randevu-araclari{
    flex:0 0 auto!important;
    margin-left:12px!important;
  }

  /* Crucial: force the sticky bar to use the SAME font rendering as the normal bar. */
  html body #ceOriginalStickyBar>#mainNav>.cms-nav-item>a,
  html body .site-box>header.header>.wrap.nav>#mainNav>.cms-nav-item>a{
    font-family:"Plus Jakarta Sans","Inter",Arial,sans-serif!important;
    font-size:clamp(10px,.76vw,12px)!important;
    font-weight:600!important;
    font-style:normal!important;
    letter-spacing:0!important;
    line-height:1.25!important;
    text-transform:none!important;
    text-shadow:none!important;
    -webkit-text-stroke:0 transparent!important;
    font-synthesis-weight:auto!important;
    font-variation-settings:normal!important;
  }

  html body #ceOriginalStickyBar>.klinik-randevu-araclari .headercta,
  html body .site-box>header.header>.wrap.nav>.klinik-randevu-araclari .headercta{
    font-family:"Plus Jakarta Sans","Inter",Arial,sans-serif!important;
    font-size:clamp(12px,.93vw,14px)!important;
    font-weight:650!important;
    font-style:normal!important;
    letter-spacing:0!important;
    line-height:1.35!important;
    text-shadow:none!important;
    font-synthesis-weight:auto!important;
  }

  /* Preserve dropdown visibility above content while sticky. */
  html body #ceOriginalStickyBar .cms-news-dropdown,
  html body #ceOriginalStickyBar .cms-submenu{z-index:10030!important}
}

@media screen and (max-width:1250px){
  #ceOriginalStickySpacer{display:none!important}
  html body #ceOriginalStickyBar{position:static!important;left:auto!important;width:auto!important}
}

@media print{
  #ceOriginalStickyBar{position:static!important;box-shadow:none!important}
}
/* V18 - both states use the exact same genuine category links. */
@media screen and (min-width:1251px){
 html body #ceOriginalStickyBar #mainNav > .cms-nav-item > a{
  font-weight:600!important;
  -webkit-text-stroke:0!important;
  text-shadow:none!important;
 }
}
