/* Dark version of the compact two-level header reference. */
.header-top-section { display: none !important; }
.tp-reference-header {
  height: 150px;
  margin-bottom: 30px !important;
  background: #111827 !important;
  border-bottom: 0 !important;
  box-shadow: 0 9px 25px #02061755 !important;
  z-index: 100 !important;
}
.tp-reference-header .desktop-view {
  height: 102px;
  padding: 0 !important;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.tp-reference-header .desktop-view .container {
  height: 100%;
  position: relative;
  width: 100% !important;
  max-width: none !important;
  padding-left: clamp(18px, 2.25vw, 42px) !important;
  padding-right: clamp(18px, 2.25vw, 42px) !important;
}
.tp-reference-header .desktop-view-wrapper {
  height: 102px;
  min-height: 102px !important;
  align-items: flex-start !important;
  position: relative;
  gap: 16px !important;
}
.tp-reference-header .logo.tp-brand {
  height: 70px;
  display: flex !important;
  align-items: center !important;
  min-width: 245px !important;
  max-width: 245px !important;
  flex: 0 0 245px !important;
  gap: 5px;
}
.tp-reference-header .tp-logo-mark {
  width: 210px !important;
  height: 46px !important;
}
.tp-gift-icon {
  font-size: 24px;
  color: #72a141;
  line-height: 1;
  flex: none;
}
.tp-reference-header .main-menu {
  display: flex !important;
  justify-content: center;
  flex: 1 1 auto;
  padding-top: 16px;
  min-width: 0;
}
.tp-header-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 38px);
  white-space: nowrap;
}
.tp-header-links a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  color: #e2e8f0 !important;
  text-decoration: none !important;
  transition: color .2s;
}
.tp-header-links a:hover,
.tp-header-links a:focus {
  color: #72a141 !important;
}
.tp-reference-header .custom-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: 9px !important;
  padding-top: 18px;
  margin: 0 !important;
  flex: 0 0 217px;
}
.tp-reference-header .custom-nav > .nav-item:first-child {
  position: absolute;
  left: 50%;
  top: 56px;
  width: min(650px, 54vw);
  transform: translateX(-50%);
  z-index: 110;
  margin: 0;
}
.tp-reference-header .headerSearch {
  display: block;
  width: 100%;
  height: 43px;
  border: 1px solid #72a141 !important;
  background: #111827 !important;
  border-radius: 30px !important;
  box-shadow: 0 0 0 6px #1e293b, 0 12px 24px #02061755 !important;
}
.tp-reference-header .headerSearch .form-control {
  width: 100%;
  height: 41px;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 30px !important;
  background: transparent !important;
  color: #f8fafc !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
.tp-reference-header .headerSearch .form-control::placeholder {
  color: #94a3b8 !important;
}
.tp-reference-header .headerSearch .search-btn2 {
  display: none !important;
}
.tp-reference-header .headerSearch .search-result {
  top: calc(100% + 9px);
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid #334155;
  box-shadow: 0 20px 35px #020617aa;
}
.tp-reference-header .headerSearch .search-result .search-item:hover {
  background: #72a14122;
}
.tp-reference-header .tp-register-btn,
.tp-reference-header .login-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 95px;
  height: 37px;
  padding: 0 15px !important;
  border: 1px solid #72a141 !important;
  border-radius: 25px !important;
  background: transparent !important;
  color: #72a141 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}
.tp-reference-header .tp-register-btn:hover,
.tp-reference-header .login-btn:hover {
  background: #72a141 !important;
  color: #0f172a !important;
}
.tp-reference-header .shopping-cart > button {
  color: #72a141 !important;
  background: #1e293b !important;
  border-radius: 10px !important;
}

/* Dynamic category navigation below the main desktop header. */
.tp-reference-header .tp-category-nav {
  position: absolute;
  top: 102px;
  left: 0;
  right: 0;
  height: 48px;
  background: #111827;
  border-top: 0;
  border-bottom: 0;
  box-shadow: 0 12px 24px rgba(2, 6, 23, .18);
  z-index: 90;
}
.tp-reference-header .tp-category-nav > .container {
  width: 100% !important;
  max-width: none !important;
  padding-left: clamp(18px, 2.25vw, 42px) !important;
  padding-right: clamp(18px, 2.25vw, 42px) !important;
}
.tp-reference-header .tp-category-nav::before {
  content: none;
}
.tp-category-nav-scroll {
  height: 47px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 5px;
  overflow: visible;
}
.tp-category-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 5px 10px 5px 0;
  padding: 0 16px;
  border: 1px solid rgba(114, 161, 65, .32);
  border-radius: 8px;
  background: rgba(114, 161, 65, .08);
  color: #a9d775 !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
.tp-category-all:hover {
  background: rgba(114, 161, 65, .2);
  border-color: #72a141;
  color: #c8ef9c !important;
}
.tp-category-item {
  position: relative;
  display: flex;
  min-width: 0;
}
.tp-category-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #e2e8f0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.tp-category-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #72a141;
  font-size: 13px;
}
.tp-category-icon .category-icon-image {
  width: 19px;
  height: 19px;
  object-fit: contain;
}
.tp-category-trigger i {
  color: #72a141;
  font-size: 9px;
  transition: transform .2s;
}
.tp-category-item:hover .tp-category-trigger,
.tp-category-item.is-open .tp-category-trigger,
.tp-category-trigger:focus-visible {
  color: #9bd25e;
  background: rgba(114, 161, 65, .09);
}
.tp-category-item:hover .tp-category-trigger i,
.tp-category-item.is-open .tp-category-trigger i {
  transform: rotate(180deg);
}
.tp-category-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 270px;
  max-height: 390px;
  overflow-y: auto;
  padding: 9px;
  background: #111a2a;
  border: 1px solid #334155;
  border-top: 2px solid #72a141;
  border-radius: 0 0 13px 13px;
  box-shadow: 0 20px 38px rgba(2, 6, 23, .8);
}
.tp-category-item:hover .tp-category-dropdown,
.tp-category-item:focus-within .tp-category-dropdown,
.tp-category-item.is-open .tp-category-dropdown {
  display: block;
}
.tp-category-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  border-radius: 7px;
  color: #cbd5e1 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}
