.elementor-5311 .elementor-element.elementor-element-e9c7e4a:not(.elementor-motion-effects-element-type-background), .elementor-5311 .elementor-element.elementor-element-e9c7e4a > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://sgbauto.com.my/wp-content/uploads/2023/02/s-l1600.jpg");background-position:center center;background-size:cover;}.elementor-5311 .elementor-element.elementor-element-e9c7e4a > .elementor-background-overlay{background-color:#000000;opacity:0.59;transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-5311 .elementor-element.elementor-element-e9c7e4a .elementor-background-overlay{filter:brightness( 100% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );}.elementor-5311 .elementor-element.elementor-element-e9c7e4a{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:040px 0px 40px 250px;}.elementor-5311 .elementor-element.elementor-element-b2313b7 > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-5311 .elementor-element.elementor-element-d5d24f1 .woocommerce-breadcrumb{color:#FFFFFF;}.elementor-5311 .elementor-element.elementor-element-d5d24f1 .woocommerce-breadcrumb > a{color:#FFFFFF;}.elementor-5311 .elementor-element.elementor-element-1bbcd6f .elementor-heading-title{font-size:50px;color:#FFFFFF;}.elementor-5311 .elementor-element.elementor-element-41fe99c{margin-top:20px;margin-bottom:80px;}.elementor-5311 .elementor-element.elementor-element-e227697 > .elementor-widget-container{margin:-35px 0px 0px 0px;padding:0px 20px 0px 20px;}.elementor-5311 .elementor-element.elementor-element-e227697.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-5311 .elementor-element.elementor-element-e227697.elementor-wc-products ul.products li.product{border-radius:0px;}.elementor-5311 .elementor-element.elementor-element-e227697 nav.woocommerce-pagination{margin-top:11px;}.elementor-5311 .elementor-element.elementor-element-e227697.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(min-width:768px){.elementor-5311 .elementor-element.elementor-element-b2313b7{width:100%;}.elementor-5311 .elementor-element.elementor-element-0edfac0{width:22.275%;}.elementor-5311 .elementor-element.elementor-element-204750a{width:77.725%;}}@media(max-width:1024px){.elementor-5311 .elementor-element.elementor-element-b2313b7 > .elementor-element-populated{margin:0px 0px 0px -200px;--e-column-margin-right:0px;--e-column-margin-left:-200px;}.elementor-5311 .elementor-element.elementor-element-41fe99c{margin-top:30px;margin-bottom:80px;}.elementor-5311 .elementor-element.elementor-element-e227697.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-5311 .elementor-element.elementor-element-b2313b7 > .elementor-element-populated{margin:0px 0px 0px -210px;--e-column-margin-right:0px;--e-column-margin-left:-210px;}.elementor-5311 .elementor-element.elementor-element-41fe99c{margin-top:20px;margin-bottom:80px;}.elementor-5311 .elementor-element.elementor-element-e227697 > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-5311 .elementor-element.elementor-element-e227697.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for woocommerce-products, class: .elementor-element-e227697 */.row.products.columns-4 {
    width: 100vw;
}

.shp-product-hover {
    display: none;
}

/*Hover effect (optional)*/
.shp-product-thumb.shp-vertical-product:hover::after {
    color: #128C7E;
    text-decoration: underline;
}

/*For mobile devices*/
@media screen and (max-width: 767px) {
    .col-xl-3.col-lg-4.col-md-6.col-sm-6.col-12 {
        max-width: 50%;
    }

    .shp-product-thumb.shp-vertical-product {
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* ensures button stays at bottom */
        align-items: center;
        height: 320px; /* consistent card height */
        margin-bottom: 15px;
        padding: 10px;
        box-sizing: border-box;
        border: 1px solid #eee; /* optional: make it neat */
        background: #fff; /* ensure button doesn’t overlap background */
    }

    /* Fix product title overflow */
    .shp-product-thumb.shp-vertical-product h2,
    .shp-product-thumb.shp-vertical-product h3,
    .shp-product-thumb.shp-vertical-product h4 {
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
        word-wrap: break-word;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3; /* limit to 3 lines */
        -webkit-box-orient: vertical;
        min-height: 55px; /* keeps grid looking tidy */
        margin: 10px 0;
    }

    /* WhatsApp button styling */
    .shp-product-thumb.shp-vertical-product .whatsapp-button {
        margin-top: auto; /* push button to bottom */
        text-align: center;
    }
}

/*For tablets*/
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .shp-product-hover {
        display: none;
    }

    .shp-product-thumb.shp-vertical-product {
        height: 300px;
        margin-bottom: 15px;
    }

    .elementor-element-204750a {
        margin: 0 auto;
    }
}

/*For desktop */
@media screen and (min-width: 1024px) {
    .shp-product-thumb.shp-vertical-product {
        height: 280px;
        margin-bottom: 15px;
    }
}/* End custom CSS */