/* ===========================
   NOVELLO GOOGLE REVIEWS
=========================== */

.google-reviews-section{
  padding:42px 14px;
  background:#fff;
  direction:rtl;
}

.reviews-head{
  max-width:960px;
  margin:0 auto 22px;
  text-align:center;
}

.reviews-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 15px;
  border-radius:999px;
  background:var(--brand-soft,#fde7f1);
  color:var(--brand,#ea1c72);
  font-size:13px;
  font-weight:900;
  margin-bottom:12px;
}

.reviews-head h2{
  margin:0 0 8px;
  color:var(--text,#222);
  font-size:clamp(23px,4vw,34px);
  font-weight:900;
  line-height:1.45;
}

.reviews-sub{
  margin:0 auto 10px;
  max-width:680px;
  color:var(--muted,#666);
  font-size:15px;
  line-height:1.8;
}

.reviews-rating-card{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
  padding:9px 15px;
  border-radius:999px;
  background:#fff;
  border:1px solid #eee;
  color:#555;
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.rating-number{
  color:var(--brand,#ea1c72);
  font-size:20px;
  font-weight:900;
  line-height:1;
}

.rating-stars-text{
  color:#222;
  font-weight:900;
}

.rating-divider{
  width:1px;
  height:18px;
  background:#e8e8e8;
}

/* ===========================
   SLIDER WRAP
=========================== */

.reviews-slider-wrap{
  position:relative;
  max-width:1180px;
  margin:0 auto;
}

.reviews-grid,
.reviews-slider{
  max-width:1180px;
  margin:0 auto;
}

/* Default: carousel everywhere */
.google-reviews-section .reviews-slider{
  display:flex !important;
  gap:16px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:6px 2px 16px;
  scrollbar-width:none;
}

.google-reviews-section .reviews-slider::-webkit-scrollbar{
  display:none;
}

/* Reviews page only: grid */
body.reviews-page .google-reviews-section .reviews-slider{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  overflow:visible;
  gap:18px;
}

/* ===========================
   REVIEW CARD
=========================== */

.review-card{
  position:relative;
  background:#fff;
  border:1px solid #eee;
  border-radius:20px;
  padding:18px;
  box-shadow:0 10px 28px rgba(0,0,0,.055);
  transition:.25s ease;
  overflow:hidden;
  flex:0 0 calc((100% - 32px) / 3);
  min-width:0;
  scroll-snap-align:start;
}

body.reviews-page .review-card{
  flex:initial;
}

.review-card:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,var(--brand,#ea1c72),#ffd4e7);
}

.review-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(0,0,0,.085);
}

.review-top{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:10px;
  text-align:right;
}

.review-avatar{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  background:#f5f5f5;
  border:2px solid #fff;
  box-shadow:0 6px 14px rgba(0,0,0,.10);
  flex:0 0 auto;
}

.review-name{
  margin:0;
  color:#222;
  font-size:14px;
  font-weight:900;
  line-height:1.35;
  text-align:right;
}

.review-source{
  margin:3px 0 0;
  color:#777;
  font-size:12px;
  font-weight:700;
  text-align:right;
}

.review-stars{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:4px;
  margin:8px 0 11px;
  direction:ltr;
}

.review-star{
  width:15px;
  height:15px;
  display:inline-block;
  background:#f7b500;
  clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}

.review-star.empty{
  background:#ddd;
}

.review-text{
  margin:0;
  color:#555;
  font-size:14px;
  line-height:1.85;
  font-weight:600;
  text-align:right;
  display:-webkit-box;
  -webkit-line-clamp:5;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ===========================
   NAV + MORE
=========================== */

.reviews-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:var(--brand,#ea1c72);
  font-size:30px;
  line-height:1;
  font-weight:700;
  cursor:pointer;
  z-index:5;
  box-shadow:0 8px 22px rgba(0,0,0,.12);
  transition:.2s ease;
}

.reviews-nav:hover{
  background:var(--brand,#ea1c72);
  color:#fff;
}

.reviews-prev{
  right:-16px;
}

.reviews-next{
  left:-16px;
}

body.reviews-page .reviews-nav{
  display:none;
}

.reviews-more{
  max-width:1180px;
  margin:18px auto 0;
  text-align:center;
}

.reviews-more a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 20px;
  border-radius:999px;
  background:var(--brand,#ea1c72);
  color:#fff;
  font-size:14px;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(234,28,114,.20);
  transition:.25s ease;
}

.reviews-more a:hover{
  background:var(--brand-700,#d1175e);
  transform:translateY(-2px);
}

.reviews-empty{
  width:100%;
  margin:0;
  padding:18px;
  border-radius:16px;
  background:#fff;
  border:1px solid #eee;
  color:#777;
  text-align:center;
  font-weight:800;
}

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

@media (max-width:980px){

  .review-card{
    flex:0 0 calc((100% - 16px) / 2);
  }

  body.reviews-page .google-reviews-section .reviews-slider{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}

@media (max-width:620px){

  .google-reviews-section{
    padding:32px 12px;
  }

  .reviews-head{
    margin-bottom:18px;
  }

  .review-card{
    flex:0 0 86%;
    border-radius:18px;
    padding:16px;
  }

  .review-avatar{
    width:46px;
    height:46px;
  }

  .review-name{
    font-size:14px;
  }

  .review-text{
    font-size:13px;
    line-height:1.8;
    -webkit-line-clamp:4;
  }

  .reviews-rating-card{
    border-radius:18px;
    padding:10px 12px;
    font-size:12px;
    line-height:1.7;
  }

  .rating-number{
    font-size:18px;
  }

  .reviews-nav{
    display:none;
  }

  body.reviews-page .google-reviews-section .reviews-slider{
    grid-template-columns:1fr;
  }

  .reviews-more a{
    width:100%;
    max-width:320px;
  }

}