/* 深圳市爱宠岛科技有限公司 · 平台样式
 * 约定：全站无 Emoji；图标统一为内联 SVG（class="i"）。
 */

/* 图标尺寸兜底必须放最前，避免容器未约束时撑满整行 */
svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }

[hidden] { display: none !important; }

:root {
  --brand: #E86A33;
  --brand-d: #C1531C;
  --brand-s: #FDF1E9;
  --brand-s2: #FBE3D6;
  --ink: #241F1B;
  --ink2: #6B625A;
  --ink3: #9C948C;
  --line: #EBE4DD;
  --line2: #F3EEE8;
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --ok: #2E7A5B;
  --ok-s: #E8F3ED;
  --warn: #A8761A;
  --warn-s: #FBF2E0;
  --no: #C0453C;
  --no-s: #FBEAE8;
  --off: #8B8580;
  --off-s: #F1EEEA;
  --shadow: 0 1px 2px rgba(36,31,27,.04), 0 8px 24px rgba(36,31,27,.06);
  --shadow-hover: 0 2px 6px rgba(36,31,27,.06), 0 16px 36px rgba(36,31,27,.10);
  --radius: 14px;
  --radius-s: 10px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.35; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶栏 / 页头 ---------------- */
.topbar {
  background: #2C2621;
  color: #D8D1CA;
  font-size: 13px;
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar__l { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; }
.topbar__l svg.i { color: var(--brand); }
.topbar__r { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar__r a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__r a:hover { color: #fff; }

.site-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.head__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark { border-radius: 10px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name { font-size: 16px; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.brand__sub { font-size: 12px; color: var(--ink3); font-style: normal; letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__a {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 15px;
  color: var(--ink2);
  white-space: nowrap;
}
.nav__a:hover { background: var(--brand-s); color: var(--brand-d); }
.nav__a.is-active { color: var(--brand-d); background: var(--brand-s); font-weight: 700; }
.nav__mobile { display: none; }

.site-head .nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink2);
}

.head-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.tool {
  position: relative;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink2);
  background: #fff;
}
.tool:hover { border-color: var(--brand); color: var(--brand); }
.tool__badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--brand); color: #fff;
  font-size: 11px; font-style: normal; line-height: 18px; text-align: center;
  border: 2px solid #fff;
}
.tool__badge.is-hide { display: none; }
.head-account { display: flex; align-items: center; gap: 4px; }
.head-account__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 9px;
  font-size: 14px; color: var(--ink2);
  white-space: nowrap;
}
.head-account__link:hover { background: var(--brand-s); color: var(--brand-d); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--brand-s); border-color: var(--brand); color: var(--brand-d); }
.btn--line { background: transparent; border-color: var(--brand); color: var(--brand-d); }
.btn--line:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: 7px 14px; font-size: 13.5px; border-radius: 8px; }
.btn--block { width: 100%; }
.btn--danger { background: var(--no); }
.btn--danger:hover { background: #A3372F; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg.i { width: 16px; height: 16px; }

.linkbtn { background: none; border: 0; color: var(--brand-d); cursor: pointer; padding: 0; font-size: 14px; }
.linkbtn:hover { text-decoration: underline; }

/* ---------------- 通用区块 ---------------- */
.main { padding: 28px 0 64px; }
.section { margin-bottom: 40px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { font-size: 22px; display: flex; align-items: center; gap: 9px; }
.section-head h2 svg.i { width: 22px; height: 22px; color: var(--brand); }
.section-head .sub { font-size: 13.5px; color: var(--ink3); font-weight: 400; }
.section-more { font-size: 14px; color: var(--ink2); display: inline-flex; align-items: center; gap: 4px; }
.section-more:hover { color: var(--brand); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.panel__hd { padding: 16px 20px; border-bottom: 1px solid var(--line2); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel__hd h3 { font-size: 16.5px; display: flex; align-items: center; gap: 8px; }
.panel__bd { padding: 20px; }

.crumb { font-size: 13.5px; color: var(--ink3); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.crumb a:hover { color: var(--brand); }
.crumb em { font-style: normal; color: var(--ink2); }

/* ---------------- 首页横幅 ---------------- */
.hero {
  background: linear-gradient(135deg, #2C2621 0%, #463A31 62%, #6B4A33 100%);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  margin-bottom: 34px;
}
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; }
.hero__txt { padding: 44px 0 44px 44px; color: #fff; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; letter-spacing: 1px;
  color: #F0C9AE;
  border: 1px solid rgba(240,201,174,.35);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 18px;
}
.hero__txt h1 { font-size: 33px; line-height: 1.35; letter-spacing: .5px; }
.hero__txt h1 i { font-style: normal; color: #F2A46E; }
.hero__txt p { color: #D6CCC3; margin: 14px 0 24px; font-size: 15px; max-width: 440px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__btns .btn--ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.hero__btns .btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; }
.hero__img { height: 100%; min-height: 320px; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.stat__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-s); color: var(--brand-d); display: flex; align-items: center; justify-content: center; }
.stat__ico svg.i { width: 22px; height: 22px; }
.stat__n { font-size: 21px; font-weight: 700; line-height: 1.2; }
.stat__l { font-size: 13px; color: var(--ink3); }

/* 双模块入口 */
.modgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.modcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.modcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--brand-s2); }
.modcard__img { height: 176px; overflow: hidden; }
.modcard__img img { width: 100%; height: 100%; object-fit: cover; }
.modcard__bd { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.modcard__tag { font-size: 12.5px; color: var(--brand-d); background: var(--brand-s); border-radius: 999px; padding: 3px 11px; display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-bottom: 12px; }
.modcard h3 { font-size: 19px; margin-bottom: 9px; }
.modcard p { color: var(--ink2); font-size: 14px; margin-bottom: 18px; }
.modcard__feats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.modcard__feats span { font-size: 12.5px; color: var(--ink2); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 4px 10px; }
.modcard__go { margin-top: auto; }

/* ---------------- 商品卡片 ---------------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.pcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--brand-s2); }
.pcard__img { position: relative; aspect-ratio: 1 / 1; background: #F6F2EE; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .pcard__img img { transform: scale(1.045); }
.pcard__cat {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: rgba(36,31,27,.72); color: #fff; font-size: 12px;
  border-radius: 6px; padding: 3px 9px; backdrop-filter: blur(2px);
}
.pcard__bd { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard__name {
  font-size: 14.5px; font-weight: 600; line-height: 1.5; height: 44px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.pcard:hover .pcard__name { color: var(--brand-d); }
.pcard__sub { font-size: 12.5px; color: var(--ink3); margin-top: 5px; height: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pcard__mer { font-size: 12.5px; color: var(--ink3); margin-top: 8px; display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; }
.pcard__mer svg.i { width: 14px; height: 14px; }
.pcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 12px; }
.price { color: #C0453C; font-weight: 700; }
.price b { font-size: 19px; }
.price i { font-style: normal; font-size: 13px; }
.price--old { color: var(--ink3); font-size: 12.5px; text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.pcard__sold { font-size: 12px; color: var(--ink3); }

/* ---------------- 信息卡片 ---------------- */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.lcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--brand-s2); }
.lcard__img { position: relative; aspect-ratio: 2 / 1; background: #F6F2EE; overflow: hidden; }
.lcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.lcard:hover .lcard__img img { transform: scale(1.045); }
.lcard__cat {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: rgba(232,106,51,.94); color: #fff; font-size: 12px;
  border-radius: 6px; padding: 3px 10px;
}
.lcard__bd { padding: 15px 16px 14px; display: flex; flex-direction: column; flex: 1; }
.lcard__title {
  font-size: 15.5px; font-weight: 700; line-height: 1.5; height: 47px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.lcard:hover .lcard__title { color: var(--brand-d); }
.lcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink3); }
.lcard__foot .who { display: inline-flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; }
.lcard__meta { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--ink3); flex-wrap: wrap; }
.lcard__meta span { display: inline-flex; align-items: center; gap: 4px; }
.lcard__tele { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-d); font-size: 13px; font-weight: 600; }
.lcard__tele svg.i { width: 14px; height: 14px; }

/* ---------------- 商家卡片 ---------------- */
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.mcard__hd { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.mcard__hd > span:last-child { min-width: 0; }
.mcard__av { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-s); color: var(--brand-d); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.mcard__av svg.i { width: 23px; height: 23px; }
.mcard__name { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.mcard__since { display: block; font-style: normal; font-size: 12.5px; color: var(--ink3); }
.mcard__desc { font-size: 13.5px; color: var(--ink2); flex: 1; }
.mcard__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0 14px; }
.mcard__tags span { font-size: 12px; color: var(--brand-d); background: var(--brand-s); border-radius: 6px; padding: 3px 9px; }
.mcard__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line2); font-size: 13px; color: var(--ink2); gap: 10px; flex-wrap: wrap; }
.mcard__foot .tel { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-d); font-weight: 600; }

