#fn-search{border:1px solid #f0f0f0;border-radius:.1875rem;background:#fff}
#fn-search:focus-within{border-color:#8d9498}
#fn-search .form-control,#fn-search .form-control:focus{border:0!important;box-shadow:none!important}
#fn-search .input-group-btn{white-space:nowrap}
#fn-search .mnv-photo-trigger,#fn-search .i-search{display:inline-flex;vertical-align:top;align-items:center;justify-content:center;width:2.35rem;height:2.48rem;margin:0;padding:0;background:transparent!important;color:#777e82;border:0!important}
#fn-search .mnv-photo-trigger{border-radius:0}
#fn-search .mnv-photo-trigger svg{width:1.3rem;height:1.3rem;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#fn-search .mnv-photo-trigger:hover{color:#263743;background:#fff9df!important}
#fn-search .mnv-photo-trigger:focus-visible{outline:2px solid #485057;outline-offset:-3px}
.mnv-photo{box-sizing:border-box;position:fixed;inset:0;z-index:2147483000;width:min(560px,calc(100% - 24px));max-width:1100px;max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #dce1e4;border-radius:12px;background:#fff;color:#263743;box-shadow:0 16px 70px #0003;overflow:auto;overscroll-behavior:contain;font:inherit}
.mnv-photo:not([open]),.mnv-photo [hidden]{display:none!important}
.mnv-photo::backdrop{background:rgba(25,35,43,.45)}
.mnv-photo--results{width:min(1100px,calc(100% - 24px))}
.mnv-photo *{box-sizing:border-box}
.mnv-photo__header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.mnv-photo__header h2{font-size:24px;line-height:1.25;margin:0;font-weight:600}
.mnv-photo button{font:inherit;cursor:pointer;color:inherit;text-decoration:none}
.mnv-photo button:focus-visible,.mnv-photo select:focus-visible,.mnv-photo canvas:focus-visible{outline:2px solid #354e60;outline-offset:3px}
.mnv-photo button:disabled{cursor:wait;opacity:.6}
.mnv-photo__close{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:8px;border:0;border-radius:6px;background:transparent}
.mnv-photo__close:hover{background:#f1f3f4}
.mnv-photo svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mnv-photo__close svg{width:24px;height:24px}
.mnv-photo__drop{display:flex;flex-direction:column;align-items:center;gap:16px;padding:32px 16px;border:1px dashed #adb9c0;border-radius:8px;text-align:center;background:#fafbfc}
.mnv-photo__drop.is-dragging{background:#fff6cd;border-color:#ad8700}
.mnv-photo__drop>svg{width:44px;height:44px;color:#687b87}
.mnv-photo__drop p{margin:0;font-size:18px;line-height:1.4}
.mnv-photo__primary{background:#ffcc00;border:1px solid #ffcc00;border-radius:5px;padding:11px 20px;font-weight:600!important;min-height:44px}
.mnv-photo__primary:hover{background:#f5c400}
.mnv-photo small{display:block;font-size:13px;line-height:1.5;color:#63727d}
.mnv-photo__privacy{margin:18px 0 0;font-size:13px;line-height:1.5;color:#63727d}
.mnv-photo__workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}
.mnv-photo__source{min-width:0}
#mnv-photo-preview{display:block;width:auto;max-width:100%;height:auto;max-height:340px;margin:0 auto;background:#f3f5f6;border-radius:6px}
#mnv-photo-preview.is-cropping{touch-action:none;cursor:crosshair;outline:2px solid #b68f00}
.mnv-photo__source-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.mnv-photo__source-actions button,#mnv-photo-reset,#mnv-photo-more,#mnv-photo-retry{border:1px solid #d5dde1;background:#fff;border-radius:5px;padding:8px 10px;font-size:14px;min-height:40px}
.mnv-photo__source-actions button:hover,#mnv-photo-more:hover{background:#f5f7f8}
.mnv-photo__source-actions [aria-pressed=true]{border-color:#bd9500;background:#fff7d8}
#mnv-photo-crop-tools{margin:12px 0}
#mnv-photo-crop-tools p{font-size:13px;line-height:1.5}
#mnv-photo-crop-tools button{margin:0 0 8px}
.mnv-photo__filter{display:block;font-size:14px;margin:20px 0 6px}
#mnv-photo-category{width:100%;font:inherit;font-size:14px;height:42px;border:1px solid #cdd6db;border-radius:5px;background:#fff;padding:7px}
.mnv-photo__notice{margin-top:16px}
#mnv-photo-status{font-size:16px;margin:0 0 16px;line-height:1.5;min-height:24px}
.mnv-photo__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 14px}
.mnv-photo__card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:8px;border:1px solid #e0e5e8;border-radius:8px;color:#263743;text-decoration:none!important;background:#fff}
.mnv-photo__card:hover{border-color:#9baab4;color:#263743;box-shadow:0 3px 12px #23333f12}
.mnv-photo__card img{width:100%;aspect-ratio:1.2;object-fit:contain;background:#fff;border-radius:4px}
.mnv-photo__name{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.mnv-photo__price{font-size:17px;font-weight:700;line-height:1.3;margin-top:auto}
.mnv-photo__stock{font-size:12px;color:#63727d}
#mnv-photo-more,#mnv-photo-retry{display:block;margin:22px auto 0;padding:10px 24px}
#mnv-photo-error{color:#a92c2c;margin:16px 0 0;line-height:1.5}
.mnv-photo.is-busy #mnv-photo-status:before{content:'';display:inline-block;width:14px;height:14px;margin-right:8px;border:2px solid #dbe1e5;border-top-color:#536b7b;border-radius:50%;animation:mnv-photo-spin .8s linear infinite}
@keyframes mnv-photo-spin{to{transform:rotate(360deg)}}
@media(max-width:767px){.mnv-photo{padding:16px;max-height:calc(100dvh - 20px)}.mnv-photo__workspace{grid-template-columns:1fr;gap:18px}.mnv-photo__source{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 14px}#mnv-photo-preview{grid-row:1/4;max-height:150px}.mnv-photo__source-actions{margin:0}.mnv-photo__filter{margin:0}.mnv-photo__notice,#mnv-photo-crop-tools{grid-column:1/-1;margin:0}.mnv-photo__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mnv-photo__header{margin-bottom:16px}.mnv-photo__header h2{font-size:21px}.mnv-photo__source.is-cropping{display:block}.mnv-photo__source.is-cropping #mnv-photo-preview{max-height:360px;width:auto;max-width:100%;margin:auto}.mnv-photo__source.is-cropping .mnv-photo__source-actions{margin:12px 0}}
@media(prefers-reduced-motion:reduce){.mnv-photo.is-busy #mnv-photo-status:before{animation:none}}
