poss-product-shelves{display:block;max-width:var(--studio-width,1440px);margin:12px auto;padding:0 20px;font-family:Arial,Helvetica,sans-serif;color:#1c2637}
poss-product-shelves *{box-sizing:border-box;letter-spacing:normal}poss-product-shelves [hidden]{display:none!important}
.poss-shelf{margin:0;min-width:0}.poss-shelf__header{display:flex;gap:16px;align-items:end;justify-content:space-between;margin-bottom:8px;flex-wrap:wrap}
.poss-shelf__eyebrow{margin:0 0 5px;font-size:10px;letter-spacing:.12em!important;text-transform:uppercase;font-weight:700;color:var(--studio-accent,#dd263c)}
.poss-shelf h2{margin:0;font-size:clamp(21px,2vw,29px);line-height:1.2;color:#172130;font-weight:750}.poss-shelf__subtitle{margin:7px 0 0;color:#617087;font-size:13px;line-height:1.5;max-width:650px}
.poss-shelf__controls{display:flex;gap:7px;align-items:center;flex-shrink:0}.poss-shelf__controls button,[data-shelves-retry]{border:1px solid #cfd7e2;border-radius:9px;background:white;color:#26374a;min-height:38px;min-width:38px;padding:7px 12px;font:600 12px Arial;cursor:pointer}
.poss-shelf__controls button:hover,[data-shelves-retry]:hover{background:#f0f4fa;border-color:var(--studio-accent,#dd263c)}.poss-shelf__controls button:focus-visible,poss-product-shelves a:focus-visible{outline:2px solid var(--studio-accent,#dd263c);outline-offset:3px}.poss-shelf__range{font-size:11px;color:#617087;min-width:65px;text-align:center;font-variant-numeric:tabular-nums}
.poss-shelf__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--shelf-columns) - 1)*14px)/var(--shelf-columns));gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-ms-overflow-style:none;scroll-snap-type:x mandatory;padding:2px 1px 10px;align-items:stretch}
.poss-shelf__track>poss-shop-card{scroll-snap-align:start;min-width:0}.poss-shelf[data-layout=grid] .poss-shelf__track{grid-auto-flow:row;grid-template-columns:repeat(var(--shelf-columns),minmax(0,1fr));grid-auto-columns:unset;overflow:visible}
.poss-shelf[data-card=compact] .poss-shop-card__sku,.poss-shelf[data-card=compact] .poss-shop-card__quantity{display:none}.poss-shelf[data-card=compact] .poss-shop-card__body{padding:10px;gap:8px}.poss-shelf[data-card=compact] .poss-shop-card__price{flex-wrap:wrap;gap:3px}.poss-shelf[data-card=compact] .poss-shop-card__price strong{font-size:18px}.poss-shelf[data-card=compact] .poss-shop-card__price small{font-size:9px;flex-direction:row;gap:4px;flex-wrap:wrap}.poss-shelf[data-card=compact] .poss-shop-card__body h3{font-size:12px;min-height:5.2em}.poss-shelf[data-card=compact] .poss-shop-card__title{-webkit-line-clamp:4}
.poss-shelves-message{display:flex;align-items:center;gap:10px;min-height:90px;font-size:14px;color:#53627a}.poss-shelves-spinner{width:20px;height:20px;border:2px solid #dbe4ef;border-top-color:var(--studio-accent,#dd263c);border-radius:50%;animation:poss-shelf-spin .8s linear infinite}@keyframes poss-shelf-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.poss-shelf__track{--shelf-columns:4!important}}
@media(max-width:749px){poss-product-shelves{padding:0 14px;margin-top:12px}.poss-shelf__track{--shelf-columns:var(--shelf-mobile)!important;gap:10px;grid-auto-columns:calc((100% - (var(--shelf-mobile) - 1)*10px)/var(--shelf-mobile))}.poss-shelf__header{gap:10px}.poss-shelf__controls{width:100%;justify-content:flex-end}.poss-shelf__subtitle{font-size:12px}.poss-shelf{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.poss-shelves-spinner{animation:none}.poss-shelf__track{scroll-behavior:auto}}

/* Native scrolling remains available for touch and keyboard without a visible rail. */
.poss-shelf__track::-webkit-scrollbar{display:none;width:0;height:0}
.poss-shelf[data-surface=dark]{background:#06191e;border-radius:18px;padding:12px 16px;color:#fff}.poss-shelf[data-surface=dark] h2{color:#fff}.poss-shelf[data-surface=dark] .poss-shelf__subtitle,.poss-shelf[data-surface=dark] .poss-shelf__range{color:#c7dae2}.poss-shelf[data-surface=dark] .poss-shelf__eyebrow{color:var(--shelf-glow)}
.poss-shelf__stage{display:block;position:relative;isolation:isolate;overflow:hidden;touch-action:pan-y;scroll-snap-type:none;min-height:440px;padding:0!important;cursor:grab}.poss-shelf__stage:active{cursor:grabbing}
.poss-shelf__item{position:absolute;top:12px;left:50%;width:var(--stage-card-width,300px);height:var(--stage-card-height,auto);transform-origin:center center;transition-property:transform,width,opacity;transition-duration:var(--shelf-transition,650ms);transition-timing-function:var(--shelf-easing,ease-in-out);will-change:transform;min-width:0;border-radius:16px}
.poss-shelf__item>poss-shop-card{height:100%;border-radius:16px}.poss-shelf__item[data-active=true]>poss-shop-card{box-shadow:0 16px 40px #14243f20;border-color:#a7b8ca}
.poss-shelf[data-effect=glow] .poss-shelf__item[data-active=true]>poss-shop-card{border-color:var(--shelf-glow);box-shadow:0 0 3px var(--shelf-glow),0 0 18px color-mix(in srgb,var(--shelf-glow) 65%,transparent),0 0 38px color-mix(in srgb,var(--shelf-glow) 35%,transparent)}
.poss-shelf__item:not([data-active=true]) .poss-shop-card__body{display:none}.poss-shelf__item:not([data-active=true]) .poss-shop-card__image{height:100%;aspect-ratio:auto;flex:1}.poss-shelf__item:not([data-active=true]) .poss-shop-card__image img{filter:saturate(.6);transition:filter var(--shelf-transition,650ms)}
.poss-shelf__choose{position:absolute;inset:0;width:100%;border:0;background:transparent;border-radius:16px;cursor:pointer}.poss-shelf__choose:focus-visible{outline:3px solid var(--shelf-glow);outline-offset:-4px}.poss-shelf__side-summary{position:absolute;bottom:12px;left:calc(50% + var(--side-summary-x,0px));width:var(--side-summary-width,140px);max-width:none;transform:translateX(-50%);display:flex;flex-direction:row;align-items:baseline;justify-content:center;gap:8px;white-space:nowrap;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:#203249;text-align:center;line-height:1.3;pointer-events:none}
.poss-shelf__side-sku{font:600 calc(var(--side-summary-font,20px)*.75)/1.3 Arial;flex:none}.poss-shelf__side-price{font:750 var(--side-summary-font,20px)/1.3 Arial;font-variant-numeric:tabular-nums;flex:none}
@media(max-width:749px){.poss-shelf[data-surface=dark]{padding:12px;border-radius:16px}.poss-shelf__stage{min-height:400px}.poss-shelf__side-summary{gap:5px}}
@media(prefers-reduced-motion:reduce){.poss-shelf__item,.poss-shelf__item img{transition:none!important}}

.poss-shelf__stage{min-height:0}.poss-shelf__stage .poss-shop-card__image{aspect-ratio:auto;height:var(--stage-image-height,auto);flex:none}.poss-shelf__stage .poss-shelf__item:not([data-active=true]) .poss-shop-card__image{height:calc(100% - var(--side-summary-space,90px));flex:none;min-height:0;width:var(--side-image-width,100%);align-self:center;transform:translateX(var(--side-summary-x,0px))}

/* Navigation belongs on the cards, never in two separate toolbars. */
.poss-shelf__viewport{position:relative;min-width:0}.poss-shelf__viewport>.poss-shelf__controls{position:absolute;inset:0;display:block;pointer-events:none;z-index:40;width:auto;min-width:0}.poss-shelf__viewport>.poss-shelf__controls button{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;pointer-events:auto;width:34px;height:34px;min-width:34px;min-height:34px;border:1px solid #d5dfe9;border-radius:50%;background:#fffffff0;box-shadow:0 3px 10px #14273c20;color:#253c53;padding:0;font-size:18px;line-height:1;opacity:.9}.poss-shelf__viewport [data-motion-prev]{left:7px}.poss-shelf__viewport [data-motion-next]{right:7px}.poss-shelf__viewport>.poss-shelf__controls button:hover{background:#fff;opacity:1;box-shadow:0 3px 14px #14273c30}.poss-shelf__viewport>.poss-shelf__controls button:focus-visible{outline:2px solid var(--studio-accent,#dd263c);outline-offset:2px}.poss-shelf__viewport>.poss-shelf__controls [data-motion-pause],.poss-shelf__viewport>.poss-shelf__controls .poss-shelf__range{display:none!important}

.poss-shelf[data-effect=glow] .poss-shelf__item:not([data-active=true])>poss-shop-card{border-color:color-mix(in srgb,var(--shelf-glow) 65%,#1c4e58);box-shadow:0 0 8px color-mix(in srgb,var(--shelf-glow) 45%,transparent)}

/* Keep name and price together. The photograph uses the remaining card area. */
.poss-shelf__stage:not([data-measuring]) .poss-shelf__item[data-active=true] .poss-shop-card__body{flex:0 0 auto}
.poss-shelf__stage:not([data-measuring]) .poss-shelf__item[data-active=true] .poss-shop-card__body h3{min-height:0}
.poss-shelf__stage:not([data-measuring]) .poss-shelf__item[data-active=true] .poss-shop-card__price{margin-top:0}
.poss-shelf__stage:not([data-measuring]) .poss-shelf__item[data-active=true] .poss-shop-card__image{height:auto;min-height:var(--stage-image-height);flex:1 1 auto}

/* Depth uses a broad central card, overlapping layers and a soft colored stage. */
.poss-shelf[data-effect=depth][data-layout=carousel][data-surface=light]{background:radial-gradient(ellipse at 50% 55%,color-mix(in srgb,var(--shelf-glow) 22%,#fff),transparent 68%),linear-gradient(180deg,#f8faff,#e7eef7);border-radius:22px}
.poss-shelf[data-effect=depth] .poss-shelf__item>poss-shop-card{border-color:color-mix(in srgb,var(--shelf-glow) 24%,#dce4ef);box-shadow:0 12px 30px #142c4c26}
.poss-shelf[data-effect=depth] .poss-shelf__item[data-active=true]>poss-shop-card{border-color:color-mix(in srgb,var(--shelf-glow) 65%,#fff);box-shadow:0 20px 42px #132b4c40,0 0 0 1px color-mix(in srgb,var(--shelf-glow) 18%,transparent)}
.poss-shelf__item:not([data-active=true]) .poss-shop-card__image img{filter:none}
.poss-shelf__item[aria-hidden=true]{will-change:auto}.poss-shelf__stage[data-dragging=true],.poss-shelf__stage[data-dragging=true] *{user-select:none;-webkit-user-select:none;cursor:grabbing}