/* ---------------- 筛选 ---------------- */
.toolbar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 22px; }
.filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line2); }
.filter-row:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-row:first-child { padding-top: 0; }
.filter-row__l { flex: 0 0 68px; font-size: 13.5px; color: var(--ink3); padding-top: 5px; }
.filter-row__r { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px;
  border: 1px solid var(--line); background: #fff; color: var(--ink2); cursor: pointer;
}
.chip:hover { border-color: var(--brand); color: var(--brand-d); }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.chip svg.i { width: 15px; height: 15px; }

.searchbar { display: flex; gap: 10px; align-items: center; }
.searchbar__box { flex: 1; position: relative; display: flex; align-items: center; }
.searchbar__box svg.i { position: absolute; left: 13px; color: var(--ink3); width: 17px; height: 17px; }
.searchbar input { width: 100%; padding: 11px 14px 11px 40px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fff; }
.searchbar input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-s); }
.select { padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; }
.select:focus { border-color: var(--brand); }

.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; font-size: 13.5px; color: var(--ink3); flex-wrap: wrap; }
.result-bar b { color: var(--brand-d); }

/* ---------------- 标签 ---------------- */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; border-radius: 6px; padding: 2px 9px; white-space: nowrap; }
.tag--wait { background: var(--warn-s); color: var(--warn); }
.tag--ok { background: var(--ok-s); color: var(--ok); }
.tag--no { background: var(--no-s); color: var(--no); }
.tag--off { background: var(--off-s); color: var(--off); }
.tag--soft { background: var(--brand-s); color: var(--brand-d); }

