/* ========== Sticky bar mobile (site-wide) ========== */

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  height: 72px;
  padding-inline: var(--container-padding);
  background-color: var(--color-bg);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.sticky-bar__cta {
  flex: 1 1 auto;
  width: 100%;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 18px;
}

@media (max-width: 1024px) {
  body:has(.sticky-bar) {
    padding-bottom: 72px;
  }

  body:has(.sticky-bar) #form {
    scroll-margin-bottom: 88px;
  }

  body.menu-open .sticky-bar {
    display: none;
  }
}

@media (min-width: 1025px) {
  .sticky-bar {
    display: none;
  }
}
