/* =============================================================================
   Header Component — YouTube-style layout
   ============================================================================= */

:root {
  --header-height: 56px;
  --header-bg:     #ffffff;
  --header-border: #e5e5e5;
  --header-icon:   #0f0f0f;
  --header-icon-muted: #606060;
  --sidebar-width-collapsed: 64px;
  --sidebar-width-expanded:  240px;
}

/* ── Base shell ─────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  z-index: 300;
  transition: box-shadow var(--transition-normal);
}

.header--compact {
  box-shadow: var(--shadow-sm);
}

/* Full-width inner — no container max-width, just horizontal padding */
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--space-4);
  gap: var(--space-4);
}

/* ── LEFT: hamburger + logo ─────────────────────────────────────────────────── */
/* ── LEFT: hamburger + logo ─────────────────────────────────────────────────── */
.header__left {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 0 0 auto;
}

/* Hide merch pill text on small screens, keep icon */
@media (max-width: 640px) {
  .header__merch-pill span { display: none; }
  .header__merch-pill { padding: 0 var(--space-3); }
}

/* Hamburger */
.header__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--header-icon);
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.header__menu:hover {
  background: rgba(0,0,0,.08);
}

/* Logo */
.header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0 var(--space-2);
}
.header__logo img {
  width: auto;
  display: block;
}
.header__logo-fallback {
  display: none;
  align-items: center;
  gap: var(--space-2);
  color: var(--header-icon);
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ── CENTER: search bar + mic ───────────────────────────────────────────────── */
.header__center {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 640px;
  margin-inline: auto;
}

.header__search-group {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
}

/* Search wrapper holds input + search button together */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  border: 1px solid #ccc;
  border-radius: var(--radius-full);
  overflow: visible;
  background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.search-wrapper:focus-within {
  border-color: #1c62b9;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

#search-input {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  color: var(--header-icon);
  padding: 0 var(--space-4);
  height: 40px;
  font-size: var(--font-size-sm);
  width: 100%;
  min-width: 0;
  outline: none;
}
#search-input::placeholder {
  color: var(--header-icon-muted);
}

/* Search submit button — right side of the bar */
.header__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 40px;
  background: #f8f8f8;
  border: none;
  border-left: 1px solid #ccc;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  color: var(--header-icon-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.header__search-btn:hover {
  background: #e8e8e8;
  color: var(--header-icon);
}

/* Mic button — standalone pill */
.header__mic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f2f2;
  border: none;
  color: var(--header-icon);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.header__mic-btn:hover {
  background: #e5e5e5;
}

/* Search dropdown (results) */
.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-base);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  z-index: 400;
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid var(--header-border);
}

/* ── RIGHT: create + bell + avatar ─────────────────────────────────────────── */
.header__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 0 0 auto;
}

/* Merch pill — earthy brown, sits between search and icon group */
.header__merch-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 var(--space-4);
  height: 34px;
  border-radius: var(--radius-full);
  background: #6b0f2b;
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .02em;
  transition: background var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
  margin-right: var(--space-6); /* clear visual gap before the icon group */
  position: relative;
}
/* Subtle vertical divider after the pill */
.header__merch-pill::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--space-4));
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(0,0,0,.12);
  pointer-events: none;
}
.header__merch-pill i { font-size: .85rem; }
.header__merch-pill:hover {
  background: #7d1535;
  color: #fff;
  transform: translateY(-1px);
}

/* Keep old .header__action-link for any remaining uses but make it neutral */
.header__action-link {
  display: inline-flex;
  align-items: center;
  padding: 0 var(--space-3);
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--header-icon);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast);
}
.header__action-link:hover {
  background: rgba(0,0,0,.08);
  color: var(--header-icon);
}

/* + Create button */
.header__create-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-4);
  height: 36px;
  border-radius: var(--radius-full);
  background: #f2f2f2;
  color: var(--header-icon);
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast);
}
.header__create-btn:hover {
  background: #e5e5e5;
  color: var(--header-icon);
}
.header__create-btn svg {
  flex-shrink: 0;
}

/* Generic icon button (bell, etc.) */
.header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--header-icon);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.header__icon-btn:hover {
  background: rgba(0,0,0,.08);
}

/* Notification badge */
.header__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  background: var(--color-highlight);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}

/* User avatar circle */
.header__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-highlight);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 0 0 2px rgba(233,69,96,.25);
}
.header__avatar:hover {
  opacity: 0.9;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(233,69,96,.4);
}
.header__avatar--guest {
  background: transparent;
  color: var(--header-icon);
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
}
.header__avatar--guest:hover {
  background: rgba(0,0,0,.08);
  color: var(--header-icon);
  opacity: 1;
}

/* ── Sidebar — persistent left column (admin-style) ────────────────────────── */
.sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width-collapsed);
  background: #ffffff;
  border-right: 1px solid #e5e5e5;
  z-index: 200;
  transition: width .2s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

/* Expanded state */
.sidebar.is-expanded {
  width: var(--sidebar-width-expanded);
}

.sidebar__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: var(--sidebar-width-expanded);
  overflow: hidden;
}

