/* ===== Footer =====
   Four link columns, then a centred trust row (payment marks + WhatsApp),
   then the copyright line. */

.cc_kciijg29_footer .kombos-footer {
  /* The element itself stays transparent so the wave's empty half shows the
     page behind it; the colour lives on __body (and on the wave's fill). */
  background: transparent;
}

.cc_kciijg29_footer .kombos-footer__body {
  background: var(--footer-bg, var(--kombos-white));
}

/* A hairline only makes sense when the footer shares the page's background
   and has no wave to separate it. */
.cc_kciijg29_footer .kombos-footer:not(.kombos-footer--on-dark):not(.kombos-footer--wave)
  .kombos-footer__body {
  border-top: 1px solid var(--kombos-gray-100);
}

/* ===== Wave =====
   A strip of three drifting layers. Each layer is 200% wide and holds two
   copies of the same one-period tile, so sliding it by exactly -50% lands the
   second copy where the first began — an invisible loop point. */
.cc_kciijg29_footer .kombos-footer__wave {
  position: relative;
  /* currentColor drives the path fill, so the wave always matches __body. */
  color: var(--footer-bg, var(--kombos-white));
  height: 2.5rem;
  overflow: hidden;
  line-height: 0;
}

.cc_kciijg29_footer .kombos-footer__wave-layer {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  width: 200%;
  animation-name: cc_kciijg29_footer_kombos-wave-drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

.cc_kciijg29_footer .kombos-footer__wave-layer svg {
  display: block;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
}

/* The back layers are translucent, so page-white shows through and reads as
   lighter green — the depth comes for free, with no second colour to keep in
   sync with the brand. The front layer stays opaque so the strip meets the
   footer body without a seam. */
.cc_kciijg29_footer .kombos-footer__wave-layer--back {
  top: -0.375rem;
  opacity: 0.4;
  animation-duration: 17s;
  animation-direction: reverse;
}

.cc_kciijg29_footer .kombos-footer__wave-layer--mid {
  top: -0.125rem;
  opacity: 0.65;
  animation-duration: 11s;
}

.cc_kciijg29_footer .kombos-footer__wave-layer--front {
  animation-duration: 7s;
  animation-direction: reverse;
}

@keyframes cc_kciijg29_footer_kombos-wave-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Motion is decoration here, so drop it entirely rather than slow it down. */
@media (prefers-reduced-motion: reduce) {
  .cc_kciijg29_footer .kombos-footer__wave-layer {
    animation: none;
  }
}

.cc_kciijg29_footer .kombos-footer__wrapper {
  padding: 2.5rem 1rem 2rem;
}

/* ===== Columns ===== */
.cc_kciijg29_footer .kombos-footer__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.cc_kciijg29_footer .kombos-footer__col {
  display: flex;
  flex-direction: column;
}

.cc_kciijg29_footer .kombos-footer__col-title {
  color: var(--kombos-gray-900);
  margin: 0 0 1.25rem;
}

.cc_kciijg29_footer .kombos-footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cc_kciijg29_footer .kombos-footer__col-link {
  color: var(--footer-link-color, var(--kombos-gray-700));
  text-decoration: none;
  transition: color 0.15s ease;
  width: fit-content;
}

.cc_kciijg29_footer .kombos-footer__col-link:hover {
  color: var(--footer-link-hover-color, var(--kc-brand));
}

/* --- Store column --- */
.cc_kciijg29_footer .kombos-footer__address {
  color: var(--footer-link-color, var(--kombos-gray-700));
  margin-bottom: 0.75rem;
}

.cc_kciijg29_footer .kombos-footer__address p {
  margin: 0 0 0.5rem;
}

.cc_kciijg29_footer .kombos-footer__address p:last-child {
  margin-bottom: 0;
}

.cc_kciijg29_footer .kombos-footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cc_kciijg29_footer .kombos-footer__social {
  display: inline-flex;
  align-items: center;
  /* Icons scale with font-size (.kombos-icon is 1em square). */
  font-size: 1.125rem;
  color: var(--kombos-gray-900);
  transition: color 0.15s ease;
}

.cc_kciijg29_footer .kombos-footer__social:hover {
  color: var(--kc-brand);
}

/* ===== Trust row ===== */
.cc_kciijg29_footer .kombos-footer__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--kombos-gray-200);
}

.cc_kciijg29_footer .kombos-footer__payments {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.cc_kciijg29_footer .kombos-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--kc-radius-pill);
  background: var(--kc-brand);
  color: var(--kombos-white);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.cc_kciijg29_footer .kombos-footer__whatsapp:hover {
  background: var(--kc-brand-hover);
}

.cc_kciijg29_footer .kombos-footer__whatsapp-icon {
  font-size: 1.25rem;
}

/* ===== Bottom bar ===== */
.cc_kciijg29_footer .kombos-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cc_kciijg29_footer .kombos-footer__copyright {
  color: var(--kombos-gray-500);
  text-align: center;
}

.cc_kciijg29_footer .kombos-footer__copyright p {
  margin: 0;
}

.cc_kciijg29_footer .kombos-footer__badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--kombos-gray-400);
}

.cc_kciijg29_footer .kombos-footer__badge-logo {
  font-size: 1rem;
}

/* ===== Small tablet (>=640px) ===== */
@media (min-width: 640px) {
  .cc_kciijg29_footer .kombos-footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

/* ===== Tablet (>=768px) ===== */
@media (min-width: 768px) {
  .cc_kciijg29_footer .kombos-footer__wrapper {
    padding: 3rem 2rem 2.5rem;
  }
}

/* ===== Desktop (>=1024px) ===== */
@media (min-width: 1024px) {
  .cc_kciijg29_footer .kombos-footer__wrapper {
    padding: 4rem 4.5rem 2.5rem;
  }

  .cc_kciijg29_footer .kombos-footer__columns {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .cc_kciijg29_footer .kombos-footer__trust {
    gap: 2.5rem;
    margin-top: 3.5rem;
  }
}

/* ===== Dark ground =====
   One flag flips every colour the footer owns. Link colours stay props so the
   merchant can still tune them; these are the fallbacks. */
.cc_kciijg29_footer .kombos-footer--on-dark {
  --footer-link-color: rgba(255, 255, 255, 0.82);
  --footer-link-hover-color: var(--kombos-white);
}

.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__col-title {
  color: var(--kombos-white);
}

.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__social {
  color: rgba(255, 255, 255, 0.82);
}

.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__social:hover {
  color: var(--kombos-white);
}

.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__trust {
  border-top-color: rgba(255, 255, 255, 0.22);
}

/* The payment marks are multi-colour artwork made for a light ground, so they
   keep one: a white chip rather than a recolour that would break the brands. */
.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__payments {
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
  background: var(--kombos-white);
}

/* Brand-green on brand-green would vanish — invert the button instead. */
.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__whatsapp {
  background: var(--kombos-white);
  color: var(--kc-brand);
}

.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__whatsapp:hover {
  background: var(--kombos-gray-100);
}

.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__copyright {
  color: rgba(255, 255, 255, 0.72);
}

.cc_kciijg29_footer .kombos-footer--on-dark .kombos-footer__badge {
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Wave height per breakpoint ===== */
@media (min-width: 768px) {
  .cc_kciijg29_footer .kombos-footer__wave {
    height: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .cc_kciijg29_footer .kombos-footer__wave {
    height: 4.5rem;
  }
}
