/* ══ HeaderNotifications.css — Дзвіночок і панель сповіщень у шапці (+ мобільний повноекранний варіант).
   Правити тут; сторінка підключає чанк через site_css() у шаблоні. ══ */

@media (max-width:900px) {
  body.pf-page .nav-r,
    .nav-r:has(.nav-notif) { display:flex; gap:2px; margin-left:0; order:2;
                             padding-right:0; }
  .nav-r:has(.nav-notif) > a,
    .nav-r:has(.nav-notif) > .drop,
    .nav-r:has(.nav-notif) > .sep,
    .nav-r:has(.nav-notif) > .nav-user { display:none; }
  .nav-r .nav-ico { width:40px; height:40px; }
  .nav-r .nav-ico svg { width:24px; height:24px; }
}
.nav-ico { position:relative; background:none; border:0; cursor:pointer;
           color:#414141; width:34px; height:34px; display:grid; place-items:center; }
.nav-ico svg { width:24px; height:24px; }
.nav-badge { position:absolute; top:-2px; right:-4px; background:#E53935;
             color:#fff; font-size:10px; font-weight:700; border-radius:999px;
             min-width:17px; height:17px; line-height:17px; text-align:center;
             padding:0 4px; font-style:normal; }
.nav-notif, .nav-user { position:relative; }
.ntf-panel { position:absolute; top:calc(100% + 16px); right:-46px; width:400px;
             background:#fff; border-radius:4px; box-shadow:0 6px 26px rgba(0,0,0,.16);
             z-index:230; }
.ntf-panel::before { content:''; position:absolute; top:-9px; right:52px;
             width:18px; height:18px; background:#fff; transform:rotate(45deg);
             box-shadow:-3px -3px 8px rgba(0,0,0,.06); }
.ntf-x { display:none; }
.ntf-title { position:relative; font-size:19px; font-weight:700; color:var(--ink);
             padding:15px 15px 12px; }
.ntf-item { display:flex; flex-flow:row; gap:15px; padding:15px;
            align-items:flex-start; border-top:0; border-bottom:1px solid #ebebeb;
            color:var(--ink); text-decoration:none; }
.ntf-item:last-child { border-bottom:0; }
.ntf-item:hover { background:#FAFAFA; }
.ntf-ava { width:44px; height:44px; border-radius:50%; object-fit:cover; flex:0 0 auto; }
.ntf-ava-txt { background:#C08BA6; color:#fff; display:flex; align-items:center;
               justify-content:center; font-weight:700; font-size:18px; }
.ntf-item > span { min-width:0; }
.ntf-name { font-weight:400; font-size:16px; color:#414141; }
.ntf-last { color:#9B9B9B; font-size:15px; line-height:1.45; margin-top:5px;
            display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical;
            overflow:hidden; }
.ntf-empty { color:#9b9b9b; font-size:15px; padding:0 15px 15px; margin:0; }
.nav-ico svg[hidden] { display:none !important; }
.nav-ico svg { display:block; }
.nav-ico svg { width:24px; height:24px; display:block; }
@media (max-width:900px) {
  .ntf-panel { position:fixed; top:50px; left:0; right:0; bottom:0; width:auto;
                 border-radius:0; box-shadow:none; overflow-y:auto; z-index:1001; }
  .ntf-x { display:grid; place-items:center; position:fixed; top:0;
             right:6px; width:44px; height:50px; background:none; border:0;
             color:#414141; cursor:pointer; z-index:1002; }
  .ntf-x svg { width:26px; height:26px; }
  .ntf-title { font-size:19px; font-weight:700; padding:18px 15px 14px; }
  .ntf-item { padding:15px; gap:15px; align-items:flex-start;
                border-top:0; border-bottom:1px solid #ebebeb; }
  .ntf-item:hover { background:#FAFAFA; }
  .ntf-item > span { min-width:0; }
  .ntf-ava { width:44px; height:44px; }
  .ntf-name { font-size:17px; font-weight:400; color:#414141; }
  .ntf-last { font-size:16px; line-height:1.45; color:#9B9B9B; margin-top:6px;
                white-space:normal; overflow-wrap:anywhere;
                -webkit-line-clamp:4; }
  .ntf-empty { font-size:15px; padding:0 15px 15px; }
}
