.title__section {
  display: flex;
  align-items: center;
  gap: 5px;
}
#comment_section .title__section--text {
  color: var(--text-dark);
  font-size: 1.1rem;
}
.comments {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comments__title--btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.otehr__comment {
  outline: none;
  border: none;
  background: unset;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--text-blue);
  display: flex;
  align-items: center;
  gap: 7px;
}

.comments__parent {
  align-items: start;
}

.modal__comment--list-tab {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment__items,
.comment__items--list {
  display: flex;
  gap: 24px;
  width: 100%;
  overflow: auto;
  flex-direction: column;
}
.comment__items.gap-0 {
  gap: 0 !important;
}
.load__other--comment:not(.otehr__comment) {
  background-color: unset;
  border: unset;
  outline: unset;
  width: max-content;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  gap: 5px;
  order: 1;
}

.comment__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 24px;
  width: 100%;
  border-bottom: 1px solid #c9c9c9;
}

.comment__item--off {
  opacity: 0.6;
}

.no__confirm--comment {
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0 10px;
  margin-top: 10px;
}

.no__comment {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 25px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  min-height: 122px;
}
.no__comment--right-image,
.no__comment--left-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.no__comment--left-image__img,
.no__comment--right-image__img {
  max-width: 100%;
  height: auto;
  display: block;
}
.no__comment--texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.no-comment-image {
  margin: 0 auto;
}
.no__comment--text {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  color: #0f3383;
}
.no__comment--text.sub-text {
  font-weight: 500;
}
.no__comment--btn {
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
}
.no__comment--modal {
  flex-direction: column;
  padding: 24px 0;
  border: unset;
  align-items: center;
  justify-content: center;
}
.no__comment--modal .no__comment--left-image {
  display: none;
}
.no__comment--modal .commnts__send--btn {
  width: 100%;
  background: #2563eb;
  color: #fff;
}
.comment__info {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.comment__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment__user {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.comment__user--name {
  font-size: 16px;
  font-weight: 600;
}

.comment__user--date {
  color: var(--gray-dark);
  font-size: 0.9rem;
  white-space: nowrap;
  text-wrap: nowrap;
  min-height: 22px;
  min-width: 100px;
  position: relative;
}

.comment__rate {
  color: var(--gray-dark);
  font-size: 0.9rem;
  padding-top: 6px;
}

.comment__rate span {
  height: 18px;
}

.comment__des {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment__des .comment__text {
  color: #000000;
  font-size: 16px;
  line-height: 2;
  font-weight: 400;
  text-align: justify;
}
.comment-stars {
  display: flex;
  align-items: center;
  gap: 7px;
}
.comment__answer {
  margin: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: #f9f9f9;
  border-radius: 16px;
}
.comment-answer-logo {
  border-radius: 20px;
}
.comment__answer--profile {
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment__answer--profile span {
  color: #2563eb;
  font-size: 16px;
  font-weight: 600;
}

.comment__answer--text {
  color: #333;
  font-size: 16px;
  line-height: 2;
  text-align: justify;
}

.commnts__send {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  border-radius: 12px;
}

.commnts__send--text {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
#comments__send--alert {
  font-size: 14px;
  font-weight: 500;
  color: #7d7d7d;
}
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating__score {
  display: flex;
  align-items: center;
  font-size: 20px;
  background: rgba(52, 131, 3, 0.13);
  border-radius: 10px;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 3px;
  padding: 1px 6px;
}
.rating__max {
  direction: ltr;
  color: #91b97e;
  font-weight: 700;
}
.rating__value {
  color: rgba(52, 131, 3, 1);
  font-weight: 700;
}

.rating__count {
  font-size: 12px;
  color: #a9adb2;
}
.commnts__send--btn {
  outline: none;
  border: 1px solid var(--priymary-color);
  color: var(--text-blue);
  background-color: var(--white);
  padding: 10px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 10px;
}

.comment__detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.comment__detail p {
  font-size: 0.9rem;
  font-weight: 500;
  height: 18px;
}

.comment__title--positive {
  color: var(--green);
}

.comment__title--negative {
  color: var(--red);
}

.comment__detail--des {
  display: flex;
  align-items: center;
  gap: 5px;
}

.comment__detail--text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.comment__text--item {
  display: flex;
  gap: 5px;
}

.comment__text--item span {
  font-size: 12px;
  font-weight: 500;
}

.comment__reactions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.comment__reactions-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment__reactions--text {
  color: #575757;
  font-size: 14px;
}

.comment__reactions--item {
  background-color: transparent;
  border: unset;
  outline: none;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  position: relative;
}

.comment__reactions--counter {
  font-size: 13px;
  color: #1d242b;
}

.comment__reactions--item.active {
  background-color: rgba(37, 99, 235, 0.1);
}
.comment__reactions--item.active .comment__reactions--counter {
  color: rgba(37, 99, 235, 1);
}

.disable__reaction {
  pointer-events: none;
}

.comment__reactions--loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background-color: #eff4fb;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
}

.comment__reactions--loader-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #a1a3a8;
}

.comment-points {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.comment__detail {
  display: inline-block;
}
.comment__detail.comment__detail--positive,
.comment__detail.comment__detail--negative {
  padding: 5px 0;
}

.loader__reaction .reactions__circle-1 {
  animation: animationCircleLoaderReacton1 1.2s linear infinite normal forwards;
}

.loader__reaction .reactions__circle-2 {
  animation: animationCircleLoaderReacton2 1.2s linear infinite normal forwards;
}

.loader__reaction .reactions__circle-3 {
  animation: animationCircleLoaderReacton3 1.2s linear infinite normal forwards;
}

.loader__reaction .comment__reactions--loader {
  visibility: visible;
  opacity: 1;
}

@keyframes animationCircleLoaderReacton1 {
  0% {
    opacity: 0.9;
  }

  33.333333% {
    opacity: 0.6;
  }

  66.666667% {
    opacity: 0.3;
  }

  to {
    opacity: 0.9;
  }
}

@keyframes animationCircleLoaderReacton2 {
  0% {
    opacity: 0.6;
  }

  33.333333% {
    opacity: 0.3;
  }

  66.666667% {
    opacity: 0.9;
  }

  to {
    opacity: 0.6;
  }
}

@keyframes animationCircleLoaderReacton3 {
  0% {
    opacity: 0.3;
  }

  33.333333% {
    opacity: 0.9;
  }

  66.666667% {
    opacity: 0.6;
  }

  to {
    opacity: 0.3;
  }
}

/* Start Modal Comment */
.modal__comment {
  height: 100%;
  max-width: 1280px;
  padding: 0 !important;
}

.modal__comment .modal__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 9px 43px 0 43px;
}

.modal__comment--switch {
  padding: 0px 43px 0px 43px;
}

.modal__comment--switch__parent {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(37, 99, 235, 0.24);
  position: relative;
}
.comment__switch--images,
.comment__switch--videos {
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px;
  cursor: pointer;
  user-select: none;
  color: #1d408d;
}
.modal__comment--switch__parent::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 50%;
  height: 2px;
  background-color: var(--text-blue);
  transition: left 0.3s ease;
}

/* تب ثبت دیدگاه */
.modal__comment.new__tab .modal__comment--switch__parent::after {
  left: 0;
}
.list__tab .comment__switch--images,
.new__tab .comment__switch--videos {
  color: var(--text-blue);
}

.modal__comment--new-tab {
  display: none;
}

.modal__comment.new__tab .modal__comment--list-tab {
  display: none;
}

.modal__comment.new__tab .modal__comment--new-tab {
  display: flex;
  flex-direction: column;
}

.comment__form {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 18px;
}
.comment__form.disabled {
  pointer-events: none;
  opacity: 0.4;
}

.comment__item-multy {
  display: grid;
  gap: 10px;
}

.comment__rate--new {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 5px;
  flex-wrap: wrap;
}

.comment__rate--new .comment__inp--input {
  flex-grow: 2;
}

.comment__rate--btn {
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: var(--border-radius-card);
}

.comment__inp--label {
  color: var(--text-gray);
  font-size: 0.8rem;
}

.comment__inp--input,
.comment__inp--textarea {
  background-color: #fafafa;
  border: 1px solid #e5e5e5;
  outline: none;
  padding: 17px 10px;
  font-size: 0.8rem;
  color: var(--text-dark);
  resize: none;
  border-radius: var(--border-radius-card);
}

.error__inp .comment__inp--input,
.error__inp .comment__inp--textarea {
  border-color: #ff6d6d !important;
  box-shadow: unset;
}

.comment__inp--textarea {
  height: 200px;
}

.comment__inp--error {
  font-size: 0.8rem;
  color: var(--red);
  display: none;
  margin-top: 10px;
}

.error__inp .comment__inp--error {
  display: flex;
}

.comment__rate--list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.comment__rate--detail {
  display: flex;
  gap: 20px;
}

.comment__rate--detail span {
  font-size: 14px;
  max-width: 200px;
  overflow: hidden;
  text-wrap: nowrap;
  text-overflow: ellipsis;
}

.comment__rate--remove {
  border: none;
  outline: none;
  background-color: unset;
  cursor: pointer;
}

.comment__bottom--fiexd {
  padding-top: 20px;
  margin-top: 20px;
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-bottom: 30px;
}

.comment__btn {
  background-color: var(--priymary-color);
  color: var(--white);
  padding: 10px;
  text-align: center;
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  transition: opacity var(--time-fast);
  border-radius: var(--border-radius-card);
}

.comment__btn:disabled {
  background-color: #6691f1;
  cursor: progress;
}

/* End of Modal Comment */

/* End of Comments */

/* Rating Comment */
.form__item_range {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form__item_range-title {
  flex: 1;
  color: rgb(43 71 90 / var(--tw-text-opacity, 1));
  font-size: 1rem;
}

.form__item--holder_range {
  position: relative;
  height: 50px;
  flex: 2;
  display: flex;
  align-items: center;
}

.form__item--range {
  background: linear-gradient(
    to right,
    var(--priymary-color) 0%,
    var(--tertiary-color) 0%
  );
  width: 100%;
  direction: ltr;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  position: relative;
  height: 12px;
  border-radius: 10px;
  border: none;
  padding: 0;
}

.form__item--range:focus {
  border: none;
}

.range-ticks {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  z-index: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.range-ticks .range-ticks--title {
  width: 4px;
  height: 4px;
  border-radius: 10px;
  background-color: var(--priymary-color);
  pointer-events: none;
  position: relative;
}

.range-ticks--value {
  position: absolute;
  bottom: -28px;
  right: -2px;
  color: var(--priymary-color);
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 500;
}

.form__item--range::-webkit-slider-runnable-track {
  height: 12px;
  border-radius: 5px;
}

.form__item--range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5px;
  height: 24px;
  background: var(--priymary-color);
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 0px 1px var(--white);
  position: relative;
  transform: translateY(-40%);
}

.form__item--range::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5px;
  height: 24px;
  background: var(--priymary-color);
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 0px 1px var(--white);
  position: relative;
  transform: translateY(-40%);
}

.form__item--range:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.comment-video-link--poster {
  position: relative;
  display: block;
  width: 100%;
  max-width: 220px; /* با اندازه‌ی بقیه‌ی thumbnailها هماهنگ کن */
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #1e273b;
  border-radius: 12px;
  overflow: hidden;
}

/* لایه‌ی تیره‌ی ملایم برای یکدست شدن عکس‌های خیلی روشن */
.comment-video-link--poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

.comment-video-link__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

@media screen and (max-width: 422px) {
  .form__item_rating-title {
    gap: 10px;
  }
}
@media screen and (max-width: 670px) {
  .form__item_range {
    align-items: unset;
    flex-direction: column;
    gap: 40px;
  }
}

.rating__comment {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-gray);
}

