/*-- -------------------------- -->
<---        Global              -->
<--- -------------------------- -*/

/* inter-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Kabrio';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Kabrio-Bold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --primaryBlue: #46C9F3;
    --headingText: #323663;
    --bodyText: #121212;
    --backgroundPale: #FCD380;
    --bodyTextWhite: #FAFBFC;
    --bodyTextColor: #4E4B66;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Trebuchet MS', sans-serif;
    font-weight: 400;
}

h1 {
    font-family: 'Kabrio', 'Trebuchet MS', sans-serif;
    font-weight: 700;
}

*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, p, li, a {
    margin: 0;
}

h1 {
  font-size: clamp(2.4375rem, 6.4vw, 3rem);
}

a:hover,
button:hover {
  cursor: pointer;
}
.skip {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: -1111111;
}

.button-solid {
    color: #fff;
    border-width: 0px 0px 5px 0px;
    border-radius: 9px;
    padding: 16px 49px 16px 49px;
    border-style: solid;
    text-decoration: none;
    display: inline-block;
    font-size: 22px;
    transition: all 0.3s;
    background-color: var(--primaryBlue);
    border-color: #3FB5DA;
}

.button-solid:hover {
    background-color: #6437d1;
    border-color: #42238C;
}

.blue-highlight {
  color: var(--primaryBlue);
}


/*-- -------------------------- -->
<---          Section           -->
<--- -------------------------- -*/

.cs-section {
  padding: clamp(3.75em, 7.82vw, 6.25em) clamp(1rem, 1.5vw, 2rem);
}

.cs-title {
  margin-bottom: 16px;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--headingText);
  font-family: 'Kabrio', 'Trebuchet MS', sans-serif;
  font-weight: 700;
}

.cs-container {
  max-width: 550px;
  margin: auto;
}
.cs-text {
  color: var(--bodyText);
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 28px;
  opacity: 0.8;
}

.cs-text:last-of-type {
  margin-bottom: 2rem;
}


@media screen and (min-width: 1024px) {
  .cs-container {
    max-width: 1280px;
  }
  .cs-text {
      font-size: 20px;
  }
}


/*-- -------------------------- -->
<---     Section Dividers       -->
<--- -------------------------- -*/
.top-section-wave {
  width: 100%;
  opacity: 1;
  z-index: 1;
  margin-bottom: -5px;
  position: relative;
  display: none;

}

.bottom-section-wave {
  width: 100%;
  opacity: 1;
  z-index: 4;
  margin-top: -5px;
  position: relative;
  display: none;
}

@media screen and (min-width: 1024px) {
  .top-section-wave, .bottom-section-wave {
    display: inline;
  }

}


/*-- -------------------------- -->
<---          CTA               -->
<--- -------------------------- -*/
#cta {
  background-color: #FDF5F2;
  overflow: hidden; /* Add this line */
}

#cta .cs-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  
}

#cta .image-content {
  position: relative;
  max-width: 465px;

}

#cta .text-content {
  max-width: 550px;
  position: relative;
}

#cta picture {
  width: 100%;
  display: block;
  margin: auto;
  z-index: 2;
  position: relative;
  max-width: 465px;
}

#cta picture img {
  width: 100%;
  height: 100%;
  border: 16px solid #FFFFFF;
  filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.25));
  border-radius: 20px;
  overflow: hidden;
}

#cta #snail {
  position: absolute;
  top: -90px;
  display: none;
  right: 0px;
  z-index: 2;
}

#cta #abc {
  position: absolute;
  bottom: 0px;
  right: -40px; 
}

#cta .triangle-icon {
  position: absolute;
  bottom: 30px;
  left: -50px;
}

