.index-html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.index-body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  line-height: 1.5;
}

.index-body-page {
  padding-bottom: 0;
  overflow: hidden;
}

.index-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f9fafb;
  position: relative;
  padding-bottom: 70px;
}

/* ===== 头部 sticky ===== */
.index-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
}

.index-header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  border-bottom: 1px solid #f3f4f6;
  box-sizing: border-box;
}

.index-header-close {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.index-header-logo-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.index-header-logo {
  height: 41px;
  width: auto;
  object-fit: contain;
}

.index-header-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 500;
  color: #111827;
  line-height: 22.5px;
  text-align: center;
}

.index-header-more-wrap {
  display: none;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  background-color: #f3f4f6;
  border-radius: 9999px;
  padding: 4px;
}

.index-header-more {
  width: 20px;
  height: 20px;
}

.index-search-wrap {
  padding: 8px 16px;
  background-color: #ffffff;
}

.index-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #fff1e5;
  border: 1px solid #dfc0b0;
  border-radius: 9999px;
  padding: 13.5px 49px;
  height: 48px;
  box-sizing: border-box;
  cursor: pointer;
}

.index-search-icon {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

.index-search-placeholder {
  flex: 1;
  font-size: 16px;
  color: #6b7280;
  line-height: normal;
}

.index-search-input {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  padding: 0;
  font-size: 16px;
  color: #1f2937;
  line-height: normal;
  font-family: inherit;
}

.index-search-input::placeholder {
  color: #6b7280;
}

.index-search-filter {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

/* ===== 搜索页 ===== */
.search-page {
  min-height: 100vh;
  background-color: #f9fafb;
}

.search-header-wrap {
  background-color: #ffffff;
}

.search-top-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 12px;
}

.search-back-btn {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.search-input-bar {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.search-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.search-input {
  width: 100%;
  border: 1px solid #dfc0b0;
  border-radius: 9999px;
  background-color: #fff1e5;
  font-size: 16px;
  color: #1f2937;
  line-height: normal;
  padding: 12px 16px 12px 44px;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
}

.search-input::placeholder {
  color: #6b7280;
}

.search-main {
  padding: 12px 16px 24px;
}

.search-main .index-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* ===== 主内容 ===== */
.index-main {
  background-color: #f9fafb;
}

/* ===== Banner 轮播 ===== */
.index-banner {
  width: 100%;
}

.index-banner-swiper {
  width: 100%;
  height: 220px;
}

.index-banner-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.index-banner-slide-clickable {
  cursor: pointer;
}

.index-banner-pagination {
  bottom: 10px !important;
}

.index-banner-bullet {
  display: inline-block;
  width: 6px;
  height: 4px;
  border-radius: 9999px;
  background-color: rgba(239, 68, 68, 0.26);
  opacity: 1;
  margin: 0 2px;
  cursor: pointer;
}

.index-banner-bullet-active {
  width: 16px;
  background-color: #ef4444;
}

/* ===== 分类导航 ===== */
.index-categories {
  background-color: #ffffff;
  padding: 16px 0 11px;
}

.index-category-swiper {
  width: 100%;
}

.index-category-list {
  display: flex;
  justify-content: space-around;
  padding: 0 8px;
}

.index-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 56px;
}

.index-category-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f3f4f6;
}

.index-category-icon-wrap-1 {
  background-color: #fe9d80;
}

.index-category-icon-wrap-2 {
  background-color: #8d8f90;
}

.index-category-icon-wrap-3 {
  background-color: #fcdacd;
}

.index-category-icon-wrap-4 {
  background-color: #f1e2c3;
}

.index-category-icon-wrap-5 {
  background-color: #ddbfe8;
}

.index-category-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-category-name {
  margin-top: 8px;
  font-size: 12px;
  color: #4b5563;
  text-align: center;
  line-height: 16px;
}

.index-category-pagination {
  position: static !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  right: auto !important;
  margin-top: 11px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.index-category-bullet {
  display: inline-block;
  width: 6px;
  height: 4px;
  border-radius: 9999px;
  background-color: rgba(239, 68, 68, 0.26);
  opacity: 1;
  margin: 0 2px;
  cursor: pointer;
}

.index-category-bullet-active {
  width: 16px;
  background-color: #ef4444;
}

/* ===== 活动专区 ===== */
.index-activity {
  padding: 16px 0 16px 16px;
  overflow: hidden;
}

.index-activity-header-scroll {
  width: calc(100% + 16px);
  margin: 0 0 12px -16px;
  padding: 12px 16px;
  background-color: #f8f8f8;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.index-activity-header-scroll::-webkit-scrollbar {
  display: none;
}

.index-activity-header-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.index-activity-header-item {
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
}

.index-activity-header {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 8px;
  box-sizing: border-box;
  width: calc(100% + 16px);
  margin: 0 0 12px -16px;
  padding: 12px 16px;
  background-color: #f8f8f8;
  font-size: 16px;
}

.index-activity-title {
  flex: 0 0 auto;
  font-size: 1.125em;
  font-weight: 700;
  color: #333333;
  line-height: 1.25;
  white-space: nowrap;
}

.index-activity-subtitle {
  flex: 0 0 auto;
  font-size: 0.75em;
  font-weight: 400;
  color: #999999;
  line-height: 1.25;
  white-space: nowrap;
}

.index-activity-swiper {
  width: 100%;
  overflow: hidden;
}

.index-activity-slide {
  width: 96px;
  overflow: hidden;
}

.index-activity-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.index-activity-img-wrap {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f3f4f6;
}

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

.index-activity-name {
  margin-top: 4px;
  font-size: 10px;
  color: #4b5563;
  line-height: 15px;
  overflow: hidden;
}

.index-activity-price {
  margin-top: 2px;
  color: #ef4444;
  font-weight: bold;
  display: flex;
  align-items: baseline;
  overflow: hidden;
}

.index-activity-price-num {
  font-size: 14px;
  line-height: 20px;
}

.index-activity-price-unit {
  font-size: 10px;
  line-height: 20px;
}

.index-activity-dou-icon {
  width: 10px;
  height: 7px;
  margin-left: 2px;
}

.index-activity-old-price {
  font-size: 9px;
  color: #3d4a3c;
  text-decoration: line-through;
  line-height: 13.5px;
  overflow: hidden;
}

/* ===== 推荐标签 ===== */
.index-tabs {
  background-color: #ffffff;
  padding: 12px 0;
  overflow: hidden;
}

.index-tabs-scroll {
  display: flex;
  gap: 10px;
  padding: 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.index-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.index-tab {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #666666;
  background-color: #f4f5f7;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
}

.index-tab-active:not(.index-tab-recommend) {
  background: linear-gradient(90deg, #ff8b13 0%, #ffc233 100%);
  color: #ffffff;
  font-weight: 500;
}

.index-tab-recommend.index-tab-active {
  padding: 7px 20px;
  background: linear-gradient(90deg, #ff8b13 0%, #ffc233 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  line-height: 22px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ===== 商品列表 ===== */
.index-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 12px;
}

.index-product-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.index-product-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #f3f4f6;
}

.index-product-img-wrap-orange {
  background-color: #f97316;
}

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

.index-product-info {
  padding: 8px;
  position: relative;
}

.index-product-title {
  font-size: 14px;
  color: #1f2937;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.index-product-desc {
  margin-top: 4px;
  font-size: 10px;
  color: #9ca3af;
  line-height: 15px;
  display: block;
}

.index-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.index-product-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.category-product-actions,
.index-product-actions,
.category-product-stepper {
  --cat-stepper-size: clamp(22px, 4vw + 6px, 40px);
  --cat-stepper-btn: clamp(18px, 3vw + 4px, 32px);
  --cat-stepper-num: clamp(26px, 4.8vw + 4px, 44px);
  --cat-stepper-font: clamp(12px, 1.8vw + 4px, 16px);
  --cat-stepper-symbol: clamp(14px, 2.5vw + 4px, 20px);
}

.index-product-cart-btn.hide {
  display: none;
}

.index-product-price {
  color: #ef4444;
  font-weight: bold;
}

.index-product-price-num {
  font-size: 18px;
  line-height: 28px;
}

.index-product-price-unit {
  font-size: 12px;
  line-height: 28px;
}

.index-product-cart-btn {
  position: relative;
  width: var(--cat-stepper-size);
  height: var(--cat-stepper-size);
  border-radius: 50%;
  background-color: #fdba74;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.index-product-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  background-color: #ef4444;
  border: 1px solid #ffffff;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  line-height: 14px;
  text-align: center;
  box-sizing: border-box;
}

.index-product-cart-badge.hide {
  display: none;
}

.index-product-cart-icon {
  width: clamp(12px, 2.5vw + 4px, 18px);
  height: clamp(12px, 2.5vw + 4px, 18px);
}

.index-product-old-price {
  font-size: 12px;
  color: #3d4a3c;
  text-decoration: line-through;
  line-height: 13.5px;
  margin-top: 4px;
  display: block;
}

/* ===== 底部导航 fixed ===== */
.index-footer-pending {
  visibility: hidden;
}

.index-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 18px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
  z-index: 100;
  box-sizing: border-box;
}

.index-footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4px;
}

.index-footer-icon {
  width: 24px;
  height: 24px;
}

.index-footer-text {
  margin-top: 4px;
  font-size: 10px;
  color: #9ca3af;
  line-height: 15px;
  text-align: center;
}

.index-footer-text-active {
  color: #eab308;
}

.index-footer-icon-wrap {
  position: relative;
  width: 24px;
  height: 24px;
}

.index-footer-cart-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  background-color: #ef4444;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  line-height: 15px;
  text-align: center;
  box-sizing: border-box;
}

.index-footer-cart-badge.hide {
  display: none;
}

/* ===== 悬浮客服按钮 ===== */
.index-float-btn {
  position: fixed;
  bottom: 96px;
  right: 16px;
  width: 48px;
  height: 48px;
  /* background-color: #f97316; */
  background-color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  z-index: 101;
  touch-action: none;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.index-float-btn:active {
  cursor: grabbing;
}

.index-float-icon {
  width: 36px;
  height: 34px;
}

/* ===== 分类页 ===== */
.category-page {
  max-width: 750px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
}

.category-header-wrap {
  flex-shrink: 0;
  background-color: #ffffff;
}

.category-page .index-tabs {
  padding: 0 0 10px;
  background-color: #ffffff;
}

.category-page .index-tabs-scroll {
  gap: 10px;
}

.category-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 8px;
  background-color: #ffffff;
}

.category-search-back {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.category-search-bar {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  background-color: #f4f5f7;
  border-radius: 9999px;
  padding: 8px 16px 8px 40px;
  box-sizing: border-box;
  min-height: 38px;
}

.category-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}

.category-search-placeholder {
  font-size: 14px;
  color: #999999;
  line-height: normal;
}

.category-body-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background-color: #ffffff;
}

.category-sidebar {
  width: clamp(72px, 20vw, 88px);
  flex-shrink: 0;
  align-self: stretch;
  background-color: #f7f8fa;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 140px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

.category-sidebar-item {
  padding: 14px 6px;
  margin: 0;
  font-size: clamp(12px, 3.2vw, 13px);
  color: #333333;
  text-align: center;
  line-height: 18px;
  word-break: break-all;
}

.category-sidebar-item-active {
  background-color: #f27405;
  color: #ffffff;
  border-radius: 0 9999px 9999px 0;
  box-shadow: none;
}

.category-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  overflow: hidden;
}

.category-filter {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 10px 4px 8px;
  border-bottom: 1px solid #f5f5f5;
  background-color: #ffffff;
}

.category-filter-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  padding-bottom: 4px;
  min-width: 0;
}

.category-filter-text {
  font-size: clamp(11px, 3.1vw, 12px);
  color: #666666;
  line-height: 18px;
  white-space: nowrap;
}

.category-filter-text-active {
  color: #f27405;
}

.category-filter-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 20px;
  height: 2px;
  background-color: #f27405;
}

.category-filter-line-hide {
  display: none;
}

.category-filter-arrow {
  width: 10px;
  height: 10px;
}

