#zp-photo-addon-dialog,#zp-photo-cart-page{--zpo-purple:#6440bf;--zpo-ink:#282032;color:var(--zpo-ink);font:400 17px/1.45 'ZP DIN',Tahoma,sans-serif}
.zpo-selection{box-sizing:border-box;width:min(1120px,calc(100% - 32px));margin:20px auto;padding:20px;border:1px solid #ded7ed;border-radius:12px;background:#faf8ff;color:#282032;font:400 16px/1.5 'ZP DIN',Tahoma,sans-serif}
.zpo-selection[hidden]{display:none}.zpo-selection h2{margin:0 0 12px;font-size:21px}.zpo-selection-list{margin:0;padding-left:22px;max-height:230px;overflow:auto}.zpo-selection-list li{margin:8px 0;overflow-wrap:anywhere}.zpo-selection-list a{color:#5331a6}.zpo-selection-remove{margin-left:12px;border:0;background:none;text-decoration:underline;cursor:pointer;color:#655e70;font:inherit}.zpo-selection>button{margin:8px 8px 0 0}.zpo-selection button,.zpo-content button{white-space:normal;max-width:100%}.zpo-dialog-close{float:right;position:relative;z-index:1;border:0;background:#f2edf8;padding:8px 12px;border-radius:6px;cursor:pointer;color:#282032}.zpo-content .zpo-image{height:240px;margin:12px auto}.zpo-content .zpo-image img{width:100%;height:100%;object-fit:contain;max-height:240px}.zpo-chat-fallback textarea{box-sizing:border-box;width:100%;min-height:160px;resize:vertical;font:inherit;padding:10px}.zpo-content>button{margin:8px 8px 0 0}.zpo-ai-note{color:#655e70;font-size:14px}@media(max-width:600px){.zpo-selection{padding:14px}.zpo-selection>button{width:100%;margin-right:0}.zpo-content .zpo-image{height:180px}.zpo-content .zpo-image img{max-height:180px}}
#zp-photo-addon-dialog *,#zp-photo-cart-page *{box-sizing:border-box}
#zp-photo-addon-dialog{width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:30px;border:0;border-radius:12px;background:#fff;box-shadow:0 20px 70px #28203230;overflow:auto}
#zp-photo-addon-dialog::backdrop{background:#28203299}
#zp-photo-addon-dialog h2{margin:0 48px 24px 0;font-size:28px;line-height:1.2;font-weight:500}
#zp-photo-addon-dialog h3{margin:0 0 10px;font-size:20px;line-height:1.3;font-weight:500}
#zp-photo-addon-dialog .zpo-close{position:absolute;right:18px;top:18px;width:42px;height:42px;border:0;border-radius:8px;background:#f3effa;color:#282032;font-size:28px;cursor:pointer}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) :is(button,select,textarea){font:inherit}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) :is(a,button,select,textarea):focus-visible{outline:3px solid #6440bf;outline-offset:3px}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-image{position:relative;width:150px;aspect-ratio:1;flex:0 0 150px;overflow:hidden;background:#fff;border-radius:6px}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-image img{display:block;width:100%;height:100%;object-fit:contain}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-image-small{width:90px;flex-basis:90px}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-ai{position:absolute;left:4px;bottom:4px;padding:3px 5px;border-radius:4px;background:#f3effa;font-size:11px;color:#4c3191}
#zp-photo-addon-dialog .zpo-picked{display:flex;gap:24px;align-items:center;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #e5e0eb}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-code{font-size:14px;color:#655b70;margin:8px 0}
#zp-photo-addon-dialog .zpo-free{font-weight:500;color:#4c3191;margin:10px 0 0}
#zp-photo-addon-dialog .zpo-price-summary{margin:18px 0;font-size:16px;font-weight:500;color:#282032;line-height:1.5}
#zp-photo-addon-dialog .zpo-label{display:grid;gap:10px;margin:20px 0;font-weight:500}
#zp-photo-addon-dialog select{width:100%;min-width:0;min-height:50px;padding:10px 35px 10px 12px;border:1px solid #b7a9c8;border-radius:8px;background:#fff;color:#282032;font-size:16px}
#zp-photo-addon-dialog .zpo-replace{padding:14px;background:#f3effa;border-radius:8px;font-size:15px}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-primary{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 22px;border:0;border-radius:8px;background:#6440bf;color:white;text-decoration:none;font-weight:500;cursor:pointer}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-primary:hover{background:#4c3191}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-primary:disabled{background:#ddd6e6;color:#655b70;cursor:default}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:1px solid #cbbfe0;border-radius:8px;background:#fff;color:#6440bf;text-decoration:none;cursor:pointer}
#zp-photo-addon-dialog .zpo-content>.zpo-secondary{margin-left:12px}
:is(#zp-photo-addon-dialog,#zp-photo-cart-page) .zpo-status{font-size:15px;color:#51495c;margin:16px 0 0}
#zp-photo-addon-dialog .zpo-preview-note{font-size:13px;color:#655b70;margin-top:20px}
#zp-photo-cart-page{display:block;width:min(1150px,calc(100% - 48px));margin:36px auto 80px}
#zp-photo-cart-page h1{font-size:clamp(32px,3vw,46px);font-weight:500;line-height:1.2;margin:0 0 18px}
#zp-photo-cart-page h2{font-size:21px;font-weight:500;line-height:1.3;margin:0 0 10px}
#zp-photo-cart-page h3{font-size:17px;font-weight:500;line-height:1.35;margin:0}
#zp-photo-cart-page .zpo-cart-notice{margin:0 0 30px;color:#655b70;font-size:14px}
#zp-photo-cart-page .zpo-cart-line{padding:26px 0;border-top:1px solid #e4deeb}
#zp-photo-cart-page .zpo-cart-product{display:flex;align-items:flex-start;gap:22px}
#zp-photo-cart-page .zpo-cart-product>div:nth-child(2){flex:1;min-width:0}
#zp-photo-cart-page .zpo-line-total{white-space:nowrap;font-size:21px;font-weight:500}
#zp-photo-cart-page .zpo-qty{display:flex;align-items:center;gap:14px;margin:16px 0}
#zp-photo-cart-page .zpo-remove{display:block;min-height:36px;padding:5px 0;border:0;background:none;color:#6440bf;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:14px}
#zp-photo-cart-page .zpo-addons{padding:0;margin:20px 0 0 112px;list-style:none}
#zp-photo-cart-page .zpo-addons li{display:flex;gap:20px;align-items:center;padding:16px;background:#f6f3fa;border-radius:8px;margin-bottom:12px}
#zp-photo-cart-page .zpo-addons strong{font-size:15px;color:#4c3191;font-weight:500}
#zp-photo-cart-page .zpo-cart-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:22px;padding:26px 0;border-top:1px solid #e4deeb}
#zp-photo-cart-page .zpo-total{font-size:25px;font-weight:500}
#zp-photo-cart-page textarea{display:block;width:100%;min-height:180px;padding:14px;border:1px solid #b7a9c8;border-radius:8px;margin-top:20px;font-size:16px}
#zp-photo-cart-page [hidden]{display:none!important}
.zpo-header-cart{display:inline-flex;position:relative;align-items:center;justify-content:center;width:40px;height:40px;color:#51495c;text-decoration:none}
.zpo-header-cart svg{width:22px;height:22px}
.zpo-header-cart [data-zp-cart-count]{position:absolute;right:-3px;top:-3px;min-width:17px;padding:1px 4px;border-radius:9px;background:#6440bf;color:#fff;font-size:11px;text-align:center}
@media(max-width:600px){#zp-photo-addon-dialog{padding:22px}#zp-photo-addon-dialog h2{font-size:25px}#zp-photo-addon-dialog .zpo-picked{gap:16px;align-items:flex-start}#zp-photo-addon-dialog .zpo-image{width:100px;flex-basis:100px}#zp-photo-addon-dialog h3{font-size:18px}#zp-photo-addon-dialog .zpo-content>.zpo-primary{width:100%}#zp-photo-addon-dialog .zpo-content>.zpo-secondary{margin:12px 0 0;width:100%}#zp-photo-cart-page{width:calc(100% - 32px);margin-top:26px}#zp-photo-cart-page .zpo-cart-product{gap:14px;flex-wrap:wrap}#zp-photo-cart-page .zpo-line-total{width:100%;text-align:right}#zp-photo-cart-page .zpo-addons{margin-left:0}#zp-photo-cart-page .zpo-addons li{gap:14px}#zp-photo-cart-page .zpo-image-small{width:70px;flex-basis:70px}}
/* Extension inside the unchanged native cart line and native product controls. */
.zpo-native-addons,.zpo-pdp-selection{color:#282032;font:inherit}
.zpo-native-addons{list-style:none;margin:20px 0 0;padding:0}
.zpo-native-addons>li,.zpo-pdp-selection{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-top:1px solid #e5e0eb}
.zpo-native-addons>li>div:last-child,.zpo-pdp-selection>div:last-child{min-width:0;overflow-wrap:anywhere}
.zpo-native-addons .zpo-image,.zpo-pdp-selection .zpo-image{position:relative;flex:0 0 68px;width:68px;aspect-ratio:1;overflow:hidden;background:#fff}
.zpo-native-addons .zpo-image img,.zpo-pdp-selection .zpo-image img{width:100%;height:100%;object-fit:contain;display:block}
.zpo-native-addons strong,.zpo-pdp-selection strong{font-size:15px;line-height:1.4;font-weight:600}
.zpo-native-addons .zpo-code,.zpo-pdp-selection .zpo-code{margin:6px 0;font-size:13px;line-height:1.4}
.zpo-native-remove{padding:8px 0;min-height:44px;border:0;background:transparent;color:#6440bf;text-decoration:underline;cursor:pointer;font:inherit;font-size:14px}
.zpo-native-remove:focus-visible,.zpo-pdp-selection button:focus-visible{outline:3px solid #6440bf;outline-offset:3px}
.zpo-pdp-selection{margin:16px 0;max-width:100%}
.zpo-pdp-selection p{font-size:14px;line-height:1.4;margin:6px 0}
.zpo-pdp-selection .zpo-primary{min-height:44px;padding:9px 14px;border:0;background:#6440bf;color:#fff;border-radius:8px;font:inherit;cursor:pointer}
#zp-photo-addon-dialog [hidden]{display:none!important}
#zp-photo-addon-dialog .zpo-close{width:44px;height:44px}
#zp-photo-addon-dialog .zpo-picked-info{min-width:0;overflow-wrap:anywhere}
#zp-photo-addon-dialog .zpo-status{overflow-wrap:anywhere}
.zpo-native-addons .zpo-ai,.zpo-pdp-selection .zpo-ai{position:absolute;bottom:2px;left:2px;background:#f3effa;color:#4c3191;font-size:10px;padding:2px}
/* Use the same source crop as the catalogue, so uniform details remain legible. */
#zp-photo-addon-dialog .zpo-content>.zpo-image{width:min(100%,240px);height:240px;aspect-ratio:1;flex:none;margin:12px auto}
#zp-photo-addon-dialog .zpo-content>.zpo-image img{max-height:none}
#zp-photo-addon-dialog .zpo-content>.zpo-image-cropped img{position:absolute;height:auto;max-width:none;object-fit:initial}
@media(max-width:600px){#zp-photo-addon-dialog .zpo-content>.zpo-image{width:min(100%,200px);height:200px}}

