/* PATCH142 – kratšie náhľady a lightbox v štýle existujúcej galérie KREOBETON. */
.guide-mode-grid {gap:16px}
.guide-mode-card {display:flex;flex-direction:column;gap:12px}
.guide-mode-copy {min-height:0}
.guide-mode-card .guide-screenshot {margin-top:auto;width:100%;box-sizing:border-box}
.guide-screenshot-trigger {display:block;position:relative;width:100%;min-width:0;padding:0;background:transparent;border:0;border-radius:8px;overflow:hidden;text-align:left;cursor:zoom-in}
.guide-screenshot-trigger .guide-screenshot-frame {border-radius:8px}
.guide-screenshot-trigger:hover .guide-screenshot-frame {border-color:#a75132}
.guide-screenshot-trigger:focus-visible {outline:3px solid #3e746d;outline-offset:3px}
.guide-screenshot-zoom {position:absolute;right:9px;bottom:9px;display:flex;align-items:center;gap:6px;padding:6px 9px;border-radius:6px;color:#fff;background:#24211edb;box-shadow:0 3px 10px #0003;font-size:.78rem;font-weight:700;line-height:1;pointer-events:none}
.guide-screenshot-zoom>span {font-size:.72rem}
.guide-screenshot-trigger:hover .guide-screenshot-zoom {background:#a75132}
.guide-step>.guide-screenshot {width:100%}
.guide-step-portrait {align-items:center}
.guide-step-portrait>.guide-screenshot {max-width:480px;justify-self:center}
.guide-checkout-shots .guide-screenshot {width:100%;box-sizing:border-box}
.guide-lightbox {width:min(96vw,1800px)}
.guide-lightbox-inner {min-width:0}
.guide-lightbox-figure {min-width:0}
.guide-lightbox-scroll {display:flex;align-items:flex-start;justify-content:center;max-width:100%;max-height:calc(94dvh - 108px);min-width:0;overflow:auto;overscroll-behavior:contain;border-radius:6px}
.guide-lightbox-scroll.is-zoomed {justify-content:flex-start}
.guide-lightbox-viewport {position:relative;display:block;overflow:hidden;max-width:none;border-radius:6px;background:#faf8f6;flex:none}
.guide-lightbox-viewport img {position:absolute;display:block;width:auto;height:auto;max-width:none;max-height:none;object-fit:initial;user-select:none;pointer-events:none}
.guide-lightbox-figure figcaption {padding:4px 8px;line-height:1.45}
.guide-lightbox-zoom-toggle {position:absolute;z-index:2;top:9px;left:14px;min-width:76px;padding:7px 12px;border-radius:18px;background:#ffffff25;font-size:.82rem!important;font-weight:700!important}
.guide-lightbox-zoom-toggle:hover,.guide-lightbox-zoom-toggle[aria-pressed="true"] {background:#ffffff45}
@media(max-width:650px) {
    .guide-mode-grid {gap:13px}
    .guide-mode-card {gap:8px}
    .guide-lightbox {width:100vw}
    .guide-lightbox-scroll {max-height:calc(100dvh - 114px)}
    .guide-lightbox-zoom-toggle {left:7px}
    .guide-step-portrait {align-items:stretch}
    .guide-screenshot-zoom {padding:6px 8px}
}
