.opinions__container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.mainpage-opinions .opinions__container {
  margin: unset;
  max-width: unset;
  width: 100% !important;
}
.opinions-top-bar-wrapper {
  margin-bottom: 0.5rem;
}
/*  */
.opinions-total-product-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.25rem;
  border-radius: var(--border-radius);
  background: #fafafa;
}
.opinions-total-product-bar__average-rating {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 80%;
  text-align: center;
}
.opinions-total-product-bar__average-stars {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.opinions-total-product-bar__average-stars img {
  width: 1rem;
  aspect-ratio: 1/1;
}
.opinions-total-product-bar__total-opinions {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 100%;
  color: var(--text-dark);
  text-align: center;
}
.opinions-total-product-bar__progress-bars {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.opinions-total-product-bar__progress-bars-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
}
.opinions-total-product-bar__progress-bars-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 80%;
}
.opinions-total-product-bar__progress-bars-rating img {
  width: 0.75rem;
  aspect-ratio: 1/1;
}
.opinions-total-product-bar__progressbar,
.opinions-total-product-bar__progressbar::-webkit-progress-bar {
  --progress-bar-radius: 5px;
  -webkit-appearance: none;
  appearance: none;
  height: 0.625rem;
  border: unset;
  border-radius: var(--progress-bar-radius);
  background: var(--grey);
  width: 100%;
}
.opinions-total-product-bar__progressbar::-moz-progress-bar {
  background: var(--orange);
  border-radius: var(--progress-bar-radius);
}
.opinions-total-product-bar__progressbar::-webkit-progress-value {
  background: var(--orange);
  border-radius: var(--progress-bar-radius);
}
/*  */
.opinions-filters-bar {
  margin-top: 1rem;
}
.opinions-filters-bar__filters {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}
.opinions-filters-bar__has-img-btn {
  background: #fff;
  border-radius: var(--progress-bar-radius);
  border: 1px solid #e8e8e8;
  cursor: pointer;
  font-size: 0.938rem;
  min-height: 50px;
  outline: none;
  position: relative;
  padding: 0 2.75rem 0 1.25rem;
}
.opinions-filters-bar__has-img-btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1rem;
  width: 1rem;
  height: 1rem;
  border: 1px solid #e8e8e8;
  margin: auto;
}
.opinions-filters-bar__has-img-btn::after {
  --filter-border-color: var(--black);

  content: "";
  border-bottom: 2px solid var(--filter-border-color);
  border-right: 2px solid var(--filter-border-color);
  display: block;
  height: 5px;
  width: 5px;
  position: absolute;
  top: 0;
  bottom: 2px;
  right: 23px;
  margin: auto;
  -webkit-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  opacity: 0;
}
.opinions--sort-by-img .opinions-filters-bar__has-img-btn::after {
  opacity: 1;
}
.opinions-filters-bar__select-wrapper {
  width: 100%;
  max-width: 240px;
  justify-self: end;
}
.opinions-filters-bar__notification {
  padding: 1rem 1.25rem;
  display: none;
}
.opinions--sort-by-img .opinions-filters-bar__notification {
  display: block;
}
.opinions-filters-bar__notification p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 100%;
  color: var(--text-dark);
}
/*  */
.opinions-list {
  list-style: none;
  margin-top: -1.5rem;
}
.opinions-item {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  padding: 3rem 1.5rem;
  border-radius: var(--border-radius);
  background: #fafafa;
}
.opinions-item--has-img {
  padding: 1.5rem 1.5rem 3rem;
}
/*  */
.opinion__flag-btn {
  display: flex;
  font-size: 0.75rem;
  line-height: 100%;
}
.opinion__flag-btn:hover {
  text-decoration: underline;
  text-underline-position: below;
}
.opinion__flag-btn.paused {
  cursor: initial;
}
.opinion__flag-btn.paused:hover {
  text-decoration: unset;
}
.opinion__flag-icon {
  width: 1.5rem;
  aspect-ratio: 16/11;
  border: 1px solid #eee;
  margin-top: 0.25rem;
}
.opinion__above-author-wrapper {
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.opinion__date {
  font-size: 0.75rem;
  line-height: 100%;
  color: var(--text-dark);
}
.opinion__author-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.opinion__author {
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 125%;
}
.opinion__product-name {
  font-size: 1rem;
  font-weight: 400;
  line-height: 115%;
  color: var(--orange);
  margin-top: 1.5rem;
}
.opinion__product-name--clamp {
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 2; 
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.opinion__product-description {
  margin-top: 1.5rem;
  line-height: 150%;
  color: var(--text-dark);
}
.opinion__product-description--clamp {
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 5; 
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.opinion__product-description--small-margin {
  margin-top: 0.75rem;
}
.opinion__img-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.opinions-list--has-swiper .opinion__img-list--2, .opinion__img-list--4 {
  grid-template-columns: repeat(2, 1fr);
  aspect-ratio: 1/1;
}
.opinions-list--has-swiper .opinion__img-list--2 .opinion__img-item--first,
.opinions-list--has-swiper .opinion__img-list--4 .opinion__img-item--first {
  grid-column: 1;
}
.opinions-item.full-read {
  overflow-x: hidden;
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.opinions-item.full-read .opinion__product-description {
  display: initial;
  overflow: initial;
}
.opinions-item--first {
  grid-column: 1/5;
  grid-row: 1;
}
.opinion__img-item {
  display: flex;
  cursor: pointer;
}
.opinion__img-item--first {
  grid-column: 1/5;
  grid-row: 1;
}
.opinion__img-item:not(.opinion__img-item--first) .opinion__img-link {
  pointer-events: none;
}
.opinion__img-link {
  display: flex;
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
}
.opinion__img-item--video:not(.opinion__img-item--first) .opinion__img-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: url('/assets/svg/video-circle.svg') no-repeat center / contain;
  margin: auto;
}
.opinion__img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}
.opinion__rating-wrapper {
  padding-top: 1.5rem;
  margin-top: auto;
}
.opinion__rating-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.opinion__rating-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.opinion__rating-ico-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
}
.opinion__rating-star-icon {
  width: 0.875rem;
  aspect-ratio: 1/1;
}
.opinion__gmoto-reply {
  background: #fafafa;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.opinion__gmoto-reply-title {
  font-size: 0.875rem;
  line-height: 100%;
  font-weight: 500;
}
.opinion__gmoto-reply-body {
  font-size: 0.875rem;
  line-height: 120%;
  color: var(--text-dark);
}
.opinion__gmoto-reply-body a {
  font-size: 0.875rem;
  line-height: 120%;
  color: var(--orange);
  text-decoration: underline;
}
.opinion__auto-trans {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
}
.opinion__auto-trans-ico {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}
.opinion__auto-trans-text {
  font-size: 0.8125rem;
  line-height: 100%;
  font-weight: 500;
  color: var(--bg-medium-grey);
  margin-top: 0.1875rem;
  color: #6a6a6a;
}
.opinion__reliable-opinion {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.opinion__reliable-opinion--userAnswer {
  margin-top: 1rem;
}
.opinion__reliable-opinion-icon {
  width: 1.5rem;
  aspect-ratio: 1/1;
}
.opinion__reliable-opinion-text {
  font-size: 14px;
  line-height: 100%;
  font-weight: 400;
}
.opinions-show-more-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.opinions-list--has-swiper .swiper-pagination {
  position: static;
  margin-top: 1.5rem;
}
.opinions-list--has-swiper .swiper-wrapper {
  align-items: stretch
}
.opinions-list--has-swiper .swiper-slide * {
  user-select: none;
}
.opinions-list--has-swiper .opinions-item {
  height: 100%;
}
.opinion__img-item--video:not(.opinion__img-item--first) object {
  display: none;
}
.opinion__img-item--video.opinion__img-item--first img {
  display: none;
}
/*  */
@media only screen and (min-width: 500px) {
  .opinions-list--has-swiper .swiper-pagination {
    display: none;
  }
}
@media only screen and (min-width: 576px) {
  .opinions-total-product-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .opinions-total-product-bar__progress-bars {
    margin: unset;
    width: 50%;
  }
  .opinions-list--has-swiper {
    position: relative;
  }
}
@media only screen and (min-width: 768px) {
  .opinions-total-product-bar {
    padding: 3rem 1.25rem;
  }
  .opinions-total-product-bar__details-col {
    display: flex;
    gap: 1.5rem;
  }
  .opinions-total-product-bar__average-stars {
    margin: unset;
  }
  .opinions-total-product-bar__progress-bars {
    width: 40%;
  }
  .opinions-total-product-bar__average-rating {
    font-size: 4rem;
  }
  .opinions-total-product-bar__total-opinions {
    font-size: 1.3125rem;
    text-align: left;
  }
  .opinions-item {
    width: calc((100% - 1.5rem) / 2);
  }
  .opinions:hover .opinions-list--has-swiper .swiper-button-prev,
  .opinions:hover .opinions-list--has-swiper .swiper-button-next {
    opacity: 1 !important;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  .opinions-list--has-swiper .opinions-item {
    width: 100%;
  }
}
@media only screen and (min-width: 1024px) {
  .opinions-total-product-bar {
    padding: 4rem 2rem;
  }
  .opinions-total-product-bar__progress-bars {
    width: 50%;
  }
  .opinions-total-product-bar__average-rating {
    font-size: 5rem;
  }
  .opinions-total-product-bar__total-opinions {
    font-size: 1.75rem;
  }
  .opinions-item {
    width: calc((100% - (2 * 1.5rem)) / 3);
  }
  .opinions-list--has-swiper .opinions-item {
    width: 100%;
  }
}
@media only screen and (min-width: 1200px) {
  .opinions-total-product-bar {
    padding: 4rem;
  }
  .opinions .opinions-list--has-swiper .swiper-button-prev {
    left: -1rem;
  }
  .opinions .opinions-list--has-swiper .swiper-button-next {
    right: -1rem;
  }
}
@media only screen and (min-width: 1360px) {
  .opinions .opinions-list--has-swiper .swiper-button-prev {
    left: -3.5rem;
  }
  .opinions .opinions-list--has-swiper .swiper-button-next {
    right: -3.5rem;
  }
}
@media only screen and (min-width: 1520px) {
  .opinions__container {
    margin: auto;
    width: calc(89rem * 0.9) !important;
  }
  .mainpage-opinions .opinions__container {
    margin: auto;
    width: 90% !important;
  }
  .opinions-total-product-bar {
    padding: 4rem 6rem;
  }
}
@media only screen and (min-width: 110em) {
  .opinions__container {
    margin: auto;
    width: calc(109rem * 0.9) !important;
  }
}