@media screen and (min-width: 1024px) {

  #cta #snail {
    display: inline;
  }
  #cta .cs-container {
      flex-direction: row;
  }

  #cta .text-content {
      text-align: start;
      order: 1;
  }

  #cta .image-content {
      order: 2;
  }

  #cta .triangle-icon {
      bottom: 0px;
      right: 100px;
      left: auto;
  }
}
/*-- -------------------------- -->
<---     Mobile Navigation      -->
<--- -------------------------- -*/
/* Mobile - 1023px */
@media only screen and (max-width: 63.9375rem) {
  body.cs-open {
    overflow: hidden;
  }
  #cs-navigation {
    width: 100%;
    padding: 0.75rem 1rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: fixed;
    z-index: 10000;
    margin-top: 40px;
  }

  #cs-navigation:after {
    content: '';
    width: 100%;
    /* max-width: 9.125rem; */
    height: 0%;
    background: var(--headingText);
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0%;
    z-index: -1;
    transition: height 0.2s, max-width 0.3s, background-color 0.3s;
  }
  #cs-navigation:before {
    content: '';
    width: 100%;
    height: 0vh;
    background: rgba(0, 0, 0, 0.6);
    background: var(--headingText);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    z-index: -11;
    transition: height .5s, opacity .3s;
  }
  #cs-navigation.cs-active:after {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }
  #cs-navigation.cs-active:before {
    height: 150vh;
    opacity: 1;
  }

  #cs-navigation.cs-active .cs-top-bar:before {
    display: none;
  }
  #cs-navigation.cs-active .cs-link {
    color: var(--bodyTextColorWhite);
  }
  #cs-navigation.cs-active .cs-ul-wrapper {
    opacity: 1;
    transform: scaleY(1);
    transition-delay: .2s;
  }
  #cs-navigation.cs-active .cs-li {
    transform: translateY(0);
    opacity: 1;
  }

  #cs-navigation.scroll .cs-toggle {
    margin-top: 0;
  }

  #cs-navigation .cs-logo {
    height: 100%;
    padding: 0.75rem 1rem;
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
  }
  #cs-navigation .cs-logo img {
    width: 100%;
    height: 100%;
    /* ensures the image never overflows the container. It stays contained within it's width and height and expands to fill it then stops once it reaches an edge */
    object-fit: contain;
  }
  #cs-navigation .cs-link {
    font-size: 0.875rem;
    line-height: 1.5em;
    text-align: inherit;
    text-decoration: none;
    margin: 0;
    color: var(--bodyTextColor);
    display: block;
    transition: color .3s;
  }
  #cs-navigation .cs-toggle {
    /* 44px - 48px */
    width: clamp(2.75rem, 6vw, 3rem);
    height: clamp(2.75rem, 6vw, 3rem);
    margin: 0.75rem 0 0 auto;
    border-radius: 0.25rem;
    background-color: #484848;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #cs-navigation .cs-active .cs-line1 {
    top: 50%;
    transform: translate(-50%, -50%) rotate(225deg);
  }
  #cs-navigation .cs-active .cs-line2 {
    top: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%) translateY(0) rotate(-225deg);
  }
  #cs-navigation .cs-active .cs-line3 {
    bottom: 100%;
    opacity: 0;
  }
  #cs-navigation .cs-box {
    /* 24px - 28px */
    width: clamp(1.5rem, 2vw, 1.75rem);
    /* 14px - 16px */
    height: clamp(0.875rem, 1.5vw, 1rem);
    position: relative;
  }
  #cs-navigation .cs-line {
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #cs-navigation .cs-line1 {
    top: 0;
    transform-origin: center;
    transition: transform .5s, top .3S, left .3S;
    animation-duration: .7s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-direction: normal;
  }
  #cs-navigation .cs-line2 {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: top .3s, left .3s, transform .5s;
    animation-duration: .7s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-direction: normal;
  }
  #cs-navigation .cs-line3 {
    bottom: 0;
    transition: bottom .3s, opacity .3s;
  }
  #cs-navigation .cs-ul-wrapper {
    width: 100%;
    opacity: 0;
    background-color: #fff;
    box-shadow: inset rgba(0, 0, 0, 0.2) 0px 8px 24px;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s, opacity .3s;
  }
  #cs-navigation .cs-ul {
    margin: 0;
    padding: 3rem 0 3rem 0;
    width: 100%;
    height: auto;
    max-height: 65vh;
    overflow: scroll;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  #cs-navigation .cs-li {
    list-style: none;
    width: 100%;
    margin-right: 0;
    /* transition from these values */
    transform: translateY(-4.375rem);
    opacity: 0;
    transition: transform .6s, opacity .9s;
  }
  #cs-navigation .cs-li-link {
    /* 16px - 24px */
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: 1.2em;
    text-decoration: none;
    margin: 0;
    color: var(--bodyTextColor);
    display: inline-block;
    position: relative;
  }
  #cs-navigation .cs-li-link:before {
    /* active state underline */
    content: '';
    width: 100%;
    height: 1px;
    background: currentColor;
    opacity: 1;
    position: absolute;
    display: none;
    bottom: -0.125rem;
    left: 0;
  }
  #cs-navigation .cs-li-link.cs-active:before {
    display: block;
  }

  .cs-li-sub-link {
    color: var(--bodyTextColor);
    position: relative;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    text-decoration: none;
  }
}
/* Tablet - 650px - 1023px */
@media only screen and (min-width: 40.625rem) and (max-width: 63.9375rem) {
  #cs-navigation .cs-ul {
    padding-top: 9.375rem;
    gap: 2rem;
  }
  #cs-navigation .cs-li-link {
    font-size: 1.5rem;
  }
}


