.discount-page {
  background: var(--bg, #f7f8fb);
}

.discount-hero {
  padding-top: 24px;
}

.discount-slogan {
  margin: 4px 0 0;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.25;
}

.discount-checker-form {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.discount-input {
  width: 100%;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  font: inherit;
}

.discount-result {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid var(--line, #e5e7eb);
  background: #fff;
  padding: 14px;
}

.discount-result__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.discount-result__label {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.discount-result__label--real {
  background: #059669;
}

.discount-result__label--suspicious {
  background: #b91c1c;
}

.discount-result__label--wait {
  background: #b45309;
}

.discount-result__label--compare {
  background: #0369a1;
}

.discount-result__score {
  font-size: 26px;
  line-height: 1;
}

.discount-result__comment {
  margin-top: 10px;
  color: var(--text, #111827);
}

.discount-result__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted, #6b7280);
  font-size: 14px;
}

.discount-result__prices {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.discount-result__prices > div {
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  padding: 10px;
  background: #fafafa;
}

.discount-result__prices small {
  display: block;
  color: var(--muted, #6b7280);
  font-size: 12px;
}

.discount-result__prices strong {
  font-size: 18px;
}

.discount-result__note,
.discount-demo-note {
  margin-top: 10px;
  color: var(--muted, #6b7280);
  font-size: 13px;
  border: 1px dashed var(--line, #d1d5db);
  border-radius: 10px;
  background: #fff;
  padding: 9px 11px;
}

.discount-result__actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discount-result__actions .btn {
  flex: 1;
  min-width: 0;
}

.discount-examples {
  margin-top: 18px;
}

.discount-examples__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.discount-example-card {
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.discount-example-card__tag {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.discount-example-card__tag--bad {
  background: #b91c1c;
}

.discount-example-card__tag--good {
  background: #059669;
}

.discount-example-card__tag--wait {
  background: #b45309;
}

.discount-example-card__tag--compare {
  background: #0369a1;
}

.discount-how {
  margin-top: 18px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.discount-how h3 {
  margin: 0 0 8px;
}

.discount-how p {
  margin: 0;
  color: var(--muted, #6b7280);
}

.discount-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%) translateY(10px);
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all .2s ease;
  z-index: 70;
}

.discount-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 720px) {
  .discount-checker-form {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .discount-result__prices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .discount-examples__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discount-result__actions .btn {
    flex: 0 1 auto;
  }
}
