footer.site-footer,
footer.site-footer *,
footer.site-footer *::before,
footer.site-footer *::after {
  box-sizing: border-box;
}

/* ---------- Footer Wrapper ---------- */
footer.site-footer {
  background: linear-gradient(180deg, #0b1523 0%, #060d17 100%);
  border-top: 1px solid rgba(244, 208, 63, 0.2);
  color: #8899aa;
  font-family: 'Merriweather', serif;
  margin-top: 3rem;
  position: relative;
  padding-top: 3.5rem;
}

footer.site-footer::before {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #f4d03f, #d4af37);
  margin: 0 auto 3rem;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(244, 208, 63, 0.4);
}

/* ---------- Top Section (Logo + Links) ---------- */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 0 2rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Brand column */
.footer-brand {
  flex: 1.4;
  min-width: 220px;
  max-width: 320px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  margin-left: 0;
  padding: 0;
}

.footer-logo-wrap > *:not(:last-child) {
  margin-right: 10px;
}

.footer-logo-icon:empty,
.footer-logo-icon-img:not([src]), 
.footer-logo-icon-img[src=""] {
  display: none !important;
}

.footer-logo-icon {
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
}

.footer-logo-icon-img {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background-color: transparent;
  padding: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(244, 208, 63, 0.5));
  display: block;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f4d03f;
  font-family: 'Merriweather', serif;
}

.footer-brand-name .gold {
  color: #f4d03f;
  -webkit-text-fill-color: #f4d03f;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #8899aa;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 0.65rem;
}

.footer-socials .social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(244, 208, 63, 0.3);
  background: rgba(244, 208, 63, 0.05);
  color: #f4d03f;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.footer-socials .social-btn:hover {
  background: #f4d03f;
  color: #0a1220;
  border-color: #f4d03f;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(244, 208, 63, 0.3);
}

/* Link columns */
.footer-col {
  flex: 1;
  min-width: 140px;
}

.footer-col h4 {
  color: #f4d03f !important;
  -webkit-text-fill-color: #f4d03f !important;
  background: none !important;
  animation: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0 !important;
  margin-bottom: 1.2rem;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-align: left !important;
}

.footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.footer-col ul li a {
  color: #8899aa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #f4d03f;
  padding-left: 5px;
}

/* ---------- Popular Searches (Tag Chips) ---------- */
.footer-tags-section {
  padding: 2rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-tags-section h4 {
  color: #f4d03f !important;
  -webkit-text-fill-color: #f4d03f !important;
  background: none !important;
  animation: none !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.footer-tags::-webkit-scrollbar {
  display: none;
}

.footer-tag {
  display: inline-block;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(244, 208, 63, 0.25);
  border-radius: 20px;
  background: rgba(244, 208, 63, 0.04);
  color: #7788aa;
  font-size: 0.76rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
  font-family: 'Merriweather', serif;
}

.footer-tag:hover {
  background: rgba(244, 208, 63, 0.12);
  border-color: rgba(244, 208, 63, 0.6);
  color: #f4d03f;
  transform: translateY(-2px);
}

/* ---------- Bottom Bar ---------- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  color: #445566;
  font-size: 0.8rem;
}

.footer-bottom .footer-made {
  font-style: italic;
  color: #445566;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.5rem 2rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-col ul li a:hover {
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 1.5rem;
  }

  .footer-tags {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (max-width: 480px) {
  .footer-tags-section {
    padding: 1.5rem 1rem;
  }

  .footer-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }

  .footer-top {
    padding: 2rem 1rem 1.5rem;
  }

  .footer-bottom {
    padding: 1rem 1rem;
  }
}