/* Scentus 3.2.8.264 — targeted single-item centering and mobile live material animation. */
/* Use a fixed, responsive card width rather than a full-width grid cell. */
.sn-plaster-shop-view .sn-plaster-cards.sn-plaster-single,
.sn-plaster-direct-page .sn-plaster-cards.sn-plaster-single,
.sn-plaster-shop-view .sn-plaster-cards:has(> .sn-plaster-card:only-child){
  display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;
  width:100%!important;gap:15px!important;
}
.sn-plaster-shop-view .sn-plaster-cards.sn-plaster-single > .sn-plaster-card,
.sn-plaster-shop-view .sn-plaster-cards:has(> .sn-plaster-card:only-child) > .sn-plaster-card{
  flex:0 1 280px!important;width:min(100%,280px)!important;max-width:280px!important;
  margin-inline:auto!important;
}
.sn-plaster-shop-view .sn-plaster-cards.sn-plaster-single .sn-plaster-card-wide > a{
  display:flex!important;flex-direction:column!important;height:100%!important;
}
.sn-plaster-shop-view .sn-plaster-cards.sn-plaster-single .sn-plaster-card-visual{
  width:100%!important;height:245px!important;min-height:0!important;
}
.sn-plaster-shop-view .sn-plaster-cards.sn-plaster-single .sn-plaster-card-meta{
  width:calc(100% - 20px)!important;min-height:0!important;margin:0 10px 10px!important;
}
/* The fallback catalog grid also centres when a family contains just one product. */
.sn-plaster-shop-view .sn-family-product-list:has(> .sn-catalog-card:only-child){
  display:flex!important;justify-content:center!important;flex-wrap:wrap!important;
}
.sn-plaster-shop-view .sn-family-product-list:has(> .sn-catalog-card:only-child) > .sn-catalog-card{
  flex:0 1 280px!important;width:min(100%,280px)!important;max-width:280px!important;
}
@media(max-width:600px){
  .sn-plaster-shop-view .sn-plaster-cards.sn-plaster-single > .sn-plaster-card,
  .sn-plaster-shop-view .sn-plaster-cards:has(> .sn-plaster-card:only-child) > .sn-plaster-card{
    flex-basis:min(100%,230px)!important;max-width:230px!important;
  }
  .sn-plaster-shop-view .sn-plaster-cards.sn-plaster-single .sn-plaster-card-visual{height:220px!important}
}
/* Animate only the mobile drawer's existing illustration; no external assets. */
@media(max-width:1050px){
  .sn-masthead .sn-drawer-visual{
    background:linear-gradient(140deg,#d8dad5,#f3efe5)!important;
  }
  .sn-masthead .sn-drawer-wall{
    overflow:hidden!important;transform:none!important;isolation:isolate!important;
    background-color:#a5a7a3!important;
    background-image:linear-gradient(#ffffff35 1px,transparent 1px),linear-gradient(90deg,#ffffff35 1px,transparent 1px),linear-gradient(110deg,#b9b9b3,#888e8c)!important;
    background-size:95px 46px,95px 46px,100% 100%!important;
  }
  .sn-masthead .sn-drawer-primer{
    z-index:1!important;background:linear-gradient(90deg,#f6f5ec,#e2e6df)!important;
    clip-path:inset(0 100% 0 0);animation:none!important;
  }
  .sn-masthead .sn-drawer-roller{
    z-index:3!important;top:17px!important;left:4%!important;
    width:74px!important;height:89px!important;opacity:0;
    animation:none!important;transform-origin:50% 14px!important;
    filter:drop-shadow(2px 5px 3px #17333c70)!important;
  }
  .sn-masthead .sn-roller-sleeve{
    width:68px!important;height:28px!important;
    background:repeating-linear-gradient(90deg,#fff 0 9px,#cfd5d1 12px,#f9faf6 19px)!important;
    background-size:120px 100%!important;box-shadow:inset 0 -5px 8px #85928a45,0 1px 3px #29383835!important;
  }
  .sn-masthead .sn-drawer-adhesive{
    z-index:2!important;inset:12px 0 40px 0!important;
    background:repeating-linear-gradient(90deg,#c3c8be 0px,#e9ede5 3px,#979d92 6px,#d0d4ca 9px,#e9e9dd 12px,#a6aca1 15px,#c1c5bb 18px)!important;
    background-size:100% 100%!important;clip-path:inset(0 0 0 100%);opacity:0;animation:none!important;
  }
  .sn-masthead .sn-drawer-trowel{
    z-index:4!important;top:8px!important;left:calc(100% - 83px)!important;
    opacity:0;animation:none!important;
    transform-origin:35px 30px!important;
  }
  .sn-masthead .sn-drawer-trowel-blade{
    width:70px!important;height:34px!important;
    background:linear-gradient(165deg,#edf2f0,#adb9b9 65%,#738791)!important;
    box-shadow:0 3px 3px #3144494d!important;
    clip-path:polygon(0 0,100% 0,100% 67%,93% 67%,93% 100%,84% 100%,84% 67%,74% 67%,74% 100%,64% 100%,64% 67%,54% 67%,54% 100%,44% 100%,44% 67%,34% 67%,34% 100%,24% 100%,24% 67%,14% 67%,14% 100%,4% 100%,4% 67%,0 67%)!important;
  }
  .sn-masthead .sn-masthead-mobile[open] .sn-drawer-primer{animation:sn264Primer 9s linear infinite!important}
  .sn-masthead .sn-masthead-mobile[open] .sn-drawer-roller{animation:sn264Roller 9s linear infinite!important}
  .sn-masthead .sn-masthead-mobile[open] .sn-roller-sleeve{animation:sn264Sleeve 0.52s linear infinite!important}
  .sn-masthead .sn-masthead-mobile[open] .sn-drawer-adhesive{animation:sn264CombBed 9s linear infinite!important}
  .sn-masthead .sn-masthead-mobile[open] .sn-drawer-trowel{animation:sn264CombTool 9s linear infinite!important}
}
@keyframes sn264Roller{
  0%{left:4%;opacity:0;transform:translateY(2px) rotate(-10deg)}
  3%{left:4%;opacity:1;transform:translateY(2px) rotate(-10deg)}
  14%{left:25%;opacity:1;transform:translateY(-3px) rotate(3deg)}
  28%{left:53%;opacity:1;transform:translateY(2px) rotate(-5deg)}
  43%{left:calc(100% - 83px);opacity:1;transform:translateY(-2px) rotate(7deg)}
  47%,100%{left:calc(100% - 83px);opacity:0;transform:translateY(-2px) rotate(7deg)}
}
@keyframes sn264Sleeve{from{background-position:0 0}to{background-position:120px 0}}
@keyframes sn264Primer{
  0%{clip-path:inset(0 100% 0 0);opacity:1}
  43%{clip-path:inset(0 0 0 0);opacity:1}
  51%{clip-path:inset(0 0 0 0);opacity:.52}
  98%{clip-path:inset(0 0 0 0);opacity:.52}
  100%{clip-path:inset(0 100% 0 0);opacity:1}
}
@keyframes sn264CombBed{
  0%,48%{clip-path:inset(0 0 0 100%);opacity:0}
  51%{clip-path:inset(0 0 0 98%);opacity:.98}
  76%{clip-path:inset(0 0 0 45%);opacity:.98}
  96%,99%{clip-path:inset(0 0 0 0);opacity:.98}
  100%{clip-path:inset(0 0 0 100%);opacity:0}
}
@keyframes sn264CombTool{
  0%,47%{left:calc(100% - 83px);opacity:0;transform:translateY(2px) rotate(5deg)}
  51%{left:calc(100% - 83px);opacity:1;transform:translateY(2px) rotate(5deg)}
  64%{left:70%;opacity:1;transform:translateY(-1px) rotate(-3deg)}
  77%{left:42%;opacity:1;transform:translateY(2px) rotate(3deg)}
  96%{left:4%;opacity:1;transform:translateY(-2px) rotate(-5deg)}
  100%{left:4%;opacity:0;transform:translateY(-2px) rotate(-5deg)}
}
@media(prefers-reduced-motion:reduce){
  .sn-masthead .sn-masthead-mobile[open] .sn-drawer-primer,
  .sn-masthead .sn-masthead-mobile[open] .sn-drawer-roller,
  .sn-masthead .sn-masthead-mobile[open] .sn-roller-sleeve,
  .sn-masthead .sn-masthead-mobile[open] .sn-drawer-adhesive,
  .sn-masthead .sn-masthead-mobile[open] .sn-drawer-trowel{animation:none!important}
  .sn-masthead .sn-drawer-adhesive{clip-path:inset(0 0 0 0)!important;opacity:.85!important}
  .sn-masthead .sn-drawer-roller,.sn-masthead .sn-drawer-trowel{opacity:0!important}
}