.category-filter-sort {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex-shrink: 0;
}

.category-filter-sort-up,
.category-filter-sort-down {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.category-filter-sort-up {
  border-bottom: 5px solid #cccccc;
}

.category-filter-sort-down {
  border-top: 5px solid #cccccc;
}

.category-filter-sort-up.is-active {
  border-bottom-color: #f27405;
}

.category-filter-sort-down.is-active {
  border-top-color: #f27405;
}

.category-list {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.category-list-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 6px 140px;
  box-sizing: border-box;
}

.category-product-card {
  min-width: 0;
  width: 100%;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-sizing: border-box;
}

.category-product-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #f4f5f7;
}

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

.category-product-info {
  padding: 6px 6px 8px;
  position: relative;
  min-width: 0;
}

.category-product-title {
  font-size: clamp(11px, 3.2vw, 12px);
  color: #333333;
  font-weight: 500;
  line-height: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.category-product-desc {
  margin-top: 4px;
  font-size: 10px;
  color: #999999;
  line-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-product-bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 6px;
  gap: 4px;
  min-width: 0;
}

.category-product-price-wrap {
  flex: 1 1 0;
  min-width: 0;
}

.category-product-price {
  display: inline-flex;
  align-items: baseline;
  color: #ef4444;
  font-weight: 700;
  max-width: 100%;
  white-space: nowrap;
}

.category-product-price-num {
  font-size: clamp(12px, 3.2vw, 15px);
  line-height: 18px;
}

.category-product-price-unit {
  font-size: 10px;
  line-height: 16px;
  margin-left: 1px;
  flex-shrink: 0;
}

.category-product-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-shrink: 0;
}

.category-product-cart-btn {
  width: var(--cat-stepper-size);
  height: var(--cat-stepper-size);
  border-radius: 50%;
  background-color: #f27405;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-product-cart-btn.hide {
  display: none;
}

.category-product-cart-icon {
  width: clamp(12px, 2.5vw + 4px, 18px);
  height: clamp(12px, 2.5vw + 4px, 18px);
}

.category-product-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #f3f4f6;
  border-radius: clamp(4px, 1vw, 6px);
  overflow: hidden;
  flex-shrink: 0;
  height: var(--cat-stepper-size);
  box-sizing: border-box;
}

.category-product-stepper.hide {
  display: none;
}

.category-product-stepper-minus,
.category-product-stepper-plus {
  width: var(--cat-stepper-btn);
  height: var(--cat-stepper-size);
  font-size: var(--cat-stepper-symbol);
  line-height: var(--cat-stepper-size);
  text-align: center;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  box-sizing: border-box;
}

.category-product-stepper-minus {
  color: #fdba74;
}

.category-product-stepper-plus {
  color: #f27405;
}

.category-product-stepper-num {
  width: var(--cat-stepper-num);
  min-width: var(--cat-stepper-btn);
  max-width: calc(var(--cat-stepper-num) + 4px);
  padding: 0 1px;
  font-size: var(--cat-stepper-font);
  color: #333333;
  line-height: var(--cat-stepper-size);
  height: var(--cat-stepper-size);
  text-align: center;
  border: none;
  border-left: 1px solid #f3f4f6;
  border-right: 1px solid #f3f4f6;
  box-sizing: border-box;
  background: transparent;
  outline: none;
  cursor: pointer;
  -moz-appearance: textfield;
}

.category-product-stepper-num::-webkit-outer-spin-button,
.category-product-stepper-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.category-product-old-price {
  display: block;
  font-size: 10px;
  color: #999999;
  text-decoration: line-through;
  line-height: 14px;
  margin-top: 2px;
  white-space: nowrap;
}

.category-checkout {
  position: fixed;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
  padding: 10px 12px;
  box-sizing: border-box;
  z-index: 90;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.04);
}

.category-checkout-cart-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.category-checkout-cart-icon {
  width: 36px;
  height: 36px;
}

.category-checkout-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  background-color: #ef4444;
  border-radius: 50%;
  font-size: 11px;
  color: #ffffff;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
  box-sizing: border-box;
}

.category-checkout-total {
  flex: 1;
  display: flex;
  align-items: baseline;
  min-width: 0;
  margin-left: 10px;
  margin-right: 8px;
  white-space: nowrap;
  overflow: hidden;
}

.category-checkout-label {
  font-size: 13px;
  color: #333333;
  line-height: 18px;
  flex-shrink: 0;
}

.category-checkout-price-num {
  font-size: clamp(16px, 4.8vw, 20px);
  line-height: 22px;
  color: #ef4444;
  font-weight: 700;
}

.category-checkout-price-unit {
  font-size: 10px;
  line-height: 18px;
  color: #ef4444;
  font-weight: 700;
}

.category-checkout-btn {
  background-color: #f27405;
  color: #ffffff;
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 500;
  line-height: 22px;
  padding: 10px 18px;
  border-radius: 9999px;
  flex-shrink: 0;
  white-space: nowrap;
}

.category-cart-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 120;
}

.category-cart-popup-show {
  display: block;
}

.category-cart-popup-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.category-cart-popup-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 119px;
  background-color: #ffffff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  max-height: 55vh;
  display: flex;
  flex-direction: column;
}

.category-cart-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.category-cart-popup-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  line-height: 24px;
}

.category-cart-popup-clear {
  font-size: 14px;
  color: #9ca3af;
  line-height: 20px;
}

.category-cart-popup-list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 16px;
}

.category-cart-popup-list .cart-item {
  padding-top: 16px;
}

.category-cart-popup-list .cart-item-info {
  min-height: 96px;
}

.category-cart-popup-list .cart-item-name {
  -webkit-line-clamp: 1;
}

.category-cart-popup-empty {
  padding: 40px 16px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  line-height: 20px;
}

.category-checkout-badge.hide {
  display: none;
}

.category-cart-popup-empty.hide {
  display: none;
}

/* ===== 为您推荐页 ===== */
.recommend-page {
  max-width: 750px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #f9fafb;
  position: relative;
}

.recommend-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 70px;
}

.recommend-empty {
  padding: 48px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}

.recommend-products {
  padding-bottom: 150px;
}

/* ===== 商品详情页 ===== */
.detail-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f7f8fa;
  position: relative;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.detail-header-wrap {
  flex-shrink: 0;
  background-color: #ffffff;
}

.detail-header-wrap .index-header-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-main {
  background-color: #f7f8fa;
}

.detail-banner {
  background-color: #ffffff;
  position: relative;
}

.detail-banner-swiper {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
}

.detail-banner-swiper .swiper-wrapper,
.detail-banner-swiper .swiper-slide {
  height: 100%;
}

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

.detail-banner-indicator {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 9999px;
  padding: 3px 10px;
}

.detail-banner-indicator-text {
  font-size: 12px;
  color: #ffffff;
  line-height: 16px;
}

.detail-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, #62c6ff 0%, #308efe 100%);
  padding: 12px 16px;
  min-height: 64px;
  box-sizing: border-box;
}

.detail-price-left {
  flex: 1;
  min-width: 0;
}

.detail-price-main {
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-price-coin {
  width: 22px;
  height: 22px;
  background-color: #facc15;
  border: 2px solid #fef08a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-price-coin-icon {
  width: 10px;
  height: 9px;
}

.detail-price-current {
  display: inline-flex;
  align-items: baseline;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.detail-price-num {
  font-size: clamp(20px, 6vw, 24px);
  line-height: 1.2;
}

.detail-price-unit {
  font-size: 12px;
  line-height: 1.2;
  margin-left: 2px;
}

.detail-price-old {
  display: block;
  margin-top: 2px;
  padding-left: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: line-through;
  line-height: 16px;
}

.detail-price-sold {
  flex-shrink: 0;
  font-size: clamp(12px, 3.4vw, 14px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 20px;
  text-align: right;
  white-space: nowrap;
}

.detail-title-section {
  background-color: #ffffff;
  padding: 14px 16px 16px;
}

.detail-title {
  font-size: clamp(15px, 4.2vw, 18px);
  color: #333333;
  line-height: 1.5;
  font-weight: 600;
}

.detail-subtitle {
  display: block;
  margin-top: 8px;
  font-size: clamp(13px, 3.6vw, 14px);
  color: #f27405;
  line-height: 20px;
}

.detail-service {
  background-color: #ffffff;
  padding: 0 16px;
  margin-top: 8px;
}

.detail-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.detail-service-row-border {
  border-top: 1px solid #f3f4f6;
}

.detail-service-label {
  width: 40px;
  flex-shrink: 0;
  font-size: 14px;
  color: #999999;
  line-height: 20px;
}

.detail-service-value {
  flex: 1;
  font-size: 14px;
  color: #333333;
  line-height: 20px;
  text-align: right;
}

.detail-service-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.detail-service-tag {
  font-size: 14px;
  color: #333333;
  line-height: 20px;
  flex-shrink: 0;
}

.detail-service-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.45;
}

.detail-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  padding: 14px 16px 0;
  margin-top: 8px;
}

.detail-tab {
  position: relative;
  font-size: clamp(14px, 4vw, 16px);
  color: #666666;
  line-height: 22px;
  font-weight: 400;
  padding-bottom: 12px;
  cursor: pointer;
}

.detail-tab-active {
  color: #f27405;
  font-weight: 600;
}

.detail-tab-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background-color: #f27405;
  border-radius: 1px;
}

.detail-content {
  background-color: #ffffff;
}

.detail-content .detail-service-row {
  padding: 12px 16px;
  box-sizing: border-box;
}

.detail-content .detail-service-label {
  width: auto;
  min-width: 72px;
  flex-shrink: 0;
}

.detail-content .detail-service-value {
  flex: 1;
  min-width: 0;
  text-align: right;
  max-width: 65%;
}

.detail-content-img {
  display: block;
  width: 100%;
  height: auto;
}

.detail-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  z-index: 100;
}

.detail-footer-nav-pending {
  visibility: hidden;
}

.detail-footer-nav {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  margin-right: 8px;
}

.detail-footer-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 44px;
  margin-right: 4px;
}

.detail-footer-nav-item-last {
  margin-right: 0;
}

.detail-footer-nav-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 2px;
}

.detail-footer-share-wrap {
  width: 22px;
  height: 22px;
  background-color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  cursor: pointer;
}

.detail-footer-share-icon {
  width: 12px;
  height: 12px;
}

#detail-nav-share {
  cursor: pointer;
}

.detail-share-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 1200;
}

.detail-share-popup-show {
  display: block;
}

.detail-share-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.detail-share-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #f5f5f5;
  border-radius: 16px 16px 0 0;
  padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.detail-share-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 24px;
  text-align: center;
  margin-bottom: 16px;
}

.detail-share-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 12px;
}

.detail-share-preview-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #f3f4f6;
}

.detail-share-preview-info {
  flex: 1;
  min-width: 0;
}

.detail-share-preview-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-share-preview-desc {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.detail-share-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.detail-share-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.detail-share-action-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  position: relative;
}

.detail-share-action-icon-copy::before,
.detail-share-action-icon-copy::after {
  content: "";
  position: absolute;
  border: 2px solid #3b82f6;
  border-radius: 4px;
  box-sizing: border-box;
}

.detail-share-action-icon-copy::before {
  width: 18px;
  height: 22px;
  left: 16px;
  top: 15px;
  background-color: #ffffff;
}

.detail-share-action-icon-copy::after {
  width: 18px;
  height: 22px;
  left: 22px;
  top: 19px;
  background-color: #eff6ff;
}

.detail-share-action-icon-wechat {
  background-color: #22c55e;
}

.detail-share-action-icon-wechat::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 22px;
  margin-left: -14px;
  margin-top: -11px;
  border-radius: 12px;
  background-color: #ffffff;
}

.detail-share-action-icon-wechat::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-left: -9px;
  margin-top: -2px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 9px 0 0 #22c55e;
}

.detail-share-action-text {
  font-size: 12px;
  color: #4b5563;
  line-height: 18px;
}

.detail-share-cancel {
  width: 100%;
  border: 0;
  background-color: #ffffff;
  color: #111827;
  font-size: 16px;
  line-height: 24px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
}

