
  /* --- BASE HEADER STYLING (tdh-) --- */
  .tdh-header-wrapper {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: rgba(0, 0, 0, 0.7) !important;
    /* Frosted glass background */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    width: calc(100% - 0px);
    max-width: 1300px;
    margin: 30px auto 0;
    /* Floats offset from top of the page */
    position: sticky;
    /* Stays sticky as you scroll down the page */
    top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    /* Thin glass border outline */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    box-sizing: border-box;
  }

  .tdh-header-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
  }

  .tdh-header-container {
    max-width: 100%;
    width: 100%;
    height: 70px;
    /* Slim, luxury header height */
    display: flex;
    align-items: center;
    padding: 0 32px;
    /* Balanced horizontal padding */
    position: relative;
  }

  /* Logo */
  .tdh-logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    height: 100%;
  }

  .tdh-logo-img {
    height: 25px !important;
    width: auto !important;
    max-width: 140px !important;
    display: block !important;
  }

  /* Navigation Links */
  .tdh-nav {
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
    margin-left: 50px;
    /* Spacious separation from logo */
    gap: 28px;
    /* Spacing between menu options */
  }

  .tdh-nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
  }

  /* Prevent mega menu from being constrained to individual link width */
  .tdh-nav-item.has-mega {
    position: static !important;
  }

  .tdh-nav-link {
    color: #fff !important;
    /* opacity: 0.7; */
    text-decoration: none !important;
    font-size: .8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .15em;
    transition: opacity 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    position: relative;
    white-space: nowrap !important;
  }

  .tdh-nav-item:hover .tdh-nav-link {
    opacity: 1;
    color: #fff !important;
    /* Keep white on hover */
  }

  .tdh-chevron {
    width: 8px;
    height: 8px;
    fill: currentColor;
    transition: transform .2s ease;
    opacity: 0.7;
  }

  .tdh-nav-item:hover .tdh-chevron {
    transform: translateY(2px);
    opacity: 1;
  }

  /* Actions (Right Section) */
  .tdh-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    margin-left: auto;
    /* Push socials + search to far right */
  }

  /* Social Icons */
  .tdh-socials {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .tdh-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
  }

  /* Keep social icons white; hover transitions color and fill */
  .tdh-social-link,
  .tdh-social-link svg {
    color: #fff !important;
    fill: #fff !important;
    /* opacity: 0.7; */
    transition: opacity 0.25s ease, color 0.25s ease, fill 0.25s ease;
  }

  .tdh-social-link:hover,
  .tdh-social-link:hover svg {
    color: #ff4400 !important;
    fill: #ff4400 !important;
    opacity: 1;
  }

  .tdh-social-link.tdh-x svg {
    width: 17px !important;
    height: 17px !important;
  }

  .tdh-social-link.tdh-telegram svg {
    width: 19px !important;
    height: 19px !important;
  }

  .tdh-social-link.tdh-instagram svg {
    width: 16px !important;
    height: 16px !important;
  }

  .tdh-social-link svg {
    display: block;
  }

  /* Search Wrapper */
  .tdh-search-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 10px;
    /* opacity: 0.7; */
    transition: opacity 0.25s ease;
  }

  .tdh-search-wrapper:hover {
    opacity: 1;
  }

  .tdh-search-wrapper svg,
  .tdh-search-wrapper img,
  .tdh-search-wrapper i {
    width: 18px !important;
    height: 18px !important;
    font-size: 18px !important;
    display: block;
  }

  /* Standard Dropdown */
  .tdh-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    /* Detached slightly from the navbar */
    background: rgba(0, 0, 0, 0.85);
    /* Frosted glass panel */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 280px;
    /* Wider spacing to accommodate rich description layout */
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s cubic-bezier(0.16, 1, 0.3, 1), transform .25s cubic-bezier(0.16, 1, 0.3, 1), visibility .25s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    z-index: 10000;
  }

  .tdh-nav-item:hover .tdh-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .tdh-dropdown a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 24px;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.2s ease;
    background: #000000;
  }

  .tdh-dropdown a:last-child {
    border-bottom: none;
  }

  .tdh-dropdown a:hover {
    background: #ff4400 !important;
  }

  .tdh-dropdown a:hover .tdh-dropdown-title {
    color: #000 !important;
  }

  .tdh-dropdown a:hover .tdh-dropdown-desc {
    color: rgba(0, 0, 0, 0.65) !important;
  }

  .tdh-dropdown-title {
    font-size: .75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
  }

  .tdh-dropdown-desc {
    font-size: .65rem;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  /* Mega Menu Dropdown */
  .tdh-mega-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    /* Detached slightly from the navbar */
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Frosted glass panel */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s cubic-bezier(0.16, 1, 0.3, 1), transform .25s cubic-bezier(0.16, 1, 0.3, 1), visibility .25s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow: hidden !important;
  }

  .tdh-nav-item:hover .tdh-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Mobile Nav Elements */
  .tdh-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10100;
    outline: none !important;
  }

  .tdh-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform .3s ease, opacity .3s ease, background .3s ease;
  }

  .tdh-mobile-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .tdh-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .tdh-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .tdh-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #000;
    border-left: 1px solid #111;
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: right .4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10050;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
  }

  .tdh-mobile-drawer.active {
    right: 0;
  }

  .tdh-mobile-drawer::-webkit-scrollbar {
    display: none;
  }

  .tdh-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .tdh-mobile-item {
    border-bottom: 1px solid #0a0a0a;
    padding-bottom: 15px;
  }

  .tdh-mobile-link {
    color: #fff;
    text-decoration: none !important;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    display: flex;
    align-items: center;
    justify-content: justify;
    width: 100%;
    gap: 8px;
  }

  .tdh-mobile-link.has-sub {
    justify-content: space-between;
  }

  .tdh-mobile-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-in-out;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 0;
  }

  .tdh-mobile-sub.active {
    margin-top: 15px;
  }

  .tdh-mobile-sub a {
    color: #888;
    text-decoration: none !important;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
  }

  .tdh-mobile-sub a:hover {
    color: #f40;
  }

  .tdh-mobile-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    border-top: 1px solid #111;
    padding-top: 25px;
  }

  .tdh-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 10040;
  }

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

  /* Screen Breakpoints */
  @media(max-width: 1024px) {
    .tdh-header-container {
      padding: 0 24px;
      height: 75px;
      /* Consistent height */
    }

    .tdh-nav,
    .tdh-socials {
      display: none;
    }

    .tdh-mobile-toggle {
      display: flex;
    }

    .tdh-logo {
      border-right: none;
      padding-right: 0;
    }

    .tdh-actions {
      border-left: none;
      padding-left: 0;
    }
  }

  /* --- SCOPED MEGA MENU STYLING (tdm-) --- */
  .tdm-mega {
    font-family: inherit;
    background: #000 !important;
    padding: 24px 0;
    box-sizing: border-box;
    width: 100%;
    /* Hide scrollbar */
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    overflow: hidden !important;
  }

  .tdm-mega::-webkit-scrollbar {
    display: none !important;
  }

  /* Scoped rules applied ONLY to dynamic ancestor containers of the mega menu to avoid affecting other pages */
  .tdm-parent-no-scroll::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .tdm-parent-no-scroll {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    background-color: #000 !important;
  }

  .tdm-mega-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #000 !important;
  }

  .tdm-mega-col {
    min-width: 0;
    border-right: 1px solid #111;
    background: #000 !important;
  }

  .tdm-mega-col:last-child {
    border-right: none;
  }

  .tdm-mega a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px;
    text-decoration: none !important;
    transition: all .15s ease;
    border-bottom: 1px solid #0a0a0a;
    position: relative;
    overflow: hidden;
    background: #000;
  }

  .tdm-mega a:last-child {
    border-bottom: none;
  }

  .tdm-mega a:hover {
    background: #ff4400 !important;
  }

  .tdm-mega a:hover .tdm-ic {
    color: #000 !important;
  }

  .tdm-mega a:hover .tdm-t {
    color: #000 !important;
  }

  .tdm-mega a:hover .tdm-d {
    color: rgba(0, 0, 0, 0.65) !important;
  }

  .tdm-mega a:hover .tdm-arr {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
    color: #000;
  }

  .tdm-ic {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #333;
    transition: color .15s ease;
  }

  .tdm-ic svg {
    width: 16px;
    height: 16px;
    display: block;
  }

  .tdm-txt {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .tdm-t {
    font-family: inherit;
    font-size: .72rem;
    font-weight: 500;
    opacity: .8;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .12em;
    line-height: 1.25;
    transition: color .15s ease;
  }

  .tdm-d {
    font-family: inherit;
    font-size: .56rem;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1.3;
    transition: all .15s ease;
  }

  .tdm-arr {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateX(-6px) translateY(-50%);
    opacity: 0;
    transition: all .2s ease;
    color: #000;
  }

  .tdm-arr svg {
    width: 12px;
    height: 12px;
  }

  @media(max-width: 992px) {
    .tdm-mega-inner {
      grid-template-columns: repeat(2, 1fr);
    }

    .tdm-mega-col:nth-child(2) {
      border-right: none;
    }

    .tdm-mega-col:nth-child(1),
    .tdm-mega-col:nth-child(2) {
      border-bottom: 1px solid #111;
    }
  }

  @media(max-width: 576px) {
    .tdm-mega-inner {
      grid-template-columns: 1fr;
    }

    .tdm-mega-col {
      border-right: none !important;
      border-bottom: 1px solid #111 !important;
    }

    .tdm-mega-col:last-child {
      border-bottom: none !important;
    }
  }
