/* Mağaza hub — 3 ana sekme + mobil tam ekran */

.profile-change-overlay{
  align-items: stretch !important;
  justify-content: stretch !important;
  padding: 0 !important;
}

.profile-change-content.nova-store-shell{
  width: 100% !important;
  max-width: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  display: flex !important;
  flex-direction: column !important;
  animation: none !important;
}
#profileChangeOverlay:not(.nova-store--ready){
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#profileChangeOverlay.nova-store--ready{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .32s ease, visibility .32s ease;
}
.profile-change-content.nova-store-shell--booting{
  opacity: 0;
  pointer-events: none;
}
#profileChangeOverlay.nova-store--ready .profile-change-content.nova-store-shell:not(.nova-store-shell--booting){
  animation: novaStorePanelIn .42s cubic-bezier(.2,.85,.25,1) both !important;
}
.profile-change-content .nova-store-products:has(.nova-hero-store-card){
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center;
}
.profile-change-content .nova-hero-store-card{
  width: min(100%, 252px);
}

@media (min-width: 720px){
  .profile-change-overlay{
    align-items: center !important;
    justify-content: center !important;
    padding: clamp(10px, 2vh, 20px) !important;
  }
  .profile-change-content.nova-store-shell{
    width: min(96vw, 940px) !important;
    max-width: min(96vw, 940px) !important;
    height: min(94dvh, 900px) !important;
    max-height: min(94dvh, 900px) !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.14) !important;
  }
}

/* Ana sekmeler */
.nova-store-nav-section{
  padding: 10px clamp(12px, 3vw, 22px) 6px;
  flex-shrink: 0;
}

.nova-store-main-tabs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.nova-store-main-tab{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  padding: 10px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(15,23,42,.55);
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.nova-store-main-tab__icon{
  font-size: 1.25rem;
  line-height: 1;
}
.nova-store-main-tab.active{
  color: #fffbeb;
  border-color: rgba(251,191,36,.45);
  background: linear-gradient(165deg, rgba(99,102,241,.45), rgba(249,115,22,.28));
  box-shadow: 0 8px 24px rgba(99,102,241,.22), inset 0 1px 0 rgba(255,255,255,.12);
  transform: translateY(-1px);
}

/* Alt kategoriler */
.nova-store-sub-nav{
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 4px 2px 6px;
  scrollbar-width: none;
}
.nova-store-sub-nav::-webkit-scrollbar{
  display: none;
  height: 0;
  width: 0;
}
.nova-store-sub-nav.is-hidden{
  display: none;
}
.nova-store-sub-btn{
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(7,10,18,.65);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.nova-store-sub-btn.active{
  color: #0f172a;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  border-color: rgba(253,230,138,.8);
}
.nova-store-sub-btn--legend.active{
  color: #fff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  border-color: rgba(254,215,170,.6);
}
.nova-store-sub-btn--epic.active{
  color: #0f172a;
  background: linear-gradient(135deg, #c4b5fd, #a78bfa 45%, #7c3aed);
  border-color: rgba(196,181,253,.85);
  box-shadow: 0 0 18px rgba(124,58,237,.35);
}

.nova-hero-store-epic-slot,
.nova-hero-store-card .char-inv-hero-epic-slot{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 6px auto 2px;
  min-height: 20px;
}
.nova-hero-store-card--epic-tier .nova-hero-store-vitrine-name{
  color: #f8fafc;
  text-shadow: 0 0 10px rgba(255, 255, 255, .25);
}
#nova_store_detail_extra .char-inv-hero-epic-slot{
  justify-content: flex-start;
  margin: 8px 0 4px;
}

/* Ürün alanı — telefonda tam yükseklik */
.nova-store-stage{
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

.profile-change-content .nova-store-products{
  min-height: 0 !important;
  max-height: none !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)) !important;
  padding: 12px clamp(10px, 2.5vw, 18px) 20px !important;
}

@media (min-width: 480px){
  .profile-change-content .nova-store-products{
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)) !important;
  }
}
@media (min-width: 720px){
  .profile-change-content .nova-store-products{
    grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)) !important;
  }
}

/* Kartlar — içerik kesilmesin, önizleme alanı net görünsün */
.profile-change-content .profile-photo-item.nova-store-card{
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: center;
}
.profile-change-content .nova-store-preview{
  width: 100%;
  max-width: 168px;
  min-height: 132px;
  margin: 0 auto 10px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 14px;
  border: 2px solid rgba(251, 191, 36, .5);
  background: linear-gradient(145deg, rgba(30, 41, 59, .9), rgba(15, 23, 42, .95));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
}
.profile-change-content .nova-store-preview--nameframe{
  min-height: 72px;
  padding: 12px 8px;
}
.profile-change-content .nova-store-preview--nameframe .nova-name-frame{
  font-size: clamp(11px, 3.4vw, 14px);
  max-width: 100%;
}
.profile-change-content .nova-store-preview img.nova-store-avatar-img,
.profile-change-content .nova-store-preview > img.profile-photo,
.profile-change-content .profile-photo-item > img.profile-photo{
  width: 120px !important;
  height: 150px !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  opacity: 1 !important;
  visibility: visible !important;
  flex-shrink: 0;
}
.profile-change-content .nova-store-preview .store-avatar-frame{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.profile-change-content .nova-store-preview .store-avatar-frame > img{
  width: 112px !important;
  height: 140px !important;
}
/* Eski yapı: div.profile-photo kapsayıcı — içeriği göster */
.profile-change-content .profile-photo-item .profile-photo:not(img){
  width: 100% !important;
  max-width: 168px !important;
  height: auto !important;
  min-height: 120px !important;
  margin: 0 auto 10px !important;
  overflow: visible !important;
}
.profile-change-content .profile-photo-price,
.profile-change-content .profile-photo-item .profile-photo-button{
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce){
  .nova-store-main-tab,
  .nova-store-sub-btn{
    transition: none !important;
  }
}
