/* Shared PDP footer source used by homepage + PLP via jadegia-pdp-footer.js */

[data-pdp-shared-footer] {
  display: block;
}

.jadegia-shared-footer {
  background: #f3f4f6;
  padding-top: 96px;
}

.jadegia-shared-footer .footer-grid {
  width: min(1232px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto 96px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
}

.jadegia-shared-footer .footer-col {
  flex: 0 0 auto;
}

.jadegia-shared-footer .footer-col-title,
.jadegia-shared-footer .footer-social {
  width: fit-content;
}

.jadegia-shared-footer .footer-col-title {
  font-family: "Noto Sans TC", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 21px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.jadegia-shared-footer .footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 24px;
  margin: 0;
  padding: 0;
}

.jadegia-shared-footer .footer-col ul li {
  line-height: 24px;
}

.jadegia-shared-footer .footer-col ul li a {
  font-family: "Noto Sans TC", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
  letter-spacing: 1.6px;
  color: #6b7280;
  transition: color 0.2s;
  text-decoration: none;
  display: block;
}

.jadegia-shared-footer .footer-col ul li a:hover { color: #000000; }

.jadegia-shared-footer .footer-social {
  display: flex;
  gap: 24px;
  color: #9ca3af;
}

.jadegia-shared-footer .footer-social a {
  color: #9ca3af;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.jadegia-shared-footer .footer-social a:hover { color: #000000; }

.jadegia-shared-footer .social-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  display: block;
}

.jadegia-shared-footer .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #b6c9ac;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jadegia-shared-footer .footer-bottom p {
  font-family: "Noto Sans TC", ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 48px;
  font-weight: 300;
  letter-spacing: 1.6px;
  color: #000000;
  text-transform: uppercase;
  margin: 0;
  width: 100%;
  text-align: center;
}

@media (max-width: 1023px) {
  .jadegia-shared-footer .footer-grid {
    width: auto;
    max-width: 1280px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 72px;
  }

  .jadegia-shared-footer .footer-col {
    flex: initial;
  }

  .jadegia-shared-footer .footer-col-title,
  .jadegia-shared-footer .footer-social {
    width: auto;
  }
}

@media (max-width: 767px) {
  .jadegia-shared-footer {
    padding-top: 64px;
  }

  .jadegia-shared-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    margin-bottom: 56px;
  }
}
