/* Product gallery — isolated from the site's existing theme and admin CSS. */
.bs-gallery-hint{color:#526078;margin-top:-.35rem;margin-bottom:1.25rem}
.bs-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:18px}
.bs-gallery figure{min-width:0;overflow:hidden;padding:12px}
.bs-gallery .bs-gallery-link{position:relative;display:block;aspect-ratio:16/10;background:#eef2f7;cursor:zoom-in;border-radius:10px;overflow:hidden}
.bs-gallery .bs-gallery-link img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;transition:transform .2s ease}
.bs-gallery .bs-gallery-link:hover img{transform:scale(1.025)}
.bs-gallery figcaption{font-size:.9rem;line-height:1.45;overflow-wrap:anywhere;margin:12px 3px 3px}
.bs-gallery-expand{position:absolute;right:9px;bottom:9px;background:#0b1629;color:white;border:1px solid #ffffff55;border-radius:9px;width:34px;height:34px;display:grid;place-items:center;font-size:22px;line-height:1;pointer-events:none;box-shadow:0 3px 12px #0004}
.bs-lightbox:not([open]){display:none}
.bs-lightbox{box-sizing:border-box;position:fixed;inset:0;margin:auto;padding:0;border:1px solid #334155;border-radius:16px;background:#0b1629;color:#f8fafc;width:min(1480px,96vw);max-width:96vw;height:min(920px,94dvh);max-height:94dvh;overflow:hidden;box-shadow:0 24px 80px #0009}
.bs-lightbox::backdrop{background:rgba(3,9,20,.9)}
.bs-lightbox-frame{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0}
.bs-lightbox-bar{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;background:#111e33;color:#f8fafc}
.bs-lightbox-heading{min-width:0}.bs-lightbox-bar h2{font-size:clamp(14px,2.2vw,19px);line-height:1.25;margin:0;color:#f8fafc;overflow-wrap:anywhere;max-height:3.75em;overflow:auto}.bs-lightbox-count{display:block;color:#b8c8e0;font-size:13px;margin-top:4px}
.bs-lightbox-stage{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;min-height:0;min-width:0}
.bs-lightbox-image-wrap{position:relative;display:grid;place-items:center;height:100%;min-height:0;min-width:0;overflow:hidden;touch-action:pan-y pinch-zoom}
.bs-lightbox-image{display:block;width:100%;height:100%;min-height:0;min-width:0;object-fit:contain;border-radius:4px}
.bs-lightbox-image:not([src]),.bs-lightbox-image[hidden],.bs-lightbox-status[hidden]{display:none}
.bs-lightbox-status{position:absolute;inset:auto 8px 8px;background:#111e33e8;border-radius:8px;color:#e2e8f0;text-align:center;padding:12px;overflow-wrap:anywhere}
.bs-lightbox button{box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;margin:0;border:1px solid #52617a;border-radius:12px;background:#1b2e48;color:#fff;font:inherit;font-size:30px;line-height:1;cursor:pointer;box-shadow:none}
.bs-lightbox button:hover{background:#2b4162}.bs-lightbox button:disabled{visibility:hidden}.bs-lightbox button:focus-visible,.bs-lightbox a:focus-visible,.bs-gallery a:focus-visible{outline:3px solid #67e8f9;outline-offset:3px}.bs-lightbox .bs-lightbox-close{font-size:19px}
.bs-lightbox-footer{font-size:13px;color:#b8c8e0;flex-wrap:wrap}.bs-lightbox-original{color:#93c5fd;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
html.bs-lightbox-open{overflow:hidden}
@media(max-width:600px){.bs-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}.bs-gallery figure{padding:8px}.bs-lightbox{width:98vw;max-width:98vw;height:92dvh;max-height:92dvh;border-radius:10px}.bs-lightbox-bar{padding:10px;gap:8px}.bs-lightbox-stage{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) auto;gap:8px}.bs-lightbox-image-wrap{grid-column:1/-1;grid-row:1}.bs-lightbox-prev{grid-row:2;justify-self:end}.bs-lightbox-next{grid-row:2;justify-self:start}.bs-lightbox-footer span{display:none}}
@media(prefers-reduced-motion:reduce){.bs-gallery .bs-gallery-link img{transition:none}}
