/* ===========================================
   BOLETANDO HEADER - CSS PURO
   =========================================== */

/* ---------- Variables ---------- */
:root {
  --color-primary: #3b9fd8;
  --color-primary-dark: #2980b9;
  --color-accent: #4ade80;
  --color-accent-dark: #22c55e;
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-cta: 0 4px 14px -2px rgba(74, 222, 128, 0.35);
  --transition: all 0.2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Site Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

/* ---------- Header Top ---------- */
.header-top {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

/* ---------- Header Left ---------- */
.header-left {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 0;
  z-index: 10;
}

/* Garantir logo sempre visível no mobile */
@media (max-width: 767px) {
  .header-left {
    flex: 1;
    gap: 4px;
  }

  .header-actions {
    flex-shrink: 0;
  }
}

/* Sobrescrever hide do Rehub */
.header-left .logo,
.header-left .logo.hide-on-tablet,
.header-left .logo.hide_on_tablet {
  display: block !important;
  visibility: visible !important;
}

/* ---------- Logo ---------- */
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}

/* ---------- Search Box ---------- */
.search-box {
  flex: 1;
  max-width: 640px;
  position: relative;
  display: none;
}

/* ---------- Header Actions ---------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Icon Buttons ---------- */
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--color-white);
  transition: var(--transition);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Notification Badge ---------- */
.btn-notification {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Wrapper para shortcode wpDiscuz Bell */
.btn-notification-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

 .alerts-dropdown-btn {
    margin-right: 10px;
    margin-top: 7px;
  } 
/* ---------- CTA Button ---------- */
.btn-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: 8px;
  box-shadow: var(--shadow-cta);
  transition: var(--transition);
}

.btn-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn-cta-full {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ---------- User Icon Button ---------- */
.btn-user-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

/* Estado de login - Controle de visibilidade */
body.logged-in .btn-user-icon.btn-user-guest {
  display: none;
}

/* ---------- User Menu Dropdown ---------- */
.user-menu-wrapper {
  position: relative;
  display: none;
}

body.logged-in .user-menu-wrapper.btn-user-logged {
  display: flex;
}

.btn-user-trigger {
  color: var(--color-white);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

/* Ponte invisível para manter hover */
.user-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.user-menu-wrapper:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.user-dropdown-item:hover {
  background: var(--color-gray-100);
  color: var(--color-primary);
}

.user-dropdown-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.user-dropdown-item:hover svg {
  opacity: 1;
}

.user-dropdown-logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.user-dropdown-logout:hover svg {
  stroke: #dc2626;
}

/* ---------- Mobile Search ---------- */
.search-box-mobile {
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  max-width: 40px;
}

.btn-search-toggle {
  display: flex;
  color: var(--color-white);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
  position: relative;
  z-index: 1002;
}

.btn-search-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Overlay escuro */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  cursor: pointer;
}

.search-box-mobile.active .search-overlay {
  display: block;
}

/* Caixa de busca centralizada */
.search-box-expand {
  display: none;
  position: fixed;
  top: 35%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: var(--color-white);
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

#ajaxsearchpro1_2 {
    top: 30% !important;
}

/* Ajustes do campo de busca dentro do expand */
.search-box-expand input[type="text"],
.search-box-expand input[type="search"],
.search-box-expand .asp_w {
  width: 100% !important;
  font-size: 18px !important;
  padding: 14px 16px !important;
}

/* Esconder elementos duplicados do Ajax Search Pro */
.search-box-expand .asp_w ~ .asp_w,
.search-box-expand > *:not(:first-child):not(.asp_w):not([class*="asp"]) {
  display: none !important;
}

.search-box-mobile.active .search-box-expand {
  display: block;
}

/* ---------- Menu Button (Hamburger → X) ---------- */
.btn-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 11px;
  border-radius: 8px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  transform-origin: center;
}

.btn-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.btn-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Categories Bar ---------- */
.header-categories {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  position: relative;
  z-index: 50;
  overflow: visible;
}

.header-categories .container {
  padding: 0;
  overflow: visible;
}

.categories-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}

/* Desktop: permitir dropdown visível */
@media (min-width: 768px) {
  .categories-nav {
    overflow: visible;
  }
}

.categories-nav::-webkit-scrollbar {
  display: none;
}

/* ---------- Category Pill ---------- */
.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
  background: var(--color-gray-100);
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--transition);
}

.category-pill:hover,
.category-pill.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Arrow branca quando pill está ativo */
.category-pill.active .dropdown-arrow {
  color: var(--color-white);
}

/* ===========================================
   SIDEBAR
   =========================================== */
.nav-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--color-white);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}

.nav-sidebar.active {
  transform: translateX(0);
}

/* --- Sidebar Header --- */
.nav-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  flex-shrink: 0;
}

.nav-sidebar-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
}

.nav-sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nav-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --- Sidebar Navigation --- */
.nav-sidebar-nav {
  display: none;
}

.nav-sidebar-nav::-webkit-scrollbar {
  width: 3px;
}

