.sale-picks {
  /* اگر Tailwind داری و کلاس font-sans روی سکشن هست، این ارث‌بری رعایت میشه */
  font-family: inherit;
  --card-radius: 18px;
  --ring: 1px solid rgba(15, 23, 42, 0.08);
  --ring-hover: 1px solid rgba(15, 23, 42, 0.14);
  --shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.14);
  --rose: #e11d48;
  --rose-100: #ffe4e6;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --emerald-600: #059669;
  --emerald-700: #047857;
}

/* هدر سکشن */
.sale-picks .head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sale-picks .head h2 {
  font-weight: 900;
  color: var(--slate-900);
  font-size: 22px;
  line-height: 1.2;
  position: relative;
  padding-inline-start: 10px;
}
.sale-picks .head h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--rose), #fb7185);
}
.sale-picks .head .percent-pill {
  background: var(--rose-100);
  color: var(--rose);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}
.sale-picks .head .more {
  margin-inline-start: auto;
  font-size: 13px;
  color: var(--emerald-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sale-picks .head .more:hover { color: var(--emerald-700); }
.sale-picks .head .more::after {
  content: "›";
  transform: scaleX(-1);
  font-weight: 900;
}

/* قاب بیرونی */
.sale-picks .section-wrap {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(15,23,42,.04);
}

/* گرید 5ستونه (2 ردیف) با رسپانسیو */
.sale-picks .grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 1280px){ .sale-picks .grid{ grid-template-columns: repeat(4,1fr); } }
@media (max-width: 992px) { .sale-picks .grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { .sale-picks .grid{ grid-template-columns: repeat(2,1fr); } }

/* کارت محصول */
.sale-picks .card {
  position: relative;
  display: block;
  background: #fff;
  border-radius: var(--card-radius);
  border: var(--ring);
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, filter .2s ease;
}
.sale-picks .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border: var(--ring-hover);
}

/* مدیا */
.sale-picks .media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg,#fff,#f8fafc);
}
.sale-picks .media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  image-rendering: auto;
  filter: saturate(1.02);
}
.sale-picks .card:hover .media img { filter: saturate(1.08); }

/* بج درصد – گوشه‌ی تصویر */
.sale-picks .badge-off {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  background: var(--rose);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(225, 29, 72, .28);
}

/* عنوان دوخطی */
.sale-picks .title {
  margin-top: 10px;
  height: 40px;
  line-height: 20px;
  font-size: 13px;
  color: var(--slate-900);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* قیمت‌ها */
.sale-picks .price-row {
  margin-top: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.sale-picks .price-now {
  font-weight: 900;
  font-size: 15px;
  color: var(--slate-900);
}
.sale-picks .toman {
  font-size: 11px;
  color: var(--slate-500);
  margin-right: 4px;
}
.sale-picks .price-old {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--slate-400);
  text-decoration: line-through;
}
