
.cv-product-card {
  background: #171a21;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
  border: 1px solid #242832;
}

.cv-product-card:hover {
  transform: translateY(-4px);
  border-color: #3a3f4b;
}

.cv-products-grid {
  display: grid;
  gap: 20px;
}
/* IMAGE */

.cv-product-image {
  padding: 14px;
  display: flex;
}

.cv-product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 2/3;
  display: block;
}

/* BODY */

.cv-product-body {
  padding: 14px;
}

/* TITLE */

.cv-product-title {
  font-size: 14px;
  margin: 0 0 8px;
}

.cv-product-title a {
  color: #fff;
  text-decoration: none;
}

/* META */

.cv-product-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cv-badge {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #242832;
}
.cv-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;

  font-size: 11px;
  font-weight: 500;

  border-radius: 6px;

  letter-spacing: 0.3px;
}
.cv-rarity {
  background: #5a3c7c;
  color: #f0e6ff;
}
.cv-type {
  background: #8a5a2f;
  color: #ffe8d6;
}
.cv-edition {
  text-transform: capitalize;
  background: #3a2a1f;
}

.cv-set {
  background: #2f4f8a;
  color: #dce8ff;
}

/* PRICE */

.cv-product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cv-product-price {
  font-weight: 600;
  font-size: 15px;
}

/* BUTTON */

.cv-add-cart {
  background: #3c82f6;
  border: none;
  padding: 6px 10px;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
}

.cv-add-cart:hover {
  background: #2e6ed8;
}

/* STOCK */

.cv-stock {
  margin-top: 6px;
  font-size: 11px;
}

.cv-stock .in {
  color: #27c46b;
}

.cv-stock .low {
  color: #e5a100;
}

.cv-stock .out {
  color: #e54b4b;
}

#cv-card-preview {
  position: fixed;
  z-index: 9999;
  width: 320px;
  display: none;
  pointer-events: none;
}

#cv-card-preview img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

@media only screen and (min-width: 768px) {
  .cv-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (min-width: 991px) {
  .cv-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media only screen and (min-width: 1199px) {
  .cv-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}