/* Canonical buyer footer. Shared by home, catalogue and private buyer flows.
   Keep this after page skins; page-specific footer treatments are not supported. */
body.shop-public.reference-shell[data-shop-page] .site-footer {
  grid-template-columns: 1fr .85fr 1.25fr .85fr 1.2fr !important;
  gap: 24px !important;
  margin-top: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  grid-template-rows: auto !important;
  grid-auto-rows: auto;
  padding: 32px max(14px, calc((100vw - 1230px) / 2)) 26px !important;
  background: var(--reference-footer) !important;
  color: var(--color-text) !important;
}

body.shop-public.reference-shell[data-shop-page] .site-footer > div {
  gap: 5px !important;
  height: auto !important;
  min-height: 0 !important;
}

body.shop-public.reference-shell[data-shop-page] .site-footer > :is(.footer-column, .footer-company) {
  grid-column: auto !important;
}

body.shop-public.reference-shell[data-shop-page] .site-footer strong,
body.shop-public.reference-shell[data-shop-page] .site-footer > div > a:first-child {
  color: var(--color-text) !important;
  font-size: 13px !important;
  font-weight: 800;
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-column > strong,
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-company > strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-heading-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--reference-orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

body.shop-public.reference-shell[data-shop-page] .site-footer a,
body.shop-public.reference-shell[data-shop-page] .site-footer button,
body.shop-public.reference-shell[data-shop-page] .site-footer span,
body.shop-public.reference-shell[data-shop-page] .site-footer p,
body.shop-public.reference-shell[data-shop-page] .site-footer small {
  color: var(--color-text-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

body.shop-public.reference-shell[data-shop-page] .site-footer a:hover {
  color: var(--reference-orange) !important;
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-update-row {
  grid-column: 1 / -1 !important;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start !important;
  gap: 16px;
  margin-top: 8px;
  padding-top: 17px;
  border-top: 1px solid var(--color-retained-cbd2db);
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-update-row > strong {
  flex: 0 0 auto;
  font-size: 15px !important;
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-update-row > span {
  flex: 1 1 auto;
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-update-row .button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 12px;
  border: 0;
  border-radius: 3px;
  background: var(--reference-orange);
  color: var(--color-surface) !important;
  font-size: 12px !important;
  box-shadow: 0 2px 0 var(--color-text);
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom {
  grid-column: 1 / -1 !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between !important;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--color-retained-cbd2db);
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom .brand strong {
  font-size: 23px !important;
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom small {
  max-width: 620px;
  color: var(--color-text-muted) !important;
}

@media (max-width: 800px) {
  body.shop-public.reference-shell[data-shop-page] .site-footer {
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 14px !important;
    padding: 26px 14px 22px !important;
  }

  body.shop-public.reference-shell[data-shop-page] .site-footer .footer-update-row,
  body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom {
    grid-column: 1 / -1 !important;
  }

  body.shop-public.reference-shell[data-shop-page] .site-footer .footer-update-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px !important;
  }

  body.shop-public.reference-shell[data-shop-page] .site-footer .footer-update-row .button {
    margin-top: 3px;
  }

  body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (min-width: 801px) {
  body.shop-public.reference-shell[data-shop-page] .site-footer {
    min-height: var(--shop-footer-min-height) !important;
    grid-template-rows: minmax(0, 1fr) auto auto auto !important;
  }
}
@media (max-width: 520px) {
  body.shop-public.reference-shell[data-shop-page] .site-footer {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Planned payment support is informational until the gateway is activated. */
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-payment {
  grid-column: 1 / -1 !important;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px !important;
  padding-top: 16px;
  border-top: 1px solid var(--color-retained-cbd2db);
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-payment-copy {
  flex: 1 1 320px;
  min-width: 0;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-payment-copy p {
  margin: 6px 0 0;
  max-width: 680px;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-payment-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: var(--color-surface);
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-payment-logos img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  max-width: 100%;
}

/* Purchasing links share the footer typography and keep dark accessible labels. */
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-shopping > a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--color-text) !important;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .aukro-footer-link > span:not(.aukro-wordmark) {
  color: var(--color-text) !important;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .aukro-footer-link .aukro-wordmark {
  flex: 0 0 auto;
  color: var(--color-aukro-orange) !important;
  font-size: 24px !important;
  font-weight: 800;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-shopping > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 801px) and (max-width: 1100px) {
  body.shop-public.reference-shell[data-shop-page] .site-footer { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

body.shop-public.reference-shell[data-shop-page] .site-footer .aukro-footer-link {
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--color-aukro-orange);
  border-radius: 6px;
  background: var(--color-aukro-soft);
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .aukro-footer-link > span:not(.aukro-wordmark) { color: var(--color-aukro-ink) !important; }
body.shop-public.reference-shell[data-shop-page] .site-footer .aukro-footer-link:is(:hover, :focus-visible) {
  background: var(--color-aukro-orange);
  border-color: var(--color-aukro-ink);
}
body.shop-public.reference-shell[data-shop-page] .site-footer .aukro-footer-link:is(:hover, :focus-visible) .aukro-wordmark { color: var(--color-aukro-ink) !important; }
@media (prefers-reduced-motion: reduce) {
  body.shop-public.reference-shell[data-shop-page] .site-footer .aukro-footer-link { transition: none; }
}
