/* Product Cards Redesign */
.products-section {
  --surface-dark: #121625;
  --surface-deeper: #0e1320;
  --brand-1: #8b5cf6;
  --brand-2: #7c3aed;
  --accent: #14b8a6;
  --text-light: #e5e7eb;
}

.product-card {
  position: relative;
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(135deg, var(--surface-dark), var(--surface-deeper));
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 30px 60px rgba(139, 92, 246, 0.25);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.product-card .product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.product-card .product-media img {
  max-height: 96px;
  object-fit: contain;
}

.product-title {
  color: var(--text-light);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.product-subtitle {
  color: #9ca3af;
  font-size: 14px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #d1d5db;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge-chip.icon {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.25);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.price-badge {
  padding: 8px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: white;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.35);
}

.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff;
  border: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-light);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.25);
}

/* RTL friendly spacing overrides if needed */
[dir="rtl"] .product-footer { flex-direction: row-reverse; }