/* --- VDP (single-gtcd) mobile font bump: Sale Price, Amount Financed, TIER, promo --- */
@media (max-width: 767px){
  .side-main .vdp-saleprice-main .vdp-sp-label {
    font-size: 17px !important;          /* KNOB: "SALE PRICE" label (was 14) */
  }
  .side-main .vdp-saleprice-main .vdp-sp-amount {
    font-size: 34px !important;          /* KNOB: "$17,490" (was 30) */
  }
  .detail-page-content .lbl {
    font-size: 17px !important;          /* KNOB: "AMOUNT FINANCED" label (was 14) */
  }
  .side-main .vdp-saleprice-main ~ .lbc,
  .side-main .vdp-saleprice-main ~ .lbp {
    font-size: 23px !important;          /* KNOB: "$ 14,795" (was 20) */
  }
  ul.tier-wrap.single-tier li.tier,
  ul.tier-wrap.single-tier li.tier span,
  .single-tier .tier,
  .single-tier .tier span {
    font-size: 24px !important;          /* KNOB: "TIER - 4" (was 18) */
  }
  .side-main sup.dpay-offer {
    font-size: 16.5px !important;        /* KNOB: "$300 Off Down Payment..." line (was 13.5) */
  }
}

@media (min-width: 1280px) {
  .metaslider .slides img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
    display: block;
  }
}
.left-tests {
  top: -334px;
  line-height: 38px;
  padding: 0.4%;
}

.left-tests h2 {
  color: #000;
  font-weight: bold;
  font-size: 30px;
}

.left-tests ul {
  margin-top: 16px;
  margin-left: 0;
}
.left-tests li {
  color: #fff;
  font-weight: normal;
  font-size: 15px;
  line-height: 24px;
  padding-left: 30px;
  background: url(images/banner-list.png) 3px 4px no-repeat;
}
.right-tests {
  position: absolute;
  top: auto !important;
  right: 0px !important;
  bottom: 5px !important;
  width:44%;
}
.get-started-form {
  width: 86% !important;
  padding: 2% 6% !important;
}
.get-started-form input[type="email"], .get-started-form input[type="text"] {
  width: 98%;
}
}

@media (min-width: 1600px) {
  .right-tests {
    position: absolute;
    top: auto !important;
    right: 0px !important;
    bottom: 26px !important
  }
  .left-tests {
    top:-385px !important;
    line-height: 38px;
    padding: 0.4%;
  }

}

@media (max-width: 1390px) {
  .right-tests {
    position: absolute;
    top: auto !important;
    right: 0px !important;
    bottom: 5px !important;
    width:39%;
  }
  .left-tests {
    top: -309px;
    line-height: 38px;
    padding: 0.4%;
  }

}

@media (max-width: 1279px) {
  .form_over_banner {
    float: left;
    background: transparent !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  #content {
    width: 100% !important;
  }

  .metaslider .slides img {
    width: 100% !important;
    display: block;
    min-height: 1px !important;
    float: right;
  }
  .get-started-form {
    width: 96% !important;
    padding: 0% 2% !important;
  }
  .right-tests {
    position: absolute;
    top: auto !important;
    right: 0px !important;
    bottom: 2px !important;
    width: 33%;
  }
  .promo img{
    padding:0px;
  }
  .left-tests {
    top: -270px;
    line-height: 38px;
    padding: 0.4%;
  }
}

@media (max-width: 1100px) {
  .right-tests {
    position: absolute;
    top: auto !important;
    right: 0px !important;
    bottom: 2px !important;
    width: 29.4%;
  }
  .left-tests {
    top: -249px;
    line-height: 38px;
    padding: 0.4%;
  }
}

@media (max-width: 1040px) {
  #megaMenu ul.megaMenu > li.menu-item > a, #megaMenu ul.megaMenu > li.menu-item > span.um-anchoremulator {
    font-size: 15px;
    color: #ffffff;
    padding: 12px 10px 12px 10px !important;
    font-weight: normal;
    border-left: 1px solid #2eb580;
  }
  .call_to_action-left {
    width: 60%;
  }
  .call_to_action h2 {
    font-size: 16px;
  }
  .call_to_action h1 {
    font-size: 18px;
  }
  .call_to_action-right {
    width: 37%;
  }
  .popup-search-link span {
    font-size: 17px;
  }
  .boxes2 {
    width: 20%;
    padding: 3.5% 1% 5% 1%;
    margin: 0 4%;
    min-height: 333px;
  }
  .right-sb .inner-side-bar {
    width: 28%;
    padding: 0px 1%;
  }
  .left-sb .inner-side-bar {
    width: 28%;
    padding: 0px 1%;
  }
  .left-sb .inner-first {
    padding: 0;
  }
  .inner-static-page-content-form {
    width: 60%;
  }
  #form-content .banner-side {
    width: 37%;
    padding-left: 2%;
  }
  #filtermain {
    width: 95.5%;
  }
  #filtermain .filt-2 {
    width: 25%;
  }
  #filtermain .filt-3 {
    width: 28%;
  }
  #carList .new-arrivals-list {
    width: 99.5%;
  }
  .detail-page-content .main-options .main-options-box .main-options-list li {
    display: inline-block;
    width: 40%;
    padding-left: 7%;
    float: left;
  }
  .detail-page-content .main-options .main-options-box .main-options-list {
    width: 58%;
    margin: 0 2% 0 0;
  }
  .car-details-tabs .tabs {
    margin: -37px 0px 20px 1%;
    width: 99%;
    float: left;
  }
}

