/* Icons */
.top-selling-products [class^="icon-"],
.top-selling-products [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;
}
.top-selling-products .icon-chevron-left-2:before { content: "\ea3b"; }
.top-selling-products .icon-heart-8:before { content: "\ea3a"; }
.top-selling-products .icon-discount-4:before { content: "\ea3d"; }

.top-selling-products {
  --bg-body: #fff;
}
.top-selling-products .line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}
.top-selling-products .mxw-fit { max-width: fit-content; }

/* Buttons */
.top-selling-products .section-heading-one-nk .btn {
  border-radius: 50rem;
  text-decoration: none;
}
.top-selling-products .btn-nk-danger {
  background-color: var(--kaveh-primary-color, #e90544);
  color: #fff;
}
.top-selling-products .btn-nk-danger:hover,
.top-selling-products .btn-nk-danger:focus,
.top-selling-products .btn-nk-danger:active {
  background-color: var(--kaveh-primary-color, #d4242e);
  color: #fff;
}

/* Equal-height product slides — layout only; card look from product-carts.css */
.top-selling-products .swiper-slide {
  height: auto;
  display: flex;
  align-self: stretch;
}
.top-selling-products .swiper-slide > [class*="product-cart-"],
.top-selling-products .swiper-slide > .product,
.top-selling-products .swiper-slide > [class*="product-"] {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.top-selling-products .swiper-slide > [class*="product-cart-"] > .product-nk,
.top-selling-products .swiper-slide > .product,
.top-selling-products .swiper-slide > [class*="product-"] {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

/* Swiper fallback */
.top-selling-products .swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  gap: 19px;
  overflow-x: auto;
  scrollbar-width: none;
}
.top-selling-products .swiper:not(.swiper-initialized) .swiper-wrapper::-webkit-scrollbar { display: none; }
.top-selling-products .swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 calc((100% - 57px) / 4);
  min-width: 220px;
}

/* Heading */
.top-selling-products .section-heading-one-nk {
  margin-bottom: 48px;
}
.top-selling-products .section-heading-one-nk .title {
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  color: #040404;
}
.top-selling-products .section-heading-one-nk .title span { color: var(--kaveh-primary-color, #e90544); }
.top-selling-products .section-heading-one-nk .sub-title {
  font-size: 15px;
  line-height: 22px;
  color: #5f7086;
}
.top-selling-products .section-heading-one-nk .line { margin: 0 3px; }
.top-selling-products .section-heading-one-nk .line span:first-child {
  border-bottom: 1px dashed #d5d5d5;
  height: 1px;
}
.top-selling-products .section-heading-one-nk .line span:last-child {
  width: 27px;
  height: 3px;
  background-color: var(--kaveh-primary-color, #e90544);
  border-radius: 10px;
}
.top-selling-products .section-heading-one-nk .btn {
  gap: 15px;
  font-size: 12px;
  line-height: 19px;
  padding: 18px 27px;
  flex-shrink: 0;
}
.top-selling-products .section-heading-one-nk .btn::after {
  content: "";
  position: absolute;
  top: 31px;
  right: 39px;
  bottom: -4px;
  left: 10px;
  background-color: inherit;
  opacity: 0.5;
  filter: blur(48px);
  z-index: -1;
}
.top-selling-products .section-heading-one-nk .btn i { font-size: 14px; }
.top-selling-products .section-heading-one-nk .btn .heading-btn-icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.top-selling-products .section-heading-one-nk .btn .heading-btn-icon-svg svg,
.top-selling-products .section-heading-one-nk .btn > svg {
  width: 1em;
  height: 1em;
  max-width: 1em;
  max-height: 1em;
  display: block;
  fill: currentColor;
  stroke: currentColor;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .top-selling-products .swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 14px) / 2.5);
    min-width: 180px;
  }
}
@media (max-width: 767px) {
  .top-selling-products .section-heading-one-nk {
    margin-bottom: 32px;
    flex-wrap: wrap;
    row-gap: 16px;
  }
  .top-selling-products .section-heading-one-nk .title {
    font-size: 14px;
    line-height: 20px;
  }
  .top-selling-products .section-heading-one-nk .sub-title {
    font-size: 12px;
    line-height: 18px;
  }
  .top-selling-products .section-heading-one-nk .btn {
    font-size: 11px;
    line-height: 17px;
    padding: 13px 18px;
    gap: 10px;
  }
  .top-selling-products .swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 8px) / 1.6);
    min-width: 160px;
  }
}
