/* ===================================================================
   Anasayfa — 3 katmanlı navbar (utility / main / menubar)
   Mevcut sistemle uyumlu: shared-nav.js <nav>'ı doldurur (Domain mega
   menüsü dahil), shop.js sepet/bildirim/üye ikonlarını .hb-actions'a enjekte eder.
   =================================================================== */

/* dış kabuk: site-header'ın sticky/blur'unu sıfırla, tiering'i biz yönetelim */
.hb-header {
  position: relative;
  background: transparent;
  border-bottom: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  z-index: 80;
}

/* ---------------- TIER 1 · utility bar ---------------- */
.hb-utility {
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  font-size: 14px;
}
.hb-utility-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 46px; gap: 18px;
}
.hb-promo {
  position: relative; flex: 1; min-width: 0; height: 22px; overflow: hidden;
}
.hb-promo-line {
  position: absolute; left: 0; right: 0; top: 0; height: 22px; line-height: 22px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--c-ink-soft); font-weight: 500;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s;
}
.hb-promo-line.is-enter { transform: translateY(115%); opacity: 0; }
.hb-promo-line.is-out { transform: translateY(-115%); opacity: 0; }
.hb-promo.is-marquee { overflow: hidden; }
.hb-promo-mq {
  display: inline-block; white-space: nowrap; will-change: transform;
  color: var(--c-ink-soft); font-weight: 500;
}
.hb-util-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.hb-util-link {
  position: relative; color: var(--c-ink-soft); font-weight: 600;
  padding: 6px 18px; transition: color .15s;
}
.hb-util-link::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 16px; background: var(--c-line-2);
}
.hb-util-link:hover { color: var(--c-ink); }
.hb-social { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px 0 16px; position: relative; }
.hb-social::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 16px; background: var(--c-line-2);
}
.hb-social a {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; color: var(--c-ink-soft); transition: all .15s;
}
.hb-social a:hover { background: var(--c-surface); color: var(--c-mint-deep); }
.hb-social svg { width: 16px; height: 16px; }
.hb-currency {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-weight: 700; color: var(--c-ink);
  padding: 7px 12px; border-radius: 9px; transition: background .15s;
}
.hb-currency:hover { background: var(--c-surface); }
.hb-currency svg { width: 14px; height: 14px; color: var(--c-muted); }

/* ---- dropdownlar (para birimi + dil) ---- */
.hb-dd { position: relative; }
.hb-lang {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 9px; border-radius: 9px; transition: background .15s;
}
.hb-lang:hover { background: var(--c-surface); }
.hb-lang .flag { font-size: 17px; line-height: 1; }
.hb-lang svg { width: 14px; height: 14px; color: var(--c-muted); }
.hb-dd-menu {
  position: absolute; top: calc(100% + 7px); left: 0; min-width: 178px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 13px;
  box-shadow: var(--shadow-lg); padding: 6px; z-index: 130;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .16s;
}
.hb-dd-menu.hb-dd-right { left: auto; right: 0; }
.hb-dd.open .hb-dd-menu { opacity: 1; visibility: visible; transform: none; }
.hb-dd-menu button {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 11px; border-radius: 9px; font-size: 13px; font-weight: 600;
  color: var(--c-ink-soft); text-align: left; transition: background .12s, color .12s;
}
.hb-dd-menu button:hover { background: var(--c-bg-2); color: var(--c-ink); }
.hb-dd-menu button.on { color: var(--c-mint-deep); font-weight: 800; background: var(--c-mint-soft); }
.hb-dd-menu .flag { font-size: 16px; line-height: 1; }

