/* Custom styles for payment icons flexbox layout */
.footer__payment {
  width: 100%;
  margin-top: 1.5rem;
}

.payment-icons-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  /* max-width: 450px; */ /* 6 items x 70px + 5 gaps x 10px */
}

.payment-icons-container div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icons-container svg {
  width: 80%;
  height: 40px;
}

.payment-icons-line {
  margin: 0 30px;
}

.payment-icon {
  flex: 0 0 auto;
  width: 70px;
  height: 44px;
}

.payment-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Container for payment icons */
.footer__column--info {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 850px) {
  .footer__column--info {
    flex-direction: column;
    align-items: center;
  }

  .payment-icons-line {
    display: none;
  }
}

/* Responsive adjustments */
@media screen and (max-width: 750px) {
  .payment-icons-container {
    max-width: 100%;
    gap: 8px;
  }

  .payment-icon {
    width: 60px;
    height: 38px;
  }
}

@media screen and (max-width: 480px) {
  .payment-icons-container {
    gap: 6px;
  }

  .payment-icon {
    width: 50px;
    height: 32px;
  }

  .payment-icons-container svg {
    width: 65%;
  }

  .payment-icons-container .delivery-icon {
    width: 50%;
  }

  .payment-icons-container img {
    width: fit-content;
    height: 30px;
  }
}

/* Remove old SVG styles if the old implementation is removed */
.payment-icons-svg {
  display: none;
}
