:root{
      --primary:#0B3D91;
      --template-accent:{主题色};
      --cyan:#0891B2;
      --cyan-dark:#0E7490;
      --cyan-pale:#ECFEFF;
      --ink:#172033;
      --muted:#64748B;
      --line:#DCE8F0;
      --surface:#FFFFFF;
      --soft:#F5FAFC;
      --shadow:0 18px 50px rgba(15,48,79,.10);
      --radius:20px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:#F7FAFC;
      font-family:"Noto Sans Thai","Tahoma",sans-serif;
      line-height:1.65;
      -webkit-font-smoothing:antialiased;
    }
    body.drawer-lock{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input,select{font:inherit}
    button{color:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin-inline:auto}

    .topbar{
      background:#082B65;
      color:#E6F7FB;
      font-size:13px;
    }
    .topbar-inner{
      min-height:38px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }
    .topbar-welcome{margin:0}
    .topbar-contact{display:flex;align-items:center;gap:20px}
    .topbar-contact a:hover{color:#A5F3FC}

    .header{
      position:relative;
      z-index:50;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 7px 24px rgba(15,48,79,.05);
    }
    .header-inner{
      min-height:80px;
      display:flex;
      align-items:center;
      gap:26px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:10px;
      flex:0 0 auto;
      color:var(--primary);
      font-weight:800;
      letter-spacing:-.02em;
    }
    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{margin-left:auto;align-self:stretch}
    .nav-list{
      height:100%;
      display:flex;
      align-items:stretch;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:stretch;
    }
    .nav-link{
      display:flex;
      align-items:center;
      gap:6px;
      padding:0 10px;
      color:#25334A;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
    }
    .nav-link:hover,
    .nav-item:focus-within>.nav-link{
      color:var(--cyan-dark);
      background:#F0FDFF;
    }
    .has-arrow::after{
      content:"";
      width:6px;
      height:6px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
      transition:.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:0;
      z-index:80;
      padding:20px;
      background:#FFFFFF;
      border:1px solid var(--line);
      border-radius:0 0 18px 18px;
      box-shadow:var(--shadow);
      opacity:0;
      visibility:hidden;
      transform:translateY(8px);
      pointer-events:none;
      transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
    }
    .dropdown-panel::before,
    .mega-menu::before{
      content:"";
      position:absolute;
      left:0;
      right:0;
      top:-10px;
      height:10px;
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      opacity:1;
      visibility:visible;
      transform:translateY(0);
      pointer-events:auto;
    }
    .dropdown-panel{width:330px}
    .dropdown-title,
    .mega-title{
      margin:0 0 13px;
      color:var(--primary);
      font-size:14px;
      font-weight:800;
    }
    .dropdown-list{display:grid;gap:5px}
    .dropdown-list a{
      padding:9px 10px;
      border-radius:9px;
      color:#334155;
      font-size:14px;
    }
    .dropdown-list a:hover{background:var(--cyan-pale);color:var(--cyan-dark)}
    .dropdown-all,
    .mega-footer{
      display:block;
      margin-top:14px;
      padding-top:13px;
      border-top:1px solid var(--line);
      color:var(--primary);
      font-size:14px;
      font-weight:800;
    }
    .mega-menu{
      left:50%;
      width:580px;
      transform:translate(-50%,8px);
    }
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      transform:translate(-50%,0);
    }
    .mega-menu.mega-wide{
      width:min(820px,calc(100vw - 48px));
    }
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    .mega-wide .mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .mega-card{
      min-width:0;
      display:flex;
      align-items:flex-start;
      gap:10px;
      padding:10px;
      border:1px solid #E6EEF4;
      border-radius:12px;
      background:#FFFFFF;
    }
    .mega-card:hover{
      border-color:#A5E8F1;
      background:#F0FDFF;
      transform:translateY(-1px);
    }
    .mega-card>img{
      width:48px;
      height:48px;
      flex:0 0 48px;
      object-fit:cover;
      border-radius:9px;
      background:#EDF5F8;
    }
    .mega-card-body{display:block;min-width:0}
    .mega-card-body strong{
      display:block;
      overflow:hidden;
      color:#172033;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card-body small{
      display:block;
      margin-top:2px;
      color:var(--muted);
      font-size:11px;
    }
    .mega-card-body p{
      display:-webkit-box;
      overflow:hidden;
      margin:3px 0 0;
      color:var(--muted);
      font-size:11px;
      line-height:1.45;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .mega-category-list{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:14px;
    }
    .mega-category-list a{
      padding:6px 10px;
      border-radius:999px;
      background:#EFF8FB;
      color:#24506A;
      font-size:12px;
      font-weight:700;
    }
    .mega-category-list a:hover{background:var(--cyan);color:#FFFFFF}

    .header-btns{
      display:flex;
      align-items:center;
      gap:10px;
      flex:0 0 auto;
    }
    .account-link{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:0 17px;
      border-radius:11px;
      color:#FFFFFF;
      background:var(--primary);
      font-size:14px;
      font-weight:800;
      box-shadow:0 8px 18px rgba(11,61,145,.18);
    }
    .account-link:hover{background:#082F73}
    .hamburger{
      width:44px;
      height:42px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      border:1px solid var(--line);
      border-radius:10px;
      background:#FFFFFF;
      cursor:pointer;
    }
    .hamburger span{
      width:20px;
      height:2px;
      border-radius:2px;
      background:var(--ink);
      transition:.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:90;
      background:rgba(8,24,42,.56);
      opacity:0;
      visibility:hidden;
      transition:.25s ease;
    }
    .drawer-overlay.open{opacity:1;visibility:visible}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:100;
      width:min(390px,90vw);
      overflow-y:auto;
      background:#FFFFFF;
      box-shadow:-20px 0 60px rgba(8,24,42,.22);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:74px;
      display:flex;
      align-items:center;
      gap:10px;
      padding:14px 18px;
      border-bottom:1px solid var(--line);
      background:#F7FCFD;
    }
    .drawer-head>a{
      padding:8px 12px;
      border-radius:9px;
      color:#FFFFFF;
      background:var(--primary);
      font-size:13px;
      font-weight:700;
    }
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      padding:0;
      border:1px solid var(--line);
      border-radius:10px;
      background:#FFFFFF;
      font-size:24px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:12px 18px 30px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:13px 10px;
      border:0;
      border-bottom:1px solid #EDF2F6;
      background:transparent;
      color:#1E293B;
      text-align:left;
      font-weight:750;
      cursor:pointer;
    }
    .drawer-toggle::after{
      content:"+";
      color:var(--cyan-dark);
      font-size:20px;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:7px 0 10px 14px;
      border-bottom:1px solid #EDF2F6;
    }
    .drawer-submenu.open{display:grid}
    .drawer-submenu a{
      padding:9px 10px;
      border-radius:8px;
      color:#526174;
      font-size:14px;
    }
    .drawer-submenu a:hover{background:var(--cyan-pale);color:var(--cyan-dark)}

    .productlist-main{min-height:650px}
    .productlist-main .catalog-intro{
      position:relative;
      overflow:hidden;
      padding:72px 0 64px;
      color:#FFFFFF;
      background:
        radial-gradient(circle at 15% 20%,rgba(103,232,249,.27),transparent 28%),
        radial-gradient(circle at 88% 75%,rgba(59,130,246,.22),transparent 32%),
        linear-gradient(135deg,#082B65 0%,#0B3D91 46%,#087F9A 100%);
    }
    .productlist-main .catalog-intro::after{
      content:"";
      position:absolute;
      right:-90px;
      bottom:-160px;
      width:380px;
      height:380px;
      border:1px solid rgba(255,255,255,.15);
      border-radius:50%;
      box-shadow:0 0 0 45px rgba(255,255,255,.03),0 0 0 90px rgba(255,255,255,.025);
    }
    .productlist-main .breadcrumb{
      position:relative;
      z-index:1;
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px;
      margin-bottom:20px;
      color:#C8F6FC;
      font-size:14px;
    }
    .productlist-main .breadcrumb a:hover{color:#FFFFFF}
    .productlist-main .intro-copy{
      position:relative;
      z-index:1;
      max-width:850px;
    }
    .productlist-main .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin:0 0 13px;
      padding:6px 12px;
      border:1px solid rgba(255,255,255,.25);
      border-radius:999px;
      background:rgba(255,255,255,.09);
      color:#CFFAFE;
      font-size:13px;
      font-weight:800;
    }
    .productlist-main .eyebrow::before{
      content:"";
      width:8px;
      height:8px;
      border-radius:50%;
      background:#67E8F9;
      box-shadow:0 0 0 5px rgba(103,232,249,.14);
    }
    .productlist-main .catalog-intro h1{
      margin:0;
      font-size:clamp(34px,5vw,58px);
      line-height:1.15;
      letter-spacing:-.035em;
    }
    .productlist-main .catalog-intro p{
      max-width:760px;
      margin:18px 0 0;
      color:#D8F2FA;
      font-size:17px;
    }
    .productlist-main .catalog-wrap{padding:54px 0 76px}
    .productlist-main .category-panel{
      margin-bottom:38px;
      padding:26px;
      border:1px solid var(--line);
      border-radius:var(--radius);
      background:#FFFFFF;
      box-shadow:0 12px 36px rgba(15,48,79,.06);
    }
    .productlist-main .section-heading{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:24px;
      margin-bottom:20px;
    }
    .productlist-main .section-heading h2{
      margin:0;
      color:#152238;
      font-size:28px;
      line-height:1.25;
    }
    .productlist-main .section-heading p{
      max-width:620px;
      margin:5px 0 0;
      color:var(--muted);
    }
    .productlist-main .category-list{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
    }
    .productlist-main .category-chip{
      display:inline-flex;
      align-items:center;
      gap:8px;
      min-height:44px;
      padding:8px 16px;
      border:1px solid #CDE2EB;
      border-radius:12px;
      color:#24435C;
      background:#F5FCFE;
      font-weight:750;
      transition:.2s ease;
    }
    .productlist-main .category-chip::before{
      content:"";
      width:9px;
      height:9px;
      border:2px solid var(--cyan);
      border-radius:3px;
      transform:rotate(45deg);
    }
    .productlist-main .category-chip:hover{
      color:#FFFFFF;
      border-color:var(--cyan);
      background:var(--cyan);
      transform:translateY(-2px);
      box-shadow:0 10px 20px rgba(8,145,178,.18);
    }
    .productlist-main .category-chip:hover::before{border-color:#FFFFFF}

    .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:19px;
      background:#FFFFFF;
      box-shadow:0 10px 30px rgba(15,48,79,.06);
      transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
    }
    .productlist-main .product-card:hover{
      border-color:#9BDCE8;
      transform:translateY(-5px);
      box-shadow:0 20px 45px rgba(15,78,105,.13);
    }
    .productlist-main .product-image{
      position:relative;
      overflow:hidden;
      aspect-ratio:16/10;
      background:linear-gradient(135deg,#E7F7FB,#EDF3FC);
    }
    .productlist-main .product-image img{
      width:100%;
      height:100%;
      object-fit:cover;
      transition:transform .35s ease;
    }
    .productlist-main .product-card:hover .product-image img{transform:scale(1.045)}
    .productlist-main .product-badge{
      position:absolute;
      top:14px;
      left:14px;
      padding:5px 10px;
      border-radius:999px;
      color:#FFFFFF;
      background:rgba(8,43,101,.88);
      font-size:12px;
      font-weight:800;
      backdrop-filter:blur(6px);
    }
    .productlist-main .product-body{
      min-width:0;
      display:flex;
      flex:1;
      flex-direction:column;
      padding:21px;
    }
    .productlist-main .product-meta{
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      gap:8px 14px;
      margin-bottom:11px;
      color:#708093;
      font-size:13px;
    }
    .productlist-main .product-meta span{
      display:inline-flex;
      align-items:center;
      gap:6px;
    }
    .productlist-main .product-meta span::before{
      content:"";
      width:6px;
      height:6px;
      border-radius:50%;
      background:var(--cyan);
    }
    .productlist-main .product-card h3{
      margin:0;
      color:#172033;
      font-size:21px;
      line-height:1.38;
    }
    .productlist-main .product-card h3 a:hover{color:var(--cyan-dark)}
    .productlist-main .product-summary{
      display:-webkit-box;
      overflow:hidden;
      margin:12px 0 19px;
      color:#5C6B7D;
      line-height:1.75;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:3;
    }
    .productlist-main .product-action{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      margin-top:auto;
      padding-top:16px;
      border-top:1px solid #E8EFF4;
    }
    .productlist-main .product-action small{color:#7A8999}
    .productlist-main .detail-link{
      display:inline-flex;
      align-items:center;
      gap:8px;
      color:var(--primary);
      font-weight:800;
    }
    .productlist-main .detail-link::after{
      content:"→";
      font-size:18px;
      transition:transform .2s ease;
    }
    .productlist-main .detail-link:hover::after{transform:translateX(4px)}

    .productlist-main .pagination{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:8px;
      margin-top:42px;
    }
    .productlist-main .pagination a{
      min-width:42px;
      min-height:42px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:7px 13px;
      border:1px solid var(--line);
      border-radius:10px;
      color:#334155;
      background:#FFFFFF;
      font-weight:750;
    }
    .productlist-main .pagination a:hover,
    .productlist-main .pagination a.active,
    .productlist-main .pagination a.current{
      color:#FFFFFF;
      border-color:var(--primary);
      background:var(--primary);
    }
    .productlist-main .catalog-note{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:18px;
      margin-top:52px;
    }
    .productlist-main .note-card{
      padding:22px;
      border:1px solid #CCE6ED;
      border-radius:16px;
      background:var(--cyan-pale);
    }
    .productlist-main .note-card strong{
      display:block;
      margin-bottom:7px;
      color:#164E63;
      font-size:17px;
    }
    .productlist-main .note-card p{
      margin:0;
      color:#526879;
      font-size:14px;
    }

    .footer{
      color:#D8E6F3;
      background:#071C35;
    }
    .footer .container{padding-top:56px}
    .footer-grid{
      display:grid;
      grid-template-columns:1.45fr 1fr 1fr 1.1fr;
      gap:42px;
      padding-bottom:42px;
    }
    .footer .logo{color:#FFFFFF}
    .footer-brand p{
      max-width:420px;
      margin:18px 0;
      color:#AFC2D5;
      font-size:14px;
    }
    .footer-social{color:#FFFFFF}
    .footer h3{
      margin:5px 0 16px;
      color:#FFFFFF;
      font-size:16px;
    }
    .footer-links,
    .footer-contact{display:grid;gap:9px}
    .footer-links a,
    .footer-contact a,
    .footer-contact span{
      color:#AFC2D5;
      font-size:14px;
    }
    .footer-links a:hover,
    .footer-contact a:hover{color:#67E8F9}
    .footer-bottom{
      min-height:68px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      border-top:1px solid rgba(255,255,255,.11);
      color:#8FA6BC;
      font-size:13px;
    }

    @media (max-width:1100px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-inner{min-height:72px}
      .header-btns{margin-left:auto}
      .productlist-main .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    }
    @media (max-width:760px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{
        min-height:54px;
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        gap:1px;
        padding-block:7px;
      }
      .topbar-contact{flex-wrap:wrap;gap:4px 14px}
      .header-btns>.account-link{display:none}
      .logo span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
      .productlist-main .catalog-intro{padding:52px 0 48px}
      .productlist-main .catalog-intro p{font-size:15px}
      .productlist-main .catalog-wrap{padding:38px 0 58px}
      .productlist-main .category-panel{padding:20px}
      .productlist-main .section-heading{align-items:flex-start;flex-direction:column;gap:6px}
      .productlist-main .section-heading h2{font-size:24px}
      .productlist-main .product-grid{grid-template-columns:1fr}
      .productlist-main .catalog-note{grid-template-columns:1fr}
      .footer-grid{grid-template-columns:1fr;gap:28px}
      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        padding:18px 0;
      }
    }
    @media (max-width:420px){
      .header-btns{gap:6px}
      .logo img{width:36px;height:36px}
      .productlist-main .category-chip{width:100%;justify-content:flex-start}
      .productlist-main .product-action{align-items:flex-start;flex-direction:column}
    }