﻿/* ===== Hydroflex: panel "Nowości" (desktop only) ===== */
@media (max-width: 991px){ .hf-news-widget{display:none!important;} }

.hf-news-widget{
  position:fixed; top:20%; right:-360px; width:360px; height:520px;
  z-index:9999; transition:right .3s ease;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.hf-news-widget:hover{ right:0; }

.hf-news-panel{
  width:360px; height:100%; background:#fff; overflow:hidden;
  border-radius:8px 0 0 8px; border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 30px rgba(0,0,0,.2);
}

/* Zakładka (przycisk) */
.hf-news-tab{
  position:absolute; left:-70px; top:50%; transform:translateY(-50%);
  width:70px; height:190px; background:#1877F2; color:#fff;
  border-radius:8px 0 0 8px; box-shadow:0 6px 16px rgba(24,119,242,.4);
  display:flex; align-items:center; justify-content:center; text-decoration:none;
  cursor:pointer; user-select:none; overflow:hidden;
}
/* Przyciemnienie na hover – bez czerni */
.hf-news-tab::before{
  content:""; position:absolute; inset:0; background:#000; opacity:0; transition:opacity .2s ease;
}
.hf-news-tab:hover::before{ opacity:.1; }

.hf-news-tab-content{
  display:inline-flex; align-items:center; gap:8px;
  transform:rotate(-90deg); font-weight:700; letter-spacing:.5px; font-size:15px; line-height:1;
}
.hf-news-iframe{ width:100%; height:100%; border:0; }
.hf-news-actions {
  padding: 14px;
}
.hf-news-actions p {
  font-size: 14px; line-height: 1.4; margin: 0 0 10px; color:#222;
}
.hf-btn {
  display:block; text-align:center; padding:12px 10px; font-weight:700;
  text-decoration:none; border-radius:8px; margin-bottom:10px;
}
.hf-btn--fb { background:#1877F2; color:#fff; }
.hf-btn--msg { background:#00A884; color:#fff; } /* kolor Messenger/WA vibe */
.hf-btn:active { transform: translateY(1px); }
.hf-note {
  font-size:12px; color:#666; text-align:center; padding:6px 10px 10px;
}

