/**
 * Digital Crazy Hub - Global Shared Footer & Floating Sticky Elements
 * Visual specifications derived from master brand design reference:
 * - Background: #080B12 (Deep dark navy/black)
 * - Text color: #71839D (Muted blue-grey)
 * - Bottom Bar: #090E19 (Dark navy bar)
 * - Subtle Top Border: #28303D (Border separator)
 * - White rounded containers for Logo & Payment Badges
 */

/* =========================================================
   14. UNIFIED GLOBAL SITE FOOTER
   ========================================================= */
.site-footer {
  background: #080B12;
  color: #71839D;
  padding: 68px 0 0;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-main, 'Poppins', sans-serif);
  position: relative;
  z-index: 10;
  margin-top: auto;
}

.footer-main-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  padding: 0 24px 48px;
  max-width: 1120px;
  box-sizing: border-box;
}

/* SECTION 1: BRAND LOGO */
.footer-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  width: 100%;
}

.footer-logo-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.footer-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* SECTION 2: DISCLAIMER TEXT */
.footer-disclaimer-wrap {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto 32px;
}

.footer-disclaimer-text {
  color: #71839D;
  font-size: 0.81rem;
  line-height: 1.7;
  text-align: center;
  margin: 0;
  letter-spacing: 0.01em;
  font-weight: 400;
}

/* SECTION 3: PAYMENT METHODS GRAPHIC */
.footer-payment-container {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
  width: 100%;
}

.footer-payment-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.footer-payment-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* SECTION 4: CONTACT INFORMATION */
.footer-contact-nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.footer-contact-link {
  color: #71839D;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-link i {
  font-size: 1.05rem;
  color: #71839D;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #ffffff;
}

.footer-contact-link:hover i {
  color: #38bdf8;
}

/* SECTION 5: BOTTOM COPYRIGHT & LEGAL BAR */
.footer-bottom-bar {
  background: #090E19;
  border-top: 1px solid #28303D;
  padding: 20px 0;
  width: 100%;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.footer-copyright {
  font-size: 0.84rem;
  color: #71839D;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

.footer-legal-nav {
  display: flex;
  align-items: center;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: #71839D;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-bottom-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom-link.active {
  color: #ffffff;
  font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .footer-contact-row {
    gap: 12px 24px;
  }

  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 44px 0 0;
  }

  .footer-main-wrap {
    padding: 0 16px 36px;
  }

  .footer-logo-card {
    padding: 10px 24px;
    border-radius: 10px;
  }

  .footer-logo-img {
    height: 38px;
  }

  .footer-disclaimer-wrap {
    margin-bottom: 24px;
  }

  .footer-disclaimer-text {
    font-size: 0.74rem;
    line-height: 1.55;
  }

  .footer-payment-container {
    margin-bottom: 26px;
  }

  .footer-payment-card {
    padding: 12px 18px;
    border-radius: 10px;
    max-width: 320px;
  }

  .footer-contact-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .footer-bottom-bar {
    padding: 18px 0;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 0 16px;
  }

  .footer-bottom-links {
    justify-content: center;
    gap: 12px 16px;
  }

  .footer-copyright {
    text-align: center;
  }
}


/* =========================================================
   16. FLOATING ELEMENTS & MOBILE STICKY BAR
   ========================================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: var(--transition, all 0.3s ease);
}

.floating-whatsapp:hover {
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink, #0f172a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition, all 0.3s ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--blue, #2563eb);
  color: #ffffff;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: 990;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-sticky-info {
  display: flex;
  flex-direction: column;
}

.mobile-sticky-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.mobile-sticky-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

.btn-mobile-sticky {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md, 8px);
}
