/* TrueCar-style top nav + GoDaddy SSO + GoDaddy contact */

:root {
  --amvi-gd-teal: #09757a;
  --amvi-gd-green: #00a4a6;
}

/* Hide Foxiz chrome (news search, Log in / Sign up bar) — AutoMart header is the site menu. */
body:not(.wp-admin) #site-header,
body:not(.wp-admin) .header-wrap,
body:not(.wp-admin) .header-mobile-wrap,
body:not(.wp-admin) .off-canvas,
body:not(.wp-admin) .mobile-qview,
body:not(.wp-admin) .header-search,
body:not(.wp-admin) .header-search-icon,
body:not(.wp-admin) .rb-search-form,
body:not(.wp-admin) .is-form-header,
body:not(.wp-admin) .navbar-search,
body:not(.wp-admin) .mobile-search-form,
body:not(.wp-admin) .top-bar,
body:not(.wp-admin) .header-top,
body:not(.wp-admin) .is-header-top,
body:not(.wp-admin) .amvi-account-bar,
body:not(.wp-admin) header.amvi-header,
body:not(.wp-admin) header.am-header {
  display: none !important;
}

.amvi-site-header {
  position: sticky;
  top: 0;
  z-index: 100000;
  height: 64px;
  background: #000;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.amvi-site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
}
.amvi-site-header__logo {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.amvi-site-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.amvi-site-header__nav > a,
.amvi-site-header__drop > button,
.amvi-site-header__signin,
.amvi-site-header__sell,
.amvi-site-header__account > button {
  color: #fff;
  background: none;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}
.amvi-site-header__nav > a:hover,
.amvi-site-header__drop > button:hover,
.amvi-site-header__signin:hover,
.amvi-site-header__sell:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.amvi-site-header__drop {
  position: relative;
}
.amvi-site-header__menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  background: #fff;
  color: #111;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  padding: 10px 0;
  z-index: 2;
}
.amvi-site-header__drop.is-open .amvi-site-header__menu,
.amvi-site-header__drop:hover .amvi-site-header__menu {
  display: block;
}
.amvi-site-header__menu a {
  display: block;
  padding: 8px 16px;
  color: #111;
  text-decoration: none;
  font-size: 14px;
}
.amvi-site-header__menu a:hover {
  background: #f5f5f5;
}
.amvi-site-header__search {
  margin-left: auto;
}
.amvi-site-header__search input {
  width: 220px;
  height: 36px;
  border: 0;
  border-radius: 100px;
  padding: 0 14px 0 36px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23707070' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5.5'/%3E%3Cpath d='M11 11l3.5 3.5' stroke-linecap='round'/%3E%3C/svg%3E") 12px 50% no-repeat;
  font-size: 14px;
}
.amvi-site-header__sell {
  white-space: nowrap;
}
.amvi-site-header__sell-m {
  display: none;
}
.amvi-site-header__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: #fff;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}
.amvi-site-header__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

@media (max-width: 900px) {
  .amvi-site-header__toggle { display: flex; }
  .amvi-site-header__nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 24px;
    gap: 14px;
  }
  .amvi-site-header.is-open .amvi-site-header__nav { display: flex; }
  .amvi-site-header { position: relative; }
  .amvi-site-header__search { margin-left: 0; }
  .amvi-site-header__search input { width: 140px; }
  .amvi-site-header__sell { display: none; }
  .amvi-site-header__sell-m { display: inline; color: #fff; text-decoration: none; }
  .amvi-site-header__drop .amvi-site-header__menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 6px 0 0 12px;
  }
  .amvi-site-header__menu a { color: #fff; }
}

/* GoDaddy SSO page */
body.amvi-sso,
body.amvi-sso #page,
body.amvi-sso .site-wrap {
  background: #fff !important;
}
body.amvi-sso footer,
body.amvi-sso #site-footer,
body.amvi-sso .footer-wrap,
body.amvi-sso .site-footer {
  display: none !important;
}
.amvi-sso-page {
  min-height: 100vh;
  background: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
}
.amvi-sso-top {
  background: #111;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
.amvi-sso-top a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}
.amvi-sso-top__create {
  font-size: 15px !important;
  font-weight: 500 !important;
}
.amvi-sso-page__main {
  padding: 32px 16px 80px;
}

