/* lierzufang 基础样式 */
:root {
  --color-primary: #2B5F8A;
  --color-accent: #FF7A59;
  --color-text: #0E1726;
  --color-muted: #6B7280;
  --color-bg: #F6F7FB;
  --color-white: #FFFFFF;
  --color-border: #E5E7EB;
  --color-success: #0E9F6E;
  --color-warning: #F59E0B;
  --radius-md: 12px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.08);
  --container: 1200px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:Inter,'Source Han Sans SC','Noto Sans CJK SC','PingFang SC',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:var(--color-text);background:var(--color-white);line-height:1.6}
img{max-width:100%;display:block}
a, img{border:0}
.img-card{position:relative;background:#fff}
.img-card::before{content:"";display:block;aspect-ratio:4/3;background:#f3f4f6}
.img-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
a{color:inherit;text-decoration:none}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 24px}
.grid{display:grid;gap:24px}
@media(min-width:1200px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}
@media(min-width:768px) and (max-width:1199px){.grid-3{grid-template-columns:repeat(2,1fr)}.grid-4{grid-template-columns:repeat(3,1fr)}}
@media(max-width:767px){.grid-3,.grid-4{grid-template-columns:1fr}}
.navbar{position:sticky;top:0;z-index:50;backdrop-filter:saturate(180%) blur(8px);background:rgba(255,255,255,.85);border-bottom:1px solid var(--color-border)}
.navbar-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:inline-flex;align-items:center;gap:12px;font-weight:700;color:var(--color-primary)}
.nav-links{display:none;gap:24px}
.nav-cta{display:none}
.menu-btn{display:inline-flex}
@media(min-width:992px){.nav-links{display:inline-flex}.nav-cta{display:inline-flex}.menu-btn{display:none}}
.btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 24px;border-radius:12px;font-weight:600;cursor:pointer;transition:all .2s ease}
.btn-primary{background:var(--color-primary);color:#fff}
.btn-primary:hover{filter:brightness(.95)}
.btn-outline{border:1px solid var(--color-primary);color:var(--color-primary);background:transparent}
.hero{background:linear-gradient(0deg,rgba(246,247,251,.8),rgba(246,247,251,.8)),url('../../images/tropical.jpg') center/cover no-repeat;padding:96px 0}
.hero h1{font-size:40px;line-height:1.2;margin:0 0 24px 0}
.hero p{color:var(--color-muted);margin:0 0 32px 0}
.search-bar{display:grid;gap:16px;grid-template-columns:2fr 1fr 1fr 1fr auto;background:#fff;padding:16px;border-radius:12px;box-shadow:var(--shadow-card)}
.search-bar input,.search-bar select{height:44px;border:1px solid var(--color-border);border-radius:10px;padding:0 12px}
@media(max-width:767px){.search-bar{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--color-border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-card)}
.card img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:cover;background:#f3f4f6}
.card-body{padding:16px}
.price{color:var(--color-primary);font-weight:700}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;background:#E0ECF6;color:var(--color-primary);font-size:12px}
.section{padding:64px 0}
.section-title{margin:0 0 24px 0;font-size:28px}
.muted{color:var(--color-muted)}
footer{background:var(--color-bg);border-top:1px solid var(--color-border);padding:40px 0}
.footer-grid{display:grid;gap:24px;grid-template-columns:repeat(4,1fr)}
@media(max-width:991px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:575px){.footer-grid{grid-template-columns:1fr}}
.copyright{margin-top:24px;color:var(--color-muted);font-size:14px}
.text-center{text-align:center}
.drawer{position:fixed;inset:0;background:rgba(0,0,0,.4);display:none;z-index:1200}
.drawer.open{display:block}
.drawer-panel{position:absolute;right:0;top:0;bottom:0;width:80%;max-width:360px;background:#fff;padding:24px;box-shadow:var(--shadow-card);overflow:auto}
/* 打开抽屉时禁止背景滚动 */
body.drawer-open{overflow:hidden}
/* 统一图片可点击放大体验与提示 */
.zoomable{cursor:zoom-in}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#111827;color:#fff;border-radius:10px;padding:10px 14px;box-shadow:0 6px 18px rgba(0,0,0,.18);z-index:1100;font-size:14px;opacity:.98}
.toast{pointer-events:none}
/* 悬浮微信咨询组件 */
.wx-float{position:fixed;right:16px;bottom:16px;z-index:1000;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.wx-float .wx-btn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px;border-radius:12px;background:var(--color-primary);color:#fff;box-shadow:var(--shadow-card);border:0;cursor:pointer}
.wx-float .wx-panel{display:none;background:#fff;border:1px solid var(--color-border);border-radius:12px;box-shadow:var(--shadow-card);padding:12px}
.wx-float .wx-panel.open{display:block}
.wx-float .wx-panel img{width:180px;height:180px;object-fit:contain}
.wx-float .wx-note{font-size:12px;color:var(--color-muted);text-align:center;margin-top:8px}

/* 默认轻微呼吸动效，提升首次可见性 */
.wx-float .wx-btn.pulse{animation:wxPulse 1.6s ease-in-out infinite}
@keyframes wxPulse{0%{transform:translateZ(0) scale(1);box-shadow:0 0 0 0 rgba(43,95,138,.35)}70%{transform:scale(1.03);box-shadow:0 0 0 10px rgba(43,95,138,0)}100%{transform:scale(1)}}

/* 语言切换 */
.lang-switch{position:relative;margin-left:12px}
.lang-switch .lang-btn{height:36px;padding:0 12px;border:1px solid var(--color-border);background:#fff;border-radius:10px;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.lang-switch .lang-menu{position:absolute;right:0;top:44px;background:#fff;border:1px solid var(--color-border);border-radius:10px;box-shadow:var(--shadow-card);display:none;min-width:140px;z-index:1300}
.lang-switch.open .lang-menu{display:block}
.lang-switch .lang-menu button{width:100%;text-align:left;background:transparent;border:0;padding:10px 12px;cursor:pointer}
.lang-switch .lang-menu button:hover{background:#F3F4F6}

/* 银行专题：标识与布局 */
.bank-logo{width:56px;height:56px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;color:#fff;letter-spacing:.5px}
.bank-card .card-body{display:grid;gap:10px}
.bank-pill{display:inline-block;padding:2px 8px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px}
.bank-meta{display:flex;gap:10px;flex-wrap:wrap}
.bank-meta .pill{background:#f1f5f9;color:#334155;border-radius:999px;padding:2px 8px;font-size:12px}
/* 近似品牌色（可替换为官方 Logo 图片） */
.logo-bnp{background:#2ca16c}
.logo-sg{background:linear-gradient(180deg,#e11d2e 50%,#111827 50%)}
.logo-ca{background:#2a9d8f}
.logo-cm{background:#0ea5e9}
.logo-cic{background:#0f766e}
.logo-bp{background:#2563eb}
.logo-cde{background:#ea580c}
.logo-lcl{background:#0ea5e9}
.logo-lbp{background:#0f172a}
.logo-ccf{background:#0d9488}
.logo-bourso{background:#1f2937}
.logo-hello{background:#1d4ed8}

/* 联系页二维码图片：避免被 .card img 通用规则裁切 */
.card img.qr{width:220px;height:220px;aspect-ratio:auto;object-fit:contain;background:transparent;margin:8px auto 0 auto}