/* ============================================================
   Bitela Reviews Slider
   ============================================================ */

.bitela-reviews-slider-wrap {
  padding: 20px 0 40px;
  position: relative;
}

/* ── Card ── */
.bitela-card {
  background: #fff;
  border-radius: 20px; /* More rounded as per preview.webp */
  border: 1px solid #e0e0e0;
  padding: 24px;
  box-shadow: none; /* Removing shadow for a cleaner, flatter look */
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.bitela-product-thumb {
  width: 48px;
  height: 48px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bitela-card:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* ── Header ── */
.bitela-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bitela-product-img {
  width: 24px; /* Icons in preview.webp are smaller than the container */
  height: 24px;
  border-radius: 0;
}

.bitela-product-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  display: block;
}

/* ── Stars ── */
.bitela-stars {
  margin-top: 4px;
  display: flex;
  gap: 1px;
}

.bitela-star {
  font-size: 16px;
  line-height: 1;
}

.bitela-star--filled {
  color: #f5a623;
}

.bitela-star--empty {
  color: #d8d8d8;
}

/* ── Comment ── */
.bitela-comment {
  font-size: 14px;
  color: #444;
  line-height: 1.65;
  margin: 0;
/*   flex: 1; */
  max-height:100%;
  min-height:85px;
}

/* ── Media ── */
.bitela-card-media {
  margin-top: auto; /* Push media to stay consistent */
  display: block;
}

.bitela-card-video {
  width: 160px;
  max-width: 100%;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  background: #000;
}

.bitela-card-img {
  width: 90px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #eee;
}

/* ── Footer / Author ── */
.bitela-card-footer {
/*   display: flex; */
	display:none;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
	padding-top: 16px;
	border-top: none;
}

.bitela-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2271b1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bitela-author-name {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* ── Owl Carousel overrides ── */
.bitela-reviews-slider.owl-carousel .owl-stage-outer {
  padding: 10px 4px 16px;
}

.bitela-reviews-slider.owl-carousel .owl-item {
  /* equal-height cards */
  display: flex;
}

.bitela-reviews-slider.owl-carousel .owl-item .bitela-slide-item {
  display: flex;
  width: 100%;
}

.bitela-reviews-slider.owl-carousel .owl-item .bitela-card {
  width: 100%;
}

/* Navigation arrows */
.bitela-reviews-slider.owl-carousel .owl-nav button {
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  font-size: 20px !important;
  line-height: 1 !important;
  color: #2271b1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    background 0.2s,
    box-shadow 0.2s;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.bitela-reviews-slider.owl-carousel .owl-nav button:hover {
  background: #2271b1 !important;
  color: #fff !important;
  border-color: #2271b1 !important;
}

.bitela-reviews-slider.owl-carousel .owl-nav button span {
  margin-top: -2px;
  display: block;
}

/* Dots */
.bitela-reviews-slider.owl-carousel .owl-dots {
  margin-top: 10px;
}

.bitela-reviews-slider.owl-carousel .owl-dot span {
  background: #ddd !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  transition:
    background 0.25s,
    width 0.25s;
}

.bitela-reviews-slider.owl-carousel .owl-dot.active span {
  background: #2271b1 !important;
  width: 22px !important;
  border-radius: 4px !important;
}

/* ── No reviews ── */
.bitela-no-reviews {
  color: #888;
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .bitela-card-video {
    width: 100%;
    height: auto;
  }

  .bitela-card-img {
    width: 80px;
    height: 80px;
  }
}

.bitela-card-video,
.bitela-card-img {
  width: 100%;
  height: 180px; /* Fixed height for consistency in preview.webp */
  object-fit: cover;
  border-radius: 12px;
}

/* 4. Footer / Author refinement */
/* .bitela-card-footer {
  padding-top: 16px;
  border-top: none; /* No border in the reference image */
} */

.bitela-author-avatar {
  width: 32px;
  height: 32px;
  background: #2563eb; /* Specific blue used in preview.webp */
  border-radius: 50%;
  font-size: 14px;
}

/* 5. Navigation arrows from preview.webp */
.bitela-reviews-slider.owl-carousel .owl-nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.bitela-reviews-slider.owl-carousel .owl-nav button {
  border: 1px solid #e0e0e0 !important;
  background: #fff !important;
  color: #000 !important;
  border-radius: 8px !important; /* Squarer buttons */
  width: 45px;
  height: 45px;
}

.bitela-video-trigger {
  position: relative; /* Essential for absolute positioning of the icon */
  width: 100%;
  height: 180px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bitela-video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.video-placeholder-box {
  width: 100%;
  height: 180px;
  background: #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  cursor: pointer;
}

.play-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2); /* Slight dark tint to make icon pop */
}

.play-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