@media (max-width: 1023px) {

  .left-tests, .right-tests {
    position: static !important;
    width: 40%;
    margin: 2% 3%;
    height: auto;
    float: left;
    min-height: 180px;
    background: #fff;
    padding: 1.8%;
    border-radius: 10px;
  }
  .left-tests h3 {
    color: #008752;
  }
  .left-tests ul {
    color: #000;
    margin: 10px 0 0 10px;
    font-weight: normal;
  }
  .advantage i{
    display:none;
  }
  .advantage.video {
    margin-left: 5%;
  }
}

@media (max-width: 990px) {
  .car-box img {
    border-left: 5px solid #fff;
    border-right: 5px solid #fff;
    width: 94%;
    height: auto;
  }
		.page-template-articles .inner-first, .page-template-blog-php .inner-first {
    width: 40%;
    float: none;
    display: flex;
    flex-direction: column;
    margin: 0 1%;
    border: 1px solid #ddd;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}
}

@media only screen and (max-width: 2900px) and (min-width: 768px){
  .detail-page-content .big-view {
    height: 328px !important;
  }

}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }
  .logo-nav {
    width: 100%;
    text-align: center;
  }
  .head_right {
    float: left;
    text-align: center;
    width: 100%;
  }
  .nav_top_links {
    margin-bottom: 13px;
    margin-top: 0px;
    line-height: 25px;
    float: none;
    display: inline-block;
    text-align: center;
  }
  .nav_top_links li {
    display: inline;
    padding: 3px;
    float: none;
  }
  #megaMenu #megaMenuToggle {
    display: block;
    color: #fff;
    font-size: 18px;
  }
  #megaMenu.megaResponsive ul.megaMenu>li.menu-item{width:100%;}
  /*
  #megaMenu.megaMenuHorizontal ul.megaMenu > li.menu-item.ss-nav-menu-mega > ul.sub-menu-1, #megaMenu.megaMenuHorizontal ul.megaMenu li.menu-item.ss-nav-menu-reg>ul.sub-menu{
    display:block !important;
    position:relative;
  }*/

  #megaMenu ul li.menu-item.ss-nav-menu-reg ul.sub-menu li.menu-item > a, #megaMenu ul li.menu-item.ss-nav-menu-reg ul.sub-menu li.menu-item>span.um-anchoremulator{
    padding-left:5%;
    background:#32b984;
  }
  .left-tests, .right-tests {
    width: 90%;
    min-height: 0;
  }
  .call_wrap {
    background: #66267d;
    float: left;
    text-align: center;
  }
  .call_to_action {
    float: left;
    padding: 2%;
  }
  .call_to_action-left {
    float: left;
    width: 100%;
    padding: 0;
    border-right: 0px;
    text-align: center;
  }
  .call_to_action h2 {
    font-size: 20px;
  }
  .call_to_action-right {
    width: 90%;
    padding: 0 5%;
    margin: 0;
  }
  .popup-search-link {
    margin: 0;
  }
  .boxes1, .boxes2 {
    width: 90%;
    border-bottom: 1px dashed #999;
    padding: 2% 2% 6% 2%;
    margin: 0 3%;
    min-height: 0;
  }
  .arrivals-link .image-container img, .tricol-product-list li .image-container img, .tricol-product-list li .image-container {
    width: 100% !important;
    padding: 0px !important;
    height: auto !important;
  }
  .tricol-product-list li.new-arrivals-list p {
    display: inline !important;
  }
  .tricol-product-list p strong {
    text-align: center;
  }
  .meta-style {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
  }
  .price-style {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }
  .arrivals-link {
    float: left;
  }
  .tricol-product-list li .image-container {
    height: auto !important;
    width: 90% !important;
    padding: 0px !important;
    text-align: center;
    margin: 5%;
    display: block;
  }
  .inner-page-title h1 {
    font-style: normal;
    text-align: center;
    font-weight: bold;
    padding: 15px 0;
  }
  .right-sb .inner-first, .left-sb .inner-first {
    width: 96%;
    float: left;
    margin: 2% 2% 0px 2%;
    padding: 0;
    min-height: 0;
  }
  .right-sb .inner-side-bar, .left-sb .inner-side-bar {
    width: 96%;
    padding: 0px;
    margin: 0 2%;
    float: left;
  }
  .locations-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  .locations-layout .locations-main {
    order: 1 !important;
  }

  .locations-layout .locations-sidebar {
    order: 2 !important;
  }

  .locations-layout .locations-mobile-hide-top {
    display: none !important;
  }

  .locations-layout .locations-mobile-keep {
    display: block !important;
    width: 100% !important;
  }

  .locations-layout iframe {
    width: 100% !important;
    height: 55vh !important;
    min-height: 320px !important;
  }

  .mobile-hide-contact-widget {
    display: none !important;
  }
  .page-template-blog-php .right-sb .inner-first{
    margin: 2% 2% 0 2%;
    width: 92%;
  }

  #form-content {
    margin-bottom: 20px;
  }
  .instant-approval {
    background: none;
  }
  .inner-static-page-content-form {
    width: 96%;
    padding: 0px;
    margin: 0 2%;
  }
  #filtermain .filt-1 {
    width: 96%;
    padding: 1% 2%;
    float: left;
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }
  #filtermain .filt-2 {
    width: 45%;
  }
  #filtermain .filt-3 {
    width: 45%;
    padding: 1% 2% 1% 2%;
  }
  #carList .new-arrivals-list .vehicleSearchInfo {
    width: 75%;
    display: block;
    float: left;
    margin: 1%;
  }
  #carList .new-arrivals-list .vehicleSearchPrice {
    min-height: 0;
    width: 100%;
    position: relative;
    float: left;
    padding: 1% 0 2% 0;
  }
  #carList .new-arrivals-list .vehicleSearchPrice .vehicleSearchCarPrice {
    margin-top: 1%;
    padding-top: 2%;
    padding-bottom: 2%;
    border-top: 1px solid #ddd;
  }
  #carList .new-arrivals-list .cvprogram {
    width: 90%;
    float: left;
    clear: both;
    padding: 8px 5%;
    color: #035A3B;
    border-top: 1px solid #eee;
    background: #C1ECD2;
    text-align: center;
  }
  .detail-page-content .box-1 .back-btn .cvprogram {
    float: none;
    font-size: 16px;
    font-weight: bold;
    color: #008053;
    margin-top: 5px;
    margin-bottom: 10px;
    background: none;
    padding-left: 0;
    display: block;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
  }
  .detail-page-content .box-1 .back-btn a {
    float: none;
    padding: 10px 0;
    margin: 0 auto;
    width: 200px;
  }
  .detail-page-content .box-1 #gallery_holder {
    position: relative;
    width: 96%;
    float: left;
    margin: 0 2%;
  }
  .detail-page-content .box-1 #gallery {
    position: relative;
    overflow: hidden;
    width: auto;
    margin: 10px 5% 0 5%;
    float: none;
    border: 5px solid #fff;
    border-radius: 10px;
    background: #fff;
    width: 90% !important;
  }
  .detail-page-content .quick-list.quick-glance {
    float: none;
    width: 90%;
    padding: 1% 2%;
    background: #fff;
    height: auto !important;
    display: block;
    margin: 0 auto !important;
  }
  .detail-page-content .quick-glance li {
    background: url('images/diagonals.png') top left repeat #fff !important;
  }
  .detail-page-content .main-options .main-options-box .main-options-list {
    width: 90%;
    margin: 0 auto;
    float: none;
  }
  .detail-page-content .main-options .ccn-carfax {
    display: block;
    position: relative;
    float: none;
    width: 50%;
    margin: 12% auto 0%;
    text-align: center;
  }
  .car-details-tabs .tabs {
    margin: -47px 0px 20px 1% !important;
    width: 99% !important;
    float: left !important;
  }
  .feature-list li {
    width: 45%;
  }
  #nav {
    height: auto !important;
  }
  .boxes1, .boxes1:hover {
    background: none;
  }
  .testimonial_slider__default a.testimonial_next, .testimonial_slider__default a.testimonial_prev {
    display: none !important;
  }
  .cars-list li {
    float: left;
    text-align: center;
    width: 20%;
  }
  .fullwidth_div.findcars {
    display: none;
  }
  .get-started-form {
    width: 96% !important;
    padding: 1% 2% !important;
  }
  .box-find-car ul {
    width: 175px;
  }
  .left-tests button {
    background-color: #008054;
    width: 100% !important;
  }
  .dropdown dt a {
    width: 95.5%;
  }
}

