.product-loop-v2 {
  margin-bottom: 20px;
  height: 100%; }

.product-loop-v2 .product-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease , transform 0.2s ease; }

.product-loop-v2 .product-inner:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px); }

.product-loop-v2 .product--image {
  aspect-ratio: 1 / 1; }

.product-loop-v2 .product--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; }

.product-loop-v2 .proloop-detail {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1; }
  .product-loop-v2 .proloop-detail .line-clamp-2 {
    display: -webkit-box;
    /* Necessary for line-clamping */
    -webkit-line-clamp: 2;
    /* The exact number of lines you want */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Hides the text that goes past 2 lines */
    text-overflow: ellipsis;
    /* Adds the "..." at the end */
    /* Layout alignment (Optional but recommended) */
    line-height: 1.4;
    /* Controls spacing between lines */
    min-height: 2.8em;
    /* (1.4 * 2) Ensures 1-line titles don't shift the card up */ }

.product-loop-v2 .wrapper-action-loop {
  margin-top: auto; }

.product-loop-v2 .btn-proloop,
.product-loop-v2 .btn-proloop-cart,
.product-loop-v2 .btn-proloop-contact,
.product-loop-v2 .btn-proloop-gift {
  border-radius: 12px;
  overflow: hidden; }

.product-loop-v2 .btn-proloop-cart {
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: #111;
  color: #fff;
  font-weight: 600;
  cursor: pointer; }

.product-loop-v2 .btn-proloop-cart.disabled {
  background: #bbb;
  cursor: not-allowed; }

/* keep old rating style */
.product-loop-v2 .proloop-meta {
  margin-top: 6px; }
