/**
 * NetcloudPro · kabuk (shell) stilleri — üst şerit, beyaz başlık + buton-nav,
 * mega menü, footer. Artifact AnasayfaV2 görünümü, WStyle'ın dinamik markup'ına
 * giydirilmiş. MOBİL ÖNCELİKLİ: taban kurallar telefon içindir, min-width ile büyütülür.
 */

/* ============================== ÜST ŞERİT ============================== */
.nc-topbar {
  background: var(--nc-ink);
  color: var(--wstyle-chrome-color, #D3DFEC);
  font-size: 12.5px;
}
.nc-topbar-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nc-topbar-row::-webkit-scrollbar { display: none; }
.nc-tb-spacer { flex: 1 0 8px; }
.nc-tb-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: var(--wstyle-chrome-color, #D3DFEC);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.nc-tb-pill:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.nc-tb-status {
  background: var(--nc-green-soft);
  color: #35D399;
  font-weight: 700;
}
.nc-tb-status:hover { background: rgba(53, 211, 153, .22); color: #5Fe0b4; }
.nc-tb-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #35D399; flex-shrink: 0;
  animation: nc-pulse 1.6s ease-in-out infinite;
}
@keyframes nc-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.72); } }
.nc-tb-social { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; }
.nc-tb-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  color: var(--wstyle-chrome-muted, #8294A8); text-decoration: none;
}
.nc-tb-icon:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.nc-tb-locale .nc-tb-locale-btn { font-weight: 600; }
@media (max-width: 575.98px) {
  .nc-tb-hide-sm { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .nc-tb-dot { animation: none; }
}

/* ============================== BAŞLIK (beyaz) ============================== */
.nc-header {
  background: var(--nc-surface);
  border-bottom: 1px solid var(--nc-line);
  position: relative;
  z-index: 1030;
}
.nc-header .site-brand-text { color: var(--nc-ink); }
.nc-header .site-logo { max-height: 40px; width: auto; }

/* nav: buton görünümlü linkler */
.nc-header .site-nav { gap: 2px; }
.nc-header .site-nav .nav-item { position: static; }
.nc-header .site-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--nc-ink-2);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
}
.nc-header .site-nav .nav-link:hover,
.nc-header .site-nav .nav-item.show > .nav-link {
  background: var(--nc-accent-soft);
  color: var(--nc-accent);
}
.nc-header .site-nav .nav-chevron { font-size: 11px; opacity: .7; transition: transform .18s ease; }
.nc-header .site-nav .nav-item.show > .nav-link .nav-chevron { transform: rotate(180deg); }
/* köşe rozetleri (YENİ, %50, POPÜLER) — $item.extra.tag */
.nc-header .site-nav .nav-link > .badge {
  position: absolute;
  top: -7px; left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.3;
}

/* sağ aksiyonlar */
.nc-header .header-icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--nc-page);
  color: var(--nc-ink-2);
  border: 0;
}
.nc-header .header-icon-btn:hover { background: var(--nc-accent-soft); color: var(--nc-accent); }
.nc-header .cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--nc-accent); color: #fff;
  font-size: 10.5px; font-weight: 700;
}
.nc-login-pill {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px;
  background: var(--nc-accent); color: #fff;
  font-size: 14.5px; font-weight: 700;
  text-decoration: none; border: 0; white-space: nowrap;
}
.nc-login-pill:hover { background: var(--nc-accent-strong); color: #fff; }
.nc-login-ghost {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 14px;
  border-radius: 999px;
  color: var(--nc-ink-2); font-size: 14.5px; font-weight: 600;
  text-decoration: none;
}
.nc-login-ghost:hover { color: var(--nc-accent); }

/* ============================== MEGA MENÜ ============================== */
.nc-header .nav-mega,
.nc-header .nav-dropdown {
  border: 1px solid var(--nc-line);
  box-shadow: var(--nc-shadow-pop);
  border-radius: 14px;
  padding: 10px;
}
.nc-header .nav-mega { padding: 22px; }
.nc-header .nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
}
.nc-header .nav-mega-label {
  display: block;
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--nc-muted);
  margin-bottom: 8px;
}
.nc-header .nav-dropdown .dropdown-item {
  border-radius: 10px;
  color: var(--nc-ink-2);
  font-weight: 600;
  gap: 10px;
}
.nc-header .nav-dropdown .dropdown-item:hover {
  background: var(--nc-accent-soft);
  color: var(--nc-accent);
}
.nc-header .nav-dropdown .icon-disc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--nc-surface); box-shadow: var(--nc-shadow-card);
  color: var(--nc-accent); flex-shrink: 0;
}
.nc-header .item-desc {
  display: block; margin-top: 2px;
  font-size: 12px; line-height: 1.5; font-weight: 500; color: var(--nc-muted);
}

/* ============================== FOOTER ============================== */
.site-footer.chrome-dark { background: var(--nc-ink); }
.site-footer .footer-heading {
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--wstyle-chrome-muted, #8294A8);
}
.site-footer .footer-status .status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #35D399; margin-right: 6px;
  animation: nc-pulse 1.6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-status .status-dot { animation: none; }
}

/* ============================== RESPONSIVE ============================== */
/* mobilde nav gizli (drawer kullanılır) — WStyle zaten d-none d-lg-flex kullanıyor */
@media (max-width: 991.98px) {
  .nc-header .header-icon-btn.drawer-toggle { order: 5; }
  .nc-login-ghost { display: none; }           /* dar ekranda sadece pill */
}
@media (max-width: 575.98px) {
  .nc-header .nc-login-pill { padding: 0 16px; }
  .nc-header .site-logo { max-height: 34px; }
}