/*-- -------------------------- -->
<---     Navigation Dropdown    -->
<--- -------------------------- -*/
/* Mobile - 1023px */
@media only screen and (max-width: 63.9375rem) {
  #cs-navigation .cs-li {
    text-align: center;
    width: 100%;
    display: block;
  }
  #cs-navigation .cs-dropdown {
    position: relative;
    color: var(--bodyTextColorWhite);
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-ul {
    height: auto;
    opacity: 1;
    visibility: visible;
    margin: 0.75rem 0 0 0;
    padding: 0.75rem 0;
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-link {
    opacity: 1;
  }
  #cs-navigation .cs-dropdown .cs-li-link {
    position: relative;
    transition: opacity .3s;
  }
  #cs-navigation .cs-drop-icon {
    width: 0.9375rem;
    height: auto;
    position: absolute;
    top: 50%;
    right: -1.25rem;
    transform: translateY(-50%);
  }
  #cs-navigation .cs-drop-ul {
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    background-color: var(--primary);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: padding .3s, margin .3s, height .3s, opacity .3s, visibility .3s;
  }
  #cs-navigation .cs-drop-li {
    list-style: none;
  }
  #cs-navigation .cs-li-link.cs-drop-link {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    color: #fff;
  }
}

.blue-line-highlight {
  position: relative;
}
.blue-line-highlight:before {
  content: '';
  width: 0%;
  height: 2px;
  background: var(--primaryBlue);
  opacity: 1;
  position: absolute;
  display: block;
  bottom: -0.125rem;
  left: 0;
  transition: width .3s;
}

.blue-line-highlight:hover:before {
  width: 100%;
}

.blue-line-highlight:hover {
  color: var(--primaryBlue);
}

