/* morpho — czarno-biało, kamień, szeroka typografia. Źródło wyglądu: prototyp/ */
:root {
  --ink: #0b0b0b;
  --paper: #f4f3f0;
  --stone: #d9d8d4;
  --mute: #6d6c68;
  --line: #0b0b0b;
  --accent: #e8ff3a;      /* kreda w świetle czołówki — używane oszczędnie */
  --wide: "Archivo", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  display: flex; flex-direction: column; min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--wide);
  font-variation-settings: "wdth" 100;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* ziarno */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
main { flex: 1; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); }
.wide { font-variation-settings: "wdth" 125; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- pasek motta ---------- */
.ticker {
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .3em;
  overflow: hidden; white-space: nowrap; height: 28px; display: flex; align-items: center; justify-content: center; padding-left: .3em;
}

/* ---------- baner nagłówka ---------- */
.masthead {
  position: relative; height: clamp(150px, 22vw, 260px);
  background: #000 url("/img/naglowek-skala.jpg") left center / cover no-repeat;
  overflow: hidden;
}
.masthead::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.65));
}
.masthead__logo {
  position: absolute; right: clamp(24px, 9vw, 180px); top: 50%; transform: translateY(-50%);
  width: clamp(72px, 9vw, 112px); color: #fff;
  animation: rise .9s cubic-bezier(.2,.8,.2,1) both .1s;
}
.masthead__claim {
  position: absolute; left: var(--pad); bottom: 18px; color: rgba(255,255,255,.55);
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
}

/* ---------- menu ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav__links { display: flex; gap: clamp(16px, 3vw, 40px); list-style: none; flex: 1; }
.nav__links a {
  text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .04em;
  font-variation-settings: "wdth" 125; position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--ink);
  transition: right .25s ease;
}
.nav__links a:hover::after, .nav__links a[aria-current]::after { right: 0; }
.nav__icons { display: flex; gap: 6px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; position: relative; border-radius: 50%;
  transition: background .2s;
}
.icon-btn:hover { background: var(--stone); }
.icon-btn svg { width: 20px; height: 20px; }
.badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; border-radius: 9px;
  background: var(--ink); color: var(--paper); font: 600 10px/18px var(--mono); text-align: center; padding: 0 4px;
  transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1);
}
.badge.on { transform: scale(1); }
.nav__burger { display: none; }

@media (max-width: 820px) {
  .nav__burger { display: grid; }
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s ease, opacity .3s, visibility .3s;
  }
  .nav.open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links li { border-top: 1px solid var(--stone); }
  .nav__links a { display: block; padding: 18px var(--pad); font-size: 18px; }
  .nav .wrap { justify-content: space-between; }
}

/* ---------- nagłówki sekcji ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.sec-head {
  display: flex; align-items: baseline; gap: 16px;
  border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap;
}
.sec-head h2 {
  font-size: clamp(22px, 3vw, 34px); font-weight: 800; font-variation-settings: "wdth" 125;
  letter-spacing: -.01em; line-height: 1;
}
.sec-head .num { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.sec-head .more { margin-left: auto; font-family: var(--mono); font-size: 12px; text-decoration: none; }
.sec-head .more:hover { text-decoration: underline; }

/* ---------- siatka produktów ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

.card { text-decoration: none; display: block; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.card:nth-child(2) { animation-delay: .08s; } .card:nth-child(3) { animation-delay: .16s; }
.card__img {
  aspect-ratio: 4 / 4.3; background: var(--stone); overflow: hidden; position: relative;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .card__img img { transform: scale(1.06); }
.card__img::after {
  content: "ZOBACZ →"; position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: var(--paper); font: 600 12px/44px var(--mono); letter-spacing: .15em; text-align: center;
  transform: translateY(100%); transition: transform .3s ease;
}
.card:hover .card__img::after { transform: none; }
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--accent); font: 600 10px/1 var(--mono); letter-spacing: .12em; padding: 6px 8px;
}
.card__meta { text-align: center; padding-top: 16px; }
.card__kind { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.card__name { font-size: 22px; font-weight: 800; font-variation-settings: "wdth" 125; line-height: 1.2; margin: 2px 0 4px; }
.card__price { font-family: var(--mono); font-size: 14px; font-weight: 600; }

.card--soon .card__img { display: grid; place-items: center; background:
  repeating-linear-gradient(-45deg, var(--stone) 0 14px, #cfceca 14px 15px); }
.card--soon .card__img::after { content: "WKRÓTCE"; }
.card--soon .soon-mark { font: 800 64px/1 var(--wide); font-variation-settings: "wdth" 125; color: rgba(0,0,0,.12); }

/* ---------- baner reklamowy ---------- */
/* baner ma zawsze proporcje zdjęcia (--ratio) i pełną szerokość strony — widać całe zdjęcie
   na każdym ekranie, a logo i tekst skalują się razem z nim (vw) */
