.ProductItemTopSeller {
  display: grid;
  grid-template-columns: max-content 30ch minmax(0, 1fr) minmax(12ch, max-content);
  gap: 0 1rem;
  grid-template-areas: "topSellerImage topSellerTitle topSellerPerex topSellerPrice" "topSellerImage topSellerInfo topSellerPerex topSellerPrice";
  align-items: center;
  padding-bottom: var(--spaceSm);
  margin-bottom: var(--spaceSm);
  position: relative;
}

@media (max-width: 80rem) {
  .ProductItemTopSeller {
    grid-template-areas: "topSellerImage topSellerTitle topSellerPrice" "topSellerImage topSellerInfo topSellerPrice" ". topSellerPerex topSellerPerex";
    grid-template-columns: max-content minmax(0, 1fr) minmax(12ch, max-content);
  }
}

@media (max-width: 32rem) {
  .ProductItemTopSeller {
    grid-template-areas: "topSellerImage topSellerTitle" "topSellerImage topSellerInfo" "topSellerImage topSellerPrice";
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.25rem 1rem;
  }
  .ProductItemTopSeller:not(:last-of-type) {
    border-bottom: 1px dashed var(--colorOutlines);
  }
  .ProductItemTopSeller-perex {
    display: none;
  }
  .ProductItemTopSeller-sleva {
    width: 0;
    height: 0;
    border: 1px solid #ffc800;
    border-radius: 41px !important;
    background-color: transparent !important;
    padding: 0 var(--spaceXs) !important;
  }
}

.ProductItemTopSeller-rating {
  grid-area: topSellerRating;
}

.ProductItemTopSeller-image {
  grid-area: topSellerImage;
}

.ProductItemTopSeller-title {
  grid-area: topSellerTitle;
  color: var(--colorText);
  font-size: 1rem;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.ProductItemTopSeller-title h3 {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.ProductItemTopSeller-title a {
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* number of lines to show */
  line-clamp: 1;
  -webkit-box-orient: vertical;
}

.ProductItemTopSeller-title a:hover, .ProductItemTopSeller-title a:active, .ProductItemTopSeller-title a:focus {
  text-decoration: underline;
}

@media (max-width: 32rem) {
  .ProductItemTopSeller-title a {
    text-decoration: underline;
  }
  .ProductItemTopSeller-title a:hover, .ProductItemTopSeller-title a:active, .ProductItemTopSeller-title a:focus {
    text-decoration: none;
  }
}

.ProductItemTopSeller-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

.ProductItemTopSeller-stock::before {
  content: '';
  width: 1rem;
  height: 0.875rem;
  display: inline-block;
  border-radius: 0.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6' fill='none'%3E%3Cpath d='M3.07195 5.61145C3.71527 5.61145 4.32166 5.36212 4.77722 4.90656L7.72913 1.95466C7.90458 1.77921 8 1.54835 8 1.3021C8 1.05585 7.90458 0.824993 7.72913 0.649541C7.3813 0.301715 6.77183 0.301715 6.42401 0.649541L3.47211 3.60145C3.37053 3.70302 3.22586 3.76151 3.07503 3.76151C2.9242 3.76151 2.77953 3.70302 2.67795 3.59837L1.57599 2.49333C1.22816 2.1455 0.6187 2.1455 0.270874 2.49333C0.0954216 2.66878 0 2.89964 0 3.14589C0 3.39213 0.0954216 3.62299 0.270874 3.79844L1.37284 4.90349C1.8284 5.35905 2.43478 5.60837 3.07811 5.60837L3.07195 5.61145Z' fill='%23F9F9F9'/%3E%3C/svg%3E");
  background-color: var(--colorStockIn);
  background-position: center;
  background-repeat: no-repeat;
}

.ProductItemTopSeller-stock.is-in {
  color: var(--colorStockIn);
}

.ProductItemTopSeller-stock.is-out {
  color: var(--colorStockOut);
}

.ProductItemTopSeller-perex {
  grid-area: topSellerPerex;
  font-size: var(--textXs);
  color: var(--colorTextSubtle);
}

.ProductItemTopSeller-perex p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 25rem) {
  .ProductItemTopSeller-title + .ProductItemTopSeller-priceWrap {
    margin-top: calc(var(--spaceSm) * -1);
  }
}

.ProductItemTopSeller-info {
  grid-area: topSellerInfo;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.675rem;
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .ProductItemTopSeller-info {
    flex-flow: column;
  }
}

.ProductItemTopSeller-priceWrap {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
  grid-area: topSellerPrice;
  align-self: center;
  text-align: right;
  line-height: 1;
}

.ProductItemTopSeller-price {
  font-weight: 600;
  font-size: 1rem;
}

.ProductItemTopSeller--is-discounted .ProductItemTopSeller-price {
  color: var(--colorTagDiscounted);
}

.ProductItemTopSeller-prices {
  display: flex;
  flex-flow: column;
  gap: 0.25rem;
}

.ProductItemTopSeller-originPrice {
  text-decoration: line-through;
  font-weight: 400;
  color: var(--colorTextSubtle);
  font-size: 0.875rem;
}

.ProductItemTopSeller-discount {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 1rem;
  padding: 0 0.75rem;
  background: var(--colorTagDiscounted);
  color: var(--colorWhite);
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .ProductItemTopSeller-discount {
    padding-block: 0.375rem;
  }
  .ProductItemTopSeller-discount svg {
    display: none;
  }
}

/*# sourceMappingURL=product-item-top-seller.min.css.map */
