/* Uocan Pro existing design styles, reused for the lid detail page. */

/* 设计令牌：全站颜色 / 字号 / 间距 / 圆角 / 动效只在这里定义。
   第五版（2026-09-07 晚）：照设计师的设计稿重排。白底、浅灰图片面板、黑色导航和页脚、一个品牌绿。 */
:root {
  --bg: #ffffff;
  --bg-soft: #fbfbfd;      /* 「使环保产品大众化」和步骤图那两段的底 */
  --bg-quote: #f3f7f6;     /* 用户评价那段的底 */
  --panel: #eceef1;        /* 灰色图片面板：图没铺满时露出来的底色 */
  --black: #0f0f0f;        /* 导航、页脚 */
  --ink: #222222;
  --ink-2: #555555;
  --ink-3: #8c8c8c;
  --line: #e6e6e6;
  --green: #337a40;
  --green-ink: #2a6636;

  /* 字体：系统字体栈，Mac 上就是 SF Pro / 苹方，和设计稿一致 */
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Helvetica Neue", "Microsoft YaHei", sans-serif;

  /* 字号：设计稿 2560 宽，换算到 1280 再折一点 */
  --text-hero: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  --text-h2: clamp(1.5rem, 1.1rem + 1.3vw, 2.15rem);
  --text-h3: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --text-lead: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --text-body: 0.95rem;
  --text-small: 0.8rem;

  /* 间距 */
  --sec-y: clamp(3.5rem, 2rem + 5vw, 7rem);
  --gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max-w: 1200px;
  --nav-h: 60px;

  --radius-pill: 999px;

  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 700ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* 层级：水墨画布 0 → 内容 1 → 导航 */
  --z-ink: 0;
  --z-content: 1;
  --z-nav: 50;
}

  

/* 基础：重置、导航、页脚、按钮、开场大图、进场动画、水墨画布（第五版） */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding-top: var(--nav-h);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: min(var(--max-w), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* 水墨画布压在最底下，内容都在它上面；内容自己的底色是透明的，墨才透得出来 */
#ink {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-ink);
  pointer-events: none;
}

.top,
main,
.foot {
  position: relative;
  z-index: var(--z-content);
}

/* 按钮：胶囊形。实心绿是主按钮，描边绿是卡片上的小按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.btn:active {
  transform: translateY(1px);
}

.btn-solid {
  height: 40px;
  padding: 0 1.6rem;
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
}

.btn-solid:hover {
  background: var(--green-ink);
}

.btn-line {
  height: 34px;
  padding: 0 1.2rem;
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 0.82rem;
}

.btn-line:hover {
  background: var(--green);
  color: #fff;
}

.pill {
  display: inline-block;
  padding: 0.05em 0.7em;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: #fff;
  font-size: 0.8em;
  line-height: 1.6;
}

/* 顶栏：黑底，左侧标志返回首页，中间机型入口，右侧中英切换 */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  height: var(--nav-h);
  background: var(--black);
  color: #fff;
}

.top-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(0.5rem, 2vw, 2rem);
  align-items: center;
}

