/*******************************************************************************************
*   ___  _          ______                     _ _                _                        *
*  / _ \| |         | ___ \                   | (_)              | |              © 2022   *
* / /_\ | | _____  _| |_/ /_ __ __ _ _ __   __| |_ _ __   __ _   | |_ ___  __ _ _ __ ___   *
* |  _  | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` |  | __/ _ \/ _` | '_ ` _ \  *
* | | | | |  __/>  <| |_/ / | | (_| | | | | (_| | | | | | (_| |  | ||  __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_|  \__,_|_| |_|\__,_|_|_| |_|\__, |  \___\___|\__,_|_| |_| |_| *
*                                                         __/ |                            *
*                                                        |___/                             *
* ---------------------------------------------------------------------------------------- *
* This is commercial software, only users who have purchased a valid license and accept    *
* to the terms of the License Agreement can install and use this program.                  *
* ---------------------------------------------------------------------------------------- *
* website: https://cs-cart.alexbranding.com                                                *
*   email: info@alexbranding.com                                                           *
*******************************************************************************************/

.ab-sr__pt + .ty-mainbox-title {
    display: inline-block;
    padding-right: @pd;
}

.ab-sr {
    
    &__page-title {
        margin-bottom: -14px;
        display: inherit;
    }

    &__pp {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
    }
    &__link {
        font-size: 15px;
        font-family: sans-serif;
        
        i[class^="ut2-icon-"]{
            font-weight: 600;
            font-size: 15px;
            position: relative;
            top: 2px;
            margin-left: 10px;
            color: @lighten-max-font;
        }
    }

    &__product {
        display: flex;
        flex-direction: row;
        margin-bottom: @pd;
        padding-right: 0;

        @media screen and (max-width: 580px) {
            flex-wrap: wrap;
            padding-right: 0;
            margin: 0;
        }

        > div {
            align-self: flex-start;
        }

        &-data {
            width: 310px;

            @media screen and (max-width: 640px) {
                width: 200px;
            }

            @media screen and (min-width: 581px) {
                .grid-list > div[class^="ty-column"] {
                    min-width: 320px;
                }
            }

            .ut2-gl {
                &__item, &__image {
                    height: auto !important;
                }
                &__body {
                    margin-top: -1px;
                    min-height: auto !important;
                    background: none;
                    box-shadow: none !important;
                    border: 0;

                    @media screen and (min-width: 768px) {
                        left: 0 !important;
                        top: 0 !important;
                        width: 100% !important;
                        padding: 0 @pd @pd !important;
                    }
                    .ut2-gl__name {
                        margin-bottom: @pd/2;

                        .product-title {
                            min-height: inherit;
                        }
                    }
                }
                &__item .ut2-gl__control {
                    display: inline-block !important;
                }
                &__bottom {
                    display: none !important;
                }
            }

            .grid-list {
                margin: 0;

                div[class^="ty-column"] {
                    @media screen and (max-width: 960px) {
                        max-width: 100%;
                        min-width: 100%;
                        width: 250px;
                    }
                }
            }
        }
        & + .ty-pagination__bottom .ty-pagination {
            padding: 0 0 @pd*2;
        }
    }

    &__posts {

        & > a.ty-content-more__btn {
            display: flex;
            margin: @pd 0 @pd @pd;
        }

        .ty-product-review-post {
            padding-bottom: @pd/2;

            @media screen and (max-width: 767px) {
                padding: 0 0 @pd/2;
            }
            
            &-customer__name {
                margin: 0;
            }
        }
    }
}
