<div class="social-shop"><div class="social-shop-nav"><span class="on">FEED</span><span>FIT CHECK</span><span>SHOP APP</span></div><div class="social-shop-panel"><div class="social-shop-art"><i></i></div><div class="social-shop-copy"><small id="social-shop-step">01 / DISCOVER</small><strong id="social-shop-title">FIELD JACKET</strong><p id="social-shop-detail">A STYLE CAUGHT IN THE FEED</p><div class="social-shop-progress"><i id="social-shop-fill"></i></div></div></div><button id="social-shop-next" type="button">NEXT STEP →</button></div>
.social-shop{width:min(90%,690px);display:grid;gap:clamp(6px,1.7vmin,13px);font:800 clamp(10px,max(1.8vmin,1vw),15px)/1.2 sans-serif}.social-shop-nav{display:flex;gap:4px}.social-shop-nav span{flex:1;text-align:center;border-bottom:3px solid var(--line);padding:4px 1px;color:var(--muted)}.social-shop-nav .on{border-color:var(--accent);color:var(--fg)}.social-shop-panel{display:grid;grid-template-columns:35% 1fr;min-height:clamp(84px,27vmin,190px);border:2px solid var(--fg);background:var(--surface)}.social-shop-art{display:grid;place-items:center;background:var(--accent-2)}.social-shop-art i{display:block;width:32%;height:57%;background:var(--accent);clip-path:polygon(22% 0,78% 0,100% 24%,83% 42%,83% 100%,17% 100%,17% 42%,0 24%)}.social-shop-copy{display:flex;flex-direction:column;justify-content:center;gap:clamp(4px,1.2vmin,10px);padding:clamp(8px,2vmin,18px)}.social-shop-copy small{color:var(--accent);font-size:clamp(10px,max(1.5vmin,1vw),12px)}.social-shop-copy strong{font-size:clamp(14px,max(3vmin,1.4vw),24px)}.social-shop-copy p{margin:0;color:var(--muted)}.social-shop-progress{height:5px;background:var(--line)}.social-shop-progress i{display:block;height:100%;background:var(--accent);transition:width .4s}.social-shop button{justify-self:end;border:0;background:var(--fg);color:var(--bg);padding:clamp(5px,1.4vmin,10px);font:inherit;cursor:pointer}
const nav=[...document.querySelectorAll('.social-shop-nav span')],steps=[['01 / DISCOVER','FIELD JACKET','A STYLE CAUGHT IN THE FEED'],['02 / VERIFY','FIT & REVIEWS','SEE SIZE NOTES AND REAL WEAR'],['03 / PURCHASE','SHOP APP','OFFER CHECKED · READY TO BUY']];let step=0;function show(){nav.forEach((el,i)=>el.classList.toggle('on',i===step));document.getElementById('social-shop-step').textContent=steps[step][0];document.getElementById('social-shop-title').textContent=steps[step][1];document.getElementById('social-shop-detail').textContent=steps[step][2];document.getElementById('social-shop-fill').style.width=((step+1)*33.4)+'%'}document.getElementById('social-shop-next').onclick=()=>{clearInterval(auto);step=(step+1)%3;show()};show();const auto=setInterval(()=>{step=(step+1)%3;show()},1350);