/* ── Footer ── */
.site-footer {
  background-color: #fdf5ee;
  color: var(--color-brand-footer);
  padding-top: var(--space-10);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("../assets/images/bg/top-right.png"),
    url("../assets/images/bg/bottum-left.png");
  background-position: right top, left bottom;
  background-repeat: no-repeat;
  background-size: 280px auto, 280px auto;
  opacity: 0.55;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

/* Popular Searches */
.footer-popular-searches {
  border-bottom: 1px solid #e8d8c8;
  padding-bottom: var(--space-6);
  margin-bottom: var(--space-8);
}

.footer-popular-searches h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-brand-footer);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popular-tags { line-height: 2; }
.popular-tags a {
  font-size: var(--fs-sm);
  color: var(--color-brand-footer);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}
.popular-tags a:hover { opacity: 1; text-decoration: underline; }
.popular-tags a::after { content: ' | '; opacity: 0.4; }
.popular-tags a:last-child::after { content: ''; }

.popular-tags.collapsed { max-height: 50px; overflow: hidden; position: relative; }
.popular-tags.collapsed::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  background: linear-gradient(transparent, #fdf5ee);
}

.popular-read-more {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
  background: none;
  border: none;
}
.popular-read-more:hover { text-decoration: underline; }

/* Main footer columns */
.footer-main { padding-bottom: var(--space-8); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-brand-footer);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: var(--fs-sm);
  color: var(--color-brand-footer);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
  line-height: 1.4;
}
.footer-col ul li a:hover { opacity: 1; text-decoration: underline; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-brand-footer);
  opacity: 0.85;
  margin-bottom: 10px;
}
.footer-contact-item:hover { opacity: 1; }

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #e8d8c8;
  padding: var(--space-5) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Social icons */
.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(64,32,32,0.08);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.social-link:hover { background: rgba(64,32,32,0.18); transform: scale(1.1); }
.social-link img { width: 18px; height: 18px; object-fit: contain; }

/* Payment icons */
.payment-icons {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.payment-icons img {
  height: 24px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
}

.footer-copyright {
  font-size: var(--fs-xs);
  color: var(--color-brand-footer);
  opacity: 0.6;
  text-align: center;
  padding-bottom: var(--space-4);
}
