/* Controls overlay the existing catalog picture without changing its ratio,
   intercepting taps elsewhere on the picture, or styling unrelated galleries. */
[data-like-product] [data-like-gallery] .lmpc-gallery-stage { position: relative; isolation: isolate; }
[data-like-product] .lmpc-gallery-nav { position: absolute; inset: 0; pointer-events: none; }
[data-like-product] .lmpc-gallery-nav[hidden] { display: none !important; }
[data-like-product] .lmpc-gallery-nav button {
    position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto;
    display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px;
    margin: 0; padding: 0; border: 1px solid #fff; border-radius: 50%;
    background: #203c45; color: #fff; cursor: pointer; box-shadow: 0 1px 5px #172d3c40;
}
[data-like-product] .lmpc-gallery-prev { left: 8px; }
[data-like-product] .lmpc-gallery-next { right: 8px; }
[data-like-product] .lmpc-gallery-nav button::before {
    content: ""; display: block; box-sizing: border-box; width: 12px; height: 12px;
    border: solid currentColor; border-width: 2.5px 2.5px 0 0;
}
[data-like-product] .lmpc-gallery-prev::before { transform: translateX(2px) rotate(-135deg); }
[data-like-product] .lmpc-gallery-next::before { transform: translateX(-2px) rotate(45deg); }
[data-like-product] .lmpc-gallery-nav button:hover { background: #354f58; }
[data-like-product] .lmpc-gallery-nav button:focus-visible { outline: 3px solid #b33a2c; outline-offset: 2px; }
[data-like-product] .lmpc-gallery-count {
    position: absolute; bottom: 8px; right: 8px; border-radius: 1em;
    padding: 2px 9px; color: white; background: #233942e8; font: 600 13px/1.5 system-ui,sans-serif;
    font-variant-numeric: tabular-nums;
}
[data-like-product] .lmpc-gallery-announcement {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}
