:root {
      --theme: #0B3D91;
      --theme-dark: #072b68;
      --theme-soft: #eaf1ff;
      --ink: #172033;
      --muted: #667085;
      --line: #dce3ee;
      --surface: #ffffff;
      --page: #f5f7fb;
      --success: #18794e;
      --warning: #b54708;
      --shadow: 0 16px 40px rgba(23, 32, 51, 0.1);
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--page);
      font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      line-height: 1.65;
    }

    body.drawer-locked {
      overflow: hidden;
    }

    img {
      display: block;
      max-width: 100%;
    }

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

    button,
    input,
    select {
      font: inherit;
    }

    button,
    a {
      -webkit-tap-highlight-color: transparent;
    }

    .container {
      width: min(calc(100% - 40px), var(--container));
      margin-inline: auto;
    }

    .topbar {
      color: #dbe7ff;
      background: #07152d;
      font-size: 13px;
    }

    .topbar-inner {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .topbar-welcome {
      margin: 0;
    }

    .topbar-contact {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .topbar-contact a:hover {
      color: #ffffff;
    }

    .header {
      position: relative;
      z-index: 50;
      border-bottom: 1px solid var(--line);
      background: rgba(255, 255, 255, 0.98);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--theme-dark);
      font-size: 18px;
      font-weight: 800;
    }

    .logo img {
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      border-radius: 6px;
      object-fit: contain;
      background: #ffffff;
    }

    .logo span {
      max-width: 180px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .main-nav {
      margin-left: auto;
      align-self: stretch;
    }

    .nav-list {
      height: 100%;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: stretch;
      list-style: none;
    }

    .nav-item {
      position: static;
      display: flex;
      align-items: stretch;
    }

    .nav-link {
      position: relative;
      padding: 0 13px;
      display: flex;
      align-items: center;
      color: #344054;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .nav-link:hover,
    .nav-item:focus-within > .nav-link {
      color: var(--theme);
    }

    .nav-link::after {
      position: absolute;
      right: 13px;
      bottom: 0;
      left: 13px;
      height: 3px;
      background: var(--theme);
      content: "";
      opacity: 0;
      transform: scaleX(0);
      transition: 0.2s ease;
    }

    .nav-link:hover::after,
    .nav-item:focus-within > .nav-link::after {
      opacity: 1;
      transform: scaleX(1);
    }

    .nav-link.has-arrow {
      padding-right: 27px;
    }

    .nav-link.has-arrow::before {
      position: absolute;
      top: 50%;
      right: 12px;
      width: 6px;
      height: 6px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      content: "";
      transform: translateY(-70%) rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      padding: 16px 0 0;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translateY(8px);
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      height: 16px;
      content: "";
    }

    .nav-item:hover > .dropdown-panel,
    .nav-item:focus-within > .dropdown-panel,
    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu {
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .dropdown-shell,
    .mega-shell {
      width: min(calc(100% - 40px), var(--container));
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #ffffff;
      box-shadow: var(--shadow);
    }

    .dropdown-head,
    .mega-heading-row {
      min-height: 54px;
      padding: 12px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-bottom: 1px solid var(--line);
    }

    .dropdown-head a,
    .mega-heading-row a {
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .dropdown-grid {
      padding: 18px;
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
    }

    .dropdown-story {
      min-width: 0;
      display: grid;
      grid-template-columns: 72px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      color: #344054;
      font-size: 14px;
      font-weight: 700;
    }

    .dropdown-story img {
      width: 72px;
      height: 54px;
      border-radius: 4px;
      object-fit: cover;
      background: #eef2f7;
    }

    .dropdown-story span {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .mega-body {
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr);
    }

    .mega-categories {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      border-right: 1px solid var(--line);
      background: #f8faff;
    }

    .mega-categories-title {
      margin-bottom: 5px;
      color: #101828;
      font-size: 13px;
      font-weight: 800;
    }

    .mega-categories a {
      padding: 8px 10px;
      border-radius: 4px;
      color: #475467;
      font-size: 13px;
    }

    .mega-categories a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .mega-grid {
      padding: 18px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

    .mega-card {
      min-width: 0;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #ffffff;
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .mega-card:hover {
      border-color: #9db9e9;
      box-shadow: 0 8px 20px rgba(11, 61, 145, 0.1);
    }

    .mega-card img {
      width: 100%;
      height: 82px;
      margin-bottom: 9px;
      border-radius: 4px;
      object-fit: cover;
      background: #eef2f7;
    }

    .mega-card .mega-logo,
    .mega-card .mega-icon {
      width: 44px;
      height: 44px;
      object-fit: contain;
    }

    .mega-card strong {
      display: block;
      overflow: hidden;
      color: #101828;
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card p {
      min-height: 38px;
      margin: 6px 0 0;
      display: -webkit-box;
      overflow: hidden;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.55;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .mega-meta {
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      gap: 5px 10px;
      color: #667085;
      font-size: 11px;
    }

    .mega-footer {
      padding: 11px 20px;
      display: block;
      border-top: 1px solid var(--line);
      color: var(--theme);
      background: #fbfcff;
      text-align: right;
      font-size: 13px;
      font-weight: 800;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .header-member {
      color: var(--theme);
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .account-btn {
      min-height: 40px;
      padding: 8px 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--theme);
      border-radius: 5px;
      color: #ffffff;
      background: var(--theme);
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap;
    }

    .account-btn:hover {
      background: var(--theme-dark);
    }

    .hamburger {
      width: 42px;
      height: 42px;
      padding: 10px;
      display: none;
      border: 1px solid var(--line);
      border-radius: 5px;
      background: #ffffff;
      cursor: pointer;
    }

    .hamburger span {
      width: 20px;
      height: 2px;
      margin: 4px auto;
      display: block;
      background: #101828;
      transition: 0.2s ease;
    }

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

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

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

    .drawer-overlay {
      position: fixed;
      z-index: 90;
      inset: 0;
      visibility: hidden;
      background: rgba(7, 21, 45, 0.58);
      opacity: 0;
      transition: 0.22s ease;
    }

    .drawer-overlay.open {
      visibility: visible;
      opacity: 1;
    }

    .mobile-drawer {
      position: fixed;
      z-index: 100;
      top: 0;
      right: 0;
      bottom: 0;
      width: min(92vw, 390px);
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -18px 0 40px rgba(7, 21, 45, 0.2);
      transform: translateX(105%);
      transition: transform 0.24s ease;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .drawer-head {
      min-height: 72px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      border-bottom: 1px solid var(--line);
    }

    .drawer-head > a {
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .drawer-close {
      width: 40px;
      height: 40px;
      margin-left: auto;
      border: 0;
      border-radius: 5px;
      color: #344054;
      background: #eef2f7;
      cursor: pointer;
      font-size: 26px;
      line-height: 1;
    }

    .drawer-menu {
      padding: 10px 16px 28px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 50px;
      padding: 12px 4px;
      display: flex;
      align-items: center;
      border: 0;
      border-bottom: 1px solid var(--line);
      color: #1d2939;
      background: transparent;
      font-weight: 800;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle {
      position: relative;
      padding-right: 34px;
    }

    .drawer-toggle::after {
      position: absolute;
      right: 7px;
      width: 8px;
      height: 8px;
      border-right: 2px solid #667085;
      border-bottom: 2px solid #667085;
      content: "";
      transform: rotate(45deg);
      transition: 0.18s ease;
    }

    .drawer-toggle.active::after {
      transform: rotate(225deg);
    }

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      background: #f8faff;
      transition: max-height 0.28s ease;
    }

    .drawer-submenu.open {
      max-height: 720px;
    }

    .drawer-submenu a {
      padding: 10px 14px;
      display: block;
      border-bottom: 1px solid #e9eef6;
      color: #475467;
      font-size: 14px;
    }

    .productlist-main {
      min-height: 60vh;
    }

    .productlist-main .product-hero {
      color: #ffffff;
      background:
        linear-gradient(rgba(7, 29, 69, 0.93), rgba(11, 61, 145, 0.9)),
        radial-gradient(circle at 80% 20%, #3266b8 0, transparent 34%);
    }

    .productlist-main .product-hero-inner {
      min-height: 300px;
      padding: 58px 0 54px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .productlist-main .breadcrumb {
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      color: #cddcff;
      font-size: 14px;
    }

    .productlist-main .breadcrumb a:hover {
      color: #ffffff;
    }

    .productlist-main .eyebrow {
      margin: 0 0 8px;
      color: #b9ccf6;
      font-size: 13px;
      font-weight: 800;
      text-transform: uppercase;
    }

    .productlist-main .product-hero h1 {
      max-width: 820px;
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.14;
      letter-spacing: 0;
    }

    .productlist-main .product-hero p {
      max-width: 760px;
      margin: 18px 0 0;
      color: #e1eaff;
      font-size: 17px;
    }

    .productlist-main .category-band {
      border-bottom: 1px solid var(--line);
      background: #ffffff;
    }

    .productlist-main .category-band-inner {
      padding: 20px 0;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .productlist-main .category-band strong {
      flex: 0 0 auto;
      font-size: 14px;
    }

    .productlist-main .category-list {
      min-width: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .productlist-main .category-chip {
      min-height: 38px;
      padding: 7px 14px;
      display: inline-flex;
      align-items: center;
      border: 1px solid #cfd9e8;
      border-radius: 5px;
      color: #344054;
      background: #ffffff;
      font-size: 14px;
      font-weight: 700;
    }

    .productlist-main .category-chip:hover {
      border-color: var(--theme);
      color: var(--theme);
      background: var(--theme-soft);
    }

    .productlist-main .catalog-section {
      padding: 54px 0 72px;
    }

    .productlist-main .section-heading {
      margin-bottom: 26px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
    }

    .productlist-main .section-heading h2 {
      margin: 0;
      color: #101828;
      font-size: 28px;
      line-height: 1.25;
      letter-spacing: 0;
    }

    .productlist-main .section-heading p {
      max-width: 580px;
      margin: 7px 0 0;
      color: var(--muted);
    }

    .productlist-main .catalog-note {
      flex: 0 0 auto;
      padding: 7px 11px;
      border: 1px solid #b8c9e6;
      border-radius: 4px;
      color: var(--theme);
      background: var(--theme-soft);
      font-size: 13px;
      font-weight: 800;
    }

    .productlist-main .product-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }

    .productlist-main .product-card {
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: #ffffff;
      box-shadow: 0 7px 20px rgba(23, 32, 51, 0.05);
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .productlist-main .product-card:hover {
      border-color: #9eb8e4;
      box-shadow: 0 16px 32px rgba(11, 61, 145, 0.12);
      transform: translateY(-3px);
    }

    .productlist-main .product-image-link {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: #e9eef6;
    }

    .productlist-main .product-image-link img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.25s ease;
    }

    .productlist-main .product-card:hover .product-image-link img {
      transform: scale(1.035);
    }

    .productlist-main .product-category {
      position: absolute;
      top: 12px;
      left: 12px;
      max-width: calc(100% - 24px);
      padding: 5px 9px;
      overflow: hidden;
      border-radius: 4px;
      color: #ffffff;
      background: rgba(7, 21, 45, 0.84);
      font-size: 12px;
      font-weight: 800;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .productlist-main .product-card-body {
      min-width: 0;
      padding: 20px;
      display: flex;
      flex: 1;
      flex-direction: column;
    }

    .productlist-main .product-card h3 {
      margin: 0;
      color: #101828;
      font-size: 20px;
      line-height: 1.38;
      letter-spacing: 0;
    }

    .productlist-main .product-card h3 a:hover {
      color: var(--theme);
    }

    .productlist-main .product-summary {
      min-height: 75px;
      margin: 12px 0 18px;
      display: -webkit-box;
      overflow: hidden;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.75;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .productlist-main .product-card-footer {
      margin-top: auto;
      padding-top: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      border-top: 1px solid #edf0f5;
    }

    .productlist-main .product-date {
      color: #667085;
      font-size: 13px;
    }

    .productlist-main .product-link {
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap;
    }

    .productlist-main .product-link:hover {
      color: var(--theme-dark);
    }

    .productlist-main .pagination {
      margin-top: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .productlist-main .pagination a {
      min-width: 42px;
      min-height: 42px;
      padding: 8px 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #cfd8e6;
      border-radius: 5px;
      color: #344054;
      background: #ffffff;
      font-size: 14px;
      font-weight: 700;
    }

    .productlist-main .pagination a:hover,
    .productlist-main .pagination a.active,
    .productlist-main .pagination a.current {
      border-color: var(--theme);
      color: #ffffff;
      background: var(--theme);
    }

    .productlist-main .catalog-guide {
      padding: 48px 0;
      border-top: 1px solid var(--line);
      background: #ffffff;
    }

    .productlist-main .guide-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 24px;
    }

    .productlist-main .guide-item {
      padding-left: 18px;
      border-left: 3px solid var(--theme);
    }

    .productlist-main .guide-item strong {
      display: block;
      color: #101828;
      font-size: 17px;
    }

    .productlist-main .guide-item p {
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .footer {
      color: #c9d3e2;
      background: #07152d;
    }

    .footer-main {
      padding: 54px 0 42px;
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
      gap: 38px;
    }

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      max-width: 410px;
      margin: 18px 0 0;
      color: #9eacc0;
      font-size: 14px;
    }

    .footer h3 {
      margin: 5px 0 16px;
      color: #ffffff;
      font-size: 15px;
    }

    .footer-links,
    .footer-contact {
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .footer-links a,
    .footer-contact a {
      color: #b6c2d3;
      font-size: 14px;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
      color: #ffffff;
    }

    .footer-social {
      margin-top: 8px;
      color: #ffffff;
    }

    .footer-bottom {
      min-height: 66px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      color: #91a0b5;
      font-size: 13px;
    }

    .footer-bottom p {
      margin: 0;
    }

    .footer-bottom a:hover {
      color: #ffffff;
    }

    @media (max-width: 1100px) {
      .main-nav {
        display: none;
      }

      .hamburger {
        display: block;
      }

      .header-btns {
        margin-left: auto;
      }

      .productlist-main .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 760px) {
      .container {
        width: min(calc(100% - 28px), var(--container));
      }

      .topbar-inner {
        min-height: 58px;
        padding: 8px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
      }

      .topbar-contact {
        width: 100%;
        gap: 6px 16px;
        flex-wrap: wrap;
      }

      .header-inner {
        min-height: 68px;
        gap: 12px;
      }

      .logo img {
        width: 36px;
        height: 36px;
      }

      .logo span {
        max-width: 130px;
        font-size: 16px;
      }

      .header-member,
      .account-btn {
        display: none;
      }

      .productlist-main .product-hero-inner {
        min-height: 260px;
        padding: 40px 0;
      }

      .productlist-main .product-hero h1 {
        font-size: 36px;
      }

      .productlist-main .product-hero p {
        font-size: 15px;
      }

      .productlist-main .category-band-inner {
        align-items: flex-start;
        flex-direction: column;
      }

      .productlist-main .category-list {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
      }

      .productlist-main .category-chip {
        flex: 0 0 auto;
      }

      .productlist-main .catalog-section {
        padding: 40px 0 54px;
      }

      .productlist-main .section-heading {
        align-items: flex-start;
        flex-direction: column;
      }

      .productlist-main .product-grid {
        grid-template-columns: 1fr;
      }

      .productlist-main .guide-grid {
        grid-template-columns: 1fr;
      }

      .footer-main {
        padding: 42px 0 34px;
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .footer-bottom {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
      }
    }

    @media (max-width: 420px) {
      .logo span {
        max-width: 105px;
      }

      .productlist-main .product-card-footer {
        align-items: flex-start;
        flex-direction: column;
      }
    }