.portfolio-filters li {
    border: 2px solid #ccc;
    padding: 10px 20px !important;
    border-radius: 5px;
    margin: 5px !important;
}

.portfolio-filters li:hover {
    background-color: #060665;
    border-color: #060665;
    color: white !important;
}

.portfolio-filters .filter-active {
    background-color: #060665;
    border-color: #060665;
    color: white !important;
}

.portfolio-content {
    border: 1px solid black;
    padding: 5px;
    border-radius: 5px;
}


.fixed-height-image {
    width: 612px;
    height: 280px;
}

.products {
    /* background: #1f1f1f; */
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid white;
    height: 365px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-top {
    flex: 1;
    background: transparent;
}

.product-bottom {
    /* background: #1f1f1f; */
    padding: 15px;
    /* border-top: 1px solid #333; */
    border-radius: 0 0 10px 10px;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    /* border-bottom: 1px solid #ddd; */
}

.product-height-image {
    width: 612px !important;
    height: 280px !important;
}

.product-bottom {
    /* height: 115px; */
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-top h4 {
    font-size: 1.0rem;
    margin: 10px 0 5px 0;
    font-family: 'Roboto';
}

.product-top span {
    display: block;
    font-size: 1rem;
    margin-bottom: -30px;
}

.product-button {
    display: inline-block;
    padding: 7px 12px 5px 10px;
    border: 2px solid #af1317;
    border-radius: 25px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
}

.product-button:hover {
    background-color: #af1317;
    color: white;
}

.custom-button {
    display: block;
    min-width: 112%;
    border: 2px solid #af1317;
    border-radius: 7px;
    text-align: center;
    font-weight: bold;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    /* top: 12px; */
    left: -14px;
}

.custom-button:hover {
    background-color: #af1317;
    color: white;
}

/* @media(max-width: 767px) {
    .products {
        position: relative;
    }

    #portfolio .row.gy-4 {
        width: 300px;
        position: relative;
        left: 50px;
    }
} */

@media (max-width: 768px) {

    .products {
        position: relative;
        height: auto;
    }

    .product-image img,
    .product-height-image {
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    #portfolio .row.gy-4 {
        width: 100% !important;
        left: 0 !important;
        margin: 0;
    }

    .custom-button {
        min-width: 100%;
        left: 0;
        top: 0;
        font-size: 13px;
        padding: 5px;
    }

    .product-top h4 {
        font-size: 14px;
    }
}


@media screen and (min-width: 1400px) {
    .custom-button {

        min-width: 110%;

    }
}