/* MilitariaRadar — wygląd „Radar” (decyzja Łukasza 06.11.2026, makieta B; wcześniejszy jasny wygląd był zbyt podobny
   do Militaria Central). Ciemna oliwka z logo + mosiądz; zieleń sygnału tylko dla statusu i radaru.
   Jasne wstawki (klasa .light): dolna część karty oferty i strony z dłuższym tekstem — łamią ciemność i lepiej się czytają.
   Kolory jako znaczenia (--bg, --surface, --text…), żeby .light mogło je podmienić w swoim obszarze. */
:root {
  --bg: #11170F;
  --surface: #182016;
  --surface-2: #1F291C;
  --surface-3: #26321F;
  --head-bg: #0D120B;
  --text: #E4E8DA;
  --muted: #A2AE93;
  --faint: #76816B;
  --line: #2D3A28;
  --line-2: #3B4A34;
  --brass: #D6AC52;
  --brass-hi: #E8C46E;
  --brass-deep: #9C7A2C;
  --on-brass: #1A1406;
  --link: #D6AC52;
  --link-hover: #EECB7C;
  --signal: #86B86C;
  --signal-rgb: 134, 184, 108;
  --warn: #E2A84A;
  --bad: #DE7166;
  --thumb-bg: #FFFFFF;
  --radius: 10px;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --cond: var(--sans);
  color-scheme: dark;
}
.light {
  --bg: #ECEFE8;
  --surface: #FFFFFF;
  --surface-2: #F4F6F1;
  --surface-3: #E5E9E0;
  --text: #1A1E16;
  --muted: #535B4B;
  --faint: #7D8573;
  --line: #D5DACE;
  --line-2: #C3C9BB;
  --link: #7A520A;
  --link-hover: #4F3505;
  --signal: #2E7D32;
  --warn: #A65400;
  --bad: #A3302A;
  color-scheme: light;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
img { max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brass); color: var(--on-brass); padding: 8px 14px; border-radius: var(--radius); z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.flag { display: inline-block; width: 18px; height: 13px; border-radius: 2px; object-fit: cover; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* Nagłówek */
.site-head { background: var(--head-bg); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; min-height: 72px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { display: block; height: 40px; width: auto; }
.head-search { flex: 1 1 240px; display: flex; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.head-search input { flex: 1; min-width: 0; min-height: 44px; padding: 0 18px; font: 400 15px var(--sans); border: 0; background: transparent; color: var(--text); }
.head-search input::placeholder, .hero-search input::placeholder { color: var(--faint); }
.icon-btn { width: 52px; min-height: 44px; border: 0; background: var(--brass); color: var(--on-brass); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 1240px) { .site-head .wrap { gap: 12px 18px; } .nav { gap: 4px 12px; } .seg a { min-width: 44px; } }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass-hi); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.seg a { min-height: 38px; min-width: 50px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; font: 500 13px var(--sans); }
.seg a[aria-current="true"] { background: var(--surface-3); color: var(--brass-hi); }
.seg a:hover { color: var(--text); }

/* Przyciski i chipy */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px var(--sans); text-decoration: none; border: 0; cursor: pointer; }
.btn-brass { background: var(--brass); color: var(--on-brass); }
.btn-brass:hover { background: var(--brass-hi); color: var(--on-brass); }
.btn-olive { background: var(--surface-3); color: var(--text); border: 1px solid var(--line-2); }
.btn-olive:hover { border-color: var(--brass); color: var(--text); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--surface); color: var(--text); min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-ghost:hover { border-color: var(--brass); color: var(--text); }
/* przejście do sklepu: mosiężna pigułka z flagą kraju sklepu i strzałką „na zewnątrz” */
.btn-shop { background: var(--brass); color: var(--on-brass); min-height: 56px; padding: 0 28px; font-size: 17px; align-self: flex-start; box-shadow: 0 6px 24px rgba(214,172,82,.18); }
.btn-shop:hover { background: var(--brass-hi); color: var(--on-brass); }
.btn-shop .flag { width: 22px; height: 16px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-chips > span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--surface); color: var(--text); font: 500 14px var(--sans); text-decoration: none; }
.chip:hover { border-color: var(--brass); color: var(--text); }
.chip-dark { background: transparent; }
.chip-on { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.chip-on:hover { background: var(--brass-hi); color: var(--on-brass); }
.chip .n { font: 500 12px var(--mono); color: var(--muted); }
.chip-on .n { color: var(--on-brass); }

/* Strona główna — nagłówek z filmem (Higgsfield) i radarem, który „wyłapuje” najnowsze oferty */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: 56px 0 48px; isolation: isolate; }
.hero-video { position: absolute; inset: 0 0 0 auto; width: min(100%, 1400px); height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; opacity: .9; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(17,23,15,.94) 34%, rgba(17,23,15,.55) 62%, rgba(17,23,15,.35) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 22%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; align-items: center; }
.hero h1 { margin: 0 0 16px; font: 600 50px/1.08 var(--sans); letter-spacing: -0.015em; color: var(--text); max-width: 15ch; text-wrap: balance; }
.hero p { margin: 0 0 24px; font-size: 18px; color: #C5CCB8; max-width: 52ch; }
.hero-search { display: flex; max-width: 640px; background: rgba(31,41,28,.92); border: 1px solid #4A5A40; border-radius: 999px; overflow: hidden; }
.hero-search input { flex: 1; min-width: 0; min-height: 58px; padding: 0 24px; font: 400 17px var(--sans); border: 0; background: transparent; color: var(--text); }
.hero-search .btn { border-radius: 0; min-height: 58px; padding: 0 28px; }
.hero .hero-chips { margin-top: 16px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 26px; font-size: 15px; color: var(--muted); }
.stats strong { display: block; font: 600 28px/1.1 var(--sans); color: var(--text); }
.scope { position: relative; width: 440px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,38,24,.82) 0%, rgba(20,28,18,.86) 62%, rgba(16,22,14,.92) 100%);
  box-shadow: inset 0 0 0 1px #3A4A33, 0 0 0 10px rgba(13,18,11,.85), 0 0 0 11px var(--line); backdrop-filter: blur(2px); }
.scope .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(162,174,147,.18); }
.scope .r2 { inset: 14%; } .scope .r3 { inset: 28%; } .scope .r4 { inset: 42%; }
.scope .cross { position: absolute; inset: 0; }
.scope .cross::before, .scope .cross::after { content: ""; position: absolute; background: rgba(162,174,147,.15); }
.scope .cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.scope .cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.scope .sweep { position: absolute; inset: 0; border-radius: 50%; animation: spin 6s linear infinite;
  background: conic-gradient(from 0deg, rgba(var(--signal-rgb),.34), rgba(var(--signal-rgb),0) 60deg, transparent 360deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; overflow: hidden; background: var(--thumb-bg);
  box-shadow: 0 0 0 2px var(--signal), 0 0 18px rgba(var(--signal-rgb),.55); opacity: 0; animation: ping 6s linear infinite; animation-delay: var(--d); }
.blip img { width: 100%; height: 100%; object-fit: contain; display: block; }
.blabel { position: absolute; font: 500 12px var(--sans); color: var(--text); background: rgba(13,18,11,.88); border: 1px solid var(--line-2); padding: 2px 9px; border-radius: 10px; white-space: nowrap; opacity: 0; animation: ping 6s linear infinite; animation-delay: var(--d); text-decoration: none; }
a.blabel:hover { color: var(--brass-hi); }
@keyframes ping { 0%, 4% { opacity: 0; transform: scale(.6); } 8% { opacity: 1; transform: scale(1.06); } 12% { transform: scale(1); } 70% { opacity: 1; } 90%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scope .sweep, .target .sweep { animation: none; } .blip, .blabel { animation: none; opacity: 1; } .hero-video { display: none; } }

/* Kategorie ze zdjęciami (Higgsfield, jeden styl: przedmioty na zielonym suknie w świetle radaru) */
.cat-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 14px 16px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
  background: var(--surface) center / cover no-repeat; border: 1px solid var(--line); isolation: isolate; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,18,11,0) 30%, rgba(13,18,11,.92) 100%); }
