/* Make the image fully responsive */
.card-img-top {
    width: 100%;
    height: 300px;
    object-fit: unset;
}

.product-bought-count {
    color: #d1881c;
    padding: 0;
    margin-top: 0;
}

.old-price{
    color: #878787;
    /*font-size: 20px;*/
}

.discount{
    /*font-size: 20px;*/
    color: forestgreen;
}

.learn-more {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none !important;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}
.learn-more {
    width: 12rem;
    height: auto;
}

.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: hsla(0, 75%, 52%, 0.86);
    border-radius: 1.625rem;
}
.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}
.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}
.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}
.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: black;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

.learn-more:hover .circle {
    width: 100%;
    background: hsla(0, 75%, 52%, 0.86);
}

.learn-more:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

.learn-more:hover .button-text {
    color: #ffffff;
}

#outOfStock {
    position: absolute;
    top: 24%;
    left: 22%;
}

@media screen and (max-width: 1200px) {
    .card-img-top {
        object-fit: contain;
    }
}

@media screen and (min-width: 768px) {
    .card-body {
        /*height: 300px;*/
        /*overflow: hidden;*/
    }
}