/* PASAR PINTAR — PRODUCT CARD POLISH V1 */

#products .product-card {
  overflow: hidden;
  border: 1px solid #e7e9e3;
  border-radius: 16px;
  background: #fff;
}

#products .product-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#products .store {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 8px;
  border-radius: 6px;
  background: #edf5f1;
  color: #0b6256;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#products .product-name {
  color: #17201e;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

#products .meta {
  color: #78827d;
  font-size: 10px;
  line-height: 1.4;
}

#products .product-promo-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 5px;
}

#products .product-promo-badge {
  padding: 3px 7px;
  border-radius: 5px;
  background: #fff1df;
  color: #b65c12;
  font-size: 9px;
  font-weight: 750;
}

#products .product-original-price {
  color: #929a95;
  font-size: 10px;
  text-decoration: line-through;
}

#products .price {
  margin-top: 3px;
  color: #0b4f4a;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

#products .stock {
  width: fit-content;
  margin-top: 5px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #f3f5f2;
  color: #68736c;
  font-size: 10px;
  line-height: 1.3;
}

#products .product-button,
#products .card-qty-control {
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 650px) {
  #products .product-card {
    border-radius: 13px;
  }

  #products .product-body {
    padding: 9px;
  }

  #products .store {
    padding: 3px 6px;
    font-size: 9px;
  }

  #products .product-name {
    font-size: 12px;
    line-height: 1.4;
  }

  #products .price {
    font-size: 15px;
  }

  #products .stock {
    font-size: 9px;
  }

  #products .product-button,
  #products .card-qty-control {
    margin-top: 8px;
  }
}
