/**
 * We offer the best and most useful modules PrestaShop and modifications for your online store
 *
 * We are experts and professionals in PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party
 * Please ensure that you are using a valid license for this file.
 *
 * @author PresTeamShop SAS (Registered Trademark) <info@presteamshop.com>
 * @copyright 2011-2026 PresTeamShop SAS, All rights reserved
 * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 *
 * @category PrestaShop
 * @category Module
 */
.pts-google-reviews__carousel .swiper-slide {
    height: auto;
}

.pts-google-reviews__carousel .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: -2px;
}

.pts-google-reviews {
    margin-top: 20px;
    margin-bottom: 20px;
}

.pts-google-reviews__wrapper {
    padding: 15px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pts-google-reviews--flex-direction-row {
    flex-direction: row;
    gap: 12px;
}

.pts-google-reviews__summary {
    padding: 16px;
    height: auto;
}

#pts-google-reviews-carousel .pts-google-reviews__summary-rating {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ptsgr-carousel-summary-rating-color);
    margin-bottom: 4px;
    line-height: 1;
}

#pts-google-reviews-carousel .pts-google-reviews__summary-rating span.pts-google-reviews__summary-rating-stars {
    font-size: 1.25rem;
    font-weight: inherit;
    color: var(--ptsgr-carousel-summary-rating-color);
}

.pts-google-reviews__summary-stars {
    margin-bottom: 4px;
}

.pts-google-reviews__summary-total {
    font-size: 1rem;
    color: #555;
    margin-bottom: 16px;
}

#pts-google-reviews-carousel .pts-google-reviews__summary-total a {
    font-size: inherit;
}

.pts-google-reviews__carousel {
    width: 100%;
    padding: 0 15px;
}

.swiper.pts-google-reviews__carousel {
    width: 100%;
    padding: 20px 12px;
}

