/* ThemeGet v1.16.3 — exact footer alignment */
.tg-footer {
  padding: 58px 0 24px !important;
  background: linear-gradient(180deg, #081d46 0%, #061633 100%) !important;
}

.tg-footer .tg-container {
  width: min(100% - 40px, 1220px) !important;
  margin-inline: auto !important;
}

.tg-footer .tg-footer-grid {
  display: grid !important;
  grid-template-columns:
    minmax(230px, 1.45fr)
    minmax(120px, .78fr)
    minmax(120px, .78fr)
    minmax(120px, .78fr)
    minmax(165px, 1fr)
    minmax(210px, 1.18fr) !important;
  column-gap: 28px !important;
  row-gap: 34px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Promote the four nav sections to the main grid for exact column alignment. */
.tg-footer .tg-footer-nav {
  display: contents !important;
}

.tg-footer .tg-footer-about,
.tg-footer .tg-footer-column,
.tg-footer .tg-footer-side,
.tg-footer .tg-footer-payments,
.tg-footer .tg-footer-social {
  min-width: 0 !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tg-footer .tg-footer-about {
  max-width: none !important;
  padding-right: 8px !important;
}

.tg-footer .tg-footer-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 24px !important;
  margin: 0 0 15px !important;
  font-size: 20px !important;
  line-height: 24px !important;
}

.tg-footer .tg-footer-about > p,
.tg-footer .tg-footer-muted {
  max-width: 245px !important;
  margin: 0 !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.tg-footer .tg-footer-column h3,
.tg-footer .tg-footer-payments h3,
.tg-footer .tg-footer-social h3 {
  display: flex !important;
  align-items: center !important;
  min-height: 24px !important;
  margin: 0 0 15px !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 24px !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
}

.tg-footer .tg-footer-column ul {
  display: grid !important;
  gap: 10px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tg-footer .tg-footer-column li {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.tg-footer .tg-footer-column a {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255,255,255,.74) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transform: none !important;
  transition: color .18s ease !important;
}

.tg-footer .tg-footer-column a:hover,
.tg-footer .tg-footer-column a:focus-visible {
  color: #fff !important;
  transform: none !important;
}

.tg-footer .tg-footer-side {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 26px !important;
  align-content: start !important;
}

.tg-footer .tg-footer-logo-badges {
  display: grid !important;
  grid-template-columns: repeat(3, 56px) !important;
  gap: 10px !important;
  justify-content: start !important;
  align-items: center !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.tg-footer .tg-pay-logo-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 38px !important;
  min-width: 56px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 6px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045)) !important;
}

.tg-footer .tg-pay-logo-badge img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  margin: auto !important;
}

.tg-footer .tg-footer-social-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 !important;
}

.tg-footer .tg-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  border-radius: 10px !important;
}

.tg-footer .tg-footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 42px 0 0 !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.58) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Medium desktop: brand and payment panels frame a 2×2 menu matrix. */
@media (max-width: 1180px) and (min-width: 821px) {
  .tg-footer .tg-footer-grid {
    grid-template-columns: minmax(220px, 1.15fr) repeat(2, minmax(145px, .82fr)) minmax(210px, 1fr) !important;
    column-gap: 34px !important;
  }

  .tg-footer .tg-footer-about {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
  }

  .tg-footer .tg-footer-nav .tg-footer-column:nth-child(1) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .tg-footer .tg-footer-nav .tg-footer-column:nth-child(2) {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  .tg-footer .tg-footer-nav .tg-footer-column:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .tg-footer .tg-footer-nav .tg-footer-column:nth-child(4) {
    grid-column: 3 !important;
    grid-row: 2 !important;
  }

  .tg-footer .tg-footer-side {
    grid-column: 4 !important;
    grid-row: 1 / 3 !important;
  }
}

@media (max-width: 820px) {
  .tg-footer {
    padding-top: 50px !important;
  }

  .tg-footer .tg-container {
    width: min(100% - 28px, 1220px) !important;
  }

  .tg-footer .tg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 32px !important;
    row-gap: 32px !important;
  }

  .tg-footer .tg-footer-about,
  .tg-footer .tg-footer-side {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .tg-footer .tg-footer-about > p {
    max-width: 520px !important;
  }

  .tg-footer .tg-footer-nav .tg-footer-column {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .tg-footer .tg-footer-side {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important;
  }

  .tg-footer .tg-footer-column a {
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  .tg-footer {
    padding-top: 44px !important;
  }

  .tg-footer .tg-footer-grid {
    grid-template-columns: 1fr !important;
    row-gap: 28px !important;
  }

  .tg-footer .tg-footer-about,
  .tg-footer .tg-footer-side {
    grid-column: auto !important;
  }

  .tg-footer .tg-footer-side {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .tg-footer .tg-footer-about > p {
    max-width: none !important;
  }

  .tg-footer .tg-footer-bottom {
    margin-top: 34px !important;
  }
}
