/*
 * Japanese Classics - Child Theme Stylesheet
 * Consolidated from Customizer Additional CSS, template inline styles,
 * and new WooCommerce merchandise store styles.
 */

/* ------------------------------------------------------------------
   Base / Typography
   ------------------------------------------------------------------ */

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
  font-family: "static" !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: none;
  font-weight: 300;
  color: #333;
  letter-spacing: 0;
}

p {
  font-size: 16px;
  line-height: 1.75em;
  color: #000;
}

.black { color: #000000 !important; }

.bold-red h3,
.bold-red h2,
h2.bold-red {
  font-weight: 500 !important;
  color: #a81010 !important;
  text-transform: uppercase;
}

.bold-black h3,
.bold-black h4,
h2.bold-black {
  font-weight: 500 !important;
  color: #000000 !important;
  text-transform: uppercase;
}

.bold-white h2 {
  font-weight: 500 !important;
  color: #ffffff !important;
}

.xbold-red h3,
.xbold-red h2 {
  font-weight: 700 !important;
  color: #a81010 !important;
}

.xbold-black h3,
.xbold-black h4 {
  font-weight: 700 !important;
  color: #000000 !important;
}

.xbold-white h2 {
  font-weight: 700 !important;
  color: #ffffff !important;
}

.xbold-white-xl h1 {
  font-size: 4.5rem;
}

.short-description {
  font-size: 16px;
}

.legalese {
  margin-top: 20px;
  font-size: 14px;
  font-style: italic;
}

.clearfix { clear: both; }
.center { margin: 0 auto; display: block; }
.flex { display: flex; }
.right { text-align: right !important; }
.content-width {
  max-width: 1240px;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
}

/* ------------------------------------------------------------------
   Layout / Enfold Overrides
   ------------------------------------------------------------------ */

.container_wrap { border: none; }

.content {
  border: none !important;
  padding-top: 0;
}

.content,
.sidebar {
  padding: 0px 0;
}

.container {
  padding-top: 10px !important;
}

.footer_color .container,
#header_main .container,
.home .container {
  padding-top: 0 !important;
}

.single-vehicle .container,
.single-product .container,
.archive-product .container {
  padding-top: 40px;
}

.template-vehicle.content .container,
.template-shop .container {
  padding-top: 30px !important;
}

#header_main .widget,
.responsive .container {
  max-width: 1240px !important;
  margin: 0 auto;
  padding: 0;
  width: 100% !important;
}

#header_main {
  border-top: none !important;
  box-shadow: rgb(212, 202, 187) 0px 0px 10px 10px;
}

#header_main .widget .textwidget {
  float: right;
  width: 26%;
}

.html_header_top.html_header_sticky #main {
  padding-top: 143px;
}

.html_header_top.html_header_topbar_active.html_header_sticky #top #main {
  padding-top: 149px;
}

.html_header_top.html_header_sticky #header_main {
  border-bottom: none !important;
}

body .aligncenter {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.full-width > .container {
  max-width: none !important;
  padding: 0px !important;
}

/* ------------------------------------------------------------------
   Header / Navigation
   ------------------------------------------------------------------ */

.av-subheading p {
  font-size: 20px;
  font-weight: 600;
}

.av-main-nav > li > a {
  font-family: "static", sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}

.avia-menu {
  text-transform: uppercase;
}

.avia-standard-logo a {
  display: flex;
}

.avia-standard-logo a img {
  align-self: center;
}

.phone-info div a {
  font-size: 0.9rem;
  color: #a81010 !important;
}

.textwidget .phone {
  float: left;
  width: 120px;
  text-align: right;
}

.textwidget .social-header {
  float: right;
  width: 110px;
  text-align: right;
}

.textwidget img {
  width: 90% !important;
}

.mobile-phone {
  display: none;
}

.title_container .breadcrumb {
  right: 0;
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */

.container_wrap.footer_color {
  border-top: none !important;
  width: 100%;
  margin: 0 auto;
  background: #f3f1ee;
}

.container_wrap.footer_color .container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer_color b {
  font-family: "static", sans-serif !important;
}

#footer .widget {
  margin-top: 20px;
}

#footer .widget .widgettitle {
  margin-top: 0;
}

#footer .widget ul.social_bookmarks {
  display: inline-flex;
}

#top .social_bookmarks li {
  border-right: none;
  width: 45px;
}

#top .social_bookmarks {
  height: 40px;
}

#top .social_bookmarks li a {
  font-size: 25px;
  width: 40px;
  line-height: 37px;
  color: #000;
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */

.button {
  margin: 0 auto;
}

