.shop-shelf{padding:16px;--shelf-label:#1557b0;--shelf-hook:#c2410c}
.shop-shelf[hidden]{display:none}
.shop-shelf__title{font-size:18px;font-weight:800;margin:0 0 12px;padding-bottom:8px;line-height:1.3;border-bottom:2px solid var(--fill-brand,#1e73be)}
.shop-shelf__set-tag{grid-column:1/-1;justify-self:start;font-size:12px;font-weight:700;line-height:1.5;background:#e8f0fe;color:#1a3d7c;border-radius:999px;padding:2px 10px}
.shop-shelf__set-tag--empty{visibility:hidden}
.shop-shelf__title-em{color:#e2231a}
.shop-shelf__view{position:relative;overflow:hidden;border-radius:10px}
.shop-shelf__track{display:grid}
.shop-shelf__slide{grid-area:1/1;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}
.shop-shelf__slide[data-on]{opacity:1;visibility:visible}
.shop-shelf__tile{position:relative;isolation:isolate;display:flex;flex-direction:column;padding:9px 10px 8px;box-sizing:border-box;aspect-ratio:4/3;border-radius:10px;overflow:hidden;text-decoration:none;color:#111;border:1px solid var(--tile-line);background:var(--tile-bg)}
.shop-shelf__tile:nth-of-type(odd){--tile-bg:var(--shelf-box-bg,#edf3fc);--tile-line:var(--shelf-box-border,#c9d7ec)}
.shop-shelf__tile:nth-of-type(even){--tile-bg:var(--shelf-box-bg-2,#fdf3e7);--tile-line:var(--shelf-box-border-2,#efd6b6)}
.shop-shelf__tile-txt{position:relative;z-index:1;display:block;flex:0 0 auto;min-width:0;text-shadow:var(--shelf-text-outline,1px 0 0 #fff,-1px 0 0 #fff,0 1px 0 #fff,0 -1px 0 #fff,1px 1px 0 #fff,-1px -1px 0 #fff,1px -1px 0 #fff,-1px 1px 0 #fff,0 0 4px rgba(255,255,255,.9))}
.shop-shelf__tile-name{display:flex;align-items:center;gap:2px;font-size:16px;font-weight:800;line-height:1.25;min-width:0}
.shop-shelf__tile-label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--shelf-label,#1557b0)}
.shop-shelf__tile-chev{flex:0 0 auto;font-size:18px;font-weight:700;color:var(--shelf-label,#1557b0);line-height:1}
.shop-shelf__tile-hook{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;word-break:keep-all;overflow:hidden;font-size:13px;font-weight:700;line-height:1.35;margin-top:2px;color:var(--shelf-hook,#c2410c)}
.shop-shelf__tile-art{position:absolute;right:6px;bottom:4px;height:70%;aspect-ratio:1/1;background:var(--shelf-art-bg,radial-gradient(closest-side,rgba(255,255,255,.95) 62%,rgba(255,255,255,0) 100%));border:0;box-shadow:none;display:flex;align-items:center;justify-content:center;font-size:58px}
.shop-shelf__tile-art img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.shop-shelf__nav{display:flex;align-items:center;justify-content:center;gap:2px;margin:2px 0 14px}
.shop-shelf__step{width:28px;height:28px;border:0;border-radius:50%;background:none;color:#64748b;font-size:18px;line-height:28px;padding:0;cursor:pointer}
.shop-shelf__step:hover{background:#f1f5f9}
.shop-shelf__dots{display:flex}
.shop-shelf__dots button{width:24px;height:24px;border:0;background:none;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.shop-shelf__dots button::before{content:"";width:7px;height:7px;border-radius:50%;background:#cbd5e1}
.shop-shelf__dots button[aria-current="true"]::before{width:18px;border-radius:4px;background:var(--fill-brand,#1e73be)}
.shop-shelf__grid:not([data-on]){display:none}
.shop-shelf__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 6px;margin:0 -4px;padding:0;list-style:none}
.shop-shelf__cell a{container-type:inline-size;display:flex;flex-direction:column;height:100%;box-sizing:border-box;text-decoration:none;color:inherit;border-radius:8px;padding:4px;transition:background .15s}
.shop-shelf__cell a:hover{background:#f1f5f9}
.shop-shelf__img{width:100%;max-width:120px;margin-inline:auto;aspect-ratio:1/1;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e5e7eb;box-sizing:border-box;flex:0 0 auto;overflow:hidden}
.shop-shelf__img img{width:100%;height:100%;object-fit:contain}
.shop-shelf__name{flex:0 0 auto;font-size:13px;line-height:1.35;height:2.7em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px}
.shop-shelf__price{flex:0 0 auto;white-space:nowrap;line-height:1.25;font-size:clamp(14px,17.5cqi,17px);letter-spacing:-.2px;font-weight:800;color:#e2231a;margin-top:4px}
.shop-shelf__price span{font-size:.8em;font-weight:700;color:#111}
.shop-shelf__cta{display:block;margin-top:10px;text-align:center;background:var(--fill-brand,#1e73be);color:#fff;font-weight:700;font-size:15px;padding:11px 8px;border-radius:8px;text-decoration:none}
@media (prefers-reduced-motion:reduce){.shop-shelf__slide{transition:none}}
.info-sidebar__panel[hidden]{display:none}   /* 공용 지점(shelf-finish.mjs)이 옛 목록 박스에 붙이는 hidden 속성이 모듈 CSS 의 display 에 지지 않게(숨김 = hidden 속성 + 이 규칙) */
