#toggleGridView {
    cursor: pointer;
}

.products-list {
    grid-gap: $size-md 0;

    &.w-25 {
        .products-list-item {
            .item-image {
                height: 460px;
                min-height: 460px;
                max-height: 460px;

                @include media-breakpoint-only(xl) {
                    height: 380px;
                    min-height: 380px;
                    max-height: 380px;
                }
            }
        }
    }

    &.w-33 {
        .products-list-item {
            .item-image {
                height: 660px;
                min-height: 660px;
                max-height: 660px;

                @include media-breakpoint-between(sm, xxl) {
                    height: 420px;
                    max-height: 420px;
                }
            }
        }
    }

    &-item {
        position: relative;
        overflow: hidden;

        &:hover {
            .item-image {
                img {
                    @include transform(scale(1.05) rotate(1deg));
                }
            }
            
            .item-add-to-cart {
                opacity: 1;
                visibility: visible;
                @include translate(0, 0);
            }
        }

        .item-image {  
            position: relative;
            overflow: hidden;

            img {
                width: 100%;
                object-fit: cover;
                object-position: center;
                @include transition(all, .5s, ease);  
                @include transition(transform, .5s, ease); 
            }
        }

        .item-discount {
            position: absolute;
            top: calc($size-sm / 2);
            left: 0;
            @extend .text-md, .text-medium;
            color: $white;
            padding: 5px;
            padding-left: calc($size-sm / 2);
            background-color: red;
            @include box-shadow(2px, 2px, 4px, $black);
            z-index: 1;
        }

        .item-content {
            font-size: 12pt;

            p {
                &:first-child {
                    margin: 1.5rem 0 .5rem;
                }

                &:last-child {
                    margin: 0;
                }
            }
        }
    }    
}