/* Sticky actiebalk onderaan. Vervangt de Elementor-templates die de
   themafooter onderdrukten. Kleur en gedrag volgen het origineel. */

.fb-sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 998;               /* onder de mobiele knoppenbalk van het thema */
  display: flex;
  align-items: stretch;
  width: min(560px, calc(100% - 32px));
  transform: translateX(-50%);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .22);
}

.fb-sticky-cta__knop {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 20px;
  background: #5EAD39;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}

.fb-sticky-cta__knop:hover,
.fb-sticky-cta__knop:focus-visible {
  background: #4d9130;
  color: #fff;
}

.fb-sticky-cta__icoon { font-size: 15px; }

@media (max-width: 640px) {
  /* Op de pagina's met deze balk zet het thema geen eigen vaste knoppenbalk neer,
     dus de actiebalk mag onderaan staan. De safe-area houdt hem vrij van
     de home-indicator op iPhones. */
  .fb-sticky-cta {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 20px);
  }
  .fb-sticky-cta__knop { font-size: 14px; padding: 11px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .fb-sticky-cta__knop { transition: none; }
}

/* Klein merklogo links in de knop (uit de aanbiederdataset). */
.fb-sticky-cta__logo {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .6);
}
.fb-sticky-cta__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fb-sticky-cta__logo--cover img { object-fit: cover; }
.fb-sticky-cta__knop:has(.fb-sticky-cta__logo) { padding-left: 12px; }
@media (max-width: 640px) {
  .fb-sticky-cta__logo { flex-basis: 28px; width: 28px; height: 28px; }
}