/* ---------------- sticky wrapper (main + menubar) ---------------- */
.hb-stick {
  position: sticky; top: 0; z-index: 70;
  background: rgba(251, 251, 250, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
  transition: transform .32s cubic-bezier(.4,0,.2,1), box-shadow .25s;
}
/* eşiği geçince sabitlenir (sticky parent yüksekliğiyle sınırlı olduğu için) */
.hb-stick.hb-pinned { position: fixed; top: 0; left: 0; right: 0; }
.hb-stick.hb-hidden { transform: translateY(-100%); }
.hb-stick.hb-floating { box-shadow: 0 8px 28px rgba(20,30,50,.1); }
.hb-stick-spacer { display: none; }
.hb-stick-spacer.on { display: block; }

/* ---------------- TIER 2 · main bar ---------------- */
.hb-header .hb-main {
  display: flex; align-items: center; gap: 26px;
  height: 92px;
}
.hb-header .brand { font-size: 22px; flex-shrink: 0; }
.hb-header .brand-name { letter-spacing: -.02em; }
.hb-header .brand .mark { width: 38px; height: 38px; border-radius: 11px; font-size: 18px; }

/* search */
.hb-search {
  flex: 1; max-width: 720px; position: relative;
  display: flex; align-items: center;
  background: var(--c-surface);
  border: 1.5px solid var(--c-mint);
  border-radius: 13px;
  padding: 4px 4px 4px 18px;
  transition: box-shadow .15s, border-color .15s;
}
.hb-search:focus-within { box-shadow: 0 0 0 4px rgba(var(--c-accent-rgb), .14); }
.hb-search input {
  flex: 1; font: inherit; font-size: 15px; color: var(--c-ink);
  border: none; outline: none; background: transparent; padding: 11px 0;
}
.hb-search input::placeholder { color: var(--c-muted); }
.hb-search button {
  flex-shrink: 0; width: 46px; height: 42px; border-radius: 10px;
  background: var(--c-bg-2); color: var(--c-ink-soft);
  display: grid; place-items: center; transition: all .15s;
}
.hb-search button:hover { background: var(--c-mint); color: #fff; }
.hb-search button svg { width: 19px; height: 19px; }

/* arama: tam genişlik overlay + panel */
.hb-mega-overlay {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(20, 25, 40, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s;
}
body.hb-mega-on .hb-mega-overlay { opacity: 1; visibility: visible; }
.hb-search-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(20, 25, 40, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
body.hb-search-on .hb-search-overlay { opacity: 1; visibility: visible; }
.hb-search-panel {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
  background: var(--c-surface); border-top: 1px solid var(--c-line);
  box-shadow: 0 30px 60px rgba(15, 25, 45, .16);
  padding: 22px 0 26px; max-height: 74vh; overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
body.hb-search-on .hb-search-panel { opacity: 1; visibility: visible; transform: none; }
.hb-sp-mobsearch { display: none; }
.hb-sp-mobsearch:focus-within { border-color: var(--c-mint); background: var(--c-surface); }
.hb-sp-mobic { color: var(--c-muted); display: grid; place-items: center; }
.hb-sp-mobic svg { width: 19px; height: 19px; }
.hb-sp-mobsearch input { flex: 1; border: none; background: none; outline: none; font: inherit; font-size: 16px; color: var(--c-ink); }
.hb-sp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hb-sp-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.hb-sp-tab { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--c-line); background: var(--c-surface); font-size: 13.5px; font-weight: 700; color: var(--c-ink-soft); transition: all .15s; }
.hb-sp-tab:hover { border-color: var(--c-ink); color: var(--c-ink); }
.hb-sp-tab.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.hb-sp-title { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); }
.hb-sp-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--c-ink); padding: 8px 13px; border: 1.5px solid var(--c-line); border-radius: 10px; transition: all .15s; }
.hb-sp-back[hidden] { display: none; }
.hb-sp-back:hover { border-color: var(--c-ink); }
.hb-sp-back svg { width: 15px; height: 15px; }
.hb-sp-close { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; background: var(--c-bg-2); color: var(--c-ink-soft); display: grid; place-items: center; transition: all .15s; flex-shrink: 0; }
.hb-sp-close:hover { background: var(--c-ink); color: #fff; }
.hb-sp-close svg { width: 17px; height: 17px; }

.hb-sp-body.hb-sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hb-sp-body.hb-templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hb-sdd-card { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid var(--c-line); border-radius: 13px; background: var(--c-surface); text-align: left; transition: all .14s; }
.hb-sdd-card:hover { border-color: var(--c-mint); background: var(--c-mint-soft); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hb-sdd-card .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--c-mint-soft); color: var(--c-mint-deep); display: grid; place-items: center; flex-shrink: 0; transition: background .14s; }
.hb-sdd-card:hover .ic { background: var(--c-surface); }
.hb-sdd-card .ic svg { width: 20px; height: 20px; }
.hb-sdd-card .tx { min-width: 0; }
.hb-sdd-card .tx b { display: block; font-size: 13.5px; font-weight: 800; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-sdd-card .tx span { font-size: 11.5px; color: var(--c-ink-soft); }
.hb-tplc { text-decoration: none; }
.hb-tpl-pick { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--c-mint-deep); margin-top: 6px; }
.hb-tpl-pick svg { width: 13px; height: 13px; }
.hb-sdd-empty { text-align: center; padding: 40px 16px 34px; }
.hb-sdd-empty .eic { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; background: var(--c-bg-2); color: var(--c-muted); display: grid; place-items: center; }
.hb-sdd-empty .eic svg { width: 27px; height: 27px; }
.hb-sdd-empty b { display: block; font-size: 15px; font-weight: 800; color: var(--c-ink); margin-bottom: 5px; }
.hb-sdd-empty span { font-size: 12.5px; color: var(--c-ink-soft); }

/* phone */
.hb-phone { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.hb-phone .ph-ic {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--c-line-2); color: var(--c-mint-deep);
  display: grid; place-items: center; transition: all .15s;
}
.hb-phone:hover .ph-ic { border-color: var(--c-mint); background: var(--c-mint-soft); }
.hb-phone .ph-ic svg { width: 20px; height: 20px; }
.hb-phone .ph-tx { display: flex; flex-direction: column; line-height: 1.15; }
.hb-phone .ph-tx small { font-size: 11.5px; color: var(--c-ink-soft); font-weight: 600; }
.hb-phone .ph-tx b { font-size: 16px; font-weight: 800; color: var(--c-ink); letter-spacing: -.01em; }

/* actions (shop.js: bildirim + sepet + üye buraya enjekte eder) */
.hb-main .hb-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ---------------- TIER 3 · menubar ---------------- */
.hb-menubar { background: transparent; }
.hb-menubar-inner { display: flex; align-items: center; gap: 18px; position: relative; }

/* nav (shared-nav.js doldurur — Domain mega menüsü dahil) */
.hb-header .hb-menubar nav {
  flex: 1;
  display: flex; align-items: center; gap: 34px;
  font-size: 15.5px; font-weight: 700;
  color: var(--c-ink);
}
.hb-header .hb-menubar nav > a,
.hb-header .hb-menubar nav > .has-mega > button,
.hb-header .hb-menubar nav > .has-sub > button {
  padding: 17px 0; font-weight: 700; color: var(--c-ink);
}
.hb-header .hb-menubar nav > a:hover,
.hb-header .hb-menubar nav > .has-mega > button:hover { color: var(--c-mint-deep); }
/* NOT: .has-mega / .mega-menu stilleri style.css'ten aynen korunur (hover alt menü tasarımı değişmez) */

/* ---- Domain + Özel Yazılımlar alt menüleri: ortak stil
   (gri içerik arka planı, beyaz kutular, küçük yazı). Fark: sw 3 sütun, domain 2 ---- */
.mega-grid { background: var(--c-bg-2); }
.mega-item .illus { background: var(--c-surface); width: 54px; height: 54px; }
.mega-item { padding: 15px 16px; gap: 13px; }
/* Kurumsal & E-Ticaret kategori mega: tetiğe sola hizalı, 3 sütun (sola taşmaz) */
.cat-mega .mega-menu {
  left: 0; right: auto;
  transform: translateY(8px);
  width: min(720px, calc(100vw - 32px));
}
.cat-mega .mega-grid { grid-template-columns: repeat(3, 1fr); }
.cat-mega .mega-item { padding: 12px 13px; gap: 11px; }
.cat-mega .mega-item .illus { width: 46px; height: 46px; }
.cat-mega .mega-item .text b { font-size: 13.5px; }
.cat-mega .mega-item .text span { font-size: 11.5px; }
.cat-mega.has-mega:hover .mega-menu,
.cat-mega.has-mega:focus-within .mega-menu,
.cat-mega.has-mega.is-open .mega-menu { transform: translateY(0); }
.mega-item .text b { font-size: 14px; margin-bottom: 2px; }
.mega-item .text span { font-size: 12px; }
/* tam navbar genişliği: container sol kenarından Ücretsiz Demo'ya kadar (masaüstü) */
@media (min-width: 861px) {
  .mobile-drawer, .md-overlay, .mobile-tabbar { display: none !important; }
  .sw-mega.has-mega, .cat-mega.has-mega { position: static; }
  .sw-mega .mega-menu, .cat-mega .mega-menu {
    left: 0; right: 0; width: auto; max-width: none;
    transform: translateY(8px);
  }
  .sw-mega.has-mega:hover .mega-menu,
  .sw-mega.has-mega:focus-within .mega-menu,
  .sw-mega.has-mega.is-open .mega-menu,
  .cat-mega.has-mega:hover .mega-menu,
  .cat-mega.has-mega:focus-within .mega-menu,
  .cat-mega.has-mega.is-open .mega-menu { transform: translateY(0); }
  .sw-mega .mega-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Bayilik mega: paketler (pakete göre renk) ---- */
.bayi-mega .mega-menu { width: min(760px, calc(100vw - 32px)); padding: 16px; }
.bayi-mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bayi-card {
  position: relative; display: flex; flex-direction: column;
  border: 1.5px solid var(--c-line); border-radius: 16px; padding: 16px 15px 14px;
  background: var(--c-surface); transition: transform .16s, box-shadow .16s, border-color .16s; text-decoration: none;
  --pk: var(--c-muted); --pk-soft: var(--c-bg-2); --pk-ink: var(--c-ink);
}
.bayi-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15,25,45,.14); border-color: var(--pk); }
.bayi-card .bc-top { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.bayi-card .bc-emblem {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 17px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--pk), var(--pk-ink));
  box-shadow: 0 5px 14px var(--pk-soft);
}
.bayi-card .bc-id { min-width: 0; flex: 1; }
.bayi-card .bc-id b { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.01em; color: var(--c-ink); }
.bayi-card .bc-id span { font-size: 11px; font-weight: 600; color: var(--c-muted); }
.bayi-card .bc-disc { text-align: right; flex-shrink: 0; }
.bayi-card .bc-disc b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--pk); line-height: 1; }
.bayi-card .bc-disc span { font-size: 10px; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: .04em; }
.bayi-card .bc-feats { list-style: none; margin: 0 0 13px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.bayi-card .bc-feats li { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--c-ink-soft); }
.bayi-card .bc-feats svg { width: 13px; height: 13px; color: var(--pk); flex-shrink: 0; }
.bayi-card .bc-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--c-line); display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.bayi-card .bc-price { font-size: 15px; font-weight: 800; color: var(--c-ink); display: flex; flex-direction: column; }
.bayi-card .bc-price small { font-size: 9.5px; font-weight: 600; color: var(--c-muted); letter-spacing: 0; }
.bayi-card .bc-go { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: var(--pk); white-space: nowrap; }
.bayi-card .bc-go svg { width: 13px; height: 13px; }
.bayi-card .bayi-pop {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: linear-gradient(140deg, var(--pk), var(--pk-ink)); padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
/* paket renkleri */
.bayi-card.pack-silver   { --pk: #8A93A3; --pk-ink: #5A6373; --pk-soft: rgba(138,147,163,.28); }
.bayi-card.pack-gold     { --pk: #E0982E; --pk-ink: #B47816; --pk-soft: rgba(224,152,46,.28); }
.bayi-card.pack-platinum { --pk: #6E7CF2; --pk-ink: #4F5BD5; --pk-soft: rgba(110,124,242,.30); }
.bayi-card.pack-gold { border-color: rgba(224,152,46,.4); }
.bayi-mega-all {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--c-bg-2);
  font-size: 13px; font-weight: 800; color: var(--c-ink); transition: background .14s;
}
.bayi-mega-all:hover { background: var(--c-line); }
.bayi-mega-all svg { width: 14px; height: 14px; }

/* ---- Özel Yazılımlar: dikey alt menü (nötr/koyu, yeşil değil) ---- */
.hb-header .hb-menubar nav > .has-sub { position: relative; }
.hb-header .hb-menubar nav > .has-sub > button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; cursor: pointer; font: inherit;
}
.hb-header .hb-menubar nav > .has-sub > button .chev { width: 15px; height: 15px; transition: transform .2s; color: var(--c-muted); }
.hb-header .hb-menubar nav > .has-sub:hover > button { color: var(--c-ink); }
.hb-header .hb-menubar nav > .has-sub:hover > button .chev { transform: rotate(180deg); }
.hb-sub-menu, .has-sub > .sub-menu {
  position: absolute; top: 100%; left: -14px; min-width: 218px;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; z-index: 130;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub > .sub-menu > a {
  display: block; padding: 11px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--c-ink-soft);
  white-space: nowrap; transition: background .14s, color .14s; text-decoration: none;
}
.has-sub > .sub-menu > a:hover { background: var(--c-bg-2); color: var(--c-ink); }

/* online randevu / demo CTA (sağ) */
.hb-randevu {
  display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0;
  font-size: 15px; font-weight: 800; letter-spacing: .01em;
  color: var(--c-ink); padding: 9px 4px; transition: color .15s;
}
.hb-randevu:hover { color: var(--c-mint-deep); }
.hb-randevu .rv-ic {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--c-mint-soft); color: var(--c-mint-deep);
  display: grid; place-items: center;
}
.hb-randevu .rv-ic svg { width: 18px; height: 18px; }

/* mobil menü düğmesi (varsayılan gizli) */
.hb-menubar .menu-toggle { display: none; }
.hb-mobile-actions { display: none; }

/* ============================================================
   MOBİL DRAWER (soldan açılır) + STICKY BOTTOM BAR
   ============================================================ */
.md-overlay {
  position: fixed; inset: 0; z-index: 240;
  background: rgba(15, 20, 35, .5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .28s, visibility .28s;
}
body.md-open .md-overlay { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 250;
  width: 312px; max-width: 86vw;
  background: var(--c-bg, #fff);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.3,.8,.3,1);
  box-shadow: 18px 0 50px rgba(15, 20, 35, .22);
}
body.md-open .mobile-drawer { transform: none; }
.mobile-drawer .md-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--c-line); background: var(--c-surface);
}
.mobile-drawer .md-head .brand { font-size: 19px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.mobile-drawer .md-close {
  margin-left: auto; width: 36px; height: 36px; border-radius: 10px;
  background: var(--c-bg-2); color: var(--c-ink-soft); display: grid; place-items: center; transition: all .15s;
}
.mobile-drawer .md-close:hover { background: var(--c-ink); color: #fff; }
.mobile-drawer .md-close svg { width: 18px; height: 18px; }
.mobile-drawer .md-body { flex: 1; overflow-y: auto; padding: 10px 12px 16px; -webkit-overflow-scrolling: touch; }
.md-search { display: flex; align-items: center; gap: 9px; margin: 4px 0 12px; padding: 0 13px; height: 46px; border-radius: 13px; background: var(--c-bg-2); border: 1.5px solid var(--c-line); transition: border-color .15s, background .15s; }
.md-search:focus-within { border-color: var(--c-mint); background: var(--c-surface); }
.md-search .md-search-ic { color: var(--c-muted); display: grid; place-items: center; }
.md-search .md-search-ic svg { width: 18px; height: 18px; }
.md-search input { flex: 1; border: none; background: none; outline: none; font: inherit; font-size: 14.5px; color: var(--c-ink); }
.md-search input::placeholder { color: var(--c-muted); }
.md-link {
  display: flex; align-items: center; padding: 14px 12px;
  font-size: 15.5px; font-weight: 700; color: var(--c-ink);
  border-radius: 12px; transition: background .12s;
}
.md-link:hover, .md-link:active { background: var(--c-bg-2); }
.md-acc { border-radius: 12px; overflow: hidden; }
.md-acc-h {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px; font-size: 15.5px; font-weight: 700; color: var(--c-ink);
  text-align: left; border-radius: 12px; transition: background .12s;
}
.md-acc-h:hover { background: var(--c-bg-2); }
.md-acc-chev { width: 22px; height: 22px; display: grid; place-items: center; color: var(--c-muted); transition: transform .25s; }
.md-acc-chev svg { width: 16px; height: 16px; }
.md-acc.open > .md-acc-h { color: var(--c-mint-deep); }
.md-acc.open .md-acc-chev { transform: rotate(90deg); color: var(--c-mint-deep); }
.md-acc-p { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.md-sub-link {
  display: block; padding: 11px 12px 11px 22px; margin: 1px 0;
  font-size: 14px; font-weight: 600; color: var(--c-ink-soft);
  border-radius: 10px; position: relative;
}
.md-sub-link::before { content: ''; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--c-line-2); }
.md-sub-link:hover, .md-sub-link:active { background: var(--c-bg-2); color: var(--c-ink); }
.mobile-drawer .md-foot { border-top: 1px solid var(--c-line); padding: 12px; background: var(--c-surface); display: flex; flex-direction: column; gap: 2px; }
.md-foot-link { display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-size: 13.5px; font-weight: 600; color: var(--c-ink-soft); border-radius: 10px; }
.md-foot-link:hover { background: var(--c-bg-2); color: var(--c-ink); }
.md-foot-link svg { width: 16px; height: 16px; color: var(--c-muted); }
.md-randevu { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; background: var(--c-mint); color: #fff; font-size: 14px; font-weight: 800; }
.md-randevu:hover { background: var(--c-mint-deep); }

/* sticky bottom bar (yalnız mobil) */
.mobile-tabbar { display: none; }
@media (max-width: 860px) {
  .mobile-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    display: flex; justify-content: space-around; align-items: stretch;
    background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--c-line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 24px rgba(15,20,35,.07);
  }
  .mt-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 2px; font-size: 10.5px; font-weight: 700; color: var(--c-muted);
    background: none; transition: color .15s;
  }
  .mt-item .mt-ic { position: relative; width: 24px; height: 24px; display: grid; place-items: center; }
  .mt-item .mt-ic svg { width: 22px; height: 22px; }
  .mt-item.on { color: var(--c-mint-deep); }
  .mt-item:active { color: var(--c-ink); }
  .mt-badge-n { background: var(--c-coral); }

  /* mobil bildirim alt sayfası */
  .mnotif-back { position: fixed; inset: 0; z-index: 260; background: rgba(15,20,35,.5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  body.mnotif-open .mnotif-back { opacity: 1; visibility: visible; }
  .mnotif-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 270; background: var(--c-bg, #fff); border-radius: 20px 20px 0 0; max-height: 80vh; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .3s cubic-bezier(.3,.8,.3,1); box-shadow: 0 -18px 50px rgba(15,20,35,.24); }
  body.mnotif-open .mnotif-sheet { transform: none; }
  .mnotif-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; border-bottom: 1px solid var(--c-line); }
  .mnotif-head b { font-size: 16px; font-weight: 800; }
  .mnotif-readall { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--c-mint-deep); }
  .mnotif-close { width: 32px; height: 32px; border-radius: 9px; background: var(--c-bg-2); color: var(--c-ink-soft); display: grid; place-items: center; }
  .mnotif-close svg { width: 16px; height: 16px; }
  .mnotif-body { flex: 1; overflow-y: auto; padding: 6px 0; -webkit-overflow-scrolling: touch; }
  .mnotif-empty { padding: 40px 20px; text-align: center; color: var(--c-muted); font-size: 13.5px; }
  .mnotif-item { display: flex; gap: 12px; width: 100%; text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--c-line); position: relative; }
  .mnotif-item.unread { background: rgba(77,212,172,.06); }
  .mn-ic { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; background: var(--c-mint-soft); color: var(--c-mint-deep); display: grid; place-items: center; }
  .mn-ic svg { width: 18px; height: 18px; }
  .mn-tx { min-width: 0; flex: 1; }
  .mn-tx b { display: block; font-size: 13.5px; font-weight: 800; }
  .mn-tx span { display: block; font-size: 12.5px; color: var(--c-ink-soft); line-height: 1.4; margin: 2px 0 3px; }
  .mn-tx i { font-size: 11px; color: var(--c-muted); font-style: normal; font-weight: 600; }
  .mn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-mint); flex-shrink: 0; margin-top: 6px; }
  .mnotif-foot { display: block; text-align: center; padding: 14px; font-size: 13.5px; font-weight: 800; color: var(--c-ink); border-top: 1px solid var(--c-line); background: var(--c-bg-2); }
  html[data-theme="dark"] .mnotif-sheet { background: #171C2B; }
  .mt-badge {
    position: absolute; top: -4px; right: -6px; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 999px; background: var(--c-coral); color: #fff; font-size: 10px; font-weight: 800;
    display: none; place-items: center; border: 2px solid #fff;
  }
  .mt-badge.show { display: grid; }
  /* bottom bar için sayfa altına boşluk */
  body { padding-bottom: 62px; }
  html[data-theme="dark"] .mobile-tabbar { background: rgba(15,19,32,.96); }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .hb-header .hb-menubar nav { gap: 24px; font-size: 14.5px; }
  .hb-search { max-width: none; }
  .hb-phone .ph-tx { display: none; }
  .hb-sp-body.hb-sectors { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .hb-promo { font-size: 12.5px; }
  .hb-util-link { padding: 6px 12px; }
  .hb-header .hb-main { height: 64px; gap: 12px; }
  .hb-header .brand span:not(.mark) { display: inline; }
  .hb-header .brand { font-size: 21px; }
  .hb-phone { display: none; }
  /* mobilde tek parça navbar: arama çubuğu + menü çubuğu gizli, logo solda + Demo+Menü sağda */
  .hb-header .hb-search { display: none; }
  .hb-header .hb-menubar { display: none; }
  .hb-main .hb-actions { display: none; }
  .hb-mobile-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
  .hb-mob-demo {
    display: inline-flex; align-items: center; height: 40px; padding: 0 15px;
    border-radius: 11px; background: var(--c-mint); color: #fff;
    font-size: 13.5px; font-weight: 800; white-space: nowrap;
  }
  .hb-mob-burger {
    width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
    background: var(--c-bg-2); color: var(--c-ink); display: grid; place-items: center;
  }
  .hb-mob-burger svg { width: 22px; height: 22px; }
  /* arama dropdown panel — mobilde tam ekran, temiz düzen */
  .hb-search-panel { position: fixed; top: 0; left: 0; right: 0; bottom: 0; max-height: none; border-radius: 0; padding: 0; overflow-y: auto; z-index: 250; background: var(--c-bg, #fff); }
  .hb-search-panel .hb-sp-inner { padding: 14px 16px 32px; max-width: none; }
  .hb-sp-head { margin-bottom: 0; }
  .hb-sp-head .hb-sp-title { display: none; }
  .hb-sp-head .hb-sp-back { font-size: 13px; }
  .hb-sp-head .hb-sp-close { margin-left: auto; width: 38px; height: 38px; border-radius: 11px; background: var(--c-bg-2); display: grid; place-items: center; flex-shrink: 0; }
  .hb-sp-mobsearch { display: flex; align-items: center; gap: 10px; height: 50px; margin: 12px 0 14px; padding: 0 14px; border-radius: 14px; background: var(--c-bg-2); border: 1.5px solid var(--c-line); }
  .hb-sp-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-bottom: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hb-sp-tabs::-webkit-scrollbar { display: none; }
  .hb-sp-tab { flex: 0 0 auto; }
  .hb-sp-body.hb-sectors { grid-template-columns: 1fr; gap: 8px; }
  .hb-sp-body.hb-templates { grid-template-columns: 1fr; }
  .bayi-mega .mega-menu { width: auto; }
  .bayi-mega-grid { grid-template-columns: 1fr; }
  .sw-mega .mega-menu { width: auto; }
  .sw-mega .mega-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hb-util-right .hb-util-link { display: none; }
  .hb-social { display: none; }
  .hb-randevu span,
  .hb-randevu { font-size: 0; gap: 0; }
  .hb-randevu .rv-ic { font-size: 0; }
  .hb-sp-body.hb-sectors { grid-template-columns: 1fr; }
}
