/* Localsewa v32.8.26 — reviews layout and motion polish */

/* Remove the boxed outer reviews container; let the section breathe naturally. */
.ls-customer-reviews {
  background: transparent !important;
}
.ls-customer-reviews__inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.ls-customer-reviews__heading {
  margin-bottom: 14px !important;
  padding: 0 1px;
}

/* Calm transition: no zooming/scaling, just a short restrained slide + fade. */
.ls-customer-reviews__page--exit-left {
  animation: lsReview26ExitLeft .34s cubic-bezier(.4,0,.2,1) both !important;
}
.ls-customer-reviews__page--enter-right {
  animation: lsReview26EnterRight .34s cubic-bezier(.2,.75,.3,1) both !important;
}
.ls-customer-reviews__page--exit-right {
  animation: lsReview26ExitRight .34s cubic-bezier(.4,0,.2,1) both !important;
}
.ls-customer-reviews__page--enter-left {
  animation: lsReview26EnterLeft .34s cubic-bezier(.2,.75,.3,1) both !important;
}
@keyframes lsReview26ExitLeft {
  from { opacity: 1; transform: translate3d(var(--ls-drag-x,0px),0,0); }
  to { opacity: 0; transform: translate3d(-18px,0,0); }
}
@keyframes lsReview26EnterRight {
  from { opacity: 0; transform: translate3d(18px,0,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes lsReview26ExitRight {
  from { opacity: 1; transform: translate3d(var(--ls-drag-x,0px),0,0); }
  to { opacity: 0; transform: translate3d(18px,0,0); }
}
@keyframes lsReview26EnterLeft {
  from { opacity: 0; transform: translate3d(-18px,0,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}

/* Card hierarchy: centered rating first, then the review, then reviewer identity. */
.ls-customer-reviews__card {
  min-height: 206px !important;
  justify-content: flex-start;
  padding: 16px !important;
  border: 1px solid #dcebe1 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(15,23,42,.045) !important;
}
.ls-customer-reviews__stars-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 24px;
  color: #d7e3db;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
}
.ls-customer-reviews__stars-centered .is-filled {
  color: #f59e0b;
}
.ls-customer-reviews__quote {
  margin: 14px 0 18px !important;
  padding: 0 !important;
  color: #203c2d !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.52 !important;
  text-align: center;
  -webkit-line-clamp: 5;
}
.ls-customer-reviews__author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #edf3ef;
}
.ls-customer-reviews__avatar {
  width: 34px !important;
  height: 34px !important;
  flex-basis: 34px !important;
}
.ls-customer-reviews__customer-name {
  min-width: 0;
  max-width: 78%;
  overflow: hidden;
  color: #173d2b;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hide old card fragments from the previous layout if a cached bundle momentarily mixes versions. */
.ls-customer-reviews__card-top,
.ls-customer-reviews__rating-pill,
.ls-customer-reviews__byline,
.ls-customer-reviews__booking-label {
  display: none !important;
}

@media (max-width: 1023.98px),
       (min-width: 1024px) and (max-width: 1439.98px) and (hover: none) and (pointer: coarse) {
  .ls-customer-reviews {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
  .ls-customer-reviews__inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  .ls-customer-reviews__page {
    gap: 10px !important;
  }
  .ls-customer-reviews__page > .ls-customer-reviews__card {
    min-height: 202px !important;
    padding: 14px !important;
  }
  .ls-customer-reviews__title {
    font-size: 19px !important;
  }
}

@media (max-width: 359.98px) {
  .ls-customer-reviews__card {
    min-height: 194px !important;
    padding: 12px !important;
  }
  .ls-customer-reviews__stars-centered {
    font-size: 15px;
  }
  .ls-customer-reviews__quote {
    font-size: 12px !important;
    margin-top: 12px !important;
    margin-bottom: 14px !important;
  }
  .ls-customer-reviews__avatar {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
  }
  .ls-customer-reviews__customer-name {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ls-customer-reviews__page--exit-left,
  .ls-customer-reviews__page--enter-right,
  .ls-customer-reviews__page--exit-right,
  .ls-customer-reviews__page--enter-left {
    animation: none !important;
  }
}
