/* Compact, factual status badges for every product-card surface. */
.ly-card-badge-v12 {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
}

.ly-card-badge-v12::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v8H4V4h8'/%3E%3Cpath d='m15 3 6 6'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v8H4V4h8'/%3E%3Cpath d='m15 3 6 6'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ly-card-badge-v12.is-hit::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.75 5.58 6.16.9-4.46 4.34 1.05 6.14L12 16.86l-5.5 2.9 1.05-6.14-4.46-4.34 6.16-.9L12 2.8Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.8 2.75 5.58 6.16.9-4.46 4.34 1.05 6.14L12 16.86l-5.5 2.9 1.05-6.14-4.46-4.34 6.16-.9L12 2.8Z' fill='black'/%3E%3C/svg%3E");
}

.ly-card-price-v12 > .ly-card-installment-v13 {
  display: inline-flex !important;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  margin-top: 7px !important;
  padding: 4px 8px 4px 5px;
  border: 1px solid #cdded7;
  border-radius: 9px;
  background: #f6f9f7;
  color: #075a45 !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  line-height: 1;
  white-space: nowrap;
}

.ly-card-price-v12 > .ly-card-installment-v13::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  order: -2;
  border-radius: 4px;
  background: #fff url("../image/payment/privat24-card-badge.png") center / 16px 16px no-repeat;
  box-shadow: 0 0 0 1px #dbe6e1;
}

.ly-card-price-v12 > .ly-card-installment-v13::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  order: -1;
  margin-right: -3px;
  border-radius: 4px;
  background: #fff url("../image/payment/monobank-card-badge.png") center / 16px 16px no-repeat;
  box-shadow: 0 0 0 1px #dbe6e1;
}

.ly-card-installment-v13 b { color: #075a45; font-weight: 850; }

@media (max-width: 767px) {
  .ly-card-price-v12 > .ly-card-installment-v13 {
    min-height: 26px;
    gap: 5px;
    padding-right: 6px;
    font-size: 9px !important;
  }

  .ly-card-badge-v12::before { width: 12px; height: 12px; flex-basis: 12px; }
}
