.spl-gallery,.spl-gallery *{box-sizing:border-box} .spl-gallery{--spl-orange:#eb7618;max-width:1180px;margin:42px auto;padding:0 20px;font-family:Arial,sans-serif;color:#252525} .spl-gallery .spl-heading{display:flex;align-items:center;gap:22px;margin-bottom:26px} .spl-gallery .spl-heading:before{content: ;flex:none;width:56px;height:56px;background:repeating-linear-gradient(135deg,var(--spl-orange) 0 3px,transparent 3px 10px)} .spl-gallery h2{margin:0;font-size:clamp(28px,4vw,44px);font-weight:700;line-height:1.15;color:#252525} .spl-gallery .spl-subtitle{max-width:740px;margin:0 0 28px;font-size:16px;color:#686868;line-height:1.75} .spl-gallery .spl-stage{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:16/9;height:auto;background:#fff;overflow:hidden;border-radius:12px;outline-offset:4px} .spl-gallery .spl-stage img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;margin:0;max-width:100%} .spl-gallery .spl-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0} .spl-gallery .spl-progress{display:flex;align-items:center;gap:14px;flex:1;max-width:340px} .spl-gallery .spl-count{flex:none;min-width:64px;font-size:16px;line-height:1.4;font-variant-numeric:tabular-nums;font-weight:600;color:#333} .spl-gallery .spl-track{height:3px;background:#e9e9e9;flex:1;overflow:hidden} .spl-gallery .spl-fill{height:100%;width:7.142857%;background:var(--spl-orange);transition:width .2s} .spl-gallery .spl-arrows{display:flex;gap:8px} .spl-gallery .spl-arrow{display:grid;place-items:center;width:48px;height:44px;margin:0;padding:0;background:#fff;border:1px solid #ddd;border-radius:0;color:#333;font:25px Arial,sans-serif;cursor:pointer} .spl-gallery .spl-arrow:hover{background:var(--spl-orange);border-color:var(--spl-orange);color:#fff} .spl-gallery .spl-thumbs{position:relative;display:flex;gap:10px;padding:0 0 12px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#ed9b5c #f0f0f0} .spl-gallery .spl-thumb{display:block;flex:0 0 125px;height:86px;margin:0;padding:0;border:3px solid transparent;background:#eee;overflow:hidden;outline-offset:2px} .spl-gallery .spl-thumb[aria-current= true ]{border-color:var(--spl-orange)} .spl-gallery .spl-thumb img{display:block;width:100%;height:100%;object-fit:cover;margin:0;opacity:.7} .spl-gallery .spl-thumb:hover img,.spl-gallery .spl-thumb[aria-current= true ] img{opacity:1} .spl-gallery a:focus-visible,.spl-gallery button:focus-visible{outline:3px solid #a84b06} .spl-gallery .spl-footer{display:flex;gap:20px;justify-content:space-between;align-items:baseline;margin-top:22px;padding-top:22px;border-top:1px solid #e8e8e8} .spl-gallery .spl-footer strong{font-size:20px;line-height:1.4;font-weight:600;color:#333} .spl-gallery .spl-footer p{max-width:580px;margin:0;font-size:15px;line-height:1.75;color:#686868} @media(max-width:800px){.spl-gallery .spl-stage{height:auto}.spl-gallery .spl-footer{display:block}.spl-gallery .spl-footer p{margin-top:10px}} @media(max-width:540px){.spl-gallery{padding:0 12px;margin:26px auto}.spl-gallery .spl-heading{gap:14px;margin-bottom:18px}.spl-gallery .spl-heading:before{width:34px;height:44px}.spl-gallery .spl-subtitle{font-size:15px;margin-bottom:20px}.spl-gallery .spl-stage{height:auto;aspect-ratio:4/3;border-radius:8px}.spl-gallery .spl-thumb{flex-basis:94px;height:68px}.spl-gallery .spl-controls{gap:12px}.spl-gallery .spl-progress{max-width:200px}} @media(prefers-reduced-motion:reduce){.spl-gallery .spl-fill{transition:none}} Практика применения Посмотрите, как материалы выглядят на объектах. Выбирайте фотографии в ленте, сравнивайте детали и находите идеи для своего проекта. 01 / 14 ←→ Что подойдёт вашему объекту?Покажите нам понравившийся вариант — обсудим материал, оттенок и размеры с учётом вашей задачи. (function(){ var root=document.getElementById('spl-gallery');if(!root||root.dataset.ready)return;root.dataset.ready='1'; var thumbs=Array.from(root.querySelectorAll('.spl-thumb')),stage=root.querySelector('.spl-stage'),photo=stage.querySelector('img'),count=root.querySelector('.spl-count'),fill=root.querySelector('.spl-fill'),current=0; function show(n){ current=(n+thumbs.length)%thumbs.length; var selected=thumbs[current];stage.href=selected.href;photo.src=selected.querySelector('img').src;photo.alt='Практика применения материалов — фото '+(current+1); thumbs.forEach(function(t,i){t.setAttribute('aria-current',String(i===current))}); count.textContent=String(current+1).padStart(2,'0')+' / '+thumbs.length;fill.style.width=((current+1)/thumbs.length*100)+'%'; var strip=root.querySelector('.spl-thumbs'); if(selected.offsetLeftstrip.scrollLeft+strip.clientWidth){strip.scrollLeft=selected.offsetLeft-strip.clientWidth/2+selected.offsetWidth/2} } thumbs.forEach(function(t,i){t.addEventListener('click',function(e){if(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)return;e.preventDefault();show(i)})}); root.querySelector('.spl-prev').onclick=function(){show(current-1)};root.querySelector('.spl-next').onclick=function(){show(current+1)}; root.addEventListener('keydown',function(e){if(e.key==='ArrowLeft'){e.preventDefault();show(current-1)}if(e.key==='ArrowRight'){e.preventDefault();show(current+1)}}); })();