/* YeTabi registration modal and compact mobile header */
.yt-auth-dialog{scrollbar-width:thin!important;scrollbar-color:#86b7a1 transparent!important;scrollbar-gutter:stable!important;max-height:min(90dvh,790px)!important;overscroll-behavior:contain}
.yt-auth-dialog::-webkit-scrollbar{width:7px}.yt-auth-dialog::-webkit-scrollbar-track{background:transparent}.yt-auth-dialog::-webkit-scrollbar-thumb{background:#86b7a1;border-radius:12px;border:2px solid transparent;background-clip:padding-box}.yt-auth-dialog::-webkit-scrollbar-thumb:hover{background:#138563}
.yt-auth-dialog .yt-register-only:not([hidden]){gap:9px!important}.yt-auth-dialog #ytCustomerForm input,.yt-auth-dialog #ytCustomerForm select{min-height:42px!important}.yt-auth-dialog #ytCustomerForm textarea{min-height:62px!important}
.yt-reg-map-section{grid-column:1/-1;border:1px solid #d5e8dd;background:#f5faf7;border-radius:15px;padding:12px;display:grid;gap:8px}.yt-reg-map-section strong{color:#07583e;font-size:14px}.yt-reg-map-section small{color:#668278}.yt-reg-map{height:220px;border-radius:12px;overflow:hidden;background:#e8eee9}.yt-reg-map-status{font-size:12px;color:#276e56}.yt-reg-map-section button{border:1px solid #c5dfd0;border-radius:10px;padding:9px 12px;background:white;color:#07583e;font-weight:700;cursor:pointer}
@media(max-width:760px){body .yt-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto!important;grid-template-areas:'brand login cart menu' 'search search search search'!important;align-items:center!important;gap:6px!important;padding:8px 10px!important;height:auto!important}body .yt-header .yt-logo{grid-area:brand!important;min-width:0!important}body .yt-header .yt-location{display:none!important}body .yt-header .yt-login{grid-area:login!important;display:inline-flex!important;white-space:nowrap!important;padding:8px!important;margin:0!important}body .yt-header .yt-cart{grid-area:cart!important;margin:0!important;white-space:nowrap!important;padding:7px!important}body .yt-header .yt-menu-toggle{grid-area:menu!important;display:inline-flex!important;position:static!important;order:0!important;margin:0!important;width:39px!important;min-width:39px!important;height:39px!important;align-items:center!important;justify-content:center!important}body .yt-header .yt-search{grid-area:search!important;display:flex!important;order:0!important;width:100%!important;min-width:0!important;margin:0!important}body .yt-header .yt-logo strong{font-size:clamp(15px,4vw,22px)!important}body .yt-header .yt-brand-mascot{max-width:36px!important}.yt-reg-map{height:190px}}
@media(max-width:400px){body .yt-header{gap:4px!important;padding:7px!important}body .yt-header .yt-cart b{display:none!important}body .yt-header .yt-login{font-size:11px!important}}

/* YeTabi FIX: mobile header controls share one compact top row. */
@media(max-width:760px){
 body .yt-header{grid-template-columns:minmax(72px,1fr) auto auto auto auto auto!important;grid-template-areas:"brand favorite bell login cart menu" "search search search search search search"!important;column-gap:5px!important;row-gap:7px!important;align-items:center!important}
 body .yt-header .yt-header-favorites{grid-area:favorite!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;min-width:34px!important;width:auto!important;max-width:44px!important;height:38px!important;padding:0 5px!important;margin:0!important;white-space:nowrap!important;order:0!important}
 body .yt-header .yt-header-favorites span{display:none!important}
 body .yt-header .yt-header-favorites small{font-size:10px!important}
 body .yt-header .yt-pref-bell{grid-area:bell!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:static!important;width:38px!important;min-width:38px!important;height:38px!important;margin:0!important;padding:0!important;font-size:19px!important;line-height:1!important;white-space:nowrap!important;order:0!important}
 body .yt-header .yt-pref-bell::first-letter{font-size:inherit!important}
 body .yt-header .yt-login{min-width:0!important;padding:7px 5px!important}
 body .yt-header .yt-cart{min-width:0!important;padding:6px 5px!important}
 body .yt-header .yt-search{grid-area:search!important;min-width:0!important}
 body .yt-header .yt-menu-toggle{grid-area:menu!important}
}
@media(max-width:410px){
 body .yt-header{column-gap:3px!important;padding:7px 6px!important;grid-template-columns:minmax(67px,1fr) 32px 32px auto auto 34px!important}
 body .yt-header .yt-header-favorites,body .yt-header .yt-pref-bell{width:32px!important;min-width:32px!important;height:35px!important}
 body .yt-header .yt-menu-toggle{width:34px!important;min-width:34px!important;height:35px!important}
 body .yt-header .yt-logo strong{font-size:clamp(14px,4vw,18px)!important}
 body .yt-header .yt-brand-mascot{max-width:27px!important}
}

/* YemekTabi FIX: mobilde favori ve bildirim sırası sabit kalır.
   Bildirim JS tarafından sonradan eklense bile konumu değişmez. */
@media (max-width:760px) {
 body .yt-header {
   display:grid!important;
   grid-template-columns:minmax(0,1fr) 34px 34px auto auto 36px!important;
   grid-template-areas:"brand favorite bell login cart menu" "search search search search search search"!important;
 }
 body .yt-header .yt-logo {grid-area:brand!important;min-width:0!important;}
 body .yt-header .yt-header-favorites {grid-area:favorite!important;order:0!important;position:static!important;}
 body .yt-header .yt-pref-bell {grid-area:bell!important;order:0!important;position:static!important;}
 body .yt-header .yt-login {grid-area:login!important;order:0!important;}
 body .yt-header .yt-cart {grid-area:cart!important;order:0!important;}
 body .yt-header .yt-menu-toggle {grid-area:menu!important;order:0!important;}
 body .yt-header .yt-search {grid-area:search!important;order:0!important;}
}
@media (max-width:410px) {
 body .yt-header {grid-template-columns:minmax(0,1fr) 30px 30px auto auto 34px!important;}
 body .yt-header .yt-header-favorites,body .yt-header .yt-pref-bell {min-width:30px!important;width:30px!important;}
}
