/* ==========================================================================
   HILLSWING 宠物刺绣定制 · 官网样式
   温暖手作质感：奶油底 / 暖橘主色 / 圆润形状 / 针脚与爪印细节
   纯静态、零依赖，桌面与移动端自适应
   ========================================================================== */

:root {
  --bg: #fdf8f1;
  --bg-2: #f6ecdf;
  --bg-3: #fbeee1;
  --card: #ffffff;
  --ink: #2b2622;
  --ink-2: #5b5148;
  --sub: #94897b;
  --line: #efe3d3;
  --brand: #e0724a;
  --brand-dark: #c25a33;
  --brand-soft: #fce9dc;
  --sage: #7c9473;
  --sage-soft: #edf2e8;
  --gold: #b98a46;
  --radius: 20px;
  --nav-h: 66px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 爪印底纹：极淡，只做纸感，不抢内容 */
  --paw-tile: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%23e0724a' fill-opacity='0.055'%3E%3Ccircle cx='62' cy='58' r='4'/%3E%3Ccircle cx='74' cy='52' r='4.4'/%3E%3Ccircle cx='87' cy='52' r='4.4'/%3E%3Ccircle cx='99' cy='58' r='4'/%3E%3Cpath d='M80.5 68c6.4 0 10.6 4.6 10.2 9.4-.4 4.6-5.2 7-10.2 7s-9.8-2.4-10.2-7c-.4-4.8 3.8-9.4 10.2-9.4z'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--paw-tile);
  background-size: 140px 140px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; padding: 0; cursor: pointer; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: normal; }

::selection { background: var(--brand-soft); color: var(--brand-dark); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #3d342c; }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); }

.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

.btn--sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 241, 0.86);
  backdrop-filter: saturate(1.8) blur(14px);
  -webkit-backdrop-filter: saturate(1.8) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(64, 42, 26, 0.22); }

.nav__inner {
  max-width: var(--max);
  height: var(--nav-h);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.nav__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink);
  border-radius: 13px;
  box-shadow: 0 6px 16px -8px rgba(43, 38, 34, 0.75);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__mark svg { width: 23px; height: 23px; fill: #fdf3e7; }
.nav__brand:hover .nav__mark { background: var(--brand); transform: rotate(-6deg); }
.nav__name {
  display: flex; align-items: baseline; gap: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px; font-weight: 700; letter-spacing: 0.04em;
}
.nav__name em {
  font-family: inherit;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.14em; color: var(--sub);
}

.nav__menu { display: flex; align-items: center; gap: 30px; margin-right: auto; }
.nav__menu a {
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.18s var(--ease);
  padding: 4px 0;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--brand);
  transition: right 0.28s var(--ease);
}
.nav__menu a:hover, .nav__menu a.on { color: var(--ink); }
.nav__menu a:hover::after, .nav__menu a.on::after { right: 0; }

