.products {
    max-width: 100%;
    margin: 0 auto;
}

.fig-responsive {
    width: 150px;
}

.products ul {
    margin: 0px;
    text-align: center;
}

.products ul li {
    background: #f8f8f8;
    display: inline-block;
    position: relative;
    margin: 15px;
    padding: 0px;
    box-sizing: border-box;
}

.products ul li figure img {
    border-radius: 0.5rem;
    width: 100%;
    height: auto;
}

/* ================== Badge Overlay CSS ========================*/
.badge-overlay {
    position: absolute;
    left: 0%;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 100;
    transition: width 0.4s ease, height 0.4s ease;
}

/* ================== Badge CSS ========================*/
.badge {
    margin: 0;
    color: white;
    padding: 5px 5px;
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    line-height: normal;
    text-transform: uppercase;
}

.badge::before,
.badge::after {
    content: "";
    position: absolute;
    top: 0;
    margin: 0 -1px;
    width: 100%;
    height: 100%;
    background: inherit;
    min-width: 55px;
}

.badge::before {
    right: 100%;
}

.badge::after {
    left: 100%;
}

/* ================== Badge Position CSS ========================*/

.top-right {
    position: absolute;
    top: 0;
    right: 0;
    -webkit-transform: translateX(30%) translateY(0%) rotate(45deg);
    transform: translateX(30%) translateY(0%) rotate(45deg);
    -webkit-transform-origin: top left;
    transform-origin: top left;
}

.bottom-full {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

/* ================== Badge color CSS ========================*/
.badge.red {
    background: #007928;
}