/*-- -------------------------- -->
<---  NAVBAR + drop down desktop-->
<--- -------------------------- -*/
@media only screen and (min-width: 1023px) {

    .nav-wrapper {
        display: flex;
        justify-content: center;
    }
    #cs-navigation {
        display: flex;
        justify-content: center;
        position: fixed;
        width: 95%;
        box-sizing: border-box;
        background-color: #fff;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
        z-index: 10000;

        /*To move the nav bar in and remove from edge of scree*/
        margin-top: 40px;
        transition: margin 0.5s;
        border-radius: 12px;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
        max-width: 1400px;
        transition: width 0.5s, margin-top 0.5s, border-radius 0.5s;

    }

    /* on scroll of 100 px */
    body.scroll #cs-navigation {
      margin-top: 40px;
      width: 100%;
      max-width: none;
      border-radius: 0px;
    }
    
    body.scroll .cs-li {
      padding: 1.25rem 0;
    }

    .cs-logo img {
        max-width: 175px;
        height: auto;
    }
    #nav-button {
        color: #fff;
        border-width: 0px 0px 5px 0px;
        border-radius: 9px;
        padding: 10px 16px 10px 16px;
        border-style: solid;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s;
        background-color: var(--primaryBlue);
        border-color: #3FB5DA;
    }
    
    .cs-li-link {
        padding: 10px 16px 10px 16px;
    }
    .cs-li-link:hover {
        color: #fff;
        border-width: 0px 0px 5px 0px;
        border-radius: 9px;
        padding: 10px 16px 10px 16px;
        border-style: solid;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s;
        background-color: var(--primaryBlue);
        border-color: #3FB5DA;
    }
    body.scroll #cs-navigation {
        /* margin: 0px;
        width: 100%;
        max-width: 3000px; */
    }
    #cs-navigation .cs-toggle {
        display: none;
    }

    .cs-nav {
        display: flex;
    }
    .nav-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        max-width: 1300px;
        align-items: center;
        padding: 0 50px;
        min-height: 108px;
    }

    .cs-nav .cs-ul {
        display: flex;
        /* gap: clamp(1.25rem, 2.6vw, 2.25rem); */
        gap: 0.5rem;
    }

    .cs-nav .cs-ul li {
        list-style-type: none;
    }

    .cs-nav .cs-ul a {
        text-decoration: none;
    }

    .cs-li-link:hover {
        cursor:pointer;
    }

    .cs-li {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 2rem 0;
    }

    .cs-li-link, .cs-li-sub-link {
        color: var(--bodyTextColor);
        position: relative;
        font-size: clamp(0.875rem, 1.2vw, 1rem);
    }

    .cs-li-sub-link:before {
        content: '';
        width: 0%;
        height: 2px;
        background: var(--primaryBlue);
        opacity: 1;
        position: absolute;
        display: block;
        bottom: 0rem;
        left: 0rem;
        transition: width 0.3s;
    }
    .cs-li-sub-link:hover:before {
        width: 100%;
    }
    .cs-dropdown {
        position: relative;
    }
    .cs-dropdown:hover {
        cursor: pointer;
    }

    .cs-drop-ul {
        columns: 1;
        visibility: hidden;
        position: absolute;
        opacity: 0;
        top: 100%;
        min-width: 8rem;
        background-color: #fff;
        overflow: hidden;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 10px 16px;
        border-bottom: 5px solid var(--backgroundPale);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform .3s, visibility .3s, opacity .3s;
    }

    .cs-dropdown:hover .cs-drop-ul {
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
    }
    .cs-drop-link {
        padding: 0.75rem;
        display: block;
    }

    .cs-drop-link:hover {
        background-color: #f7f7f7;
    }
}


@media only screen and (min-width: 1150px) {
    .cs-logo img {
        max-width: 216px;
        height: auto;
    }
    #cs-navigation {
        width: 90%;
    }
}


/*-- -------------------------- -->
<---        Footer              -->
<--- -------------------------- -*/

#footer {
  padding: 60px 20px 40px 20px;
}
#footer .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1280px;
  margin: auto;
}
#footer .branch {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#footer .heading {
  color: var(--headingText);
  font-family: 'Kabrio', 'Trebuchet MS', sans-serif;
  font-weight: 700; 
  font-size: 1.25rem;
  border-width: 0 0 0 3px;
  border-style: solid;
  padding-left: 15px;
  margin-bottom: 1rem;
}

