/* E-pin deal cards — ana sayfa ile aynı */
.sc-epin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 768px) {
  .sc-epin-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

.epin-deal-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(10, 10, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.epin-deal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.epin-deal-media {
  display: block;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}

.epin-deal-card .p-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0a12;
}

.epin-deal-card .p-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.epin-deal-card:hover .p-img-wrapper img {
  transform: scale(1.04);
}

.epin-deal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 10px 12px;
  gap: 8px;
  background: rgba(8, 8, 14, 0.98);
}

.epin-deal-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.35;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}

.epin-deal-title:hover {
  color: var(--orange, #f59e0b) !important;
}

.epin-deal-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 22px;
}

.epin-price-now {
  font-size: 15px;
  font-weight: 800;
  color: #34d399 !important;
  letter-spacing: -0.2px;
}

.epin-price-old {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45) !important;
  text-decoration: line-through;
}

.epin-deal-card .epin-cart-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  height: 36px;
  margin-top: auto;
}

.epin-deal-card .pc-qty-zone {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  user-select: none;
  height: 100%;
}

.epin-deal-card .pc-qty-btn {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.epin-deal-card .pc-qty-val {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 4px;
}

.epin-deal-card .pc-buy-btn.epin-buy-btn {
  width: 36px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  background: #2563eb;
  border: 1px solid #2563eb;
  color: #fff !important;
}

.epin-deal-card .pc-buy-btn.epin-buy-btn:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff !important;
}
