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

.buy-top-product-nk [class^="icon-"],
.buy-top-product-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;
}
.buy-top-product-nk .icon-chevron-left-2:before { content: "\ea3b"; }
.buy-top-product-nk .icon-toman-3:before { content: "\ea3c"; }

/* Helpers */
.buy-top-product-nk .line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.buy-top-product-nk .toman-symbol--modern {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.buy-top-product-nk .toman-symbol--modern svg {
  width: 1em;
  height: 1em;
  display: block;
}

/* Pre-init fade swiper */
.buy-top-product-nk .swiper-buy-top-product-nk:not(.swiper-initialized) .swiper-wrapper {
  display: block;
}
.buy-top-product-nk .swiper-buy-top-product-nk:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

/* Wrapper */
.buy-top-product-nk__wrapper {
  padding: 13px 69px 0 54px;
  background-color: #e6ecf3;
  border-radius: 35px;
}

.buy-top-product-nk .text .title {
  font-size: 44px;
  line-height: 60px;
  font-weight: 800;
  color: #13275f;
}

.buy-top-product-nk .text .sub-title {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: #021959;
  direction: ltr;
}

.buy-top-product-nk__image {
  margin-left: 60px;
}

.buy-top-product-nk__image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.buy-top-product-nk,
.buy-top-product-nk__wrapper,
.buy-top-product-nk__products {
  overflow: visible;
}

.buy-top-product-nk__products {
  max-width: 370px;
  transform: none !important;
}

.buy-top-product-nk--no-decor .buy-top-product-nk__products .swiper-wrapper::before,
.buy-top-product-nk--no-decor .buy-top-product-nk__products .swiper-wrapper::after {
  content: none !important;
}

.buy-top-product-nk__products .swiper-buy-top-product-nk {
  overflow: visible !important;
}

.buy-top-product-nk__products .swiper-wrapper {
  position: relative;
}

.buy-top-product-nk__products .swiper-wrapper::before,
.buy-top-product-nk__products .swiper-wrapper::after {
  content: "";
  position: absolute;
  background-color: #fff;
  right: 114px;
  pointer-events: none;
  z-index: 2;
}

.buy-top-product-nk__products .swiper-wrapper::before {
  bottom: -25px;
  width: 1px;
  height: 40px;
}

.buy-top-product-nk__products .swiper-wrapper::after {
  bottom: -25px;
  width: 180px;
  height: 1px;
  transform: translateX(179px);
}

/* Pagination + More */
.buy-top-product-nk .swiper-pagination {
  gap: 5px;
}

.buy-top-product-nk .swiper-pagination-bullet {
  margin: 0 !important;
  width: 8px;
  height: 8px;
  opacity: 1;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.16);
}

.buy-top-product-nk .swiper-pagination-bullet-active {
  background-color: #000;
  width: 27px;
}

.buy-top-product-nk .swiper-bottom {
  margin-top: 45px;
  gap: 27px;
}

