/* =====================================================================
   paylas.css — mm2.money ENVANTER PAYLASIMI  (2026-10-12)
   1) share.php: herkese acik envanter sayfasi (sitenin kendi dili:
      ayni arka plan, cam yuzeyler, satis ekranindaki KART)
   2) satis ekranindaki "Share" dugmesi + acilir pencere (.shp-*)
   Jetonlar app.css :root'tan (--mavi, --ink, --buz, --cizgi ...).
   ===================================================================== */

/* ------------------------------------------------------------ 1) SAYFA */
.sh-sayfa { min-height:100vh; }
.sh-sar { max-width:1440px; margin:0 auto; padding:0 var(--sayfa) 40px; display:flex; flex-direction:column; gap:14px; }

.sh-ust { display:flex; align-items:center; gap:14px; height:56px; padding:0 10px 0 var(--panel-ic);
  background:var(--cam); -webkit-backdrop-filter:blur(16px) saturate(170%); backdrop-filter:blur(16px) saturate(170%);
  border:1px solid var(--kd-kenar, rgba(255,255,255,.75)); border-top:0;
  /* satis ekranindaki baslikla AYNI: uste yapisik serit, alt koseler 12px (menu.css t23) */
  border-radius:0 0 var(--serit-kose,12px) var(--serit-kose,12px);
  box-shadow:0 1px 2px rgba(15,42,86,.04), 0 10px 30px rgba(15,42,86,.09); }
.sh-ust .marka { color:var(--ink); text-decoration:none; }
.sh-cta { margin-left:auto; display:inline-flex; align-items:center; gap:8px; height:38px; padding:0 16px; border-radius:10px;
  background:var(--mavi); color:#fff; font-size:13.5px; font-weight:700; text-decoration:none;
  box-shadow:0 2px 10px rgba(37,99,235,.3); transition:background var(--gecis); }
.sh-cta:hover { background:var(--mavi-koyu); }
.sh-cta svg { width:15px; height:15px; }

/* kim */
.sh-kim { display:flex; align-items:center; gap:18px; padding:20px var(--panel-ic); }
.sh-lv { flex:0 0 auto; width:72px; height:72px; border-radius:20px; display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:#fff; position:relative; overflow:hidden; isolation:isolate;
  background:radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.26), transparent 55%), linear-gradient(150deg,#1E40AF,#2563EB 60%,#3B82F6);
  box-shadow:0 12px 26px -12px rgba(37,99,235,.75), inset 0 1px 0 rgba(255,255,255,.3); }