/* ---------------- 商品详情 ---------------- */
.detail { display: grid; grid-template-columns: 1.02fr .98fr; gap: 30px; margin-bottom: 34px; }
.gallery__main { aspect-ratio: 1 / 1; background: #F6F2EE; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 74px; height: 74px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #F6F2EE; cursor: pointer; }
.gallery__thumbs button.is-on { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buybox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; }
.buybox__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--brand-d); background: var(--brand-s); border-radius: 999px; padding: 4px 12px; margin-bottom: 13px; }
.buybox h1 { font-size: 23px; line-height: 1.45; margin-bottom: 8px; }
.buybox__sub { color: var(--ink2); font-size: 14px; margin-bottom: 18px; }
.buybox__price { background: linear-gradient(180deg, #FFF7F2, #FDF1E9); border: 1px solid var(--brand-s2); border-radius: 12px; padding: 16px 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.buybox__price .price b { font-size: 30px; }
.buybox__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 20px; font-size: 13.5px; }
.buybox__meta div { display: flex; gap: 8px; color: var(--ink2); }
.buybox__meta span.k { color: var(--ink3); flex: 0 0 66px; }
.buybox__hl { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.buybox__hl div { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ink2); }
.buybox__hl svg.i { color: var(--ok); margin-top: 3px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button { width: 36px; height: 38px; border: 0; background: #fff; cursor: pointer; color: var(--ink2); display: flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--brand-s); color: var(--brand-d); }
.qty input { width: 52px; height: 38px; border: 0; text-align: center; outline: none; background: #fff; }
.buybox__acts { display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.buybox__note { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink3); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }

.merchant-box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--brand-s); border-radius: 12px; margin-top: 18px; }
.merchant-box__av { width: 44px; height: 44px; border-radius: 11px; background: #fff; color: var(--brand-d); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.merchant-box__bd { flex: 1; min-width: 0; }
.merchant-box__n { font-weight: 700; font-size: 14.5px; }
.merchant-box__m { font-size: 12.5px; color: var(--ink2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; }

.prose { font-size: 15px; color: #3A342F; }
.prose p { margin: 0 0 1em; }
.prose h3 { font-size: 16.5px; margin: 26px 0 12px; padding-left: 12px; border-left: 3px solid var(--brand); }

/* ---------------- 信息详情 ---------------- */
.artdetail { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px 34px; }
.article__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--brand-d); background: var(--brand-s); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.article h1 { font-size: 24px; line-height: 1.5; margin-bottom: 18px; }
.article__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink3); padding-bottom: 18px; border-bottom: 1px solid var(--line2); margin-bottom: 22px; }
.article__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article__cover { width: 100%; border-radius: 12px; margin-bottom: 22px; aspect-ratio: 2 / 1; object-fit: cover; }
.article__body p { font-size: 15.5px; line-height: 1.95; color: #3A342F; margin-bottom: 1.05em; }
.article__note { margin-top: 28px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0; font-size: 13.5px; color: var(--ink2); }

.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.contact-card__who { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.contact-card__av { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-s); color: var(--brand-d); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-card__n { font-weight: 700; font-size: 15px; }
.contact-card__o { font-size: 12.5px; color: var(--ink3); }
.contact-phone { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 11px; font-size: 19px; font-weight: 700; letter-spacing: .6px; }
.contact-phone--locked { background: var(--bg); color: var(--ink3); border: 1px dashed var(--line); }
.contact-phone--open { background: var(--ok-s); color: var(--ok); border: 1px solid #CFE6DA; }
.muted { color: var(--ink3); }
.small { font-size: 12.5px; }
.side-list li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line2); }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list__im { width: 84px; height: 56px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; background: #F6F2EE; }
.side-list__im img { width: 100%; height: 100%; object-fit: cover; }
.side-list__t { font-size: 13.5px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-list__m { font-size: 12px; color: var(--ink3); margin-top: 3px; }

/* ---------------- 表单 ---------------- */
.form { max-width: 100%; }
.field { margin-bottom: 18px; }
.field__l { display: block; font-size: 13.5px; color: var(--ink2); margin-bottom: 7px; font-weight: 600; }
.field__l i { font-style: normal; color: var(--no); margin-left: 3px; }
.field input[type="text"], .field input[type="password"], .field input[type="tel"], .field input[type="email"],
.field input[type="number"], .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-s); }
.field__h { font-size: 12.5px; color: var(--ink3); margin-top: 6px; }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkline { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink2); cursor: pointer; }
.checkline input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--brand); flex: 0 0 auto; }
.formnote { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: 13px; color: var(--ink2); margin-bottom: 20px; }

