/**
 * Goku Music Site Footer Styles (Multi-Tier Architecture - 100% Real Data)
 * Design Reference: design/footer.html
 * Fully responsive, high-contrast, accessibility-ready
 */

/* Prevent horizontal scroll while enabling full-viewport breakout without breaking position:sticky */
html, body {
  overflow-x: clip !important;
}

/* Parent Theme Container Reset for Footer */
.footer {
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

.footer .container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Master Footer Container */
.goku-site-footer {
  width: 100% !important;
  background: #ffffff !important;
  color: #475569 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  border-top: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
  display: block !important;
  clear: both !important;
}

.goku-site-footer *,
.goku-site-footer *::before,
.goku-site-footer *::after {
  box-sizing: border-box !important;
}

.goku-site-footer .container {
  width: 100% !important;
  max-width: 1425px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* --------------------------------------------------------------------------
   TIER 1: ZALO COMMUNITY & INSTANT SUPPORT CONNECT (FULL-BLEED BRAND GREEN)
   -------------------------------------------------------------------------- */
.goku-footer-community-tier,
.goku-footer-newsletter {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%) !important;
  color: #ffffff !important;
  padding: 18px 0 !important;
  width: 100% !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.goku-comm-flex,
.goku-news-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

.goku-comm-brand,
.goku-news-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex: 1 1 500px !important;
}

.goku-comm-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.goku-comm-text h3,
.goku-news-text h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  letter-spacing: 0.2px !important;
}

.goku-comm-text p,
.goku-news-text p {
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 3px 0 0 0 !important;
  line-height: 1.4 !important;
}

.goku-comm-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.goku-btn-zalo-primary {
  background: #ffffff !important;
  color: #0068ff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
}

.goku-btn-zalo-primary:hover {
  background: #f8fafc !important;
  color: #0052cc !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22) !important;
}

.goku-zalo-btn-icon {
  flex-shrink: 0 !important;
}

.goku-btn-badge {
  background: #e0f2fe !important;
  color: #0284c7 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 999px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  margin-left: 2px !important;
}

.goku-btn-zalo-chat {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
}

.goku-btn-zalo-chat:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.goku-btn-zalo-chat strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   TIER 2: THE 4 BALANCED COLUMNS
   -------------------------------------------------------------------------- */
.goku-footer-columns-tier {
  padding: 44px 0 32px 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
}

.goku-cols-4-grid {
  display: grid !important;
  grid-template-columns: 28% 23% 23% 26% !important;
  gap: 30px !important;
  align-items: start !important;
}

.goku-col-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #0f172a !important;
  margin: 0 0 16px 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  position: relative !important;
}

.goku-col-title::after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 0 !important;
  width: 32px !important;
  height: 2px !important;
  background: #2e7d32 !important;
}

/* Col 1 Brand Card */
.goku-col-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.goku-brand-logo-link {
  display: inline-block !important;
}

.goku-brand-logo-img {
  max-width: 165px !important;
  height: auto !important;
  display: block !important;
}

.goku-brand-slogan {
  font-size: 13.5px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

.goku-contact-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  font-size: 13px !important;
}

.goku-contact-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.goku-contact-row svg {
  width: 15px !important;
  height: 15px !important;
  color: #2e7d32 !important;
  flex-shrink: 0 !important;
}

.goku-contact-row a {
  color: #475569 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.goku-contact-row a:hover {
  color: #2e7d32 !important;
}

.goku-hotlines-box {
  background: #e8f5e9 !important;
  border: 1px solid rgba(46, 125, 50, 0.2) !important;
  border-radius: 6px !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  font-size: 12.5px !important;
}

.goku-hl-line {
  display: flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  flex-wrap: wrap !important;
}

.goku-hl-tag {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.goku-hl-num {
  color: #d32f2f !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
}

.goku-hl-num:hover {
  text-decoration: underline !important;
}

.goku-hl-time {
  color: #64748b !important;
  font-size: 11.5px !important;
}

.goku-social-strip {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 4px !important;
}

.goku-social-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.goku-social-btn:hover {
  background: #2e7d32 !important;
  border-color: #2e7d32 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.goku-social-btn svg {
  width: 17px !important;
  height: 17px !important;
  fill: currentColor !important;
}

/* Navigation Lists (Cols 2, 3, 4) */
.goku-nav-list {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.goku-nav-list a {
  color: #475569 !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
}

.goku-nav-list a::before {
  content: "" !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #e2e8f0 !important;
  transition: background 0.15s ease !important;
  flex-shrink: 0 !important;
}

.goku-nav-list a:hover {
  color: #2e7d32 !important;
  transform: translateX(3px) !important;
}

.goku-nav-list a:hover::before {
  background: #2e7d32 !important;
}

/* Security & Payment block */
.goku-sec-pay-block {
  margin-top: 18px !important;
  padding-top: 14px !important;
  border-top: 1px dashed #e2e8f0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.goku-sp-item h5 {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: 0.5px !important;
}

.goku-badge-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
  display: inline-block !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.goku-badge-card img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* --------------------------------------------------------------------------
   TIER 3: DEDICATED SHOWROOM & STORE LOCATIONS (FULL WIDTH)
   -------------------------------------------------------------------------- */
.goku-footer-showrooms-tier {
  padding: 34px 0 36px 0 !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.goku-showroom-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
}

.goku-sh-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.goku-sh-title svg {
  width: 22px !important;
  height: 22px !important;
  color: #2e7d32 !important;
}

.goku-sh-title h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
}

.goku-sh-tagline {
  font-size: 13px !important;
  color: #64748b !important;
}

.goku-showroom-cards {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr !important;
  gap: 18px !important;
}

.goku-city-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 16px 18px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.goku-city-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.goku-city-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.goku-city-name svg {
  width: 15px !important;
  height: 15px !important;
  color: #2e7d32 !important;
}

.goku-city-badge {
  background: #e8f5e9 !important;
  color: #2e7d32 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
}

.goku-hn-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px 14px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.goku-store-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
  color: #475569 !important;
}

.goku-dot {
  color: #2e7d32 !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
}

.goku-single-store {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #475569 !important;
}

/* --------------------------------------------------------------------------
   TIER 4: COPYRIGHT STRIP
   -------------------------------------------------------------------------- */
.goku-footer-copyright-tier {
  background: #0f172a !important;
  color: #94a3b8 !important;
  padding: 18px 0 !important;
  font-size: 13px !important;
  text-align: center !important;
}

.goku-copyright-text {
  margin: 0 !important;
  font-weight: 500 !important;
  letter-spacing: 0.2px !important;
  color: #94a3b8 !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .goku-cols-4-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }

  .goku-showroom-cards {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

@media (max-width: 768px) {
  .goku-comm-flex,
  .goku-news-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .goku-comm-brand,
  .goku-news-brand {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .goku-comm-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .goku-btn-zalo-primary,
  .goku-btn-zalo-chat {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
  }

  .goku-news-form-wrap {
    max-width: 100% !important;
  }

  .goku-news-form-wrap .mc4wp-form-fields,
  .goku-news-form-wrap .et-mailchimp p {
    flex-direction: column !important;
  }

  .goku-news-form-wrap button[type="submit"],
  .goku-news-form-wrap input[type="submit"] {
    width: 100% !important;
    height: 44px !important;
  }

  .goku-cols-4-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .goku-hn-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .goku-showroom-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}