@media (max-width: 670px) {
  .car-box {
    width: 31% !important;
    height: auto !important;
    background: #fff !important;
    text-align: center !important;
    padding: 5px 0px 0px 0px !important;
    border: 1px solid #ccc !important;
    border-bottom: 5px solid #008054 !important;
    float: none !important;
    margin-right: 1.5% !important;
    font-family: 'Source Sans Pro', sans-serif !important;
    position: relative !important;
    margin-bottom: 30px !important;
    display: inline-block !important;
  }
  .vehicles{
    text-align: center !important;
  }
  .advantage,.advantage.video {
    width: 93% !important;
  }
  .advantage.video {
    width: 97% !important;
    margin-left: 0;
    margin-top: 25px;
  }
	.page-template-articles .inner-first, .page-template-blog-php .inner-first {
    width: 90%;
    float: none;
    display: flex;
    flex-direction: column;
    margin: 0 5%;
    border: 1px solid #ddd;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
}

}

@media (max-width: 560px) {
  .call_to_action img {
    max-width: 400px;
    width: 100%;
  }
  .arrivals-link .image-container img, {
    padding: 0px !important;
    width: 95%;
  }
  .call_to_action h1 {
    font-size: 30px;
  }
  #popup-search-container {
    width: 94% !important;
    margin-left: 2%;
    margin-right: 2%;
    left: 0 !important;
    padding: 1% !important;
  }
  #filtermain .filt-2 {
    width: 96%;
    border: 0;
    border-bottom: 1px solid #ccc;
  }
  #filtermain .filt-3 {
    width: 96%;
    padding: 1% 2% 5% 2%;
  }
  #carList .new-arrivals-list .vehicleSearchPhoto {
    width: 96%;
    text-align: center;
    margin: 1% 2% 1% 2%;
  }
  #carList .new-arrivals-list .vehicleSearchInfo {
    width: 98%;
  }
  #carList .new-arrivals-list .vehicleSearchInfo .vehicleName {
    width: 100%;
    display: block;
    float: left;
    margin: 5px 0 10px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    padding: 10px 0;
  }
  #carList .new-arrivals-list .vehicleSearchInfo .rightInfoCell {
    float: left;
    display: block;
    width: 90%;
    padding-left: 2%;
    margin-left: 2%;
    border-left: 0;
    margin-top: 10%;
    min-height: 150px;
  }
  #carList .new-arrivals-list {
    margin-bottom: 10%;
  }
  .detail-page-content .main-options .main-options-box .main-options-list li {
    width: 94%;
  }
  .feature-list li {
    width: 90%;
  }
  #carList .new-arrivals-list .vehicleSearchInfo .vehicleName a span {
    color: #000;
  }
  #carList .new-arrivals-list .vehicleSearchInfo .leftInfoCell {
    width: 100%;
  }
  #carList .new-arrivals-list .vehicleSearchInfo .rightInfoCell {
    float: left;
    display: block;
    width: 95%;
    min-height:50px;
  }
  .workhours{width:98%;
    margin:1%;
    float:left;
  }
}

