:root {
  --mc-button-accent: #f7941d;
  --mc-button-accent-hover: #ee8200;
  --mc-button-text: #231f20;
  --mc-button-radius: 14px;
  --mc-button-height: 48px;
  --mc-button-primary-height: 56px;
}

/* Shared button appearance; existing component classes retain their layout. */
:root :is(.connect-btn, .calculator-handoff__button, .fiat-calc-action,
  .location-btn, .header-login, .footer-subscribe-btn) {
  min-height: var(--mc-button-height);
  height: auto;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--mc-button-radius);
  background-color: var(--mc-button-accent);
  color: var(--mc-button-text);
  font-family: "Euclid Circular A", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
}

:root :is(.connect-btn, .calculator-handoff__button, .fiat-calc-action,
  .location-btn, .header-login, .footer-subscribe-btn):hover:not(:disabled) {
  background-color: var(--mc-button-accent-hover);
}

:root :is(.presentation-description.connect-btn, .help-description.connect-btn,
  .calculator-handoff__button) {
  min-height: var(--mc-button-primary-height);
  padding-block: 16px;
}

:root :is(.presentation-description.connect-btn, .help-description.connect-btn) {
  width: 240px;
  max-width: 100%;
}

:root :is(.presentation-description.connect-btn, .help-description.connect-btn,
  .location-btn):has(> a) {
  padding: 0;
}

:root :is(.connect-btn, .location-btn) > a {
  min-height: inherit;
  padding: 16px 24px;
  color: inherit;
}

:root .location-btn {
  min-height: 80px;
}

:root .location-btn-first_line {
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
}

:root .location-btn-second_line {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

:root .fiat-calc-action--ghost {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

:root .fiat-calc-action--ghost:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.16);
}

:root .fiat-calc-step {
  background-color: var(--mc-button-accent);
  color: var(--mc-button-text);
}

:root .fiat-calc-step:hover:not(:disabled) {
  background-color: var(--mc-button-accent-hover);
}

:root .change-btn {
  width: 56px;
  height: 44px;
  border-radius: var(--mc-button-radius);
  background-color: var(--mc-button-accent);
  background-image: url("../media/svg/exchange-arrows.svg");
  background-size: 24px 24px;
}

:root .change-btn:hover:not(:disabled) {
  background-color: var(--mc-button-accent-hover);
}

:root :is(.connect-btn, .calculator-handoff__button, .fiat-calc-action,
  .location-btn, .header-login, .footer-subscribe-btn, .change-btn):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

:root .header-login.header-telephone {
  color: var(--mc-button-text);
}

@media (max-width: 480px) {
  :root .header-login.header-telephone {
    min-height: 44px;
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 499px) {
  :root :is(.presentation-description.connect-btn, .help-description.connect-btn) {
    width: 100%;
  }
}
