.vertical-product-card {
    display: flex;
    margin-bottom: 20px;

    &:last-child {
        margin-bottom: 0;
    }

    .product-image {
        height: 70px;
        width: 70px;
        min-width: 70px;
        border-radius: var(--radius-default);
        overflow: hidden;
        border: 1px solid var(--border-color-lite);

        .image-placeholder {
            height: 40px;
            width: 40px;
        }
    }

    .product-info {
        display: flex;
        flex-grow: 1;
        margin-left: 20px;
        flex-direction: column;
    }

    .product-name {
        display: inline-block;
        margin: -5px 0 5px;
        color: var(--color-black);

        h6 {
            font-weight: var(--font-medium);
            line-height: 22px;
            max-height: 44px;
            display: -webkit-box;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            transition: var(--transition-150);
            text-decoration-line: underline;
            text-decoration-color: transparent;
        }

        &:hover {
            h6 {
                text-decoration-color: var(--color-black);
            }
        }
    }

    .product-rating {
        font-size: 13px;
        margin-bottom: 12px;

        .reviews {
            font-size: 11px;
            font-weight: var(--font-medium);
            margin-left: 5px;
            color: var(--color-gray);
        }

        .rating-count {
            font-weight: var(--font-medium);
        }
    }

    .product-price {
        line-height: 1;

        .previous-price {
            margin-top: 3px;
        }
    }
}