@media (max-width: 480px) {
  .car-box {
    width: 47% !important;
  }

}
/* =========================================================
CUSTOM MOBILE + HERO CLEANUP
Keep all future homepage/header tweaks in this section
========================================================= */

@media (max-width: 767px) {
  /* =========================================================
     MOBILE HEADER + HERO CLEANUP
     ========================================================= */

  /* Header spacing */
  .logo-nav {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .head_right {
    float: none !important;
    margin-top: -6px !important;
    padding-top: 0 !important;
  }

  .head_right h3 {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    line-height: 1.05 !important;
  }

  .header {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  .main-logo-center {
    margin-bottom: 0 !important;
  }

  .header .logo {
    padding: 6px 0 2px !important;
  }

  /* Mobile nav bar */
  .nav-panel {
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .main-nav,
  #megaMenu {
    min-height: 36px !important;
  }

  #megaMenuToggle {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important; /* pushes hamburger right */
    height: 36px !important;              /* thinner bar */
    padding: 0 12px !important;
    line-height: normal !important;
    font-size: 0 !important;              /* hides MENU text */
    color: transparent !important;        /* ensures MENU is invisible */
  }

  #megaMenuToggle .megaMenuToggle-icon {
    display: block !important;
  }

  /* Mobile hero */
  .full-slider {
    position: relative !important;
  }

  .form_over_banner,
  .fullwidth_div.form_over_banner {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    background: transparent !important;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 16px !important;
    box-sizing: border-box;
  }

  .full-slider:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
    pointer-events: none;
  }

  .form_over_banner .get-started-form,
  .form_over_banner .new-banner-captions {
    position: relative;
    z-index: 3;
    width: 100% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .form_over_banner h2 {
    color: #fff !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin: 0 0 10px 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.65);
  }

  .form_over_banner h3 {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.65);
  }

  .content-new,
  .home-offerbox,
  .right-tests {
    display: none !important;
  }

  /* =========================================================
     MOBILE ADVANTAGE TILE LAYOUT
     ========================================================= */

  .advntge-section .advantage-wrap {
    display: block !important;
  }

  .advntge-section .advantage-wrap > .textwidget.custom-html-widget {
    width: 92% !important;
    margin: 0 auto 22px auto !important;
    float: none !important;
    display: block !important;
  }

  

  .advntge-section .advantage-wrap > .textwidget.custom-html-widget:last-child {
    margin-bottom: 0 !important;
  }

  /* HIDE RIGHT SIDEBAR ON MOBILE */
  .right-sb .inner-side-bar {
    display: none !important;
  }

  /* MAKE CONTENT FULL WIDTH */
  .right-sb .inner-first {
    width: 96% !important;
    float: none !important;
    margin: 2% 2% 0 2% !important;
  }
  .page-template-make-payment-php .inner-static-page-content-form,
  .page-template-make-payment-php .inner-static-page-content,
  .page-template-make-payment-php .contact-form.inner-first {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* MAKE PAYMENT PAGE FULL-WIDTH ON MOBILE */
  .page-template-make-payment-php .left-sb .inner-first {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  .page-template-make-payment-php .inner-static-page-content-form {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .page-template-make-payment-php .inner-static-page-content {
    margin: 0 !important;
  }

  .page-template-make-payment-php .payment-option-intro {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    clear: both !important;
  }

  .page-template-make-payment-php .payment-option-intro p {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
  }

  .page-template-make-payment-php .payment-option-intro p:last-child {
    margin-bottom: 0 !important;
  }

  /* =========================================================
     PAGE-SPECIFIC MOBILE FIXES
     ========================================================= */

  .instant-approval .inner-static-page-content,
  .vehicle-inquiry-form .inner-static-page-content {
    background: #ddd !important;
    background-image: none !important;
  }

  .grecaptcha-badge {
    z-index: 99999 !important;
  }
}

/* =========================================================
TOP 3 CTA TILE LAYOUT
Desktop/tablet: 3 across
Mobile: stacked 1 per row
========================================================= */

.advntge-section .advantage-wrap > .textwidget.custom-html-widget .advantage {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 3 equal tiles across until phone size */

@media (min-width: 768px) {
  .advntge-section .advantage-wrap {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 24px !important;
  }

  .advntge-section .advantage-wrap > .textwidget.custom-html-widget {
    width: calc(33.333% - 16px) !important;
    margin: 0 !important;
    float: none !important;
    display: block !important;
  }

  
}

/* =========================================================
ADVANTAGE TILE HOVER + ACTIVE STATE FIX
========================================================= */

/* Desktop/laptop with real hover: blue on hover */

@media (hover: hover) and (pointer: fine) {
  .boxed-contents .boxes1:hover {
    background: #eafafd !important;   /* a shade lighter than before */
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }
}

/* Touch devices: do not keep fake hover after collapse */

@media (hover: none), (pointer: coarse) {
  .boxed-contents .boxes1 {
    background: #fff !important;
    transition: background 0.2s ease, box-shadow 0.2s ease;
  }

  .boxed-contents .boxes1:not(.active):hover {
    background: #fff !important;
  }

  /* Most recently tapped tile is highlighted; moves when another is tapped */
  .boxed-contents .boxes1.current-tile {
    background: #eafafd !important;
  }
}

/* =========================================================
   ADVANTAGE TILES — spacing
   ========================================================= */

/* Mobile: tighten blank space above icon and below arrow */
@media (max-width: 767px) {
  .boxed-contents .box_contain {
    padding: 24px 0 24px !important;
    gap: 14px !important;
  }
  .boxed-contents .boxes1 {
    padding: 16px 20px 12px !important;
    margin: 0 !important;
  }
  .boxed-contents .boxes1 img {
    margin: 0 !important;
  }
  .boxed-contents .boxes1 .textwidget h4 {
    margin: 8px 0 4px !important;
  }
  .boxed-contents .boxes1 .textwidget p {
    margin: 0 0 4px !important;
  }
  .page-template-home2017 .boxes1 span.more-icon {
    margin-top: 4px !important;
  }
}

/* Desktop: bottom-align the expand arrows across each row of tiles */
@media (min-width: 768px) {
  /* While any tile is expanded, siblings keep their natural height
     instead of stretching into tall empty boxes */
  .boxed-contents .box_contain:has(.boxes1.active) {
    align-items: flex-start;
  }
  .boxed-contents .boxes1 {
    display: flex;
  }
  .boxed-contents .boxes1 .textwidget {
    width: 100%;
    justify-content: flex-start;
  }
  .boxed-contents .boxes1 .act-btn {
    margin-top: auto;
    padding-top: 8px;
  }
}

/* Approval page Firefox mobile fix */

/* Approval page reCAPTCHA mobile stacking fix */

/* =========================================================
   MOBILE INVENTORY CARD — vertical tightening
   Goal: fit photo → make/model → all 3 buttons in view
   ========================================================= */
@media (max-width: 560px) {
  /* Kill the big top gap above the pricing block */
  #carList .new-arrivals-list .vehicleSearchInfo .rightInfoCell {
    margin-top: 2% !important;
    min-height: 0 !important;
  }

  /* Reduce gap between stacked cards */
  #carList .new-arrivals-list {
    margin-bottom: 3% !important;
  }

  /* Tighten the make/model name band */
  #carList .new-arrivals-list .vehicleSearchInfo .vehicleName {
    margin: 3px 0 4px 0 !important;
    padding: 5px 0 !important;
  }

  /* Tighten the mileage / trans / drive bullets + shift grid right to center it */
  #carList .new-arrivals-list .vehicleSearchInfo .leftInfoCell li,
  #carList .new-arrivals-list .dtime-vehicle-bullets-gray-text {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
  }
  /* (grid padding consolidated in the grid rule below) */

  /* (MPG now vertical, on the right of the bullets — see leftInfoCell flex block below) */

  /* (sale price rule consolidated below) */

  /* Pull the price divider + Amount Financed tighter */
  #carList .new-arrivals-list .vehicleSearchPrice {
    padding: 0 !important;
  }
  #carList .new-arrivals-list .vehicleSearchPrice .vehicleSearchCarPrice {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .widget-wrap-21 {
    margin-bottom: 6px !important;
  }

  /* "Payments As Low As" label sits LEFT of the down/weekly boxes.
     Label wraps to 2 lines ("Payments" / "As Low As"), smaller font.
     Boxes stay side-by-side on one row (original design). */
  /* Hide the top label on mobile — using the center label between boxes instead */
  #carList .new-arrivals-list .rightInfoCell h3.textcenter {
    display: none !important;
  }
  /* Option 3: down box | center label | weekly box */
  #carList .new-arrivals-list .rightInfoCell ul.paylowas {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    margin: 6px 0 0 0 !important;
    padding: 0 2% !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
    gap: 6px !important;
  }
  #carList .new-arrivals-list .rightInfoCell ul.paylowas li.benefit {
    flex: 1 1 40% !important;
    max-width: 40% !important;
    margin: 0 !important;
    padding: 6px 4px !important;
    overflow: hidden !important;
  }
  /* Center label between the two boxes */
  #carList .new-arrivals-list .rightInfoCell ul.paylowas li.pal-center {
    display: block !important;
    flex: 0 0 20% !important;
    max-width: 20% !important;
    list-style: none !important;
    background: none !important;
    border: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: normal !important;
    color: #333 !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #carList .new-arrivals-list .rightInfoCell ul.paylowas li.pal-center span.pal-1,
  #carList .new-arrivals-list .rightInfoCell ul.paylowas li.pal-center span.pal-2 {
    display: block !important;
    white-space: nowrap !important;
  }

  /* Desktop promo (in tier badge) hidden on mobile; mobile promo shown here */
  .tier-offertext {
    display: none !important;
  }
