.pm-editor{min-width:0;margin-bottom:12px;grid-column:1/-1}
.pm-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.pm-heading>strong{font-size:15px}.pm-heading [data-photo-count]{margin-left:6px;color:#718077;font-weight:500;font-size:13px}
.pm-thumbnails{display:flex;gap:9px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin;min-height:108px}
.pm-thumb{width:92px;flex:0 0 92px;border:1px solid #dce5dd;border-radius:10px;overflow:hidden;background:#fff}
.pm-cover{position:relative;display:block;width:100%;height:76px;padding:0;background:#f0f3ee;border:0}
.pm-cover img{width:100%;height:100%;object-fit:cover}.pm-cover>span{position:absolute;left:4px;top:4px;background:#165c43;color:white;padding:2px 5px;font-size:11px;border-radius:4px}
.pm-thumb-actions{display:flex;border-top:1px solid #e6ebe5}.pm-thumb-actions button{flex:1;height:32px;padding:0;background:#fff;font-size:21px;color:#3c5145}.pm-thumb-actions button:disabled{opacity:.3}.pm-thumb-actions button:last-child{color:#a43434}
.pm-empty{background:#f6f7f3;border:1px dashed #cfd9ce;border-radius:10px;display:grid;place-items:center;width:100%;font-size:14px;color:#758173;padding:16px}
.pm-hint{margin:6px 0 0!important;font-size:12px!important;line-height:1.5;color:#718077}.pm-message{font-size:13px;line-height:1.5;color:#315d42;margin-top:4px;overflow-wrap:anywhere}.pm-message:empty{display:none}
.photo-gallery-shell{width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
.photo-gallery-shell .modal-body{padding:14px}.pm-viewer{min-width:0;overflow:hidden}.pm-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:12px;background:#f4f5f0;outline-offset:-3px}.pm-slides::-webkit-scrollbar{display:none}
.pm-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;height:min(58dvh,580px);display:grid;place-items:center}.pm-slide img{width:100%;height:100%;object-fit:contain;min-height:0}
.pm-gallery-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:10px}.pm-gallery-controls>span{font-size:14px;min-width:55px;text-align:center;font-variant-numeric:tabular-nums}.pm-gallery-controls .round-btn{font-size:27px;min-width:44px;min-height:44px}
.pm-gallery-thumbs{display:flex;gap:7px;overflow:auto;margin-top:8px;padding:3px}.pm-gallery-thumbs button{flex:0 0 52px;height:52px;padding:2px;border:2px solid transparent;border-radius:8px;background:#f1f3ed}.pm-gallery-thumbs button[aria-pressed="true"]{border-color:#165c43}.pm-gallery-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:4px}
.shopping-page .shop-photo{position:relative}.shop-photo-count{position:absolute;right:3px;bottom:3px;border-radius:5px;padding:1px 5px;color:white;background:#18392bcc;font-size:10px;line-height:1.6;min-width:18px}
.a-product-delete{color:#ad3e39!important;border-color:#ead8d4!important;background:#fff!important}.product-delete-message{padding:14px;border:1px solid #ead8d4;border-radius:12px;background:#fff7f4;line-height:1.6}.product-delete-message strong{display:block;margin-bottom:6px;overflow-wrap:anywhere}
@media(max-width:760px){.photo-gallery-shell .modal-body{padding:10px}.photo-gallery-shell .modal-head{padding:14px 16px}.photo-gallery-shell .modal-head h2{font-size:18px}.pm-slide{height:min(55dvh,480px)}.pm-heading>strong{font-size:14px}}