.nav-sidebar-nav::-webkit-scrollbar-thumb {
  background: var(--color-gray-200);
  border-radius: 3px;
}

.nav-sidebar-link {
  display: flex;
  align-items: center;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray-700);
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.nav-sidebar-link:hover {
  background: var(--color-gray-50);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

.nav-sidebar-link.active {
  background: var(--color-gray-50);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  font-weight: 600;
}

.nav-sidebar-divider {
  height: 1px;
  background: var(--color-gray-200);
  margin: 8px 24px;
}

/* --- Sidebar Groups (expandable sub-items) --- */
.nav-sidebar-link-row {
  display: flex;
  align-items: stretch;
}

.nav-sidebar-link-row .nav-sidebar-link {
  flex: 1;
}

.nav-sidebar-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  color: var(--color-gray-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  border-left: 1px solid var(--color-gray-100);
}

.nav-sidebar-expand:hover {
  background: var(--color-gray-50);
  color: var(--color-primary);
}

.nav-sidebar-expand svg {
  transition: transform 0.3s ease;
}

.nav-sidebar-group.open .nav-sidebar-expand svg {
  transform: rotate(180deg);
}

.nav-sidebar-group.open .nav-sidebar-expand {
  color: var(--color-primary);
}

.nav-sidebar-sublinks {
  display: none;
  background: var(--color-gray-50);
}

.nav-sidebar-group.open .nav-sidebar-sublinks {
  display: block;
  animation: sidebarSlideDown 0.3s ease;
}

@keyframes sidebarSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-sidebar-sublink {
  display: block;
  padding: 11px 24px 11px 40px;
  font-size: 14px;
  color: var(--color-gray-600);
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.nav-sidebar-sublink:hover {
  color: var(--color-primary);
  background: var(--color-gray-100);
  border-left-color: var(--color-primary);
}

.nav-sidebar-sublink.active {
  color: var(--color-primary);
  font-weight: 600;
  border-left-color: var(--color-primary);
}

/* --- Sidebar Footer --- */
.nav-sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--color-gray-200);
  flex-shrink: 0;
}

.nav-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 10px;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.nav-sidebar-cta-green {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .nav-sidebar-cta-green {
    display: none;
  }
}

.nav-sidebar-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* --- Sidebar Social Widget --- */
.nav-sidebar-social {
  padding: 0 0 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--color-gray-200);
}

.nav-sidebar-social-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-800);
  margin: 0 0 10px;
  text-align: center;
}

.nav-sidebar-social-links {
  display: flex;
  gap: 8px;
}

.nav-sidebar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-sidebar-social-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.nav-sidebar-social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-sidebar-social-link--tg {
  background: #0088cc;
}

.nav-sidebar-social-link--wpp {
  background: #25D366;
}

.nav-sidebar-legal {
  text-align: center;
  font-size: 12px;
  color: var(--color-gray-600);
  line-height: 2;
}

.nav-sidebar-legal a {
  color: var(--color-gray-600);
  transition: color 0.2s ease;
}

.nav-sidebar-legal a:hover {
  color: var(--color-primary);
}

.nav-sidebar-legal span {
  margin: 0 6px;
  opacity: 0.5;
}

.nav-sidebar-legal p {
  margin-top: 4px;
  opacity: 0.7;
}

/* ===========================================
   RESPONSIVE - TABLET (768px+)
   =========================================== */
@media (min-width: 768px) {
  .search-box {
    display: block;
  }

  .search-box-mobile {
    display: none;
  }

  .btn-cta {
    display: flex;
  }
}

/* ===========================================
   RESPONSIVE - DESKTOP (1024px+)
   =========================================== */
@media (min-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .categories-nav {
    padding: 8px 24px;
  }

  .nav-sidebar {
    width: 320px;
  }
}

/* ===========================================
   DROPDOWN MENUS - DESKTOP
   =========================================== */

/* Dropdown Container */
.category-dropdown {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

/* Pill with dropdown arrow */
.category-pill.has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform 0.2s ease;
  opacity: 1;
  color: var(--color-gray-600);
}

.category-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 8px;
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

/* Ponte invisível para manter hover */
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-radius: 2px;
}

.category-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

/* Dropdown Items */
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-700);
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  transform: translateX(4px);
}

/* Wide dropdown for Periféricos */
.dropdown-menu-wide {
  min-width: 220px;
}

/* ===========================================
   UNIFIED DROPDOWNS - Notificações & Alertas
   =========================================== */

/* --- Shared dropdown shell --- */
.wun-notifications,
#spa_alertsDropdown {
  width: 380px !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: none !important;
  border-bottom: none !important;
  overflow: hidden;
  background: var(--color-white) !important;
  font-family: var(--font-sans) !important;
}

/* --- Header --- */
.wun-notifications .wun-head,
#spa_alertsDropdown > .spa_alertsDropdown_header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%) !important;
  color: var(--color-white) !important;
  padding: 14px 16px !important;
  border-bottom: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
}