/* Scrollable nav */
.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 0 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.1) transparent;
}
.sidebar__nav::-webkit-scrollbar { width: 4px; }
.sidebar__nav::-webkit-scrollbar-track { background: transparent; }
.sidebar__nav::-webkit-scrollbar-thumb { background: rgba(0,0,0,.1); border-radius: 4px; }

/* Section labels */
.sidebar__section-label {
  color: rgba(0,0,0,.35);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 14px 12px 4px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity .15s, height .15s, padding .15s;
}
.sidebar:not(.is-expanded) .sidebar__section-label {
  opacity: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
}

/* Nav links — key: each link is exactly 64px wide when collapsed */
.sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 0;
  /* Collapsed: fixed 64px, icon centered */
  width: var(--sidebar-width-collapsed);
  padding: 10px 0;
  border-radius: 8px;
  color: #444;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s, width .2s, gap .2s, padding .2s;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  justify-content: center;
}
/* Expanded: full width, left-aligned */
.sidebar.is-expanded .sidebar__nav a {
  width: 100%;
  padding: 10px 12px;
  justify-content: flex-start;
  gap: 14px;
}
.sidebar__nav a i {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
  color: #555;
  transition: color .15s;
  /* Ensure icon is always visible in collapsed state */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sidebar__nav a:hover {
  background: rgba(0,0,0,.05);
  color: #111;
}
.sidebar__nav a:hover i { color: var(--color-highlight, #e94560); }
.sidebar__nav a.active {
  background: rgba(233,69,96,.08);
  color: var(--color-highlight, #e94560);
}
.sidebar__nav a.active i {
  color: var(--color-highlight, #e94560);
}

/* Link label — hidden when collapsed */
.sidebar__link-label {
  transition: opacity .15s, width .2s;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  width: 0;
  display: inline-block;
}
.sidebar.is-expanded .sidebar__link-label {
  opacity: 1;
  width: auto;
  flex: 1;
}

/* Tooltip on collapsed hover */
.sidebar:not(.is-expanded) .sidebar__nav a[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a2e;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.sidebar:not(.is-expanded) .sidebar__nav a[title]:hover::before {
  content: '';
  position: absolute;
  left: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #1a1a2e;
  pointer-events: none;
  z-index: 9999;
}

/* Auth footer */
.sidebar__footer {
  flex-shrink: 0;
  padding: 8px 0 12px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}
.sidebar__auth-link {
  display: flex;
  align-items: center;
  gap: 0;
  width: var(--sidebar-width-collapsed);
  padding: 10px 0;
  border-radius: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s, width .2s, gap .2s, padding .2s;
  white-space: nowrap;
  overflow: hidden;
  justify-content: center;
  position: relative;
}
.sidebar.is-expanded .sidebar__auth-link {
  width: 100%;
  padding: 10px 12px;
  justify-content: flex-start;
  gap: 14px;
}
.sidebar__auth-link i {
  width: 22px;
  min-width: 22px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sidebar__auth-link:hover {
  background: rgba(0,0,0,.05);
  color: #111;
}
.sidebar__auth-link--signin {
  color: var(--color-highlight, #e94560);
}
.sidebar__auth-link--signin i { color: var(--color-highlight, #e94560); }
.sidebar__auth-link--signin:hover {
  background: rgba(233,69,96,.06);
}
.sidebar__auth-link--logout { color: #c0392b; }
.sidebar__auth-link--logout i { color: #c0392b; }
.sidebar__auth-link--logout:hover {
  background: rgba(192,57,43,.06);
}

/* Tooltip on collapsed auth links */
.sidebar:not(.is-expanded) .sidebar__auth-link[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a2e;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 9999;
}

/* ── Page body offset — shifts content right to make room for sidebar ───────── */
.page-body {
  padding-top: var(--header-height);
}

/* Content wrapper — default collapsed (64px), JS overrides on expand */
.page-content-wrap {
  margin-left: var(--sidebar-width-collapsed);
  transition: margin-left .2s cubic-bezier(.4,0,.2,1);
  min-height: calc(100vh - var(--header-height));
  overflow-x: hidden;
  max-width: calc(100vw - var(--sidebar-width-collapsed));
}
/* When sidebar is expanded, shift content to match */
.page-body.sidebar-open .page-content-wrap {
  margin-left: var(--sidebar-width-expanded);
  max-width: calc(100vw - var(--sidebar-width-expanded));
}

/* Prevent horizontal scroll on body */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ── Page-specific sidebar overrides ───────────────────────────────────────── */

/* no-site-sidebar pages (e.g. merch): nav sidebar fully hidden — 0 width, no icons */
.no-site-sidebar .sidebar {
  width: 0 !important;
  overflow: hidden;
  transition: width .2s cubic-bezier(.4,0,.2,1);
}

/* Content takes full width — no left margin from sidebar */
.no-site-sidebar .page-content-wrap {
  margin-left: 0 !important;
  max-width: 100% !important;
  width: 100%;
  /* Remove any top gap — merch page handles its own spacing */
  padding-top: 0;
}
.no-site-sidebar.sidebar-open .page-content-wrap {
  margin-left: 0 !important;
  max-width: 100% !important;
  width: 100%;
}

/* When hamburger opens the sidebar: overlay the content, don't push it */
.no-site-sidebar .sidebar.is-expanded {
  width: var(--sidebar-width-expanded) !important;
  z-index: 400;
  box-shadow: 4px 0 24px rgba(0,0,0,.18);
}

/* ── Utilities ──────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
  white-space: nowrap;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header__create-btn span { display: none; }
  .header__create-btn { width: 40px; padding: 0; justify-content: center; }
}

@media (max-width: 600px) {
  .header__center {
    max-width: none;
  }
  .header__mic-btn { display: none; }
  #search-input { font-size: var(--font-size-xs); }
}

@media (max-width: 480px) {
  .header__inner { padding-inline: var(--space-2); gap: var(--space-2); }
  .header__create-btn { display: none; }
}

/* ── Currency Switcher ── */
.header__currency {
  position: relative;
}
.header__currency-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
  white-space: nowrap;
}
.header__currency-btn:hover { background: rgba(255,255,255,.15); }

.header__currency-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  min-width: 200px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 200;
  display: none;
  padding: 6px;
}
.header__currency-drop.is-open { display: block; }

.header__currency-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease;
}
.header__currency-opt:hover { background: #f4f5f7; }
.header__currency-opt.is-active { background: #1a1a2e; color: #fff; }
.header__currency-opt span { font-size: 0.8rem; color: #999; font-weight: 400; }
.header__currency-opt.is-active span { color: rgba(255,255,255,.6); }

/* =============================================================================
   Header additions — notifications, profile dropdown, cart badge
   ============================================================================= */

/* Hidden badge state */
.header__badge--hidden {
  display: none !important;
}

/* ── Notification dropdown ──────────────────────────────────────────────────── */
.header__notif-wrap,
.header__profile-wrap {
  position: relative;
}

.header__notif-dropdown,
.header__profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  z-index: 500;
  min-width: 320px;
  max-width: 360px;
  border: 1px solid #eee;
  overflow: hidden;
  animation: dropdownIn .15s ease;
}

@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.header__notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.header__notif-title {
  font-size: .9375rem;
  font-weight: 700;
  color: #1a1a2e;
}

.header__notif-mark-all {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-highlight, #e94560);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.header__notif-mark-all:hover { text-decoration: underline; }

.header__notif-list {
  max-height: 360px;
  overflow-y: auto;
}

.header__notif-empty {
  padding: 24px 16px;
  text-align: center;
  color: #999;
  font-size: .875rem;
}

.header__notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background .12s;
  border-bottom: 1px solid #f8f8f8;
  text-decoration: none;
  color: inherit;
}
.header__notif-item:hover { background: #f9f9f9; }
.header__notif-item.is-unread { background: #fff8f9; }
.header__notif-item.is-unread:hover { background: #fff0f2; }

.header__notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--color-highlight, #e94560);
}
.header__notif-item.is-unread .header__notif-icon {
  background: rgba(233,69,96,.1);
}

.header__notif-body { flex: 1; min-width: 0; }
.header__notif-item-title {
  font-size: .8125rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.35;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header__notif-item-body {
  font-size: .75rem;
  color: #666;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header__notif-item-time {
  font-size: .7rem;
  color: #aaa;
  margin-top: 3px;
}

.header__notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-highlight, #e94560);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ── Profile dropdown ───────────────────────────────────────────────────────── */
.header__profile-dropdown {
  min-width: 240px;
  max-width: 280px;
  padding-bottom: 8px;
}

.header__profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.header__profile-avatar-lg {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-highlight, #e94560);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header__profile-name {
  font-size: .9rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}
.header__profile-email {
  font-size: .75rem;
  color: #888;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.header__profile-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 4px 0;
}

.header__profile-nav {
  display: flex;
  flex-direction: column;
  padding: 4px 8px;
}

.header__profile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background .12s;
}
.header__profile-link:hover {
  background: #f5f5f5;
  color: #1a1a2e;
}
.header__profile-link i {
  font-size: 15px;
  color: #888;
  width: 18px;
  text-align: center;
}
.header__profile-link:hover i { color: var(--color-highlight, #e94560); }

.header__profile-badge {
  margin-left: auto;
  background: var(--color-highlight, #e94560);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
  line-height: 1.6;
}

.header__profile-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-highlight, #e94560);
  text-decoration: none;
  transition: background .12s;
}
.header__profile-logout:hover { background: #fff5f6; }
.header__profile-logout i { font-size: 15px; }

/* ── Search dropdown enhancements ───────────────────────────────────────────── */
.search-dropdown__trending-section {
  padding: 10px 14px 4px;
}
.search-dropdown__trending-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #aaa;
  margin-bottom: 6px;
}
.search-dropdown__category-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: #666;
}
.search-dropdown__section-icon {
  font-size: 11px;
  margin-right: 4px;
  opacity: .7;
}

/* Responsive — hide notifications text on small screens */
@media (max-width: 600px) {
  .header__notif-dropdown,
  .header__profile-dropdown {
    right: -8px;
    min-width: 290px;
  }
}
