/* ==========================================================================
   城满电集团官网 · 设计系统  (assets/css/site.css)
   --------------------------------------------------------------------------
   工艺层规格（对齐小米 / Apple / Linear 的纪律）：
     · 零第三方依赖，无框架，单文件
     · 中文排版纪律：系统字体栈 / 字重只用 400·500·600 / 禁负字距 / 禁斜体
     · 数字全部 tabular-nums，大数字用等宽数字栈
     · 动效只用 transform + opacity，尊重 prefers-reduced-motion
     · 移动端优先：先按 375px 设计，再往上加
   与山东/云创两套租车落地页的区别：本套是集团站视觉系统，
   浅色骨架 + 电光蓝 + 能量青数据强调 + 深色数据带，不复用其 style.css。
   ========================================================================== */

/* ---------- 1. 设计 token ---------- */
:root {
  --brand: #3c3cd6;
  --brand-deep: #2a2aa6;
  --brand-soft: #efeffc;
  --brand-line: #d6d6f5;
  --energy: #00b48a;
  --energy-soft: #e6f7f2;

  --ink: #0e1116;
  --ink-2: #4a5260;
  --ink-3: #78808f;
  --ink-inverse: rgba(255, 255, 255, .88);
  --ink-inverse-2: rgba(255, 255, 255, .62);

  --paper: #ffffff;
  --paper-soft: #f6f7f9;
  --paper-mute: #eef0f4;
  --line: #e6e9ef;
  --line-strong: #d6dae2;

  --warn: #b06a12;
  --warn-soft: #fdf6e7;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(14, 17, 22, .04);
  --sh-sm: 0 2px 8px -2px rgba(14, 17, 22, .06), 0 1px 2px rgba(14, 17, 22, .04);
  --sh-md: 0 12px 28px -14px rgba(14, 17, 22, .16);
  --sh-lg: 0 28px 60px -28px rgba(14, 17, 22, .24);

  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: 20px;

  --sec-y: 112px;
  --sec-y-sm: 72px;
  --gap: 24px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-num: "SF Mono", "DIN Alternate", "Roboto Mono", ui-monospace,
              Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .68, .32, 1);
  --dur: .5s;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: normal;
  font-synthesis-weight: none;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.24; letter-spacing: normal; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* hidden 属性必须真的隐藏：作者样式里的 display:flex/grid 会覆盖 UA 的 [hidden]{display:none}，
   导致「本应隐藏」的套餐组、结果卡片一起露出来（2026-10-15 在线预订页实测踩到）。 */
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--r-xs); }

