/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-me {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal-me.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE SIDEBAR
   ============================================================ */

/* Overlay */
.mob-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(20,21,28,0.6);
  backdrop-filter: blur(2px);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Blokuje scroll body pod overlaym bez JS body-lock */
  touch-action: none;
}
.mob-overlay.open { display: block; opacity: 1; }

/* Sidebar panel */
.mob-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 320px; max-width: 90vw;
  background: #0f1020;
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.36s ease;
  overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  -webkit-overflow-scrolling: touch;
}
.mob-sidebar.open {
  transform: translateX(0);
  box-shadow: -6px 0 48px rgba(0,0,0,0.55);
}

/* Nagłówek sidebara */
.msb-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  background: var(--black);
  flex-shrink: 0;
}
.msb-logo-link {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.msb-logo-img {
  width: 44px; height: 44px; object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.msb-logo-name {
  font-family: var(--serif); font-weight: 800; font-size: 17px;
  text-transform: uppercase; color: white; letter-spacing: 0.02em; line-height: 1.1;
}
.msb-close {
  width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px; color: white; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.msb-close:hover { background: var(--red); border-color: var(--red); }

/* Pasek kontaktowy (topbar w sidebarze) */
.msb-strip {
  background: #111215;
  padding: 12px 20px 14px;
  display: flex; flex-direction: column; gap: 8px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.msb-strip-item {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.75); font-size: 13px; text-decoration: none;
  transition: color 0.15s;
}
.msb-strip-item:hover { color: var(--yellow); }
.msb-strip-item strong { color: var(--yellow); font-size: 15px; }
.msb-strip-item svg { flex-shrink: 0; opacity: 0.6; }

/* Nawigacja */
.msb-nav {
  flex: 1;
  padding-bottom: 8px;
}

/* Zwykłe linki */
.msb-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.85); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.13s, color 0.13s, padding-left 0.13s;
}
.msb-link:hover { background: rgba(255,255,255,0.07); color: var(--yellow); padding-left: 28px; }
.msb-link.active { color: var(--yellow); background: rgba(255,255,255,0.04); }
.msb-link.active::before {
  content: ''; display: block;
  position: absolute; left: 0; width: 3px; height: 48px;
  background: var(--yellow);
}

/* Akordeon Oferta */
.msb-acc { border-bottom: 1px solid rgba(255,255,255,0.07); position: relative; }
.msb-acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85); background: none; border: none;
  cursor: pointer; font-family: var(--sans);
  transition: background 0.13s, color 0.13s;
}
.msb-acc-btn:hover,
.msb-acc.open .msb-acc-btn { background: rgba(255,255,255,0.07); color: var(--yellow); }
.msb-chevron { flex-shrink: 0; transition: transform 0.22s ease; }
.msb-acc.open .msb-chevron { transform: rotate(180deg); }

.msb-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0,0,0,0.25);
}
.msb-acc.open .msb-acc-body { max-height: 700px; }

/* "Wszystkie produkty" */
.msb-acc-all {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 22px 10px 22px;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--yellow); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.13s, padding-left 0.13s;
}
.msb-acc-all:hover { padding-left: 28px; }

/* Linki kategorii w akordeon */
.msb-acc-link {
  display: block; padding: 10px 22px 10px 30px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.13s, background 0.13s, padding-left 0.13s;
}
.msb-acc-link:last-child { border-bottom: none; }
.msb-acc-link:hover { color: var(--yellow); background: rgba(255,255,255,0.05); padding-left: 36px; }
.msb-acc-link.active { color: var(--yellow); font-weight: 700; }

/* CTA na dole sidebara */
.msb-actions {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.msb-actions .btn { width: 100%; }

/* Wybór języka */
.msb-lang {
  display: flex; gap: 8px; padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.msb-lang a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; border: 1px solid rgba(255,255,255,0.15); border-radius: 4px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.7); text-decoration: none;
  transition: all 0.13s;
}
.msb-lang a:hover { border-color: var(--yellow); color: var(--yellow); }
.msb-lang a.active { border-color: var(--yellow); color: var(--yellow); background: rgba(255,220,0,0.08); }

/* Ukryj sidebar na desktopie */
@media (min-width: 1025px) {
  .mob-sidebar,
  .mob-overlay { display: none !important; }
}
