:root {
      --theme: #0B3D91;
      --theme-dark: #06275f;
      --theme-light: #e9f1ff;
      --ink: #102038;
      --muted: #607089;
      --line: #dce3ec;
      --surface: #ffffff;
      --canvas: #f5f7fa;
      --success: #087f5b;
      --accent: #00a7c4;
      --shadow: 0 14px 36px rgba(16, 32, 56, .1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

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

    body,
    button,
    input,
    select {
      font: inherit;
    }

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

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

    button {
      color: inherit;
    }

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

    .topbar {
      position: relative;
      z-index: 60;
      color: #dce9ff;
      background: #061b3f;
      font-size: 13px;
    }

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

    .topbar-links {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .topbar a {
      transition: color .2s ease;
    }

    .topbar a:hover,
    .topbar a:focus-visible {
      color: #6ee7f2;
    }

    .header {
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid rgba(220, 227, 236, .9);
      background: rgba(255, 255, 255, .97);
      backdrop-filter: blur(16px);
    }

    .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-weight: 800;
    }

    .logo img {
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      border-radius: 7px;
      object-fit: contain;
      background: #fff;
    }

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

    .main-nav {
      min-width: 0;
      margin-inline: auto;
    }

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

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

    .nav-link {
      min-height: 76px;
      padding: 0 12px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #2d3d55;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: color .2s ease;
    }

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

    .has-arrow::after {
      width: 6px;
      height: 6px;
      content: "";
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      transition: transform .2s ease;
    }

    .nav-item:hover .has-arrow::after,
    .nav-item:focus-within .has-arrow::after {
      transform: rotate(225deg) translate(-1px, -1px);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      z-index: 70;
      visibility: hidden;
      opacity: 0;
      transform: translate(-50%, 10px);
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
      box-shadow: var(--shadow);
      pointer-events: none;
      transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 10px;
      content: "";
    }

    .dropdown-panel {
      width: 320px;
      padding: 20px;
    }

    .mega-menu {
      width: min(720px, calc(100vw - 40px));
      padding: 22px;
    }

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

    .panel-title {
      margin: 0 0 14px;
      color: var(--theme-dark);
      font-size: 14px;
      font-weight: 800;
    }

    .panel-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .panel-list a {
      padding: 7px 10px;
      border: 1px solid var(--line);
      border-radius: 6px;
      color: #40516a;
      background: #f8fafc;
      font-size: 13px;
      transition: border-color .2s ease, color .2s ease, background .2s ease;
    }

    .panel-list a:hover,
    .panel-list a:focus-visible {
      border-color: #9cb8e8;
      color: var(--theme);
      background: var(--theme-light);
    }

    .dropdown-panel .panel-list {
      display: grid;
    }

    .dropdown-panel .panel-list a {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .mega-card {
      min-width: 0;
      min-height: 76px;
      padding: 10px;
      display: flex;
      align-items: center;
      gap: 12px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: #fff;
      transition: border-color .2s ease, background .2s ease, transform .2s ease;
    }

    .mega-card:hover,
    .mega-card:focus-visible {
      border-color: #91afe0;
      background: #f5f9ff;
      transform: translateY(-1px);
    }

    .mega-card img {
      width: 48px;
      height: 48px;
      flex: 0 0 48px;
      border-radius: 6px;
      object-fit: cover;
      background: #edf2f7;
    }

    .mega-card span {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .mega-card strong,
    .mega-card small {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card strong {
      color: #16263d;
      font-size: 14px;
    }

    .mega-card small {
      color: var(--muted);
      font-size: 12px;
    }

    .mega-footer {
      margin-top: 15px;
      padding-top: 13px;
      display: block;
      border-top: 1px solid var(--line);
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }

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

    .member-btn {
      min-height: 40px;
      padding: 8px 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--theme);
      border-radius: 6px;
      color: #fff;
      background: var(--theme);
      font-size: 14px;
      font-weight: 800;
      transition: background .2s ease, border-color .2s ease;
    }

    .member-btn:hover,
    .member-btn:focus-visible {
      border-color: var(--theme-dark);
      background: var(--theme-dark);
    }

    .hamburger {
      width: 42px;
      height: 42px;
      padding: 0;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #fff;
      cursor: pointer;
    }

    .hamburger span {
      width: 19px;
      height: 2px;
      display: block;
      background: var(--ink);
      transition: transform .2s ease, opacity .2s ease;
    }

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

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

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

    .drawer-overlay {
      position: fixed;
      inset: 0;
      z-index: 80;
      visibility: hidden;
      opacity: 0;
      background: rgba(3, 15, 34, .58);
      transition: opacity .25s ease, visibility .25s;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 90;
      width: min(390px, 92vw);
      overflow-y: auto;
      background: #fff;
      box-shadow: -18px 0 50px rgba(6, 27, 63, .2);
      transform: translateX(105%);
      transition: transform .25s ease;
    }

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

    .drawer-head {
      min-height: 72px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid var(--line);
      color: var(--theme);
      font-weight: 800;
    }

    .drawer-head > a {
      padding: 6px 10px;
      border: 1px solid #adc2e5;
      border-radius: 5px;
    }

    .drawer-close {
      width: 40px;
      height: 40px;
      margin-left: auto;
      padding: 0;
      border: 0;
      background: transparent;
      color: #263750;
      font-size: 30px;
      line-height: 1;
      cursor: pointer;
    }

    .drawer-menu {
      padding: 10px 18px 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);
      background: transparent;
      color: #1e3049;
      font-weight: 800;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle {
      justify-content: space-between;
    }

    .drawer-toggle::after {
      width: 8px;
      height: 8px;
      margin-right: 5px;
      content: "";
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(45deg);
      transition: transform .2s ease;
    }

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

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

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

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

    .drawer-submenu a:hover,
    .drawer-submenu a:focus-visible {
      color: var(--theme);
      background: var(--theme-light);
    }

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

    .productlist-main .product-hero {
      position: relative;
      overflow: hidden;
      color: #fff;
      background:
        linear-gradient(120deg, rgba(3, 19, 48, .98), rgba(11, 61, 145, .94)),
        #061b3f;
    }

    .productlist-main .product-hero::after {
      position: absolute;
      right: -100px;
      bottom: -170px;
      width: 470px;
      height: 470px;
      content: "";
      border: 1px solid rgba(94, 234, 255, .28);
      border-radius: 50%;
      box-shadow:
        0 0 0 70px rgba(94, 234, 255, .04),
        0 0 0 140px rgba(94, 234, 255, .025);
    }

    .productlist-main .product-hero-inner {
      position: relative;
      z-index: 1;
      min-height: 310px;
      padding-block: 70px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 60px;
    }

    .productlist-main .hero-copy {
      max-width: 730px;
    }

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

    .productlist-main h1 {
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.15;
      letter-spacing: 0;
    }

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

    .productlist-main .hero-stat {
      width: 190px;
      padding: 20px;
      flex: 0 0 auto;
      border: 1px solid rgba(255, 255, 255, .2);
      border-radius: 8px;
      background: rgba(255, 255, 255, .09);
      backdrop-filter: blur(12px);
    }

    .productlist-main .hero-stat strong {
      display: block;
      color: #6ee7f2;
      font-size: 27px;
    }

    .productlist-main .hero-stat span {
      display: block;
      margin-top: 4px;
      color: #e5edfa;
      font-size: 13px;
    }

    .productlist-main .product-content {
      padding-block: 56px 76px;
    }

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

    .productlist-main .section-head h2 {
      margin: 0;
      color: #14243b;
      font-size: 28px;
      line-height: 1.25;
    }

    .productlist-main .section-head p {
      margin: 6px 0 0;
      color: var(--muted);
    }

    .productlist-main .category-section {
      margin-bottom: 48px;
    }

    .productlist-main .category-list {
      padding: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #fff;
    }

    .productlist-main .category-chip {
      min-height: 42px;
      padding: 8px 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #d4deeb;
      border-radius: 6px;
      color: #31445e;
      background: #f7f9fc;
      font-size: 14px;
      font-weight: 750;
      transition: color .2s ease, border-color .2s ease, background .2s ease;
    }

    .productlist-main .category-chip:hover,
    .productlist-main .category-chip:focus-visible {
      border-color: var(--theme);
      color: var(--theme);
      background: var(--theme-light);
    }

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

    .productlist-main .product-card {
      min-width: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--surface);
      box-shadow: 0 8px 24px rgba(16, 32, 56, .06);
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .productlist-main .product-card:hover {
      border-color: #a9bee0;
      box-shadow: 0 16px 34px rgba(16, 32, 56, .12);
      transform: translateY(-3px);
    }

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

    .productlist-main .product-image-link::after {
      position: absolute;
      inset: 0;
      content: "";
      background: linear-gradient(to top, rgba(4, 20, 47, .24), transparent 55%);
      pointer-events: none;
    }

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

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

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

    .productlist-main .product-category {
      margin-bottom: 9px;
      color: var(--theme);
      font-size: 12px;
      font-weight: 800;
    }

    .productlist-main .product-title {
      margin: 0;
      color: #14243b;
      font-size: 20px;
      line-height: 1.4;
    }

    .productlist-main .product-title a:hover,
    .productlist-main .product-title a:focus-visible {
      color: var(--theme);
    }

    .productlist-main .product-summary {
      margin: 11px 0 18px;
      display: -webkit-box;
      overflow: hidden;
      color: #5b6d84;
      font-size: 14px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .productlist-main .product-meta {
      margin-top: auto;
      padding-top: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 7px 14px;
      border-top: 1px solid #e6ebf1;
      color: #718096;
      font-size: 12px;
    }

    .productlist-main .product-actions {
      margin-top: 17px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .productlist-main .product-price {
      color: var(--success);
      font-size: 14px;
      font-weight: 800;
    }

    .productlist-main .product-link {
      min-height: 38px;
      padding: 7px 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      color: #fff;
      background: var(--theme);
      font-size: 13px;
      font-weight: 800;
      transition: background .2s ease;
    }

    .productlist-main .product-link:hover,
    .productlist-main .product-link:focus-visible {
      background: var(--theme-dark);
    }

    .productlist-main .pagination {
      margin-top: 42px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      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 var(--line);
      border-radius: 5px;
      color: #40516a;
      background: #fff;
      font-size: 14px;
      font-weight: 750;
      transition: color .2s ease, border-color .2s ease, background .2s ease;
    }

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

    .productlist-main .product-note {
      margin-top: 54px;
      padding: 26px 28px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 28px;
      border: 1px solid #b9cbea;
      border-radius: 8px;
      background: #eaf2ff;
    }

    .productlist-main .product-note h2 {
      margin: 0 0 5px;
      color: var(--theme-dark);
      font-size: 21px;
    }

    .productlist-main .product-note p {
      margin: 0;
      color: #526680;
      font-size: 14px;
    }

    .productlist-main .note-link {
      min-height: 44px;
      padding: 9px 17px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      color: #fff;
      background: var(--theme);
      font-weight: 800;
      white-space: nowrap;
    }

    .footer {
      color: #cfdbed;
      background: #071a36;
    }

    .footer .container {
      padding-block: 58px 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.35fr repeat(3, 1fr);
      gap: 44px;
    }

    .footer .logo {
      color: #fff;
    }

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

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

    .footer-links {
      display: grid;
      gap: 9px;
      color: #aebdd1;
      font-size: 14px;
    }

    .footer-links a {
      width: fit-content;
      transition: color .2s ease;
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: #6ee7f2;
    }

    .footer-bottom {
      margin-top: 44px;
      padding-top: 21px;
      display: flex;
      justify-content: space-between;
      gap: 24px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      color: #8497b1;
      font-size: 12px;
    }

    :focus-visible {
      outline: 3px solid rgba(0, 167, 196, .38);
      outline-offset: 2px;
    }

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

      .hamburger {
        display: flex;
      }

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

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

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

      .topbar-inner {
        min-height: 42px;
      }

      .topbar-inner > span {
        display: none;
      }

      .topbar-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
      }

      .topbar-links a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

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

      .header .logo img {
        width: 34px;
        height: 34px;
      }

      .header .logo span {
        max-width: 125px;
        font-size: 14px;
      }

      .header-btns > .member-btn {
        display: none;
      }

      .productlist-main .product-hero-inner {
        min-height: 300px;
        padding-block: 50px;
        display: block;
      }

      .productlist-main h1 {
        font-size: 38px;
      }

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

      .productlist-main .hero-stat {
        width: 100%;
        margin-top: 28px;
      }

      .productlist-main .product-content {
        padding-block: 42px 58px;
      }

      .productlist-main .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }

      .productlist-main .category-list {
        flex-wrap: nowrap;
        overflow-x: auto;
      }

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

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

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

      .productlist-main .note-link {
        width: fit-content;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
      }

      .footer-brand {
        grid-column: 1 / -1;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 8px;
      }
    }

    @media (max-width: 460px) {
      .topbar-links {
        display: grid;
        gap: 2px;
      }

      .topbar-inner {
        padding-block: 5px;
      }

      .header .logo span {
        max-width: 105px;
      }

      .productlist-main h1 {
        font-size: 32px;
      }

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

      .productlist-main .product-link {
        width: 100%;
      }

      .footer-grid {
        grid-template-columns: 1fr;
      }

      .footer-brand {
        grid-column: auto;
      }
    }