.buy-top-product-nk .swiper-bottom .btn-more {
  width: 54px;
  height: 44px;
  border-radius: 30px;
  background-color: var(--kaveh-primary-color, #d4242e);
  box-shadow: 0px 14px 35px color-mix(in srgb, var(--kaveh-primary-color, #d4242e) 25%, transparent);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.buy-top-product-nk .swiper-bottom .btn-more:hover {
  background-color: var(--kaveh-primary-hover, var(--kaveh-primary-color, #b11e26));
  color: #fff;
}

.buy-top-product-nk .swiper-bottom .btn-more .btn-more-icon-svg,
.buy-top-product-nk .swiper-bottom .btn-more svg {
  width: 1em;
  height: 1em;
  display: block;
}

.buy-top-product-nk .swiper-bottom .btn-more i {
  line-height: 1;
}

/* Product item */
.buy-top-product-nk__item {
  border-radius: 35px;
  padding: 20px 16px 16px 24px;
  overflow: hidden;
  min-width: 0;
  width: 100%;
}

.buy-top-product-nk__item .number {
  font-size: 23px;
  line-height: 34px;
  color: var(--kaveh-primary-color, #d4242e);
  margin-left: 12px;
  flex: 0 0 auto;
}

.buy-top-product-nk__item .image {
  width: 88px;
  height: 88px;
  border: 2px solid rgba(164, 168, 186, 0.1);
  margin-left: 20px;
  flex: 0 0 88px;
}

.buy-top-product-nk__item .image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2px;
  background-image: radial-gradient(70.55% 28.1% at 0% 50%, var(--kaveh-primary-color, #d4242e) 0%, transparent 100%);
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.buy-top-product-nk__item .image .img {
  width: 75px;
  height: 74px;
  background-image: linear-gradient(180deg, #e6eff3 0%, rgba(199, 206, 216, 0) 100%);
  box-shadow: 0px 0px 12px 3px rgba(255, 255, 255, 0.25) inset;
  position: relative;
  z-index: 1;
}

.buy-top-product-nk__item .image .img img {
  width: 39px;
  height: 43px;
  object-fit: contain;
}

.buy-top-product-nk__item .detail {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  max-width: none;
}

.buy-top-product-nk__item .detail .title {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  max-height: 40px;
  color: #394454;
  margin-bottom: 10px;
}

.buy-top-product-nk__item .detail .title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.buy-top-product-nk__item .detail .title a:hover {
  color: var(--kaveh-primary-color, #d4242e);
}

.buy-top-product-nk__item .detail .price-rate {
  min-width: 0;
  width: 100%;
}

.buy-top-product-nk__item .detail .price-rate .price {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  flex: 0 1 auto;
  font-size: 16px;
  line-height: 22px;
  color: #040404;
}

.buy-top-product-nk__item .detail .price-rate .price:not(.price--sale) {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.buy-top-product-nk__item .detail .price-rate .price__regular {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  color: #9aa0b3;
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.buy-top-product-nk__item .detail .price-rate .price__regular::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background-color: currentColor;
  transform: translateY(-50%);
  opacity: 0.85;
}

.buy-top-product-nk__item .detail .price-rate .price__current {
  min-width: 0;
  gap: 5px !important;
  line-height: 1;
}

.buy-top-product-nk__item .detail .price-rate .price__amount {
  color: inherit;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}

.buy-top-product-nk__item .detail .price-rate .price .currency-symbol,
.buy-top-product-nk__item .detail .price-rate .price .toman-symbol,
.buy-top-product-nk__item .detail .price-rate .price i {
  font-size: 11px;
  color: #a4a8ba;
  flex-shrink: 0;
  font-weight: 400;
}

.buy-top-product-nk__item .detail .price-rate .price .toman-symbol svg {
  width: 18px;
  height: 14px;
  display: block;
}

.buy-top-product-nk__item .detail .price-rate .price--html {
  font-size: 15px;
  line-height: 22px;
}

.buy-top-product-nk__item .detail .price-rate .price--html del {
  font-size: 12px;
  font-weight: 400;
  color: #9aa0b3;
}

.buy-top-product-nk__item .detail .price-rate .line {
  height: 1px;
  min-width: 8px;
  max-width: 40px;
  flex: 1 1 12px;
  background-color: rgba(0, 0, 0, 0.06);
  align-self: center;
}

.buy-top-product-nk__item .detail .price-rate .rate {
  gap: 7px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: #040404;
  flex: 0 0 auto;
  white-space: nowrap;
}

.buy-top-product-nk__item .detail .price-rate .rate svg {
  color: #ffc700;
  flex-shrink: 0;
}

/* Responsive */
@media only screen and (max-width: 1399px) {
  .buy-top-product-nk__wrapper {
    padding: 13px 40px 0;
  }

  .buy-top-product-nk .text .title {
    font-size: 32px;
    line-height: 48px;
  }

  .buy-top-product-nk .text .sub-title {
    font-size: 12px;
  }
}

@media only screen and (max-width: 1199px) {
  .buy-top-product-nk__image {
    margin-left: 24px;
  }

  .buy-top-product-nk__image img {
    width: 240px;
    height: auto;
  }

  .buy-top-product-nk__products {
    max-width: 330px;
  }

  .buy-top-product-nk__products .swiper-wrapper::after {
    width: 141px;
    transform: translateX(140px);
  }
}

@media only screen and (max-width: 991px) {
  .buy-top-product-nk__wrapper {
    padding: 16px 24px;
  }

  .buy-top-product-nk__image {
    margin-left: 0;
  }

  .buy-top-product-nk__products {
    max-width: 100%;
  }

  .buy-top-product-nk__products .swiper-wrapper::before,
  .buy-top-product-nk__products .swiper-wrapper::after {
    content: none;
  }

  .buy-top-product-nk .swiper-bottom {
    margin-top: 27px;
  }
}

@media only screen and (max-width: 767px) {
  .buy-top-product-nk__wrapper,
  .buy-top-product-nk__item {
    border-radius: 20px;
  }

  .buy-top-product-nk .text {
    max-width: calc(100% - 152px);
  }

  .buy-top-product-nk .text .title {
    font-size: 16px;
    line-height: 24px;
  }

  .buy-top-product-nk .text .sub-title {
    font-size: 9px;
    line-height: 14px;
  }

  .buy-top-product-nk__image img {
    width: 140px;
  }
}

@media only screen and (max-width: 575px) {
  .buy-top-product-nk__wrapper {
    padding: 16px 12px;
  }

  .buy-top-product-nk__item {
    padding: 20px 16px 16px;
  }

  .buy-top-product-nk__item .image {
    width: 78px;
    height: 78px;
    margin-left: 12px;
  }

  .buy-top-product-nk__item .image .img {
    width: 70px;
    height: 70px;
  }

  .buy-top-product-nk__item .image .img img {
    height: 40px;
  }

  .buy-top-product-nk__item .detail {
    max-width: none;
  }

  .buy-top-product-nk__item .detail .title {
    font-size: 12px;
    line-height: 18px;
    max-height: 36px;
  }

  .buy-top-product-nk__item .detail .price-rate .price {
    font-size: 15px;
    line-height: 20px;
  }

  .buy-top-product-nk__item .detail .price-rate .price__amount {
    font-size: 15px;
    line-height: 20px;
  }

  .buy-top-product-nk__item .detail .price-rate .price .currency-symbol,
  .buy-top-product-nk__item .detail .price-rate .price .toman-symbol,
  .buy-top-product-nk__item .detail .price-rate .price i {
    font-size: 10px;
  }

  .buy-top-product-nk__item .detail .price-rate .price__regular {
    font-size: 11px;
  }
}
