/* =============================================================
   JB Toolkit — Footer Module
   ============================================================= */

/* --- Outer wrapper: full-width background fill --- */
.jb-footer-wrap {
  background: linear-gradient(180deg, #4C1DA1 0%, #000000 100%) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* --- SECTION 0: Main Footer --- */
.jb-footer {
  width: 95% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* --- ROW 0: Social + Review Widgets --- */
.jb-footer-row0 {
  display: flex !important;
  align-items: center !important;
  padding: 25px 0 !important;
  gap: 0 !important;
}

/* Widgets group — responsive gap between widgets */
.jb-footer-widgets-group {
  display: flex !important;
  align-items: center !important;
  margin-left: auto !important;
  gap: clamp(0px, calc((100vw - 980px) * 0.12), 80px) !important;
}

/* Social column — icons + handle in one row */
.jb-footer-social {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 50px !important;
  flex-shrink: 0 !important;
  margin-right: 50px !important;
}
.jb-footer-social-icons {
  display: flex !important;
  gap: 12px !important;
}
.jb-footer-social-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  text-decoration: none !important;
  transition: opacity 0.2s !important;
  opacity: 0.8 !important;
}
.jb-footer-social-icon:hover {
  opacity: 1 !important;
}
.jb-footer-social-icon svg {
  width: 24px !important;
  height: 24px !important;
  position: relative !important;
  top: -2px !important;
}
.jb-footer-handle {
  font-family: 'Bayon', sans-serif !important;
  font-size: 36px !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

/* --- Widget (Amazon / eBay) --- */
.jb-footer-widget {
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 20px !important;
  flex-shrink: 0 !important;
  padding: 10px 0 !important;
}

/* Background logo — shadow layer (black, blurred) */
.jb-footer-widget-bg-shadow {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  height: 76px !important;
  width: auto !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  user-select: none !important;
  filter: invert(1) blur(8px) !important;
}
/* Background logo — top layer (white, sharp) */
.jb-footer-widget-bg {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  height: 76px !important;
  width: auto !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
  z-index: 0 !important;
  user-select: none !important;
}

/* --- Gauge — semi-circular arc --- */
.jb-gauge {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  z-index: 1 !important;
}
.jb-gauge-arc {
  position: relative !important;
  top: -20px !important;
  width: 102px !important;
  height: 58px !important;
  margin-bottom: -32px !important;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.7)) drop-shadow(0 2px 6px rgba(0,0,0,0.5)) !important;
}
.jb-gauge-arc svg {
  width: 102px !important;
  height: 58px !important;
}
.jb-gauge-track {
  fill: none !important;
  stroke: #4C1DA1 !important;
  stroke-width: 8 !important;
  stroke-linecap: round !important;
}
.jb-gauge-fill {
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 8 !important;
  stroke-linecap: round !important;
}
.jb-gauge-value {
  font-family: 'Bayon', sans-serif !important;
  font-size: 20px !important;
  color: #fff !important;
  white-space: nowrap !important;
  text-align: center !important;
  position: relative !important;
  top: -10px !important;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.85)) drop-shadow(0 2px 8px rgba(0,0,0,0.65)) !important;
}
.jb-gauge-label {
  font-family: 'Bayon', sans-serif !important;
  font-size: 15px !important;
  color: rgba(255,255,255,0.6) !important;
  white-space: nowrap !important;
}

/* Info column (number + label) */
.jb-widget-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  z-index: 1 !important;
}
.jb-widget-number {
  font-family: 'Bayon', sans-serif !important;
  font-size: 40px !important;
  color: #000 !important;
  line-height: 1 !important;
}
.jb-widget-label {
  font-family: 'Bayon', sans-serif !important;
  font-size: 15px !important;
  color: rgba(0,0,0,0.5) !important;
}

/* --- ROW 1: Link Columns --- */
.jb-footer-row1 {
  display: flex !important;
  gap: 150px;
  padding: 25px 0 40px !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
/* Right group — all menus except SHOP */
.jb-footer-menus-right {
  display: flex !important;
  justify-content: space-between !important;
  flex: 1 !important;
  min-width: 0 !important;
}
.jb-footer-menus-right .jb-footer-col {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
.jb-footer-col-spacer {
  display: none !important;
}
.jb-footer-col h5 {
  font-family: 'Bayon', sans-serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #fff !important;
  margin-bottom: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.jb-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.jb-footer-col ul li {
  margin-bottom: 6px !important;
  padding: 0 !important;
}
.jb-footer-col ul li a {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.75 !important;
  transition: opacity 0.2s !important;
}
.jb-footer-col ul li a:hover {
  opacity: 1 !important;
}

/* SHOP column */
.jb-footer-col-shop {
  flex-shrink: 0 !important;
}
.jb-footer-col-shop ul {
  columns: 2 !important;
  column-gap: 20px !important;
}
.jb-footer-col-shop ul li {
  break-inside: avoid !important;
}

/* --- Copyright wrapper: full-width background --- */
.jb-footer-copyright-wrap {
  background: #130727 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.jb-footer-copyright {
  width: 95% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 16px 0 !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.3) !important;
  line-height: 23.8px !important;
}
.jb-footer-copyright a {
  color: rgba(255,255,255,0.3) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: opacity 0.2s !important;
}
.jb-footer-copyright a:hover {
  opacity: 0.5 !important;
}
.jb-footer-copyright strong {
  color: rgba(255,255,255,0.3) !important;
  font-weight: 700 !important;
}

/* =============================================================
   RESPONSIVE — <=980px: stacked layout
   ============================================================= */
@media (max-width: 980px) {
  /* ROW 0: stack social (row1) and widgets (row2) — all left */
  .jb-footer-row0 {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }
  .jb-footer-social {
    margin-right: 0 !important;
  }
  .jb-footer-widgets-group {
    margin-left: 0 !important;
    gap: 40px !important;
  }

  /* ROW 1: stack shop (row3) and menus-right (row4) — all left */
  .jb-footer-row1 {
    flex-direction: column !important;
    gap: 30px !important;
  }
  /* Shop col: 3-col grid matching menus-right below */
  .jb-footer-col-shop {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
  }
  .jb-footer-col-shop h5 {
    grid-column: 1 / -1 !important;
  }
  .jb-footer-col-shop ul {
    grid-column: 1 / 3 !important;
    columns: 2 !important;
    column-gap: 0 !important;
  }
  /* Separator between shop and menus-right */
  .jb-footer-menus-right::before {
    content: '' !important;
    display: block !important;
    grid-column: 1 / -1 !important;
    height: 1px !important;
    background: rgba(255,255,255,0.06) !important;
    margin-bottom: 5px !important;
  }
  /* Menus-right: 3-col grid, equal thirds */
  .jb-footer-menus-right {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px 0 !important;
  }
  .jb-footer-col-spacer {
    display: block !important;
  }
}