.tp-category-dropdown a:hover {
  color: #fff !important;
  background: rgba(114, 161, 65, .18);
}
.tp-category-dropdown .tp-category-view-all {
  margin-bottom: 5px;
  color: #9bd25e !important;
  border-bottom: 1px solid #2d394c;
  border-radius: 7px 7px 2px 2px;
}
.tp-dropdown-category-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.tp-dropdown-category-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #72a141;
  flex: none;
}
.tp-dropdown-category-icon .category-icon-image {
  width: 19px;
  height: 19px;
  object-fit: contain;
}
.tp-category-empty {
  display: block;
  padding: 13px 11px;
  color: #718096;
  font-size: 12px;
}

@media (min-width: 992px) {
  .tp-reference-header {
    margin-bottom: 18px !important;
    box-shadow: 0 14px 30px rgba(2, 6, 23, .3) !important;
  }
}

/* User Profile Nav Box & Rich Dropdown */
.profile-box {
  margin-left: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.profile-box .profile {
  cursor: pointer;
  border: 2px solid rgba(114, 161, 65, 0.4) !important;
  background: #111827 !important;
  border-radius: 50% !important;
  padding: 2px !important;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px rgba(114, 161, 65, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profile-box .profile:hover,
.profile-box:hover .profile {
  border-color: #72a141 !important;
  box-shadow: 0 0 18px rgba(114, 161, 65, 0.45);
  transform: scale(1.05);
}
.profile-box .profile img {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block;
}

.profile-box .user-dropdown,
.profile-box .dropdown-menu.user-dropdown {
  position: absolute !important;
  top: 100% !important;
  margin-top: 0 !important;
  right: 0 !important;
  left: auto !important;
  width: 360px !important;
  background: #111827 !important;
  border: 1px solid #334155 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.9), 0 0 0 1px rgba(114, 161, 65, 0.2) !important;
  padding: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) scale(0.96) !important;
  transform-origin: top right !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
  z-index: 1060 !important;
  overflow: hidden !important;
  display: block !important;
}

.profile-box .user-dropdown.show,
.profile-box .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  display: block !important;
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border-bottom: 1px solid #1e293b;
}
.user-dropdown-header .user-avatar-wrap img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #72a141;
  object-fit: cover;
  display: block;
}
.user-dropdown-header .user-info-wrap {
  min-width: 0;
  flex: 1;
}
.user-dropdown-header .user-name {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-dropdown-header .user-balance {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #72a141;
  background: rgba(114, 161, 65, 0.15);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(114, 161, 65, 0.25);
}

.user-dropdown-body {
  padding: 10px;
  max-height: 380px;
  overflow-y: auto;
}
.user-dropdown-body::-webkit-scrollbar {
  width: 4px;
}
.user-dropdown-body::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
.user-dropdown-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.user-dropdown-grid li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.user-dropdown-grid li a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  color: #cbd5e1 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: rgba(30, 41, 59, 0.55) !important;
  border: 1px solid rgba(51, 65, 85, 0.6) !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.user-dropdown-grid li a i {
  color: #72a141 !important;
  font-size: 13px !important;
  width: 16px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}
.user-dropdown-grid li a span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-dropdown-grid li a:hover,
.user-dropdown-grid li a.active {
  background: #72a141 !important;
  color: #091207 !important;
  border-color: #72a141 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(114, 161, 65, 0.3) !important;
}
.user-dropdown-grid li a:hover i,
.user-dropdown-grid li a.active i {
  color: #091207 !important;
}

.user-dropdown-footer {
  padding: 8px 10px;
  border-top: 1px solid #1e293b;
  background: rgba(15, 23, 42, 0.7);
}
.user-dropdown-footer .logout-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.user-dropdown-footer .logout-link i {
  color: #ef4444;
  font-size: 13px;
}
.user-dropdown-footer .logout-link:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}
.user-dropdown-footer .logout-link:hover i {
  color: #ffffff;
}

