/* AR Google Reviews — Plugin CSS */

/* ==============================
   CAROUSEL — structure (JS)
   ============================== */
.sc-carousel-wrapper {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  padding-bottom: 4px;
}
.sc-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.sc-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}
.sc-carousel-dot {
  height: 8px;
  width: 8px;
  border-radius: 4px;
  background: #d0d0ce;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .3s, width .3s;
}
.sc-carousel-dot.active {
  background: #cb2228;
  width: 24px;
}

/* ==============================
   BADGE GOOGLE [ar_google_badge]
   ============================== */
.sc-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 0.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px 28px;
  margin-bottom: 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.sc-google-badge__score-block { text-align: center; }
.sc-google-badge__score {
  font-size: 38px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 4px;
}
.sc-google-badge__stars {
  color: #fbbc05;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.sc-google-badge__stars .half,
.sc-google-badge__stars .empty { opacity: .4; }
.sc-google-badge__count { font-size: 11px; color: #888; }
.sc-google-badge__divider { width: 1px; height: 52px; background: #e0e0e0; flex-shrink: 0; }
.sc-google-badge__brand { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sc-google-badge__brand-name { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.sc-google-badge__rating { display: none; }

/* ==============================
   MINI BADGE [ar_google_mini_badge]
   ============================== */
.ar-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1;
  vertical-align: middle;
}
.ar-mini-badge svg { display: block; flex-shrink: 0; }
.ar-mini-badge__rating { font-weight: 600; color: #222; }
.ar-mini-badge__sep { color: #bbb; }
.ar-mini-badge__count { color: #555; }

/* ==============================
   CAROUSEL AVIS [ar_google_reviews]
   ============================== */
.ar-reviews-wrap { position: relative; }

.ar-avis-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #EBEBEB;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ar-review-top { display: flex; align-items: center; gap: 12px; }
.ar-avatar-img,
.ar-avatar-initials {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.ar-avatar-initials {
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.ar-author-meta { flex: 1; min-width: 0; }
.ar-author-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ar-google-icon { width: 14px; height: 14px; flex-shrink: 0; }
.ar-review-date { font-size: 12px; color: #999; margin-top: 2px; }
.ar-stars { color: #FBBC05; font-size: 24px; letter-spacing: 2px; line-height: 1; }
.ar-stars .empty { opacity: .3; }
.ar-review-body { flex: 1; }
.ar-review-excerpt,
.ar-review-full { font-size: 15px; color: #444; line-height: 1.35; margin: 0; }
.ar-read-more {
  font-size: 12px; color: #4285F4; font-weight: 500;
  cursor: pointer; display: inline-block; margin-top: 4px;
}
.ar-read-more:hover { text-decoration: underline; }

/* Bouton suivant */
.ar-carousel-next {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #555;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: box-shadow .2s;
  z-index: 2;
}
.ar-carousel-next:hover { box-shadow: 0 4px 14px rgba(0,0,0,.14); }