.rating__comment--icon {
  opacity: 0.5;
}

.rating__comment--number {
  display: flex;
  align-items: center;
}

.comment__modal--fix {
  gap: 18px;
}
.comment-video-link {
  background: rgba(240, 240, 240, 1);
  height: 70px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 70px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.comment-gallery .hotel-card__image {
  width: 100% !important;
  max-width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}

.comment-gallery .swiper-slide {
  max-width: 70px;
}
#comment_section .control__video,
.modal__comment .control__video {
  padding: 0;
  background: rgb(243 233 233 / 22%);
  width: 30px;
  height: 30px;
}
#comment_section .control__video img,
.modal__comment .control__video img {
  background: unset;
  width: 15px;
  height: 15px !important;
  filter: drop-shadow(0px 0px 10px #ccc);
  background-color: unset !important;
  position: relative;
  left: 2px;
}
.comments-fancybox
  .f-thumbs__slide.for-video
  .f-thumbs__slide__button:has(img[src*="/posters/"])::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgb(243 233 233 / 22%)
    url("https://www.yejayekhoob.com/Libraries/svg/play_video.svg?version=1.2.28")
    55% center / 12px 12px no-repeat;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  pointer-events: none;
}
.attach-list {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: auto;
}
.attach-list .swiper-slide > a {
  position: relative;
  display: block;
  overflow: hidden;
}

.swiper-slide--hidden {
  display: none;
}

.attach-list__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  direction: ltr;
}
.attach-list a:has(.attach-list__more) .control__video,
.attach-list a:has(.attach-list__more) > img[alt="comment video"] {
  display: none;
}
/* START FORM INPUT */
.form-box__field {
  position: relative;
  width: 100%;
  height: 50px;
}

