/* V20 TEST — carrusel de reseñas local y continuo; sin recursos de terceros. */
.v20-reviews,
.v20-reviews * {
  box-sizing: border-box;
}

.v20-reviews {
  padding: 18px 8px 19px;
  background: #fff;
  color: #222529;
}

.v20-reviews__inner {
  max-width: 1090px;
  margin: 0 auto;
}

/* Cabecera centrada sobre el carrusel. */
.v20-reviews__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 13px;
  text-align: center;
}

.v20-reviews__eyebrow {
  margin: 0 0 4px;
  color: #c94f00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.v20-reviews__heading h2,
.v20-reviews__head h2 {
  margin: 0;
  color: #222529;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.18;
}

.v20-reviews__accent {
  display: block;
  width: 46px;
  height: 2px;
  margin: 9px 0 8px;
  border-radius: 2px;
  background: #ff6a00;
}

.v20-reviews__rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.v20-reviews__rating-stars {
  color: #e5a100;
  font-size: 17px;
  letter-spacing: .06em;
  line-height: 1.2;
}

.v20-reviews__rating-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
}

.v20-reviews__rating-line strong {
  color: #c94f00;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.15;
}

.v20-reviews__rating-line span {
  color: #42494f;
  font-size: 13px;
  font-weight: 700;
}

.v20-reviews__date {
  margin: 4px 0 0;
  color: #687078;
  font-size: 11px;
  line-height: 1.35;
}

.v20-reviews__carousel {
  min-width: 0;
}

/* Padding inside the clipped viewport keeps hover borders and shadows visible. */
.v20-reviews__viewport {
  width: 100%;
  margin: -9px -11px;
  padding: 9px 11px;
  overflow: hidden;
}

.v20-reviews__track {
  position: relative;
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 14px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.v20-reviews__slide {
  display: flex;
  min-width: 0;
  flex: 0 0 calc((100% - 28px) / 3);
  align-self: flex-start;
}

.v20-reviews__card {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 11px 13px 10px;
  border: 1px solid #e3e6e8;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(34, 37, 41, .055);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.v20-reviews__card:hover {
  transform: translateY(-2px);
  border-color: #ff6a00;
  box-shadow: 0 7px 14px rgba(34, 37, 41, .12);
}

.v20-reviews__card-head {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 5px;
}

.v20-reviews__name {
  min-width: 0;
  margin: 0;
  color: #222529;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.v20-reviews__stars {
  color: #e5a100;
  font-size: 13px;
  letter-spacing: .035em;
  line-height: 1.2;
  white-space: nowrap;
}

.v20-reviews__comment {
  width: 100%;
  margin: 0;
  color: #3d444a;
  font-size: 12px;
  line-height: 1.38;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: pre-line;
}

.v20-reviews__reply {
  width: 100%;
  margin-top: 7px;
  color: #4b535a;
  text-align: center;
}

.v20-reviews__reply summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #c94f00;
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  list-style: none;
}

.v20-reviews__reply summary::-webkit-details-marker {
  display: none;
}

.v20-reviews__reply summary::after {
  content: "+";
  color: #ff6a00;
  font-size: 14px;
  line-height: 1;
}

.v20-reviews__reply[open] summary::after {
  content: "−";
}

.v20-reviews__reply summary:focus-visible {
  border-radius: 3px;
  outline: 2px solid #c94f00;
  outline-offset: 3px;
}

.v20-reviews__reply p {
  margin: 6px 0 0;
  color: #626970;
  font-size: 11px;
  line-height: 1.42;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.v20-reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 8px;
}

.v20-reviews__arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  padding: 0;
  border: 1px solid #ff6a00;
  border-radius: 50%;
  background: #fff;
  color: #c94f00;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}

.v20-reviews__arrow:hover {
  background: #fff4ea;
}

.v20-reviews__arrow:focus-visible {
  outline: 3px solid #c94f00;
  outline-offset: 3px;
}

.v20-reviews__arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.v20-reviews__actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.v20-reviews__actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #ff6a00;
  border-radius: 9px;
  background: #ff6a00;
  color: #222529;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease;
}

.v20-reviews__actions a:hover {
  background: #f15a00;
}

.v20-reviews__actions a:focus-visible {
  outline: 3px solid #c94f00;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .v20-reviews__slide {
    flex-basis: calc((100% - 14px) / 2);
  }
}

@media (max-width: 600px) {
  .v20-reviews {
    padding: 15px 6px 17px;
  }

  .v20-reviews__head {
    margin-bottom: 9px;
  }

  .v20-reviews__viewport {
    margin: -8px -8px;
    padding: 8px;
  }

  .v20-reviews__slide {
    flex-basis: 100%;
  }

  .v20-reviews__card {
    padding: 10px 11px 9px;
  }

  .v20-reviews__comment {
    font-size: 12px;
    line-height: 1.36;
  }

  .v20-reviews__controls {
    margin-top: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v20-reviews__card,
  .v20-reviews__arrow,
  .v20-reviews__actions a {
    transition: none;
  }

  .v20-reviews__card:hover {
    transform: none;
  }
}
