/* Large, high-contrast conversion actions for small screens. */
@media (max-width: 767.98px) {
  body.jd-body {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.jd-body .jd-float.floating-button {
    bottom: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 252, 248, .96);
    border-top: 1px solid rgba(154, 122, 97, .24);
    box-shadow: 0 -12px 30px rgba(66, 49, 38, .16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  body.jd-body .jd-float.floating-button > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }

  body.jd-body .jd-float .btn-call-us,
  body.jd-body .jd-float .btn-book-now,
  body.jd-body .floating-button a.btn-call-us,
  body.jd-body .floating-button a.btn-book-now {
    min-height: 64px !important;
    margin: 0 !important;
    padding: 16px 12px !important;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .025em !important;
    text-transform: none !important;
    box-shadow: 0 8px 20px rgba(72, 50, 35, .2), inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .2s ease, box-shadow .2s ease, background-position .4s ease;
  }

  body.jd-body .jd-float .btn-call-us .icon,
  body.jd-body .jd-float .btn-book-now .icon,
  body.jd-body .floating-button a.btn-call-us .icon,
  body.jd-body .floating-button a.btn-book-now .icon {
    margin: 0;
    font-size: 21px !important;
    line-height: 1;
  }

  body.jd-body .jd-float .btn-call-us:active,
  body.jd-body .jd-float .btn-book-now:active {
    transform: translateY(1px) scale(.98);
    box-shadow: 0 4px 12px rgba(72, 50, 35, .18);
  }

  body.jd-body .jd-float .btn-call-us:focus-visible,
  body.jd-body .jd-float .btn-book-now:focus-visible {
    outline: 3px solid rgba(154, 122, 97, .38);
    outline-offset: 3px;
  }

  /* Keep the social/share control clearly above the enlarged CTA dock. */
  body.jd-body .jd-social-fab {
    bottom: calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
