.esc-flow{max-width:900px;margin:auto}.esc-flow [hidden]{display:none!important}.esc-flow .order-title h1{font-size:clamp(30px,5vw,44px)}.esc-flow .order-title p{max-width:580px;margin:12px auto 28px}.flow-progress{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 28px;color:#52685d;font-size:14px}.flow-progress strong{color:#143e30}.flow-progress progress{width:100%;height:6px;accent-color:#143e30}.flow-panel{max-width:680px;margin:auto}.flow-panel h2{font-size:26px;line-height:1.25;color:#143e30;margin:0 0 12px}.flow-panel h2:focus{outline:none}.flow-panel>p{line-height:1.6;color:#607266}.esc-choice{width:100%;padding:24px;display:flex;gap:28px;align-items:center;text-align:left;border:2px solid #b9ccbe;background:#f4f7ef;border-radius:18px;cursor:pointer;color:#143e30;font:inherit}.esc-choice strong,.esc-choice small,.esc-choice b{display:block;margin:8px 0}.esc-key{display:grid;place-items:center;min-width:90px;height:90px;background:#dcd4fc;border-radius:18px;box-shadow:5px 7px 0 #9085b4;font-size:27px;font-weight:900;transform:rotate(-8deg)}.base-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.base-option{position:relative;cursor:pointer}.base-option input{position:absolute;top:12px;left:12px;z-index:1;accent-color:#143e30;width:20px;height:20px}.base-option>span{display:block;border:2px solid #e2e5dc;border-radius:14px;overflow:hidden;background:#fff}.base-option input:checked+span{border-color:#143e30;box-shadow:0 0 0 2px #143e30}.base-option input:focus-visible+span{outline:3px solid #e87967;outline-offset:3px}.base-option img{display:block;aspect-ratio:1;width:100%;object-fit:cover}.base-placeholder{display:grid;place-items:center;aspect-ratio:1;background:#eff0e9;color:#768678;font-size:22px}.base-option b,.base-option small{display:block;padding:0 10px}.base-option b{font-size:14px;margin-top:10px}.base-option small{font-size:11px;margin:5px 0 12px;color:#65766b}.base-option.pending{cursor:default}.consult-base{display:flex;gap:12px;align-items:center;background:#edf3e7;padding:18px;border:1px solid #bdcfb9;border-radius:12px;margin:20px 0}.consult-base input{width:22px;height:22px;accent-color:#143e30}.consult-base small{display:block;margin-top:6px;line-height:1.5}.selection-note{font-weight:700}.selected-base{display:flex;gap:12px;align-items:center;border-radius:12px;background:#f3f5ed;padding:10px;margin-bottom:22px}.selected-base img{width:64px;height:64px;border-radius:8px}.esc-flow input,.esc-flow textarea{font-size:16px!important}.esc-flow .wizard-field small{display:block;font-size:12px;line-height:1.6;margin-top:7px;color:#66786b}.esc-flow input[type=file]{padding:14px;background:#f8faf5;border:1px dashed #a2baa8;border-radius:10px;max-width:100%}.file-previews{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.file-preview{width:110px;font-size:11px;overflow-wrap:anywhere}.file-preview img{width:110px;height:90px;object-fit:cover;border-radius:10px}.file-preview button{display:block;border:0;background:#f5ebe6;color:#883d30;padding:6px 10px;border-radius:8px;cursor:pointer}.letter-guide{display:grid;gap:8px;background:#eef2e8;border-radius:10px;padding:14px;margin:18px 0;color:#355b47;font-size:14px}.quantity-control{display:flex;gap:12px;align-items:center;margin:30px 0}.quantity-control button{width:52px;height:52px;border:1px solid #bbccbf;border-radius:12px;background:#eef4e9;font-size:26px;color:#143e30;cursor:pointer}.quantity-control input{width:100px;height:52px;text-align:center;border:1px solid #bbccbf;border-radius:12px}.optional-details{padding:14px;border:1px solid #dfe6d9;border-radius:12px;font-size:14px}.optional-details summary{cursor:pointer}.flow-actions{display:flex;gap:12px;justify-content:space-between;position:sticky;bottom:0;background:#fffdf8;padding:16px 0 calc(16px + env(safe-area-inset-bottom));z-index:2;border-top:1px solid #e5e8de;margin-top:24px}.flow-actions .btn{min-height:48px}.flow-actions .btn:last-child{background:#143e30;color:white}.flow-actions .back{color:#143e30;background:#edf2e8}.form-message{color:#a33525;line-height:1.5}.review-summary dl{margin:0}.review-summary dl>div{display:grid;grid-template-columns:140px 1fr;gap:12px;border-bottom:1px solid #e4e9df;padding:12px 0}.review-summary dt{color:#637466;font-size:13px}.review-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#143e30}.order-terms{padding:16px;background:#f4f5ed;border-radius:12px;margin:24px 0;font-size:13px;line-height:1.6}.order-terms h3{margin-top:0}.order-terms ul{padding-left:20px}.esc-flow .privacy-consent{display:flex;gap:12px;align-items:flex-start;line-height:1.6}.esc-flow .privacy-consent input{flex:none;width:22px;height:22px;accent-color:#143e30;margin-top:3px}.esc-flow button:focus-visible{outline:3px solid #e87967;outline-offset:3px}.esc-flow button:disabled{opacity:.6;cursor:wait}.esc-flow .order-success{padding:24px;line-height:1.7}.esc-flow .order-success code{overflow-wrap:anywhere}@media(max-width:600px){.esc-flow{padding:22px 16px}.esc-flow .order-title h1{font-size:30px}.base-options{grid-template-columns:repeat(2,minmax(0,1fr))}.esc-choice{gap:20px;padding:20px 14px}.esc-key{min-width:70px;height:70px}.flow-panel h2{font-size:23px}.flow-actions .btn{padding:12px 16px;font-size:13px}.review-summary dl>div{grid-template-columns:1fr;gap:5px}}

/* Each key type keeps its own catalog while sharing the same short order flow. */
.key-type-options{display:grid;gap:14px}
.key-choice .esc-key{flex:none}
.key-choice-enter .esc-key{background:#f7d9d3;box-shadow:5px 7px 0 #b87679}
.key-choice-space .esc-key{background:#ded8fb;box-shadow:5px 7px 0 #9489bd;font-size:19px}
.key-choice-other .esc-key{background:#e1e9ee;box-shadow:5px 7px 0 #8597a9}
.key-choice[aria-pressed=true]{border-color:#143e30}
.base-placeholder{font-size:clamp(13px,2.5vw,22px)}
.flow-progress{scroll-margin-top:110px}

.key-choice-special .esc-key{background:#f5e1b8;box-shadow:5px 7px 0 #b39a67}
.base-card{min-width:0;display:flex;flex-direction:column;gap:8px}
.base-card .base-option{display:block;flex:1}
.base-card .base-option>span{height:100%;box-sizing:border-box}
.base-card .base-option img{height:auto}
.base-card .base-option small{min-height:2.8em;line-height:1.4;font-size:12px}
.base-preview-button{min-height:44px;width:100%;padding:10px 8px;border:1px solid #bdcfb9;border-radius:10px;background:#edf3e7;color:#143e30;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.base-preview-button:hover{background:#dfeada;border-color:#143e30}
.base-preview-button:focus-visible{outline:3px solid #e87967;outline-offset:3px}
#form-loading{font-size:14px;line-height:1.6;color:#53665b}#form-loading a{text-decoration:underline}
