:root {
  --bg: #0b0c0e;
  --bg-elevated: #16171b;
  --bg-elevated-2: #1f2126;
  --line: #2a2c32;
  --line-soft: #202226;
  --ink: #f4f4f6;
  --ink-soft: #9a9ea8;
  --ink-faint: #6b6f78;
  --accent: #ff5a36;
  --accent-dim: #4a2015;
  --accent-ink: #0b0c0e;
  --radius: 14px;
  --wrap: 1120px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", var(--font-body);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: rgba(11,12,14,.82);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
}
.logo span { color: var(--accent); }
.logo:hover { text-decoration: none; opacity: .9; }
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  white-space: nowrap;
}
.main-nav a {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; }

/* Dropdown: Sprzet > Pody > OXVA / Vaporesso */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.nav-dropdown__trigger:hover { color: var(--ink); }
.nav-dropdown__caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform .15s ease;
}
.nav-dropdown.open .nav-dropdown__caret { transform: rotate(-135deg); margin-top: 3px; }

.nav-dropdown__panel {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.6);
  z-index: 20;
}
.nav-dropdown.open .nav-dropdown__panel { display: block; }
.nav-dropdown__panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .88rem;
  white-space: nowrap;
}
.nav-dropdown__panel a:hover { background: var(--bg-elevated-2); text-decoration: none; }
.nav-dropdown__top { color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; padding-bottom: 10px !important; }
.nav-dropdown__group { padding-left: 4px; }
.nav-dropdown__heading { color: var(--ink); font-weight: 700; }
.nav-dropdown__sub { padding-left: 22px !important; color: var(--ink-soft); }
.nav-dropdown__sub::before { content: "— "; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 24px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 20%;
  width: 900px;
  height: 600px;
  background: radial-gradient(closest-side, var(--accent-dim), transparent 70%);
  opacity: .55;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 32px;
}
.hero-inner > * { min-width: 0; }
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  margin: 0 0 18px;
  line-height: 1.14;
}
.hero p {
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 32px;
  font-size: 1.1rem;
}
.hero-search {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 0 24px;
}
.hero-search input {
  flex: 1;
  min-width: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-size: .95rem;
}
.hero-search input::placeholder { color: var(--ink-faint); }
.hero-search input:focus { outline: none; border-color: var(--accent); }
.hero-search .button { padding: 13px 22px; white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { display: flex; justify-content: center; }
.hero-media__link { display: block; }
.hero-media img {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
  transition: transform .2s ease, filter .2s ease;
}
.hero-media__link:hover img,
.hero-media__link:focus-visible img {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 36px 70px rgba(0,0,0,.6));
}

.button {
  position: relative;
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 8px 24px -8px rgba(255,90,54,.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(255,90,54,.7);
}
.button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 260px; }
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 56px 0 24px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head .section-title { margin-bottom: 0; }
.section-head__link {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  margin-bottom: 24px;
}
.section-head__link:hover { color: var(--accent); text-decoration: none; }

/* Stats bar */
.stats-bar {
  list-style: none;
  margin: 40px 0 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats-bar li { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stats-bar strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent); }
.stats-bar span { font-size: .85rem; color: var(--ink-soft); }

/* Brand cards */
.brand-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.brand-card a {
  display: block;
  height: 100%;
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color .18s ease, transform .18s ease;
}
.brand-card a:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-3px); }
.brand-card h3 { margin: 0 0 8px; font-size: 1.25rem; font-family: var(--font-display); }
.brand-card p { margin: 0 0 16px; color: var(--ink-soft); font-size: .92rem; }
.brand-card__cta { font-size: .85rem; font-weight: 700; color: var(--accent); }

/* Jeeb spotlight band */
.jeeb-spotlight {
  margin: 64px 0;
  padding: 56px 24px;
  background: linear-gradient(135deg, #1a1204, #0b0c0e 60%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.jeeb-spotlight__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 32px;
}
.jeeb-spotlight__inner > * { min-width: 0; }
.jeeb-spotlight h2 { font-size: 1.7rem; margin: 6px 0 12px; }
.jeeb-spotlight p { color: var(--ink-soft); max-width: 480px; margin: 0 0 24px; }
.jeeb-spotlight__img { max-width: 260px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }

/* About teaser */
.about-teaser { padding: 8px 0 16px; }
.about-teaser__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-teaser__avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
}
.about-teaser h2 { margin: 0 0 8px; font-size: 1.2rem; }
.about-teaser p { margin: 0 0 10px; color: var(--ink-soft); font-size: .95rem; }
.about-teaser a { font-weight: 700; font-size: .9rem; }

@media (max-width: 800px) {
  .stats-bar { grid-template-columns: 1fr; gap: 20px; }
  .brand-grid { grid-template-columns: 1fr; }
  .jeeb-spotlight__inner { grid-template-columns: 1fr; text-align: center; }
  .jeeb-spotlight p { margin-left: auto; margin-right: auto; }
  .about-teaser__inner { flex-direction: column; text-align: center; }
}

/* Search */
.search-box { margin: 24px 0 28px; }
.search-box input {
  width: 100%;
  max-width: 420px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-size: .95rem;
}
.search-box input::placeholder { color: var(--ink-faint); }
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-empty { color: var(--ink-soft); }

