/* Local theme layer. Change these tokens to customise the template. */
:root {
  --brand: #0762bc;
  --ui-ink: #19334d;
  --ui-muted: #52677b;
  --ui-page: #f3f6fa;
  --ui-soft: #eaf2fc;
  --ui-line: #dbe4ee;
  --ui-radius: 14px;
  --ui-shadow: 0 8px 28px rgb(29 65 102 / 7%);
  --ui-ease: cubic-bezier(.16, 1, .3, 1);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ui-page); color: var(--ui-ink); font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a { text-underline-offset: 4px; }
button, a, input, textarea { transition: color .18s, background-color .18s, border-color .18s, box-shadow .18s; }
button:active:not(:disabled), .demo-primary:active { transform: translateY(1px); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #d27a0c; outline-offset: 4px; }
::selection { background: #cde4fc; color: #153859; }
* { scrollbar-color: #97aec6 #edf2f7; scrollbar-width: thin; }
[hidden] { display: none !important; }
.skip-link { z-index: 100; border-radius: 8px; }
#main-content { scroll-margin-top: 80px; }

/* The original header, category navigation and company identity are retained. */
#login { background: #eaf0f7; height: auto; min-height: 36px; border-bottom: 1px solid var(--ui-line); }
#login .login_box { max-width: 1180px; min-height: 36px; }
#login .login_box .login_left { color: var(--ui-muted); font-size: 13px; }
#login .login_box .login_right a { color: var(--ui-ink); }
#login .login_box .login_right a:hover { color: var(--brand); }
.cart-link { font-variant-numeric: tabular-nums; }
.cart-link [data-cart-count] { color: var(--brand); font-weight: 700; display: inline-block; }
.top { width: calc(100% - 48px) !important; max-width: 1180px; height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow: visible; }
.logo { float: none; margin: 0; max-width: none; font-size: 26px; line-height: 1.5; letter-spacing: -.5px; }
.logo span { color: var(--brand); font-size: inherit; }
.top_word { float: none; margin: 0 auto 0 0; max-width: 190px; height: auto; }
.top_tel { float: none; flex-shrink: 0; padding: 0; margin: 0; width: auto; height: auto; background: none; }
.top_tel span { font-size: 13px; line-height: 1.8; color: var(--ui-muted); }
.top_tel p, .top_tel a { font: 600 23px/1.5 system-ui, sans-serif; color: var(--brand); font-variant-numeric: tabular-nums; }
.nav_bg { position: sticky; top: 0; z-index: 30; background: var(--brand); box-shadow: 0 4px 16px rgb(15 56 97 / 12%); }
.nav { width: calc(100% - 48px) !important; max-width: 1180px; display: flex; }
.nav > li { flex: 1; width: auto; }
.nav > li > a, .nav > li > a:visited, .nav > li > a:hover { width: auto; font-size: 16px; font-weight: 500; background: transparent; }
.nav > li > a::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: 9px; height: 2px; background: white; transform: scaleX(0); transition: transform .22s var(--ui-ease); }
.nav > li > a:hover, .nav > li.is-current > a, .nav > li.menu-open > a { background: rgb(0 24 64 / 15%); }
.nav > li > a:hover::after, .nav > li.is-current > a::after { transform: scaleX(1); }
.nav li dl { top: 56px; width: 100%; min-width: 150px; padding: 8px; box-sizing: border-box; background: white; border-radius: 0 0 12px 12px; box-shadow: 0 12px 28px rgb(22 48 77 / 16%); }
.nav li dd a, .nav li dd a:visited, .nav li dd a:hover { width: 100%; min-height: 44px; height: auto; line-height: 44px; background: white; border: 0; border-radius: 7px; color: var(--ui-ink); font-size: 14px; }
.nav li dd a:hover, .nav li dd a[aria-current] { color: var(--brand); background: var(--ui-soft); }
.banner { height: 360px; background: white; }
.banner_pic > li { height: 100% !important; background-size: cover; background-repeat: no-repeat !important; }
body:not([data-page="index"]) .banner { height: 240px; }
.banner .num { bottom: 18px; height: 44px; }
.banner .num li, .banner .num button { width: 44px; height: 44px; }
.banner .num button::after { width: 30px; height: 4px; margin: auto; background: #6a8196; border-radius: 8px; }
.banner .num button[aria-pressed="true"]::after { background: var(--brand); }
.animation-toggle { border: 1px solid #bdcbd9; background: #fff; color: var(--ui-ink); border-radius: 8px; min-height: 36px; font-size: 12px; bottom: 22px; right: 24px; }
.marquee_bg { background: white; height: 52px; margin-bottom: 32px; border-bottom: 1px solid var(--ui-line); }
.marquee { width: calc(100% - 48px) !important; max-width: 1180px; height: 52px; display: flex; align-items: center; }
.mar_title { width: auto; flex: 0 0 96px; text-align: left; padding: 0; color: var(--brand); font-size: 14px; font-weight: 700; height: 52px; line-height: 52px; }
.marquee marquee { flex: 1; width: auto; height: 52px; line-height: 52px; color: var(--ui-muted); }

/* Catalogue and editorial surfaces. */
.content { width: calc(100% - 48px) !important; max-width: 1180px; display: grid; grid-template-columns: 224px minmax(0, 1fr); align-items: start; gap: 32px; overflow: visible; margin-bottom: 48px; }
.left { float: none; width: 100%; overflow: visible; }
.left_title1 { width: 100%; border-radius: var(--ui-radius) var(--ui-radius) 0 0; background: var(--brand); font-size: 17px; }
.left_nav { width: 100%; box-sizing: border-box; max-height: none; background: white; padding: 18px 12px; margin-bottom: 20px; border-radius: 0 0 var(--ui-radius) var(--ui-radius); box-shadow: var(--ui-shadow); }
.left_nav li a { width: 100%; background: var(--ui-soft); border-radius: 8px; color: var(--brand); font-size: 15px; font-weight: 600; min-height: 44px; line-height: 44px; }
.left_nav li a:hover, .left_nav li a.hover, .left_nav li a[aria-current] { border-radius: 8px; background: var(--brand); color: white; }
.sub_nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 8px 0 16px; }
.sub_nav a, .sub_nav a:visited, .sub_nav a:hover { float: none !important; width: auto !important; height: auto !important; min-height: 38px; line-height: 38px !important; margin: 0 !important; border-radius: 6px; background: #f7f9fc !important; color: var(--ui-muted) !important; }
.sub_nav a:hover, .sub_nav a[aria-current] { background: var(--ui-soft) !important; color: var(--brand) !important; }
.sub_nav .clear_f { display: none; }
.left_contact { width: 100%; box-sizing: border-box; border-radius: var(--ui-radius); padding: 18px; background: #165b98; }
.left_tel, .left_map { width: auto; padding-left: 24px; }
.left_tel a { font-family: system-ui, sans-serif; font-size: 19px; font-weight: 600; }
.left_map { font-size: 13px; line-height: 1.9; margin-top: 8px; }
.left_title2 { width: 100%; border-radius: var(--ui-radius) var(--ui-radius) 0 0; background: white; color: var(--ui-ink); height: 56px; }
.left_title2 span { line-height: 56px; }
.left_title2 font { color: var(--ui-muted); font-size: 11px; }
.left_news { width: 100%; box-sizing: border-box; border: 0; border-radius: 0 0 var(--ui-radius) var(--ui-radius); background: white; padding: 0 18px 16px; }
.left_news li { width: 100%; text-indent: 0; line-height: 1.8; padding: 10px 0; border-bottom: 0; }
.left_news a { font-size: 13px; }
.right { float: none; width: 100%; min-width: 0; box-sizing: border-box; padding: 26px; overflow: visible; background: white; border-radius: var(--ui-radius); }
body[data-page="index"] .right, body[data-page="products"] .right, body[data-page^="product-"] .right { padding: 0; background: transparent; }
.right_title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; height: auto; min-height: 44px; border-bottom: 1px solid var(--ui-line); }
.right_name, .right_con h1.right_name { float: none; color: var(--ui-ink); font-size: 22px; font-weight: 700; line-height: 1.4; height: auto; min-height: 0; border-bottom: 0; padding: 0 0 14px; }
.right_name font { margin-left: 10px; font-size: 11px; color: var(--ui-muted); font-weight: 400; }
.right_title p { font-size: 12px; color: var(--ui-muted); }
.right_more { color: var(--brand); margin: 0; font-size: 13px; line-height: 24px; }
.product { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; overflow: visible; padding: 22px 0 32px; }
.product > li { float: none; width: 100%; height: auto; overflow: visible; }
.product li .product_box { width: 100%; height: 100%; box-sizing: border-box; padding: 12px 12px 16px; border: 0; border-radius: var(--ui-radius); background: white; box-shadow: var(--ui-shadow); transition: transform .28s var(--ui-ease), box-shadow .28s; }
.product_box > a { display: block; border-radius: 9px; overflow: hidden; background: #f6f8fa; }
.product_box > a > .PicAuto { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .45s var(--ui-ease); }
.product_box p { margin: 13px 4px 0; font-size: 15px; line-height: 1.6; color: var(--ui-ink); font-weight: 600; }
.product_box p + p { margin-top: 5px; font-size: 13px; color: var(--ui-muted); font-weight: 400; }
.product li .product_box p span { color: #b84320; font: 700 18px/1.6 system-ui, sans-serif; }
.product li .product_box button.buy { top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: white; box-shadow: 0 3px 12px rgb(25 51 77 / 14%); padding: 3px; }
.product li .product_box .buy:hover { opacity: 1; background: #fff3ec; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product_box:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgb(29 65 102 / 13%); }
  .product_box:hover > a > .PicAuto, .commodity_left:hover img { transform: scale(1.035); }
}
.right_about { margin-top: 6px; padding-top: 20px; }
.right_about_con { min-height: 0; height: auto; margin-top: 20px; padding: 0 0 12px; }
.right_about_con p { margin-bottom: 12px; }
.right_con { box-sizing: border-box; padding: 24px 0 0; overflow: visible; color: var(--ui-ink); }
.right_con p { font-size: 15px; line-height: 2; }
.right_con h1 { font-size: 25px; line-height: 1.5; margin: 6px 0 12px; color: var(--ui-ink); }
.right_con img { height: auto; border-radius: 10px; }
.date { color: var(--ui-muted); margin-bottom: 20px; }
.news { width: 100%; }
.news li { min-height: 56px; height: auto; background: none; border-bottom: 1px solid var(--ui-line); text-indent: 0; line-height: 2; padding: 12px 0; box-sizing: border-box; }
.news li a { font-size: 15px; color: var(--ui-ink); }
.news li a:hover { color: var(--brand); }
.news li span { font-size: 12px; color: var(--ui-muted); }
.back { width: fit-content; min-width: 100px; padding: 0 16px; margin-top: 28px; border-radius: 8px; background: var(--ui-soft); color: var(--brand); }
.for_pages, .dede_pages { margin-top: 18px; }

/* Product details and recommendation rail. */
#commodity { padding: 0; }
.commodity_top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.commodity_top > div[style] { display: none; }
.commodity_top .commodity_left { width: 100%; height: 310px; float: none; padding: 16px; border: 1px solid var(--ui-line); border-radius: 12px; background: #fafbfd; }
.commodity_top .commodity_left img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ui-ease); }
.commodity_top .commodity_right { width: 100%; float: none; padding: 16px 0; }
.commodity_top .commodity_right .commodity_name { font-size: 30px; line-height: 1.5; letter-spacing: 0; }
.commodity_top .commodity_right .commodity_money { color: #b84320; font: 700 26px/2.5 system-ui, sans-serif; }
.commodity_top .number button { border-color: var(--ui-line); color: var(--brand); background: var(--ui-soft); }
.commodity_buy button { background: var(--brand); color: white; border-radius: 8px; min-height: 46px; font-weight: 600; }
.commodity_buy button:hover { background: #084d93; }
.commodity_body { margin-top: 32px; }
.commodity_body .commodity_title { color: var(--ui-ink); border-color: var(--ui-line); margin-bottom: 20px; padding-bottom: 10px; }
.commodity_body p { line-height: 2; }
body > .i_case_title, .i_case { width: calc(100% - 48px) !important; max-width: 1180px; }
body > .i_case_title { height: auto; min-height: 52px; }
.i_case_bg { background: #e8eff7; height: auto; padding: 0 0 8px; }
.i_case { height: auto; }
.i_case ul { width: 100%; height: auto; padding: 24px 0; gap: 18px; }
.i_case ul li { flex: 0 0 218px; width: auto; height: auto; min-width: 0; overflow: visible; }
.i_case ul li a { box-sizing: border-box; width: 100%; height: auto; padding: 12px; border: 0; border-radius: 12px; }
.i_case ul li img { width: 100%; height: 188px; border-radius: 8px; }
.i_case ul li a span.i_case_title { width: auto; font-size: 15px; color: var(--ui-ink); padding: 14px 0 4px; }
.i_case ul li a:hover { background: #fff; box-shadow: var(--ui-shadow); }
.i_case ul li a:hover span.i_case_title { color: var(--brand); }
.recommend-controls button { min-width: 64px; min-height: 40px; border-color: #c0cedd; border-radius: 8px; color: var(--brand); }
.foot_nav_bg { background: #16446e; height: auto; margin-top: 12px; }
.foot_nav { width: calc(100% - 32px) !important; max-width: 1180px; height: auto; min-height: 58px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.foot_nav a { font-size: 14px; line-height: 44px; margin: 0 18px; }
.foot_nav a:hover { color: #c9e5ff; }
.foot_box { width: calc(100% - 32px) !important; max-width: 1180px; height: auto; min-height: 0; }
.foot { max-width: 100%; width: 720px; min-height: 0; height: auto; padding: 0 0 32px; margin-top: 28px; }
.foot p, .foot p a { font-size: 13px; line-height: 2; color: var(--ui-muted); }

/* Shared forms, feedback and cart. */
.mian_box { width: calc(100% - 48px) !important; max-width: 900px; margin-bottom: 40px !important; }
.mian_box .login { width: 100%; box-sizing: border-box; padding: 28px; border-radius: var(--ui-radius); background: white; }
.mian_box .layui-elem-quote { margin: 0 0 24px; padding: 0 0 16px; border-left: 0; border-bottom: 1px solid var(--ui-line); background: transparent; font-size: 22px; color: var(--ui-ink); }
.demo-form { max-width: 600px; margin: 8px auto 24px; }
.demo-note { color: var(--ui-muted); font-size: 14px; }
.demo-field { margin-bottom: 22px; }
.demo-field label { font-size: 14px; font-weight: 600; color: var(--ui-ink); margin-bottom: 8px; }
.demo-field input, .demo-field textarea { min-height: 46px; border: 1px solid #bdccdb; border-radius: 8px; padding: 11px 13px; font-size: 15px; color: var(--ui-ink); }
.demo-field input:hover, .demo-field textarea:hover { border-color: #829cb6; }
.demo-field input:focus, .demo-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(7 98 188 / 9%); }
.demo-field input::placeholder, .demo-field textarea::placeholder { color: #607487; }
.demo-primary, .demo-secondary { min-height: 46px; border-radius: 8px; padding: 11px 22px; font-weight: 600; }
.demo-primary { background: var(--brand); color: white; border-color: var(--brand); }
.demo-primary:hover { background: #084d93; color: white; border-color: #084d93; }
.demo-secondary { color: var(--ui-ink); border-color: #bdccdb; }
.captcha-row { max-width: 360px; }
.captcha-code { border-radius: 8px; color: #174e76; min-height: 46px; }
.form-feedback { border-radius: 8px; }
.login-center { width: 460px; border-radius: 16px; box-shadow: 0 20px 60px rgb(25 61 96 / 12%); padding: 36px !important; }
.lyear-login { min-height: 100svh; background: var(--ui-page); }
.login-header a { color: var(--brand) !important; font-size: 20px !important; line-height: 1.6; font-weight: 700; }
.login-center footer { border-top: 1px solid var(--ui-line); padding-top: 20px; margin-top: 24px; color: var(--ui-muted); }
.cart-row { gap: 14px; border-color: var(--ui-line); padding: 22px 0; }
.cart-product img { border-radius: 8px; background: var(--ui-page); }
.cart-quantity button, .cart-quantity input { border-color: #bdccdb; min-height: 44px; }
.cart-quantity button:first-child { border-radius: 7px 0 0 7px; }
.cart-quantity button:last-child { border-radius: 0 7px 7px 0; }
.cart-quantity button:hover { background: var(--ui-soft); color: var(--brand); }
.cart-summary { padding-top: 8px; }
.cart-summary p { font-size: 23px; color: #b84320; font-variant-numeric: tabular-nums; }
.order-complete { border-radius: 10px; }
#demo-status { border-radius: 10px; background: #143c61; box-shadow: 0 10px 30px rgb(15 40 65 / 18%); max-width: min(540px, calc(100% - 32px)); }
#message-history h2 { color: var(--ui-ink); margin-bottom: 10px; }
#message-history p { padding-bottom: 12px; border-bottom: 1px solid var(--ui-line); }
.back-to-top { position: fixed; right: 22px; bottom: 24px; z-index: 35; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid #bacbdb; border-radius: 10px; color: var(--brand); background: white; font-size: 12px; box-shadow: var(--ui-shadow); }

@media (max-width: 1020px) {
  .top, .nav, .marquee, .content, body > .i_case_title, .i_case { width: calc(100% - 32px) !important; }
  .top { gap: 16px; }
  .logo { font-size: 22px; }
  .top_word { max-width: 145px; }
  .content { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .left_contact { padding: 16px 12px; }
  .left_tel a { font-size: 17px; }
  .right { padding: 20px; }
  .product { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .commodity_top { grid-template-columns: 1fr; gap: 12px; }
  .commodity_top .commodity_right { padding: 8px 0; }
  .cart-row { grid-template-columns: minmax(100px, 1fr) 120px 40px; gap: 10px; }
}
@media (max-width: 700px) {
  #login .login_box { gap: 2px 8px; }
  #login .login_box .login_left { font-size: 12px; }
  #login .login_box .login_right { font-size: 12px; }
  .top { height: 104px; gap: 4px; flex-wrap: wrap; align-content: center; }
  .logo { font-size: 22px; width: 100%; }
  .top_word { display: none; }
  .top_tel { display: flex; gap: 10px; align-items: center; min-width: 0; }
  .top_tel p, .top_tel a { font-size: 18px; }
  .mobile-menu { font-size: 15px; font-weight: 600; padding: 12px 18px; background: var(--brand); }
  .nav { display: none; max-height: calc(100svh - 100px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > li { flex: 0 0 50%; }
  .nav > li > a, .nav > li > a:visited, .nav > li > a:hover { font-size: 14px; }
  .nav > li > a::after { bottom: 4px; }
  .nav li dl { position: static; min-width: 0; padding: 4px; border-radius: 8px; box-shadow: none; }
  .nav li dd a, .nav li dd a:visited, .nav li dd a:hover { line-height: 44px; font-size: 13px; }
  .banner, body:not([data-page="index"]) .banner { height: 180px; }
  .banner_pic > li { background-size: auto 100%; }
  .banner .num { bottom: 1px; }
  .animation-toggle { right: 10px; bottom: 8px; min-height: 32px; font-size: 11px; }
  .marquee_bg { height: 44px; margin-bottom: 24px; }
  .marquee, .mar_title, .marquee marquee { height: 44px; line-height: 44px; font-size: 12px; }
  .mar_title { flex-basis: 80px; }
  .content { display: flex; gap: 0; margin-bottom: 28px; }
  .left { margin-bottom: 24px; }
  .left_title1 { min-height: 44px; height: auto; line-height: 44px; font-size: 15px; }
  .left_nav { padding: 10px; margin-bottom: 0; }
  .left_nav > ul { padding: 0; gap: 0 12px; }
  .left_nav li a { font-size: 14px; min-height: 40px; line-height: 40px; margin-bottom: 6px; }
  .left_nav .sub_nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 0; }
  .sub_nav a, .sub_nav a:visited, .sub_nav a:hover { font-size: 12px; min-height: 36px; line-height: 36px !important; }
  .right { padding: 20px 16px; }
  .right_name, .right_con h1.right_name { font-size: 20px; }
  .right_name font { font-size: 10px; margin-left: 6px; }
  .right_title { min-height: 40px; gap: 2px; }
  .right_title p { font-size: 11px; line-height: 1.8; }
  .right_con { padding-top: 18px; }
  .right_con h1 { font-size: 22px; }
  .product { gap: 14px 12px; padding-top: 18px; }
  .product li .product_box { padding: 9px 9px 12px; }
  .product_box p { font-size: 13px; margin: 10px 2px 0; }
  .product_box p + p { font-size: 11px; }
  .product li .product_box p span { font-size: 15px; }
  .product li .product_box button.buy { top: 12px; right: 12px; width: 44px; height: 44px; padding: 5px; }
  .commodity_top .commodity_left { height: 270px; }
  .commodity_top .commodity_right .commodity_name { font-size: 27px; }
  .commodity_body { margin-top: 24px; }
  .i_case ul li { flex-basis: 174px; }
  .i_case ul li img { height: 150px; }
  .i_case ul li a span.i_case_title { font-size: 14px; }
  .foot_nav { padding: 8px 0; }
  .foot_nav a { font-size: 12px; margin: 0 12px; line-height: 40px; }
  .foot p, .foot p a { font-size: 12px; }
  .mian_box { width: calc(100% - 32px) !important; }
  .mian_box .login { padding: 22px 16px; }
  .demo-field input, .demo-field textarea { font-size: 16px; }
  .login-center { padding: 28px 22px !important; }
  .login-header a { font-size: 18px !important; }
  .cart-row { grid-template-columns: minmax(80px, 1fr) 108px 32px; gap: 6px; }
  .cart-quantity button, .cart-quantity input { width: 36px; }
  .cart-product { gap: 6px; }
  .cart-product img { width: 40px; height: 40px; }
  .cart-product span { font-size: 13px; }
  .cart-summary p { font-size: 20px; }
  .cart-summary .demo-primary, .cart-summary .demo-secondary { padding: 10px 12px; }
  .back-to-top { right: 12px; bottom: 16px; }
}
@media (max-width: 360px) {
  .logo { font-size: 20px; }
  .right { padding: 18px 12px; }
  .right_name font { display: none; }
  .cart-row { grid-template-columns: minmax(72px, 1fr) 108px 28px; gap: 4px; }
  .cart-product img { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
