/* Only forms explicitly enhanced by the hoodie mobile controller are affected. */
.micsco-mobile-launch,.micsco-mobile-summary{display:none}
.micsco-options-form>.micsco-mobile-launch[hidden],.micsco-options-form>.micsco-mobile-summary[hidden]{display:none!important}
dialog.micsco-hoodie-mobile{display:none}
dialog.micsco-hoodie-mobile[open]{position:fixed;inset:0;z-index:2147483000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#fff;color:#062f4c;overflow:hidden;font:15px/1.4 system-ui,sans-serif;box-sizing:border-box}
.micsco-hoodie-mobile::backdrop{background:#062f4caa}
.micsco-hoodie-mobile [hidden]{display:none!important}
.micsco-hm-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:max(10px,env(safe-area-inset-top)) 16px 10px;border-bottom:1px solid #e1e7eb;background:white}
.micsco-hm-header h1{margin:0;font-size:18px;line-height:1.3;font-weight:650}
body .micsco-hoodie-mobile .micsco-hm-close{flex:none;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#f0f4f6;color:#062f4c;font-size:28px;line-height:1;cursor:pointer;padding:0}
.micsco-hm-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 16px}
.micsco-hm-hint{font-size:13px;color:#61717b;margin:0 0 12px}
.micsco-hoodie-mobile .micsco-design-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible;gap:10px;padding:3px}
.micsco-hoodie-mobile .micsco-design-choice img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
body .micsco-hoodie-mobile .micsco-design-choice{min-height:44px}
.micsco-hm-detail{display:flex;flex-direction:column;align-items:stretch;gap:6px}
body .micsco-hoodie-mobile .micsco-hm-all{align-self:flex-start;min-height:36px;padding:4px 0;background:none;border:0;color:#062f4c;text-transform:none;font-size:14px;font-weight:600;box-shadow:none}
body .micsco-hoodie-mobile .micsco-hm-image-button{display:block;width:100%;height:clamp(160px,34dvh,300px);margin:0;padding:0;border:0;background:white;box-shadow:none;cursor:zoom-in}
.micsco-hm-image{width:100%;height:100%;object-fit:contain;display:block}
.micsco-hm-navigation{display:flex;align-items:center;justify-content:center;gap:20px}
body .micsco-hoodie-mobile .micsco-hm-navigation button{min-width:44px;min-height:36px;border:1px solid #d7e1e7;border-radius:6px;background:white;color:#062f4c;font-size:25px;padding:0;line-height:1}
.micsco-hm-count{font-size:12px;color:#61717b;min-width:50px;text-align:center}
.micsco-hm-name{font-size:15px;font-weight:600;line-height:1.35;margin:2px 0 0;text-align:center}
.micsco-hoodie-mobile .micsco-size-picker{margin-top:6px;gap:8px;justify-content:center}
.micsco-hoodie-mobile .micsco-size-label{text-align:center;font-size:14px;margin:0}
.micsco-hm-quantity{display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:500;margin:5px 0}
.micsco-hm-quantity input{width:70px;min-height:40px;height:40px;text-align:center;border:1px solid #c8d5de;border-radius:6px;padding:4px;font:inherit}
.micsco-hm-footer{padding:10px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #dfe7ec;background:#fff;display:grid;grid-template-columns:auto 1fr;gap:5px 14px;align-items:center}
.micsco-hm-price{font-size:22px;white-space:nowrap}
body .micsco-hoodie-mobile .micsco-hm-add{min-height:48px;padding:10px 14px;border:1px solid #062f4c;border-radius:8px;background:#062f4c;color:white;font-size:15px;font-weight:650;line-height:1.3;box-shadow:none;text-transform:none}
body .micsco-hoodie-mobile .micsco-hm-add:disabled{background:#e5eaf0;color:#405568;border-color:#ccd7df;opacity:1}
.micsco-hm-footer small,.micsco-hm-status{grid-column:1/-1;font-size:11px;line-height:1.35;margin:0;color:#61717b}
.micsco-hm-status:empty{display:none}
.micsco-hm-success{padding:30px 0;text-align:center}
.micsco-hm-success h3{font-size:22px}
.micsco-hm-success p{font-size:14px;color:#61717b}
body .micsco-hoodie-mobile .micsco-hm-another,body .micsco-hoodie-mobile .micsco-hm-done{display:block;width:100%;min-height:48px;border:1px solid #062f4c;border-radius:8px;background:#062f4c;color:white;margin:12px 0;padding:10px;text-transform:none}
body .micsco-hoodie-mobile .micsco-hm-done{background:white;color:#062f4c}
.micsco-hm-zoom img{display:block;width:100%;height:calc(100dvh - 135px);object-fit:contain}
.micsco-hoodie-mobile :focus-visible{outline:3px solid #f5c201;outline-offset:2px}
@media(max-width:767px){
 body .micsco-options-form.micsco-hm-enabled>.micsco-hoodie-picker,body .micsco-options-form.micsco-hm-enabled>.micsco-hm-original{display:none!important}
 body .micsco-options-form.micsco-hm-enabled>.micsco-mobile-launch{display:block;width:100%;min-height:52px;background:#062f4c;color:white;border:1px solid #062f4c;border-radius:8px;font-size:16px;font-weight:600;padding:12px;text-transform:none}
 .micsco-hm-enabled>.micsco-mobile-summary{display:block;width:100%;margin:8px 0 12px;color:#61717b;font-size:13px}
}
@media(max-height:650px){body .micsco-hoodie-mobile .micsco-hm-image-button{height:28dvh;min-height:120px}.micsco-hm-detail{gap:3px}.micsco-hm-header{padding-top:6px;padding-bottom:6px}.micsco-hm-footer{padding-top:6px}}

/* Hoodie mobile dialog: quantity and price together, action on its own row. */
body .micsco-hoodie-mobile .micsco-hm-quantity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin:10px 0 4px;padding-top:10px;border-top:1px solid #e1e7eb}
body .micsco-hoodie-mobile .micsco-hm-quantity{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0;font-size:14px;font-weight:600;min-width:0}
body .micsco-hoodie-mobile .micsco-hm-quantity input{box-sizing:border-box;flex:0 0 80px;width:80px;min-width:0;min-height:44px;height:44px;margin:0;padding:6px;text-align:center;font-size:16px}
body .micsco-hoodie-mobile .micsco-hm-price{margin:0;font-size:22px;line-height:1.2;white-space:nowrap;text-align:right}
body .micsco-hoodie-mobile .micsco-hm-footer{grid-template-columns:minmax(0,1fr)}
body .micsco-hoodie-mobile .micsco-hm-add{display:block;width:100%;grid-column:1/-1}

.micsco-hoodie-mobile:modal{overscroll-behavior:contain}.micsco-hoodie-mobile::backdrop{overflow:hidden;overscroll-behavior:contain}