.button.center {
  display: inline-block;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
}

.center-button .button {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
}

.button,
.button-form {
  text-align: center;
  background: #a81010 !important;
  border-radius: 4px;
  padding: 10px 25px;
  font-size: 18px;
  color: #fff;
  display: inline;
}

.button-form {
  margin-right: 0;
  margin-left: auto;
}

.button a,
.button-form a {
  color: #fff !important;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
}

.button.blue {
  background: #00285f !important;
}

button {
  background: none;
  border: none;
}

button#loadMoreVehicles,
button#load-more-vehicles {
  margin: 0 auto;
  display: flex;
  margin-bottom: 30px;
  font-size: 18px;
  padding: 10px 25px;
}

#gform_submit_button_4,
#gform_submit_button_5,
#gform_submit_button_6 {
  text-align: center;
  background: #a81010 !important;
  border-radius: 4px;
  padding: 10px 25px;
  font-size: 18px;
  color: #fff;
  display: inline;
}

#gform_4 .gform_footer,
#gform_5 .gform_footer {
  justify-content: flex-end;
}

/* ------------------------------------------------------------------
   Gravity Forms
   ------------------------------------------------------------------ */

.gform-theme--foundation .gform_fields {
  row-gap: 15px !important;
}

.gfield_label {
  font-size: 18px !important;
  font-weight: 700 !important;
}

.gfield_checkbox {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: wrap !important;
}

#top form {
  margin-bottom: 0px !important;
}

#top legend {
  display: block;
  font-weight: normal;
  font-size: 1em;
  color: #a81010;
}

#top fieldset {
  margin-bottom: 0;
}

body .gform_wrapper .gform_body {
  font-family: "Open Sans", sans-serif;
  color: #000;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label,
body .gform_wrapper .gform_body .gform_fields .gfield .ginput_complex .ginput_left {
  color: #000;
}

span.gfield_required.gfield_required_text {
  margin-left: 5px;
  color: #a81010;
}

div#field_1_6,
div#field_3_10,
div#field_5_10,
div#field_6_4,
div#field_2_10,
div#field_4_10 {
  display: none;
}

div#field_2_10 {
  margin-top: 10px;
}

.vehicle-info {
  margin-bottom: 5px !important;
}

#top .gform_wrapper .gform_body .gform_fields .gfield #input_7_4,
#top .gform_wrapper .gform_body .gform_fields .gfield #input_7_10,
#top .gform_wrapper .gform_body .gform_fields .gfield #input_7_14 {
  max-height: 180px;
}

/* ------------------------------------------------------------------
   Hero / Headline (shared by vehicle and product pages)
   ------------------------------------------------------------------ */

.hero {
  background-size: cover;
  background-position: center;
  height: 65vh;
  display: flex;
  justify-content: right;
  align-items: baseline;
}

.hero-content {
  background: rgba(243, 241, 238, 0.75);
  padding: 20px 15px 10px;
}

.hero-info {
  border-bottom: 1px solid;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-family: "static", sans-serif;
  font-weight: 700;
}

.hero-info:last-child {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero-info h4 {
  color: #a81010 !important;
  text-align: left;
  margin-top: 0px;
  margin-bottom: 5px;
  font-weight: 700;
}

.hero-info p {
  color: #000;
  margin-bottom: 0;
  text-align: left;
  margin-top: 1%;
}

.mobile-hero-content {
  display: none;
}

section.headline {
  width: 100%;
  padding: 25px 0 30px;
  background: #f3f1ee;
  position: sticky;
  top: 0;
}

.headline-content,
.features-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.headline-content.headline-ctas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: unset;
  column-gap: 30px;
  row-gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.headline-ctas .button {
  margin: 0px;
}

.headline-right .button {
  margin-top: 20px;
  display: block;
}

.vehicle-title,
.product-title {
  font-family: "static", sans-serif;
  font-weight: 800 !important;
  color: #a81010 !important;
}

.price {
  font-family: "static", sans-serif;
  font-weight: 800 !important;
  color: #000 !important;
}

.stock {
  color: #a81010;
  font-weight: 700;
  font-size: 20px !important;
}

.body-teaser {
  font-weight: 700;
  color: #58595b;
  font-size: 20px !important;
  line-height: 1.5em !important;
}

h2.teaser {
  margin-top: 20px;
  font-family: "static", sans-serif;
  font-weight: 500;
  color: #000 !important;
}

/* ------------------------------------------------------------------
   Vehicle / Inventory Grid
   ------------------------------------------------------------------ */

.vehicle a {
  overflow: visible !important;
  height: 100%;
}

.vehicle-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.vehicle {
  background: #f3f1ee;
  margin-bottom: 40px;
  border-radius: 0px 0px 10px 10px;
  text-align: center;
  border: 1px solid;
  border-color: #f3f1ee !important;
}

.owl-item .vehicle {
  border: none;
  margin-bottom: 0px;
}

.vehicle img {
  width: 100%;
}

.vehicle h3 {
  font-weight: 700;
  margin: 0 2% 5px;
  font-size: 24px;
  font-family: "static";
  padding: 0 3%;
}

.vehicle .vehicle-price,
.vehicle .vehicle-price strong,
.vehicle-price {
  color: #f3f1ee;
  background: #a81010;
  padding: 2px 6px;
  min-width: 230px;
  align-self: center;
  font-size: 18px;
}

.vehicle_price {
  text-align: center;
  margin: 2% auto 0;
}

.vehicle_price strong {
  font-size: 14px;
  color: #333;
}

.short-description,
.short-description strong {
  color: #000;
  font-size: 18px;
  padding: 0 3%;
}

.short-description {
  padding-bottom: 25px;
}

.inventory-mileage {
  color: #000;
  font-weight: 700;
  font-size: 16px;
}

.inventory li .avia-button-wrap {
  padding-bottom: 50px;
}

.vehicle-ajax-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: unset;
  column-gap: 30px;
}

