/* =========================================================
   EMALIA RYBNIK - FINALNY WSPÓLNY PASEK PŁATNOŚCI + COPYRIGHT
   Moduł: emaliaplatnoscistopka
   Autor: RJ
   Działa dla desktop + mobile
   ========================================================= */

/* =========================================================
   1. GŁÓWNY PASEK COPYRIGHT + PŁATNOŚCI
   ========================================================= */
.er-footer-bottom {
  width: 100% !important;
  background: #ead6b8 !important;
  border-top: 1px solid rgba(191, 158, 112, 0.40) !important;
  padding: 9px 15px 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  position: relative !important;
  z-index: 2 !important;
}

.er-footer-bottom .container {
  max-width: 1320px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  flex-wrap: wrap !important;
}

/* =========================================================
   2. PASEK PŁATNOŚCI
   ========================================================= */
.er-footer-paybar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  flex: 0 1 auto !important;
}

.er-footer-paybar__logos {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.er-footer-paybar__logo,
.er-footer-paybar__logo--p24,
.er-footer-paybar__logo--blik,
.er-footer-paybar__logo--visa,
.er-footer-paybar__logo--mastercard,
.er-footer-paybar__logo--apple,
.er-footer-paybar__logo--google {
  display: block !important;
  width: auto !important;
  height: 22px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  max-width: none !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  flex-shrink: 0 !important;
}

/* =========================================================
   3. COPYRIGHT
   ========================================================= */
.er-footer-copy {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #2b2118 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
  flex: 0 1 auto !important;
}

/* =========================================================
   4. DESKTOP
   - podniesienie paska nad sticky
   ========================================================= */
@media (min-width: 992px) {
  .er-footer-bottom {
    margin-bottom: 46px !important;
  }

  .er-footer-bottom .container {
    flex-direction: row !important;
  }
}

/* =========================================================
   5. TABLET
   ========================================================= */
@media (max-width: 991px) {
  .er-footer-bottom {
    padding: 8px 10px !important;
    margin-bottom: 0 !important;
  }

  .er-footer-bottom .container {
    gap: 7px !important;
    flex-direction: column !important;
  }

  .er-footer-paybar__logos {
    gap: 8px !important;
  }

  .er-footer-paybar__logo,
  .er-footer-paybar__logo--p24,
  .er-footer-paybar__logo--blik,
  .er-footer-paybar__logo--visa,
  .er-footer-paybar__logo--mastercard,
  .er-footer-paybar__logo--apple,
  .er-footer-paybar__logo--google {
    height: 20px !important;
    max-height: 20px !important;
    min-height: 20px !important;
  }

  .er-footer-copy {
    font-size: 10.5px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
}

/* =========================================================
   6. MOBILE
   - mniej tła
   - delikatnie większe odstępy między logami
   ========================================================= */
@media (max-width: 767px) {
  .er-footer-bottom {
    padding: 5px 7px !important;
    margin-bottom: 0 !important;
  }

  .er-footer-bottom .container {
    gap: 2px !important;
    flex-direction: column !important;
  }

  .er-footer-paybar {
    width: 100% !important;
  }

  .er-footer-paybar__logos {
    width: auto !important;
    justify-content: center !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
  }

  .er-footer-paybar__logo,
  .er-footer-paybar__logo--p24,
  .er-footer-paybar__logo--blik,
  .er-footer-paybar__logo--visa,
  .er-footer-paybar__logo--mastercard,
  .er-footer-paybar__logo--apple,
  .er-footer-paybar__logo--google {
    height: 17px !important;
    max-height: 17px !important;
    min-height: 17px !important;
  }

  .er-footer-copy {
    font-size: 9.2px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }
}

/* =========================================================
   7. BARDZO MAŁE EKRANY
   ========================================================= */
@media (max-width: 420px) {
  .er-footer-bottom {
    padding: 4px 6px !important;
  }

  .er-footer-bottom .container {
    gap: 2px !important;
  }

  .er-footer-paybar__logos {
    gap: 4px !important;
  }

  .er-footer-paybar__logo,
  .er-footer-paybar__logo--p24,
  .er-footer-paybar__logo--blik,
  .er-footer-paybar__logo--visa,
  .er-footer-paybar__logo--mastercard,
  .er-footer-paybar__logo--apple,
  .er-footer-paybar__logo--google {
    height: 15px !important;
    max-height: 15px !important;
    min-height: 15px !important;
  }

  .er-footer-copy {
    font-size: 8.5px !important;
    line-height: 1.05 !important;
  }
}