/* Weekly rewards sits between the booking selector and Automation. */
#order-rewards{background:#edf0f2;padding:140px 56px 120px;overflow:hidden}
#order-rewards .rewards-card{position:relative;width:100%;max-width:1328px;min-height:534px;margin:0 auto;display:flex;align-items:center;border-radius:30px;isolation:isolate;direction:ltr}
#order-rewards .rewards-backdrop{position:absolute;inset:0;border-radius:inherit;overflow:hidden;z-index:-1;background:#296960 url('assets/rewards/background-desktop.webp') center/cover no-repeat;opacity:0;transition:opacity .85s ease}
#order-rewards .rewards-copy{position:relative;width:calc(100% - 560px);max-width:680px;padding:56px 0 56px 80px;color:#fff;opacity:0;transform:translateY(20px);transition:opacity .8s .1s ease,transform .8s .1s cubic-bezier(.22,1,.36,1)}
#order-rewards .rewards-copy h2{margin:0;font-size:56px;line-height:1.1;font-weight:600;letter-spacing:-.56px;white-space:pre-line}
#order-rewards .rewards-copy p{max-width:470px;margin:24px 0 0;font-size:18px;line-height:1.45;font-weight:400}
#order-rewards .rewards-demo{position:absolute;right:135.1px;top:50%;transform:translateY(-50%);direction:ltr;text-align:left}
#order-rewards .demo-shell{width:324.8px;max-width:none;height:667.52px;position:relative;direction:ltr}
#order-rewards .rewards-device-enter{width:100%;height:100%;opacity:0;transform:translateY(26px);transition:opacity .9s .18s ease,transform .9s .18s cubic-bezier(.22,1,.36,1)}
#order-rewards .demo-phone{width:435px;height:894px;padding:21px;border-radius:52px;transform:scale(.7466667);box-shadow:0 22px 30px #122d2933}
#order-rewards .demo-phone:before{inset:8px;border-radius:49px}
#order-rewards .demo-viewport{width:393px;height:852px;border-radius:40px;overflow:hidden}
#order-rewards .demo-stage{width:393px;height:852px;min-height:852px}
#order-rewards .reward-floating-host{position:absolute;left:-15.2648%;top:53.182%;width:132.0822%;aspect-ratio:361/92;z-index:5;opacity:0;transform:translateY(18px);transition:opacity .55s .4s ease,transform .7s .4s cubic-bezier(.22,1,.36,1)}
#order-rewards .reward-floating-host>.rw-weekly-card{transform:scale(var(--reward-floating-scale,1.18837));transform-origin:top left;box-shadow:0 14px 28px #09233b2b}
#order-rewards.is-visible .rewards-backdrop{opacity:1}
#order-rewards.is-visible .rewards-copy,#order-rewards.is-visible .rewards-device-enter,#order-rewards.is-visible .reward-floating-host{opacity:1;transform:none}
#order-rewards .reward-floating-host[hidden]{display:none}
#order-rewards .rw-ui{animation:rewards-screen-in .6s cubic-bezier(.22,1,.36,1) both}
#order-rewards .rw-pulse[hidden]{display:none}
html[dir="rtl"] #order-rewards .rewards-copy{direction:rtl;text-align:right;padding-left:48px;padding-right:0}
html[dir="rtl"] #order-rewards .rewards-copy h2{letter-spacing:0;line-height:1.3}
html[lang="th"] #order-rewards .rewards-copy h2{line-height:1.3;letter-spacing:0}
@keyframes rewards-screen-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@media(min-width:761px) and (max-width:1199px){
 #order-rewards{padding:128px 32px 112px}
 #order-rewards .rewards-card{min-height:534px}
 #order-rewards .rewards-copy{width:calc(100% - 395px);padding-left:40px}
 #order-rewards .rewards-copy h2{font-size:46px}
 #order-rewards .rewards-demo{right:54px}
 #order-rewards .demo-shell{width:292px;height:600.11px}
 html[dir="rtl"] #order-rewards .rewards-copy{padding-left:28px}
}
@media(min-width:761px) and (max-width:900px){
 #order-rewards .rewards-copy{width:calc(100% - 330px);padding-left:28px}
 #order-rewards .rewards-copy h2{font-size:40px;white-space:normal}
 #order-rewards .rewards-copy p{font-size:17px}
 #order-rewards .rewards-demo{right:30px}
 #order-rewards .demo-shell{width:260px;height:534.34px}
}
@media(max-width:760px){
 #order-rewards{padding:0}
 #order-rewards .rewards-card{border-radius:0;display:flex;flex-direction:column;align-items:center;gap:32px;padding:40px 24px;min-height:0}
 #order-rewards .rewards-backdrop{background-image:url('assets/rewards/background-mobile.webp')}
 #order-rewards .rewards-copy{padding:0;width:100%;max-width:500px}
 #order-rewards .rewards-copy h2{font-size:40px;letter-spacing:-.4px;line-height:1.1;white-space:normal}
 #order-rewards .rewards-copy p{margin-top:16px;font-size:18px;line-height:1.45}
 #order-rewards .rewards-demo{position:relative;right:auto;top:auto;transform:none;max-width:100%}
 #order-rewards .demo-shell{width:min(344.253px,calc(100vw - 48px));height:auto;aspect-ratio:435/894}
 #order-rewards .reward-floating-host{width:104.5463%;left:-2.27315%;top:57.24%}
 html[dir="rtl"] #order-rewards .rewards-copy{padding:0}
}
@media(prefers-reduced-motion:reduce){
 #order-rewards .rewards-backdrop,#order-rewards .rewards-copy,#order-rewards .rewards-device-enter,#order-rewards .reward-floating-host{opacity:1;transform:none;transition:none}
 #order-rewards .rw-ui{animation:none}
}