.detail-share-guide {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background-color: rgba(0, 0, 0, 0.75);
}

.detail-share-guide-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  max-width: 220px;
}

.detail-share-guide-arrow {
  width: 72px;
  height: 72px;
  margin-left: auto;
  margin-bottom: 12px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  border-top-right-radius: 16px;
  transform: rotate(-10deg);
}

.detail-share-guide-text {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  text-align: right;
}

.detail-footer-nav-text {
  font-size: 10px;
  color: #999999;
  line-height: 14px;
  text-align: center;
  white-space: nowrap;
}

.detail-footer-btns-pending {
  visibility: hidden;
}

.detail-footer-btns {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.detail-footer-btn-cart {
  flex: 1;
  min-width: 0;
  background-color: #4a5568;
  color: #ffffff;
  font-size: clamp(13px, 3.6vw, 14px);
  line-height: 20px;
  font-weight: 500;
  padding: 11px 10px;
  border-radius: 9999px;
  text-align: center;
  white-space: nowrap;
}

.detail-footer-btn-buy {
  flex: 1;
  min-width: 0;
  background: linear-gradient(90deg, #ff9d2e 0%, #ff6b00 100%);
  color: #ffffff;
  font-size: clamp(13px, 3.6vw, 14px);
  line-height: 20px;
  font-weight: 500;
  padding: 11px 10px;
  border-radius: 9999px;
  text-align: center;
  white-space: nowrap;
}

.detail-footer-btns-activity .detail-footer-btn-buy {
  flex: 1;
}

/* ===== 商品详情 SKU 弹窗 ===== */
.detail-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 200;
}

.detail-popup-show {
  display: block;
}

.detail-popup-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.detail-popup-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.detail-popup-close-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 16px;
}

.detail-popup-close-btn {
  background-color: #e5e7eb;
  border-radius: 9999px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-popup-close-icon {
  width: 16px;
  height: 16px;
}

.detail-popup-body {
  padding: 0 24px 32px;
}

.detail-popup-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.detail-popup-thumb-wrap {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.detail-popup-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.detail-popup-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0;
  min-height: 100px;
}

.detail-popup-name {
  font-size: 14px;
  color: #111827;
  font-weight: bold;
  line-height: 17.5px;
}

.detail-popup-price-wrap {
  padding-top: 8px;
}

.detail-popup-price {
  color: #f27405;
  font-weight: bold;
}

.detail-popup-price-num {
  font-size: 20px;
  line-height: 28px;
}

.detail-popup-price-unit {
  font-size: 12px;
  line-height: 28px;
}

.detail-popup-stock {
  font-size: 12px;
  color: #9ca3af;
  line-height: 16px;
}

.detail-popup-spec-section {
  margin-bottom: 24px;
}

.detail-popup-spec-title {
  font-size: 14px;
  color: #1f2937;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 12px;
}

.detail-popup-spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-popup-spec-item {
  font-size: 14px;
  color: #4b5563;
  line-height: 20px;
  padding: 9px 17px;
  background-color: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: center;
}

.detail-popup-spec-active {
  color: #f27405;
  background-color: #fdeedc;
  border-color: #f27405;
  font-weight: 500;
}

.detail-popup-spec-readonly {
  cursor: default;
  pointer-events: none;
}

.detail-popup-qty-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 24px;
}

.detail-popup-qty-title {
  font-size: 16px;
  color: #1f2937;
  font-weight: 500;
  line-height: 24px;
}

.detail-popup-stepper {
  display: flex;
  align-items: center;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.detail-popup-stepper-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-popup-stepper-minus::before {
  content: "";
  width: 12px;
  height: 2px;
  background-color: #6b7280;
  border-radius: 1px;
}

.detail-popup-stepper-plus::before,
.detail-popup-stepper-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background-color: #6b7280;
  border-radius: 1px;
}

.detail-popup-stepper-plus::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.detail-popup-stepper-plus::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.detail-popup-stepper-num {
  width: 48px;
  font-size: 16px;
  color: #1f2937;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  border: none;
  background: transparent;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
}

.detail-popup-stepper-num::-webkit-outer-spin-button,
.detail-popup-stepper-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.detail-popup-confirm {
  background-color: #f27405;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  padding: 16px;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* ===== 确认订单页 ===== */
.order-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #ffffff;
  position: relative;
  padding-bottom: 100px;
}

.order-header-wrap {
  flex-shrink: 0;
}

.order-main {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.order-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 17px;
}

.order-address-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.order-address-icon-wrap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: #f9fafb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-address-icon {
  width: 16px;
  height: 20px;
}

.order-address-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.order-address-title {
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 22.5px;
}

.order-address-desc {
  font-size: 14px;
  color: #666666;
  line-height: 20px;
}

.order-address-arrow {
  width: 8px;
  height: 12px;
  flex-shrink: 0;
  margin-left: 8px;
}

.order-product {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
}

.order-product-top {
  display: flex;
  gap: 16px;
  padding: 16px;
  align-items: flex-start;
}

.order-product-thumb-wrap {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.order-product-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.order-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
  padding: 4px 0;
}

.order-product-name {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 19.25px;
}

.order-product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 8px;
}

.order-product-price {
  font-size: 18px;
  color: #1a1a1a;
  font-weight: bold;
  line-height: 28px;
}

.order-product-qty {
  font-size: 14px;
  color: #666666;
  line-height: 20px;
}

.order-product-shipping {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f9fafb;
  padding: 17px 16px 16px;
}

.order-product-shipping-label {
  font-size: 14px;
  color: #666666;
  line-height: 21px;
  font-weight: 500;
}

.order-product-shipping-value {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 21px;
  font-weight: 500;
}

.order-summary {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.order-summary-row-border {
  border-top: 1px solid #f9fafb;
  padding-top: 9px;
}

.order-summary-label {
  font-size: 14px;
  color: #666666;
  line-height: 21px;
  font-weight: 500;
  flex-shrink: 0;
}

.order-summary-value {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 600;
  line-height: 21px;
}

.order-summary-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 24px;
  text-align: right;
  font-family: inherit;
  padding: 0;
}

.order-summary-input::placeholder {
  color: #d1d5db;
}

.order-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 24px 16px;
  box-sizing: border-box;
  z-index: 100;
}

.order-footer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-footer-count {
  font-size: 12px;
  color: #666666;
  line-height: 16px;
}

.order-footer-total {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.order-footer-total-label {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 20px;
  font-weight: 500;
}

.order-footer-total-price {
  font-size: 20px;
  color: #1a1a1a;
  font-weight: bold;
  line-height: 28px;
}

.order-footer-btn {
  background-color: #f27405;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  padding: 14px 40px;
  border-radius: 9999px;
  text-align: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(242, 116, 5, 0.2), 0 4px 6px -4px rgba(242, 116, 5, 0.2);
}

/* ===== 确认订单 选择地址弹窗 ===== */
.order-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.order-popup.order-popup-show {
  display: flex;
}

.order-popup-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.order-popup-box {
  position: relative;
  z-index: 1;
  width: 320px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.order-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.order-popup-text {
  font-size: 16px;
  color: #1f2937;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

.order-popup-btns {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.order-popup-btn-cancel {
  width: 131px;
  flex-shrink: 0;
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 9px 0;
  border: 1px solid #f3f4f6;
  border-radius: 9999px;
}

.order-popup-btn-confirm {
  width: 129px;
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 9px 0;
  background-color: #f27405;
  border-radius: 9999px;
}

/* ===== 确认订单 选择地址底部弹窗 ===== */
.order-sheet {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 1100;
}

.order-sheet.order-sheet-show {
  display: block;
}

.order-sheet-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.33);
}

.order-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 85%;
  background-color: #ffffff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.order-sheet-header {
  position: relative;
  flex-shrink: 0;
  padding: 16px 16px 17px;
  border-bottom: 1px solid #f9fafb;
}

.order-sheet-title {
  font-size: 17px;
  color: #1f2937;
  font-weight: 500;
  line-height: 25.5px;
  text-align: center;
  width: 100%;
}

.order-sheet-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.order-sheet-close-icon {
  width: 24px;
  height: 24px;
}

.order-sheet-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 16px 0;
  -webkit-overflow-scrolling: touch;
}

.order-sheet-item {
  display: flex;
  align-items: center;
  padding: 20px 0 21px;
  border-bottom: 1px solid #f9fafb;
  cursor: pointer;
}

.order-sheet-check {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 0 12px 0 0;
  flex-shrink: 0;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  background-color: #ffffff;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}

.order-sheet-check:checked {
  border-color: #f27405;
  background-color: #f27405;
}

.order-sheet-check:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.order-sheet-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-sheet-item-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.order-sheet-tag {
  background-color: #31a4f0;
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  line-height: 12.5px;
  padding: 0 4px;
  border-radius: 2px;
  flex-shrink: 0;
}

.order-sheet-addr {
  font-size: 15px;
  color: #1f2937;
  font-weight: 500;
  line-height: 18.75px;
}

.order-sheet-item-body .order-sheet-addr {
  color: #374151;
}

.order-sheet-contact {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.order-sheet-contact-name {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 500;
  line-height: 20px;
}

.order-sheet-contact-phone {
  font-size: 14px;
  color: #9ca3af;
  font-weight: 500;
  line-height: 20px;
}

.order-sheet-edit {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 8px;
}

.order-sheet-footer {
  flex-shrink: 0;
  background-color: #ffffff;
  padding: 16px;
}

.order-sheet-add-btn {
  background-color: #f27405;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
}

.order-sheet-add-icon {
  font-size: 24px;
  line-height: 24px;
  font-weight: 400;
}

.order-sheet-add-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

/* ===== 收款台页 ===== */
.cashier-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f3f4f6;
}

.cashier-header-wrap {
  flex-shrink: 0;
}

.cashier-header-bar {
  height: 63px;
}

.cashier-header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cashier-header-center .index-header-title {
  position: static;
  transform: none;
  font-size: 16px;
  color: #333333;
  line-height: 24px;
}

.cashier-header-url {
  font-size: 12px;
  color: #666666;
  line-height: 15px;
}

.cashier-main {
  padding: 0 16px 32px;
}

.cashier-merchant {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.cashier-merchant-name {
  background-color: #f8a34d;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 4px 24px;
  border-radius: 9999px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.cashier-amount-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 32px;
}

.cashier-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #f3f4f6;
}

.cashier-amount-label {
  font-size: 16px;
  color: #374151;
  font-weight: 500;
  line-height: 24px;
}

.cashier-amount-value-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cashier-amount-value {
  font-size: 36px;
  color: #9ca3af;
  line-height: 40px;
}

.cashier-amount-yuan {
  width: 16px;
  height: 16px;
}

.cashier-amount-tip {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  line-height: 16.5px;
  padding: 4px 16px 12px;
  font-weight: 500;
}

.cashier-remark-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  color: #1a1a1a;
  line-height: normal;
  padding: 3px 16px 12px;
  box-sizing: border-box;
  font-family: inherit;
  background-color: transparent;
}

.cashier-remark-input::placeholder {
  color: #d1d5db;
  font-weight: 500;
}

.cashier-pay-section {
  margin-bottom: 32px;
}

.cashier-pay-title {
  font-size: 12px;
  color: #666666;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding-left: 4px;
  margin-bottom: 16px;
}

.cashier-pay-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  padding: 17px;
  margin-bottom: 8px;
  background-color: #ffffff;
  cursor: pointer;
}

.cashier-pay-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cashier-pay-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cashier-pay-icon-icbc {
  background-color: #e60012;
}

.cashier-pay-icon-wechat {
  background-color: #29b277;
}

.cashier-pay-icon {
  width: 24px;
  height: 24px;
}

.cashier-pay-icon-icbc .cashier-pay-icon {
  width: 17px;
  height: 17px;
}

.cashier-pay-name {
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 22.5px;
}

.cashier-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 27px;
  height: 27px;
  margin: 0;
  flex-shrink: 0;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background-color: #ffffff;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}

.cashier-check-input:checked {
  border-color: #f27405;
  background-color: #f27405;
}

