@charset "UTF-8";
/**
 * YH-UI Sass Variables
 * 原具体的 CSS 变量输出规则 (:root, html.dark 等) 已移至 root.scss，以防止各组件样式编译时产生重复的全局变量 CSS 冗余。
 */
.yh-price {
  --yh-price-color: var(--yh-color-danger);
  --yh-price-font-family: var(--yh-font-family);
  --yh-price-integer-size: 1.25em;
  --yh-price-symbol-size: 0.75em;
  --yh-price-decimal-scale: 0.8;
  --yh-price-tag-bg: var(--yh-color-danger);
  display: inline-flex;
  align-items: baseline;
  vertical-align: middle;
  color: var(--yh-price-color);
  font-family: var(--yh-price-font-family);
  line-height: 1;
  white-space: nowrap;
  flex-wrap: wrap;
}
.yh-price.is-bold {
  font-weight: var(--yh-font-weight-bold);
}

.yh-price.is-gradient {
  display: inline-flex;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}

.yh-price.is-line-through {
  color: var(--yh-text-color-placeholder);
  text-decoration: line-through;
  font-weight: var(--yh-font-weight-normal);
  --yh-price-color: var(--yh-text-color-placeholder);
}

.yh-price__main {
  display: inline-flex;
  align-items: baseline;
}

.yh-price__separator {
  margin: 0 2px;
  font-size: 0.8em;
}

.yh-price__approx {
  font-size: 0.8em;
  margin-right: 2px;
}

.yh-price__prefix {
  font-size: 0.7em;
  margin-right: 2px;
  font-weight: var(--yh-font-weight-normal);
}

.yh-price__symbol {
  font-size: var(--yh-price-symbol-size);
  margin-right: 1px;
  font-family: sans-serif;
}

.yh-price__integer {
  font-size: var(--yh-price-integer-size);
  font-variant-numeric: tabular-nums;
}

.yh-price__decimal {
  font-size: calc(100% * var(--yh-price-decimal-scale));
  font-variant-numeric: tabular-nums;
}

.yh-price__unit {
  font-size: 0.75em;
  margin-left: 2px;
  font-weight: var(--yh-font-weight-normal);
  color: var(--yh-text-color-secondary);
}

.yh-price__suffix {
  font-size: 0.75em;
  margin-left: 2px;
  font-weight: var(--yh-font-weight-normal);
}

.yh-price__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 4px;
  font-size: 10px;
  line-height: 1;
  border-radius: var(--yh-radius-sm);
  background-color: var(--yh-price-tag-bg);
  color: var(--yh-color-white);
  margin-right: 6px;
  font-weight: normal;
  font-style: normal;
  transform: translateY(-1px);
}
.yh-price__tag--primary {
  background-color: var(--yh-color-primary);
}

.yh-price__tag--success {
  background-color: var(--yh-color-success);
}

.yh-price__tag--warning {
  background-color: var(--yh-color-warning);
}

.yh-price__tag--danger {
  background-color: var(--yh-color-danger);
}

.yh-price__tag--info {
  background-color: var(--yh-color-info);
}

.yh-price__delete {
  display: inline-flex;
  align-items: baseline;
  font-size: 0.7em;
  color: var(--yh-text-color-placeholder);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: normal;
}
.yh-price__delete-label {
  margin-right: 2px;
  text-decoration: none;
  display: inline-block;
}

.yh-price {
  /* Standard sizes */
}
.yh-price--large {
  font-size: 24px;
  --yh-price-integer-size: 1.4em;
}

.yh-price--default {
  font-size: 16px;
}

.yh-price--small {
  font-size: 13px;
  --yh-price-integer-size: 1.1em;
}