.form-box__field__parent {
  width: 100%;
}

.form-box__input {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  outline: 0;
  border: 1px solid #ddd;
  padding: 0 70px 0 40px;
  transition: all 0.3s ease;
  background: white;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
}

.form-box__input::placeholder {
  opacity: 0;
  color: transparent;
}

.form-box__label {
  position: absolute;
  right: 57px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #606470;
  pointer-events: none;
  transition: all 0.2s ease;
  background: white;
  padding: 0 4px;
  font-weight: 400;
}

.form-box__icon {
  position: absolute;
  right: 17px;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  opacity: 1;
  pointer-events: none;
  background: unset;
}

.form-box__input:focus,
.form-box__input:not(:placeholder-shown) {
  padding-right: 12px;
}

.form-box__input:focus + .form-box__label + .form-box__icon,
.form-box__input:not(:placeholder-shown) + .form-box__label + .form-box__icon {
  opacity: 0;
  pointer-events: none;
}

.form-box__input:focus + .form-box__label,
.form-box__input:not(:placeholder-shown) + .form-box__label {
  right: 12px;
  top: 0;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--primary-color, #0066cc);
}

.form-box__input:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0px 0px 4.5px 0px #2563eb30;
}
.form-box__input.error {
  border-color: var(--red);
}

.form-box__input.error + .form-box__label {
  color: var(--red);
}

