/* Shared Next Level Marketplace-style portfolio footer (auc-footer layout). */

.ch-footer.auc-footer,
footer.ch-footer.auc-footer,
footer.auc-footer {
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: auto;
  padding: 0 !important;
  overflow: hidden;
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border-top: 1px solid rgba(249, 115, 22, 0.35);
  text-align: left !important;
  letter-spacing: normal !important;
  line-height: 1.5;
  color: #e2e8f0 !important;
  visibility: visible;
  opacity: 1;
  transform: none;
}

.auc-footer__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 0% 100%, rgba(249, 115, 22, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 70% at 100% 0%, rgba(16, 185, 129, 0.1), transparent 52%);
}

.auc-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.75rem 1rem 0;
  font-size: 0.875rem;
  color: #e2e8f0;
}

body.pf-footer-cookie-banner-visible .auc-footer__inner,
body.auction-site--cookie-banner-visible .auc-footer__inner,
body.corp-cookie-preference-visible .auc-footer__inner {
  padding-bottom: max(9.5rem, calc(1.25rem + env(safe-area-inset-bottom)));
}

@media (max-width: 1023px) {
  .ch-footer.auc-footer,
  footer.ch-footer.auc-footer,
  footer.auc-footer {
    padding: 0 !important;
    text-align: left !important;
    letter-spacing: normal !important;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .auc-footer__inner {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

.auc-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.auc-footer__grid--wide {
  grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 1fr));
}

/* Shop · Customer service · Help · Preferences · Account */
.auc-footer__grid--xwide {
  grid-template-columns: minmax(0, 0.95fr) repeat(5, minmax(0, 0.88fr));
  gap: 1.75rem 1.65rem;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .auc-footer__grid--xwide {
    grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .auc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }

  .auc-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .auc-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.auc-footer__brand {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.auc-footer__brand-extra {
  max-width: 22rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.auc-footer__brand-extra a {
  color: #e2e8f0;
  text-decoration: none;
}

.auc-footer__brand-extra a:hover {
  color: #fff;
}

.auc-footer__brand-line {
  margin: 0 0 0.45rem;
}

.auc-footer__hours {
  margin-top: 0.35rem;
}

.auc-footer__hours-title {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8fafc;
}

.auc-footer__hours p:last-child {
  margin: 0;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.55;
}

.auc-footer__hours strong {
  color: #34d399;
  font-weight: 700;
}

.auc-footer__logo-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  transition: filter 0.12s ease;
}

.auc-footer__logo-link:hover {
  filter: brightness(1.06);
}

.auc-footer__logo {
  display: block;
  height: 2.85rem;
  width: auto;
  max-width: min(14.5rem, 64vw);
  object-fit: contain;
  object-position: left center;
}

.auc-footer__preapprove {
  margin: 0.15rem 0 0;
  max-width: 100%;
}

.auc-nav-preapprove {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.48rem 0.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  border: 1px solid #065f46 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.28);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  white-space: nowrap;
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.auc-nav-preapprove:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  color: #fff !important;
}

.auc-nav-preapprove:active {
  transform: translateY(0);
}

.auc-nav-preapprove__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.auc-footer__preapprove-btn {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  justify-content: center;
  white-space: normal;
}

.auc-footer__preapprove-btn .auc-nav-preapprove__icon {
  flex-shrink: 0;
}

.auc-footer__col {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.auc-footer__heading {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8fafc;
}

.auc-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.auc-footer__list a,
.auc-footer__list button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.12s ease, transform 0.12s ease;
}

.auc-footer__list a:hover,
.auc-footer__list button:hover {
  color: #fff;
  transform: translateX(2px);
}

.auc-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.35rem 0 max(1.5rem, env(safe-area-inset-bottom));
}

.auc-footer__copy {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

.auc-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.auc-footer__legal a,
.auc-footer__legal button {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0.2rem 0;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.12s ease;
}

.auc-footer__legal a:hover,
.auc-footer__legal button:hover {
  color: #fff;
}

.auc-footer__legal-sep {
  color: #475569;
  font-size: 0.8rem;
  user-select: none;
}

.auc-footer__powered {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.auc-footer__powered .auc-footer__corp-name {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Next Level family storefronts — larger footer logos than marketplace default */
.nlbc-body--pf-footer .auc-footer__logo {
  height: 5.5rem;
  width: 5.5rem;
  max-width: 5.5rem;
  border-radius: 50%;
  object-fit: contain;
}

.nlm-body--pf-footer .auc-footer__logo {
  height: 4.75rem;
  max-width: min(24rem, 72vw);
}

.nlp-body--pf-footer .auc-footer__logo {
  height: 4.5rem;
  max-width: min(24rem, 72vw);
}

.nlbrs-body--pf-footer .auc-footer__logo {
  height: 5rem;
  width: auto;
  max-width: min(24rem, 72vw);
  border-radius: 0;
}

/* Connect with {brand} — Temu-style full-width social band */
.auc-footer__connect-band {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.auc-footer__connect {
  margin-top: 0;
  padding-top: 0;
}

.auc-footer__connect-heading {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #f8fafc;
}

.auc-footer__connect-empty {
  margin: 0;
  max-width: 36rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.72);
}

.auc-footer__connect-empty-link {
  color: #f8fafc;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.auc-footer__connect-empty-link:hover {
  text-decoration: underline;
}

.auc-footer__social-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.auc-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.45rem;
  color: #fff;
  text-decoration: none;
  background: rgba(96, 165, 250, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.22);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.auc-footer__social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.auc-footer__social-link:hover,
.auc-footer__social-link:focus-visible {
  background: rgba(96, 165, 250, 0.38);
  border-color: rgba(191, 219, 254, 0.45);
  transform: translateY(-1px);
  color: #fff;
}

.auc-footer__action-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}

.auc-footer__action-btn:hover,
.auc-footer__action-btn:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.auc-footer__col--preferences .auc-footer__heading {
  letter-spacing: 0.02em;
}

.auc-footer__col--connect {
  align-self: end;
}

@media (max-width: 900px) {
  .auc-footer__col--connect {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
  }
}

/* Site Directory — landing-page footer entry + directory sheet. */
.auc-footer .auc-footer__sitedir,
.auc-footer__legal a.auc-footer__sitedir {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(249, 115, 22, 0.6);
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.14);
  color: #fdba74 !important;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.auc-footer .auc-footer__sitedir:hover,
.auc-footer .auc-footer__sitedir:focus-visible {
  background: rgba(249, 115, 22, 0.28);
  border-color: #fb923c;
  color: #fff !important;
}

.auc-footer__sitedir-icon {
  font-size: 0.8em;
  line-height: 1;
}

html.psd-locked {
  overflow: hidden;
}

dialog.psd {
  width: min(72rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100vh - 3rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 1rem;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.45);
  font-family: inherit;
  text-align: left;
}

dialog.psd::backdrop {
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(2px);
}

.psd__sheet {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 3rem);
}

.psd__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.psd__kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ea580c;
}

.psd__title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.psd__lede {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: #475569;
}

.psd__tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.psd__search input {
  width: min(18rem, 60vw);
  padding: 0.55rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font: inherit;
  font-size: 0.875rem;
  color: #0f172a;
  background: #f8fafc;
}

.psd__search input:focus {
  outline: 2px solid rgba(249, 115, 22, 0.45);
  outline-offset: 1px;
  background: #fff;
}

.psd__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.psd__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.psd__close:hover {
  background: #f1f5f9;
}

.psd__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.psd__jump-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.psd__jump-chip span {
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  font-size: 0.72rem;
}

.psd__jump-chip:hover {
  border-color: #fdba74;
}

.psd__body {
  overflow-y: auto;
  padding: 0.5rem 1.75rem 1.5rem;
  overscroll-behavior: contain;
}

.psd__section {
  padding-top: 1.25rem;
}

.psd__section + .psd__section {
  margin-top: 0.5rem;
  border-top: 1px solid #f1f5f9;
}

.psd__section-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.psd__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 1.5rem 2rem;
}

.psd__group-title {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.psd__group-title a {
  color: inherit;
  text-decoration: none;
}

.psd__group-title a:hover {
  color: #ea580c;
  text-decoration: underline;
}

.psd__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.psd__links li {
  margin: 0;
  padding: 0.18rem 0;
}

.psd__links a {
  color: #475569;
  font-size: 0.85rem;
  text-decoration: none;
}

.psd__links a:hover {
  color: #ea580c;
  text-decoration: underline;
}

.psd__more {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ea580c;
  text-decoration: none;
}

.psd__empty {
  padding: 2rem 0;
  text-align: center;
  color: #64748b;
}

.psd__foot {
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 0 0 1rem 1rem;
}

.psd__drop-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.psd__drop-back:hover {
  border-color: #fb923c;
  color: #c2410c;
}

@media (max-width: 640px) {
  dialog.psd {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .psd__sheet {
    max-height: 100vh;
  }

  .psd__head,
  .psd__body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .psd__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }
}

/* Bottom of every brand footer: link columns · one hairline · Connect row · one hairline · legal bar.
   The grid's border is the only divider above Connect (no second stacked line or extra gap). */
.auc-footer__grid + .auc-footer__connect-band {
  margin-top: 0;
  padding: 1.25rem 0;
  border-top: 0;
}

.auc-footer__connect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
}

.auc-footer__connect .auc-footer__connect-heading {
  margin: 0;
}

a.auc-footer__staff {
  display: inline-flex !important;
  align-items: center;
  margin-left: 0.15rem;
  padding: 0.42rem 0.95rem !important;
  border-radius: 999px;
  border: 1px solid #f4efe6 !important;
  background: #f4efe6 !important;
  color: #16181c !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

a.auc-footer__staff:hover,
a.auc-footer__staff:focus-visible {
  background: #fff !important;
  border-color: #fff !important;
  color: #16181c !important;
}

.auc-footer__connect-band + .auc-footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}
