/* Footer simplified styles */
.site_footer {
  background: var(--ThemesFooterBgColor, #000);
  color: var(--ThemesFooterTextColor, #666);
  font-size: 14px;
}
.site_footer a {
  color: var(--ThemesFooterTextColor, #666);
  text-decoration: none;
}
.site_footer a:hover {
  color: var(--ThemesFooterTextHoverColor, #499a4a);
  text-decoration: none;
}

.site_footer .footer-inner {
  width: 1200px;
  margin: 0 auto;
  padding: 40px 0 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-col .footer-title {
  margin: 0 0 19px;
  font-size: 16px;
  color: var(--ThemesFooterTitleColor, #fff);
  font-family: var(--ThemesFooterNavFont, inherit);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin: 6px 0;
}

/* Newsletter */
.footer-newsletter-form {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px 12px;
  margin-top: 15px;
}
.footer-newsletter-form .text {
  height: 50px;
  line-height: 50px;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 0 20px;
  font-size: 12px;
  flex-grow: 1;
  max-width: 300px;
  border: 1px solid #393939;
  background-color: #393939;
  color: #fff;
}
.footer-newsletter-form .subscribe {
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  cursor: pointer;
  border: 1px solid #3b3b3b;
  color: #d0d0d0;
  background: transparent;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--ThemesFooterLineColor, #2b2b2b);
  margin-top: 28px;
  padding-top: 18px;
}

/* Payment icons 保持与原主题一致的布局与尺寸 */
.global_payment_icon_html {
  text-align: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.global_payment_icon_html li {
  display: inline-block;
  width: 38px;
  height: 24px;
  margin: 4px;
  font-size: 0;
}
.global_payment_icon_html .pic_box {
  display: inline-block;
}
.global_payment_icon_html img {
  display: inline-block;
  height: 24px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

@media (max-width: 960px) {
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer plugin container (ly_footer_47) */
.ly_footer_47 {
  background: #000;
  color: #666;
  font-size: 14px;
}
.ly_footer_47 a {
  color: #999;
  text-decoration: none;
}
.ly_footer_47 a:hover {
  color: #499a4a;
}

/* Wrapper */
.ly_footer_47 .footer_wrapper {
  width: 1200px;
  margin: 0 auto;
  padding: 50px 0 20px;
}

/* Grid and columns */
#new_footer .new_menu_box {
  margin: 0 0 20px;
}
.ly_footer_47 .default_foot_menu_style {
  /* 已在文件底部定义了 display:flex 与换行，这里补充间距与对齐 */
  gap: 24px;
}
.ly_footer_47 .default_foot_menu_style .menu_list {
  box-sizing: border-box;
  min-width: 220px;
  padding: 0 12px;
  flex: 1;
}
.ly_footer_47 .default_foot_menu_style .menu_list_menu img {
  width: 200px;
  padding: 6px 10px;
  height: auto;
  border-radius: 4px;
  background-color: #fff;
}

/* Titles */
.ly_footer_47 .default_foot_menu_style .menu_list dl {
  margin: 0;
}
.ly_footer_47 .default_foot_menu_style .menu_list dt {
  margin: 0 0 20px;
  font-size: 18px;
  color: var(--ThemesFooterTitleColor, #fff);
  font-family: var(--ThemesFooterNavFont, inherit);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ly_footer_47 .default_foot_menu_style .menu_list dd {
  margin: 14px 0;
  color: var(--ThemesFooterTextColor, #999);
}
.ly_footer_47 .default_foot_menu_style .menu_list dd a {
  color: inherit;
}

/* Newsletter in footer */
.ly_footer_47 .default_newsletter .newsletter_title .sub_text {
  margin-bottom: 10px;
  color: var(--ThemesFooterTextColor, #999);
  font-size: 12px;
}
.ly_footer_47 .default_newsletter_form {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.ly_footer_47 .default_newsletter_form .text {
  height: 50px;
  line-height: 50px;
  box-sizing: border-box;
  padding: 0 20px;
  font-size: 12px;
  flex-grow: 1;
  max-width: 300px;
  border: 1px solid #393939;
  background-color: #393939;
  color: #fff;
}
.ly_footer_47 .default_newsletter_form .subscribe {
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  cursor: pointer;
  border: 1px solid #3b3b3b;
  color: #d0d0d0;
  background: transparent;
}

/* Bottom bar */
#new_footer .new_bottom_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--ThemesFooterLineColor, #2b2b2b);
  margin-top: 28px;
  padding-top: 18px;
}
#new_footer .new_copy_box {
  color: var(--ThemesFooterTextColor, #666);
  font-size: 12px;
}
#new_footer .new_payment_icon_box {
  text-align: right;
}
 

/* Responsive */
@media (max-width: 1200px) {
  .ly_footer_47 .default_foot_menu_style {
    gap: 16px;
  }
  .ly_footer_47 .default_foot_menu_style .menu_list {
    flex: 1 1 50%;
  }
}
@media (max-width: 560px) {
  #new_footer .new_bottom_box {
    flex-direction: column;
    align-items: flex-start;
  }
  .ly_footer_47 .default_foot_menu_style .menu_list {
    flex: 1 1 100%;
  }
  .ly_footer_47 .default_newsletter_form .text {
    max-width: 100%;
    width: 100%;
  }
}
.ly_footer_47 .default_foot_menu_style {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
}

/*Follow Us Of New 功能*/
.follow_us_list {
  min-height: 40px;
  padding: 0;
}
.follow_us_list li {
  width: 40px;
  margin-right: 10px;
  display: inline-block;
}
.follow_us_list li > a {
  width: inherit;
  height: 40px;
  display: block;
  line-height: 40px;
  white-space: nowrap;
  text-indent: -999px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  position: relative;
}
.follow_us_list li > a > i {
  position: absolute;
  top: 0;
  left: 0;
  text-indent: 0;
  font-size: 32px;
}
.follow_us_list li > a:focus,
.follow_us_list li > a:hover {
  transform: translateY(-4px);
  -webkit-transform: translateY(-4px);
}
.follow_us_list.offical_follow_icon li > a {
  margin-bottom: 10px;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_facebook {
  background: url(/static/v1/v6.0420/static/images/global/facebook-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_twitter {
  background: url(/static/v1/v6.0420/static/images/global/x-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_instagram {
  background: url(/static/v1/v6.0420/static/images/global/instagram-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_pinterest {
  background: url(/static/v1/v6.0420/static/images/global/pinterest-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_linkedin {
  background: url(/static/v1/v6.0420/static/images/global/linkedin-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_youtube {
  background: url(/static/v1/v6.0420/static/images/global/youtube-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_vk {
  background: url(/static/v1/v6.0420/static/images/global/vk-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_tiktok {
  background: url(/static/v1/v6.0420/static/images/global/tiktok-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_reddit {
  background: url(/static/v1/v6.0420/static/images/global/reddit-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_line {
  background: url(/static/v1/v6.0420/static/images/global/line-official.svg)
    no-repeat center/100%;
}
.follow_us_list.offical_follow_icon li > a.icon_follow_discord {
  background: url(/static/v1/v6.0420/static/images/global/discord-official.svg)
    no-repeat center/100%;
}
