/* Существующие стили (можно вынести их глобально) */
.btn-red-border {
    display: inline-block;
    padding: 10px 40px;
    font-weight: bold;
    border: 2px solid #f4212d;
    text-decoration: none;
    background: #fff;
    color: #f4212d !important;
}
/*----------------*/
.product-reviews-info {
    display: flex;
    justify-content: space-between;
    padding: 23px 0px;
}
.lending-page .field-select-input {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    font-size: 16px;
    padding-left: 15px;
    padding-right: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #595959;
    background: url(./img/select-arrow.png) 97%/3% no-repeat;
    border: 1px solid #9f9f9f;
}
.product-reviews-content{
    padding-top: 23px;
}
.product-reviews-list {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-reviews-list-item {
    display: block;
    padding: 20px 0;
    border-top: 1px solid #d8d8d8;
}
.item-container {
    display: flex;
    padding-bottom: 20px;
}
.product-review-column{
    padding-right: 30px;
}
.product-review-column.product-review-user-data{
    width: 100%;
    font-size: 16px;
}
.product-photo {
    position: relative;
    width: 320px;
    padding: 0px 10px;
    cursor: pointer;
}
.product-photo img, .product-photo video {
    border-radius: 6px;
    height: 300px;
    width: 100%;
    object-fit: contain;
}
.product-review-user-header {
    display: flex;
    flex-direction: column;
}
.review-username {
    font-weight: 700;
}
.product-review-user-subtitle {
    display: flex;
    margin-top: 3px;
    align-items: flex-end;
    font-size: 18px;
    color: #a9a9a9;
}
.margin-r10 {
    margin-right: 10px;
}
.stars-list	{
    cursor: default;
    letter-spacing: 3px;
    font-size: 22px;
}
.review-time {
    flex-shrink: 0;
    margin-left: auto;
}
.product-review-user-body {
    margin-top: 10px;
}
.product-review-user-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.review-rating,
.add-answer,
.add-want {
    color: #f4212d !important;
}
.review-want-link {
    position: relative;
}
.add-want {
    padding: 10px 20px;
}
.add-want:hover {
    text-shadow: 1px 0px 0.1px;
}
.background-want {
    position: absolute;
    top: -10px;
    left: 0px;
    z-index: -10;
}
.product-review-user-data .review-user-city{
    color:#888;
}

.product-review-user-data .review-user-city a {
    text-decoration: underline;
    color: #888;
}

.product-reviews-filter__row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.product-reviews-filter__row:last-child {
    justify-content: space-between;
}

.product-reviews-filter__item {
    width: 33%;
}

.product-reviews-filter__row:last-child .product-reviews-filter__item {
    width: 100%;
}

.product-reviews-filter__colors {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.product-reviews-filter__colors_item input[type=checkbox] {
    display: none;
}

.product-reviews-filter__colors_item label {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px #e4e4e4 solid;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 5px;
}


.product-reviews-filter__colors_item input[type=checkbox]:checked + label {
    border-color: #000;
    border-width: 2px;
}

.product-reviews-filter__colors_item input[type=checkbox]:checked + label:after {
    content: "✓";
    color: #000;
}

.product-reviews-filter__colors_item.black input[type=checkbox]:checked + label:after {
    color: #fff;
}

.product-review-user-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.product-review-user-tags-item {
    background: #E7E8E9;
    color: #000;
    border-radius: 4px;
    padding: 5px 10px;
    line-height: 10px;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .product-reviews-info {
        flex-direction: column;
    }
    .product-reviews-info__select-product {
        margin: 0px auto;
    }
    .product-reviews-info__select-sort {
        margin: 20px auto 0px;
    }
    .product-reviews-info__link-add {
        margin: 20px auto 0px;
    }
    .item-container {
        flex-direction: column;
        padding-bottom: 5px;
    }
    .product-review-photo {
        margin: 0px auto;
        padding: 0px;
    }
    .product-photo {
        width: 420px;
    }
    .product-review-user-data {
        margin-top: 20px;
        padding: 0px 10px;
    }

    .product-review-user-footer {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .product-review-user-subtitle {
        font-size: 14px;
    }
    .product-reviews-filter__row {
        flex-direction: column;
    }
    .product-reviews-filter__item {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .product-photo {
        width: 350px;
    }
}

.product-review-user-footer .cat_button{
    background: #f4212d;
    border-radius: 6px;
    padding: 10px 39px;
    width: auto;
}

.product-review-user-footer .btn-red-border {
    border-radius: 6px;
    padding: 9px 39px;
    font-weight: 500;
}

.product-reviews-info__link-add {

}

.product-reviews-info__link-add .field-select-input {
    background: #f4212d !important;
    color: #fff !important;
    display: inline-block;
    text-align: center;
    padding: 8px 50px;
    width: auto;
    line-height: 23px;
    border-radius: 6px;
    border: unset;
}

.product-reviews-list-item .swiper-button-next, .product-reviews-list-item .swiper-button-prev {
    color: #f4212d;
}

@media (max-width: 359px) {
    .product-photo .slickPrev {
        right: unset;
        left: 0;
    }
    .product-photo .slickNext {
        left: unset;
        right: 0;
    }
}

.lending-page {
    font-family: inherit !important;
}

.product-photo__tabs {
    position: absolute;
    z-index: 10;
    right: 15px;
    top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-photo__tabs_btn {
    padding: 5px 15px;
    border-radius: 4px;
    display: flex;
    gap: 7px;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s ease-in-out;
    background: #e7e8e9;
    color: #27282b;
}

.product-photo__tabs_btn.active {
    background: #f4212d;
    color: #fff;
}

.product-photo__tabs_btn svg {
    width: 15px;
    height: 15px;
    fill: #27282b;
}

.product-photo__tabs_btn.active svg {
    fill: #fff;
}

.product-reviews-filter__checkbox {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-weight: 500;
}

.product-photo .swiper {
    overflow: h;
}