/**
 * Lula Unified Footer
 * Single warm boutique footer for all pages
 * Brand left, useful links right, compact
 */

/* ============================================
   BASE - Desktop & shared
   ============================================ */

footer,
.lula-footer {
  background: #FBF4EB !important;
  color: #3A3632 !important;
  border-top: 1px solid #F0E6DA !important;
  padding: 24px 0 0 0 !important;
  margin-top: 20px !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
}

.lula-footer .container {
  max-width: 1280px;
}

.lula-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 28px;
}

/* ============================================
   BRAND BLOCK
   ============================================ */

.lula-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}

.lula-footer-brand-name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #2D2A27;
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: -0.2px;
}

.lula-footer-brand-name:hover {
  color: #4C6358;
  text-decoration: none;
}

.lula-footer-brand-text {
  font-size: 14px;
  color: #6B6661;
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   LINKS - right side
   ============================================ */

.lula-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  justify-content: end;
  align-content: start;
  max-width: 460px;
  margin-left: auto;
}

.lula-footer-link {
  color: #6B6661;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.lula-footer-link:hover {
  color: #4C6358;
  text-decoration: none;
}

.lula-footer-link-static {
  cursor: default;
  pointer-events: none;
  color: #8A8580;
}

/* ============================================
   BOTTOM COPYRIGHT
   ============================================ */

.lula-footer-bottom {
  border-top: 1px solid #F0E6DA !important;
  padding: 16px 0 20px 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
}

.lula-footer-bottom-content {
  display: block !important;
  text-align: center !important;
}

.lula-footer-copyright {
  color: #8A8580 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Hide legacy elements if rendered by old footer markup */
.lula-footer-powered,
.lula-footer-content,
.lula-footer-column {
  display: none !important;
}

/* ============================================
   TABLET (768 - 991)
   ============================================ */

@media (max-width: 991px) {
  .lula-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 20px;
  }

  .lula-footer-nav {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 0;
    max-width: none;
    justify-content: start;
  }
}

/* ============================================
   MOBILE (≤ 767)
   ============================================ */

@media (max-width: 767px) {
  footer,
  .lula-footer {
    padding: 24px 0 0 0 !important;
    margin-top: 20px !important;
  }

  .lula-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding-bottom: 16px !important;
  }

  .lula-footer-brand {
    gap: 4px;
  }

  .lula-footer-brand-name {
    font-size: 20px;
  }

  .lula-footer-brand-text {
    font-size: 13px;
  }

  .lula-footer-nav {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 4px 16px !important;
    max-width: none !important;
    margin-left: 0 !important;
  }

  .lula-footer-link {
    font-size: 13px !important;
    padding: 3px 0 !important;
  }

  .lula-footer-bottom {
    padding: 12px 0 16px 0 !important;
  }

  .lula-footer-copyright {
    font-size: 12px !important;
  }
}

@media (max-width: 360px) {
  .lula-footer-nav {
    grid-template-columns: 1fr !important;
  }
}