.cashier-check-input:checked::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.cashier-pay-btn {
  background-color: #ff7675;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.cashier-tips-section {
  padding-bottom: 16px;
}

.cashier-tips-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.cashier-tips-bar {
  width: 6px;
  height: 24px;
  background-color: #f27405;
  border-radius: 9999px;
  flex-shrink: 0;
}

.cashier-tips-title {
  font-size: 18px;
  color: #221a11;
  font-weight: 500;
  line-height: 27px;
}

.cashier-tips-box {
  background-color: #fff1e5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cashier-tips-text {
  font-size: 16px;
  color: #221a11;
  font-weight: 500;
  line-height: 24px;
}

/* ===== 付款成功页 ===== */
.pay-success-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f3f4f6;
}

.pay-success-header-wrap {
  flex-shrink: 0;
  background-color: #ffffff;
}

.pay-success-header-bar {
  height: 63px;
}

.pay-success-header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-success-header-center .index-header-title {
  position: static;
  transform: none;
  font-size: 16px;
  color: #333333;
  line-height: 24px;
}

.pay-success-header-url {
  font-size: 12px;
  color: #666666;
  line-height: 15px;
}

.pay-success-main {
  padding: 0 16px 32px;
}

.pay-success-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}

.pay-success-icon-wrap {
  width: 96px;
  height: 96px;
  background-color: #f27405;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.pay-success-icon {
  width: 40px;
  height: 40px;
}

.pay-success-title {
  font-size: 32px;
  color: #221a11;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.64px;
  text-align: center;
  margin-bottom: 8px;
}

.pay-success-desc {
  font-size: 16px;
  color: #584236;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

.pay-success-card {
  background-color: #ffffff;
  border: 1px solid #dfc0b0;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pay-success-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-success-card-label {
  font-size: 14px;
  color: #584236;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.14px;
}

.pay-success-card-value {
  font-size: 14px;
  color: #221a11;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.14px;
}

.pay-success-card-divider {
  height: 1px;
  background-color: #dfc0b0;
  opacity: 0.2;
}

.pay-success-card-price {
  font-size: 22px;
  color: #ff4418;
  font-weight: bold;
  line-height: 24px;
}

.pay-success-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pay-success-btn-primary {
  background-color: #f27405;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  letter-spacing: 0.14px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.pay-success-btn-outline {
  border: 1px solid #f27405;
  color: #f27405;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  letter-spacing: 0.14px;
  background-color: #ffffff;
  cursor: pointer;
}

.pay-success-btn-text {
  color: #584236;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 14px;
  letter-spacing: 0.14px;
  cursor: pointer;
}

/* ===== 付款失败页 ===== */
.pay-fail-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f3f4f6;
}

.pay-fail-header-wrap {
  flex-shrink: 0;
  background-color: #ffffff;
}

.pay-fail-header-bar {
  height: 63px;
}

.pay-fail-header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-fail-header-center .index-header-title {
  position: static;
  transform: none;
  font-size: 16px;
  color: #333333;
  line-height: 24px;
}

.pay-fail-header-url {
  font-size: 12px;
  color: #666666;
  line-height: 15px;
}

.pay-fail-main {
  padding: 40px 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-fail-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.pay-fail-icon-wrap {
  width: 96px;
  height: 96px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  margin-bottom: 16px;
}

.pay-fail-icon {
  width: 42px;
  height: 42px;
}

.pay-fail-title {
  font-size: 32px;
  color: #221a11;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.64px;
  text-align: center;
}

.pay-fail-msg-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  max-width: 320px;
}

.pay-fail-msg-main {
  font-size: 18px;
  color: #584236;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
}

.pay-fail-msg-sub {
  font-size: 16px;
  color: #8b7264;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

.pay-fail-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pay-fail-btn-primary {
  background-color: #f27405;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  letter-spacing: 0.14px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.pay-fail-btn-secondary {
  background-color: #fff8f4;
  border: 1px solid #dfc0b0;
  color: #584236;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  letter-spacing: 0.14px;
  cursor: pointer;
}

.pay-fail-btn-text {
  color: #994700;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 14px;
  letter-spacing: 0.14px;
  cursor: pointer;
}

/* ===== 新增地址页 ===== */
.address-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f7f7f7;
  padding-bottom: 90px;
}

.address-header-wrap {
  flex-shrink: 0;
  background-color: #ffffff;
}

.address-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.address-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.address-row {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f9fafb;
}

.address-row-top {
  align-items: flex-start;
}

.address-row-gender {
  border-bottom: none;
  padding-bottom: 0;
}

.address-row-tags {
  align-items: center;
}

.address-row-switch {
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: none;
}

.address-label {
  width: 80px;
  flex-shrink: 0;
  font-size: 16px;
  color: #333333;
  font-weight: 500;
  line-height: 24px;
}

.address-row-right {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.address-location {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.address-location-name {
  font-size: 16px;
  color: #333333;
  font-weight: 500;
  line-height: 24px;
}

.address-location-detail {
  font-size: 12px;
  color: #999999;
  line-height: 16px;
}

.address-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

.address-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333333;
  line-height: normal;
  font-family: inherit;
  background-color: transparent;
  padding: 2px 0;
}

.address-input::placeholder {
  color: #d1d5db;
}

.address-gender-wrap {
  display: flex;
  align-items: center;
  padding: 0 16px 16px 96px;
  gap: 24px;
}

.address-gender-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.address-gender-check {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0 8px 0 0;
  flex-shrink: 0;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background-color: #ffffff;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}

.address-gender-check:checked {
  border-color: #f27405;
  background-color: #f27405;
}

.address-gender-check:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.address-gender-text {
  font-size: 16px;
  color: #333333;
  font-weight: 500;
  line-height: 24px;
}

.address-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.address-tag {
  font-size: 14px;
  color: #4b5563;
  line-height: 20px;
  padding: 2px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background-color: #ffffff;
  cursor: pointer;
}

.address-tag-active {
  color: #f27405;
  border-color: #f27405;
  background-color: #fdeedc;
}

.address-switch-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 8px;
}

.address-switch-title {
  font-size: 16px;
  color: #333333;
  font-weight: 500;
  line-height: 24px;
}

.address-switch-desc {
  font-size: 12px;
  color: #999999;
  line-height: 16px;
}

.address-switch {
  appearance: none;
  -webkit-appearance: none;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
  background-color: #e5e7eb;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  border: none;
  margin: 0;
}

.address-switch::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 4px solid #e5e7eb;
  box-sizing: border-box;
}

.address-switch:checked {
  background-color: #f27405;
}

.address-switch:checked::after {
  left: 24px;
  border-color: #f27405;
}

.address-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  background-color: #ffffff;
  padding: 16px;
  box-sizing: border-box;
  z-index: 100;
}

.address-save-btn {
  background-color: rgba(242, 116, 5, 0.3);
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  padding: 14px;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

/* ===== 收货地址列表 ===== */
.address-list-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f7f7f7;
  padding-bottom: 90px;
}

.address-list-header-wrap {
  flex-shrink: 0;
  background-color: #ffffff;
}

.address-list-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.address-list-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 16px;
}

.address-list-card-default {
  border-color: #fde7d2;
  background-color: #fffaf5;
}

.address-list-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.address-list-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.address-list-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  background-color: #f3f4f6;
  font-size: 12px;
  color: #666666;
  line-height: 20px;
}

.address-list-default-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  background-color: #f27405;
  font-size: 12px;
  color: #ffffff;
  line-height: 20px;
}

.address-list-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.address-list-action {
  font-size: 13px;
  color: #666666;
  line-height: 20px;
  cursor: pointer;
  padding: 0 8px;
  white-space: nowrap;
}

.address-list-action + .address-list-action {
  border-left: 1px solid #e5e7eb;
}

.address-list-action-danger {
  color: #ef4444;
}

.address-list-region {
  font-size: 13px;
  color: #999999;
  line-height: 20px;
  margin-bottom: 4px;
}

.address-list-detail {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 10px;
  word-break: break-all;
}

.address-list-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.address-list-name,
.address-list-gender,
.address-list-mobile {
  font-size: 14px;
  color: #666666;
  line-height: 21px;
}

.address-list-mobile {
  margin-left: auto;
}

.address-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 80px 20px;
}

.address-list-empty-text {
  font-size: 16px;
  color: #1a1a1a;
  line-height: 24px;
}

.address-list-empty-sub {
  font-size: 14px;
  color: #999999;
  line-height: 21px;
}

.address-list-add-btn {
  background-color: #f27405;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  padding: 14px;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

/* ===== 活动专区页 ===== */
.activity-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #ffffff;
  padding-bottom: 70px;
}

.activity-header-wrap {
  flex-shrink: 0;
  background-color: #ffffff;
}

.activity-main {
  padding: 12px 16px 24px;
}

.activity-search-wrap {
  position: relative;
  margin-bottom: 12px;
}

.activity-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  z-index: 1;
  pointer-events: none;
}

.activity-search-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  background-color: #ffffff;
  font-size: 14px;
  color: #1f2937;
  line-height: 20px;
  padding: 10px 16px 10px 40px;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
}

.activity-search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.activity-tabs-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
}

.activity-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.activity-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding-bottom: 2px;
}

.activity-tab {
  flex-shrink: 0;
  font-size: clamp(12px, 3.6vw, 16px);
  color: #584236;
  font-weight: 500;
  line-height: 22px;
  padding: 7px 16px;
  border-radius: 9999px;
  background-color: #fff1e5;
  cursor: pointer;
  white-space: nowrap;
}

.activity-tab-active {
  color: #ffffff;
  background-color: #f27405;
}

.activity-zone {
  margin-bottom: 20px;
}

.activity-zone-head {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  margin-bottom: 12px;
  font-size: 16px;
  box-sizing: border-box;
}

.activity-zone-title {
  flex: 0 0 auto;
  font-size: 1.125em;
  font-weight: 700;
  color: #333333;
  line-height: 1.25;
  white-space: nowrap;
}

.activity-zone-sub {
  flex: 0 0 auto;
  font-size: 0.75em;
  font-weight: 400;
  color: #999999;
  line-height: 1.25;
  white-space: nowrap;
}

.activity-zone-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin-right: -16px;
  padding-right: 16px;
}

.activity-zone-scroll::-webkit-scrollbar {
  display: none;
}

.activity-products {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: max-content;
  padding-bottom: 2px;
}

