/* Shenbao Footer Component Styles */

.shenbao_foot_main {
  position: relative;
  width: 100%;
  padding: var(--component-gap-md) 0 var(--text-gap);
  overflow: hidden;
}

/* Background Image */
/* .shenbao_foot_main .footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/ede90638-59e9-4d53-8dd6-b9aaee50a9d5-ter_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
} */

.shenbao_foot_main .container {
  position: relative;
  z-index: 1;
}

/* ===================================
   Footer Content Layout
   =================================== */

.shenbao_foot_main .footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--text-gap) var(--component-gap-sm);
  margin-bottom: var(--component-gap-sm);
}

/* Footer Brand */
.shenbao_foot_main .footer-brand {
  flex: 0 0 314px;
  max-width: 314px;
}

.shenbao_foot_main .footer-logo {
  margin-bottom: var(--text-gap-lg);
}

.shenbao_foot_main .footer-logo img {
  height: 53px;
  width: auto;
  object-fit: contain;
}

.shenbao_foot_main .footer-desc {
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  line-height: 1.6;
  color: #000;
}

/* Footer Links Wrapper */
.shenbao_foot_main .footer-links-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--text-gap) var(--component-gap-sm);
  flex: 1;
  min-width: 0;
}

.shenbao_foot_main .footer-links {
  flex: 0 0 auto;
  min-width: 140px;
}

.shenbao_foot_main .links-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-family);
  font-size: var(--text-size);
  font-weight: 400;
  color: #1d1d1d;
  margin: 0 0 var(--text-gap-sm) 0;
  cursor: default;
}

.shenbao_foot_main .links-arrow {
  display: none;
  font-size: 12px;
  color: #1d1d1d;
  transition: transform 0.3s ease;
}

.shenbao_foot_main .links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shenbao_foot_main .links-list li {
  margin-bottom: 8px;
}

.shenbao_foot_main .links-list a {
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  line-height: 2.4;
  color: #818181;
  text-decoration: none;
  transition: color 0.3s ease;
}

.shenbao_foot_main .links-list a:hover {
  color: #eeaf0c;
}

/* ===================================
   Footer Contact
   =================================== */

.shenbao_foot_main .footer-contact {
  flex: 0 0 260px;
  max-width: 260px;
}

.shenbao_foot_main .contact-title {
  font-family: var(--font-family);
  font-size: var(--text-size);
  font-weight: 400;
  color: #1d1d1d;
  margin: 0 0 var(--text-gap-sm) 0;
}

.shenbao_foot_main .contact-phone {
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin-bottom: var(--text-gap);
  line-height: 1.2;
  display: block;
}

.shenbao_foot_main .contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--text-gap-sm);
  margin-bottom: var(--text-gap-sm);
  font-family: var(--font-family);
  font-size: var(--text-size-sm);
  line-height: 1.4;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.shenbao_foot_main__contact-item,
.shenbao_foot_main a.contact-item {
  color: #000;
}

.shenbao_foot_main a.contact-item:hover,
.shenbao_foot_main .contact-phone:hover {
  color: #eeaf0c;
}

.shenbao_foot_main .contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #000;
}

.shenbao_foot_main a.contact-item:hover .contact-icon {
  color: #eeaf0c;
}

/* ===================================
   Footer Bottom
   =================================== */

.shenbao_foot_main .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: var(--text-gap);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.shenbao_foot_main .footer-copyright p {
  font-family: var(--font-family);
  font-size: var(--text-size-sm);
  line-height: 1.8;
  color: #818181;
  margin: 0;
}

/* Footer Social */
.shenbao_foot_main .footer-social {
  display: flex;
  gap: 8px;
}

.shenbao_foot_main .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(7, 7, 7, 0.3);
  transition: all 0.3s ease;
}

.shenbao_foot_main .social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.shenbao_foot_main .social-link:hover {
  border-color: #eeaf0c;
  background: rgba(238, 175, 12, 0.1);
}

/* ===================================
   Responsive Breakpoints
   =================================== */

@media screen and (max-width: 1200px) {
  .shenbao_foot_main .footer-brand {
    flex: 0 0 280px;
    max-width: 280px;
  }

  .shenbao_foot_main .footer-contact {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 992px) {
  .shenbao_foot_main .footer-brand {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .shenbao_foot_main .footer-links-wrapper {
    flex: 0 0 100%;
  }

  .shenbao_foot_main .footer-links {
    flex: 0 0 calc((100% - var(--component-gap-sm)) / 2);
    min-width: 0;
  }
}

@media screen and (max-width: 768px) {
  /* Mobile Link Groups - Expand/Collapse */
  .shenbao_foot_main .footer-links-wrapper {
    gap: 0;
  }

  .shenbao_foot_main .footer-links {
    flex: 0 0 100%;
    min-width: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .shenbao_foot_main .links-title {
    cursor: pointer;
    padding: var(--text-gap-sm) 0;
    margin: 0;
  }

  .shenbao_foot_main .links-arrow {
    display: inline-block;
  }

  .shenbao_foot_main .footer-links.active .links-arrow {
    transform: rotate(180deg);
  }

  .shenbao_foot_main .links-list {
    display: none;
    padding-bottom: var(--text-gap-sm);
  }

  .shenbao_foot_main .footer-links.active .links-list {
    display: block;
  }

  .shenbao_foot_main .footer-bottom {
    flex-direction: column;
    gap: var(--text-gap-sm);
    align-items: flex-start;
  }

  .shenbao_foot_main .footer-social {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 576px) {
  .shenbao_foot_main .footer-logo img {
    height: 42px;
  }

  .shenbao_foot_main .social-link {
    width: 40px;
    height: 40px;
  }

  .shenbao_foot_main .social-link img {
    width: 18px;
    height: 18px;
  }
}
