 @font-face {
      font-family: 'BigCaslon';
      src: url('./client/src/assets/fonts/BigCaslon-Regular.ttf') format('truetype');
      font-weight: 400;
      font-style: normal;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: 'Inter', 'Segoe UI', sans-serif;
      background: #f5f5f5;
    }

    .header-shell {
      position: fixed;
      inset: 0 0 auto;
      z-index: 300;
    }

    .top-bar {
      background: #ffffff;
      border-bottom: 1px solid rgba(17, 24, 39, 0.08);
      color: #111827;
      height: 34px;
    }

    .top-bar-inner {
      max-width: 1440px;
      height: 100%;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .top-bar-left,
    .top-bar-right {
      display: flex;
      align-items: center;
      gap: 18px;
      min-width: 0;
    }

    .top-bar-rating {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15px;
      line-height: 1;
      white-space: nowrap;
    }

    .rating-num {
      color: rgba(17, 24, 39, 0.7);
    }

    .rating-brand {
      font-weight: 600;
    }

    .google-brand {
      color: #4285f4;
    }

    .trustpilot-brand {
      color: #00b67a;
    }

    .top-bar-right {
      font-size: 15px;
      color: #000000;
    }

    .top-bar-phone {
      color: #111827;
      text-decoration: none;
    }

    .top-bar-chat-btn {
      height: 34px;
      padding: 0 18px;
      margin-right: -20px;
      display: flex;
      align-items: center;
      gap: 8px;
      background: #d87b1e;
      color: #ffffff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
    }

    .top-bar-chat-btn svg {
      width: 13px;
      height: 13px;
      flex-shrink: 0;
    }

    .header {
      position: relative;
      height: 68px;
      background: #ffffff;
      border-bottom: 1px solid rgba(17, 24, 39, 0.08);
      transition: all 0.3s linear;
    }

     .header.header-transparent {
      background: transparent;
      border-bottom-color: transparent;
    }

    .header.header-transparent .menu-btn,
    .header.header-transparent .header-action-link,
    .header.header-transparent .header-pill-btn,
    .header.header-transparent .header-icon-btn,
    .header.header-transparent .user-icon-btn {
      border-color: rgba(255, 255, 255, 0.68);
      color: #ffffff;
      background: transparent;
      box-shadow: none;
    }

    .header.header-transparent .menu-btn:hover,
    .header.header-transparent .header-action-link:hover,
    .header.header-transparent .header-pill-btn:hover,
    .header.header-transparent .header-icon-btn:hover,
    .header.header-transparent .user-icon-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.9);
    }

    .header.header-transparent .logo-wordmark {
      color: #ffffff;
      text-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    }


    .header-inner {
      max-width: 1380px;
      height: 100%;
      margin: 0 auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 20px;
    }

    .header-left {
      position: relative;
      justify-self: start;
    }

    .menu-btn,
    .header-pill-btn,
    .header-icon-btn,
    .user-icon-btn,
    .header-action-link {
      transition: all 0.3s linear;
    }

    .menu-btn {
      height: 36px;
      padding: 0 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      border: 1px solid rgba(17, 24, 39, 0.18);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.94);
      color: #111827;
      cursor: pointer;
    }

    /*.hamburger {
      display: grid;
      gap: 4px;
    }

    .hamburger span {
      display: block;
      width: 14px;
      height: 1px;
      background: currentColor;
    }*/
    .hamburger {
      display: flex;
      flex-direction: column;
      gap: 5px;
      align-items: flex-end;
    }

    .hamburger span {
      display: block;
      width: 19px;
      height: 1px;
      background: currentColor;
    }

    .hamburger span:nth-child(2) {
      width: 13px;
    }



    .menu-label {
      font-size: 16px;
      font-weight: 500;
    }

    .menu-btn.open {
      border-color: rgba(17, 24, 39, 0.38);
      background: #ffffff;
    }

    .header-logo-center {
      text-decoration: none;
      justify-self: center;
    }

    .logo-wordmark {
      display: block;
      font-family: 'BigCaslon', serif;
      font-size: 30px;
      letter-spacing: 14px;
      color: #111827;
      white-space: nowrap;
      text-transform: uppercase;
    }

    .header-right-actions {
      justify-self: end;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .header-action-link,
    .header-pill-btn {
      height: 36px;
      padding: 0 14px;
      border: 1px solid rgba(17, 24, 39, 0.18);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.94);
      color: #111827;
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }

    .header-icon-btn,
    .user-icon-btn {
      width: 40px;
      height: 36px;
      border: 1px solid rgba(17, 24, 39, 0.18);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.94);
      color: #111827;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
    }

    .header-action-link:hover,
    .header-pill-btn:hover,
    .header-icon-btn:hover,
    .user-icon-btn:hover,
    .menu-btn:hover {
      border-color: rgba(17, 24, 39, 0.38);
      background: #ffffff;
    }

    .currency-selector,
    .user-menu {
      position: relative;
    }

    .header-pill-btn.open,
    .user-icon-btn.open {
      border-color: rgba(17, 24, 39, 0.38);
    }

    .rotate-180 {
      transform: rotate(180deg);
    }

    .stacked-icon {
      display: grid;
      gap: 3px;
    }

    .stacked-icon span {
      display: block;
      width: 12px;
      height: 1px;
      background: currentColor;
    }

    .profile-icon,
    .header-icon-btn svg,
    .header-pill-btn svg,
    .mega-close-btn svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

  .mega-menu.open .mega-close-btn svg {
    width: 34px;
    height: 34px;
  }

    .popover-menu {
      position: absolute;
      top: calc(100% + 10px);
      right: 0;
      min-width: 126px;
      padding: 8px 0;
      background: #ffffff;
      border: 1px solid rgba(17, 24, 39, 0.08);
      border-radius: 10px;
      box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
      display: none;
    }

    .popover-menu.open {
      display: block;
    }

    .popover-item {
      display: block;
      width: 100%;
      padding: 11px 14px;
      background: transparent;
      border: 0;
      color: #111827;
      text-align: left;
      text-decoration: none;
      font-size: 13px;
      cursor: pointer;
    }

  .popover-item:visited{
    color: #111827;
  }

    .popover-item:hover,
    .popover-item.active {
      background: #f4f4f2;
    }

    .mega-menu {
        position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    max-height: calc(100vh - 0px);
    padding: 24px 30px 40px;
    background: #eee;
      border: 1px solid #11182714;
      box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: none;
    z-index: 1;
    }

    .mega-menu.open {
      display: block;
    }

    .mega-menu-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 60px;
    }

    .mega-logo {
      color: #111827;
      text-decoration: none;
      font-family: 'BigCaslon', serif;
      font-size: 22px;
      letter-spacing: 9px;
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .mega-logo-mark {
      width: 20px;
      height: 20px;
      border: 1px solid rgba(17, 24, 39, 0.18);
      border-radius: 50%;
      display: inline-block;
    }

    .mega-close-btn {
      width: 32px;
      height: 32px;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 0;
      background: transparent;
      color: #374151;
      cursor: pointer;
    }

    .mega-menu-grid {
      display: grid;
      grid-template-columns: 1.1fr 1fr 1.35fr 1.5fr;
      gap: 24px;
      align-items: flex-start;
    }

    .mega-column {
      min-width: 0;
      padding-right: 22px;
      border-right: 1px solid rgba(17, 24, 39, 0.08);
    }

    .mega-links {
      display: grid;
      gap: 24px;
    }

    .mega-link {
      color: #00000099;
      text-decoration: none;
      font-size: 18px;
      line-height: normal;
      transition: all 0.2s ease;
    }

  .mega-link:visited{
    color: #00000099;
  }

    .mega-link:hover {
      color: #111827;
    }

    .mega-column.mega-column-first .mega-link {
      color: #000000;
      font-size: 26px;
      line-height: normal;
      font-family: 'BigCaslon', serif;
    }

    .mega-link.featured {
      text-decoration: underline;
      text-underline-offset: 4px;
      color: #000000;
    }

    .mega-card {
      display: grid;
      gap: 12px;
    }

    .mega-card img {
      width: 100%;
      /*aspect-ratio: 1.15;*/
      object-fit: cover;
      border-radius: 6px;
    }

    .mega-card p {
      margin: 0;
      font-size: 18px;
      line-height: normal;
      color: rgba(17, 24, 39, 0.6);
    }

    .mega-card a {
      color: #111827;
      text-decoration: underline;
      font-weight: 500;
    }

    @media (max-width: 1200px) {

      .mega-column:nth-child(2) {
        border-right: 0;
        padding-right: 0;
      }
    }

    @media (max-width: 1000px) {
      .top-bar-right {
        display: none;
      }
    
    .mega-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .header-inner {
        grid-template-columns: auto 1fr auto;
      }

      .logo-wordmark {
        font-size: 24px;
        letter-spacing: 10px;
      }

      .header-action-link {
        display: none;
      }

      .mega-menu {
        width: min(920px, calc(100vw - 30px));
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        height: auto;
      }

      .top-bar-inner {
        padding: 8px 16px;
        flex-direction: column;
        align-items: flex-start;
      }

      .top-bar-left {
        gap: 12px;
        flex-wrap: wrap;
      }

      .header {
        height: auto;
      }

      .header-inner {
        grid-template-columns: auto 1fr auto;
        padding: 12px 16px;
        gap: 12px;
      }

      .logo-wordmark {
        font-size: 16px;
        letter-spacing: 6px;
        text-align: center;
      }

      .header-right-actions {
        gap: 8px;
      }

      .currency-selector,
      .header-icon-btn {
        display: none;
      }

      .mega-menu {
        left: 0;
        width: min(calc(100vw - 16px), 420px);
        max-width: calc(100vw - 32px);
        max-height: calc(100dvh - 110px);
        padding: 18px 16px 22px;
        border-radius: 20px;
      }

      .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .mega-column {
        padding-right: 0;
        border-right: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid rgba(17, 24, 39, 0.08);
      }

      .mega-menu-top {
        position: sticky;
        top: -18px;
        z-index: 1;
        margin: -18px -16px 18px;
        padding: 18px 16px 14px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
      }

      .mega-logo {
        min-width: 0;
        max-width: calc(100% - 44px);
        font-size: 16px;
        letter-spacing: 4px;
        gap: 8px;
      }

      .mega-logo-mark {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
      }

      .mega-links {
        gap: 12px;
      }

      .mega-link,
      .mega-card p {
        font-size: 16px;
      }

      .mega-card {
        padding-top: 6px;
      }
    }

    @media (max-width: 600px) {
      .logo-wordmark {
        letter-spacing: 0;
      }
    }