.cat::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; z-index: -1; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(var(--signal-rgb),.22), transparent); }
.cat:hover { color: var(--text); border-color: var(--brass); }
.cat:hover::after { animation: scan 1.1s ease-out; }
@keyframes scan { 0% { top: -40%; opacity: 1; } 100% { top: 100%; opacity: 0; } }
.cat-name { font: 600 18px/1.2 var(--sans); }
.cat-n { font-size: 13px; color: var(--brass-hi); margin-top: 2px; }

/* Sekcje */
.section { padding-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.section h2, .h2 { margin: 0; font: 600 30px/1.15 var(--sans); letter-spacing: -0.01em; }
.lead { margin: 0; color: var(--muted); }
.grid-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.grid-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.grid-shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

/* „Ostatnie namiary” — lista, w której co kilka sekund pojawia się kolejna oferta, obok pionowa reklama */
.live { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.feed { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feed li { display: grid; grid-template-columns: 96px 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feed li[hidden] { display: none; }
.feed li.in { animation: slidein .7s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px); background: rgba(var(--signal-rgb),.12); } to { opacity: 1; transform: none; } }
.feed .when { font-size: 13px; color: var(--muted); }
.feed .th { width: 64px; height: 64px; background: var(--thumb-bg); border-radius: 8px; overflow: hidden; display: block; }
.feed .th img { width: 100%; height: 100%; object-fit: contain; display: block; }
.feed .t { font-weight: 500; line-height: 1.35; color: var(--text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed .t:hover { color: var(--brass-hi); }
.feed .s { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.feed .p { font: 600 18px var(--sans); color: var(--brass); white-space: nowrap; }
.monitor { margin: 0; background: var(--head-bg); border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: 0 0 0 6px var(--surface); }
.monitor video { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 10px; background: #000; }
.monitor figcaption { margin: 10px 4px 2px; font-size: 13px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .feed li.in { animation: none; } }

/* Karta oferty (kafelek) */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.card:hover { border-color: var(--line-2); }
.thumb { position: relative; display: block; aspect-ratio: 4/3; background: var(--thumb-bg); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb-label { position: absolute; left: 10px; bottom: 8px; font: 500 11px/1 var(--mono); color: #4A5042; background: #F4F5EF; padding: 4px 6px; border-radius: 3px; }
.badge { position: absolute; left: 10px; top: 10px; background: var(--brass); color: var(--on-brass); font: 600 12px/1 var(--sans); padding: 5px 9px; border-radius: 999px; }
.badge-status { position: absolute; right: 10px; top: 10px; background: #1A1E16; color: #fff; font: 600 12px/1 var(--sans); padding: 5px 9px; border-radius: 999px; }
.card-body { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.ctitle { color: var(--text); font-weight: 500; font-size: 15px; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.ctitle:hover { color: var(--brass-hi); }
.light .ctitle:hover { color: var(--link); text-decoration: underline; }
.ctype { font-size: 13px; color: var(--signal); font-weight: 500; }
.cmeta { display: flex; align-items: center; gap: 2px 6px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.cmeta .shop { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cmeta .when { flex-basis: 100%; }
.dot { width: 8px; height: 8px; border-radius: 4px; flex: none; background: var(--signal); }
.dot.stale { background: var(--warn); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.price strong { font: 600 21px var(--sans); color: var(--brass); }
.light .price strong { color: var(--text); }
.price .native { font: 500 13px var(--mono); color: var(--muted); }
.price .onreq { font: 500 16px var(--sans); color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 6px; }
.card-foot a { font-size: 14px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.card-foot .to-shop { gap: 4px; color: var(--muted); }
.card-foot .to-shop:hover { color: var(--link-hover); }

/* Kafelki kategorii (strona kategorii) i sklepów */
.tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.tile:hover { border-color: var(--brass); color: var(--text); }
.tile.featured { border-color: var(--line-2); }
.tile-name { font: 600 19px var(--sans); }
.tile-sub { font-size: 14px; color: var(--muted); }
.tile-n { font: 500 13px var(--sans); color: var(--brass); margin-top: 4px; }
.shop-tile { flex-direction: row; align-items: center; gap: 14px; }
.initials { width: 48px; height: 48px; flex: none; border-radius: 24px; background: var(--surface-3); display: inline-flex; align-items: center; justify-content: center; font: 600 16px var(--sans); color: var(--brass); }

/* Wyniki i filtry */
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.results-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.filters { flex: 1 1 260px; max-width: 300px; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px 20px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.filters-head strong { font: 600 19px var(--sans); }
.fgroup { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.fgroup h3, .fgroup legend { margin: 0 0 4px; padding: 0; font: 600 16px var(--sans); }
fieldset.fgroup { border: 0; border-top: 1px solid var(--line); margin: 0; min-width: 0; padding: 14px 0; }
fieldset.fgroup legend { float: left; width: 100%; }
fieldset.fgroup legend + * { clear: both; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 15px; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--brass); flex: none; }
.opt .cnt { margin-left: auto; font: 500 12px var(--mono); color: var(--muted); }
.opt.sub { padding-left: 18px; font-size: 14px; }
.field { min-height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; font: 400 15px var(--sans); background: var(--surface-2); color: var(--text); width: 100%; }
.results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.results h1 { margin: 0; font: 600 36px/1.12 var(--sans); letter-spacing: -0.01em; }
.results-sub { margin: 6px 0 0; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar .sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.toolbar .sort select { width: auto; }
.empty-state { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.filters-toggle { display: none; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; padding-top: 16px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 500; }
.pagination a:hover { border-color: var(--brass); }
.pagination [aria-current="page"] { background: var(--brass); color: var(--on-brass); border-color: var(--brass); }
.pagination .disabled { color: var(--faint); }
.note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }

/* Karta oferty (strona): u góry ciemno — przedmiot w celowniku radaru; niżej jasny „arkusz” z metryczką i opisem */
.offer-top { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; align-items: start; }
.offer-media { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.target { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; }   /* obracana wiązka nie wystaje poza koło (telefon: poziomy pasek) */
.target .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(162,174,147,.16); }
.target .t1 { inset: 0; } .target .t2 { inset: 9%; }
.target .cross { position: absolute; inset: 0; }
.target .cross::before, .target .cross::after { content: ""; position: absolute; background: rgba(162,174,147,.12); }
.target .cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.target .cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.target .sweep { position: absolute; inset: 0; border-radius: 50%; animation: spin 8s linear infinite;
  background: conic-gradient(from 0deg, rgba(var(--signal-rgb),.18), rgba(var(--signal-rgb),0) 50deg, transparent 360deg); }
.target .thumb { position: relative; width: 66%; aspect-ratio: 1; border-radius: 12px; padding: 12px; box-shadow: 0 0 0 1px var(--signal), 0 22px 60px rgba(0,0,0,.6); }
.target .thumb.empty { background: radial-gradient(circle at 50% 42%, #F8F8F3 0, #E8EADF 75%); }
.media-note { margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.offer-info { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.offer-info h1 { margin: 0; font: 600 36px/1.18 var(--sans); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); border: 1px solid var(--line-2); padding: 4px 12px; border-radius: 16px; }
.badge-inline { background: var(--brass); color: var(--on-brass); font: 600 13px/1 var(--sans); padding: 6px 10px; border-radius: 999px; }
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 6px 0 2px; }
.price-block strong { font: 600 46px/1 var(--sans); color: var(--brass); letter-spacing: -0.01em; }
.price-block .native { font: 500 16px var(--sans); color: var(--muted); }
.price-block .fxnote { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.status-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.status-line .dot { width: 10px; height: 10px; border-radius: 5px; box-shadow: 0 0 8px var(--signal); }
.dot.sold, .dot.unavailable { background: var(--bad); box-shadow: none; }
.dot.reserved, .dot.unknown { background: var(--warn); box-shadow: none; }
.buy-note { font-size: 14px; color: var(--muted); margin: -4px 0 0; }
.sheet { margin-top: 56px; padding: 48px 0 72px; border-top: 1px solid var(--line); }
.sheet .wrap { display: flex; flex-direction: column; gap: 40px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.panel h2 { margin: 0 0 10px; font: 600 22px var(--sans); }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 8px; }
.facts th { text-align: left; font-weight: 400; color: var(--muted); padding: 10px 12px 10px 0; width: 32%; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 500; }
.facts .src { font: 500 12px var(--mono); font-weight: 400; color: var(--faint); text-align: right; white-space: nowrap; padding-left: 8px; }
.hist-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hist-row span:last-child { font: 500 14px var(--mono); }
.two-col { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.two-col > * { flex: 1 1 420px; min-width: 0; }

/* Teksty pod pozycjonowanie (kategorie i typy) */
.seo-intro { margin: 10px 0 0; max-width: 80ch; color: var(--muted); font-size: 16px; }
/* strony informacyjne PL / DE / EN */
.lang-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.lang-bar a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 20px; color: var(--text); text-decoration: none; font-weight: 500; }
.lang-bar a:hover { border-color: var(--brass); }
.lang-bar a[aria-current="page"] { background: var(--brass); border-color: var(--brass); color: var(--on-brass); }
.lang-bar .flag { width: 20px; height: 15px; border-radius: 2px; }
.lang-suggest { margin: 0 0 14px; font-size: 17px; font-weight: 600; }
.lang-suggest a { color: var(--brass); }
.translation-note { padding: 12px 16px; border-left: 4px solid var(--brass); background: rgba(214, 172, 82, .12); }

/* linki wewnętrzne: typy w kategorii, strony „militaria …” */
.rel-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rel-links .chip { min-height: 32px; font-size: 13px; padding: 0 12px; }
.rel-landings { margin-top: 40px; align-items: center; }
.rel-landings h2 { flex-basis: 100%; margin: 0 0 4px; font: 600 18px var(--sans); }
.landing-links { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-text { margin-top: 48px; max-width: 900px; padding: 28px 32px; }
.seo-text h2 { font: 600 22px var(--sans); margin: 22px 0 8px; }
.seo-text h2:first-child { margin-top: 0; }
.seo-text p, .seo-text li { font-size: 16px; line-height: 1.65; }
.faq dt { font-weight: 600; margin-top: 14px; }
.faq dd { margin: 4px 0 0; color: var(--muted); line-height: 1.6; }

/* Treść stron informacyjnych — na jasnej karcie */
.prose { max-width: 820px; }
.prose h1 { font: 600 38px/1.15 var(--sans); margin: 0 0 16px; letter-spacing: -0.01em; }
.prose h2 { font: 600 24px var(--sans); margin: 28px 0 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }

/* Stopka */
.site-foot { background: var(--head-bg); border-top: 1px solid var(--line); color: var(--muted); margin-top: 72px; }
body:has(.sheet) .site-foot { margin-top: 0; }   /* jasny arkusz dochodzi do stopki */
.site-foot .foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; padding-top: 52px; padding-bottom: 40px; }
.foot-brand img { display: block; width: 100%; max-width: 420px; height: auto; margin-bottom: 20px; }
.foot-brand p { margin: 0; font-size: 15px; line-height: 1.65; max-width: 420px; }
.foot-col h2 { margin: 0 0 12px; font: 600 15px var(--sans); color: var(--brass); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.foot-col a { color: var(--text); text-decoration: none; font-size: 15px; min-height: 34px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--brass-hi); }
.foot-bar { border-top: 1px solid var(--line); }
.foot-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--faint); }
.foot-dev { margin: 0; }
/* „Developed by” ze znakiem AddWeb — jak na pozostałych stronach AddWeb (KSTomasz): po najechaniu tekst i „web” świecą,
   „web” obraca się, iskra robi obrót, po znaku przechodzi błysk. Znak to maska z addweb-znak.webp (600 × 133 px). */
.mr-addweb { --aw-glow: #E2C27A; --aw-glow-rgb: 226, 194, 122; --aw-ease: cubic-bezier(.22, 1, .36, 1);
  display: inline-flex; align-items: center; gap: .6rem; min-height: 1.5rem; color: var(--faint); text-decoration: none; }
.mr-addweb__by { transition: color .4s, letter-spacing .5s var(--aw-ease); }
.mr-addweb__logo { --aw-img: url("../brand/addweb-znak.webp"); position: relative; display: block; width: 5.75rem; aspect-ratio: 600 / 133; perspective: 260px; }
.mr-addweb__logo > span { position: absolute; inset: 0; display: block; transition: filter .4s; }
.mr-addweb__logo > span::before { content: ""; position: absolute; inset: 0; background: #fff;
  -webkit-mask: var(--aw-img) center / 100% 100% no-repeat; mask: var(--aw-img) center / 100% 100% no-repeat; transition: background-color .4s; }
.mr-addweb__add::before { clip-path: inset(0 58.5% 0 0); }
.mr-addweb__web { transform-origin: 65.4% 56%; }
.mr-addweb__web::before { clip-path: inset(0 9.4% 0 41.5%); }
.mr-addweb__spark { transform-origin: 95.7% 19.5%; transition: transform .9s var(--aw-ease), filter .4s !important; }
.mr-addweb__spark::before { clip-path: inset(0 0 0 90.6%); }
.mr-addweb__shine::before { background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .95) 50%, transparent 65%) no-repeat !important;
  background-size: 260% 100% !important; background-position: 160% 0 !important; }
.mr-addweb:hover .mr-addweb__by, .mr-addweb:focus-visible .mr-addweb__by { color: var(--aw-glow); letter-spacing: .02em; }
.mr-addweb:hover .mr-addweb__web, .mr-addweb:focus-visible .mr-addweb__web {
  animation: mr-aw-flip .9s var(--aw-ease), mr-aw-glow 1.4s ease-in-out .9s infinite alternate; filter: drop-shadow(0 0 6px rgba(var(--aw-glow-rgb), .85)); }
.mr-addweb:hover .mr-addweb__web::before, .mr-addweb:focus-visible .mr-addweb__web::before,
.mr-addweb:hover .mr-addweb__spark::before, .mr-addweb:focus-visible .mr-addweb__spark::before { background: var(--aw-glow); }
.mr-addweb:hover .mr-addweb__spark, .mr-addweb:focus-visible .mr-addweb__spark { transform: rotate(360deg) scale(1.45); filter: drop-shadow(0 0 5px rgba(var(--aw-glow-rgb), .9)); }
.mr-addweb:hover .mr-addweb__shine::before, .mr-addweb:focus-visible .mr-addweb__shine::before { animation: mr-aw-shine 1.1s var(--aw-ease) .15s; }
.mr-addweb:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; border-radius: 2px; }
@keyframes mr-aw-flip { 0% { transform: rotateX(0); } 70% { transform: rotateX(360deg) scale(1.12); } 100% { transform: rotateX(360deg) scale(1); } }
@keyframes mr-aw-glow { 0% { filter: drop-shadow(0 0 3px rgba(var(--aw-glow-rgb), .6)); } 100% { filter: drop-shadow(0 0 10px var(--aw-glow)); } }
@keyframes mr-aw-shine { 0% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) {
  .mr-addweb *, .mr-addweb *::before { animation: none !important; transition: none !important; }
  .mr-addweb:hover .mr-addweb__spark, .mr-addweb:focus-visible .mr-addweb__spark { transform: none; }
}
@media (max-width: 900px) { .site-foot .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-foot .foot-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Grafiki pomocnicze (Recraft 05.11): „jak to działa”, pusty radar, ikony kategorii */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.how-step { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.how-step img { width: 120px; height: 120px; object-fit: contain; margin: 0 0 4px -6px; border-radius: 12px; }
.how-n { display: none; }
.how-step strong { font-size: 18px; font-weight: 600; }
.thumb.empty { background: radial-gradient(circle at 50% 42%, #F8F8F3 0, #E8EADF 75%); }
.thumb .ph-ico { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; background: #56614A; opacity: .28; }
.empty-ill { float: right; width: 110px; height: 110px; margin: 0 0 8px 16px; opacity: .9; }
.notfound { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 56px; padding-bottom: 24px; }
.notfound img { width: 180px; height: 180px; }
.notfound h1 { margin: 0; font: 600 42px/1.08 var(--sans); }
.notfound .hero-search { width: 100%; max-width: 640px; }
.ico { display: block; width: 44px; height: 44px; margin-bottom: 4px; background: var(--brass);
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

.preview-note { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; margin-bottom: 16px; background: var(--surface-2); border: 1px solid var(--line-2); border-left: 4px solid var(--brass); border-radius: var(--radius); font-size: 15px; color: var(--text); }
.preview-note strong { font: 600 17px var(--sans); color: var(--brass-hi); }

/* Szybkie progi budżetu w wynikach */
.budget { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.budget > span { margin-right: 2px; }
/* Karta oferty: przycisk tłumaczenia opisu (tłumacz przeglądarki albo Google Tłumacz w nowej karcie) */
.desc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.tr-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text); background: var(--surface-2); }
.tr-btn:hover { border-color: var(--brass); color: var(--text); }
.tr-btn small { font-weight: 400; color: var(--muted); }
.tr-btn.busy { opacity: .7; cursor: progress; }
.tr-note { margin: -2px 0 10px; font-size: 13px; color: var(--muted); font-style: italic; }
.orig-title { margin: -4px 0 0; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.ai-summary { margin: 2px 0 12px; padding: 10px 14px; border-left: 3px solid var(--brass); background: var(--surface-2); border-radius: 6px; font-size: 15px; }
.ai-summary strong { margin-right: 4px; }
.ai-summary small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

/* Strona „wkrótce” dla odwiedzających bez hasła podglądu (PreviewGate) */
body.soon { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: radial-gradient(70% 60% at 50% 30%, #1B2618, var(--bg) 70%); }
.soon-box { max-width: 620px; display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.soon-box img { width: 100%; max-width: 420px; height: auto; margin-bottom: 12px; }
.soon-box p { margin: 0; color: var(--muted); }
.soon-box .soon-lead { font: 600 22px/1.35 var(--sans); color: var(--text); }
.soon-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 10px !important; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 15px; }
.soon-links span { width: 100%; color: var(--text); font-weight: 600; }
.soon-login { font-size: 13px; margin-top: 18px !important; }
.soon-login a { color: var(--faint); }

/* Tablet */
@media (max-width: 1099px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .scope { display: none; }
  .cat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .live { grid-template-columns: 1fr; }
  .monitor { max-width: 320px; }
  .offer-top { grid-template-columns: 1fr; }
  .target { max-width: 520px; margin: 0 auto; width: 100%; }
}
/* Telefon */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 28px 0 32px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(17,23,15,.8) 40%, rgba(17,23,15,.7) 100%); }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .hero-search input { min-height: 52px; padding: 0 16px; font-size: 16px; }
  .hero-search .btn { min-height: 52px; padding: 0 18px; }
  .stats strong { font-size: 22px; }
  .section h2, .h2 { font-size: 26px; }
  .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { min-height: 130px; padding: 10px 12px; }
  .cat-name { font-size: 16px; }
  .feed li { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; }
  .feed .when { display: none; }
  .feed .th { width: 56px; height: 56px; }
  .feed .p { font-size: 16px; }
  .site-head .wrap { gap: 8px 12px; min-height: 0; }
  .logo img { height: 34px; }
  .site-head .seg { order: 2; margin-left: auto; }
  .site-head .seg a { min-width: 44px; padding: 0 6px; }
  .site-head .nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-head .nav::-webkit-scrollbar { display: none; }
  .site-head .nav a { white-space: nowrap; }
  .head-search { order: 4; flex-basis: 100%; }
  .cmeta { font-size: 12px; }
  .results h1 { font-size: 28px; }
  .offer-info h1 { font-size: 27px; }
  .price-block strong { font-size: 36px; }
  .btn-shop { align-self: stretch; }
  .sheet { margin-top: 36px; padding-top: 32px; }
  .filters { max-width: none; flex-basis: 100%; display: none; }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
  .grid-offers { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card-body { padding: 10px 12px; }
  .ctitle { font-size: 14px; }
  .price strong { font-size: 19px; }
  .toolbar .sort { margin-left: 0; width: 100%; }
  .empty-ill { width: 84px; height: 84px; }
}
