
/* ===== Motion layer on the lime design: same layout, same colours, only movement and light =====
   Page-load choreography, a headline that arrives word by word, pictures that float and tilt with the pointer,
   a light ring around the search box, cards that rise, tilt and catch a lime light under the pointer, price
   lines that draw themselves, a tab pill that slides, numbers that count. Everything is transform/opacity;
   all of it is off under prefers-reduced-motion. States that start hidden need html.w-on (set by the script). */
@property --w-a{syntax:'<angle>';inherits:false;initial-value:0deg}
html.lime{--w-ease:cubic-bezier(.16,1,.3,1);
  --w-spring:linear(0,.009,.035 2.1%,.141 4.4%,.723 12.9%,.938 16.7%,1.017 19.4%,1.067 22.5%,1.089 26%,1.09 30.2%,1.02 44.7%,.996 55.3%,1)}

/* reading progress: a lime line along the top edge */
html.lime .w-bar{position:fixed;top:0;left:0;right:0;height:3px;z-index:300;transform-origin:0 50%;transform:scaleX(var(--w-p,0));background:linear-gradient(90deg,#2E9A14,var(--l-lime));pointer-events:none}
html.lime[dir=rtl] .w-bar{transform-origin:100% 50%}

/* headline: each word is its own piece; the green words carry a slow light */
html.lime .c-title .w-w{display:inline-block}
html.lime .c-title.w-split em{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:inherit}
html.lime .c-title.w-split em .w-w{background:linear-gradient(90deg,#2E9A14 0%,#7CC51C 30%,#C2F04A 50%,#7CC51C 70%,#2E9A14 100%);background-size:300% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent}

/* the price tag over the picture: frosted glass */
html.lime .l-art .l-tag{background:rgba(255,255,255,.74);-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);border:1px solid rgba(255,255,255,.8);box-shadow:0 14px 40px rgba(17,24,20,.14)}
html.lime .l-art .w-shadow{position:absolute;z-index:0;left:50%;bottom:7%;width:44%;height:22px;translate:-50% 0;border-radius:50%;background:radial-gradient(closest-side,rgba(17,24,20,.2),transparent);pointer-events:none}

/* tabs: the dark pill is its own layer so it can slide */
html.lime .d-tabs button{position:relative;isolation:isolate}
html.lime .d-tabs button[aria-selected=true]{background:none;color:#fff}
html.lime .d-tabs button[aria-selected=true]::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:999px;background:var(--l-ink);transform-origin:0 50%}

/* price line on a drop card: its last price changes, drawn in */
html.lime .w-spark{order:2;display:block;width:calc(100% - 36px);height:30px;margin:4px 18px 2px;overflow:visible}
html.lime .w-spark path.ln{fill:none;stroke:#5DB81A;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
html.lime .w-spark path.ar{fill:url(#wSparkFill);stroke:none}
html.lime .w-spark circle{fill:#5DB81A}
html.lime .w-spark circle.halo{fill:var(--l-lime);opacity:.55}

/* cards: a lime light under the pointer */
html.lime :is(#heroDrops,.d-pane,.l-drops) .hd{position:relative}
html.lime :is(#heroDrops,.d-pane,.l-drops) .hd::after{content:"";position:absolute;inset:0;border-radius:inherit;background:radial-gradient(280px circle at var(--w-mx,50%) var(--w-my,0%),rgba(166,226,46,.24),transparent 62%);opacity:0;transition:opacity .35s;pointer-events:none}

@media (prefers-reduced-motion:no-preference){
  @keyframes w-down{from{opacity:0;transform:translateY(-14px)}}
  @keyframes w-up{from{opacity:0;transform:translateY(22px)}}
  @keyframes w-word{from{opacity:0;transform:translateY(.6em) rotate(5deg);filter:blur(8px)}}
  @keyframes w-pop{0%{opacity:0;transform:scale(.55)}}
  @keyframes w-shine{to{background-position:-200% 0}}
  @keyframes w-float{50%{translate:0 -10px}}
  @keyframes w-shadow{50%{scale:.84;opacity:.7}}
  @keyframes w-fill{from{transform:scaleX(0)}}
  @keyframes w-spin{to{--w-a:360deg}}
  @keyframes w-sheen{0%,70%{transform:translateX(0) skewX(-18deg)}100%{transform:translateX(545%) skewX(-18deg)}}
  @keyframes w-card{from{opacity:0;transform:translateY(28px) scale(.95)}}
  @keyframes w-wiggle{25%{transform:rotate(-10deg) scale(1.12)}60%{transform:rotate(8deg) scale(1.12)}}
  @keyframes w-draw{to{stroke-dashoffset:0}}
  @keyframes w-fade{from{opacity:0}}
  @keyframes w-halo{0%{transform:scale(1);opacity:.55}70%,100%{transform:scale(3.2);opacity:0}}
  @keyframes w-live{0%{box-shadow:0 0 0 0 rgba(166,226,46,.7)}70%,100%{box-shadow:0 0 0 7px rgba(166,226,46,0)}}
  @keyframes w-ribbon{0%,80%{transform:translateX(-120%) skewX(-20deg)}100%{transform:translateX(520%) skewX(-20deg)}}

  /* the page arrives in order: header, words, picture, line, search */
  html.lime header.top{animation:w-down .7s var(--w-ease) backwards}
  html.lime .c-title .w-w{animation:w-word .85s var(--w-ease) backwards;animation-delay:calc(.06s + var(--i,0)*.055s)}
  html.lime .c-title.w-split em .w-w{animation:w-word .85s var(--w-ease) backwards,w-shine 5s linear 1.4s 3;animation-delay:calc(.06s + var(--i,0)*.055s),1.4s}
  html.lime .c-sub{animation:w-up .7s var(--w-ease) .6s backwards}
  html.lime body:not(.pg) .hero form.search{animation:w-up .8s var(--w-ease) .72s backwards}
  html.lime .l-art{animation:w-pop 1s var(--w-spring) .3s backwards}

  /* the picture floats, and leans toward the pointer */
  html.lime .l-top{perspective:1100px}
  html.lime .l-stage{transform:rotateX(var(--w-rx,0deg)) rotateY(var(--w-ry,0deg));transition:transform .6s var(--w-ease);animation:w-float 6s ease-in-out infinite}
  html.lime .l-art .w-shadow{animation:w-shadow 6s ease-in-out infinite}
  html.lime .l-art .l-tag{transform:translate(var(--w-tgx,0),var(--w-tgy,0));transition:transform .6s var(--w-ease)}
  /* the active dot fills while its picture is on */
  html.lime .l-dots i.on{position:relative;overflow:hidden;background:#D5D9D0}
  html.lime .l-dots i.on::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--l-ink);transform-origin:0 50%;animation:w-fill 2s linear both}
  html.lime[dir=rtl] .l-dots i.on::after{transform-origin:100% 50%}
  html.lime .l-art:hover .l-dots i.on::after{animation-play-state:paused}

  /* search: a light travels round the edge; the button catches it and leans to the pointer */
  html.lime .hero form.search::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;pointer-events:none;
    background:conic-gradient(from var(--w-a),transparent 0 58%,var(--l-lime) 76%,#2E9A14 88%,transparent 100%);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
    opacity:.55;transition:opacity .4s;animation:w-spin 5s linear 3}
  html.lime .hero form.search:focus-within::before{opacity:1;animation:w-spin 2.2s linear infinite}
  html.lime form.search .cta{position:relative;overflow:hidden;translate:var(--w-tx,0) var(--w-ty,0);transition:translate .35s var(--w-ease),background-color .2s,scale .2s}
  html.lime form.search .cta:active{scale:.96}
  html.lime form.search .cta::after{content:"";position:absolute;top:-20%;bottom:-20%;width:36%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.7),transparent);transform:skewX(-18deg);animation:w-sheen 5.5s ease-in-out 2.2s infinite;pointer-events:none}
  html.lime form.search .cta .arrow{transition:translate .3s var(--w-ease)}
  html.lime form.search .cta:hover .arrow{translate:5px 0}
  html.lime[dir=rtl] form.search .cta:hover .arrow{translate:-5px 0}

  /* categories: pop in one after another; the icon answers the pointer */
  html.lime.w-on .l-cats:not(.w-seen) .c-cats > *{opacity:0;transform:translateY(20px) scale(.85)}
  html.lime.w-on .l-cats.w-seen .c-cats > *{transition:opacity .5s var(--w-ease),transform .8s var(--w-spring);transition-delay:calc(var(--i,0)*45ms)}
  html.lime .c-cats .l-ic{position:relative;overflow:hidden;isolation:isolate}
  html.lime .c-cats .l-ic::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:50%;background:var(--l-lime);transform:scale(0);transition:transform .45s var(--w-ease)}
  html.lime .c-cats :is(button,a):hover .l-ic{background:var(--l-soft)}
  html.lime .c-cats :is(button,a):hover .l-ic::before{transform:scale(1)}
  html.lime .c-cats :is(button,a):hover .l-ic svg{animation:w-wiggle .55s var(--w-ease)}

  /* deals: the cards rise in a row, lean under the pointer, the picture comes closer */
  html.lime .hdw:nth-child(1){--n:0}html.lime .hdw:nth-child(2){--n:1}html.lime .hdw:nth-child(3){--n:2}html.lime .hdw:nth-child(4){--n:3}
  html.lime .hdw:nth-child(5){--n:0}html.lime .hdw:nth-child(6){--n:1}html.lime .hdw:nth-child(7){--n:2}html.lime .hdw:nth-child(8){--n:3}
  html.lime.w-on #cDrops:not(.w-seen) :is(.hdw,.c-head,.d-tabs){opacity:0}
  html.lime.w-on #cDrops.w-seen .c-head{animation:w-up .7s var(--w-ease) backwards}
  html.lime.w-on #cDrops.w-seen .d-tabs{animation:w-up .7s var(--w-ease) .08s backwards}
  html.lime.w-on #cDrops.w-seen .hdw{animation:w-card .75s var(--w-ease) backwards;animation-delay:calc(.12s + var(--n,0)*80ms)}
  html.lime .hdw{perspective:900px}
  html.lime :is(#heroDrops,.d-pane,.l-drops) .hd,html.lime :is(#heroDrops,.d-pane,.l-drops) .hd:hover{transform:translateY(var(--w-lift,0px)) rotateX(var(--w-rx,0deg)) rotateY(var(--w-ry,0deg));transition:transform .5s var(--w-ease),box-shadow .4s var(--w-ease)}
  html.lime :is(#heroDrops,.d-pane,.l-drops) .hd:hover{--w-lift:-6px}
  html.lime :is(#heroDrops,.d-pane,.l-drops) .hd:hover::after{opacity:1}
  html.lime :is(#heroDrops,.d-pane,.l-drops) .hd-img img{transition:transform .7s var(--w-ease)}
  html.lime :is(#heroDrops,.d-pane,.l-drops) .hd:hover .hd-img img{transform:scale(1.08)}
  html.lime.w-on #cDrops.w-seen .hd-pct{animation:w-pop .7s var(--w-spring) backwards;animation-delay:calc(.45s + var(--n,0)*80ms)}
  html.lime .w-spark path.ln{stroke-dasharray:var(--len,400);stroke-dashoffset:var(--len,400);animation:w-draw 1.3s var(--w-ease) forwards;animation-delay:calc(.5s + var(--n,0)*80ms)}
  html.lime .w-spark path.ar,html.lime .w-spark circle{animation:w-fade .6s ease backwards;animation-delay:calc(1.3s + var(--n,0)*80ms)}
  html.lime .w-spark circle.halo{transform-box:fill-box;transform-origin:center;animation:w-halo 2.2s ease-out infinite;animation-delay:calc(1.6s + var(--n,0)*80ms)}

  /* trust line and ribbon */
  html.lime.w-on .l-trust:not(.w-seen) span{opacity:0;transform:translateY(16px)}
  html.lime.w-on .l-trust.w-seen span{transition:opacity .6s var(--w-ease),transform .8s var(--w-spring)}
  html.lime.w-on .l-trust.w-seen span:nth-child(2){transition-delay:90ms}
  html.lime.w-on .l-trust.w-seen span:nth-child(3){transition-delay:180ms}
  html.lime.w-on .l-trust.w-seen span:nth-child(4){transition-delay:270ms}
  html.lime .l-trust span svg{transition:transform .5s var(--w-spring)}
  html.lime .l-trust span:hover svg{transform:rotate(-8deg) scale(1.15)}
  html.lime .d-rib{overflow:hidden}
  html.lime .d-rib::after{content:"";position:absolute;top:0;bottom:0;left:0;width:22%;background:linear-gradient(90deg,transparent,rgba(166,226,46,.16),transparent);animation:w-ribbon 8s ease-in-out 1.5s infinite;pointer-events:none}
  html.lime .d-rib .d-when::before{animation:w-live 1.8s ease-out infinite}
}
@media (max-width:640px){html.lime .w-spark{width:calc(100% - 28px);margin:4px 14px 2px;height:24px}}
/* 26 Nov audit: the endless decorations rest on a results page and while their part of the page is off screen
   (html.w-off / html.w-off2, set by the script); the page used a quarter of a processor core while idle */
html.lime.w-off form.search::before,html.lime.w-off form.search .cta::after,html.lime.w-off .l-stage,html.lime.w-off .l-art .w-shadow,html.lime.w-off .c-title .w-w,html.lime.w-off .d-rib::after,html.lime.w-off .d-rib .d-when::before,
html.lime body.pg form.search::before,html.lime body.pg form.search .cta::after,html.lime body.pg .l-stage,html.lime body.pg .l-art .w-shadow,html.lime body.pg .c-title .w-w,html.lime body.pg .d-rib::after,html.lime body.pg .d-rib .d-when::before{animation-play-state:paused!important}
html.lime.w-off2 .w-spark circle.halo{animation-play-state:paused!important}
