.packages_ratingBlock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 10px;
    margin-left: 10px;
}

.packages_ratingBlock_card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 273px;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(90deg, #f249b1 0%, #9d72f0 100%);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.25);
}

.packages_ratingBlock_stars {
    display: block;
    width: 118px;
    height: 18px;
    margin-bottom: 12px;
    background: url("../images/images_new/review.svg") 0 0 / contain no-repeat;
}

.packages_ratingBlock_score {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
    color: #fff;
    font-family: Lato, sans-serif;
}

.packages_ratingBlock_score-value {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.packages_ratingBlock_score-max {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.9;
}

.packages_ratingBlock_reviews {
    margin: 0 0 16px;
    color: #fff;
    text-align: left;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.7px;
}

.packages_ratingBlock_reviews strong {
    font-weight: 700;
    letter-spacing: 0.7px;
}

.packages_ratingBlock_creators {
    display: flex;
    align-items: center;
    gap: 5px;
}

.packages_ratingBlock_avatars {
    display: block;
    flex-shrink: 0;
    width: 90px;
    height: 33px;
    background: url("../images/images_new/rating_ppl.png") 0 0 / contain no-repeat;
}

.packages_ratingBlock_creators-text {
    margin: 0;
    color: #fff;
    font-family: Lato, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.packages_ratingBlock_creators-text strong {
    font-weight: 700;
}

.packages_ratingBlock_btn {
    display: block;
    width: 100%;
    max-width: 220px;
    padding: 20px 25px;
    border: none;
    border-radius: 10px;
    background: #736dc2;
    box-shadow: 1px 2px 20px rgba(76, 5, 49, 0.25);
    color: #fff;
    text-align: center;
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition:
        background 0.3s,
        box-shadow 0.3s;
}

.packages_ratingBlock_btn:hover,
.packages_ratingBlock_btn:active {
    background: #6a1b9a;
    box-shadow: 0 4px 18px rgba(123, 31, 162, 0.45);
}

/* Reviews carousel */

.packages_reviews_block {
    width: 100%;
    max-width: 900px;
    margin: 24px auto 0;
    padding: 0 56px;
    box-sizing: border-box;
}

.packages_reviews_embla {
    position: relative;
    width: 100%;
}

.packages_reviews_embla .embla__viewport {
    width: 100%;
    min-width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.packages_reviews_embla .embla__container {
    display: flex;
    align-items: stretch;
    touch-action: pan-y pinch-zoom;
}

.packages_reviews_embla .embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    box-sizing: border-box;
}

.packages_reviews_embla-prev,
.packages_reviews_embla-next {
    position: absolute;
    top: 50%;
    z-index: 3;
    border: none;
    padding: 0;
    cursor: pointer;
    transform: translateY(-50%);
}

.packages_reviews_embla-prev {
  left: clamp(-40px, calc(-80px + 10vw), -50px);
}

.packages_reviews_embla-next {
  right: clamp(-40px, calc(-80px + 10vw), -50px);
}

.packages_reviews_embla-prev:disabled,
.packages_reviews_embla-next:disabled {
    opacity: 0.35;
    cursor: default;
}

.packages_review_card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px 22px;
    border: 1px solid #f3e2ea;
    border-radius: 20px;
    background: #fff;
    box-sizing: border-box;
}

.packages_review_card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.packages_review_card-stars {
    display: block;
    flex-shrink: 0;
    width: 73px;
    height: 18px;
    background: url("../images/images_new/pkg_review_stars_pink.svg") left center / 73px 18px no-repeat;
}

.packages_review_card-date {
    color: #151515;
    font-family: Raleway, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.55;
}

.packages_review_card-title {
    margin: 0 0 8px;
    color: #151515;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.packages_review_card-text {
    margin: 0 0 16px;
    color: #151515;
    font-family: Raleway, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}

.packages_review_card-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    flex-direction: column;
}

