.mobile-contact {
  display: none;
}

.mobile-contact[hidden] {
  display: none !important;
}

body.modal-open .mobile-contact {
  display: none !important;
}

@media (max-width: 650px) {
  body.mobile-contact-ready {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-contact {
    position: fixed;
    z-index: 20;
    right: 14px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    display: flex;
    gap: 8px;
    align-items: stretch;
    padding: 8px;
    border: 1px solid #cbd1bf;
    border-radius: 10px;
    background: #f8f8f3;
    box-shadow: 0 4px 24px #25292324;
  }

  .mobile-contact a {
    display: inline-flex;
    flex: 1 1 0;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: var(--sans, 'DM Sans', Arial, sans-serif);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
  }

  .mobile-contact .mobile-contact__proposal {
    flex-grow: 1.35;
    border-color: #bd3e20;
    background: #bd3e20;
    color: #fff;
  }

  .mobile-contact .mobile-contact__proposal:hover {
    border-color: #a33319;
    background: #a33319;
  }

  .mobile-contact .mobile-contact__booking {
    border-color: #a4af95;
    background: #f8f8f3;
    color: #252923;
  }

  .mobile-contact .mobile-contact__booking:hover {
    background: #e9eddf;
  }

  .mobile-contact a:focus-visible {
    outline: 3px solid #252923;
    outline-offset: 2px;
  }

  .mobile-contact a span {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
  }
}

@media (max-width: 350px) {
  .mobile-contact {
    right: 10px;
    left: 10px;
    gap: 6px;
    padding: 6px;
  }

  .mobile-contact a {
    gap: 6px;
    padding-inline: 8px;
    font-size: 12px;
  }
}