.wun-notifications .wun-head *,
.wun-notifications .wun-head span {
  color: var(--color-white) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
}

.wun-head .wun-head-bell-wrap-m {
  float: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  height: auto !important;
  line-height: normal !important;
}

.wun-head .wun-head-bell-wrap {
  display: flex !important;
  align-items: center;
}

.wun-head .wun-head-bell {
  fill: var(--color-white) !important;
  width: 18px !important;
  height: 18px !important;
}

.wun-head .wun-head-bell path {
  fill: var(--color-white) !important;
}

.wun-loader svg rect {
  fill: var(--color-white) !important;
}

/* --- Content / List area --- */
.wun-notifications .wun-content,
#spa_alertsDropdown_lists {
  max-height: 380px !important;
  overflow-y: auto !important;
  padding: 0 !important;
  background: var(--color-white) !important;
}

/* Custom scrollbar */
.wun-notifications .wun-content::-webkit-scrollbar,
#spa_alertsDropdown_lists::-webkit-scrollbar {
  width: 4px;
}
.wun-notifications .wun-content::-webkit-scrollbar-thumb,
#spa_alertsDropdown_lists::-webkit-scrollbar-thumb {
  background: var(--color-gray-200);
  border-radius: 4px;
}

/* --- List items (wpDiscuz) --- */
.wun-content .wun-item {
  padding: 12px 16px !important;
  background: var(--color-white) !important;
  border-bottom: 1px solid var(--color-gray-100) !important;
  transition: background 0.15s ease !important;
  align-items: flex-start !important;
}

.wun-content .wun-item:last-child {
  border-bottom: none !important;
}

.wun-content .wun-item:hover {
  background: var(--color-gray-50) !important;
}

.wun-content .wun-item,
.wun-content .wun-item *,
.wun-notifications .wun-content *{
  font-size: 13px !important;
  color: var(--color-gray-700) !important;
  line-height: 1.5 !important;
}

.wun-content .wun-item strong {
  font-weight: 600 !important;
  color: var(--color-gray-700) !important;
}

.wun-item .wun-item-icon path {
  fill: var(--color-primary) !important;
}

.wun-item .wun-nright a {
  color: var(--color-primary) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

.wun-item .wun-nright a:hover {
  color: var(--color-primary-dark) !important;
  text-decoration: underline !important;
}

.wun-item .wun-nright .wun-date {
  color: var(--color-gray-600) !important;
  font-size: 11px !important;
  opacity: 0.7;
  margin-top: 2px;
}

.wun-item .wun-no-notifications {
  color: var(--color-gray-600) !important;
  padding: 24px 16px !important;
  font-size: 13px !important;
}

/* --- List items (SmartPostAlert) --- */
.spa_alertDropdown_item {
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--color-gray-100) !important;
  transition: background 0.15s ease !important;
}

.spa_alertDropdown_item:last-child {
  border-bottom: none !important;
}

.spa_alertDropdown_item:hover {
  background: var(--color-gray-50) !important;
}

.spa_alertDropdown_item .sap_alertTitle {
  font-size: 13px !important;
  color: var(--color-gray-700) !important;
  line-height: 1.4 !important;
}

.spa_alertDropdown_item .sap_alertPrice {
  font-size: 13px !important;
}

.spa_alertDropdown_item .sap_alertTime {
  font-size: 11px !important;
}

/* --- Footer --- */
.wun-notifications .wun-actions,
#spa_alertsDropdown > .spa_alertsDropdown_footer {
  background: var(--color-gray-50) !important;
  border-top: 1px solid var(--color-gray-100) !important;
  padding: 12px 16px !important;
  text-align: center !important;
}

.wun-notifications .wun-actions .wun-action {
  color: var(--color-primary) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 4px 8px !important;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.wun-notifications .wun-actions .wun-action:hover {
  color: var(--color-primary-dark) !important;
  background: var(--color-gray-100) !important;
}

.wun-notifications .wun-actions .wun-action-load-more {
  border-top: none !important;
  background: transparent !important;
  color: var(--color-gray-600) !important;
  margin-bottom: 4px;
}

.wun-notifications .wun-actions .wun-action-load-more:hover {
  background: var(--color-gray-100) !important;
  color: var(--color-primary) !important;
}

#spa_alertsDropdown > .spa_alertsDropdown_footer a {
  color: var(--color-primary) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

#spa_alertsDropdown > .spa_alertsDropdown_footer a:hover {
  color: var(--color-primary-dark) !important;
}

/* --- Mobile (<=768px) --- */
@media screen and (max-width: 768px) {
  #wun-container {
    margin-top: -21px !important;
  }
  #wun-container .wun-notifications {
    margin-top: 0 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    border-radius: 0 !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  #spa_alertsDropdown {
    width: 100% !important;
    border-radius: 0 !important;
    min-width: 100% !important;
  }
}

/* ===========================================
   AVATAR NO HEADER
   =========================================== */
.btn-user-trigger .user-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.btn-user-trigger:hover .user-avatar-img {
  opacity: 0.85;
}
