:root{
  --bg:#fafaf7;--surface:#fff;--ink:#1a1a1a;--muted:#6b6b6b;--line:#e8e6df;
  --orange:#e8763a;--orange-deep:#c95a23;--gold:#caa46f;--green:#4a8b6b;
  --shadow-sm:0 1px 3px rgba(0,0,0,.04);--shadow:0 8px 24px rgba(0,0,0,.06);--shadow-lg:0 20px 50px rgba(0,0,0,.10);
  --radius:14px;--radius-sm:10px;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{background:var(--bg);color:var(--ink);font-family:'Noto Sans SC',system-ui,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;object-fit:cover}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
.container{width:min(100%,1240px);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.muted{color:var(--muted)}
.serif{font-family:'Noto Serif SC',serif}
/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:68px;gap:1rem}
.logo{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:1.15rem}
.logo-mark{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--orange),var(--orange-deep));font-size:1.1rem}
.nav-links{display:flex;gap:1.5rem;font-size:.95rem}
.nav-links a{color:var(--muted);transition:color .2s}
.nav-links a:hover{color:var(--ink)}
.nav-actions{display:flex;gap:.5rem;align-items:center}
.btn-icon{position:relative;padding:.5rem .75rem;border-radius:10px;font-size:1.1rem}
.btn-icon:hover{background:var(--bg)}
.badge{position:absolute;top:-2px;right:-2px;background:var(--orange);color:#fff;font-size:.7rem;border-radius:10px;padding:0 6px;min-width:18px;text-align:center}
.btn-ghost{padding:.5rem .9rem;border-radius:10px;font-size:.9rem;color:var(--ink)}
.btn-ghost:hover{background:var(--bg)}
.btn-primary{padding:.55rem 1.1rem;border-radius:10px;background:var(--ink);color:#fff;font-size:.9rem;font-weight:500;display:inline-flex;align-items:center;gap:.4rem;transition:transform .15s}
.btn-primary:hover{transform:translateY(-1px)}
.btn-orange{padding:.7rem 1.3rem;border-radius:10px;background:linear-gradient(135deg,var(--orange),var(--orange-deep));color:#fff;font-weight:500;display:inline-flex;align-items:center;gap:.4rem;font-size:.95rem}
.btn-outline{padding:.7rem 1.3rem;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink)}
@media (max-width:720px){.nav-links{display:none}}
/* hero */
.hero{padding:clamp(3rem,8vw,6rem) 0 clamp(2rem,5vw,4rem)}
.hero-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}
@media(min-width:880px){.hero-grid{grid-template-columns:1.1fr .9fr;gap:3rem}}
.hero h1{font-family:'Noto Serif SC',serif;font-size:clamp(2rem,5.5vw,3.6rem);font-weight:700;line-height:1.15;letter-spacing:-.02em}
.hero .accent{color:var(--orange)}
.hero p.lead{font-size:clamp(1rem,2vw,1.15rem);color:var(--muted);margin:1.5rem 0 2rem;max-width:540px}
.hero-cta{display:flex;flex-wrap:wrap;gap:.8rem}
.hero-img{border-radius:18px;overflow:hidden;box-shadow:var(--shadow-lg);aspect-ratio:4/3}
.hero-img img{width:100%;height:100%}
.hero-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem;margin-top:3rem;padding-top:2.5rem;border-top:1px solid var(--line)}
.stat-num{font-family:'Noto Serif SC',serif;font-size:clamp(1.6rem,3.5vw,2.2rem);font-weight:700;color:var(--ink)}
.stat-lbl{font-size:.85rem;color:var(--muted);margin-top:.25rem}
/* section */
.section{padding:clamp(3rem,7vw,5rem) 0}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:1rem;margin-bottom:2.5rem}
.section-head h2{font-family:'Noto Serif SC',serif;font-size:clamp(1.6rem,3vw,2.2rem);font-weight:700;letter-spacing:-.01em}
.section-head .sub{color:var(--muted);margin-top:.4rem}
/* category chips */
.cat-chips{display:flex;gap:.6rem;overflow-x:auto;padding-bottom:.5rem;margin-bottom:2rem}
.cat-chip{padding:.5rem 1rem;border-radius:999px;background:#fff;border:1px solid var(--line);white-space:nowrap;font-size:.9rem;display:inline-flex;align-items:center;gap:.4rem}
.cat-chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}
/* product grid */
.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.product{background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .25s,box-shadow .25s;border:1px solid var(--line)}
.product:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.product-cover{aspect-ratio:4/3;overflow:hidden;background:#faf6ed;position:relative}
.product-cover img{width:100%;height:100%;object-fit:contain;padding:.5rem;transition:transform .4s}
.product:hover .product-cover img{transform:scale(1.04)}
.product-tags{position:absolute;top:.6rem;left:.6rem;display:flex;gap:.3rem}
.tag{padding:.15rem .55rem;background:var(--orange);color:#fff;font-size:.7rem;border-radius:6px;font-weight:500}
.tag.alt{background:var(--gold)}
.product-info{padding:1rem 1.1rem 1.2rem}
.product-name{font-weight:600;font-size:.98rem;line-height:1.4;height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:.6rem}
.product-meta{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:var(--muted)}
.product-rating{color:var(--gold)}
.product-price{display:flex;align-items:baseline;gap:.5rem;margin-top:.7rem}
.price{font-family:'Noto Serif SC',serif;font-size:1.4rem;font-weight:700;color:var(--orange)}
.price-old{font-size:.85rem;color:var(--muted);text-decoration:line-through}
/* detail */
.detail{display:grid;grid-template-columns:1fr;gap:2.5rem;margin-top:2rem}
@media(min-width:880px){.detail{grid-template-columns:1.1fr .9fr}}
.detail-cover{border-radius:18px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/3;background:#faf6ed}
.detail-cover img{object-fit:contain;padding:1rem}
.detail-previews{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;margin-top:.8rem}
.detail-previews img{aspect-ratio:1;border-radius:10px;cursor:pointer;border:2px solid transparent;object-fit:contain;background:#faf6ed;padding:.3rem}
.detail-previews img:hover{border-color:var(--orange)}
.detail-info h1{font-family:'Noto Serif SC',serif;font-size:clamp(1.5rem,3vw,2rem);font-weight:700;line-height:1.3}
.detail-meta{display:flex;gap:1.5rem;margin:1rem 0;color:var(--muted);font-size:.9rem}
.detail-desc{color:#444;margin:1.2rem 0;line-height:1.8}
.tier-list{display:flex;flex-direction:column;gap:.8rem;margin:1.5rem 0}
.tier{padding:1rem 1.2rem;border:2px solid var(--line);border-radius:12px;cursor:pointer;transition:border-color .2s}
.tier.active{border-color:var(--orange);background:#fff7ef}
.tier-head{display:flex;justify-content:space-between;align-items:center}
.tier-name{font-weight:600}
.tier-price{font-family:'Noto Serif SC',serif;font-size:1.2rem;font-weight:700;color:var(--orange)}
.tier-features{margin-top:.5rem;display:flex;flex-wrap:wrap;gap:.4rem}
.tier-features span{font-size:.78rem;padding:.15rem .55rem;background:var(--bg);border-radius:6px;color:var(--muted)}
/* card */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem 1.7rem;box-shadow:var(--shadow-sm)}
.card+.card{margin-top:1rem}
.card h3{font-family:'Noto Serif SC',serif;font-size:1.15rem;margin-bottom:1rem}
/* form */
.form-row{margin-bottom:1.2rem}
.form-row label{display:block;font-size:.88rem;color:var(--muted);margin-bottom:.4rem}
.form-row input,.form-row textarea,.form-row select{width:100%;padding:.7rem .9rem;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit}
.form-row input:focus,.form-row textarea:focus{outline:none;border-color:var(--orange)}
/* table */
.tbl{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm)}
.tbl th,.tbl td{padding:.85rem 1rem;text-align:left;border-bottom:1px solid var(--line);font-size:.92rem}
.tbl th{background:#f6f4ee;font-weight:600;color:var(--muted);font-size:.82rem;text-transform:uppercase;letter-spacing:.05em}
.tbl tr:last-child td{border-bottom:none}
.tbl tr:hover td{background:#fafaf7}
/* status */
.status{padding:.2rem .65rem;border-radius:6px;font-size:.78rem;font-weight:500;display:inline-block}
.status-pending{background:#fff4e0;color:#a86419}
.status-paid{background:#e0f0ff;color:#1e5fb8}
.status-delivered{background:#e8f3ee;color:#226c4a}
.status-completed{background:#ece8e0;color:#666}
.status-cancelled{background:#fde8e8;color:#a83232}
/* alert */
.alert{padding:.9rem 1.1rem;border-radius:10px;margin-bottom:1rem;font-size:.92rem}
.alert-error{background:#fde8e8;color:#a83232;border:1px solid #f5c6c6}
.alert-success{background:#e8f3ee;color:#226c4a;border:1px solid #c6e0d3}
.alert-info{background:#fff7ef;color:#a86419;border:1px solid #fbe5cb}
/* footer */
.site-footer{background:#fff;border-top:1px solid var(--line);margin-top:5rem;padding-top:3rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:2rem;padding-bottom:2rem}
.footer-grid h4{font-size:.92rem;margin-bottom:.8rem;color:var(--ink)}
.footer-grid a{display:block;font-size:.88rem;color:var(--muted);padding:.2rem 0}
.footer-grid a:hover{color:var(--ink)}
.footer-bottom{padding:1.5rem 0;border-top:1px solid var(--line);font-size:.85rem;color:var(--muted);text-align:center}
/* admin sidebar */
.admin-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}
@media(max-width:720px){.admin-shell{grid-template-columns:1fr}}
.admin-side{background:#1a1a1a;color:#ddd;padding:1.5rem 0}
.admin-side .brand{padding:0 1.5rem 1.5rem;border-bottom:1px solid #333;margin-bottom:1rem;font-weight:700}
.admin-side a{display:block;padding:.7rem 1.5rem;color:#bbb;font-size:.92rem}
.admin-side a:hover,.admin-side a.active{background:#2a2a2a;color:#fff;border-left:3px solid var(--orange);padding-left:calc(1.5rem - 3px)}
.admin-main{padding:2rem;background:var(--bg)}
.admin-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}
.admin-head h1{font-family:'Noto Serif SC',serif;font-size:1.6rem}
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}
.kpi{background:#fff;padding:1.3rem 1.5rem;border-radius:var(--radius);box-shadow:var(--shadow-sm);border:1px solid var(--line)}
.kpi-label{font-size:.82rem;color:var(--muted);margin-bottom:.4rem}
.kpi-value{font-family:'Noto Serif SC',serif;font-size:1.8rem;font-weight:700;color:var(--ink)}
.kpi-value.orange{color:var(--orange)}
.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.2rem;flex-wrap:wrap;gap:.8rem}
.toolbar form{display:flex;gap:.5rem;flex-wrap:wrap}
.toolbar input,.toolbar select{padding:.55rem .8rem;border:1px solid var(--line);border-radius:8px;font-size:.9rem;background:#fff}
.btn-sm{padding:.45rem .8rem;border-radius:8px;font-size:.85rem;background:var(--ink);color:#fff;display:inline-block}
.btn-sm.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn-sm.danger{background:#a83232}
.pagination{display:flex;gap:.4rem;justify-content:center;margin-top:1.5rem}
.pagination a,.pagination span{padding:.4rem .75rem;border:1px solid var(--line);border-radius:8px;font-size:.88rem;background:#fff}
.pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}
/* utility */
.row{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.spread{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.center{text-align:center}
.qty{display:inline-flex;align-items:center;gap:.6rem;border:1px solid var(--line);border-radius:8px;padding:.2rem .4rem}
.qty button{width:24px;height:24px;border-radius:6px;font-size:1rem;color:var(--muted)}
.qty button:hover{background:var(--bg);color:var(--ink)}

/* utility bar (top) */
.utility-bar{background:linear-gradient(90deg,#1a1a1a,#2b2521);color:#e8e6df;font-size:.82rem;border-bottom:1px solid #00000020}
.utility-inner{display:flex;align-items:center;justify-content:space-between;height:36px;gap:1rem;flex-wrap:wrap}
.utility-left{color:#caa46f;letter-spacing:.02em}
.utility-right{display:flex;gap:1.2rem}
.utility-right a{color:#e8e6df;opacity:.85;transition:opacity .2s,color .2s}
.utility-right a:hover{opacity:1;color:var(--orange)}
@media(max-width:560px){.utility-left{display:none}.utility-inner{justify-content:center}.utility-right{gap:.9rem;font-size:.78rem}}

/* page head */
.page-head{padding:clamp(2rem,5vw,3.5rem) 0 1.5rem;text-align:center}
.page-head h1{font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:.5rem}

/* order query */
.query-card{max-width:640px;margin:0 auto 2rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.25rem,3vw,2rem);box-shadow:var(--shadow-sm)}
.query-card label{display:block;font-weight:500;margin-bottom:.6rem;font-size:.95rem}
.query-row{display:flex;gap:.6rem;flex-wrap:wrap}
.query-row input{flex:1;min-width:200px;padding:.8rem 1rem;border:1px solid var(--line);border-radius:10px;font-size:.95rem;background:#fff;font-family:inherit}
.query-row input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px #e8763a22}
.query-row .btn-orange{padding:.8rem 1.5rem;border:none;cursor:pointer}
.query-tip{margin-top:.7rem;font-size:.82rem}
.query-result{max-width:760px;margin:0 auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.25rem,3vw,2rem);box-shadow:var(--shadow-sm)}
.query-err{display:flex;align-items:center;gap:.8rem;color:var(--orange-deep)}
.result-icon{font-size:1.5rem}
.result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding-bottom:1rem;border-bottom:1px solid var(--line);margin-bottom:1rem;flex-wrap:wrap}
.result-no{font-family:'Courier New',monospace;font-size:1.1rem;font-weight:600;margin-top:.2rem}
.status-pill{padding:.3rem .9rem;border-radius:999px;font-size:.85rem;font-weight:500}
.result-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;padding-bottom:1rem;border-bottom:1px solid var(--line);margin-bottom:1rem}
.result-meta>div>div{margin-top:.2rem;font-weight:500}
.result-items{display:flex;flex-direction:column;gap:.6rem}
.result-item{display:grid;grid-template-columns:1fr auto auto;gap:1rem;padding:.7rem 0;border-bottom:1px dashed var(--line);font-size:.95rem}
.result-item:last-child{border-bottom:none}

/* support page */
.support-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem;max-width:1100px;margin:0 auto}
.support-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.25rem,2.5vw,1.75rem);box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s}
.support-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.support-icon{font-size:1.75rem;margin-bottom:.6rem}
.support-card h3{font-family:'Noto Serif SC',serif;font-size:1.2rem;margin-bottom:.4rem}
.support-card .muted{font-size:.88rem;margin-bottom:.9rem}
.support-list{list-style:none;display:flex;flex-direction:column;gap:.5rem;font-size:.92rem}
.support-list li{padding:.4rem 0;border-bottom:1px dashed var(--line)}
.support-list li:last-child{border-bottom:none}
.support-list a{color:var(--orange-deep);font-weight:500}
.support-list a:hover{text-decoration:underline}

/* product details */
.product-details,.product-reviews{margin-top:clamp(2rem,5vw,3rem)}
.product-details h2,.product-reviews h2{font-family:'Noto Serif SC',serif;font-size:clamp(1.3rem,2.5vw,1.7rem);font-weight:700;margin-bottom:1.2rem}
.details-content{background:#faf6ed;border-radius:var(--radius);padding:clamp(1.2rem,3vw,2rem);line-height:1.9;color:#333;font-size:clamp(.95rem,1.6vw,1rem)}
.details-content .detail-block{margin-bottom:1rem}
.details-content .detail-block:last-child{margin-bottom:0}
/* reviews */
.review-summary{display:flex;align-items:center;gap:1.5rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.5rem;margin-bottom:1.5rem;flex-wrap:wrap}
.review-summary .big-rating{font-family:'Noto Serif SC',serif;font-size:clamp(2rem,5vw,2.8rem);font-weight:700;color:var(--orange)}
.review-summary .stars{color:#f5a623;font-size:1.2rem;letter-spacing:.1em}
.review-summary .meta{color:var(--muted);font-size:.92rem}
.review-list{display:flex;flex-direction:column;gap:1rem}
.review-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem 1.3rem}
.review-head{display:flex;align-items:center;gap:.8rem;margin-bottom:.6rem;flex-wrap:wrap}
.review-head .avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#caa46f,#e8763a);color:#fff;display:grid;place-items:center;font-weight:600;flex-shrink:0}
.review-head .name{font-weight:600;font-size:.95rem}
.review-head .stars-row{font-size:.82rem;color:var(--muted);margin-top:.15rem}
.review-head .stars-row .stars{color:#f5a623;letter-spacing:.05em}
.review-head time{margin-left:auto;color:var(--muted);font-size:.82rem}
.review-text{color:#444;line-height:1.7;font-size:.95rem;margin-top:.3rem;overflow-wrap:break-word}
@media(max-width:560px){.review-head time{margin-left:0;width:100%;margin-top:.2rem}}

/* ===== 备案号 ===== */
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem;align-items:center}
.footer-beian{display:inline-flex;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:.85rem;color:var(--muted)}
.footer-beian a{color:var(--muted);text-decoration:none;transition:color .2s}
.footer-beian a:hover{color:var(--brand);text-decoration:underline}
.footer-beian .dot{opacity:.5}

/* ===== 浮动按钮组 ===== */
.floating-actions{position:fixed;right:clamp(14px,2.5vw,28px);bottom:clamp(20px,3vw,32px);display:flex;flex-direction:column;gap:14px;z-index:998}
.float-btn{position:relative;width:54px;height:54px;border-radius:50%;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:22px;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18);transition:transform .2s,box-shadow .2s}
.float-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.24)}
.float-btn-ai{background:linear-gradient(135deg,#d97706,#b45309)}
.float-btn-top{background:#fff;color:#444;border:1px solid var(--border,#e5e5e5);font-weight:700;opacity:0;pointer-events:none;transform:translateY(8px)}
.float-btn-top.show{opacity:1;pointer-events:auto;transform:translateY(0)}
.float-btn-pulse{position:absolute;inset:-4px;border-radius:50%;border:2px solid rgba(217,119,6,.45);animation:fbpulse 1.8s ease-out infinite;pointer-events:none}
@keyframes fbpulse{0%{transform:scale(.9);opacity:.7}100%{transform:scale(1.4);opacity:0}}

/* ===== AI 聊天面板 ===== */
.ai-chat-panel[hidden]{display:none!important}
.ai-chat-panel{position:fixed;right:clamp(14px,2.5vw,28px);bottom:calc(clamp(20px,3vw,32px) + 130px);width:min(340px,calc(100vw - 32px));height:min(460px,70vh);background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.22);display:flex;flex-direction:column;overflow:hidden;z-index:999;animation:aichatIn .25s ease-out}
@keyframes aichatIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.ai-chat-head{padding:14px 16px;background:linear-gradient(135deg,#d97706,#b45309);color:#fff;display:flex;align-items:center;justify-content:space-between}
.ai-chat-title{display:flex;align-items:center;gap:10px}
.ai-chat-avatar{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:18px}
.ai-chat-title strong{display:block;font-size:.95rem}
.ai-chat-title small{display:block;font-size:.72rem;opacity:.85}
.ai-chat-close{background:transparent;border:none;color:#fff;font-size:24px;line-height:1;cursor:pointer;width:28px;height:28px;border-radius:6px}
.ai-chat-close:hover{background:rgba(255,255,255,.18)}
.ai-chat-body{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:#fafafa}
.ai-msg{max-width:85%;padding:9px 12px;border-radius:12px;font-size:.88rem;line-height:1.55;word-break:break-word}
.ai-msg-bot{background:#fff;border:1px solid #eee;align-self:flex-start;border-top-left-radius:4px}
.ai-msg-user{background:#d97706;color:#fff;align-self:flex-end;border-top-right-radius:4px}
.ai-msg-quick{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ai-msg-quick a{display:inline-block;padding:4px 10px;background:#fef3e2;color:#b45309;border-radius:12px;font-size:.78rem;text-decoration:none}
.ai-msg-quick a:hover{background:#fde4be}
.ai-chat-input{display:flex;gap:8px;padding:10px;border-top:1px solid #eee;background:#fff}
.ai-chat-input input{flex:1;border:1px solid #e5e5e5;border-radius:10px;padding:8px 12px;font-size:.9rem;outline:none;transition:border-color .2s}
.ai-chat-input input:focus{border-color:#d97706}
.ai-chat-input button{background:#d97706;color:#fff;border:none;border-radius:10px;padding:0 16px;cursor:pointer;font-size:.88rem;font-weight:600}
.ai-chat-input button:hover{background:#b45309}
@media(max-width:480px){.ai-chat-panel{right:10px;left:10px;width:auto;bottom:148px;height:min(420px,65vh)}}

/* ===== 底部备案精装布局 ===== */
.footer-bottom{padding-top:1.4rem;border-top:1px solid rgba(255,255,255,.08)}
.footer-bottom-left{display:inline-flex;align-items:center;gap:.75rem;font-size:.88rem}
.footer-bottom-left .copyright{font-weight:600;color:#f5f5f5}
.footer-divider{width:1px;height:14px;background:rgba(255,255,255,.18)}
.footer-beian-card{display:inline-flex;align-items:center;gap:.7rem;padding:.5rem .95rem;background:linear-gradient(135deg,rgba(217,119,6,.14),rgba(180,83,9,.08));border:1px solid rgba(217,119,6,.28);border-radius:999px;backdrop-filter:blur(6px);transition:all .25s}
.footer-beian-card:hover{border-color:rgba(217,119,6,.5);box-shadow:0 6px 20px rgba(217,119,6,.18);transform:translateY(-1px)}
.beian-icon{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#d97706,#b45309);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;box-shadow:0 2px 8px rgba(217,119,6,.35)}
.beian-info{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.beian-company{font-size:.78rem;color:#cfcfcf;letter-spacing:.02em}
.beian-no{font-size:.85rem;font-weight:600;color:#f3a866;text-decoration:none;transition:color .2s}
.beian-no:hover{color:#fbbf75;text-decoration:underline}
@media(max-width:640px){
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:.9rem}
  .footer-beian-card{width:100%;justify-content:flex-start}
}

/* ===== 底部经典横式一条线 ===== */
.footer-bottom-classic{padding:1.2rem 0;border-top:1px solid var(--line,#e5e5e5);justify-content:center;text-align:center}
.footer-classic-line{display:inline-flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.7rem;font-size:.88rem;color:#444;letter-spacing:.02em;line-height:1.8}
.footer-classic-line .dot-sep{color:#bbb;font-size:.85rem}
.footer-classic-line .beian-link{color:#b45309;text-decoration:none;font-weight:600;transition:color .2s}
.footer-classic-line .beian-link:hover{color:#d97706;text-decoration:underline}
@media(max-width:560px){.footer-classic-line{font-size:.78rem;gap:.45rem}}

/* ===== 自滚动 Banner ===== */
.banner-marquee-section{padding:1.5rem 0 .5rem}
.banner-marquee{position:relative;overflow:hidden;border-radius:18px;mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.banner-marquee-track{display:flex;gap:18px;width:max-content;animation:bannerScroll 38s linear infinite}
.banner-marquee:hover .banner-marquee-track{animation-play-state:paused}
.banner-slide{flex:0 0 auto;width:clamp(260px,32vw,420px);aspect-ratio:1200/420;border-radius:14px;overflow:hidden;box-shadow:0 6px 22px rgba(0,0,0,.08);position:relative;background:#f5f0e6}
.banner-slide img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.banner-slide:hover img{transform:scale(1.04)}
@keyframes bannerScroll{from{transform:translateX(0)}to{transform:translateX(calc(-50% - 9px))}}
@media(max-width:560px){.banner-slide{width:78vw}.banner-marquee-track{animation-duration:28s}}
@media(prefers-reduced-motion:reduce){.banner-marquee-track{animation:none}}

/* === 4.18 大促三天 促销轮播 === */
.promo418{padding:20px 0 0}
.promo418-carousel{position:relative;border-radius:16px;overflow:hidden;height:clamp(120px,18vw,180px);box-shadow:0 8px 24px rgba(232,118,58,.18)}
.promo418-track{position:relative;width:100%;height:100%}
.promo418-slide{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(18px,3vw,32px) clamp(20px,4vw,44px);text-decoration:none;color:#fff;opacity:0;animation:promo418Fade 18s infinite;border-radius:16px}
.promo418-s1{background:linear-gradient(120deg,#e8763a 0%,#d4541a 60%,#a8390e 100%);animation-delay:0s}
.promo418-s2{background:linear-gradient(120deg,#5b3a2a 0%,#8b5a3c 50%,#c08855 100%);animation-delay:6s}
.promo418-s3{background:linear-gradient(120deg,#2d6e5a 0%,#3a8a72 50%,#5cb89c 100%);animation-delay:12s}
.promo418-tag{display:inline-block;background:rgba(255,255,255,.18);padding:4px 12px;border-radius:20px;font-size:clamp(11px,1.4vw,13px);font-weight:600;letter-spacing:.5px;margin-bottom:8px;width:fit-content;backdrop-filter:blur(4px)}
.promo418-title{font-family:'Noto Serif SC',serif;font-weight:700;font-size:clamp(20px,3.4vw,34px);line-height:1.2;margin-bottom:6px}
.promo418-title span{color:#ffe58a;font-size:clamp(24px,4vw,40px)}
.promo418-sub{font-size:clamp(12px,1.5vw,15px);opacity:.92;margin-bottom:10px}
.promo418-cta{font-weight:600;font-size:clamp(13px,1.6vw,15px);opacity:.95}
@keyframes promo418Fade{
  0%{opacity:1;transform:translateX(0);z-index:2}
  30%{opacity:1;transform:translateX(0);z-index:2}
  35%{opacity:0;transform:translateX(-20px);z-index:1}
  100%{opacity:0;transform:translateX(20px);z-index:1}
}
.promo418-dots{position:absolute;bottom:12px;right:18px;display:flex;gap:6px;z-index:2}
.promo418-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4);animation:promo418Dot 18s infinite}
.promo418-d1{animation-delay:0s}
.promo418-d2{animation-delay:6s}
.promo418-d3{animation-delay:12s}
@keyframes promo418Dot{0%,2%{background:rgba(255,255,255,.4)}5%,33%{background:#fff}36%,100%{background:rgba(255,255,255,.4)}}
@media(max-width:560px){.promo418-carousel{height:140px}.promo418-sub{display:none}}
