/* =====================================================================
   Metin2Tasarım — telefon görünümü (ortak)
   Bu dosyadaki HER kural max-width medya sorgusu içindedir; bilgisayar
   görünümünü (761px ve üstü) hiçbir şekilde etkilemez.
   Ortak parçalar: üst bar, header, menü, footer, açılır pencereler.
   Sayfaya özel düzenlemeler her sayfanın kendi <style> bloğundadır.
   ===================================================================== */
/* Masaüstünde gizli olan telefon parçaları */
.m-navbtn,.nav-head,.m-scrim,.lgbar .lgcp{display:none}
@media (max-width:760px){
 html{zoom:1!important;-webkit-text-size-adjust:100%}
 body{min-height:100vh!important}
 img,video{max-width:100%}

 /* --- Üst bar --- */
 .topbar{height:40px;font-size:13px}
 .topbar .w{height:40px;padding:0 14px!important}
 .topbar .left{gap:16px}
 .topbar .mid{display:none!important}

 /* --- Header: 1. satır logo + simgeler, 2. satır tam genişlik arama --- */
 .header{height:auto!important;padding:10px 0 12px}
 .header .w{height:auto!important;flex-wrap:wrap;row-gap:10px;padding:0 14px!important;margin:0!important;width:100%!important}
 .logo{flex:0 1 auto;min-width:0;display:flex;align-items:center}
 .logo img{width:150px!important;max-width:100%}
 .search{order:3;flex:1 1 100%!important;width:100%!important;margin:0!important;height:40px}
 .search input{font-size:16px;padding:0 46px 0 14px}
 .actions{margin-left:auto;gap:8px!important}
 .hdr-grp{gap:8px!important}
 .hdr-msg{width:34px;height:34px;padding:0!important;justify-content:center;border-radius:50%}
 .hdr-msg>span{display:none}
 .hdr-login{width:34px;height:34px;padding:0!important;justify-content:center;border-radius:50%}
 .hdr-login>span{display:none}
 .hdr-ic,.hdr-av,.hdr-av-ph{width:34px;height:34px}
 .accMenu{position:fixed!important;top:auto!important;left:10px!important;right:10px!important;width:auto!important;margin-top:8px}
 .np{position:fixed!important;top:auto!important;left:10px!important;right:10px!important;width:auto!important;max-width:none!important;margin-top:10px}

 /* --- Ana menü: ☰ ile soldan açılan çekmece --- */
 .m-navbtn{display:grid!important;place-items:center;width:38px;height:38px;flex:0 0 auto;margin-right:10px;border:0;border-radius:10px;background:#e9e9ee;color:#1c1c24;cursor:pointer}
 .nav{position:fixed!important;top:0;left:0;bottom:0;width:min(300px,84vw);height:auto!important;z-index:300;background:#fff!important;box-shadow:12px 0 40px rgba(10,10,30,.22);transform:translateX(-104%);transition:transform .25s ease;overflow-y:auto;visibility:hidden}
 body.mnav-open .nav{transform:none;visibility:visible}
 body.mnav-open{overflow:hidden}
 .nav-head{display:flex!important;align-items:center;justify-content:space-between;padding:16px 14px 14px 18px;border-bottom:1px solid #eee}
 .nav-head img{width:140px;height:auto}
 .nav-head button{width:36px;height:36px;border:0;border-radius:10px;background:#f1f2f6;color:#1c1c24;display:grid;place-items:center;cursor:pointer}
 .nav ul{display:block!important;height:auto!important;padding:10px!important}
 .nav li{display:block!important}
 .nav li+li{border-left:0!important;height:auto!important}
 .nav li a{display:block;padding:13px 14px!important;font-size:15.5px!important;line-height:1.3!important;border-radius:10px}
 .nav li a:active,.nav li a:hover{background:#f3f5fb}
 .nav li a[style]{background:#eef3ff}
 .m-scrim{display:block!important;position:fixed;inset:0;background:rgba(6,8,20,.5);z-index:290;opacity:0;pointer-events:none;transition:opacity .2s}
 body.mnav-open .m-scrim{opacity:1;pointer-events:auto}

 /* --- Footer --- */
 footer{height:auto!important;padding:16px 0 18px!important}
 .fw{width:100%!important;margin:0!important;padding:0 14px!important;flex-wrap:wrap;gap:12px;justify-content:center!important}
 footer .fcopy{display:none!important} /* telefonda yasal şeridin içinde, vergi satırının hemen üstünde */
 .fw{gap:14px!important}
 /* e-posta yazısı yerine Discord butonu gibi bir buton */
 .fmail{width:40px;height:40px;flex:0 0 40px;padding:0;gap:0!important;font-size:0!important;opacity:1!important;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,#2b2b2f,#1a1a1d);color:#cfcfd4!important;display:flex!important;align-items:center;justify-content:center;line-height:0;overflow:hidden}
 .fmail .fm-t{display:none!important}
 .fmail svg{width:19px;height:19px;flex:0 0 19px;display:block;margin:0!important}
 .fmail:active{color:#fff!important;background:linear-gradient(180deg,#3b3b41,#242428);border-color:rgba(255,255,255,.3)}

 /* --- Açılır pencereler (giriş, hesap, mesajlar, iletişim, politika...) --- */
 dialog{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}
 dialog[open]{margin:auto}
 .mdlg,.adlg,.auth-dlg{width:calc(100vw - 20px)!important}

 /* Genel sayfa kenar boşluğu güvencesi */
 .w,.pw{max-width:100%}
}
@media (max-width:380px){
 .logo img{width:128px!important}
 .topbar .left{gap:12px}
 .topbar{font-size:12.5px}
}

/* ---- Ürün kartları (mağaza + ana sayfa popüler ürünler): telefonda yan yana 2 kart ---- */
@media (max-width:760px){
 .mg-grid,.track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .mg-card{border-radius:16px}
 .mg-card-b{padding:11px 11px 12px!important;gap:4px!important}
 .mg-card-b h3{font-size:13.5px!important;min-height:36px!important}
 .mg-card-cat{font-size:10px!important}
 .mg-priceline{flex-wrap:wrap;gap:2px 6px!important}
 .mg-priceline b{font-size:15.5px!important}
 .mg-priceline s{font-size:11.5px!important}
 .mg-btnrow{gap:6px!important}
 .mg-buybtn{height:38px!important;font-size:12.5px!important}
 .mg-addbtn{width:38px!important;height:38px!important;flex:0 0 38px!important}
 .mg-card:hover{transform:none}
}

/* ---- Ana sayfa ---- */
@media (max-width:760px){
 .hero{padding:0 14px!important;gap:14px!important;margin-top:14px}
 .trio{padding:0 14px!important;gap:14px!important;margin:14px auto 28px!important}
 .popular .pw{padding:0 14px!important}
 .promo .meta{flex-wrap:wrap;row-gap:6px;height:auto!important;letter-spacing:.08em}
 .promo .txt{top:84px!important;left:18px!important;right:18px!important}
 .promo h2{font-size:30px!important}
 .pb{height:46px}
 .feat .f{padding-left:10px!important}
 .feat .tx b{font-size:20px!important;line-height:24px!important}
 .feat .tx span{font-size:12px!important;line-height:16px!important}
 .feat .ic{width:38px!important;height:38px!important;flex:0 0 38px}
 .logos{height:104px!important}
 .logos img{height:60px!important;margin-right:46px!important}
 .logos .lname{font-size:22px!important;margin-right:46px!important}
 .logos .lname img.lav{width:40px!important;height:40px!important;margin:0!important}
 .logos .lname{gap:11px!important}
 .mg-banner{height:150px!important;border-radius:16px!important}
}
/* Telefon: rakam şeridi (Mutlu müşteri vb.) dört kutu tek satırda; sıkışık görünmesin diye daha küçük */
@media (max-width:600px){
 .feat{padding:14px 0!important}
 .feat-in{padding:0 4px!important}
 .feat .f{gap:5px!important;padding:0 2px!important}
 .feat .f+.f::before{top:10px!important;bottom:10px!important;opacity:.7}
 .feat .ic{width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:8px!important}
 .feat .ic svg{width:15px!important;height:15px!important}
 .feat .tx b{font-size:14px!important;line-height:18px!important}
 .feat .tx span{font-size:9.5px!important;line-height:12px!important;display:block;opacity:.85}
}

/* ---- Sepet / Siparişlerim: dar ekranda kenar boşluğu ---- */
@media (max-width:1340px){.ct-wrap,.od-wrap{padding-left:16px!important;padding-right:16px!important}}
@media (max-width:760px){
 .ct-wrap,.od-wrap{padding:20px 14px 60px!important}
 .ct-wrap h1,.od-wrap h1{font-size:26px!important}
}
