.product-photo-manager{grid-column:1/-1;display:grid;gap:9px;margin-top:2px;padding:11px;border:1px solid #e3eae5;border-radius:7px;background:#fbfdfb}.product-photo-manager-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.product-photo-manager-heading>div{display:grid;gap:3px}.product-photo-manager-heading strong{color:#294b36;font-size:10px}.product-photo-manager-heading>div>span{color:#839087;font-size:8px}.photo-count-badge{padding:4px 7px;border-radius:12px;background:#eaf5ed;color:#34784c;font-size:8px;font-weight:800;white-space:nowrap}.product-photo-upload{display:flex;align-items:center;gap:8px;min-height:45px;padding:7px 9px;border:1px dashed #bfd5c5;border-radius:6px;background:#fff;color:#476853;cursor:pointer}.photo-upload-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:6px;background:#eaf5ed;color:#198259;font-size:15px;font-weight:800}.product-photo-upload>span:nth-child(2){display:grid;gap:2px}.product-photo-upload strong{font-size:8px}.product-photo-upload small{color:#859188;font-size:7px}.product-photo-upload input{max-width:230px;margin-left:auto;color:#77847b;font-size:8px}.product-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.product-photo-tile{position:relative;min-width:0;overflow:hidden;padding:4px;border:1px solid #e1e8e2;border-radius:6px;background:#fff}.product-photo-tile.is-main{border:2px solid #228452;padding:3px;box-shadow:0 0 0 2px rgba(34,132,82,.08)}.product-photo-tile.is-removed{opacity:.48}.product-photo-tile>img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:4px;background:#f0f4f1}.product-photo-main-badge{position:absolute;top:8px;left:8px;display:none;padding:3px 5px;border-radius:10px;background:#21804e;color:#fff;font-size:7px;font-weight:800}.product-photo-tile.is-main .product-photo-main-badge{display:block}.product-photo-select,.product-photo-remove{width:100%;min-height:24px;margin-top:4px;padding:4px;border:1px solid #e2e9e3;border-radius:4px;background:#fff;color:#54725e;font-size:7px;font-weight:800;cursor:pointer}.product-photo-tile.is-main .product-photo-select{border-color:#cbe3d2;background:#eff7f1;color:#267447}.product-photo-remove{min-height:20px;margin-top:3px;border-color:transparent;color:#9b6666;font-weight:600}.product-photo-help{margin:0;color:#88948c;font-size:7px;line-height:1.4}.photo-validation-error{display:block}.detail-gallery-thumb{width:48px;height:44px;display:block;flex:0 0 auto;overflow:hidden;padding:2px;border:1px solid #e4ebe6;border-radius:5px;background:#fff;cursor:pointer}.detail-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:3px}.detail-gallery-thumb.active{border:2px solid #28905a;padding:1px;box-shadow:0 0 0 2px rgba(40,144,90,.08)}.detail-product-image{width:92%;height:88%;max-width:none;max-height:none;object-fit:contain}.detail-gallery-hint{white-space:nowrap}
@media(max-width:640px){.product-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.product-photo-manager{padding:8px}.product-photo-upload{flex-wrap:wrap}.product-photo-upload input{max-width:100%;width:100%;margin:4px 0 0 33px}.detail-gallery-thumb{width:43px;height:40px}}
@media(max-width:390px){.product-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.detail-thumbnails{flex-wrap:wrap}