.inventory {
  margin: 0;
  padding: 0;
}

.vehicle.sign-up {
  border: 5px solid #a81010 !important;
}

.sign-up-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
}

.sign-up.header {
  margin-top: 30px;
  margin-bottom: 10px;
}

.sign-up.subheader h4 {
  color: #000;
  font-size: 18px;
  padding: 5px 45px;
  font-family: "Open Sans", sans-serif !important;
}

.sign-up.subheader {
  margin-bottom: 15px;
}

.sign-up.img {
  margin-top: auto;
}

section.headline.shop-cars {
  padding-bottom: 20px;
}

/* ------------------------------------------------------------------
   Inventory Filters / AJAX Pagination
   ------------------------------------------------------------------ */

.inventory-filters {
  margin-bottom: 30px;
}

.filter-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.manufacturer-dropdown {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  min-width: 200px;
}

.reset-filter-button a {
  padding: 8px 16px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s;
}

.reset-filter-button a:hover {
  background-color: #e0e0e0;
}

.reset-filter-button {
  margin-left: 15px;
}

.reset-filter-button a {
  text-decoration: none;
  color: #666;
  font-size: 0.9em;
}

.reset-filter-button a:hover {
  text-decoration: underline;
}

select#manufacturer-filter {
  margin-top: 10px;
  margin-bottom: 10px;
}

.inventory-content-wrapper {
  position: relative;
  min-height: 400px;
}

.inventory {
  position: relative;
}

.inventory-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(2px);
}

.inventory-loader-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loader-content {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #a81010;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #a81010;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  color: #a81010;
  font-weight: 500;
  font-size: 16px;
  margin: 0;
}

#loading-spinner {
  display: none !important;
}

.vehicle-ajax-container {
  transition: opacity 0.2s ease;
}

.vehicle-ajax-container.loading {
  opacity: 0.7;
}

.ajax-pagination-wrapper {
  margin: 30px 0;
  text-align: center;
}

.ajax-pagination {
  display: inline-block;
  text-align: center;
}

.pagination-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.pagination-item {
  margin: 0;
}

.pagination-link {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  min-width: 40px;
  text-align: center;
}

.pagination-link:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}

.pagination-link.pagination-current {
  background-color: #a81010;
  color: #fff;
  border-color: #a81010;
  cursor: default;
}

.pagination-link.pagination-current:hover {
  background-color: #a81010;
  border-color: #a81010;
}

.pagination-link.loading {
  opacity: 0.6;
  cursor: not-allowed;
}

.pagination-ellipsis span {
  padding: 8px 4px;
  color: #666;
}

.pagination-prev,
.pagination-next {
  font-weight: 500;
}

.no-vehicles-found,
.ajax-error {
  padding: 30px;
  text-align: center;
  background: #f9f9f9;
  border: 1px solid #eee;
  margin: 20px 0;
}

.ajax-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* ------------------------------------------------------------------
   Single Vehicle
   ------------------------------------------------------------------ */

.single-vehicle .entry-content-wrapper {
  padding-right: 0px;
}

.vehicle-gallery {
  clear: both;
  margin-left: 0;
}

.vehicle-gallery li {
  float: left;
  margin: 0 2% 3% 0;
  width: 18%;
  list-style-type: none;
}

