.product-media,.product-thumb { position:relative }
.product-media > .product-marks,.product-thumb > .product-marks {
  position:absolute; z-index:2; inset:7px auto auto 7px; max-width:calc(100% - 48px);
  display:flex; flex-wrap:wrap; align-content:flex-start; gap:3px; pointer-events:none;
}
.product-mark {
  display:inline-grid; place-items:center; flex:0 0 auto; width:22px; height:22px; box-sizing:border-box;
  border:1px solid rgb(255 255 255 / 70%); border-radius:50%; font-size:15px; line-height:1;
  background:var(--mark-bg); color:var(--mark-fg); box-shadow:0 1px 3px #0002;
}
.product-marks > .product-mark { pointer-events:auto }
.product-mark > i.ph { position:static; display:inline-block; width:auto; height:auto; margin:0; color:inherit; font-size:inherit; line-height:1 }
.mark-promo { --mark-bg:#fff0cf; --mark-fg:#844a08 }
.mark-sale { --mark-bg:#fde1eb; --mark-fg:#94264c }
.mark-spicy { --mark-bg:#ffe6da; --mark-fg:#a02f0f }
.mark-vegetarian { --mark-bg:#e1f3df; --mark-fg:#276137 }
.mark-new { --mark-bg:#e5edfc; --mark-fg:#31549a }
.mark-hit { --mark-bg:#fae3cf; --mark-fg:#843911 }
.product-mark-labels,.product-mark-choices { display:flex; flex-wrap:wrap; gap:8px }
.product-mark-labels > span,.product-mark-choices > label { display:inline-flex; align-items:center; gap:5px; font-size:13px }
.product-mark-choices { min-width:0; margin:12px 0; border:1px solid var(--line,#ddd); border-radius:12px; padding:12px }
.product-mark-choices legend { padding:0 5px; font-weight:650 }
.product-mark-choices > label { border:1px solid var(--line,#ddd); border-radius:8px; padding:5px 8px; cursor:pointer }
.product-mark-choices input { width:15px; height:15px; margin:0 }
.product-thumb > .product-marks { inset:2px auto auto 2px; max-width:29px; gap:1px }
.product-thumb .product-mark { width:13px; height:13px; border-width:0; font-size:11px }
.product-thumb:has(.product-marks) > .pv-indicator { top:2px; right:2px; width:15px; height:15px }
.popular-products .product-media:has(.product-marks)::after { top:auto; bottom:8px; left:8px }
.popular-products .product-media:has(.mark-hit)::after { display:none }