.tier-offertext-mobile {
    display: block !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    font-size: 15px;
    color: #c15a1b;
    font-weight: 600;
    line-height: 1.25;
    margin: 4px auto 6px;
    padding: 0 8px;
    max-width: 100%;
  }

  /* --- Mobile sizing bumps (bigger text, tighter spacing) --- */

  /* AutoCheck logo bigger */
  #carList .new-arrivals-list .carfax-img-wrap {
    max-width: 105px !important;
  }
  #carList .new-arrivals-list .carfax-img-wrap img {
    width: 100% !important;
    height: auto !important;
  }

  /* Sale Price is the primary price on mobile (FTC all-in pricing) */
  .acc-saleprice--main {
    margin-top: 4px !important;
    margin-bottom: 2px !important;
  }
  .acc-saleprice--main .acc-saleprice-label {
    font-size: 15px !important;
    color: #444 !important;
  }
  .acc-saleprice--main .pricd {
    margin-top: 0 !important;
  }
  .acc-saleprice--main .pricd span.pricedollar {
    font-size: 30px !important;
    color: #000 !important;
    font-weight: 800 !important;
  }

  /* TIER badge bigger, tighter gap between number box and the ? icon */
  #carList .new-arrivals-list ul.search-tier li.tier {
    font-size: 20px !important;
    padding: 4px 2px 4px 6px !important;
    margin-right: 0 !important;
  }
  #carList .new-arrivals-list ul.search-tier li.tier span {
    font-size: 22px !important;
    margin-right: 0 !important;
  }

  /* Amount Financed is secondary on mobile — smaller than Sale Price */
  .widget-wrap-21 .vehicleSearchCarPriceText {
    font-size: 15px !important;
    color: #666 !important;
  }
  .widget-wrap-21 span.pricedollar {
    font-size: 23px !important;
    color: #222 !important;
  }

  /* --- AutoCheck + TIER pulled up to flank the Sale Price row --- */
  #carList .new-arrivals-list .vehicleSearchInfo .rightInfoCell {
    position: relative;
  }
  .mobile-financed .carfax-img-wrap {
    position: absolute !important;
    top: 6px;
    left: 3%;
    margin: 0 !important;
    z-index: 1;
  }
  ul#tier-wrap-mobile {
    position: absolute !important;
    top: 10px;
    right: 3%;
    margin: 0 !important;
    z-index: 1;
  }
  /* Disclaimer popup must cover the pulled-up AutoCheck/TIER badges */
  .paypop-info {
    z-index: 20 !important;
  }
  ul#tier-wrap-mobile .popup-tier {
    right: 0;
  }
  .mobile-financed {
    justify-content: center !important;
  }

  /* Compensate: pull the pricing row group up so bigger text doesn't grow the tile */
  #carList .new-arrivals-list .widget-paydet {
    margin-top: -2px !important;
  }
  .widget-wrap-21 {
    margin-bottom: 4px !important;
  }

  /* Down payment + weekly payment text bigger (box size unchanged) */
  #carList .new-arrivals-list .vehicleSearchInfo .rightInfoCell ul.paylowas .benefit {
    font-size: 14px !important;
  }
  /* Only the $ amount is large; wrapper spans stay at label size */
  #carList .new-arrivals-list .vehicleSearchInfo .rightInfoCell ul.paylowas .benefit .fprice {
    font-size: 18px !important;
  }
  #carList .new-arrivals-list .vehicleSearchInfo .rightInfoCell ul.paylowas .benefit .orig-down,
  #carList .new-arrivals-list .vehicleSearchInfo .rightInfoCell ul.paylowas .benefit .promo-down {
    font-size: 14px !important;
  }

 /* Mobile: original ($9,995 / Down) on row 1, promo ($9,595 / Down) on row 2, each one line */
  #carList .new-arrivals-list .rightInfoCell li.benefit.nprice {
    line-height: 1.3 !important;
    white-space: nowrap !important;
  }
  /* Row 1: original — its own row, black, ellipsis if too long */
  #carList .new-arrivals-list .rightInfoCell li.benefit.nprice .orig-down {
    display: block !important;
    white-space: nowrap !important;
    text-align: center !important;
    color: #000 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  /* .price-strike stays inline-block + relative so the red :before line anchors */
  #carList .new-arrivals-list .rightInfoCell li.benefit.nprice .orig-down .price-strike {
    display: inline-block !important;
    position: relative !important;
    white-space: nowrap !important;
  }
  /* Row 2: promo — its own row below, green, ellipsis if too long */
  #carList .new-arrivals-list .rightInfoCell li.benefit.nprice .promo-down {
    display: block !important;
    white-space: nowrap !important;
    text-align: center !important;
    color: #098f5b !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Make "/ Down" label text match "/ Weekly" size (only the text, not the $ number) */
  #carList .new-arrivals-list .rightInfoCell li.benefit.nprice .orig-down,
  #carList .new-arrivals-list .rightInfoCell li.benefit.nprice .promo-down {
    font-size: 12px !important;
  }
  #carList .new-arrivals-list .rightInfoCell li.benefit.nprice .orig-down .fprice,
  #carList .new-arrivals-list .rightInfoCell li.benefit.nprice .promo-down .fprice {
    font-size: 16px !important;
  }

  /* Slightly larger bullet labels + values (mileage, trans, drive, color) */
  #carList .new-arrivals-list .vehicleSearchInfo .dtime-vehicle-bullets-gray-text .name {
    font-size: 15px !important;
  }
  #carList .new-arrivals-list .vehicleSearchInfo .dtime-vehicle-bullets-gray-text .value {
    font-size: 15px !important;
  }

  /* (MPG hidden on mobile — sizing rules removed) */

  /* Larger button text, ~20% taller buttons */
  #carList .new-arrivals-list .vehicleSearchPrice .btn a.btn-medium {
    font-size: 17px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    line-height: 1.1 !important;
  }

  /* Hide the MPG fuel slider entirely on mobile */
  #carList .new-arrivals-list .leftInfoCell .main-options-box.listmile {
    display: none !important;
  }

  /* Bullets in a 2x2 grid (mileage/trans/drive/color) */
  #carList .new-arrivals-list .leftInfoCell > ul {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 4% 0 8% !important;
    justify-content: center !important;
  }
  #carList .new-arrivals-list .leftInfoCell > ul > li {
    width: 46% !important;
    box-sizing: border-box !important;
    float: none !important;
    margin: 0 !important;
    padding: 2px 2% !important;
    border: 0 !important;
    list-style: disc !important;
    color: #008752 !important;
  }
  #carList .new-arrivals-list .leftInfoCell > ul > li .dtime-vehicle-bullets-gray-text .name {
    width: 100% !important;
    display: block !important;
  }
  #carList .new-arrivals-list .leftInfoCell > ul > li .dtime-vehicle-bullets-gray-text .value {
    width: 100% !important;
    display: block !important;
  }

  /* --- Static specs strip under the photo (replaces dropdown) --- */
  .specs-strip {
    display: block !important;
    text-align: center;
    margin: 4px 4% 6px;
    padding: 7px 10px;
    background: #f6f6f6;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #333;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #carList .new-arrivals-list .leftInfoCell > ul.veh-specs {
    display: none !important;
  }
  
