.custom-page{max-width:1250px;margin:auto;padding:40px 5% 70px}.custom-heading{padding:35px 0}.custom-heading h1{font-size:clamp(48px,7vw,86px);margin:12px 0}.custom-heading em{font-family:Georgia,serif;color:#a65e44}.custom-studio{display:grid;grid-template-columns:1.2fr 1fr;gap:50px}.custom-stage{background:#edece5;border-radius:4px;padding:24px;align-self:start;position:sticky;top:20px}.custom-stage svg{display:block;width:100%;height:min(65vh,600px)}.view-tabs{display:flex;justify-content:center;gap:10px}.view-tabs button,.custom-controls button:not(.primary){border:1px solid #b6b9ad;background:transparent;padding:10px 20px;cursor:pointer}.view-tabs button[aria-pressed=true]{background:#273630;color:white}.preview-caption{font-size:12px;text-align:center;line-height:1.6}.custom-controls{display:flex;flex-direction:column;gap:12px}.custom-controls h2{font-size:30px;margin:10px 0 15px}.custom-controls select{padding:12px;background:white;border:1px solid #bcc0b5;width:100%}.custom-controls label{font-weight:600}.custom-controls input[type=range]{width:100%;accent-color:#a65e44}.upload-label{margin-top:20px}.upload-label span{display:block;font-weight:400;font-size:13px;margin-top:8px}.custom-controls input[type=file]{max-width:100%;padding:15px 0}.custom-controls p{font-size:14px;line-height:1.7;margin:0}.custom-pay{background:#f1ede4;padding:25px;margin-top:15px}.custom-pay h3{margin-top:0}.custom-pay button{width:100%;margin:20px 0;opacity:1;cursor:pointer}.custom-process{padding:70px 0}.custom-process h2,.custom-guidance h2{font-size:clamp(26px,4vw,42px)}.custom-process>div{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}.custom-process article span{color:#a65e44;font-size:28px}.custom-process article p,.custom-guidance p{line-height:1.8}.custom-guidance{border-top:1px solid #ddd;padding:20px 0 40px}@media(max-width:760px){.custom-studio{grid-template-columns:1fr;gap:25px}.custom-stage{position:static}.custom-stage svg{height:440px;max-height:65vh}.custom-process>div{grid-template-columns:1fr 1fr}.custom-heading{padding:15px 0}.custom-page{padding-top:20px}}@media(max-width:400px){.custom-process>div{grid-template-columns:1fr}}
.custom-choice{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:10px 0 40px}.custom-choice>a{padding:55px 35px;text-decoration:none;background:#e5e8dd;color:#273630}.custom-choice>a:last-child{background:#dedfd8}.custom-choice h2{font-size:clamp(28px,4vw,48px)}@media(max-width:600px){.custom-choice{grid-template-columns:1fr}}

.custom-choice>a{padding:0;overflow:hidden}.custom-choice img{width:100%;height:420px;display:block;object-fit:cover;object-position:center 24%}.custom-choice>a>span,.custom-choice>a>h2,.custom-choice>a>p{margin-left:30px;margin-right:30px}.custom-choice>a>span{display:block;margin-top:25px}.custom-choice>a>p{margin-bottom:30px}.custom-stage{padding:16px}.custom-stage svg{height:min(72vh,720px);margin-top:16px}.custom-heading h1{font-size:clamp(40px,5vw,64px)}.custom-controls select{min-height:44px}@media(max-width:600px){.custom-choice img{height:380px}.custom-stage svg{height:65vh}}

.custom-page .custom-controls select,.custom-page .custom-controls input[type=range]{width:100%;max-width:none}.custom-measurements{padding:20px 0;border-top:1px solid #d5d8cf}.custom-measurements h3{font-size:20px}.custom-measurements .size-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:15px 0;font-size:12px}.custom-measurements .size-table td,.custom-measurements .size-table th{padding:9px 4px;white-space:normal;overflow-wrap:anywhere;border-bottom:1px solid #d8dace;text-align:left}.custom-measurements .size-table caption{text-align:left;margin-bottom:10px}.custom-measurements .size-table-wrap{overflow:visible}.custom-measurements .reference-note{font-size:11px}.capture-controls{padding:20px 0;border-top:1px solid #d5d8cf}.capture-controls button{width:100%;margin:10px 0}.custom-lining-group label{display:block;margin-bottom:10px}

.custom-stage #live-model-preview{display:block;max-width:100%;width:auto;height:min(72vh,720px);margin:16px auto 0}.custom-stage #jacket-preview[hidden]{display:none}@media(max-width:600px){.custom-stage #live-model-preview{height:auto;width:100%;max-height:65vh;object-fit:contain}}

.custom-entry-model{width:150px;height:200px;object-fit:cover;object-position:50% 22%}.custom-controls #custom-lining-group label{display:block;margin-bottom:10px}.custom-measurements{margin-top:25px}

.custom-controls,.custom-stage{min-width:0}.custom-controls button{white-space:normal}.custom-page .custom-controls input[type=file]{width:100%}

.custom-page .custom-controls select[hidden]{display:none}.custom-controls .sizes{display:flex;flex-wrap:wrap;gap:8px}.custom-controls .sizes button{margin:0;padding:10px 13px}.custom-controls .sizes button.selected{background:#273630;color:white}.automatic-design-status{padding:12px 0;color:#526451}

.custom-pay button:disabled{opacity:.65;cursor:not-allowed}.custom-pay #submission-status{margin-top:12px;color:#92442f}
.designer-price{display:flex;flex-direction:column;gap:10px;margin:24px 0 0;padding:22px 26px;border-left:3px solid #b9965c;background:linear-gradient(110deg,#ede5d5,#f7f5ef);max-width:600px}.designer-price>span{font-size:9px;letter-spacing:2px;color:#74644c}.designer-price strong{font-family:Georgia,serif;font-size:clamp(24px,3vw,34px);font-weight:400;color:#172d32}.designer-price strong em{color:#9d6f37}.designer-price small{font-size:12px;color:#52635e}

/* Keep complete direct model photographs visible in the jacket choice cards. */
.custom-jacket-chooser .custom-choice>a{min-width:0}
.custom-jacket-chooser .custom-choice>a>img{display:block;width:100%;height:clamp(320px,52vh,500px);max-width:100%;object-fit:contain;object-position:center top}
@media(max-width:600px){
 .custom-jacket-chooser .custom-choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .custom-jacket-chooser .custom-choice>a>img{height:auto;aspect-ratio:2/3}
 .custom-jacket-chooser .custom-choice>a>span,.custom-jacket-chooser .custom-choice>a>h2,.custom-jacket-chooser .custom-choice>a>p{margin-left:12px;margin-right:12px}
 .custom-jacket-chooser .custom-choice h2{font-size:clamp(18px,4.3vw,23px)}
}
