/* Prodaite.BG — Header / account tools v2. Isolated overrides. */
.header-account-actions{align-items:center;gap:10px;margin-left:18px}
.header-quick-tools{display:flex;align-items:center;gap:6px;padding-right:2px}
.header-icon-btn{position:relative;width:42px;height:42px;border:1px solid #e3e9f2;border-radius:12px;background:#fff;color:#506078;display:grid;place-items:center;transition:background .18s,border-color .18s,color .18s,transform .18s;box-shadow:0 3px 10px rgba(32,55,85,.035)}
button.header-icon-btn{padding:0}
.header-icon-btn:hover,.header-icon-btn[aria-expanded="true"]{background:#f4f8ff;border-color:#cad9ee;color:var(--blue);transform:translateY(-1px)}
.header-icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-icon-btn svg path[fill]{fill:currentColor;stroke:none}
.header-badge{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;border:2px solid #fff;background:var(--orange);color:#fff;font-size:10px;line-height:15px;font-weight:900;text-align:center;box-shadow:0 3px 8px rgba(255,90,0,.22)}
.header-badge-blue{background:var(--blue);box-shadow:0 3px 8px rgba(18,104,255,.22)}
.header-badge-yellow{background:#f2ad00;color:#fff}
.header-menu-wrap{position:relative}
.profile-trigger{height:46px;max-width:194px;border:1px solid #dfe6f0;background:#fff;border-radius:13px;padding:4px 10px 4px 5px;display:flex;align-items:center;gap:9px;color:var(--ink);transition:.18s;box-shadow:0 3px 10px rgba(32,55,85,.035)}
.profile-trigger:hover,.profile-trigger[aria-expanded="true"]{border-color:#c7d6eb;background:#f9fbff;box-shadow:0 7px 22px rgba(32,55,85,.08)}
.profile-avatar{flex:0 0 auto;width:36px;height:36px;border-radius:10px;background:linear-gradient(145deg,#edf4ff,#dce9ff);color:var(--blue);display:grid;place-items:center;font-size:14px;font-weight:950;border:1px solid #d7e4f8}
.profile-trigger-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;line-height:1.1}
.profile-trigger-copy strong{max-width:104px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.profile-trigger-copy small{margin-top:4px;font-size:9px;color:#8591a3;font-weight:700}
.profile-chevron{width:17px;height:17px;fill:none;stroke:#748198;stroke-width:1.8;margin-left:1px;transition:transform .18s}
.profile-trigger[aria-expanded="true"] .profile-chevron{transform:rotate(180deg)}
.header-popover{position:absolute;z-index:1500;right:0;top:calc(100% + 12px);width:320px;background:#fff;border:1px solid #e0e7f0;border-radius:17px;box-shadow:0 24px 70px rgba(24,45,75,.18);overflow:hidden;transform-origin:top right}
.header-popover[hidden]{display:none!important}
.header-popover.is-opening{animation:headerPopoverIn .16s ease-out}
@keyframes headerPopoverIn{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:none}}
.profile-menu-user{display:flex;align-items:center;gap:11px;padding:16px 16px 13px;background:linear-gradient(145deg,#fbfdff,#f5f9ff);border-bottom:1px solid #edf1f6}
.profile-avatar-lg{width:44px;height:44px;border-radius:13px;font-size:17px}
.profile-menu-user div{min-width:0}.profile-menu-user strong,.profile-menu-user small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-user strong{font-size:14px}.profile-menu-user small{font-size:10px;color:#7d899b;margin-top:3px}
.profile-menu-stats{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #edf1f6;background:#fff}
.profile-menu-stats span{padding:10px 13px;color:#7a8799;font-size:10px;font-weight:700}.profile-menu-stats span+span{border-left:1px solid #edf1f6}.profile-menu-stats strong{color:#17263e;font-size:13px;margin-right:3px}
.profile-dropdown-nav{padding:7px}
.profile-dropdown-nav a{position:relative;display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 10px;border-radius:11px;transition:.16s}
.profile-dropdown-nav a:hover{background:#f3f7fd}
.profile-dropdown-nav .menu-ico{width:33px;height:33px;border-radius:9px;background:#f0f5fb;display:grid;place-items:center;color:#53647b;font-size:15px;font-weight:900}
.profile-dropdown-nav a:hover .menu-ico{background:#e7f0ff;color:var(--blue)}
.profile-dropdown-nav a>span:nth-child(2){min-width:0}.profile-dropdown-nav a strong,.profile-dropdown-nav a small{display:block}.profile-dropdown-nav a strong{font-size:12px}.profile-dropdown-nav a small{font-size:9px;color:#8894a5;margin-top:2px}
.menu-count{min-width:21px;height:21px;border-radius:999px;background:#e9f1ff;color:var(--blue);display:grid;place-items:center;padding:0 6px;font-size:9px}.menu-count-orange{background:#fff0e8;color:var(--orange)}
.profile-menu-footer{border-top:1px solid #edf1f6;padding:8px}.profile-menu-footer a{display:flex;align-items:center;gap:8px;border-radius:10px;padding:9px 11px;color:#637087;font-size:11px;font-weight:800}.profile-menu-footer a:hover{background:#fff3ee;color:var(--orange)}
.notification-menu{width:285px}.popover-head{padding:13px 15px;border-bottom:1px solid #edf1f6;display:flex;align-items:center;justify-content:space-between}.popover-head strong{font-size:13px}.popover-head span{font-size:9px;color:#8b96a6}.empty-notification{padding:25px 18px 27px;text-align:center;display:flex;flex-direction:column;align-items:center}.empty-notification-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#ecf9f1;color:#25a456;font-weight:950;margin-bottom:9px}.empty-notification strong{font-size:12px}.empty-notification small{font-size:10px;color:#8793a4;margin-top:3px}
.header-login-btn{gap:7px}.header-login-btn svg{width:17px;height:17px;fill:currentColor}
.header-post-btn{min-height:46px;border-radius:13px;padding-inline:17px}
.mobile-bottom-nav a>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav a:nth-child(5)>svg{fill:currentColor;stroke:none}.mobile-nav-badged{position:relative}.mobile-nav-badged>b{position:absolute;top:5px;left:calc(50% + 6px);min-width:16px;height:16px;border-radius:999px;background:var(--orange);border:2px solid #fff;color:#fff;font-size:8px;line-height:12px;text-align:center;padding:0 3px}

@media(max-width:1180px){
  .profile-trigger-copy small{display:none}.profile-trigger{max-width:160px}.main-nav{gap:20px}.header-account-actions{margin-left:8px}
}
@media(max-width:1030px){
  .header-quick-tools{gap:4px}.header-icon-btn{width:40px;height:40px}.profile-trigger-copy{display:none}.profile-trigger{width:42px;height:42px;padding:2px;justify-content:center}.profile-trigger .profile-avatar{width:34px;height:34px}.profile-chevron{display:none}.header-post-btn{width:44px;padding:0;font-size:0}.header-post-btn .plus{font-size:24px;margin:0}.post-label{display:none}
}
@media(max-width:900px){
  .mobile-menu-btn{margin-left:auto}.header-account-actions{margin-left:0}.header-quick-tools .header-icon-btn:first-child{display:none}.header-notification-wrap{display:none}.header-quick-tools{padding:0}.profile-trigger{width:40px;height:40px}.profile-trigger .profile-avatar{width:32px;height:32px;border-radius:9px}.header-popover{position:fixed;right:14px;top:70px;width:min(330px,calc(100vw - 28px))}
}
@media(max-width:600px){
  .header-inner{gap:7px}.header-account-actions{gap:6px}.header-quick-tools .header-icon-btn{width:38px;height:38px;border-radius:10px}.header-quick-tools .header-icon-btn svg{width:18px;height:18px}.profile-trigger{width:38px;height:38px;border-radius:10px}.profile-trigger .profile-avatar{width:30px;height:30px}.header-post-btn{width:40px!important;height:40px!important;min-height:40px!important;border-radius:10px!important}.header-badge{right:-5px;top:-5px}.mobile-bottom-nav a span:not(.mobile-post span){font-size:inherit}
}
@media(max-width:430px){
  .header-quick-tools{display:none}.brand img{width:132px}.header-account-actions{gap:5px}
}

/* Google/profile photo support */
.profile-avatar{overflow:hidden}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}

/* Messenger unread badges v2.3.3 */
.header-badge.message-unread-badge{
  background:#e53935;
  box-shadow:0 3px 10px rgba(229,57,53,.34);
  border-color:#fff;
}
.menu-count-red{
  background:#e53935;
  color:#fff;
  box-shadow:0 3px 9px rgba(229,57,53,.20);
}
.mobile-nav-badged>.mobile-message-badge{
  position:absolute;
  top:3px;
  left:calc(50% + 6px);
  min-width:18px;
  height:18px;
  padding:0 4px;
  border-radius:999px;
  border:2px solid #fff;
  background:#e53935;
  color:#fff;
  font-size:9px;
  font-weight:900;
  line-height:14px;
  text-align:center;
  box-shadow:0 3px 9px rgba(229,57,53,.30);
  z-index:3;
}
[data-message-unread-badge].is-bump{animation:messageBadgeBump .42s ease-out}
@keyframes messageBadgeBump{
  0%{transform:scale(.72)}
  45%{transform:scale(1.28)}
  100%{transform:scale(1)}
}
