/* Wanted bar slider – shared across main category listing pages */

.wanted-row {
  margin-top: 25px;
}

.wanted-bar {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 10px;
  border: 2px solid rgba(36, 78, 115, 0.25);
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, rgba(78, 152, 217, 0.18), #fff);
  color: #244e73;
  box-shadow: 0 6px 18px rgba(36, 78, 115, 0.08);
  border-right: none;
}

.wanted-btn {
  flex: 0 0 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #244e73;
  font-weight: 900;
  padding: 14px 16px;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
}

.wanted-btn:active {
  transform: scale(0.99);
}

.wanted-btn-text {
  line-height: 1;
  font-size: clamp(0.75rem, 1vw, 1rem);
  font-weight: 900;
}

.wanted-slider {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border: 2px solid rgba(36, 78, 115, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(78, 152, 217, 0.12), #fff);
  position: relative;
  box-shadow: 0 6px 18px rgba(36, 78, 115, 0.06);
}

.wanted-track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  will-change: transform;
}

.wanted-card {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #244e73;
  padding: 4px 2px;
  border-radius: 10px;
  transition: background 0.18s ease;
}

.wanted-card:hover {
  background: rgba(78, 152, 217, 0.08);
}

.wanted-card--empty {
  opacity: 0.85;
}

.wanted-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(36, 78, 115, 0.12);
  overflow: hidden;
}

.wanted-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wanted-name {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 960px) {
  .wanted-bar {
    gap: 8px;
  }

  .wanted-btn {
    flex-basis: 92px;
    padding: 12px 10px;
  }

  .wanted-track {
    padding: 8px 10px;
  }

  .wanted-thumb {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}