.top-links {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.top-links a {
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}

.top-links a:hover,
.top-links a.is-current {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.top-logo img {
  height: 20px;
  width: auto;
}

.lang {
  justify-self: end;
  height: 30px;
  padding: 0 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #fff;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}

.lang:hover {
  border-color: #fff;
}

/* 开场大图：整张照片铺满，文字压在左边墙面上；手机上文字挪到图上面 */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
}

.hero-copy {
  position: absolute;
  left: 12%;
  top: 22%;
  max-width: 42%;
}

.hero--detail .hero-copy {
  top: 24%;
}

/* Pro H 的房间图花瓶在左边，文字改压在右边那面墙上 */
.hero-copy--right {
  left: auto;
  right: 9%;
  max-width: 36%;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: pre-line;
}

.hero-sub {
  margin-top: 0.9em;
  color: var(--ink-2);
  font-size: var(--text-lead);
}

.hero .btn-solid {
  margin-top: 1.6em;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5em;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
}

.hero-tags {
  margin-top: 1.4em;
  color: var(--ink-2);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

@media (max-width: 1000px) {
  .hero-copy,
  .hero--detail .hero-copy {
    max-width: 52%;
    top: 18%;
  }
}

@media (max-width: 760px) {
  .hero-copy,
  .hero--detail .hero-copy {
    position: static;
    max-width: none;
    padding: 2.2rem var(--gutter) 1.6rem;
  }

  .hero-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 45% center;
  }

  .top-links {
    gap: 1rem;
  }
}

@media (max-width: 400px) {
  .top-logo img {
    height: 16px;
  }

  .top-links {
    gap: 0.65rem;
  }
}


/* 轮播：中间一张大的，两边各露一截，下面一排短线和两个圆按钮 */
.car-track {
  display: flex;
  gap: 1.5%;
  padding-inline: 19%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 19%;
  scrollbar-width: none;
}

.car-track::-webkit-scrollbar {
  display: none;
}

.car-slide {
  flex: 0 0 62%;
  aspect-ratio: 195 / 100;
  scroll-snap-align: center;
  background: var(--panel);
  overflow: hidden;
}

.car-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-nav {
  width: min(var(--max-w), 100% - 2 * var(--gutter));
  margin: 1.1rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-dots {
  display: flex;
  gap: 6px;
}

.car-dots span {
  width: 22px;
  height: 2px;
  background: #d9d9d9;
  transition: background-color var(--dur-fast);
}

.car-dots span.is-on {
  background: var(--ink);
}

.car-btns {
  display: flex;
  gap: 8px;
}

.car-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--ink-2);
  transition: border-color var(--dur-fast), color var(--dur-fast);
}

.car-btn:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

@media (max-width: 760px) {
  .car-track {
    padding-inline: 8%;
    scroll-padding-inline: 8%;
  }

  .car-slide {
    flex-basis: 84%;
  }
}

/* 进场：滚到视口里再浮上来 */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform 0.9s var(--ease-out);
}

.rv.is-in {
  opacity: 1;
  transform: none;
}

/* 页脚：黑底，左边标志和邮箱，右边分享 */
.foot {
  background: var(--black);
  color: #fff;
  padding: 3.2rem 0 3rem;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.foot-copyright {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: right;
}

.foot-logo {
  height: 22px;
  width: auto;
  margin-bottom: 1.1rem;
}

.foot-mail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.foot-mail:hover {
  color: #fff;
}

.foot-share {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.share {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  opacity: 0.85;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}

.share:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.share img {
  width: 18px;
  height: 18px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 8px);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur), transform var(--dur);
  z-index: var(--z-nav);
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .lang,
  .share,
  .top-links a {
    transition: none;
  }
}

  

/* Pro / Mini 详情页：一段一段往下排，每段「居中标题 + 一句话 + 图」，图的排法有六种：
   通栏 .bleed、两张 .two-up、三张 .three-up、左字右图 .split、田字 .grid2、轮播 .carousel */
.sec {
  padding-top: var(--sec-y);
}

.sec--soft {
  margin-top: var(--sec-y);
  padding-bottom: var(--sec-y);
  background: rgba(251, 251, 253, 0.86);
}

.sec--last {
  padding-bottom: var(--sec-y);
}

.sec-head {
  max-width: 64ch;
  margin: 0 auto var(--gap);
  padding-inline: var(--gutter);
  text-align: center;
}

.sec-head h2,
.split-copy h2,
.chain-copy h2 {
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
  white-space: pre-line;
}

.lead {
  margin-top: 0.9em;
  color: var(--ink-3);
  font-size: var(--text-lead);
  white-space: pre-line;
}

.note {
  margin-top: 1.4rem;
  color: var(--ink-3);
  font-size: var(--text-small);
  text-align: center;
  white-space: pre-line;
}

.bleed img {
  width: 100%;
}

