.owl-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style for the product card container */
.product-card {
    position: relative;
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.0);
    background-color: #fff;
    text-align: center;
    margin: 1px;
}

/* Style for the product image */
.product-img {
    width: 200px;
    max-width: 100%;
    height: 100%;
    object-fit: fill;
    border-bottom: 1px solid #ddd;
}

/* Style for the product info (title and description) */
.product-info {
    padding: 10px;
    text-align: justify;
}

/* Title style */
.product-title {
    font-size: 18px;
    margin-bottom: 0px;
    color: #333;
    text-align: justify;
    line-height: 1.2;
}

.dis-percentage {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 22px;
    background-color: #fbfa04;
    color: green;
    font-weight: 600;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    padding: 0px;

    display: flex;
    /* Use Flexbox */
    align-items: center;
    /* Center vertically */
    justify-content: center;
    /* Center horizontally */
    text-align: center;
    /* For safety, aligns text in the center */
}

@media (max-width: 768px) {
    .product-card {
        position: relative;
        width: 100%;
        height: 100%;
        border: 1px solid #ddd;
        border-radius: 2px;
        overflow: hidden;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.0);
        background-color: #fff;
        text-align: center;
        margin: 1px;
    }

    /* Title style */
    .product-title {
        font-size: 14px;
        margin-bottom: 0px;
        color: #333;
        text-align: justify;
        line-height: 1;
    }

    .product-img {
        width: 200px;
        max-width: 100%;
        height: 100%;
        object-fit: fill;
        border-bottom: 1px solid #ddd;
    }

    .dis-percentage {
        position: absolute;
        top: 5px;
        right: 5px;
        font-size: 18px;
        background-color: #fbfa04;
        color: green;
        font-weight: 600;
        border-radius: 50%;
        height: 45px;
        width: 45px;
        padding: 0px;

        display: flex;
        /* Use Flexbox */
        align-items: center;
        /* Center vertically */
        justify-content: center;
        /* Center horizontally */
        text-align: center;
        /* For safety, aligns text in the center */
    }
}


/* Description style */
.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* Footer containing price and Buy Now button */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Price style */
.product-price {
    Xfont-size: 18px;
    color: #333;
    font-weight: bold;
}

.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.fa-chevron-left,
.fa-chevron-right {
    background-color: rgba(0, 0, 0, 0.9);
    /* Dark background */
    color: red;
    padding: 5px;
    /* Increase padding for bigger arrows */
    border-radius: 50%;
    /* Makes it round */
    font-size: 30px;
    /* Bigger font size for arrows */
    width: 42px;
    /* Width of the button */
    height: 42px;
    /* Height of the button */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.owl-carousel .owl-nav .owl-prev {
    left: 10px;
}

.owl-carousel .owl-nav .owl-next {
    right: 10px;
}
