/* RC-Ql v0.3.0: keep unchanged fallback photos; new media fit the existing frame. */
.photo.rcqle-has-media{overflow:hidden}
.photo.rcqle-has-media .rcqle-photo-img,
.rcqle-editor-photo .rcqle-photo-img{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;z-index:2}
.rcqle-editor-photo{min-height:230px;position:relative}
.rcqle-photo-tools{position:absolute;top:12px;left:12px;z-index:4;display:flex;flex-wrap:wrap;gap:8px;padding:8px;border-radius:10px;background:#ffffffed;box-shadow:0 4px 18px #15202022}
.rcqle-editor-card{cursor:default}
.rcqle-editor-card .rcqle-editor-photo{min-height:166px;aspect-ratio:1.56}
.rcqle-editor-card .product-card-body [contenteditable],
.rcqle-editor-card.more-card [contenteditable]{outline-offset:4px}
.rcqle-photo-block{min-height:180px}
