
.active-btn {
    color: #f79410;
}

.item-list {
    margin: 36px 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 32px;
}

.item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 4px 0 rgba(15, 4, 4, 0.05);
    transition: all 0.2s ease-out;
}

.item:hover {
    box-shadow: 0 0 10px 1px rgba(0, 4, 4, 0.15);
}

.item-img {
    position: relative;
    overflow: hidden;
}

    .item-img img {
        width: 100%;
        display: table-cell;
        margin: 0px auto;
        background-size: contain;
      
    }
 .item-img .category {
    position: absolute;
   bottom: 20px;
   left: 25px;
     color: #FFF;
   font-size: 15px
    }


.item-img:hover .icon-list {
    bottom: 26px;
}

.item-detail {
    padding: 16px 3px 16px 0px;
   
}

.item-price {
    margin: 10px 0;
    font-weight: 300;
    align-items: center;
    justify-content: center;
}
.item-detail p {
    font-weight: 300;
    opacity: 0.9;
    font-size: 15px;
    line-height: 1.7;
}

/* stylings for details active */
.details-active.item-list {
    grid-template-columns: 100%;
}

.details-active .item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
    .details-active .item .item-img {
        position: relative;
        overflow: hidden;
        height: 100%;
    }
    .details-active .item .item-img img {
        width: 100%;
        display: table-cell;
        margin: 0px auto;
        background-size: contain;
        position: relative;
        overflow: hidden;
        height: 100%;
    }
.details-active .item-detail {
    text-align: justify;
}
.details-active .item-detail p {
    display: block;
}

@media screen and (min-width: 678px) {
    .item-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media screen and (min-width: 768px) {
    .item-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .details-active .item {
        grid-template-columns: 100%;
    }
}
