/* Stok kartu POS: status lebih jelas, lembut, dan sejajar dengan harga grosir. */
.pos-products .marketplace-card .product-meta {
  grid-template-columns: minmax(0, 1.12fr) minmax(78px, .88fr);
}

.pos-products .marketplace-card .stock-unit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(74, 168, 132, .22);
  background: linear-gradient(145deg, #fbfffd 0%, #effaf5 100%);
  box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(41, 116, 88, .055);
}

.pos-products .marketplace-card .stock-unit::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 205, 161, .13), transparent 68%);
  pointer-events: none;
}

.pos-products .marketplace-card .stock-unit .meta-label {
  display: block;
  color: #528071;
  font-size: 7.5px;
  letter-spacing: .025em;
  white-space: nowrap;
}

.pos-products .marketplace-card .stock-unit .meta-label::before {
  content: '';
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: #31b884;
  box-shadow: 0 0 0 3px rgba(49, 184, 132, .11);
}

.pos-products .marketplace-card .stock-unit strong {
  margin-top: 7px;
  color: #245f4d;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -.018em;
  font-variant-numeric: tabular-nums;
}

.pos-products .marketplace-card:hover .stock-unit {
  border-color: rgba(55, 166, 124, .32);
  background: linear-gradient(145deg, #fbfffd 0%, #ebf9f3 100%);
}

@media (max-width: 760px) {
  .pos-products .marketplace-card .product-meta {
    grid-template-columns: 1fr;
  }

  .pos-products .marketplace-card .stock-unit .meta-label {
    white-space: normal;
  }

  .pos-products .marketplace-card .stock-unit strong {
    margin-top: 5px;
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pos-products .marketplace-card .stock-unit { transition: none; }
}