.packages_review_card-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.packages_review_card-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #151515;
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.packages_review_card-name .pkg_us_flag,
.packages_review_card-name .pkg_fr_flag,
.packages_review_card-name .pkg_de_flag,
.packages_review_card-name .pkg_is_flag,
.packages_review_card-name .pkg_int_flag {
    width: 20px;
    height: 14px;
    margin-right: 0;
    flex-shrink: 0;
}

.packages_review_card-product {
    color: #151515;
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.packages_review_card-verified {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
    color: #21b4b7;
    font-family: Raleway, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}

.packages_review_card-verified-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("../images/images_new/verified.svg") 0 0 / contain no-repeat;
}

.packages_reviews_readMore {
    position: relative;
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    padding: 0 4px 10px;
    border: none;
    background: transparent;
    color: #151515;
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-transform: lowercase;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.packages_reviews_readMore::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 0;
    height: 2px;
    background: #a62c54;
}

.packages_reviews_readMore:hover::after,
.packages_reviews_readMore:active::after {
    background: #8a2446;
}


@media screen and (max-width: 767px) {
    .packages_reviews_block {
        max-width: 100%;
        padding: 0 44px;
    }

    .packages_reviews_embla .embla__viewport {
        max-width: none;
    }

    
}


@media screen and (min-width: 767px) {
    .packages_review_card-footer {
            flex-direction: row;
        }
}


/* Review form */

.land-review > input {
    display: none;
}

.land-review {
    display: flex;
    justify-content: start;
    flex-direction: row-reverse;
    gap: 5px;
}

.land_reviews__rating-form {
    margin-left: 15px;
    margin-right: auto;
}

.land-review > label {
    cursor: pointer;
    width: 18px;
    height: 18px;
    aspect-ratio: 1;
    background-image: url("../images/images_new/landing_form-star.svg");
    background-repeat: space no-repeat;
    background-position: center;
    background-size: contain;
    transition: 0.3s;
}

.land-review > input:checked ~ label,
.land-review > input:checked ~ label ~ label,
.land-review > input:not(:checked) ~ label:hover,
.land-review > input:not(:checked) ~ label:hover ~ label {
    background-image: url("../images/images_new/landing_form-star-yellow.svg");
}

.land_rating_form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 12px auto 23px;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    border: 1px solid #eee;
    background: #fff;
    padding: 15px 16px 22px 17px;
    z-index: 2;
    box-sizing: border-box;
    overflow: hidden;
    max-height: 650px;
    opacity: 1;
    transition:
        max-height 0.35s ease,
        opacity 0.3s ease,
        margin 0.35s ease,
        padding 0.35s ease,
        border-color 0.2s ease;
}

.land_rating_form.hidden {
    display: flex !important;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-color: transparent;
    pointer-events: none;
}

.land_formMessage-error,
.land_formMessage-success {
    display: none;
    font-size: 16px;
    font-weight: 400;
    font-family: Raleway, sans-serif;
    font-style: normal;
    text-align: center;
}

.land_formMessage-error {
    color: red;
}

.land_formMessage-success {
    color: #21b4b7;
}

