.dhs-root{--dh-gallery-ink:#153342}
.dhs-product-visual,.dhs-product-image,.dhs-detail-image,.dhs-compare-photo{background:#edf3f1!important}
:is(.dhs-product-image,.dhs-detail-image,.dhs-compare-photo) img{object-fit:contain}
.dh-gallery{margin:0;width:100%;min-width:0;align-self:start}
.dh-gallery-open{display:block;color:inherit}
.dh-gallery-open img{display:block;width:100%;height:auto;max-height:clamp(280px,60vh,570px);object-fit:contain}
.dh-gallery ul,.dh-gallery-admin-list{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:12px 0 0;gap:8px}
.dh-gallery li{min-width:0}
.dh-gallery li a{display:grid;place-items:center;width:clamp(56px,8vw,82px);aspect-ratio:1;border:1px solid #afc0c5;border-radius:10px;background:#f4f8fa;overflow:hidden}
.dh-gallery li a[aria-current=true]{outline:2px solid #153342;outline-offset:1px}
.dh-gallery li img{width:100%;height:100%;object-fit:contain}
.dh-gallery figcaption{font-size:.875rem;color:#35515f;padding:8px 0}
.dh-gallery-admin form{display:grid;gap:10px;justify-items:start;margin:1rem 0}
.dh-gallery-admin input,.dh-gallery-admin select,.dh-gallery-admin button{font-size:16px;min-height:44px}
.dh-gallery-admin button{background:#153342;color:white;border:1px solid #153342;border-radius:8px;padding:8px 12px;cursor:pointer}
.dh-gallery-admin button:disabled{opacity:.55;cursor:not-allowed}
.dh-gallery-admin-list li{display:grid;gap:6px;max-width:164px}
.dh-gallery-admin-list img{width:100%;aspect-ratio:1;object-fit:contain;background:#edf3f1;border-radius:8px}
