/* =========================
   CARD REVIEW – GENERAL
========================= */
.vala-rev-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:24px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  box-shadow:0 8px 24px rgba(0,0,0,.04);
}

/* =========================
   HEADER
========================= */
.vala-rev-stars{
  color:#ffb400;
  font-size:18px;
  letter-spacing:1px;
  margin-bottom:6px;
}

.vala-rev-author{
  font-size:14px;
  color:#111;
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}

.vala-rev-verified{
  font-size:12px;
  color:#6c757d;
}

/* =========================
   TEXT REVIEW + SEE MORE
========================= */
.vala-rev-text{
  font-size:14px;
  color:#444;
  line-height:1.55;
  margin:14px 0 6px;
}

.vala-rev-text.is-collapsed{
  max-height:120px;
  overflow:hidden;
  position:relative;
}

.vala-rev-text.is-collapsed:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:42px;
  background:linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.vala-rev-text.is-expanded{
  max-height:none;
  overflow:visible;
}

.vala-rev-text.is-expanded:after{
  display:none;
}

.vala-rev-more{
  display:inline-block;
  margin:4px 0 16px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  color:#111;
  user-select:none;
}

/* =========================
   REVIEW MEDIA
========================= */
.vala-rev-media{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0 14px;
}

.vala-rev-media-item{
  display:inline-flex;
  width:70px;
  height:70px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #eee;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  cursor:pointer;
}

.vala-rev-media-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* =========================
   PRODUCT SECTION
========================= */
.vala-rev-prod{
  display:flex;
  gap:14px;
  align-items:center;
  border-top:1px solid #eee;
  padding-top:16px;
  margin-top:auto;
}

.vala-rev-prod-img img{
  width:70px;
  height:70px;
  object-fit:contain;
  border-radius:14px;
}

.vala-rev-prod-name{
  font-size:14px;
  font-weight:700;
  color:#111;
  display:block;
  line-height:1.25;
  text-decoration:none;
}

.vala-rev-prod-price{
  font-size:14px;
  color:#111;
  margin-top:4px;
}

/* =========================
   SWIPER CONTAINER
========================= */
.vala-rev-swiper{
  position:relative;
  padding:0 70px;
}

/* =========================
   NAVIGATION
========================= */
.vala-rev-nav{
  position:absolute;
  top:50%;
  left:0;
  right:0;
  transform:translateY(-50%);
  pointer-events:none;
  z-index:10;
}

.vala-rev-prev,
.vala-rev-next{
  pointer-events:auto;
  position:absolute;
  width:44px;
  height:44px;
  border:1px solid #eee;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  background:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
  user-select:none;
}

.vala-rev-prev{ left:14px; }
.vala-rev-next{ right:14px; }

.vala-rev-prev:hover,
.vala-rev-next:hover{
  transform:translateY(-1px);
  transition:.2s ease;
}

/* =========================
   DOTS - ASCUNSE TEMPORAR
========================= */
.vala-rev-carousel .vala-rev-dots,
.vala-rev-carousel .swiper-pagination{
  display:none !important;
}

/* =========================
   BUTTON
========================= */
.vala-rev-all-wrap{
  text-align:center;
  margin-top:24px;
}

.vala-rev-all-btn{
  display:inline-block;
  padding:12px 26px;
  border-radius:14px;
  background:#111;
  color:#fff;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  transition:.25s ease;
}

.vala-rev-all-btn:hover{
  background:#000;
  color:#fff;
  transform:translateY(-1px);
}

/* =========================
   LIGHTBOX
========================= */
html.vala-rev-lb-lock{
  overflow:hidden;
}

.vala-rev-lb{
  position:fixed;
  inset:0;
  z-index:999999;
  display:none;
}

.vala-rev-lb.is-open{
  display:block;
}

.vala-rev-lb-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
}

.vala-rev-lb-inner{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.vala-rev-lb-img{
  max-width:min(92vw, 920px);
  max-height:86vh;
  border-radius:16px;
  box-shadow:0 18px 60px rgba(0,0,0,.45);
  background:#111;
  object-fit:contain;
}

.vala-rev-lb-close,
.vala-rev-lb-prev,
.vala-rev-lb-next{
  position:absolute;
  border:0;
  cursor:pointer;
  user-select:none;
  width:44px;
  height:44px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  font-size:26px;
  line-height:1;
}

.vala-rev-lb-close{ top:18px; right:18px; font-size:28px; }
.vala-rev-lb-prev{ left:18px; top:50%; transform:translateY(-50%); }
.vala-rev-lb-next{ right:18px; top:50%; transform:translateY(-50%); }

.vala-rev-lb-close:hover,
.vala-rev-lb-prev:hover,
.vala-rev-lb-next:hover{
  transform:translateY(-50%) translateY(-1px);
}

.vala-rev-lb-close:hover{
  transform:translateY(-1px);
}

/* =========================
   MOBILE
========================= */
@media (max-width:768px){
  .vala-rev-card{
    padding:18px;
  }

  .vala-rev-swiper{
    padding:0 50px;
  }

  .vala-rev-prev,
  .vala-rev-next{
    width:38px;
    height:38px;
  }

  .vala-rev-prod-img img{
    width:60px;
    height:60px;
  }

  .vala-rev-media-item{
    width:60px;
    height:60px;
    border-radius:14px;
  }

  .vala-rev-lb-prev{ left:12px; }
  .vala-rev-lb-next{ right:12px; }
  .vala-rev-lb-close{ top:12px; right:12px; }
}