/* Clean catalog card: image (373x210) + title + rating + price + version badge, no button */

.product-small.box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  transition: none !important;
}

.product-small.box:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Image */
.product-small .box-image {
  padding: 0 !important;
  margin: 0 0 16px !important;
  border-radius: 20px !important;
  overflow: visible !important;
  position: relative !important;
}

.product-small .box-image a {
  display: block !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

.product-small .box-image img {
  width: 100% !important;
  aspect-ratio: 373 / 210 !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  background: #f5f6f8 !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.product-small.box:hover .box-image img {
  transform: scale(1.02) !important;
}

/* Content */
.product-small .box-text {
  padding: 0 10px !important;
  text-align: left !important;
  background: transparent !important;
}

.product-small .name {
  margin: 0 0 12px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #000000 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.product-small .name a {
  color: #000000 !important;
  text-decoration: none !important;
}

.product-small .name a:hover {
  color: #111827 !important;
}

/* Original star rating style is kept */
.product-small .star-rating {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* No buttons on cards */
.product-small .button,
.product-small .add_to_cart_button {
  display: none !important;
}

/* Version badge */
.catalog-version-badge {
  background: #fff2a8 !important;
  color: #000000 !important;
  font-family: 'BDOGrotesk', 'Inter Tight', 'Inter', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  letter-spacing: -0.01em !important;
}

.catalog-version-badge-container {
  position: absolute !important;
  top: -12px !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 999 !important;
}

/* Let the badge overflow the card */
.product-small,
.product-small .box-image,
.product-small .image-fade_in_back {
  position: relative !important;
  overflow: visible !important;
}

/* Remove Flatsome extra overlays */
.product-small .box-image .image-tools,
.product-small .box-image .image-tools.top,
.product-small .box-image .image-tools.bottom {
  display: none !important;
}

.product-small .out-of-stock-label,
.product-small .badge-container,
.product-small .badge {
  display: none !important;
}

/* Grid spacing */
.woocommerce .products .product,
.products .product {
  margin-bottom: 46px !important;
}

/* Mobile */
@media only screen and (max-width: 549px) {
  .product-small .box-image {
    margin-bottom: 14px !important;
    border-radius: 22px !important;
  }

  .product-small .box-image a,
  .product-small .box-image img {
    border-radius: 22px !important;
  }

  .product-small .box-text {
    padding: 0 8px !important;
  }

  .product-small .name {
    font-size: 14px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .product-small .price {
    font-size: 17px !important;
  }

  .product-small .price del {
    font-size: 12px !important;
    margin-bottom: 2px !important;
  }

  .catalog-version-badge {
    font-size: 11px !important;
    padding: 7px 12px !important;
  }

  .catalog-version-badge-container {
    top: -13px !important;
    right: 0 !important;
  }
}