/* Card — GoDaddy SSO 1:1 */
.amvi-sso-card {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 28px 32px 28px;
  box-sizing: border-box;
}
.amvi-sso-card__brand {
  display: inline-block;
  margin: 0 0 18px;
  color: #111 !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.amvi-sso-card h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.amvi-sso-card__new {
  margin: 0 0 16px;
  font-size: 14px;
  color: #1b1b1b;
}
.amvi-sso-card a {
  color: var(--amvi-gd-teal);
  text-decoration: underline;
}
.amvi-sso-card__legal {
  margin: 0 0 20px;
  padding: 12px 14px;
  background: #f4f4f4;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #4d4d4d;
}
.amvi-sso-card__error {
  background: #fde8e8;
  color: #9b1c1c;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 13px;
  margin: 0 0 16px;
}
.amvi-sso-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.amvi-sso-field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.amvi-sso-field abbr {
  color: #c41e3a;
  text-decoration: none;
  font-weight: 700;
}
.amvi-sso-field input {
  width: 100%;
  height: 48px;
  border: 1px solid #c4c4c4;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 400;
  box-sizing: border-box;
}
.amvi-sso-field input:focus {
  outline: 2px solid var(--amvi-gd-teal);
  border-color: var(--amvi-gd-teal);
}
.amvi-sso-show {
  background: none;
  border: 0;
  color: var(--amvi-gd-teal);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.amvi-sso-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  margin: 4px 0 18px;
  cursor: pointer;
}
.amvi-sso-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--amvi-gd-green);
}
.amvi-sso-submit {
  width: 100%;
  height: 48px;
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.amvi-sso-submit:hover { background: #2b2b2b; }
.amvi-sso-or {
  margin: 22px 0 14px;
  text-align: center;
  color: #6b6b6b;
  font-size: 13px;
}
.amvi-sso-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.amvi-sso-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 48px;
  border: 1px solid #c4c4c4;
  border-radius: 8px;
  background: #fff;
  text-decoration: none !important;
}
.amvi-sso-social-icon:hover { background: #f7f7f7; }
.amvi-sso-foot {
  margin: 20px 0 0;
  font-size: 13px;
  text-align: center;
  color: #1b1b1b;
}
.amvi-sso-logged {
  max-width: 480px;
  margin: 48px auto;
  background: #fff;
  padding: 32px;
  border-radius: 8px;
}

/* Modal overlay — GoDaddy homepage popup */
.amvi-sso-overlay[hidden] { display: none !important; }
.amvi-sso-overlay {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 24px;
  overflow: auto;
}
.amvi-sso-overlay__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
}
.amvi-sso-overlay__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}
.amvi-sso-overlay .amvi-sso-card {
  margin: 0;
}
.amvi-sso-overlay__close {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #111;
}

/* GoDaddy Help Center contact-us */
.amvi-contact {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #fff;
}
.amvi-contact-hero {
  background: linear-gradient(180deg, #d8f0ef 0%, #eef8f7 70%, #f7fbfb 100%);
  color: #111;
  padding: 48px 24px 80px;
}
.amvi-contact-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.amvi-contact-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0b6e71;
}
.amvi-contact-hero h1 {
  margin: 0 0 12px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.amvi-contact-lede {
  margin: 0 0 32px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.5;
  color: #333;
}
.amvi-contact-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  overflow: hidden;
}
.amvi-contact-col {
  padding: 28px 24px 32px;
  border-right: 1px solid #ececec;
}
.amvi-contact-col:last-child { border-right: 0; }
.amvi-contact-col h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
.amvi-contact-col p {
  margin: 0 0 14px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}
.amvi-contact-num {
  display: inline-block;
  color: var(--amvi-gd-green);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
}
.amvi-contact-num:hover { text-decoration: underline; }
.amvi-contact-num--email { font-size: 16px; word-break: break-all; }
.amvi-contact-avail {
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  color: #6b7280 !important;
}
.amvi-contact-chat {
  display: inline-flex;
  align-items: center;
  background: var(--amvi-gd-green);
  color: #111 !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 4px;
}
.amvi-contact-chat:hover { background: #14b8ba; }
.amvi-contact-formwrap {
  max-width: 720px;
  margin: 48px auto 80px;
  padding: 0 24px;
}
.amvi-contact-formwrap h2 {
  font-size: 28px;
  margin: 0 0 8px;
}
.amvi-contact-hours {
  font-size: 14px;
  color: #4b5563;
  margin: 0 0 24px;
}

@media (max-width: 800px) {
  .amvi-contact-hero h1 { font-size: 32px; }
  .amvi-contact-panel { grid-template-columns: 1fr; }
  .amvi-contact-col { border-right: 0; border-bottom: 1px solid #ececec; }
  .amvi-contact-col:last-child { border-bottom: 0; }
  .amvi-sso-card { padding: 24px 20px; }
}

body.amvi-index-page .amvi-sticky-phone,
body.amvi-index-page .amvi-sticky-chat,
body.amvi-index-page .fb-customerchat,
body.amvi-index-page #fb-root {
  display: none !important;
}
