.wooreview-product-rating-thank-you-container {
    height: 90%;
}

.wooreview-product-rating-thank-you-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wooreview-loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #2874f0;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#wooreview-image-view-popup-review-details {
    overflow-y: auto;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
}

#wooreview-image-view-popup-review-details.hidden {
    max-height: 0;
    opacity: 0;
}

/* For the video review details */
#wooreview-video-popup-review-details {
    max-height: 100%;
    overflow-y: auto;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
}

#wooreview-video-popup-review-details.hidden {
    max-height: 0;
    opacity: 0;
}

.wooreview-product-rating-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

.slick-product-rating-carousel .slick-track {
    display: flex;
}

.slick-product-rating-carousel .slick-slide {
    height: inherit;
}

.slick-product-rating-carousel .slick-dots {
    position: fixed !important;
    bottom: 10px;
}

.slick-product-rating-carousel {
    margin-bottom: 0 !important;
}

.slick-product-rating-carousel .slick-prev:before, .slick-product-rating-carousel .slick-next:before {
    color: #2874f0;
    font-size: 25px;
}

.slick-product-rating-carousel .slick-prev {
    position: fixed !important;
    top: auto;
    bottom: 20px;
    left: 10px;
    min-height: 0;
    background-color: transparent;
}

.slick-product-rating-carousel .slick-next {
    position: fixed !important;
    top: auto;
    bottom: 5px;
    right: 15px;
    min-height: 0;
    padding: 0;
    z-index: 1000;
    background-color: transparent;
}

.slick-product-rating-carousel .slick-prev {
    position: fixed !important;
    top: auto;
    bottom: 5px;
    left: 15px;
    min-height: 0;
    padding: 0;
    z-index: 1000;
    background-color: transparent;
}

.wooreview-rating-modal-title-close-btn {
    background-color: #2874f0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    padding: 2px 15px;
}

/* Close button */
.product-rating-modal-close-btn {
    font-size: 28px;
    cursor: pointer;
}

.product-rating-modal-title {
    font-size: 15px;
}

.wooreview-product-rating-modal-content {
    width: 100%;
}

.slick-dots li.slick-active button:before {
    color: #2874f0;
}

.slick-dots li button:before {
    font-size: 8px;
}

.user-not-purchased-product-container {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 90%;
}

.wooreview-rating-modal-product-image-title {
    margin-bottom: 30px;
}

.rating-modal-product-image-container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.rating-modal-product-image-container img {
    height: 130px;
    margin-bottom: 15px;
}

.wooreview-rating-modal-product-title {
    font-size: 15px;
    color: #111;
    font-weight: 500;
}

.upload-image-video-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.wooreview-preview-item {
    position: relative;
}

.wooreview-preview-item img,
.wooreview-preview-item video {
    max-width: 100px;
    max-height: 100px;
}

.wooreview-preview-item .wooreview-remove-btn {
    position: absolute;
    top: -8px;
    right: -6px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    height: 20px;
    width: 20px;
    font-size: 20px;
    border-radius: 50%;
    padding: 0;
    min-height: 20px;
    opacity: 0.8;
}

.rate-the-product-title {
    font-size: 18px;
    color: #111;
    font-weight: 600;
    margin-bottom: 5px;
}

.rate-the-product-desctription {
    margin-bottom: 15px;
    color: #333;
}

.wooreview-rating-modal-star {
    font-size: 38px;
    color: #ddd;
    margin-bottom: 10px;
}

.rating-star-btn-text {
    font-size: 11px;
    color: #7b7b7b;
}

