/* ============================================================
   DealWise - Footer Styles
   Palette: Golden (#dca804) background with dark text for readability
   ============================================================ */

.deal-footer {
  background: #dca804;
  color: #1a1a2e;
}

/* ---------- Top Info Bar ---------- */
.deal-footer-top {
  background: #c89703;
  padding: 32px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.deal-footer-top__col {
  padding: 15px 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.deal-footer-top__col:last-child {
  border-right: none;
}

.deal-footer-top__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.deal-footer-top__item > span[uk-icon] {
  color: #1a1a2e;
  margin-top: 2px;
}

.deal-footer-top__label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(26, 26, 46, 0.7);
  margin: 0 0 4px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.deal-footer-top__value {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.deal-footer-top__link {
  font-size: 14px;
  color: #1a1a2e;
  text-decoration: none;
  transition: color 0.25s ease;
}

.deal-footer-top__link:hover {
  color: #3a3a5e;
  text-decoration: underline;
}

.deal-footer-top__payments {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.deal-footer-top__payments img {
  height: 28px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.25s ease;
  background: #fff;
  border-radius: 4px;
  padding: 2px 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.deal-footer-top__payments img:hover {
  opacity: 1;
}

/* ---------- Main Footer ---------- */
.deal-footer-main {
  padding: 52px 0 44px;
  background: #dca804;
}

.deal-footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 22px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.deal-footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 1px;
}

.deal-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deal-footer-list li {
  margin-bottom: 11px;
}

.deal-footer-list a {
  font-size: 14px;
  color: rgba(26, 26, 46, 0.82);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
  line-height: 1.5;
}

.deal-footer-list a:hover {
  color: #1a1a2e;
  text-decoration: none;
  padding-left: 4px;
}

.deal-footer-desc {
  color: rgba(26, 26, 46, 0.85);
  line-height: 1.7;
  margin: 0;
  font-size: 14px;
}

/* ---------- Bottom Bar ---------- */
.deal-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding: 22px 0;
  background: #b88903;
}

.deal-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal-footer-copyright {
  font-size: 13px;
  color: rgba(26, 26, 46, 0.75);
  margin: 0;
}

/* ---------- Back to top ---------- */
.deal-footer__back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.deal-footer__back-top:hover {
  background: #3a3a5e;
  transform: translateY(-4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .deal-footer-main {
    padding: 42px 0 34px;
  }
  .deal-footer-top__col {
    padding: 12px 18px;
  }
}

@media (max-width: 959px) {
  .deal-footer-top__col {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 14px 0;
  }

  .deal-footer-top__col:last-child {
    border-bottom: none;
  }

  .deal-footer-main {
    padding: 40px 0 32px;
  }

  .deal-footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 639px) {
  .deal-footer-top {
    padding: 22px 0;
  }

  .deal-footer-main {
    padding: 32px 0 24px;
  }
}
