/* UYUM | PREMIUM MOBILE HEADER */

.ux-mobile-backdrop,
.ux-mobile-menu-head,
.ux-mobile-menu-footer{
  display:none;
}

@media(max-width:1080px){

  /* HEADER */
  .ux-header{
    position:sticky;
    top:0;
    z-index:1000;
  }

  .ux-header .ux-header-inner{
    position:relative;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) 44px!important;
    align-items:center;
    gap:8px;
    min-height:74px;
    padding-block:10px;
  }

  /* SOL - HAMBURGER */
  .ux-header .ux-menu-toggle{
    display:flex!important;
    align-items:center;
    justify-content:center;
    grid-column:1;
    grid-row:1;
    width:43px;
    height:43px;
    padding:0;
    color:#163b50;
    background:#f0f6f5;
    border:1px solid #dceae8;
    border-radius:12px;
    transition:background .2s,transform .2s;
  }

  .ux-header .ux-menu-toggle:active{
    transform:scale(.96);
  }

  .ux-header .ux-menu-toggle svg{
    width:23px;
    height:23px;
  }

  /* ORTA - LOGO */
  .ux-header .ux-brand{
    grid-column:2;
    grid-row:1;
    justify-self:center;
    display:flex;
    align-items:center;
    gap:8px;
    width:max-content;
    max-width:100%;
    min-width:0;
    margin:0;
    direction:ltr;
  }

  .ux-header .ux-brand-mark{
    width:38px;
    height:38px;
    border-radius:11px;
  }

  .ux-header .ux-brand-mark svg{
    width:23px;
  }

  .ux-header .ux-brand-name strong{
    font-size:21px;
    line-height:1;
  }

  .ux-header .ux-brand-name small{
    font-size:6.3px;
    letter-spacing:.4px;
  }

  /* SAĞ - SADECE BAYRAK */
  .ux-header .ux-actions{
    display:contents!important;
  }

  .ux-header .ux-translate{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    position:relative;
    z-index:1010;
  }

  .ux-header .ux-translate-trigger{
    display:flex!important;
    width:43px!important;
    min-width:43px!important;
    height:43px!important;
    padding:0!important;
    gap:0!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #dceae8;
    border-radius:12px;
    background:#f8fbfa;
  }

  .ux-header .ux-translate-trigger > span,
  .ux-header .ux-translate-trigger .ux-translate-chevron{
    display:none!important;
  }

  .ux-header .ux-active-flag{
    width:25px!important;
    height:18px!important;
    border-radius:3px;
    object-fit:cover;
    margin:0!important;
  }

  .ux-header .ux-translate-list{
    position:absolute;
    top:calc(100% + 12px);
    right:0;
    left:auto;
    width:172px;
    z-index:1100;
    direction:ltr;
  }

  /* DESKTOP CTA MOBİLDE GİZLİ */
  .ux-header .ux-offer-desktop{
    display:none!important;
  }

  /* KARARTMA */
  .ux-mobile-backdrop{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(7,24,37,.60);
    backdrop-filter:blur(3px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .35s,visibility .35s;
    z-index:1050;
  }

  body.ux-drawer-open .ux-mobile-backdrop{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  /* OFFCANVAS */
  .ux-header .ux-nav{
    display:flex!important;
    position:fixed!important;
    inset:0 auto 0 0!important;
    top:0!important;
    left:0!important;
    right:auto!important;
    width:min(355px,88vw)!important;
    height:100dvh!important;
    max-height:none!important;
    padding:0!important;
    margin:0!important;
    background:#fff;
    box-shadow:20px 0 80px rgba(0,18,32,.16);
    z-index:1060;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    transform:translateX(-105%)!important;
    visibility:hidden;
    pointer-events:none;
    transition:
      transform .38s cubic-bezier(.22,1,.36,1),
      visibility .38s;
    direction:ltr;
  }

  body.ux-drawer-open .ux-header .ux-nav{
    transform:translateX(0)!important;
    visibility:visible;
    pointer-events:auto;
  }

  /* OFFCANVAS ÜST */
  .ux-mobile-menu-head{
    position:sticky;
    top:0;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex:none;
    padding:23px 23px 19px;
    border-bottom:1px solid #e8eff0;
    background:#fff;
  }

  .ux-mobile-menu-head > span{
    font-size:12px;
    letter-spacing:2px;
    font-weight:800;
    color:#118a70;
  }

  .ux-mobile-close{
    display:grid;
    place-items:center;
    width:35px;
    height:35px;
    border:1px solid #e2ebeb;
    background:#f4f8f7;
    color:#173c50;
    border-radius:10px;
    cursor:pointer;
  }

  .ux-mobile-close svg{
    width:19px;
    height:19px;
  }

  /* MENÜ BAĞLANTILARI */
  .ux-header .ux-nav > .ux-nav-link,
  .ux-header .ux-nav-group > .ux-nav-link{
    width:calc(100% - 46px);
    margin:0 23px;
    padding:19px 0!important;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:0;
    border-bottom:1px solid #edf1f2;
    border-radius:0;
    text-align:left;
    font-size:15px!important;
    font-weight:700;
    color:#233f54;
    white-space:normal;
  }

  .ux-header .ux-nav-link.is-active{
    color:#118a70;
  }

  .ux-header .ux-nav-group{
    position:static!important;
    width:100%;
  }

  .ux-header .ux-nav-service .ux-icon{
    width:17px;
    height:17px;
  }

  /* HİZMETLER AKORDEON */
  .ux-header .ux-nav-group .ux-mega{
    position:static!important;
    display:none!important;
    width:calc(100% - 46px)!important;
    margin:6px 23px 13px!important;
    padding:12px!important;
    background:#f4f9f7;
    border:1px solid #e0ece7;
    border-radius:12px;
    box-shadow:none!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }

  .ux-header .ux-nav-group.is-open .ux-mega{
    display:block!important;
  }

  .ux-header .ux-mega-grid{
    display:flex;
    flex-direction:column;
    gap:0;
  }

  .ux-header .ux-mega-card{
    display:flex;
    min-height:auto;
    border:0;
    border-bottom:1px solid #dfebe5;
    border-radius:0;
    background:transparent;
    padding:13px 8px!important;
    transform:none!important;
  }

  .ux-header .ux-mega-art,
  .ux-header .ux-mega-card small,
  .ux-header .ux-mega-feature,
  .ux-header .ux-mega-arrow{
    display:none!important;
  }

  .ux-header .ux-mega-card strong{
    padding:0!important;
    font-size:13px;
    line-height:1.5;
    text-align:left;
  }

  /* TEKLİF AL */
  .ux-header .ux-offer-mobile{
    display:flex!important;
    flex:none;
    width:calc(100% - 46px);
    min-height:49px;
    margin:24px 23px 16px;
    border-radius:11px;
    font-size:14px;
  }

  /* ALT ALAN */
  .ux-mobile-menu-footer{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:auto;
    padding:25px 23px 30px;
    border-top:1px solid #edf1f2;
  }

  .ux-mobile-menu-footer span{
    font-size:10px;
    letter-spacing:1px;
    font-weight:800;
    color:#7b929d;
  }

  .ux-mobile-menu-footer a{
    font-size:13px;
    font-weight:700;
    color:#118a70;
    overflow-wrap:anywhere;
  }

  body.ux-drawer-open{
    overflow:hidden;
  }

}

/* Arapçada da mobil menü soldan açılır */
@media(max-width:1080px){
  html[dir="rtl"] .ux-header .ux-header-inner{
    direction:ltr!important;
  }

  html[dir="rtl"] .ux-header .ux-nav{
    direction:ltr!important;
  }

  html[dir="rtl"] .ux-header .ux-nav-link,
  html[dir="rtl"] .ux-header .ux-mega-card strong{
    text-align:right;
    direction:rtl;
  }

  html[dir="rtl"] .ux-header .ux-translate-list{
    direction:ltr;
  }
}

@media(max-width:370px){
  .ux-header .ux-brand-mark{
    width:34px;
    height:34px;
  }
  .ux-header .ux-brand-name strong{
    font-size:18px;
  }
  .ux-header .ux-brand-name small{
    font-size:5.5px;
  }
}

@media(prefers-reduced-motion:reduce){
  .ux-header .ux-nav,
  .ux-mobile-backdrop{
    transition:none!important;
  }
}


/* ===== MOBILE STICKY SCROLL ===== */
@media(max-width:1080px){
  .ux-header{
    transition:
      transform .36s cubic-bezier(.22,1,.36,1),
      box-shadow .25s ease!important;
    will-change:transform;
  }

  .ux-header.is-hidden{
    transform:translateY(-110%)!important;
  }

  body.ux-drawer-open .ux-header{
    transform:translateY(0)!important;
  }

  /* Menü dışındaki alan kapatma yüzeyi */
  .ux-mobile-backdrop{
    cursor:pointer;
    touch-action:manipulation;
  }
}

/* ===== MOBILE LANGUAGE LABEL ===== */
@media(max-width:1080px){

  .ux-header .ux-translate-trigger{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    gap:3px!important;
    width:48px!important;
    min-width:48px!important;
    height:49px!important;
    padding:5px 3px!important;
    line-height:1!important;
  }

  .ux-header .ux-active-flag{
    width:23px!important;
    height:16px!important;
    flex:none;
  }

  .ux-header .ux-translate-trigger > span:not(.ux-translate-chevron){
    display:block!important;
    font-size:8px!important;
    font-weight:800!important;
    letter-spacing:.1px;
    line-height:1.1!important;
    margin:0!important;
  }

  .ux-header .ux-translate-chevron{
    display:none!important;
  }

  .ux-header .ux-header-inner{
    grid-template-columns:48px minmax(0,1fr) 48px!important;
  }
}

@media(max-width:370px){
  .ux-header .ux-translate-trigger{
    width:43px!important;
    min-width:43px!important;
  }
  .ux-header .ux-translate-trigger > span:not(.ux-translate-chevron){
    font-size:7px!important;
  }
}

/* ===== MOBILE LANGUAGE FINAL ===== */
@media(max-width:1080px){

  .ux-header .ux-header-inner{
    box-sizing:border-box!important;
    width:100%!important;
    padding-left:clamp(16px,4vw,28px)!important;
    padding-right:clamp(16px,4vw,28px)!important;
    grid-template-columns:48px minmax(0,1fr) 48px!important;
    gap:10px!important;
  }

  .ux-header .ux-translate{
    justify-self:end!important;
    margin:0!important;
  }

  .ux-header .ux-translate-trigger{
    box-sizing:border-box!important;
    width:48px!important;
    min-width:48px!important;
    height:52px!important;
    padding:7px 5px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    background:#f5faf8!important;
    border:1px solid #d9e8e5!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }

  .ux-header .ux-active-flag{
    display:block!important;
    width:25px!important;
    height:17px!important;
    margin:0!important;
    object-fit:cover;
    border-radius:2px;
  }

  .ux-header .ux-translate-trigger > span:not(.ux-translate-chevron){
    display:block!important;
    font-size:8px!important;
    line-height:1.1!important;
    font-weight:700!important;
    letter-spacing:0!important;
    margin:0!important;
  }

  .ux-header .ux-translate-chevron{
    display:none!important;
  }

  .ux-header .ux-translate-list{
    right:0!important;
    left:auto!important;
  }
}

/* ===== MOBILE WIDTH & SPACING ===== */
@media(max-width:1080px){
  .ux-header .ux-header-inner{
    width:100%!important;
    max-width:none!important;
    padding-inline:clamp(12px,3vw,26px)!important;
    grid-template-columns:48px minmax(0,1fr) 48px!important;
  }

  .ux-header .ux-brand{
    justify-self:center!important;
  }

  .ux-header .ux-translate-trigger{
    width:48px!important;
    height:50px!important;
    border-radius:12px!important;
  }
}


/* UYUM_MOBILE_FIX_20261021 */
@media (max-width:1080px) {
  body.ux-drawer-open {
    overflow:hidden!important;
  }

  body.ux-drawer-open .ux-header {
    transform:none!important;
    -webkit-transform:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    filter:none!important;
    z-index:12000!important;
  }

  body.ux-drawer-open .ux-header-inner {
    transform:none!important;
    -webkit-transform:none!important;
    filter:none!important;
  }

  body.ux-drawer-open .ux-header .ux-nav {
    z-index:12002!important;
    height:100dvh!important;
    max-height:100dvh!important;
  }

  body.ux-drawer-open .ux-mobile-backdrop {
    z-index:12001!important;
  }
}

/* UYUM_DRAWER_PORTAL_V7 */
@media (max-width:1080px) {
  body.ux-drawer-open {
    overflow:hidden!important;
  }

  body > #ux-mobile-backdrop {
    display:block!important;
    position:fixed!important;
    inset:0!important;
    background:rgba(7,24,37,.60)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:20000!important;
  }

  body > #ux-nav {
    display:flex!important;
    position:fixed!important;
    inset:0 auto 0 0!important;
    width:min(355px,88vw)!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:none!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    overflow-y:auto!important;
    transform:translateX(0)!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    z-index:20001!important;
    box-shadow:20px 0 80px rgba(0,18,32,.2)!important;
  }

  body > #ux-nav .ux-mobile-menu-head {
    display:flex!important;
    position:sticky;
    top:0;
    z-index:2;
  }
}

/* UYUM_DRAWER_HOST_V8 */
@media (max-width:1080px) {
  body > .ux-drawer-host {
    position:fixed!important;
    inset:0 auto auto 0!important;
    width:0!important;
    height:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    transform:none!important;
    -webkit-transform:none!important;
    transition:none!important;
    overflow:visible!important;
    pointer-events:none!important;
    z-index:20000!important;
  }

  body > .ux-drawer-host .ux-mobile-backdrop {
    position:fixed!important;
    inset:0!important;
    z-index:1!important;
  }

  body > .ux-drawer-host .ux-nav {
    position:fixed!important;
    inset:0 auto 0 0!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:none!important;
    z-index:2!important;
  }

  body.ux-drawer-open > .ux-drawer-host .ux-mobile-backdrop,
  body.ux-drawer-open > .ux-drawer-host .ux-nav {
    pointer-events:auto!important;
  }
}