#footer a {
  text-decoration: none;
  color: var(--bodyText);
}

#footer .bold {
  font-weight: bold;
}
#footer .blue-line-highlight:hover {
  color: var(--primaryBlue);
}
#footer .address, .phone, .email, .webpage {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}


#footer .credit {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  border-top: 1px solid var(--headingText);
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 1.5rem;
}

#footer .webpage-link {
  overflow-wrap: anywhere;
}

#footer .hours {
  position: relative;
}

#footer #astronaut {
  position: absolute;
  display: none;
  bottom: -30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%)
}

@media only screen and (min-width: 900px) {
  #footer #astronaut {
    display: inline;
  }
  #footer {
    padding-top: 70px;
  }
  #footer .container {
    flex-direction: row;
    justify-content: flex-start;
    gap: 15%;
  }
}

/*-- -------------------------- -->
<---        Slants              -->
<--- -------------------------- -*/
@media only screen and (min-width: 1024px) {
  .slant-section-top{
    height: 100px;
    background: #FDF5F2;
    clip-path: polygon(0% 100%, 100% 0%, 100% 100%);
    margin-bottom: -1px;
  }

  .slant-section-bottom{
    height: 100px;
    background: #FDF5F2;
    clip-path: polygon(0 100%, 0 0, 100% 0);
    margin-top: -1px;
  }

  .slant-color-yellow{
    background: var(--backgroundPale);
}
}

/* header banner */
#header-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 40px;
    background: #46C9F3;
}
#header-banner h4 {
  margin: 0;
  font-weight: 400;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0;
}
#header-banner h4 span {
  font-weight: 700;
}
#header-banner button {
  font-weight: 600;
  color: #161616;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  border-radius: 100px;
  background: #F6EDE5;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  padding-top: 2px;
  border: 1px solid #F6EDE5;
  cursor: pointer;
}

/* Popup Styles */
#dealers__popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  z-index: 99999999;
  overflow-y: scroll;
}
#dealers__popup.active {
  display: flex;
}

#dealers__popup .dealers__popup-content {
  background-color: #F2F2F2;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  width: 500px;
  position: relative;
  border-radius: 30px;
  box-shadow: 0px 8px 24px rgba(149, 157, 165, 0.2);
  padding: 100px 40px;
  margin-bottom: 5vh;
  
}
#dealers__popup .dealers__popup-content:has(.email__view:not(.hide)) {
  margin-top: 16%;
}
#dealers__popup .dealers__popup-content .popup-close-icon {
  border: 0;
  background: 0;
  position: absolute;
  top: 21px;
  right: 16px;
  padding: 0;
  cursor: pointer;
}
#dealers__popup .dealers__popup-heading {
  text-align: center;
}
#dealers__popup .dealers__popup-heading h2 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.01em;
  color: #323663;
  font-weight: 600;
  margin: 0 0 12px;
}
#dealers__popup .dealers__popup-heading h2 span {
  font-size: 20px;
}

#dealers__popup .dealers__popup-body p {
  font-size: 18px;
  line-height: 30px;
  color: #121212;
  font-weight: 400;
  text-align: center;
  text-align: center;
}   
#dealers__popup .dealers__popup-body p span {
  font-weight: 700;
}

#dealers__popup .dealers__popup-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#dealers__popup .dealers__popup-footer a {
  color: #7C7C7C;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
#dealers__popup .dealers__popup-footer .popup-btn,
#dealers__popup .dealers__popup-content .email__view button {
  color: #fff;
  border-width: 0px 0px 5px 0px;
  border-radius: 9px;
  padding: 16px 49px 16px 49px;
  border-style: solid;
  text-decoration: none;
  font-size: 22px;
  transition: all 0.3s;
  background-color: var(--primaryBlue);
  border-color: #3FB5DA;
  height: 79px;
  display: flex;
  align-items: center;
  width: 350px;
  justify-content: center;
  margin: 0 auto;
}
#dealers__popup .dealers__popup-footer .popup-btn:hover, 
#dealers__popup .dealers__popup-content .email__view button:hover {
  background-color: #6437d1;
  border-color: #42238C;
}

