/* Existing native hero and Bricks IDs are retained. Only the authorized media controls are added. */
.fm-product-media{width:100%;min-width:0}.fm-product-media>figure{width:100%;margin:0}.fm-gallery-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;color:inherit;font:500 13px/1.5 Inter,sans-serif}.fm-gallery-counter{font-variant-numeric:tabular-nums}.fm-gallery-open{margin-left:auto;background:#F4F6F8;color:#0E3A5B;border:1px solid #7A8696;min-height:44px;padding:8px 14px;cursor:pointer;font:600 13px Inter,sans-serif;border-radius:3px}.fm-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;max-width:100%;padding:3px 3px 12px;scrollbar-width:thin}.fm-gallery-thumb{display:flex;flex:0 0 96px;width:96px;height:76px;align-items:center;justify-content:center;flex-direction:column;border:2px solid transparent;background:#F4F6F8;border-radius:3px;overflow:hidden;color:#0E3A5B}.fm-gallery-thumb img{width:100%;height:100%;object-fit:contain}.fm-gallery-thumb[aria-current=true]{border-color:#7A8696;box-shadow:0 0 0 1px #F4F6F8}.fm-gallery-video-mark{font-size:22px}.fm-product-media :focus-visible,.fm-gallery-dialog :focus-visible{outline:3px solid #7A8696;outline-offset:3px}.fm-gallery-dialog{width:min(1200px,96vw);max-width:96vw;height:auto;max-height:94dvh;margin:auto;padding:0;border:1px solid #7A8696;border-radius:4px;color:#1A1D21;background:#F4F6F8}.fm-gallery-dialog::backdrop{background:rgba(10,16,22,.88)}.fm-gallery-dialog-panel{display:flex;flex-direction:column;padding:18px;gap:12px;max-height:92dvh}.fm-gallery-close{align-self:flex-end}.fm-gallery-large{display:flex;justify-content:center;align-items:center;min-height:160px;min-width:0;background:white;overflow:hidden}.fm-gallery-large img,.fm-gallery-large video{display:block;max-width:100%;max-height:65dvh;object-fit:contain}.fm-gallery-caption{font:400 13px/1.6 Inter,sans-serif;margin:0}.fm-gallery-dialog-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.fm-gallery-dialog button{font:600 14px/1.5 Inter,sans-serif;min-height:44px;padding:10px 18px;background:#0E3A5B;color:#F4F6F8;border:0;border-radius:3px;cursor:pointer}.fm-gallery-dialog button[hidden]{display:none}
@media(max-width:767px){.fm-gallery-thumb{flex-basis:78px;width:78px;height:62px}.fm-gallery-dialog-panel{padding:12px}.fm-gallery-dialog button{padding:10px 12px}.fm-gallery-caption{font-size:12px}}
.fm-gallery-plate-dialog { width:98vw; max-width:98vw; max-height:98dvh; background:transparent; border:0; border-radius:0; }
.fm-gallery-plate-dialog .fm-gallery-dialog-panel { padding:0; gap:6px; max-height:98dvh; }
.fm-gallery-plate-dialog .fm-gallery-close { position:fixed; top:max(8px,env(safe-area-inset-top)); right:max(8px,env(safe-area-inset-right)); z-index:2; display:grid; place-items:center; box-sizing:border-box; width:44px; height:44px; padding:0; border-radius:50%; font-size:0; }
.fm-gallery-plate-dialog .fm-gallery-close::before,.fm-gallery-plate-dialog .fm-gallery-close::after { content:''; grid-area:1/1; width:15px; height:2px; border-radius:2px; background:currentColor; transform:rotate(45deg); }
.fm-gallery-plate-dialog .fm-gallery-close::after { transform:rotate(-45deg); }
.fm-gallery-plate-dialog .fm-gallery-large { background:transparent; border-radius:0; touch-action:pan-y; }
.fm-gallery-plate-dialog .fm-gallery-large img { max-height:calc(96dvh - 54px); cursor:zoom-in; user-select:none; }
.fm-gallery-plate-dialog .fm-gallery-large.is-zoomed img { transform:scale(2); cursor:zoom-out; }
.fm-gallery-plate-dialog .fm-gallery-caption,.fm-gallery-plate-dialog .fm-gallery-dialog-controls span { display:none; }
.fm-gallery-plate-dialog .fm-gallery-dialog-controls { justify-content:center; }
.fm-gallery-plate-dialog button { background:linear-gradient(155deg,#2b6382,#0e3a5b); border:1px solid #6ca6c6; border-radius:9px; }
@media (prefers-reduced-motion:no-preference) {
 .fm-gallery-plate-dialog .fm-gallery-large img { animation:none; transition:transform .22s ease; }
}
@media (prefers-reduced-motion: no-preference) {
  .fm-gallery-thumb { transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
  .fm-gallery-thumb:focus-visible { box-shadow: 0 0 0 2px #8ab6d2; }
  @media (hover: hover) {
    .fm-gallery-thumb:hover { transform: translateY(-2px); box-shadow: 0 6px 13px #0e3a5b3d; }
  }
  .fm-gallery-large > :is(img,video) { animation: fm-gallery-arrive .2s ease-out; }
  @keyframes fm-gallery-arrive {
    from { opacity: .55; transform: scale(.985); }
    to { opacity: 1; transform: none; }
  }
}
#brx-content .fm-gallery-concept-note {
  margin: 8px auto 4px;
  color: #526171;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
}