.activity-product-card {
  width: 96px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.activity-product-img-wrap {
  width: 96px;
  height: 96px;
  background-color: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

.activity-product-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.activity-product-name {
  font-size: 10px;
  color: #4b5563;
  font-weight: 500;
  line-height: 15px;
  white-space: nowrap;
  overflow: hidden;
}

.activity-product-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: #ef4444;
  font-weight: 700;
  font-size: 14px;
}

.activity-product-price-num {
  font-size: 1em;
  line-height: 1.2;
}

.activity-product-price-unit {
  font-size: 0.714em;
  line-height: 1.2;
  flex-shrink: 0;
}

.activity-footer .index-footer-text-active {
  color: #f27405;
}

.activity-footer {
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.index-footer-item-active .index-footer-text-active {
  color: #eab308;
}

.index-footer-active1 {
  justify-content: space-around;
  padding: 8px 48px;
}

.index-footer-active1 .index-footer-item {
  flex: 1;
  max-width: 120px;
}

/* ===== 活动详情 active1 / active2 ===== */
.active1-page,
.active2-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #ffffff;
  position: relative;
}

.active1-page {
  padding-bottom: 70px;
}

.active1-page.active1-page-has-checkout {
  padding-bottom: 142px;
}

.active2-page {
  padding-bottom: 100px;
}

.active1-main,
.active2-main {
  padding: 20px 16px 0;
}

.active1-intro,
.active2-intro {
  border-left: 4px solid #f27405;
  padding-left: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.active1-intro-title,
.active2-intro-title {
  font-size: 24px;
  font-weight: 600;
  color: #221a11;
  line-height: 32px;
}

.active1-intro-desc,
.active2-intro-desc {
  font-size: 16px;
  font-weight: 500;
  color: #584236;
  line-height: 24px;
}

.active1-grid,
.active2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.active1-card,
.active2-card {
  background-color: #ffffff;
  border: 1px solid #dfc0b0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(67, 57, 46, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.active1-card-img-wrap,
.active2-card-img-wrap {
  position: relative;
  height: 167px;
  background-color: #fcebdb;
  overflow: hidden;
}

.active1-card-img,
.active2-card-img {
  width: 100%;
  height: 167px;
  object-fit: cover;
  object-position: center;
}

.active1-card-info,
.active2-card-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.active1-card-name,
.active2-card-name {
  font-size: 16px;
  font-weight: 500;
  color: #221a11;
  line-height: 24px;
}

.active1-card-desc,
.active2-card-desc {
  font-size: 16px;
  font-weight: 500;
  color: #221a11;
  line-height: 24px;
}

.active1-card-price,
.active2-card-price {
  color: #ef4444;
  font-weight: bold;
  margin-top: 4px;
}

.active1-card-price-num,
.active2-card-price-num {
  font-size: 16px;
  line-height: 20px;
}

.active1-card-price-unit,
.active2-card-price-unit {
  font-size: 12px;
  line-height: 20px;
}

.active1-card-action,
.active2-card-action {
  height: 36px;
  margin-top: 12px;
  background-color: #994700;
  border-radius: 8px;
}

.active1-card-check,
.active2-card-check {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 27px;
  height: 27px;
  margin: 0;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background-color: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
  z-index: 2;
}

.active1-card-check:checked,
.active2-card-check:checked {
  border-color: #f27405;
  background-color: #f27405;
}

.active1-card-check:checked::after,
.active2-card-check:checked::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.active1-footer,
.active2-footer {
  position: fixed;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  box-sizing: border-box;
  z-index: 99;
}

.active1-footer-left,
.active2-footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.active1-footer-label,
.active2-footer-label {
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  line-height: 18px;
}

.active1-footer-price,
.active2-footer-price {
  color: #ef4444;
  font-weight: bold;
}

.active1-footer-price-num,
.active2-footer-price-num {
  font-size: 24px;
  line-height: 20px;
}

.active1-footer-price-unit,
.active2-footer-price-unit {
  font-size: 10px;
  line-height: 20px;
}

.active1-footer-btn,
.active2-footer-btn {
  flex-shrink: 0;
  background-color: #f3a642;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  padding: 12px 40px;
  border-radius: 9999px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

/* ===== 购物车 cart ===== */
.cart-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #ffffff;
  position: relative;
  padding-bottom: 150px;
}

.cart-main {
  background-color: #ffffff;
}

.cart-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
}

.cart-subhead-count {
  font-size: 14px;
  color: #9ca3af;
  line-height: 20px;
}

.cart-subhead-num {
  color: #f3a642;
}

.cart-subhead-edit {
  font-size: 14px;
  font-weight: 500;
  color: #f3a642;
  line-height: 20px;
  cursor: pointer;
}

.cart-list {
  display: flex;
  flex-direction: column;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  padding: 16px;
}

.cart-item-border {
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}

.cart-item-check {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 38px 12px 0 0;
  flex-shrink: 0;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  background-color: #ffffff;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}

.cart-item-check:checked {
  border-color: #f3a642;
  background-color: #f3a642;
}

.cart-item-check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.cart-item-thumb-wrap {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border: 1px solid #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
  background-color: #ffffff;
}

.cart-item-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  min-height: 96px;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.cart-item-main {
  flex: 1;
  min-width: 0;
}

.cart-item-spec {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  line-height: 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-all;
}

.cart-item-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(4px, 1.5vw, 8px);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  --cart-stepper-scale: 1;
  --cart-stepper-size: calc(clamp(22px, 3.5vw + 6px, 30px) * var(--cart-stepper-scale, 1));
  --cart-stepper-btn: calc(clamp(18px, 2.8vw + 4px, 26px) * var(--cart-stepper-scale, 1));
  --cart-stepper-num: calc(clamp(20px, 3.2vw + 4px, 34px) * var(--cart-stepper-scale, 1));
  --cart-stepper-font: calc(clamp(11px, 2vw + 4px, 13px) * var(--cart-stepper-scale, 1));
}

.cart-item-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 0%;
  min-width: 0;
}

.cart-item-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  max-width: 100%;
  color: #ef4444;
  font-weight: 700;
  font-size: 20px;
}

.cart-item-price-num {
  font-size: 1em;
  line-height: 1.2;
}

.cart-item-price-unit {
  font-size: 0.6em;
  line-height: 1.2;
  flex-shrink: 0;
}

.cart-item-unit {
  font-size: 12px;
  font-weight: 500;
  color: #f27405;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cart-item-unit-price {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.cart-item-unit-suffix {
  flex-shrink: 0;
}

.cart-item-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #f3f4f6;
  border-radius: clamp(3px, 0.8vw, 4px);
  overflow: hidden;
  flex: 0 0 auto;
  height: var(--cart-stepper-size);
  box-sizing: border-box;
}

.cart-item-stepper-minus,
.cart-item-stepper-plus {
  width: var(--cart-stepper-btn);
  height: var(--cart-stepper-size);
  padding: 0;
  font-size: var(--cart-stepper-font);
  line-height: var(--cart-stepper-size);
  text-align: center;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  box-sizing: border-box;
}

.cart-item-stepper-minus {
  color: #fdba74;
}

.cart-item-stepper-plus {
  color: #f3a642;
}

.cart-item-stepper-num {
  min-width: var(--cart-stepper-btn);
  width: var(--cart-stepper-num);
  max-width: calc(var(--cart-stepper-num) + 4px);
  padding: 0 2px;
  font-size: var(--cart-stepper-font);
  color: #000000;
  line-height: var(--cart-stepper-size);
  height: var(--cart-stepper-size);
  text-align: center;
  border: none;
  border-left: 1px solid #f3f4f6;
  border-right: 1px solid #f3f4f6;
  box-sizing: border-box;
  background: transparent;
  outline: none;
  cursor: pointer;
  -moz-appearance: textfield;
}

.cart-item-stepper-num::-webkit-outer-spin-button,
.cart-item-stepper-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-checkout {
  position: fixed;
  bottom: 59px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  background-color: #ffffff;
  border-top: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  box-sizing: border-box;
  z-index: 100;
}

.cart-checkout-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0;
  cursor: pointer;
}

.cart-all-label {
  font-size: 14px;
  color: #6b7280;
  line-height: 20px;
  white-space: nowrap;
}

.cart-checkout-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
}

.cart-checkout-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  color: #ef4444;
  font-weight: 700;
  font-size: 16px;
  max-width: 100%;
}

.cart-checkout-price-num {
  font-size: 1.5em;
  line-height: 1;
}

.cart-checkout-price-unit {
  font-size: 0.625em;
  line-height: 1;
  flex-shrink: 0;
}

.cart-checkout-btn {
  flex: 0 0 auto;
  background-color: #f3a642;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  padding: 10px 32px;
  border-radius: 9999px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  white-space: nowrap;
}

.cart-tabbar .index-footer-text-active {
  color: #f3a642;
}

.cart-all-check {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  background-color: #ffffff;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  flex-shrink: 0;
}

.cart-all-check:checked {
  border-color: #f3a642;
  background-color: #f3a642;
}

.cart-all-check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.cart-page-manage .cart-checkout-main {
  display: none;
}

.cart-page-manage .cart-checkout-btn {
  background-color: #ef4444;
}

.cart-tabbar-cart {
  position: relative;
}

.cart-tabbar-icon-wrap {
  position: relative;
  width: 24px;
  height: 24px;
}

.cart-tabbar-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  background-color: #ef4444;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  line-height: 15px;
  text-align: center;
  box-sizing: border-box;
}

.cart-dialog {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.cart-dialog.cart-dialog-show {
  display: flex;
}

.cart-dialog-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.cart-dialog-box {
  position: relative;
  z-index: 1;
  width: 320px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.cart-dialog-title {
  font-size: 16px;
  color: #1f2937;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}

.cart-dialog-btns {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.cart-dialog-btn-cancel {
  width: 131px;
  flex-shrink: 0;
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 9px 0;
  border: 1px solid #f3f4f6;
  border-radius: 9999px;
  cursor: pointer;
}

.cart-dialog-btn-confirm {
  width: 129px;
  flex-shrink: 0;
  margin-left: 12px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 9px 0;
  background-color: #f27405;
  border-radius: 9999px;
  cursor: pointer;
}

/* ===== 个人中心 mine ===== */
.mine-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f9f9f9;
  position: relative;
  padding-bottom: 80px;
}

.mine-header-wrap {
  background-color: #ffffff;
}

.mine-top {
  position: relative;
  height: 130px;
  background: linear-gradient(180deg, rgba(253, 186, 116, 0.19) 0%, #f9f9f9 100%);
  overflow: hidden;
}

.mine-top-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 185px;
  object-fit: cover;
  opacity: 0.56;
  pointer-events: none;
}

.mine-user {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 58px 16px 0;
}

.mine-avatar-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  border-radius: 9999px;
  background-color: #fef9c3;
  padding: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-sizing: border-box;
}

.mine-avatar {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
}

.mine-username {
  font-size: 20px;
  font-weight: 500;
  color: #111827;
  line-height: 28px;
}

.mine-login-btn {
  margin-left: auto;
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 36px;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.28);
}

.mine-login-btn:active {
  opacity: 0.92;
}

.mine-login-btn-hidden,
.mine-logout-hidden {
  display: none !important;
}

.mine-page:not(.mine-logged-in) #mineLogoutItem {
  display: none !important;
}

.mine-page.mine-logged-in #mineLoginBtn {
  display: none !important;
}

.mine-main {
  padding: 0 12px;
  margin-top: -8px;
  position: relative;
  z-index: 2;
}

.mine-orders {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
}

.mine-orders-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.mine-orders-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-top: 13px;
}

.mine-orders-icon-wrap {
  position: relative;
  width: 20px;
  height: 20px;
}

.mine-orders-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9999px;
  background-color: #f27405;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}

.mine-orders-badge.hide {
  display: none;
}

.mine-orders-item-all {
  border-left: 1px solid #f3f4f6;
}

.mine-orders-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mine-orders-label {
  font-size: 11px;
  font-weight: 500;
  color: #374151;
  line-height: 16.5px;
  text-align: center;
}

.mine-menu {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.mine-menu-item {
  display: flex;
  align-items: center;
  padding: 16px 12px 17px;
  border-bottom: 1px solid rgba(220, 227, 236, 0.3);
}

.mine-menu-item-last {
  border-bottom: none;
}

.mine-menu-icon {
  width: 28px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  /* margin-right: 4px; */
}

.mine-menu-label {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #151c23;
  line-height: 20px;
  min-width: 0;
}

.mine-menu-extra {
  font-size: 12px;
  font-weight: 500;
  color: #fdba74;
  line-height: 18px;
  margin-right: 4px;
  flex-shrink: 0;
}

.mine-menu-arrow {
  width: 7px;
  height: 12px;
  flex-shrink: 0;
  object-fit: contain;
}

.mine-credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 20px 24px;
}

.mine-credits-line {
  font-size: 12px;
  color: rgba(153, 153, 153, 0.6);
  line-height: 19.5px;
  text-align: center;
}

.mine-float-btn {
  position: fixed;
  bottom: 75px;
  right: 16px;
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border: 1px solid rgba(223, 192, 176, 0.3);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  z-index: 90;
  box-sizing: border-box;
}

.mine-float-icon {
  width: 36px;
  height: 34px;
  object-fit: contain;
}

.mine-tabbar-cart {
  position: relative;
}

.mine-tabbar-icon-wrap {
  position: relative;
  width: 24px;
  height: 24px;
}

.mine-tabbar-badge {
  position: absolute;
  top: -5px;
  right: -8px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  background-color: #ef4444;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  line-height: 15px;
  text-align: center;
  box-sizing: border-box;
}

/* ===== 订单中心 order-list ===== */
.order-list-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f9fafb;
  position: relative;
}

