.mfc-vg-dialog{font-family:inherit;color:#211e1a;background:#fff;border:1px solid #e5dfd8;border-radius:16px;padding:0;margin:auto;width:min(980px,calc(100vw - 48px));max-width:none;height:min(850px,calc(100dvh - 48px));max-height:none;overflow:hidden;box-shadow:0 22px 80px #0003}
.mfc-vg-dialog[open]{display:flex;flex-direction:column}.mfc-vg-dialog::backdrop{background:rgb(20 18 16 / .57)}
.mfc-vg-dialog *{box-sizing:border-box}.mfc-vg-dialog button{font:inherit;cursor:pointer}.mfc-vg-dialog button:disabled{opacity:.3;cursor:default}.mfc-vg-dialog button:focus-visible{outline:3px solid #467864;outline-offset:3px}
.mfc-vg-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 24px 16px;border-bottom:1px solid #ede8e2;flex:none}
.mfc-vg-labels{min-width:0}.mfc-vg-dialog .mfc-vg-title{font:inherit;font-size:22px;font-weight:700;line-height:1.25;letter-spacing:0;margin:0;text-transform:none;overflow-wrap:anywhere}
.mfc-vg-subtitle{margin:5px 0 0;color:#6b625a;font-size:14px;line-height:1.4}.mfc-vg-close{flex:none;width:44px;height:44px;display:grid;place-items:center;border:1px solid #e4ddd5;border-radius:50%;background:#fff;color:#211e1a;font-size:28px!important;line-height:1;padding:0}
.mfc-vg-frame{position:relative;flex:1;min-height:80px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:12px 72px;background:#fff;touch-action:pan-y pinch-zoom}
.mfc-vg-image{display:block;width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;user-select:none;-webkit-user-drag:none}.mfc-vg-prev,.mfc-vg-next{position:absolute;top:50%;transform:translateY(-50%);height:48px;width:48px;display:grid;place-items:center;background:rgb(255 255 255 / .96);border:1px solid #ded6cd;border-radius:50%;font-size:32px!important;line-height:1;box-shadow:0 3px 14px #0001;color:#211e1a;padding:0}.mfc-vg-prev{left:16px}.mfc-vg-next{right:16px}
.mfc-vg-footer{padding:14px 24px 18px;border-top:1px solid #ede8e2;flex:none}.mfc-vg-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;min-height:25px;margin-bottom:10px;font-size:14px}.mfc-vg-count{color:#6b625a;font-variant-numeric:tabular-nums}.mfc-vg-selected{border-radius:5px;padding:3px 8px;background:#eaf2ed;color:#315f4c;font-size:13px;font-weight:700}.mfc-vg-fee{margin-left:auto;color:#211e1a;font-weight:600}
.mfc-vg-select{display:block;width:100%;min-height:48px;border:1px solid #211e1a;border-radius:9px;background:#211e1a;color:#fff;font-weight:650!important;font-size:15px!important;padding:11px 18px;line-height:1.35;white-space:normal}.mfc-vg-status{min-height:18px;margin:7px 0 0;font-size:12px;color:#6b625a;line-height:1.4}.mfc-vg-status:empty{display:none}.mfc-vg-hint{margin:7px 0 0;color:#6b625a;font-size:12px;line-height:1.4}
.mfc-vg-actions{display:flex;gap:10px}.mfc-vg-actions>button{flex:1;min-width:0;width:auto}
.mfc-vg-dialog button.mfc-vg-library{display:block;min-height:48px;background:#fff!important;color:#211e1a!important;border:1px solid #d8d0c7!important;border-radius:9px!important;text-transform:none!important;font-weight:600!important;font-size:15px!important;padding:11px 18px;line-height:1.35;white-space:normal}
.mfc-vg-dialog button.mfc-vg-library:hover{background:#f8f7f5!important;border-color:#8f8376!important}
.mfc-vg-dialog [hidden]{display:none!important}html.mfc-vg-open{overflow:hidden}
.mfc-vg-dialog button.mfc-vg-close,.mfc-vg-dialog button.mfc-vg-prev,.mfc-vg-dialog button.mfc-vg-next{background:#fff!important;color:#211e1a!important;border:1px solid #ded6cd!important;border-radius:50%!important;padding:0!important;text-transform:none!important;min-width:44px;box-shadow:0 3px 14px #0001!important}
.mfc-vg-dialog button.mfc-vg-select{background:#211e1a!important;color:#fff!important;border:1px solid #211e1a!important;border-radius:9px!important;text-transform:none!important;font-weight:650!important}
.mfc-vg-dialog button::before,.mfc-vg-dialog button::after{content:none!important}
.mfc-option-image-zoom[data-variant-gallery]{position:absolute;right:10px;top:10px;left:auto;bottom:auto;z-index:15;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;display:grid;place-items:center;background:rgb(255 255 255 / .96);border:1px solid #e5dfd8;border-radius:50%;color:#211e1a;cursor:pointer;pointer-events:auto!important;box-shadow:0 3px 12px #0001;padding:0}
.mfc-option-image-zoom[data-variant-gallery]::before,.mfc-option-image-zoom[data-variant-gallery]::after{content:none!important}
html body.single-product .mfc-wrap[data-mfc] .mfc-palette-dot .mfc-option-image-zoom[data-variant-gallery="palette"]{left:10px!important;right:auto!important;top:10px!important}
html body.single-product .mfc-table-system .mfc-table-system__inspect.mfc-option-image-zoom[data-variant-gallery]{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;top:calc(-44px + clamp(116px,23cqw,154px))!important}
@media(max-width:600px){.mfc-vg-dialog{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.mfc-vg-header{padding:16px 16px 12px;gap:12px;padding-top:max(16px,env(safe-area-inset-top))}.mfc-vg-dialog .mfc-vg-title{font-size:19px}.mfc-vg-subtitle{font-size:13px}.mfc-vg-frame{padding:10px 48px}.mfc-vg-prev,.mfc-vg-next{width:44px;height:44px}.mfc-vg-prev{left:6px}.mfc-vg-next{right:6px}.mfc-vg-footer{padding:12px 16px max(14px,env(safe-area-inset-bottom))}.mfc-vg-meta{font-size:13px}.mfc-vg-select{font-size:14px!important}}
@media(max-width:600px) and (min-height:551px){.mfc-vg-actions{flex-direction:column;gap:8px}.mfc-vg-dialog button.mfc-vg-library{font-size:14px!important}}
@media(max-height:550px){.mfc-vg-header{padding:10px 16px}.mfc-vg-footer{padding:8px 16px}.mfc-vg-hint{display:none}.mfc-vg-meta{margin-bottom:6px}.mfc-vg-dialog .mfc-vg-title{font-size:17px}.mfc-vg-subtitle{font-size:12px}.mfc-vg-select{min-height:40px;padding:7px 14px}.mfc-vg-frame{padding-top:4px;padding-bottom:4px}}
@media(prefers-reduced-motion:reduce){.mfc-vg-dialog *{scroll-behavior:auto!important}}
/* Keep native side selection and image inspection in separate corners. */
html body.single-product .mfc-seg-opt[data-mfc-choice-kind="side"] .mfc-option-image-zoom[data-variant-gallery="option"]{left:10px!important;right:auto!important;top:10px!important}
/* Keep table image inspection separate from the visual option surcharge. */
html body.single-product .mfc-table-system .mfc-table-system__choice--visual[data-mfc-table-choice-label] .mfc-table-system__surcharge.mfc-uxv4-price-pill[data-mfc-table-choice-surcharge]{left:8px!important;right:auto!important;max-width:calc(100% - 74px)!important}
