#reviewModal .modal-header .close,
#allReviewsModal .modal-header .close{font-weight: 300; font-size: 30px;}

.modal-review-image {
    width: 100%;
    height: 400px; /* Adjust this value as needed */
    object-fit: contain;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
}

.thumbnail-grid .thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid transparent;
    pointer-events: all;
    opacity: .5;
}
.thumbnail-grid .thumbnail:hover {
    transform: scale(1.05);
}
.thumbnail-grid .thumbnail.active {
    border: 2px solid #ffc107;
    opacity: 1;
}
#product-review .gap-4,
.block-reviews-images .thumbnail-grid.gap-4{
    gap: 4px;
}
#product-review .overflow-x-auto,
.block-reviews-images .thumbnail-grid.overflow-x-auto{
    overflow-x: auto;
}
#product-review .star-rating,
.customerreview-store-view .star-rating {
    color: #ffc107;
    font-size: 1.2em;
}
#product-review .modal-body .star-rating i,
#product-review .modal-body .line-rating,
#product-review .modal-body .line-rating i  {
    font-size: 0.8em;
}
#product-review .rating-bar,
.customerreview-store-view .rating-bar {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}
#product-review .rating-fill,
.customerreview-store-view .rating-fill {
    height: 100%;
    background-color: #ffc107;
    transition: width 0.3s ease;
}
/* Infinite Scroll Styles */
#allReviewsList {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f8f9fa;
}

/* Webkit browsers (Chrome, Safari) */
#allReviewsList::-webkit-scrollbar {
    width: 6px;
}

#allReviewsList::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

#allReviewsList::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

#allReviewsList::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

/* Loading Indicator */
#loadingIndicator {
    top: 50%; 
}
#loadingIndicator .spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Review Items */
#allReviewsList .review-item {
    transition: background-color 0.2s ease;
}
/* No More Reviews Message */
#noMoreReviews {
    border-top: 1px solid #eee;
    margin-top: 1rem;
}

/* Review Images */
#product-review .review-image {
    /* width: 60px;
    height: 60px; */
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s;
    outline: 1px solid rgba(0, 0, 0, .07);
    outline-offset: -1px;
    pointer-events: all;
    margin: 0 2px;
}
#product-review .review-image:hover {
    transform: scale(1.05);
}
.block-reviews-images .ai-summary {
    background-color: #f8f9fa;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}
.block-reviews-images .modal-review-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}
.block-reviews-images .thumbnail-grid {
    gap: 4px;
    margin-top: 15px;
}
.block-reviews-images .thumbnail-grid .flag {
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1em;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 2px;
    position: absolute;
}
.block-reviews-images .thumbnail-grid .flag i{
    font-size: 0.9em;
}
.block-reviews-images .thumbnail-grid.overflow-x-auto::-webkit-scrollbar{
    display: none;
}
.block-reviews-images .thumbnail-grid.overflow-x-auto::-webkit-scrollbar-track{
    display: none;
}
.block-reviews-images .thumbnail-grid.overflow-x-auto::-webkit-scrollbar-thumb{
    display: none;
}
.block-reviews-images .thumbnail-grid.overflow-x-auto::-webkit-scrollbar-thumb:hover{
    display: none;
}
.block-reviews-images .thumbnail-grid.overflow-x-auto::-webkit-scrollbar-track{
    display: none;
}
.block-reviews-images .thumbnail-grid.overflow-x-auto::-webkit-scrollbar-thumb{
    display: none;
}
.block-reviews-images .thumbnail-grid.overflow-x-auto::-webkit-scrollbar-thumb:hover{
    display: none;
}
.block-reviews-images .thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.block-reviews-images .thumbnail.active {
    border-color: #ffc107;
}
.block-reviews-images .thumbnail:hover {
    border-color: #fed14b;
}
/** GERAL **/
.selo-avaliacao {
    list-style: none;
    display: inline-block;
}

.selo-trust-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 12px;
    text-decoration: none !important;
    color: #111111;
    font-family: inherit;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.selo-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-hexagon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-hexagon svg {
    width: 100%;
    height: 100%;
}

.rating-info {
    display: flex;
    flex-direction: column;
}

.rating-info .score {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    color: #111111;
}

.rating-info .score .max {
    font-size: 12px;
    font-weight: 500;
    color: #282828;
}

.rating-info .stars {
    color: #ffc107;
    font-size: 11px;
    margin-top: 2px;
    letter-spacing: 1px;
}

.selo-divider {
    width: 1px;
    height: 30px;
    background-color: #e5e7eb;
}

.selo-right {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.selo-right .title {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    color: #111111;
}

.selo-right .by {
    font-size: 8px;
    color: #282828;
    margin-top: 2px;
    text-transform: uppercase;
}

.selo-right .by b {
    color: #111111;
}
.product-review-link{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0px;
}
.products-grid .product-review-link{
    display: flow;
}
.products-grid .product-review-link span{
    display: none;
}
.product-star-rating i {color: #ffc107;font-size: 1.2em;}


.review-stars-filter {
    padding-top: 7px;
}
.review-stars-filter li i{
    font-size: 1.2em;
}
.review-stars li.active i:before {
    content: "\e92f";
    color: #ffca00;
}

@media (min-width: 768px) {
    .border-right-md {
        border-right: 1px solid #e5e7eb;
    }
}

