/* Selection shares the gallery's ivory paper, blue ink and editorial type. */
.selection-trigger{display:inline-flex;align-items:center;gap:8px;min-height:42px;font:inherit;font-size:11px;color:var(--ink);border:1px solid var(--line);padding:9px 12px;background:transparent;white-space:nowrap;cursor:pointer}
.selection-trigger [data-selection-count]{display:grid;place-items:center;min-width:22px;min-height:22px;border-radius:50%;background:var(--ink);color:var(--paper);font-size:10px}
.selection-header-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;justify-content:flex-end}.header-actions{flex-wrap:wrap}
.selection-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(100%,640px);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;background:var(--paper,#f4f0e7);color:var(--ink,#293b45);overflow-y:auto;overscroll-behavior:contain}
.selection-dialog::backdrop{background:#17252b99;backdrop-filter:blur(4px)}body.selection-open{overflow:hidden}.selection-open .camera-nav{visibility:hidden;pointer-events:none}
.selection-dialog .selection-heading{position:sticky;top:0;background:var(--paper);z-index:2;padding:25px 30px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;height:auto}
.selection-heading h2{font-family:var(--serif,Georgia,serif);font-size:37px;font-weight:400;line-height:1.1;margin:8px 0 0;letter-spacing:-.04em}.selection-eyebrow{font-size:9px;letter-spacing:.14em;color:var(--muted)}
.selection-close{width:44px;height:44px;font-size:30px;border:1px solid var(--line);background:transparent;cursor:pointer;flex-shrink:0}
.selection-body{padding:15px 30px 25px}.selection-note{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0;overflow-wrap:anywhere}.selection-note:empty{display:none}
.selection-line{display:grid;grid-template-columns:76px minmax(0,1fr);gap:20px;padding:25px 0;border-bottom:1px solid var(--line)}
.selection-thumbnails{display:flex;flex-direction:column;gap:8px}.selection-thumbnails img{width:70px;height:92px;object-fit:contain;background:#e9e4da;display:block}
.selection-line h3,#selection-form h3,#selection-success h3{font-family:var(--serif,Georgia,serif);font-size:25px;line-height:1.2;font-weight:400;letter-spacing:-.035em;margin:0 0 15px;overflow-wrap:anywhere}
.selection-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.selection-control{min-width:0}.selection-control>span{display:block;max-width:100%;font-size:10px;line-height:1.5;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.selection-dialog select,.selection-dialog input,.selection-dialog textarea{width:100%;min-width:0;color:var(--ink);font:inherit;font-size:13px;background:transparent;border:1px solid var(--line);border-radius:0;padding:11px 8px;min-height:44px}.selection-dialog textarea{resize:vertical}
.selection-line-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.selection-quantity{display:flex;align-items:center;gap:12px}.selection-quantity button{width:44px;height:44px;border:1px solid var(--line);background:transparent;font-size:20px;cursor:pointer}.selection-quantity>span{font-size:13px;min-width:15px;text-align:center}.selection-line-price{font-size:12px;line-height:1.7}
.selection-remove,.selection-undo{font-size:11px;padding:8px 0;min-height:40px;text-decoration:underline;text-underline-offset:4px;cursor:pointer;color:var(--accent);background:transparent;border:0}.selection-remove{margin-top:5px}
.selection-dialog .selection-footer{position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--line);padding:20px 30px;display:block;width:100%;margin:0}.selection-footer>div{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}.selection-footer>div>span{font-size:11px;line-height:1.6}.selection-footer strong{font-family:var(--serif,Georgia,serif);font-size:31px;font-weight:400;white-space:nowrap}
.selection-primary{width:100%;min-height:48px;padding:15px 17px;background:var(--accent,#365e75);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:15px;font:inherit;font-size:13px;border:0;cursor:pointer}.selection-primary:hover{background:#25485d}.selection-footer>a{display:block;width:fit-content;min-height:40px;font-size:12px;padding:12px 0 0;border-bottom:1px solid var(--line);line-height:1.6}.selection-footer .selection-note{margin-bottom:0;font-size:10px}
#selection-empty{font-family:var(--serif,Georgia,serif);font-size:25px;line-height:1.45;padding:28px 0 38px}#selection-form{margin-top:28px;padding-top:25px;border-top:1px solid var(--line)}#selection-form>label{display:block;font-size:11px;margin:18px 0 8px}#selection-form .selection-primary{margin-top:24px}.selection-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#selection-success{padding:35px 0}#selection-success h3{font-size:34px;margin-top:20px}#selection-reference{font-size:13px;line-height:1.8}.selection-status{font-size:12px;line-height:1.8;color:var(--accent);margin-top:12px;min-height:20px}
.selection-dialog [hidden]{display:none!important}.selection-dialog button:disabled{opacity:.5;cursor:default}.selection-dialog :is(button,a,input,select,textarea):focus-visible,.selection-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.selection-dialog :is(button,a,select){touch-action:manipulation}
@media(max-width:760px){.selection-trigger{font-size:10px;padding:7px 9px;gap:6px}.selection-header-actions{gap:13px}.selection-dialog .selection-heading{padding:20px}.selection-body{padding-inline:20px}.selection-dialog .selection-footer{padding:16px 20px}.selection-line{grid-template-columns:58px minmax(0,1fr);gap:14px}.selection-thumbnails img{width:56px;height:78px}.selection-line h3{font-size:23px}.selection-dialog input,.selection-dialog textarea,.selection-dialog select{font-size:16px}.selection-choices{grid-template-columns:1fr;gap:11px}.selection-control>span{white-space:normal}.selection-line-bottom{gap:9px}.selection-line-price{font-size:11px}.selection-dialog .selection-footer strong{font-size:28px}}
@media(max-width:420px){.header-actions{gap:10px;width:100%;justify-content:space-between}.selection-header-actions{width:100%;justify-content:space-between}.selection-trigger{font-size:11px}.selection-heading h2{font-size:32px}}
