/* Separate overlay, no nested links and no changes to product image dimensions. */
.edd_download_inner .thumb>.temsc-ribbon-layer,.temsc-ribbon-demo>.temsc-ribbon-layer{position:absolute;inset:0 auto auto 0;width:124px;height:124px;z-index:8;overflow:hidden;pointer-events:none;--temsc-ribbon-color:#d51b24;--temsc-ribbon-ink:#fff;isolation:isolate}.edd_download_inner .thumb>.temsc-ribbon-layer.is-right,.temsc-ribbon-demo>.temsc-ribbon-layer.is-right{left:auto;right:0}.temsc-ribbon-layer .temsc-ribbon-label,.edd_download_inner .thumb .temsc-ribbon-layer>a.temsc-ribbon-label{position:absolute;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;top:28px;left:-38px;width:170px;height:29px;padding:3px 18px;transform:rotate(-45deg);text-align:center;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:inherit;font-weight:800;font-size:clamp(9px,1.1vw,12px);line-height:1.1;letter-spacing:.01em;background:linear-gradient(180deg,#ffffff22,transparent 55%),var(--temsc-ribbon-color);color:var(--temsc-ribbon-ink)!important;border:1px solid #ffffff35;box-shadow:0 3px 9px #0006;text-shadow:none;pointer-events:none}.temsc-ribbon-layer.is-right .temsc-ribbon-label,.edd_download_inner .thumb .temsc-ribbon-layer.is-right>a.temsc-ribbon-label{left:auto;right:-38px;transform:rotate(45deg)}.temsc-ribbon-layer a.temsc-ribbon-label{pointer-events:auto!important}.temsc-ribbon-layer a.temsc-ribbon-label:focus-visible{outline:3px solid white;outline-offset:-4px}.temsc-ribbon-layer.is-pill,.edd_download_inner .thumb>.temsc-ribbon-layer.is-pill,.temsc-ribbon-demo>.temsc-ribbon-layer.is-pill{width:100%;height:46px}.temsc-ribbon-layer.is-pill .temsc-ribbon-label,.edd_download_inner .thumb .temsc-ribbon-layer.is-pill>a.temsc-ribbon-label{top:8px;left:8px;width:auto;max-width:calc(100% - 16px);height:29px;transform:none;border-radius:7px;padding:5px 10px}.temsc-ribbon-layer.is-pill.is-right .temsc-ribbon-label,.edd_download_inner .thumb .temsc-ribbon-layer.is-pill.is-right>a.temsc-ribbon-label{left:auto;right:8px}.temsc-ribbon-layer.is-motion{animation:temscRibbonEnter .48s ease-out both}@keyframes temscRibbonEnter{from{opacity:0;scale:.9}to{opacity:1;scale:1}}@media(prefers-reduced-motion:reduce){.temsc-ribbon-layer.is-motion{animation:none}}
.temsc-ribbon-demo{position:relative;max-width:270px;margin-top:12px;border:1px solid #dce3e6;border-radius:9px;overflow:hidden;background:white;text-align:center;color:#182a2f}.temsc-ribbon-demo-image{height:150px;background:linear-gradient(135deg,#1f4a4f,#13232b);display:grid;place-items:center;color:#8de1d6}.temsc-ribbon-demo-image .dashicons{width:64px;height:64px;font-size:64px}.temsc-ribbon-demo>b{display:block;padding:14px}.temsc-ribbon-field{display:grid;gap:7px;padding:12px 0;font-weight:600}.temsc-ribbon-field input,.temsc-ribbon-field select{width:100%;max-width:none}.temsc-ribbon-fields input[type=color]{width:44px;height:34px;padding:2px;cursor:pointer}.temsc-ribbon-layer[hidden]{display:none!important}
