/* Scoped photo controls; existing header/logo/icon styles are untouched. */
#cz-step-4 #cz-image-preview.cz-image-preview{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;max-width:100%}
@media(max-width:600px){#cz-step-4 #cz-image-preview.cz-image-preview{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:360px){#cz-step-4 #cz-image-preview.cz-image-preview{grid-template-columns:minmax(0,1fr)!important}}
#cz-image-preview .cz-launch-photo{height:auto!important;overflow:visible!important;position:relative;min-width:0;background:#f3f5f8;border:1px solid #d6dce3;border-radius:10px;padding:0!important;cursor:grab;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
#cz-image-preview .cz-launch-photo>img{display:block;width:100%;height:auto!important;aspect-ratio:4/3;object-fit:contain;border-radius:9px;pointer-events:none;-webkit-touch-callout:none}
#cz-image-preview .cz-photo-remove{position:absolute!important;z-index:2;right:6px;top:6px;width:32px!important;height:32px!important;min-height:32px!important;min-width:32px!important;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:center;border:1px solid #d5e0ef!important;border-radius:50%!important;background:#fff!important;color:#0F2B46!important;font:500 26px/1 Arial,sans-serif!important;box-shadow:0 1px 4px rgba(15,43,70,.14);cursor:pointer}
#cz-image-preview .cz-photo-remove::before{content:"";position:absolute;inset:-6px}
#cz-image-preview .cz-photo-remove:focus-visible,#cz-image-preview .cz-launch-photo:focus-visible{outline:2px solid #1F5BFF;outline-offset:3px}
.cz-photo-cover-badge{position:absolute;left:7px;bottom:7px;padding:3px 8px;border-radius:5px;background:#0F2B46;color:#fff;font-size:11px;font-weight:600;line-height:1.4;pointer-events:none}
.cz-photo-order-hint{margin:0 0 12px;color:#65758a;font-size:13px;line-height:1.5}
.cz-photo-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#cz-image-preview .cz-photo-ghost{opacity:.3}
#cz-image-preview .cz-photo-chosen{outline:2px solid #1F5BFF;outline-offset:2px}
.cz-photo-dragging{opacity:.95;border-radius:10px;box-shadow:0 8px 24px rgba(15,43,70,.2);cursor:grabbing;pointer-events:none}
.cz-photo-dragging img{display:block;max-width:100%;border-radius:9px}
.cz-photo-dragging .cz-photo-remove,.cz-photo-dragging .cz-photo-cover-badge{display:none!important}
#cz-launch-photo-error{color:#9a251d;font-size:14px}
.cz-advertise-section .cz-step-nav{flex-wrap:wrap;gap:12px}
.cz-advertise-section .cz-discard-edit,.cz-advertise-section .cz-seller-draft-discard{min-height:44px;padding:12px 18px;border:1.5px solid #0F2B46;border-radius:10px;background:#fff;color:#0F2B46;font:inherit;cursor:pointer}
@media(max-width:600px){.cz-advertise-section .cz-step-nav>.cz-discard-edit{width:100%}.cz-advertise-section .cz-seller-draft-tools{width:100%}.cz-advertise-section .cz-seller-draft-tools>button{flex:1 1 140px;min-width:0}}