.order-list-header-wrap {
  background-color: #ffffff;
}

.order-list-tabs-wrap {
  position: sticky;
  top: 60px;
  z-index: 99;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.order-list-tabs-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.order-list-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: 16px;
}

.order-list-tab {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: #584236;
  line-height: 20px;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  letter-spacing: 0.14px;
}

.order-list-tab-active {
  color: #ffffff;
  background-color: #f27405;
}

.order-list-page-has-footer {
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

.order-list-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-list-card {
  background-color: #ffffff;
  border: 1px solid #f1f3f5;
  border-radius: 16px;
  padding: 17px;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-list-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(238, 238, 238, 0.3);
}

.order-list-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.order-list-card-no {
  font-size: 12px;
  font-weight: 600;
  color: #333333;
  line-height: 18px;
}

.order-list-card-date {
  font-size: 12px;
  color: #333333;
  line-height: 18px;
}

.order-list-card-status {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.14px;
}

.order-list-card-status-orange {
  color: #f27405;
}

.order-list-card-status-grey {
  color: #584236;
}

.order-list-card-status-red {
  color: #ef4444;
}

.order-list-card-thumbs {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}

.order-list-card-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: visible;
}

.order-list-card-thumb-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background-color: #ffffff;
}

.order-list-card-thumb-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  padding: 1px 4px;
  background-color: #f27405;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  line-height: 14px;
}

.order-list-card-thumb-more {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 1px dashed rgba(242, 116, 5, 0.3);
  border-radius: 8px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #f27405;
  line-height: 16px;
  letter-spacing: 0.24px;
}

.order-list-card-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0 21px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.order-list-card-total-label {
  font-size: 12px;
  color: #404943;
  line-height: 16px;
  letter-spacing: 0.24px;
}

.order-list-card-total-price {
  color: #ef4444;
  font-weight: bold;
}

.order-list-card-total-num {
  font-size: 24px;
  line-height: 20px;
}

.order-list-card-total-unit {
  font-size: 10px;
  line-height: 20px;
}

.order-list-card-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.order-list-card-body-fade {
  opacity: 0.6;
}

.order-list-card-img-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.order-list-card-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.order-list-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 80px;
  padding: 4px 0;
  box-sizing: border-box;
}

.order-list-card-name {
  font-size: 15px;
  font-weight: 500;
  color: #221a11;
  line-height: 22px;
}

.order-list-card-spec {
  font-size: 13px;
  color: #333333;
  line-height: 19.5px;
}

.order-list-card-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.order-list-card-qty {
  font-size: 15px;
  color: #584236;
  line-height: 22px;
}

.order-list-card-price {
  color: #ef4444;
  font-weight: bold;
}

.order-list-card-price-num {
  font-size: 24px;
  line-height: 20px;
}

.order-list-card-price-unit {
  font-size: 10px;
  line-height: 20px;
}

.order-list-card-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.order-list-card-extra-recharge {
  flex-direction: column;
  align-items: stretch;
}

.order-list-card-extra-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.order-list-card-extra-hint {
  font-size: 12px;
  font-weight: 500;
  color: #f27405;
  line-height: 18px;
  padding-top: 4px;
}

.order-list-card-code {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  line-height: 20px;
  letter-spacing: 0.14px;
}

.order-list-card-link {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: #f27405;
  line-height: 20px;
  letter-spacing: 0.14px;
  cursor: pointer;
}

.order-list-card-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
}

.order-list-card-notice-icon {
  width: 15px;
  height: 17px;
  flex-shrink: 0;
  object-fit: contain;
}

.order-list-card-notice-text {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: #584236;
  line-height: 15px;
}

.order-list-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 8px;
}

.order-list-card-btn {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 9px 16px;
  border-radius: 9999px;
  letter-spacing: 0.14px;
  cursor: pointer;
  flex-shrink: 0;
}

.order-list-card-btn-outline {
  color: #333333;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.36);
}

.order-list-card-btn-primary {
  color: #ffffff;
  background-color: #f27405;
}

.order-list-card-btn-sm {
  padding: 9px 16px;
}

/* ===== 订单详情 order-detail ===== */
.order-detail-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f7f8fa;
  position: relative;
  padding-bottom: 24px;
}

.order-detail-page-has-footer {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

.order-detail-header-wrap {
  background-color: #ffffff;
}

.order-detail-header-wrap .index-header-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-detail-main {
  padding: 12px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-detail-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0 8px;
}

.order-detail-status-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.order-detail-status-label {
  font-size: 12px;
  font-weight: 400;
  color: #999999;
  line-height: 17px;
}

.order-detail-status-value {
  font-size: clamp(20px, 6vw, 24px);
  font-weight: 700;
  color: #f27405;
  line-height: 1.2;
}

.order-detail-status-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  max-width: 58%;
}

.order-detail-status-no,
.order-detail-status-date {
  font-size: clamp(11px, 3.1vw, 12px);
  font-weight: 400;
  color: #999999;
  line-height: 17px;
  text-align: right;
  word-break: break-all;
}

.order-detail-pay-countdown {
  background-color: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #9a3412;
  line-height: 20px;
}

.order-detail-pay-countdown-time {
  color: #f27405;
  font-weight: 600;
}

.order-detail-product {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.order-detail-product-sn {
  font-size: 12px;
  font-weight: 400;
  color: #999999;
  line-height: 18px;
  word-break: break-all;
}

.order-detail-product-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background-color: #f7f8fa;
  border-radius: 8px;
}

.order-detail-product-status-label {
  font-size: 13px;
  font-weight: 400;
  color: #999999;
  line-height: 20px;
  flex-shrink: 0;
}

.order-detail-product-status-value {
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  text-align: right;
}

.order-detail-product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.order-detail-product-actions-btn {
  flex: 1;
  min-width: calc(50% - 5px);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 9px 12px;
  border-radius: 9999px;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.order-detail-product-actions-btn-outline {
  color: #333333;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.order-detail-product-actions-btn-primary {
  color: #ffffff;
  background-color: #f27405;
  border: 1px solid #f27405;
}

.order-detail-product-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.order-detail-product-img-wrap {
  width: clamp(68px, 20vw, 80px);
  height: clamp(68px, 20vw, 80px);
  flex-shrink: 0;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f7f8fa;
}

.order-detail-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-detail-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: clamp(68px, 20vw, 80px);
  justify-content: space-between;
}

.order-detail-product-name {
  font-size: clamp(14px, 4vw, 16px);
  font-weight: 600;
  color: #333333;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-detail-product-status-orange {
  color: #f27405;
}

.order-detail-product-status-grey {
  color: #584236;
}

.order-detail-product-status-red {
  color: #ef4444;
}

.order-detail-product-spec {
  font-size: 12px;
  font-weight: 400;
  color: #999999;
  line-height: 17px;
}

.order-detail-product-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}

.order-detail-product-qty {
  font-size: 12px;
  font-weight: 400;
  color: #999999;
  line-height: 17px;
  flex-shrink: 0;
}

.order-detail-product-price {
  display: inline-flex;
  align-items: baseline;
  color: #333333;
  font-weight: 700;
  min-width: 0;
  white-space: nowrap;
}

.order-detail-product-price-num {
  font-size: clamp(16px, 4.8vw, 18px);
  line-height: 24px;
}

.order-detail-product-price-unit {
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  margin-left: 2px;
}

.order-detail-product-virtual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.order-detail-product-virtual .order-detail-voucher {
  padding-top: 0;
  border-top: none;
}

.order-detail-product-virtual .order-detail-link-card {
  background-color: #f9fafb;
  border: none;
  border-radius: 8px;
  padding: 12px;
}

.order-detail-product-virtual .order-detail-guide {
  margin: 0;
}

.order-detail-voucher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.order-detail-voucher-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.order-detail-voucher-label {
  font-size: 12px;
  font-weight: 400;
  color: #999999;
  line-height: 17px;
}

.order-detail-voucher-code {
  font-size: clamp(14px, 4vw, 15px);
  color: #333333;
  line-height: 21px;
  word-break: break-all;
}

.order-detail-voucher-copy {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: #f27405;
  line-height: 18px;
  padding: 6px 14px;
  border: 1px solid #f27405;
  border-radius: 9999px;
  background-color: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
}

.order-detail-link-card {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.order-detail-link-label {
  font-size: 12px;
  font-weight: 400;
  color: #999999;
  line-height: 17px;
}

.order-detail-link-url {
  font-size: clamp(14px, 4vw, 15px);
  color: #333333;
  line-height: 21px;
  word-break: break-all;
}

.order-detail-recharge-btn {
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(180deg, #f58a1a 0%, #f27405 100%);
  color: #ffffff;
  font-size: clamp(15px, 4.2vw, 16px);
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(242, 116, 5, 0.28);
  cursor: pointer;
  box-sizing: border-box;
}

.order-detail-recharge-hint {
  font-size: 12px;
  font-weight: 400;
  color: #999999;
  line-height: 18px;
  text-align: center;
  margin-top: 4px;
}

.order-detail-info {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}

.order-detail-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-detail-info-label {
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  line-height: 20px;
  flex-shrink: 0;
}

.order-detail-info-value {
  font-size: 14px;
  font-weight: 400;
  color: #333333;
  line-height: 20px;
  text-align: right;
  word-break: break-all;
}

.order-detail-info-amount {
  font-size: clamp(14px, 4vw, 15px);
  font-weight: 700;
  color: #f27405;
  line-height: 20px;
  text-align: right;
}

.order-detail-guide {
  padding-top: 8px;
}

.order-detail-guide-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.order-detail-guide-bar {
  width: 4px;
  height: 16px;
  background-color: #f27405;
  border-radius: 2px;
  flex-shrink: 0;
}

.order-detail-guide-title {
  font-size: clamp(15px, 4.2vw, 16px);
  font-weight: 600;
  color: #333333;
  line-height: 22px;
}

.order-detail-guide-box {
  background-color: #fff5eb;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-detail-guide-text {
  display: block;
  font-size: clamp(13px, 3.8vw, 14px);
  font-weight: 400;
  color: #333333;
  line-height: 22px;
}

.order-detail-footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
  box-sizing: border-box;
  z-index: 90;
}

.order-detail-footer.hide {
  display: none;
}

.order-detail-footer-btn {
  flex: 1;
  min-width: 0;
  font-size: clamp(13px, 3.6vw, 14px);
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  padding: 10px 12px;
  border-radius: 9999px;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.order-detail-footer-btn-outline {
  color: #333333;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.order-detail-footer-btn-primary {
  color: #ffffff;
  background-color: #f27405;
  border: 1px solid #f27405;
}

/* ===== 申请退款 refund ===== */
.refund-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f9fafb;
  position: relative;
  padding-bottom: 90px;
}

.refund-header-wrap {
  background-color: #ffffff;
}

.refund-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.refund-product {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.refund-product-img-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.refund-product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.refund-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 80px;
  justify-content: space-between;
}

.refund-product-name {
  font-size: 15px;
  font-weight: 500;
  color: #221a11;
  line-height: 22px;
}

.refund-product-spec {
  font-size: 13px;
  color: #333333;
  line-height: 19.5px;
}

.refund-product-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.refund-product-qty {
  font-size: 15px;
  color: #584236;
  line-height: 22px;
}

.refund-product-price {
  color: #ef4444;
  font-weight: bold;
}

.refund-product-price-num {
  font-size: 20px;
  line-height: 28px;
}

.refund-product-price-unit {
  font-size: 12px;
  line-height: 28px;
}

.refund-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 4px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.refund-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
}

.refund-row-textarea {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.refund-label-block {
  width: 100%;
}

.refund-row-last {
  border-bottom: none;
}

.refund-label {
  font-size: 14px;
  font-weight: 500;
  color: #151c23;
  line-height: 20px;
  flex-shrink: 0;
}

.refund-row-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
}

.refund-placeholder {
  font-size: 14px;
  color: #9ca3af;
  line-height: 20px;
  text-align: right;
  cursor: pointer;
}

.refund-placeholder-filled {
  color: #221a11;
}