.single-vehicle .f-img {
  margin: 0 0 3%;
  width: 100%;
}

.f-img {
  position: relative;
}

.thumb {
  position: relative;
  padding-bottom: 5%;
}

.thumb .seal {
  --f: 10px;
  --r: 15px;
  --t: 10px;

  position: absolute;
  inset: var(--t) calc(-1 * var(--f)) auto auto;
  padding: 0 10px var(--f) calc(10px + var(--r));
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--f)),
    calc(100% - var(--f)) 100%,
    calc(100% - var(--f)) calc(100% - var(--f)),
    0 calc(100% - var(--f)),
    var(--r) calc(50% - var(--f) / 2)
  );
  background: #a81010;
  box-shadow: 0 calc(-1 * var(--f)) 0 inset #0005;
  color: #f3f1ee;
  font-size: 20px;
}

.single-vehicle .f-img.alignright {
  float: none;
  width: 100%;
  margin: 0 auto;
}

.vehicle_long_description {
  margin-right: 3%;
}

.vehicle_long_description h3 {
  margin-top: 20px;
}

.vehicle_long_description_wrapper {
  width: 95% !important;
  margin-bottom: 30px;
}

.vehicle-gallery li a img {
  width: 100%;
  margin-bottom: 10px;
}

.content-legacy p:first-child {
  display: none;
}

.content-legacy p:last-child {
  font-size: 14px;
  font-style: italic;
}

section.content-split.flex {
  margin: 25px 0;
}

section.content-split.flex > div {
  width: 50%;
  justify-self: center;
}

.img-container {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.gallery-container {
  max-width: 1250px;
  margin: 0 auto;
}

/* ------------------------------------------------------------------
   Vehicle masonry gallery + GLightbox
   ------------------------------------------------------------------ */

.vehicle-masonry-grid {
  margin: 0 auto;
}

.vehicle-masonry-grid::after {
  content: '';
  display: block;
  clear: both;
}

.vehicle-masonry-item {
  display: block;
  float: left;
  width: calc((100% - 32px) / 3);
  margin-bottom: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vehicle-masonry-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.vehicle-masonry-item img {
  display: block;
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 991px) {
  .vehicle-masonry-item {
    width: calc((100% - 16px) / 2);
  }
}

@media only screen and (max-width: 575px) {
  .vehicle-masonry-item {
    width: 100%;
    margin-bottom: 12px;
  }
}

.single-vehicle .video {
  background: url(//japaneseclassics.com/wp-content/uploads/2015/11/shadow.jpg)
    center bottom no-repeat;
  padding-bottom: 6%;
  margin-bottom: 4%;
}

.single-vehicle .f-img .video {
  background: none;
}

.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.video iframe,
.video object,
.video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------------------------------
   Sell Features / Test Drive / Shipping
   ------------------------------------------------------------------ */

.sell-features .features-wrapper > div {
  padding: 25px;
  background: #f3f1ee;
}

.features-wrapper {
  padding: 35px 0 0;
  gap: 25px;
}

section.sell-features {
  margin-bottom: 20px;
}

#shipping-tour {
  margin-bottom: 50px;
}

.sell-features h3,
.shipping-form h3,
.live-tour h3 {
  color: #a81010 !important;
  font-family: "static", sans-serif;
  font-weight: 700;
}

.odometer {
  margin-right: 10%;
}

.odometer-content.flex {
  justify-content: center;
  align-items: center;
}

.atl-content {
  width: 80%;
}

.atl-img {
  width: 70%;
}

.shipping-quote,
.live-tour {
  max-width: 1240px;
  margin: 0 auto;
  clear: both;
}

.tour-form .flex {
  justify-content: space-between;
}

.tour-form .img {
  width: 35%;
}

/* ------------------------------------------------------------------
   Home Page / Builder
   ------------------------------------------------------------------ */

.home .avia-builder-el-1 h2 {
  float: left;
  width: 75%;
  text-transform: none;
  font-weight: 100 !important;
  font-size: 22px;
  text-align: right;
  padding: 0 0 0.2em 0;
  line-height: 1.2;
  font-weight: normal;
  letter-spacing: 0px;
  color: #333;
  margin-bottom: 20px;
}

.home .avia-builder-el-1 .avia-button-wrap.avia-builder-el-3 {
  float: right;
  width: 20%;
  clear: none;
}

.home .avia-builder-el-1 .avia-button-wrap.avia-builder-el-3 .avia-button.avia-size-small {
  padding: 16px;
}

.home .avia-builder-el-4 h2 {
  float: left;
  width: 45%;
  text-transform: none;
  font-weight: 100 !important;
  font-size: 22px;
  text-align: right;
  padding: 0 0 0.2em 0;
  line-height: 1.2;
  font-weight: normal;
  letter-spacing: 0px;
  color: #333;
  margin-bottom: 20px;
}

.home .avia-builder-el-4 p.video-thumb {
  float: right;
  width: 51%;
  clear: none;
  margin-top: 0;
}

.home .avia-builder-el-4 .avia-button-wrap.avia-builder-el-3 .avia-button.avia-size-small {
  padding: 16px;
}

.home .container {
  padding-top: 0 !important;
}

.home-hero h1,
.home-hero h3 {
  font-family: "static";
  color: #fff !important;
}

.home-hero h1 { font-weight: 700 !important; }
.home-hero h3 { font-weight: 500 !important; }

.home-icon img {
  max-width: 120px;
}

.av-special-heading {
  margin-top: 0px !important;
}

h2.av-special-heading-tag {
  margin-top: 40px !important;
}

.special-heading-border {
  display: none;
}

.av_one_full .avia_textblock p {
  margin-top: 0 !important;
}

.avia-smallarrow-slider-heading {
  position: absolute;
  top: 8px;
  right: 14px;
}

.avia-content-slider-inner p {
  margin-top: 0;
}

.avia-content-slider {
  margin-bottom: 10px;
}

.avia-testimonial-markup-entry-content p {
  font-size: 20px;
  font-weight: 700;
}

.avia-testimonial_inner {
  margin-top: 45px;
}

#top .avia-slider-testimonials.av-slideshow-ui.av-control-default .avia-slideshow-arrows a {
  border-radius: 0 !important;
  opacity: 1;
}

.wp-caption-text,
#top .wp-caption .wp-caption-dd {
  font-size: 140%;
  font-weight: bold;
  text-align: left;
}

