.productallreview-page-container {
    display: flex;
    justify-content: center;
    padding: 24px;
    min-height: 100vh;
}

.productallreview-content-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1128px;
    width: 100%;
}

/* ==================== LEFT SECTION ==================== */
/* .productallreview-left-section {
    background: #ffffff;
    padding: 24px 0;
    width: 552px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
} */

/* Image Gallery */
.productallreview-image-gallery {
    display: flex;
    gap: 24px;
    align-items: center;
    width: 100%;
}

.productallreview-thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 342px;
    overflow: hidden;
}

.productallreview-thumbnail {
    width: 72px;
    height: 54px;
    border-radius: 4px;
    border: 0.4px solid #add9ff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
}

.productallreview-thumbnail.productallreview-active {
    border-color: #0062b8;
}

.productallreview-main-product-image {
    width: 456px;
    height: 342px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
}
.writeReviewAll{width: 100%; text-align: center; margin: 24px 0 0;}
.customReviewModal{background-color: #fff; border:1px solid #0062B8; border-radius: 8px; width: 132px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color:#0062B8; font-size: 14px; font-weight: 700; font-family: 'Lato', sans-serif;}
/* Write Review Button */
.productallreview-write-review-btn {
    background: #ffffff;
    border: 0.4px solid #0062b8;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #0062b8;
    cursor: pointer;
    box-shadow: 0px 2px 8px 0px rgba(0, 98, 184, 0.08);
}

.productallreview-write-review-btn:hover {
    background: #f5faff;
}

/* ==================== RIGHT SECTION ==================== */
.productallreview-right-section {
    background: #ffffff;
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Product Overview */
.productallreview-product-overview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.productallreview-product-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.productallreview-product-title {
    flex: 1;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

.productallreview-product-name {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #20253c;
}

.productallreview-product-variant {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: #515567;
}

.productallreview-share-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Price Section */
.productallreview-price-section {
    display: flex;
    gap: 8px;
    align-items: center;
}

.productallreview-discount-tag {
    background: #f5fff5;
    border-radius: 4px;
    padding: 4px 8px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #007a00;
}

.productallreview-original-price {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6a6d7c;
    text-decoration: line-through;
}

.productallreview-current-price {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    color: #20253c;
}

/* Overall Rating Section */
.productallreview-overall-rating-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    padding: 20px 0;
}

.productallreview-rating-value {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.productallreview-rating-number {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 36px;
    line-height: 52px;
    color: #20253c;
}

.productallreview-star-half {
    width: 24px;
    height: 24px;
}

.productallreview-rating-description {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #515567;
    text-align: center;
}

.productallreview-percentage {
    font-weight: 700;
}

.productallreview-description-text {
    font-weight: 400;
}

/* Rating Breakdown */
.productallreview-rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
}

.productallreview-rating-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.productallreview-stars {
    display: flex;
    gap: 2px;
    width: 80px;
    flex-shrink: 0;
}

.productallreview-progress-bar {
    flex: 1;
    height: 8px;
    background: #e7e7ea;
    border-radius: 4px;
    overflow: hidden;
}

.productallreview-progress-fill {
    height: 100%;
    background: #0062b8;
    border-radius: 4px;
}

.productallreview-rating-count {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #515567;
    min-width: 40px;
    text-align: right;
}

/* Reviews Section Divider */
.productallreview-reviews-section-divider {
    height: 1px;
    width: 100%;
    background: #e0e0e0;
    margin: 20px 0;
}

.productallreview-reviews-section-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    color: #20253c;
    margin: 0 0 20px 0;
}

/* User Reviews Container */
#user-reviews-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Review Cards */
.productallreview-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 16px 0;
}

.productallreview-reviewer-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 0.4px solid #CDCED3;
    padding-bottom: 20px;
}
.productallreview-reviewer-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.productallreview-reviewer-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.productallreview-profile-picture {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.productallreview-profile-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0062b8 0%, #004a8f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productallreview-profile-initials {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
}

.productallreview-reviewer-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.productallreview-reviewer-name {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #20253c;
    margin: 0;
}

.productallreview-review-date {
    display: flex;
    gap: 6px;
    align-items: center;
}

.productallreview-calendar-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.productallreview-review-date span {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6a6d7c;
}