.panel {
  position: relative;
  background: var(--panel);
  overflow: hidden;
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.two-up,
.three-up {
  display: grid;
  gap: 2%;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-up--narrow {
  grid-template-columns: repeat(2, minmax(0, 30%));
  justify-content: center;
  gap: 4%;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Pro H 的图只有 1000 宽，两张并排时各占 42%、单张最宽 900，免得放大到糊 */
.two-up--mid {
  grid-template-columns: repeat(2, minmax(0, 42%));
  justify-content: center;
  gap: 3%;
}

.wrap--narrow {
  width: min(900px, 100% - 2 * var(--gutter));
}

.wrap--tight {
  width: min(720px, 100% - 2 * var(--gutter));
}

.two-up figcaption {
  padding: 1.4rem 1rem 1.6rem;
  text-align: center;
  background: rgba(248, 249, 251, 0.9);
}

.two-up figcaption h3 {
  font-size: 0.95rem;
  font-weight: 500;
}

.two-up figcaption p {
  margin-top: 0.3rem;
  color: var(--ink-3);
  font-size: var(--text-small);
}

/* 左字右图 */
.split {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: var(--gap);
  align-items: center;
}

.split--rev {
  grid-template-columns: 1.35fr 1fr;
}

.split--rev .split-copy {
  order: 2;
}

.split-copy {
  padding-inline: 6%;
}

.split-copy .lead {
  white-space: pre-line;
}

/* 田字格：两格字两格图，图是正方形 */
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid2 .panel {
  aspect-ratio: 1;
}

.cell-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12% 14%;
}

.cell-copy h2 {
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.35;
  white-space: pre-line;
}

.cell-copy h3 {
  font-size: var(--text-h3);
  font-weight: 500;
  white-space: pre-line;
}

.cell-copy p {
  margin-top: 0.8em;
  color: var(--ink-3);
  font-size: var(--text-small);
  line-height: 1.8;
  white-space: pre-line;
}

/* 20 米袋：文字压在面板左上角的空白处，脚注压在底部 */
.chain-copy {
  position: absolute;
  left: 7%;
  top: 20%;
  max-width: 34%;
}

.chain-copy h2 {
  text-align: left;
}

.chain-copy .lead {
  margin-top: 0.6em;
  font-size: var(--text-small);
}

.chain-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5%;
  margin: 0;
}

/* 用户评价 */
.quote {
  margin-top: var(--sec-y);
  padding: var(--sec-y) var(--gutter);
  background: rgba(243, 247, 246, 0.9);
  text-align: center;
}

.quote h2 {
  font-size: var(--text-h2);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.quote blockquote {
  max-width: 60ch;
  margin: var(--gap) auto 0;
  font-size: var(--text-lead);
  line-height: 1.8;
}

.quote-by {
  margin-top: 1.2rem;
  color: var(--ink-3);
  font-size: var(--text-small);
}

.quote-by::before {
  content: "";
  display: inline-block;
  width: 2em;
  height: 1px;
  margin-right: 0.6em;
  background: currentColor;
  vertical-align: middle;
}

/* 三步说明图 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3%;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.step figure {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8%;
  background: #fff;
  border: 1px solid var(--line);
}

.step img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 1.1rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
}

.step p {
  margin-top: 0.4rem;
  color: var(--ink-3);
  font-size: var(--text-small);
}

/* 产品参数与清单 */
.spec-fig {
  max-width: 260px;
  margin: 0 auto var(--gap);
}

.spec-table {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  font-size: var(--text-small);
}

.spec-row {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  color: var(--ink-3);
}

.box-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4%;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.box-list figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box-list img {
  height: 200px;
  width: auto;
}

.box-list figcaption {
  margin-top: 1rem;
  color: var(--ink-3);
  font-size: var(--text-small);
}

@media (max-width: 1000px) {
  .split-copy {
    padding-inline: 0;
  }
}

@media (max-width: 760px) {
  .two-up--narrow,
  .two-up--mid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3%;
  }

  .three-up {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .split,
  .split--rev {
    grid-template-columns: 1fr;
  }

  .split--rev .split-copy {
    order: 0;
  }

  .split-copy {
    padding-inline: 0;
    text-align: center;
  }

  .split-copy h2 {
    text-align: center;
  }

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

  .cell-copy {
    padding: 2rem 0;
    text-align: center;
  }

  .cell-copy--after {
    order: 1;
  }

  .chain {
    display: flex;
    flex-direction: column;
  }

  .chain-copy {
    position: static;
    order: -1;
    max-width: none;
    text-align: center;
    padding: 2rem var(--gutter) 0;
    margin-bottom: 1.5rem;
  }

  .chain-copy h2 {
    text-align: center;
  }

  .chain-note {
    position: static;
    margin-top: 1.2rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step figure {
    height: 220px;
  }

  .spec-table {
    grid-template-columns: 1fr;
  }

  .box-list img {
    height: 120px;
  }
}

  