.nav__act { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__burger span { display: block; width: 19px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav__burger.on span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.on span:nth-child(2) { opacity: 0; }
.nav__burger.on span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 页面容器 ---------- */
.view { display: block; min-height: 62vh; }

.sec-head {
  max-width: var(--max);
  margin: 0 auto 36px;
  padding: 0 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.sec-head__kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.sec-head p { color: var(--sub); font-size: 14px; margin-top: 10px; max-width: 520px; }
.sec-head__more { font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; white-space: nowrap; }
.sec-head__more:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 28px 88px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.hero__kicker::before { content: ""; width: 28px; height: 1px; background: var(--brand); }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.hero h1 strong { font-weight: 600; color: var(--brand); }
.hero__lead {
  margin-top: 26px;
  max-width: 460px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--sub);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta i { display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 40px 80px -38px rgba(88, 54, 28, 0.45);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
/* 内嵌针脚虚线，呼应刺绣 */
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px dashed rgba(255, 255, 255, 0.6);
  border-radius: 21px;
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  left: -22px; bottom: 34px;
  background: #fff;
  border-radius: 18px;
  padding: 16px 20px 16px 22px;
  box-shadow: 0 22px 46px -20px rgba(88, 54, 28, 0.35);
  min-width: 168px;
}
.hero__badge::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 4px; border-radius: 999px;
  background: var(--brand);
}
.hero__badge b { display: block; font-family: Georgia, serif; font-size: 20px; letter-spacing: 0.03em; }
.hero__badge small { display: block; color: var(--sub); font-size: 11.5px; letter-spacing: 0.06em; margin-top: 5px; }

/* ---------- 服务承诺 ---------- */
.promise {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.promise__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.promise__item { padding: 38px 34px 38px 0; }
.promise__item + .promise__item { border-left: 1px solid var(--line); padding-left: 34px; }
.promise__no {
  font-family: Georgia, serif;
  font-size: 12px; letter-spacing: 0.14em; color: var(--brand);
  margin-bottom: 12px; display: block;
}
.promise__item h3 { font-size: 17px; margin-bottom: 9px; }
.promise__item p { color: var(--sub); font-size: 13.5px; line-height: 1.75; }

/* ---------- 板块间距 ---------- */
.block { max-width: var(--max); margin: 0 auto; padding: 96px 28px; }
.block--tight { padding-top: 72px; padding-bottom: 72px; }
.block--paper { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.block--paper > .block__inner { max-width: var(--max); margin: 0 auto; padding: 96px 28px; }

/* ---------- 分类横条 ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.cat {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: all 0.2s var(--ease);
}
.cat:hover { border-color: var(--ink); color: var(--ink); }
.cat.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat b { font-weight: 500; }
.cat small { font-size: 11.5px; opacity: 0.6; }

/* ---------- 商品网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
}
.card { display: block; cursor: pointer; }
.card__media {
  position: relative;
  aspect-ratio: 3 / 3.7;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-2);
  transition: box-shadow 0.35s var(--ease);
}
.card:hover .card__media { box-shadow: 0 24px 44px -26px rgba(88, 54, 28, 0.45); }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}
.card:hover .card__media img { transform: scale(1.045); }
.card__tag {
  position: absolute; left: 10px; top: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 11px; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
}
.card__sold {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(247, 246, 243, 0.72);
  color: var(--ink-2);
  font-size: 12.5px; letter-spacing: 0.14em;
}
.card__body { padding: 15px 2px 0; }
.card__title { font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.card__sub { color: var(--sub); font-size: 12.5px; margin-top: 5px; }
.card__foot { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.card__price { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.card__price i { font-size: 11.5px; font-weight: 400; font-style: normal; margin-right: 1px; }
.card__was { font-size: 12px; color: var(--sub); text-decoration: line-through; }

/* ---------- 定制流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 30px 0 0; }
.step + .step { padding-left: 34px; border-left: 1px solid var(--line); }
.step__no {
  font-family: Georgia, serif;
  font-size: 40px; line-height: 1;
  color: rgba(224, 114, 74, 0.3);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.step h3 { font-size: 16.5px; margin-bottom: 10px; }
.step p { color: var(--sub); font-size: 13.5px; line-height: 1.8; }
.step__note {
  display: inline-block; margin-top: 14px;
  font-size: 11.5px; color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 10px; border-radius: 999px;
}

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.about__visual { aspect-ratio: 4 / 4.6; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.about__visual img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 22px; }
.about p { color: var(--ink-2); font-size: 15px; line-height: 1.95; }
.about p + p { margin-top: 16px; }
.about__list { margin: 30px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.about__list li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-2); }
.about__list li::before {
  content: ""; flex: 0 0 6px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
  margin-top: 11px;
}

/* ---------- 联系 ---------- */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ccard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.ccard h3 { font-size: 13px; letter-spacing: 0.1em; color: var(--sub); font-weight: 500; margin-bottom: 14px; text-transform: uppercase; }
.ccard b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.ccard small { display: block; color: var(--sub); font-size: 12.5px; margin-top: 8px; line-height: 1.7; }
.ccard .btn { margin-top: 18px; }

/* ---------- 宠物刺绣 · 金刚区 ---------- */
.pawgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pawcell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 11px;
  padding: 26px 14px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.pawcell:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 114, 74, 0.55);
  box-shadow: 0 22px 42px -26px rgba(224, 114, 74, 0.75);
}
.pawcell__ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.pawcell__ring img { width: 30px; height: 30px; }
.pawcell__label { font-size: 14.5px; font-weight: 500; }
.pawcell__desc { font-size: 12px; color: var(--sub); line-height: 1.6; }

/* ---------- 刺绣工艺卡 ---------- */
.embgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.embcard {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 28px 28px;
}
.embcard::after {
  content: "";
  position: absolute;
  right: -18px; top: -18px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--brand-soft);
  opacity: 0.75;
}
.embcard__no {
  position: relative;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--brand);
  display: block;
  margin-bottom: 14px;
}
.embcard h3 { position: relative; font-size: 17.5px; margin-bottom: 10px; }
.embcard p { position: relative; color: var(--sub); font-size: 13.5px; line-height: 1.8; }
.embcard__tag {
  position: relative;
  display: inline-block;
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--sage);
  background: var(--sage-soft);
  padding: 4px 11px;
  border-radius: 999px;
}

