/* begin fix the thumbnail arrows */
#page-product .product-images-module .product-images ul.secondary-images.owl-carousel .owl-next, 
#page-product .product-images-module .product-images ul.secondary-images.owl-carousel .owl-prev {
     height: 60px;
padding: 0;
}
/* end fix the thumbnail arrows */

#primary-header .logo-wrap img {
    max-height: 80px;
}

#hero-custom .banner-vpicker-module .slider .rslides_container .rslides,
#hero-custom .banner-vpicker-module .slider .rslides_container .rslides li .slide-image,
#hero-custom .banner-vpicker-module .slider .rslides_container .rslides li {
    max-height: calc(200px + (475 - 200) * ((100vw - 768px) / (1900 - 768))) !important;
	height: calc(200px + (475 - 200) * ((100vw - 768px) / (1900 - 768)));
    object-fit: contain;
}

@media screen and (max-width: 1000px) {
    #search-tabs {
    	margin-top: 0;
    }
}

/* img.cow_img {
    height: 100%;
} */

.col-sm-3.cow {
    width: 20%;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .col-sm-3.cow {
    	width: 100%;
        height: 200px;
    }
}

.col-md-6.text {
    width: 60%;
}

@media screen and (max-width: 767px) {
    .col-md-6.text {
    	width: 100%;
    }
}

/* VIN Message */
.box-message p {
    font-weight: 700;
}

.promotional-banner-text-wrap {
    font-size: 18px; /* sets the banner font size */
}

.product-recommended-module .product-recommendations {
    display: inline!important;
}

#primary-header .help-nav ul a:before {
    top: 10px !important;
}

/* OEM Interactive - Sitewide Banner */
.promotional-banner-text {
    text-shadow: 2px 2px 2px #000;
    color: #fff!important;
}

.promotional-banner-text-wrap {
    font-size: 18px;
}

.promotional-banner-wrap {
    background-color: #1a4e8a!important;
}

 
/* OEM INTERACTIVE */

li.sold-in-qty .list-label {
    color: red;
    font-weight: 700!important;
    font-size: 16px!important;
}

.sold-in-qty .list-value {
    color: red!important;
    font-weight: 700;
    font-size: 18px!important;
}

.health-warning {
    margin-top: 1em;
}

#rp_inventory_message {
    color: #000!important;
}

i.fa.fa-exclamation-triangle {
    color: #cc1619!important;
}





/*--------------  OEM Interactive UX Audit, May 6 2025  -------------*/
/*-------------------------------------------------------------------*/
/*------------OOOOO-------EEEEEEEEEE--MM----------MMM--IIIIIIIIII----*/
/*---------OOO----OOO----EEE---------MMM--------MMMM------III--------*/
/*-------OOO-------OOO--EEE---------MM-MM----MMM-MM------III---------*/
/*------OOO-------OOO--EEEEEEEE----MM--MM--MMM--MM------III----------*/
/*-----OOO-------OOO--EEE---------MM---MMMM----MM------III-----------*/
/*------OOO----OOO---EEE---------MM----MM-----MM------III------------*/
/*-------OOOOOO-----EEEEEEEEEE--MM-----------MM--IIIIIIIIII----------*/
/*-------------------------------------------------------------------*/

.free-shipping { /* This hides the free shipping tag on product page images by default (to hide it from Accelerated Handling). A script shows it again on products where it's relevant. */
  display: none;
}

.col-sm-3.cow { /* Aligns the cows */
    text-align: center;
}

#primary-header .col-md-8 { /* Repositions the secondary header */
    padding-top: 40px;
}
#primary-header .cart-button-module { /* Repositions the secondary header */
    top: 40px;
}

#mobile-menu .mobile-header-search .search-bar-component button { /* Sets the color of the mobile search icon */
    color: #999;
}

ul.main-nav-links { /* Prevents the top nav from wrapping incorrectly */
  margin-left: 0 !important;
}

html body .action-button.big-button { /* Fits the Add To Cart button text on a single line */
    padding: 12px 16px;
}

/* Sets the default upsell image width */
.product-additional-info-module .catalog-product .product-image-col { 
    width: 100%;
}
.product-additional-info-module .catalog-product .product-image-col>a img {
    height: auto;
    max-width: 100%;
}

@media screen and (max-width: 400px) { /* The mobile cart flyout was squished, this unsquishes it */
    .cart-component .cart-flyout {
        width: unset !important;
    }
}

