.button.button-max-contact {
  min-height: 60px;
  padding: 8px 16px;
  color: #fff;
  background: linear-gradient(135deg, #471aff 0%, #6e1aff 52%, #9500ff 100%);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 10px 26px rgba(71, 26, 255, .28);
  gap: 11px;
  line-height: 1.1;
}

.button.button-max-contact::before {
  content: "";
  width: 68px;
  height: 24px;
  flex: 0 0 68px;
  background: url("/max-logo-white.svg") center / contain no-repeat;
}

.button.button-max-contact:hover {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 13px 32px rgba(110, 26, 255, .38);
  transform: translateY(-1px);
}

.button.button-max-contact:focus-visible {
  outline: 3px solid rgba(0, 191, 255, .75);
  outline-offset: 3px;
}

.max-contact-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.max-contact-copy strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.max-contact-copy small {
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.article-aside .button-max-contact,
.service-sidebar .button-max-contact {
  width: 100%;
  margin-top: 9px;
}

.footer-buttons .button-max-contact {
  flex: 1 1 100%;
}

/* В карточке расчёта кнопки должны занимать одинаковую ширину. */
.calculator-result .button-max-contact {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

/* Светлая кнопка звонка отделяется от тёмной карточки и фиолетового MAX. */
.button.button-call-secondary {
  color: #1d2328;
  background: #eef1f3;
  border-color: #d6dce0;
  box-shadow: none;
}

.button.button-call-secondary:hover {
  color: #15181c;
  background: #fff;
  border-color: #aeb3b8;
}

/* Кнопка отправки результата в MAX видна до выполнения JavaScript. */
.button.button-share-calculation {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #fff;
  background: linear-gradient(135deg, #471aff 0%, #6e1aff 52%, #9500ff 100%);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 9px 24px rgba(71, 26, 255, .28);
}

.button.button-share-calculation::before {
  content: "";
  width: 76px;
  height: 25px;
  flex: 0 0 76px;
  background: url("/max-logo-white.svg") center / contain no-repeat;
}

.button.button-share-calculation:hover {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 12px 30px rgba(110, 26, 255, .38);
}

/* Кнопки результата покраски: отдельные строки без наложения на мобильных. */
.coating-calculator-card .calculator-result > .button {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.coating-calculator-card .calculator-result > .button + .button {
  margin-top: 12px;
}

.direct-max-consult-link {
  display: inline-flex;
  margin-top: 10px;
  color: #c9bdff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.direct-max-consult-link:hover {
  color: #fff;
}

.calculation-share-status,
.share-status {
  width: 100%;
  min-height: 1.4em;
  margin: 9px 0 0;
  color: #d6dadd;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .coating-calculator-card .calculator-result {
    align-items: stretch;
  }

  .button.button-max-contact {
    width: 100%;
  }

  .max-contact-copy small {
    white-space: normal;
  }
}

/* V100: индивидуальные двухстрочные CTA и полный смысл кнопки MAX. */
.max-calculation-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  text-align: left;
  line-height: 1.08;
}

.max-calculation-copy strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.max-calculation-copy small {
  color: rgba(255, 255, 255, .8);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.button.button-share-calculation {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 7px 14px;
  gap: 10px;
  overflow: hidden;
  white-space: normal;
  line-height: 1.1;
}

.button.button-share-calculation::before {
  width: 56px;
  height: 20px;
  flex: 0 0 56px;
}

@media (max-width: 360px) {
  .button.button-share-calculation {
    padding-inline: 10px;
    gap: 8px;
  }

  .button.button-share-calculation::before {
    width: 50px;
    height: 18px;
    flex-basis: 50px;
  }

  .max-calculation-copy strong {
    font-size: 13px;
  }

  .max-calculation-copy small {
    font-size: 9.5px;
  }
}
