/* iDigital Design — product card: badges (discount, Rey custom, new, featured, stock, starred, waitlist, custom). */
:where(.iddd-pc-badges){display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px}
:where(.iddd-pc-badges-dir-column) :where(.iddd-pc-badges){flex-direction:column}
:where(.iddd-pc-badge){position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.3em;padding:.3em .65em;border:0 solid transparent;border-radius:6px;font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;transition:color .25s ease,background-color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease}
:where(.iddd-pc-badge.--icon-end){flex-direction:row-reverse}
:where(.iddd-pc-badge.--icon-top){flex-direction:column}
:where(.iddd-pc-badge.--icon-bottom){flex-direction:column-reverse}
:where(.iddd-pc-badge__icon){display:inline-flex;align-items:center;justify-content:center;font-size:1.15em;line-height:1}
:where(.iddd-pc-badge__icon) svg,:where(.iddd-pc-badge__icon) i{width:1em;height:1em;font-size:1em}
:where(.iddd-pc-badge__img){display:block;width:var(--iddd-bd-img,28px);height:var(--iddd-bd-img,28px);max-width:none;object-fit:contain}
:where(.iddd-pc-badge__glass){display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.35);border-radius:50%;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
:where(.iddd-pc-badge__icon) :where(.iddd-pc-badge__img){width:var(--iddd-bd-img,1.6em);height:var(--iddd-bd-img,1.6em)}
:where(.iddd-pc-badge-link){display:inline-flex;color:inherit;text-decoration:none}
:where(.iddd-pc-badge--starred.--display-icon){padding:0;background-color:transparent}
/* shapes */
:where(.iddd-pc-badges-shape-pill) :where(.iddd-pc-badge){border-radius:999px}
:where(.iddd-pc-badges-shape-square) :where(.iddd-pc-badge){border-radius:0}
:where(.iddd-pc-badges-shape-circle) :where(.iddd-pc-badge){width:3.4em;height:3.4em;padding:0;border-radius:50%;white-space:normal;text-align:center}
:where(.iddd-pc-badges-shape-tag) :where(.iddd-pc-badge){padding-inline-end:1.1em;border-radius:3px;clip-path:polygon(0 0,calc(100% - .7em) 0,100% 50%,calc(100% - .7em) 100%,0 100%)}
:where([dir=rtl]) :where(.iddd-pc-badges-shape-tag) :where(.iddd-pc-badge){clip-path:polygon(.7em 0,100% 0,100% 100%,.7em 100%,0 50%)}
:where(.iddd-pc-badges-shape-ribbon) :where(.iddd-pc-badge){padding-inline-end:1.05em;border-radius:0;clip-path:polygon(0 0,100% 0,calc(100% - .55em) 50%,100% 100%,0 100%)}
:where([dir=rtl]) :where(.iddd-pc-badges-shape-ribbon) :where(.iddd-pc-badge){clip-path:polygon(0 0,100% 0,100% 100%,0 100%,.55em 50%)}
/* Rey product badges (ACF) */
.iddd-pc-badges .iddd-pc-badge--rey .rey-pBadge{display:inline-flex;position:static;inset:auto;margin:0;transform:none}
.elementor .iddd-pc-badges .iddd-pc-badge--rey:not(.--rey-widget-colors){min-width:0;min-height:0;padding:0;border:0;background:none;box-shadow:none}
.iddd-pc-badges .iddd-pc-badge--rey.--rey-widget-colors .rey-pBadge{padding:0!important;border-radius:0!important;background:none!important;color:inherit!important;font:inherit!important}
@media (max-width:767px){.iddd-pc-badges .iddd-pc-badge--rey.--respect-mobile .rey-pBadge:not(.--show-mobile){display:none}}
.iddd-pc-badges .iddd-pc-badge--discount.--rey-output .rey-discount{display:inline;margin:0;padding:0;background:none;color:inherit;font:inherit}
/* SMS waitlist popup button inside our badge */
.iddd-pc-badges .iddd-pc-badge--waitlist .ids-waitlist-wrap{display:contents}
.iddd-pc-badges .iddd-pc-badge--waitlist .ids-waitlist-btn{all:unset;display:inline-flex;flex-direction:inherit;align-items:center;gap:inherit;color:inherit;font:inherit;line-height:inherit;cursor:pointer}
.iddd-pc-badges .iddd-pc-badge--waitlist .ids-waitlist-btn:focus-visible{outline:2px solid currentColor;outline-offset:2px}
/* animations */
.iddd-pc-badge.--anim-pulse{animation:iddd-pc-pulse 1.6s ease-in-out infinite}
.iddd-pc-badge.--anim-float{animation:iddd-pc-float 2.4s ease-in-out infinite}
.iddd-pc-badge.--anim-swing{transform-origin:top center;animation:iddd-pc-swing 2.8s ease-in-out infinite}
.iddd-pc-badge.--anim-shine{overflow:hidden}
.iddd-pc-badge.--anim-shine::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.6),transparent);transform:skewX(-20deg);animation:iddd-pc-shine 2.6s ease-in-out infinite;pointer-events:none}
.iddd-pc-badges-enter-fade .iddd-pc-badges{animation:iddd-pc-fade .5s ease both}
.iddd-pc-badges-enter-pop .iddd-pc-badges{animation:iddd-pc-pop .45s cubic-bezier(.2,1.4,.4,1) both}
.iddd-pc-badges-enter-slide .iddd-pc-badges{animation:iddd-pc-slide .45s ease both}
@keyframes iddd-pc-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes iddd-pc-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes iddd-pc-swing{0%,100%{transform:rotate(0)}20%{transform:rotate(6deg)}40%{transform:rotate(-5deg)}60%{transform:rotate(3deg)}80%{transform:rotate(-2deg)}}
@keyframes iddd-pc-shine{0%{left:-60%}60%,100%{left:130%}}
@keyframes iddd-pc-fade{from{opacity:0}}
@keyframes iddd-pc-pop{from{opacity:0;transform:scale(.6)}}
@keyframes iddd-pc-slide{from{opacity:0;transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.iddd-pc-badge,.iddd-pc-badges,.iddd-pc-badge::after{animation:none!important}}
/* placement: overlay on the parent container (same container as the image widget); each badge sits in its own corner */
.elementor-widget.iddd-pc-badges-place-overlay{position:absolute!important;top:0;right:0;bottom:0;left:0;z-index:var(--iddd-bd-z,5);width:auto!important;max-width:none!important;height:auto;margin:0!important;pointer-events:none}
.iddd-pc-badges.--overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block}
.iddd-pc-badges__corner{position:absolute;display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;max-width:calc(100% - 2 * var(--iddd-bd-off-x,10px));pointer-events:auto}
.iddd-pc-badges-dir-column .iddd-pc-badges__corner{flex-direction:column}
.iddd-pc-badges__corner.--pos-top-start{top:var(--iddd-bd-off-y,10px);inset-inline-start:var(--iddd-bd-off-x,10px)}
.iddd-pc-badges__corner.--pos-top-end{top:var(--iddd-bd-off-y,10px);inset-inline-end:var(--iddd-bd-off-x,10px);justify-content:flex-end;align-items:flex-end}
.iddd-pc-badges__corner.--pos-top-center{top:var(--iddd-bd-off-y,10px);left:50%;justify-content:center;align-items:center;transform:translateX(-50%)}
.iddd-pc-badges__corner.--pos-middle-start{top:50%;inset-inline-start:var(--iddd-bd-off-x,10px);transform:translateY(-50%)}
.iddd-pc-badges__corner.--pos-middle-end{top:50%;inset-inline-end:var(--iddd-bd-off-x,10px);justify-content:flex-end;align-items:flex-end;transform:translateY(-50%)}
.iddd-pc-badges__corner.--pos-bottom-start{bottom:var(--iddd-bd-off-y,10px);inset-inline-start:var(--iddd-bd-off-x,10px);align-items:flex-end}
.iddd-pc-badges__corner.--pos-bottom-end{bottom:var(--iddd-bd-off-y,10px);inset-inline-end:var(--iddd-bd-off-x,10px);justify-content:flex-end;align-items:flex-end}
.iddd-pc-badges__corner.--pos-bottom-center{bottom:var(--iddd-bd-off-y,10px);left:50%;justify-content:center;align-items:center;transform:translateX(-50%)}
