/* Dekoracyjna oprawa istniejącego pola WAPF — wyłącznie strony produktu ze zdjęciem. */
.summary .wapf-field-container.dz-photo-wapf-enhanced .wapf-field-label,
.summary .wapf-field.dz-photo-wapf-enhanced .wapf-field-label {
    display: none !important;
}
.summary .dz-photo-wapf-enhanced input[type="file"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    clip-path: inset(50%) !important;
}
.summary .dz-photo-card {
    border: 1px solid #f2c9de;
    border-radius: 12px;
    padding: 15px;
    background: #fff9fc;
    max-width: 100%;
    box-sizing: border-box;
    margin: 4px 0 10px;
}
.summary .dz-photo-card-head {display:flex; gap:11px; align-items:flex-start; margin-bottom:13px;}
.summary .dz-photo-card-icon {display:flex; align-items:center; justify-content:center; background:#fce5f0; color:#dc0079; border-radius:9px; font-size:22px; width:38px; height:38px; flex:0 0 38px;}
.summary .dz-photo-card-head strong {display:block; font-size:15px; color:#232127; font-weight:700; line-height:1.4;}
.summary .dz-photo-card-head p {font-size:12px; line-height:1.5; color:#62616a; margin:3px 0 0;}
.summary .dz-photo-drop {display:flex; align-items:center; flex-wrap:wrap; gap:11px; background:#fff; border:1px dashed #eab4d1; border-radius:10px; padding:13px;}
.summary .dz-photo-action {background:#e4007d; border:0; color:#fff; font-size:13px; font-weight:650; border-radius:999px; padding:10px 17px; cursor:pointer; transition:background .15s ease;}
.summary .dz-photo-action:hover {background:#b90067;}
.summary .dz-photo-action:focus-visible,
.summary .dz-photo-remove:focus-visible {outline:3px solid #762d59;outline-offset:3px;}
.summary .dz-photo-file-name {min-width:0; overflow-wrap:anywhere; font-size:12px; color:#65616a;}
.summary .dz-photo-preview {display:flex; align-items:center; gap:13px; margin-top:13px; padding:11px; background:#fff; border:1px solid #f5e1e9; border-radius:10px;}
.summary .dz-photo-preview[hidden], .summary .dz-photo-preview-image[hidden] {display:none!important;}
.summary .dz-photo-preview-image {display:block; max-width:88px; max-height:88px; width:auto; height:auto; border-radius:6px; object-fit:contain;}
.summary .dz-photo-preview-details {display:flex; flex-direction:column; gap:3px; min-width:0;}
.summary .dz-photo-preview-details span {font-size:11px; color:#777;}
.summary .dz-photo-preview-details strong {font-size:12px; color:#222; overflow-wrap:anywhere;}
.summary .dz-photo-remove {align-self:flex-start; padding:2px 0; background:none; border:0; color:#e4007d; font-size:12px; text-decoration:underline; cursor:pointer;}
@media (max-width: 575px) {
  .summary .dz-photo-card {padding:12px;}
  .summary .dz-photo-drop {align-items:stretch; flex-direction:column;}
  .summary .dz-photo-action {width:100%;}
}

/* Version 2.0: two photo timings on qualified invitation cards only. */
.summary .dz-photo-when {min-width:0;margin:0 0 13px;padding:0;border:0;display:flex;flex-direction:column;gap:8px}
.summary .dz-photo-when-legend {font-size:12px;font-weight:700;color:#2b2730;margin:0 0 9px;padding:0}
.summary .dz-photo-when-option {display:flex;gap:10px;align-items:flex-start;padding:12px 13px;margin:0;border:1px solid #e9d6e0;border-radius:9px;background:#fff;cursor:pointer;font-size:13px;line-height:1.45;color:#30252d}
.summary .dz-photo-when-option:has(input:checked) {border-color:#e4007d;background:#fff0f7}
.summary .dz-photo-when-option input[type="radio"] {accent-color:#e4007d;flex:none;margin-top:3px}
.summary .dz-photo-when-option span {flex:1;min-width:0}
.summary .dz-photo-when-option:focus-within {outline:2px solid #bf0a70;outline-offset:2px}
.summary .dz-photo-later-note {display:flex;gap:8px;align-items:flex-start;font-size:12px;color:#256d39;background:#f5fff6;border:1px solid #d0ead4;border-radius:9px;padding:11px;margin-top:2px}
.summary .dz-photo-later-mark {font-size:15px;font-weight:800;line-height:1}
.summary .dz-photo-upload-controls[hidden], .summary .dz-photo-later-note[hidden], .summary .dz-photo-error[hidden] {display:none!important}
.summary .dz-photo-error {margin:10px 0 0;font-size:12px;color:#b32d2e;font-weight:600}
@media(max-width:575px){.summary .dz-photo-when-option{padding:11px;font-size:12px}}

/* v2.1 — several WAPF file fields or one field allowing multiple photos. */
.summary .dz-photo-upload-row + .dz-photo-upload-row{margin-top:14px}
.summary .dz-photo-upload-row-title{display:block;font-size:12px;line-height:1.4;margin:0 0 7px}
.summary .dz-photo-preview-tiles{display:flex;flex-wrap:wrap;gap:10px;min-width:0}
.summary .dz-photo-preview-tile{display:flex;flex-direction:column;gap:5px;max-width:110px;min-width:0}
.summary .dz-photo-preview-tile .dz-photo-preview-image{max-width:100px;max-height:95px;object-fit:contain}
.summary .dz-photo-preview-name{font-size:11px;overflow-wrap:anywhere;line-height:1.25}
.summary .dz-photo-preview{align-items:flex-start;flex-wrap:wrap}
.dz-photo-form-section .dz-photo-multi-preview-list{display:flex;gap:10px;flex-wrap:wrap}
.dz-photo-form-section .dz-photo-multi-preview-item{display:flex;flex-direction:column;gap:4px;max-width:155px;font-size:11px;overflow-wrap:anywhere}
.dz-photo-form-section .dz-photo-multi-preview-item img{max-width:135px;max-height:112px;object-fit:contain;border:1px solid #f1d9e5;border-radius:7px}
.dz-photo-form-section .dz-photo-attached-file{padding:5px 0;display:inline-flex;flex-direction:column;gap:4px;margin-right:9px}

/* v2.3: an explicit add-more action for WAPF multi-photo fields. */
.summary .dz-photo-action[hidden], .summary .dz-photo-remove-one[hidden] {display:none!important}
.summary .dz-photo-add-more {background:#fff;color:#c2006d;border:1px solid #e4007d}
.summary .dz-photo-add-more:hover {background:#fff0f7;color:#9f0057}
.summary .dz-photo-remove-one {background:none;border:0;padding:1px;color:#d50075;text-decoration:underline;cursor:pointer;font-size:11px;align-self:flex-start}
.summary .dz-photo-preview-name {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.summary .dz-photo-add-more:focus-visible,.summary .dz-photo-remove-one:focus-visible {outline:3px solid #762d59;outline-offset:3px}
