/* TV Liquidator shared footer — 2026-09-26. All styles are scoped. */
#tvl-footer {
  display: block;
  width: 100%;
  margin: 0;
  float: none;
  clear: both;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}
#tvl-footer :where(div, nav, figure, figcaption, p, h3) {
  margin: 0;
  padding: 0;
}
#tvl-footer :where(a, p, h3, strong, span, figcaption) {
  font-family: inherit;
}
#tvl-footer img {
  max-width: 100%;
  margin: 0;
  border: 0;
  float: none;
  vertical-align: middle;
}
#tvl-footer strong { font-weight: 700; }
#tvl-footer .tvl-f-top > * { min-width: 0; }

#tvl-footer {
    padding: 48px 0 24px;
    background: #091f32;
    color: #c2d1df;
  }

  #tvl-footer * {
    box-sizing: border-box;
  }

  #tvl-footer a {
    color: inherit;
    text-decoration: none;
  }

  #tvl-footer a:hover {
    color: #fff;
    text-decoration: underline;
  }

  #tvl-footer a:focus-visible {
    outline: 3px solid #8fc3ff;
    outline-offset: 4px;
    border-radius: 3px;
  }

  #tvl-footer .tvl-f-top {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 30px;
  }

  #tvl-footer .tvl-f-logo {
    display: inline-block;
    padding: 9px 12px;
    background: #fff;
    border-radius: 9px;
  }

  #tvl-footer .tvl-f-logo img {
    display: block;
    width: 215px;
    max-width: 100%;
    height: auto;
  }

  #tvl-footer .tvl-f-brand p {
    margin: 12px 0 0;
    max-width: 350px;
    font-size: 13px;
    line-height: 1.65;
  }

  #tvl-footer .tvl-f-label {
    display: block;
    margin-bottom: 8px;
    color: #a7c6e0;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  #tvl-footer .tvl-f-phone {
    display: inline-block;
    color: #fff;
    font-size: clamp(25px, 2.5vw, 32px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
  }

  #tvl-footer .tvl-f-email {
    display: block;
    width: fit-content;
    margin-top: 7px;
    color: #e2edf7;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  #tvl-footer .tvl-f-shipping {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
  }

  #tvl-footer .tvl-f-payments {
    display: inline-block;
    max-width: 100%;
    padding: 8px;
    border-radius: 7px;
    background: #fff;
  }

  #tvl-footer .tvl-f-payments img {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
  }

  #tvl-footer .tvl-f-building {
    margin: 0 0 32px;
    overflow: hidden;
    border: 1px solid #30475a;
    border-radius: 14px;
    background: #102a40;
  }

  #tvl-footer .tvl-f-building > img {
    display: block;
    width: 100%;
    height: auto;
  }

  #tvl-footer .tvl-f-building figcaption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 20px;
    padding: 13px 18px;
    font-size: 13px;
  }

  #tvl-footer .tvl-f-building strong {
    color: #fff;
  }

  #tvl-footer .tvl-f-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 36px;
  }

  #tvl-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  #tvl-footer .tvl-f-links {
    display: grid;
    gap: 10px;
  }

  #tvl-footer .tvl-f-links a {
    width: fit-content;
    font-size: 13px;
    line-height: 1.5;
  }

  #tvl-footer .tvl-f-orders p {
    margin: 0 0 13px;
    font-size: 13px;
    line-height: 1.75;
  }

  #tvl-footer .tvl-f-orders strong {
    color: #e6eff7;
  }

  #tvl-footer .tvl-f-orders p a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  #tvl-footer .tvl-f-support {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #526d83;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
  }

  #tvl-footer .tvl-f-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
    padding: 24px 0;
    border-top: 1px solid #2b4256;
    border-bottom: 1px solid #2b4256;
  }

  #tvl-footer .tvl-f-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  #tvl-footer .tvl-f-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 94px;
    height: 58px;
    padding: 6px;
    border-radius: 7px;
    background: #fff;
  }

  #tvl-footer .tvl-f-badge img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
  }

  #tvl-footer .tvl-f-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  #tvl-footer .tvl-f-social > span {
    font-size: 13px;
    color: #d5e3ef;
  }

  #tvl-footer .tvl-f-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  #tvl-footer .tvl-f-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #334d63;
    border-radius: 8px;
    background: #102b41;
  }

  #tvl-footer .tvl-f-social-links a:hover {
    background: #203e57;
  }

  #tvl-footer .tvl-f-social-links img {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  #tvl-footer .tvl-f-bottom {
    padding-top: 20px;
    color: #a7bbce;
    font-size: 11px;
    line-height: 1.7;
  }

  #tvl-footer .tvl-f-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
  }

  #tvl-footer .tvl-f-legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  #tvl-footer .tvl-f-bottom p {
    margin: 10px 0 0;
    max-width: 1050px;
  }

  @media (max-width: 1000px) {
    #tvl-footer .tvl-f-top {
      grid-template-columns: 1fr 1fr;
      gap: 26px;
    }

    #tvl-footer .tvl-f-brand {
      grid-column: 1 / -1;
    }

    #tvl-footer .tvl-f-brand p {
      max-width: 580px;
    }

    #tvl-footer .tvl-f-columns {
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    #tvl-footer .tvl-f-orders {
      grid-column: 1 / -1;
      max-width: 640px;
    }
  }

  @media (max-width: 600px) {
    #tvl-footer {
      padding-top: 34px;
    }

    #tvl-footer .tvl-f-top {
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
    }

    #tvl-footer .tvl-f-building figcaption {
      display: block;
      padding: 12px;
    }

    #tvl-footer .tvl-f-building figcaption span {
      display: block;
      margin-top: 4px;
    }

    #tvl-footer .tvl-f-columns {
      gap: 28px 20px;
    }

    #tvl-footer .tvl-f-links a {
      padding: 3px 0;
    }

    #tvl-footer .tvl-f-badges {
      gap: 8px;
    }

    #tvl-footer .tvl-f-badge {
      width: 64px;
      height: 48px;
      padding: 4px;
    }

    #tvl-footer .tvl-f-social {
      align-items: flex-start;
      flex-direction: column;
      gap: 8px;
    }
  }

  /* Wider, more compact footer */
  #tvl-footer {
    padding: 36px 0 20px;
  }

  #tvl-footer > .tvl-f-wrap {
    width: min(1600px, calc(100% - 64px));
    margin-inline: auto;
  }

  /* Logo, contact and payment information */
  #tvl-footer .tvl-f-top {
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 22px;
  }

  #tvl-footer .tvl-f-brand p {
    max-width: 400px;
  }

  /* Keep the wider headquarters photo shallow */
  #tvl-footer .tvl-f-building {
    margin-bottom: 26px;
  }

  #tvl-footer .tvl-f-building > img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    object-position: center 60%;
  }

  #tvl-footer .tvl-f-building figcaption {
    padding: 10px 18px;
  }

  /* Four balanced information columns */
  #tvl-footer .tvl-f-columns {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 1.25fr);
    gap: 32px;
    align-items: start;
  }

  #tvl-footer .tvl-f-columns > * {
    min-width: 0;
  }

  #tvl-footer .tvl-f-orders {
    grid-column: auto;
    max-width: none;
    overflow-wrap: anywhere;
  }

  #tvl-footer .tvl-f-orders p:last-child {
    margin-bottom: 0;
  }

  #tvl-footer .tvl-f-hours p {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.75;
  }

  #tvl-footer .tvl-f-hours strong {
    color: #e6eff7;
  }

  #tvl-footer .tvl-f-support {
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Tighter spacing around badges and legal information */
  #tvl-footer .tvl-f-trust {
    margin-top: 24px;
    padding: 18px 0;
    gap: 20px;
  }

  #tvl-footer .tvl-f-bottom {
    padding-top: 16px;
  }

  #tvl-footer .tvl-f-bottom p {
    max-width: 1250px;
    margin-top: 8px;
  }

  /* Tablet */
  @media (max-width: 1100px) {
    #tvl-footer > .tvl-f-wrap {
      width: calc(100% - 40px);
    }

    #tvl-footer .tvl-f-top {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 24px;
    }

    #tvl-footer .tvl-f-brand {
      grid-column: 1 / -1;
    }

    #tvl-footer .tvl-f-brand p {
      max-width: 580px;
    }

    #tvl-footer .tvl-f-columns {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 28px 32px;
    }

    #tvl-footer .tvl-f-orders {
      grid-column: auto;
      max-width: none;
    }
  }

  /* Mobile */
  @media (max-width: 600px) {
    #tvl-footer {
      padding-top: 30px;
    }

    #tvl-footer .tvl-f-top {
      grid-template-columns: minmax(0, 1fr);
      gap: 24px;
    }

    #tvl-footer .tvl-f-building > img {
      height: auto;
      max-height: none;
    }

    #tvl-footer .tvl-f-building figcaption {
      padding: 12px;
    }

    #tvl-footer .tvl-f-columns {
      gap: 26px 20px;
    }

    #tvl-footer .tvl-f-columns > nav > h3 {
      min-height: 2.8em;
    }

    #tvl-footer .tvl-f-hours,
    #tvl-footer .tvl-f-orders {
      grid-column: 1 / -1;
    }
  }

/* Footer desktop phone/email assistance. */
#tvl-footer #tvl-footer-contact-popup {
    position: fixed;
    z-index: 10000;
    width: max-content;
    max-width: min(380px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow: auto;
    padding: 12px 16px;
    border: 1px solid #456681;
    border-radius: 10px;
    background: #102e49;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
    user-select: text;
    -webkit-user-select: text;
    cursor: text;
  }

  #tvl-footer #tvl-footer-contact-popup[hidden] {
    display: none;
  }
