.price-fx {
  width: 100%;
  max-width: 22rem;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.price-fx__label {
  display: block;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6d786d;
}

.price-fx__buttons {
  display: flex;
  gap: 4px;
}

.price-fx__buttons button {
  flex: 1;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1a2e1f;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
}

.price-fx__buttons button:hover {
  border-color: #d1d5db;
  background: #f8faf9;
}

.price-fx__buttons button.is-active {
  background: var(--brand-primary, #00D233);
  border-color: var(--brand-primary, #00D233);
  color: #fff;
}

.price-fx__hint {
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.4;
  color: #6d786d;
  font-weight: 400;
}

@media (max-width: 639px) {
  .price-fx {
    max-width: 100%;
    margin-top: 6px;
    padding: 6px 8px;
    border-radius: 8px;
  }

  .price-fx__label {
    font-size: 9px;
    margin-bottom: 4px;
  }

  .price-fx__buttons {
    gap: 3px;
  }

  .price-fx__buttons button {
    font-size: 11px;
    padding: 6px 6px;
  }

  .price-fx__hint {
    font-size: 9px;
    line-height: 1.35;
  }
}