/* Post grid */
.post-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-grid--compact { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.post-grid > li { min-width: 0; }
.post-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.post-card a:hover {
  text-decoration: none;
  border-color: #3a3d45;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -18px rgba(0,0,0,.7);
}
.post-card img,
.post-card__placeholder {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  background: var(--bg-elevated-2);
}
.post-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-elevated-2), var(--bg-elevated));
}
.post-card__placeholder span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--accent);
  opacity: .85;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: .02em;
  padding: 0 16px;
}
.post-card__body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.post-card__body h2,
.post-card__body h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; font-weight: 700; }
.post-card__body p { margin: 0; color: var(--ink-soft); font-size: .92rem; flex: 1; line-height: 1.5; }
.eyebrow {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.meta { color: var(--ink-faint); font-size: .82rem; }

.related .post-grid--compact a { flex-direction: row; align-items: center; background: var(--bg-elevated); }
.related .post-grid--compact img { width: 64px; height: 64px; aspect-ratio: 1/1; flex: none; }
.related .post-grid--compact span { padding: 8px 14px; font-size: .9rem; font-weight: 600; }

/* Category pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 8px;
}
.category-pills a {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all .15s ease;
}
.category-pills a:hover,
.category-pills a.active {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.category-pills--bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}

/* Article */
.article { padding: 48px 24px 96px; max-width: 760px; }
.breadcrumbs { font-size: .85rem; color: var(--ink-faint); margin-bottom: 10px; }
.breadcrumbs a { color: var(--ink-faint); }
.breadcrumbs a:hover { color: var(--ink-soft); }
.article h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; line-height: 1.25; margin: 10px 0 6px; }
.article .meta { display: block; margin-bottom: 32px; }
.article-body h2 { margin-top: 44px; font-size: 1.45rem; font-weight: 700; }
.article-body h3 { margin-top: 30px; font-size: 1.18rem; font-weight: 700; }
.article-body p { color: #cfd1d6; }
.article-body ul, .article-body ol { color: #cfd1d6; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body a { text-underline-offset: 2px; }
.article-body strong { color: var(--ink); }
.article-body blockquote {
  margin: 28px 0;
  padding: 6px 22px;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
}
.content-image { margin: 28px 0; }
.article-body .post-grid { margin: 20px 0 32px; grid-template-columns: repeat(2, 1fr); }
.content-image img { border-radius: var(--radius); }
.content-image figcaption { font-size: .85rem; color: var(--ink-faint); margin-top: 10px; text-align: center; }
.article--page { max-width: 820px; }
.article--wide { max-width: var(--wrap); }

.flavor-grid {
  list-style: none;
  margin: 24px 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flavor-card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform .18s ease;
}
.flavor-card:hover { transform: translateY(-3px); }
.flavor-card img { display: block; width: 100%; height: 220px; object-fit: contain; padding: 14px 0; }
.flavor-card span { display: block; padding: 4px 16px 18px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 900px) { .flavor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .flavor-grid { grid-template-columns: 1fr; } .flavor-card img { height: auto; aspect-ratio: 1/1; } }

.related { margin-top: 64px; border-top: 1px solid var(--line-soft); padding-top: 36px; }
.related h2 { font-size: 1.25rem; font-weight: 800; }

.listing { padding: 48px 24px 96px; }
.listing h1 { font-size: 2rem; font-weight: 800; }
.listing-intro { color: var(--ink-soft); max-width: 640px; }

.not-found { padding: 120px 24px; text-align: center; }
.not-found h1 { font-size: 4.5rem; margin: 0; color: var(--accent); font-weight: 800; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); background: #0e0f11; margin-top: 72px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 24px 36px;
}
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--ink-soft); font-size: .92rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-col p { color: var(--ink-faint); font-size: .9rem; }
.footer-bottom { padding: 18px 24px 36px; color: var(--ink-faint); font-size: .82rem; border-top: 1px solid var(--line-soft); margin-top: 8px; padding-top: 20px; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ponizej tej szerokosci 8 pozycji menu nie miesci sie w jednej linii -
   przelaczamy na hamburger zamiast pozwolic mu sie brzydko zlamac. */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 4px;
    display: none;
    white-space: normal;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-soft); text-align: left; }

  /* na mobile dropdown rozwija sie w miejscu, nie jako plywajacy panel */
  .nav-dropdown { width: 100%; order: -1; }
  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-dropdown__panel {
    position: static;
    box-shadow: none;
    border: none;
    background: none;
    padding: 4px 0 0 12px;
  }
  .nav-dropdown__panel a { border-bottom: none; padding: 10px; }
  .nav-dropdown__top { border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-grid--compact { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 72px 20px 48px; }
}

/* Bramka wiekowa (18+) */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}
.age-gate[hidden] { display: none; }
.age-gate__card {
  max-width: 440px;
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}
.age-gate__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); margin-bottom: 20px; }
.age-gate__logo span { color: var(--accent); }
.age-gate__card h2 { margin: 0 0 12px; }
.age-gate__card p { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; margin: 0 0 12px; }
.age-gate__question { color: var(--ink) !important; font-weight: 700; }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.age-gate--blocked .age-gate__card p { margin-bottom: 0; }

/* Baner cookie */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  padding: 18px 24px;
}
.cookie-banner__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text { color: var(--ink-soft); font-size: .88rem; margin: 0; flex: 1 1 320px; }
.cookie-banner__text a { color: var(--ink); }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 560px) {
  .age-gate__card { padding: 32px 22px; }
  .age-gate__actions { flex-direction: column; }
  .age-gate__actions .button { width: 100%; }
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.contact-card h3 { margin: 0 0 14px; font-size: 1.05rem; }
.contact-card__line { display: block; color: var(--ink-soft); font-size: .95rem; margin-bottom: 8px; }
.contact-card__line:last-child { margin-bottom: 0; }
a.contact-card__line { color: var(--ink); font-weight: 600; }
a.contact-card__line:hover { color: var(--accent); }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