/* =========================================================
   VDP FEATURE OVERVIEW — mobile fixes
   (desktop !important rules need re-overriding on phones)
   ========================================================= */

/* FWD tile matches sibling tile widths at each breakpoint */
@media (max-width: 767px) and (min-width: 561px) {
  .detail-page-content .main-options .main-options-box .main-options-list li.trans-perf {
    width: 40% !important;
    padding: 0 0 0 7% !important;
    box-sizing: content-box !important;
  }
}
@media (max-width: 560px) {
  .detail-page-content .main-options .main-options-box .main-options-list li.trans-perf {
    width: 94% !important;
    padding: 0 15px 0 7% !important;   /* right padding matches sibling tiles */
    box-sizing: content-box !important;
    min-height: 48px !important;
  }
}
@media (max-width: 480px) {
  .detail-page-content .main-options .main-options-box .main-options-list li.trans-perf {
    width: 91% !important;
    padding: 0 15px 0 9% !important;   /* right padding matches sibling tiles */
  }
}

@media (max-width: 767px) {
  /* Stock/VIN stack: VIN directly below Stock (undo the desktop 48px drop) */
  .detail-page-content .main-options .main-options-box .main-options-list .car-vin {
    margin-top: 12px !important;
  }
  .detail-page-content .main-options .main-options-box .main-options-list .car-vin + .car-vin {
    margin-top: 2px !important;
  }

  /* Space between VIN and the AutoCheck box; wider container so the
     MPG pill fits without clipping */
  .detail-page-content .main-options .ccn-carfax {
    width: 80% !important;
    margin: 24px auto 0 !important;
  }
  /* AutoCheck logo stays its previous visual size inside the wider container */
  .detail-page-content .main-options .ccn-carfax a img {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  /* MPG pill: scale the background to the tile, keep text clear of the pump */
  .detail-page-content .main-options .main-options-box .ccn-carfax ul.mpg-under-autocheck {
    width: 100%;
    margin: 14px auto 0;
  }
  /* MPG pill on mobile = exact desktop rendering: natural-size graphic,
     centered, 210px text box, desktop padding values. No scaling. */
  .detail-page-content .main-options .main-options-box .ccn-carfax ul.mpg-under-autocheck li.car-milege {
    width: 100% !important;
    height: auto !important;
    min-height: 92px !important;
    margin: 0 auto !important;
    float: none !important;
    padding: 0 !important;
    background: url(images/vehicle-detail-mpg.png) center center no-repeat !important;
    background-size: 240px auto !important;  /* KNOB: pill graphic width on mobile */
  }
  /* Text box = same width as graphic, flexbox = text always vertically centered on it */
  .detail-page-content .main-options .main-options-box .ccn-carfax ul.mpg-under-autocheck li.car-milege > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 240px !important;                 /* MUST equal background-size width above */
    height: 92px !important;                 /* MUST equal min-height above */
    margin: 0 auto !important;
  }
  .detail-page-content .main-options .main-options-box .ccn-carfax ul.mpg-under-autocheck .mil-city {
    width: auto !important;
    float: none !important;
    text-align: left !important;
    padding: 0 0 0 11% !important;           /* KNOB: last number = CITY inset from pill's left end */
    font-size: 18px !important;
    position: relative !important;
    top: 0px;                                /* KNOB: +lowers / -raises text */
    
  }
  .detail-page-content .main-options .main-options-box .ccn-carfax ul.mpg-under-autocheck .mil-hwy {
    width: auto !important;
    float: none !important;
    text-align: right !important;
    padding: 0 11% 0 0 !important;           /* KNOB: 2nd number = HWY inset from pill's right end */
    font-size: 18px !important;
    position: relative !important;
    top: 0px;                                /* KNOB: +lowers / -raises text */
    
  }
}