/* overlay görünürlük */
.ygmr-overlay[aria-hidden="true"]{ display:none; }
.ygmr-overlay{
  position: fixed;
  inset: 0;
  z-index: 100;
}

/* Apple gibi çok hafif karartma */
.ygmr-overlay__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.06);
}

/* panel konumlandırma: header altı */
.ygmr-panel{
  position: absolute;
  top: 56px;                 /* header yüksekliği */
  left: 0;
  right: 0;
  pointer-events: none;
}

/* panel kutusu */
.ygmr-panel__wrap{
  pointer-events: auto;
  background: #f5f5f7;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
  overflow: hidden;
}

/* Wide layout (Arama/Hesap/Menü hepsi) */
.ygmr-panel--wide .ygmr-panel__wrap{
  width: min(860px, calc(100% - 28px));
  margin: 14px auto 0 auto;
}

/* üst bar */
.ygmr-panel__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 16px 10px 16px;
}

.ygmr-panel__title{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ygmr-panel__icon svg{
  width: 18px;
  height: 18px;
  opacity: .75;
}

/* body */
.ygmr-panel__body{
  padding: 0 16px 16px 16px;
}

/* section title */
.ygmr-panel__section{
  margin-top: 12px;
}
.ygmr-panel__sectiontitle{
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,.58);
  letter-spacing: .02em;
  margin: 10px 0 8px 2px;
}

/* Link list: Apple satır UI */
.ygmr-linklist{
  list-style:none;
  padding:0;
  margin:0;
}

.ygmr-linklist li{
  margin: 0;
}

/* wp_nav_menu bazen default bullet/indent basar, hepsini sıfırla */
.ygmr-panel .menu,
.ygmr-panel .sub-menu,
.ygmr-panel__body ul{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ygmr-linklist li a,
.ygmr-panel .menu li a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 12px;
  font-size: 14px;
  color: rgba(0,0,0,.88);
  text-decoration: none;
}

.ygmr-linklist li a:hover,
.ygmr-panel .menu li a:hover{
  background: rgba(0,0,0,.06);
}

.ygmr-linklist__label{
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* HTML’de span varsa */
.ygmr-linklist__chev{
  width: 8px;
  height: 8px;
  border-right: 1.6px solid rgba(0,0,0,.35);
  border-top: 1.6px solid rgba(0,0,0,.35);
  transform: rotate(45deg);
  flex: 0 0 auto;
  margin-right: 4px;
  opacity: .9;
}

/* wp_nav_menu HTML’sinde span yoksa, otomatik chevron */
.ygmr-panel .menu li a::after{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.6px solid rgba(0,0,0,.35);
  border-top: 1.6px solid rgba(0,0,0,.35);
  transform: rotate(45deg);
  margin-right: 4px;
  opacity: .9;
  flex: 0 0 auto;
}

/* divider */
.ygmr-linklist__divider{
  height:1px;
  background: rgba(0,0,0,.12);
  margin: 8px 6px;
  border-radius: 1px;
}
/* Hesap paneli: Apple vari karşılama */
.ygmr-userhello{
  padding: 10px 2px 12px;
  margin: 2px 0 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ygmr-userhello__kicker{
  font-size: 12px;
  color: rgba(0,0,0,.55);
  margin-bottom: 2px;
}
.ygmr-userhello__name{
  font-size: 16px;
  letter-spacing: -0.01em;
  color: rgba(0,0,0,.92);
  font-weight: 600;
}