/* ==========================================================
   DiyetPRO — tasarım sistemi (tek dosya, bağımlılıksız)
   Beyaz tema + sağlık yeşili. Apple-vari sade, mobil öncelikli.
   ========================================================== */
:root {
  --yesil: #0e9f6e;
  --yesil-koyu: #047857;
  --yesil-bg: #ecfdf5;
  --bg: #f7f9fb;
  --kart: #ffffff;
  --metin: #0f172a;
  --muted: #64748b;
  --cizgi: #e5e9f0;
  --mavi: #3b82f6;   --mavi-bg: #eff6ff;
  --turuncu: #d97706; --turuncu-bg: #fffbeb;
  --kirmizi: #dc2626; --kirmizi-bg: #fef2f2;
  --radius: 14px;
  --golge: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .05);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--metin); background: var(--kart);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5rem; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.9rem; } h2 { font-size: 1.45rem; } h3 { font-size: 1.08rem; }
p { margin: 0 0 .8rem; }
a { color: var(--yesil-koyu); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
hr.ayrac { border: 0; border-top: 1px solid var(--cizgi); margin: 1rem 0; }
.gizli { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.center { text-align: center; }
.sag { text-align: right; }
.bold { font-weight: 700; }
.text-yesil { color: var(--yesil); } .text-kirmizi { color: var(--kirmizi); } .text-turuncu { color: var(--turuncu); }
.mt-1 { margin-top: .8rem; } .mt-2 { margin-top: 1.6rem; }
.mb-1 { margin-bottom: .8rem; }
.pre-wrap { white-space: pre-wrap; }
.flex { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.between { display: flex; gap: .6rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.btn-grup { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.grow { flex: 1; }

/* ---------- yerleşim ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.section { padding: 3.2rem 0; }
.section-gri { background: var(--bg); }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- kart & kpi ---------- */
.card {
  background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; box-shadow: var(--golge);
}
.card h3 { margin-top: 0; }
.empty { text-align: center; padding: 2rem 1rem; }
.kpi-grid .kpi { padding: .9rem 1rem; }
.kpi { display: flex; flex-direction: column; gap: .15rem; }
.kpi-baslik { color: var(--muted); font-size: .8rem; }
.kpi-deger { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.stat { text-align: center; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  border: 1px solid transparent; border-radius: 10px; padding: .56rem 1rem;
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; white-space: nowrap;
  transition: all .15s ease; text-decoration: none !important;
}
.btn-primary { background: var(--yesil); color: #fff; }
.btn-primary:hover { background: var(--yesil-koyu); }
.btn-ghost { background: #fff; color: var(--metin); border-color: var(--cizgi); }
.btn-ghost:hover { border-color: var(--yesil); color: var(--yesil-koyu); background: var(--yesil-bg); }
.btn-danger { background: var(--kirmizi-bg); color: var(--kirmizi); border-color: #fecaca; }
.btn-lg { padding: .75rem 1.4rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .42rem .8rem; font-size: .86rem; }
.btn-xs { padding: .26rem .6rem; font-size: .78rem; border-radius: 8px; font-weight: 600; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- formlar ---------- */
.field { margin-bottom: .8rem; }
.label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: .28rem; color: #334155; }
.input {
  width: 100%; padding: .58rem .75rem; border: 1px solid var(--cizgi); border-radius: 10px;
  font: inherit; font-size: .93rem; background: #fff; color: var(--metin); transition: border .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--yesil); box-shadow: 0 0 0 3px rgba(14, 159, 110, .14); }
textarea.input { resize: vertical; }
select.input { appearance: auto; }
.check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin: .35rem 0; cursor: pointer; }
.check input { accent-color: var(--yesil); width: 16px; height: 16px; }
.chip-secim { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-check { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--cizgi); border-radius: 999px; padding: .32rem .8rem; font-size: .86rem; cursor: pointer; background: #fff; transition: all .13s; }
.chip-check:has(input:checked) { border-color: var(--yesil); background: var(--yesil-bg); color: var(--yesil-koyu); font-weight: 600; }
.chip-check input { display: none; }
.filtre-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: .8rem; align-items: end; }
.filtre-form { padding: 1rem 1.2rem; }
.input-arama { max-width: 260px; }

/* ---------- chip & rozetler ---------- */
.chip {
  display: inline-flex; align-items: center; gap: .3rem; background: #f1f5f9; color: #334155;
  border-radius: 999px; padding: .16rem .6rem; font-size: .78rem; font-weight: 600; white-space: nowrap;
}
.chip-yesil { background: var(--yesil-bg); color: var(--yesil-koyu); }
.chip-mavi { background: var(--mavi-bg); color: #1d4ed8; }
.chip-turuncu { background: var(--turuncu-bg); color: var(--turuncu); }
.chip-kirmizi { background: var(--kirmizi-bg); color: var(--kirmizi); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.kod { font-family: "SF Mono", Consolas, monospace; background: #f1f5f9; padding: .1rem .45rem; border-radius: 6px; font-size: .84rem; }
.yildiz { color: #f59e0b; letter-spacing: .05em; }
.yildiz-buyuk { font-size: 1.2rem; }

/* ---------- uyarılar & toast ---------- */
.alert { border-radius: 12px; padding: .85rem 1rem; margin-bottom: .8rem; font-size: .92rem; border: 1px solid; }
.alert-success { background: var(--yesil-bg); border-color: #a7f3d0; color: var(--yesil-koyu); }
.alert-error { background: var(--kirmizi-bg); border-color: #fecaca; color: #991b1b; }
.alert-neutral { background: var(--bg); border-color: var(--cizgi); }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0;
  background: #0f172a; color: #fff; padding: .75rem 1.2rem; border-radius: 12px; font-size: .9rem;
  z-index: 2000; transition: all .25s ease; max-width: 90vw; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.toast-ok { background: #065f46; }
.toast-hata { background: #991b1b; }
.toast-goster { transform: translate(-50%, 0); opacity: 1; }

/* ---------- tablolar ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; padding: .5rem .55rem; border-bottom: 1px solid var(--cizgi); }
.table td { padding: .6rem .55rem; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.table tr:hover td { background: #fafcfb; }
.table .btn-xs { vertical-align: middle; }

/* ---------- genel site üst bar ---------- */
.topbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cizgi); }
.topbar-inner { display: flex; align-items: center; gap: 1.4rem; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none !important; }
.brand-logo { height: 30px; width: auto; }
.brand-name { font-size: 1.15rem; font-weight: 800; color: var(--metin); letter-spacing: -.02em; }
.brand-name strong { color: var(--yesil); }
.main-nav { display: flex; gap: 1.1rem; }
.main-nav a { color: #334155; font-weight: 600; font-size: .92rem; }
.main-nav a:hover { color: var(--yesil-koyu); text-decoration: none; }
.topbar-actions { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--cizgi); border-radius: 8px; font-size: 1.1rem; padding: .3rem .6rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding: 3.6rem 0 3rem; background: linear-gradient(180deg, #fff 0%, #f4fbf7 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: 2.7rem; letter-spacing: -.03em; }
.grad { background: linear-gradient(120deg, #059669, #34d399); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.07rem; color: #475569; max-width: 560px; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.2rem 0 1.6rem; }
.center-cta { justify-content: center; }
.hero-istatistik { display: flex; gap: 2.2rem; }
.hero-istatistik div { display: flex; flex-direction: column; }
.hero-istatistik strong { font-size: 1.45rem; color: var(--yesil-koyu); }
.hero-istatistik span { color: var(--muted); font-size: .84rem; }
.hero-gorsel { position: relative; min-height: 320px; }
.mini-kart {
  position: absolute; background: #fff; border: 1px solid var(--cizgi); border-radius: 14px;
  padding: .8rem 1rem; box-shadow: 0 14px 34px rgba(15,23,42,.10); display: flex; gap: .7rem; align-items: center;
  min-width: 240px; animation: yuz 5s ease-in-out infinite;
}
.mini-kart .mini-ikon { font-size: 1.5rem; }
.mini-kart strong { font-size: .92rem; }
.mini-kart-1 { top: 8%; left: 0; animation-delay: 0s; }
.mini-kart-2 { top: 42%; right: 0; animation-delay: 1.4s; }
.mini-kart-3 { bottom: 6%; left: 6%; animation-delay: 2.8s; }
@keyframes yuz { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.bolum-baslik { font-size: 1.7rem; letter-spacing: -.02em; }
.bolum-alt { max-width: 720px; margin-bottom: 1.6rem; }
.baslik-satir { margin-bottom: 1.1rem; }
.cta-band { background: linear-gradient(120deg, #065f46, #0e9f6e); color: #fff; padding: 3rem 0; }
.cta-band h2 { color: #fff; }
.cta-band .muted { color: #d1fae5; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ---------- özellik kartları ---------- */
.ozellik-kart { text-align: left; }
.ozellik-ikon { font-size: 1.7rem; margin-bottom: .4rem; }
.ozellik-kart p { color: var(--muted); font-size: .92rem; margin: 0; }
.app-karti .liste-tik { margin: 0; }
.liste-tik { list-style: none; padding: 0; margin: .5rem 0; }
.liste-tik li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.liste-tik li::before { content: "✓"; position: absolute; left: .2rem; color: var(--yesil); font-weight: 800; }
.liste-buyuk li { padding: .45rem 0 .45rem 1.7rem; }
.ai-karti { border: 1px solid #a7f3d0; background: linear-gradient(160deg, #f0fdf8, #fff); }

/* ---------- kart: diyetisyen ---------- */
.kart-dyt { display: flex; flex-direction: column; gap: .7rem; }
.kart-dyt-ust { display: flex; gap: .8rem; }
.kart-dyt-bilgi { min-width: 0; }
.kart-dyt-ad { margin: 0 0 .15rem; font-size: 1.02rem; }
.kart-dyt-ad a { color: var(--metin); }
.kart-dyt-yer { font-size: .84rem; }
.kart-dyt-puan { font-size: .84rem; display: flex; gap: .4rem; align-items: center; }
.kart-dyt-alt { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: .6rem; border-top: 1px solid #f1f5f9; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--yesil-bg); color: var(--yesil-koyu);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; flex: none;
}
.avatar-lg { width: 72px; height: 72px; font-size: 2rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nav-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; vertical-align: -5px; margin-right: .35rem; }
.greet-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; vertical-align: -8px; margin-right: .4rem; }
.profil-foto { display: flex; gap: 1rem; align-items: center; }
.foto-yuvarlak { width: 84px; height: 84px; border-radius: 50%; background: var(--yesil-bg); color: var(--yesil-koyu); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2rem; flex: none; overflow: hidden; }
.foto-yuvarlak img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ogun-thumb { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; flex: none; margin-right: .6rem; }

/* ---------- profil ---------- */
.profil-grid { display: grid; grid-template-columns: 1fr 340px; gap: 1.4rem; align-items: start; }
.profil-ana { display: flex; flex-direction: column; gap: 1rem; }
.profil-ust { display: flex; gap: 1rem; align-items: center; }
.profil-ust-bilgi h1 { margin: 0 0 .3rem; font-size: 1.6rem; }
.profil-yan { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 84px; }
.randevu-kutu { border-color: #a7f3d0; }
.yorum { padding: .8rem 0; border-bottom: 1px solid #f1f5f9; }
.yorum:last-child { border-bottom: 0; }
.yorum-ust { display: flex; justify-content: space-between; margin-bottom: .2rem; }
.yan-link { display: block; padding: .5rem 0; border-bottom: 1px solid #f1f5f9; }
.yan-link:last-child { border-bottom: 0; }

/* ---------- blog & yasal ---------- */
.blog-kart { display: block; color: inherit; }
.blog-kart:hover { text-decoration: none; border-color: var(--yesil); }
.blog-satir { display: block; margin-bottom: .9rem; color: inherit; }
.yazi-govde p { margin-bottom: .9rem; }
.yasal h2 { margin-top: 1.4rem; font-size: 1.1rem; }
.sss-soru summary { cursor: pointer; list-style: none; }
.sss-soru summary h3 { display: inline; margin: 0; }
.sss-soru p { margin-top: .7rem; }

/* ---------- fiyat ---------- */
.fiyat-grid { align-items: stretch; }
.fiyat-kart { display: flex; flex-direction: column; gap: .6rem; }
.fiyat-kart .liste-tik { flex: 1; }
.fiyat { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.fiyat-one { border-color: var(--yesil); box-shadow: 0 10px 32px rgba(14,159,110,.14); }

/* ---------- auth ---------- */
.auth-kart { max-width: 520px; margin: 0 auto; }

/* ---------- hata sayfaları ---------- */
.hata-kod { font-size: 4.6rem; color: var(--yesil); margin: 0; }

/* ==========================================================
   PANEL (diyetisyen + admin)
   ========================================================== */
.panel-body { background: var(--bg); }
.panel { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side {
  background: #fff; border-right: 1px solid var(--cizgi); padding: 1.1rem .8rem;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side-brand { padding: .2rem .6rem 1rem; }
.side-nav { display: flex; flex-direction: column; gap: .15rem; }
.side-nav a {
  display: flex; align-items: center; gap: .6rem; padding: .52rem .7rem; border-radius: 10px;
  color: #334155; font-weight: 600; font-size: .92rem;
}
.side-nav a:hover { background: var(--bg); text-decoration: none; }
.side-nav a.active { background: var(--yesil-bg); color: var(--yesil-koyu); }
.side-nav a span { width: 20px; text-align: center; }
.side-alt { margin-top: auto; padding: .8rem .6rem 0; display: flex; flex-direction: column; gap: .4rem; }
.panel-main { min-width: 0; display: flex; flex-direction: column; }
.panel-top {
  display: flex; align-items: center; justify-content: flex-end; gap: .8rem; padding: .7rem 1.6rem;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cizgi);
  position: sticky; top: 0; z-index: 60;
}
.panel-menu-btn { display: none; margin-right: auto; }
.panel-top-sag { display: flex; align-items: center; gap: .8rem; }
.user-chip { background: var(--yesil-bg); color: var(--yesil-koyu); padding: .3rem .75rem; border-radius: 999px; font-weight: 700; font-size: .86rem; text-decoration: none !important; }
.panel-icerik { padding: 1.4rem 1.6rem 3rem; max-width: 1180px; width: 100%; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.page-head h1 { margin: 0; font-size: 1.55rem; }

/* bildirim çanı */
.bell { position: relative; }
.bell-btn { background: #fff; border: 1px solid var(--cizgi); border-radius: 10px; padding: .4rem .6rem; cursor: pointer; font-size: 1rem; position: relative; }
.bell-sayi { position: absolute; top: -6px; right: -6px; background: var(--kirmizi); color: #fff; border-radius: 999px; font-size: .68rem; font-weight: 800; padding: .05rem .38rem; }
.bell-menu {
  display: none; position: absolute; right: 0; top: 46px; width: 320px; max-height: 380px; overflow-y: auto;
  background: #fff; border: 1px solid var(--cizgi); border-radius: 14px; box-shadow: 0 18px 44px rgba(15,23,42,.16); z-index: 90; padding: .6rem;
}
.bell-menu.open { display: block; }
.bell-ust { padding: .2rem .4rem .5rem; }
.bell-oge { display: flex; flex-direction: column; gap: .1rem; padding: .55rem .6rem; border-radius: 9px; color: inherit; }
.bell-oge:hover { background: var(--bg); text-decoration: none; }
.bell-oge.yeni { background: var(--yesil-bg); }

/* sekmeler */
.tabs { display: flex; gap: .3rem; overflow-x: auto; border-bottom: 1px solid var(--cizgi); padding-bottom: 0; }
.tab { background: none; border: 0; border-bottom: 2.5px solid transparent; padding: .55rem .8rem; font: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab.active { color: var(--yesil-koyu); border-bottom-color: var(--yesil); }
.sekme-icerik { margin-top: 1rem; }

/* takvim */
.takvim-grid { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: .6rem; overflow-x: auto; }
.takvim-gun { background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; padding: .6rem; min-height: 120px; }
.takvim-gun.bugun { border-color: var(--yesil); box-shadow: 0 0 0 3px rgba(14,159,110,.12); }
.takvim-gun-baslik { display: flex; flex-direction: column; margin-bottom: .5rem; border-bottom: 1px solid #f1f5f9; padding-bottom: .35rem; }
.takvim-randevu { background: var(--bg); border-radius: 10px; padding: .5rem .55rem; margin-bottom: .5rem; font-size: .84rem; }

/* mesajlar */
.mesaj-duzen { display: grid; grid-template-columns: 300px 1fr; gap: 1rem; align-items: start; }
.mesaj-liste { max-height: 640px; overflow-y: auto; }
.mesaj-thread { display: block; padding: .6rem .7rem; border-radius: 10px; color: inherit; margin-bottom: .25rem; }
.mesaj-thread:hover { background: var(--bg); text-decoration: none; }
.mesaj-thread.active { background: var(--yesil-bg); }
.mesaj-icerik { display: flex; flex-direction: column; min-height: 480px; }
.sohbet { flex: 1; overflow-y: auto; padding: .8rem .2rem; display: flex; flex-direction: column; gap: .55rem; min-height: 300px; max-height: 520px; }
.balon { display: flex; flex-direction: column; max-width: 78%; }
.balon-ben { align-self: flex-end; align-items: flex-end; }
.balon-o { align-self: flex-start; }
.balon-ai { align-self: flex-start; }
.balon-ic { background: #f1f5f9; padding: .55rem .8rem; border-radius: 14px; font-size: .92rem; }
.balon-ben .balon-ic { background: var(--yesil); color: #fff; }
.balon-ai .balon-ic { background: #eef2ff; border: 1px solid #e0e7ff; }
.balon-zaman { font-size: .7rem; color: var(--muted); margin-top: .15rem; }
.sohbet-form { display: flex; gap: .5rem; margin-top: .6rem; }

/* plan oluşturucu */
.plan-meal { border-top: 1px solid #f1f5f9; padding: .7rem 0; }
.plan-meal-ust select { max-width: 170px; }
.plan-item { display: grid; grid-template-columns: 1fr 74px 1fr 84px 34px; gap: .45rem; align-items: center; margin-bottom: .4rem; }
.pi-besin { position: relative; }
.pi-drop { position: absolute; z-index: 40; top: 40px; left: 0; width: 330px; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid var(--cizgi); border-radius: 12px; box-shadow: 0 14px 34px rgba(15,23,42,.16); }
.pi-secenek { padding: .5rem .7rem; cursor: pointer; font-size: .86rem; border-bottom: 1px solid #f8fafc; }
.pi-secenek:hover { background: var(--yesil-bg); }
.plan-alts { margin-top: .4rem; padding-top: .4rem; border-top: 1px dashed var(--cizgi); }

/* tarif & rozet & app */
.tarif-kart { padding: .9rem; }
.rozet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.rozet { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; padding: .8rem .5rem; border-radius: 12px; border: 1px solid var(--cizgi); }
.rozet-ikon { font-size: 1.7rem; }
.rozet-kazanildi { background: var(--yesil-bg); border-color: #a7f3d0; }
.rozet-kilitli { opacity: .45; filter: grayscale(1); }

/* ==========================================================
   DANIŞAN UYGULAMASI (PWA)
   ========================================================== */
.app-body { background: var(--bg); }
.app-top {
  position: sticky; top: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cizgi);
  max-width: 680px; margin: 0 auto;
}
.brand-mini .brand-logo { height: 28px; width: auto; }
.brand-mini .brand-name { font-size: 1rem; }
.app-top-sag { display: flex; align-items: center; gap: .6rem; }
.app-main { max-width: 680px; margin: 0 auto; padding: 1rem 1rem 92px; }
.app-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; justify-content: space-around; background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--cizgi); padding: .4rem .3rem calc(.4rem + env(safe-area-inset-bottom));
}
.app-bottom a { display: flex; flex-direction: column; align-items: center; gap: .1rem; font-size: .68rem; font-weight: 700; color: var(--muted); text-decoration: none !important; padding: .2rem .6rem; }
.app-bottom a span { font-size: 1.25rem; }
.app-bottom a.active { color: var(--yesil-koyu); }
.karsilama h2 { margin-bottom: .15rem; }
.seri { display: flex; align-items: center; gap: .3rem; background: var(--turuncu-bg); border-radius: 12px; padding: .5rem .8rem; }
.seri-ikon { font-size: 1.3rem; }
.seri strong { font-size: 1.3rem; }
.minik-kart { display: flex; gap: .7rem; align-items: center; color: inherit; }
.minik-kart:hover { text-decoration: none; border-color: var(--yesil); }
.minik-kart .mini-ikon { font-size: 1.6rem; }
.minik-kart div { display: flex; flex-direction: column; }
.randevu-kart { display: flex; gap: .7rem; align-items: center; border-color: #a7f3d0; background: var(--yesil-bg); }
.kod-kart { border-color: #a7f3d0; }
.ogun-satir { display: flex; gap: .6rem; align-items: center; }
.ogun-foto { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.ogun-foto-buyuk { max-height: 220px; border-radius: 12px; margin-top: .5rem; }
.satir { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid #f8fafc; flex-wrap: wrap; }
.satir:last-child { border-bottom: 0; }
.gun-icerik { margin-top: .8rem; }
.exsik-kart { border-color: #fde68a; background: #fffbeb; }
.eksik-kart { border-color: #fde68a; background: #fffbeb; }

/* ---------- duyarlılık ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-gorsel { display: none; }
  .profil-grid { grid-template-columns: 1fr; }
  .profil-yan { position: static; }
  .mesaj-duzen { grid-template-columns: 1fr; }
  .filtre-grid { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr; }
  .side { position: fixed; z-index: 120; left: 0; top: 0; bottom: 0; width: 260px; transform: translateX(-104%); transition: transform .22s ease; box-shadow: 0 0 60px rgba(15,23,42,.2); }
  .side.open { transform: translateX(0); }
  .panel-menu-btn { display: inline-block; }
  .main-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--cizgi); flex-direction: column; padding: 1rem 1.4rem; gap: .8rem; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .topbar-actions { margin-left: 0; }
  .hero h1 { font-size: 2.1rem; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .filtre-grid { grid-template-columns: 1fr; }
  .plan-item { grid-template-columns: 1fr 64px 34px; }
  .plan-item .pi-gosterim { grid-column: 1 / 3; }
  .plan-item .pi-kcal { display: none; }
  .takvim-grid { grid-template-columns: repeat(7, 160px); }
  .section { padding: 2.2rem 0; }
  .hero { padding: 2.4rem 0; }
  h1 { font-size: 1.5rem; }
}