.num, .metric__value, .stat__value, .price, td.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 3. 布局工具 ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: var(--sec-y) 0; }
.section--sm { padding: var(--sec-y-sm) 0; }
.section--soft { background: var(--paper-soft); }
.section--dark { background: var(--ink); color: var(--ink-inverse); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight-top { padding-top: 0; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 40px; }
.mt-xl { margin-top: 64px; }

/* ---------- 4. 排版 ---------- */
.display { font-size: clamp(30px, 5.2vw, 60px); font-weight: 600; line-height: 1.16; }
.h1 { font-size: clamp(26px, 4vw, 44px); }
.h2 { font-size: clamp(22px, 2.6vw, 34px); }
.h3 { font-size: clamp(18px, 1.6vw, 22px); }
.h4 { font-size: 17px; }

.lead { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.75; color: var(--ink-2); }
.section--dark .lead { color: var(--ink-inverse-2); }
.muted { color: var(--ink-2); }
.muted-3 { color: var(--ink-3); }
.small { font-size: 13px; line-height: 1.65; }
.tiny { font-size: 12px; line-height: 1.6; }

.eyebrow {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section--dark .eyebrow { color: var(--energy); }

.sec-head { max-width: 720px; }
.sec-head--center { margin: 0 auto; text-align: center; }
.sec-head .h2 { margin-top: 10px; }
.sec-head .lead { margin-top: 16px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--dark .rule { background: rgba(255, 255, 255, .12); }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px rgba(60, 60, 214, .7); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--on-dark { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--on-dark:hover { background: rgba(255, 255, 255, .1); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; color: var(--brand); }
.link-arrow::after {
  content: "";
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transition: transform .25s var(--ease);
}
.link-arrow:hover::after { transform: translateX(3px); }
.section--dark .link-arrow { color: #7fa8ff; }

/* ---------- 6. 徽标 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500; line-height: 1.5;
  background: var(--paper-mute); color: var(--ink-2);
}
.badge--brand { background: var(--brand-soft); color: var(--brand-deep); }
.badge--energy { background: var(--energy-soft); color: #0a7d60; }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
/* 内容为空的徽标不占位（套餐卡角标来自数据源，可能为空字符串） */
.badge:empty { display: none; }
.section--dark .badge { background: rgba(255, 255, 255, .1); color: var(--ink-inverse); }

.award {
  display: flex; align-items: baseline; gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}
.award__n { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 600; color: var(--brand); }
.award__t { font-size: 14px; color: var(--ink-2); }

/* ---------- 7. 头部导航 ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 18px; background: var(--ink); color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo__mark { width: 30px; height: 30px; flex: 0 0 auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__cn { font-size: 17px; font-weight: 600; }
.logo__en { font-family: var(--font-num); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.nav__link:hover { background: var(--paper-mute); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__caret {
  width: 9px; height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .25s var(--ease);
  opacity: .55;
}
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(225deg) translate(-2px, -2px); }

.nav__panel {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 236px; padding: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a {
  display: block; padding: 9px 12px; border-radius: var(--r-xs);
  font-size: 14.5px; color: var(--ink-2);
  transition: background-color .18s, color .18s;
}
.nav__panel a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav__panel-desc { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
/* 右侧导航项的下拉改为右对齐：否则在约 1024px 视口下会超出右边界、触发横向滚动 */
.nav__item:nth-last-child(-n+2) > .nav__panel { left: auto; right: 0; }

.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.burger {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; padding: 0; place-items: center;
}
.burger span { display: block; width: 16px; height: 1.6px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.6px; background: var(--ink);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.drawer { position: fixed; inset: 0; z-index: 120; display: none; }
.drawer[data-open="true"] { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(14, 17, 22, .45); }
.drawer__panel {
  position: absolute; top: 0; right: 0;
  width: min(88vw, 360px); height: 100%;
  overflow-y: auto; background: #fff; padding: 20px;
  box-shadow: var(--sh-lg);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__close {
  width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: 20px; line-height: 1;
}
.drawer__group { border-top: 1px solid var(--line); padding: 14px 0; }
.drawer__group:first-of-type { border-top: 0; }
.drawer__title { font-size: 15px; font-weight: 600; }
.drawer__sub { margin-top: 6px; display: grid; gap: 2px; }
.drawer__sub a { padding: 8px 0; font-size: 14.5px; color: var(--ink-2); }
.drawer__cta { margin-top: 18px; }

/* ---------- 8. 首屏 ---------- */
.hero { padding: 84px 0 92px; }
.hero--home { padding: 76px 0 88px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px; align-items: center;
}
.hero__eyebrow { margin-bottom: 18px; }
.hero__title { margin-bottom: 22px; }
.hero__desc { max-width: 30em; margin-bottom: 30px; }
.hero__actions { margin-bottom: 34px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
.trust__item { display: flex; align-items: baseline; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
.trust__num { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 600; color: var(--ink); }

/* ---------- 满屏视频首屏（移动端只给封面，不加载视频） ---------- */
.hero--video { position: relative; overflow: hidden; padding: 0; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture, .hero__media img, .hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__media video { opacity: 0; transition: opacity .9s var(--ease); }
.hero__media video.is-playing { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,10,14,.93) 0%, rgba(8,10,14,.74) 36%, rgba(8,10,14,.36) 66%, rgba(8,10,14,.2) 100%),
    linear-gradient(180deg, rgba(8,10,14,.5) 0%, rgba(8,10,14,0) 32%, rgba(8,10,14,.6) 100%);
}
/* 只设上下内边距：写成 padding:96px 0 会把 .wrap 的左右留白一起覆盖掉，
   导致手机端首屏文字贴边、看起来像被裁切（2026-10-15 反馈）。 */
.hero__inner { position: relative; z-index: 1; color: #fff; padding-top: 96px; padding-bottom: 96px; }
.hero--video .hero__title { color: #fff; }
.hero--video .lead { color: rgba(255, 255, 255, .84); }
.hero--video .eyebrow { color: var(--energy); }
.trust--dark .trust__item { color: rgba(255, 255, 255, .78); }
.trust--dark .trust__num { color: #fff; }
/* ---------- 9. 卡片 ---------- */
.card {
  display: flex; flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand-line); }
.card__idx { font-family: var(--font-num); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--ink-3); }
.card__title { margin: 12px 0 8px; font-size: 19px; font-weight: 600; }
.card__desc { font-size: 14.5px; color: var(--ink-2); }
.card__foot { margin-top: auto; padding-top: 20px; }
.card__list { margin-top: 14px; display: grid; gap: 8px; }
.card__list li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ink-2); }
.card__list li::before {
  content: ""; position: absolute; left: 0; top: .66em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .5;
}
.card--link:hover .card__title { color: var(--brand-deep); }
.card--flat { background: var(--paper-soft); border-color: transparent; }
.card--flat:hover { background: #fff; border-color: var(--brand-line); }

.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .card__desc, .section--dark .card__list li { color: var(--ink-inverse-2); }
.section--dark .card__list li::before { background: var(--energy); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); }

/* ---------- 10. 指标 ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.stat { padding: 26px 22px; background: #fff; }
.stat__value { font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.1; }
.stat__unit { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-left: 3px; }
.stat__label { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.stat__note { margin-top: 4px; font-size: 11.5px; color: var(--ink-3); }

.section--dark .stat-row { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .12); }
.section--dark .stat { background: transparent; }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: var(--ink-inverse-2); }
.section--dark .stat__note { color: rgba(255, 255, 255, .45); }
.section--dark .stat__unit { color: var(--energy); }

.databand { position: relative; overflow: hidden; }
.databand::before {
  content: ""; position: absolute; inset: -20% -10% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 180, 138, .18), transparent 62%);
  pointer-events: none;
}
.databand__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 28px;
}
.metric { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px; min-width: 0; }
/* 六位数指标（如 38,936,597）在 52px 下会撑出列宽与相邻列重叠，按列宽收敛字号并禁止折行 */
.metric__value {
  font-size: clamp(24px, 2.9vw, 38px);
  font-weight: 600; line-height: 1.08; color: #fff;
  white-space: nowrap;
}
.metric__unit { font-size: 15px; font-weight: 500; color: var(--energy); margin-left: 4px; }
.metric__label { margin-top: 10px; font-size: 14px; color: var(--ink-inverse); }
.metric__note { margin-top: 3px; font-size: 11.5px; color: rgba(255, 255, 255, .42); }

/* ---------- 11. 标签页 ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs__btn {
  padding: 9px 18px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: #fff; font-size: 14.5px; color: var(--ink-2);
  transition: all .2s;
}
.tabs__btn:hover { border-color: var(--ink-3); }
.tabs__btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs__panel[hidden] { display: none; }

/* ---------- 12. 折叠 ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 20px 0;
  border: 0; background: none; text-align: left;
  font-size: 16px; font-weight: 500;
}
.acc__btn::after {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px;
  border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.acc__btn[aria-expanded="true"]::after { transform: rotate(225deg); }
.acc__panel { padding: 0 0 22px; font-size: 14.5px; color: var(--ink-2); max-width: 68ch; }
.acc__panel[hidden] { display: none; }
.section--dark .acc, .section--dark .acc__item { border-color: rgba(255, 255, 255, .14); }
.section--dark .acc__panel { color: var(--ink-inverse-2); }

/* ---------- 13. 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.table { min-width: 560px; font-size: 14.5px; }
.table th, .table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-weight: 500; color: var(--ink-2); background: var(--paper-soft); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table td.num { text-align: right; }
.table--spec th { width: 38%; }
.table--spec td { color: var(--ink-2); }

/* ---------- 14. 价格卡 ---------- */
/* 卡片用 <article>：补上 article 的默认外边距，并让卡片内部元素自己管间距 */
article.price-card { margin: 0; }
.price-card {
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.price-card--hot { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.price-card__tag { margin: 0 0 12px; }
.price-card__tag:empty { display: none; }
.price-card__name { margin: 0; font-size: 17px; font-weight: 600; }
.price-card__prices { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 0; }
.price-card__now { font-size: 30px; font-weight: 600; color: var(--brand); }
.price-card__now small { font-size: 15px; font-weight: 500; }
.price-card__was { font-size: 13.5px; color: var(--ink-3); text-decoration: line-through; }
.price-card__meta { margin: auto 0 0; padding-top: 16px; font-size: 12.5px; color: var(--ink-3); }
/* 角标来自数据源（tag 可能为空字符串）：有角标的那张卡自己高亮，无需模板条件判断 */
.price-card:has(.price-card__tag .badge) { border-color: var(--brand-line); background: var(--brand-soft); }
.price-card:has(.price-card__tag .badge) .price-card__meta { color: var(--brand-deep); }

/* ---------- 15. 时间线 / 步骤 ---------- */
.timeline { border-left: 2px solid var(--line); padding-left: 26px; display: grid; gap: 34px; }
.tl-year { font-family: var(--font-num); font-size: 15px; font-weight: 600; color: var(--brand); }
.tl-items { margin-top: 10px; display: grid; gap: 8px; }
.tl-items li { position: relative; font-size: 14.5px; color: var(--ink-2); }
.tl-items li::before {
  content: ""; position: absolute; left: -33px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand);
}

.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: #fff; padding: 26px 22px; }
.step__n { font-family: var(--font-num); font-size: 13px; font-weight: 600; color: var(--brand); }
.step__t { margin-top: 10px; font-size: 16px; font-weight: 600; }
.step__d { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* ---------- 16. 表单 ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 7px; }
.field > label, .field__label { font-size: 14px; font-weight: 500; }
.field__req { color: #d64545; margin-left: 2px; }
.field__hint { font-size: 12px; color: var(--ink-3); }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(60, 60, 214, .14);
}
.textarea { min-height: 88px; resize: vertical; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-size: 14px; cursor: pointer; transition: all .2s;
}
.radio input { margin: 0; accent-color: var(--brand); }
.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); }
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form__status { font-size: 14px; }
.form__status[data-state="sending"] { color: var(--ink-2); }
.form__status[data-state="done"] { color: #0a7d60; }
.form__status[data-state="error"] { color: #c0392b; }

.modal { position: fixed; inset: 0; z-index: 140; display: none; }
.modal[data-open="true"] { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14, 17, 22, .5); }
.modal__panel {
  position: relative;
  width: min(94vw, 640px); max-height: 88vh; overflow-y: auto;
  margin: 6vh auto; padding: 30px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.modal__close { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--ink-3); padding: 4px; }
.modal__close:hover { color: var(--ink); }


/* ---------- 17. 实景循环视频（滚动到视口才加载） ---------- */
.media-video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-soft);
}
/* ---------- 18. 公告 ---------- */
.ann-list { border-top: 1px solid var(--line); }
.ann-item { display: flex; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding-left .25s var(--ease); }
.ann-item:hover { padding-left: 6px; }
.ann-item__date { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: 13.5px; color: var(--ink-3); flex: 0 0 auto; }
.ann-item__title { font-size: 16px; font-weight: 500; }
.ann-item:hover .ann-item__title { color: var(--brand); }

.ann-body { font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }
.ann-body h2 { font-size: 18px; color: var(--ink); margin: 30px 0 12px; }
.ann-body p { margin: 14px 0; }
.ann-body ul { margin: 14px 0; display: grid; gap: 8px; }
.ann-body li { position: relative; padding-left: 18px; }
.ann-body li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .5; }
.ann-body .stamp { display: block; margin-top: 34px; text-align: right; color: var(--ink-3); font-size: 14.5px; }

/* ---------- 19. 面包屑与内页头 ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--brand); }
.crumb span[aria-hidden] { color: var(--line-strong); }

.page-head { padding: 54px 0 46px; border-bottom: 1px solid var(--line); background: var(--paper-soft); }
.page-head__title { margin: 14px 0 0; }
.page-head__desc { margin-top: 14px; max-width: 62ch; }

/* ---------- 扫码卡片（小程序码 / 二维码） ---------- */
.qr-card {
  display: flex; align-items: center; gap: 22px;
  margin: 0; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff;
}
.qr-card img {
  flex: 0 0 auto; width: 128px; height: 128px;
  border-radius: var(--r-sm); background: #fff;
}
.qr-card figcaption { display: grid; gap: 6px; }
.qr-card figcaption b { font-size: 16px; font-weight: 600; }
.qr-card figcaption span { font-size: 13.5px; color: var(--ink-2); }
.section--dark .qr-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.section--dark .qr-card figcaption span { color: var(--ink-inverse-2); }
@media (max-width: 640px) {
  .qr-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; }
  .qr-card img { width: 148px; height: 148px; }
}
/* ---------- 20. 页脚 ---------- */
.site-footer { background: var(--ink); color: var(--ink-inverse-2); padding: 68px 0 30px; }
.site-footer h3 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.site-footer a { color: var(--ink-inverse-2); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__about { max-width: 34ch; }
.footer__about .logo__cn { color: #fff; }
.footer__about .logo__en { color: rgba(255, 255, 255, .5); }
.footer__list { display: grid; gap: 9px; font-size: 14px; }
.footer__qr { display: flex; gap: 18px; margin-top: 18px; }
.footer__qr figure { margin: 0; text-align: center; }
.footer__qr img { width: 92px; height: 92px; border-radius: var(--r-sm); background: #fff; padding: 5px; }
.footer__qr figcaption { margin-top: 7px; font-size: 11.5px; }
.footer__bottom {
  margin-top: 52px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: space-between;
  font-size: 12.5px;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, .92); box-shadow: var(--sh-sm);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .3s;
}
.to-top[data-show="true"] { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-2px); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- 21. 进入动效 ---------- */
/* 只在 <html class="js"> 时隐藏，避免 JS 失效导致内容不可见 */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal[data-shown="true"] { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
.js .reveal[data-d="4"] { transition-delay: .32s; }
.js .reveal[data-d="5"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .site-footer, .to-top, .drawer, .modal { display: none !important; }
  .section { padding: 20px 0; }
}

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1024px) {
  :root { --sec-y: 84px; --sec-y-sm: 60px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__visual { max-width: 560px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split--reverse .split__media { order: 0; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta__login { display: none; }   /* 窄屏用抽屉里的登录入口 */
  .burger { display: grid; }
  .header-cta .btn { display: none; }
  /* 把右边的推挤交还给 header-cta：
     原先 .nav 上的 margin-left:auto 会随 .nav 一起被隐藏，
     结果汉堡按钮紧贴 logo 停在左侧（2026-10-15 手机端反馈）。 */
  .header-cta { margin-left: auto; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --sec-y: 64px; --sec-y-sm: 48px; --gutter: 16px; }
  .hero { padding: 40px 0 56px; }
  .hero__inner { padding-top: 56px; padding-bottom: 64px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 步骤条在窄屏塌成单列：auto-fit 的 220px 下限会在 390px 视口下溢出 */
  .steps { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .modal__panel { padding: 22px; margin: 3vh auto; }
  .ann-item { flex-direction: column; gap: 6px; }
  .dotmap__count b { font-size: 24px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn--inline-mobile { width: auto; }
}
/* 订单信息（在线预订结果与订单查询共用） */
.order-sum { display: grid; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-md, 12px); overflow: hidden; }
.order-sum > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
}
.order-sum > div:last-child { border-bottom: 0; }
.order-sum dt { font-size: 13px; color: var(--ink-3); flex: 0 0 auto; }
.order-sum dd { font-size: 14px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
/* 提示条（收银台演示说明等） */
.notice { padding: 16px 18px; border-radius: var(--r-md, 12px); border: 1px solid var(--line); background: var(--paper-soft); font-size: 14px; }
.notice b { font-weight: 600; }
.notice--warn { border-color: #f0d9a8; background: #fffaf0; }
.notice--warn b { color: #8a5a00; }
/* 应付金额 */
.pay-amount { font-size: 15px; color: var(--ink-2); }
.pay-amount b { font-family: var(--font-num); font-size: 30px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; margin-left: 8px; }
/* 我的订单列表（订单查询页） */
.orders { margin-top: 16px; border-top: 1px solid var(--line); }
.order-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.order-item__title { font-size: 15px; font-weight: 500; }
.order-item__side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.order-item__price { font-family: var(--font-num); font-size: 16px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .order-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .order-item__side { gap: 10px; }
}

/* ══ 满电之家商城：列表 / 详情 / 购物车 ═══════════════════════════
   设计参考：京东店铺模块开发手册的 Price 组件规范
   （货币符号小号左下、整数最大、小数右下小号、原价划线、主推"到手价 + 原价"双价格）
   https://opendoc.jd.com/shop/newisv/docs/components/price
   ══════════════════════════════════════════════════════════════ */

/* ── 商城横幅 ───────────────────────────────────────────────── */
.shop-hero {
  position: relative; overflow: hidden;
  margin-top: 18px; padding: 34px 32px; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 88% 10%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(120deg, var(--brand-deep), var(--brand) 58%, #5b46e0);
  color: #fff;
}
.shop-hero__eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }
.shop-hero__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; margin-top: 8px; }
.shop-hero__desc { margin-top: 10px; max-width: 46em; font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, .86); }
.shop-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.shop-hero .btn--primary { background: #fff; color: var(--brand-deep); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.shop-hero .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.shop-hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ── 服务保障条 ─────────────────────────────────────────────── */
.shop-promise {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r-md, 12px);
  background: var(--line); overflow: hidden;
}
.shop-promise > div { background: var(--paper); padding: 14px 16px; }
.shop-promise b { display: block; font-size: 13.5px; font-weight: 600; }
.shop-promise span { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-3); }

/* ── 工具条：分类 + 搜索 + 排序 ─────────────────────────────── */
.shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--btn { cursor: pointer; font: inherit; }
.chip--btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.shop-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.shop-search { flex: 0 1 240px; }
.shop-sort { display: flex; gap: 6px; }
.shop-sort button {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font: inherit; font-size: 12.5px; color: var(--ink-2); cursor: pointer;
}
.shop-sort button[aria-pressed="true"] { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }

/* ── 区块标题 ───────────────────────────────────────────────── */
.shop-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 26px; }
.shop-sec-head h2 { font-size: 18px; font-weight: 600; }
.shop-sec-head p { font-size: 12.5px; color: var(--ink-3); }

/* ── 商品卡片 ───────────────────────────────────────────────── */
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.shop-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-md, 12px);
  background: var(--paper); overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.shop-card:hover { box-shadow: 0 20px 44px -26px rgba(14, 17, 22, .3); transform: translateY(-3px); border-color: var(--brand-line); }
.shop-card__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--brand-soft), var(--paper-mute) 70%);
  text-decoration: none;
}
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; }
.shop-card__initial { font-size: 46px; font-weight: 600; color: var(--brand-deep); opacity: .42; }
.shop-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badge--soft { background: rgba(255, 255, 255, .95); color: var(--brand-deep); border: 1px solid var(--brand-line); box-shadow: 0 2px 8px -4px rgba(14, 17, 22, .25); }
.badge--warn-soft { background: rgba(255, 106, 0, .12); color: #b34a00; border: 1px solid rgba(255, 106, 0, .3); }
.badge--sold { background: rgba(14, 17, 22, .72); color: #fff; }
.shop-card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  opacity: 0; transform: translateY(6px); transition: opacity .22s, transform .22s;
}
.shop-card:hover .shop-card__quick { opacity: 1; transform: none; }
.shop-card__quick .btn { width: 100%; }
.shop-card__body { display: flex; flex-direction: column; gap: 7px; padding: 13px 14px 15px; flex: 1; }
.shop-card__cat { font-size: 11.5px; color: var(--ink-3); }
.shop-card__name { font-size: 14.5px; font-weight: 500; line-height: 1.5; min-height: 2.9em; }
.shop-card__name a { color: inherit; text-decoration: none; }
.shop-card__name a:hover { color: var(--brand); }
.shop-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.shop-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; font-size: 12px; color: var(--ink-3); }

/* ── 价格块（京东式：小号 ¥ + 大号整数 + 小号小数 + 原价划线）── */
.price { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__label { font-size: 11.5px; color: var(--ink-3); }
.price__now { display: inline-flex; align-items: baseline; color: var(--brand); }
.price__now .sym { font-size: 12px; line-height: 1; margin-right: 1px; }
.price__now .int { font-family: var(--font-num); font-size: 22px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.price__now .dec { font-family: var(--font-num); font-size: 13px; font-weight: 600; line-height: 1; }
.price__was { font-size: 12.5px; color: var(--ink-3); text-decoration: line-through; }
.price__unit { font-size: 12px; color: var(--ink-3); }
.price--lg .price__now .int { font-size: 34px; }
.price--lg .price__now .sym { font-size: 16px; }
.price--lg .price__now .dec { font-size: 17px; }
.price--lg .price__was { font-size: 14px; }

/* ── 商品详情 ───────────────────────────────────────────────── */
.pd { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: start; margin-top: 18px; }
.pd__main { display: grid; place-items: center; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(150deg, var(--brand-soft), var(--paper-mute) 70%); overflow: hidden; }
.pd__main img { width: 100%; height: 100%; object-fit: cover; }
.pd__main span { font-size: 96px; font-weight: 600; color: var(--brand-deep); opacity: .4; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd__thumb { display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-soft); font-size: 22px; font-weight: 600; color: var(--brand-deep); opacity: .55; cursor: pointer; }
.pd__thumb[aria-pressed="true"] { border-color: var(--brand); opacity: 1; background: var(--brand-soft); }
.pd__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pd__promise { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--r-md, 12px); font-size: 12.5px; color: var(--ink-2); }
.pd__promise b { font-weight: 600; color: var(--ink); }
.pd__buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 18px; }

/* 数量步进器 */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--paper); }
.qty button { width: 34px; height: 36px; border: 0; background: var(--paper-soft); font: inherit; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.qty button:hover { background: var(--brand-soft); color: var(--brand-deep); }
.qty input { width: 52px; height: 36px; border: 0; text-align: center; font: inherit; font-size: 14px; font-variant-numeric: tabular-nums; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pd__desc { font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.pd__specs th { width: 34%; color: var(--ink-3); font-weight: 400; }

/* ── 购物车 ─────────────────────────────────────────────────── */
.cart-head, .cart-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) 120px 130px 110px 60px; gap: 14px; align-items: center; }
.cart-head { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.cart-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item__info { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cart-item__thumb { display: grid; place-items: center; width: 62px; height: 62px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(150deg, var(--brand-soft), var(--paper-mute)); font-size: 20px; font-weight: 600; color: var(--brand-deep); opacity: .6; }
.cart-item__name { font-size: 14.5px; font-weight: 500; }
.cart-item__price, .cart-item__sum { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.cart-item__sum { font-size: 16px; font-weight: 600; color: var(--ink); }
.cart-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand); }
.cart-item__del { border: 0; background: none; font: inherit; font-size: 12.5px; color: var(--ink-3); cursor: pointer; }
.cart-item__del:hover { color: #c0392b; }
.cart-bar {
  position: sticky; bottom: 0; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md, 12px);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  box-shadow: 0 -10px 30px -22px rgba(14, 17, 22, .35);
}
.cart-bar__left { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ink-2); }
.cart-bar__total { display: flex; align-items: baseline; gap: 8px; }
.cart-bar__total b { font-family: var(--font-num); font-size: 26px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }

@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .shop-promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-head { display: none; }
  .cart-item { grid-template-columns: 24px minmax(0, 1fr); grid-auto-rows: auto; row-gap: 8px; }
  .cart-item__qty, .cart-item__sum, .cart-item__del { grid-column: 2; }
}
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-card__initial { font-size: 34px; }
  .shop-card__name { font-size: 13.5px; }
  .price__now .int { font-size: 19px; }
  .shop-hero { padding: 24px 20px; }
  .pd__main span { font-size: 64px; }
  .cart-bar { flex-direction: column; align-items: stretch; }
}
