:root {
  --ink: #1A1A1A;
  --ink-2: #3A3A3A;
  --ink-3: #8A8A8A;
  --cream: #FAF6F0;
  --cream-2: #F3ECE2;
  --card: #FFFFFF;
  --gold: #C8A45C;
  --gold-2: #B08A3E;
  --amber: #E0A458;
  --terracotta: #C96F4A;
  --sage: #7A8C7A;
  --danger: #C0392B;
  --success: #4A7C59;
  --line: #EBE4D8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(26,26,26,0.05);
  --shadow: 0 8px 30px rgba(26,26,26,0.08);
  --shadow-lg: 0 20px 60px rgba(26,26,26,0.14);
  --serif: "Playfair Display", "Georgia", "Songti SC", serif;
  /* 中文标题专用衬线栈：Playfair/Georgia 无中文字形，中文必须落到宋体族，否则回退到系统默认字形会显得又细又小 */
  --serif-zh: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", "STSong", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* 公告栏 */
.announce {
  background: var(--ink);
  color: #E8DFD0;
  text-align: center;
  padding: 9px 16px;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  font-weight: 500;
}
.announce-sep { margin: 0 10px; color: var(--gold); }

/* 导航 */
.nav { position: sticky; top: 0; background: rgba(250,246,240,0.9); backdrop-filter: blur(16px); z-index: 50; border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; white-space: nowrap; flex: none; }
.logo-mark { font-size: 26px; }
.logo-word { font-family: var(--serif); }
.logo-dot { color: var(--gold); }
/* 导航项必须 nowrap：中文没有空格，浏览器会在字符间断行，
   导致"全部商品"被压成竖排的 2-4 行，把导航栏撑成两行 */
.nav-links { display: flex; gap: 22px; flex: none; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; gap: 6px; align-items: center; margin-left: auto; flex: none; }
.icon-btn { background: none; border: none; color: var(--ink); padding: 8px; position: relative; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--cream-2); }
.cart-count { position: absolute; top: 0; right: 0; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; border-radius: 10px; padding: 1px 5px; min-width: 16px; }
.notif-count { position: absolute; top: 0; right: 0; background: var(--danger, #C0392B); color: #fff; font-size: 10px; font-weight: 700; border-radius: 10px; padding: 1px 5px; min-width: 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; opacity: 0.55; filter: saturate(0.9); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,16,10,0.92) 0%, rgba(20,16,10,0.72) 45%, rgba(20,16,10,0.35) 75%, rgba(20,16,10,0.25) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 96px 28px 110px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.hero-kicker::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--serif); font-size: 62px; font-weight: 600; line-height: 1.08; letter-spacing: -1px; max-width: 640px; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 17px; color: #D8CFC0; max-width: 460px; margin-bottom: 36px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 50px; font-size: 15px; font-weight: 700; border: none; transition: transform .2s, box-shadow .2s, background .2s; letter-spacing: 0.2px; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 8px 24px rgba(200,164,92,0.35); }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); background: var(--cream-2); }
/* 深色 hero 区需要白色幽灵按钮 */
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.hero-badges { display: flex; gap: 28px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.15); flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #C9C0B2; line-height: 1.3; }
.hero-badge b { display: block; color: #fff; font-size: 17px; font-weight: 700; }
.hero-badge .hb-ico { color: var(--gold); flex: none; display: flex; align-items: center; justify-content: center; }

/* 信任条 */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { max-width: 1200px; margin: 0 auto; padding: 24px 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.trust-item .ti { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--gold); flex: none; }

/* 区块 */
.section { max-width: 1200px; margin: 0 auto; padding: 72px 28px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-head h2 { font-family: var(--serif); font-size: 40px; font-weight: 600; letter-spacing: -0.5px; }
.section-head p { color: var(--ink-3); font-size: 16px; margin-top: 10px; }
.section-head .link { display: inline-block; margin-top: 16px; color: var(--ink); font-weight: 600; font-size: 14px; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* 分类 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 230px; cursor: pointer; transition: transform .3s, box-shadow .3s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,10,0.75), rgba(20,16,10,0.05) 60%); }
.cat-card .cc-label { position: absolute; bottom: 22px; left: 24px; z-index: 2; color: #fff; }
.cat-card .cc-label h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.cat-card .cc-label p { font-size: 13px; color: #D8CFC0; margin-top: 2px; }

/* 商品网格 */
.goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.goods-card { background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; transition: transform .3s, box-shadow .3s; }
.goods-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.goods-img { position: relative; height: 260px; overflow: hidden; background: var(--cream-2); }
.goods-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.goods-card:hover .goods-img img { transform: scale(1.07); }
.goods-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.goods-badge.best { background: var(--gold); color: #fff; }
.goods-badge.new { background: var(--sage); color: #fff; }
.goods-badge.sale { background: var(--terracotta); color: #fff; }
.goods-wish { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; border: none; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
.goods-card:hover .goods-wish { opacity: 1; transform: translateY(0); }
.goods-body { padding: 20px 20px 22px; }
.goods-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.goods-name { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.35; height: 48px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.goods-rating { display: flex; align-items: center; gap: 6px; margin: 10px 0 4px; font-size: 13px; color: var(--ink-3); }
.goods-rating .star { color: var(--gold); letter-spacing: 1px; }
.goods-price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.goods-price { font-size: 20px; font-weight: 700; color: var(--ink); }
.goods-compare { font-size: 14px; color: var(--ink-3); text-decoration: line-through; }
.goods-save { font-size: 12px; color: var(--terracotta); font-weight: 700; }
.goods-add { margin-top: 16px; width: 100%; padding: 13px; background: var(--ink); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; letter-spacing: 0.5px; transition: background .25s; }
.goods-add:hover { background: var(--gold); }
.goods-low { text-align: center; font-size: 11px; color: var(--terracotta); font-weight: 600; margin-top: 8px; }

/* 横幅 CTA */
.banner-cta { position: relative; border-radius: 24px; overflow: hidden; margin: 0 28px; }
.banner-cta img { width: 100%; height: 320px; object-fit: cover; }
.banner-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,10,0.8), rgba(20,16,10,0.15)); }
.banner-cta .bc-inner { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0 56px; color: #fff; }
.banner-cta h2 { font-family: var(--serif); font-size: 38px; font-weight: 600; margin-bottom: 10px; }
.banner-cta p { color: #D8CFC0; max-width: 420px; margin-bottom: 22px; }

/* 卖点 */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { text-align: center; padding: 40px 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.why-card .wi { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: var(--gold); }
.why-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--ink-2); }

/* 商品详情弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(20,16,10,0.55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeIn .2s; backdrop-filter: blur(4px); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal { background: #fff; border-radius: 24px; max-width: 840px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: pop .3s cubic-bezier(0.16,1,0.3,1); display: grid; grid-template-columns: 1fr 1fr; }
@keyframes pop { from { transform: translateY(20px) scale(0.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 16px; right: 16px; background: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: var(--shadow); z-index: 2; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.modal-hero { background: var(--cream-2); display: flex; align-items: center; justify-content: center; min-height: 100%; overflow: hidden; }
/* 商品大图：等比缩放完整显示（contain），不裁切 —— 用户上传的图片能看到全貌 */
.modal-hero img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.modal-body { padding: 40px 36px; }
.modal-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.modal h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.2; margin: 12px 0 14px; }
.modal-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.modal-rating .star { color: var(--gold); letter-spacing: 1px; }
.modal-price { font-size: 30px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.modal-price .compare { font-size: 16px; color: var(--ink-3); text-decoration: line-through; font-weight: 400; margin-left: 10px; }
.modal-price .save { font-size: 13px; color: var(--terracotta); font-weight: 700; margin-left: 10px; }
.modal-desc { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin: 18px 0; }
.modal-perks { list-style: none; margin: 0 0 24px; }
.modal-perks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); padding: 5px 0; }
.modal-perks .check { color: var(--success); font-weight: 700; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; justify-content: center; }

/* 结算页 */
.checkout-wrap { max-width: 1000px; margin: 0 auto; padding: 56px 28px; display: grid; grid-template-columns: 1fr 400px; gap: 40px; }
.checkout-form h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 8px; }
.checkout-sub { color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.form-group input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; outline: none; transition: border .2s, box-shadow .2s; background: #fff; }
.form-group input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,164,92,0.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-options { display: flex; gap: 10px; margin-top: 6px; }
.pay-option { flex: 1; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px; text-align: center; font-weight: 700; font-size: 13px; cursor: pointer; transition: border .2s; }
.pay-option.active { border-color: var(--gold); background: #FBF7EE; }
.order-summary { background: #fff; border-radius: var(--radius); padding: 28px; align-self: start; position: sticky; top: 100px; border: 1px solid var(--line); }
.order-summary h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.summary-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.summary-item .si-img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--cream-2); flex: none; }
.summary-item .si-info { flex: 1; min-width: 0; }
.summary-item .si-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-item .si-qty { color: var(--ink-3); font-size: 13px; }
.summary-item .si-price { font-weight: 700; }
.summary-divider { border-top: 1px solid var(--line); margin: 18px 0; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.summary-row.total { font-size: 20px; font-weight: 700; color: var(--ink); margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.summary-row .free { color: var(--success); font-weight: 600; }
.pay-note { background: #FBF7EE; border: 1px solid #EADFC8; border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: #8a6d1a; margin-top: 16px; line-height: 1.5; }

/* 订单成功 */
.success-wrap { max-width: 560px; margin: 100px auto; text-align: center; padding: 0 24px; }
.success-wrap .s-ico { width: 88px; height: 88px; border-radius: 50%; background: #EDF4EE; display: flex; align-items: center; justify-content: center; font-size: 44px; margin: 0 auto 28px; }
.success-wrap h1 { font-family: var(--serif); font-size: 34px; font-weight: 600; margin-bottom: 14px; }
.success-wrap p { color: var(--ink-2); margin-bottom: 6px; }
.success-wrap .btn { margin-top: 28px; }
.success-wrap .success-order-id { font-size: 16px; font-weight: 700; color: var(--ink); background: var(--cream-2, #F6F2E9); display: inline-block; padding: 6px 16px; border-radius: 20px; margin: 8px 0 4px; }
.success-wrap .success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.success-wrap .success-actions .btn { margin-top: 0; }

/* 购物车抽屉 */
.drawer-mask { position: fixed; inset: 0; background: rgba(20,16,10,0.45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.drawer-mask.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: -440px; width: 420px; max-width: 92vw; height: 100%; background: #fff; z-index: 95; display: flex; flex-direction: column; transition: right .35s cubic-bezier(0.16,1,0.3,1); box-shadow: -12px 0 40px rgba(0,0,0,0.2); }
.drawer.show { right: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.drawer-head h3 span { font-size: 14px; color: var(--ink-3); font-family: inherit; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 26px; }
.drawer-foot { padding: 22px 26px; border-top: 1px solid var(--line); }
.drawer-empty { text-align: center; color: var(--ink-3); padding: 60px 0; }
.drawer-empty .de-ico { font-size: 52px; margin-bottom: 14px; }
.cart-line { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cart-line .cl-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--cream-2); flex: none; }
.cart-line .cl-info { flex: 1; min-width: 0; }
.cart-line .cl-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line .cl-price { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.qty-ctl { display: flex; align-items: center; gap: 10px; }
.qty-ctl button { width: 28px; height: 28px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 15px; color: var(--ink); }
.cart-line .cl-del { background: none; border: none; color: var(--ink-3); font-size: 16px; padding: 4px; }
.drawer-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 700; margin-bottom: 18px; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.free-ship-note { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: 12px; }
.free-ship-note.done { color: var(--success); font-weight: 600; }
.progress-bar { height: 6px; background: var(--cream-2); border-radius: 3px; margin: 12px 0; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 3px; transition: width .3s; }

/* Toast */
#toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 28px; border-radius: 12px; font-size: 14px; z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--shadow-lg); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(4px); }

/* 页脚 */
.footer { background: var(--ink); color: #B8B0A4; margin-top: 60px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 60px 28px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 18px 0; color: #9A9286; }
.footer-contact { margin: 0 0 18px !important; font-size: 13px; line-height: 1.9; }
.footer-contact a { color: #C9C0B2; text-decoration: none; border-bottom: 1px solid transparent; transition: all .2s; }
.footer-contact a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #4A443C; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #C9C0B2; transition: all .2s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: #9A9286; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: 14px; color: #9A9286; line-height: 1.6; margin-bottom: 14px; }
.newsletter { display: flex; }
.newsletter input { flex: 1; padding: 13px 16px; border: 1px solid #4A443C; background: transparent; border-radius: 10px 0 0 10px; outline: none; font-size: 14px; color: #fff; }
.newsletter input::placeholder { color: #6A6358; }
.newsletter button { padding: 13px 18px; background: var(--gold); color: #fff; border: none; border-radius: 0 10px 10px 0; font-size: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-top: 1px solid #2E2A24; font-size: 13px; color: #6A6358; }
.footer-pay { letter-spacing: 0.5px; }

/* 响应式 */
/* ===== 导航栏响应式 =====
   英文导航项最长需约 572px（Home/Shop All/Bowls & Feeders/...），
   加上品牌区与右侧工具条，1180px 以下必然挤压变形 → 提前折叠为汉堡菜单 */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
}
@media (max-width: 1024px) {
  .nav-inner { max-width: 100%; padding: 14px 18px; }
  .logo { font-size: 20px; }
  .logo-mark { font-size: 22px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 42px; }
  .hero-inner { padding: 64px 24px 72px; }
  .goods-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .why-grid { grid-template-columns: 1fr; }
  .checkout-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal-hero { min-height: 220px; }
  .banner-cta .bc-inner { padding: 0 28px; }
}

/* ===== 订单查询 Track Order ===== */
.track-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.track-order {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.track-order .to-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.track-order .to-id { font-weight: 700; font-size: 15px; }
.track-order .to-status { font-size: 12px; font-weight: 700; color: var(--gold-2); background: var(--cream-2); padding: 3px 12px; border-radius: 20px; }
.track-order .to-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.track-order .to-items { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.7; }
.track-order .to-total { font-size: 14px; }
.track-empty { text-align: center; padding: 20px 0; color: var(--ink-2); }

/* ===== 订单商品图文明细 & 金额构成 ===== */
.ot-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.ot-item { display: flex; align-items: center; gap: 12px; }
.ot-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--cream-2); flex-shrink: 0; border: 1px solid var(--line); }
.ot-info { flex: 1; min-width: 0; }
.ot-name { font-size: 14px; color: var(--ink); line-height: 1.35; word-break: break-word; }
.ot-price { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ot-subtotal { font-size: 14px; font-weight: 600; color: var(--ink); flex-shrink: 0; }
.ot-totals { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.ot-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-size: 13px; color: var(--ink-2); }
.ot-row.disc span:last-child { color: var(--danger, #C0392B); }
.ot-row.total { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--line); }

/* ===== 语言切换器 ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--cream-2);
  border-radius: 20px;
  padding: 3px;
  margin-right: 6px;
}
.lang-btn {
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink-2);
  padding: 5px 9px;
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
  background: var(--ink);
  color: #fff;
}
/* 货币切换器（与语言解耦） */
.currency-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--cream-2);
  border-radius: 20px;
  padding: 3px;
  margin-right: 6px;
}
.currency-btn {
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--ink-2);
  padding: 5px 9px;
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.currency-btn:hover { color: var(--ink); }
.currency-btn.active {
  background: var(--gold);
  color: #fff;
}
/* 汇率标签：改为绝对定位的悬浮提示，不再占用导航栏横向空间 */
.currency-switch { position: relative; }
.fx-rate {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  font-size: 10.5px;
  color: var(--ink-2);
  padding: 5px 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
  background: #fff;
  border: 1px solid var(--line, #E8E3DA);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(26,26,26,.10);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, visibility .18s;
  pointer-events: none;
}
.currency-switch:hover .fx-rate,
.currency-switch:focus-within .fx-rate { opacity: 1; visibility: visible; }
@media (max-width: 900px) {
  .lang-switch { margin-right: 2px; }
  .lang-btn { padding: 4px 8px; font-size: 11px; }
  .currency-switch { margin-right: 2px; }
  .currency-btn { padding: 4px 8px; font-size: 11px; }
  .fx-rate { display: none; }
}

/* ===== 库存状态 ===== */
.goods-stock.low { font-size: 12px; color: var(--terracotta); font-weight: 600; margin-bottom: 8px; }
.goods-badge.soldout { background: var(--ink-3); color: #fff; }
.goods-add:disabled { opacity: .45; cursor: not-allowed; }

/* ===== 登录 / 账户体系 ===== */
.account-btn { display: flex; align-items: center; justify-content: center; }
.acc-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-2, #C9A86A); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
/* 管理员专属入口 */
.admin-btn { color: var(--gold-2, #C9A86A); }
.admin-btn:hover { background: rgba(201, 168, 106, .14); }
.auth-modal {
  display: block !important;
  max-width: 440px !important;
  padding: 32px 32px 24px;
}
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-logo { font-size: 32px; margin-bottom: 12px; }
.auth-logo .logo-mark { font-size: 34px; }
.auth-head h2 { font-size: 22px; margin: 0 0 8px; }
.auth-head p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.5; }
.auth-social { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.auth-social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px; border: 1px solid var(--line, #E8E2D6);
  border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600;
  color: var(--ink, #1A1610); cursor: pointer; transition: all .15s;
}
.auth-social-btn:hover { border-color: var(--ink-2, #5A5148); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--ink-3); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line, #E8E2D6); }
.auth-tabs { display: flex; gap: 6px; background: var(--cream, #F6F1E7); border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.auth-tab { flex: 1; padding: 9px; border: none; background: transparent; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2, #5A5148); cursor: pointer; }
.auth-tab.active { background: #fff; color: var(--ink, #1A1610); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }
.otp-row .btn-ghost { flex: none; white-space: nowrap; }
.auth-err { color: var(--danger, #C0392B); font-size: 13px; margin-top: 10px; min-height: 18px; text-align: center; }
.auth-terms { font-size: 11.5px; color: var(--ink-3); text-align: center; margin-top: 16px; line-height: 1.5; }
.account-card {
  background: #fff; border: 1px solid var(--line, #E8E2D6);
  border-radius: var(--radius-sm, 14px); padding: 20px;
}
.acc-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 16px; font-size: 14px; color: var(--ink-3); border-bottom: 1px solid var(--line, #E8E2D6); margin-bottom: 16px; }
.acc-row strong { color: var(--ink, #1A1610); font-weight: 600; }

/* ===== 个人资料编辑 ===== */
.profile-edit { margin-top: 20px; }
.profile-edit .form-group { margin-bottom: 14px; }
.profile-edit .form-group label { display: block; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; font-weight: 600; }
.profile-edit .form-group input,
.profile-edit .form-group select {
  width: 100%; padding: 11px 14px; font-size: 14px;
  border: 1.5px solid var(--line, #E8E2D6); border-radius: 10px;
  background: #fff; color: var(--ink); outline: none;
  transition: border-color .2s;
}
.profile-edit .form-group input:focus,
.profile-edit .form-group select:focus { border-color: var(--gold, #C9A86A); }
.profile-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.profile-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--cream-2, #F6F2E9); border: 2px solid var(--gold, #C9A86A);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; flex-shrink: 0; overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-pick span { font-size: 13px; color: var(--ink-3); font-weight: 600; display: block; margin-bottom: 6px; }
.avatar-options { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.avatar-opt {
  width: 38px; height: 38px; font-size: 20px; line-height: 1;
  border: 1.5px solid var(--line, #E8E2D6); border-radius: 50%;
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.avatar-opt:hover { border-color: var(--gold, #C9A86A); transform: scale(1.08); }
.avatar-opt.active { border-color: var(--gold, #C9A86A); background: var(--cream-2, #F6F2E9); }
.avatar-upload-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: 13px; font-weight: 600;
  border-radius: 50px; width: auto; margin-top: 4px;
  background: #fff; color: var(--ink, #1A1610);
  border: 1.5px solid var(--line, #E8E2D6);
  cursor: pointer; transition: all .18s;
}
.avatar-upload-btn:hover { border-color: var(--gold, #C9A86A); background: var(--cream-2, #F6F2E9); }
.avatar-upload-btn:active { transform: scale(.97); }

/* auth 模态框内的 ghost 按钮白底适配 */
.auth-modal .btn-ghost {
  color: var(--ink, #1A1610);
  border: 1.5px solid var(--line, #E8E2D6);
  padding: 12px 16px;
}
.auth-modal .btn-ghost:hover { border-color: var(--ink-2, #5A5148); background: #fff; }
.auth-modal .btn-ghost:disabled { opacity: .5; cursor: not-allowed; }
.auth-modal .btn-primary { padding: 14px 20px; }
.auth-modal .btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ===== 心愿单按钮 ===== */
.goods-wish {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink-2); cursor: pointer;
  transition: all .2s;
}
.goods-wish:hover { transform: scale(1.1); }
.goods-wish.active { color: #E0455C; }

/* ===== 搜索栏 ===== */
.search-bar {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px 28px 20px;
  position: relative;
}
.search-bar-inner {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 18px;
}
.search-bar-inner svg { color: var(--ink-3); flex: none; }
.search-bar-inner input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 16px; color: var(--ink);
}
.search-close { background: none; border: none; color: var(--ink-3); cursor: pointer; font-size: 16px; padding: 4px; }
.search-results {
  max-width: 720px; margin: 12px auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); overflow: hidden;
}
.search-count { padding: 10px 18px; font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.search-empty { padding: 32px 18px; text-align: center; color: var(--ink-3); }
.search-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; cursor: pointer; transition: background .15s;
  border-bottom: 1px solid var(--cream-2);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--cream); }
.search-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.si-main { flex: 1; }
.si-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.si-price { font-size: 13px; color: var(--gold-2); font-weight: 700; margin-top: 2px; }

/* ===== 优惠码 ===== */
.coupon-row { display: flex; gap: 10px; }
.coupon-row input { flex: 1; }
.coupon-applied { margin-top: 10px; font-size: 13px; color: #2E7D32; font-weight: 600; }
.summary-row .free { color: #2E7D32; font-weight: 700; }

/* ===== 政策页 ===== */
.policy-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 26px; margin-bottom: 16px; }
.policy-block h3 { font-size: 17px; margin-bottom: 10px; color: var(--ink); }
.policy-block p { font-size: 15px; color: var(--ink-2); line-height: 1.7; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 24px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--ink); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--gold); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 24px 18px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px; text-align: center; }
.contact-card .cc-ico { font-size: 30px; margin-bottom: 12px; }
.contact-card .cc-label { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.contact-card .cc-val { font-size: 15px; font-weight: 600; color: var(--ink); }
@media (max-width: 700px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ===== 移动端菜单 ===== */
.hamburger { display: none; }
.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 20px 16px;
}
.mobile-menu a {
  display: block; padding: 12px 4px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-bottom: 1px solid var(--cream-2);
}
.mobile-menu a:last-child { border-bottom: none; }
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
}

/* ===== 个人中心 ===== */
.pc-tabs { display: flex; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.pc-tab {
  padding: 12px 18px; border: none; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; white-space: nowrap; position: relative; display: flex; align-items: center; gap: 6px;
}
.pc-tab.active { color: var(--ink); }
.pc-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }
.pc-badge { background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 7px; }
.pc-panel { min-height: 120px; }

/* 订单卡片 */
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; margin-bottom: 16px; }
.oc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.oc-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.oc-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.oc-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); background: var(--cream); padding: 8px 12px; border-radius: 8px; }
.oc-item img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.oc-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oc-item-info span:first-child { color: var(--ink); line-height: 1.3; }
.oc-item-price { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.oc-item-sub { font-weight: 600; color: var(--ink); flex-shrink: 0; }
.oc-total { font-size: 14px; margin-bottom: 8px; }
.oc-tracking { font-size: 13px; color: var(--gold-2); font-weight: 600; margin-bottom: 10px; }
.oc-steps { display: flex; align-items: center; gap: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--cream-2); }
.oc-step { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.oc-step .oc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cream-2); flex: none; }
.oc-step.done { color: var(--gold-2); }
.oc-step.done .oc-dot { background: var(--gold); }
.oc-step.active { color: var(--ink); font-weight: 700; }
.oc-step.active .oc-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(200,164,92,0.25); }
.oc-step.cancelled { color: var(--danger); flex: 0 0 auto; }
.oc-step.cancelled .oc-dot { background: var(--danger); }

/* 优惠券卡片 */
.coupon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.coupon-card { display: flex; background: #fff; border: 1px dashed var(--gold); border-radius: var(--radius-sm); overflow: hidden; }
.cc-left { background: var(--gold); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; min-width: 110px; }
.cc-amount { font-size: 26px; font-weight: 800; }
.cc-off { font-size: 11px; letter-spacing: 2px; opacity: .85; margin-top: 2px; }
.cc-right { padding: 16px 18px; flex: 1; }
.cc-code { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0.5px; }
.cc-desc { font-size: 13px; color: var(--ink-3); margin: 6px 0; }
.cc-meta { font-size: 12px; color: var(--gold-2); font-weight: 600; }

/* 通知 */
.notif-item { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; }
.notif-item.unread { border-left: 3px solid var(--gold); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 6px; flex: none; }
.notif-item:not(.unread) .notif-dot { background: var(--cream-2); }
.notif-body { flex: 1; }
.notif-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.notif-text { font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.notif-time { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 700px) {
  .coupon-grid { grid-template-columns: 1fr; }
}

/* ===== 在线客服 ===== */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold, #C8A45C); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  transition: transform .2s; border: none;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab-dot {
  position: absolute; top: 4px; right: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: #e53935; border: 2px solid #fff;
}
.chat-fab-unread {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px;
  padding: 0 5px; border-radius: 10px; background: #e53935; color: #fff;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.chat-window {
  position: fixed; right: 22px; bottom: 90px; z-index: 130;
  width: 360px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 120px);
  background: #fff; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: pop .25s cubic-bezier(0.16,1,0.3,1);
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; background: var(--ink, #1A1A1A); color: #fff;
}
.chat-head-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none;
}
.chat-head-info { flex: 1; min-width: 0; }
.chat-head-title { font-size: 15px; font-weight: 700; }
.chat-head-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #cfc7ba; margin-top: 2px; }
.chat-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6b645a; flex: none; }
.chat-head-status.online .chat-status-dot { background: #4caf50; }
.chat-head-status.online { color: #b9e6b9; }
.chat-head-close {
  background: none; border: none; color: #cfc7ba; cursor: pointer; font-size: 18px; padding: 4px;
}
.chat-head-close:hover { color: #fff; }
.chat-body {
  flex: 1; overflow-y: auto; padding: 16px; background: var(--cream, #F7F3EC);
  display: flex; flex-direction: column; gap: 10px;
}
.chat-bubble {
  max-width: 80%; padding: 10px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.5; word-break: break-word;
  display: flex; flex-direction: column; gap: 2px;
}
.chat-bubble .chat-who { font-size: 10px; opacity: .6; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.chat-bubble.admin { align-self: flex-start; background: #fff; border: 1px solid var(--line, #E8E3DA); color: var(--ink, #1A1A1A); border-bottom-left-radius: 4px; }
.chat-bubble.customer { align-self: flex-end; background: var(--gold, #C8A45C); color: #fff; border-bottom-right-radius: 4px; }
.chat-email-form { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.chat-email-form input {
  padding: 11px 13px; border: 1px solid var(--line, #E8E3DA); border-radius: 10px; outline: none; font-size: 14px;
}
.chat-email-form input:focus { border-color: var(--gold); }
.chat-foot { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-foot input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--line); border-radius: 20px; outline: none; font-size: 14px;
}
.chat-foot input:focus { border-color: var(--gold); }
.chat-send {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; flex: none;
  transition: background .15s;
}
.chat-send:hover { background: var(--gold-d, #96763A); }
@media (max-width: 700px) {
  .chat-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .chat-window { right: 14px; bottom: 76px; }
}

/* ===== 评论 ===== */
.detail-reviews { margin-top: 22px; border-top: 1px solid var(--line, #E8E3DA); padding-top: 18px; }
.dr-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.dr-head h3 { font-size: 15px; margin: 0; }
.dr-avg { font-size: 12px; color: var(--ink-3, #8A8477); }
.dr-list { display: flex; flex-direction: column; gap: 12px; max-height: 260px; overflow-y: auto; }
.review-item { padding: 10px 12px; background: var(--cream, #F7F3EC); border-radius: 10px; }
.rv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.rv-name { font-weight: 600; font-size: 13px; }
.rv-text { font-size: 13px; line-height: 1.5; color: var(--ink, #1A1A1A); }
.rv-meta { font-size: 11px; color: var(--ink-3, #8A8477); margin-top: 4px; }
.rv-prod { font-size: 13px; color: var(--ink-3, #8A8477); margin: 0 0 12px; }
.rv-stars { display: flex; gap: 6px; font-size: 28px; cursor: pointer; }
.rv-stars span { color: #ddd; transition: color .1s; }
.rv-stars span.on { color: var(--gold, #C8A45C); }

/* ===== 积分 / 积分商城 ===== */
.points-card { background: linear-gradient(135deg, #2c2a26, #4a443a); color: #fff; border-radius: 16px; padding: 28px 24px; text-align: center; }
.pt-balance { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pt-num { font-size: 46px; font-weight: 800; color: var(--gold, #C8A45C); line-height: 1; }
.pt-label { font-size: 13px; opacity: .8; }
.pt-rule { font-size: 13px; opacity: .75; margin: 16px 0 0; line-height: 1.6; }
.redeem-balance { font-size: 15px; margin-bottom: 16px; color: var(--ink-3, #8A8477); }
.redeem-list { display: flex; flex-direction: column; gap: 12px; }
.redeem-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line, #E8E3DA); border-radius: 12px; background: #fff; }
.rd-name { font-weight: 600; font-size: 15px; }
.rd-cost { font-size: 13px; color: var(--gold-d, #96763A); margin-top: 4px; font-weight: 600; }
.rd-btn { flex: none; }

/* ===== 手机号区号选择 ===== */
.auth-note { font-size: 12px; color: var(--ink-3, #8A8477); background: var(--cream, #F7F3EC); border-radius: 8px; padding: 8px 12px; margin: 0 0 14px; line-height: 1.5; }
.phone-row { display: flex; gap: 8px; }
.country-select { flex: none; width: 96px; padding: 11px 8px; border: 1px solid var(--line, #E8E3DA); border-radius: 10px; font-size: 14px; background: #fff; outline: none; }
.country-select:focus { border-color: var(--gold); }
.phone-row input { flex: 1; padding: 11px 13px; border: 1px solid var(--line, #E8E3DA); border-radius: 10px; outline: none; font-size: 14px; }
.phone-row input:focus { border-color: var(--gold); }

.modal-sm { max-width: 480px; }
.modal-sm textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line, #E8E3DA); border-radius: 10px; outline: none; font-size: 14px; font-family: inherit; resize: vertical; }
.modal-sm textarea:focus { border-color: var(--gold); }

/* ============================================================
   中文排版优化（html[lang="zh-CN"]）
   问题：Playfair Display / Georgia 无中文字形，中文会回退到系统默认字形，
   显得又细又小、与拉丁字符风格割裂；同时 letter-spacing（拉丁为字距调优设计）
   对中文会"挤"或"散"，过小 line-height 会让汉字上下重叠。
   方案：中文时改用中文衬线族、取消字距微调、放宽行高、字重回正。
   ============================================================ */
html[lang^="zh"] { --serif: var(--serif-zh); }

/* 标题：中文衬线族 + 取消负字距（中文负字距会挤字） */
html[lang^="zh"] .logo-word,
html[lang^="zh"] .hero h1,
html[lang^="zh"] .section-head h2,
html[lang^="zh"] .cat-card .cc-label h3,
html[lang^="zh"] .goods-name,
html[lang^="zh"] .banner-cta h2,
html[lang^="zh"] .why-card h3,
html[lang^="zh"] .modal h2,
html[lang^="zh"] .checkout-form h2,
html[lang^="zh"] .order-summary h3,
html[lang^="zh"] .success-wrap h1,
html[lang^="zh"] .drawer-head h3 {
  letter-spacing: 0;
  font-weight: 700;
}

/* hero 主标题：中文行高必须放宽，否则汉字上下笔画重叠 */
html[lang^="zh"] .hero h1 {
  line-height: 1.32;
  font-size: 54px;
  letter-spacing: 0;
}

/* 通用标题行高（中文默认 1.7 更耐读） */
html[lang^="zh"] .section-head h2,
html[lang^="zh"] .cat-card .cc-label h3,
html[lang^="zh"] .goods-name,
html[lang^="zh"] .banner-cta h2,
html[lang^="zh"] .why-card h3,
html[lang^="zh"] .modal h2,
html[lang^="zh"] .checkout-form h2,
html[lang^="zh"] .order-summary h3,
html[lang^="zh"] .success-wrap h1,
html[lang^="zh"] .drawer-head h3 {
  line-height: 1.4;
}

/* kicker 类：letter-spacing 2~2.5px + uppercase 是为拉丁字母设计的，
   中文会被强行拉开字距（"甄 选 宠 物 好 物"），必须归零 */
html[lang^="zh"] .hero-kicker,
html[lang^="zh"] .section-head .kicker,
html[lang^="zh"] .kicker,
html[lang^="zh"] .modal-cat,
html[lang^="zh"] .goods-cat,
html[lang^="zh"] .goods-badge {
  letter-spacing: 0.5px;
  text-transform: none;
}

/* 正文：中文用 1.75 行高，避免密排导致的"糊成一片" */
html[lang^="zh"] body { line-height: 1.75; }
html[lang^="zh"] .hero-sub { line-height: 1.85; }
html[lang^="zh"] p { line-height: 1.75; }

/* 按钮/标签类：取消过大的字距与 uppercase */
html[lang^="zh"] .btn,
html[lang^="zh"] .goods-add,
html[lang^="zh"] .lang-btn,
html[lang^="zh"] .currency-btn,
html[lang^="zh"] .footer-col h4,
html[lang^="zh"] .footer-pay {
  letter-spacing: 0;
  text-transform: none;
}

/* 中文字重：宋体族在 600/700 下笔画会糊，回到 600 并配合中文字体族 */
html[lang^="zh"] .logo-word { font-weight: 700; }

/* 补充覆盖：联系卡片 / 优惠码 / 星级 / body 基础字距 */
html[lang^="zh"] .contact-card .cc-label,
html[lang^="zh"] .cc-off,
html[lang^="zh"] .cc-code,
html[lang^="zh"] .goods-rating .star,
html[lang^="zh"] .modal-rating .star {
  letter-spacing: 0;
  text-transform: none;
}
html[lang^="zh"] body { letter-spacing: 0; }

/* 中文按钮与标签：字重回正，避免与英文字体的视觉重量不一致 */
html[lang^="zh"] .btn,
html[lang^="zh"] .goods-add,
html[lang^="zh"] .lang-btn,
html[lang^="zh"] .currency-btn { font-weight: 700; }

/* ===== 中文：补齐遗漏的字距清理 ===== */
/* 公告栏（0.4px）与聊天气泡署名（0.5px + uppercase）含中文，需归零 */
html[lang^="zh"] .announce { letter-spacing: 0; }
html[lang^="zh"] .chat-bubble .chat-who { letter-spacing: 0; text-transform: none; }

/* kicker / 分类 / 徽章：中文完全取消 tracking（拉丁字母才需要字距调优） */
html[lang^="zh"] .hero-kicker,
html[lang^="zh"] .section-head .kicker,
html[lang^="zh"] .kicker,
html[lang^="zh"] .modal-cat,
html[lang^="zh"] .goods-cat,
html[lang^="zh"] .goods-badge {
  letter-spacing: 0;
  text-transform: none;
}

/* ===== 中文：移动端 hero 字号回归修复 =====
   基础 .hero h1 的 900px 断点是 42px；中文规则位于文件末尾且特异性更高，
   若不单独限定会导致手机端用 54px（比原设计大 29%），换行增多、首屏变长。 */
@media (max-width: 900px) {
  html[lang^="zh"] .hero h1 { font-size: 40px; line-height: 1.36; }
}
@media (max-width: 560px) {
  html[lang^="zh"] .hero h1 { font-size: 34px; line-height: 1.4; }
}

/* ===== 中文：商品名称两行高度与固定容器匹配 =====
   原 height:48px 对应 line-height:1.35（18×1.35×2=48.6，已略溢出）；
   中文 line-height:1.4 需要 18×1.4×2=50.4px，故按 em 同步容器高度。 */
html[lang^="zh"] .goods-name { height: 2.8em; }

/* ===== 中文：hero 标题斜体改正常体 =====
   中文没有真斜体字形，italic 会触发合成倾斜，笔画变形且发虚。 */
html[lang^="zh"] .hero h1 em { font-style: normal; }

/* ===== 页面底部导航条（返回上一步 / 回到首页 / 去逛逛）=====
   避免用户浏览到二级页面（政策/订单/愿望单）后失去返回路径 */
.bottom-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line, #E8E3DA);
}
.bottom-nav .btn { padding: 13px 26px; font-size: 14px; }
.bottom-nav .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.bottom-nav .btn-ghost:hover { border-color: var(--ink-2); background: var(--cream-2); }
@media (max-width: 560px) {
  /* 用 column 而非 column-reverse：保持 DOM 顺序（返回上一步在上、回到首页在下），
     column-reverse 会把"返回上一步"挤到最后，视觉上像最次要操作 */
  .bottom-nav { flex-direction: column; align-items: stretch; gap: 10px; }
  .bottom-nav .btn { width: 100%; justify-content: center; }
}

/* ===== 订单：退货 / 换货申请 ===== */
.oc-apply { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.oc-apply .btn { padding: 10px 18px; font-size: 13px; }
.oc-req {
  margin-top: 14px; padding: 12px 14px;
  background: var(--cream-2, #F6F2E9); border-radius: 10px;
  border-left: 3px solid var(--gold, #C9A86A);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 13px;
}
.oc-req-label { color: var(--ink-3, #8A8477); font-weight: 600; }
.oc-req-type { color: var(--ink); font-weight: 700; }
.oc-req-status {
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line, #E8E3DA); color: var(--ink-2);
}
.oc-req-status.st-pending { color: #8A6D1F; border-color: #E5D3A0; background: #FDF7E6; }
.oc-req-status.st-approved { color: #2F6B45; border-color: #B7DCC4; background: #EDF8F1; }
.oc-req-status.st-rejected { color: #9B3A2E; border-color: #EFC4BD; background: #FCEFEC; }
.oc-req-note { width: 100%; color: var(--ink-3, #8A8477); font-size: 12px; line-height: 1.6; }
.oc-req-status.st-failed { color: #9B3A2E; border-color: #EFC4BD; background: #FCEFEC; }
.oc-req-err { border-left-color: #C4574A; }

/* ===== 导航栏语言自适应 =====
   法语导航文案较长，在 1400px 容器内适当缩小品牌字号，
   为导航项保留空间。各语言均使用 MOMOFUR 品牌名。 */
html[lang^="fr"] .logo { font-size: 17px; letter-spacing: -0.2px; }
html[lang^="fr"] .logo-mark { font-size: 20px; }
html[lang^="fr"] .nav-links { gap: 18px; }
html[lang^="fr"] .nav-links a { font-size: 13px; }
html[lang^="fr"] .fx-rate { font-size: 10px; }

/* 品牌名在窄一点的桌面屏也不能挤压导航项 */
@media (max-width: 1320px) {
  html[lang^="fr"] .logo { font-size: 16px; }
  html[lang^="fr"] .nav-links { gap: 14px; }
  html[lang^="fr"] .nav-links a { font-size: 12.5px; }
}

/* ===== 退货/换货：按商品勾选弹窗 ===== */
.modal-return { max-width: 560px; }
.rv-sla {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 13px; margin-bottom: 16px;
  background: #FDF7E6; border: 1px solid #E5D3A0; border-radius: 10px;
  color: #7A6120; font-size: 12.5px; line-height: 1.55;
}
.rv-sla-ico { font-size: 14px; flex: none; }
.rv-items-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 8px; flex-wrap: wrap;
}
.rv-items-acts { display: flex; gap: 8px; }
.rv-mini {
  border: 1px solid var(--line, #E8E3DA); background: #fff; cursor: pointer;
  font-size: 12px; font-weight: 600; color: var(--ink-2, #5A5148);
  padding: 5px 11px; border-radius: 16px; transition: all .18s;
}
.rv-mini:hover { border-color: var(--gold, #C9A86A); color: var(--ink); }
.rv-items {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 260px; overflow-y: auto; padding: 2px;
  border: 1px solid var(--line, #E8E3DA); border-radius: 12px; padding: 10px;
  background: #FDFCFA;
}
.rv-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border: 1px solid var(--line, #E8E3DA); border-radius: 10px;
  background: #fff; cursor: pointer; transition: all .18s;
}
.rv-item:hover { border-color: var(--gold, #C9A86A); }
.rv-item:has(input:checked) { border-color: var(--gold, #C9A86A); background: #FFFCF4; }
.rv-item input[type="checkbox"] {
  width: 17px; height: 17px; flex: none; cursor: pointer;
  accent-color: var(--gold, #C9A86A); margin: 0;
}
.rv-item img {
  width: 44px; height: 44px; object-fit: cover; flex: none;
  border-radius: 8px; border: 1px solid var(--line, #E8E3DA); background: #fff;
}
.rv-item-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rv-item-name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.rv-item-meta { font-size: 12px; color: var(--ink-3, #8A8477); }
.rv-count { font-size: 12.5px; color: var(--ink-3, #8A8477); margin: 8px 0 14px; }

/* ===== 订单卡：售后状态展示 ===== */
.oc-req-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.oc-req-desc { width: 100%; color: var(--ink-2, #5A5148); font-size: 13px; line-height: 1.6; margin-top: 2px; }
.oc-req-sla {
  width: 100%; margin-top: 8px; padding: 7px 10px;
  background: #FDF7E6; border-radius: 8px; color: #7A6120; font-size: 12px; line-height: 1.5;
}
.oc-req-flow { display: flex; align-items: flex-start; gap: 0; width: 100%; margin-top: 10px; }
.oc-req-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; position: relative; }
.oc-req-step::before {
  content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px;
  background: var(--line, #E8E3DA);
}
.oc-req-step:first-child::before { display: none; }
.oc-req-step.done::before { background: var(--gold, #C9A86A); }
.oc-req-dot {
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  background: #fff; border: 2px solid var(--line, #E8E3DA); z-index: 1;
}
.oc-req-step.done .oc-req-dot { background: var(--gold, #C9A86A); border-color: var(--gold, #C9A86A); }
.oc-req-step.active .oc-req-dot { box-shadow: 0 0 0 4px rgba(201,168,106,.22); }
.oc-req-step.rejected .oc-req-dot { background: #C4574A; border-color: #C4574A; }
.oc-req-step-label { font-size: 11.5px; color: var(--ink-3, #8A8477); text-align: center; }
.oc-req-step.done .oc-req-step-label { color: var(--ink); font-weight: 600; }
.oc-req-items { width: 100%; margin-top: 8px; padding: 9px 11px; background: #fff; border-radius: 9px; border: 1px solid var(--line, #E8E3DA); }
.oc-req-items-label { font-size: 11.5px; color: var(--ink-3, #8A8477); font-weight: 600; margin-bottom: 5px; }
.oc-req-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2, #5A5148); padding: 2px 0; }
.oc-req-item-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-req-item-qty { color: var(--ink-3, #8A8477); flex: none; }
.oc-req-item-price { color: var(--ink); font-weight: 600; flex: none; }
@media (max-width: 560px) {
  .oc-req-step-label { font-size: 10.5px; }
}

/* ===== 猫狗宠物分区（首页大分区 + 分类/热销榜筛选 + 商城筛选条） ===== */
.pet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pet-card {
  position: relative; display: block; height: 320px; padding: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: #1A1610; text-align: left;
  color: #fff; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
}
.pet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pet-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.pet-card:hover img { transform: scale(1.06); }
.pet-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,16,10,.88) 0%, rgba(20,16,10,.58) 46%, rgba(20,16,10,.12) 100%);
}
.pet-card .pc-body { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 30px 32px; display: flex; flex-direction: column; gap: 5px; }
.pet-card .pc-emoji { font-size: 24px; line-height: 1; }
.pet-card h3 { font-family: var(--serif); font-size: 34px; font-weight: 600; letter-spacing: -.5px; }
html[lang^="zh"] .pet-card h3 { font-family: var(--serif-zh); }
.pet-card p { font-size: 13.5px; color: #E4DACA; }
.pet-card .pc-count { font-size: 11.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.pet-card .pc-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #fff; }
.pet-card .pc-cta b {
  display: inline-flex; width: 28px; height: 28px; border-radius: 50%;
  align-items: center; justify-content: center; font-size: 13px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.38);
  transition: transform .3s, background .3s, color .3s, border-color .3s;
}
.pet-card:hover .pc-cta b { transform: translateX(5px); background: var(--gold); border-color: var(--gold); color: #1A1610; }
.pet-card.active { outline: 2px solid var(--gold); outline-offset: 3px; }
.pet-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* 分类区 / 热销榜上方的宠物切换胶囊 */
.pet-tabs {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.pet-tab {
  border: 0; background: transparent; padding: 8px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background .2s, color .2s;
}
.pet-tab:hover { background: var(--cream-2); }
.pet-tab.active { background: var(--ink); color: #fff; }

/* 商城页顶部的宠物 / 分类筛选条 */
.pet-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 14px; }
.pet-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}
.pet-chip:hover { border-color: var(--gold); }
.pet-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pet-chip-n { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--cream-2); color: var(--ink-2); }
.pet-chip.active .pet-chip-n { background: rgba(255,255,255,.2); color: #fff; }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cat-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
  border-radius: 8px; border: 1px solid transparent; background: transparent;
  font-size: 13px; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s;
}
.cat-chip:hover { background: #fff; border-color: var(--line); }
.cat-chip.active { background: #fff; border-color: var(--gold); color: var(--ink); font-weight: 700; box-shadow: var(--shadow-sm); }
.cat-chip-n { font-size: 11px; color: var(--ink-3); }
.cat-chip.active .cat-chip-n { color: var(--gold-2); }

/* 商品卡上的适用宠物小标签 */
.goods-pet {
  display: inline-flex; align-items: center; gap: 3px; margin-left: 4px;
  padding: 1px 6px; border-radius: 5px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0; text-transform: none; vertical-align: middle;
}
.goods-pet.pet-cat { background: #FDF0E7; color: #B4763F; }
.goods-pet.pet-dog { background: #EAF0E7; color: #5C7350; }
.goods-pet.pet-all { background: var(--cream-2); color: var(--ink-3); }

.pet-empty { text-align: center; color: var(--ink-3); padding: 64px 0; font-size: 15px; }

@media (max-width: 760px) {
  .pet-grid { grid-template-columns: 1fr; }
  .pet-card { height: 230px; }
  .pet-card .pc-body { padding: 22px; }
  .pet-card h3 { font-size: 27px; }
  .pet-tabs { display: flex; width: 100%; }
  .pet-tab { flex: 1; text-align: center; padding: 8px 6px; font-size: 12.5px; }
  .cat-chips { gap: 4px; }
  .cat-chip { padding: 6px 10px; font-size: 12.5px; }
}

/* 分类入口增加后：中等屏幕收紧间距，避免导航挤行或换行 */
@media (max-width: 1240px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 13.5px; }
  .nav-inner { gap: 18px; }
}
@media (max-width: 1140px) {
  .nav-links { gap: 11px; }
  .nav-links a { font-size: 13px; }
  .logo { font-size: 21px; }
}

/* 分类卡改 4 列后：中等屏幕 3 列，窄屏 2 列，最后一列不留空 */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-card { height: 190px; }
  .cat-card .cc-label { left: 16px; bottom: 16px; }
  .cat-card .cc-label h3 { font-size: 20px; }
}
/* 分类卡改 4 列后：手机 2 列（放在 900px 断点之后，覆盖其 1fr） */
@media (max-width: 720px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* Product image gallery */
.pm-hero{display:block;min-height:0;align-self:start}.pm-gallery{width:100%;outline-offset:4px}.pm-stage{position:relative;aspect-ratio:1;background:#f5f3ee}.pm-zoom{border:0;background:transparent;display:block;width:100%;height:100%;padding:0;cursor:zoom-in}.pm-hero .pm-stage img{width:100%;height:100%;object-fit:contain}.pm-arrow{position:absolute;top:50%;transform:translateY(-50%);border:1px solid #ddd;border-radius:50%;background:#fff;color:#222;width:40px;height:40px;font-size:28px;z-index:1;cursor:pointer}.pm-prev{left:12px}.pm-next{right:12px}.pm-count{position:absolute;bottom:12px;right:12px;padding:4px 10px;border-radius:20px;background:#fff;color:#333;font-size:12px}.pm-thumbs{display:flex;gap:8px;padding:12px;overflow-x:auto}.pm-thumbs button{flex:0 0 60px;width:60px;height:60px;padding:2px;border:2px solid transparent;border-radius:8px;background:white;cursor:pointer}.pm-thumbs button[aria-pressed=true]{border-color:#a78b52}.pm-thumbs img{width:100%;height:100%;object-fit:contain}.pm-details{grid-column:1/-1;padding:24px 32px;border-top:1px solid #eee}.pm-details h3{margin:0 0 20px}.pm-details img{display:block;width:100%;height:auto;margin:0 auto 12px;max-width:1200px}.pm-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center;padding:64px 52px}.pm-lightbox img{max-height:100%;max-width:100%;object-fit:contain}.pm-lightbox-close{position:absolute;right:16px;top:16px;background:white;border:0;border-radius:50%;width:42px;height:42px;font-size:20px;cursor:pointer}.pm-lightbox .pm-arrow{position:fixed}.pm-gallery button:focus-visible,.pm-lightbox button:focus-visible{outline:3px solid #ad8a4c;outline-offset:3px}@media(max-width:640px){.pm-details{padding:20px 12px}.pm-lightbox{padding:60px 12px}.pm-lightbox .pm-arrow{top:auto;bottom:16px}.pm-thumbs button{flex-basis:52px;width:52px;height:52px}}

/* Verified product options */
.pv-options{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:12px}.pv-options fieldset{border:0;padding:0;margin:12px 0}.pv-options legend{font-weight:600;margin-bottom:8px}.pv-options button{background:var(--surface,#fff);color:var(--ink,#222);border:1px solid var(--line,#ddd);border-radius:8px;padding:9px 14px;margin:0 8px 8px 0;cursor:pointer;min-height:44px}.pv-options button[aria-pressed="true"]{border-color:var(--gold,#846a3e);box-shadow:0 0 0 1px var(--gold,#846a3e)}.pv-incompatible{opacity:.55}.pv-cart-label{font-size:12px;line-height:1.5;color:var(--ink-3,#666);margin-top:4px}.pv-error{color:#a12424}.pv-options output{display:block;font-size:13px}
