.bnvm-selector{box-sizing:border-box;min-width:0;max-width:100%;margin:16px 0 22px;padding:18px;background:#f4f5ee;border:1px solid #d3dacb;border-radius:12px;color:#263c2b}
.bnvm-selector *{box-sizing:border-box}.bnvm-selector h3{margin:0 0 12px}.bnvm-selector label{display:block;margin-bottom:6px;font-weight:600}
.bnvm-selector .bnvm-search{display:block;width:100%;max-width:100%;min-height:46px;padding:10px 12px;border:1px solid #9eaf96;border-radius:7px;background:#fff;color:#203829;font:inherit}
.bnvm-status{margin:9px 0;font-size:.85em}.bnvm-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;overscroll-behavior:contain;padding:2px}
.bnvm-selector .bnvm-option{display:flex;align-items:center;gap:9px;min-width:0;min-height:72px;padding:7px;border:2px solid #dce2d5;border-radius:8px;background:#fff;color:#263c2b;text-align:left;cursor:pointer;font:inherit}
.bnvm-selector .bnvm-option:hover{border-color:#7b946c}.bnvm-selector .bnvm-option.is-selected{border-color:#3c6739;background:#e7efdf}.bnvm-selector .bnvm-option:disabled{opacity:.52;cursor:not-allowed}
.bnvm-selector button:focus-visible,.bnvm-selector input:focus-visible,.bnvm-selector summary:focus-visible{outline:3px solid #7c5d2d;outline-offset:2px}
.bnvm-selector .bnvm-option img{display:block;width:56px;height:56px;max-width:56px;object-fit:cover;border-radius:5px;flex-shrink:0;margin:0}.bnvm-no-image{display:grid;place-items:center;width:56px;height:56px;background:#eef0e8;flex-shrink:0}
.bnvm-option-text{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere;font-size:.9em}.bnvm-byline{font-size:.67em;line-height:1.3;color:#4d6049}.bnvm-tick{margin-left:auto;visibility:hidden}.bnvm-option.is-selected .bnvm-tick{visibility:visible}
.bnvm-selected{font-weight:600;margin:12px 0}.bnvm-selector .bnvm-clear,.bnvm-selector .bnvm-native-toggle{display:inline-block;min-height:44px;margin:0 10px 5px 0;border:0;background:transparent;color:#345c35;text-decoration:underline;padding:6px 2px;cursor:pointer;font:inherit;font-size:.85em}.bnvm-selector .bnvm-clear:disabled{opacity:.5;cursor:default}
.bnvm-credits{margin-top:10px;font-size:.82em}.bnvm-credits summary{cursor:pointer;text-decoration:underline;min-height:32px}.bnvm-credits-list{max-height:320px;overflow:auto;padding:10px;background:white;margin-top:8px}.bnvm-credit{padding:9px 0;border-bottom:1px solid #e0e5da;overflow-wrap:anywhere}.bnvm-credit p{font-size:inherit;margin:4px 0}.bnvm-credit a{color:#345c35;text-decoration:underline}
form.variations_form .variations .bnvm-native-row:not(.bnvm-show-native){display:none}.bnvm-selector [hidden]{display:none!important}
@media(max-width:680px){.bnvm-selector{padding:12px}.bnvm-results{grid-template-columns:1fr;max-height:340px}.bnvm-selector .bnvm-option{min-height:72px}}
/* 1.4: Native selection and an independent, reversible gallery preview. */
.bnvm-preview-active > :not(.bnvm-large-preview):not(.flex-control-nav):not(.flex-control-thumbs):not(.bnvm-gallery-switch) {display:none!important}
.bnvm-large-preview {margin:0 0 24px;width:100%;max-width:100%}
.bnvm-large-preview[hidden] {display:none!important}
.bnvm-preview-open {display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.bnvm-preview-open img {display:block;width:100%;height:auto;max-height:75vh;object-fit:contain}
.bnvm-preview-caption {margin-top:10px;color:#415343}
.bnvm-image-dialog {box-sizing:border-box;max-width:min(94vw,950px);max-height:94vh;padding:20px;border:0;border-radius:8px;overflow:auto}
.bnvm-image-dialog::backdrop {background:rgba(0,0,0,.8)}
.bnvm-image-dialog img {display:block;width:auto;max-width:100%;height:auto;max-height:75vh;margin:auto;object-fit:contain}
.bnvm-dialog-close {display:block;margin:0 0 12px auto;cursor:pointer}

.bnvm-gallery-switch {display:block;clear:both;margin:12px 0;padding:8px 12px;cursor:pointer}
.bnvm-gallery-switch[hidden] {display:none!important}
