/* ============ 顺意佳 基础样式 ============ */
:root {
  --navy: #0A1D3A;
  --navy-2: #10294D;
  --blue: #1757DB;
  --blue-2: #0E48B8;
  --blue-light: #EAF1FD;
  --orange: #F7941E;
  --red: #E8412C;
  --grad: linear-gradient(90deg, #F7941E, #E8412C);
  --grad-blue: linear-gradient(135deg, #1757DB, #0E48B8);
  --text: #1F2937;
  --muted: #6B7280;
  --line: #E5E9F0;
  --bg: #F6F8FB;
  --white: #fff;
  --shadow: 0 8px 30px rgba(10, 29, 58, .08);
  --shadow-lg: 0 16px 50px rgba(10, 29, 58, .14);
  --radius: 14px;
  --maxw: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text); background: var(--white); font-size: 15px; line-height: 1.75; overflow-x: hidden;
}
img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font-family: inherit; font-size: 15px; outline: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { padding: 84px 0; }
.section.bg { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
.section-tag::before, .section-tag::after { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-title { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: 1px; line-height: 1.3; }
.section-desc { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 32px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: all .25s; white-space: nowrap; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(232, 65, 44, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 65, 44, .38); color: #fff; }
.btn-blue { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 24px rgba(23, 87, 219, .3); }
.btn-blue:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px rgba(23, 87, 219, .4); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 9px 22px; font-size: 14px; }

/* 语言切换 */
.lang-switch { display: inline-flex; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 2px; gap: 2px; }
.lang-switch button { color: rgba(255, 255, 255, .75); font-size: 12.5px; padding: 3px 12px; border-radius: 999px; transition: .2s; font-weight: 600; }
.lang-switch button.on { background: var(--grad); color: #fff; }
.m-lang { border-color: var(--line); background: var(--bg); margin: 14px 0 4px; }
.m-lang button { color: var(--muted); }
.m-lang button.on { color: #fff; }

/* 顶部信息条 */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; white-space: nowrap; }
.topbar .tb-hello { color: #FCC02A; font-weight: 600; }
@media (max-width: 620px) { .topbar .tb-hello { display: none; } }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }

/* 顶部组合（顶栏+导航）：整体固定，跨页面稳定不跳动 */
.header-wrap { position: sticky; top: 0; z-index: 900; }
.header { background: rgba(255, 255, 255, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 48px; width: auto; }
.logo .logo-text b { display: block; font-size: 20px; color: var(--navy); letter-spacing: 1px; line-height: 1.2; white-space: nowrap; }
.logo .logo-text span { font-size: 11px; color: var(--muted); letter-spacing: 2px; white-space: nowrap; display: block; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav > a { font-size: 15.5px; font-weight: 500; color: #334155; position: relative; padding: 6px 0; }
.nav > a:hover, .nav > a.active { color: var(--blue); }
.nav > a.active::after, .nav > a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--grad); }
.header-cta { display: flex; align-items: center; gap: 14px; }
/* 购物车入口（全站统一，1688风格） */
.cart-entry { position: relative; display: flex; align-items: center; color: #C24A00; }
.cart-entry .bag { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: .25s; }
.cart-entry svg { color: #FF6A00; }
.cart-entry:hover svg { transform: scale(1.12); }
.cart-entry.has-items::after { content: ""; position: absolute; top: 4px; right: 4px; width: 10px; height: 10px; border-radius: 50%; background: #FF3B30; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(232,44,32,.5); }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 17px; white-space: nowrap; }
.header-phone .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* 移动端抽屉 */
.mobile-nav { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 29, 58, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav .panel { position: absolute; top: 0; right: 0; width: min(320px, 84vw); height: 100%; background: #fff; padding: 28px 24px; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel a { padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.mobile-nav .panel .m-close { align-self: flex-end; font-size: 24px; color: var(--muted); padding: 2px 10px; border: 0; border-bottom: 0; }
.mobile-nav .panel .btn { margin-top: 18px; }

/* 页脚 */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14px; margin-top: auto; }
.footer .f-top { padding: 64px 0 40px; }
.footer .f-grid { display: grid; grid-template-columns: 1.9fr 0.9fr 0.9fr 1.3fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; letter-spacing: 1px; }
.footer .f-brand img { height: 56px; margin-bottom: 16px; background: #fff; border-radius: 10px; padding: 6px; }
.footer .f-brand p { line-height: 1.9; max-width: 330px; }
.footer li { margin-bottom: 11px; display: flex; gap: 8px; align-items: flex-start; }
.footer li a:hover { color: #fff; }
.footer .f-contact li { gap: 10px; }
.footer .f-contact .ico { flex: 0 0 auto; width: 18px; color: var(--orange); margin-top: 4px; }
.footer .qr { background: #fff; padding: 8px; border-radius: 10px; width: 132px; }
.footer .qr img { border-radius: 6px; }
.footer .qr span { display: block; color: var(--navy); font-size: 12px; margin-top: 6px; }
/* header 中的语言切换（浅色） */
.header .lang-switch { background: #EFF3FA; border-color: #DFE7F3; flex-shrink: 0; }
.header .lang-switch button { color: #64748B; }
.header .lang-switch button.on { background: var(--grad); color: #fff; }
.footer .f-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer .f-bottom a { color: rgba(255, 255, 255, .7); }
.footer .f-bottom a:hover { color: #fff; }

/* 通用小元素 */
.crumb { background: var(--bg); padding: 26px 0; }
.crumb .container { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue); }
.crumb b { color: var(--navy); font-weight: 600; }
.crumb .sep { color: #C4CBD8; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager button { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 14px; }
.pager button.cur { background: var(--grad-blue); border-color: transparent; color: #fff; font-weight: 700; }
.pager button:disabled { opacity: .4; cursor: default; }
.toast { position: fixed; left: 50%; top: 76px; transform: translateX(-50%) translateY(-16px); background: rgba(10, 29, 58, .92); color: #fff; padding: 12px 26px; border-radius: 12px; font-size: 14.5px; z-index: 1200; opacity: 0; pointer-events: none; transition: .35s; max-width: 88vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; } .reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; } .reveal[data-d="4"] { transition-delay: .4s; }

@media (max-width: 900px) {
  .nav, .header-phone { display: none; }
  .topbar .tb-slogan, .topbar .tb-qq { display: none; }
  .menu-btn { display: flex; }
  .footer .f-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .footer .f-grid { grid-template-columns: 1fr; }
  .logo img { height: 40px; }
}
