.detail-gallery{min-width:0}.detail-gallery .detail-visual{position:relative}.detail-gallery-main{touch-action:pan-y}.detail-gallery-main img{transition:opacity .15s}.detail-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fffef5ed;color:var(--green);border:1px solid #e3e8d7;box-shadow:0 3px 12px #22352a12}.detail-gallery-nav:hover{background:#fff}.detail-gallery-nav svg{width:19px;height:19px}.detail-gallery-prev{left:11px}.detail-gallery-prev svg{transform:rotate(180deg)}.detail-gallery-next{right:11px}.detail-gallery-counter{position:absolute;bottom:13px;right:14px;padding:5px 9px;border-radius:7px;background:#fffef5ed;color:#5a6b51;font-size:10px;font-weight:700}.detail-gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:12px 3px 3px;scrollbar-width:thin}.detail-gallery-thumb{flex:0 0 58px;width:58px;height:58px;padding:3px;border-radius:9px;border:1px solid var(--line);background:#fff;overflow:hidden;transition:border-color .15s}.detail-gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:6px}.detail-gallery-thumb.active{border:2px solid var(--green);padding:2px}.detail-gallery-thumb:focus-visible,.detail-gallery-nav:focus-visible{outline:3px solid #b4c59c;outline-offset:3px}.gallery-editor-drop{border:1.5px dashed #c5d3b8;background:#fafcf7;border-radius:11px;padding:22px;display:flex;align-items:center;gap:17px;cursor:pointer}.gallery-editor-drop.dragging{border-color:#4d7b3c;background:#edf5e5}.gallery-editor-drop:focus-visible{outline:3px solid #c4ddac;outline-offset:3px}.gallery-editor-drop strong{font-size:12px;color:#617c51;font-weight:700;display:block}.gallery-editor-drop small{display:block;font-size:10px;color:#8b9d79;margin-top:7px}.gallery-editor-upload{width:44px;height:44px;display:grid;place-items:center;background:#edf3e4;color:#89a171;border-radius:11px;flex:none}.gallery-editor-upload svg{width:23px;height:23px}.gallery-editor-hint{font-size:10px;color:#93a183;margin:12px 0 15px}.gallery-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.gallery-editor-item{min-width:0;border:1px solid #e2e9d9;border-radius:10px;background:#fff;padding:6px;overflow:hidden}.gallery-editor-preview{aspect-ratio:1.25;background:#f3f6ed;position:relative;border-radius:6px;overflow:hidden}.gallery-editor-preview img{width:100%;height:100%;object-fit:cover;display:block}.gallery-editor-cover{position:absolute;top:6px;left:6px;padding:4px 6px;border-radius:4px;background:#f4fae9ec;color:#5b7848;font-size:8px;font-weight:800}.gallery-editor-loading{position:absolute;inset:0;background:#f7faefb8;display:grid;place-items:center;font-size:11px;font-weight:700;color:#567c41}.gallery-editor-actions{display:flex;gap:5px;padding-top:6px}.gallery-editor-actions button{height:29px;min-width:29px;display:grid;place-items:center;border:0;background:#f2f6ec;border-radius:6px;color:#738c5f;cursor:pointer}.gallery-editor-actions button:hover{background:#e7efdc;color:#235b37}.gallery-editor-actions button:disabled{opacity:.3;cursor:default}.gallery-editor-actions button:last-child{margin-left:auto;color:#a47a69;background:#fbf4ef}.gallery-editor-actions svg{width:14px!important;height:14px!important}.gallery-editor-actions button[data-gallery-action=left] svg{transform:rotate(180deg)}.gallery-editor-bottom{display:flex;justify-content:space-between;gap:15px;color:#8b9d79;font-size:10px;margin-top:12px;line-height:1.6}.gallery-editor-bottom [data-gallery-status]{text-align:right}.gallery-editor-error,.gallery-editor-item-error{color:#b34a3d;font-size:10px;line-height:1.6;margin:10px 0 0}.gallery-editor-error:empty{display:none}.gallery-editor-item.has-error{border-color:#d9a295}.gallery-editor-item-error{font-size:9px;margin-top:6px}.gallery-editor-retry{padding:7px 0 1px;color:#547b40;border:0;background:transparent;font-size:9px;font-weight:700;cursor:pointer}.gallery-editor button:focus-visible{outline:3px solid #c4ddac;outline-offset:2px}@media(max-width:580px){.detail-gallery-thumb{width:53px;height:53px;flex-basis:53px}.detail-gallery-thumbs{gap:7px;padding-top:10px}.detail-gallery-nav{width:34px;height:34px}.gallery-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gallery-editor-drop{padding:16px;gap:12px}.gallery-editor-drop strong{font-size:10px}.gallery-editor-drop small{font-size:9px;line-height:1.6}.gallery-editor-upload{width:35px;height:35px}.gallery-editor-hint{font-size:9px;line-height:1.7}.gallery-editor-bottom{font-size:9px}.gallery-editor-actions button{height:33px;min-width:33px}.gallery-editor-actions svg{width:16px!important;height:16px!important}}
