:focus-visible{outline:3px solid var(--wood);outline-offset:3px}button:disabled{opacity:.45;cursor:default}.product{border-radius:10px}.gallery{position:relative;background:var(--paper2)}.gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:8px 8px 0 0}.gallery-track::-webkit-scrollbar{display:none}.gallery-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}.gallery-slide button{width:100%;border:0;padding:0;display:block;background:none;cursor:zoom-in}.product .gallery-slide img{display:block;width:100%;height:280px;object-fit:contain}.gallery-arrow{position:absolute;top:118px;border:1px solid #fff9;background:#fffdf8ed;width:42px;height:42px;border-radius:50%;box-shadow:0 3px 15px #0002;font-size:25px;color:var(--ink);display:grid;place-items:center;z-index:1}.gallery-prev{left:10px}.gallery-next{right:10px}.gallery-counter{position:absolute;right:12px;top:12px;background:#211f1ad9;color:white;border-radius:20px;padding:4px 10px;font-size:11px;pointer-events:none}.gallery-thumbs{display:flex;gap:7px;overflow-x:auto;padding:10px;background:var(--white);scrollbar-width:thin}.gallery-thumb{flex:none;padding:2px;background:none;border:2px solid transparent;border-radius:6px;width:48px;height:48px;opacity:.65}.gallery-thumb[aria-current=true]{border-color:var(--wood);opacity:1}.product .gallery-thumb img,.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:3px;display:block}.photo-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.photo-tile{min-width:0;border:1px solid var(--line);padding:7px;border-radius:7px;position:relative}.photo-tile img{display:block;width:100%;height:110px;object-fit:cover;border-radius:4px}.photo-tile small{display:block;margin:5px 0;min-height:15px}.photo-controls{display:flex;gap:3px}.photo-controls button{min-height:35px;flex:1;padding:4px;border:1px solid var(--line);background:var(--paper);border-radius:4px;font-size:12px}.photo-cover{width:100%;margin-top:5px;min-height:32px;font-size:10px;border:0;background:var(--green);color:white;border-radius:4px}#photoCount{float:right;color:var(--muted);font-weight:400}.form-status{font-size:12px;color:var(--green)}.form-status.error,#catalogStatus.error,#sellerStatus.error{color:#9b3027}#catalogStatus:empty,#sellerStatus:empty,.form-status:empty{display:none}.photo-dialog{width:min(920px,94vw);max-height:94dvh;padding:22px;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.photo-dialog::backdrop{background:#15130fe0}.photo-dialog h2{font:500 25px var(--serif);margin:0 48px 18px 0}.dialog-close{position:absolute;right:10px;top:10px;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--paper);font-size:27px;z-index:2}.photo-dialog .gallery-slide img{display:block;width:100%;height:min(62dvh,620px);object-fit:contain}.photo-dialog .gallery-arrow{top:calc(min(62dvh,620px)/2 - 21px)}.photo-dialog .gallery-track{border-radius:6px}.photo-dialog .gallery-thumbs{justify-content:flex-start}.photo-dialog .gallery-slide{background:var(--paper2)}@media(max-width:640px){.product .gallery-slide img{height:300px}.gallery-arrow{top:129px}.photo-dialog{padding:12px}.photo-dialog h2{font-size:21px;padding-top:8px}.photo-editor{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
