.prices-body {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(196, 181, 92, 0.12), transparent 55%),
    linear-gradient(180deg, #f3efe4 0%, var(--cream) 40%, #e8e2d4 100%);
}

.prices-main {
  width: min(920px, calc(100% - 2rem));
  margin: 1.25rem auto 3rem;
}

.prices-hero {
  margin-bottom: 1.25rem;
}

.prices-hero h1 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.prices-hero p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.55;
}

.region-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.region-btn {
  border: 1px solid rgba(28, 42, 28, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.region-btn.is-active {
  background: #1f6b45;
  border-color: #1f6b45;
  color: #fff;
  transform: translateY(-1px);
}

.region-btn:hover:not(.is-active) {
  border-color: #1f6b45;
  transform: translateY(-2px);
}

.prices-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.prices-tab {
  border: 1px solid rgba(28, 42, 28, 0.18);
  background: #fff;
  color: #3a5646;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.prices-tab.is-active {
  background: #2f855a;
  border-color: #2f855a;
  color: #fff;
}

.prices-tab:hover:not(.is-active) {
  border-color: #2f855a;
  color: #1f6b45;
}

.prices-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 42, 28, 0.1);
  border-radius: 18px;
  padding: 1.25rem 1.35rem 1.5rem;
  box-shadow: 0 12px 36px rgba(28, 42, 28, 0.06);
}

.prices-panel[hidden] {
  display: none !important;
}

.prices-panel h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
}

.prices-panel .muted {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.prices-form {
  display: grid;
  gap: 0.85rem;
  max-width: 420px;
}

.prices-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.prices-form input,
.prices-form select {
  border: 1px solid rgba(28, 42, 28, 0.16);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.prices-result {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(45, 90, 39, 0.08);
  border: 1px solid rgba(45, 90, 39, 0.18);
  animation: priceResultIn 0.4s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}

@keyframes priceResultIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.prices-result .result-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f855a;
}

.prices-result .result-value {
  margin: 0.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.prices-result .result-detail {
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.rate-block {
  margin-bottom: 1.5rem;
}

.rate-block h3 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.15rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(28, 42, 28, 0.1);
  vertical-align: top;
}

.rate-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.rate-table td:last-child,
.rate-table th:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

.prices-footnote {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .prices-main {
    width: min(100% - 1.25rem, 920px);
  }

  .prices-panel {
    padding: 1rem;
  }
}
