/* لوکسی — بنر فروش ویژه (پیشوند luxy-؛ مستقل از استایل مشترک) */
.luxy-banner-wrap {
  --luxy-navy: #0c1d3a;
  --luxy-navy2: #16305a;
  --luxy-gold: #d9b25f;
  --luxy-gold2: #f0d78a;
  max-width: 920px;
  margin: 18px auto 0;
  padding: 0 16px;
  font-family: inherit;
  color: var(--luxy-navy);
}

.luxy-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.luxy-group-link {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.luxy-sale-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  text-align: center;
}

.luxy-sale-pill {
  position: relative;
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--luxy-gold) 0%, var(--luxy-gold2) 50%, var(--luxy-gold) 100%);
  color: var(--luxy-navy);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.luxy-sale-pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .luxy-sale-pill::after {
    animation: luxy-shine 4s ease-in-out infinite;
  }
}

@keyframes luxy-shine {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.luxy-sale-sub {
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: #a99b6e;
  line-height: 1.4;
}

.luxy-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2.5%;
}

.luxy-card {
  position: relative;
  width: 48.75%;
  aspect-ratio: 16 / 18;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 15%, var(--luxy-navy2), var(--luxy-navy));
  box-shadow: inset 0 0 0 1px rgba(217, 178, 95, 0.35);
}

.luxy-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.luxy-viewport canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.luxy-tap-hint {
  font-size: 12px;
  color: #a99b6e;
  text-align: center;
  display: none;
  margin-top: 8px;
  font-family: inherit;
}

/* هدر فروش ویژه روی صفحهٔ مردانه/زنانه (بالای ردیف فیلترها) */
.luxy-cat-head {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px;
}

.luxy-cat-head h2 {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 1.25;
  display: flex;
  align-items: center;
}

.luxy-cat-video {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  background: radial-gradient(120% 120% at 50% 20%, var(--luxy-navy2, #16305a), var(--luxy-navy, #0c1d3a));
  box-shadow: 0 0 0 2px rgba(217, 178, 95, 0.55), 0 8px 18px -8px rgba(12, 29, 58, 0.5);
  align-self: center;
}

@media (min-width: 640px) {
  .luxy-cat-head { gap: 16px; margin-bottom: 24px; }
  .luxy-cat-video { width: 72px; height: 72px; border-radius: 18px; }
}

@media (max-width: 480px) {
  .luxy-banner-wrap { padding: 0 12px; }
  .luxy-sale-pill { font-size: 15px; padding: 5px 14px; }
  .luxy-card { border-radius: 14px; }
}

/* دسکتاپ/لپ‌تاپ (≥900px): هر ۴ قاب در یک ردیف روی نوار تمام‌عرض.
   ارتفاع کارت ثابت ۲۴۰px با همان نسبت ۱۶/۱۸ تا لوکسی کش نیاید؛ فاصلهٔ افقی
   بین قاب‌ها پخش می‌شود تا کناره‌های پهن خالی نماند. موبایل دست‌نخورده. */
@media (min-width: 900px) {
  .luxy-banner-wrap {
    max-width: none;
    margin-top: 10px;
    padding: 10px 20px 12px;
    background: var(--luxy-navy);
    box-shadow: inset 0 1px 0 rgba(217, 178, 95, 0.35), inset 0 -1px 0 rgba(217, 178, 95, 0.35);
  }

  .luxy-groups {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .luxy-group-link { flex: 1 1 0; min-width: 0; }

  .luxy-sale-label { margin-bottom: 4px; gap: 1px; }

  /* فقط اندازه/خوانایی برچسب؛ پهنا، نسبت قاب، ارتفاع کارت و ویدیو دست‌نخورده */
  .luxy-sale-pill { font-size: 18px; padding: 3px 10px; }

  /* #f0d78a روی #0c1d3a ≈ ۱۱٫۸:۱ — WCAG AA برای متن عادی */
  .luxy-sale-sub { font-size: 14px; color: var(--luxy-gold2); }

  .luxy-track {
    justify-content: space-evenly;
    gap: 10px;
  }

  .luxy-card {
    width: auto;
    flex: 0 0 auto;
    height: 240px;
    aspect-ratio: 16 / 18;
    max-height: 240px;
    box-shadow: inset 0 0 0 1px rgba(217, 178, 95, 0.5);
  }

  .luxy-cat-head {
    gap: 16px;
    margin-bottom: 22px;
  }

  .luxy-cat-video {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
}
