/* The warranty seal (the owner's wish, 2026-11-23: "a custom nice badge, like 3D"): a raised shield with a gold rim,
   a green face with a gloss, the length in the middle and a ribbon across it. Drawn by PP.warrSeal() in store-data.js
   (the shapes and their gradients are one hidden <svg> it adds to the page). Its own file, on purpose: the seal looks
   the same in both themes, and tools/store-dark/build.py would give its colours dark twins if they lived in the six
   stylesheets it reads. Every length is a share of --ws, the seal's width. */
.ws{--ws:56px;position:relative;display:inline-block;flex:none;width:var(--ws);aspect-ratio:100/116;pointer-events:auto;
  filter:drop-shadow(0 calc(var(--ws) * .07) calc(var(--ws) * .09) rgba(6,54,30,.34)) drop-shadow(0 1px 1px rgba(0,0,0,.18));
  transform:perspective(calc(var(--ws) * 6)) rotateX(6deg) rotateY(-8deg);transform-origin:50% 60%;
  transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .45s ease;animation:ws-in .6s cubic-bezier(.3,1.4,.5,1) backwards;user-select:none}
.ws-art{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ws-n,.ws-u,.ws-r{position:absolute;inset-inline:0;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;line-height:1;pointer-events:none}
.ws-n{top:19%;height:30%;font-family:var(--f-num,inherit);font-size:calc(var(--ws) * .36);font-weight:800;letter-spacing:-.02em;color:#fff;
  text-shadow:0 calc(var(--ws) * .015) 0 rgba(4,60,32,.55),0 calc(var(--ws) * .04) calc(var(--ws) * .08) rgba(0,0,0,.28)}
.ws-n .ico{font-size:calc(var(--ws) * .38)}
.ws-u{top:49%;height:9%;font-size:calc(var(--ws) * .115);font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#DDFBEA;text-shadow:0 1px 1px rgba(0,0,0,.25)}
.ws-r{top:60.5%;height:18.5%;padding-inline:14%;font-size:calc(var(--ws) * .1);font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#FFE59A;text-shadow:0 1px 0 rgba(0,0,0,.35)}
html[dir="rtl"] .ws-u,html[dir="rtl"] .ws-r{letter-spacing:0}
/* a light that crosses the face: as it lands, and again under the pointer */
.ws::after{content:"";position:absolute;inset:4% 8% 8%;clip-path:polygon(50% 0,100% 8%,100% 50%,50% 100%,0 50%,0 8%);
  background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.55) 48%,rgba(255,255,255,0) 60%) -150% 0/250% 100% no-repeat;
  animation:ws-shine 1.4s .35s ease-out both;pointer-events:none}
.card:hover .ws,.hero-slide.is-on .ws,.by-stage:hover .ws,.qv-shot:hover .ws,.ws:hover{transform:perspective(calc(var(--ws) * 6)) rotateX(0) rotateY(10deg) translateY(-2px) scale(1.04)}
.card:hover .ws::after,.by-stage:hover .ws::after,.ws:hover::after{animation:ws-shine .9s ease-out}
@keyframes ws-in{from{opacity:0;transform:perspective(300px) rotateY(-70deg) scale(.6)}}
@keyframes ws-shine{from{background-position:-150% 0}to{background-position:250% 0}}
/* where it sits: a product's picture (the cards, the quick look, the product page) and a banner's product slide */
.card-media .ws{position:absolute;inset-inline-end:10px;bottom:10px;z-index:2;--ws:46px}
.pl-card .card-media .ws{--ws:44px}
.qv-shot .ws{position:absolute;inset-inline-end:22px;bottom:22px;z-index:2;--ws:76px}
.by-stage .ws{position:absolute;inset-inline-end:18px;top:70px;z-index:2;--ws:86px}
.hero-art .ws{position:absolute;inset-inline-end:6%;top:8%;z-index:3;--ws:104px;animation:ws-in .7s cubic-bezier(.3,1.4,.5,1) backwards,ws-float 5s 1s ease-in-out infinite}
@keyframes ws-float{50%{translate:0 -6px}}
@media (max-width:640px){
  .card-media .ws,.pl-card .card-media .ws{--ws:38px;inset-inline-end:8px;bottom:8px}
  .by-stage .ws{--ws:64px;top:60px}
  .hero-art .ws{--ws:76px}
  .qv-shot .ws{--ws:60px}
}
@media (prefers-reduced-motion:reduce){.ws,.hero-art .ws{animation:none;transition:none}.ws::after{animation:none;display:none}}
