/*
 * mhstitky - stitky produktu pres fotku (vypis, slider, karta).
 * Tema kresli <li class="product-flag mhstitek mhstitek-ivdr">IVDR</li>
 * v ul.product-flags. Stitek IVDR je textovy: znak CE + text + fajfka
 * (Petr 2026-11-11, obrazkovy stitek zamitl). Ikony jsou SVG z views/img/
 * pouzite jako maska, takze maji vzdy barvu textu stitku.
 * custom.css se nacita po CSS modulu a dava vsem li.product-flag padding,
 * radius a pismo - proto ma pravidlo tridu navic a varianty selektoru jako custom.css.
 */
#main .product-miniature .product-flags li.product-flag.mhstitek,
.pb-left-column li.product-flag.mhstitek,
li.product-flag.mhstitek {
  display: flex;
  align-items: center;
  gap: 5px;
  width: -moz-max-content;
  width: max-content;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: #082f49;
  box-shadow: none;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: .06em;
  text-transform: none;
  white-space: nowrap;
}

li.product-flag.mhstitek::before,
li.product-flag.mhstitek::after {
  content: "";
  flex: none;
  width: 16px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* IVDR: vlevo bily znak CE, text IVDR a fajfka zlute jako na znacce vyrobce (Petr 2026-11-11) */
#main .product-miniature .product-flags li.product-flag.mhstitek-ivdr,
.pb-left-column li.product-flag.mhstitek-ivdr,
li.product-flag.mhstitek-ivdr {
  color: #ffe600;
}

li.product-flag.mhstitek-ivdr::before {
  width: 19px;
  color: #fff;
  -webkit-mask-image: url("../img/ce.svg");
  mask-image: url("../img/ce.svg");
  -webkit-mask-size: 24px 24px;
  mask-size: 24px 24px;
}

li.product-flag.mhstitek-ivdr::after {
  width: 13px;
  -webkit-mask-image: url("../img/check.svg");
  mask-image: url("../img/check.svg");
  -webkit-mask-size: 17px 17px;
  mask-size: 17px 17px;
}

/* karta produktu: fotka je velka, stitek o stupen vetsi */
.pb-left-column li.product-flag.mhstitek,
.page-content > .product-flags li.product-flag.mhstitek {
  gap: 6px;
  padding: 6px 13px;
  font-size: 13px;
  line-height: 17px;
}

.page-content > .product-flags li.product-flag.mhstitek::before,
.page-content > .product-flags li.product-flag.mhstitek::after {
  height: 17px;
}

.page-content > .product-flags li.product-flag.mhstitek-ivdr::before {
  width: 24px;
  -webkit-mask-size: 30px 30px;
  mask-size: 30px 30px;
}

.page-content > .product-flags li.product-flag.mhstitek-ivdr::after {
  width: 16px;
  -webkit-mask-size: 21px 21px;
  mask-size: 21px 21px;
}
