.customer-feedback-page-heading{
    margin: 0;
    font-weight: 500;
    font-size: 30px;
    color: #fd7401;
    text-align: center;
}
.customer-feedback-description {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.8em;
    color: #121212;
    margin: 10px 0 0;
    text-align: center;
}
.customer-rating-star-title {
    width: 121px;
    min-width: 121px;
    height: 24px;
    display: block;
    margin:0 auto;
    background: linear-gradient(90deg, rgba(255, 188, 89, 1) 0, rgba(255, 188, 89, 1) calc(var(--starRating)* 20%), rgba(214, 218, 223, 1) calc(var(--starRating)* 20%), rgba(214, 218, 223, 1) 100%);
    -webkit-mask-image: url(/modules/reviews/images/review-star.svg);
    mask-image: url(/modules/reviews/images/review-star.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
}

.customer-feedback-boxs {
    --c-xs: 12;
    --c-sm: 6;
    --c-md: 3;
    --c-lg: 3;
    --s-xs: 8px;
    --s-sm: 15px;
    --s-md: 7px;
    --s-lg: 11px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
    background-color: #fff;
    padding: 10px;
    border-radius: 20px;
    margin-right: 0;
    margin-left: 0;
}
.customer-feedback-boxs.odd {
    background-color: #fff6ec;
}
.customer-reviews-box {
    display: flex;
    padding: var(--s-lg);
}
.customer-reviews-wrapper {
    text-align: center;
}
.customer-reviews-title {
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 0;
    font-weight: 500;
    line-height: 1.5em;
    color: #121212;
}
.customer-reviews-content {
    font-weight: 400;
    font-size: var(--gap16);
    line-height: 1.8em;
    color: #121212;
    margin-top: 15px;
    margin-bottom: 0;
}
.customer-reviews-image {
    position: relative;
    width: 100%;
}
.customer-reviews-image .image-review {
    display: block;
    width: 100%;
    position: relative;
    margin-bottom: 4px;
    border-radius: 20px;
    overflow: hidden;
}
.customer-reviews-image .image-review::before {
    content: "";
    padding-top: 100%;
    display: block;
}
.customer-reviews-image .image-review img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.link-to-product {
    font-size: var(--gap16);
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 10px;
    text-align: left;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.customers-review-content-wrapp {
    cursor: pointer;
}
.customers-review-content-wrapp:before {
    content: '';
    width: 50%;
    height: 19px;
    background: linear-gradient(45deg, rgba(247, 247, 247, 0) 0%, #fff6ec 60%);
    position: absolute;
    right: 0;
    bottom: 0;
    pointer-events: none;
}
.customers-review-content-wrapp .product-more {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #fff6ec;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
}
.customers-review-content-wrapp.full-content .product-more {
    display: none;
}
.customers-review-content-wrapp.full-content:before {
    content: none;
}
.customers-review-content-wrapp.full-content .link-to-product:before {
    content: none;
}
@media (min-width: 1200px){
    .link-to-product:before {
        content: attr(aria-label);
        position: absolute;
        bottom: 55px;
        left: 0;
        background: rgb(255 255 255 / 90%);
        box-shadow: var(--pr-shadow-500);
        padding: 16px;
        border-radius: 20px;
        opacity: 0;
        transition: all 150ms ease-out;
        visibility: hidden;
        pointer-events: none;
        max-height: calc(100% - 54px);
        overflow: auto;
    }
    .customers-review-content-wrapp.show-full-content .link-to-product:before {
        opacity: 1;
        visibility: visible;
        pointer-events: all;        
    }
  
}
.customer-feedback-boxs.even .customers-review-content-wrapp .product-more {
    background: #fff;
}
.customer-feedback-boxs.even .customers-review-content-wrapp:before {
    background: linear-gradient(45deg, rgba(247, 247, 247, 0) 0%, #fff 60%);
}
.customer-reviews-short-wrapper {
    text-align: center;
}

span.custom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fd7401;
    transform: translate(-50%, -50%);
    padding: 10px 16px;
    border-radius: 9px;
    font-weight: 500;
    color: #fff;
    opacity: 0;
    transition: all 300ms ease-out;
    white-space: nowrap;
}
.image-review:hover span.custom-btn {
    opacity: 1;
}
.customer-reviews-short {
    font-weight: 400;
    font-size: var(--gap16);
    line-height: 1.8em;
    color: #121212;
    margin-left: 0;
}

.customer-reviews-button {
    background-color: #fd7401;
    color: #fff;
    padding: 14px 24px;
    font-weight: 700;
    border-radius: 40px;
    border: 2px solid #fd7401;
    margin-top: 20px;
    font-size: var(--gap16);
    text-transform: uppercase;
    display: inline-block;
}
.customer-reviews-button:hover {
    background: #fff;
    color: #fd7401;
}
.recommend-product-list-wrapper .recommend-product-title {
    margin: 0 0 24px;
    font-weight: 500;
    font-size: 25px;
    color: #fd7401;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #fff6ec;
    border-radius: 10px;
}
.recommend-product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 24px;
}

.is-desktop {
    display: block !important;
}
.is-mobile {
    display: none !important;
}
@media (max-width: 1200px) {
   .customer-feedback-boxs {
        grid-template-columns: repeat(3, 1fr);
   }
   .customer-reviews-box:nth-child(6),
   .customer-reviews-box:nth-child(7) {
    display: none;
   }
   .customers-review-content-wrapp.show-full-content .link-to-product {
        display: block;
    }
   
    .customers-review-content-wrapp.show-full-content .product-more {
        position: relative;
    }
}
@media (max-width: 767px) {
    .is-desktop {
        display: none !important;
    }
    .is-mobile {
        display: block !important;
    }
    .customer-feedback-description {
        line-height: 1.4;
    }
    .customer-feedback-boxs {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
   }
   .customer-feedback-boxs.odd {
    background-color: #fff;
   }
   .customer-reviews-box:first-child,
   .customer-reviews-box:last-child {
        grid-column: span 2;
   }
   .customer-reviews-button {
        margin-top: 0;
   }
   .customer-reviews-wrapper {
        padding: 10px;
        background-color: #fff6ec;
        border-radius: 20px;
   }
   .customer-feedback-wrapper .site-w {
        padding: 0 8px;
   }
   .recommend-product-list-wrapper {
    padding: 0 8px;
   }
   .recommend-product-list-wrapper .recommend-product-title {
    font-size: 18px;
   }
   .recommend-product-list {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 12px;
   }
   .link-to-product {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: var(--gap16);
        line-height: 1.3;
        margin: 0;
   }
   .customer-feedback-boxs .customers-review-content-wrapp .product-more {
        background: #fff;
    }
    .customer-feedback-boxs .customers-review-content-wrapp:before {
        background: linear-gradient(45deg, rgba(247, 247, 247, 0) 0%, #fff 60%);
    }
}