/* ---------- 人宠同款横幅 ---------- */
.petband {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(125deg, #fdf1e5 0%, #fbe3d3 55%, #f8d9c4 100%);
  border: 1px solid #f4d8c4;
  border-radius: 28px;
  padding: 52px 48px;
}
.petband h3 { font-size: clamp(21px, 2.6vw, 27px); line-height: 1.4; margin-bottom: 14px; }
.petband h3 strong { color: var(--brand-dark); font-weight: 600; }
.petband p { color: #7d6553; font-size: 14px; line-height: 1.85; }
.petband__list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.petband__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: #6f5948;
}
.petband__list li::before {
  content: "";
  flex: 0 0 18px; height: 18px; margin-top: 2px;
  border-radius: 50%;
  background: rgba(224, 114, 74, 0.16)
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M5 9.4l2.4 2.4L13 6.2' fill='none' stroke='%23c25a33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px no-repeat;
}
.petband__price {
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(194, 90, 51, 0.35);
  border-radius: 20px;
  padding: 28px 26px;
  text-align: center;
}
.petband__price span { font-size: 11.5px; letter-spacing: 0.14em; color: #8a6a52; display: block; }
.petband__price b { display: block; font-size: 25px; color: var(--brand-dark); margin: 8px 0 6px; letter-spacing: 0.02em; }
.petband__price b i { font-size: 16px; font-style: normal; font-weight: 400; margin-right: 2px; }
.petband__price small { display: block; font-size: 12px; color: #8a6a52; }

/* ---------- 针脚分隔 ---------- */
.stitch {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  color: var(--sub);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.stitch::before,
.stitch::after {
  content: "";
  flex: 1;
  height: 0;
  border-top: 1.5px dashed var(--line);
}

/* ---------- 小程序引导 ---------- */
.mp {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  background: linear-gradient(135deg, #2f2823 0%, #43352a 58%, #593d2b 100%);
  color: #fff;
  border-radius: 28px;
  padding: 56px;
  max-width: calc(var(--max) - 56px);
  margin: 0 auto 96px;
}
.mp::before {
  content: "";
  position: absolute;
  right: -60px; top: -50px;
  width: 300px; height: 300px;
  opacity: 0.09;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 40 40'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='10.4' cy='13.6' r='2.9'/%3E%3Ccircle cx='16.9' cy='10.4' r='3.1'/%3E%3Ccircle cx='23.6' cy='10.4' r='3.1'/%3E%3Ccircle cx='30' cy='13.6' r='2.9'/%3E%3Cpath d='M20 19.4c4.3 0 7.1 3.1 6.8 6.3-.3 3-3.5 4.6-6.8 4.6s-6.5-1.6-6.8-4.6c-.3-3.2 2.5-6.3 6.8-6.3z'/%3E%3C/g%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
}
.mp__kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin-bottom: 18px; display: block; }
.mp h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; }
.mp p { color: rgba(255, 255, 255, 0.66); font-size: 14.5px; margin-top: 16px; max-width: 520px; line-height: 1.85; }
.mp__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.mp .btn--dark { background: #fff; color: var(--ink); }
.mp .btn--ghost { border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.mp .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.mp__qr {
  width: 190px; height: 190px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  display: grid; place-items: center;
  text-align: center;
  padding: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  flex-shrink: 0;
}

/* ---------- 商品详情 ---------- */
.pdp { max-width: var(--max); margin: 0 auto; padding: 40px 28px 96px; }
.pdp__crumb { font-size: 12.5px; color: var(--sub); margin-bottom: 26px; }
.pdp__crumb a:hover { color: var(--ink); }
.pdp__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: start; }
.pdp__gallery { display: grid; gap: 12px; }
.pdp__hero { aspect-ratio: 1 / 1.12; border-radius: 24px; overflow: hidden; background: var(--bg-2); }
.pdp__hero img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pdp__thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-2); cursor: pointer; border: 1.5px solid transparent; }
.pdp__thumb.on { border-color: var(--ink); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { position: sticky; top: calc(var(--nav-h) + 28px); }
.pdp__title { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; }
.pdp__sub { color: var(--sub); font-size: 14px; margin-top: 12px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 8px; }
.pdp__price b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.pdp__price b i { font-size: 15px; font-weight: 400; font-style: normal; margin-right: 2px; }
.pdp__price s { color: var(--sub); font-size: 14px; }
.pdp__note { font-size: 12.5px; color: var(--sub); }
.pdp__block { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.pdp__label { font-size: 11.5px; letter-spacing: 0.14em; color: var(--sub); text-transform: uppercase; margin-bottom: 14px; display: block; }
.skus { display: flex; flex-wrap: wrap; gap: 10px; }
.sku {
  min-width: 78px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; text-align: center; color: var(--ink-2);
  background: #fff;
}
.sku.off { opacity: 0.42; text-decoration: line-through; }

/* 规格选择：按维度分组选，避免几十个组合平铺成一堵白框墙 */
.spec-picker { display: grid; gap: 16px; }
.spec-row { display: flex; gap: 14px; align-items: flex-start; }
.spec-row__name { flex: 0 0 42px; padding-top: 9px; font-size: 12.5px; color: var(--sub); }
.spec-row__opts { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: 13px; font-family: inherit;
  cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip__dot { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 11px; box-shadow: inset 0 0 0 1px rgba(58, 42, 30, .18); }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip.is-on .chip__dot { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .92), inset 0 0 0 1px rgba(58, 42, 30, .18); }
.chip.is-off { opacity: .36; text-decoration: line-through; cursor: not-allowed; }
.chip.is-off:hover { border-color: var(--line); color: var(--ink-2); }
.spec-now { margin: 16px 0 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--sub); }
.spec-now b { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.spec-now span { color: var(--brand); font-weight: 600; font-size: 15px; }
.spec-now em { font-style: normal; }
.spec-now em.off { color: #b4553b; }
.pdp__desc { color: var(--ink-2); font-size: 14px; line-height: 1.95; }
.pdp__desc p, .pdp__desc div { margin: 0 0 10px; }
.pdp__desc p:last-child, .pdp__desc div:last-child { margin-bottom: 0; }
.pdp__desc ul, .pdp__desc ol { margin: 0 0 10px; padding-left: 20px; }
.pdp__acts { display: flex; gap: 12px; margin-top: 32px; }
.pdp__tips { margin-top: 18px; font-size: 12.5px; color: var(--sub); line-height: 1.8; }
.pdp__specs { margin: 12px 0 0; display: grid; gap: 10px; font-size: 13.5px; }
.pdp__specs div { display: flex; gap: 14px; }
.pdp__specs dt { color: var(--sub); min-width: 68px; }
.pdp__specs dd { margin: 0; color: var(--ink-2); }

/* ---------- 状态 ---------- */
.state { max-width: 520px; margin: 0 auto; padding: 120px 28px; text-align: center; }
.state__icon {
  width: 56px; height: 56px; margin: 0 auto 22px;
  border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 20px; color: var(--sub);
  font-family: Georgia, serif;
}
.state h3 { font-size: 18px; margin-bottom: 10px; }
.state p { color: var(--sub); font-size: 14px; line-height: 1.85; }
.state .btn { margin-top: 26px; }

/* ---------- 骨架屏 ---------- */
.skel { background: linear-gradient(90deg, #efece5 25%, #f6f4ef 37%, #efece5 63%); background-size: 400% 100%; animation: skel 1.4s ease-in-out infinite; border-radius: 12px; }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.skel--card { aspect-ratio: 3 / 3.7; border-radius: 20px; }
.skel--line { height: 13px; margin-top: 12px; }
.skel--line.short { width: 58%; }
.skel--hero { aspect-ratio: 4 / 4.4; border-radius: 30px; }

/* ---------- 页脚 ---------- */
.foot { border-top: 1px solid var(--line); background: #fff; margin-top: 20px; }
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 28px 44px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}
.foot__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: Georgia, serif; font-size: 19px; font-weight: 700; letter-spacing: 0.04em;
}
.foot__paw {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--ink);
  display: grid; place-items: center;
}
.foot__paw svg { width: 16px; height: 16px; fill: #fdf3e7; }
.foot__brand em { font-family: inherit; font-size: 12px; font-weight: 400; letter-spacing: 0.14em; color: var(--sub); margin-left: 8px; }
.foot__desc { color: var(--sub); font-size: 13px; margin-top: 12px; }
.foot__col h4 { font-size: 12px; letter-spacing: 0.12em; color: var(--sub); font-weight: 500; margin-bottom: 16px; }
.foot__col a, .foot__col span { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; }
.foot__col a:hover { color: var(--brand); }
.foot__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px 34px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 26px;
  justify-content: space-between;
  font-size: 12px; color: var(--sub);
}
.foot__icp a { color: var(--sub); }
.foot__icp a:hover { color: var(--ink); }
.foot__legal { display: flex; gap: 20px; }
.foot__legal a { color: var(--sub); }
.foot__legal a:hover { color: var(--brand); }

/* ---------- 条款页（用户协议 / 隐私政策） ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 40px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-2);
}
.legal h3 {
  margin: 34px 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.legal h3:first-child { margin-top: 6px; }
.legal p { margin: 0 0 12px; }
.legal__loading { color: var(--sub); }

/* ---------- 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(23, 23, 26, 0.94);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
  max-width: 86vw;
  text-align: center;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

.noscript { max-width: 560px; margin: 120px auto; padding: 0 28px; }
.noscript h2 { margin-bottom: 14px; }
.noscript p { color: var(--sub); }

/* ---------- 进场动画 ---------- */
.rise { opacity: 0; transform: translateY(18px); animation: rise 0.7s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 56px 28px 68px; }
  .hero__visual { max-width: 460px; }
  .hero__badge { left: auto; right: 18px; bottom: 18px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pawgrid { grid-template-columns: repeat(3, 1fr); }
  .embgrid { grid-template-columns: repeat(2, 1fr); }
  .petband { grid-template-columns: 1fr; gap: 30px; padding: 42px 34px; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .step:nth-child(3) { padding-left: 0; border-left: none; }
  .step:nth-child(3), .step:nth-child(4) { padding-top: 30px; border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { max-width: 440px; }
  .pdp__grid { grid-template-columns: 1fr; gap: 40px; }
  .pdp__info { position: static; }
  .mp { grid-template-columns: 1fr; padding: 44px 36px; }
  .mp__qr { display: none; }
  .contact { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .nav__inner { padding: 0 18px; gap: 16px; }
  .nav__menu {
    position: absolute;
    left: 0; right: 0; top: var(--nav-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 246, 243, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 8px 18px 18px;
    display: none;
  }
  .nav__menu.on { display: flex; }
  .nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__menu a:last-child { border-bottom: none; }
  .nav__menu a::after { display: none; }
  .nav__burger { display: flex; }
  .nav__act .btn--dark { display: none; }
  .nav__name em { display: none; }
  .promise__inner { grid-template-columns: 1fr; padding: 0 18px; }
  .promise__item { padding: 28px 0; }
  .promise__item + .promise__item { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .block, .block--paper > .block__inner { padding: 64px 18px; }
  .sec-head { padding: 0 18px; margin-bottom: 28px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .pawgrid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .pawcell { padding: 20px 8px 18px; border-radius: 18px; gap: 8px; }
  .pawcell__ring { width: 48px; height: 48px; }
  .pawcell__ring img { width: 25px; height: 25px; }
  .pawcell__label { font-size: 13px; }
  .pawcell__desc { display: none; }
  .embgrid { grid-template-columns: 1fr; gap: 14px; }
  .petband { padding: 32px 22px; border-radius: 22px; }
  .stitch { padding: 0 18px; }
  .foot__inner { grid-template-columns: 1fr; gap: 32px; padding: 44px 18px 32px; }
  .foot__bottom { padding: 18px 18px 28px; }
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .step { padding: 0 !important; border-left: none !important; }
  .step + .step { border-top: 1px solid var(--line); padding-top: 26px !important; }
  .step:nth-child(3), .step:nth-child(4) { padding-top: 26px !important; }
  .step__no { font-size: 30px; margin-bottom: 10px; }
  .contact { grid-template-columns: 1fr; }
  .mp { border-radius: 18px; padding: 34px 24px; margin: 0 18px 64px; max-width: none; }
  .pdp { padding: 24px 18px 72px; }
  .pdp__acts { flex-direction: column; }
  .pdp__acts .btn { width: 100%; }
  .hero { padding: 34px 18px 56px; }
  .hero__badge { left: 14px; right: auto; bottom: 14px; padding: 12px 16px; min-width: 0; }
  .cats { gap: 8px; margin-bottom: 26px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .cat { flex: 0 0 auto; height: 38px; padding: 0 15px; font-size: 13px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 30px; }
  .hero__acts .btn { flex: 1 1 auto; padding: 0 18px; }
  .grid { gap: 18px 12px; }
  .card__title { font-size: 13.5px; }
}

/* 窄屏把维度名放到选项上方，否则左侧 42px 会把一整行挤爆 */
@media (max-width: 560px) {
  .spec-row { flex-direction: column; gap: 8px; }
  .spec-row__name { flex: none; padding-top: 0; }
  .chip { padding: 7px 13px; font-size: 12.5px; }
  /* 页脚底部三段（版权 / 协议 / 备案号）改纵向，否则备案号会被挤出可视区 */
  .foot__bottom { flex-direction: column; align-items: flex-start; gap: 9px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
