.kpc-wrap74 * {
  box-sizing: border-box;
}

.kpc-wrap74 {
  padding: 12px;
}

.kpc-grid74 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(var(--kpc-columns74, 4), minmax(0, 1fr));
  align-items: stretch;
}

.kpc-col74 {
  display: contents;
}

.kpc-card74 {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px;
  min-height: 240px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpc-card74:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.kpc-media74 {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(37, 99, 235, 0.14));
}

.kpc-media74 img,
.kpc-fallback74 {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.kpc-fallback74 {
  background: rgba(148, 163, 184, 0.2);
}

.kpc-price74 {
  font-weight: 700;
  font-size: 15px;
  color: #2563eb;
  margin: 10px 6px 4px;
}

.kpc-title74 {
  margin: 0 6px 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #111827;
}

.kpc-spacer74 {
  flex: 1 1 auto;
}

.kpc-actions74 {
  margin: 10px 6px 4px;
}

.kpc-actions74 .wandlit-btn74,
.kpc-actions74 .kpc-btn74 {
  width: 100%;
}

.wandlit-btn74 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.05s ease;
}

.wandlit-btn74:hover {
  opacity: 0.92;
}

.wandlit-btn74:active {
  transform: translateY(1px) scale(0.99);
}

.wandlit-empty74 {
  padding: 18px;
  border-radius: 12px;
  background: #f1f5f9;
  text-align: center;
  color: #475569;
}

@media (max-width: 1024px) {
  .kpc-grid74 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .kpc-grid74 {
    display: flex;
    gap: 12px;
  }

  .kpc-col74 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 50%;
    flex: 1 1 50%;
  }

  .kpc-col74 .kpc-card74 {
    width: 100%;
  }
}
