
/* ══════════════════════════════════════════
   BazaarHub — NEW FOOTER CSS
   ══════════════════════════════════════════ */

/* ── Strip ── */
.bh-nf-strip {
  background: #155724;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.bh-nf-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.bh-nf-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.bh-nf-strip-item:last-child { border-right: none; }
.bh-nf-strip-item:hover { background: rgba(255,255,255,.05); }
.bh-nf-strip-item i {
  font-size: 28px;
  color: #81c784;
  flex-shrink: 0;
}
.bh-nf-strip-item b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.bh-nf-strip-item span {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  display: block;
}

/* ── Cols wrapper: transparent on desktop so children join the grid ── */
.bh-nf-cols-row {
  display: contents; /* children participate directly in .bh-nf-grid on desktop */
}

/* ── Main Footer ── */
.bh-nf-main {
  background: linear-gradient(160deg, #0f2318 0%, #1b3a22 60%, #163320 100%);
  padding: 56px 0 44px;
}
.bh-nf-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* Brand */
.bh-nf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin-bottom: 16px;
}
.bh-nf-logo i { font-size: 26px; color: #81c784; }
.bh-nf-brand p {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255,255,255,.6);
  margin: 0 0 20px;
}
.bh-nf-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bh-nf-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: transform .2s, opacity .2s;
  opacity: .85;
}
.bh-nf-social a:hover { transform: translateY(-3px); opacity: 1; }
.bh-nf-social-facebook  { background: #1877f2; }
.bh-nf-social-instagram { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }
.bh-nf-social-twitter   { background: #1da1f2; }
.bh-nf-social-youtube   { background: #ff0000; }
.bh-nf-social-whatsapp  { background: #25d366; }

/* Columns */
.bh-nf-col h5,
.bh-nf-col .widget-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin: 0 0 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  display: block !important;
  font-family: 'Poppins', sans-serif !important;
}
.bh-nf-col ul,
.bh-nf-col .widget ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.bh-nf-col ul li,
.bh-nf-col .widget ul li {
  margin-bottom: 10px !important;
}
.bh-nf-col ul li a,
.bh-nf-col .widget ul li a {
  color: rgba(255,255,255,.6) !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  transition: all .2s !important;
  font-weight: 500 !important;
}
.bh-nf-col ul li a i,
.bh-nf-col .widget ul li a i {
  font-size: 10px !important;
  color: #81c784 !important;
}
.bh-nf-col ul li a:hover,
.bh-nf-col .widget ul li a:hover {
  color: #fff !important;
  padding-left: 4px !important;
}
.bh-nf-col .widget {
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Contact */
.bh-nf-contact { display: flex; flex-direction: column; gap: 12px; }
.bh-nf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
}
.bh-nf-contact-item i {
  color: #81c784;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

/* Newsletter */
.bh-nf-newsletter p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0 0 14px;
  line-height: 1.6;
}
.bh-nf-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.bh-nf-form input {
  padding: 11px 16px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px;
  color: #fff;
  font-size: 13.5px;
  outline: none;
  transition: all .2s;
  font-family: 'Nunito', sans-serif;
  width: 100%;
  box-sizing: border-box;
}
.bh-nf-form input::placeholder { color: rgba(255,255,255,.35); }
.bh-nf-form input:focus {
  border-color: #81c784;
  background: rgba(255,255,255,.15);
}
.bh-nf-form button {
  background: #fff;
  color: #1b5e20;
  border: none;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background .2s, transform .1s;
  font-family: 'Nunito', sans-serif;
}
.bh-nf-form button:hover { background: #e8f5e9; transform: translateY(-1px); }

/* App links */
.bh-nf-app {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bh-nf-app > span {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 4px;
}
.bh-nf-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.bh-nf-app-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.bh-nf-app-btn i { font-size: 15px; }

/* ── Bottom Bar ── */
.bh-nf-bottom {
  background: #0d3b14;
  padding: 16px 0;
}
.bh-nf-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.bh-nf-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin: 0;
}
.bh-nf-pay {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 600;
  flex-wrap: wrap;
}
.bh-nf-pay__label { color: rgba(255,255,255,.5); font-size: 11px; font-weight: 600; white-space: nowrap; }
.bh-pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 3px 8px;
  min-width: 44px;
  height: 28px;
  transition: transform .15s, box-shadow .15s;
  cursor: default;
  box-shadow: 0 1px 5px rgba(0,0,0,.3);
}
.bh-pay-badge:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.bh-pay-badge svg { height: 18px; width: auto; display: block; }

/* ══════════════════════════════
   RESPONSIVE — TABLET & MOBILE
   ══════════════════════════════ */

/* ── Tablet ── */
@media(max-width:1200px) {
  .bh-nf-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .bh-nf-newsletter { grid-column: span 2; }
  .bh-nf-strip-grid { grid-template-columns: repeat(2,1fr); }
  .bh-nf-strip-item:nth-child(2) { border-right: none; }
}
@media(max-width:900px) {
  .bh-nf-main { padding: 40px 0 32px; }
  .bh-nf-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bh-nf-brand { grid-column: span 2; }
  .bh-nf-newsletter { grid-column: span 2; }
  .bh-nf-newsletter p { max-width: 480px; }
  .bh-nf-form { flex-direction: row; }
  .bh-nf-form button { flex-shrink: 0; }
  /* cols-row still display:contents so children span grid normally */
  .bh-nf-contact-col { grid-column: span 2; }
}

/* ── Mobile ── */
@media(max-width:600px) {
  /* ── Background tweak for small screens ── */
  .bh-nf-main {
    background: linear-gradient(180deg, #0d1f12 0%, #162b1a 100%);
    padding: 0 0 28px;
  }

  /* ── Brand block: centered, card-style ── */
  .bh-nf-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .bh-nf-brand {
    grid-column: 1;
    text-align: center;
    padding: 28px 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
  }
  .bh-nf-logo {
    font-size: 20px;
    justify-content: center;
    margin-bottom: 12px;
  }
  .bh-nf-brand p {
    font-size: 13px;
    max-width: 320px;
    margin: 0 auto 16px;
    color: rgba(255,255,255,.55);
  }
  .bh-nf-social {
    justify-content: center;
    gap: 8px;
  }
  .bh-nf-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  /* ── Link columns: 2-col grid on mobile (override display:contents) ── */
  .bh-nf-cols-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255,255,255,.06);
    width: 100%;
  }

  /* ── Each column: accordion style ── */
  .bh-nf-col {
    padding: 0;
    border-right: 1px solid rgba(255,255,255,.06);
  }
  .bh-nf-col:last-child { border-right: none; }
  .bh-nf-col:nth-child(2n) { border-right: none; }

  .bh-nf-col h5,
  .bh-nf-col .widget-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    padding: 14px 16px !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    border-bottom: none !important;
    user-select: none;
  }
  .bh-nf-col h5::after,
  .bh-nf-col .widget-title::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: rgba(255,255,255,.4);
    transition: transform .25s;
    flex-shrink: 0;
  }
  .bh-nf-col.bh-col-open h5::after,
  .bh-nf-col.bh-col-open .widget-title::after {
    transform: rotate(180deg);
  }

  .bh-nf-col ul,
  .bh-nf-col .widget ul {
    display: none !important;
    padding: 0 16px 14px !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255,255,255,.05) !important;
  }
  .bh-nf-col.bh-col-open ul,
  .bh-nf-col.bh-col-open .widget ul {
    display: block !important;
  }
  .bh-nf-col ul li { margin-bottom: 8px !important; }
  .bh-nf-col ul li a { font-size: 12.5px !important; }

  /* ── Contact & Newsletter: full width blocks ── */
  .bh-nf-contact-col,
  .bh-nf-newsletter {
    width: 100%;
    padding: 20px 20px;
    border-top: 1px solid rgba(255,255,255,.07);
  }

  /* Contact col: no accordion (has items not ul) */
  .bh-nf-contact-col h5::after { display: none !important; }
  .bh-nf-contact-col h5 {
    cursor: default !important;
    margin-bottom: 14px !important;
    padding: 18px 16px 0 !important;
  }

  /* ── Newsletter form ── */
  .bh-nf-newsletter {
    background: rgba(255,255,255,.02);
  }
  .bh-nf-newsletter h5 {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    cursor: default !important;
  }
  .bh-nf-newsletter h5::after { display: none !important; }
  .bh-nf-newsletter p {
    font-size: 12.5px;
    margin-bottom: 12px;
  }
  .bh-nf-form { flex-direction: column; gap: 8px; }
  .bh-nf-form input { font-size: 13px; padding: 10px 14px; }
  .bh-nf-form button { font-size: 13px; padding: 10px 14px; }

  /* ── App links ── */
  .bh-nf-app {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
  }
  .bh-nf-app > span { font-size: 11px; }
  .bh-nf-app-btn { font-size: 11.5px; padding: 6px 12px; }

  /* ── Bottom bar ── */
  .bh-nf-bottom { padding: 14px 0; }
  .bh-nf-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .bh-nf-bottom p { font-size: 11.5px; }
  .bh-nf-pay { justify-content: center; flex-wrap: wrap; gap: 6px; }
  .bh-nf-pay__label { display: block; width: 100%; text-align: center; margin-bottom: 4px; }

  /* ── Features bar mobile ── */
  .bh-new-footer .bh-features__grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .bh-new-footer .bh-feature-item {
    padding: 14px 12px !important;
    border-right: 1px solid rgba(255,255,255,.1) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
  }
  .bh-new-footer .bh-feature-item:nth-child(2n) { border-right: none !important; }
  .bh-new-footer .bh-feature-item:nth-child(3),
  .bh-new-footer .bh-feature-item:nth-child(4) { border-bottom: none !important; }
  .bh-new-footer .bh-feature-item i { font-size: 22px !important; }
  .bh-new-footer .bh-feature-item strong { font-size: 12px !important; }
  .bh-new-footer .bh-feature-item span { font-size: 11px !important; }
}