.form-box__input:-webkit-autofill,
.form-box__input:-webkit-autofill:hover,
.form-box__input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  background-color: #fff !important;
}
/* START POSITIVE AND NEGATIVE NOTES*/
.icon-active {
  display: none;
  background: rgba(37, 99, 235, 0.19);
  border-radius: 5px;
  width: 35px;
  height: 35px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.points-form:focus-within .form-box__icon:not(.active),
.points-form
  .form-box__input:not(:placeholder-shown)
  + .form-box__label
  + .form-box__icon:not(.active) {
  left: 8px;
  right: unset;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer;
  z-index: 9 !important;
  transition: all 0.3s;
  top: 7px;
}

.points-form:focus-within .form-box__icon:not(.active) .icon-active,
.points-form
  .form-box__input:not(:placeholder-shown)
  + .form-box__label
  + .form-box__icon:not(.active)
  .icon-active {
  display: flex;
}

.points-form:focus-within .form-box__icon:not(.active) .icon-default,
.points-form
  .form-box__input:not(:placeholder-shown)
  + .form-box__label
  + .form-box__icon:not(.active)
  .icon-default {
  display: none;
}
.positive__points .form-box__icon:hover,
.negative__points .form-box__icon:hover {
  opacity: 0.8;
}
.error__inp .form-box__label {
  color: #606470 !important;
}
/* END POSITIVE AND NEGATIVE NOTES*/

/* START TEXTAREA STYLES*/
.form-box__field--textarea {
  height: auto; /* حذف ارتفاع ثابت ۵۰ پیکسل برای باکس‌های متنی بلند */
}

.form-box__textarea {
  width: 100%;
  border-radius: 12px;
  outline: 0;
  border: 1px solid #ddd;
  padding: 16px 16px;
  transition: all 0.3s ease;
  background: white;
  font-size: 14px;
  box-sizing: border-box;
  font-family: inherit;
  resize: vertical;
}

.form-box__textarea::placeholder {
  opacity: 0;
  color: transparent;
}

.form-box__label--textarea {
  right: 16px;
  top: 20px;
  transform: translateY(-50%);
}

.form-box__textarea:focus + .form-box__label--textarea,
.form-box__textarea:not(:placeholder-shown) + .form-box__label--textarea {
  right: 12px;
  top: 0;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--primary-color, #0066cc);
}

.form-box__textarea:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0px 0px 4.5px 0px #2563eb30;
}

