/* site-chrome.css: ust menu (core/site-header.php) ve alt bilgi (core/site-footer.php).
   core/wallpaper.php ve core/site-footer.php bu dosyayi govdeden baglar. Bu yuzden hangi sayfa
   hangi stil dosyasini yuklerse yuklesin ust menu ve alt bilgi ayni gorunur.
   Renkler bilerek sabit yazildi: bazi uye sayfalari lagerim-ui.css degiskenlerini yuklemez. */

/* 0. Sayfa zemini (eski wallpaper.php satir ici stili) */
html body{background-color:#eef1f4!important;background-image:none!important}
html.lg-embedded body{background-color:#fff!important}

/* 1. UST MENU */
.lg-site-header,.lg-site-header *,.footer,.footer *{box-sizing:border-box}
.lg-site-header{position:sticky;top:0;z-index:1200;background:#01143d;color:#fff;border-bottom:3px solid #ff7900;box-shadow:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.3}
.lg-site-header .lg-site-header-inner{display:flex;flex-wrap:nowrap;align-items:center;gap:20px;width:100%;max-width:var(--lg-site-width,1280px)!important;min-height:64px;margin:0 auto;padding:8px 18px}
.lg-site-header .lg-site-header-inner>a:first-child{display:flex;align-items:center;flex:none;min-height:44px;margin:0!important}
.lg-site-header .lg-site-header-inner img.lg-brand-on-dark{display:block;width:174px!important;height:32px!important;max-width:none;max-height:none;border-radius:0}
.lg-site-header .lg-header-search{display:flex;flex:1 1 320px;max-width:460px;min-width:0;min-height:44px;margin:0;order:0;background:#fff;border:0;border-radius:8px;overflow:hidden}
.lg-site-header .lg-header-search input{flex:1;width:100%;min-width:0;min-height:44px;margin:0!important;padding:0 14px!important;border:0!important;border-radius:0;outline:0;background:transparent;color:#10243d;font:inherit;font-size:16px}
.lg-site-header .lg-header-search input::placeholder{color:#5b6b7e;opacity:1}
.lg-site-header .lg-header-search button{flex:none;min-width:60px;min-height:44px;margin:0;padding:0 14px;border:0;border-left:1px solid #dfe5ec;border-radius:0;background:#f4f6f8;color:#01143d;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.lg-site-header .lg-header-search button:hover{background:#e6ebf1}
.lg-site-header .lg-header-search:focus-within{outline:3px solid #ff7900;outline-offset:2px}
.lg-site-header .lg-header-favorite{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:44px!important;min-height:44px!important;margin:0 0 0 auto!important;color:#fff;border-radius:8px}
.lg-site-header .lg-header-favorite svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}
/* v2_312: ust kalp sadece favori varsa dolu. Favorilerim sayfasinda son favori kaldirilinca da bos kalbe doner. */
.lg-site-header .lg-header-favorite.has-favorites svg{fill:#ff7900;stroke:#ff7900}
.lg-site-header .lg-header-favorite:not(.has-favorites) svg{fill:none!important}
.lg-site-header .lg-header-favorite .lg-favorite-count{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#ff7900;color:#01143d;font-size:11px;font-weight:800;line-height:18px;text-align:center;font-variant-numeric:tabular-nums}
.lg-site-header .lg-header-favorite .lg-favorite-count[hidden]{display:none}
.lg-site-header nav{display:flex;flex:none!important;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:4px;width:auto!important;max-width:none;margin:0;order:0;white-space:nowrap}
.lg-site-header nav>a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border-radius:8px;color:#fff;font-size:14px;font-weight:600;text-decoration:none}
.lg-site-header nav>a:hover{background:#ffffff14}
.lg-site-header nav>a.btn-ilan{min-height:44px;margin-left:8px;padding:0 16px;background:#ff7900!important;color:#01143d!important;font-weight:800!important;box-shadow:none}
.lg-site-header nav>a.btn-ilan:hover{background:#ff8f26!important}
.lg-site-header a:focus-visible,.lg-site-header button:focus-visible{outline:3px solid #ff7900;outline-offset:2px}
.lg-site-header nav>a.btn-ilan:focus-visible{outline-color:#fff}
@media(max-width:900px){
  .lg-site-header .lg-site-header-inner{gap:10px}
  .lg-site-header .lg-site-header-inner img.lg-brand-on-dark{width:152px!important;height:28px!important}
  .lg-site-header nav>a[href$="register.php"]{display:none}
}
/* Telefon: iki satir. Sayfa kaydirilinca ust satir yukari kayar, arama satiri yapisik kalir. */
@media (max-width:768px),(max-height:500px) and (pointer:coarse){
  .lg-site-header{top:-50px}
  .lg-site-header .lg-site-header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px 2px;min-height:0;padding:6px 12px 8px}
  .lg-site-header .lg-site-header-inner img.lg-brand-on-dark{width:130px!important;height:24px!important}
  .lg-site-header .lg-header-favorite{justify-self:end;margin:0!important}
  .lg-site-header nav{gap:0}
  .lg-site-header nav>a{padding:0 8px;font-size:14px}
  .lg-site-header nav>a.btn-ilan{margin-left:4px;padding:0 12px}
  .lg-site-header .lg-header-search{grid-column:1/-1;order:3;max-width:none;flex-basis:auto}
}
@media(max-width:359px){
  .lg-site-header .lg-site-header-inner img.lg-brand-on-dark{width:108px!important;height:20px!important}
  .lg-site-header nav>a{padding:0 6px;font-size:13px}
}

/* 2. ALT BILGI */
.footer{position:relative;overflow:visible;margin-top:40px;padding:36px 0 0;background:#01143d;border-top:3px solid #ff7900;color:#c3cedc;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:14px;line-height:1.5;text-align:left}
.footer .footer-watermark{display:none}
.footer>.container{position:relative;width:100%;max-width:var(--lg-site-width,1280px)!important;margin:0 auto;padding:0 18px}
.footer .footer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1.25fr 1.2fr;gap:32px 28px;align-items:start;padding-bottom:28px}
.footer .footer-grid>*{min-width:0}
.footer h4{margin:0 0 6px;padding:0;color:#fff;font-size:15px;font-weight:700;letter-spacing:0;text-transform:none;line-height:1.3}
.footer p{margin:0;color:#c3cedc;font-size:14px;line-height:1.55}
.footer a{color:#c3cedc;text-decoration:none}
.footer .footer-logo{display:block;width:152px;height:28px;margin:0 0 16px}
.footer .footer-company p{margin:0 0 6px;font-size:14px;line-height:1.55;color:#c3cedc}
.footer .footer-company p b{color:#fff;font-weight:700}
.footer .footer-company .footer-kunye{font-size:13px;color:#aebbcd}
.footer .footer-company .footer-kunye b{color:#c3cedc;font-weight:600}
.footer .footer-company a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.footer .footer-note{margin:4px 0 0;font-size:13px;color:#aebbcd}
.footer .footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:0}
.footer .footer-links a,.footer .footer-official-links a,.footer .footer-guide-buttons button{display:inline-flex;align-items:center;min-height:40px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;color:#c3cedc;font:inherit;font-size:14px;line-height:1.35;text-align:left;text-decoration:none;cursor:pointer}
.footer .footer-links a:hover,.footer .footer-official-links a:hover,.footer .footer-guide-buttons button:hover,.footer .footer-company a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.footer a:focus-visible,.footer button:focus-visible,.footer summary:focus-visible{outline:3px solid #ff7900;outline-offset:2px}
.footer .footer-guides{margin:0;padding:0;border:0;min-width:0;color:#c3cedc}
.footer .footer-official-links,.footer .footer-guide-buttons{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin:0}
.footer .footer-bottom{position:relative;margin:0;padding:16px 18px;border-top:1px solid #ffffff1f;color:#aebbcd;font-size:13px;text-align:center}
/* Rehber pencereleri (dialog) */
.footer .footer-guide{position:fixed;inset:0;width:min(680px,calc(100vw - 24px));max-width:680px;max-height:84dvh;margin:auto;padding:20px;border:1px solid #dfe5ec;border-radius:12px;background:#fff;color:#22364f;overflow:auto;box-shadow:0 20px 70px #01143d50}
.footer .footer-guide::backdrop{background:#01143dcc}
.footer .footer-guide-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.footer .footer-guide-head h2{display:flex;align-items:center;gap:10px;margin:0;color:#10243d;font-size:18px;line-height:1.35}
.footer .footer-guide-head button{flex:none;width:44px;height:44px;border:1px solid #c5cfdb;border-radius:8px;background:#f4f6f8;color:#10243d;font-size:24px;line-height:1;cursor:pointer}
.footer .footer-guide svg{flex:none;width:36px;height:36px;fill:none;stroke:#ff7900;stroke-width:1.5}
.footer .footer-guide ol{display:grid;gap:8px;margin:14px 0;padding:0;list-style:none}
.footer .footer-guide li{display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:8px;background:#f4f6f8;font-size:14px;line-height:1.5}
.footer .footer-guide li>span{display:grid;place-items:center;flex:none;width:28px;height:28px;border:1px solid #c5cfdb;border-radius:4px;background:#fff;color:#01143d;font-weight:800;font-variant-numeric:tabular-nums}
.footer .footer-guide li strong{display:block;color:#10243d}
.footer .footer-guide li p{margin:2px 0 0;color:#22364f;font-size:14px}
.footer .footer-guide-launch{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid #01143d;border-radius:8px;background:#01143d;color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.footer .footer-guide-note{margin:12px 0 0;color:#5b6b7e;font-size:13px;line-height:1.55}
.footer .footer-guide-note a{color:#b4530a;text-decoration:underline}
@media(max-width:1100px){
  .footer .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer .footer-company{grid-column:1/-1}
}
@media (max-width:768px),(max-height:500px) and (pointer:coarse){
  .footer{margin-top:28px;padding-top:28px}
  .footer>.container{padding:0 16px}
  .footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;padding-bottom:20px}
  .footer .footer-company,.footer .footer-legal,.footer .footer-guides{grid-column:1/-1}
  .footer .footer-links a,.footer .footer-official-links a,.footer .footer-guide-buttons button{min-height:44px}
  .footer .footer-legal .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
  .footer .footer-guide{padding:16px}
}
@media(prefers-reduced-motion:reduce){.lg-site-header *,.footer *{animation:none!important;transition:none!important}}

/* 3. v2_351: MASAUSTU HIZALAMA. Her sayfada ust serit ayni boyda (64 px + 3 px turuncu cizgi), icerik seridin 20 px altindan baslar.
   Kaydirma cubugu olan ve olmayan sayfa arasinda sayfa yana kaymaz. Telefon degismez. */
@media (min-width:769px) and (hover:hover) and (pointer:fine){
  html{scrollbar-gutter:stable}
  html body{margin:0}
  html body>main.main,html body.lg-market>main.main,html body.lg-page>main.main{padding-top:20px!important}
  html body>main.main>.container>:first-child{margin-top:0!important}
  html body>main.main>.lg-page-wrap.lg-page-wrap{padding-top:0!important}
  html body.lg-store-page>main.st-main>.of-head{padding-top:0!important;margin-top:20px!important}
  html body.lg-store-page>main.st-main>.of-head>.container>:first-child{margin-top:0!important}
  html body>main.billing.bill-public{padding-top:20px!important}
  html body>main.billing.bill-public>:first-child,html body>main.billing.bill-public>:first-child>:first-child{margin-top:0!important}
  html body>main.auth-wrap{padding-top:20px!important}
}
