.unity-product-review {
    background: #4B4B4B;
    border-radius: 24px;
    overflow: hidden;
    padding: 22px 16.5px 14.5px 14.8px;
}

.unity-product-review-image {
    width: 100%;
    position: relative;
    padding-bottom: 93%; /* для сохранения пропорций */
    overflow: hidden;
    border-radius: 24px;
}

.unity-product-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.unity-product-review-content {
    padding-top: 17px;
    padding-bottom: 6.7px;
}

.unity-product-review-title {
    font-family: Buyan;
    font-weight: 700;
    font-size: 25px;
    line-height: 105%;
    text-transform: uppercase;
    color: #FFFFFF;
    min-height: calc(25px * 1.05 * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.unity-product-review-title:hover {
    color: #FFCC8F;
}

.unity-product-review-rating {
    display: flex;
    align-items: end;
    gap: 8px;
    width: 100%;
    overflow: hidden;
    flex-wrap: wrap;
}

.unity-product-review-stars {
    display: flex;
}

.unity-product-review-stars svg {
    width: 27px;
    height: 27px;
}

.unity-product-review-count {
    font-family: Montserrat;
    font-weight: 600;
    font-size: 18px;
    line-height: 105%;
    text-transform: uppercase;
    color: #FFFFFF;
}

.unity-product-review-actions {
    margin-top: 15px;
}

.products-with-reviews .unity-product-review-actions .btn {
    width: 100%;
    padding: 8px 15px;
    box-shadow: 0px 6.78px 0px 0px #D8A86E;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    height: 49.7px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Montserrat;
    font-weight: 800;
    font-size: 14px;
    line-height: 128%;
    text-transform: uppercase;
}

.products-with-reviews .unity-product-review-actions .btn:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 10px;
}

.products-with-reviews .unity-product-review-actions .btn:hover {
    background: linear-gradient(264.11deg, #929292 -30.35%, #D0D0D0 5.5%, #E8E8E8 49.71%, #CECECE 95.1%, #8A8A8A 123.89%);
    box-shadow: 0px 5.8px 0px 0px #737373;
}

@media screen and (max-width: 900px) {
    .unity-product-review {
        border-radius: 16px;
        padding: 16px 12.9px 13.5px 14px;
    }

    .unity-product-review-image {
        padding-bottom: 96%;
        border-radius: 16px;
    }

    .unity-product-review-content {
        padding-top: 11.59px;
        padding-bottom: 5px;
    }

    .unity-product-review-title {
        font-size: 22px;
        min-height: calc(22px * 1.05 * 2);
        margin-bottom: 5px;
    }

    .unity-product-review-rating {
        gap: 7px;
    }

    .unity-product-review-stars svg {
        width: 25px;
        height: 25px;
    }

    .unity-product-review-count {
        font-size: 16px;
    }

    .unity-product-review-actions {
        margin-top: 12px;
    }

    .products-with-reviews .unity-product-review-actions .btn {
        box-shadow: 0px 5px 0px 0px #D8A86E;
        height: 39px;
        font-size: 12px;
        border-radius: 12px;
    }

    .products-with-reviews .unity-product-review-actions .btn:hover {
        box-shadow: 0px 3px 0px 0px #737373;
    }
}

@media screen and (max-width: 515px) {
    .unity-product-review {
        padding: 14px 10px 13.6px 11px;
        border-radius: 14px;
    }

    .unity-product-review-image {
        padding-bottom: 94%;
        border-radius: 14px;
    }


    .unity-product-review-content {
        padding-top: 11.23px;
        padding-bottom: 3px;
    }

    .unity-product-review-title {
        font-size: 16px;
        min-height: calc(16px * 1.05 * 2);
        margin-bottom: 3px;
    }

    .unity-product-review-rating {
        gap: 6.56px;
    }

    .unity-product-review-stars svg {
        width: 17px;
        height: 17px;
    }

    .unity-product-review-count {
        font-size: 14px;
    }

    .unity-product-review-actions {
        margin-top: 13px;
    }

    .products-with-reviews .unity-product-review-actions .btn {
        box-shadow: 0px 3px 0px 0px #D8A86E;
        height: 30px;
        font-size: 9px;
        border-radius: 9px;
    }

    .products-with-reviews .unity-product-review-actions .btn:hover {
        box-shadow: 0px 1px 0px 0px #737373;
    }
}