.togglecontainer.avia-builder-el-6 {
  padding-top: 0;
  margin-top: 0;
}

.avia-builder-el-13.togglecontainer {
  padding-bottom: 90px;
}

.avia-builder-el-15.togglecontainer {
  border-bottom: 0;
}

.alternate_color strong,
.main_color strong {
  color: #333;
}

.main_color .toggler {
  background: #f5f5f5;
}

body .main_color .avia-color-theme-color-subtle {
  background: #f8311c;
}

.page-id-18 .avia-builder-el-4 h2 {
  color: #fff !important;
}

.page-id-21#top .avia-button-fullwidth {
  width: 90%;
  font-size: 14px;
}

.page-id-21#top .avia-button-fullwidth .avia-button-fullwidth {
  width: 100%;
}

.av_one_third.avia-builder-el-last h3.right {
  font-size: 24px;
  margin-top: 10px;
}

/* ------------------------------------------------------------------
   Interior Pages
   ------------------------------------------------------------------ */

.interior-header {
  padding-top: 30px;
  padding-bottom: 0px !important;
  font-family: "static" !important;
}

.interior-header h1 {
  font-weight: 700 !important;
  font-family: "static";
}

.interior-icon {
  max-width: 125px;
}

section.reviews {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

section.reviews img {
  width: 30%;
  margin: 0 auto 30px;
}

section.reviews .button {
  margin: 0 auto 30px;
}

/* ------------------------------------------------------------------
   Dividers / Misc
   ------------------------------------------------------------------ */

div.hr-custom.hr-center {
  background: none;
  padding-bottom: 4%;
  border: none;
  border-bottom: 1px solid #dadada;
  height: 1px;
  padding-top: 0;
  margin-top: 0;
  min-height: 1px;
}

.hr-inner {
  border: none;
}

.textwidget .social-header img {
  float: none;
  text-align: center;
  margin: 0 3px;
}

/* ------------------------------------------------------------------
   Owl Carousel
   ------------------------------------------------------------------ */

.owl-stage {
  display: flex;
}

.owl-item {
  display: flex;
  flex: 1 0 auto;
  height: auto;
}

.owl-item .vehicle-price {
  width: 100%;
  border-radius: 0px 0px 10px 10px;
}

.owl-prev,
.owl-next {
  width: 45px;
  height: 100px;
  position: absolute;
  top: 30%;
  display: block !important;
  border: 0px solid black;
  overflow: visible;
}

.owl-prev {
  margin-left: -45px;
}

.owl-next {
  right: -45px;
}

.owl-prev i,
.owl-next i {
  transform: scale(2, 1.5);
  color: #f3f1ee;
  background: #a81010;
  border-radius: 50%;
  padding: 2px 3px;
}

.owl-dots {
  display: none;
}

/* ------------------------------------------------------------------
   Inventory Alerts
   ------------------------------------------------------------------ */

.inventory-alerts {
  color: #fff;
  text-align: center;
  background-color: #a81010;
  text-transform: uppercase;
  padding: 5px 0px;
  text-decoration: none;
}

.inventory-alerts a {
  color: #fff !important;
  text-decoration: none;
}

/* ------------------------------------------------------------------
   Exit Modal
   ------------------------------------------------------------------ */

.exit-popup-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: left;
}

