/* 站点补充样式：在原站编译样式基础上补齐轮播与交互 */
:root { --header-height: 104px; }

/* 版头导航横排兜底（原站依赖 scoped 的 .nav-link[data-v-6a1c5303]，此处保证任何情况下不竖排） */
header nav a.nav-link { white-space: nowrap; display: inline-block; flex-shrink: 0; }
header nav a.nav-link-active { background-color: rgba(20,184,166,.05); color: #14b8a6; }

/* 顶部实时金价条（参考原站版头） */
.top-gold-bar { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.top-gold-bar .tg-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #0f766e; }
.top-gold-bar .tg-label > span { display: inline-block; width: 6px; height: 6px; border-radius: 999px; background: #14b8a6; }
.top-gold-bar .tg-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.top-gold-bar .tg-name { color: #64748b; }
.top-gold-bar .tg-price { color: #e11d48; font-weight: 900; }
.top-gold-bar .tg-more { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: #14b8a6; }
.top-gold-bar .tg-more:hover { text-decoration: underline; }

/* Hero 轮播（原站 Swiper 视觉等价实现） */
.hero-swiper { height: 100%; width: 100%; overflow: hidden; position: relative; }
.hero-swiper .swiper-wrapper { display: flex; height: 100%; width: 100%; transition: transform .7s cubic-bezier(.4,0,.2,1); will-change: transform; }
.hero-swiper .swiper-slide { flex: 0 0 100%; width: 100%; height: 100%; cursor: pointer; position: relative; }
.hero-swiper .swiper-slide > .relative { height: 100%; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 50px; height: 50px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; transition: all .3s; border: 0; cursor: pointer; }
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 20; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 24px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.4); border: 0; padding: 0; cursor: pointer; transition: all .3s; }
.hero-dot.active { width: 44px; background: #fff; }

/* 移动端尾图轮播 */
.mall-hero-swiper { height: 100%; }
.mall-hero-swiper .swiper-wrapper { display: flex; height: 100%; transition: transform .6s ease; }
.mall-hero-swiper .swiper-slide { flex: 0 0 100%; height: 100%; }
.mall-hero-swiper .swiper-slide:nth-child(1) .swiper-wrapper { transform: none; }

/* 成交滚动条 */
.ticker-scroll { animation: rh-ticker 32s linear infinite; will-change: transform; }
@keyframes rh-ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-track { display: inline-flex; white-space: nowrap; }

/* 回收类目/案例图片容器：4:3 自适应高度（与原站 aspect-[4/3] 一致，限制图片过高） */
.rh-aspect-43 { position: relative; width: 100%; aspect-ratio: 4 / 3; }
@supports not (aspect-ratio: 4 / 3) { .rh-aspect-43 { height: 0; padding-bottom: 75%; } .rh-aspect-43 > img { position: absolute; inset: 0; } }

/* 滚动渐显，与原站 fade-slide 动效一致 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* 卡片悬浮 */
.hover-lift { transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1); }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,23,42,.1); }

/* FAQ 折叠 */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform .3s; }

/* 移动端菜单按钮 */
#menuBtn[aria-expanded="true"] { background: #14b8a61a; color: #0b3d3a; }

/* 表单 */
.field { width: 100%; border: 1px solid #e2e8f0; border-radius: .75rem; background: #fff; padding: .8rem 1rem; font-size: .95rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.field:focus { border-color: #14b8a6; box-shadow: 0 0 0 3px #14b8a61a; }
.form-msg { display: none; margin-top: 1rem; border-radius: .75rem; padding: .75rem 1rem; font-size: .9rem; }
.form-msg.ok { display: block; background: #ecfdf5; color: #047857; }
.form-msg.err { display: block; background: #fef2f2; color: #b91c1c; }

/* 正文排版 */
.prose-rh h2 { font-size: 1.5rem; font-weight: 800; margin: 2rem 0 .75rem; color: #0f172a; }
.prose-rh h3 { font-size: 1.2rem; font-weight: 800; margin: 1.5rem 0 .5rem; color: #0f172a; }
.prose-rh p { line-height: 2; color: #475569; margin: .75rem 0; }
.prose-rh ul { list-style: disc; padding-left: 1.5rem; margin: .75rem 0; color: #475569; line-height: 2; }

@media (max-width: 767px) {
  .hero-arrow { width: 36px; height: 36px; }
  .hero-arrow.prev { left: 6px; }
  .hero-arrow.next { right: 6px; }
  .hero-dots { bottom: 12px; }
}

/* ===== 右下角悬浮咨询（电话 / 微信，点击向左弹出，参考原站） ===== */
.rh-float { position: fixed; right: 18px; bottom: 56px; z-index: 60; align-items: flex-end; gap: 12px; }
.rh-float-panels { position: relative; width: 210px; }
.rh-float-panel { position: absolute; right: 0; bottom: 0; width: 210px; opacity: 0; visibility: hidden; transform: translateX(12px); transition: opacity .22s ease, transform .22s ease, visibility .22s; pointer-events: none; }
.rh-float-panel.open { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }
.rh-float-card { background: #fff; border: 1px solid rgba(15,23,42,.08); border-radius: 16px; box-shadow: 0 18px 44px rgba(15,23,42,.18); padding: 18px 16px; text-align: center; }
.rh-float-card-title { font-size: 13px; font-weight: 800; color: #0f172a; }
.rh-float-phone { display: block; margin-top: 10px; font-size: 22px; font-weight: 900; color: #14b8a6; letter-spacing: .02em; }
.rh-float-phone:hover { color: #0d9488; }
.rh-float-call { display: inline-flex; margin-top: 12px; padding: 7px 22px; border-radius: 999px; background: linear-gradient(135deg,#14b8a6,#0d9488); color: #fff; font-size: 13px; font-weight: 800; }
.rh-float-call:hover { background: linear-gradient(135deg,#0d9488,#0f766e); }
.rh-float-qr { display: flex; width: 150px; height: 150px; margin: 12px auto 0; object-fit: contain; border: 1px solid rgba(15,23,42,.06); border-radius: 8px; background: #f8fafc; }
.rh-float-qr-empty { align-items: center; justify-content: center; font-size: 12px; color: #94a3b8; }
.rh-float-note { margin-top: 10px; font-size: 12px; color: #64748b; }
.rh-float-note strong { color: #0f172a; }
.rh-float-btns { display: flex; flex-direction: column; gap: 10px; }
.rh-float-btn { width: 52px; height: 52px; border-radius: 14px; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#14b8a6,#0d9488); color: #fff; box-shadow: 0 10px 24px rgba(13,148,136,.35); transition: transform .2s ease, box-shadow .2s ease; }
.rh-float-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(13,148,136,.45); }
.rh-float-btn.active { outline: 2px solid rgba(20,184,166,.4); outline-offset: 2px; }
.rh-float-btn.rh-float-wechat { background: linear-gradient(135deg,#22c55e,#16a34a); box-shadow: 0 10px 24px rgba(22,163,74,.35); }
.rh-float-btn.rh-float-wechat.active { outline-color: rgba(34,197,94,.4); }
.rh-float-btn svg { width: 24px; height: 24px; }

/* ===== 移动端首页（mall-*，自包含样式，参考 shoudeding 移动版） ===== */
.mall-home { background: #f4f6f8; min-height: 100vh; padding-bottom: 16px; }
.mall-hero { position: relative; height: 300px; overflow: hidden; }
.mall-hero-swiper { height: 100% !important; }
.mall-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mall-hero-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,.72) 100%); pointer-events: none; }
.mall-hero-text { position: absolute; left: 16px; right: 16px; bottom: 34px; color: #fff; }
.mall-hero-title { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: .01em; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.mall-hero-sub { margin: 6px 0 0; font-size: 12px; opacity: .92; letter-spacing: .04em; }
.mall-cta { position: relative; z-index: 5; margin: -14px 12px 0; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px rgba(15,23,42,.1); padding: 12px; }
.mall-cta-btn { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px; background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .12em; box-shadow: 0 8px 18px rgba(13,148,136,.32); }
.mall-cta-btn:active { transform: scale(.98); }
.mall-quick { display: grid; grid-template-columns: repeat(4, 1fr); margin: 12px 12px 0; background: #fff; border-radius: 16px; box-shadow: 0 4px 14px rgba(15,23,42,.06); padding: 12px 4px; }
.mall-quick-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.mall-quick-icon { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 14px; background: rgba(20,184,166,.09); }
.mall-quick-icon svg { width: 21px; height: 21px; color: #0d9488; }
.mall-quick-label { font-size: 11px; font-weight: 700; color: #334155; }
.mall-panel { margin: 12px 12px 0; background: #fff; border-radius: 16px; box-shadow: 0 4px 14px rgba(15,23,42,.06); padding: 14px; }
.mall-panel-head { display: flex; align-items: baseline; justify-content: space-between; }
.mall-h2 { margin: 0; font-size: 17px; font-weight: 900; color: #0f172a; }
.mall-panel-tip { font-size: 11px; font-weight: 700; color: #0d9488; }
.mall-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; }
.mall-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.mall-step:not(:last-child)::after { content: ''; position: absolute; top: 15px; left: calc(50% + 18px); width: calc(100% - 36px); height: 2px; background: repeating-linear-gradient(90deg, #99f6e4 0 5px, transparent 5px 9px); }
.mall-step-num { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; font-size: 14px; font-weight: 900; box-shadow: 0 4px 10px rgba(13,148,136,.3); }
.mall-step-name { font-size: 11px; font-weight: 700; color: #475569; }
.mall-section { margin: 14px 12px 0; }
.mall-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.mall-sec-sub { font-size: 11px; color: #94a3b8; }
.mall-more { font-size: 12px; color: #64748b; text-decoration: none; }
.mall-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mall-cat-card { position: relative; display: block; height: 110px; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(15,23,42,.08); text-decoration: none; }
.mall-cat-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mall-cat-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(180deg, rgba(15,23,42,0), rgba(15,23,42,.75)); }
.mall-cat-name { position: absolute; left: 12px; bottom: 9px; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .02em; }
.mall-case-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mall-case-scroll::-webkit-scrollbar { display: none; }
.mall-case-card { flex: 0 0 152px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(15,23,42,.08); text-decoration: none; }
.mall-case-img { width: 100%; height: 104px; object-fit: cover; display: block; }
.mall-case-body { display: block; padding: 9px 10px 11px; }
.mall-case-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 18px; color: #1e293b; }
.mall-case-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; font-style: normal; }
.mall-case-price { font-size: 12px; font-weight: 900; color: #e11d48; font-style: normal; }
.mall-case-city { font-size: 11px; color: #94a3b8; font-style: normal; }
.mall-news-list { display: block; }
.mall-news-item { display: block; padding: 10px 0; text-decoration: none; border-bottom: 1px solid #f1f5f9; }
.mall-news-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.mall-news-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; font-weight: 700; line-height: 19px; color: #1e293b; }
.mall-news-meta { display: block; margin-top: 4px; font-size: 11px; color: #94a3b8; }
.mall-about-text { margin: 8px 0 0; font-size: 13px; line-height: 22px; color: #64748b; }
.mall-about-btn { display: inline-flex; margin-top: 12px; padding: 8px 22px; border-radius: 999px; background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; }
