.mm-qc-overlay{position:fixed;inset:0;z-index:1000001;background:rgba(0,0,0,.56);display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box}
.mm-qc-modal{position:relative;background:#fff;width:min(940px,100%);height:min(900px,92vh);height:min(900px,92dvh);overflow:hidden;border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.38)}
.mm-qc-frame{display:block;width:100%;height:100%;border:0;visibility:hidden;background:white}
.mm-qc-close{position:absolute!important;right:12px!important;top:10px!important;z-index:5;width:38px!important;height:38px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#f5f5f5!important;color:#222!important;font:28px/38px Arial!important;cursor:pointer!important}
.mm-qc-loading{position:absolute;top:42%;left:20px;right:20px;text-align:center}
.mm-qc-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#1d73ed;color:#fff;padding:14px 25px;border-radius:24px;z-index:1000002;box-shadow:0 8px 30px #0003}
body.mm-qc-view{margin:0!important;padding:0!important;background:white!important;overflow:hidden!important}
body.mm-qc-view > :not(#mm-qc-view){display:none!important}
#mm-qc-view{box-sizing:border-box;height:100vh;height:100dvh;display:flex;flex-direction:column;background:#fff;color:#222}
#mm-qc-view *{box-sizing:border-box}
.mm-qc-head{flex:none;display:flex;gap:22px;align-items:center;padding:24px 60px 20px 24px;border-bottom:1px solid #eee}
.mm-qc-head img{width:120px;height:110px;object-fit:contain;flex:none}
.mm-qc-head h1{font-size:22px!important;line-height:1.3!important;text-align:left!important;margin:0 0 8px!important;padding:0!important}
.mm-qc-head p{margin:5px 0!important;font-size:14px;line-height:1.4}
.mm-qc-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 26px;-webkit-overflow-scrolling:touch}
#mm-qc-view #form_calc{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
#mm-qc-view .buybuts,#mm-qc-view .single-selection-actions,#mm-qc-view #price{display:none!important}
#mm-qc-view .mm-qc-scroll h2{font-size:20px!important;margin:22px 0 14px!important}
#mm-qc-view .mm-qc-scroll h3{font-size:19px!important;margin:22px 0 12px!important}
#mm-qc-view .mm-qc-option{display:flex;align-items:flex-start;gap:10px;padding:10px 0;font-size:15px;line-height:1.5}
#mm-qc-view .mm-qc-option input{flex:none;width:19px;height:19px;margin:2px 0 0!important;accent-color:#1d73ed}
#mm-qc-view .mm-qc-option label{flex:1;display:block!important;width:auto!important;margin:0!important;font-size:inherit!important;line-height:inherit!important}
#mm-qc-view input[type=text],#mm-qc-view select{max-width:100%!important}
#mm-qc-view #multimedia-dynamic-addon-search-wrap{width:100%!important}
#mm-qc-view #multimedia-dynamic-addon-results{position:relative!important;top:auto!important;max-height:240px!important}
.mm-qc-foot{flex:none;padding:16px 26px 20px;border-top:1px solid #eee;background:linear-gradient(90deg,#f5f5f5,#fff);display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.mm-qc-total{font-size:19px;white-space:normal}
#mm-qc-add{border:0!important;border-radius:40px!important;background:#1d73ed!important;color:#fff!important;padding:14px 34px!important;font-size:18px!important;font-weight:700!important;line-height:1.3!important;cursor:pointer;min-width:260px}
#mm-qc-add:hover{background:#1263d5!important}
#mm-qc-view :focus-visible,.mm-qc-modal :focus-visible{outline:2px solid #1d73ed;outline-offset:3px}
.mm-qc-error{color:#b42318;font-size:14px;margin:0 0 10px}
@media(max-width:600px){.mm-qc-overlay{padding:8px}.mm-qc-modal{height:calc(100vh - 16px);height:calc(100dvh - 16px);border-radius:12px}.mm-qc-head{gap:12px;padding:18px 46px 15px 14px}.mm-qc-head img{width:80px;height:80px}.mm-qc-head h1{font-size:16px!important}.mm-qc-head p{font-size:12px}.mm-qc-scroll{padding:12px 16px}.mm-qc-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:block}.mm-qc-total{font-size:17px;text-align:center;margin-bottom:10px}#mm-qc-add{width:100%;min-width:0;font-size:17px!important}#mm-qc-view .mm-qc-option{font-size:14px}}

/* v57: compact choices on every screen; larger desktop product thumbnail. */
#mm-qc-view .mm-qc-option{padding:5px 0;line-height:1.35}
#mm-qc-view .hasaccessories{line-height:1.35}
@media(min-width:601px){
 .mm-qc-head img{width:240px;height:220px}
 #mm-qc-view .mm-qc-option{font-size:13px}
}

/* v58: tighter choices and desktop header. */
#mm-qc-view .mm-qc-option{padding:3px 0;line-height:1.3}
@media(min-width:601px){
 .mm-qc-head img{width:168px;height:154px}
 .mm-qc-head{padding-top:16px;padding-bottom:8px}
 .mm-qc-scroll{padding-top:8px}
}
