/* Product-card presentation. Kept separate from the legacy compiled stylesheet. */
.catalog_item__labels {
  pointer-events: auto;
}

.catalog_item__label {
  position: relative;
  cursor: help;
  pointer-events: auto;
}

.catalog_item__label-tooltip {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.8rem);
  left: 0;
  display: block;
  width: 21rem;
  padding: 1rem;
  color: #fff;
  background: #242c34;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-transform: none;
  transform: translateY(-0.4rem);
  transition: opacity 150ms ease, transform 150ms ease;
  visibility: hidden;
}

.catalog_item__label-tooltip strong,
.catalog_item__label-tooltip span {
  display: block;
}

.catalog_item__label-tooltip strong {
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
}

.catalog_item__label:hover .catalog_item__label-tooltip,
.catalog_item__label:focus .catalog_item__label-tooltip {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

body .catalog_item__content,
body .catalog_item__title,
body .catalog_item__price,
body .catalog_item_split,
body .catalog_item__sizes {
  text-align: left;
}

body .catalog_item__category {
  margin-bottom: 0.4rem;
  color: #242c34;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5rem;
  text-transform: uppercase;
}

body .catalog_item__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.7rem;
}

body .catalog_item__price-current {
  color: #242c34;
}

body .catalog_item__price ins {
  color: rgba(36, 44, 52, 0.4);
}

body .catalog_item__discount {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  color: #fff;
  background: #ff5401;
  font-size: 1.2rem;
  line-height: 1.6rem;
}

body .catalog_item_split {
  justify-content: flex-start;
}

body .catalog_item__sizes {
  justify-content: flex-start;
}

.catalog_item__action .btn--black:hover {
  background-color: #3b4651;
}

@media screen and (max-width: 767px) {
  .catalog_item__label-tooltip {
    width: 17rem;
  }
}