.form-box__textarea.error {
  border-color: var(--red);
}

.form-box__textarea.error + .form-box__label--textarea {
  color: var(--red);
}
/* END TEXTAREA STYLES*/

.comment__rate--item {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  margin: 10px 5px 0 0;
  font-size: 13px;
  justify-content: space-between;
}

.comment__rate--remove {
  background: none;
  border: none;
  color: #ff4444;
  font-size: 16px;
  cursor: pointer;
  margin-right: 5px;
  padding: 0 5px;
  line-height: 1;
}

/* END FORM INPUT */

/* START COMMENT FORM STARTS*/
.form__item_rating {
  width: 100%;
  margin-bottom: 10px;
}

.form__item_rating-title p {
  font-size: 14px;
  color: #333;
}

.form__item--holder_rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.comment-rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}

.comment-rating-stars__item {
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.comment-rating-stars__item:hover {
  transform: scale(1.15); /* افکت بزرگنمایی ملایم در هاور */
}

.comment-rating-stars__item:active {
  transform: scale(0.9);
}

.form__item_rating-title {
  display: flex;
  justify-content: space-between;
}

/* END COMMENT FORM STARTS*/
/* START COMMENT FORM UPLOAD BOX */
.comment-upload {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  direction: rtl;
}

.comment-upload__input {
  display: none;
}

.comment-upload__box {
  flex: 1;
  min-width: 84px;
  height: 84px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s;
  border: none;
  position: relative;
  border: none;
  border-radius: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='calc(100%25 - 2px)' height='calc(100%25 - 2px)' rx='8' ry='8' fill='none' stroke='%232563eb' stroke-opacity='0.65' stroke-width='2' stroke-dasharray='12 12'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.comment-upload__box.compact {
  flex: 0 0 84px;
  margin-left: 12px;
  padding: 10px;
}

.comment-upload__box span {
  font-size: 12px;
  text-align: center;
  color: rgba(37, 99, 235, 1);
}

.comment-upload__list {
  display: flex;
  gap: 12px;
}

.comment-upload__preview {
  width: 84px;
  height: 84px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #fafafa;
  flex-shrink: 0;
}

.comment-upload__preview .attachment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-upload__preview button {
  position: absolute;
  top: 2px;
  right: 3px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.comment-upload__video {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  gap: 0;
  overflow: hidden;
}

.comment-upload__video svg {
  color: #666;
}

.comment-upload__video span {
  font-size: 11px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comment-upload__preview-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comment-upload__error {
  width: 100%;
  color: var(--red);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  max-width: 110px;
}
/* ATTACHMENTS IN COMMENTS*/
.comment__attachments {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 0px 0;
}

.comment__attachment-item .hotel-card__image {
  border-radius: 8px;
  object-fit: cover;
  max-width: 70px;
  min-width: 70px;
  height: 70px;
}
.view-all-comments-attachments {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: 24px;
}
.view-all-comments-attachments .title {
  font-size: 14px;
  color: #2563eb;
}
/* FANCYBOX STYLES*/
#comment-fancybox-info {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  z-index: 99999;
}

.comment-fancybox-user {
  font-weight: bold;
  margin-bottom: 15px;
}

.comment-fancybox-text {
  line-height: 2;
}

/* CUSTOM FANCYBOX*/
.fancybox__caption {
  display: block !important;
  color: white !important;
}

.fancybox__content {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  width: min(1200px, 90vw) !important;
  max-height: 85vh;
  gap: 20px;
}
.fancybox-image,
.fancybox__html5video {
  min-width: 0;
  object-fit: contain;
}
.fancybox-image {
  flex: 1;
  min-width: 0;
  width: 100%;
  object-fit: contain;
}
.fancybox__html5video {
  flex: 1;
  min-width: 0;
}

.fancybox-comment-overlay {
  flex: 0 0 clamp(260px, 25vw, 340px);
  color: #fff;
  padding: 20px;
  direction: rtl;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 12px;
  justify-content: center;
}

.fancybox-comment-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  margin-bottom: 15px;
}

.fancybox-comment-text {
  line-height: 2;
}
.has-html5video .fancybox__content {
  background: transparent !important;
}
.fancybox__container {
  padding: 15px;
}
.fancybox__toolbar.is-absolute {
  position: absolute;
  top: 15px;
  padding: 0 30px;
}
.fancybox__toolbar__column.is-left {
  padding-left: 10px;
  background: var(--f-button-bg);
}
.f-thumbs__slide.for-html5video.for-video {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.f-thumbs__slide.for-html5video.for-video
  .f-thumbs__slide__button
  .f-thumbs__slide__img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: unset !important;
}
.is-classic .is-nav-selected .f-thumbs__slide__button::after,
.f-thumbs__slide__button {
  border-radius: 8px !important;
}
.fancybox__toolbar__column.is-right {
  background: var(--f-button-bg);
}
.comments__parent {
  display: flex;
  gap: 15px;
  flex-direction: row;
}
.commnts__send {
  flex-basis: 30%;
  border: 1px solid #d9d9d9;
  padding: 13px;
}
.commnts__send:not(.sticky) {
  min-height: 122px;
  justify-content: center;
}
.comment__items {
  flex-basis: 70%;
}
.modal__comment {
  width: 50%;
  height: 80%;
}
.modal__header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
  padding: 15px 28px;
}
.video-upload-progress {
  width: 100%;
}

.video-upload-progress__bar {
  height: 4px;
  width: 0;
  background: #2d8cff;
  border-radius: 10px;
  transition: 0.2s;
}

.video-upload-progress__text {
  font-size: 12px;
  margin-top: 4px;
}
@media screen and (min-width: 801px) and (max-width: 1330px) {
  .no__comment {
    min-height: 129px;
  }
}
@media screen and (min-width: 801px) and (max-width: 850px) {
  .commnts__send {
    padding: 13px;
    min-height: 182px;
  }
}
@media screen and (min-width: 801px) and (max-width: 853px) {
  .no__comment--text {
    font-size: 15px;
  }
}
@media screen and (max-width: 362px) {
  #comment_section .no__comment--text.sub-text {
    font-size: 11px !important;
  }
}

