/**
 * Product sale price — info panel license cards & purchase block.
 *
 * @package JelekType
 */

.jt-product-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.jt-product-price__current {
  font-size: 15px;
  font-weight: 700;
  color: var(--jt-text, rgba(255, 255, 255, 0.92));
}

.jt-product-price--on-sale {
  align-items: center;
  gap: 8px 10px;
}

.jt-product-price__regular {
  font-size: 13px;
  font-weight: 500;
  color: var(--jt-muted, rgba(255, 255, 255, 0.55));
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.jt-product-price__sale {
  font-size: 15px;
  font-weight: 700;
  color: var(--jt-text, rgba(255, 255, 255, 0.92));
}

.jt-product-price__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--jt-sale-bg, rgba(255, 92, 92, 0.14));
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jt-sale, #ff5c5c);
}

.jt-product-sale-flash {
  display: inline-flex;
  align-items: center;
  margin: 0 0 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--jt-sale-bg, rgba(255, 92, 92, 0.14));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jt-sale, #ff5c5c);
}

.jt-license-card__price .jt-product-price {
  justify-content: flex-end;
}

.jt-single-product__price .jt-product-price--on-sale,
.jt-single-product__price .jt-product-price:not(.jt-product-price--on-sale) {
  align-items: center;
}

.jt-single-product__price .jt-product-price__sale,
.jt-single-product__price .jt-product-price__current {
  font-size: 1.35rem;
}

.jt-single-product__price .jt-product-price__regular {
  font-size: 1rem;
}

/* ── Grid / featured card footer ── */
.jt-featured-card__price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}

.jt-featured-card__price-from {
  font-size: 14px;
  font-weight: 700;
  color: var(--jt-text, rgba(255, 255, 255, 0.92));
}

.jt-product-price--card {
  gap: 6px 8px;
}

.jt-product-price--card .jt-product-price__current {
  font-size: 14px;
}

.jt-product-price--card .jt-product-price__regular {
  font-size: 12px;
}

.jt-product-price--card .jt-product-price__sale {
  font-size: 14px;
}

.jt-product-price--card .jt-product-price__badge {
  padding: 2px 6px;
  font-size: 9px;
}
