/* Wspólne elementy wszystkich wariantów */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
section[id] { scroll-margin-top: 80px; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px; background: #000; color: #fff; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Wizualizacje produktów - tło studyjne (jasna cyklorama z delikatną podłogą) */
.shot img, .thumbs img {
  background:
    radial-gradient(60% 45% at 50% 64%, rgba(255,255,255,.95), rgba(255,255,255,0) 72%),
    linear-gradient(180deg, #ffffff 0%, #f5f7f9 50%, #e8ecf0 100%);
}

/* Sposób montażu (słupki / podmurówka z łącznikami / murowane) */
.mounts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: .8rem; }
.mounts span { color: var(--muted, #667); margin-right: 2px; }
.mounts button { font: inherit; font-weight: 600; padding: 7px 12px; border-radius: var(--ui-radius, 999px); border: 1px solid var(--line, #dde); background: #fff; color: var(--ink, #111); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mounts button:hover { border-color: var(--ui-accent, #111); }
.mounts button[aria-pressed="true"] { background: var(--ui-accent, #111); border-color: var(--ui-accent, #111); color: var(--ui-accent-ink, #fff); }

/* Wykończenie stali - koszt a trwałość */
.finish { margin-top: 56px; }
.finish__head { max-width: 720px; }
.finish__title { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.finish__head p { color: var(--muted, #667); }
.finish__scale { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; font-size: .78rem; font-weight: 600; color: var(--muted, #667); text-transform: uppercase; letter-spacing: .08em; }
.finish__scale i { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--line, #dde), var(--meter, #f07a2a)); position: relative; }
.finish__scale i::after { content: ""; position: absolute; right: -2px; top: -4px; border: 6px solid transparent; border-left: 8px solid var(--meter, #f07a2a); border-right: 0; }
.finish__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .finish__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .finish__grid { grid-template-columns: 1fr; } }
.finish__card { position: relative; background: #fff; border: 1px solid var(--line, #dde); border-radius: var(--card-radius, 14px); padding: 22px 20px 18px; display: flex; flex-direction: column; }
.finish__card:last-child { border-color: var(--meter, #f07a2a); box-shadow: 0 0 0 1px var(--meter, #f07a2a); }
.finish__no { font-size: .75rem; font-weight: 700; color: var(--meter, #f07a2a); letter-spacing: .1em; }
.finish__card h3 { margin: 6px 0 8px; }
.finish__card p { font-size: .9rem; color: var(--muted, #667); margin: 0 0 16px; flex: 1; }
.finish__card dl { margin: 0; display: grid; gap: 8px; }
.finish__card dl div { display: grid; grid-template-columns: 76px 1fr; align-items: center; font-size: .8rem; }
.finish__card dt { color: var(--muted, #667); }
.finish__card dd { margin: 0; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.meter i { height: 8px; border-radius: 2px; background: var(--line, #e4e6ea); }
.meter[style*="--v:1"] i:nth-child(-n+1), .meter[style*="--v:2"] i:nth-child(-n+2),
.meter[style*="--v:3"] i:nth-child(-n+3), .meter[style*="--v:4"] i:nth-child(-n+4) { background: var(--meter, #f07a2a); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 10, 12, .92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 16px 24px; }
.lightbox img { max-height: calc(100vh - 120px); max-width: min(1200px, 100%); width: auto; object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: #e8e8e8; font: 500 15px/1.4 system-ui, sans-serif; text-align: center; }
.lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255,255,255,.25); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
