/* ریبون‌های دسته‌بندی پایین کارت آگهی (داخلی قالب)
   ریبون داخل کارت محبوس است (isolation) تا هنگام اسکرول زیر هدر و فوتر برود. */
.jh-card,li.product,.products li.product{position:relative;isolation:isolate;}
.hj-bottom-ribbon{position:absolute;bottom:0;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-width:68px;max-width:35%;min-height:22px;padding:3px 10px;font-size:10px;line-height:1.25;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.18));}
.hj-bottom-ribbon--left{left:0;padding-left:11px;padding-right:20px;clip-path:polygon(0 0,82% 0,100% 50%,82% 100%,0 100%);}
.hj-bottom-ribbon--right{right:0;padding-right:11px;padding-left:20px;clip-path:polygon(18% 0,100% 0,100% 100%,18% 100%,0 50%);}
@media(max-width:600px){.hj-bottom-ribbon{min-width:58px;min-height:19px;max-width:38%;padding:2px 8px;font-size:9px;}}
