/* SHEIN Xcelerator - Footer Styles */

/* === BEM Footer === */
.footer {
  background-color: var(--primary-color);
  color: var(--accent-color);
  padding: 5rem 0 2.5rem;
  margin-top: 1rem;
}

.footer .container {
  margin: 0 auto;
  position: relative;
  height: 300px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer__logo svg {
  width: 200px;
  height: auto;
  fill: var(--accent-color);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-left: -10px;
  position: absolute;
  right: 0;
  top: 0;
}

.footer__social-media-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 2rem;
}

.footer__social-media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--accent-color);
  transition: opacity 0.3s ease;
}

.footer__social-media-link:hover {
  opacity: 0.7;
}

.footer__social-media-link svg {
  fill: var(--accent-color);
  width: 50px;
  height: 50px;
}

.footer__info-links {
  display: flex;
  gap: 5rem;
}

.footer__info-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--font-size-sm);
}

.footer__links-item {
  margin-bottom: 16px;
}

.footer__link {
  color: var(--accent-color);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__secondary-content {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.footer__copy-terms-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent-color-60);
  font-size: var(--font-size-xs);
  padding: 0 0.5rem;
}

.footer__terms-links {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__info-link {
  color: var(--accent-color-60);
  text-decoration: none;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.footer__info-link:hover {
  opacity: 1;
}

/* === Footer Privacy / Cookies Entry === */
/* #privacy-sdk-container is the "Manage Cookies" element rendered inside the
   shared footer component (js/components.js), so it applies to every page. */
#privacy-sdk-container {
  cursor: pointer;
}

/* === Page-specific Footer === */
.page-home .footer {
  padding-bottom: 5.625rem;
}

/* === Footer Responsive === */
/* Body: style.css "Mobile Footer Responsive Styles" rules first, then the
   responsive.css overrides (kept in the original source order so the cascade
   result is unchanged). */
@media screen and (max-width: 767px) {
  .footer {
    padding: 40px 0 30px;
  }

  .footer__logo {
    margin-bottom: 5px;
  }

  .footer__logo svg {
    width: 120px;
  }

  .footer__social-media-links {
    justify-content: center;
    gap: 5px;
    margin-bottom: 0;
    position: absolute;
    right: 0;
    top: -8px;
  }

  .footer__content {
    min-width: 330px;
    top: 45px;
    right: 50%;
    transform: translateX(50%);
  }

  .footer__social-media-link {
    width: 40px;
    height: 40px;
  }

  .footer__social-media-link svg {
    width: 32px;
    height: 32px;
  }

  .footer__info-links {
    width: 100%;
    gap: 1rem;
  }

  .footer__info-links-list {
    text-align: center;
    width: 50%;
  }

  .footer__links-item {
    margin-bottom: 14px;
    text-align: left;
  }

  .footer__link {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 1px;
  }

  .footer__secondary-content {
    padding-top: 25px;
    text-align: center;
  }

  .footer__terms-links {
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .footer__info-link {
    font-size: 0.625rem;
  }
}