.refund-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #221a11;
  background-color: #ffffff;
  outline: none;
  font-family: inherit;
}

.refund-input:focus {
  border-color: #f97316;
}

.refund-input::placeholder {
  color: #9ca3af;
}

.refund-logistics-card {
  padding-top: 8px;
}

.refund-logistics-head {
  padding: 12px 0 8px;
  border-bottom: 1px solid #f3f4f6;
}

.refund-logistics-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #151c23;
  line-height: 22px;
}

.refund-logistics-tip {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 18px;
}

.refund-logistics-field {
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}

.refund-logistics-field-last {
  border-bottom: none;
  padding-bottom: 8px;
}

.refund-logistics-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #151c23;
  line-height: 20px;
}

.refund-logistics-autocomplete {
  position: relative;
}

.refund-logistics-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 220px;
  overflow-y: auto;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.refund-logistics-suggest.hide {
  display: none;
}

.refund-logistics-suggest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.refund-logistics-suggest-item:active,
.refund-logistics-suggest-item:hover {
  background-color: #fff7ed;
}

.refund-logistics-suggest-name {
  font-size: 14px;
  color: #151c23;
  line-height: 20px;
}

.refund-logistics-suggest-code {
  flex-shrink: 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 18px;
}

.refund-arrow {
  width: 7px;
  height: 12px;
  flex-shrink: 0;
  object-fit: contain;
}

.refund-amount {
  color: #ef4444;
  font-weight: bold;
}

.refund-amount-num {
  font-size: 18px;
  line-height: 24px;
}

.refund-amount-unit {
  font-size: 12px;
  line-height: 24px;
}

.refund-textarea {
  width: 100%;
  min-height: 80px;
  border: none;
  outline: none;
  resize: none;
  font-size: 14px;
  color: #221a11;
  line-height: 20px;
  font-family: inherit;
  background-color: transparent;
  box-sizing: border-box;
}

.refund-textarea::placeholder {
  color: #9ca3af;
}

.refund-upload-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 0 12px;
}

.refund-upload-title {
  font-size: 14px;
  font-weight: 500;
  color: #151c23;
  line-height: 20px;
}

.refund-upload-tip {
  font-size: 12px;
  color: #9ca3af;
  line-height: 16px;
}

.refund-upload-list {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 16px;
}

.refund-upload-slot {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border: 1px dashed #d1d5db;
  border-radius: 8px;
  background-color: #f9fafb;
  overflow: hidden;
}

.refund-upload-add {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  box-sizing: border-box;
}

.refund-upload-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.refund-upload-text {
  font-size: 11px;
  color: #9ca3af;
  line-height: 15px;
  text-align: center;
}

.refund-upload-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

.refund-upload-preview-show {
  opacity: 1;
  z-index: 1;
}

.refund-upload-add-hide {
  opacity: 0;
  pointer-events: none;
}

.refund-upload-file {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  cursor: pointer;
  z-index: 2;
}

.refund-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  background-color: #ffffff;
  padding: 16px;
  box-sizing: border-box;
  z-index: 100;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
}

.refund-submit-btn {
  background-color: #f27405;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  padding: 14px;
  border-radius: 9999px;
  cursor: pointer;
}

.refund-upload-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.refund-reason-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.refund-reason-sheet-show {
  display: block;
}

.refund-reason-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.refund-reason-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 750px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px 24px;
  box-sizing: border-box;
}

.refund-reason-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #151c23;
}

.refund-reason-close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
}

.refund-reason-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 50vh;
  overflow-y: auto;
}

.refund-reason-item {
  border: 1px solid #f3f4f6;
  background: #ffffff;
  border-radius: 8px;
  padding: 14px 16px;
  text-align: left;
  font-size: 15px;
  color: #221a11;
  cursor: pointer;
}

.refund-reason-item-active {
  border-color: #f27405;
  color: #f27405;
  background: #fff7ed;
}

/* ===== 物流详情 logistics ===== */
.logistics-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f9fafb;
  position: relative;
  padding-bottom: 90px;
}

.logistics-header-wrap {
  background-color: #ffffff;
}

.logistics-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logistics-status {
  background: linear-gradient(135deg, #f27405 0%, #f3a642 100%);
  border-radius: 8px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.logistics-status-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.logistics-status-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.logistics-status-title {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  line-height: 28px;
}

.logistics-status-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 19px;
}

.logistics-express {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.logistics-express-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logistics-express-name {
  font-size: 15px;
  font-weight: 500;
  color: #221a11;
  line-height: 22px;
}

.logistics-express-copy {
  font-size: 13px;
  color: #f27405;
  line-height: 19px;
  cursor: pointer;
  flex-shrink: 0;
}

.logistics-express-no {
  font-size: 14px;
  color: #584236;
  line-height: 20px;
}

.logistics-product {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.logistics-product-img-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.logistics-product-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.logistics-product-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logistics-product-name {
  font-size: 14px;
  font-weight: 500;
  color: #221a11;
  line-height: 20px;
}

.logistics-product-spec {
  font-size: 12px;
  color: #333333;
  line-height: 18px;
}

.logistics-product-qty {
  font-size: 13px;
  color: #584236;
  line-height: 19px;
}

.logistics-address {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.logistics-address-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  margin-top: 2px;
}

.logistics-address-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.logistics-address-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.logistics-address-name {
  font-size: 15px;
  font-weight: 500;
  color: #221a11;
  line-height: 22px;
}

.logistics-address-phone {
  font-size: 14px;
  color: #584236;
  line-height: 20px;
}

.logistics-address-detail {
  font-size: 13px;
  color: #333333;
  line-height: 19px;
}

.logistics-timeline {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.logistics-timeline-item {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.logistics-timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12px;
  flex-shrink: 0;
}

.logistics-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1d5db;
  flex-shrink: 0;
}

.logistics-timeline-dot-active {
  background-color: #f27405;
  box-shadow: 0 0 0 3px rgba(242, 116, 5, 0.2);
}

.logistics-timeline-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background-color: #e5e7eb;
  margin: 4px 0;
}

.logistics-timeline-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
}

.logistics-timeline-content-last {
  padding-bottom: 0;
}

.logistics-timeline-title {
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 20px;
}

.logistics-timeline-title-active {
  color: #f27405;
}

.logistics-timeline-time {
  font-size: 12px;
  color: #9ca3af;
  line-height: 16px;
}

.logistics-timeline-desc {
  font-size: 13px;
  color: #584236;
  line-height: 19px;
}

.logistics-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  background-color: #ffffff;
  padding: 16px;
  box-sizing: border-box;
  z-index: 100;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
}

.logistics-confirm-btn {
  background-color: #f27405;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  padding: 14px;
  border-radius: 9999px;
  cursor: pointer;
}

.logistics-query-popup {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.logistics-query-popup-show {
  display: flex;
}

.logistics-query-popup-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.logistics-query-popup-panel {
  position: relative;
  width: 100%;
  max-width: 750px;
  max-height: 88vh;
  background-color: #ffffff;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.logistics-query-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logistics-query-popup-title {
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  line-height: 24px;
}

.logistics-query-popup-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: 22px;
  line-height: 32px;
  color: #666666;
  cursor: pointer;
  flex-shrink: 0;
}

.logistics-query-popup-tip {
  font-size: 13px;
  color: #666666;
  line-height: 20px;
  background-color: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 10px 12px;
}

.logistics-query-popup-frame-wrap {
  width: 100%;
  height: min(58vh, 520px);
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f9fafb;
}

.logistics-query-popup-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background-color: #ffffff;
}

.logistics-query-popup-link {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #f27405;
  line-height: 20px;
  text-decoration: none;
}

/* ===== 退款/售后列表 refund-list ===== */
.refund-list-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f9fafb;
  position: relative;
}

.refund-list-header-wrap {
  background-color: #ffffff;
}

.refund-list-tabs-wrap {
  position: sticky;
  top: 60px;
  z-index: 99;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(225, 226, 229, 0.3);
}

.refund-list-tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 16px;
}

.refund-list-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 4px;
  cursor: pointer;
  flex: 1;
}

.refund-list-tab-text {
  font-size: 14px;
  font-weight: 500;
  color: #44474e;
  line-height: 20px;
  letter-spacing: 0.14px;
  text-align: center;
}

.refund-list-tab-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background-color: transparent;
}

.refund-list-tab-line-show {
  background-color: #f27405;
}

.refund-list-tab-text-active {
  color: #f27405;
}

.refund-list-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.refund-list-card {
  background-color: #ffffff;
  border: 1px solid rgba(225, 226, 229, 0.4);
  border-radius: 12px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.05);
}

.refund-list-card-done {
  opacity: 0.7;
}

.refund-list-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.refund-list-card-no {
  font-size: 14px;
  color: #44474e;
  line-height: 20px;
  letter-spacing: 0.14px;
}

.refund-list-card-status {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.14px;
  flex-shrink: 0;
}

.refund-list-card-status-orange {
  color: #f27405;
}

.refund-list-card-status-grey {
  color: #44474e;
}

.refund-list-card-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.refund-list-card-img-wrap {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background-color: #f7f9fc;
  border-radius: 8px;
  overflow: hidden;
}

.refund-list-card-img-wrap-fade {
  opacity: 0.6;
}

.refund-list-card-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.refund-list-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 80px;
  justify-content: space-between;
  padding: 2px 0;
}

.refund-list-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.refund-list-card-name {
  font-size: 16px;
  font-weight: 500;
  color: #1a1c1e;
  line-height: 24px;
  flex: 1;
  min-width: 0;
}

.refund-list-card-qty {
  font-size: 15px;
  color: #f27405;
  line-height: 22px;
  flex-shrink: 0;
}

.refund-list-card-qty-grey {
  color: #999999;
}

.refund-list-card-spec {
  font-size: 14px;
  font-weight: bold;
  color: #44474e;
  line-height: 20px;
  letter-spacing: 0.14px;
}

.refund-list-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.refund-list-card-tag {
  font-size: 12px;
  font-weight: 500;
  color: #44474e;
  line-height: 18px;
  padding: 3px 9px;
  border: 1px solid rgba(225, 226, 229, 0.6);
  border-radius: 9999px;
  flex-shrink: 0;
}

.refund-list-card-price-yuan {
  font-size: 20px;
  font-weight: bold;
  color: #1a1c1e;
  line-height: 24px;
}

.refund-list-card-price {
  color: #ef4444;
  font-weight: bold;
}

.refund-list-card-price-num {
  font-size: 24px;
  line-height: 28px;
}

.refund-list-card-price-unit {
  font-size: 10px;
  line-height: 28px;
}

.refund-list-card-price-done {
  font-size: 20px;
  font-weight: bold;
  color: #44474e;
  line-height: 24px;
}

.refund-list-card-foot {
  padding-top: 13px;
  border-top: 1px solid rgba(225, 226, 229, 0.2);
}

.refund-list-card-time {
  font-size: 14px;
  font-weight: bold;
  color: #44474e;
  line-height: 20px;
  letter-spacing: 0.14px;
}

.refund-list-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.refund-list-card-btn {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.14px;
  padding: 7px 18px;
  border-radius: 9999px;
  cursor: pointer;
  text-align: center;
  flex-shrink: 0;
}

.refund-list-card-btn-outline {
  color: #44474e;
  border: 1px solid #e1e2e5;
  background-color: #ffffff;
}

.refund-list-card-btn-primary {
  color: #f27405;
  border: 1px solid #f27405;
  background-color: #ffffff;
}

/* ===== 我的收藏 favorite ===== */
.favorite-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f9fafb;
  position: relative;
}

.favorite-header-wrap {
  background-color: #ffffff;
}

.favorite-search-wrap {
  padding: 12px 16px 12px;
  background-color: #ffffff;
}

.favorite-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #f3f4f6;
  border-radius: 9999px;
  padding: 8px 16px 9px 40px;
  box-sizing: border-box;
  min-height: 40px;
}

.favorite-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
}

.favorite-search-placeholder {
  font-size: 14px;
  color: #6b7280;
  line-height: normal;
}

