/* ==========================================================================
   v10 购物流程顶栏 · 克隆站式
   仅被 /cart/* 页面引用，不进入会员中心，避免与 topMenu 样式互相污染
   ========================================================================== */

.v10-sh {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid #e6ebf4;
}

.v10-sh-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
}

/* ---------- 品牌 ---------- */
.v10-sh-brand {
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.v10-sh-logo {
  height: 30px;
  width: auto;
  display: block;
}

/* ---------- 导航 ---------- */
.v10-sh-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.v10-sh-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: #4a5a72;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.v10-sh-link:hover {
  background: #e6f7f5;
  color: #00ac9c;
}

.v10-sh-link.is-on {
  background: #e6f7f5;
  color: #00ac9c;
  font-weight: 600;
}

/* ---------- 右侧动作区 ---------- */
.v10-sh-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.v10-sh-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #4a5a72;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.v10-sh-cart:hover {
  background: #f2f5fa;
  color: #00ac9c;
}

.v10-sh-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #f5483b;
  border: 2px solid #fff;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 13px;
  text-align: center;
}

.v10-sh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.v10-sh-btn--ghost {
  color: #0b1a33;
  border-color: #e6ebf4;
  background: #fff;
}

.v10-sh-btn--ghost:hover {
  color: #00ac9c;
  border-color: #b8e8e3;
  background: #f7faff;
}

.v10-sh-btn--primary {
  color: #fff;
  background: #00ac9c;
  box-shadow: 0 6px 16px rgba(0, 172, 156, 0.22);
}

.v10-sh-btn--primary:hover {
  background: #008a7d;
  color: #fff;
}

/* ---------- 已登录 ---------- */
.v10-sh-user {
  cursor: pointer;
  outline: none;
}

.v10-sh-user-in {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px 0 4px;
  border-radius: 999px;
  transition: background 0.18s ease;
}

.v10-sh-user-in:hover {
  background: #f2f5fa;
}

.v10-sh-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #12bdac, #00ac9c);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  flex: none;
}

.v10-sh-name {
  font-size: 14px;
  color: #0b1a33;
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v10-sh-user-in i {
  font-size: 12px;
  color: #8896ab;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
  .v10-sh-wrap {
    height: 60px;
    gap: 12px;
    padding: 0 14px;
  }

  .v10-sh-nav {
    display: none;
  }

  .v10-sh-name {
    display: none;
  }

  .v10-sh-btn {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }
}

/* ==========================================================================
   购物流程页脚（克隆站式）
   ========================================================================== */
.v10-sf {
  margin-top: 40px;
  background: #fff;
  border-top: 1px solid #e6ebf4;
  padding: 48px 0 0;
}

.v10-sf-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.v10-sf-brand {
  flex: 0 0 280px;
  min-width: 0;
}

.v10-sf-logo {
  height: 30px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.v10-sf-slogan {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #4a5a72;
}

.v10-sf-time {
  margin: 0;
  font-size: 12.5px;
  color: #8896ab;
}

.v10-sf-cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  min-width: 0;
}

.v10-sf-col h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #0b1a33;
}

.v10-sf-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: #4a5a72;
  text-decoration: none;
  transition: color 0.16s ease;
}

.v10-sf-col a:hover {
  color: #00ac9c;
}

.v10-sf-copy {
  border-top: 1px solid #eef8f6;
  padding: 18px 20px;
  text-align: center;
  font-size: 12.5px;
  color: #8896ab;
}

@media (max-width: 900px) {
  .v10-sf-wrap {
    flex-direction: column;
    gap: 28px;
    padding-bottom: 28px;
  }

  .v10-sf-brand {
    flex: none;
  }

  .v10-sf-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}
