.latest-reviews {
  --latest-reviews-ink: #22201f;
  --latest-reviews-muted: #77716d;
  --latest-reviews-line: #e8e3df;
  --latest-reviews-accent: #b79a78;
  margin: 60px 0 40px;
  color: var(--latest-reviews-ink);
}

.latest-reviews__container-lg {
  box-sizing: border-box;
  width: 100%;
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 20px;
}

.latest-reviews .heading {
  margin: 0 0 42px;
}

.latest-reviews .heading h2 {
  margin: 0;
}

.latest-reviews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 40px;
}

.latest-reviews__item {
  display: flex;
  gap: 20px;
  min-width: 0;
  padding: 12px 24px;
}

.latest-reviews__grid .latest-reviews__item {
  position: relative;
}

.latest-reviews__grid .latest-reviews__item:nth-child(odd):not(:last-child)::after {
  position: absolute;
  top: 10%;
  right: -24px;
  bottom: 10%;
  width: 1px;
  background: var(--latest-reviews-line);
  content: "";
}

.latest-reviews__slider-shell {
  position: relative;
}

.latest-reviews__swiper {
  overflow: hidden;
}

.latest-reviews__swiper .swiper-wrapper {
  align-items: stretch;
}

.latest-reviews__slide {
  position: relative;
  height: auto;
}

.latest-reviews__slide:not(:last-child)::after {
  position: absolute;
  top: 10%;
  right: -10px;
  bottom: 10%;
  z-index: 1;
  width: 1px;
  background: var(--latest-reviews-line);
  content: "";
  pointer-events: none;
}

.latest-reviews--slider .latest-reviews__item {
  box-sizing: border-box;
  height: 100%;
  padding: 0 24px;
}

.latest-reviews__image-link {
  flex: 0 0 auto;
}

.latest-reviews__image {
  display: block;
  width: var(--latest-reviews-image-width);
  height: var(--latest-reviews-image-height);
  max-width: 100%;
  object-fit: cover;
  background: #f5f2ef;
}

.latest-reviews .latest-reviews__body {
  min-width: 0;
  margin: 0;
}

.latest-reviews__rating {
  margin-bottom: 8px;
  color: var(--latest-reviews-ink);
  font-size: 13px;
  letter-spacing: .12em;
  line-height: 1;
}

.latest-reviews__star--empty {
  color: var(--latest-reviews-line);
}

.latest-reviews__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.latest-reviews__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  margin-bottom: 7px;
}

.latest-reviews__author {
  font-size: 13px;
  font-weight: 600;
}

.latest-reviews__date {
  color: var(--latest-reviews-muted);
  font-size: 12px;
}

.latest-reviews__product {
  display: inline-block;
  margin-bottom: 4px;
  line-height: 16px;
  color: var(--latest-reviews-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.latest-reviews__product:hover,
.latest-reviews__product:focus {
  color: var(--latest-reviews-ink);
  text-decoration-color: currentColor;
}

.latest-reviews__pagination {
  position: static;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 24px;
  transform: none;
}

.latest-reviews__pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 5px;
  background: var(--latest-reviews-ink);
  opacity: .25;
}

.latest-reviews__pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.latest-reviews__nav {
  position: absolute;
  top: calc(50% - 16px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--latest-reviews-line);
  border-radius: 50%;
  background: #fff;
  color: var(--latest-reviews-ink);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .2s ease, background-color .2s ease;
}

.latest-reviews__nav:hover,
.latest-reviews__nav:focus-visible {
  background: #f5f2ef;
}

.latest-reviews__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.latest-reviews__nav--prev {
  left: -21px;
}

.latest-reviews__nav--next {
  right: -21px;
}

.latest-reviews__nav.swiper-button-disabled,
.latest-reviews__nav.swiper-button-lock {
  display: none;
}

@media (max-width: 767px) {
  .latest-reviews__container-lg {
    padding: 0 10px;
  }

  .latest-reviews .heading {
    margin-bottom: 24px;
  }

  .latest-reviews__grid {
    grid-template-columns: 1fr;
  }

  .latest-reviews__item {
    padding: 22px 0;
  }

  .latest-reviews__grid .latest-reviews__item:nth-child(odd):not(:last-child)::after,
  .latest-reviews__slide:not(:last-child)::after {
    display: none;
  }

  .latest-reviews__nav {
    display: none;
  }
}
