/**************************/
/*COMMERNT */
/**************************/

#review_form_wrapper form,
#commentform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  -moz-column-gap: 2.8rem;
  column-gap: 1.5rem;
  row-gap: min(2rem, 5vw);
}

.comment-notes,
#reviews>#review_form_wrapper #reply-title {
  display: none;
}

.comment-notes {
  display: none;
}

.form-submit,
.comment-form-comment,
.comment-form-mobile {
  grid-column: 1/-1;
}

.form-submit {
  justify-self: center;
}

.cat-parent {
  position: relative;
}

#comments {
  margin-top: 64px;
}

.comment-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.commentlist .comment_container {
  position: relative;
  box-shadow: 0px 6px 37.84px 0px #99999933;
  padding: 2rem 12px;
  background: #fff;
  border-radius: 20px;
}

.head-comment {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  justify-content: space-between;
}

.logo {
  display: flex;
}

.logo:before {
  content: "";
  background: url(../img/comment-user.png) no-repeat;
  width: 90px;
  height: 30px;
  background-size: contain;
  line-height: 1;
  display: inline-block;
}

.author_comment img {
  width: 52px;
  -o-object-fit: contain;
  object-fit: contain;
  background: var(--color3);
  border-radius: 0 0 4px 4px;
  padding: 0 5px;
  height: 52px;
}

.author_comment .icon-account {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--c-primary);
  border-radius: 100vw;
  color: var(--c-neutral-000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.byadmin>.comment_container .meta_comment {
  background-color: var(--c-primary);
}

.name_comment {
  font-size: 18px;
  color: #313131;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-radius: 6px;
  padding: 10px;
}

.name_comment i {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background-color: #EBFAF4;
  color: var(--color3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author_comment span {
  display: inline-block;
  margin-top: 1rem;
}

.woocommerce-noreviews {
  display: none;
}

.text-comment {
  line-height: 2.5;
  padding-top: min(1rem, 3vw);
}

.time_comment {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: var(--color3);
	backdrop-filter: blur(8px);
	border-radius: 8px;
	padding: 6px 10px 5px;
	color: #fff;
	font-size: 12px;
}

.byadmin .time_comment {
  color: #4D4D4D;
  background-color: #fff;
}

.time_comment i {
  color: var(--color1) !important;
  font-size: 18px;
}

.commentlist>ul.children {
  padding-right: min(10rem, 8vw);
  position: relative;
  margin-bottom: 2rem;
}

.byadmin.comment_container {
  background-color: #034A63;
  border-radius: 20px;
}

.byadmin.comment_container>.head-comment .name_comment {
  background: transparent;
  padding: 0;
}

.byadmin.comment_container>.head-comment .name_comment i {
  background: transparent;
}

.byadmin.comment_container>.head-comment .name_comment span {
  color: #fff;
  margin-top: 4px;
}

.item-comment.byadmin>.comment_container {
  border-color: var(--c-primary);
}

.isreply .icon-direction-left {
  rotate: 90deg;
  background-color: var(--color3);
  border-radius: 50%;
  font-size: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.comment-awaiting-moderation {
  color: var(--danger);
  text-align: center;
  display: block;
  background: var(--bg-danger);
  font-style: normal;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.text_comment.editor-content.main-content p {
  font-size: 14px;
  color: #242424;
  padding: 0 24px 32px 12px;
}

.byadmin .text_comment.editor-content.main-content p {
  color: #fff;
}

.text_comment.editor-content.main-content>*+* {
  margin-top: 0.5rem;
}

.comment-reply-link {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  transition: 0.3s;
  margin-right: 20px;
  gap: 8px;
  position: absolute;
  bottom: -16px;
  left: 36px;
  color: var(--color3);
  background-color: #fff;
  border: 1px solid #EBEBEB;
  border-radius: 20px;
  width: 59px;
  height: 32px;
}

a.comment-reply-link:hover {
  color: var(--color2);
}

.byadmin a.comment-reply-link:after {
  color: #fff;
}

.comment-rate {
  display: flex;
  min-width: 4.8rem;
  border-radius: 12px;
  color: var(--text-primary);
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  font-size: var(--fs-13);
  border: 1px solid var(--br2-300);
}

.comment-rate i {
  vertical-align: baseline;
  font-size: 20px;
}

.comment-rate b {
  font-size: var(--fs-15);
}

.footer--comment {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.comment-reply-title {
  display: flex;
  gap: min(2rem, 3vw);
  background: #fff;
  border: 1px dashed var(--color1);
  border-radius: 10px;
  padding: 1rem 3rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
  font-size: 14px;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}

#cancel-comment-reply-link {
  background: var(--color1);
  padding: 0.5rem 2rem;
  color: #fafafa;
  border-radius: 8px;
  border: 1px solid var(--color1);
}

#cancel-comment-reply-link:hover {
  background: transparent;
  color: var(--color1);
}

.isreply {
  position: absolute;
  right: -90px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  color: var(--color1);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
}

.must-log-in,
.woocommerce-verification-required {
  border: 1px solid var(--danger);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 6rem;
  color: var(--danger);
}

.comment-form-comment,
.comment-form-email,
.comment-form-author {
  position: relative;
}

/* load more */

.editor-content.main-content.text-comment>*+* {
  margin: 0;
}

.woocommerce-review__verified.verified {
  background: var(--color3);
  font-size: 13px;
  border-radius: 16px;
  padding: 1px 1rem;
  margin-left: auto;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.woocommerce-review__verified.verified i {
  font-size: 16px;
}

/**************************/
/* BELOW 576px */
/**************************/
@media (min-width: 36em) {}

/**************************/
/* ABOVE 768px */
/**************************/
@media (min-width: 48em) {
  .commentlist .children li .isreply {
    right: -52px;
  }
}

/**************************/
/* ABOVE 992px */
/**************************/
@media (min-width: 62em) {
  .author-post-text {
    flex: 1;
  }

  .commentlist>.cat-parent>ul.children {
    padding-right: 110px;
  }

  .commentlist .children li .isreply {
    right: -110px;
  }

  .comment_container::before {
    width: calc(100% - 80px);
  }
}

/**************************/
/* ABOVE 1200px */
/**************************/
@media (min-width: 75em) {}

/**************************/
/* BELOW 1200px */
/**************************/
@media (max-width: 75em) {}

/**************************/
/* BELOW 992px */
/**************************/
@media (max-width: 62em) {}

/**************************/
/* BELOW 768px */
/**************************/
@media (max-width: 48em) {}

/**************************/
/* BELOW 576px */
/**************************/
@media (max-width: 35.99em) {

  .comment_container::before {
    top: 19px;
  }

  .commentlist>ul.children {
    padding-right: 3rem;
  }

  #review_form_wrapper form,
  #commentform {
    grid-template-columns: minmax(0, 1fr);
  }

  .isreply {
    right: -42px;
  }

  .text_comment.editor-content.main-content p {
    padding: 0;
  }

  .name_comment i {
    font-size: 24px;
  }

  .name_comment {
    font-size: 15px;
  }

  .isreply .icon-direction-left {
    position: absolute;
    left: 8px;
  }

  .time_comment {
    padding: 4px;
  }

  .logo:before {
    height: 36px;
  }

  .head-comment {
    padding-right: 0;
  }
}