.exit-popup-wrapper {
  position: relative;
  top: 10%;
  bottom: 10%;
  display: block;
  width: 100%;
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  padding: 40px;
  background-color: #f3f1ee;
}

.exit-popup-close {
  position: absolute;
  top: 0px;
  right: 0px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #f3f1ee;
  background-color: #a81010;
  padding: 0px 15px;
}

.exit-popup-close:hover {
  color: #f3f1ee;
}

.ep-paragraph {
  padding-bottom: 10px;
}

.exit-popup-wrapper .heading {
  margin-bottom: 25px;
}

/* ------------------------------------------------------------------
   WooCommerce Merchandise Store
   ------------------------------------------------------------------ */

/* Remove the large white band above the product header and keep it below the sticky site header. */
.single-product #main {
  padding-top: 0 !important;
}

.html_header_top.html_header_sticky .single-product .headline {
  padding-top: calc(var(--enfold-header-height, 129px) + 30px);
}

.single-product .container_wrap main.content,
.single-product .container_wrap.sidebar_right main.content {
  width: 100% !important;
  float: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: none !important;
}

.single-product .content .entry-content-wrapper {
  padding-right: 0 !important;
}

.single-product .container {
  max-width: 1200px !important;
}

.woocommerce .single-product .headline,
.woocommerce-page .single-product .headline {
  width: 100%;
  padding: 20px 0;
  background: #f3f1ee;
  position: relative;
  top: auto;
}

.woocommerce .single-product .headline-content,
.woocommerce-page .single-product .headline-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.woocommerce .single-product .product_title,
.woocommerce-page .single-product .product_title {
  font-family: "static", sans-serif;
  font-weight: 800 !important;
  color: #a81010 !important;
}

.woocommerce .single-product .price,
.woocommerce-page .single-product .price,
.woocommerce .single-product .product .price,
.woocommerce-page .single-product .product .price {
  font-family: "static", sans-serif;
  font-weight: 800 !important;
  color: #000 !important;
  font-size: 24px;
}

.woocommerce .single-product .headline-left .product-title,
.woocommerce-page .single-product .headline-left .product-title {
  font-size: 30.6px;
}

.woocommerce .single-product .headline-right .price,
.woocommerce-page .single-product .headline-right .price {
  font-size: 26.4px;
}

.woocommerce .single-product .button,
.woocommerce .single-product .button.alt,
.woocommerce .single-product .single_add_to_cart_button,
.woocommerce-page .single-product .button,
.woocommerce-page .single-product .button.alt,
.woocommerce-page .single-product .single_add_to_cart_button,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  text-align: center;
  background: #a81010 !important;
  border-radius: 4px;
  padding: 10px 25px;
  font-size: 18px;
  color: #fff !important;
  display: inline-block;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
}

.woocommerce .single-product .button:hover,
.woocommerce .single-product .button.alt:hover,
.woocommerce .single-product .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #8a0d0d !important;
  color: #fff !important;
}

.woocommerce .single-product .summary,
.woocommerce-page .single-product .summary {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px;
}

.woocommerce .single-product .product-content,
.woocommerce-page .single-product .product-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.woocommerce .single-product .product-media,
.woocommerce-page .single-product .product-media {
  background: #fff;
  padding: 40px 0;
}

.woocommerce .single-product .product-media-inner,
.woocommerce-page .single-product .product-media-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 0 20px;
}

.woocommerce .single-product .product-image-main,
.woocommerce-page .single-product .product-image-main {
  flex: 0 0 calc(30% - 20px);
  max-width: 360px;
  min-width: 0;
}

.woocommerce .single-product .product-image-main img,
.woocommerce-page .single-product .product-image-main img {
  width: 100%;
  height: auto;
  display: block;
}

.woocommerce .single-product .product-media .product-body,
.woocommerce-page .single-product .product-media .product-body {
  flex: 0 0 calc(70% - 20px);
  max-width: 840px;
  min-width: 0;
}

