/* ============================================================
   ModelListPage — listing.css
   All rules scoped to .wrapper-manufacturer-product
   so they NEVER affect any other page on the site.
   ============================================================ */

/* ---- Page header ----------------------------------------- */
.manu-page-data-head {
    padding: 10px;
}

/* new edits */
.product-item-infonew.productinfogridcontainer {
    max-width: 460px;
    border: 1px solid;
}

.container_product_infoview {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.manu-page-data-head span {
    color: #000;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- Breadcrumb / manufacturer name ---------------------- */
.manu-page-current-manufacturer-name {
    padding-left: 10px;
    margin-bottom: 8px;
}

.manu-page-current-manufacturer-name span {
    font-size: 14px !important;
    color: #2e8ab8 !important;
    font-weight: 300 !important;
    font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
}

/* ---- NEW / USED toggle buttons --------------------------- */
.wrapper-manufacturer-product .button-wrapper {
    overflow: hidden;
    padding: 5px 10px;
}

.wrapper-manufacturer-product .used_machine_title,
.wrapper-manufacturer-product .new_machine_title {
    width: 48%;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    color: #fff !important;
    font-weight: bold;
    text-align: center;
    background: #bbb;
    float: left;
    font-size: 18px;
    line-height: 1.2;
    box-sizing: border-box;
}

.wrapper-manufacturer-product .new_machine_title.menu-title-grey.products_bttns.newfirstbtn {
    background-color: #3491CF !important;
}

.wrapper-manufacturer-product .used_machine_title.menu-title-active.products_bttns.usedfirstbtn {
    background-color: #ff0000 !important;
}

.used_machine_title.menu-title-active.products_bttns {
    width: 48% !important;
}

.wrapper-manufacturer-product .new_machine_title.menu-title-grey,
.wrapper-manufacturer-product .used_machine_title.menu-title-active {
    background-color: #3491CF;
}

.wrapper-manufacturer-product .used_machine_title.menu-title-active {
    background-color: #ff0000 !important;
}

.wrapper-manufacturer-product .button-wrapper a {
    text-decoration: none;
}

/* ---- Two-column product lists layout --------------------- */
.wrapper-manufacturer-product .listproductitems {
    float: left;
    width: 50%;
    box-sizing: border-box;
}

.wrapper-manufacturer-product ol.products.list.items.product-items.first-product-list,
.wrapper-manufacturer-product ol.products.list.items.product-items.second-product-list {
    float: left;
    /* width: 47% !important; */
    margin: 10px;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

.wrapper-manufacturer-product ol.products.list.items.product-items.first-product-list {
    background: #ffffff;
}

.wrapper-manufacturer-product ol.products.list.items.product-items.second-product-list {
    background: #cdcdcd;
}

/* list_view (only one collection) — single column full width */
.wrapper-manufacturer-product.list_view .listproductitems {
    width: 100%;
}

.wrapper-manufacturer-product.list_view ol.products.list.items.product-items.first-product-list,
.wrapper-manufacturer-product.list_view ol.products.list.items.product-items.second-product-list {
    width: 95% !important;
    float: none;
    margin: auto;
}

/* ---- Product item card ----------------------------------- */
.wrapper-manufacturer-product li.item.product.product-item {
    position: relative;
    padding: 15px;
    border-bottom: 1px solid #939393 !important;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.wrapper-manufacturer-product .products-list .product-item {
    display: block;
}

/* ---- NEW / USED label badge ------------------------------ */
.wrapper-manufacturer-product span.new-label {
    position: absolute;
    top: 4px;
    right: 15px;
    border-radius: 18px;
    background-color: #f83737;
    color: #fff;
    padding: 2px 6px;
    font-size: 14px;
    display: none;
}

/* ---- Product name / title -------------------------------- */
.wrapper-manufacturer-product h4.product.name.product-item-name {
    width: 95% !important;
    margin-bottom: 20px;
    word-wrap: break-word;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 19px;
    font-weight: 600;
    text-shadow: initial;
    text-transform: capitalize;
}

/* ---- Product title / link overrides to match standard list.css ---- */
.wrapper-manufacturer-product .product-items a.product-item-link {
    color: #333333 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer;
    font-family: Arial, sans-serif !important;
    letter-spacing: normal !important;
    font: 600 22px 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

.wrapper-manufacturer-product a.product-item-link:hover {
    text-decoration: none !important;
}

/* ---- "Financing Available" strip ------------------------- */
/* .wrapper-manufacturer-product p.financing_txt {
    background: #3491CF;
    color: #fff;
    font-size: 13px;
    margin: 0 0 8px;
    padding: 4px 8px;
    font-weight: bold;
} */
.wrapper-manufacturer-product p.financing_txt .doller_icon {
    margin-right: 4px;
}

/* ---- Product image & info container (FLEXBOX LEFT/RIGHT) - */
.wrapper-manufacturer-product .product-item-info {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 20px;
    padding: 10px 0;
    margin: 0;
    background: inherit;
    width: 100%;
}

.wrapper-manufacturer-product a.product.photo.product-item-photo {
    flex: 0 0 150px;
    display: block;
    margin-bottom: 20px;
}

.wrapper-manufacturer-product a.product.photo.product-item-photo img {
    max-width: 150px;
    height: auto;
    display: block;
}

/* ---- Product detail text block --------------------------- */
.wrapper-manufacturer-product .product.details.product-item-details {
    flex: 1 1 auto;
    word-break: break-word;
    text-transform: uppercase;
    display: block;
}

.wrapper-manufacturer-product .product.details.product-item-details span b {
    display: inline-block;
    text-align: left;
    margin-right: 5px;
    padding: 1px 0;
    text-transform: capitalize !important;
}

/* ---- Price section --------------------------------------- */
.wrapper-manufacturer-product .price_section {
    /*margin: 0 auto !important;*/
    margin: unset !important;
    position: relative;
    background-color: #f5ff00;
    font-family: "PT Sans", sans-serif;
    color: #000 !important;
    font-size: 24px !important;
    padding: 0px 10px;
    width: fit-content;
}

.wrapper-manufacturer-product span.price {
    padding: 10px;
    background: #f0eb60;
    color: #000 !important;
    font-size: 24px !important;
    font-weight: bold !important;
}

.wrapper-manufacturer-product span.call_price {
    padding: 4px 7px;
    background: #f5ff00 !important;
    color: #000 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    display: inline-block;
    width: fit-content;
}

/* ---- Finance as low as section --------------------------- */
.wrapper-manufacturer-product .finance-avaliable {
    margin-bottom: 6px;
}

.wrapper-manufacturer-product .finance_low_container p {
    text-align: center;
    margin-bottom: 0;
}

.wrapper-manufacturer-product a.financing-price span {
    background: #f4f24d !important;
    color: #3c53a4 !important;
    font-size: 14px !important;
    display: inline-block;
    padding: 2px 6px;
}

/* ---- Commercial / financing sprite icon ------------------ */
.wrapper-manufacturer-product span.sprite_img_bg.sprite-financing-list.background_transparent {
    background: url(../images/sterling-sprites12.png);
    width: 42px !important;
    height: 30px !important;
    border: solid;
    font-size: 22px;
    color: transparent;
    background-position: 41.4% 97.8%;
    float: left;
    overflow: hidden;
    top: unset !important;
}

/* ---- newbutton_spec wrapper (Finance + Quote + Compare) -- */
.wrapper-manufacturer-product .newbutton_spec {
    clear: both;
    padding: 6px 10px;
    border-top: 1px solid #ddd;
    background: inherit;
}

.wrapper-manufacturer-product .finance-section {
    margin-bottom: 6px;
}

/* ---- Add to Quote button --------------------------------- */
.wrapper-manufacturer-product button.action.tocart.primary {
    display: block;
    width: fit-content;
    margin: 3px 0;
    padding: 8px;
    background: #3491CF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.wrapper-manufacturer-product button.action.tocart.primary:hover {
    background: #2578b5;
}

/* ---- Compare section ------------------------------------- */
.wrapper-manufacturer-product .compare-section {
    margin-top: 5px;
    font-size: 13px;
}

.wrapper-manufacturer-product .comparelabel {
    cursor: pointer;
    color: #4066b0;
}

/* ---- See Full Specs link --------------------------------- */
.wrapper-manufacturer-product .comp_with_vcs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
    margin: auto;
}

.wrapper-manufacturer-product a.c_spacs-link {
    background: red;
    width: fit-content;
    display: block;
    color: white !important;
    padding: 6px 0px;
    max-width: 95%;
    margin: auto;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-style: normal !important;
    font-size: 20px !important;
    padding: 10px 20px;
}

.wrapper-manufacturer-product a.c_spacs-link:hover {
    text-decoration: underline;
}

/* ---- Discount badge -------------------------------------- */
.wrapper-manufacturer-product .dis_bage_img {
    background: blue;
    text-align: center;
    color: white !important;
    padding: 6px 15px;
    margin: auto;
    font-size: 19px;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    line-height: 1.2;
    max-width: 410px;
}

/* ---- Bestseller / Section 179 badges --------------------- */
.wrapper-manufacturer-product span.best_seller {
    display: inline-block;
}

.wrapper-manufacturer-product .images {
    margin: 6px 0;
}

/* ---- Master In Stock label ------------------------------- */
.wrapper-manufacturer-product span.master-instock-label {
    background: #4caf50;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin: 4px 0;
}

/* ---- Video gif ------------------------------------------- */
.wrapper-manufacturer-product .video_gif_contr {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}

/* ---- video-condition row --------------------------------- */
.wrapper-manufacturer-product .video-condition {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 4px 0;
}

/* ---- Clearfix -------------------------------------------- */
.wrapper-manufacturer-product::after {
    content: '';
    display: table;
    clear: both;
}

.wrapper-manufacturer-product .listproductitems::after,
.wrapper-manufacturer-product .button-wrapper::after {
    content: '';
    display: table;
    clear: both;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Mobile */
@media screen and (max-width: 600px) {
    .wrapper-manufacturer-product .listproductitems {
        width: 100%;
    }

    .wrapper-manufacturer-product ol.products.list.items.product-items.first-product-list,
    .wrapper-manufacturer-product ol.products.list.items.product-items.second-product-list {
        width: 100% !important;
        float: none;
        margin: 10px 0;
    }

    .wrapper-manufacturer-product .used_machine_title,
    .wrapper-manufacturer-product .new_machine_title {
        width: 88%;
        padding: 9px;
    }

    .wrapper-manufacturer-product .product-item-info {
        grid-template-columns: 1fr;
    }

    .wrapper-manufacturer-product a.product.photo.product-item-photo {
        width: 100%;
    }

    .wrapper-manufacturer-product a.product.photo.product-item-photo img {
        max-width: 100%;
    }
}

ol.products.list.items.product-items.first-product-list {
    width: unset !important;
}

/* Tablet */
@media screen and (min-width: 601px) and (max-width: 890px) {

    .wrapper-manufacturer-product .used_machine_title,
    .wrapper-manufacturer-product .new_machine_title {
        width: 40% !important;
    }

    .wrapper-manufacturer-product ol.products.list.items.product-items.first-product-list,
    .wrapper-manufacturer-product ol.products.list.items.product-items.second-product-list {
        width: 96% !important;
        float: none;
        margin: 10px auto;
    }
}

/* iPad landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

    .wrapper-manufacturer-product ol.products.list.items.product-items.first-product-list,
    .wrapper-manufacturer-product ol.products.list.items.product-items.second-product-list {
        width: 47% !important;
    }

    .wrapper-manufacturer-product li.item.product.product-item {
        padding-right: unset;
    }
}