/* Shared by native views, Monosite modules and live search. */
.mm-product-label-host {
  position: relative !important;
  display: block;
  isolation: isolate;
}
.mm-public-product-labels {
  position: absolute;
  z-index: 2;
  top: 9px;
  left: 9px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 6px;
  width: max-content;
  max-width: calc(100% - 18px);
  margin: 0;
  padding: 0;
  text-align: left;
  line-height: 1.2;
  pointer-events: none;
}
.mm-public-product-label {
  --mm-label-color: #16814d;
  --mm-label-ink: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(0,0,0,.09)), var(--mm-label-color);
  color: var(--mm-label-ink);
  box-shadow: 0 3px 8px rgba(24, 51, 37, .19), inset 0 1px 0 rgba(255,255,255,.14);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .1px;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.mm-public-product-label--top {
  --mm-label-color: #16814d !important;
  --mm-label-ink: #fff !important;
}
.mm-public-product-label--sale {
  --mm-label-color: #db263d !important;
  --mm-label-ink: #fff !important;
  box-shadow: 0 3px 8px rgba(193, 30, 50, .22), inset 0 1px 0 rgba(255,255,255,.16);
}
.mm-public-product-label--sale::before {
  content: "%";
  font-size: 11px;
  font-weight: 800;
}
.mm-public-product-labels--page {
  top: 13px;
  left: 13px;
  max-width: calc(100% - 26px);
  gap: 8px;
}
.mm-public-product-labels--page .mm-public-product-label {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
}
.mm-discount-price,
#product[data-mm-active-special="1"] .product-price,
.product-thumb .price-new,
.search-item .price-new,
.product-thumb .product-oldprice + .product-price,
.mm-search-price > del + span {
  color: #df263b !important;
  font-weight: 700;
}
.mm-compare-image-frame { display: inline-block; width: 100%; max-width: 180px; vertical-align: middle; }
.mm-compare-image-frame > img { max-width: 100%; height: auto; }
.mm-label-search-card .mm-product-label-host {
  min-height: 80px;
  max-width: 96px;
}
.mm-label-search-card .mm-public-product-labels {
  top: 3px;
  left: 3px;
  gap: 3px;
  max-width: calc(100% - 6px);
}
.mm-label-search-card .mm-public-product-label {
  padding: 3px 5px;
  border-radius: 5px;
  font-size: 8px;
  line-height: 1.15;
  letter-spacing: 0;
  box-shadow: 0 2px 5px rgba(24,51,37,.16);
}
.mm-label-search-card .mm-public-product-label--sale::before { font-size: 8px; }
.mm-search-suggestion.mm-label-search-card {
  grid-template-columns: 80px minmax(0, 1fr) auto;
}
.mm-search-image-frame {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  min-width: 0;
  background: #fff;
}
.mm-search-image-frame .mm-search-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
@media (max-width: 480px) {
  .mm-public-product-labels { top: 6px; left: 6px; gap: 4px; max-width: calc(100% - 12px); }
  .mm-public-product-label { padding: 5px 7px; border-radius: 6px; font-size: 10px; }
  .mm-public-product-labels--page { top: 10px; left: 10px; max-width: calc(100% - 20px); }
  .mm-public-product-labels--page .mm-public-product-label { padding: 6px 9px; font-size: 11px; }
}