:root{
  --bg:#0b0d10;
  --text:#ffffff;
  --muted:#9aa3b2;

  --line:rgba(255,255,255,.10);
  --line2:rgba(255,255,255,.14);

  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --shadow2: 0 12px 40px rgba(0,0,0,.22);

  --r2:24px;

  /* akcent “sprzętowy” */
  --accent:#06b6d4;
  --accent2:#7c3aed;

  --warnBorder: rgba(251,191,36,.45);
  --warnBg: rgba(251,191,36,.10);
  --warnText: #fde68a;

  --card: rgba(255,255,255,.02);
  --card2: rgba(255,255,255,.03);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(1100px 700px at 120% 20%, rgba(6,182,212,.10), transparent 60%),
    var(--bg);
  min-height:100svh;
  overflow-x:hidden;
}

a{ color: rgba(255,255,255,.92); text-decoration: underline; text-underline-offset: 3px; }
a:hover{ opacity:.9; }

.page{ padding:18px; }
@media (max-width: 700px){
  .page{ padding:0; }
}

.wrap{
  width:100%;
  max-width: 1120px;
  margin:0 auto;
}

/* HERO */
.hero{
  position:relative;
  border-radius: var(--r2);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
  min-height: 260px;
}
@media (max-width: 700px){
  .hero{
    border-radius:0;
    border-left:0;
    border-right:0;
  }
}

.heroImg{
  position:absolute;
  inset:0;
  background: url("/img/wyposazenie-bg.avif") center / cover no-repeat;
  filter: saturate(1.05);
}
.heroImg::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 600px at 30% 20%, rgba(0,0,0,.25), rgba(0,0,0,.82));
}

.backLink{
  position:absolute;
  right:14px;
  top:14px;
  z-index:3;
  font-size:12px;
  color:rgba(255,255,255,.86);
  text-decoration:none;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.04);
}
.backLink:hover{ border-color: var(--line2); }

.heroInner{
  position:relative;
  z-index:2;
  padding:18px 18px 16px;
  text-align:center;
}

.mark{
  display:flex;
  justify-content:center;
  margin-top: 4px;
  margin-bottom: 12px;
}
.markDot{
  width:56px;height:56px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-weight:1000;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.title{
  font-size:26px;
  font-weight:900;
  letter-spacing:-0.02em;
}
.sub{
  margin-top:8px;
  color:rgba(154,163,178,.95);
  font-size:13px;
}

.metaRow{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top: 12px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(154,163,178,.95);
  font-size:12px;
  font-weight:800;
}
.chip strong{ color: rgba(255,255,255,.92); font-weight:900; }

/* CARD */
.card{
  margin-top:16px;
  border-radius: var(--r2);
  border:1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow2);
  padding:16px;
}
@media (max-width: 700px){
  .card{
    border-radius:0;
    border-left:0;
    border-right:0;
    margin-top:0;
  }
}

.lead p{
  font-size:13px;
  color:rgba(154,163,178,.96);
  line-height:1.55;
  margin-top:10px;
}
.lead p:first-child{ margin-top:0; }

/* Kategorie (zamiast czas/komfort/bezpieczenstwo) */
.uspGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
}
@media (max-width:700px){
  .uspGrid{ grid-template-columns:1fr; }
}
.usp{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  border-radius:18px;
  padding:12px;
}
.uspTop{ font-weight:1000; }
.uspSub{ margin-top:4px; color:rgba(154,163,178,.95); font-size:12px; }

