/* Premium listing cards — ana sayfa ile aynı (hesap.com.tr stili) */
.l-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.premium-card.l-card {
  display: flex;
  flex-direction: column;
  background: rgba(16, 16, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  contain: layout style;
}

.premium-card.l-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.pc-badge-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 7px 8px 18px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.pc-badge-overlay.is-vitrin {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--te-btn-login, var(--accent, #8b5cf6)) 82%, transparent) 0%,
    color-mix(in srgb, var(--te-btn-login, var(--accent, #8b5cf6)) 42%, transparent) 52%,
    transparent 100%);
}

.pc-badge-overlay.is-featured,
.pc-badge-overlay.is-coksatan {
  color: #111;
  text-shadow: none;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--te-acc-btn-primary, var(--orange, #f59e0b)) 80%, transparent) 0%,
    color-mix(in srgb, var(--te-acc-btn-primary, var(--orange, #f59e0b)) 38%, transparent) 52%,
    transparent 100%);
}

.premium-card.has-highlight {
  border-color: color-mix(in srgb, var(--accent, #8b5cf6) 32%, transparent);
}

.premium-card.has-highlight.is-featured,
.premium-card.has-highlight.is-coksatan {
  border-color: color-mix(in srgb, var(--orange, #f59e0b) 30%, transparent);
}

.pc-glass {
  background: rgba(16, 16, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pc-seller-glass.pc-glass {
  background: rgba(12, 12, 18, 0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.pc-media {
  position: relative;
  margin: 0 0 12px;
  overflow: hidden;
}

.pc-cover-link {
  display: block;
  line-height: 0;
}

.pc-cover {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #0a0a12;
  transition: transform 0.35s ease;
}

.premium-card.has-badge .pc-cover {
  border-radius: 0;
}

.premium-card:not(.has-badge) .pc-cover {
  border-radius: 14px 14px 0 0;
}

.premium-card:hover .pc-cover {
  transform: scale(1.03);
}

.pc-seller-glass {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 34px;
  padding: 5px 6px 5px 5px;
  border-radius: 999px;
}

.pc-seller-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.pc-seller-info:hover .pc-seller-name {
  color: var(--orange, #f59e0b);
}

.pc-avatar {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pc-seller-name {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-cat-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pc-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-content {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 10px 10px 6px;
}

.pc-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text, #fff);
  line-height: 1.35;
  margin: 0 0 6px;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

.pc-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--orange, #f59e0b);
  letter-spacing: -0.2px;
  line-height: 1.15;
}

.pc-footer {
  padding: 0 10px 10px;
}

.pc-cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  height: 36px;
}

.pc-qty-zone {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  user-select: none;
  height: 100%;
}

.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;
  transition: color 0.15s, background 0.15s;
}

.pc-qty-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.pc-qty-val {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  padding: 0 4px;
}

.pc-buy-btn {
  width: 36px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--orange-bg, rgba(245, 158, 11, 0.14));
  border: 1px solid var(--orange-border, rgba(245, 158, 11, 0.28));
  color: var(--orange, #f59e0b);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}

.pc-buy-btn:hover {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--orange, #f59e0b);
}

.listings-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  background: rgba(16, 16, 26, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

@media (min-width: 600px) {
  .l-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) {
  .l-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .pc-title {
    font-size: 12px;
    min-height: 30px;
  }

  .pc-price {
    font-size: 15px;
  }

  .pc-content {
    padding: 14px 12px 6px;
  }
}

@media (min-width: 1100px) {
  .listings-main .l-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1400px) {
  .listings-main .l-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}
