viofoam-pack-modal{display:contents}
.vfm{width:min(360px,calc(100vw - 28px));max-width:360px;max-height:calc(100dvh - 40px);padding:0;border:0;border-radius:18px;background:#fffdf8;color:#251633;box-shadow:0 24px 80px #0006;overflow:hidden}
.vfm[open]{display:flex;flex-direction:column}
.vfm::backdrop{background:rgba(13,9,20,.65)}
.vfm *{box-sizing:border-box}
.vfm__header{position:relative;padding:24px 42px 18px 20px;border-bottom:1px solid #e4dce9;flex:none}
.vfm__header h2{font-size:23px;line-height:1.2;font-weight:800;margin:0 0 8px;color:#251633}
.vfm__header p{font-size:12px;line-height:1.4;margin:0;color:#6a5a74}
.vfm__close{position:absolute;right:8px;top:8px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;font-size:26px;color:#392442;cursor:pointer}
.vfm__scroll{padding:14px 16px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.vfm__options{border:0;padding:0;margin:0;display:grid;gap:9px}
.vfm__row{display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:10px;border:1px solid #dfd6e6;background:#fff;border-radius:11px;padding:10px;min-height:86px;position:relative;cursor:pointer}
.vfm__row:has(input:checked){border:2px solid #753aa0;padding:9px;background:#f4eafb}
.vfm__row input{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.vfm__row:has(input:focus-visible){outline:3px solid #35164c;outline-offset:2px}
.vfm__row>img{width:60px;height:61px;object-fit:contain;border-radius:6px}
.vfm__row strong{display:block;font-size:14px;line-height:1.3}
.vfm__row small{display:inline-block;font-size:10px;line-height:1.3;color:#6c5977;background:#f4eef8;border-radius:10px;padding:3px 6px;margin-top:5px}
.vfm__row>b{font-size:12px;white-space:nowrap}
.vfm__row--demo{cursor:default}
.vfm__montage{width:60px;height:61px;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:0;overflow:hidden}
.vfm__montage img{object-fit:contain;width:25px;height:28px;max-height:28px}
.vfm__row--demo:last-child .vfm__montage img{width:15px;height:23px}
.vfm__footer{position:sticky;bottom:0;flex:none;padding:14px 16px 18px;border-top:1px solid #e4dce9;background:#fffdf8}
.vfm__summary{font-size:13px;font-weight:750;line-height:1.4}
.vfm__status{font-size:12px;line-height:1.4;margin:6px 0;color:#6b5476;min-height:17px}
.vfm__status[data-error=true]{color:#a81929}
.vfm__confirm{width:100%;min-height:46px;border:0;border-radius:8px;background:#71369b;color:#fff;font-family:inherit;font-size:14px;font-weight:750;line-height:1.3;padding:12px;cursor:pointer;margin-top:5px}
.vfm__confirm:disabled{background:#b7a4c5;color:#fff;cursor:not-allowed}
.vfm__view-cart{display:block;text-align:center;margin-top:10px;font-size:13px;color:#5d267d;text-decoration:underline}
.vfm__view-cart[hidden]{display:none}
.vfm :focus-visible{outline:3px solid #35164c;outline-offset:3px}
.vf-authorised [data-vf-pack-open],.vfb [data-vf-pack-open]{cursor:pointer;pointer-events:auto}

