:root{
  --brand:#27c36a; --brand-600:#22a85b; --brand-100:#e9fbf2;
  --ink:#0f172a; --muted:#64748b; --bg:#f8fafc; --card:#ffffff; --line:#e5e7eb;
  --radius:16px; --shadow:0 10px 30px rgba(2,6,23,.06); --mob-topbar-h:56px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{font-size:16px; -webkit-text-size-adjust:100%; text-size-adjust:100%}
body{
  margin:0; font:16px/1.45 Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--ink); background:linear-gradient(180deg,var(--bg),#fff 60%);
  overflow-x:hidden;
}

/* Form zoom engelleme */
input[type="text"],input[type="email"],input[type="tel"],input[type="search"],
input[type="password"],input[type="number"],select,textarea{font-size:16px!important;line-height:1.45}

.app{min-height:100dvh; display:grid; grid-template-rows:auto 1fr auto}

/* ============== ICON SYSTEM (tek tip yeşil) ============== */
.ic{
  width:18px;height:18px;display:inline-block;vertical-align:-3px;
  background-color:var(--brand);
  -webkit-mask-image: var(--svg); mask-image: var(--svg);
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-position:center; mask-position:center;
  mask-type:luminance;
}
.ic.lg{ width:24px; height:24px; }
.ic.xl{ width:28px; height:28px; }

/* Minimalist data-URI ikonlar */
/* Minimalist data-URI ikonlar (tek tip yeşil mask) */
.ic[data-ic="home"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M12 3 2 11v10h7v-6h6v6h7V11z"/></svg>');
}
.ic[data-ic="briefcase"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M9 4h6a2 2 0 0 1 2 2v1h3v13H4V7h3V6a2 2 0 0 1 2-2zm1 3V6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1z"/></svg>');
}
.ic[data-ic="gift"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M2 9h20v5H2z"/><path fill="%23000" d="M4 14h16v7H4z"/><path fill="%23000" d="M11 4a3 3 0 0 1 0 6H7a3 3 0 1 1 4-6zm2 0a3 3 0 1 1 4 6h-4a3 3 0 0 1 0-6z"/><path fill="%23000" d="M11 4h2v17h-2z"/></svg>');
}
.ic[data-ic="globe"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M12 2a10 10 0 1 0 0 20A10 10 0 0 0 12 2Zm0 2c1.9 0 3.6 3.1 3.95 7H8.05C8.4 7.1 10.1 4 12 4Zm0 16c-1.9 0-3.6-3.1-3.95-7h7.9C15.6 16.9 13.9 20 12 20Zm7-8c0 .7-.05 1.37-.15 2H5.15A10 10 0 0 1 5 12c0-.69.05-1.37.15-2h13.7c.1.63.15 1.31.15 2Z"/></svg>');
}
.ic[data-ic="megaphone"]{ /* Reklam */
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M3 11v2l10 4V7L3 11z"/><path fill="%23000" d="M13 8a5 5 0 0 0 0 8z"/></svg>');
}
.ic[data-ic="cart"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle fill="%23000" cx="9" cy="20" r="1"/><circle fill="%23000" cx="17" cy="20" r="1"/><path fill="%23000" d="M3 4h2l3 12h9l2-8H6z"/></svg>');
}
.ic[data-ic="smartphone"]{
  --svg:url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
<circle cx="6" cy="8" r="3" fill="%23000"/>\
<circle cx="18" cy="6" r="3" fill="%23000"/>\
<circle cx="18" cy="18" r="3" fill="%23000"/>\
<path d="M8.7 9.3 15.3 6.7" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round"/>\
<path d="M8.4 10.4 15.6 16.6" fill="none" stroke="%23000" stroke-width="2" stroke-linecap="round"/>\
</svg>');
}

.ic[data-ic="map-pin"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M12 21s-7-6.5-7-11a7 7 0 1 1 14 0c0 4.5-7 11-7 11z"/><circle fill="%23000" cx="12" cy="10" r="3"/></svg>');
}
.ic[data-ic="mail"]{
  --svg:url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
<rect x="3" y="5" width="18" height="14" rx="2" fill="none" stroke="%23000" stroke-width="2"/>\
<path d="M3 7l9 6 9-6" fill="none" stroke="%23000" stroke-width="2"/>\
</svg>');
}

.ic[data-ic="file-text"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><path fill="%23000" d="M14 2v6h6"/><rect fill="%23fff" x="8" y="9" width="3" height="1"/><rect fill="%23fff" x="8" y="13" width="8" height="1"/><rect fill="%23fff" x="8" y="17" width="8" height="1"/></svg>');
}
.ic[data-ic="plus-square"]{
  --svg:url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
<rect x="3" y="3" width="18" height="18" rx="2" fill="none" stroke="%23fff" stroke-width="2"/>\
<path d="M12 8v8M8 12h8" fill="none" stroke="%23fff" stroke-width="2" stroke-linecap="round"/>\
</svg>');
}

.ic[data-ic="user"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle fill="%23000" cx="12" cy="7" r="4"/><path fill="%23000" d="M5.5 21a6.5 6.5 0 0 1 13 0z"/></svg>');
}
.ic[data-ic="tools"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="m14 7 3 3-9 9H5v-3z"/><path fill="%23000" d="M14 7V3l3 3z"/></svg>');
}
.ic[data-ic="bell"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M18 8a6 6 0 1 0-12 0c0 7-3 7-3 7h18s-3 0-3-7"/><circle fill="%23000" cx="12" cy="21" r="2"/></svg>');
}
.ic[data-ic="logout"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4v2H5v14h4z"/><path fill="%23000" d="M16 17l5-5-5-5v4H9v2h7z"/></svg>');
}
.ic[data-ic="toolbox"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect fill="%23000" x="2" y="7" width="20" height="13" rx="2"/><rect fill="%23000" x="9" y="3" width="6" height="4" rx="1"/></svg>');
}
/* İsteğe bağlı: check (tik) */
.ic[data-ic="check"]{
  --svg:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000" d="M9 17 3.5 11.5l2-2L9 13l9.5-9.5 2 2z"/></svg>');
}

/* ============== LAYOUT / THEME ============== */
.topbar{
  position:sticky; top:0; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:14px 16px; background:rgba(255,255,255,.9); backdrop-filter:saturate(140%) blur(8px); border-bottom:1px solid var(--line)
}
.brand{display:flex; align-items:center; gap:10px}
.logo{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:800;background:linear-gradient(135deg,var(--brand),#3de08a);box-shadow:0 6px 18px rgba(39,195,106,.35);text-decoration:none}
.title{margin:0;font-size:18px}
.only-mob{display:inline-flex; gap:8px; align-items:center}
.top-actions .btn{margin-left:6px}
.btn{border:1px solid var(--line); background:#fff; padding:10px 14px; border-radius:12px; cursor:pointer; font-weight:600; font-size:16px}
.btn:hover{border-color:#d1d5db}

/* Hesap menü */
.account-menu{position:absolute; right:12px; top:56px; width:240px; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); display:none; z-index:50}
.account-menu button{width:100%; text-align:left; padding:10px 12px; background:#fff; border:0; cursor:pointer; font-weight:600; display:flex; align-items:center; gap:10px}
.account-menu button:hover{background:#f8fafc}

/* Layout */
.shell{display:grid; grid-template-columns:260px 1fr; min-height:calc(100dvh - 56px)}
.sidebar{display:flex; flex-direction:column; gap:8px; border-right:1px solid var(--line); background:linear-gradient(180deg,#fff,#f8fffb); padding:18px; position:sticky; top:56px; height:calc(100dvh - 56px)}
.menu h6{margin:8px 10px; font-size:12px; color:#7a8aa2; letter-spacing:.06em; text-transform:uppercase}
.menu .hr{height:1px;background:var(--line);margin:8px 0 2px}
.menu button{width:100%; text-align:left; background:transparent; border:1px solid transparent; padding:12px 12px; border-radius:12px; font-weight:700; cursor:pointer; display:flex; gap:10px; align-items:center}
.menu button:hover{background:#f3f4f6}
.menu .active{background:var(--brand-100); border:1px solid #c9f5e1}
.menu .new{margin-left:8px; font-size:11px; padding:3px 8px; border-radius:999px; background:var(--brand-100); color:#05503a; border:1px solid #bff0d7}

/* İçerik */
.content{padding:18px 18px 24px}
.grid{display:grid; gap:12px}

/* KPI grid */
.kpis{grid-template-columns:repeat(4,minmax(180px,1fr))}
.kpis-compact .kpi-card h3{font-size:14px; margin:0 0 8px}
.kpis-compact .kpi{padding:10px; border:1px solid #e2e8f0; border-radius:12px}
.kpis-compact .kpi strong{font-size:18px}
.kpis-compact .tag{white-space:nowrap}

/* Kart genel */
.card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:14px}
.card h3{margin:0 0 8px; font-size:16px}
.kpi{display:flex; align-items:center; justify-content:space-between; gap:12px}
.tag{font-size:12px; padding:4px 8px; border-radius:999px; background:var(--brand-100); color:#065f46}

/* Tablolar/Etiketler */
.table{width:100%; border-collapse:collapse; font-size:14px}
.table th,.table td{padding:10px 6px; border-bottom:1px solid #edf2f7}
.table th{font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:#67768a; text-align:left}
.badge-dot{display:inline-flex; align-items:center; gap:6px}
.badge-dot i{width:8px;height:8px;border-radius:50%;background:var(--brand)}
.filters{display:flex; gap:8px; flex-wrap:wrap; margin:6px 0 10px}
.chip{padding:8px 10px; border:1px solid var(--line); border-radius:999px; background:#fff; cursor:pointer}
.chip.active{background:var(--brand-100); border-color:#c9f5e1; color:#0b5b3f}
input[type="text"], textarea{width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:12px; outline:0}
.slider{display:flex; align-items:center; gap:10px}
.slider input{width:100%}

.h2{margin:0 0 12px 2px; font-size:18px}
.mt{margin-top:12px}
.table-wrap{overflow:auto}
.gaps{gap:10px}

/* Basit kategori grid (eski görünüm kullanıyorsan) */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.cat{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;font-weight:700;text-align:left;cursor:pointer}
.cat:hover{border-color:#cbd5e1;background:#f9fafb}

/* Tabs */
.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.tab{padding:10px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;cursor:pointer;font-weight:700}
.tab.active{background:var(--brand-100); border-color:#bff0d7; color:#05503a}
.tabpanes .tabpane{display:none}
.tabpanes .show{display:block}
.view{display:none}
.view.show{display:block}

/* ALT TAB MENÜ */
.tabbar{
  position:fixed; bottom:0; left:0; right:0; z-index:40; background:#fff; border-top:1px solid var(--line);
  display:none; grid-template-columns:repeat(5,1fr); padding:8px 6px env(safe-area-inset-bottom); height:64px
}
.tabbar button{-webkit-tap-highlight-color:transparent;background:transparent; border:0; padding:6px 2px; display:flex; flex-direction:column; align-items:center; gap:4px; font-weight:600; color:#1f2937; font-size:12.5px}
.tabbar .dot{width:6px;height:6px;border-radius:50%;background:transparent}
.tabbar .active{color:#064e3b}
.tabbar .active .dot{background:var(--brand)}
.tabbar button .ic{margin-bottom:2px}

/* Mobil */
@media (max-width: 1023.98px){
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 767.98px){
  .shell{grid-template-columns:1fr}
  .sidebar{display:none}
  .btn{min-height:48px}
  .tabbar{display:grid}
}

/* Toast */
.toast{position:fixed; right:16px; bottom:86px; background:#0b2d22; color:#fff; padding:12px 14px; border-radius:12px; box-shadow:0 12px 24px rgba(0,0,0,.25); z-index:60}

/* ========= Hızlı İşlemler (overlap fix + responsive, revize) ========= */

/* Grid */
.promo-grid{
  display:grid; gap:10px;
  grid-template-columns:repeat(4,minmax(0,1fr));
}
@media (max-width:1023.98px){
  .promo-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Kart */
.promo-card{
  position:relative; display:flex; align-items:flex-start; gap:10px;
  padding:12px 40px 22px 12px;
  border:1px solid var(--line); border-radius:14px; background:#fff; cursor:pointer;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  min-height:86px;
}
.promo-card:hover{ border-color:#cbd5e1; box-shadow:0 6px 16px rgba(2,6,23,.06); transform:translateY(-1px) }
.promo-card:focus-visible{ outline:2px solid var(--brand-100); outline-offset:2px }

/* İçerik */
.promo-icon{
  width:36px; height:36px; border-radius:10px;
  display:grid; place-items:center; background:var(--brand-100); margin-top:2px;
}
.promo-text{ flex:1; min-width:0; line-height:1.25; }
.promo-text strong{ display:block; font-size:14px; line-height:1.2; font-weight:700; }
.promo-text small{ display:block; color:var(--muted); font-size:12px; margin-top:2px; }

/* Rozetler */
.promo-dot{
  position:absolute; right:10px; top:10px; width:10px; height:10px;
  border-radius:50%; background:#ff4966;
}
.mini-badge{
  position:absolute; right:10px; bottom:8px; font-size:10px; padding:3px 6px;
  border-radius:999px; background:var(--brand-100); color:#05503a; border:1px solid #bff0d7;
}

/* ======= Mobil düzen (daha derli toplu) ======= */
@media (max-width:640px){
  .promo-grid{ gap:8px; }

  .promo-card{
    flex-direction:column; align-items:center; text-align:center;
    padding:14px 10px 16px; min-height:unset;
  }

  .promo-icon{
    width:44px; height:44px; border-radius:12px; margin:0 0 8px 0;
  }

  .promo-text{
    max-width:100%;
  }
  .promo-text strong{
    font-size:13.5px; line-height:1.25;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  .promo-text small{
    font-size:12px; margin-top:3px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }

  /* Rozet & bildirim yeniden konumlandırma */
  .promo-dot{ top:8px; right:8px; width:8px; height:8px; }
  .mini-badge{ bottom:6px; right:6px; font-size:9.5px; padding:2px 5px; }

  /* Tap hissi */
  .promo-card:active{
    transform:scale(.985);
    box-shadow:0 0 0 2px var(--brand-100);
  }
}

/* Küçük dokunuşlar: metin taşmaları için güvenlik */
.promo-text strong, .promo-text small{
  word-break:break-word; overflow-wrap:anywhere;
}

/* İkon maske (senin mevcut .ic yapınla uyumlu kalsın) */
.promo-icon .ic{
  width:18px; height:18px;
  background:var(--brand-700);
  -webkit-mask:var(--svg) center/contain no-repeat; mask:var(--svg) center/contain no-repeat;
}


/* ========= Dijital Varlık Puanı ========= */
.digital-score .score-card{
  border:1px solid var(--line); border-radius:16px; padding:16px;
  background:linear-gradient(135deg,#0f5bd7,#1e90ff);
  color:#fff; box-shadow:var(--shadow);
}
.score-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px }
.score-head h3{ margin:0 0 4px; font-size:16px; color:#fff }
.score-head small{ opacity:.9 }
.score-badge{ padding:6px 10px; border-radius:999px; font-weight:700; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.28) }
.score-main{ display:flex; align-items:end; gap:6px; margin:10px 0 8px }
.score-value{ font-size:34px; line-height:1; font-weight:800 }
.score-max{ opacity:.9; font-weight:600 }
.score-bar{ height:10px; background:rgba(255,255,255,.22); border-radius:999px; overflow:hidden; margin:8px 0 4px }
.score-fill{ height:100%; width:40%; background:#fff; border-radius:999px }
.score-actions{ margin-top:10px }
.score-actions .btn.primary{ background:#fff; color:#053824; border-color:transparent }
.score-card.low{ background:linear-gradient(135deg,#8a1d2f,#d23b52) }
.score-card.mid{ background:linear-gradient(135deg,#a45f00,#f2a700) }
.score-card.high{ background:linear-gradient(135deg,#0b7a41,#27c36a) }

/* Kompakt dashboard ayarları */
.kpis.kpis-compact .card{ padding:12px; }
.kpis.kpis-compact .kpi{ padding:8px; }
.kpis.kpis-compact .kpi strong{ font-size:17px; }
.kpis.kpis-compact .tag{ font-size:11px; padding:3px 6px; }
.promo-grid{ margin-top:10px; }
.promo-card{ border-radius:12px; }
.promo-icon{ width:30px; height:30px; }
.digital-score .score-card{ padding:14px; border-radius:14px; }
.score-head h3{ font-size:14px; }
.score-value{ font-size:26px; }
.score-bar{ height:8px; }
.score-actions .btn.primary{ font-size:14px; padding:8px 12px; min-height:40px; }
@media (max-width:1023.98px){
  .kpis{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .promo-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ============ İşlemler (mobil app-grid) ============ */
.actions-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:12px; }
.action-tile{ display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:14px; border:1px solid var(--line); border-radius:14px; background:#fff; cursor:pointer; }
.action-tile .tile-icon{ width:38px; height:38px; border-radius:10px; display:grid; place-items:center; background:var(--brand-100); }
.action-tile strong{ font-size:14px; }

/* ============ Paket kartları (Turkcell benzeri) ============ */
/* ============ Paket kartları — daha kibar & orantılı ============ */
:root{
  --brand-50:#eafaf2; --brand-100:#d6f4e4; --brand-600:#22c55e; --brand-700:#16a34a;
  --ink:#0f172a; --muted:#64748b; --line:#e6e9ef; --shadow:0 4px 14px rgba(2,6,23,.06);
  --ring:#a7f3d0;
}

/* Grid */
.deal-list{ display:grid; gap:12px; grid-template-columns:1fr; }
@media(min-width:768px){ .deal-list{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1200px){ .deal-list{ grid-template-columns:repeat(3,1fr); } }

/* Kart */
.deal-card{
  position:relative; overflow:hidden;
  border:1px solid var(--line); border-radius:14px; background:#fff;
  box-shadow:var(--shadow);
  padding:12px; display:flex; flex-direction:column; gap:10px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  will-change:transform;
}
/* YEŞİL BULUT KAPALI */
.deal-card::after{ content:none; }

.deal-card:hover{ transform:translateY(-1px); box-shadow:0 6px 18px rgba(2,6,23,.08); border-color:#dde2ea; }
.deal-card:focus-within{ outline:2px solid var(--ring); outline-offset:2px; }

/* Üst blok (ikon + başlık) */
.deal-top{ display:flex; gap:10px; align-items:flex-start; }
.deal-fig{
  width:40px; height:40px; border-radius:10px; flex:0 0 auto;
  display:grid; place-items:center;
  background:#f8fafc; /* nötr arka plan */
  border:1px solid #e7ecf2;
}
.deal-fig .ic{ width:18px; height:18px; }

.deal-title{ margin:0; font-size:14.5px; line-height:1.25; font-weight:800; color:var(--ink); }
.deal-desc{ margin-top:2px; color:var(--muted); font-size:13px; line-height:1.45; }

/* Rozetler */
.deal-badges{ display:flex; gap:6px; flex-wrap:wrap; }
.badge{ font-size:11px; padding:3px 8px; border-radius:999px; line-height:1.2; }
.badge.green{ background:var(--brand-100); color:#065f46; border:1px solid #bff0d7; }
.badge.outline{ background:#fff; border:1px solid var(--line); color:#1f2937; }

/* İnce ayraç */
.deal-divider{ height:1px; background:linear-gradient(90deg, transparent, #eef2f7, transparent); margin:2px 0; }

/* Alt şerit (fiyat + aksiyonlar) */
.deal-ribbon{
  margin-top:2px; padding:8px 10px; border-radius:10px;
  background:#f9fbfc; /* daha nötr */
  border:1px solid #e7ecf2; color:#0b3b2b;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}

.deal-meta{ display:flex; align-items:baseline; gap:8px; }
.deal-price{ font-weight:900; letter-spacing:-0.015em; display:flex; align-items:baseline; gap:2px; }
.deal-price .cur{ font-size:12px; opacity:.85; }
.deal-price .num{ font-size:18px; }
.deal-per{ color:var(--muted); font-weight:700; font-size:12px; }

/* Butonlar */
.deal-actions{ display:flex; gap:8px; margin-left:auto; }
.deal-actions .btn{
  flex:1; min-height:34px; padding:0 10px;
  border-radius:10px; font-weight:800; font-size:12.5px;
  border:1px solid var(--line); background:#fff;
  transition:background .12s ease, color .12s ease, border-color .12s ease;
}
.deal-actions .btn:hover{ border-color:#d1d8e1; }
.deal-actions .btn.primary{
  background:var(--brand-600); color:#fff; border-color:var(--brand-700);
}
.deal-actions .btn.primary:hover{ background:var(--brand-700); }

/* Daha sıkı mobil tipografi */
@media(max-width:420px){
  .deal-list{ gap:10px; }
  .deal-card{ padding:10px; border-radius:12px; }
  .deal-title{ font-size:14px; }
  .deal-desc{ font-size:12.5px; }
  .deal-price .num{ font-size:17px; }
  .deal-actions .btn{ min-height:32px; font-size:12px; border-radius:9px; }
}
/* Arka plan karartma */
body{
  background: radial-gradient(circle at 30% 20%, #f8fafc, #e9eef3 40%, #dce3ea 100%);
  background-color:#e9eef3;
}

.deal-list::before{
  content:"";
  position:fixed; inset:0;
  background:rgba(0,0,0,0.04); /* çok hafif karartma */
  z-index:-1;
}

/* ============ Abonelik (pricing) ============ */
.pricing-grid{ display:grid; gap:12px; grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:1023.98px){ .pricing-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:639.98px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-card{ background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); padding:16px; display:flex; flex-direction:column; gap:10px; }
.price-head{ display:flex; align-items:center; justify-content:space-between; }
.price-title{ margin:0; font-size:16px; font-weight:800; }
.price-badge{ font-size:11px; padding:4px 8px; border-radius:999px; background:var(--brand-100); color:#05503a; border:1px solid #bff0d7; }
.price-val{ display:flex; align-items:end; gap:6px; }
.price-val .num{ font-size:26px; font-weight:900; line-height:1; }
.price-val .per{ color:var(--muted); font-weight:700; }
.price-list{ list-style:none; margin:2px 0 8px; padding:0; display:grid; gap:6px; }
.price-list li{ display:flex; gap:8px; align-items:center; font-size:14px; }
.price-cta .btn{ width:100%; min-height:42px; font-weight:800; }

/* ============ Modal ============ */
.modal{ position:fixed; inset:0; z-index:80; display:none; }
.modal.show{ display:block; }
.modal-backdrop{ position:absolute; inset:0; background:rgba(2,6,23,.45); }
.modal-card{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:min(560px,92vw); background:#fff; border-radius:16px; border:1px solid var(--line); box-shadow:var(--shadow); display:flex; flex-direction:column; }
.modal-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--line); }
.modal-head h3{ margin:0; font-size:16px; }
.modal-x{ background:transparent; border:0; font-size:22px; line-height:1; cursor:pointer; }
.modal-body{ padding:14px 16px; color:#1f2937; }
.modal-actions{ display:flex; gap:8px; justify-content:flex-end; padding:12px 16px; border-top:1px solid var(--line); }

/* ==== Yalnızca toolbar’lı sayfalarda alt boşluk ==== */
:root{
  --toolbar-h: 60px;           /* toolbar yüksekliği */
  --toolbar-gap: 10px;         /* boşluk */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width:768px){
  body.has-toolbar .content,
  body.has-toolbar .page,
  body.has-toolbar .app{
    padding-bottom: calc(var(--toolbar-h) + var(--toolbar-gap) + var(--safe-bottom));
  }

  .mobile-toolbar{
    position: fixed; left: 0; right: 0; bottom: 0;
    height: var(--toolbar-h);
    z-index: 1000;
    padding-bottom: var(--safe-bottom);
    /* mevcut renk/stil buraya */
  }
}


:root{
  --topbar-h: 64px;         /* üst bar yüksekliği (senin tasarıma göre ayarla) */
  --tabbar-h: 72px;         /* alt mobil tabbar (yoksa 0 yap) */
}

.framewrap{
  position: relative;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:#fff;
  overflow: hidden;
  /* Görünür alan: tam ekran - topbar - tabbar - küçük pay */
  height: calc(100dvh - var(--topbar-h) - var(--tabbar-h) - 24px);
}
@media (min-width: 1024px){
  .framewrap{ height: calc(100dvh - var(--topbar-h) - 32px); } /* desktop’ta alt tabbar yoksa */
}

.framewrap iframe{
  width:100%; height:100%;
  border:0; display:block;
  background:#fff;
}

.frameskel{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  gap:10px; color:var(--muted);
  font-weight:600;
}
