/**
 * MF-10 / HP-H1 + HP-H2 — mobil menü, scroll-margin, header katmanı
 */
:root {
  --ym-header-h: 4.75rem;
}

#ym-site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

#hero,
#hizmetler,
#fiyatlar,
#poz-arama-motoru,
#site-duyurular,
.section-padding[id] {
  scroll-margin-top: var(--ym-header-h);
}

.ym-brand-mark {
  margin: 0;
}

.ym-hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.ym-hamburger[aria-expanded="true"] {
  background: #eff6ff;
  border-color: #93c5fd;
}

.ym-mobile-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  padding: 0.75rem 1rem 1rem;
}

.ym-mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ym-mobile-link {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  text-decoration: none;
}

.ym-mobile-link:hover {
  background: #f1f5f9;
}

@media (min-width: 1024px) {
  .ym-hamburger,
  .ym-mobile-drawer {
    display: none !important;
  }
}

@media (max-width: 390px) {
  body.ym-home-mf10 {
    overflow-x: hidden;
  }
  #ym-site-header .ym-hamburger {
    width: 2.5rem;
    height: 2.5rem;
  }
}

[x-cloak].ym-mobile-drawer {
  display: none !important;
}