.productallreview-review-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.productallreview-review-title {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.productallreview-rating-badge {
    background: #f5fff5;
    border-radius: 4px;
    padding: 4px 8px;
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

.productallreview-rating-badge .productallreview-rating-value {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #007a00;
}

.productallreview-star-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.productallreview-review-heading {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #20253c;
    margin: 0;
}

.productallreview-review-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.productallreview-review-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.productallreview-review-text p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #515567;
    margin: 0;
}

.productallreview-read-more-link {
    display: inline-flex;
    gap:8px;
    align-items: center;
    color: #0062b8;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    width: fit-content;
}

.productallreview-read-more-link:hover {
    text-decoration: underline;
}

.productallreview-arrow-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.allReviewTempTech .mainCarousel-slide{aspect-ratio:1 / 1; background: #f8f9fa;}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .productallreview-content-wrapper {
        flex-direction: column;
    }

    .productallreview-left-section {
        width: 100%;
    }

    .productallreview-image-gallery {
        flex-direction: column;
        align-items: center;
    }

    .productallreview-thumbnail-container {
        flex-direction: row;
        width: 100%;
        height: auto;
        overflow-x: auto;
    }

    .productallreview-main-product-image {
        width: 100%;
        max-width: 456px;
    }

}

@media (max-width: 768px) {
    .productallreview-page-container {
        padding: 12px;
    }

    .productallreview-right-section {
        padding: 16px;
    }

    .productallreview-product-name,
    .productallreview-product-variant {
        font-size: 16px;
        line-height: 24px;
    }

    .productallreview-rating-number {
        font-size: 28px;
        line-height: 40px;
    }
}


/* Rating Categories */
.productreview-reviews-rating-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.productreview-reviews-rating-category {
  display: flex;
  align-items: center;
  gap: 4px;
}

.productreview-reviews-category-icon {
  width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.productreview-reviews-check-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.productreview-reviews-category-rating {
  position: absolute;
  font-size: 12px;
  font-weight: 700;
  color: #20253c;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  line-height: 16px;
}
.viewProductPDP{
    font-size: 13px;
    text-decoration: underline;
    color: #20253c;
    font-family: "Lato Medium", sans-serif;
    font-weight: 600;
    position: absolute;
    top: 8px;
    right: 31px;
}
@media screen and (min-width: 1200px) {
    .relatedWidget .productCard .head>img {
        width: 120px;
        height: 120px
    }
    .allReviewTempTech .leftCol{
        top: 161px;
    }
    .allReviewTempTech .productName {
        padding-right: 125px;
    }
}
@media screen and (max-width: 1199px) {
    .viewProductPDP{display: inline-block; vertical-align: top; margin:10px 0 0; position: static;}
}
@media (min-width: 1024px) {
  .productreview-reviews-rating-categories {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .productreview-reviews-review-imgs img {
    width: 48px;
    height: 48px;
  }
  
  .productreview-reviews-thumbnail-grid {
    width: 300px;
    flex: none;
  }
  
}

.allReviewTempTech .productallreview-product-overview{
    margin-top:32px
}
.productReviewAllHeading{
    color:#20253C;
    font-weight:900;
    margin:0 0 20px;
    font-size: 16px;
    line-height: 24px;
}
.relatedTrendingSec .actionButtons a,
.relatedTrendingSec .actionButtons button{
    font-size: 16px;
    line-height: 22px;
}
.relatedTrendingSec .readAllBtn,
.tlwidgets .readAllBtn,
.newsWidget .readAllBtn,
.relatedCompare .readAllBtn{
    width: 360px;
    height:48px;
    padding:0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 0.4px solid #0062B8;
    border-radius: 8px;
    gap: 10px;
}
.newsWidget.finderNewWidget .readAllBtn img {
    width: 14px;
    height: 14px;
    object-fit: inherit;
    border-radius: 0;
}
.allReviewTempTech .paginationV1{
    padding:0;
    margin-top:32px;
}
.writeReviewAll.showMb{
    display: none
}
.breadcumbWrAll{margin-bottom: 32px;}
@media(max-width: 767px){
    .relatedTrendingSec .readAllBtn, .tlwidgets .readAllBtn, .newsWidget .readAllBtn, .relatedCompare .readAllBtn{
        width: 100%;
        height: 40px;
    }
    .allReviewsWidgets .tlwidgets,
    .allReviewsWidgets .newsWidget.finderNewWidget,
    .allReviewsWidgets .relatedCompare{
        margin-left: 0;
        margin-right: 0;
    }
    .customReviewModal{
        width: 100%;
    }
    .writeReviewAll.showMb{
        display: block;
        margin-top: 16px;
    }
    .writeReviewAll.hideMb{
        display: none;
    }
    .breadcumbWrAll{height: 48px; background: #ebf6ff; margin:16px 0 0; display: flex; align-items: center;}
    .productreview-reviews-main-container.productreview-reviews-main-container{margin-top: 16px;}
    .relatedWidget .productCard .head{align-items: normal;}
    .relatedWidget .productCard .productInfo {display: flex; justify-content: space-between; flex-direction: column;}
    .productreview-reviews-category-icon {width: 32px; height: 32px;}
    
}