/* A single brief unwrapping. The card, buttons and close control remain usable. */
.ev-gift-wrap[hidden]{display:none!important}
.ev-gift-wrap{--gift-x:34%;--gift-y:43%;--gift-width:31px;position:absolute;inset:0;z-index:3;overflow:hidden;border-radius:inherit;pointer-events:none;user-select:none;contain:paint;direction:ltr}
.ev-gift-wrap *{pointer-events:none!important}
.ev-offer-notice .ev-offer-dismiss{z-index:5}
.ev-gift-ribbon{position:absolute;display:block;box-sizing:border-box;backface-visibility:hidden;background:linear-gradient(90deg,#ad757a 0%,#ecc4af 12%,#fff0d1 31%,#dbab9e 57%,#e9c0a9 78%,#aa6d76 100%);border:1px solid #f9dfbdc4;box-shadow:0 3px 8px #350c2b4d,inset 3px 0 4px #fff8de57,inset -3px 0 5px #9f69703b;will-change:transform,opacity}
.ev-gift-ribbon::before,.ev-gift-ribbon::after{content:"";position:absolute;top:0;bottom:0;width:1px;background:#fff2d594;left:3px}
.ev-gift-ribbon::after{left:auto;right:3px;background:#9b61674d}
.ev-gift-ribbon--top,.ev-gift-ribbon--bottom{left:calc(var(--gift-x) - var(--gift-width)/2);width:var(--gift-width)}
.ev-gift-ribbon--top{top:-4%;height:calc(var(--gift-y) + 5%);transform-origin:50% 100%}
.ev-gift-ribbon--bottom{top:var(--gift-y);height:calc(104% - var(--gift-y));transform-origin:50% 0}
.ev-gift-ribbon--left,.ev-gift-ribbon--right{top:calc(var(--gift-y) - var(--gift-width)/2);height:var(--gift-width);background:linear-gradient(180deg,#ad757a 0%,#ecc4af 12%,#fff0d1 31%,#dbab9e 57%,#e9c0a9 78%,#aa6d76 100%);box-shadow:0 4px 8px #350c2b4d,inset 0 3px 4px #fff8de57,inset 0 -3px 5px #9f69703b}
.ev-gift-ribbon--left::before,.ev-gift-ribbon--right::before,.ev-gift-ribbon--left::after,.ev-gift-ribbon--right::after{top:3px;bottom:auto;left:0;right:0;width:auto;height:1px}
.ev-gift-ribbon--left::after,.ev-gift-ribbon--right::after{top:auto;bottom:3px}
.ev-gift-ribbon--left{left:-4%;width:calc(var(--gift-x) + 6%);transform-origin:100% 50%}
.ev-gift-ribbon--right{left:var(--gift-x);width:calc(104% - var(--gift-x));transform-origin:0 50%}
.ev-gift-bow{position:absolute;left:var(--gift-x);top:var(--gift-y);width:178px;height:auto;overflow:visible;transform:translate(-50%,-45%) rotate(-9deg);filter:drop-shadow(0 4px 3px #4a14384d)}
.ev-gift-bow-loop,.ev-gift-bow-tail,.ev-gift-bow-knot{transform-box:fill-box;will-change:transform,opacity}
.ev-gift-bow-loop--left{transform-origin:100% 85%}
.ev-gift-bow-loop--right{transform-origin:0 85%}
.ev-gift-bow-tail--left,.ev-gift-bow-tail--right{transform-origin:50% 0}
.ev-gift-bow-knot{transform-origin:center}
.is-gift-opening .ev-gift-ribbon--left{animation:ev-gift-left 1080ms cubic-bezier(.4,0,.7,1) both}
.is-gift-opening .ev-gift-ribbon--right{animation:ev-gift-right 1080ms cubic-bezier(.4,0,.7,1) both}
.is-gift-opening .ev-gift-ribbon--top{animation:ev-gift-top 1100ms cubic-bezier(.4,0,.7,1) both}
.is-gift-opening .ev-gift-ribbon--bottom{animation:ev-gift-bottom 1100ms cubic-bezier(.4,0,.7,1) both}
.is-gift-opening .ev-gift-bow-loop--left{animation:ev-gift-loop-left 920ms cubic-bezier(.38,0,.6,1) both}
.is-gift-opening .ev-gift-bow-loop--right{animation:ev-gift-loop-right 920ms cubic-bezier(.38,0,.6,1) both}
.is-gift-opening .ev-gift-bow-tail--left{animation:ev-gift-tail-left 1000ms ease-in both}
.is-gift-opening .ev-gift-bow-tail--right{animation:ev-gift-tail-right 1000ms ease-in both}
.is-gift-opening .ev-gift-bow-knot{animation:ev-gift-knot 780ms ease-in both}
@keyframes ev-gift-left{0%,12%{transform:none;opacity:1}35%{transform:translate(-10px,5px) rotate(4deg);opacity:1}65%{transform:translate(-43px,64px) rotate(-21deg);opacity:1}100%{transform:translate(-110px,470px) rotate(-49deg);opacity:0}}
@keyframes ev-gift-right{0%,12%{transform:none;opacity:1}35%{transform:translate(12px,5px) rotate(-4deg);opacity:1}65%{transform:translate(48px,82px) rotate(18deg);opacity:1}100%{transform:translate(125px,480px) rotate(42deg);opacity:0}}
@keyframes ev-gift-top{0%,17%{transform:none;opacity:1}36%{transform:translate(-2px,7px) rotate(-5deg);opacity:1}65%{transform:translate(-45px,100px) rotate(-32deg);opacity:1}100%{transform:translate(-95px,650px) rotate(-66deg);opacity:0}}
@keyframes ev-gift-bottom{0%,17%{transform:none;opacity:1}38%{transform:translate(3px,15px) rotate(7deg);opacity:1}67%{transform:translate(43px,152px) rotate(25deg);opacity:1}100%{transform:translate(94px,580px) rotate(47deg);opacity:0}}
@keyframes ev-gift-loop-left{0%,10%{transform:none;opacity:1}28%{transform:translate(-4px,0) rotate(-8deg) scale(1.06,.86);opacity:1}51%{transform:translate(-20px,5px) rotate(-16deg) scale(1.25,.28);opacity:1}76%{transform:translate(-53px,55px) rotate(-34deg) scale(1.5,.18);opacity:.8}100%{transform:translate(-85px,195px) rotate(-62deg) scale(1.45,.12);opacity:0}}
@keyframes ev-gift-loop-right{0%,10%{transform:none;opacity:1}28%{transform:translate(4px,0) rotate(8deg) scale(1.06,.86);opacity:1}51%{transform:translate(20px,5px) rotate(16deg) scale(1.25,.28);opacity:1}76%{transform:translate(58px,58px) rotate(34deg) scale(1.5,.18);opacity:.8}100%{transform:translate(90px,200px) rotate(62deg) scale(1.45,.12);opacity:0}}
@keyframes ev-gift-tail-left{0%,16%{transform:none;opacity:1}40%{transform:translate(-10px,7px) rotate(17deg);opacity:1}70%{transform:translate(-33px,95px) rotate(33deg);opacity:.8}100%{transform:translate(-73px,330px) rotate(60deg);opacity:0}}
@keyframes ev-gift-tail-right{0%,16%{transform:none;opacity:1}40%{transform:translate(10px,7px) rotate(-17deg);opacity:1}70%{transform:translate(40px,102px) rotate(-33deg);opacity:.8}100%{transform:translate(80px,330px) rotate(-60deg);opacity:0}}
@keyframes ev-gift-knot{0%,12%{transform:none;opacity:1}35%{transform:rotate(11deg) scale(.84,1.04);opacity:1}62%{transform:translate(4px,22px) rotate(25deg) scale(.52,.8);opacity:.6}100%{transform:translate(12px,120px) rotate(53deg) scale(.25,.6);opacity:0}}
@media(max-width:350px){.ev-gift-wrap{--gift-width:27px}.ev-gift-bow{width:155px}}
@media(prefers-reduced-motion:reduce){.ev-gift-wrap{display:none!important}.ev-gift-wrap *{animation:none!important;will-change:auto}}
