.photo-picker{margin:24px 0;padding:20px;border:1px solid #bcb3a0;border-radius:8px;background:#fffdf8;color:#30382f;font-family:system-ui,-apple-system,sans-serif}.photo-picker [hidden]{display:none!important}.photo-picker label{display:block;font-size:15px;font-weight:600;margin:0 0 12px}.photo-picker label span{display:block;font-size:12px;font-weight:400;color:#676d61}.photo-picker input,.photo-picker select{font:inherit}.photo-file{display:block;width:100%;margin-top:8px;font-size:14px;padding:10px;border:1px solid #bcb3a0;background:white;border-radius:5px}.photo-help,.photo-message,.photo-quality{font:13px/1.5 system-ui!important;margin:10px 0!important;overflow-wrap:anywhere}.photo-message{color:#6b563a}.photo-tools{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 12px}.photo-tools select{display:block;width:100%;padding:10px;border:1px solid #aaa;border-radius:5px;background:white;color:#30382f}.photo-zoom{display:block;width:100%;min-height:40px;padding:0!important;margin:0!important;accent-color:#476454}.photo-canvas{display:block;width:100%;height:auto;max-width:700px;object-fit:contain;border-radius:6px;touch-action:none;cursor:move;background:#242729}.photo-canvas:focus-visible{outline:3px solid #897242;outline-offset:3px}.photo-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.photo-buttons button{font:14px system-ui;padding:10px 14px;border:1px solid #a59c89;border-radius:5px;color:#30382f;background:white;cursor:pointer;min-height:44px}.photo-buttons button:hover{background:#efeade}.photo-layout{padding:14px!important;background:#f4f1e8!important;margin:16px 0 0!important;border:1px solid #c9c1b3!important;border-radius:5px}.photo-layout summary{cursor:pointer;font:15px system-ui!important}.photo-sheet{display:block;width:100%;max-width:520px;height:auto;margin:16px auto 0;border:1px solid #ddd}.photo-quality.is-warning{color:#92552e}.photo-picker .photo-file:focus-visible,.photo-picker select:focus-visible,.photo-picker button:focus-visible{outline:3px solid #897242;outline-offset:3px}.photo-summary-img{display:block;width:110px;max-height:140px;object-fit:contain;margin:8px 0}.photo-canvas[data-full=true]{touch-action:pan-y;cursor:default}@media(max-width:540px){.photo-picker{padding:14px}.photo-tools{grid-template-columns:1fr;gap:4px}.photo-buttons button{flex:1 1 auto}.photo-help{font-size:12px!important}}@media(prefers-reduced-motion:reduce){.photo-picker *{transition:none!important}}

/* The customer's photo is a visible part of the gift, not a collapsed extra. */
.customer-photo-card{position:relative;margin:24px 0 30px;padding:26px;border:2px solid #8a9b79;border-radius:12px;background:#f3f5e9;box-shadow:0 5px 18px rgba(55,64,43,.07);min-width:0}
.customer-photo-intro{display:flex;align-items:center;gap:18px;margin-bottom:16px}
.customer-photo-icon{flex:0 0 64px;color:#536449;transform:rotate(-6deg)}
.customer-photo-icon svg{display:block;width:64px;height:64px}
.customer-photo-eyebrow{font:700 12px/1.4 system-ui,sans-serif!important;letter-spacing:.08em;text-transform:uppercase;color:#596b4c;margin:0 0 6px!important}
.customer-photo-card h4{font:700 clamp(26px,4vw,34px)/1.15 var(--hand,serif);color:#35472e;margin:0}
.customer-photo-description{font:16px/1.6 var(--sans,system-ui);color:#36432f;margin:0 0 12px!important}
.customer-photo-invitation{font:600 15px/1.55 var(--sans,system-ui);color:#36432f;margin:0!important}
.customer-photo-card .photo-picker{margin:18px 0 12px;padding:18px;background:#fffef9;border-color:#b2bd9f}
.customer-photo-card .photo-file{font-size:15px;border:2px dashed #8a9b79;background:#f9fbf3;padding:12px;cursor:pointer;box-sizing:border-box}
.customer-photo-card .photo-file::file-selector-button{font:600 15px system-ui;border:0;border-radius:6px;padding:12px 16px;background:#435939;color:white;cursor:pointer;margin-right:12px}
.customer-photo-card .photo-file::file-selector-button:hover{background:#31422a}
.customer-photo-note{font:14px/1.5 var(--sans,system-ui);color:#43543a;margin:0 0 10px!important}
.customer-photo-privacy{font:12px/1.55 var(--sans,system-ui);color:#66715f;margin:0!important}
@media(max-width:540px){.customer-photo-card{padding:18px 14px}.customer-photo-intro{gap:12px}.customer-photo-icon{flex-basis:48px}.customer-photo-icon svg{width:48px;height:48px}.customer-photo-card .photo-picker{padding:12px}.customer-photo-card .photo-file{font-size:13px;padding:8px}.customer-photo-card .photo-file::file-selector-button{font-size:13px;padding:10px;margin-right:8px}.customer-photo-description{font-size:15px}}

.photo-commit{margin:18px 0;padding:16px;border:2px solid #a88b59;border-radius:8px;background:#fff8e8}.photo-picker .photo-apply{padding:13px 20px;min-height:48px;font:700 16px system-ui;background:#354f3d;color:white;border:0;border-radius:6px;cursor:pointer}.photo-picker .photo-apply:hover{background:#263d2d}.photo-picker .photo-apply:disabled{opacity:1;background:#e5eddf;color:#294b34;cursor:default}.photo-apply-status{font:14px/1.5 system-ui!important;margin:10px 0 0!important}.photo-commit.is-applied{border-color:#68845d;background:#f0f6ec}@media(max-width:540px){.photo-apply{width:100%}}
