/* 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 {
  padding-bottom: max(7rem, calc(1.25rem + env(safe-area-inset-bottom)));
}

.auc-cookie-banner {
  position: fixed;
  inset: auto 0.75rem 0.75rem 0.75rem;
  z-index: 50;
  max-width: 36rem;
  margin-left: auto;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
  color: #0f172a;
}

.auc-cookie-banner.is-hidden {
  display: none;
}

.auc-cookie-banner__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.auc-cookie-banner__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.auc-cookie-banner__close {
  border: 1px solid #cbd5e1;
  border-radius: 0.25rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: #475569;
  background: #fff;
  cursor: pointer;
}

.auc-cookie-banner__body {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: #475569;
}

.auc-cookie-banner__body a {
  color: #0f172a;
}

.auc-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.auc-cookie-banner__btn {
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.auc-cookie-banner__btn--primary {
  border: none;
  background: #0f172a;
  color: #fff;
}

.auc-cookie-banner__btn--secondary {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.auc-cookie-banner__state {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  color: #64748b;
}

@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);
}

@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);
}