.woocommerce .single-product .product-gallery,
.woocommerce-page .single-product .product-gallery,
.woocommerce .single-product .product-gallery #vehicle-gallery,
.woocommerce-page .single-product .product-gallery #vehicle-gallery {
  max-width: 100%;
}

.woocommerce .single-product .product-media .product-summary,
.woocommerce-page .single-product .product-media .product-summary {
  max-width: none;
  margin: 0;
  padding: 0;
}

.woocommerce .single-product .product-gallery,
.woocommerce-page .single-product .product-gallery {
  padding-top: 40px;
}

.woocommerce .single-product .woocommerce-product-gallery,
.woocommerce-page .single-product .woocommerce-product-gallery {
  margin-bottom: 30px;
}

.woocommerce .single-product .woocommerce-tabs,
.woocommerce-page .single-product .woocommerce-tabs,
.woocommerce .single-product .woocommerce-Tabs-panel,
.woocommerce-page .single-product .woocommerce-Tabs-panel,
.woocommerce .single-product .woocommerce-product-attributes,
.woocommerce-page .single-product .woocommerce-product-attributes {
  font-size: 16px;
  color: #000;
}

.woocommerce .single-product .woocommerce-tabs ul.tabs,
.woocommerce-page .single-product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid #dadada;
}

.woocommerce .single-product .woocommerce-tabs ul.tabs li a,
.woocommerce-page .single-product .woocommerce-tabs ul.tabs li a {
  color: #333;
  font-family: "static", sans-serif;
  font-weight: 500;
}

.woocommerce .single-product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-page .single-product .woocommerce-tabs ul.tabs li.active a {
  color: #a81010;
}

.woocommerce .single-product .related.products h2,
.woocommerce-page .single-product .related.products h2,
.woocommerce .single-product .upsells.products h2,
.woocommerce-page .single-product .upsells.products h2 {
  font-family: "static", sans-serif;
  color: #a81010;
  font-weight: 700;
}

/* Shop / Archive */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #f3f1ee;
  border-radius: 0px 0px 10px 10px;
  text-align: center;
  border: 1px solid #f3f1ee;
  padding-bottom: 20px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce-page ul.products li.product .woocommerce-loop-category__title {
  font-family: "static", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #000;
  padding: 0 3%;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  color: #f3f1ee;
  background: #a81010;
  padding: 2px 6px;
  min-width: 230px;
  font-size: 18px;
  display: inline-block;
  margin: 10px auto;
}

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  margin: 0 auto;
  display: inline-block;
}

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
  width: 100%;
  display: block;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering,
.woocommerce-page .woocommerce-result-count {
  color: #000;
  font-size: 16px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-page .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a,
.woocommerce-page .woocommerce-breadcrumb a {
  color: #333;
  font-size: 14px;
}

.woocommerce .woocommerce-notices-wrapper,
.woocommerce-page .woocommerce-notices-wrapper {
  max-width: 1240px;
  margin: 0 auto;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  border-radius: 4px;
  font-size: 16px;
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: #a81010;
}

.woocommerce-error {
  border-top-color: #a81010;
  color: #a81010;
}

.woocommerce span.onsale {
  background: #a81010;
  color: #fff;
  border-radius: 0;
  text-transform: uppercase;
  font-family: "static", sans-serif;
  font-weight: 700;
}

.woocommerce form.cart .variations label,
.woocommerce form.cart .single_variation_wrap .price,
.woocommerce .quantity .qty {
  color: #000;
  font-size: 16px;
}

.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart .quantity input,
.woocommerce .woocommerce-ordering select,
.woocommerce select,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce textarea {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
  color: #000;
}

.woocommerce table.shop_table,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  border-color: #dadada;
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media only screen and (max-width: 1240px) {
  .headline-content,
  .features-wrapper,
  .tour-form {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 1024px) {
  .vehicle-ajax-container,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-hero-content {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 20px;
  }

  .hero-info {
    width: 45%;
    margin-right: 5%;
  }

  .hero-info:last-child {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .hero {
    height: 45vh;
  }

  .hero-content {
    display: none;
  }

  section.headline {
    padding: 20px;
  }

  .single-vehicle #main .container,
  .single-product #main .container {
    padding: 0 20px;
  }

  .features-wrapper {
    flex-direction: column;
    justify-content: space-between;
  }

  .shipping-quote {
    margin: 0 20px;
  }

  #footer .container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    flex-wrap: wrap;
  }

  #footer .flex_column {
    float: none;
  }

  #footer .av_one_fourth {
    width: 50%;
    margin: 0;
  }

  .atl-img {
    width: 50%;
    margin: 0 auto;
  }

  .atl-content {
    width: 100%;
  }

  .tour-form .img {
    width: 45%;
  }

  .owl-item {
    height: 380px;
  }
}