.land_form_subtitle {
    display: inline-block;
    color: #212121;
    text-align: center;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.land_form_text,
.land_rating_input {
    font-family: Raleway, sans-serif;
    font-size: 15px;
}

.land_form_text,
.land_rating_input,
.land_submit_btn {
    font-weight: 400;
    line-height: normal;
    font-style: normal;
}

.land_form_icon {
    content: "";
    display: inline-block;
    width: 18px;
    height: 20px;
    margin-right: 5px;
    background: url("../images/images_new/form_icon.svg") 0 0 / contain no-repeat;
    margin-left: 15px;
}

.land_form_text {
    display: block;
    color: #212121;
    margin-top: 11px;
    margin-left: 15px;
}

.land_rating_input {
    margin-top: 5px;
    border-radius: 20px;
    border: 1px solid #eee;
    background: #fff;
    padding-top: 8px;
    padding-left: 16px;
    padding-bottom: 7px;
}

.land_textarea {
    height: 85px;
}

.land_submit_btn {
    margin: 18px auto 0;
    width: -moz-fit-content;
    width: fit-content;
    padding: 11px 55px 14px 55px;
    border-radius: 10px;
    border: none;
    background: #d81b60;
    box-shadow: 1px 1px 10px 0 rgba(87, 87, 87, 0.15);
    color: #fff;
    text-align: center;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    transition: background 0.3s;
}

.land_submit_btn:active,
.land_submit_btn:hover {
    background: #cb1859;
}

.mb-10 {
    margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
    .land_form_text,
    .land_reviews__rating-form {
        margin-left: 15px;
    }

    .land_rating_form {
        padding: 15px 45px 20px;
        justify-content: unset;
    }

    .land_form_titleWithIcon {
        margin: 0 auto;
    }

    .land_form_text {
        font-size: 16px;
    }

    .land_textarea {
        height: 175px;
    }
}

@media screen and (min-width: 1024px) {
    .land_rating_form {
        max-width: 570px;
        padding: 15px 45px 20px;
        justify-content: unset;
    }
}

/* Reviews page */

.reviewsPage {
    padding: 25px 15px 40px;
    background: linear-gradient(154deg, #fdf1f7 16.25%, #fbeff8 82.28%);
}

.reviewsPage .order__title {
    margin: 0 0 12px;
    color: #151515;
    font-family: Raleway, sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.reviewsPage__intro {
    max-width: 640px;
    margin: 0 auto 8px;
    color: #151515;
    font-family: Raleway, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    opacity: 0.8;
}

.reviewsPage__grid {
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 0 4px;
    box-sizing: border-box;
}

.reviewsPage__page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.reviewsPage__page[hidden] {
    display: none;
}

.reviewsPage__page .packages_review_card {
    height: auto;
}

.reviewsPage .pkg_us_flag,
.reviewsPage .pkg_fr_flag,
.reviewsPage .pkg_de_flag,
.reviewsPage .pkg_is_flag,
.reviewsPage .pkg_int_flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.reviewsPage .pkg_us_flag {
    background-image: url("../images/images_new/pkg_us_flag.svg");
}

.reviewsPage .pkg_fr_flag {
    background-image: url("../images/images_new/pkg_fr_flag.svg");
}

.reviewsPage .pkg_de_flag {
    background-image: url("../images/images_new/pkg_de_flag.svg");
}

.reviewsPage .pkg_is_flag {
    background-image: url("../images/images_new/pkg_is_flag.svg");
}

.reviewsPage .pkg_int_flag {
    background-image: url("../images/images_new/pkg_int_flag.svg");
}

.reviews__title {
    position: relative;
    z-index: 5;
    font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-align: center;
    color: #c2185b;
    margin: 0 auto 2rem;
    letter-spacing: 0.2rem;
}

.reviewsPage__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 28px auto 0;
    padding: 0 4px;
}

.reviewsPage__pagination-pages {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewsPage__pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #cbb8f5;
    color: #fff;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.15s ease;
}

.reviewsPage__pagination-page:hover:not(.is-active) {
    background: #b9a3ef;
}

.reviewsPage__pagination-page.is-active {
    background: #9b7ae8;
    cursor: default;
}

.reviewsPage__pagination-page:active:not(.is-active) {
    transform: scale(0.96);
}

@media screen and (min-width: 600px) {
    .reviewsPage {
        padding: 32px 24px 48px;
    }

    .reviewsPage .order__title {
        font-size: 3rem;
    }

    .reviewsPage__page {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .reviewsPage__pagination {
        margin-top: 36px;
    }

    .reviewsPage__pagination-pages {
        gap: 14px;
    }

    .reviewsPage__pagination-page {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media screen and (min-width: 952px) {
    .reviewsPage__page {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}