/* Isolated to made-to-order page; existing cart/controller/admin untouched */
.mto-page .mto-builder{scroll-margin-top:20px}.mto-page .wizard-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:24px 0 12px}.mto-page .wizard-dot{border:0;background:transparent;min-width:0;padding:0;display:flex;flex-direction:column;align-items:center;gap:8px;cursor:pointer;color:#69717d;font-size:13px}.mto-page .wizard-dot span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f2f3f6;border:1px solid #d9dde4;font-weight:700;font-size:14px}.mto-page .wizard-dot.current span{background:#3158e7;color:#fff;border-color:#3158e7}.mto-page .wizard-dot.complete span{background:#e6edff;color:#3158e7;border-color:#b9c9ff}.mto-page .wizard-dot small{font-size:13px;line-height:1.3;text-align:center}.mto-page .wizard-dot:disabled{cursor:default}.mto-page .wizard-counter{font-size:16px;font-weight:700;color:#1e293b;margin:15px 0 22px}.mto-page .mto-field[hidden],.mto-page .mto-check[hidden],.mto-page .mto-total[hidden],.mto-page .wizard-review[hidden],.mto-page .wizard-nav button[hidden]{display:none!important}.mto-page .wizard-nav{display:flex;gap:12px;justify-content:space-between;margin:25px 0}.mto-page .wizard-nav button{font:inherit;font-size:15px;font-weight:700;min-height:48px;padding:12px 23px;border:1px solid #cdd3df;border-radius:12px;background:white;color:#172033;cursor:pointer}.mto-page .wizard-nav #wizard-next{background:#3158e7;border-color:#3158e7;color:#fff;margin-left:auto}.mto-page .wizard-nav button:disabled{opacity:.4;cursor:not-allowed}.mto-page .wizard-review{background:#f8faff;border:1px solid #dce4f7;border-radius:14px;padding:14px;margin:14px 0}.mto-page .wizard-review>div{display:flex;justify-content:space-between;gap:20px;padding:10px 4px;border-bottom:1px solid #e7eaf1;font-size:14px}.mto-page .wizard-review>div:last-child{border:0}.mto-page .wizard-review span{text-align:right;overflow-wrap:anywhere}.mto-page .mto-field{animation:shoeFade .2s ease}.mto-page .mto-field select:focus-visible,.mto-page .wizard-nav button:focus-visible{outline:3px solid #94b5ff;outline-offset:2px}@keyframes shoeFade{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:700px){.mto-page .wizard-progress{gap:2px}.mto-page .wizard-dot span{width:31px;height:31px}.mto-page .wizard-dot small{font-size:13px;max-width:52px;overflow-wrap:anywhere}.mto-page .wizard-nav button{flex:1;padding:12px}}

/* V4: selectable visual tiles, keeping original input names and server-side order handling */
.mto-page .mto-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:12px 0 24px}
.mto-page .mto-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mto-page .mto-option-card{position:relative;display:block;cursor:pointer;margin:0;min-width:0}
.mto-page .mto-option-card input{position:absolute;opacity:0;width:1px;height:1px;left:10px;top:10px}
.mto-page .mto-option-content{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;min-height:145px;padding:20px 12px;border:2px solid #e2e6eb;border-radius:17px;background:#f9fafb;transition:border-color .15s,background .15s,box-shadow .15s}
.mto-page .mto-option-content strong{font-size:14px;line-height:1.35;color:#1e293b;overflow-wrap:anywhere}
.mto-page .mto-option-content small{font-size:13px;color:#657080}
.mto-page .mto-option-card input:checked+.mto-option-content{border-color:#3158e7;background:#eef3ff;box-shadow:0 0 0 1px #3158e7}
.mto-page .mto-option-card input:focus-visible+.mto-option-content{outline:3px solid #91aaff;outline-offset:3px}
.mto-page .mto-option-card:hover .mto-option-content{border-color:#9aafea}
.mto-page .mto-choice-check{position:absolute;right:10px;top:10px;width:23px;height:23px;border-radius:50%;background:#3158e7;color:#fff;display:none;place-items:center;font-size:14px}
.mto-page .mto-option-card input:checked+.mto-option-content .mto-choice-check{display:grid}
.mto-page .mto-style-card img{width:100%;height:145px;object-fit:contain;border-radius:12px;background:#f3efe8}
.mto-page .mto-style-card .mto-option-content{min-height:240px}
.mto-page .mto-option-placeholder{font-size:65px;color:#bd9974;line-height:1.8}
.mto-page .mto-colour-chip{width:70px;height:70px;border-radius:50%;background:#b18b67;border:5px solid #fff;box-shadow:0 0 0 1px #d6dbe1,0 5px 12px #0001}
.mto-page .mto-colour-neutral{background:linear-gradient(135deg,#c9a67e 50%,#745440 50%)}
.mto-page .mto-material-icon{font-size:48px;color:#a77e58;line-height:1.2}
.mto-page .mto-size-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.mto-page .mto-size-card .mto-option-content{min-height:75px;padding:12px 4px}
.mto-page .mto-missing .mto-option-grid{outline:2px solid #c93b39;outline-offset:5px;border-radius:12px}
.mto-page .mto-grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)}
.mto-page .mto-builder{min-width:0}
@media(max-width:1050px){.mto-page .mto-grid{grid-template-columns:1fr}.mto-page .mto-preview{position:static}}
@media(max-width:700px){.mto-page .mto-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mto-page .mto-size-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mto-page .mto-option-content{min-height:125px;padding:16px 8px}.mto-page .mto-style-card img{height:110px}.mto-page .mto-style-card .mto-option-content{min-height:210px}}
