/* ParsKala custom product label - modern carousel compatibility */
.prk-modern-carousel-section .product-card > .custom_label {
  --prk-custom-label-x: 0px;
  --prk-custom-label-y: 20px;

  position: absolute;
  top: var(--prk-custom-label-y);
  left: var(--prk-custom-label-x);
  right: auto;
  bottom: auto;
  z-index: 6;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 16px);
  padding: 6px 5px;
  border-radius: 0 8px 8px 0;

  background-color: #f4433a;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;

  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.prk-modern-carousel-section .product-card > .custom_label > span {
  position: relative;
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-overflow: ellipsis;
  white-space: inherit;
}
