.klyro-customer-reviews,
.klyro-customer-reviews * {
  box-sizing: border-box;
}

.klyro-customer-reviews {
  --kcr-accent: #a74f78;
  --kcr-max-width: 1760px;
  width: 100%;
  background: #fff;
  color: #29262d;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  overflow: hidden;
}

.kcr-inner {
  width: min(100% - 56px, var(--kcr-max-width));
  margin: 0 auto;
}

.kcr-header {
  text-align: center;
  margin: 0 auto 34px;
}

.kcr-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--kcr-accent);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
}

.kcr-badge-stars {
  display: inline-flex;
  color: #ffcf1a;
  letter-spacing: 1px;
}

.kcr-partial-star {
  background: linear-gradient(90deg, #ffcf1a 80%, rgba(255, 255, 255, 0.35) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.kcr-header h2 {
  margin: 8px 0 0;
  color: var(--kcr-accent);
  font-size: 34px;
  line-height: 1.02;
  font-weight: 680;
  letter-spacing: 0;
}

.kcr-header p {
  margin: 18px auto 0;
  color: #29262d;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 430;
}

.kcr-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.kcr-card {
  min-width: 0;
  border: 1px solid #dddadd;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.kcr-image {
  width: 100%;
  aspect-ratio: 1 / .98;
  overflow: hidden;
  background: #f4f2f2;
}

.kcr-image img,
.kcr-image picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kcr-body {
  padding: 18px 16px 16px;
}

.kcr-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}

.kcr-stars {
  color: #ffc400;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 1px;
}

.kcr-name {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--kcr-accent);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

.kcr-verified {
  color: #6b646b;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

.kcr-text {
  margin: 0;
  color: #29262d;
  font-size: 13px;
  line-height: 1.42;
  font-weight: 430;
}

.kcr-product {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #ebe7e9;
  border-radius: 6px;
  background: #fafafa;
  padding: 10px;
}

.kcr-product img,
.kcr-product picture {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.kcr-product-title {
  color: #29262d;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 760;
}

.kcr-price {
  margin-top: 3px;
  color: var(--kcr-accent);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.kcr-price s {
  color: #8a8589;
  font-weight: 500;
}

.kcr-date {
  margin-top: 3px;
  color: #4e4a50;
  font-size: 10px;
  line-height: 1.2;
}

.kcr-arrows {
  display: none;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.kcr-arrows button {
  width: 32px;
  height: 32px;
  border: 1px solid #dbd8db;
  border-radius: 50%;
  background: #fff;
  color: #1f1d22;
  display: grid;
  place-items: center;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1199px) {
  .kcr-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .kcr-inner {
    width: 100%;
  }

  .kcr-header {
    max-width: 340px;
    margin-bottom: 26px;
    padding: 0 14px;
  }

  .kcr-badge {
    max-width: 350px;
    min-height: 24px;
    padding: 4px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .kcr-header h2 {
    margin-top: 6px;
    font-size: 36px;
    line-height: 1.05;
    font-weight: 620;
  }

  .kcr-header p {
    max-width: 300px;
    margin-top: 52px;
    font-size: 16px;
    line-height: 1.32;
  }

  .kcr-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 0 24px;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-padding-left: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .kcr-track::-webkit-scrollbar {
    display: none;
  }

  .kcr-card {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    max-width: 328px;
    scroll-snap-align: start;
  }

  .kcr-body {
    padding: 16px 14px 14px;
  }

  .kcr-text {
    font-size: 13px;
    line-height: 1.42;
  }

  .kcr-product {
    grid-template-columns: 50px 1fr;
    gap: 8px;
    padding: 8px;
  }

  .kcr-product img,
  .kcr-product picture {
    width: 48px;
    height: 48px;
  }

  .kcr-arrows {
    display: flex;
    margin-top: 26px;
  }

  .kcr-arrows button {
    width: 40px;
    height: 40px;
    font-size: 31px;
  }
}
