/* ============================================================
   阶段二页面样式：资讯 / 门店 / 药师咨询 / 售后 / 联系 / 资质
   ============================================================ */

/* ---------- 通用筛选 chips ---------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.chip:hover {
  border-color: var(--brand-200);
  color: var(--brand-700);
}

.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 600;
}

.chip .count {
  font-size: 11.5px;
  opacity: 0.72;
}

/* ---------- 侧栏面板 ---------- */

.side-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.side-panel + .side-panel {
  margin-top: 18px;
}

.side-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.side-panel h2 svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.side-news-item {
  display: block;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.side-news-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.side-news-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--ink-2);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.side-news-item:hover strong {
  color: var(--brand);
}

.side-news-item time {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}

.side-panel .promo {
  padding: 22px 20px;
}

.side-panel .promo h3 {
  font-size: 17px;
}

.side-panel .promo p {
  font-size: 12.5px;
}

/* ---------- 资讯列表 ---------- */

.news-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding: 38px 0 76px;
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-card {
  display: flex;
  gap: 24px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.news-card-date {
  flex: 0 0 78px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.news-card-date b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-900);
}

.news-card-date span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
}

.news-card-body {
  min-width: 0;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 11.5px;
  color: var(--muted);
}

.news-card-meta .news-cat {
  margin-top: 0;
}

.news-card-body h2 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.55;
}

.news-card-body h2 a:hover {
  color: var(--brand);
}

.news-card-body p {
  margin-top: 8px;
  font-size: 13.2px;
  line-height: 1.8;
  color: var(--muted);
}

.news-card-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.news-card-more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.news-card:hover .news-card-more svg {
  transform: translateX(3px);
}

/* ---------- 新闻详情 ---------- */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding: 34px 0 76px;
}

.article {
  padding: 36px 44px 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.article-head {
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.article-head h1 {
  margin: 10px 0 14px;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.article-body p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
}

.article-body h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-900);
}

.article-body h2::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--brand);
}

.article-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.article-source .btn {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.article-nav a {
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.article-nav a:hover {
  border-color: var(--brand-200);
  color: var(--brand-700);
}

.article-nav span {
  display: block;
  margin-bottom: 4px;
  font-size: 11.5px;
  color: var(--muted);
}

.article-nav .next {
  text-align: right;
}

/* ---------- 门店导航 ---------- */

.store-page {
  padding: 36px 0 76px;
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.store-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.store-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.store-card h2 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
}

.store-badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fdf6e3;
  border: 1px solid #f0dfae;
  color: #8a6d1f;
  font-size: 11px;
  font-weight: 600;
}

.store-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--brand);
}

.store-flag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22b07f;
  box-shadow: 0 0 0 3px rgba(34, 176, 127, 0.14);
}

.store-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
  flex: 1;
}

.store-row {
  display: flex;
  gap: 9px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}

.store-row svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--muted);
}

.store-row a:hover {
  color: var(--brand);
}

.store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.store-tags span {
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 11.5px;
}

.store-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.store-foot .link-more {
  font-size: 13px;
}

.map-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #0b6b58, #12987e);
  color: #fff;
}

.map-strip h2 {
  font-size: 18px;
  font-weight: 700;
}

.map-strip p {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
}

/* ---------- 药师咨询 ---------- */

.chat-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 36px 0 72px;
}

.pharmacist-card {
  position: sticky;
  top: 122px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.pharmacist-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(150deg, #12987e, #075e4d);
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  flex: 0 0 auto;
}

.pharmacist-head strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
}

.pharmacist-head .sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--brand);
}

.online i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22b07f;
  box-shadow: 0 0 0 3px rgba(34, 176, 127, 0.16);
}

.pharmacist-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.pharmacist-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

.pharmacist-row span {
  color: var(--muted);
  white-space: nowrap;
}

.pharmacist-row b {
  font-weight: 600;
  color: var(--ink-2);
  text-align: right;
}

.pharmacist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pharmacist-tags span {
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 11.5px;
}

.disclaimer {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #f7d9d5;
  border-radius: 10px;
  background: #fff8f7;
  font-size: 11.5px;
  line-height: 1.75;
  color: #8f3b34;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: #fbfdfc;
  border-bottom: 1px solid var(--line);
}

.chat-head-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.chat-head .avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 16px;
}

.chat-head-user strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}

.chat-head-user .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
}

.chat-badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: 11.5px;
  white-space: nowrap;
}

.chat-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  max-height: 520px;
  padding: 24px 22px;
  overflow-y: auto;
  background: linear-gradient(180deg, #fbfdfc, #f6faf8);
}

.msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 84%;
}

.msg--me {
  flex-direction: row-reverse;
  margin-left: auto;
}

.msg-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 700;
}

.msg--me .msg-avatar {
  background: var(--brand);
  color: #fff;
}

.msg-main {
  min-width: 0;
}

.msg-bubble {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 13.6px;
  line-height: 1.85;
  color: var(--ink-2);
  word-break: break-word;
}

.msg-bubble p + p {
  margin-top: 10px;
}

.msg--me .msg-bubble {
  border-color: var(--brand);
  border-radius: 14px 4px 14px 14px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 124, 102, 0.18);
}

.msg time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
}

.msg--me time {
  text-align: right;
}

.typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 15px 16px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9cfc8;
  animation: typing-blink 1s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing-blink {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 22px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-quick button {
  padding: 7px 13px;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 12.5px;
  transition: background 0.18s ease;
}

.chat-quick button:hover {
  background: var(--brand-100);
}

.chat-form {
  display: flex;
  gap: 10px;
  padding: 12px 22px 8px;
  background: #fff;
}

.chat-form input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
  font: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.chat-form input:focus {
  border-color: var(--brand);
  background: #fff;
}

.chat-form .btn {
  height: 46px;
  padding: 0 22px;
}

.chat-note {
  margin: 0;
  padding: 0 22px 16px;
  background: #fff;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 售后服务 ---------- */

.stack {
  padding: 38px 0 78px;
}

.stack > section + section {
  margin-top: 46px;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.promise {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.promise .ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}

.promise .ic svg {
  width: 21px;
  height: 21px;
}

.promise h3 {
  font-size: 15.5px;
  font-weight: 700;
}

.promise p {
  margin-top: 7px;
  font-size: 12.8px;
  line-height: 1.8;
  color: var(--muted);
}

.policy-card {
  padding: 30px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.policy-card p {
  font-size: 13.8px;
  line-height: 1.95;
  color: var(--ink-2);
}

.policy-card p + p {
  margin-top: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.step h3 {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
}

.step p {
  margin-top: 6px;
  font-size: 12.8px;
  line-height: 1.8;
  color: var(--muted);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 37px;
  right: -16px;
  width: 16px;
  height: 2px;
  background: var(--brand-200);
}

.faq {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
  color: var(--brand);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding: 0 22px 20px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--muted);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.channel {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.channel span {
  font-size: 12px;
  color: var(--muted);
}

.channel b {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-900);
  letter-spacing: 0.01em;
}

.channel p {
  margin-top: 6px;
  font-size: 11.8px;
  line-height: 1.7;
  color: var(--muted);
}

.channel a {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- 联系我们 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding: 38px 0 76px;
}

.info-card,
.form-card {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.info-card h2,
.form-card h2 {
  font-size: 18px;
  font-weight: 700;
}

.info-card .sub,
.form-card .sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.info-list {
  margin-top: 18px;
}

.info-list li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list .ic {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand);
}

.info-list .ic svg {
  width: 18px;
  height: 18px;
}

.info-list span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.info-list b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.info-list a:hover {
  color: var(--brand);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfc;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.field textarea {
  min-height: 122px;
  resize: vertical;
  line-height: 1.8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.form-ok {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--brand-100);
  border-radius: 12px;
  background: var(--brand-50);
  font-size: 13px;
  line-height: 1.75;
  color: var(--brand-700);
}

.form-ok svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

/* ---------- 资质公示 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
  padding: 38px 0 76px;
}

.panel {
  padding: 30px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.panel + .panel {
  margin-top: 20px;
}

.panel h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 700;
}

.panel h2::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: var(--brand);
}

.panel > p {
  font-size: 13.8px;
  line-height: 1.95;
  color: var(--ink-2);
}

.panel > p + p {
  margin-top: 10px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.info-table th {
  width: 148px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
  text-align: left;
  vertical-align: top;
}

.info-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.7;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.pending-value {
  color: #a8831a;
  font-weight: 500;
}

.check-list li {
  display: flex;
  gap: 9px;
  padding: 7px 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.check-list svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  color: var(--brand);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- 协议 / 隐私 ---------- */

.doc {
  padding: 36px 0 78px;
}

.doc-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.doc-card h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.doc-meta {
  margin: 8px 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.doc-card h2 {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.doc-card p {
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
}

.doc-card ul {
  margin: 0 0 12px;
  padding-left: 22px;
  list-style: disc;
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-2);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promise-grid,
  .channel-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .news-page,
  .article-layout,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-side,
  .article-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .news-side .side-panel,
  .article-side .side-panel {
    margin-top: 0;
  }

  .chat-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pharmacist-card {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .news-card {
    gap: 16px;
    padding: 20px 18px;
  }

  .news-card-date {
    flex-basis: 60px;
    padding-right: 12px;
  }

  .news-card-date b {
    font-size: 20px;
  }

  .news-card-body h2 {
    font-size: 15.5px;
  }

  .article {
    padding: 26px 22px 30px;
  }

  .article-head h1 {
    font-size: 23px;
  }

  .article-body p {
    font-size: 14px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav .next {
    text-align: left;
  }

  .news-side,
  .article-side,
  .about-side {
    grid-template-columns: 1fr;
  }

  .store-grid,
  .promise-grid,
  .channel-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .map-strip {
    padding: 20px;
  }

  .chat-panel {
    min-height: 0;
  }

  .chat-log {
    max-height: 460px;
    padding: 18px 16px;
  }

  .msg {
    max-width: 92%;
  }

  .chat-head {
    padding: 12px 16px;
  }

  .chat-badge {
    display: none;
  }

  .chat-quick {
    padding: 10px 16px 0;
  }

  .chat-form {
    padding: 10px 16px 8px;
  }

  .chat-note {
    padding: 0 16px 14px;
  }

  .policy-card,
  .panel,
  .info-card,
  .form-card {
    padding: 22px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .doc-card {
    padding: 26px 22px 30px;
  }

  .info-table th {
    width: 104px;
  }
}

/* ---------- 辅助类 ---------- */

.loading {
  padding: 80px 24px;
}

.empty--full {
  grid-column: 1 / -1;
}

.btn-block {
  width: 100%;
}

.side-panel .btn-block {
  margin-top: 12px;
}

.panel-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.side-rows {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.form-note a {
  color: var(--brand);
  font-weight: 600;
}

.form-ok.is-error {
  border-color: #f7d9d5;
  background: #fff8f7;
  color: #8f3b34;
}

.contact-grid .map-strip {
  grid-column: 1 / -1;
  margin-top: 0;
}
.form-ok[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .about-side .side-panel {
    margin-top: 0;
  }
}
.channel a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.channel a svg {
  width: 14px;
  height: 14px;
}
.doc .breadcrumb {
  max-width: 900px;
  margin: 0 auto 18px;
}
.panel-note a {
  color: var(--brand);
  font-weight: 600;
}
