/* MAX actions share the site's existing sizes and typography. */
.max-icon { width: 24px; height: 24px; display: block; object-fit: contain; }
.contact-button[data-max] .social-icon { background: #6555e8; color: #fff; }
.mobile-menu-contacts [data-max] .menu-contact-icon { color: #8177ff; }
.booking-dialog .max-submit,
.certificate-dialog .max-submit,
.max-message .max-submit { background: #6555e8; border-color: #a49aff; color: #fff; }
.booking-dialog .max-submit:hover,
.certificate-dialog .max-submit:hover,
.max-message .max-submit:hover { background: #5142c8; }
.messenger-hint { margin: 0; color: #c9d9c4; font: 13px/1.5 var(--sans); }
.max-message { margin-top: 20px; padding: 16px; border: 1px solid #a49aff; border-radius: 14px; background: #193f32; color: #fff; }
.max-message[hidden] { display: none; }
.max-message h3 { margin: 0 0 10px; font: 700 18px/1.3 var(--sans); }
.max-message p,.max-message small { font: 13px/1.5 var(--sans); color: #dce7d5; }
.max-message label { display: grid; gap: 8px; padding: 0; color: #dce7d5; font: 13px/1.5 var(--sans); }
.max-message textarea { width: 100%; min-height: 160px; resize: vertical; padding: 12px; border: 1px solid #a6b49f; border-radius: 9px; background: #f8faef; color: #153227; font: 14px/1.5 var(--sans); }
.max-message .solid-button { display: flex; justify-content: center; align-items: center; width: 100%; min-width: 0; min-height: 48px; margin-top: 12px; padding: 12px; text-align: center; font: 700 14px/1.4 var(--sans); letter-spacing: 0; text-transform: none; text-decoration: none; }
.max-message small { display: block; margin-top: 12px; }
.max-copy-status:empty { display: none; }
@media(max-width:620px) {
  .floating-action--max { bottom: 74px; right: 74px; border-color: #a49aff; background: #6555e8; color: #fff; }
  .messenger-hint { font-size: 12px; }
}
