.product-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.content-product-grid h2 {
    color: #f15b29;
    font-size: 48px;
    font-weight: bold;
    font-family: 'Inter-Bold-Italic';
}
.content-product-grid p {
    font-size: 16px;
    color: black;
}
a.ps-btn:hover {
    color: #f15b29;
    background: #fff;
}
.product-grid-card{
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
    background-image: url(https://wpstaq-ap-southeast-2-media.s3.amazonaws.com/controlsystems/wp-content/uploads/media/2026/01/slider-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.product-grid-card img.overlay-image {
    position: absolute;
    height: auto;
    width: 100%;
    bottom: 0;
    left: 0;
    object-fit: contain;
    object-position: bottom;
    opacity: .9;
}
.product-grid-card img {
    /* max-width: 500px; */
    width: 100%;
    height: 100%;
    object-fit: scale-down;      
}
.button-wrapper button {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color: #f15b29;
    font-size: 25px;
    color: #fff;
}
.button-wrapper{
    text-align: center;
    padding-top: 50px;
}
.product-grid-card:hover img:first-of-type {
    filter: grayscale(1);
}
.ps-overlay h3 {
    font-size: 22px !important;
    max-width: 70% !important;
}

.wp-block-uagb-container.product-slider-image-link {
    margin: auto;
}

/* products features */

.custom-table-content {
    margin-left: auto !important;
    max-width: 70% !important;
}

@media (max-width: 1440px){
    .ps-overlay h3{
        font-size: 20px !important;
        max-width: 60% !important;
    }
}

@media (max-width: 1350px){
    .product-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .ps-overlay h3 {
        font-size: 25px !important;
        max-width: 70% !important;
    }
    
}
@media (max-width: 1150px){
    .ps-overlay h3 {
        font-size: 20px !important;
        max-width: 60% !important;
    }
}
@media (max-width: 800px){
    .product-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
    .product-grid-card {
        height: 400px;
    }
    .ps-overlay h3 {
        font-size: 25px !important;
        max-width: 70% !important;
        text-align: left;
    }
}
@media (max-width: 600px){
    .product-grid-card img.overlay-image{
        height: 25vh;
        width: 100vw;
        object-fit: cover;
    }
    .ps-overlay h3 {
        font-size: 20px !important;
        max-width: 100% !important;
    }
}