/* ================================================================
   slider-2-spotlight.css
   Spotlight Slider — hero card on the left, thumbnail list on right
   ================================================================ */


/* ── LAYOUT ──────────────────────────────────────────────────── */

.spotlight-wrap {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
}

@media (max-width: 768px) {
  .spotlight-wrap { grid-template-columns: 1fr; }
}


/* ── HERO CARD ───────────────────────────────────────────────── */

.spotlight-hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .2s;
  position: relative;
}

.spotlight-hero .sh-img {
  background: radial-gradient(circle at 40% 40%, #fbf9f5, #eee9de);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}

.spotlight-hero .sh-img img {
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(0,0,0,.15));
}

.spotlight-hero .sh-info { padding: 20px; }

.spotlight-hero .sh-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.5;
}

.spotlight-hero .sh-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.spotlight-hero .sh-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spotlight-hero .sh-price {
  font-size: 22px;
  font-weight: 800;
}

.spotlight-hero .sh-old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.spotlight-hero .sh-btn {
  margin-top: 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Vazirmatn', sans-serif;
  cursor: pointer;
  transition: background .15s;
  width: 100%;
}

.spotlight-hero .sh-btn:hover { background: var(--primary-d); }


/* ── THUMBNAIL LIST ──────────────────────────────────────────── */

.spotlight-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 480px;
}

@media (max-width: 768px) {
  .spotlight-thumbs {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding-bottom: 6px;
  }
}

.sp-thumb {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: border-color .15s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .sp-thumb { min-width: 160px; }
}

.sp-thumb:hover,
.sp-thumb.active { border-color: var(--primary); }

.sp-thumb img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.sp-thumb .spt-name {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

.sp-thumb .spt-price {
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}
