/* Widget overflow */
.elementor-widget-testimonialswithproductsnkkaveh,
.elementor-widget-testimonialswithproductsnkkaveh > .elementor-widget-container {
  overflow: visible !important;
}

/* Elementor editor: readable preview before swiper init (fade) */
.elementor-editor-active .comments-nk .swiper-comments-nk:not(.swiper-initialized) .swiper-wrapper,
.elementor-element-edit-mode .comments-nk .swiper-comments-nk:not(.swiper-initialized) .swiper-wrapper {
  display: block;
}
.elementor-editor-active .comments-nk .swiper-comments-nk:not(.swiper-initialized) .swiper-slide,
.elementor-element-edit-mode .comments-nk .swiper-comments-nk:not(.swiper-initialized) .swiper-slide {
  display: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
}
.elementor-editor-active .comments-nk .swiper-comments-nk:not(.swiper-initialized) .swiper-slide:first-child,
.elementor-element-edit-mode .comments-nk .swiper-comments-nk:not(.swiper-initialized) .swiper-slide:first-child {
  display: block !important;
}

/* Icons */
.comments-nk [class^="icon-"],
.comments-nk [class*=" icon-"] {
  font-family: "icomoon" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  speak: never;
  display: inline-block;
  vertical-align: middle;
}
.comments-nk .icon-chevron-left-2:before { content: "\ea3b"; }
.comments-nk .icon-chevron-left:before { content: "\ea37"; }
.comments-nk .icon-chevron-right:before { content: "\ea38"; }

/* Root */
.comments-nk {
  width: 100%;
  direction: inherit;
  unicode-bidi: isolate;
}

/* Wrapper */
.comments-nk__wrapper {
  border: 5px solid rgba(246, 247, 249, 0.5);
  padding-block: 46px 38px;
  padding-inline: 48px;
  border-radius: 30px;
  overflow: visible;
}

/* Heading */
.comments-nk__heading {
  margin-bottom: 46px;
}
.comments-nk__heading__right,
.comments-nk__heading__sub-title {
  gap: 18px;
}
.comments-nk__heading__title {
  font-size: 21px;
  line-height: 34px;
  font-weight: 500;
  color: #040404;
  z-index: 2;
}
.comments-nk__heading__title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  inset-inline-start: 0;
  background-color: #f4f5fa;
  width: 103px;
  height: 19px;
  transform: translateX(calc(-10px * var(--comments-nk-highlight-dir, 1)));
  z-index: -1;
}
.comments-nk:dir(rtl) .comments-nk__heading__title::after,
[dir="rtl"] .comments-nk .comments-nk__heading__title::after {
  --comments-nk-highlight-dir: -1;
}
.comments-nk__heading__title span {
  color: var(--kaveh-primary-color, #d4242e);
  font-weight: 800;
}
.comments-nk__heading__sub-title {
  font-size: 14px;
  line-height: 20px;
  color: #5f7086;
}
.comments-nk__heading__sub-title::before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #49be78;
  border-radius: 50%;
  box-shadow: 0 2px 5px #49be78;
  flex-shrink: 0;
}
.comments-nk__heading__left {
  font-size: 14px;
  line-height: 20px;
  color: #5f7086;
}

/* Slide columns: comment inline-start (right in RTL), products inline-end */
.comments-nk__slide-row {
  --comments-nk-comment-span: 7;
  --comments-nk-products-span: 5;
}
.comments-nk__col-comment,
.comments-nk__col-products {
  width: 100%;
}
@media only screen and (min-width: 992px) {
  .comments-nk__slide-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
  }
  .comments-nk__col-comment,
  .comments-nk__col-products {
    padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    flex: 0 0 auto;
  }
  .comments-nk__col-comment {
    width: calc(100% / 12 * var(--comments-nk-comment-span));
    max-width: calc(100% / 12 * var(--comments-nk-comment-span));
    order: 1;
  }
  .comments-nk__col-products {
    width: calc(100% / 12 * var(--comments-nk-products-span));
    max-width: calc(100% / 12 * var(--comments-nk-products-span));
    order: 2;
  }
  .comments-nk:dir(ltr) .comments-nk__col-comment,
  [dir="ltr"] .comments-nk .comments-nk__col-comment {
    order: 2;
  }
  .comments-nk:dir(ltr) .comments-nk__col-products,
  [dir="ltr"] .comments-nk .comments-nk__col-products {
    order: 1;
  }
}
.comments-nk__slide-row.is-gap-mobile {
  gap: 1.5rem;
}
@media only screen and (min-width: 992px) {
  .comments-nk__slide-row.is-gap-mobile {
    gap: 0;
  }
}

