/* ========== COMMON STYLES (style 1 & style 2) ========== */

.mm-gr-section {
  background: #f7f7f7;
  padding: 40px 0;
}

.mm-gr-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  padding: 24px 28px 26px;
}

/* Top bar (Style 1) */
.mm-gr-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.mm-gr-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-gr-google-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.3rem;
  font-weight: 600;
}

.mm-gr-google-logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853);
  -webkit-background-clip: text;
  color: transparent;
}

.mm-gr-google-text {
  color: #202124;
}

.mm-gr-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mm-gr-score {
  font-size: 1.6rem;
  font-weight: 700;
  color: #202124;
}

.mm-gr-stars {
  font-size: 1.1rem;
  color: #f4b400;
}

.mm-gr-count {
  font-size: 0.95rem;
  color: #5f6368;
}

/* CTA button (style 1) */
.mm-gr-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 6px;
  background: #ea4335;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.mm-gr-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* Slider container (βασικό) */
.mm-gr-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-right: -10px;
  scroll-snap-type: x mandatory;
}

.mm-gr-slider::-webkit-scrollbar {
  height: 6px;
}
.mm-gr-slider::-webkit-scrollbar-track {
  background: transparent;
}
.mm-gr-slider::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
}

/* Review cards */
.mm-gr-card {
  flex: 0 0 260px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  padding: 16px 16px 18px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mm-gr-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mm-gr-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}

.mm-gr-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Verified dot */
.mm-gr-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mm-gr-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #202124;
}

.mm-gr-verified {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ea4335;
  position: relative;
}
.mm-gr-verified::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  position: absolute;
  top: 3px;
  left: 3px;
}

.mm-gr-time {
  font-size: 0.8rem;
  color: #7b7f84;
}

.mm-gr-card-stars {
  color: #f4b400;
  font-size: 1rem;
}

.mm-gr-text {
  font-size: 0.9rem;
  color: #3c4043;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mm-gr-more {
  font-size: 0.85rem;
  margin-top: 4px;
  color: #1a73e8;
  text-decoration: none;
}

.mm-gr-more:hover {
  text-decoration: underline;
}


/* ========== STYLE 2 SPECIFIC ========== */

.mm-gr-style-2 .mm-gr-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 10px 0 20px;
  border-radius: 0;
}

/* Header */
.mm-gr-style2-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.mm-gr-style2-score {
  font-size: 2.4rem;
  font-weight: 700;
}

.mm-gr-style2-label {
  font-size: 1.2rem;
  font-weight: 600;
}

.mm-gr-style2-stars {
  font-size: 1.1rem;
  color: #f4b400;
}

.mm-gr-style2-count {
  font-size: 0.95rem;
  color: #5f6368;
}

/* Slider wrapper */
.mm-gr-style2-slider-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
  overflow: visible;
}

.mm-gr-style-2 .mm-gr-slider {
  padding: 10px 0;
  margin-right: 0;
}

/* Cards πιο flat */
.mm-gr-style-2 .mm-gr-card {
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid #e5e5e5;
  flex: 0 0 280px;
}


/* ===== Slider arrows (div-based) ===== */

.mm-gr-style-2 .mm-gr-nav {
  position: absolute;
  top: 50%;
  margin-top: -18px;          /* κάθετο κέντρο χωρίς transform */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  z-index: 50;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  outline: none;
}

/* No transforms at all (theme overrides kill) */
.mm-gr-style-2 .mm-gr-nav,
.mm-gr-style-2 .mm-gr-nav:hover,
.mm-gr-style-2 .mm-gr-nav:focus {
  transform: none !important;
}

/* prev έξω αριστερά */
.mm-gr-style-2 .mm-gr-nav-prev {
  left: -48px;
}

/* next έξω δεξιά */
.mm-gr-style-2 .mm-gr-nav-next {
  right: -48px;
}

/* hover = μόνο σκιά, τα χρώματα έρχονται από inline CSS */
.mm-gr-style-2 .mm-gr-nav:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}


/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
  .mm-gr-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .mm-gr-cta {
    align-self: stretch;
    justify-content: center;
  }

  .mm-gr-card {
    flex: 0 0 80%;
  }

  .mm-gr-style-2 .mm-gr-card {
    flex: 0 0 85%;
  }

  .mm-gr-style2-header {
    flex-wrap: wrap;
    text-align: center;
  }

  .mm-gr-style-2 .mm-gr-slider {
    padding: 10px 16px;
  }

  /* κρύβουμε τα βελάκια στο mobile */
  .mm-gr-style-2 .mm-gr-nav {
    display: none;
  }
}
