/* Approved shared public footer; all rules remain inside this surface. */
.storefront .home-footer {
  --footer-bg: #f5f6f9;
  --footer-heading: #19232f;
  --footer-copy: #536171;
  --footer-rule: #d3d9e1;
  --footer-focus: #194a73;
  background: var(--footer-bg);
  color: var(--footer-copy);
  border-top: 1px solid var(--footer-rule);
  margin-top: 40px;
}
html[data-home-theme="dark"] .storefront .home-footer {
  --footer-bg: #303841;
  --footer-heading: #f7f9fc;
  --footer-copy: #d1dae4;
  --footer-rule: #667381;
  --footer-focus: #a9d6ff;
}
.storefront .home-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.55fr);
  gap: 48px;
  padding-block: 48px 64px;
}
.storefront .home-footer h2 {
  margin: 0 0 22px;
  color: var(--footer-heading);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 650;
}
.storefront .home-footer-column { min-width: 0; }
.storefront .home-footer ul { list-style: none; padding: 0; margin: 0; }
.storefront .home-footer li { margin: 0 0 8px; }
.storefront .home-footer a {
  color: var(--footer-copy);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.storefront .home-footer-column a { display: inline-block; padding-block: 5px; }
.storefront .home-footer a:hover {
  color: var(--footer-heading);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.storefront .home-footer a:focus-visible { outline: 3px solid var(--footer-focus); outline-offset: 4px; }
.storefront .home-footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}
.storefront .home-footer svg { width: 20px; height: 20px; flex-shrink: 0; }
.storefront .home-footer-partner svg { transform: rotate(-45deg); }
.storefront .home-footer-contact > section + section { margin-top: 44px; }
.storefront .home-footer-help h2 { margin-bottom: 14px; }
.storefront .home-footer-help p { font-size: 16px; line-height: 1.65; margin: 0 0 26px; max-width: 40ch; }
.storefront .home-footer-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 46px;
  padding: 8px 24px;
  border: 1px solid var(--footer-copy);
  border-radius: 28px;
  color: var(--footer-heading);
  font-size: 15px;
}
.storefront .home-footer-bottom {
  border-top: 1px solid var(--footer-rule);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-block: 24px;
  font-size: 12px;
  line-height: 1.6;
}
.storefront .home-footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
.storefront .home-footer-brand img { width: 100px; height: auto; }
html[data-home-theme="dark"] .storefront .home-footer-brand img { filter: brightness(0) invert(1); }
@media (max-width: 1100px) {
  .storefront .home-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
  .storefront .home-footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 36px; border-top: 1px solid var(--footer-rule); padding-top: 32px; }
  .storefront .home-footer-contact > section + section { margin-top: 0; }
  .storefront .home-footer-contact > .home-footer-help:only-child { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .storefront .home-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; padding-block: 32px 36px; }
  .storefront .home-footer h2 { font-size: 18px; margin-bottom: 12px; }
  .storefront .home-footer a, .storefront .home-footer-help p { font-size: 14px; }
  .storefront .home-footer-column a { min-height: 45px; display: flex; align-items: center; }
  .storefront .home-footer li { margin-bottom: 2px; }
  .storefront .home-footer-contact { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .storefront .home-footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 20px; }
}
@media (forced-colors: active) {
  .storefront .home-footer-brand img { filter: none; }
  .storefront .home-footer-request { border-color: ButtonText; }
}