.tp-profile-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  cursor: pointer;
}
.tp-account-menu .user-name { display: block; }
.tp-account-menu .user-dropdown-footer form { margin: 0; }
.tp-account-menu .logout-link { width: 100% !important; height: auto !important; cursor: pointer; }
@media (max-width: 991px) {
  .tp-mobile-profile { position: relative; }
  .tp-mobile-profile .tp-profile-trigger {
    width: 38px;
    height: 38px;
    padding: 2px;
    border: 1px solid #72a141;
    border-radius: 50%;
    background: #1e293b;
  }
  .tp-mobile-profile .tp-profile-trigger img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }
  .tp-mobile-profile .tp-guest-trigger {
    color: #e2e8f0;
    font-size: 17px;
  }
  .tp-mobile-profile .tp-guest-menu {
    padding: 18px !important;
    text-align: center;
  }
  .tp-guest-menu :where(.tp-guest-login, .tp-guest-register) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    border: 1px solid #72a141;
    border-radius: 24px;
    color: #72a141;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
  }
  /* Override the compact 38px header-icon rule inherited through .tp-mobile-actions. */
  .tp-mobile-actions .tp-guest-menu a.tp-guest-login,
  .tp-mobile-actions .tp-guest-menu a.tp-guest-register {
    display: flex !important;
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 24px !important;
    white-space: nowrap;
  }
  .tp-guest-menu .tp-guest-login {
    background: #72a141;
    color: #091207;
  }
  .tp-guest-menu .tp-guest-or {
    display: block;
    margin: 8px 0;
    color: #94a3b8;
    font-size: 13px;
  }
  .tp-guest-menu :where(.tp-guest-login, .tp-guest-register):hover,
  .tp-guest-menu :where(.tp-guest-login, .tp-guest-register):focus {
    background: #8fbb5d;
    border-color: #8fbb5d;
    color: #091207;
  }
  .tp-mobile-profile .user-dropdown {
    top: 100% !important;
    width: min(360px, calc(100vw - 30px)) !important;
    max-height: min(70vh, 560px);
    overflow-y: auto !important;
  }
  .tp-mobile-profile:hover .user-dropdown:not(.show) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

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