.promo {
  position: relative; aspect-ratio: var(--ratio, 1.85); color: #fff; overflow: hidden;
  display: flex; background: #000;
}
.promo__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,0) 55%); }
.promo--right::before { background: linear-gradient(270deg, rgba(0,0,0,.7), rgba(0,0,0,0) 55%); }
.promo__inner { z-index: 2; position: relative; width: 100%; padding: 5.5vw 6vw; display: flex; flex-direction: column; gap: 2vw; }
.promo--right .promo__inner { align-items: flex-end; text-align: right; }
.promo__logo { width: 7.5vw; color: #fff; margin-bottom: auto; }
.promo h3 {
  font-size: 2.4vw; line-height: 1; font-weight: 800;
  font-variation-settings: "wdth" 125; letter-spacing: -.01em; text-transform: uppercase; max-width: 21ch;
}
.promo h3 em { font-style: normal; color: var(--accent); }
.promo__link { position: absolute; inset: 0; z-index: 3; }
/* telefon: trochę większe logo i tekst, żeby dało się przeczytać */
@media (max-width: 600px) {
  .promo__inner { padding: 4vw 5vw; }
  .promo__logo { width: 9vw; }
  .promo h3 { font-size: 3.9vw; }
}

/* ---------- archiwum ---------- */
.archive { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); }
@media (max-width: 900px) { .archive { grid-template-columns: repeat(2, 1fr); } }
.archive a { display: block; }
.archive figure { background: var(--stone); aspect-ratio: 3/4; overflow: hidden; position: relative; }
.archive img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.archive a:hover img { transform: scale(1.03); }
.archive figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); font: 11px/1 var(--mono); padding: 7px 9px; letter-spacing: .1em; }
.archive .empty { background: transparent; border: 1px dashed #b5b4af; display: grid; place-items: center; cursor: default; font: 11px var(--mono); color: var(--mute); text-align: center; padding: 16px; }

/* ---------- stopka ---------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(40px, 5vw, 64px) 0; }
/* jak w layoucie: kolumny węższym blokiem na środku strony */
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(40px, 7vw, 100px); max-width: 920px; margin: 0 auto; }
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr; } }
.footer h4 {
  font: 400 12px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 10px; margin-bottom: 16px;
}
.footer h4 b { font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 4px; font-size: 10.5px; letter-spacing: .04em; }
.footer a { text-decoration: none; opacity: .8; } .footer a:hover { opacity: 1; text-decoration: underline; }
.footer .soc { display: flex; gap: 12px; }
.footer .soc a { width: 40px; height: 40px; display: block; opacity: .8; transition: opacity .2s; }
.footer .soc a:hover { opacity: 1; }
.footer .soc svg { width: 100%; height: 100%; }
/* pasek pod stopką: odrobinę jaśniejszy od stopki */
.madeby { background: #1f1f1e; color: var(--paper); padding: 12px 0; font: 400 11px var(--mono); letter-spacing: .06em; text-align: center; }
.madeby a { opacity: .8; } .madeby a:hover { opacity: 1; }

/* ---------- strona produktu ---------- */
.crumbs { font: 12px var(--mono); color: var(--mute); margin-bottom: 10px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.gallery__main { background: var(--stone); aspect-ratio: 1; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery__main .zoom-hint { position: absolute; right: 12px; bottom: 12px; background: var(--paper); font: 11px var(--mono); padding: 6px 8px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery__thumbs button { aspect-ratio: 1; background: var(--stone); outline: 1px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.gallery__thumbs button[aria-current="true"] { outline-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pinfo { position: sticky; top: 96px; }
.pinfo__kind { font-size: 14px; color: var(--mute); }
.pinfo h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 900; font-variation-settings: "wdth" 125; line-height: .95; letter-spacing: -.02em; margin: 6px 0 18px; }
.pinfo__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pinfo__price strong { font: 700 26px var(--mono); }
.pinfo__price span { font-size: 13px; color: var(--mute); }
.pinfo__lead { font-style: italic; font-size: 18px; margin: 22px 0; line-height: 1.4; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; padding: 16px 0; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.specs dt { font-weight: 700; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font: 600 12px var(--mono); letter-spacing: .1em; margin: 24px 0 10px; }
.field-label a { font-weight: 400; letter-spacing: 0; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; }
.sizes span {
  display: grid; place-items: center; min-width: 54px; height: 48px; padding: 0 12px;
  border: 1px solid var(--ink); font: 600 14px var(--mono); cursor: pointer; transition: background .15s, color .15s;
}
.sizes input:checked + span { background: var(--ink); color: var(--paper); }
.sizes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sizes input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.buy { display: flex; gap: 12px; margin-top: 24px; }
.qty { display: flex; border: 1px solid var(--ink); height: 56px; }
.qty button { width: 44px; font-size: 20px; }
.qty button:hover { background: var(--stone); }
.qty input { width: 44px; text-align: center; border: 0; background: transparent; font: 600 16px var(--mono); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; background: var(--ink); color: var(--paper);
  font-weight: 700; font-variation-settings: "wdth" 125; letter-spacing: .06em; font-size: 14px;
  text-decoration: none; transition: transform .15s, background .2s;
}
.btn:hover { background: #2a2a2a; }
.btn:active { transform: scale(.98); }
.btn--block { flex: 1; width: 100%; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--stone); }
.note { font: 12px var(--mono); color: var(--mute); margin-top: 12px; min-height: 1.5em; }
.note.err { color: #b3261e; }
.perks { list-style: none; display: grid; gap: 8px; margin-top: 24px; font-size: 13px; }
.perks li::before { content: "◆"; margin-right: 10px; font-size: 9px; vertical-align: 2px; }

/* ---------- wspólne: szuflada, nakładki ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 100;
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.drawer.on { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-weight: 800; font-variation-settings: "wdth" 125; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--stone); align-items: center; }
.line img { width: 72px; height: 72px; object-fit: cover; background: var(--stone); }
.line__name { font-weight: 700; font-size: 15px; }
.line__meta { font: 12px var(--mono); color: var(--mute); }
.line__ctrl { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-family: var(--mono); font-size: 13px; }
.line__ctrl button { width: 26px; height: 26px; border: 1px solid var(--stone); }
.line__ctrl .rm { width: auto; border: 0; text-decoration: underline; margin-left: 10px; color: var(--mute); }
.line__sum { font: 600 14px var(--mono); }
.empty-cart { padding: 48px 0; text-align: center; color: var(--mute); font-family: var(--mono); font-size: 13px; }
.totals { display: flex; justify-content: space-between; font: 600 15px var(--mono); }

.search {
  position: fixed; inset: 0 0 auto 0; z-index: 100; background: var(--ink); color: var(--paper);
  padding: 28px 0 36px; transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.search.on { transform: none; }
.search input {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--paper); color: var(--paper);
  font: 800 clamp(26px, 5vw, 52px) var(--wide); font-variation-settings: "wdth" 125; padding: 8px 0; outline: none;
}
.search input::placeholder { color: #555; }
.search__res { list-style: none; margin-top: 20px; display: grid; gap: 4px; font-family: var(--mono); font-size: 14px; }
.search__res a { text-decoration: none; display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #262626; }
.search__res a:hover { color: var(--accent); }
.search__close { position: absolute; right: var(--pad); top: 12px; font: 12px var(--mono); color: #999; }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8,8,8,.96); display: none; place-items: center; }
.lightbox.on { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; animation: zoom .3s ease both; }
.lightbox button { position: absolute; color: #fff; font: 13px var(--mono); padding: 14px; }
.lightbox .x { top: 10px; right: 10px; } .lightbox .prev { left: 6px; top: 50%; font-size: 28px; } .lightbox .next { right: 6px; top: 50%; font-size: 28px; }
.lightbox .cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #aaa; font: 12px var(--mono); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--paper); padding: 14px 20px; font: 13px var(--mono);
  transition: transform .35s cubic-bezier(.3,1.4,.5,1); display: flex; gap: 16px; align-items: center;
}
.toast.on { transform: translate(-50%, 0); }
.toast a { color: var(--accent); }

/* ---------- strony tekstowe ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 0; }
.page-hero h1 { font-size: clamp(44px, 9vw, 120px); font-weight: 900; font-variation-settings: "wdth" 125; line-height: .88; letter-spacing: -.03em; text-transform: uppercase; }
.prose { max-width: 68ch; font-size: 17px; }
.prose h2 { font-size: 20px; font-weight: 800; font-variation-settings: "wdth" 125; margin: 40px 0 10px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 20px; }
.todo { background: var(--accent); font: 12px var(--mono); padding: 2px 6px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* formularze */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.form input, .form textarea, .form select {
  font: 400 16px var(--wide); text-transform: none; letter-spacing: 0;
  border: 1px solid var(--ink); background: #fff; padding: 12px 14px; border-radius: 0; width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font: 400 13px var(--wide) !important; }
.check input { width: auto; margin-top: 3px; }

.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { padding: 14px 20px; font-weight: 700; font-variation-settings: "wdth" 125; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--mute); }
.tabs button[aria-selected="true"] { border-color: var(--ink); color: var(--ink); }

/* checkout */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
.checkout > *, .product > *, .two-col > * { min-width: 0; }
.step { border-top: 1px solid var(--line); padding: 24px 0 32px; }
.step__title { display: flex; gap: 14px; align-items: baseline; margin-bottom: 18px; }
.step__title .n { font: 12px var(--mono); color: var(--mute); }
.step__title h2 { font-size: 20px; font-weight: 800; font-variation-settings: "wdth" 125; }
.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--stone); padding: 16px; cursor: pointer; background: #fff; transition: border-color .2s; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input { accent-color: var(--ink); width: 18px; height: 18px; }
.opt b { font-variation-settings: "wdth" 115; }
.opt small { display: block; color: var(--mute); font-size: 13px; }
.opt .price { font: 600 14px var(--mono); }
.locker { margin-top: 12px; border: 1px solid var(--ink); background: #fff; }
.locker__map {
  height: 180px; position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(0,0,0,.06) 1px, transparent 1px) 0 0 / 24px 24px, #efeeea;
}
.locker__map i { position: absolute; width: 14px; height: 14px; background: #ffcd00; border: 2px solid var(--ink); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.locker__map .chosen { background: var(--ink); width: 18px; height: 18px; }
.locker__map span { position: absolute; left: 10px; top: 10px; font: 10px var(--mono); background: #fff; padding: 4px 6px; }
.locker ul { list-style: none; max-height: 210px; overflow: auto; }
.locker li button { width: 100%; text-align: left; padding: 12px 14px; border-top: 1px solid var(--stone); display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.locker li button:hover, .locker li button[aria-pressed="true"] { background: var(--stone); }
.locker li b { font: 600 13px var(--mono); grid-row: span 2; align-self: center; }
.locker li small { color: var(--mute); }
.locker input { width: 100%; border: 0; border-bottom: 1px solid var(--ink); padding: 12px 14px; font: 15px var(--wide); background: #fff; }
.summary { background: #fff; border: 1px solid var(--ink); padding: 24px; position: sticky; top: 96px; }
.summary h2 { font-size: 18px; font-weight: 800; font-variation-settings: "wdth" 125; margin-bottom: 8px; }
.summary .totals { padding: 8px 0; font-weight: 400; font-size: 13px; }
.summary .totals.grand { border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 18px; }
.done { text-align: center; padding: 40px 0 80px; }
.done .big { font-size: clamp(48px, 9vw, 110px); font-weight: 900; font-variation-settings: "wdth" 125; line-height: .9; letter-spacing: -.03em; }
.mail-preview { max-width: 520px; margin: 32px auto 0; text-align: left; border: 1px solid var(--ink); background: #fff; font-size: 14px; }
.mail-preview header { background: var(--ink); color: var(--paper); padding: 10px 14px; font: 11px var(--mono); }
.mail-preview div { padding: 18px; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes zoom { from { opacity: 0; transform: scale(.96); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ======================================================================
   Dodatki dla sklepu (szablony PHP)
   ====================================================================== */
.icon-btn { text-decoration: none; }
.nav__admin {
  align-self: center; margin-right: 6px; border: 1px solid var(--ink); background: var(--accent);
  font: 600 11px/24px var(--mono); letter-spacing: .1em; padding: 0 8px; text-decoration: none; transition: background .2s, color .2s;
}
.nav__admin:hover { background: var(--ink); color: var(--accent); }
.nav__lang { align-self: center; display: flex; border: 1px solid var(--ink); margin-right: 6px; }
.nav__lang > * { font: 600 11px/24px var(--mono); letter-spacing: .1em; padding: 0 7px; text-decoration: none; transition: background .2s; }
.nav__lang [aria-current] { background: var(--ink); color: var(--paper); }
.nav__lang a:hover { background: var(--stone); }

/* komunikaty (FlashBag) */
.flashes { position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 130; display: grid; gap: 8px; width: min(560px, calc(100% - 32px)); }
.flash {
  background: var(--ink); color: var(--paper); padding: 14px 44px 14px 18px; font: 13px/1.4 var(--mono); position: relative;
  animation: rise .4s cubic-bezier(.2,.8,.2,1) both;
}
.flash--success { border-left: 6px solid var(--accent); }
.flash--error { border-left: 6px solid #ff5a4e; }
.flash button { position: absolute; right: 10px; top: 10px; color: var(--paper); font-size: 14px; }
.flash.out { opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s; }

/* paginacja */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 48px; font: 600 13px var(--mono); }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ink); text-decoration: none; }
.pager a.on, .pager a:hover { background: var(--ink); color: var(--paper); }

/* treść z edytora (strony CMS, opis produktu) */
.prose img { height: auto; margin: 20px 0; }
.prose a { text-decoration: underline; }
.prose table { border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--stone); padding: 6px 10px; text-align: left; }
.prose strong { font-weight: 700; }
.prose h1, .prose h3 { font-weight: 800; font-variation-settings: "wdth" 125; margin: 32px 0 10px; }
.pinfo__lead p { margin: 0; }
.pdesc { margin-top: clamp(40px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.soldout { display: inline-block; background: var(--ink); color: var(--paper); font: 600 12px var(--mono); padding: 8px 12px; letter-spacing: .1em; margin-top: 24px; }
.card__price del, .pinfo__price del { color: var(--mute); font-weight: 400; margin-right: 6px; }
.lowest { display: block; font: 11px var(--mono); color: var(--mute); margin-top: 4px; }

/* koszyk */
.cart { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .cart { grid-template-columns: 1fr; } }
.cart > * { min-width: 0; }
.cart .line { grid-template-columns: 96px 1fr auto; }
.cart .line img { width: 96px; height: 96px; }
.line__ctrl a { width: 28px; height: 28px; border: 1px solid var(--stone); display: grid; place-items: center; text-decoration: none; }
.line__ctrl a:hover { border-color: var(--ink); }
.line__ctrl .rm { width: auto; border: 0; text-decoration: underline; margin-left: 10px; color: var(--mute); }
.line__sum del { display: block; color: var(--mute); font-weight: 400; font-size: 12px; }
.cart__clear { font: 12px var(--mono); color: var(--mute); display: inline-block; margin-top: 16px; }
.coupon { display: flex; gap: 8px; margin-top: 8px; }
.coupon input { flex: 1; min-width: 0; border: 1px solid var(--ink); padding: 0 12px; font: 15px var(--mono); height: 48px; background: #fff; }
.coupon .btn { height: 48px; padding: 0 18px; }
.summary .hint { font: 12px var(--mono); color: var(--mute); margin-top: 10px; }

/* kasa */
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b0b0b' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
.form small { font: 400 12px var(--wide); text-transform: none; letter-spacing: 0; color: var(--mute); }
#inpost-container { margin-top: 12px; border: 1px solid var(--ink); background: #fff; }
.req { color: #b3261e; }
.btn:disabled { opacity: .5; cursor: progress; }

/* galeria sklepu: miniatury mogą być różne w liczbie */
.gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
.gallery__main[data-empty] { cursor: default; display: grid; place-items: center; font: 12px var(--mono); color: var(--mute); }

/* galeria archiwum (/archiwum): duża grafika w całości, miniatury pod opisem */
.archive-page .gallery__main { aspect-ratio: 3/4; }
.archive-page .gallery__main img { object-fit: contain; }
.archive-page .gallery__thumbs { margin-top: 28px; }
.archive-page .gallery__thumbs button { aspect-ratio: 3/4; }

/* błędy, podziękowanie */
.big-msg { font-size: clamp(48px, 10vw, 128px); font-weight: 900; font-variation-settings: "wdth" 125; line-height: .88; letter-spacing: -.03em; text-transform: uppercase; }
