/* Бирки Hot / Sale / Preorder поверх изображения услуги (каталог и карточка). */
.ml-labels {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  transform: none;
}

.ml-labels .ml-label-wrap {
  display: inline-flex;
  max-width: 100%;
  filter: drop-shadow(0 1px 2px #0003);
}

.ml-labels .ml-label-wrap[hidden] { display: none; }

.ml-labels .ml-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(
    0 0,
    calc(100% - 4px) 0,
    100% 4px,
    100% 100%,
    4px 100%,
    0 calc(100% - 4px)
  );
}

.ml-labels .ml-label--hot {
  background: linear-gradient(115deg, #8c5139, #61372d);
  color: #f5e0d2;
}

.ml-labels .ml-label--sale {
  background: linear-gradient(115deg, #2c6b71, #214e59);
  color: #dcf0f1;
}

.ml-labels .ml-label--preorder {
  background: linear-gradient(115deg, #b99d6e, #947b54);
  color: #14212a;
}

@media (max-width: 560px) {
  .ml-labels { top: 7px; left: 7px; right: 7px; }
  .ml-labels .ml-label { padding: 6px 8px; }
}
