.tryon-trigger{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;margin-top:10px;padding:11px 10px;border:1px solid #9a7e4c;color:#65502d;font-size:14px;line-height:1.4}
.tryon-trigger span{font-size:10px;letter-spacing:.08em;padding:3px 5px;background:#f3efe7;color:#65502d}
.tryon-trigger:hover{background:#f7f4ef}.tryon-entry{font-size:14px;text-decoration:underline;text-underline-offset:4px;color:#65502d;padding:10px 0}
.tryon-dialog{padding:0;border:0;background:#fff;color:#191b18;width:min(1100px,calc(100% - 32px));max-width:1100px;max-height:92dvh;overflow:auto}
.tryon-dialog::backdrop{background:rgba(0,0,0,.7)}
.tryon-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-bottom:1px solid #e2ded6}
.tryon-header .eyebrow{font-size:12px;margin:0 0 6px}.tryon-header h2{font:normal 30px/1.15 var(--serif);margin:0}
.tryon-header .icon-button{flex:none;width:44px;height:44px}
.tryon-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr)}
.tryon-visual{padding:24px;min-width:0;background:#f6f5f2;display:flex;flex-direction:column;justify-content:center;gap:14px}
.tryon-stage{min-height:290px;display:flex;align-items:center;justify-content:center;position:relative}
.tryon-stage canvas{display:block;width:auto;height:auto;max-width:100%;max-height:62dvh;touch-action:pan-y;cursor:default;background:#e6e3dc;outline-offset:4px}
.tryon-stage canvas.is-editing{touch-action:none;cursor:move}
.tryon-stage canvas:focus-visible{outline:2px solid #947239}
.tryon-placeholder{text-align:center;max-width:320px;padding:30px 12px;color:#5f5c54;font-size:16px;line-height:1.6}
.tryon-placeholder svg{width:44px;height:44px;margin:0 auto 14px;stroke:#987b4b}
.tryon-placeholder strong{display:block;color:#191b18;margin-bottom:8px;font-size:18px;font-weight:500}
.tryon-stage-hint{margin:0;font-size:14px;line-height:1.5;color:#656157;text-align:center}
.tryon-controls{padding:24px 28px;min-width:0}
.tryon-controls label{display:grid;gap:8px;font-size:14px;line-height:1.4;margin:0 0 16px}
.tryon-controls select{width:100%;min-width:0;border:1px solid #cfc9bf;border-radius:0;background:#fff;color:#191b18;padding:12px 10px;font-size:16px;min-height:46px}
.tryon-product-meta{font-size:14px;line-height:1.55;color:#6b665c;margin:-6px 0 18px}
.tryon-photo-requirement{font-size:14px;line-height:1.55;color:#49443b;margin:0 0 14px}
.tryon-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.tryon-photo-actions button,.tryon-adjust-actions button{border:1px solid #c9c1b2;min-height:44px;padding:10px;font-size:14px;background:#fff}
.tryon-photo-actions button:first-child{background:#191b18;border-color:#191b18;color:#fff}
.tryon-privacy,.tryon-limit{font-size:14px;line-height:1.55;color:#666157;margin:10px 0 18px}
.tryon-limit{border-left:2px solid #ae925e;padding-left:12px}
.tryon-adjustments{border:0;margin:20px 0 0;padding:0;min-width:0}
.tryon-adjustments legend{font-size:16px;margin-bottom:16px;padding:0}
.tryon-adjustments:disabled{opacity:.45}
.tryon-adjustments label>span{display:flex;justify-content:space-between;gap:12px}
.tryon-adjustments input[type=range]{width:100%;accent-color:#947239;min-height:30px;margin:0}
.tryon-adjust-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tryon-clear{font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:10px 0;color:#665b49}
.tryon-status{font-size:14px;line-height:1.5;margin:12px 0;min-height:22px;color:#61543f}
.tryon-dialog .black-button{width:100%;min-height:46px;font-size:14px;justify-content:center}
.tryon-controls button:focus-visible,.tryon-controls select:focus-visible,.tryon-controls input:focus-visible{outline:2px solid #947239;outline-offset:3px}
.tryon-auto{display:block;width:100%;min-height:46px;padding:12px 14px;border:1px solid #987b4b;background:#f7f3eb;color:#65502d;font-size:14px;line-height:1.4}.tryon-auto:disabled{opacity:.45;cursor:default}.tryon-auto[aria-busy=true]{background:#191b18;border-color:#191b18;color:#fff}
.tryon-processing{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#191b18b8;color:#fff;text-align:center;padding:24px;font-size:18px;line-height:1.5}
.tryon-result-actions{display:flex;flex-wrap:wrap;gap:10px}.tryon-result-actions button{flex:1;min-height:44px;padding:10px 12px;border:1px solid #c9c1b2;font-size:14px}.tryon-result-actions:has(button:not([hidden])){margin:16px 0}
.tryon-visual .tryon-status{text-align:center;margin:0;font-size:16px;line-height:1.5}.tryon-visual .tryon-status:empty{display:none}
.tryon-dialog [hidden]{display:none!important}
@media(max-width:760px){.tryon-dialog{width:calc(100% - 16px);max-height:96dvh}.tryon-header{padding:18px}.tryon-header h2{font-size:26px}.tryon-layout{grid-template-columns:minmax(0,1fr)}.tryon-visual{padding:16px}.tryon-stage{min-height:190px}.tryon-stage canvas{max-height:44dvh}.tryon-placeholder{padding:12px}.tryon-controls{padding:20px}.tryon-limit{margin-bottom:12px}.tryon-adjustments{margin-top:16px}.tryon-trigger{font-size:12px;gap:5px}.tryon-trigger span{font-size:9px}}
@media(max-width:760px){.tryon-dialog.has-photo .tryon-visual{position:sticky;top:0;z-index:2;align-self:start;padding:10px 16px;border-bottom:1px solid #ddd7cc}.tryon-dialog.has-photo .tryon-stage{min-height:0}.tryon-dialog.has-photo .tryon-stage canvas{max-height:30dvh}.tryon-dialog.has-photo .tryon-stage-hint{font-size:12px;line-height:1.4}}