@media (max-width: 1199px) and (min-width: 992px) {
  .tp-reference-header .logo.tp-brand {
    min-width: 195px !important;
    max-width: 195px !important;
    flex-basis: 195px !important;
  }
  .tp-reference-header .tp-logo-mark {
    width: 165px !important;
    background-size: 230px 230px;
    background-position: -34px -94px;
  }
  .tp-gift-icon { font-size: 20px; }
  .tp-header-links { gap: 14px; }
  .tp-header-links a { font-size: 11px; }
  .tp-reference-header .custom-nav {
    flex-basis: 190px;
    gap: 5px !important;
  }
  .tp-reference-header .tp-register-btn,
  .tp-reference-header .login-btn {
    min-width: 82px;
    padding: 0 8px !important;
  }
}

@media (max-width: 991px) {
  .tp-reference-header {
    height: auto !important;
    margin-bottom: 25px !important;
    background: #111827 !important;
  }
  .tp-reference-header .tp-mobile-nav {
    padding: 8px 12px 0 !important;
    background: #111827 !important;
  }
  body.tp-mobile-menu-open { overflow: hidden; }
  .tp-mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(2, 6, 23, .72);
    backdrop-filter: blur(3px);
  }
  .tp-mobile-menu-backdrop[hidden],
  .tp-mobile-links[hidden] { display: none !important; }
  .tp-reference-header .tp-mobile-links {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    width: min(430px, 92vw);
    margin: 0;
    padding: 0 10px 24px;
    overflow-y: auto;
    border: 0;
    background: #181b25;
    box-shadow: 20px 0 45px rgba(2, 6, 23, .72);
  }
  .tp-mobile-menu-heading {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #181b25;
    color: #fff;
    font-size: 15px;
  }
  .tp-mobile-menu-close {
    position: absolute;
    right: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }
  .tp-mobile-category-list { display: grid; gap: 7px; }
  .tp-mobile-category-item { border-radius: 9px; overflow: hidden; }
  .tp-mobile-category-trigger {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #232630;
    color: #fff;
    font-size: 16px;
    text-align: left;
  }
  .tp-mobile-category-trigger > span { display: inline-flex; align-items: center; gap: 11px; }
  .tp-mobile-category-trigger > span > i { width: 18px; color: #83b64c; text-align: center; font-size: 14px; }
  .tp-mobile-category-arrow { transition: transform .2s ease; }
  .tp-mobile-category-trigger[aria-expanded="true"] {
    border-color: rgba(114, 161, 65, .55);
    background: #293020;
    color: #b7df87;
  }
  .tp-mobile-category-trigger[aria-expanded="true"] .tp-mobile-category-arrow { transform: rotate(90deg); }
  .tp-mobile-category-children {
    padding: 5px 8px 8px;
    background: #1d202a;
  }
  .tp-mobile-category-children[hidden] { display: none !important; }
  .tp-reference-header .tp-mobile-category-children a {
    display: block;
    padding: 10px 11px;
    border-radius: 7px;
    color: #cbd5e1;
    font-size: 13px;
  }
  .tp-reference-header .tp-mobile-category-children a:hover { background: #293241; color: #fff; }
  .tp-reference-header .tp-mobile-category-children .tp-mobile-view-all { color: #9bd25e; font-weight: 700; }
  .tp-mobile-menu-utility {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #303644;
  }
  .tp-reference-header .tp-mobile-menu-utility a {
    display: inline-block;
    padding: 8px 10px;
    color: #8f9bad;
    font-size: 12px;
  }
  .tp-reference-header .tp-mobile-row {
    min-height: 52px;
    display: grid !important;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    align-items: center !important;
    position: relative;
    gap: 6px;
  }
  .tp-mobile-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 0%;
    justify-content: flex-start;
  }
  .tp-mobile-toggle {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .tp-mobile-toggle:hover,
  .tp-mobile-toggle:focus {
    background: #72a141;
    color: #0f172a;
    border-color: #72a141;
  }
  .tp-mobile-addfund {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 34px;
    padding: 0 9px;
    background: rgba(114, 161, 65, 0.15);
    border: 1px solid rgba(114, 161, 65, 0.4);
    border-radius: 18px;
    color: #8fbb5d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
  }
  .tp-mobile-addfund:hover {
    background: #72a141;
    color: #091207;
  }
  .tp-reference-header .tp-mobile-row .tp-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    margin: 0;
    gap: 3px;
    text-decoration: none;
  }
  .tp-reference-header .tp-mobile-row .tp-logo-mark {
    width: 198px !important;
    height: 42px !important;
    background-size: 271px 271px !important;
    background-position: -38px -109px !important;
  }
  .tp-reference-header .tp-mobile-row .tp-gift-icon {
    display: none !important;
  }
  .tp-mobile-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 0%;
    justify-content: flex-end;
  }
  .tp-mobile-cart {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #72a141;
    text-decoration: none;
    font-size: 15px;
  }
  .tp-mobile-cart .header-cart-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #72a141;
    color: #091207;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
  }
  .tp-mobile-user {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #e2e8f0;
    text-decoration: none;
    overflow: hidden;
  }
  .tp-mobile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
  }
  .tp-mobile-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
    padding: 12px 6px;
  }
  .tp-menu-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
  }
  .tp-menu-pill i {
    color: #72a141;
    font-size: 14px;
    width: 18px;
    text-align: center;
  }
  .tp-menu-pill:hover,
  .tp-menu-pill:active {
    background: #72a141;
    color: #091207;
    border-color: #72a141;
  }
  .tp-menu-pill:hover i,
  .tp-menu-pill:active i {
    color: #091207;
  }
  .tp-pill-primary {
    background: rgba(114, 161, 65, 0.2);
    border-color: #72a141;
    color: #8fbb5d;
  }
  .tp-logout-pill {
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
  }
  .tp-logout-pill i {
    color: #ef4444;
  }

  .tp-mobile-search {
    display: block;
    position: relative;
    margin: 4px 0 -17px;
    transform: translateY(17px);
    z-index: 15;
  }
  .tp-mobile-search input {
    height: 48px;
    width: 100%;
    border: 1px solid #72a141 !important;
    border-radius: 30px !important;
    background: #111827 !important;
    color: #f8fafc !important;
    box-shadow: 0 0 0 6px #1e293b, 0 12px 20px #02061755 !important;
    padding: 0 18px;
    outline: none;
  }
  .tp-mobile-search input::placeholder {
    color: #94a3b8;
  }
  .tp-mobile-search > i {
    display: none !important;
  }
  .tp-mobile-search-result {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 13px;
    box-shadow: 0 16px 30px #020617aa;
    overflow: hidden;
    max-height: 260px;
    overflow-y: auto;
  }
  .tp-mobile-search-result[hidden] {
    display: none;
  }
  .tp-mobile-search-result a {
    display: block;
    padding: 12px 16px;
    color: #e2e8f0;
    text-decoration: none;
    border-bottom: 1px solid #334155;
  }
  .tp-mobile-search-result a:hover {
    color: #72a141;
    background: #0f172a;
  }
}

@media (max-width: 480px) {
  .tp-mobile-addfund span {
    display: none;
  }
  .tp-mobile-addfund {
    width: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 8px;
  }
  .tp-reference-header .tp-mobile-row .tp-logo-mark {
    width: 190px !important;
    height: 40px !important;
    background-size: 250px 250px !important;
    background-position: -40px -106px !important;
  }
}

@media (max-width: 360px) {
  .tp-reference-header .tp-mobile-row .tp-logo-mark {
    width: 170px !important;
    height: 38px !important;
    background-size: 225px 225px !important;
    background-position: -36px -95px !important;
  }
}