.wooreview-rate-product-btn {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.wooreview-rate-product-btn:hover {
    background-color: #005a87;
}

.product-not-purchased-title {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.product-not-purchased-description {
    color: #9b9b9b;
    font-size: 13px;
    margin-bottom: 15px;
}

.continue-shopping-btn-container .continue-shopping-btn {
    min-height: 35px;
    background-color: #2874f0;
    color: #fff;
    text-transform: capitalize;
    letter-spacing: .5px;
    font-size: 13px;
}

.wooreview-product-image-rating-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.wooreview-product-rating-container .wooreview-product-rating-content, .wooreview-single-product-rating-content {
    padding: 3px 4px 3px 5px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    width: fit-content;
}

.wooreview-product-rating-content {
    text-align: center;
}

.wooreview-rating-modal-star-rating {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wooreview-rating-modal-star-rating .star-button {
    display: block;
    padding: 0;
    background-color: transparent;
    text-transform: capitalize;
    width: 60px;
}

.wooreview-rating-modal-star-rating .star-button:hover {
    background-color: transparent;
}

.header-product-image-title-ratings {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.header-product-title {
    color: #111;
    font-weight: 600;
    line-height: normal;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-product-image-container img {
    max-height: 50px;
}

.header-selected-star-ratings {
    line-height: normal;
}

.header-selected-star-ratings .wooreview-rating-modal-star {
    font-size: 25px;
    margin: 0;
}

.aspect-rating-description {
    color: #111;
    padding: 0 15px;
}

#wooreview-product-aspect-ratings {
    padding: 15px;
}

.aspect-ratings-lable {
    font-weight: 600;
    font-size: 13px;
}

.aspect-rating-buttons .button {
    background-color: #dcdcdc;
    color: #fff;
    width: 19%;
    min-height: 30px;
}

.wooreview-comment-form-aspect {
    margin-bottom: 20px;
}

.wooreview-reating-modal-comment-section {
    padding: 10px 15px;
}

.upload-image-video-title {
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.upload-image-video-container {
    display: flex;
    margin-bottom: 15px;
    gap: 10px;
}

.wooreview-upload-image-content .wooreview-add-photo-btn,
.wooreview-upload-video-content .wooreview-add-video-btn {
    text-transform: capitalize;
    color: #2874f0;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 15px;
    min-height: 38px;
}

.rating-modal-camera-icon, .rating-modal-video-icon {
    margin-right: 5px;
    font-size: 18px;
}

.upload-image-video-description {
    font-size: 12px;
    margin-bottom: 10px;
}

.wooreview-rating-modal-comment-title,
.wooreview-rating-modal-comment-box {
    font-weight: 600;
}

.wooreview-title-rate-product-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.wooreview-reviews-title {
    font-size: 24px;
    font-weight: 600;
    color: #212121;
}

.wooreview-single-product-rating-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 5px;
    position: relative;
}
.wooreview-product-rating {
    font-size: 12px;
    color: #fff;
    line-height: normal;
}

.wooreview-product-rating-star {
    color: white;
    font-size: 11px;
    margin-left: 3px;
}

.wooreview-rating-popup-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 330px;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,.2);
    padding: 15px;
    margin-top: 8px;
    z-index: 10;
    color: #333;
}

.wooreview-product-rating-container {
    display: flex;
    gap: 5px;
    position: relative;
    width: fit-content;
}

.wooreview-product-rating-container:hover .wooreview-rating-popup-container {
    display: block;
}

.wooreview-popup-arrow {
    position: absolute;
    top: -5px;
    left: 15px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    transform: rotate(45deg);
    z-index: 0;
}

.wooreview-popup-rating-content {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.wooreview-popup-ratings-reviews {
    width: 38%;
    display: flex;
    flex-direction: column;
}

.wooreview-popup-rating-breakdown {
    flex: 1;
}

.wooreview-ratings-reviews-count {
    color: #878787;
    text-align: center;
    line-height: normal;
    font-size: 13px;
}

.wooreview-popup-ratings {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wooreview-popup-rating-value {
    font-size: 32px;
    color: #212121;
}

.wooreview-popup-rating-star {
    color: #212121;
    font-size: 30px;
    margin: 0px 0px 3px 4px;
}

.wooreview-rating-star-count {
    display: flex;
    align-items: center;
}

.wooreview-popup-rating-count {
    font-size: 12px;
}

.wooreview-popup-rating-count-star {
    font-size: 12px;
    margin-left: 3px;
}

.wooreview-total-rating-count {
    font-size: 12px;
}

.wooreview-popup-rating-bar {
    display: flex;
    align-items: center;
}

.wooreview-rating-bar {
    flex: 1;
    height: 5px;
    background: #ddd;
    margin: 0 10px;
    position: relative;
    border-radius: 100px;
    overflow: hidden;
}
        
.wooreview-green-rating-bar {
    background: green;
}
        
.wooreview-average-lightgreen-rating-bar {
    background: #4CAF50;
}
        
.wooreview-lightgreen-rating-bar {
    background: #8BC34A;
}
        
.wooreview-orange-rating-bar {
    background: #FF9800;
}
        
.wooreview-red-rating-bar {
    background: #F44336;
}
        
.wooreview-rating-filled-bar {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.aspect-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.aspect-name {
    color: #212121;
    font-weight: 600;
}

.aspect-rating-circle {
    position: relative;
    width: 60px;
    height: 60px;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.green .circle {
    stroke: #388e3c;
}

.percentage {
    fill: #212121;
    font-size: 0.5em;
    text-anchor: middle;
}

.wooreview-single-product-aspect-ratings-summary {
    flex: 1;
    display: flex;
    gap: 30px;
}

.wooreview-single-product-average-rating-content {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wooreview-single-product-rating-breakdown {
    flex: 1;
}

.wooreview-single-product-average-rating-value {
    font-size: 32px;
    color: #212121;
    line-height: normal;
}

.wooreview-single-product-rating-star {
    font-size: 30px;
    color: #212121;
    margin-left: 3px;
    line-height: normal;
}
.wooreview-single-product-review-coun, .wooreview-single-product-review-coun {
    line-height: 1.4;
    color: #878787;
}

.wooreview-single-product-ratings {
    color: #212121;
    font-weight: 500;
}

.wooreview-single-product-reviews-count {
    line-height: normal;
}

.wooreview-single-product-star-rating-count {
    font-size: 13px;
}

.wooreview-single-product-rating-count-star {
    font-size: 12px;
}

.wooreview-average-rating-value-star {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wooreview-woocommerce-rating-breakdown {
    flex: 1;
}

.wooreview-single-product-rating-bar-content {
    display: flex;
    align-items: center;
}

.wooreview-single-product-rating-bar-bg {
    flex: 1;
    height: 5px;
    background: #f0f0f0;
    margin: 0 10px;
    position: relative;
    border-radius: 100px;
    overflow: hidden;
}

.wooreview-single-product-filled-rating-bar {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.wooreview-single-product-total-rating-count {
    font-size: 13px;
    color: #878787;
}

.wooreview-rate-product-btn-container .rate-product-btn {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.26);
    background-color: #fff;
    border-radius: 4px;
    min-height: 42px;
    text-transform: capitalize;
}

.wooreview-submit-btn-container {
    position: absolute;
    right: 15px;
    bottom: 10px;
}

.wooreview-submit-btn-container .wooreview-submit-btn {
    color: #2874f0;
    background-color: #fff;
    border: 1px solid #ddd;
    min-height: 20px;
    text-transform: capitalize;
    border-radius: 4px;
    position: relative;
}

.wooreview-single-product-rating-aspect-summary {
    border-bottom: 1px solid #eee;
}

.wooreview-single-product-review-images {
    margin-bottom: 15px;
}

.user-review-images-container {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.user-review-images-container img {
    height: 65px;
    width: 65px;
    object-fit: cover;
    border-radius: 3px;
    overflow: hidden;
}

.user-comment-ratings-count-review-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.user-review-star-rating-count {
    color: #fff;
    padding: 0px 5px 0px 7px;
    border-radius: 3px;
    font-size: 13px;
}

.user-review-star-rating-title {
    font-weight: 600;
}

.wooreview-comment-user-full-name {
    font-weight: 600;
}

.user-review-thumbs-permalink-abuse {
    display: flex;
    align-items: center;
}

.user-review-thumbs {
    display: flex;
    gap: 8px;
    margin-right: 15px;
    align-items: center;
}
.wooreview-helpful-thumb i, .wooreview-not-helpful-thumb i {
    margin-right: 5px;
}

.wooreview-single-product-ratings-summary {
    display: flex;
    align-items: center;
}

.wooreview-product-rating-voting-reporting-modal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px 15px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    display: none;
}

.wooreview-thumbs-modal-content, .wooreview-abuse-reporting-modal-content {
    display: flex;
    align-items: center;
}

.own-review-abuse-reporting-modal-content {
    text-align: center;
}

.wooreview-thumbs-voting-text, .wooreview-abuse-reporting-text, .own-review-abuse-reporting-text {
    font-size: 14px;
}

.wooreview-voting-site-image {
    width: 35px;
    margin-right: 5px;
}

.wooreview-product-details-container {
    width: 30%;
}

.wooreview-product-image {
    height: 240px;
    margin-bottom: 10px;
}

.wooreview-product-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.wooreview-product-title {
    font-size: 18px;
    font-weight: 600;
    color: #212121;
}

.wooreview-product-reviews-container {
    flex: 1;
}

.all-reviews-page-product-name-container {
    padding: 15px;
}

.wooreview-all-reviews-page .wooreview-user-comment-details {
    padding: 15px;
}

.wooreview-product-name {
    font-size: 25px;
    font-weight: 600;
    color: #212121;
    padding: 15px;
}

.all-reviews-page-product-info-content {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.all-reviews-page-all-images-container .product-review-all-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.all-reviews-page-all-images-container .remaining-images-count-overlay {
    flex: auto;
    height: 70px;
}

/* CSS for modal popup */
.wooreview-product-rating-image-view-popup {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,.6);
}

.wooreview-product-rating-video-popup {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,.6);
}
.wooreview-product-rating-video-popup .user-certified-badge-icon {
    color: #fff;
}
.wooreview-comment-quick-options-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.wooreview-image-view-popup-images-details {
    background-color: #000;
}

.product-rating-image-view-popup-close-btn, .wooreview-all-images-popup-close-btn-pc {
    position: absolute;
    right: -35px;
    top: -12px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    cursor: pointer;
}

.wooreview-image-view-popup-container {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
    background: white;
    border-radius: 4px;
}

.wooreview-video-popup-container {
    position: relative;
    margin: 5% auto;
    width: 320px;
    border-radius: 4px;
}

.comment-quick-options-container {
    background: #fff;
    padding: 15px;
    width: 350px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.wooreview-popup-main-image-container {
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.wooreview-popup-main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wooreview-image-view-popup-images-details .image-view-popup-prev,
.wooreview-image-view-popup-images-details .image-view-popup-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    background-color: transparent;
    z-index: 10;
}

.wooreview-image-view-popup-images-details .image-view-popup-prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.wooreview-image-view-popup-images-details .image-view-popup-next {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.wooreview-image-view-popup-images-details .image-view-popup-prev:hover,
.wooreview-image-view-popup-images-details .image-view-popup-next:hover {
    background-color: transparent;
}

.wooreview-popup-thumbnail-images-carousel {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.wooreview-popup-thumbnail {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s ease;
    object-fit: cover;
}

.wooreview-popup-thumbnail:hover, .wooreview-popup-thumbnail.active-thumbnail {
    border: 2px solid #ffffff; /* White border for active thumbnail */
}

.view-all-reviews-text {
    font-size: 16px;
    font-weight: 600;
    color: #2874f0;
    margin-top: 10px;
}
.user-certified-badge {
    display: flex;
    align-items: center;
    gap: 3px;
}
.user-certified-badge-icon {
    color: #111;
}
.comment-content-pc,
.comment-content-mobile {
    margin-bottom: 10px;
}

.wooreviews-read-more-pc,
.wooreviews-read-more-mobile {
    color: #2874f0;
    text-transform: capitalize;
}

.wooreview-images-section-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #111;
}

.wooreview-all-videos-container {
    margin-top: 15px;
    margin-bottom: 15px;
}
.wooreview-videos-section-title {
    text-align: left;
    margin-bottom: 10px;
}
.wooreview-videos-section-title h3 {
    display: inline-block;
    margin: 0;
    font-size: 18px;
}
.wooreview-videos-section-title .new-badge {
    background-color: #ff0000;
    color: #fff;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 4px;
    margin-left: 5px;
}
.wooreview-videos-section-title p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #666;
}
.product-review-all-images {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    overflow-x: auto;
}

.product-review-all-images .product-image-container {
    flex: 0 0 auto;
}
.product-review-all-images img {
    height: 70px;
    width: 70px;
    object-fit: cover;
    border-radius: 3px;
}

.product-review-all-videos {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.product-review-all-videos .user-review-all-videos-thumbnail {
    position: relative;
    flex: 0 0 auto;
    width: 70px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
}

.product-review-all-videos .user-review-all-videos-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-duration-time {
    position: absolute;
    bottom: 2px;
    left: 6px;
    color: white;
    font-size: 12px;
    z-index: 10;
}
.review-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.review-video-play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.wooreview-all-videos-popup, .wooreview-all-images-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.wooreview-all-videos-popup-container, .wooreview-all-images-popup-container {
    position: relative;
    width: 90%;
    max-width: 840px;
    padding: 20px;
    background: white;
    border-radius: 4px;
}

.wooreview-all-videos-popup-title-close-btn,
.wooreview-all-images-popup-title-close-btn {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.wooreview-all-videos-popup-title,
.wooreview-all-images-popup-title {
    font-size: 18px;
    color: #212121;
    font-weight: 600;
}

.wooreview-all-videos-popup-close-btn,
.wooreview-all-images-popup-close-btn {
    cursor: pointer;
}

.wooreview-all-videos-popup-content, .wooreview-all-images-popup-content {
    height: calc(100% - 40px);
    overflow-y: auto;
    width: 100%;
}

.wooreview-all-videos-popup-content .wooreview-all-videos, 
.wooreview-all-images-popup-content .wooreview-all-images {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.all-review-images-thumbnail, .all-review-videos-thumbnail {
    height: 124px;
    width: 124px;
    object-fit: cover;
    border-radius: 3px;
}

.wooreview-all-videos-popup-content .all-review-videos-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}
.wooreview-all-videos-popup-content .all-review-videos-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remaining-videos-count-overlay,
.remaining-images-count-overlay {
    position: relative;
    flex: 0 0 70px;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.remaining-videos-count-overlay::after,
.remaining-images-count-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
}

.wooreview-remaining-videos-count,
.wooreview-remaining-images-count {
    z-index: 1;
}

.wooreview-product-review-video {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}
.wooreview-product-review-video .user-review-video-thumbnail {
    position: relative;
    flex: 0 0 65px;
    width: 65px;
    height: 80px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.wooreview-product-review-video .user-review-video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wooreview-product-review-video .review-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.wooreview-product-review-video .review-video-play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.wooreview-product-rating-video-popup .product-rating-video-popup-close-btn {
    position: absolute;
    top: -12px;
    right: -35px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.wooreview-popup-main-video-container {
    height: 100%;
}
.wooreview-popup-main-video-container video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.wooreview-popup-main-video-container .review-video-play-button {
    display: none;
}

.user-review-popup-content .wooreview-user-comment-details {
    border: 0;
    padding: 0;
}
.wooreview-user-comment-details {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    padding-top: 10px;
}
.wooreview-location-comment-time {
    font-size: 13px;
}
.wooreview-popup-name-location-thumbs {
    display: flex;
    justify-content: space-between;
}
.wooreview-location-comment-time-thumbs-report {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.wooreview-video-popup-videos-details {
    position: relative;
    overflow: hidden;
}
.wooreview-video-popup-review-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}

#wooreview-video-popup-container .user-review-popup-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 10) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
}
.wooreview-video-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #fff;
    gap: 10px;
    margin-bottom: 15px;
}

.wooreview-video-play-pause-btn,
.wooreview-video-mute-unmute-btn {
    cursor: pointer;
    font-size: 14px;
}

.wooreview-video-current-time,
.wooreview-video-duration {
    font-size: 14px;
}

.wooreview-video-progress-container {
    flex-grow: 1;
    height: 5px;
    background-color: #555;
    border-radius: 3px;
    margin: 0 10px;
    position: relative;
    cursor: pointer;
}

.wooreview-video-progress-bar {
    height: 100%;
    background-color: #fff;
    width: 0;
    border-radius: 3px;
    position: relative;
}

.wooreview-video-progress-circle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    margin-left: -1px;
}
.comment-quick-options-popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: transparent;
    border: none;
    font-size: 1.5rem;
}
.user-review-permalink, .user-review-report-abuse {
    cursor: pointer;
    font-size: 15px;
    margin-bottom: 5px;
}
.wooreview-rating-5 {
    background-color: green;
}

.wooreview-rating-4 {
    background-color: #4CAF50;
}

.wooreview-rating-3 {
    background-color: #8BC34A;
}

.wooreview-rating-2 {
    background-color: #FF9800;
}

.wooreview-rating-1 {
    background-color: #F44336;
}
.wooreview-helpful-thumb, .wooreview-not-helpful-thumb {
    display: inline-block;
    cursor: pointer;
    font-size: 13px;
}

.wooreview-single-product-rating-aspect-container {
    display: flex;
    gap: 20px;
    align-items: center;
    font-weight: normal;
    margin-bottom: 15px;
}
.helpful-for-text {
    display: none;
}
@media (min-width: 768px) {
    
    .all-reviews-page-all-images-container {
        padding: 15px;
    }
    
    .all-reviews-page-content {
        display: flex;
    }

    .wooreview-all-videos-popup-close-btn-mobile, .wooreview-all-images-popup-close-btn-mobile {
        display: none;
    }
    
    .user-review-popup-content {
        padding: 20px;
    }
    .wooreview-user-name-certified-badge {
        display: flex;
        gap: 5px;
    }

    .user-review-popup-content .wooreview-helpful-thumb, .user-review-popup-content .wooreview-not-helpful-thumb {
        border: none;
        padding: 0;
    }
    
    .wooreview-image-view-popup-modal-content {
        display: flex;
    }
    .wooreview-image-view-popup-images-details {
        width: 60%;
        position: relative;
        overflow: hidden;
    }
    .wooreview-image-view-popup-review-details {
        flex: 1;
    }
    .wooreview-single-product-ratings-summary {
        width: 38%;
        padding-right: 15px;
        border-right: 1px solid #eee;
    }
    .reviews-permalink-report-abuse-mobile {
        display: none !important;
    }
    .wooreview-product-reviews-container {
        border-left: 1px solid #eee;
    }
    .wooreview-all-reviews-page {
        background-color: #fff;
    }
    .wooreview-all-reviews-page .wooreview-single-product-rating-aspect-summary {
        padding: 15px 15px 0;
    }
    
    .all-reviews-page-reviews .wooreview-all-images-container {
        display: none;
    }
    
    .comment-content-mobile {
        display: none;
    }
    #wooreview-image-view-popup-review-details {
        max-height: 528px;
    }
    /* width */
    #wooreview-image-view-popup-review-details::-webkit-scrollbar,
    #wooreview-video-popup-review-details::-webkit-scrollbar {
      width: 5px;
    }
    
    /* Track */
    #wooreview-image-view-popup-review-details::-webkit-scrollbar-track,
    #wooreview-video-popup-review-details::-webkit-scrollbar-track{
      background: #f1f1f1; 
    }
     
    /* Handle */
    #wooreview-image-view-popup-review-details::-webkit-scrollbar-thumb,
    #wooreview-video-popup-review-details::-webkit-scrollbar-thumb {
      background: #999;
      border-radius: 20px;
    }
    
    /* Handle on hover */
    #wooreview-image-view-popup-review-details::-webkit-scrollbar-thumb:hover,
    #wooreview-video-popup-review-details::-webkit-scrollbar-thumb:hover {
      background: #555; 
    }
}

@media (max-width: 768px) {
    .blurred-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        filter: blur(20px);
        -webkit-filter: blur(20px);
    }
    .wooreview-image-view-popup-images-details {
        position: relative;
        overflow: hidden;
        height: 100%;
    }
    .wooreview-single-product-ratings-summary {
        width: 100%;
    }

    .wooreview-reviews-title {
        font-size: 18px;
    }

    .wooreview-product-rating-quick-options {
        margin-left: 0;
    }
    
    .wooreview-product-details-container {
        display: none;
    }
    
    .wooreview-product-name {
        font-size: 15px;
        background-color: #fff;
    }
    
    .wooreview-all-reviews-page .wooreview-single-product-ratings-summary {
        background-color: #fff;
        padding: 0 15px 15px;
    }
    
    .wooreview-all-reviews-page .wooreview-single-product-aspect-ratings-summary {
        background-color: #fff;
        width: 100%;
        overflow: auto;
        padding: 15px;
    }
    
    .wooreview-all-reviews-page .wooreview-user-comment-details {
        background-color: #fff;
        margin-bottom: 8px;
        border: 0;
    }
    
    .wooreview-all-reviews-page .wooreview-user-comment-details:last-child {
        margin-bottom: 0;
    }
    
    .all-reviews-page-reviews .wooreview-all-images-container {
        margin-top: 15px;
    }
    
    .wooreview-image-view-popup-container {
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .wooreview-popup-thumbnail-images-carousel {
        display: none;
    }
    
    .wooreview-image-view-popup-modal-content {
        height: 100%;
    }
    
    .wooreview-image-view-popup-review-details {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .user-review-popup-content {
        background: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 15px;
    }
    
    .wooreview-popup-main-image-container {
        height: 100%;
    }
    
    .user-review-popup-content .user-review-star-rating-title {
      color: #fff;  
    }
    
    .image-view-popup-next, .image-view-popup-prev {
        display: none;
    }
    
    .comment-content-pc {
        display: none;
    }
    
    /* Progress Bars */
    .progress-bars {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        height: 5px;
        z-index: 10;
    }
    
    .progress-bar {
        background-color: rgba(255, 255, 255, 0.2);
        height: 100%;
        flex-grow: 1;
        margin: 0 2px;
        position: relative;
    }
    
    .progress-bar-fill {
        background-color: rgba(255, 255, 255, 1);
        width: 0;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .wooreview-video-popup-container {
        height: 100%;
        width: 100%;
        margin: 0;
    }
    
    .wooreview-video-popup-modal-content {
        height: 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .wooreview-video-popup-videos-details {
        height: 100%;
    }
    
    .reviews-permalink-report-abuse-pc {
        display: none !important;
    }
    .wooreview-comment-quick-options-popup {
        align-items: flex-end; 
        justify-content: center;
    }
    .comment-quick-options-container {
        width: 100%;
        max-width: none;
        border-radius: 15px 15px 0 0;
        position: relative;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
    }
    .comment-quick-options-container.active {
        transform: translateY(0);
    }
    .wooreview-helpful-thumb, .wooreview-not-helpful-thumb {
        padding: 2px 10px;
        border: 1px solid #ddd;
        border-radius: 20px;
    }
    .wooreview-all-videos-popup-container, .wooreview-all-images-popup-container {
        margin: 0;
        width: 100%;
        height: 100%;
        padding: 10px;
        background: white;
        border-radius: 0;
    }
    .wooreview-all-images-popup-close-btn-pc,
    .wooreview-all-videos-popup-close-btn-pc {
        display: none;
    }
    .wooreview-all-videos-popup-content .wooreview-all-videos, 
    .wooreview-all-images-popup-content .wooreview-all-images {
        grid-template-columns: repeat(3, 1fr);
    }
    .wooreview-product-rating-image-view-popup .user-certified-badge-icon {
        color: #fff;
    }
    #wooreview-image-view-popup-review-details {
        max-height: 100%;
    }
    .product-rating-image-view-popup-close-btn {
        right: 15px;
        top: 20px;
        font-size: 24px;
        z-index: 10;
    }
    .wooreview-product-rating-video-popup .product-rating-video-popup-close-btn {
        top: 5px;
        right: 15px;
        font-size: 24px;
        z-index: 10;
    }
    .wooreview-single-product-rating-aspect-container {
        flex-direction: column;
        gap: 8px;
    }
}