
/* رنگ برند قالب: --ids-brand */
body.irls-sup-listing .ids-main {
  padding-bottom: 72px;
}
.isl-page {
  direction: rtl;
  font-family: 'YekanBakhFaNum', 'IdsApp', Tahoma, sans-serif;
  --isl-brand: var(--ids-brand, var(--ids-pink, #ff4d6d));
}
.isl-hero {
  background: linear-gradient(135deg, var(--isl-brand) 0%, color-mix(in srgb, var(--isl-brand) 75%, #000) 100%);
  color: #fff;
  padding: 18px 14px 28px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.isl-hero::after {
  content: ""; position: absolute; inset: auto -30% -50% auto;
  width: 70%; height: 140%; border-radius: 50%;
  background: rgba(255,255,255,.08); pointer-events: none;
}
.isl-hero h1 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 800;
  position: relative; z-index: 0;
}
.isl-hero p {
  margin: 0 0 14px;
  opacity: .92;
  font-size: 12px;
  position: relative; z-index: 0;
}
.isl-meta {
  margin-top: 10px;
  font-size: 12px;
  opacity: .9;
  position: relative; z-index: 0;
}

.isl-main {
  margin-top: -16px;
  padding: 0 12px 24px;
  position: relative;
  z-index: 0;
}

.isl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  position: relative;
  z-index: 0;
}

.isl-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(17, 24, 39, .06);
  border: 1px solid rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 0;
}
.isl-card-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 0;
  min-height: 0;
}
.isl-banner {
  height: 72px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--isl-brand) 18%, #fff), color-mix(in srgb, var(--isl-brand) 35%, #fff));
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
}
.isl-body {
  padding: 0 10px 8px;
  text-align: center;
  margin-top: -28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 auto;
  position: relative;
  z-index: 1; /* بالای بنر */
}
.isl-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  background: #e5e7eb;
  position: relative;
  z-index: 2; /* بالاتر از بنر */
  display: block;
}
.isl-name {
  margin: 8px 0 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  max-width: 100%;
  /* همیشه فضای دو خط تا کارت‌ها هم‌ارتفاع‌تر شوند */
  min-height: calc(1.35em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
}
.isl-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  width: 100%;
  margin: 4px 0 2px;
  direction: rtl;
}
.isl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
}
.isl-stat b {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.isl-stat b.isl-scount {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.isl-stat span {
  font-size: 10px;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.2;
  white-space: nowrap;
}

.isl-actions {
  display: flex;
  padding: 0 10px 12px;
  margin-top: auto; /* تراز پایین کارت */
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.isl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
  width: 100%;
  text-align: center;
  min-height: 36px;
}
.isl-follow {
  background: #fff;
  color: var(--isl-brand);
  border-color: color-mix(in srgb, var(--isl-brand) 45%, #ddd);
  position: relative;
}
.isl-follow.is-on {
  background: color-mix(in srgb, var(--isl-brand) 12%, #fff);
}
.isl-follow .isl-follow-dots {
  display: none;
  align-items: center;
  gap: 4px;
}
.isl-follow .isl-follow-dots i {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  opacity: .25;
  animation: isl-dot-blink 1.05s ease-in-out infinite;
}
.isl-follow .isl-follow-dots i:nth-child(1) { animation-delay: 0s; }
.isl-follow .isl-follow-dots i:nth-child(2) { animation-delay: .2s; }
.isl-follow .isl-follow-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes isl-dot-blink {
  0%, 100% { opacity: .2; }
  40% { opacity: 1; }
  70% { opacity: .35; }
}
.isl-follow.is-loading .isl-follow-label { display: none; }
.isl-follow.is-loading .isl-follow-dots { display: inline-flex; }
.isl-follow.is-loading { opacity: .85; pointer-events: none; }

.isl-empty {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 40px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  color: #6b7280;
  font-size: 13px;
}
.isl-empty a { color: var(--isl-brand); font-weight: 700; }


.isl-filters { position: relative; z-index: 0; }
.isl-filter-row { margin-bottom: 12px; }
.isl-filter-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: .9;
  margin-bottom: 6px;
}
.isl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.isl-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,.16);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.22);
  line-height: 1.2;
}
.isl-chip.is-on {
  background: #fff;
  color: var(--isl-brand, #ff4d6d);
  border-color: #fff;
}
.isl-chip:hover { background: rgba(255,255,255,.28); }
.isl-chip.is-on:hover { background: #fff; }
