/* ============================================================
   南泥湾移动端官网 · 产品详情层（SOD 胚芽米专项页）
   - 概念解析卡 .know / 说明块 .note-block
   - 对比表 .cmp / 提示 .cmp-tip / 标题内 VS 标 .vs
   - 常见问题手风琴 .faq
   依赖变量：mobile.css 的 :root
   加载顺序：mobile.css → media.css → product.css
   ============================================================ */

/* ---------------- 1. 概念解析卡 ---------------- */
.know-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.know {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  padding: 17px 18px 16px 20px;
  overflow: hidden;
}

.know::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold), rgba(212, 175, 55, .25));
}

.know .kn {
  position: absolute;
  right: 12px;
  top: 0;
  font-family: var(--font-num);
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  color: rgba(212, 175, 55, .13);
  pointer-events: none;
  user-select: none;
}

.know h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
}

.know p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.88;
  color: var(--ink-4);
}

/* 正文重点：金色下划高亮 */
.know p b {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(212, 175, 55, .3) 0);
}

/* ---------------- 2. 说明 / 提示块 ---------------- */
.note-block {
  position: relative;
  margin-top: 16px;
  padding: 14px 16px 14px 18px;
  background: var(--gold-mist);
  border: 1px solid var(--gold-line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
}

.note-block > b {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold-3);
}

.note-block p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-4);
}

.note-block p b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------------- 3. 对比表 ---------------- */
.cmp-wrap {
  margin-top: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-1);
  scrollbar-width: none;
}
.cmp-wrap::-webkit-scrollbar { display: none; }

table.cmp {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 12.5px;
}

table.cmp th,
table.cmp td {
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
  border-bottom: 1px solid var(--line-2);
}

table.cmp thead th {
  position: sticky;
  top: 0;
  background: var(--bg-warm);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-3);
  white-space: nowrap;
}

table.cmp tbody td:first-child {
  width: 76px;
  background: var(--bg-soft);
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

table.cmp .hl {
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(180deg, rgba(212, 175, 55, .11), rgba(212, 175, 55, .03));
}

table.cmp thead th.hl {
  color: var(--gold-3);
  background: rgba(212, 175, 55, .17);
}

table.cmp tbody tr:last-child td { border-bottom: none; }

.cmp-tip {
  margin-top: 10px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted-2);
}

/* 标题内 VS 徽标 */
.sec-title .vs {
  display: inline-block;
  margin: 0 5px;
  padding: 2px 10px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-3);
  vertical-align: middle;
  transform: translateY(-2px);
}

/* ---------------- 4. 常见问题手风琴 ---------------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item[open] {
  border-color: var(--gold-line);
  box-shadow: var(--sh-2);
}

.faq-item summary {
  position: relative;
  padding: 15px 46px 15px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .14);
  color: var(--gold-3);
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  transition: transform .26s ease, background .26s ease;
}

.faq-item[open] summary { color: var(--gold-3); }

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: rgba(212, 175, 55, .24);
}

.faq-item .fa {
  margin: 0 16px 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  line-height: 1.88;
  color: var(--ink-4);
  animation: faqIn .28s ease both;
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- 5. 专项介绍入口卡（首页 / 产品服务页） ---------------- */
.sod-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(212, 175, 55, .34);
  background: linear-gradient(135deg, #1c1710 0%, #2a2216 58%, #3a2f1b 100%);
  box-shadow: var(--sh-2);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.sod-cta::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .32), transparent 68%);
  pointer-events: none;
}

.sod-cta .tx {
  position: relative;
  flex: 1;
  min-width: 0;
}

.sod-cta .k {
  display: block;
  margin-bottom: 5px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.sod-cta b {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.sod-cta .d {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
}

.sod-cta .ar {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: var(--sh-gold);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  color: #1a1508;
}

.sod-cta:active .ar { transform: translateY(1px); }

/* ---------------- 6. 官方主视觉卡（成品主图 1:1） ---------------- */
/*
   官方物料为 750×750 正方形成品主图，图内自带文字与构图，
   因此用 1:1 容器完整呈现：不裁切、不叠加蒙版、不追加图注，
   避免与图内文字互相打架。仅给圆角与投影，让它像一张成品海报。
*/
.shot {
  position: relative;
  margin: 0 0 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-warm);
  box-shadow: var(--sh-2);
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22, .61, .36, 1);
}

.shot.reveal.in > img { transform: scale(1.02); }

@media (prefers-reduced-motion: reduce) {
  .shot img { transition: none; }
  .shot.reveal.in > img { transform: none; }
}

/* ---------------- 7. 窄屏微调 ---------------- */
@media (max-width: 360px) {
  .know { padding: 15px 15px 14px 17px; }
  .know .kn { font-size: 46px; }
  .know h3 { font-size: 15px; }
  .know p { font-size: 13px; }
  .faq-item summary { font-size: 13.5px; padding: 14px 42px 14px 14px; }
  .cmp-tip { font-size: 11px; }
}

/* 尊重系统的“减少动态效果”设置 */
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after { transition: none; }
  .faq-item .fa { animation: none; }
}
