/* ==========================================================================
   重庆陌然食品饮料有限公司 — 站点样式表
   浅色专业风格 · 主色 深青蓝 #1a6b78 / 点缀 暖橙 #d97706
   ========================================================================== */

:root {
  --c-primary: #16697a;
  --c-primary-dark: #0f5260;
  --c-primary-light: #e6f2f4;
  --c-accent: #c2703a;
  --c-accent-light: #fdf2e9;
  --c-text: #1f2a30;
  --c-text-mid: #4d5b63;
  --c-text-soft: #7c8a92;
  --c-line: #e2e8ec;
  --c-line-soft: #eef2f5;
  --c-bg: #f5f7f9;
  --c-white: #ffffff;
  --c-success: #1f8a5f;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 2px rgba(25, 45, 55, .05);
  --shadow: 0 3px 14px rgba(25, 45, 55, .07);
  --shadow-lg: 0 10px 34px rgba(25, 45, 55, .1);
  --max: 1220px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.4; }
p { margin: 0 0 10px; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- 图标 */
.icon { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: -3px; }
.module-card__icon svg, .feature__icon svg, .empty-state__icon svg,
.hero__badge-ico svg, .stat__icon svg, .adv__icon svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- 顶栏 */
.topbar {
  background: #f0f3f5;
  border-bottom: 1px solid var(--c-line);
  font-size: 12.5px;
  color: var(--c-text-mid);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar__left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar__left strong { color: var(--c-primary); font-weight: 700; }
.topbar__tip { color: var(--c-text-soft); }
.topbar__user { display: flex; align-items: center; gap: 8px; }
.topbar__sep { width: 1px; height: 11px; background: #ccd6dc; }
.topbar__link { color: var(--c-text-mid); }
.topbar__link:hover { color: var(--c-primary); }
.topbar__link--strong { color: var(--c-accent); font-weight: 600; }

/* ---------------------------------------------------------------- 头部 */
.header { background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.header__main { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(140deg, var(--c-primary), #248ea1);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(22, 105, 122, .26);
}
.brand__logo svg { width: 24px; height: 24px; }
.brand__name { font-size: 17px; font-weight: 700; letter-spacing: .2px; color: var(--c-text); }

.header__tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__search {
  display: flex; align-items: center; height: 40px;
  border: 1.5px solid var(--c-primary); border-radius: 22px;
  overflow: hidden; background: #fff; width: 340px;
}
.header__search-icon { color: var(--c-text-soft); padding: 0 4px 0 14px; display: flex; }
.header__search input {
  flex: 1; border: 0; outline: none; padding: 0 10px; height: 100%;
  background: transparent; min-width: 0;
}
.header__search input::placeholder { color: #a9b4ba; }
.header__search button {
  border: 0; height: 100%; padding: 0 22px;
  background: var(--c-primary); color: #fff; font-size: 14px; font-weight: 600;
}
.header__search button:hover { background: var(--c-primary-dark); }

.header__cart {
  display: flex; align-items: center; gap: 7px; height: 40px;
  padding: 0 16px; border: 1px solid var(--c-line); border-radius: 22px;
  background: #fff; color: var(--c-text-mid); font-weight: 600; position: relative;
  transition: .18s;
}
.header__cart:hover { border-color: var(--c-primary); color: var(--c-primary); }
.header__cart-badge {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--c-accent); color: #fff; font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}

.burger {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  background: #fff; color: var(--c-text-mid); margin-left: auto;
}

/* ---------------------------------------------------------------- 导航 */
.nav { border-top: 1px solid var(--c-line-soft); }
.nav__inner { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 13px 20px; font-size: 15px; font-weight: 600; color: var(--c-text-mid);
  border-bottom: 2.5px solid transparent; transition: .18s;
}
.nav__link:hover { color: var(--c-primary); }
.nav__link.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }

/* ---------------------------------------------------------------- 通用块 */
.section { padding: 40px 0; }
.section--tight { padding: 28px 0; }
.section--white { background: var(--c-white); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.section-head__title { font-size: 22px; letter-spacing: .2px; position: relative; padding-left: 15px; }
.section-head__title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 19px; border-radius: 2px; background: var(--c-primary);
}
.section-head__sub { color: var(--c-text-soft); font-size: 13.5px; margin-top: 5px; padding-left: 15px; }
.section-head__more {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--c-primary); font-weight: 600; font-size: 13.5px;
}
.section-head__more:hover { gap: 9px; }

/* ---------------------------------------------------------------- 首屏 */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #10434f 0%, #16697a 52%, #217f91 100%);
  color: #fff; padding: 55px 0 60px;
}
.hero::after {
  content: ""; position: absolute; right: -110px; top: -110px;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .045);
}
.hero::before {
  content: ""; position: absolute; left: -80px; bottom: -140px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255, 255, 255, .035);
}
.hero__inner { position: relative; z-index: 2; max-width: 700px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px; margin-bottom: 18px;
}
.hero__title { font-size: 33px; line-height: 1.35; margin-bottom: 15px; letter-spacing: .4px; }
.hero__desc { font-size: 15px; color: rgba(255, 255, 255, .82); margin-bottom: 26px; max-width: 620px; }
.hero__actions { display: flex; gap: 13px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 26px; border-radius: 23px; border: 1.5px solid transparent;
  font-size: 15px; font-weight: 600; transition: .18s; white-space: nowrap;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: #eaf5f7; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--ghost-dark { border-color: var(--c-line); color: var(--c-text-mid); background: #fff; }
.btn--ghost-dark:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: #a95f2f; }
.btn--block { width: 100%; }
.btn--sm { height: 36px; padding: 0 17px; font-size: 13.5px; border-radius: 19px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.hero__stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 42px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 24px;
}
.hero__stat { padding-right: 18px; }
.hero__stat-num { font-size: 25px; font-weight: 700; letter-spacing: .5px; }
.hero__stat-num small { font-size: 13px; font-weight: 400; margin-left: 3px; opacity: .75; }
.hero__stat-label { font-size: 13px; color: rgba(255, 255, 255, .7); margin-top: 2px; }

/* ---------------------------------------------------------- 双模块入口 */
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.module-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 14px;
  padding: 28px 28px 24px; display: flex; flex-direction: column;
  transition: .2s; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.module-card::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 150px; height: 150px;
  border-radius: 50%; background: var(--c-primary-light); opacity: .55; transition: .25s;
}
.module-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: #cfe0e4; }
.module-card:hover::after { transform: scale(1.18); }
.module-card__icon {
  position: relative; z-index: 2;
  width: 52px; height: 52px; border-radius: 13px; padding: 13px;
  background: var(--c-primary-light); color: var(--c-primary); margin-bottom: 17px;
}
.module-card__icon--accent { background: var(--c-accent-light); color: var(--c-accent); }
.module-card__title { position: relative; z-index: 2; font-size: 19px; margin-bottom: 9px; }
.module-card__desc { position: relative; z-index: 2; color: var(--c-text-mid); font-size: 13.8px; flex: 1; }
.module-card__tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 18px; }
.module-card__actions { position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3.5px 11px; border-radius: 13px; font-size: 12.5px;
  background: var(--c-primary-light); color: var(--c-primary); font-weight: 600;
}
.chip--accent { background: var(--c-accent-light); color: var(--c-accent); }
.chip--line { background: #fff; border: 1px solid var(--c-line); color: var(--c-text-mid); font-weight: 500; }
.chip--sm { padding: 2px 9px; font-size: 12px; }

/* -------------------------------------------------------------- 商品卡 */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: #cfe0e4; transform: translateY(-2px); }
.product-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #f7f9fa; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__badge {
  position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 12px;
  background: rgba(22, 105, 122, .92); color: #fff; font-size: 11.5px; font-weight: 600;
}
.product-card__body { padding: 13px 14px 15px; display: flex; flex-direction: column; flex: 1; }
.product-card__name {
  font-size: 14.2px; font-weight: 600; line-height: 1.55; height: 44px; overflow: hidden;
  margin-bottom: 7px; color: var(--c-text);
}
.product-card__name:hover { color: var(--c-primary); }
.product-card__meta { font-size: 12.3px; color: var(--c-text-soft); display: flex; align-items: center; gap: 5px; margin-bottom: 9px; }
.product-card__meta .icon { width: 14px; height: 14px; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 11px; min-height: 21px; }
.product-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 9px; }
.price { color: var(--c-accent); font-weight: 700; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__now { font-size: 19px; letter-spacing: -.2px; }
.price__old { font-size: 12.3px; color: var(--c-text-soft); text-decoration: line-through; font-weight: 400; }
.price__unit { font-size: 12.3px; color: var(--c-text-soft); font-weight: 400; }

/* -------------------------------------------------------------- 筛选栏 */
.filter-bar {
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 22px;
}
.filter-row { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; }
.filter-row + .filter-row { border-top: 1px dashed var(--c-line-soft); }
.filter-row__label { flex: 0 0 74px; color: var(--c-text-soft); font-size: 13.5px; padding-top: 5px; }
.filter-row__items { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.filter-tag {
  padding: 5px 15px; border-radius: 16px; font-size: 13.5px;
  background: #f2f5f7; color: var(--c-text-mid); border: 1px solid transparent; transition: .16s;
}
.filter-tag:hover { background: var(--c-primary-light); color: var(--c-primary); }
.filter-tag.is-active { background: var(--c-primary); color: #fff; font-weight: 600; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; margin-bottom: 18px;
}
.toolbar__count { color: var(--c-text-mid); font-size: 13.5px; }
.toolbar__count b { color: var(--c-accent); font-size: 15px; }
.toolbar__sort { display: flex; gap: 7px; align-items: center; }
.toolbar__sort span { color: var(--c-text-soft); font-size: 13.5px; }

/* -------------------------------------------------------------- 面包屑 */
.crumb { padding: 14px 0; font-size: 13px; color: var(--c-text-soft); display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.crumb a { color: var(--c-text-mid); }
.crumb a:hover { color: var(--c-primary); }
.crumb__sep { color: #c3ced4; }

/* -------------------------------------------------------- 商品详情布局 */
.detail-wrap { display: grid; grid-template-columns: 440px 1fr; gap: 32px; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 26px; }
.gallery__main {
  aspect-ratio: 1 / 1; border: 1px solid var(--c-line); border-radius: 10px;
  overflow: hidden; background: #f7f9fa; margin-bottom: 12px;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.gallery__thumb {
  aspect-ratio: 1 / 1; border: 1.5px solid var(--c-line); border-radius: 8px;
  overflow: hidden; background: #f7f9fa; padding: 0; cursor: pointer; transition: .16s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--c-primary); }

.detail__title { font-size: 22px; line-height: 1.5; margin-bottom: 14px; }
.detail__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }

.price-box {
  background: linear-gradient(100deg, #fdf6f0, #fdfaf5);
  border: 1px solid #f2e2d3; border-radius: 10px; padding: 16px 20px; margin-bottom: 18px;
}
.price-box__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-box__label { color: var(--c-text-soft); font-size: 13.5px; }
.price-box__now { font-size: 30px; font-weight: 700; color: var(--c-accent); letter-spacing: -.5px; }
.price-box__old { color: var(--c-text-soft); text-decoration: line-through; font-size: 14px; }
.price-box__meta { display: flex; gap: 22px; margin-top: 11px; font-size: 13.2px; color: var(--c-text-mid); flex-wrap: wrap; }
.price-box__meta b { color: var(--c-primary); }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; margin-bottom: 20px; }
.spec-list__item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--c-line-soft); font-size: 13.5px; }
.spec-list__k { flex: 0 0 86px; color: var(--c-text-soft); }
.spec-list__v { color: var(--c-text); flex: 1; }

.buy-panel { background: #f8fafb; border: 1px solid var(--c-line); border-radius: 10px; padding: 18px 20px; }
.buy-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.buy-row__label { flex: 0 0 62px; color: var(--c-text-soft); font-size: 13.5px; }
.qty {
  display: flex; align-items: center; border: 1px solid var(--c-line);
  border-radius: 7px; overflow: hidden; background: #fff;
}
.qty button {
  width: 36px; height: 38px; border: 0; background: #fff; color: var(--c-text-mid);
  font-size: 17px; line-height: 1;
}
.qty button:hover { background: var(--c-primary-light); color: var(--c-primary); }
.qty input {
  width: 56px; height: 38px; border: 0; border-left: 1px solid var(--c-line); border-right: 1px solid var(--c-line);
  text-align: center; outline: none; font-weight: 600;
}
.buy-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.buy-notice {
  margin-top: 14px; padding: 11px 15px; border-radius: 8px; font-size: 13.2px;
  background: var(--c-accent-light); color: #8a4f22; display: flex; align-items: center; gap: 8px;
}
.buy-notice .icon { width: 16px; height: 16px; }
.buy-meta { display: flex; gap: 20px; margin-top: 14px; font-size: 13px; color: var(--c-text-mid); flex-wrap: wrap; }
.buy-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* -------------------------------------------------------------- 商家卡 */
.merchant-box { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; padding: 16px 20px; margin-top: 22px; }
.merchant-box__logo {
  width: 46px; height: 46px; border-radius: 11px; flex: 0 0 auto;
  background: var(--c-primary-light); color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
}
.merchant-box__logo svg { width: 23px; height: 23px; }
.merchant-box__name { font-weight: 700; font-size: 15px; }
.merchant-box__desc { color: var(--c-text-soft); font-size: 13px; }
.merchant-box__contact { margin-left: auto; text-align: right; font-size: 13.2px; color: var(--c-text-mid); }
.merchant-box__contact b { color: var(--c-primary); font-size: 15px; }

/* --------------------------------------------------------- 详情说明区 */
.tabs { display: flex; gap: 3px; border-bottom: 1px solid var(--c-line); margin-bottom: 22px; }
.tabs__item {
  padding: 12px 24px; font-weight: 600; font-size: 15px; color: var(--c-text-mid);
  border-bottom: 2.5px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0;
}
.tabs__item.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.detail-text { font-size: 14.5px; color: var(--c-text-mid); line-height: 1.95; }
.detail-text p { margin-bottom: 13px; }

/* ------------------------------------------------------------ 信息卡片 */
.grid-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column; transition: .2s;
}
.info-card:hover { box-shadow: var(--shadow-lg); border-color: #cfe0e4; transform: translateY(-2px); }
.info-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f0f3f5; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.info-card:hover .info-card__media img { transform: scale(1.045); }
.info-card__body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.info-card__cat {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  padding: 3px 11px; border-radius: 13px; font-size: 12.3px; font-weight: 600;
  background: var(--c-primary-light); color: var(--c-primary); margin-bottom: 10px;
}
.info-card__title {
  font-size: 15.2px; font-weight: 600; line-height: 1.55; margin-bottom: 11px;
  height: 47px; overflow: hidden; color: var(--c-text);
}
.info-card__title:hover { color: var(--c-primary); }
.info-card__rows { font-size: 13px; color: var(--c-text-mid); margin-bottom: 13px; }
.info-card__row { display: flex; align-items: center; gap: 7px; padding: 2.5px 0; }
.info-card__row .icon { width: 14.5px; height: 14.5px; color: var(--c-text-soft); }
.info-card__row b { color: var(--c-text); font-weight: 600; }
.info-card__phone { color: var(--c-accent); font-weight: 700; letter-spacing: .3px; font-family: Consolas, "Courier New", monospace; }
.info-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--c-line-soft); }
.info-card__time { font-size: 12.3px; color: var(--c-text-soft); display: flex; align-items: center; gap: 5px; }
.info-card__time .icon { width: 13.5px; height: 13.5px; }
.info-card__more { color: var(--c-primary); font-weight: 600; font-size: 13.2px; display: inline-flex; align-items: center; gap: 5px; }
.info-card__more:hover { gap: 9px; }

/* -------------------------------------------------------- 信息详情页 */
.info-detail { display: grid; grid-template-columns: 1fr 322px; gap: 26px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; }
.panel__head { padding: 17px 24px; border-bottom: 1px solid var(--c-line-soft); display: flex; align-items: center; gap: 9px; }
.panel__head h3 { font-size: 16px; }
.panel__head > span, .panel__head > .icon { width: 18px; height: 18px; flex: 0 0 auto; display: inline-flex; color: var(--c-primary); }
.panel__head > span svg, .panel__head > .icon svg { width: 18px; height: 18px; }
.panel__body { padding: 24px; }

.article__title { font-size: 23px; line-height: 1.5; margin-bottom: 15px; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 17px;
  border-bottom: 1px solid var(--c-line-soft); margin-bottom: 22px;
  font-size: 13.2px; color: var(--c-text-soft);
}
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .icon { width: 14.5px; height: 14.5px; }
.article__figure { margin: 0 0 24px; border-radius: 10px; overflow: hidden; border: 1px solid var(--c-line); }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__body { font-size: 15px; line-height: 2.05; color: #33424a; }
.article__body p { margin-bottom: 16px; text-indent: 2em; }

.contact-card { position: sticky; top: 16px; }
.contact-row { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-bottom: 1px dashed var(--c-line-soft); font-size: 13.5px; }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row .icon { width: 16px; height: 16px; color: var(--c-primary); margin-top: 4px; }
.contact-row__label { color: var(--c-text-soft); font-size: 12.6px; }
.contact-row__value { color: var(--c-text); font-weight: 600; word-break: break-all; }
.contact-phone {
  background: var(--c-accent-light); border: 1px dashed #eccfb4; border-radius: 9px;
  padding: 14px 16px; margin: 14px 0 16px; text-align: center;
}
.contact-phone__label { font-size: 12.6px; color: #9a6438; margin-bottom: 5px; }
.contact-phone__num {
  font-size: 21px; font-weight: 700; color: var(--c-accent); letter-spacing: 1.2px;
  font-family: Consolas, "Courier New", monospace;
}
.contact-phone__hint { font-size: 12.3px; color: #9a6438; margin-top: 6px; }
.contact-phone__hint a { color: var(--c-accent); text-decoration: underline; font-weight: 600; }

/* -------------------------------------------------------------- 表单 */
.form-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 34px 34px 30px; box-shadow: var(--shadow-sm); }
.auth-card__title { font-size: 22px; text-align: center; margin-bottom: 6px; }
.auth-card__sub { text-align: center; color: var(--c-text-soft); font-size: 13.5px; margin-bottom: 26px; }

.field { margin-bottom: 17px; }
.field__label { display: block; font-size: 13.5px; color: var(--c-text-mid); margin-bottom: 7px; font-weight: 600; }
.field__label i { color: #d9534f; font-style: normal; margin-left: 2px; }
.field__input, .field textarea, .field select {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--c-line); border-radius: 8px; outline: none;
  background: #fbfcfd; transition: .16s; color: var(--c-text);
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.8; }
.field__input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--c-primary); background: #fff; box-shadow: 0 0 0 3px rgba(22, 105, 122, .09);
}
.field__hint { font-size: 12.3px; color: var(--c-text-soft); margin-top: 6px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--row .field { margin-bottom: 0; }

.check-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 11px; font-size: 13.3px; color: var(--c-text-mid); }
.check-row input { margin-top: 4px; width: 15px; height: 15px; accent-color: var(--c-primary); flex: 0 0 auto; }
.check-row a { color: var(--c-primary); text-decoration: underline; }

.form-msg {
  padding: 10px 14px; border-radius: 8px; font-size: 13.2px; margin-bottom: 16px; display: none;
}
.form-msg.is-error { display: block; background: #fdf0ef; color: #b8443d; border: 1px solid #f6d5d2; }
.form-msg.is-ok { display: block; background: #ecf7f2; color: #1f7a52; border: 1px solid #cdeade; }

.auth-foot { text-align: center; margin-top: 20px; font-size: 13.4px; color: var(--c-text-soft); }
.auth-foot a { color: var(--c-primary); font-weight: 600; }

/* -------------------------------------------------------------- 购物车 */
.cart-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.cart-table th {
  background: #f6f8fa; font-size: 13.3px; color: var(--c-text-mid); font-weight: 600;
  text-align: left; padding: 14px 13px; border-bottom: 1px solid var(--c-line); white-space: nowrap;
}
.cart-table td { padding: 15px 13px; border-bottom: 1px solid var(--c-line-soft); vertical-align: middle; word-break: break-word; }
.cart-table tr:last-child td { border-bottom: 0; }
.cart-item { display: flex; gap: 13px; align-items: center; }
.cart-item__img { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; border: 1px solid var(--c-line); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 600; font-size: 14px; line-height: 1.5; display: block; }
.cart-item__name:hover { color: var(--c-primary); }
.cart-item__sub { font-size: 12.4px; color: var(--c-text-soft); margin-top: 4px; }
.cart-item__del { border: 0; background: none; color: var(--c-text-soft); padding: 4px; display: inline-flex; }
.cart-item__del:hover { color: #c0392b; }

.cart-summary {
  display: flex; align-items: center; justify-content: flex-end; gap: 26px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  padding: 20px 24px; margin-top: 20px; flex-wrap: wrap;
}
.cart-summary__info { font-size: 13.5px; color: var(--c-text-mid); text-align: right; }
.cart-summary__total { font-size: 15px; }
.cart-summary__total b { font-size: 25px; color: var(--c-accent); margin-left: 6px; letter-spacing: -.3px; }

/* -------------------------------------------------------------- 空状态 */
.empty-state { text-align: center; padding: 62px 20px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; }
.empty-state__icon { width: 66px; height: 66px; margin: 0 auto 18px; color: #c3ced4; }
.empty-state__title { font-size: 16.5px; margin-bottom: 8px; color: var(--c-text-mid); }
.empty-state__desc { color: var(--c-text-soft); font-size: 13.5px; margin-bottom: 20px; }

/* -------------------------------------------------------------- 商城保障 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 22px 20px; display: flex; gap: 14px; align-items: center; }
.feature__icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; padding: 10px; background: var(--c-primary-light); color: var(--c-primary); }
.feature__title { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.feature__desc { font-size: 12.8px; color: var(--c-text-soft); }

/* -------------------------------------------------------------- 关于我们 */
.about-grid { display: grid; grid-template-columns: 1fr 342px; gap: 26px; align-items: start; }
.info-table { width: 100%; border-collapse: collapse; font-size: 13.8px; }
.info-table td { padding: 11px 14px; border-bottom: 1px solid var(--c-line-soft); vertical-align: top; }
.info-table tr:last-child td { border-bottom: 0; }
.info-table td:first-child { width: 112px; color: var(--c-text-soft); background: #f8fafb; }
.info-table td:last-child { color: var(--c-text); font-weight: 500; }

.scope-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 18px; }
.scope-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.8px; color: var(--c-text-mid); }
.scope-list .icon { width: 15px; height: 15px; color: var(--c-success); margin-top: 5px; flex: 0 0 auto; }

.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.adv { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 20px 22px; }
.adv__icon { width: 40px; height: 40px; border-radius: 10px; padding: 9px; background: var(--c-accent-light); color: var(--c-accent); margin-bottom: 13px; }
.adv__title { font-size: 15.5px; margin-bottom: 6px; }
.adv__desc { font-size: 13.4px; color: var(--c-text-mid); margin: 0; }

/* -------------------------------------------------------------- 政策页 */
.policy { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 36px 44px; }
.policy h1 { font-size: 24px; text-align: center; margin-bottom: 8px; }
.policy__date { text-align: center; color: var(--c-text-soft); font-size: 13px; margin-bottom: 30px; }
.policy h2 { font-size: 16.5px; margin: 26px 0 11px; }
.policy p, .policy li { font-size: 14.2px; color: var(--c-text-mid); line-height: 1.95; }
.policy ol { padding-left: 20px; margin: 0 0 12px; }
.policy ol li { margin-bottom: 6px; }

/* -------------------------------------------------------------- 账户页 */
.account-grid { display: grid; grid-template-columns: 302px 1fr; gap: 24px; align-items: start; }
.account-card { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.account-card__head {
  background: linear-gradient(120deg, var(--c-primary), #248ea1); color: #fff;
  padding: 26px 22px; text-align: center;
}
.account-card__avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 12px;
  background: rgba(255, 255, 255, .19); border: 1.5px solid rgba(255, 255, 255, .38);
  display: flex; align-items: center; justify-content: center;
}
.account-card__avatar svg { width: 29px; height: 29px; }
.account-card__name { font-size: 17px; font-weight: 700; }
.account-card__phone { font-size: 13.3px; opacity: .88; margin-top: 3px; font-family: Consolas, "Courier New", monospace; }
.account-menu { padding: 8px 0; }
.account-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 22px; font-size: 14px; color: var(--c-text-mid); }
.account-menu a:hover { background: var(--c-primary-light); color: var(--c-primary); }
.account-menu .icon { width: 17px; height: 17px; }

.order-card { border: 1px solid var(--c-line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.order-card__head { background: #f8fafb; padding: 11px 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--c-text-mid); border-bottom: 1px solid var(--c-line-soft); }
.order-card__no { font-family: Consolas, "Courier New", monospace; color: var(--c-text); font-weight: 600; }
.order-card__body { padding: 14px 18px; }
.order-line { display: flex; align-items: center; gap: 13px; padding: 7px 0; font-size: 13.5px; }
.order-line__img { width: 50px; height: 50px; border-radius: 7px; overflow: hidden; border: 1px solid var(--c-line); flex: 0 0 auto; }
.order-line__img img { width: 100%; height: 100%; object-fit: cover; }
.order-line__name { flex: 1; color: var(--c-text); }
.order-card__foot { padding: 12px 18px; border-top: 1px solid var(--c-line-soft); text-align: right; font-size: 13.5px; }
.order-card__foot b { color: var(--c-accent); font-size: 18px; margin-left: 5px; }
.order-status { color: var(--c-success); font-weight: 700; }

/* -------------------------------------------------------------- 分页等 */
.pager { display: flex; justify-content: center; gap: 7px; margin-top: 30px; }
.pager button {
  min-width: 36px; height: 36px; padding: 0 11px; border: 1px solid var(--c-line);
  background: #fff; border-radius: 7px; color: var(--c-text-mid); font-size: 13.5px;
}
.pager button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager button.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 600; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }

.notice-bar {
  display: flex; align-items: center; gap: 9px; padding: 11px 18px;
  background: var(--c-primary-light); border: 1px solid #cfe3e7; border-radius: 10px;
  color: var(--c-primary-dark); font-size: 13.4px; margin-bottom: 22px;
}
.notice-bar .icon { width: 16px; height: 16px; flex: 0 0 auto; }

/* -------------------------------------------------------------- 响应式 */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .grid-info { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-wrap { grid-template-columns: 340px 1fr; gap: 24px; }
  .info-detail { grid-template-columns: 1fr 296px; }
}

@media (max-width: 900px) {
  .header__search { width: 230px; }
  .module-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .about-grid, .account-grid { grid-template-columns: 1fr; }
  .info-detail { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .detail-wrap { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header__main { flex-wrap: wrap; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
  .brand__name { font-size: 15.5px; }
  .header__tools { order: 3; width: 100%; margin-left: 0; }
  .header__search { width: auto; flex: 1; }
  .header__cart-text { display: none; }
  .header__cart { padding: 0 12px; }
  .burger { display: flex; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav__inner { flex-direction: column; align-items: stretch; padding: 6px 20px 12px; }
  .nav__link { padding: 12px 4px; border-bottom: 1px solid var(--c-line-soft); border-left: 0; }
  .nav__link.is-active { border-bottom-color: var(--c-line-soft); color: var(--c-primary); }
  .topbar__tip { display: none; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 13px; }
  .grid-info { grid-template-columns: 1fr; }
  .feature-grid, .adv-grid, .scope-list { grid-template-columns: 1fr; }
  .hero { padding: 38px 0 42px; }
  .hero__title { font-size: 24px; }
  .hero__desc { font-size: 14px; }
  .section { padding: 28px 0; }
  .section-head__title { font-size: 19px; }
  .policy { padding: 26px 20px; }
  .detail-wrap { padding: 16px; }
  .auth-card { padding: 26px 20px; }
  .field--row { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--c-line); padding: 12px 0; }
  .cart-table td { border: 0; padding: 6px 13px; }
  .cart-summary { justify-content: space-between; }
}
