/* =================================================================
   GOLDENWOOD AGRO — Footer
   ================================================================= */

/* ── Footer Main ───────────────────────────────────────────────── */
#colophon,
.site-footer,
.ast-footer-overlay {
  background-color: var(--gw-bg-dark) !important;
  color: rgba(255,255,255,0.85) !important;
}

/* ── Footer Widgets Area ───────────────────────────────────────── */
.footer-widgets-area,
.ast-site-footer-wrap .footer-widget-area {
  padding: var(--gw-space-16) 0 var(--gw-space-12) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Footer grid layout — 4 columns on desktop */
.ast-footer-widget-area,
.footer-widgets {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
  gap: var(--gw-space-10) !important;
}

@media (max-width: 992px) {
  .ast-footer-widget-area,
  .footer-widgets {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--gw-space-8) !important;
  }
}

@media (max-width: 576px) {
  .ast-footer-widget-area,
  .footer-widgets {
    grid-template-columns: 1fr !important;
    gap: var(--gw-space-6) !important;
  }
}

/* ── Footer Widget ─────────────────────────────────────────────── */
.footer-widget,
.widget {
  color: rgba(255,255,255,0.75);
}

/* Footer Logo (widget column 1) */
.gw-footer-brand .footer-logo {
  max-height: 48px;
  width: auto;
  margin-bottom: var(--gw-space-4);
  filter: brightness(0) invert(1);
}

.gw-footer-brand p {
  font-size: var(--gw-text-sm);
  line-height: var(--gw-lh-relaxed);
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

/* ── Footer Widget Titles ──────────────────────────────────────── */
.widget-title,
.footer-widget .widgettitle,
.footer-widget h3,
.footer-widget h4 {
  font-family: var(--gw-font-heading) !important;
  font-size: var(--gw-text-sm) !important;
  font-weight: var(--gw-fw-semibold) !important;
  letter-spacing: var(--gw-ls-wider) !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin-bottom: var(--gw-space-5) !important;
  padding-bottom: var(--gw-space-3) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

/* ── Footer Nav Links ──────────────────────────────────────────── */
.footer-widget ul,
.footer-nav-widget ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-widget ul li,
.footer-nav-widget ul li {
  margin-bottom: var(--gw-space-2) !important;
}

.footer-widget ul li a,
.footer-nav-widget ul li a {
  color: rgba(255,255,255,0.65) !important;
  font-size: var(--gw-text-sm) !important;
  display: flex;
  align-items: center;
  gap: var(--gw-space-2);
  transition: color var(--gw-transition-fast), padding-left var(--gw-transition-fast) !important;
}

.footer-widget ul li a::before {
  content: '→';
  font-size: 10px;
  opacity: 0.5;
  transition: opacity var(--gw-transition-fast);
}

.footer-widget ul li a:hover {
  color: var(--gw-gold-300) !important;
  padding-left: var(--gw-space-1) !important;
}

.footer-widget ul li a:hover::before {
  opacity: 1;
}

/* ── Footer Contact Block ──────────────────────────────────────── */
.gw-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--gw-space-3);
}

.gw-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--gw-space-3);
  font-size: var(--gw-text-sm);
  color: rgba(255,255,255,0.65);
}

.gw-footer-contact-item__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gw-gold-400);
  margin-top: 2px;
}

.gw-footer-contact-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--gw-transition-fast);
}

.gw-footer-contact-item a:hover {
  color: var(--gw-gold-300);
}

/* Working hours */
.gw-footer-hours {
  font-size: var(--gw-text-xs);
  color: rgba(255,255,255,0.4);
  margin-top: var(--gw-space-1);
}

/* ── Social Links ──────────────────────────────────────────────── */
.gw-social-links {
  display: flex;
  align-items: center;
  gap: var(--gw-space-2);
  flex-wrap: wrap;
}

.gw-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--gw-radius-full);
  color: rgba(255,255,255,0.7);
  transition: background-color var(--gw-transition-fast), color var(--gw-transition-fast), transform var(--gw-transition-fast);
}

.gw-social-link:hover {
  background: var(--gw-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.gw-social-link svg {
  width: 18px;
  height: 18px;
}

/* ── Footer Bottom Bar ─────────────────────────────────────────── */
.footer-small-section,
.ast-footer-copyright,
#colophon .ast-site-info {
  background-color: var(--gw-bg-dark-alt) !important;
  padding: var(--gw-space-5) 0 !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.footer-bottom-bar,
.gw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--gw-space-3);
}

.gw-footer-copyright {
  font-size: var(--gw-text-xs);
  color: rgba(255,255,255,0.35);
}

.gw-footer-copyright a {
  color: rgba(255,255,255,0.45);
}

.gw-footer-copyright a:hover {
  color: var(--gw-gold-400);
}

/* Footer bottom links */
.gw-footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--gw-space-4);
  list-style: none;
  padding: 0;
  margin: 0;
}

.gw-footer-legal-links a {
  font-size: var(--gw-text-xs);
  color: rgba(255,255,255,0.4);
  transition: color var(--gw-transition-fast);
}

.gw-footer-legal-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* Shop Express credit removal */
.shop-express-credits {
  display: none !important;
}

@media (max-width: 576px) {
  .gw-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .gw-social-links {
    justify-content: center;
  }
}
