.how-to-order-page {
  --hto-brand-50: #ecfdf5;
  --hto-brand-100: #dcfce7;
  --hto-brand-700: #166534;
}

.how-to-order-page .hto-lead p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ── Быстрые шаги (chips) ── */
.how-to-order-page .hto-quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-bottom: 0.5rem;
}

.how-to-order-page .hto-quicknav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #374151;
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--shop-border);
  border-radius: 999px;
  background: #fafbfc;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.how-to-order-page .hto-quicknav a:hover {
  color: var(--hto-brand-700);
  background: var(--hto-brand-50);
  border-color: #86efac;
}

.how-to-order-page .hto-quicknav .hto-chip-num {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--hto-brand-100);
  color: var(--hto-brand-700);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Карточки шагов ── */
.how-to-order-page .hto-step {
  position: relative;
  border: 1px solid var(--shop-border);
  border-radius: 16px;
  background: #fff;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  scroll-margin-top: 1rem;
}

.how-to-order-page .hto-step + .hto-step {
  margin-top: 0.85rem;
}

.how-to-order-page .hto-step-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.how-to-order-page .hto-step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--hto-brand-50) 0%, var(--hto-brand-100) 100%);
  color: var(--hto-brand-700);
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-to-order-page .hto-step-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--shop-ink, #111827);
  margin: 0;
}

.how-to-order-page .hto-step-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.how-to-order-page .hto-step-body p:last-child {
  margin-bottom: 0;
}

.how-to-order-page .hto-note {
  border-left: 4px solid #86efac;
  background: #f6fef9;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #4b5563;
  margin-bottom: 0;
}

/* ── Списки ── */
.how-to-order-page .hto-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.65rem;
}

.how-to-order-page .hto-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.how-to-order-page .hto-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86efac;
}

/* ── Важные условия ── */
.how-to-order-page .hto-important p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ── Коротко: как заказать ── */
.how-to-order-page .hto-summary {
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  padding: 1.25rem 1.4rem;
}

.how-to-order-page .hto-summary ol {
  counter-reset: hto;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.how-to-order-page .hto-summary li {
  counter-increment: hto;
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.how-to-order-page .hto-summary li:last-child {
  margin-bottom: 0;
}

.how-to-order-page .hto-summary li::before {
  content: counter(hto);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--hto-brand-700);
  border: 1px solid #bbf7d0;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.how-to-order-page .hto-outro {
  font-size: 0.9375rem;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .how-to-order-page .hto-quicknav a {
    transition: none;
  }
}
