/* Local preview: quiet product links and native-dialog photo viewing. */
.business{margin-top:20px}
.footer{justify-content:center;text-align:center;column-gap:18px;row-gap:5px;font-size:10px}
.footer a{text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.footer a[href="/darmowa-strona"]{color:var(--primary);font-size:11px;font-weight:700;text-decoration:underline}
.claim-invite{text-align:center;margin:0 auto 12px;font-size:13px;line-height:1.45}
.claim-invite a{color:var(--primary);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.claim-invite a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.details-grid.one-column{grid-template-columns:minmax(0,1fr)}
.gallery [data-gallery-item]{display:block;cursor:zoom-in}
.gallery [data-gallery-item][hidden]{display:none}
.gallery [data-gallery-item]:hover img{filter:brightness(.93)}
.gallery[data-gallery-initial="4"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.gallery[data-gallery-initial="4"] [data-gallery-item]:first-child{grid-column:1/-1}
.gallery[data-gallery-initial="4"] img{aspect-ratio:1}
.gallery[data-gallery-initial="4"] [data-gallery-item]:first-child img{aspect-ratio:2.1}
.gallery.count-1{grid-template-columns:minmax(0,1fr)}
.gallery.odd:not(.count-1)[data-gallery-initial="0"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery.odd:not(.count-1)[data-gallery-initial="0"] [data-gallery-item]:first-child{grid-column:1/-1}
.gallery.odd:not(.count-1)[data-gallery-initial="0"] [data-gallery-item]:first-child img{aspect-ratio:2.1}
.gallery[data-gallery-expanded="1"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery[data-gallery-expanded="1"] [data-gallery-item]:first-child{grid-column:auto}
.gallery[data-gallery-expanded="1"] img{aspect-ratio:4/3}
.gallery.odd[data-gallery-expanded="1"] [data-gallery-item]:first-child{grid-column:1/-1}
.gallery.odd[data-gallery-expanded="1"] [data-gallery-item]:first-child img{aspect-ratio:2.1}
.gallery-reveal{display:block;margin:14px auto 0;padding:9px 15px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--primary);font-size:13px;font-weight:700}
.gallery-reveal:hover{background:var(--background)}
.gallery-reveal:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.gallery-viewer{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:12px 14px 18px;border:1px solid #ffffff30;border-radius:12px;background:#241c18;color:#fff9f2;box-shadow:0 24px 80px #0008;overflow:hidden}
.gallery-viewer::backdrop{background:#170f0be0}
.gallery-viewer-bar{display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:0 4px 8px;font-size:12px;color:#fff9f2ba}
.gallery-viewer button{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:8px;background:transparent;color:#fff9f2;font:inherit;cursor:pointer}
.gallery-viewer button:hover{background:#fff9f224}
.gallery-viewer button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.gallery-viewer-close{font-size:28px!important;line-height:1}
.gallery-viewer-stage{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:8px}
.gallery-viewer-stage img{display:block;width:100%;height:auto;max-height:calc(100dvh - 122px);object-fit:contain;justify-self:center}
.gallery-viewer-prev,.gallery-viewer-next{font-size:35px!important;line-height:1}
@media(max-width:600px){.business{margin-top:12px}.footer{column-gap:12px}.gallery[data-gallery-initial="4"] [data-gallery-item]:first-child img,.gallery.odd:not(.count-1)[data-gallery-initial="0"] [data-gallery-item]:first-child img,.gallery.odd[data-gallery-expanded="1"] [data-gallery-item]:first-child img{aspect-ratio:1.7}.gallery-viewer{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:8px 6px 12px}.gallery-viewer-stage{grid-template-columns:32px minmax(0,1fr) 32px;gap:2px}.gallery-viewer-stage img{max-height:calc(100dvh - 98px)}.gallery-viewer button{width:32px;height:38px}}
