.dreamart_ranking_block{
    .dreamart_ranking{
        .product{
            margin-bottom: 28px;
            border-bottom: 1px solid #EFEFEF;
            padding: 34px 40px 46px;

            &:nth-child(2){
                border-top: 1px solid #EFEFEF;
            }

            &.best {
                background-color: #EFEFEF;
                padding: 20px 40px;
                border-radius: 4px;
                border: none;

                .top{
                    display: flex;
                    align-items: center;
                    padding-bottom: 20px;
                    border-bottom: 1px solid #D3D3D3;
                    margin-bottom: 30px;

                    @media(max-width:992px){
                        flex-wrap: wrap;
                    }
                    
                    svg{

                    }

                    .title{
                        padding: 0 30px 0 12px;
                        color: black;
                        font-size: 18px;
                        line-height: 21px;
                        font-weight: 400;
                        margin: 0;
                        border-right: 1px solid #D3D3D3;
                        text-transform: uppercase;

                        @media(max-width:992px){
                            border:none;
                            padding-right: 0;
                        }
                    }

                    .name{
                        padding-left: 30px;
                        font-size: 18px;
                        line-height: 21px;
                        font-weight: 700;
                        color: black;
                        text-decoration: none;
                        text-transform: uppercase;

                        @media(max-width:992px){
                            width: 100%;
                            padding-left: 0;
                            margin-top: 20px;
                        }
                    }
                }
            }

            .content{
                display: flex;
                justify-content: space-between;

                @media(max-width:992px){
                    display: block;
                }

                .content_cont{
                    display: flex;

                    @media(max-width:600px){
                        display: block;
                    }

                    .image{
                        max-width: 108px;
                        width: 100%;
                        border-radius: 4px;
                        overflow: hidden;
                        border:1px solid #EFEFEF;
                        height: 108px;
                        padding: 5px;

                        @media(max-width:600px){
                            max-width: 100%;
                            height: initial;

                        }

                        img{
                            max-width: 100%;
                            height: auto;
                            width: 100%;

                            @media(max-width:600px){
                                width: 100%;
                            }
                        }

                        &.best{
                            max-width: 200px;
                            padding: 0;
                            height: 200px;

                            @media(max-width:600px){
                                max-width: 100%;
                                height: initial;
                            }
                        }
                    }

                    .text{
                        padding: 0 40px;
                        max-width: 60%;

                        @media(max-width:600px){
                            padding: 20px 0 0 0;
                            max-width: 100%;
                        }

                        .top{
                            margin-bottom: 20px;
                            display: flex;
                            align-items: center;
                            margin-top: 11px;
                            .number{
                                width: 28px;
                                height: 28px;
                                background-color: #FFCA28;
                                display: grid;
                                place-items: center;
                                color: black;
                                font-size: 14px;
                                line-height: 17px;
                                font-weight: 600;
                                border-radius: 50%;
                            }

                            .name{
                                margin-left: 12px;
                                text-decoration: none;
                                text-transform: uppercase;
                                color: black;
                                font-size: 18px;
                                font-weight: 700;
                                line-height: 22px;
                                max-width: calc(100% - 40px);
                            }
                        }

                        .opis{
                            color: black;
                            font-size: 14px;
                            line-height: 20px;
                            font-weight: 400;
                            margin-bottom: 20px;
                        }

                        ul{
                           padding: 0;
                           margin: 0;
                           list-style-type: none;
                           
                           li{
                                color: black;
                                font-size: 14px;
                                line-height: 20px;
                                font-weight: 500;
                                position: relative;
                                padding-left: 32px;
                                margin-bottom: 12px;

                                &:last-child{
                                    margin-bottom: 0;
                                }

                                svg{
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                }
                           }
                        }
                    }
                }

                .price{

                    @media(max-width:992px){
                        margin-top: 20px;
                    }

                    min-width: 170px;
                    label{
                        font-size: 14px;
                        color: black;
                        font-weight: 400;
                        line-height: 20px;
                        margin-bottom: 12px;
                    }

                    p{
                        font-size: 20px;
                        line-height: 24px;
                        font-weight: 700;
                        color: black;
                        margin-bottom: 24px;
                    }

                    a.btn{
                        border:1px solid #D90B2B;
                        background-color: #D90B2B;
                        height: 46px;
                        border-radius: 60px;
                        width: 100%;
                        display: grid;
                        place-items: center;
                        color: white;
                        font-size: 14px;
                        text-transform: uppercase;
                        line-height: 17px;
                        font-weight: 600;
                        text-decoration: none;

                        &:hover{
                            color: #D90B2B;
                            background-color: transparent;
                        }
                    }
                }

            }
        }

        .category_redirect{
            border: 2px solid black;
            padding: 18px 30px;
            display: inline-block;
            border-radius: 60px;
            text-decoration: none;
            color: black;
            font-weight: 600;
            font-size: 14px;
            line-height: 17px;
            margin: 30px auto;

            &:hover{
                color: white;
                background-color: black;
            }
        }
    }
}