.authwrap { max-width: 470px; margin: 40px auto 60px; }
.authtabs { display: flex; gap: 8px; margin-bottom: 22px; }
.authtabs a { flex: 1; text-align: center; padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 15px; color: var(--ink2); }
.authtabs a.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------------- 表格 ---------------- */
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line2); vertical-align: middle; }
table.data th { background: #FAF7F4; font-size: 13px; color: var(--ink2); font-weight: 600; white-space: nowrap; }
table.data tr:hover td { background: #FDFBF9; }
table.data td.num, table.data th.num { text-align: right; }
.tablewrap { overflow-x: auto; }
.row-actions { display: inline-flex; gap: 8px; flex-wrap: nowrap; white-space: nowrap; }
.thumb-xs { width: 62px; height: 42px; border-radius: 7px; object-fit: cover; background: #F6F2EE; }
.cell-title { font-weight: 600; line-height: 1.5; }
.cell-sub { font-size: 12.5px; color: var(--ink3); margin-top: 3px; }
.cell-strong { font-weight: 600; }

/* ---------------- 个人中心 ---------------- */
.acct { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; }
.acct__side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 96px; }
.acct__me { text-align: center; padding: 8px 0 16px; border-bottom: 1px solid var(--line2); margin-bottom: 12px; }
.acct__av { width: 56px; height: 56px; border-radius: 15px; background: var(--brand-s); color: var(--brand-d); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.acct__av svg.i { width: 26px; height: 26px; }
.acct__n { font-weight: 700; font-size: 15px; }
.acct__p { font-size: 12.5px; color: var(--ink3); }
.acct__nav a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--ink2); margin-bottom: 2px; }
.acct__nav a:hover { background: var(--brand-s); color: var(--brand-d); }
.acct__nav a.is-on { background: var(--brand); color: #fff; font-weight: 600; }
.acct__bd { min-width: 0; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 14px; margin-bottom: 22px; }
.statgrid .stat { padding: 16px 18px; }

/* ---------------- 后台 ---------------- */
.admin { display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: start; }
.admin__side { background: #2C2621; border-radius: var(--radius); padding: 16px; position: sticky; top: 96px; color: #CFC7BF; }
.admin__brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 16px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 12px; }
.admin__brand b { color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.admin__brand i { display: block; font-style: normal; font-size: 11.5px; color: #9E958C; }
.admin__nav button {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 9px; background: none;
  color: #CFC7BF; font-size: 14px; cursor: pointer; text-align: left; margin-bottom: 2px;
}
.admin__nav button:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin__nav button.is-on { background: var(--brand); color: #fff; font-weight: 600; }
.admin__nav .cnt { margin-left: auto; font-size: 12px; background: rgba(255,255,255,.14); border-radius: 7px; padding: 1px 7px; }
.admin__nav button.is-on .cnt { background: rgba(0,0,0,.2); }
.admin__bd { min-width: 0; }
table.data { min-width: 880px; }
table.data th:first-child { min-width: 168px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------------- 购物车 ---------------- */
.cartline { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line2); }
.cartline:last-child { border-bottom: 0; }
.cartline__im { width: 84px; height: 84px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: #F6F2EE; }
.cartline__im img { width: 100%; height: 100%; object-fit: cover; }
.cartline__bd { flex: 1; min-width: 0; }
.cartline__n { font-weight: 600; font-size: 14.5px; line-height: 1.5; }
.cartline__m { font-size: 12.5px; color: var(--ink3); margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cartline__p { font-weight: 700; color: #C0453C; min-width: 96px; text-align: right; }
.cartline__ops { display: flex; align-items: center; gap: 12px; }

.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.summary__row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 14px; color: var(--ink2); }
.summary__row--total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 15px; }
.summary__row--total b { font-size: 24px; color: #C0453C; }

.cartgrid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

/* ---------------- 空状态 / 提示 ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--ink3); }
.empty svg.i { width: 42px; height: 42px; opacity: .45; margin-bottom: 12px; }
.empty p { margin-bottom: 16px; }

.notice { display: flex; align-items: flex-start; gap: 9px; padding: 13px 16px; border-radius: 10px; font-size: 13.5px; background: var(--brand-s); color: var(--brand-d); margin-bottom: 18px; }
.notice svg.i { margin-top: 3px; flex: 0 0 auto; }
.notice--ok { background: var(--ok-s); color: var(--ok); }
.notice--wait { background: var(--warn-s); color: var(--warn); }
.notice--no { background: var(--no-s); color: var(--no); }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 16px);
  background: rgba(36,31,27,.94); color: #fff;
  padding: 12px 22px; border-radius: 10px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s;
  z-index: 999; max-width: 80vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast--ok { background: rgba(46,122,91,.95); }
.toast--no { background: rgba(192,69,60,.95); }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 30px; }
.pager button {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); background: #fff; border-radius: 9px;
  color: var(--ink2); cursor: pointer; font-size: 14px;
}
.pager button:hover:not([disabled]) { border-color: var(--brand); color: var(--brand-d); }
.pager button.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager button[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------------- 步骤条 ---------------- */
.steps { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.steps__i { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink3); }
.steps__n { width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink2); display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; }
.steps__i.is-on .steps__n { background: var(--brand); color: #fff; }
.steps__i.is-on { color: var(--ink); font-weight: 600; }
.steps__sep { flex: 1; height: 1px; background: var(--line); min-width: 20px; }

/* ---------------- 页脚 ---------------- */
.site-foot { background: #2C2621; color: #B8AFA7; margin-top: 50px; padding: 40px 0 22px; font-size: 13.5px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot__col h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
.foot__col ul li { margin-bottom: 9px; }
.foot__col a:hover { color: var(--brand); }
.foot__col--brand .logo-mark { margin-bottom: 12px; }
.foot__name { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.foot__desc { color: #948B83; font-size: 13px; line-height: 1.8; }
.foot__contact li { display: flex; gap: 9px; line-height: 1.7; }
.foot__contact svg.i { margin-top: 4px; flex: 0 0 auto; color: var(--brand); }
.foot__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; flex-wrap: wrap; font-size: 12.5px; color: #8B827A; }
.foot__links { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.foot__bar a:hover { color: var(--brand); }
.foot__icp { color: #8B827A; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .lgrid, .mgrid { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; }
  .hero__txt { padding: 34px 30px 26px; }
  .hero__img { min-height: 220px; }
  .detail { grid-template-columns: 1fr; }
  .artdetail { grid-template-columns: 1fr; }
  .side { position: static; }
  .cartgrid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .acct, .admin { grid-template-columns: 1fr; }
  .acct__side, .admin__side { position: static; }
  .acct__nav, .admin__nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .acct__nav a, .admin__nav button { width: auto; margin-bottom: 0; }
}

@media (max-width: 780px) {
  .site-head .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 16px; margin-left: 0;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__a { padding: 11px 12px; }
  .nav__mobile { display: block; border-top: 1px solid var(--line2); margin-top: 8px; padding-top: 8px; }
  .nav__mobile a { display: block; padding: 11px 12px; border-radius: 9px; color: var(--ink2); }
  .nav__mobile a:hover { background: var(--brand-s); color: var(--brand-d); }
  .head-account { display: none; }
  .head__in { min-height: 66px; gap: 10px; }
  .brand__name { font-size: 14.5px; white-space: normal; max-width: 168px; line-height: 1.3; }
  .brand__sub { display: none; }
  .topbar__r a:last-child { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .lgrid, .mgrid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .modgrid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; gap: 22px; }
  .article { padding: 22px 20px 26px; }
  .buybox { padding: 20px; }
  .hero__btns .btn { flex: 1; }
}

@media (max-width: 640px) {
  .searchbar { flex-wrap: wrap; }
  .searchbar__box { flex: 1 1 100%; }
  .searchbar .btn, .searchbar .select { flex: 1 1 0; }
  .result-bar { gap: 8px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 14px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard__bd { padding: 11px 11px 13px; }
  .pcard__name { font-size: 13.5px; height: 40px; }
  .price b { font-size: 17px; }
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 13px 14px; gap: 10px; }
  .stat__n { font-size: 18px; }
  .field--2 { grid-template-columns: 1fr; }
  .cartline { flex-wrap: wrap; }
  .cartline__p { text-align: left; }
  .hero__txt h1 { font-size: 25px; }
  .section-head h2 { font-size: 19px; }
  .article h1 { font-size: 20px; }
  .buybox h1 { font-size: 19px; }
  .tool { display: none; }
  .tool#acdCartEntry { display: inline-flex; }
}
