/* stmartbd-style footer — loaded AFTER style.css so global
   `li{display:inline-block}` / `a{color:#000}` cannot break it. */

.footer_area {
  background-color: var(--theme-footer-top-bg, #020617) !important;
  padding-top: 60px;
  margin-top: 40px;
  color: var(--theme-footer-text, #cbd5e1);
}

.footer_area .container {
  max-width: var(--theme-container-width, 1520px);
  width: 100%;
}

.footer_logo a {
  display: inline-block;
}

.footer_logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer_logo_text {
  font-size: 22px;
  font-weight: 700;
  color: var(--theme-footer-heading, #fff) !important;
}

.footer_description {
  margin-top: 15px;
}

.footer_description p {
  color: var(--theme-footer-text, #cbd5e1) !important;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  max-width: 380px;
}

.footer_title {
  margin-bottom: 15px;
}

.footer_title h4 {
  color: var(--theme-footer-heading, #fff) !important;
  font-size: 20px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.footer_title h4::after {
  content: "";
  width: 60%;
  background: var(--theme-footer-heading, #fff);
  height: 2px;
  display: block;
  margin-top: 1px;
}

/* Vertical stacks — defeat global li { display: inline-block } */
.footer_list ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: block !important;
}

.footer_list ul li {
  display: block !important;
  float: none !important;
  width: 100% !important;
  list-style: none !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
}

.footer_list ul li:last-child {
  margin-bottom: 0 !important;
}

.footer_list ul li .footer_list_link,
.footer_list ul li a.footer_list_link,
.footer_list ul li .footer_list_link:hover,
.footer_list ul li .footer_list_link:focus,
.footer_list ul li a.footer_list_link:hover,
.footer_list ul li a.footer_list_link:focus {
  display: inline-block !important;
  color: var(--theme-footer-link, #f8fafc) !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.footer_list ul li .footer_list_link:hover,
.footer_list ul li .footer_list_link:focus,
.footer_list ul li a.footer_list_link:hover,
.footer_list ul li a.footer_list_link:focus {
  color: var(--theme-footer-link-hover, #f59e0b) !important;
}

.footer_middle {
  margin-top: 24px;
  margin-bottom: 10px;
  padding: 0 0 10px;
}

.footer_payment_method {
  text-align: center;
}

.footer_payment_method img {
  width: auto !important;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  display: inline-block;
  object-fit: contain;
}

.footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 0;
  background: var(--theme-footer-bottom-bg, #000);
  overflow: hidden;
}

.footer_copyright p {
  color: var(--theme-footer-bottom-text, #e2e8f0) !important;
  margin: 0 !important;
  font-size: 14px;
}

.footer_develop_by {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  float: none !important;
}

.footer_develop_by p {
  color: var(--theme-footer-bottom-text, #e2e8f0) !important;
  margin: 0 !important;
  font-size: 14px;
}

.footer_develop_by_link,
.footer_develop_by a.footer_develop_by_link,
.footer_develop_by_link:hover,
.footer_develop_by_link:focus,
.footer_develop_by a.footer_develop_by_link:hover,
.footer_develop_by a.footer_develop_by_link:focus {
  color: var(--theme-footer-accent, #f59e0b) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.footer_develop_by_link:hover,
.footer_develop_by_link:focus {
  color: #fff !important;
}

.footer_social {
  margin-bottom: 20px;
  margin-top: 10px;
}

.footer_social ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
}

.footer_social ul li {
  list-style: none !important;
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer_social ul li .footer_social_link,
.footer_social ul li a.footer_social_link,
.footer_social ul li .footer_social_link:hover,
.footer_social ul li .footer_social_link:focus,
.footer_social ul li a.footer_social_link:hover,
.footer_social ul li a.footer_social_link:focus {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: var(--theme-footer-link, #f8fafc) !important;
  width: 40px;
  height: 40px;
  font-size: 18px;
  border-radius: 3px;
  text-decoration: none !important;
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.footer_social ul li .footer_social_link:hover,
.footer_social ul li .footer_social_link:focus,
.footer_social ul li a.footer_social_link:hover,
.footer_social ul li a.footer_social_link:focus {
  border-color: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
}

@media (max-width: 767.98px) {
  .footer_middle {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .footer_copyright {
    text-align: center;
    margin-bottom: 8px;
  }

  .footer_develop_by {
    justify-content: center;
  }

  .footer_area {
    padding-bottom: 50px;
    margin-bottom: 56px;
  }
}

@media (max-width: 575.98px) {
  .footer_logo {
    text-align: center;
  }

  .footer_description p {
    max-width: none;
    text-align: center;
  }

  .footer_area {
    padding-top: 30px;
  }

  .footer_title {
    text-align: left;
  }

  .footer_social ul li .footer_social_link {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}
