/* Ускорение отрисовки текста и иконок */
/* Принудительный swap для всех шрифтов */
@font-face {
  font-family: 'FontAwesome';
  font-display: swap !important;
}

@font-face {
  font-family: 'Montserrat';
  font-display: swap !important;
}

@font-face {
  font-family: 'montserrat';
  font-display: swap !important;
}

/* Остальной ваш код без изменений */



.menu1:not(.new) .menu__collapse{border:1px solid #eee}
.simplecheckout-block-content .control-label,
.simplecheckout-block-content .checkout-heading,
.simplecheckout-block-content legend {text-align: left !important;}


#simplecheckout_payment .form-group.payment-description-box {
    display: none;
}

#simplecheckout_payment .payment-description-loading {
    display: inline-block;
    margin-left: 8px;
    color: #999;
    font-size: 12px;
    vertical-align: middle;
}

#simplecheckout_payment .payment-description-loading i {
    animation: paymentDescriptionSpin .8s linear infinite;
}

@keyframes paymentDescriptionSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* New Style QTY */
/* === Modern Strict Style: внутри .product-block === */
.product-block .qty-indicator {
  --pill-bg: #f8f9fa;
  --pill-border: #e9ecef;
  --pill-text: #343a40;
  --pill-label: #868e96;
  --pill-danger: #e03131;
  --pill-danger-bg: #fff5f5;
  --pill-danger-border: #ffc9c9;
  --pill-radius: 6px; /* Уменьшенное, строгое скругление */

  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  border-radius: var(--pill-radius);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8125rem; /* 13px */
  line-height: 1.4;
  color: var(--pill-text);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Метка "Наличие:" */
.product-block .qty-indicator::before {
  content: attr(data-text);
  color: var(--pill-label);
  font-weight: 400;
}

/* Текст статуса */
.product-block .qty-indicator__text {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* Точка-индикатор */
.product-block .qty-indicator__text::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Состояние: нет в наличии */
.product-block .qty-indicator__text.t-0 {
  color: var(--pill-danger);
}

/* Модификатор type-99: подложка и бордер */
.product-block .qty-indicator-type-99 {
  background: var(--pill-danger-bg);
  border-color: var(--pill-danger-border);
}

/* Hover-эффект */
.product-block .qty-indicator:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: #ced4da;
}