#dealers__popup .dealers__popup-content .email__view {
  width: 100%;
}
#dealers__popup .dealers__popup-content .email__view span.error {
  font-size: 12px;
  color: red;
  display: none;
  padding: 10px 0 0 5px;
}
#dealers__popup .dealers__popup-content .email__view span.error.active {
  display: block;
}

#dealers__popup .dealers__popup-content .email__view h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: #323663;
}
#dealers__popup .dealers__popup-content .email__view p {
  font-size: 18px;
  line-height: 30px;
  color: #121212;
  text-align: center;
  text-align: center;
  max-width: 95%;
  margin: 0 auto 39px;
}
#dealers__popup .dealers__popup-content .email__view input:not([type="radio"]) {
  color: var(--bodyText);
  font-size: 16px;
  margin-bottom: 16px;
  opacity: 0.6;
  width: 100%;
  border: 1px solid #323663;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 5px;
}
#dealers__popup .dealers__popup-content .email__view input::placeholder {
  color: #1C1C1C;
}
#dealers__popup .dealers__popup-content .email__view .form-buttons {
  margin-top: 23px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
#dealers__popup .dealers__popup-content .email__view .popup-back-link {
  color: #121212;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
/* #dealers__popup .dealers__popup-content .email__view button {
  color: #161616;
  background-color: #E1D9D2;
  border-radius: 100px;
  padding: 8px 32px;
  font-size: 18px;
  font-weight: 600;
  line-height: 30px;
  border: 0;
  cursor: pointer;
} */

#dealers__popup .dealers__popup-content .received__view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#dealers__popup .dealers__popup-content .received__view h2 {
  margin: 20px 0 6px;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: #000;

}
#dealers__popup .dealers__popup-content .received__view p {
  font-size: 18px;
  line-height: 30px;
  color: #161616;
  margin: 0 0 22px;
}

#dealers__popup .dealers__popup-content .received__view button {
  color: #161616;
  background-color: #E1D9D2;
  border-radius: 100px;
  padding: 8px 32px;
  font-size: 18px;
  font-weight: 600;
  line-height: 30px;
  border: 0;
  cursor: pointer;
  margin-bottom: 16px;
  width: 100%;
  max-width: 147px;
}
#dealers__popup .dealers__popup-content .received__view .popup-resend-email {
  color: #7C7C7C;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

#dealers__popup .location-radios {
  margin-bottom: 5px;
}
#dealers__popup .location-radios label {
  font-size: 16px;
  color: #000;
  line-height: 2;
}
#dealers__popup .email__view textarea {
  color: var(--bodyText);
  font-size: 16px;
  margin-bottom: 16px;
  opacity: 0.6;
  width: 100%;
  border: 1px solid #323663;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 5px;
  height: 100px;
  font: 400 16px / 24px 'Open Sans', Helvetica, Arial, sans-serif;
  resize: none;
  margin-bottom: 30px;
  max-width: 100%;
}

body:has(#dealers__popup.active) {
  overflow: hidden;
}

#dealers__popup.hide,
#dealers__popup .dealers__popup-content .default__view.hide,
#dealers__popup .dealers__popup-content .email__view.hide,
#dealers__popup .dealers__popup-content .received__view.hide {
  display: none;
}

@media(max-width: 1600px) {
  #dealers__popup .dealers__popup-content:has(.email__view:not(.hide)) {
    margin-top: 38%;
  }
}

