.reviews-page {
    padding-top: 0;
    padding-bottom: 55px;
}

.products-with-reviews {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.reviews-page-title {
    margin: 0 auto 73px auto;
    width: 250px;
    font-family: Buyan;
    font-weight: 700;
    font-size: 92px;
    line-height: 105%;
    text-transform: uppercase;
    text-align: center;
    background: radial-gradient(
        164.72% 3204.14% at 46.81% 50%,
        #ffffff 0%,
        rgba(255, 255, 255, 0) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reviews-page-filters {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.reviews-search-label,
.custom-select-label {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    color: #FFFFFF;
    margin-bottom: 9px;
}

.reviews-search-wrapper {
    position: relative;
}

.reviews-search input {
    width: 100%;
    background-color: #868686;
    color: #D2D2D2;
    border-radius: 9px;
    padding: 11px 23px !important;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
}

.reviews-search-wrapper .search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #B0B0B0;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    display: none;
}

.reviews-search-wrapper .search-clear.active {
    display: block;
}

.reviews-search-wrapper .search-clear:hover {
    color: #FFFFFF;
}

.reviews-search input::placeholder {
    color: #B0B0B0;
    opacity: 1;
}

.reviews-filters {
    display: flex;
    width: 100%;
    gap: 23px;
}

.reviews-page-actions {
    display: flex;
    justify-content: center;
    align-items: end;
    padding-bottom: 5px;
    display: none;
}

.reviews-page-actions button {
    height: 49px;
    cursor: pointer;
    position: relative;
    font-family: Montserrat;
    font-weight: 800;
    font-size: 14px;
    line-height: 128%;
    text-transform: uppercase;
    box-shadow: 0px 6px 0px 0px #D8A86E;
    border-radius: 15px;
}

.reviews-page-actions button:before {
    content: '';
    background: radial-gradient(55.13% 55.13% at 50% 2.23%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 15px;
}

.reviews-page-content-title {
    margin-top: 74px;
    font-family: Buyan;
    font-weight: 700;
    font-size: 70px;
    line-height: 105%;
    text-transform: uppercase;
    background: radial-gradient(
        164.72% 3204.14% at 46.81% 50%,
        #FFFFFF 0%,
        rgba(255, 255, 255, 0) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reviews-page-content .score__inner {
    width: 100%;
    margin-top: 59px;
    margin-bottom: 74px;
}

.reviews-page-content .pagination-wrapper {
    margin-top: 30px;
}

.reviews-page-all-btn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.reviews-page-all-btn a {
    background: linear-gradient(263.56deg, #FFE9C8 -4.53%, #FFD9AD 18.44%, #FFDDB5 51.46%, #FFDDB5 76.6%, #FFCC8F 111.92%), radial-gradient(55.13% 55.13% at 50% 2.23%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 0px 8px 0px 0px #D8A86E;
    width: 100%;
    max-width: 377px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    position: relative;
    font-family: Montserrat;
    font-weight: 800;
    font-size: 20px;
    line-height: 128%;
    text-transform: uppercase;
    text-decoration: none;
    color: #584D3E;
}

.reviews-page-all-btn a:before {
    content: '';
    background: radial-gradient(55.13% 55.13% at 50% 2.23%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 24px;
}

.reviews-page-all-btn a:hover {
    color: #584D3E;
}

@media screen and (max-width: 1024px) {
    .reviews-page {
        padding-top: 0;
    }
}

@media screen and (max-width: 992px) {
    .reviews-page-content .score__inner {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .reviews-page {
        padding-top: 0;
        padding-bottom: 39px;
    }

    .products-with-reviews {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 35px;
        gap: 13px;
    }

    .products-with-reviews__top {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .products-with-reviews__top::-webkit-scrollbar {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .reviews-page-title {
        margin: 0 auto 51px auto;
        font-size: 60px;
    }

    .reviews-search-label,
    .custom-select-label {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .reviews-search input {
        padding: 10px 16px !important;
    }

    .reviews-page-filters {
        gap: 22px;
    }

    .reviews-page-actions button {
        height: 34px;
    }

    .reviews-page-actions button {
        font-size: 10px;
        border-radius: 10px;
    }

    .reviews-filters {
        gap: 9px;
    }

    .reviews-page-content-title {
        margin-top: 50px;
        font-size: 60px;
    }

    .reviews-page-all-btn a {
        height: 67px;
        font-size: 16px;
        border-radius: 12px;
        max-width: 326px;
        box-shadow: 0px 5px 0px 0px #D8A86E;
    }
}

@media screen and (max-width: 670px) {
    .reviews-page-actions button {
        height: 46px;
        border-radius: 12px;
    }

    .reviews-page-filters {
        gap: 20px;
    }

    .reviews-filters {
        flex-direction: column;
        gap: 20px;
    }

    .reviews-page-actions {
        padding-top: 3px;
    }

    .reviews-page-actions button {
        width: 100%;
        height: 40px;
        padding: 5px 0 0 0;
    }

    .reviews-page-title {
        margin: 0 auto 35px auto;
        font-size: 50px;
    }

    .reviews-page-content .score__inner {
        margin-top: 42px;
        margin-bottom: 42px;
    }

    .reviews-page-content-title {
        margin-top: 42px;
        font-size: 50px;
    }

    .reviews-page-all-btn a {
        height: 46px;
        font-size: 11px;
        border-radius: 16px;
        max-width: 281px;
        box-shadow: 0px 2.5px 0px 0px #D8A86E;
    }
}

@media screen and (max-width: 600px) {
    .products-with-reviews {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media screen and (max-width: 515px) {
    .reviews-page {
        padding-top: 0;
        padding-bottom: 35px;
    }
}
