/* Canonical buyer footer. Shared by home, catalogue and private buyer flows.
   Keep this after page skins; page-specific footer treatments are not supported. */
html body.shop-public.reference-shell[data-shop-page] footer.site-footer {
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.35fr) !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;
  border-top: 3px solid var(--color-brand-dark);
  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) {
  html body.shop-public.reference-shell[data-shop-page] footer.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) {
  html body.shop-public.reference-shell[data-shop-page] footer.site-footer {
    min-height: 0 !important;
    grid-template-rows: auto auto !important;
  }
}
@media (max-width: 520px) {
  html body.shop-public.reference-shell[data-shop-page] footer.site-footer {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-payment {
  grid-column: 1 / -1 !important;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 16px 40px !important;
  padding-top: 16px;
  border-top: 1px solid var(--color-retained-cbd2db);
}

.footer-payment-copy p,
.payment-methods .payment-methods-note {
  margin: 4px 0 0;
}

.payment-methods {
  --mark-height: 18px;
}

.footer-payment .payment-methods {
  --mark-height: 16px;
}

.payment-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.payment-marks img {
  display: block;
  width: auto;
  height: var(--mark-height);
}

/* Google's source artwork includes clear space inside its viewBox. */
.payment-marks .payment-mark-google {
  height: calc(var(--mark-height) * 1.85);
}

/* 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) {
  html body.shop-public.reference-shell[data-shop-page] footer.site-footer { grid-template-columns: repeat(2, 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; }
}

@media (max-width: 800px) {
  body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom-brand,
  body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom-brand .distributor-brand {
    min-width: 0; max-width: 100%; flex-wrap: wrap;
  }
  .shop-public .site-footer .footer-bottom-brand .distributor-label {
    white-space: normal; overflow-wrap: anywhere;
  }
}

body.shop-public.reference-shell[data-shop-page] .site-footer .footer-vehicle-finder {
  align-self: flex-start;
  border-inline-start: 3px solid var(--color-brand-blue);
  padding-inline-start: 8px;
  color: var(--color-text) !important;
  font-weight: 700;
}

html body.shop-public.reference-shell[data-shop-page] footer.site-footer {
  background-image: linear-gradient(120deg, #f7faf9 0%, #edf3f2 65%, #e5eeed 100%) !important;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom .lx-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom .lx-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(14px, 1.2vw, 17px) !important;
  font-weight: 700;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom .lx-role video {
  width: clamp(108px, 9vw, 134px);
  height: auto;
}
body.shop-public.reference-shell[data-shop-page] .site-footer .footer-bottom .lx-name {
  font-size: clamp(25px, 2vw, 32px) !important;
  color: var(--color-brand-dark) !important;
}
