.yibo_customer_testimonials {
  overflow: hidden;
  padding: var(--component-gap-sm) 0 var(--component-gap-sm) var(--page-padding);
  background: var(--bg-color);
}

.yibo_customer_testimonials-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
  gap: var(--component-gap-lg);
  align-items: start;
}

.yibo_customer_testimonials-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--text-gap);
  align-items: flex-end;
  justify-content: flex-end;
  height: stretch;
  background-image:url('https://okki-shop.oss-accelerate.aliyuncs.com/templates/shop-default/c14a4016-69f8-4d69-871e-b137a96fa8db-Frame_1786348156961.png') ;
  background-size: 60%;
  background-position: top left;
  background-repeat: no-repeat;
}



.yibo_customer_testimonials-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--title-text-color);
  font-family: var(--title-font-family);
  font-size: var(--title-size);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  width: 75%;
}

.yibo_customer_testimonials-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--text-gap-xs);
  width: 80%;
}


.yibo_customer_testimonials-progress {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 250, 244, 0.92);
}

.yibo_customer_testimonials-progress-fill {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--title-text-color);
  transition: width 0.3s ease;
}

.yibo_customer_testimonials-viewport {
  overflow: hidden;
  min-width: 0;
}

.yibo_customer_testimonials-track {
  padding-top: var(--text-gap);
  display: flex;
  gap: var(--text-gap);
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.yibo_customer_testimonials-card {
  position: relative;
  flex: 0 0 calc(100% / 3.2);
  width: calc(100% / 3.2);
  height: stretch;
  display: flex;
  flex-direction: column;
  gap: var(--text-gap);
}

.yibo_customer_testimonials-bubble {
  flex: 1;
  position: relative;
  padding: var(--text-gap) calc(var(--text-gap-sm) * 2);
  border-radius: var(--radius) var(--radius) var(--radius) 0;
  background: #fffaf4;
  box-shadow: 0 4px 18px rgba(22, 20, 19, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--component-gap-lg);
}

.yibo_customer_testimonials-bubble::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(90%);
  width: clamp(24px, 2.06vw, 48px);
  aspect-ratio: 1/1;
  background: #fffaf4;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  filter: drop-shadow(0 6px 8px rgba(22, 20, 19, 0.06));
}

.yibo_customer_testimonials-content {
  margin: 0;
  color: #7a7474;
  font-family: var(--font-family);
  font-size: var(--text-size-md);
  font-weight: 400;
  line-height: 1.4118;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
}

.yibo_customer_testimonials-stars {
  display: flex;
  gap: var(--text-gap-xs);
  color: #ffb93b;
  font-size: var(--text-size-md);
  line-height: 1;
}

.yibo_customer_testimonials-star.is-muted {
  opacity: 0.3;
}

.yibo_customer_testimonials-author {
  display: flex;
  align-items: flex-end;
  gap: var(--text-gap-xs);
  padding-left: var(--text-gap);
}

.yibo_customer_testimonials-avatar {
  width: clamp(24px, 2.083vw, 40px);;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  background: #b476ff;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: var(--text-size-lg);
  font-weight: 400;
  line-height: 1;
  flex: 0 0 auto;
}

.yibo_customer_testimonials-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yibo_customer_testimonials-author-info {
  min-width: 0;
}

.yibo_customer_testimonials-name {
  margin: 0;
  color: var(--title-text-color);
  font-family: var(--font-family);
  font-size: clamp(10px, 0.625vw, 12px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.yibo_customer_testimonials-meta {
  margin: var(--text-gap-xs) 0 0;
  color: #5b5757;
  font-family: var(--font-family);
  font-size: clamp(8px, 0.521vw, 10px);
  font-weight: 400;
  line-height: 1;
}

.yibo_customer_testimonials.is-static .yibo_customer_testimonials-controls {
  visibility: hidden;
}

@media (max-width: 1199px) {
  .yibo_customer_testimonials {
    padding: var(--component-gap-sm) var(--page-padding) var(--component-gap-sm) ;
  }
  
  .yibo_customer_testimonials-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .yibo_customer_testimonials-intro {
    background-size: contain;
  }



  .yibo_customer_testimonials-card {
    flex-basis: calc(100% / 2.4);
    width: calc(100% / 2.4);
  }
}

@media (max-width: 767px) {



  .yibo_customer_testimonials-card {
    flex-basis: 100%;
    width: 100%;
  }


}
