/* نیک‌یار — فقط تنظیمات جزئی روی اسکین خرید اقساطی */

.ny-hero.ip-hero {
  /* keep IP hero size; slightly tighter on NikYar is optional */
}

.ip-hero-tag.is-active {
  background: rgba(37, 99, 235, .35);
  border-color: rgba(147, 197, 253, .55);
  color: #fff;
}

.ny-helper-card .ip-plan-card__footer {
  justify-content: flex-end;
}

.ny-helper-card .ip-plan-card__visual img {
  object-fit: cover;
}

.ny-empty {
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 14px;
}

.ny-empty h3 { font-weight: 900; font-size: 1rem; }
.ny-empty p { color: #64748b; margin: .4rem auto .9rem; }

/* Detail stays light like IP listing body */
.ny-page {
  background: #f8fafc;
  padding-bottom: 2.5rem;
}
.ny-main { padding-top: 1.25rem; }
.ny-breadcrumb .breadcrumb { background: transparent; padding: 0; margin: 0 0 1rem; font-size: .84rem; }
.ny-breadcrumb a { color: #2563eb !important; text-decoration: none; }

.ny-detail-layout {
  display: grid;
  gap: 1rem;
}
@media (min-width: 992px) {
  .ny-detail-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
}

.ny-profile-card,
.ny-section,
.ny-privacy,
.ny-free-note {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.ny-profile-card {
  padding: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.ny-profile__avatar,
.ny-profile__avatar-fallback {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
}
.ny-profile__avatar-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #2563eb, #0ea5e9);
  font-size: 1.8rem;
}
.ny-profile__name { font-weight: 900; font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin: 0 0 .15rem; }
.ny-profile__role { color: #64748b; margin-bottom: .45rem; }
.ny-profile__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.ny-card__row { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.ny-pill {
  display: inline-flex; align-items: center; gap: .2rem;
  font-size: .7rem; font-weight: 700; padding: .2rem .5rem;
  border-radius: 999px; background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0;
}
.ny-pill--cat { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.ny-status {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .7rem; font-weight: 800; padding: .22rem .5rem; border-radius: 999px;
}
.ny-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ny-status--on { color: #15803d; background: #dcfce7; border: 1px solid #bbf7d0; }
.ny-status--off { color: #64748b; background: #f1f5f9; border: 1px solid #e2e8f0; }
.ny-card__next { margin-top: .35rem; font-size: .75rem; color: #64748b; }

.ny-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  border-radius: 10px; font-weight: 800; padding: .55rem 1rem;
  text-decoration: none !important; border: 1px solid transparent; font-size: .86rem;
}
.ny-btn--primary { background: #16a34a; color: #fff !important; }
.ny-btn--primary.is-disabled { background: #e2e8f0; color: #94a3b8 !important; pointer-events: none; }
.ny-btn--ghost { background: #fff; border-color: #e2e8f0; color: #334155 !important; }

.ny-tabs { display: flex; gap: .25rem; margin: .85rem 0; border-bottom: 1px solid #e2e8f0; overflow-x: auto; }
.ny-tab {
  border: 0; background: transparent; color: #64748b; font-weight: 700;
  padding: .6rem .8rem; border-bottom: 2px solid transparent; white-space: nowrap;
}
.ny-tab.is-active { color: #2563eb; border-bottom-color: #2563eb; }

.ny-section { padding: 1rem 1.1rem; margin-bottom: .75rem; }
.ny-section h2 {
  font-size: .95rem; font-weight: 900; margin: 0 0 .7rem;
  display: flex; align-items: center; gap: .4rem; color: #0f172a;
}
.ny-section h2 i { color: #2563eb; }
.ny-section, .ny-section p, .ny-section div { color: #334155; }

.ny-privacy { padding: .85rem 1rem; }
.ny-privacy__title { display: flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .88rem; margin: 0 0 .3rem; color: #1e3a8a; }
.ny-privacy p { margin: 0; color: #475569; font-size: .8rem; line-height: 1.7; }

.ny-schedule-week { display: flex; flex-direction: column; gap: .4rem; }
.ny-schedule-day {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: .55rem;
  padding: .55rem .7rem; border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0;
}
.ny-schedule-day.is-now { background: #f0fdf4; border-color: #bbf7d0; }
.ny-schedule-day__name { font-weight: 800; font-size: .82rem; }
.ny-schedule-day__slots { display: flex; flex-wrap: wrap; gap: .3rem; }
.ny-schedule-slot {
  font-size: .76rem; font-weight: 700; color: #1e40af;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: .2rem .45rem;
}
.ny-schedule-off { color: #64748b; font-size: .78rem; font-weight: 600; }

.ny-contact-grid { display: grid; gap: .5rem; }
.ny-contact-item {
  display: flex; align-items: center; gap: .65rem; padding: .7rem .85rem;
  border-radius: 10px; background: #f8fafc; border: 1px solid #e2e8f0;
  text-decoration: none !important; color: #0f172a !important;
}
.ny-contact-item i { color: #2563eb; }
.ny-contact-locked {
  padding: .9rem; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0;
  color: #475569; line-height: 1.7; font-size: .88rem;
}
.ny-contact-locked strong { color: #0f172a; display: block; margin-bottom: .3rem; }

.ny-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
@media (min-width: 768px) { .ny-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ny-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid #e2e8f0; }

.ny-free-note { text-align: center; color: #64748b; font-size: .82rem; padding: .75rem; margin-top: 1rem; }
.ny-pager .page-link { background: #fff; border-color: #e2e8f0; color: #334155; }
.ny-pager .page-item.active .page-link { background: #2563eb; border-color: #2563eb; color: #fff; }

/* filter search select look */
.ip-filters .ip-filter-search select.ip-filter-search__input {
  appearance: auto;
  cursor: pointer;
}