@media (max-width: 767px) {
  #dealers__popup {
      align-items: flex-end;
  }
  #dealers__popup .dealers__popup-heading h2 span {
    font-size: 16px;
  }
  #dealers__popup .dealers__popup-content {
    width: 100%;
    max-width: 100%;
    border-top: 0;
    margin-bottom: 0;
    border-radius: 30px 30px 0 0;
    padding: 60px 30px;
  }
  #dealers__popup .dealers__popup-heading img {
      width: 70px;
  }
  #dealers__popup .dealers__popup-heading h2 {
      font-size: 24px;
      line-height: 32px;
      margin: 22px 0 16px;
  }
  #dealers__popup .dealers__popup-body p {
      font-size: 14px;
      line-height: 24px;
  }
  #dealers__popup .dealers__popup-footer {
      margin-top: 25px;
  }
  #dealers__popup .dealers__popup-footer .popup-btn {
      width: 100%;
      max-width: 100%;
      font-size: 14px;
      line-height: 30px;
      height: 50px;
  }
  #dealers__popup .dealers__popup-footer a {
      font-size: 12px;
  }

  #dealers__popup .dealers__popup-content .email__view h2 {
      line-height: 32px;
      margin: 30px 0 21px;
  }
  #dealers__popup .dealers__popup-content .email__view input {
      font-size: 16px;
      line-height: 30px;
  }
  #dealers__popup .dealers__popup-content .email__view .form-buttons {
      margin-top: 44px;
      flex-direction: column-reverse;
      gap: 12px;
  }
  #dealers__popup .dealers__popup-content .email__view button {
      width: 100%;
      max-width: 100%;
      height: 38px;
      font-size: 14px;
      align-items: center;
      justify-content: center;
      display: flex;
      font-family: 'Inter', 'Trebuchet MS', sans-serif;
  }
  #dealers__popup .dealers__popup-content .email__view .popup-back-link {
      font-size: 12px;
  }


  #dealers__popup .dealers__popup-content .received__view {
      width: 100%;
  }
  #dealers__popup .dealers__popup-content .received__view h2 {
      margin: 30px 0 16px;
  }
  #dealers__popup .dealers__popup-content .received__view p {
      font-size: 14px;
      line-height: 24px;
      max-width: 266px;
      text-align: center;
      margin-bottom: 53px;
  }
  #dealers__popup .dealers__popup-content .received__view button {
      width: 100%;
      max-width: 100%;
      font-size: 14px;
      line-height: 30px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
  }
  #dealers__popup .dealers__popup-content .received__view .popup-resend-email {
      font-size: 12px;
  }


  #dealers__popup:has(.email__view:not(.hide)) {
    overflow: hidden;
  }
  #dealers__popup .dealers__popup-content:has(.email__view:not(.hide)) {
      margin-top: 0;
      padding: 60px 15px 25px;
  }
  #dealers__popup .dealers__popup-content .email__view:not(.hide) {
    height: 75vh;
    overflow: scroll;
  }
  #dealers__popup .dealers__popup-content .email__view:not(.hide) p {
    margin-bottom: 0;
  }
  #dealers__popup .dealers__popup-content .email__view:not(.hide) button {
    height: 43px;
    margin-bottom: 20px;
  }
  #dealers__popup .dealers__popup-content .email__view:not(.hide) h2 {
    margin-bottom: 4px;
  }
  #dealers__popup .dealers__popup-content .email__view:not(.hide) h2 + p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 24px;
    max-width: 270px;
  }
  #dealers__popup .dealers__popup-content .email__view:not(.hide) input:not([type="radio"]) {
    padding: 12px 16px;
    border-radius: 8px;
    line-height: 28px;
    margin-bottom: 8px;
  }
  #dealers__popup .email__view:not(.hide) textarea {
    margin-bottom: 20px;
  }
  #header-banner {
    padding: 0 15px;
  }
  #header-banner h4 {
    flex: 1;
    font-size: 12px;
  }
  #header-banner button {
    font-size: 12px;
    width: 106px;
  }
}
/* End of Popup Styles */