/* GEBME Merchant Photo Carousel - scoped to #merchants */
/* Keeps the landing page's original pale green (#f0f6ef) background. */
#merchants.fl-merchants-section {
  background: #f0f6ef;
  overflow: hidden;
}

#merchants .fl-mc-heading { margin-bottom: 30px; }
#merchants .fl-mc-subtitle {
  margin: 13px auto 0;
  max-width: 630px;
  font-size: 15px;
  line-height: 1.65;
  color: #54705b;
}

#merchants .fl-merchant-carousel { width: 100%; min-width: 0; }
#merchants .fl-mc-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 6px 22px;
  scroll-padding-left: 6px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
#merchants .fl-mc-track::-webkit-scrollbar { display: none; }
#merchants .fl-mc-track:focus-visible { outline: 2px solid #238445; outline-offset: -3px; }

#merchants .fl-mc-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 calc((100% - 44px - 12px) / 3);
  height: 425px;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: #185638;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 34px;
  box-shadow: 0 8px 23px rgba(12, 66, 38, .12);
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
#merchants .fl-mc-photo {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.94);
  transition: transform .45s ease;
}
#merchants .fl-mc-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(12,75,43,.20) 0%,
    rgba(12,75,43,.10) 30%,
    rgba(9,49,29,.47) 58%,
    rgba(5,40,23,.94) 100%);
  pointer-events: none;
}
#merchants .fl-mc-pill {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px;
  max-width: calc(100% - 36px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 100px;
  background: rgba(13,86,45,.75);
  box-shadow: 0 2px 12px rgba(0,0,0,.09);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}
#merchants .fl-mc-pill i { color: #bcf3a5; }
#merchants .fl-mc-content {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 23px 24px 27px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(2,24,12,.28);
}
#merchants .fl-mc-kind {
  display: block;
  margin-bottom: 7px;
  color: #c0ecb0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .065em;
  text-transform: uppercase;
}
#merchants .fl-mc-content h3 {
  margin: 0 0 11px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.2;
  font-weight: 800;
}
#merchants .fl-mc-content p {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  color: #ecf9ee;
  font-size: 13px;
  line-height: 1.45;
}
#merchants .fl-mc-content p i { flex-shrink: 0; color: #b4e9a3; }
#merchants .fl-mc-join-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 50px;
  background: #fff;
  color: #14642f;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  text-shadow: none;
  transition: background .2s, transform .2s;
}
#merchants .fl-mc-join-link:hover,
#merchants .fl-mc-join-link:focus-visible { background: #ddf3dc; transform: translateY(-1px); }
#merchants .fl-mc-card--join .fl-mc-shade {
  background: linear-gradient(180deg, rgba(8,89,42,.24) 0%, rgba(7,67,36,.35) 42%, rgba(5,51,29,.97) 100%);
}
@media (hover: hover) and (pointer: fine) {
  #merchants .fl-mc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 17px 31px rgba(12,66,38,.19);
  }
  #merchants .fl-mc-card:hover .fl-mc-photo { transform: scale(1.045); }
}

#merchants .fl-mc-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}
#merchants .fl-mc-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 39px; height: 39px;
  border: 1px solid #c9e0ca;
  border-radius: 50%;
  background: #fff;
  color: #166a34;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
#merchants .fl-mc-arrow:hover { background: #166a34; color: #fff; }
#merchants .fl-mc-arrow:focus-visible,
#merchants .fl-mc-dot:focus-visible { outline: 3px solid #2e9950; outline-offset: 3px; }
#merchants .fl-mc-dots { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 30px; }
#merchants .fl-mc-dot {
  width: 8px; height: 8px; padding: 0;
  border: 0;
  border-radius: 50%;
  background: #a6cbae;
  cursor: pointer;
  transition: width .25s, background .25s, border-radius .25s;
}
#merchants .fl-mc-dot[aria-current="true"] {
  width: 23px;
  border-radius: 10px;
  background: #1b7a38;
}
#merchants .fl-mc-main-cta { margin-top: 17px; }

@media (max-width: 991.98px) {
  #merchants .fl-mc-card { flex-basis: calc((100% - 22px - 12px) / 2); height: 410px; }
  #merchants .fl-mc-content h3 { font-size: 23px; }
}
@media (max-width: 575.98px) {
  #merchants .fl-mc-heading { margin-bottom: 19px; }
  #merchants .fl-mc-subtitle { font-size: 13px; margin-top: 8px; }
  #merchants .fl-mc-track { gap: 14px; padding: 10px 38px 20px 4px; scroll-padding-left: 4px; }
  #merchants .fl-mc-card { flex: 0 0 calc(100% - 40px); height: 425px; border-radius: 26px; }
  #merchants .fl-mc-content { padding: 18px 20px 24px; }
  #merchants .fl-mc-content h3 { font-size: 22px; }
  #merchants .fl-mc-controls { gap: 15px; margin-top: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  #merchants .fl-mc-track { scroll-behavior: auto; }
  #merchants .fl-mc-card, #merchants .fl-mc-photo, #merchants .fl-mc-dot { transition: none; }
}