/* ── Very small screens ── */
@media(max-width:400px) {
  .bh-nf-strip-grid { grid-template-columns: 1fr; }
  .bh-nf-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .bh-pay-badge { height: 22px; padding: 2px 5px; }
  .bh-pay-badge svg { height: 13px; }
  .bh-nf-social a { width: 34px; height: 34px; }
}

/* ── Features bar in footer context ── */
.bh-new-footer .bh-features {
  background: #155724 !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bh-new-footer .bh-features__grid {
  gap: 0 !important;
  border: none !important;
}
.bh-new-footer .bh-feature-item {
  border: none !important;
  border-right: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 0 !important;
  padding: 22px 28px !important;
  background: transparent !important;
  transition: background .2s !important;
}
.bh-new-footer .bh-feature-item:last-child {
  border-right: none !important;
}
.bh-new-footer .bh-feature-item:hover {
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.1) !important;
}
.bh-new-footer .bh-feature-item i {
  font-size: 28px !important;
  color: #81c784 !important;
}
.bh-new-footer .bh-feature-item strong {
  color: #fff !important;
  font-size: 13.5px !important;
}
.bh-new-footer .bh-feature-item span {
  color: rgba(255,255,255,.55) !important;
  font-size: 12px !important;
}
/* Remove old strip since we use features-bar now */
.bh-nf-strip { display: none !important; }

.home .bh-features { display: none; }
.bh-new-footer .bh-features { background: #155724; border: none; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; padding: 0; margin: 0; box-shadow: none; }
.bh-new-footer .bh-features__grid { gap: 0; border: none; display: grid; grid-template-columns: repeat(4,1fr); }
.bh-new-footer .bh-feature-item { border: none; border-right: 1px solid rgba(255,255,255,.1); border-radius: 0; padding: 22px 28px; background: transparent; transition: background .2s; }
.bh-new-footer .bh-feature-item:last-child { border-right: none; }
.bh-new-footer .bh-feature-item:hover { background: rgba(255,255,255,.05); }
.bh-new-footer .bh-feature-item i { font-size: 28px; color: #81c784; }
.bh-new-footer .bh-feature-item strong { color: #fff; font-size: 13.5px; }
.bh-new-footer .bh-feature-item span { color: rgba(255,255,255,.55); font-size: 12px; }