.pts-google-reviews__review-card {
    padding: 16px;
    box-sizing: border-box;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pts-google-reviews__review-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.pts-google-reviews__review-rating {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pts-google-reviews__review-time {
    font-size: 0.75rem;
    color: #999;
    margin-top: 6px;
    text-align: right;
    flex-shrink: 0;
}

.pts-google-reviews__carousel .swiper-pagination-bullet-active {
    background: var(--ptsgr-carousel-navigation-color);
}

.pts-google-reviews__carousel .swiper-button-next,
.pts-google-reviews__carousel .swiper-button-prev {
    color: var(--ptsgr-carousel-navigation-color);
    transform: scale(0.7);
}

.pts-google-reviews__carousel .swiper-button-next::after,
.pts-google-reviews__carousel .swiper-button-prev::after {
    font-size: 1.125rem;
}

.pts-google-reviews__carousel .swiper-button-next {
    right: -10px;
}

.pts-google-reviews__carousel .swiper-button-prev {
    left: -10px;
}

.pts-google-reviews__review-text {
    font-size: 0.875rem;
    color: #666;
}

.pts-google-reviews__review-text.no-comments {
    font-style: italic;
}

.pts-google-reviews__review-time .bold {
    font-weight: 600;
    color: #666;
}

/* ////////////////////////////////////////////// Carousel Design 1 ////////////////////////////////////////////// */

.pts-google-reviews--carouseldesign1 .pts-google-reviews__summary {
    background-color: #f9f9f9;
    border-radius: 15px;
    text-align: center;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__summary-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-card:hover {
    transform: translateY(-4px);
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-header {
    justify-content: space-between;
    margin-bottom: 4px;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-avatar-container {
    width: 50px;
    height: 50px;
    margin-right: 8px;
    flex-shrink: 0;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-author {
    font-weight: 600;
    font-size: 1.125rem;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-author a {
    color: inherit;
    text-decoration: none;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-author a:hover {
    text-decoration: underline;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-text {
    line-height: 1.6;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.pts-google-reviews--carouseldesign1 .pts-google-reviews__review-card:hover .pts-google-reviews__review-text {
    -webkit-line-clamp: unset;
    display: block;
    background-color: #f9f9f9;
    border-radius: 4px;
    max-height: 92px;
    overflow-y: scroll;
    cursor: pointer;
}

/* ////////////////////////////////////////////// Carousel Design 2 ////////////////////////////////////////////// */
.pts-google-reviews--carouseldesign2 .pts-google-reviews__wrapper {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__review-rating-text {
    color: var(--ptsgr-carousel-summary-rating-color);
    font-weight: 600;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__review-rating-text-total {
    font-size: calc(1rem * 0.8);
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__review-header {
    justify-content: left;
    gap: 8px;
    margin-bottom: 16px;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__review-card {
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__review-text {
    flex-grow: 1;
    height: 75px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__review-time {
    text-align: left;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__review-time a {
    color: inherit;
    text-decoration: none;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__review-time a:hover {
    text-decoration: underline;
}

.pts-google-reviews--carouseldesign2 .ptsgr-google-reviews__star-rating-component {
    gap: 4px;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__summary-rating {
    margin-bottom: 8px;
}

.pts-google-reviews--carouseldesign2 .pts-google-reviews__summary {
    padding: 0;
    text-align: center;
}

/* ////////////////////////////////////////////// Carousel Design 3 ////////////////////////////////////////////// */
.pts-google-reviews--carouseldesign3 .pts-google-reviews__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    gap: 0;
}

.pts-google-reviews--carouseldesign3 .pts-google-reviews__summary {
    width: 100%;
}

.pts-google-reviews--carouseldesign3 .pts-google-reviews__header-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.pts-google-reviews--carouseldesign3 .pts-google-reviews__summary-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pts-google-reviews--carouseldesign3 .summary-media-data .summary-media-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin-bottom: .5rem;
}

.pts-google-reviews--carouseldesign3 .summary-media-data .summary-media-content__image {
    width: 68px;
    height: auto;
    object-fit: contain;
    max-width: 68px;
}

.pts-google-reviews--carouseldesign3 .summary-data-place-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .125rem;
}

.pts-google-reviews--carouseldesign3 .summary-data-reviews {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #666666;
}

.pts-google-reviews--carouseldesign3 .summary-data-reviews__text {
    font-weight: 400;
    text-align: center;
}

.pts-google-reviews--carouseldesign3 .summary-data-reviews__text a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.pts-google-reviews--carouseldesign3 .summary-data-reviews__text a:hover {
    text-decoration: underline;
}

.pts-google-reviews--carouseldesign3 .pts-google-reviews__review-card {
    padding: 0;
}

.pts-google-reviews--carouseldesign3 .review-content-body {
    background-color: #fafafa;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.25);
}

.pts-google-reviews--carouseldesign3 .review-content-body .pts-google-reviews__review-header {
    margin-bottom: 0.5rem;
}

.pts-google-reviews--carouseldesign3 .review-content-body .pts-google-reviews__review-text {
    color: #000000;
    font-weight: lighter;
}

.pts-google-reviews--carouseldesign3 .link-to-google-reviews {
    border-radius: 0.25rem;
    text-transform: none;
    font-size: 14px;
    font-weight: 400;
}

.pts-google-reviews--carouseldesign3 .review-content-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
}

.pts-google-reviews--carouseldesign3 .review-content-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
}

.pts-google-reviews--carouseldesign3 .review-content-footer .pts-google-reviews__review-author-and-time .author {
    font-size: 14px;
    font-weight: 700;
}

.pts-google-reviews--carouseldesign3 .review-content-footer .pts-google-reviews__review-author-and-time .author a {
    color: inherit;
    text-decoration: none;
}

.pts-google-reviews--carouseldesign3 .review-content-footer .pts-google-reviews__review-author-and-time .author a:hover {
    text-decoration: underline;
}

.pts-google-reviews--carouseldesign3 .review-content-footer .pts-google-reviews__review-author-and-time .time-date {
    font-size: 12px;
    font-weight: 400;
}

.pts-google-reviews--carouseldesign3 .pts-google-reviews__review-avatar-container {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.pts-google-reviews--carouseldesign3 .pts-google-reviews__review-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.ptsgr-google-reviews-modal .pts-google-reviews.pts-google-reviews--carouseldesign3 {
    margin-top: 0;
    margin-bottom: 0;
}

.ptsgr-google-reviews-modal .pts-google-reviews--carouseldesign3 .pts-google-reviews__summary {
    padding-top: 0;
}

.pts-google-reviews--carouseldesign3 .pts-google-reviews__review-text {
    height: 85px;
    max-height: 85px;
    overflow-y: auto;
}

.pts-google-reviews--carouseldesign3 .pts-google-reviews__review-text.no-comments {
    color: #666666;
}

@media (min-width: 768px) {
    .pts-google-reviews--carouseldesign3 .pts-google-reviews__summary-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .pts-google-reviews--carouseldesign3 .summary-data-reviews__text {
        text-align: left;
    }
    
}

/* ////////////////////////////////////////////// Carousel Design Modal ////////////////////////////////////////////// */
.ptsgr-google-reviews-modal .modal-header {
    border-bottom: 0;
    padding-bottom: 0;
}

.ptsgr-google-reviews-modal .modal-header .close {
    font-size: 2rem;
    opacity: .8;
}

.ptsgr-google-reviews-modal .modal-header .close:hover {
    opacity: 1;
}

.ptsgr-google-reviews-modal .modal-body {
    padding-top: 0;
}

.ptsgr-google-reviews-modal .pts-google-reviews--carouseldesign2,
.ptsgr-google-reviews-modal .pts-google-reviews--carouseldesign1 {
    margin-top: 0;
    margin-bottom: 0;
}

.ptsgr-google-reviews-modal .pts-google-reviews--carouseldesign2 .pts-google-reviews__wrapper {
    border: 0;
    border-radius: 0;
}

.ptsgr-google-reviews-modal .pts-google-reviews__wrapper {
    padding-left: 0px;
    padding-right: 0px;
}

/* ////////////////////////////////////////////// Scrollbar all carousel designs ////////////////////////////////////////////// */

.pts-google-reviews .pts-google-reviews__review-text::-webkit-scrollbar {
    width: 4px;
  }
  
  .pts-google-reviews .pts-google-reviews__review-text::-webkit-scrollbar-button:single-button {
    display: none;
    width: 0;
    height: 0;
  }
  
  .pts-google-reviews .pts-google-reviews__review-text::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .pts-google-reviews .pts-google-reviews__review-text::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    transition: background 0.3s ease;
  }
  
  .pts-google-reviews .pts-google-reviews__review-text::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
  }
  
  .pts-google-reviews .pts-google-reviews__review-text {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
  }