/* pasek sekcji */
.catBar{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.cat{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  color: rgba(255,255,255,.90);
}
.cat:hover{ border-color: rgba(255,255,255,.18); }
.cat.active{
  border:0;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.hr{
  height:1px;
  background: rgba(255,255,255,.10);
  margin:14px 0;
}

/* BLOK */
.block{
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  border-radius: 18px;
  padding:14px;
  margin-top:12px;
}

.groupHead{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:baseline;
}
.groupTitle{
  font-size:15px;
  font-weight:900;
  letter-spacing:-0.01em;
}
.groupSub{
  color:rgba(154,163,178,.95);
  font-size:12px;
  font-weight:800;
}

/* listy kart */
.cards{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.pCard{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  overflow:hidden;
}

.pHead{
  padding:12px;
  display:flex;
  align-items:center;
  gap:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}

.pIcon{
  width:44px;height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:1000;
  color:#0b0d10;
  background: linear-gradient(135deg, rgba(6,182,212,.95), rgba(124,58,237,.95));
  flex:0 0 auto;
}

.pMeta{ min-width:0; flex:1; }
.pTitle{ font-weight:1000; }
.pSub{ margin-top:2px; color:rgba(154,163,178,.95); font-size:12px; }

.pActions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.pBtn{
  height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  font-weight:900;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}
.pBtn:hover{ border-color: rgba(255,255,255,.18); }
.pBtn.primary{
  border:0;
  color:#0b0d10;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.pBody{ padding:12px; }

/* boxy w środku produktu */
.pGrid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
}
.pGrid2{
  grid-template-columns:1fr 1fr;
}
@media (max-width:860px){
  .pGrid, .pGrid2{ grid-template-columns:1fr; }
}

.pBox{
  border-radius:16px;
  background: rgba(0,0,0,.14);
  padding:10px 12px;
}
.pBoxT{
  font-weight:1000;
  font-size:12px;
  color: rgba(255,255,255,.92);
}
.pBoxD{
  margin-top:6px;
  color: rgba(154,163,178,.96);
  font-size:13px;
  line-height:1.42;
}

.pBox.tip{
  background: radial-gradient(120% 120% at 0% 0%, rgba(6,182,212,.14), transparent 60%), rgba(0,0,0,.14);
}
.pBox.warn{
  border:1px solid var(--warnBorder);
  background: var(--warnBg);
}
.pBox.warn .pBoxD{ color: var(--warnText); }
.pBox.warn .pBoxT{ color: #fff; }

.pDivider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin:12px 0;
}

.miniHead{
  font-weight:1000;
  font-size:13px;
  margin-bottom:10px;
}

/* ✅ poradniki: równe kafle, brak "giganta" */
.guideGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
@media (max-width:520px){
  .guideGrid{ grid-template-columns:1fr; }
}

.gCard{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration:none;
}

.gCard:hover{ border-color: rgba(255,255,255,.18); }

/* klucz: stały format i brak rozciągania */
.gThumb{
  width:100%;
  aspect-ratio: 16 / 9;
  height:auto;
  object-fit:cover;
  display:block;
}

/* play */
.gPlay{
  position:absolute;
  right:10px;
  top:10px;
  width:36px;height:36px;
  border-radius:999px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  color:#fff;
  font-weight:1000;
}

/* Wkrótce */
.soonGrid{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
@media (max-width:520px){
  .soonGrid{ grid-template-columns:1fr; }
}
.soonCard{
  border-radius:18px;
  border:1px dashed rgba(255,255,255,.14);
  background: rgba(0,0,0,.12);
  padding:12px;
}
.soonT{ font-weight:1000; }
.soonD{ margin-top:4px; color:rgba(154,163,178,.95); font-size:12px; }

.noteLine{
  margin-top:12px;
  color: rgba(154,163,178,.96);
  font-size:12px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:12px;
}

/* footer meta */
.footerMeta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}
/* =========================================================
   UNIVERSAL: czytelność tekstów na zdjęciu HERO
   (nie zmienia rozmiaru hero ani kadru)
========================================================= */

/* kapsuła pod całym rzędem elementów */
.metaRow{
  display:inline-flex !important;
  width:fit-content !important;
  max-width:calc(100% - 16px) !important;
  padding:10px 12px !important;
  border-radius:18px !important;

  background:rgba(0,0,0,.55) !important;
  border:1px solid rgba(255,255,255,.15) !important;
  box-shadow:0 14px 50px rgba(0,0,0,.45) !important;

  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}

/* wyłącz stare pseudo tła jeśli gdzieś istnieją */
.metaRow::before{ content:none !important; }

/* chipy (daty, czas czytania itd.) */
.chip{
  background:rgba(0,0,0,.70) !important;
  border-color:rgba(255,255,255,.22) !important;
  color:#fff !important;
  font-weight:900 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.75) !important;
}
.chip strong{ color:#fff !important; }

/* pasek youtube / info */
.ytPromo{
  background:rgba(0,0,0,.55) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 14px 50px rgba(0,0,0,.40) !important;

  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}

.ytPromo::before{ content:none !important; }
.ytTxt{ text-shadow:0 2px 12px rgba(0,0,0,.75) !important; }

/* tytuł i podtytuł – delikatny kontrast */
.title,
.sub{
  text-shadow:0 3px 22px rgba(0,0,0,.65);
}
