
/* ── Phone Mockup ─────────────────────────────────────────── */
.phone-mockup-wrap {
  position: relative;
  display: inline-block;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 14px 10px 20px;
  box-shadow:
    0 0 0 2px #3a3a3a,
    0 20px 60px rgba(0,0,0,.35),
    inset 0 0 0 1px #444;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 0 auto;
}

.phone-notch {
  width: 100px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-speaker {
  width: 50px;
  height: 5px;
  background: #333;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  flex: 1;
  border-radius: 30px;
  overflow: hidden;
  background: #f0f0f0;
  margin-top: 14px;
  position: relative;
}

.phone-screen img {
  transition: opacity .4s ease;
}

.phone-home-btn {
  width: 48px;
  height: 5px;
  background: #444;
  border-radius: 3px;
  margin-top: 12px;
}

/* ── Verified Badge ──────────────────────────────────────── */
.review-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  white-space: nowrap;
  z-index: 5;
}

.review-badge-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1CA8CB, #0e7fa0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.review-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.review-badge-text .count-num {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1CA8CB;
}

.review-badge-text small {
  font-size: .72rem;
  color: #888;
}

/* ── Trust badges row ──────────────────────────────────── */
.review-trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: .9rem;
  color: #555;
}

.review-trust-sep { color: #ccc; }

/* ── Screenshot Thumbnail Slider ───────────────────────── */
.review-screenshot-slider {
  margin-bottom: 24px !important;
}

.review-screenshot-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  aspect-ratio: 9/16;
  background: #f5f5f5;
}

.review-screenshot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .3s;
}

.review-screenshot-thumb:hover img,
.review-screenshot-thumb.active img {
  transform: scale(1.03);
}

.review-screenshot-thumb.active,
.review-screenshot-thumb:hover {
  border-color: #1CA8CB;
  box-shadow: 0 6px 20px rgba(28,168,203,.25);
}

.thumb-active-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,168,203,.15);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 8px;
  opacity: 0;
  transition: opacity .25s;
}

.review-screenshot-thumb.active .thumb-active-overlay,
.review-screenshot-thumb:hover .thumb-active-overlay {
  opacity: 1;
}

.thumb-active-overlay i {
  background: #1CA8CB;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}

/* ── Review placeholder (ก่อนมีรูปจริง) ─────────────────── */
.review-placeholder {
  width: 100%;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 10px;
  border: 2px dashed #ddd;
  color: #bbb;
  text-align: center;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .phone-mockup { width: 220px; height: 440px; }
  .review-badge { right: 0; bottom: 10px; }
}
@media (max-width: 575px) {
  .phone-mockup { width: 190px; height: 380px; }
  .review-badge { display: none; }
}