.store-page .format-shelf {margin:clamp(30px,4vw,65px) 0}
.format-shelf .section-head {padding-inline:clamp(12px,1.8vw,32px);align-items:center}
.store-page .format-shelf .rail {padding:4px 0 9px;scroll-padding-inline:0;scrollbar-width:none;overscroll-behavior-x:contain;grid-auto-columns:clamp(244px,26vw,385px);gap:14px}
.format-shelf .rail::-webkit-scrollbar {display:none}
.store-page .format-shelf .product {min-height:0;padding:clamp(18px,2vw,32px);min-width:0;height:clamp(295px,30vw,405px);justify-content:space-between}
.store-page .format-shelf .surface {height:67%;min-height:0;aspect-ratio:auto;width:100%;isolation:isolate;display:grid;grid-template:minmax(0,1fr) / minmax(0,1fr);place-items:center;overflow:visible}
.store-page .format-shelf .surface img {width:100%;height:100%;object-fit:contain}
.store-page .format-shelf:not(.featured) .surface img {mix-blend-mode:multiply}
.store-page .format-shelf .product.motion-product {color:#000;background:#f8e9d9}
.store-page .format-shelf .motion-product.art-sun {background:#fff0be}
.store-page .format-shelf .motion-product.art-paper {background:#ece4f6}
.store-page .format-shelf[data-library-row="Practice Question Flashcards"] .motion-product {background:#e2efeb}
.store-page .format-shelf .motion-product .surface img {grid-area:1/1;z-index:1;width:87%;height:93%;mix-blend-mode:normal;filter:drop-shadow(2px 6px 4px #38201033)}
.art-layers {display:block;grid-area:1/1;width:69%;height:78%;position:relative;transform:rotate(-8deg);pointer-events:none}
.art-layers i {position:absolute;inset:0;border-radius:16%;background:var(--shade);transform:translate(var(--x),var(--y)) rotate(var(--tilt))}
.art-layers i:nth-child(1){--shade:#f1a851;--x:-14%;--y:3%;--tilt:-19deg}
.art-layers i:nth-child(2){--shade:#d57071;--x:5%;--y:-1%;--tilt:7deg}
.art-layers i:nth-child(3){--shade:#c45569;--x:13%;--y:3%;--tilt:21deg}
.art-sun .art-layers i {border-radius:50%;background:#f4b738}
.art-sun .art-layers i:nth-child(2){background:#ffce65}
.art-sun .art-layers i:nth-child(3){background:#f8dc92}
.art-paper .art-layers i {border-radius:4%;background:#8b75a9}
.art-paper .art-layers i:nth-child(2){background:#b09cc6}
.art-paper .art-layers i:nth-child(3){background:#d0b9e0}
[data-library-row="Practice Question Flashcards"] .art-layers i:nth-child(1){--shade:#77a89e}
[data-library-row="Practice Question Flashcards"] .art-layers i:nth-child(2){--shade:#a8d3c9}
[data-library-row="Practice Question Flashcards"] .art-layers i:nth-child(3){--shade:#c2ddd2}
@media(prefers-reduced-motion:no-preference){
  .art-visible .art-layers i {animation:shelf-unfold 1.4s cubic-bezier(.16,1,.3,1) backwards}
  .art-visible .art-layers i:nth-child(2){animation-delay:80ms}
  .art-visible .art-layers i:nth-child(3){animation-delay:140ms}
  .motion-product .art-layers {transition:transform .65s cubic-bezier(.2,.7,.25,1)}
  .motion-product:focus-visible .art-layers {transform:rotate(6deg) scale(1.08)}
  @media(hover:hover){.motion-product:hover .art-layers{transform:rotate(6deg) scale(1.08)}}
}
@keyframes shelf-unfold {from{transform:translate(0,0) rotate(0) scale(.78)}}
.shelf-controls {display:flex;gap:3px;justify-content:flex-end;padding-right:clamp(10px,1.8vw,32px)}
.shelf-controls button {display:grid;place-items:center;width:44px;height:44px;border:0;padding:0;background:transparent;position:relative;color:#494342;border-radius:50%}
.shelf-controls button::before {content:'';background:#dedddc;border-radius:50%;width:32px;height:32px;grid-area:1/1}
.shelf-controls button::after {content:'';width:7px;height:7px;border:solid currentColor;border-width:2px 2px 0 0;grid-area:1/1;transform:translateX(-1px) rotate(45deg)}
.shelf-controls [data-prev]::after {transform:translateX(1px) rotate(-135deg)}
.shelf-controls button[aria-disabled=true]{opacity:.4;cursor:default}
.shelf-controls button:not([aria-disabled=true]):hover::before{background:#c9c6c5}
.shelf-status {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){.store-page .format-shelf .rail {grid-auto-columns:min(80%,310px);gap:12px}.format-shelf .section-head {align-items:baseline}.format-shelf .section-head a{flex-shrink:0}.store-page .format-shelf .section-head h2 {font-size:clamp(21px,5.8vw,29px)}}
.store-page .format-shelf .product:not(.motion-product) .surface {isolation:auto}