@media screen and (max-width: 800px) {
  .commnts__send:not(.sticky) {
    max-height: 128px;
  }
  comment__items .rating {
    gap: 10px;
  }
  .rating__score {
    font-size: 16px;
    gap: 3px;
  }
  .comments {
    gap: 16px;
  }
  .commnts__send .rating {
    display: none;
  }

  .commnts__send--text {
    justify-content: center;
    text-align: center;
  }
  .no__comment--text {
    font-size: 14px !important;
  }
  #comment_section img.no__comment--right-image__img {
    width: 86px;
  }
  #comment_section .no__comment {
    gap: 12px;
    padding: 24px 0;
    min-height: 80px;
  }
  #comment_section .no__comment--text.sub-text {
    font-size: 12px;
  }
  #comment_section .no__comment--right-image {
    justify-content: flex-start;
    flex: unset;
  }
  .comment__answer--text {
    font-size: 14px;
  }
  #comment_section .no__comment--texts {
    align-items: flex-start;
    gap: 12px;
  }
  .comment__user--name {
    font-size: 14px;
  }
  .comment__des .comment__text {
    font-size: 14px;
  }
  .modal__comment {
    width: 100%;
    height: 100%;
  }
  .no__comment {
    align-items: center;
    border: unset;
    padding: 24px 10px;
    background-color: unset;
  }
  .no__comment--left-image {
    display: none;
  }
  .comments__parent {
    flex-direction: column;
  }
  .commnts__send--btn {
    outline: none;
    border: none;
    color: #fff;
    background-color: var(--text-blue);
  }
  .modal__comment--switch {
    padding: 0px 24px 0px 24px;
  }
  .modal__comment .modal__content {
    padding: 9px 24px 0 24px;
  }
  .modal__header {
    padding: 15px;
  }
  .comment__item-multy {
    gap: 18px;
  }
  .comment__item:last-child {
    border: 0;
  }
  .comments-fancybox .fancybox__content {
    flex-direction: column !important;
    align-items: center !important;
    height: 100% !important;
    gap: 0 !important;
    padding: 15px !important;
    justify-content: center;
  }

  .comments-fancybox .fancybox__slide::before,
  .comments-fancybox .fancybox__slide::after {
    content: unset;
  }
  .comments-fancybox .fancybox__html5video {
    max-height: 260px;
  }
  .comments-fancybox .fancybox__toolbar.is-absolute {
    top: 0 !important;
    padding: 0 !important;
  }
  .comments-fancybox .fancybox-comment-overlay {
    padding: 20px !important;
    flex: unset !important;
  }
  .comments-fancybox .fancybox__toolbar__column.is-left {
    background: var(--f-button-bg);
  }
  .comments-fancybox .is-horizontal .fancybox__nav .f-button.is-next {
    right: 0 !important;
  }
  .comments-fancybox .is-horizontal .fancybox__nav .f-button.is-prev {
    left: 0 !important;
  }
}
@media screen and (min-width: 801px) {
  .comment__items .rating {
    display: none;
  }
  .comment__items {
    flex-basis: 70%;
  }
  .commnts__send.sticky {
    flex-basis: 30%;
    position: sticky;
    top: 110px;
  }
  .comment__item-multy {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .modal__comment {
    width: 40%;
    max-height: 80%;
    height: auto;
  }

  .commnts__send--btn {
    transition: all var(--time-fast);
  }

  .commnts__send--btn:hover {
    background-color: var(--priymary-color);
    color: var(--white);
  }
}
@media screen and (min-width: 801px) and (max-width: 1112px) {
  .modal__comment {
    width: 60%;
  }
}
