/* =====================================================================
   JANOSHIK 风格站点样式
   设计基准：janoshik.com（干净、留白充足、青绿渐变点睛）
   所有颜色来自后台「站点设置 · 主题配色」，可在后台直接修改
   ===================================================================== */

/* ---------- 字体（自托管，离线可用） ---------- */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/barlow-400.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/barlow-500.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/barlow-600.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/barlow-700.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:800;font-display:swap;src:url('/fonts/barlow-800.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:900;font-display:swap;src:url('/fonts/barlow-900.woff2') format('woff2')}

/* ---------- 设计变量 ---------- */
:root{
  --primary:#2D6296;
  --primary-light:#3E7EBF;
  --primary-dark:#0B233B;
  --text:#12233B;
  --accent-1:#4A86C8;
  --accent-2:#1B426B;
  --soft-blue:#E8F1F9;
  --footer-bg:#F4F8FC;
  --chip-bg:#E2EAF3;
  --light:#F1F3F4;
  --muted:#6B7280;
  --line:rgba(0,0,0,.12);
  --line-white:rgba(255,255,255,.5);
  --radius:5px;
  --container:1440px;
  --grad:linear-gradient(90deg,var(--primary) 0%,var(--primary-dark) 100%);
  --font:'Barlow','DIN Pro','Segoe UI',system-ui,-apple-system,'Helvetica Neue',Arial,'PingFang SC','Microsoft YaHei',sans-serif;
}

/* ---------- 基础 ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:var(--font);font-size:16px;line-height:1.5;
  color:var(--text);background:#fff;overflow-x:hidden;
}
img,svg{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 30px}
.text-balance{text-wrap:balance}

/* ---------- 标题 ---------- */
h1,h2,h3,h4,h5,h6{margin:0}
h1{font-size:clamp(30px,3.2vw,46px);line-height:1.15;font-weight:700;letter-spacing:-.01em}
.display-1{font-size:clamp(32px,4.2vw,58px);line-height:1.08;font-weight:700;letter-spacing:-.02em}
h3{font-size:clamp(19px,1.55vw,25px);line-height:1.35;font-weight:500}
h5{font-size:17px;font-weight:700;line-height:24px}
.text-primary{color:var(--primary)}
.font-bold{font-weight:700}
.font-medium{font-weight:500}

/* ---------- 按钮 ---------- */
.button{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:54px;padding:12px 34px;border-radius:999px;border:1.5px solid transparent;
  font-family:inherit;font-size:16px;font-weight:700;line-height:1;cursor:pointer;
  transition:background-color .3s,color .3s,border-color .3s,transform .2s;
  text-align:center;
}
.button.w-full,.w-full>.button{width:100%}
.button-dark{background:var(--text);color:#fff}
.button-dark:hover{background:var(--primary-dark)}
.button-primary{background:var(--grad);color:#fff;background-size:150% 100%;background-position:0 0}
.button-primary:hover{background-position:100% 0}
.button-outline{border-color:var(--text);color:var(--text);background:transparent}
.button-outline:hover{background:var(--text);color:#fff}
.button-outline-white{border-color:#fff;color:#fff;background:transparent}
.button-outline-white:hover{background:#fff;color:var(--primary-dark)}
.button-light{background:#fff;color:var(--text)}
.button-light:hover{background:var(--text);color:#fff}

/* ---------- 表单控件 ---------- */
input[type=text],input[type=email],input[type=search],input[type=tel],input[type=number],select,textarea{
  width:100%;font-family:inherit;font-size:15px;color:var(--text);
  background:#fff;border:1px solid #D9DCDE;border-radius:var(--radius);
  padding:14px 18px;transition:border-color .25s,box-shadow .25s;appearance:none;
}
input[type=search]::-webkit-search-cancel-button{display:none}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(9,173,157,.15)}
textarea{min-height:120px;resize:vertical}
select{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%231D1D1B' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat:no-repeat;background-position:right 18px center;padding-right:44px}
label{display:block;font-size:15px;margin-bottom:8px}
.field{margin-bottom:18px}

/* =====================================================================
   头部
   ===================================================================== */
.site-header-wrap{position:fixed;top:0;left:0;right:0;z-index:9990;border-bottom:1px solid rgba(0,0,0,.18)}
.blur-background{background:rgba(255,255,255,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.site-header{display:flex;flex-direction:column}
.header-top{display:flex;align-items:center;justify-content:space-between;padding:22px 0 12px}
.header-logo img{height:56px;width:auto}
.header-search{width:100%;max-width:660px;margin:0 auto;padding:0 16px;position:relative}
.header-search form{position:relative}
.header-search input[type=search]{
  height:56px;border-radius:999px;background:var(--light);border-color:transparent;padding:0 60px 0 26px;
}
.header-actions{display:flex;align-items:center;gap:10px}
.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:56px;min-width:56px;padding:0 22px;border-radius:999px;
  background:var(--light);border:0;cursor:pointer;transition:background-color .3s,color .3s;
}
.icon-btn svg{width:20px;height:24px;flex:none}
.icon-btn svg path{stroke:var(--text);transition:stroke .3s}
.icon-btn:hover{background:var(--text);color:#fff}
.icon-btn:hover svg path{stroke:#fff}
.icon-btn.round{min-width:56px;padding:0}
.icon-btn{position:relative}
.cart-badge{
  position:absolute;top:-2px;right:-2px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;
  background:var(--primary);color:#fff;font-size:12px;font-weight:700;line-height:22px;text-align:center;
  box-shadow:0 0 0 2px #fff;
}
.icon-btn.is-user{background:var(--primary);color:#fff}
.icon-btn.is-user svg path{stroke:#fff}
.icon-btn.is-user:hover{background:var(--primary-dark)}
.header-search-btn{
  position:absolute;top:0;right:6px;height:56px;width:50px;background:transparent;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.menu-toggle{display:none}
.menu-toggle svg .line{stroke:var(--text);transition:stroke .3s}
.menu-toggle:hover svg .line{stroke:#fff}

/* 主导航 */
.main-nav{display:block}
.main-nav ul{display:flex;justify-content:center;gap:clamp(24px,4vw,90px)}
.main-nav a{
  position:relative;display:flex;padding:20px 0;font-weight:700;text-transform:uppercase;
  font-size:15px;letter-spacing:.02em;transition:color .3s;
}
.main-nav a::after{
  content:'';position:absolute;left:0;right:0;bottom:-1px;height:4px;width:0;margin:0 auto;
  background:var(--grad);transition:width .3s;
}
.main-nav a:hover::after,.main-nav .is-active a::after{width:100%}
.main-nav .is-active a{color:var(--primary-dark)}

/* 移动端抽屉 */
.mobile-menu{
  position:fixed;left:0;right:0;top:80px;height:calc(100vh - 80px);z-index:1080;
  background:#f6f7f7;transform:translateY(calc(-100% - 80px));transition:transform .35s ease;
  overflow-y:auto;
}
.mobile-menu.is-open{transform:translateY(0)}
.mobile-menu .inner{padding:0 24px 40px}
.mobile-menu .menu-title{text-transform:uppercase;letter-spacing:.15em;font-weight:700;font-size:12px;color:var(--muted);text-align:center;padding:26px 0 10px;border-bottom:1px solid var(--line)}
.mobile-menu nav ul{display:flex;flex-direction:column;align-items:center;padding:14px 0}
.mobile-menu nav a{padding:9px 0;font-size:18px}
.mobile-menu .cta{margin-top:26px}
.mobile-search{
  position:absolute;inset:0;height:80px;background:#fff;display:flex;align-items:center;z-index:100;
  opacity:0;pointer-events:none;transition:opacity .3s;
}
.mobile-search.is-open{opacity:1;pointer-events:auto}
.page-main{padding-top:161px}

/* =====================================================================
   通用区块
   ===================================================================== */
section{position:relative}
.sec{padding:100px 0}
.sec-sm{padding:50px 0}
.sec-head{display:flex;justify-content:center;text-align:center;margin-bottom:40px}
.mark{height:60px;width:auto;max-width:100%}
.mark path{fill:url(#brandGrad)}
.mark-white path{fill:#fff}
.stack{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.split{display:flex;flex-direction:column;gap:30px}
.split>*{width:100%}
@media(min-width:1024px){
  .split{flex-direction:row;gap:60px;align-items:flex-end}
  .split>*{flex:1 1 50%}
  .split.gap-lg{gap:110px}
  .split.basis-2-5>*:first-child{flex:0 0 40%}
  .split.basis-3-5>*:last-child{flex:0 0 60%}
  .split.align-center{align-items:center}
}

/* =====================================================================
   热门检测卡片
   ===================================================================== */
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 15px}
@media(min-width:768px){.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 20px}}
@media(min-width:1024px){.cards{gap:60px 30px}}
.card{display:flex;flex-direction:column;align-items:flex-start}
.card-media{
  display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:2/3;
  border-radius:var(--radius);box-shadow:inset 0 0 90px 0 #DEDFDF;background:#fff;
  transition:filter .3s,transform .3s;
}
.card-media img{height:200px;width:auto;object-fit:contain;max-width:88%}
.card-media:hover{filter:drop-shadow(0 12px 22px rgba(146,146,146,.55));transform:translateY(-3px)}
.card-cat{margin:30px 0 15px;font-size:13px;color:var(--muted)}
.card h5 a:hover{text-decoration:underline}
.card-body{margin-top:auto;width:100%}
.price{font-weight:700;font-size:clamp(20px,1.7vw,26px);margin:20px 0 30px}

/* =====================================================================
   4 步流程（青绿渐变带）
   桌面端默认沿用原站的整张图片；手机端为可编辑文字版（与原站一致）
   ===================================================================== */
.steps-desktop-img{display:none}
.steps-band{
  position:relative;border-radius:var(--radius);overflow:hidden;
  background:linear-gradient(100deg,var(--primary-light) 0%,var(--primary) 45%,var(--primary-dark) 100%);
  padding:60px 40px 40px;
}
@media(min-width:768px){
  .steps-desktop-img{display:block;width:100%;height:auto}
  .steps-band.image-mode{display:none}
}
.steps-band h2{position:relative;z-index:2;font-size:clamp(24px,2vw,30px);color:#fff;font-weight:700;margin-bottom:0}
.steps{position:relative;z-index:2;display:flex;flex-direction:column;gap:0;padding-top:50px}
.step{width:100%;padding:24px 28px;text-align:center;color:#fff}
.step+.step{border-top:1px solid var(--line-white)}
.step .num{font-size:24px;font-weight:700;margin-bottom:28px}
.step .ttl{font-size:20px;font-weight:700;line-height:24px;margin-bottom:20px}
.step .txt{font-size:14px;line-height:20px}
.steps-band .laborant{display:block;position:relative;margin:22px auto 0;max-height:260px;width:auto;z-index:2}
@media(min-width:1024px){
  .steps{flex-direction:row;align-items:stretch}
  .step+.step{border-top:0;border-left:1px solid var(--line-white)}
  /* 未启用整图时：文字版布局，人物图贴右侧（留出固定宽度避免压到文字） */
  .steps-band:not(.image-mode){padding-right:300px}
  .steps-band:not(.image-mode) .laborant{
    position:absolute;right:0;bottom:0;width:280px;height:100%;
    object-fit:contain;object-position:bottom right;margin:0;opacity:.95;
  }
  /* 启用整图时：卡片仅手机端使用，隐藏人物图 */
  .steps-band.image-mode .laborant{display:none}
}
@media(min-width:1280px){
  .steps-band{padding:70px 60px 50px}
  .steps-band:not(.image-mode){padding-right:340px}
  .steps-band:not(.image-mode) .laborant{width:320px}
}

/* =====================================================================
   选择检测类型（列表）
   ===================================================================== */
.choose-list{display:flex;flex-direction:column;gap:10px}
.choose-list a{
  display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;
  padding:15px 30px;border-radius:var(--radius);background:var(--chip-bg);font-weight:700;
  transition:background .3s,color .3s;
}
.choose-list a svg{width:18px;height:18px;flex:none}
.choose-list a svg path{stroke:var(--text);transition:stroke .3s}
.choose-list a:hover{color:#fff;background:var(--grad)}
.choose-list a:hover svg path{stroke:#fff}
@media(min-width:1280px){.choose-list a{font-size:20px}}
.choose-img{display:none}
@media(min-width:1280px){
  .choose-img{display:block;max-width:36%;flex:none}
  .choose-img img{width:100%;height:auto}
}

/* =====================================================================
   关于我们（深绿渐变）
   ===================================================================== */
.about-band{padding:100px 0;color:#fff;position:relative;overflow:visible}
.about-band h1,.about-band h3{color:#fff}
.about-band p{opacity:.95}
/* 原站两张装饰图的位置 */
.about-band .deco-l{display:none;position:absolute;left:0;top:-230px;max-height:400px;pointer-events:none}
.about-band .deco-r{position:absolute;right:0;top:15px;max-height:150px;pointer-events:none;z-index:1}
@media(min-width:768px){.about-band .deco-r{max-height:250px}}
@media(min-width:1024px){
  .about-band .deco-l{display:block}
  .about-band .deco-r{top:18%;max-height:350px}
}
@media(min-width:1280px){.about-band .deco-r{max-height:550px}}
@media(min-width:1536px){
  .about-band .deco-l{top:-150px;max-height:500px}
  .about-band .deco-r{max-height:650px}
}
.about-gallery{display:flex;align-items:flex-start;gap:30px;width:100%}
.about-gallery .col{display:flex;flex-direction:column;gap:30px;width:100%}
.about-gallery img{border-radius:var(--radius);object-fit:cover;width:100%;aspect-ratio:1/1}
.about-gallery .col-mid{margin-top:64px}
.features{display:grid;grid-template-columns:1fr;gap:30px}
@media(min-width:640px){.features{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1280px){.features{grid-template-columns:repeat(4,minmax(0,1fr))}}
.feature{display:flex;flex-direction:column;gap:20px;color:#fff;padding-bottom:30px;border-bottom:1px solid var(--line-white)}
.feature .ico svg{width:100px;height:100px}
.feature .ttl{font-size:20px;font-weight:700}
.feature .txt{opacity:.78;font-size:15px}
@media(min-width:1280px){
  .feature{border-bottom:0;padding-bottom:0;border-left:1px solid var(--line-white);padding-left:30px}
  .feature:first-child{border-left:0;padding-left:0}
}

/* =====================================================================
   客户评价
   ===================================================================== */
.reviews-head{display:flex;flex-direction:column;gap:40px;align-items:center;text-align:center}
.reviews-head img{max-height:400px;width:auto;margin:0 auto}
@media(min-width:1024px){
  .reviews-head{flex-direction:row;gap:100px;text-align:left;align-items:center}
  .reviews-head .col{align-items:flex-start}
}
.quote-mark{width:52px;height:39px;margin:0 auto}
/* 原站评价区右上/左上的装饰图 */
.reviews-deco{position:absolute;top:0;left:0;max-height:160px;pointer-events:none;z-index:0}
@media(min-width:640px){.reviews-deco{max-height:230px}}
@media(min-width:1024px){.reviews-deco{max-height:220px;left:auto;right:0}}
@media(min-width:1536px){.reviews-deco{max-height:310px;left:0;right:auto}}
.slider{position:relative;margin-top:50px;overflow:hidden}
.slider-track{display:flex;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.slide{flex:0 0 100%;padding:0 10px;text-align:center}
.slide .txt{font-weight:600;font-size:calc(15px + .25vw);line-height:1.5;margin-bottom:20px;min-height:120px}
.slide .author{font-size:16px;line-height:24px;font-weight:700;color:var(--primary)}
.slide .country{font-size:15px;color:var(--muted)}
.slider-nav{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:36px}
.slider-btn{
  width:48px;height:48px;border-radius:999px;border:1px solid var(--line);background:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .3s,border-color .3s;
}
.slider-btn svg path{stroke:var(--text);transition:stroke .3s}
.slider-btn:hover{background:var(--text);border-color:var(--text)}
.slider-btn:hover svg path{stroke:#fff}
.slider-dots{display:flex;gap:8px}
.slider-dots button{width:9px;height:9px;padding:0;border-radius:999px;border:0;background:#CFD4D6;cursor:pointer;transition:width .3s,background .3s}
.slider-dots button.is-active{width:26px;background:var(--primary)}

/* =====================================================================
   联系表单区
   ===================================================================== */
.contact-band{background:var(--soft-blue);padding:100px 0;position:relative;overflow:hidden;scroll-margin-top:180px}
/* 原站联系区右上角装饰图 */
.contact-band .deco-right{position:absolute;top:-50px;right:0;max-height:250px;pointer-events:none;z-index:0}
@media(min-width:640px){.contact-band .deco-right{top:-70px;max-height:350px}}
@media(min-width:768px){.contact-band .deco-right{top:-100px;max-height:550px}}
@media(min-width:1024px){.contact-band .deco-right{max-height:500px}}
@media(min-width:1536px){.contact-band .deco-right{max-height:550px}}
@media(max-width:450px){.contact-band .deco-right{max-height:200px}}
.contact-band .cta-img{position:absolute;bottom:0;left:0;right:0;margin:0 auto;max-width:1300px;pointer-events:none;z-index:1}
.contact-band .cta-img img{margin-left:auto;max-height:600px;width:auto}
.contact-inner{position:relative;z-index:2;max-width:640px}
.form-row{margin-bottom:18px}
.agree-row{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin:24px 0}
.agree-row label{display:flex;gap:10px;align-items:flex-start;margin:0;font-size:15px}
.agree-row input[type=checkbox]{width:18px;height:18px;margin-top:2px;accent-color:var(--primary);flex:none}
.upload-btn{
  display:inline-flex;align-items:center;gap:12px;padding:14px 26px;border-radius:999px;
  border:1.5px dashed rgba(0,0,0,.3);cursor:pointer;background:#fff;font-weight:600;font-size:15px;
}
.upload-btn input[type=file]{display:none}
.upload-name{font-size:14px;color:var(--muted)}
.form-msg{margin-top:16px;font-size:15px;font-weight:600}
.form-msg.ok{color:var(--primary-dark)}
.form-msg.err{color:#C02626}

/* =====================================================================
   页脚
   ===================================================================== */
.site-footer{background:var(--footer-bg);padding:120px 0;position:relative;overflow:visible}
/* 原站页脚装饰图：小屏在上方并翻转，大屏在左下 */
.site-footer .deco{position:absolute;top:-70px;right:0;transform:rotate(180deg);max-height:200px;pointer-events:none;z-index:0}
@media(min-width:640px){.site-footer .deco{top:-90px;max-height:300px}}
@media(min-width:768px){.site-footer .deco{top:-120px;max-height:400px}}
@media(min-width:1024px){
  .site-footer .deco{top:auto;bottom:-50px;left:0;right:auto;transform:none;max-height:400px}
}
@media(min-width:1536px){.site-footer .deco{bottom:70px;max-height:700px}}
.footer-grid{display:grid;grid-template-columns:1fr;gap:40px;position:relative;z-index:2}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px){.footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:100px}}
.footer-brand img{width:214px;height:auto}
.footer-brand a.mail{font-size:20px;margin-top:20px;display:inline-block}
.footer-brand a.mail:hover{text-decoration:underline}
.footer-col .col-ttl{color:var(--primary);font-weight:700;font-size:14px;margin-bottom:30px;text-transform:none}
.footer-col a{display:flex;align-items:center;gap:10px;font-size:20px;margin-bottom:15px;transition:opacity .3s}
.footer-col a:hover{text-decoration:underline}
.footer-bar{border-top:1px solid rgba(0,0,0,.15);padding:26px 0;background:var(--footer-bg)}
.footer-bar .inner{display:flex;flex-direction:column;gap:24px}
@media(min-width:640px){.footer-bar .inner{flex-direction:row}}
.footer-bar .half{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;width:100%}
.footer-bar .lbl{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.footer-bar .icons{display:flex;align-items:center;gap:14px}
.footer-bar .icons img{width:auto}
.footer-bar .icons.crypto img{height:25px}
.footer-bar .icons.cards img:nth-child(1){height:15px}
.footer-bar .icons.cards img:nth-child(2){height:28px}
.footer-bar .icons.cards img:nth-child(3){height:22px}
.footer-copy{border-top:1px solid rgba(0,0,0,.15);padding:30px 0;background:var(--footer-bg);font-size:14px;color:var(--muted)}
.footer-copy .inner{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}

/* =====================================================================
   内页通用
   ===================================================================== */
.page-hero{padding:70px 0 40px}
.page-hero .mark{margin-bottom:26px}
.breadcrumbs{font-size:14px;color:var(--muted);margin-bottom:18px}
.breadcrumbs a:hover{color:var(--primary)}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0}
.chips a{padding:10px 20px;border-radius:999px;background:var(--chip-bg);font-weight:600;font-size:15px;transition:background .3s,color .3s}
.chips a:hover,.chips a.is-active{background:var(--grad);color:#fff}
.searchbar{max-width:520px;margin:20px 0 40px}
.info-grid{display:grid;grid-template-columns:1fr;gap:30px}
@media(min-width:768px){.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1024px){.info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.info-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px}
.info-card .ttl{font-weight:700;font-size:19px;margin-bottom:12px}
.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin-top:50px}
@media(min-width:1024px){.stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
.stat .val{font-size:clamp(28px,3vw,42px);font-weight:700;color:var(--primary-dark);line-height:1}
.stat .lbl{font-size:14px;color:var(--muted);margin-top:10px}
.rich :is(h2,h3){margin:1.2em 0 .5em}
.rich ul{list-style:disc;padding-left:22px;margin:0 0 1em}
.empty{color:var(--muted);padding:40px 0}
.notice{background:#fff;border-left:4px solid var(--primary);padding:20px 24px;border-radius:var(--radius);font-size:15px}

/* AOS 滚动动画 */
[data-aos]{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
[data-aos].aos-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){[data-aos]{opacity:1;transform:none}}

/* =====================================================================
   账号 / 购物车 / 条款页面
   ===================================================================== */
.card-more{display:inline-block;margin-top:10px;font-size:13px;color:var(--primary);font-weight:600}
.card-more:hover{text-decoration:underline}

.auth-wrap{display:grid;grid-template-columns:1fr;gap:30px;margin-top:50px;max-width:1000px}
@media(min-width:900px){.auth-wrap{grid-template-columns:1fr 1fr;align-items:start}}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:34px}
.auth-title{font-size:20px;font-weight:700;margin:0 0 22px}
.auth-error{background:#FFF2F1;border:1px solid #F3C3C3;color:#B3271E;border-radius:var(--radius);padding:12px 16px;font-size:14px;margin-bottom:18px}
.auth-alt{margin:18px 0 0;font-size:14px;color:var(--muted)}
.auth-alt a{color:var(--primary);font-weight:600}
.auth-side{background:var(--footer-bg);border-radius:var(--radius);padding:34px;border:1px solid var(--line)}
.auth-side-inner h4{font-size:18px;font-weight:700;margin:0 0 16px}
.auth-side-inner ul{list-style:none;padding:0;margin:0}
.auth-side-inner li{position:relative;padding-left:24px;margin-bottom:12px;font-size:15px;color:#31414F}
.auth-side-inner li::before{content:'';position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:50%;background:var(--primary)}

.acct-grid{display:grid;grid-template-columns:1fr;gap:30px;margin-top:44px}
@media(min-width:900px){.acct-grid{grid-template-columns:1fr 1.2fr;align-items:start}}
.acct-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px}
.acct-card h4{font-size:18px;font-weight:700;margin:0 0 20px;display:flex;align-items:center;gap:10px}
.acct-card .pill{background:var(--primary);color:#fff;border-radius:999px;font-size:12px;padding:2px 10px}
.acct-empty{color:var(--muted);font-size:15px}
.acct-empty a{color:var(--primary);font-weight:600}
.order-list{display:flex;flex-direction:column;gap:14px}
.order-item{border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px}
.order-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;margin-bottom:10px}
.order-id{font-weight:700}
.order-status{border-radius:999px;padding:2px 10px;background:var(--chip-bg);font-size:12px}
.order-status.status-new{background:var(--primary);color:#fff}
.order-date{color:var(--muted);margin-left:auto}
.order-items{list-style:none;padding:0;margin:0;font-size:14px}
.order-items li{display:flex;gap:10px;align-items:baseline;padding:4px 0}
.order-items .qty{color:var(--muted)}
.order-items .price{margin-left:auto;font-weight:700}

.cart-grid{display:grid;grid-template-columns:1fr;gap:30px;margin-top:44px}
@media(min-width:1000px){.cart-grid{grid-template-columns:1.6fr 1fr;align-items:start}}
.cart-list{display:flex;flex-direction:column;gap:0}
.cart-row{display:grid;grid-template-columns:90px 1fr auto auto;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}
.cart-thumb{width:90px;height:90px;border-radius:var(--radius);background:#fff;box-shadow:inset 0 0 40px 0 #DEDFDF;display:flex;align-items:center;justify-content:center;overflow:hidden}
.cart-thumb img{max-height:74px;max-width:80px;object-fit:contain}
.cart-cat{font-size:12px;color:var(--muted);margin-bottom:4px}
.cart-title{font-weight:700;font-size:15px;line-height:1.35}
.cart-title a:hover{text-decoration:underline}
.cart-price{margin-top:6px;font-weight:700;color:var(--primary-dark)}
.cart-qty{display:flex;align-items:center;gap:8px}
.cart-qty form{margin:0}
.cart-qty button{width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:#fff;font-size:16px;line-height:1;cursor:pointer}
.cart-qty button:hover{background:var(--chip-bg)}
.cart-qty span{min-width:24px;text-align:center;font-weight:700}
.cart-del button{width:32px;height:32px;border-radius:8px;border:1px solid var(--line);background:#fff;cursor:pointer;color:#B3271E}
.cart-del button:hover{background:#FDECEA}
.cart-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.cart-summary{background:var(--footer-bg);border:1px solid var(--line);border-radius:var(--radius);padding:28px}
.cart-summary h4{font-size:18px;font-weight:700;margin:0 0 16px}
.cart-total{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:18px}
.cart-total b{font-size:22px;color:var(--primary-dark)}
.cart-hint{font-size:13px;color:var(--muted);margin-bottom:18px}
.cart-hint a{color:var(--primary);font-weight:600}
.cart-empty{text-align:center;padding:70px 0}
.cart-empty p{color:var(--muted);margin-bottom:22px}

.verify-form{margin-bottom:26px}
.verify-row{display:flex;gap:12px;align-items:stretch}
.verify-row input{flex:1}
.verify-row .button{flex:none;min-height:auto}
.verify-result{border-radius:var(--radius);padding:26px;border:1px solid var(--line);background:#fff}
.verify-result.ok{border-left:5px solid var(--primary)}
.verify-result.bad{border-left:5px solid #C0392B;background:#FFFBFB}
.vr-head{display:flex;gap:16px;align-items:center;margin-bottom:18px}
.vr-badge{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;color:#fff;background:var(--primary);flex:none}
.verify-result.bad .vr-badge{background:#C0392B}
.vr-title{font-size:19px;font-weight:700}
.vr-sub{font-size:14px;color:var(--muted)}
.vr-list{margin:0;display:grid;grid-template-columns:1fr;gap:10px}
@media(min-width:640px){.vr-list{grid-template-columns:1fr 1fr}}
.vr-list > div{display:flex;gap:10px;font-size:15px}
.vr-list dt{color:var(--muted);min-width:76px}
.vr-list dd{margin:0;font-weight:600}

.doc-body{max-width:820px;margin-top:36px;font-size:16px;line-height:1.75}
.doc-body h2{font-size:22px;font-weight:700;margin:1.6em 0 .6em}
.doc-body h3{font-size:18px;font-weight:700;margin:1.4em 0 .5em}
.doc-body ul{list-style:disc;padding-left:22px;margin:0 0 1em}
.doc-body li{margin-bottom:6px}
.doc-updated{font-size:14px;color:var(--muted);margin-top:14px}

/* 加入购物车提示 */
.cart-toast{
  position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);z-index:9998;
  background:var(--text);color:#fff;padding:14px 26px;border-radius:999px;font-size:15px;font-weight:600;
  box-shadow:0 16px 40px rgba(0,0,0,.28);opacity:0;transition:opacity .3s,transform .3s;pointer-events:none;
}
.cart-toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.cart-toast a{color:#8FC0EC;text-decoration:underline}

/* ---------- 响应式：头部 ---------- */
@media(max-width:1023px){
  .header-search,.main-nav{display:none}
  .page-main{padding-top:80px}
  .header-top{padding:16px 0;height:80px}
  .header-logo img{height:46px}
  .icon-btn{min-height:46px;min-width:46px;padding:0 16px}
  .icon-btn svg{width:16px;height:20px}
  .menu-toggle{display:flex}
  .sec,.about-band,.contact-band{padding:50px 0}
  .site-footer{padding:60px 0}
  .footer-brand img,.footer-brand{display:block}
  .footer-grid{gap:26px}
  .footer-col a{font-size:16px;margin-bottom:10px}
  .cards{gap:30px 15px}
  .card-media img{height:200px}
  .about-gallery{gap:15px}
  .about-gallery .col{gap:15px}
  .about-gallery .col-mid{margin-top:0}
}
@media(max-width:767px){
  .container{padding:0 16px}
  .about-gallery{gap:12px}
  .steps-band{padding:30px 20px 20px}
  .card-media img{height:140px}
  .reviews-head img{max-height:260px}
  .contact-band .cta-img{display:none}
  .slide .txt{min-height:0}
}
@media(max-width:420px){
  .card-media img{height:120px}
  .card-cat{margin:15px 0 10px}
  .price{margin:10px 0 15px;font-size:18px}
  .button{min-height:46px;padding:10px 18px;font-size:15px}
}
