/* --- Testimonials Refined Design (Standalone) --- */

.gr-summary-panel-final {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 25px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid #f0f0f0 !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 20px;
}

.gr-summary-logo {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-bottom: 5px !important;
  color: #5f6368 !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.gr-summary-score {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  color: #202124 !important;
  line-height: 1 !important;
}

.gr-summary-write-btn {
  margin-top: 15px !important;
  width: 100% !important;
  padding: 10px !important;
  border: 1px solid #dadce0 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #1a73e8 !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.testimonial-card-v2 {
  background: #fff !important;
  border: 1px solid #f0f0f0 !important;
  border-radius: 12px !important;
  padding: 40px 25px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  height: 100% !important;
  width: 100% !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  position: relative !important;
  transition: 0.3s ease !important;
}

.testimonial-v2-header {
  position: relative !important;
  margin-bottom: 20px !important;
  width: 130px !important;
  height: 130px !important;
}

.testimonial-v2-img {
  width: 130px !important;
  height: 130px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 4px solid #fff !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  display: block !important;
  margin: 0 auto !important;
}

.testimonial-v2-initial {
  width: 130px !important;
  height: 130px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  border: 4px solid #fff !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-v2-google-icon {
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  background: #fff !important;
  border-radius: 50% !important;
  padding: 2px !important;
  width: 20px !important;
  height: 20px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  z-index: 2 !important;
}

.testimonial-v2-name {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #9B2082 !important;
  margin: 10px 0 5px !important;
}

.testimonial-v2-stars {
  display: flex !important;
  gap: 3px !important;
  margin-bottom: 5px !important;
  justify-content: center !important;
}

.testimonial-v2-date {
  font-size: 0.85rem !important;
  color: #fff !important;
  margin-bottom: 20px !important;
}

.testimonial-v2-content {
  position: relative !important;
  padding: 0 30px !important;
}

.testimonial-v2-content blockquote {
  font-style: italic !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: #444 !important;
  margin: 0 !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.testimonial-v2-content .quote-icon {
  font-size: 2.5rem !important;
  color: #e0e0e0 !important;
  opacity: 0.6 !important;
  position: absolute !important;
}

.testimonial-v2-content .quote-left {
  left: -10px !important;
  top: -15px !important;
}

.testimonial-v2-content .quote-right {
  right: -10px !important;
  bottom: -15px !important;
}

.gr-trip-gallery-v2 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 25px !important;
  justify-content: center !important;
}

.gr-trip-thumb-v2 {
  width: 70px !important;
  height: 70px !important;
  border-radius: 6px !important;
  object-fit: cover !important;
}

/* Fix Swiper Heights */
#testimonials .swiper-slide {
  height: auto !important;
  display: flex !important;
}

/* --- Lightbox Modal Styles --- */
.gr-lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.gr-lightbox.active {
  display: flex;
}

.gr-lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  cursor: default;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.gr-lightbox.active .gr-lightbox-content {
  transform: scale(1);
}

.gr-lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: 0.3s;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.gr-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}