.favorite-search-bar .favorite-search-placeholder {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  padding: 0;
}

.favorite-search-bar .favorite-search-placeholder::placeholder {
  color: #6b7280;
}

.favorite-empty {
  padding: 80px 20px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  line-height: 21px;
}

.favorite-main {
  padding-bottom: 16px;
}

.favorite-img-wrap {
  position: relative;
}

.favorite-badge {
  position: absolute;
  top: 5px;
  right: 3px;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.favorite-badge-bg {
  position: absolute;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.favorite-badge-star {
  position: relative;
  width: 16px;
  height: 16px;
  object-fit: contain;
  z-index: 1;
}

/* ===== 客服中心 service ===== */
.service-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #f9fafb;
  position: relative;
  padding-bottom: 24px;
}

.service-header-wrap {
  background-color: #ffffff;
}

.service-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.service-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 4px;
}

.service-hero-title {
  font-size: 22px;
  font-weight: 500;
  color: #221a11;
  line-height: 30px;
}

.service-hero-desc {
  font-size: 14px;
  color: #615e57;
  line-height: 20px;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.service-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.service-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon-wrap-orange {
  background-color: rgba(242, 116, 5, 0.1);
}

.service-card-icon-wrap-brown {
  background-color: rgba(88, 66, 54, 0.08);
}

.service-card-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-card-title {
  font-size: 18px;
  font-weight: 500;
  color: #221a11;
  line-height: 26px;
}

.service-card-desc {
  font-size: 14px;
  color: #615e57;
  line-height: 20px;
}

.service-card-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f27405;
  border-radius: 9999px;
  padding: 12px 24px;
  cursor: pointer;
}

.service-card-btn-text {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  line-height: 24px;
}

.service-card-btn-arrow {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.service-card-btn-outline {
  font-size: 16px;
  font-weight: 500;
  color: #221a11;
  line-height: 24px;
  text-align: center;
  padding: 11px 24px;
  border: 1px solid #dfc0b0;
  border-radius: 9999px;
  cursor: pointer;
}

.service-faq {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.service-faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.service-faq-title {
  font-size: 18px;
  font-weight: 500;
  color: #221a11;
  line-height: 26px;
}

.service-faq-more {
  font-size: 14px;
  font-weight: 500;
  color: #f27405;
  line-height: 20px;
  cursor: pointer;
}

.service-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-faq-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  cursor: pointer;
}

.service-faq-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-faq-answer {
  display: none;
  font-size: 14px;
  color: #9ca3af;
  line-height: 20px;
  padding-top: 12px;
}

.service-faq-item-open .service-faq-answer {
  display: block;
}

.service-faq-item-open .service-faq-arrow {
  transform: rotate(180deg);
}

.service-faq-item-last {
  padding-bottom: 16px;
}

.service-faq-question {
  font-size: 15px;
  color: #221a11;
  line-height: 22px;
  flex: 1;
  min-width: 0;
}

.service-faq-arrow {
  width: 12px;
  height: 7px;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* ===== 客服咨询弹窗 ===== */
.service-consult-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 300;
}

.service-consult-popup-show {
  display: block;
}

.service-consult-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.service-consult-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
}

.service-consult-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
}

.service-consult-title {
  font-size: 18px;
  font-weight: 600;
  color: #221a11;
}

.service-consult-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
}

.service-consult-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.service-consult-field {
  margin-bottom: 16px;
}

.service-consult-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #221a11;
  margin-bottom: 8px;
}

.service-consult-order-tip {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.service-consult-empty {
  font-size: 13px;
  color: #9ca3af;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
}

.service-consult-order-list {
  max-height: 160px;
  overflow-y: auto;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
}

.service-consult-order-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.service-consult-order-item:last-child {
  border-bottom: none;
}

.service-consult-order-check {
  margin-top: 4px;
}

.service-consult-order-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.service-consult-order-sn {
  font-size: 14px;
  color: #221a11;
  word-break: break-all;
}

.service-consult-order-meta {
  font-size: 12px;
  color: #9ca3af;
}

.service-consult-input,
.service-consult-select,
.service-consult-textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  color: #221a11;
  background: #fff;
  box-sizing: border-box;
}

.service-consult-textarea {
  min-height: 110px;
  resize: vertical;
}

.service-consult-upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-consult-upload-slot,
.service-consult-upload-add {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  position: relative;
}

.service-consult-upload-slot {
  overflow: hidden;
}

.service-consult-upload-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-consult-upload-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.service-consult-upload-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px dashed #d1d5db;
  background: #f9fafb;
  cursor: pointer;
}

.service-consult-upload-plus {
  font-size: 24px;
  color: #9ca3af;
  line-height: 1;
}

.service-consult-upload-text {
  font-size: 11px;
  color: #9ca3af;
}

.service-consult-upload-file {
  display: none;
}

.service-consult-footer {
  padding: 12px 20px 24px;
  border-top: 1px solid #f3f4f6;
}

.service-consult-submit {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b 0%, #f97316 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.service-consult-submit:disabled {
  opacity: 0.7;
}

.service-upload-progress {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
}

.service-upload-progress-show {
  display: block;
}

.service-upload-progress-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.service-upload-progress-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 64px);
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.service-upload-progress-title {
  font-size: 16px;
  font-weight: 600;
  color: #221a11;
  text-align: center;
  margin-bottom: 16px;
}

.service-upload-progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: #f3f4f6;
  border-radius: 999px;
  overflow: hidden;
}

.service-upload-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b 0%, #f97316 100%);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.service-upload-progress-text {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

/* ===== 隐私政策 privacy ===== */
.privacy-page {
  max-width: 750px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #ffffff;
  position: relative;
}

.privacy-header-wrap {
  background-color: #ffffff;
}

.privacy-main {
  padding: 16px 16px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.privacy-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 33px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.privacy-section-last {
  border-bottom: none;
  padding-bottom: 0;
}

.privacy-section-heading {
  font-size: 24px;
  font-weight: 500;
  color: #221a11;
  line-height: 32px;
}

.privacy-section-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.privacy-section-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 7px;
  object-fit: contain;
}

.privacy-subsection {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #221a11;
  line-height: 24px;
}

.privacy-text {
  font-size: 16px;
  color: #584236;
  line-height: 26px;
}

.privacy-text-highlight {
  color: #994700;
}

.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #fff1e5;
  border-radius: 12px;
  padding: 16px;
}

.privacy-notice-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  object-fit: contain;
}

.privacy-notice-text {
  font-size: 14px;
  color: #584236;
  line-height: 20px;
  flex: 1;
  min-width: 0;
}

.privacy-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-list-item {
  font-size: 16px;
  color: #584236;
  line-height: 24px;
}

.privacy-share-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-share-card {
  border: 1px solid #dfc0b0;
  border-radius: 12px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-share-title {
  font-size: 16px;
  font-weight: 500;
  color: #221a11;
  line-height: 24px;
}

.privacy-share-text {
  font-size: 14px;
  color: #584236;
  line-height: 20px;
}

.privacy-manage-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-manage-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 13px;
}

.privacy-manage-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.privacy-manage-text {
  font-size: 16px;
  font-weight: 500;
  color: #221a11;
  line-height: 24px;
}

.privacy-update-date {
  font-size: 14px;
  color: #615e57;
  line-height: 20px;
}

.privacy-contact-card {
  background-color: rgba(242, 116, 5, 0.05);
  border: 1px solid rgba(242, 116, 5, 0.1);
  border-radius: 16px;
  padding: 33px 25px 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.privacy-contact-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f27405;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-contact-icon {
  width: 20px;
  height: 16px;
  object-fit: contain;
}

.privacy-contact-icon-address {
  width: 16px;
  height: 20px;
}

.privacy-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.privacy-contact-label {
  font-size: 14px;
  color: #615e57;
  line-height: 20px;
}

.privacy-contact-value {
  font-size: 16px;
  font-weight: 700;
  color: #221a11;
  line-height: 24px;
}

.privacy-contact-value-address {
  font-weight: 500;
}

/* ===== 地址省市区选择 ===== */
.address-region-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 300;
}

.address-region-popup-show {
  display: block;
}

.address-region-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.address-region-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 70vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.address-region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
}

.address-region-title {
  font-size: 18px;
  font-weight: 600;
  color: #221a11;
}

.address-region-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
}

.address-region-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 52px;
  padding: 10px 16px;
  border-bottom: 1px solid #f3f4f6;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.address-region-tab {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  max-width: 140px;
  min-height: 32px;
  padding: 6px 14px;
  border: none;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.address-region-tab-active {
  background: #fff7ed;
  color: #ea580c;
}

.address-region-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}

.address-region-item {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 16px;
  color: #221a11;
}

.address-region-item-active {
  color: #ea580c;
  font-weight: 600;
}

.address-region-footer {
  flex-shrink: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #f3f4f6;
  box-sizing: border-box;
}

.address-region-confirm {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

/* Mall toast & dialog */
.mall-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10001;
  max-width: calc(100vw - 48px);
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mall-toast-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.mall-toast-text {
  display: block;
  word-break: break-word;
}

.mall-dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mall-dialog-mask-show {
  opacity: 1;
}

.mall-dialog {
  width: 100%;
  max-width: 320px;
  padding: 24px 20px 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  transform: translateY(8px) scale(0.98);
  transition: transform 0.2s ease;
}

.mall-dialog-mask-show .mall-dialog {
  transform: translateY(0) scale(1);
}

.mall-dialog-title {
  color: #1f2937;
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.mall-dialog-message {
  margin-top: 12px;
  color: #6b7280;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  word-break: break-word;
}

.mall-dialog-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.mall-dialog-btn {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.mall-dialog-btn-cancel {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #584236;
}

.mall-dialog-btn-primary {
  border: none;
  background: linear-gradient(90deg, #f97316 0%, #f27405 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(242, 116, 5, 0.28);
}

/* ===== 扫码授权登录门禁 ===== */
body.mall-auth-pending {
  overflow: hidden;
}

.mall-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(180deg, #fff7ed 0%, #f9fafb 45%, #f3f4f6 100%);
}

.mall-auth-gate-card {
  width: 100%;
  max-width: 320px;
  padding: 32px 24px 28px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  text-align: center;
}

.mall-auth-gate-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff7ed;
}

.mall-auth-gate-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mall-auth-gate-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.mall-auth-gate-desc {
  margin: 0 0 24px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.mall-auth-gate-btn {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(90deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.32);
}

.mall-auth-gate-btn:disabled {
  opacity: 0.7;
}

.mall-auth-gate-tip {
  margin: 16px 0 0;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.6;
}

/* ===== 取消订单弹窗 ===== */
.order-cancel-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 750px;
  height: 100%;
  z-index: 320;
}

.order-cancel-popup-show {
  display: block;
}

.order-cancel-mask {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.order-cancel-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
}

.order-cancel-head {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px 48px;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}

.order-cancel-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  line-height: 26px;
}

.order-cancel-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.order-cancel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 8px;
}

.order-cancel-tips {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.order-cancel-tips-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 20px;
  margin-bottom: 6px;
}

.order-cancel-tips-line {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 20px;
}

.order-cancel-tips-line + .order-cancel-tips-line {
  margin-top: 4px;
}

.order-cancel-reason-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  line-height: 22px;
  margin-bottom: 12px;
}

.order-cancel-reason-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-cancel-reason-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.order-cancel-reason-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.order-cancel-reason-radio {
  width: 18px;
  height: 18px;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
  position: relative;
}

.order-cancel-reason-input:checked + .order-cancel-reason-radio {
  border-color: #f27405;
}

.order-cancel-reason-input:checked + .order-cancel-reason-radio::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f27405;
  transform: translate(-50%, -50%);
}

.order-cancel-reason-text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #374151;
  line-height: 20px;
}

.order-cancel-footer {
  flex-shrink: 0;
  padding: 12px 20px 20px;
  background: #ffffff;
}

.order-cancel-submit {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #ffffff;
  background: linear-gradient(180deg, #ff8fab 0%, #ff6b9d 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.28);
  cursor: pointer;
  box-sizing: border-box;
}

.order-cancel-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