.sh-lv small { font-size:10px; font-weight:800; letter-spacing:.14em; opacity:.8; line-height:1; }
.sh-lv b { font-size:28px; font-weight:800; letter-spacing:-.05em; line-height:1.05; }
.sh-kim-tx { min-width:0; flex:1; }
.sh-ust-etiket { display:block; font-size:10.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-3); }
.sh-kim h1 { margin:1px 0 6px; font-size:26px; font-weight:800; letter-spacing:-.04em; line-height:1.1;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sh-lvsat { display:flex; align-items:center; gap:10px; font-size:12.5px; font-weight:700; color:var(--mavi-koyu); }
.sh-bar { display:block; width:140px; max-width:40vw; height:6px; border-radius:99px; background:var(--buz); overflow:hidden; }
.sh-bar > i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#2563EB,#60A5FA); }
.sh-ist { display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.sh-sayi, .sh-deger { display:flex; flex-direction:column; justify-content:center; min-width:84px; min-height:56px; padding:8px 14px;
  border-radius:14px; background:var(--inci); box-shadow:0 1px 2px rgba(15,42,86,.05), 0 3px 10px rgba(15,42,86,.06); }
.sh-sayi b, .sh-deger b { font-size:19px; font-weight:800; letter-spacing:-.04em; line-height:1.1; }
.sh-sayi small, .sh-deger small { font-size:10.5px; font-weight:700; color:var(--ink-3); text-transform:uppercase; letter-spacing:.06em; order:-1; }
.sh-deger em { font-style:normal; font-size:11px; font-weight:600; color:var(--ink-3); }
/* Copy link (2026-10-12): istatistik kutulari gibi BEYAZ, hover YOK.
   Tiklayinca mavi soldan saga dolar (::before scaleX), yazi beyaza, ikon tike
   doner; 1.5 sn sonra (paylas.js) ayni yoldan geri cekilir. */
.sh-kopya { position:relative; isolation:isolate; overflow:hidden;
  display:inline-flex; align-items:center; gap:11px; height:56px; padding:0 18px 0 8px; border:0; border-radius:14px;
  color:var(--ink); text-align:left; cursor:pointer; font:inherit;
  background:var(--inci); box-shadow:0 1px 2px rgba(15,42,86,.05), 0 3px 10px rgba(15,42,86,.06);
  transition:color .3s ease, box-shadow .35s ease, transform .12s ease; }
.sh-kopya::before { content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit;
  background:radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.2), transparent 55%), linear-gradient(150deg,#1E40AF,#2563EB 60%,#3B82F6);
  transform:scaleX(0); transform-origin:left center; opacity:0;
  /* DONUS: once solar (.3 sn), olcek ancak gorunmezken sifirlanir */
  transition:opacity .3s ease, transform 0s linear .3s; }
.sh-kopya:active { transform:scale(.98); }
.sh-kopya:focus-visible { outline:3px solid var(--mavi-sis); outline-offset:2px; }
.sh-kopya-ik { position:relative; width:40px; height:40px; flex:0 0 auto; border-radius:11px; display:grid; place-items:center;
  background:var(--buz); color:var(--mavi-koyu); transition:background .3s ease, color .3s ease; }
.sh-kopya-ik svg { width:18px; height:18px; grid-area:1/1; transition:opacity .2s ease, transform .3s cubic-bezier(.2,.9,.3,1.35); }
.sh-kopya-ik .sh-tik { opacity:0; transform:scale(.4) rotate(-25deg); }
.sh-kopya-tx { display:flex; flex-direction:column; min-width:0; line-height:1.2; }
.sh-kopya-tx b { font-size:14px; font-weight:800; letter-spacing:-.015em; }
.sh-kopya-tx small { font-size:11px; font-weight:600; color:var(--ink-3); max-width:190px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  transition:color .3s ease; }
.sh-kopya.kopyalandi { color:#fff; box-shadow:0 10px 22px -10px rgba(37,99,235,.8); }
/* GIRIS: soldan saga dolar */
.sh-kopya.kopyalandi::before { transform:scaleX(1); opacity:1; transition:transform .42s cubic-bezier(.65,0,.35,1), opacity 0s; }
.sh-kopya.kopyalandi .sh-kopya-ik { background:rgba(255,255,255,.2); color:#fff; transition-delay:.1s; }
.sh-kopya.kopyalandi .sh-kopya-tx small { color:rgba(255,255,255,.78); }
.sh-kopya.kopyalandi .sh-kopya-ik svg:first-child { opacity:0; transform:scale(.4); }
.sh-kopya.kopyalandi .sh-kopya-ik .sh-tik { opacity:1; transform:none; transition-delay:.15s; }
@media (prefers-reduced-motion: reduce) { .sh-kopya, .sh-kopya::before, .sh-kopya * { transition:none !important; } }

/* FILTERS (yalniz nadirlik) — siralama menusuyle ayni kabuk (.sira/.menu-ac) */
.sh-filtre .dugme em.sh-filtre-say { font-style:normal; min-width:18px; height:18px; padding:0 5px; border-radius:5px;   /* karemsi */
  background:var(--mavi); color:#fff; font-size:10.5px; font-weight:800; display:inline-grid; place-items:center; }
.sh-filtre .dugme em.sh-filtre-say[hidden] { display:none; }
.sh-filtre-pen { min-width:236px; padding:8px; }
.sh-filtre-bas { padding:6px 8px 8px; font-size:10.5px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--ink-3); }
.sh-filtre-liste { display:flex; flex-direction:column; gap:1px; }
.sh-nr { display:flex; align-items:center; gap:10px; width:100%; height:36px; padding:0 9px; border-radius:9px;
  font-size:13px; font-weight:600; color:var(--ink-2); text-align:left; transition:background var(--gecis), color var(--gecis); }
.sh-nr:hover { background:var(--buz); color:var(--ink); }
.sh-nr i { width:9px; height:9px; border-radius:3px; flex:0 0 auto; }
.sh-nr-ad { flex:1; }
.sh-nr em { font-style:normal; font-size:11.5px; font-weight:700; color:var(--ink-3); font-variant-numeric:tabular-nums; }
.sh-nr-kutu { width:17px; height:17px; flex:0 0 auto; border-radius:5px; display:grid; place-items:center;
  border:1.5px solid var(--cizgi-2); background:var(--kd-yuzey, #fff); color:transparent; transition:background var(--gecis), border-color var(--gecis); }
.sh-nr-kutu svg { width:11px; height:11px; }
.sh-nr[aria-pressed="true"] { color:var(--ink); }
.sh-nr[aria-pressed="true"] .sh-nr-kutu { background:var(--mavi); border-color:var(--mavi); color:#fff; }
.sh-filtre-sifirla { display:flex; align-items:center; justify-content:center; gap:7px; width:100%; height:36px; margin-top:6px;
  border-top:1px solid var(--cizgi); border-radius:0 0 9px 9px; font-size:12.5px; font-weight:700; color:var(--ink-3); }
.sh-filtre-sifirla:hover { color:var(--ink); }
.sh-filtre-sifirla svg { width:14px; height:14px; }

/* envanter */
.sh-env { padding:var(--panel-ic); display:flex; flex-direction:column; gap:12px; }
.sh-env .arac { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.sh-sonuc { margin-left:auto; font-size:12px; font-weight:700; color:var(--ink-3); }
.sh-izgara { align-content:start; }
/* cok esyada akicilik: ekran disindaki kartlar cizilmez (yer tutucu boyu = kart boyu) */
.sh-kart { content-visibility:auto; contain-intrinsic-size:auto 198px; }
.sh-daha { height:1px; }
.sh-env > .bos { margin:0; }
.sh-kart { cursor:default; }
.sh-kart:hover { box-shadow:0 1px 2px rgba(15,42,86,.05), 0 3px 10px rgba(15,42,86,.06); }
.sh-kart[hidden] { display:none; }
.sh-kart .sh-tur { display:block; font-size:11.5px; font-weight:600; color:var(--ink-3); }
.sh-gorselsiz { width:64px; height:64px; border-radius:18px; display:grid; place-items:center; background:var(--buz);
  color:var(--ink-3); font-size:24px; font-weight:800; }
.sh-alt { margin:2px 0 0; text-align:center; font-size:12px; color:var(--ink-3); }
.sh-alt a { color:var(--mavi-koyu); font-weight:700; text-decoration:none; }

/* olu link */
.sh-yok { max-width:460px; margin:8vh auto 0; padding:34px 28px 30px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:8px; }
.sh-yok-ik { width:58px; height:58px; border-radius:18px; display:grid; place-items:center; background:var(--buz); color:var(--mavi-koyu); margin-bottom:6px; }
.sh-yok-ik svg { width:26px; height:26px; }
.sh-yok h1 { margin:0; font-size:22px; font-weight:800; letter-spacing:-.035em; }
.sh-yok p { margin:0 0 10px; color:var(--ink-2); font-size:13.5px; }
.sh-yok-btn { width:auto; padding:0 22px; text-decoration:none; }

@media (max-width:760px) {
  .sh-kim { flex-wrap:wrap; gap:14px; }
  .sh-lv { width:60px; height:60px; border-radius:17px; }
  .sh-lv b { font-size:23px; }
  .sh-kim h1 { font-size:22px; }
  .sh-ist { width:100%; justify-content:flex-start; }
  .sh-sayi, .sh-deger { flex:1; min-width:0; }
  /* deger kutusu tam satir: dar kutuda INVENTORY VALUE ikiye bolunup tasiyordu */
  .sh-deger { flex:1 0 100%; }
  .sh-sayi small, .sh-deger small { white-space:nowrap; }
  .sh-kopya { width:100%; justify-content:center; }
  .sh-sonuc { display:none; }
}
@media (max-width:560px) {
  .sh-ust { height:50px; }
  .sh-cta { height:34px; padding:0 12px; font-size:12.5px; }
}

/* ------------------------------------------------- 2) SHARE DUGMESI */
.shp-btn.acik { border-color:var(--mavi-ln); color:var(--mavi-koyu); }
.shp-pen { position:fixed; z-index:120; display:none; padding:6px; border-radius:16px; background:var(--kd-yuzey, #fff);
  box-shadow:0 14px 40px rgba(15,42,86,.22), 0 0 0 1px var(--cizgi); max-height:calc(100vh - 90px); overflow-y:auto; }
.shp-pen.acik { display:block; animation:menuGel .16s ease both; }
.shp-bas { padding:10px 10px 8px; }
.shp-bas b { display:block; font-size:14.5px; font-weight:800; letter-spacing:-.02em; }
.shp-bas small { display:block; margin-top:2px; font-size:11.5px; line-height:1.45; color:var(--ink-3); }
.shp-hesap { margin:4px 0 0; padding:10px; border-radius:12px; background:var(--zemin); display:flex; flex-direction:column; gap:9px; }
.shp-hesap-ust { display:flex; align-items:center; gap:10px; }
.shp-av { width:34px; height:34px; border-radius:10px; overflow:hidden; flex:0 0 auto; background:var(--buz);
  display:grid; place-items:center; font-weight:800; color:var(--ink-3); }
.shp-av img { width:100%; height:100%; object-fit:cover; }
.shp-ad { min-width:0; display:flex; flex-direction:column; }
.shp-ad b { font-size:13px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shp-ad small { font-size:11px; color:var(--ink-3); }
.shp-hesap.is-sk .shp-av, .shp-hesap.is-sk .shp-ad i { background:linear-gradient(90deg,var(--kd-mavi, #E6EEF9),var(--kd-mavi, #D6E3F5),var(--kd-mavi, #E6EEF9)); background-size:200% 100%; animation:shpSk 1s linear infinite; }
.shp-hesap.is-sk .shp-ad i { display:block; height:10px; width:120px; border-radius:6px; margin:3px 0; }
.shp-hesap.is-sk .shp-ad i + i { width:70px; }
@keyframes shpSk { to { background-position:-200% 0; } }
.shp-olustur { height:36px; border-radius:10px; background:var(--mavi); color:#fff; font-size:13px; font-weight:700;
  display:inline-flex; align-items:center; justify-content:center; gap:7px; box-shadow:0 2px 10px rgba(37,99,235,.28); }
.shp-olustur:hover:not(:disabled) { background:var(--mavi-koyu); }
.shp-olustur:disabled { opacity:.6; }
.shp-olustur svg, .shp-sifirla svg, .shp-ac svg { width:14px; height:14px; }
.shp-link { display:flex; align-items:center; gap:4px; height:36px; padding:0 3px 0 11px; border-radius:10px; background:var(--kd-yuzey, #fff); border:1px solid var(--cizgi); }
.shp-link > span { flex:1; min-width:0; font-size:12.5px; font-weight:600; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.shp-kopya { height:28px; padding:0 12px; border-radius:8px; background:var(--mavi); color:#fff; font-size:12px; font-weight:700; }
.shp-kopya:hover { background:var(--mavi-koyu); }
.shp-kopya.ok { background:#16A34A; }
.shp-ac { width:28px; height:28px; border-radius:8px; display:grid; place-items:center; color:var(--ink-3); }
.shp-ac:hover { background:var(--buz); color:var(--ink); }
.shp-alt { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.shp-anahtar { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:600; color:var(--ink-2); cursor:pointer; }
.shp-anahtar input { position:absolute; opacity:0; width:1px; height:1px; }
.shp-anahtar i { width:32px; height:19px; border-radius:6px; background:var(--cizgi-2); position:relative; transition:background var(--gecis); flex:0 0 auto; }
.shp-anahtar i::after { content:""; position:absolute; top:2px; left:2px; width:15px; height:15px; border-radius:4px; background:#fff;
  box-shadow:0 1px 3px rgba(15,42,86,.25); transition:transform var(--gecis); }
.shp-anahtar input:checked + i { background:var(--mavi); }
.shp-anahtar input:checked + i::after { transform:translateX(13px); }
.shp-anahtar input:focus-visible + i { box-shadow:0 0 0 3px var(--mavi-sis); }
.shp-sifirla { display:inline-flex; align-items:center; gap:5px; height:28px; padding:0 9px; border-radius:8px; font-size:12px; font-weight:600; color:var(--ink-3); }
.shp-sifirla:hover { background:var(--kd-kirmizi, #FEE2E2); color:#DC2626; }
.shp-sifirla.emin { background:var(--kd-kirmizi, #FEE2E2); color:#DC2626; }
.shp-bos { padding:16px 12px 14px; text-align:center; font-size:12.5px; line-height:1.55; color:var(--ink-2); }
.shp-bos b { color:var(--ink); }
.shp-giris { display:flex; margin-top:12px; text-decoration:none; }
/* deger kutusu etiketi: site adi oldugu gibi (buyuk harfe cevrilmez) */
.sh-deger small.sh-sv-etiket { text-transform:none; letter-spacing:0; font-size:11.5px; }

/* ====================================================================
   SHARE YENILEME 2026-10-14: sitenin son haline uyum (koyu mod, yeni logo, tema anahtari, hover yok)
   ==================================================================== */
/* logo: simsek kalkti; .marka flex+gap "mm2" ile ".money" arasini aciyordu */
.sh-ust .marka { gap:0; font-size:17px; }
.sh-ust .marka .lw { position:relative; display:inline-block; overflow:hidden; padding:3px 1px; margin:-3px -1px; font-style:normal; color:inherit; }
.sh-ust .marka .lw i { display:inline-block; font-style:normal; color:inherit; }
.sh-ust .marka .lw i.m { color:var(--mavi); }
.sh-ust .marka .lw-isik { position:absolute; top:0; bottom:0; left:28%; width:16px; text-decoration:none; pointer-events:none; opacity:0;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); }
html[data-tema="koyu"] .sh-ust .marka .lw-isik { background:linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
/* tema anahtari: CTA'nin solunda */
.sh-ta { margin-left:auto; display:flex; }
.sh-ta + .sh-cta { margin-left:0; }
.sh-ta .ta-bas { --tw:58px; --th:38px; --tk:28px; }
@media (max-width:560px) { .sh-ta .ta-bas { --tw:50px; --th:34px; --tk:24px; } }
/* hover yok (site kurali): eski hover renkleri geri alinir */
.sh-cta:hover { background:var(--mavi); }
.sh-cta:active { box-shadow:inset 0 2px 6px rgba(0,0,0,.3); }
.sh-nr:hover { background:none; color:var(--ink-2); }
.sh-nr[aria-pressed="true"]:hover { color:var(--ink); }
.sh-filtre-sifirla:hover { color:var(--ink-3); }
.shp-olustur:hover:not(:disabled), .shp-kopya:hover { background:var(--mavi); }
.shp-ac:hover { background:none; color:var(--ink-3); }
/* sifirla: kirmizi yerine amber (iptal/sifirlama icin kirmizi yok) */
.shp-sifirla:hover { background:none; color:var(--ink-3); }
.shp-sifirla.emin { background:rgba(245,158,11,.14); color:#B45309; }
html[data-tema="koyu"] .shp-sifirla.emin { color:#FCD34D; }

/* ---- koyu mod: koyu.css genel yuzeyleri yapar; buradakiler Share'e ozel parcalar */
html[data-tema="koyu"] .sh-ust { background:var(--cam, rgba(17,17,17,.92)); border-color:var(--kd-kenar, #181818);
  box-shadow:0 10px 30px rgba(0,0,0,.45); }
html[data-tema="koyu"] .sh-sayi, html[data-tema="koyu"] .sh-deger, html[data-tema="koyu"] .sh-kopya {
  background:var(--inci, #141414); box-shadow:inset 0 0 0 1px var(--kd-kenar, #181818); }
html[data-tema="koyu"] .sh-kopya-ik, html[data-tema="koyu"] .sh-yok-ik, html[data-tema="koyu"] .sh-gorselsiz { background:var(--buz, #0F0F0F); color:#8FB2F6; }
html[data-tema="koyu"] .sh-bar { background:var(--buz, #0F0F0F); }
html[data-tema="koyu"] .sh-lvsat, html[data-tema="koyu"] .sh-alt a { color:#8FB2F6; }
html[data-tema="koyu"] .sh-kart:hover { box-shadow:none; }
html[data-tema="koyu"] .sh-nr-kutu { background:#121212; border-color:#2A2A2A; }
html[data-tema="koyu"] .shp-link { background:#121212; border-color:#1F1F1F; }

/* telefonda CTA iki satira kiriliyordu */
.sh-cta { white-space:nowrap; flex:0 0 auto; }
@media (max-width:420px) { .sh-ust { gap:8px; padding-left:12px; } .sh-cta { padding:0 10px; font-size:12px; gap:6px; } .sh-ust .marka { font-size:15.5px; } }

/* GORSEL LOGO (2026-10-16, kullanici secimi: tam logo 26px). Acik temada koyu "mm2", koyu temada beyaz. */
.marka .logo-a, .marka .logo-k { display:block; height:26px; width:auto; max-width:none; }
.marka .logo-k { display:none; }
html[data-tema="koyu"] .marka .logo-a { display:none; }
html[data-tema="koyu"] .marka .logo-k { display:block; }
.marka:has(.logo-a) { display:inline-flex !important; align-items:center; line-height:0 !important; overflow:hidden; }
.marka .logo-isik { position:absolute; top:-20%; bottom:-20%; width:30%; left:-40%; transform:skewX(-20deg); pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); text-decoration:none; }