@media only screen and (max-width: 768px) {
  .vehicle-ajax-container,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(1, 1fr);
  }

  .vehicle_long_description_wrapper {
    width: 95% !important;
    margin-bottom: 30px;
  }

  .vehicle-gallery li a img {
    width: 100%;
    margin-bottom: 10px;
  }

  .vehicle-gallery li {
    float: none;
    width: 100%;
    margin: 0 auto;
  }

  .vehicle_long_description {
    width: 100%;
    padding-bottom: 20px;
  }

  .single-vehicle .f-img.alignright {
    float: none;
    width: 100%;
    margin: 0 auto;
  }

  #container .f-img .seal {
    width: 50px;
    height: 50px;
    background-size: 50px 50px;
  }

  .mobile-hero-content {
    flex-direction: column;
    margin-top: 10px;
  }

  .hero {
    height: 30vh;
  }

  .hero-info {
    width: 100%;
  }

  .hero-info:last-child {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .headline-content,
  .single-product .headline-content,
  .content-split {
    flex-direction: column;
  }

  .woocommerce .single-product .product-media-inner,
  .woocommerce-page .single-product .product-media-inner {
    flex-direction: column;
    gap: 30px;
  }

  .woocommerce .single-product .product-image-main,
  .woocommerce-page .single-product .product-image-main,
  .woocommerce .single-product .product-media .product-body,
  .woocommerce-page .single-product .product-media .product-body {
    flex: 0 0 auto;
    max-width: 100%;
  }

  section.content-split.flex > div {
    width: 100%;
    min-height: 260px;
  }

  .features-wrapper {
    padding: 35px 20px 0;
  }

  .odometer {
    margin-bottom: 30px;
  }

  .odometer-content {
    flex-direction: column;
  }

  .button-form {
    margin: 0;
  }

  .img-container div:last-child {
    display: none;
  }

  #footer .container {
    flex-direction: column;
  }

  #footer .av_one_fourth {
    width: 100%;
    margin: 0;
  }

  #footer .widget {
    margin: 10px 0;
  }

  .headline-content.headline-ctas {
    grid-template-columns: repeat(1, 1fr);
  }

  .xbold-white-xl h1 {
    font-size: 2.5rem;
  }

  #top .gform_wrapper .gform_body .gform_fields .gfield #input_7_4,
  #top .gform_wrapper .gform_body .gform_fields .gfield #input_7_10,
  #top .gform_wrapper .gform_body .gform_fields .gfield #input_7_14 {
    max-height: 340px;
  }

  #footer .flex_column.av_one_third {
    margin-bottom: 0px !important;
  }

  .filter-container {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .manufacturer-dropdown {
    min-width: auto;
    width: 100%;
  }

  .pagination-list {
    gap: 3px;
  }

  .pagination-link {
    padding: 6px 8px;
    font-size: 13px;
    min-width: 35px;
  }

  .pagination-prev,
  .pagination-next {
    padding: 6px 10px;
  }

  .loader-content {
    padding: 20px;
    margin: 0 15px;
  }

  .loader-text {
    font-size: 14px;
  }

  .tour-form .img {
    width: 100%;
  }

  .img-container {
    flex-direction: column;
  }

  .mobile-no-bottom-margin {
    margin-bottom: 0px !important;
  }

  .widget {
    text-align: center;
  }

  #footer .widget ul.social_bookmarks {
    display: flex;
    width: 100px;
    margin: 0 auto;
  }

  .responsive #top #wrap_all .container {
    max-width: 90% !important;
  }

  .home .avia-builder-el-1 h2,
  .home .avia-builder-el-4 h2,
  .home .avia-builder-el-1 .avia-button-wrap.avia-builder-el-3,
  .home .avia-builder-el-4 p.video-thumb {
    float: none;
    width: 100%;
    text-align: center;
  }

  .col1,
  .col2 {
    float: none;
    width: 100%;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  li.vehicle.av_one_third,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100%;
    float: none;
    margin: 0 auto !important;
  }

  #header_main .widget .textwidget {
    float: none;
    width: 100%;
  }

  .mobile-phone {
    display: block;
    text-align: center;
    font-size: 20px;
  }

  .phone {
    display: none !important;
  }

  .textwidget .social-header {
    float: none;
    margin: 4px auto;
    width: 100%;
    text-align: center;
  }

  .single .waves {
    display: none;
  }
}

.html_visible_cart .cart_dropdown {
  padding: 0;
}