/* Mobile */
@media (max-width: 767px) { 
    .col-sm-3.cow {
        width: 100%;
        height: unset;
    }
    .car-selected-module .garage-text { /* Aligns the text in the mobile vehicle picker button */
        padding-top: 0px;
    }
    .more-modal-wrap .modal { /* Moves the "More" modal down on mobile */
        top: 80px;
    }
    .product-additional-info-module .catalog-product .product-details-col { /* Tidies upsells on the cart page */ 
        width: 100%;
    }
    .product-additional-info-module .catalog-product .product-image-col {/* Tidies upsells on the cart page */
        width: 100%;
    }
    .cow-desktop-only { /* Removes the redundant cow from mobile */
        display: none;
    }
    #___ratingbadge_0 { /* Hides the Google Reviews tab on mobile */
        bottom: 60px !important;
    }
    .payments_messaging_module { /* Aligns the PayPal offering */
        padding-left: 20px;
    }
    /* Optimizes the product page product details for mobile */
    .product-details-inner ul.field-list {
        display: grid;
        grid-template-columns: repeat(4, 25%);
        align-items: start;
    }
    .product-details-inner ul.field-list .manufacturer, .product-details-inner ul.field-list .part_number, .product-details-inner ul.field-list .positions, .product-details-inner ul.field-list .also_known_as {
        grid-column: span 2;
        align-self: start;
        height: auto;
    }
    .product-details-inner ul.field-list .description, .product-details-inner ul.field-list .product-superseded-list, .product-details-inner ul.field-list .condition {
        height: auto;
    }
    .product-details-inner ul.field-list li {
        grid-column: span 4;
    }
    .product-details-inner ul.field-list h2, .product-details-inner ul.field-list span {
        display: block;
    }
    .product-details-inner ul.field-list ul {
        list-style: none;
        padding-left: 0;
    }
    .product-details-module ul.field-list li+li {
        height: auto;
        margin: 0 0 15px 0;
    }
    .product-additional-info-module .catalog-product .product-image-col {
        width: 90px;
    }
    .product-additional-info-module .catalog-product .product-image-col>a img {
        height: unset;
        max-width: 90px;
    }
    .product-page-layout ul.field-list li .list-value {
        display: block;
    }
    .box-message p { /* VIN Message */
        font-size: 12px;
        font-weight: 500;
    }
}

@media (max-width: 799px) { /* Overrides and properly sizes h2s on the mobile homepage */
    #page-home h2 {
        font-size: 2.5em;
    }
}

#rp_global_add_to_cart .current_product .product_details_col ul li label { /* Fixes the padding of "Our Price" in the Added to Cart popup */
    padding-right: unset !important;
}

#rp_global_add_to_cart .add_cart_control .add_cart_button .button { /* Makes the buttons in the Added to Cart popup larger */
    height: 50px;
}

/* Fixes the display of the product page vehicle fitment table */
.product-fitment-module .fitment-table-wrap .fitment-table td, .product-fitment-module .fitment-table-wrap .fitment-table th {
    padding: 8px;
}
.fitment-year {
    min-width: 45px;
}
.fitment-make {
    min-width: 80px;
}
.fitment-model {
    min-width: 60px;
}
.fitment-trim {
    max-width: unset;
}
.fitment-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.fitment-table {
  min-width: 800px;
  width: max-content;
  border-collapse: collapse;
}

.product-details-module li.product-description span.description_body li { /* Adds spacing for lists in product descriptions */
    margin: 0 0 20px 20px;
}

.featured-products-module h2 { /* Centers the Featured Products h2 */
    text-align: center;
}
.featured-products-module .featured-products { /* Centers the Featured Products section */
    justify-content: center;
}

.required-parts th { /* Properly displays the labels in the bundle parts table */
    white-space: nowrap;
}

.cart-page-layout .cart-other-options { /* Prevents the checkout box from clipping */
    width: unset;
}

/* Adjusts the cart page VIN collector */
.cart-page-layout .cart-subtotal-row .collect-vin-form-module p { 
    font-size: 15px;
    font-weight: 700;
}
.collect-vin-form-module .input-custom .vin-form-button {
    min-width: 80px;
}
@media(max-width: 767px) {
    .cart-page-layout .cart-subtotal-row .collect-vin-form-module {
        display: block;
    }
    .cart-page-layout .cart-subtotal-row .collect-vin-form-module p {
        font-size: 12px;
        font-weight: 500;
    }
}

@media only screen and (max-width: 960px) { /* Properly displays the Yotpo rating on mobile */
    .main-widget .avg-score {
        width: 90px !important;
    }
}

.health-warning { /* Adds some space above the Prop 65 warning */
    padding-top: 20px;
}

#rp_shipping_message {
    padding: unset !important;
    padding-left: 10px !important;
}

.shop-other-brands img { /* Adds spacing between the other brand logos in the footer */
    margin: 5px 5px 30px;
}

.main-nav-outer-list a {
    color: white;
    text-decoration: none;
}

.product-recommended-module { /* Fixes the alignment of the Recommended Products on the product page */
    padding-right: unset;
}

/* Old code which was removed:
img.cow_img {
    width: 95px;
}
.col-sm-3.cow {
    width: 15%!important;
}
.col-md-6.text {
    width: 70%;
} */

/*-------- End OEMI Audit --------*/