/* Milkyshisha Product Stickers 1.0.0 — base overlay. Dynamic per-sticker
   colors, sizes, positions and mobile overrides are injected once in <head>. */

.mks-stickers {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
}

.mks-sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  max-width: 88%;
  min-width: 0;
  overflow: hidden;
  line-height: 1.1;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .12);
  box-shadow: 0 4px 12px -6px rgba(15, 23, 42, .55), inset 0 0 0 1px rgba(255, 255, 255, .18);
  transform-origin: top left;
  pointer-events: none;
}

.mks-sticker img {
  display: block;
  height: 20px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
}

.mks-sticker--image_text img {
  height: 18px;
}

.mks-sticker__text {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ms-gallery__stage .mks-sticker img {
  height: 26px;
  max-width: 130px;
}

.ms-gallery__stage .mks-sticker {
  letter-spacing: .05em;
}

@media (max-width: 767.98px) {
  .mks-sticker img {
    height: 17px;
    max-width: 78px;
  }
  .ms-gallery__stage .mks-sticker img {
    height: 22px;
    max-width: 105px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mks-sticker {
    transition: opacity .15s ease;
  }
}