/* Comment card */
.comments-nk__item {
  border-radius: 25px;
  box-shadow: -68px 59px 28px -17px rgba(0, 0, 0, 0.03);
  padding: 22px 28px 38px;
}
.comments-nk__item .heading {
  gap: 12px;
}
.comments-nk__item .info {
  min-width: 0;
}
.comments-nk__item .info .image {
  width: 70px;
  height: 70px;
  border-radius: 24px;
  border: 2px solid #ffd166;
}
.comments-nk__item .info .image::before {
  content: "";
  position: absolute;
  top: 6px;
  inset-inline-end: 2px;
  border: inherit;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  filter: blur(11px);
  z-index: -1;
}
.comments-nk__item .info .image img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}
.comments-nk__item .info .detail {
  min-width: 0;
}
.comments-nk__item .info .detail .name {
  font-size: 15px;
  line-height: 22px;
  font-weight: 800;
  color: #23261b;
  margin-bottom: 14px;
}
.comments-nk__item .info .detail .job,
.comments-nk__item .info .detail .rate {
  font-size: 12px;
  line-height: 18px;
  color: #a4a8ba;
}
.comments-nk__item .info .detail .rate__max {
  color: #a4a8ba;
  font-weight: 400;
}
.comments-nk__item .info .detail .rate__value {
  color: #23261b;
  font-weight: 700;
}
.comments-nk__item .info .detail .rate__sep {
  color: #c5c9d6;
  margin-inline: 1px;
  font-weight: 400;
}
.comments-nk__item .info .detail .rate svg {
  flex-shrink: 0;
  color: var(--kaveh-primary-color, #dc0029);
}
.comments-nk__item .info .detail .rate svg path {
  fill: currentColor;
  stroke: currentColor;
}
.comments-nk__item .btn-more-buys {
  background-color: var(--kaveh-primary-color, #d4242e);
  border-radius: 21px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  padding: 17px 30px;
  z-index: 2;
  text-decoration: none;
  border: 0;
  flex-shrink: 0;
}
.comments-nk__item .btn-more-buys::after {
  content: "";
  position: absolute;
  top: 18px;
  inset-inline-end: 28px;
  bottom: -7px;
  inset-inline-start: 12px;
  border-radius: inherit;
  background-color: inherit;
  opacity: 0.7;
  filter: blur(48px);
  z-index: -1;
}
.comments-nk__item .btn-more-buys:hover,
.comments-nk__item .btn-more-buys:focus,
.comments-nk__item .btn-more-buys:active {
  background-color: var(--kaveh-primary-hover, var(--kaveh-primary-color, #b81f28));
  color: #fff;
}
.comments-nk__item p {
  margin-top: 32px;
  font-size: 14px;
  line-height: 28px;
  color: #a4a8ba;
  z-index: 4;
}

/* Products grid */
.comments-nk__products {
  border-radius: 25px;
  border: 3px solid rgba(35, 38, 27, 0.03);
  height: 100%;
}
.comments-nk__products__col {
  max-width: 50%;
  width: 50%;
  box-sizing: border-box;
}
.comments-nk__products__col:nth-child(odd) {
  border-inline-end: 4px solid rgba(164, 168, 186, 0.13);
}
.comments-nk__products__col:nth-child(n + 3) {
  border-top: 4px solid rgba(164, 168, 186, 0.13);
}
.comments-nk__products__item {
  padding: 38px 24px;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}
.comments-nk__products__item img {
  height: 63px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.comments-nk__products__item .title {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: #5f7086;
  max-height: calc(18px * var(--comments-nk-title-lines, 2));
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--comments-nk-title-lines, 2);
  line-clamp: var(--comments-nk-title-lines, 2);
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  transition: all 0.3s ease-in-out;
}
.comments-nk__products__item:hover .title {
  color: var(--kaveh-primary-color, #d4242e);
}

/* Swiper */
.comments-nk .swiper-comments-nk {
  overflow: visible;
}
.comments-nk .swiper-comments-nk .swiper-slide {
  height: auto;
}
.comments-nk .swiper-nk .swiper-button-prev,
.comments-nk .swiper-nk .swiper-button-next {
  width: 51px;
  height: 48px;
  margin-top: 0;
  top: 50%;
  background-color: color-mix(in srgb, var(--kaveh-primary-color, #d4242e) 56%, transparent);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  font-size: 21px;
  color: #fff;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  position: absolute;
  left: auto !important;
  right: auto !important;
}
.comments-nk .swiper-nk .swiper-button-prev {
  left: 100% !important;
  right: auto !important;
  transform: translateY(-50%) translateX(22px);
}
.comments-nk .swiper-nk .swiper-button-next {
  right: 100% !important;
  left: auto !important;
  transform: translateY(-50%) translateX(-22px);
}
.comments-nk .swiper-nk .swiper-button-prev .swiper-navigation-icon,
.comments-nk .swiper-nk .swiper-button-next .swiper-navigation-icon {
  display: none !important;
}
.comments-nk .swiper-nk .swiper-button-prev i,
.comments-nk .swiper-nk .swiper-button-next i {
  position: relative;
  z-index: 4;
  line-height: 1;
}
.comments-nk .swiper-nk .swiper-button-prev::before,
.comments-nk .swiper-nk .swiper-button-next::before,
.comments-nk .swiper-nk .swiper-button-prev::after,
.comments-nk .swiper-nk .swiper-button-next::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  left: auto;
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMyIgaGVpZ2h0PSI0NSIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTIyLjQxIDQzLjE1YS45LjkgMCAwIDEtLjkyLjkgMjIgMjIgMCAwIDEgMC00My45N2MuNTEtLjAyLjkyLjQuOTIuOXMtLjQxLjkyLS45Mi45NGEyMC4xNiAyMC4xNiAwIDAgMCAwIDQwLjI5Yy41MS4wMi45Mi40My45Mi45NCIvPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgeDE9IjE4LjE1IiB4Mj0iLjQxIiB5MT0iMjIuMDYiIHkyPSIyMi4wNiIgZ3JhZGllbnR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ktcDMgLjkwOTggLjAyMzUgLjI3MDYpO3N0b3Atb3BhY2l0eTouOSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg==") 0 0 / 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
}
.comments-nk .swiper-nk .swiper-button-prev::before,
.comments-nk .swiper-nk .swiper-button-next::before {
  width: 23px;
  height: 45px;
  transform: translate(-4px, -50%);
  background-color: var(--kaveh-primary-color, #e80645);
}
.comments-nk .swiper-nk .swiper-button-prev::before,
.comments-nk .swiper-nk .swiper-button-prev::after {
  right: auto;
  left: 100%;
}
.comments-nk .swiper-nk .swiper-button-prev::before {
  transform: translate(4px, -50%) scaleX(-1);
}
.comments-nk .swiper-nk .swiper-button-prev::after,
.comments-nk .swiper-nk .swiper-button-next::after {
  -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIyNjciIGZpbGw9Im5vbmUiPjxwYXRoIHN0cm9rZT0idXJsKCNhKSIgc3Ryb2tlLW9wYWNpdHk9Ii4xIiBzdHJva2Utd2lkdGg9IjIiIGQ9Ik0xNi40MSAwdjkyLjAyYTIwIDIwIDAgMCAxLTUuMzIgMTMuNTlsLTQuMDMgNC4zNWEyMCAyMCAwIDAgMC01LjMyIDEzLjU4djE4LjY5YTIwIDIwIDAgMCAwIDUgMTMuMjJsNC42NyA1LjNhMjAgMjAgMCAwIDEgNSAxMy4yM3Y5Mi4zIi8+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJhIiBjeD0iMCIgY3k9IjAiIHI9IjEiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoMCAxMzMuMTQxIC0xMy44Njc1IDAgOS4wOCAxMzMuMTQpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2x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2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Q0MjQyRSIgc3R5bGU9InN0b3AtY29sb3I6I2Q0MjQyZTtzdG9wLWNvbG9yOmNvbG9yKGRpc3BsYXktcDMgLjgzMTQgLjE0MTIgLjE4MDQpO3N0b3Atb3BhY2l0eToxIi8+PHN0b3Agb2Zmc2V0PSIuNTEiIHN0b3AtY29sb3I9IiNENDI0MkUiIHN0b3Atb3BhY2l0eT0iLjIxIiBzdHlsZT0ic3RvcC1jb2xvcjojZDQyNDJlO3N0b3AtY29sb3I6Y29sb3IoZGlzcGxheS1wMyAuODMxNCAuMTQxMiAuMTgwNCk7c3RvcC1vcGFjaXR5Oi4yMSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0Q0MjQyRSIgc3R5bGU9InN0b3AtY29sb3I6bm9uZTtzdG9wLW9wYWNpdHk6MCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjwvc3ZnPg==");
  width: 18px;
  height: 267px;
  transform: translate(-26px, -50%);
  background-color: var(--kaveh-primary-color, #d4242e);
}
.comments-nk .swiper-nk .swiper-button-prev::after {
  transform: translate(26px, -50%) scaleX(-1);
}
.comments-nk .swiper-nk .swiper-button-prev:hover,
.comments-nk .swiper-nk .swiper-button-next:hover {
  background-color: var(--kaveh-primary-color, #d4242e);
  color: #fff;
}
.comments-nk .swiper-nk .swiper-button-disabled,
.comments-nk .swiper-nk .swiper-button-disabled::before,
.comments-nk .swiper-nk .swiper-button-disabled::after {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.comments-nk .swiper-nk .swiper-pagination {
  margin-top: 40px;
  gap: 6px;
}
.comments-nk .swiper-nk .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 30px;
  background-color: rgba(163, 163, 163, 0.2);
  opacity: 1;
  margin: 0 !important;
  transition: all 0.3s linear;
}
.comments-nk .swiper-nk .swiper-pagination-bullet-active {
  width: 35px;
  background-color: var(--kaveh-primary-color, #ff0030);
}

/* Responsive */
@media only screen and (max-width: 1199px) {
  .comments-nk__products__item {
    gap: 12px;
    padding: 38px 20px;
  }
  .comments-nk__products__item img {
    height: 56px;
  }
}

@media only screen and (max-width: 991px) {
  .comments-nk__wrapper {
    padding-inline: 24px;
  }
  .comments-nk__products__item {
    padding: 38px 16px;
  }
  .comments-nk__products__item img {
    height: 52px;
  }
  .comments-nk .swiper-nk .swiper-button-prev {
    transform: translateY(-50%) translateX(-3px);
  }
  .comments-nk .swiper-nk .swiper-button-next {
    transform: translateY(-50%) translateX(-6px);
  }
}

@media only screen and (max-width: 767px) {
  .comments-nk__wrapper {
    padding: 0;
    border: 0;
    overflow: visible !important;
  }
  .comments-nk__item {
    background-color: transparent !important;
    border: 5px solid rgba(246, 247, 249, 0.5);
    border-radius: 15px;
    padding: 24px 28px 32px;
  }
}

@media only screen and (max-width: 575px) {
  .comments-nk__heading__title {
    font-size: 14px;
    line-height: 20px;
  }
  .comments-nk__heading__title::after {
    width: 95px;
    height: 14px;
    bottom: 0;
  }
  .comments-nk__heading__sub-title {
    font-size: 11px;
    line-height: 26px;
  }
  .comments-nk__item .info {
    gap: 12px;
  }
  .comments-nk__item .info .image {
    width: 60px;
    height: 60px;
  }
  .comments-nk__item .info .image img {
    width: 45px;
    height: 45px;
  }
  .comments-nk__item .info .detail .name {
    margin-bottom: 8px;
  }
  .comments-nk__item .btn-more-buys {
    width: 39px;
    height: 32px;
    padding: 0;
    border-radius: 30px;
    font-size: 14px;
  }
  .comments-nk__item p {
    margin-top: 22px;
    font-size: 11px;
    line-height: 24px;
  }
  .comments-nk__products {
    border-radius: 15px;
  }
  .comments-nk__products__item {
    gap: 10px;
    padding: 28px 16px;
  }
  .comments-nk__products__item img {
    height: 47px;
  }
  .comments-nk__products__item .title {
    font-size: 10px;
    line-height: 18px;
  }
}
