* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.reserve-hint {
  width: 100%;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #fdf6ec;
  border: 1px solid #f5dab1;
  border-radius: 4px;
  color: #e6a23c;
  font-size: 14px;
  text-align: center;
}
html {
  height: auto !important;
  overflow-y: auto !important;
}
body {
  font-family: Arial, sans-serif;
  background-color: #f5f7fa;
  height: auto !important;
  overflow-y: auto !important;
}
#h5-app {
  height: auto !important;
  overflow-y: auto !important;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.header {
  background-color: #c4a35a;
  color: white;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header h1 {
  font-size: 24px;
  font-weight: bold;
}
.header .nav {
  display: flex;
  gap: 20px;
}
.header .nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}
.header .nav a:hover {
  text-decoration: underline;
}
.content {
  margin-top: 20px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.footer {
  margin-top: 20px;
  text-align: center;
  padding: 20px;
  background-color: #f5f7fa;
  border-top: 1px solid #e4e7ed;
}
.auth-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.auth-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #303133;
}
.auth-container .el-form-item {
  margin-bottom: 20px;
}
.auth-container .el-button {
  width: 100%;
}
.auth-links {
  margin-top: 20px;
  text-align: center;
}
.auth-links a {
  color: #c4a35a;
  text-decoration: none;
  margin: 0 10px;
}
.auth-links a:hover {
  text-decoration: underline;
}
.product-list {
  margin-bottom: 20px;
}
.product-list .search-bar {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}
.product-detail {
  display: flex;
  gap: 30px;
}
.product-detail .product-info {
  flex: 1;
}
.product-detail .product-image {
  width: 300px;
  height: 300px;
  background-color: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.product-detail .product-image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
.product-detail .price {
  font-size: 24px;
  font-weight: bold;
  color: #f56c6c;
  margin: 10px 0;
}
.product-detail .stock {
  color: #67c23a;
  margin: 10px 0;
}
.product-detail .description {
  margin: 20px 0;
  line-height: 1.6;
}
.product-detail .action-buttons {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}
.product-detail .action-buttons .el-button {
  flex: 1;
}
.promotion-product {
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.promotion-product .product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.promotion-product .product-header h3 {
  margin: 0;
  font-size: 18px;
}
.promotion-product .product-stage {
  background-color: #ecf5ff;
  color: #c4a35a;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}
.promotion-product .product-info {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.promotion-product .product-image {
  width: 100px;
  height: 100px;
  background-color: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.promotion-product .product-image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
.promotion-product .product-details {
  flex: 1;
}
.promotion-product .product-price {
  font-size: 20px;
  font-weight: bold;
  color: #f56c6c;
  margin: 10px 0;
}
.promotion-product .product-status {
  margin: 10px 0;
}
.promotion-product .action-buttons {
  display: flex;
  gap: 10px;
}
.help-record {
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.help-record .record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.help-record .record-header h3 {
  margin: 0;
  font-size: 16px;
}
.help-record .record-time {
  color: #909399;
  font-size: 14px;
}
.help-record .record-info {
  margin-bottom: 15px;
}
.help-record .record-amount {
  font-size: 18px;
  font-weight: bold;
  color: #67c23a;
}
.product-trace {
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  padding: 20px;
}
.product-trace h3 {
  margin-bottom: 20px;
}
.trace-step {
  display: flex;
  margin-bottom: 30px;
}
.trace-step .step-icon {
  width: 40px;
  height: 40px;
  background-color: #c4a35a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}
.trace-step .step-content {
  flex: 1;
}
.trace-step .step-content h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
}
.trace-step .step-content p {
  margin: 0;
  color: #606266;
}
.order-detail {
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  padding: 20px;
}
.order-detail h3 {
  margin-bottom: 20px;
}
.order-info {
  margin-bottom: 30px;
}
.order-info .info-item {
  display: flex;
  margin-bottom: 10px;
}
.order-info .info-label {
  width: 120px;
  color: #909399;
}
.order-info .info-value {
  flex: 1;
}
.order-products {
  margin-bottom: 30px;
}
.order-products h4 {
  margin-bottom: 15px;
}
.order-products .product-item {
  display: flex;
  padding: 10px;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  margin-bottom: 10px;
}
.order-products .product-image {
  width: 80px;
  height: 80px;
  background-color: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-right: 15px;
}
.order-products .product-image img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
.order-products .product-info {
  flex: 1;
}
.order-products .product-name {
  font-weight: bold;
  margin-bottom: 5px;
}
.order-products .product-price {
  color: #f56c6c;
  margin-bottom: 5px;
}
.order-products .product-quantity {
  color: #909399;
}
.order-total {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
}
.order-actions {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.user-center {
  max-width: 800px;
  margin: 0 auto;
}
.user-center .el-tabs__content {
  padding: 20px 0;
}
.user-center .el-form {
  max-width: 600px;
}
.user-center .balance-info,
.user-center .points-info {
  margin-bottom: 30px;
}
.user-center .balance-info h3,
.user-center .points-info h3 {
  margin-bottom: 20px;
}
.user-center .balance-actions,
.user-center .points-actions {
  margin-top: 20px;
}
.user-center .transfer-form {
  max-width: 400px;
  margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  .header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .header h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .header .nav {
    gap: 10px;
  }

  .header .nav a {
    font-size: 14px;
  }

  .auth-container {
    max-width: 100%;
    margin: 0 10px;
    padding: 20px;
  }

  .product-detail {
    flex-direction: column;
    gap: 20px;
  }

  .product-detail .product-image {
    width: 100%;
    height: auto;
  }

  .product-detail .action-buttons {
    flex-direction: column;
  }

  .product-list .search-bar {
    flex-direction: column;
  }

  .promotion-product .product-info {
    flex-direction: column;
    gap: 10px;
  }

  .promotion-product .product-image {
    width: 100%;
    height: auto;
  }

  .promotion-product .action-buttons {
    flex-direction: column;
  }

  .trace-step {
    flex-direction: column;
  }

  .trace-step .step-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .order-products .product-item {
    flex-direction: column;
    gap: 10px;
  }

  .order-products .product-image {
    width: 100%;
    height: auto;
    margin-right: 0;
  }

  .order-actions {
    flex-direction: column;
  }

  .user-center {
    max-width: 100%;
  }

  .user-center .el-form {
    max-width: 100%;
  }

  .user-center .transfer-form {
  max-width: 100%;
}

  .product-detail-wrapper {
    padding: 15px;
  }

  .product-detail-main {
    flex-direction: column;
    gap: 20px;
  }

  .product-gallery {
    width: 100%;
  }

  .main-image {
    height: 300px;
  }

  .service-content {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .el-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 18px;
  }

  .content {
    padding: 15px;
  }

  .auth-container {
    padding: 15px;
  }

  .product-detail .price {
    font-size: 20px;
  }

  .promotion-product .product-price {
    font-size: 18px;
  }

  .help-record .record-amount {
    font-size: 16px;
  }

  .order-total {
    font-size: 16px;
  }
}

/* 产品网格布局 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.product-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.product-card .product-image {
  width: 100%;
  height: 160px;
  background: #f5f7fa;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 10px 0;
  color: #303133;
  line-height: 1.4;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-card p {
  font-size: 16px;
  font-weight: bold;
  color: #f56c6c;
  margin: 0 0 12px 0;
}

.product-card .view-button {
  width: 100%;
}

/* 产品详情页样�?*/
.product-detail-wrapper {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.product-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ebeef5;
}

.product-detail-header .product-id {
  color: #909399;
  font-size: 14px;
}

.product-detail-main {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.product-gallery {
  flex-shrink: 0;
  width: 400px;
}

.main-image {
  width: 100%;
  height: 400px;
  background: #f5f7fa;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image .el-image {
  width: 100%;
  height: 100%;
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c0c4cc;
  gap: 10px;
}

.image-placeholder p {
  margin: 0;
  font-size: 14px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title-section {
  margin-bottom: 20px;
}

.product-name {
  font-size: 28px;
  font-weight: bold;
  color: #303133;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.product-category {
  margin-bottom: 10px;
}

.product-description {
  color: #606266;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding: 15px;
  background: #f5f7fa;
  border-radius: 6px;
}

.product-description p {
  margin: 0;
}

.product-price-section {
  background: #fff7e6;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-row.highlight {
  background: #fff3e0;
  margin: 0 -20px;
  padding: 15px 20px;
}

.price-label {
  color: #909399;
  font-size: 14px;
}

.price-value {
  font-size: 20px;
  font-weight: bold;
}

.price-value.cost {
  color: #909399;
}

.price-value.discount {
  color: #f56c6c;
  font-size: 28px;
}

.price-value.retail {
  color: #303133;
}

.product-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-item .stat-label {
  color: #909399;
  font-size: 14px;
}

.stat-item .stat-value {
  font-size: 18px;
  font-weight: bold;
  color: #303133;
}

.stat-item .stat-value.stock-danger {
  color: #f56c6c;
}

.stat-item .stat-value.stock-warning {
  color: #e6a23c;
}

.stat-item .stat-value.stock-normal {
  color: #67c23a;
}

.product-merchant {
  background: #f0f9ff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.merchant-info,
.merchant-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #303133;
  font-size: 14px;
}

.merchant-name {
  font-weight: 500;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-top: auto;
}

.product-actions .el-button {
  flex: 1;
  height: 50px;
  font-size: 16px;
}

.product-detail-tabs {
  border-top: 1px solid #ebeef5;
  padding-top: 30px;
}

.detail-content {
  padding: 20px 0;
}

.detail-row {
  margin-bottom: 30px;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.detail-row h3 {
  font-size: 18px;
  font-weight: 500;
  color: #303133;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #c4a35a;
  display: inline-block;
}

.description-text {
  color: #606266;
  line-height: 1.8;
  font-size: 14px;
}

.no-detail {
  color: #909399;
  text-align: center;
  padding: 40px 0;
}

.service-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px 0;
}

.service-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: #f5f7fa;
  border-radius: 8px;
}

.service-item h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #303133;
}

.service-item p {
  margin: 0;
  font-size: 14px;
  color: #909399;
}

.loading-wrapper,
.error-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  color: #909399;
}

.loading-icon {
  animation: rotating 2s linear infinite;
}

@keyframes rotating {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 头像样式 */
.avatar-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e4e7ed;
}

.upload-icon {
  font-size: 24px;
  color: #c0c4cc;
  width: 100px;
  height: 100px;
  border: 1px dashed #d9d9d9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.upload-icon:hover {
  border-color: #c4a35a;
  color: #c4a35a;
}

/* Merchant product management styles */
.product-image {
  width: 150px;
  height: 150px;
  background-color: #f5f7fa;
  border: 1px dashed #dcdfe6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

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

.product-image-small {
  width: 80px;
  height: 80px;
  background-color: #f5f7fa;
  border-radius: 4px;
  margin-right: 10px;
  margin-bottom: 10px;
  display: inline-block;
  object-fit: cover;
  border: 1px solid #e4e7ed;
}

.upload-demo {
  display: inline-block;
}

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

.card-header span {
  font-size: 16px;
  font-weight: 500;
}

/* 赠送产品相关样�?*/
.gift-stats-summary {
  margin-bottom: 20px;
}

.summary-header {
  margin-bottom: 15px;
}

.summary-title {
  font-size: 16px;
  font-weight: 500;
  color: #303133;
}

.gift-table {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.gift-table-header {
  display: flex;
  background: #f5f7fa;
  padding: 12px 15px;
  font-weight: 500;
  color: #606266;
  font-size: 14px;
}

.gift-table-row {
  display: flex;
  padding: 15px;
  border-bottom: 1px solid #ebeef5;
  align-items: center;
}

.gift-table-row:last-child {
  border-bottom: none;
}

.gift-col-name {
  flex: 1;
}

.gift-col-quantity {
  width: 120px;
  text-align: center;
}

.gift-col-status {
  width: 80px;
  text-align: center;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
}

.gift-col-action {
  width: 120px;
  text-align: center;
}

.gift-name-link {
  color: #c4a35a;
  cursor: pointer;
}

.gift-name-link:hover {
  text-decoration: underline;
}

.quantity-link {
  color: #c4a35a;
  cursor: pointer;
  font-weight: 500;
}

.quantity-link:hover {
  text-decoration: underline;
}

.quantity-pending {
  color: #e6a23c;
  font-size: 12px;
  margin-left: 5px;
}

.status-delivered {
  background: #e8f5e9;
  color: #67c23a;
}

.status-pending {
  background: #fff3e0;
  color: #e6a23c;
}

.status-frozen {
  background: #f5f5f5;
  color: #909399;
}

.order-btn.small {
  padding: 4px 12px;
  font-size: 12px;
}

.disabled-text {
  color: #c0c4cc;
  font-size: 12px;
}

/* 模态框样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ebeef5;
}

.modal-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #909399;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-body {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #ebeef5;
  text-align: right;
}

.modal-btn {
  padding: 6px 20px;
  background: #c4a35a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-btn:hover {
  background: #67b8ff;
}

.modal-btn:disabled,
.modal-btn.btn-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-loading {
  position: relative;
}

.btn-loading::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 店面搜索结果样式 */
.agreed-store-search {
  position: relative;
}

.store-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  margin-top: 4px;
}

.store-result-item {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}

.store-result-item:last-child {
  border-bottom: none;
}

.store-result-item:hover {
  background: #f9f7f2;
}

.store-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.store-phone {
  font-size: 13px;
  color: #666;
  margin-bottom: 2px;
}

.store-address {
  font-size: 12px;
  color: #999;
}

.selected-store-info {
  margin-top: 10px;
  padding: 12px;
  background: #f9f7f2;
  border-radius: 6px;
  border: 1px solid #e8dcc4;
}

.selected-store-info p {
  margin: 4px 0;
  font-size: 14px;
  color: #333;
}

.selected-store-info strong {
  color: #c4a35a;
}

/* H5订单页面样式 */
.order-header-bar {
  background: linear-gradient(135deg, #c4a35a 0%, #a88a3e 100%);
  padding: 25px 20px;
  text-align: center;
  color: white;
}

.order-header-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 6px;
}

.order-header-desc {
  font-size: 13px;
  opacity: 0.9;
}

.order-filter {
  display: flex;
  background: white;
  padding: 10px;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid #f0f0f0;
}

.filter-item {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  background: #f5f5f5;
  transition: all 0.3s ease;
}

.filter-item.active {
  background: linear-gradient(135deg, #c4a35a 0%, #a88a3e 100%);
  color: white;
}

#h5-app .order-list {
  display: block;
  padding: 15px;
  padding-bottom: 120px;
  min-height: 400px;
  max-height: none;
  overflow-y: auto;
}

.order-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.order-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.order-no {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.order-status {
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 500;
}

.order-status.unpaid {
  background: #fff7e6;
  color: #d48806;
}

.order-status.paid {
  background: #e6f7ff;
  color: #1890ff;
}

.order-status.shipping {
  background: #f6ffed;
  color: #52c41a;
}

.order-status.completed {
  background: #f6ffed;
  color: #52c41a;
}

.order-status.cancelled {
  background: #f5f5f5;
  color: #999;
}

#h5-app .order-products {
  padding: 15px;
}

#h5-app .order-product-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #f0f0f0;
}

#h5-app .order-product-item:last-child {
  border-bottom: none;
}

#h5-app .order-product-image-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
  flex-shrink: 0;
}

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

#h5-app .order-product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#h5-app .order-product-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#h5-app .order-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#h5-app .order-product-price {
  font-size: 15px;
  font-weight: bold;
  color: #c4a35a;
}

#h5-app .order-product-quantity {
  font-size: 13px;
  color: #999;
}

#h5-app .order-shipping-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: #fafafa;
  flex-wrap: wrap;
}

#h5-app .pickup-code-display {
  margin-left: auto;
  padding: 6px 14px;
  background: linear-gradient(135deg, #e8eaf6 0%, #f3e5f5 100%);
  color: #5e35b1;
  font-size: 14px;
  font-weight: bold;
  border-radius: 15px;
  letter-spacing: 3px;
  font-family: 'Courier New', monospace;
  border: 1px solid #ce93d8;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.15);
}

.shipping-icon {
  font-size: 16px;
}

.order-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-top: 1px solid #f0f0f0;
}

.order-total-text {
  font-size: 14px;
  color: #666;
}

.order-total-price {
  font-size: 17px;
  font-weight: bold;
  color: #c4a35a;
}

.order-actions {
  display: flex;
  gap: 10px;
}

.order-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.order-btn-primary {
  background: linear-gradient(135deg, #c4a35a 0%, #a88a3e 100%);
  color: white;
}

.order-btn-secondary {
  background: #f5f5f5;
  color: #666;
}

.order-btn-edit {
  background: #fff7e6;
  color: #d48806;
}

.order-btn-cancel {
  background: #fff1f0;
  color: #ff4d4f;
}

.order-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.order-empty-icon {
  font-size: 64px;
  margin-bottom: 15px;
}

.order-empty-text {
  font-size: 16px;
  color: #999;
}

/* 原订单列表样式保留 */
.order-list-pc {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-item-pc {
  padding: 15px;
  background: #f5f7fa;
  border-radius: 6px;
}

.order-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #909399;
}

/* 统计卡片样式 */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: #c4a35a;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #909399;
}

/* 规则说明样式 */
.rules-box {
  background: #f5f7fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

.rules-box h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #303133;
}

.rules-box p {
  margin: 5px 0;
  font-size: 13px;
  color: #606266;
}

/* 空状态样�?*/
.empty-state {
  text-align: center;
  padding: 40px 0;
  color: #909399;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.empty-text {
  font-size: 14px;
}

/* 加载状态样�?*/
.loading-state {
  text-align: center;
  padding: 40px 0;
}

.loading-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

/* 响应式调�?*/
@media (max-width: 768px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .gift-table-header {
    display: none;
  }

  .gift-table-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .gift-col-name,
  .gift-col-quantity,
  .gift-col-status,
  .gift-col-action {
    width: 100%;
    text-align: left;
  }

  .gift-col-status {
    align-self: flex-start;
    display: inline-block;
  }

  .modal-content {
    width: 95%;
    margin: 10px;
  }
}

@media (max-width: 480px) {
  .stats-cards {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 15px;
  }

  .stat-value {
    font-size: 20px;
  }
}

/* 赠送产品详情页面样�?*/
.gift-detail-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: #f5f7fa;
  margin-bottom: 20px;
}

.back-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #c4a35a;
  padding: 5px 10px;
}

.back-btn:hover {
  color: #67b8ff;
}

.detail-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.gift-detail-content {
  padding: 0 15px;
}

.gift-detail-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.gift-product-name {
  font-size: 20px;
  font-weight: bold;
  color: #303133;
  padding: 15px;
  border-bottom: 1px solid #ebeef5;
}

.gift-product-images {
  width: 100%;
  margin-bottom: 15px;
}

.gift-main-image {
  width: 100%;
  height: 280px;
  background: #f5f7fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.gift-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #c0c4cc;
}

.placeholder-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.placeholder-text {
  font-size: 14px;
}

.gift-detail-section {
  padding: 15px;
  border-bottom: 1px solid #ebeef5;
}

.detail-section-title {
  font-size: 16px;
  font-weight: 500;
  color: #303133;
  margin: 0 0 10px 0;
}

.detail-content {
  color: #606266;
  font-size: 14px;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
  border-radius: 8px;
}

.gift-info-section {
  padding: 15px;
}

.info-item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px dashed #ebeef5;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  width: 100px;
  color: #909399;
  font-size: 14px;
  flex-shrink: 0;
}

.info-value {
  flex: 1;
  color: #303133;
  font-size: 14px;
}

/* 响应式调�?*/
@media (max-width: 768px) {
  .gift-detail-header {
    padding: 12px 15px;
  }

  .gift-detail-content {
    padding: 0 10px;
  }

  .gift-main-image {
    height: 220px;
  }

  .gift-product-name {
    font-size: 18px;
    padding: 12px;
  }

  .gift-detail-section,
  .gift-info-section {
    padding: 12px;
  }
}

/* 赠送产品轮播图样式 */
.carousel-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f7fa;
}

.carousel-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.gift-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 简单轮播图样式 */
.simple-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.carousel-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-indicators .indicator.active {
  background: #fff;
}

/* 响应式轮播图 */
@media (max-width: 768px) {
  .carousel-container {
    height: 220px;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}

/* H5端轮播图样式 */
.h5-carousel-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #fff;
}

.h5-carousel-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.h5-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h5-carousel-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.h5-carousel-prev,
.h5-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s;
}

.h5-carousel-prev:hover,
.h5-carousel-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.h5-carousel-prev {
  left: 8px;
}

.h5-carousel-next {
  right: 8px;
}

.h5-carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.h5-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.h5-indicator.active {
  background: #fff;
}

/* H5端产品标签页 */
.product-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #eee;
  margin-top: 10px;
}

.tab-item {
  flex: 1;
  padding: 12px 0;
  text-align: center;
  font-size: 14px;
  color: #666;
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
}

.tab-item.active {
  color: #2563eb;
  font-weight: bold;
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #2563eb;
}

/* H5端标签内�?*/
.tab-content {
  background: #fff;
  padding: 15px;
  margin-top: 10px;
}

.detail-content {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}

.aftersale-content {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.aftersale-item {
  padding: 10px 0;
}

/* 富文本编辑器样式 */
.editor-content img,
.editor-container img,
[contenteditable="true"] img,
#merchant-product-detail-editor img,
#gift-detail-editor img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 10px 0;
}

/* 产品列表页面样式 - 悬停显示图片效果 */
.product-list-container {
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.product-list-container .section-header {
  margin-bottom: 20px;
}
.product-list-container h2 {
  font-size: 28px;
  margin: 0;
  color: #303133;
  font-weight: 700;
}
/* 订单物流信息详情样式 */
.order-logistics-details {
  padding: 12px 15px;
  background: #f9fafc;
  border-radius: 8px;
  margin: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logistics-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.logistics-label {
  color: #909399;
  font-weight: 500;
}

.logistics-fee {
  color: #e6a23c;
  font-weight: bold;
}

.pickup-code {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, #e8eaf6 0%, #f3e5f5 100%);
  color: #5e35b1;
  font-size: 15px;
  font-weight: bold;
  border-radius: 15px;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  border: 1px solid #ce93d8;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.15);
}

.logistics-status {
  font-size: 14px;
  padding: 8px 12px;
  background: #fff7e6;
  border-radius: 6px;
  color: #d48806;
}

.order-logistics-fee {
  font-size: 12px;
  color: #909399;
  margin-left: 8px;
}

/* 订单列表页面的提货码样式调整 */
#h5-app .order-shipping-info {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #606266;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.product-list-container .filter-container {
  margin-bottom: 25px;
}
.product-list-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.product-list-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
  border: 1px solid #f0f0f0;
}
.product-list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border-color: #e8e8e8;
}
.product-list-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  padding-top: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  background: #fafafa;
}
.product-list-card:hover .product-list-image-wrapper {
  opacity: 1;
}
.product-list-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-list-card:hover .product-list-image {
  transform: scale(1.05);
}
.product-list-info {
  padding: 18px;
  position: relative;
  z-index: 2;
  background: white;
}
.product-list-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #303133;
  margin: 0 0 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-list-info .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.product-list-info .current-price {
  font-size: 20px;
  font-weight: 700;
  color: #ff6b6b;
}
.product-list-info .original-price {
  font-size: 13px;
  color: #909399;
  text-decoration: line-through;
}
.product-list-info .view-button {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  height: 36px;
  line-height: 36px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px !important;
}
.product-list-container .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #fafafa;
  border-radius: 12px;
}
.product-list-container .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.product-list-container .empty-state p {
  font-size: 15px;
  color: #909399;
  margin: 0;
}

/* 参与助力详情页面样式 */
.promotion-detail-container {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 30px;
}
.promotion-detail-container .loading-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}
.promotion-detail-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.promotion-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.promotion-detail-header .page-title {
  font-size: 24px;
  font-weight: 700;
  color: #303133;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.promotion-detail-header .promotion-badge {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
}
.promotion-detail-main {
  display: grid;
  grid-template-columns: 550px 1fr;
  gap: 24px;
}
.promotion-gallery {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.promotion-gallery .simple-carousel {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}
.promotion-gallery .carousel-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}
.promotion-gallery .carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.promotion-gallery .carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promotion-gallery .carousel-prev,
.promotion-gallery .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}
.promotion-gallery .carousel-prev:hover,
.promotion-gallery .carousel-next:hover {
  background: rgba(0,0,0,0.7);
  transform: translateY(-50%) scale(1.1);
}
.promotion-gallery .carousel-prev {
  left: 15px;
}
.promotion-gallery .carousel-next {
  right: 15px;
}
.promotion-gallery .carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.promotion-gallery .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}
.promotion-gallery .indicator.active {
  width: 24px;
  border-radius: 5px;
  background: white;
}
.promotion-info {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.promotion-title-section {
  margin-bottom: 25px;
}
.promotion-name {
  font-size: 26px;
  font-weight: 700;
  color: #303133;
  margin: 0;
  line-height: 1.3;
}
.promotion-price-section {
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
  border-radius: 12px;
  border-left: 4px solid #ff6b6b;
}
.promotion-price-section .price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.promotion-price-section .price-symbol {
  font-size: 24px;
  font-weight: 700;
  color: #ff6b6b;
}
.promotion-price-section .price-amount {
  font-size: 48px;
  font-weight: 800;
  color: #ff6b6b;
  line-height: 1;
}
.promotion-price-section .price-original {
  font-size: 18px;
  color: #909399;
  text-decoration: line-through;
}
.promotion-stage-section {
  margin-bottom: 25px;
  padding: 20px;
  background: #f5f7fa;
  border-radius: 12px;
}
.promotion-stage-section .stage-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.promotion-stage-section .stage-label {
  font-size: 14px;
  color: #606266;
}
.promotion-stage-section .stage-value {
  font-size: 16px;
  font-weight: 600;
  color: #667eea;
  background: #f0f5ff;
  padding: 6px 14px;
  border-radius: 20px;
}
.promotion-stage-section .stage-value.completed {
  color: #67C23A;
  background: #f0f9eb;
}
.promotion-stage-section .progress-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.promotion-stage-section .progress-label {
  font-size: 14px;
  color: #606266;
  width: 60px;
}
.promotion-stage-section .progress-bar {
  flex: 1;
  height: 12px;
  background: #e4e7ed;
  border-radius: 6px;
  overflow: hidden;
}
.promotion-stage-section .progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 6px;
  transition: width 0.3s ease;
}
.promotion-stage-section .progress-text {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
  width: 45px;
  text-align: right;
}
.promotion-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.promotion-stats .stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: #f5f7fa;
  border-radius: 10px;
}
.promotion-stats .stat-label {
  font-size: 13px;
  color: #909399;
  margin-bottom: 5px;
}
.promotion-stats .stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #303133;
}
.promotion-merchant {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: #f0f9eb;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #67C23A;
  font-size: 14px;
}
.promotion-actions {
  display: flex;
  gap: 15px;
  margin-top: auto;
}
.promotion-actions .action-btn {
  flex: 1;
  height: 48px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}
.promotion-actions .detail-btn {
  background: #f5f7fa !important;
  color: #606266 !important;
  border-color: #d9d9d9 !important;
}
.promotion-actions .detail-btn:hover {
  background: #e4e7ed !important;
}
.promotion-actions .primary-btn {
  background: linear-gradient(135deg, #67C23A 0%, #85ce61 100%) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(103, 194, 58, 0.4);
}
.promotion-actions .primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(103, 194, 58, 0.5);
}
.promotion-actions .final-btn {
  background: linear-gradient(135deg, #f56c6c 0%, #f78989 100%) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(245, 108, 108, 0.4);
}
.promotion-actions .final-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 108, 108, 0.5);
}
.promotion-actions .completed-btn {
  background: linear-gradient(135deg, #E6A23C 0%, #f0c78a 100%) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(230, 162, 60, 0.4);
}
.promotion-actions .completed-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 162, 60, 0.5);
}
.promotion-detail-footer {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.promotion-detail-footer .footer-info {
  text-align: center;
}
.promotion-detail-footer p {
  margin: 0;
  color: #909399;
  font-size: 14px;
}

/* 助力活动页面样式 - 悬停显示图片效果 */
.promotion-container {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.promotion-container .section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.promotion-badge {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}
.promotion-container h2 {
  font-size: 28px;
  margin: 0;
  color: #303133;
  font-weight: 700;
}
.promotion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.promotion-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
  border: 1px solid #f0f0f0;
}
.promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  border-color: #e8e8e8;
}
.promotion-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  padding-top: 100%;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  background: #fafafa;
}
.promotion-card:hover .promotion-image-wrapper {
  opacity: 1;
  z-index: 10;
}
.promotion-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}
.promotion-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.promotion-card:hover .promotion-image {
  transform: scale(1.08);
}
.promotion-info {
  padding: 22px;
  position: relative;
  z-index: 2;
  background: white;
}
.promotion-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #303133;
  margin: 0 0 12px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promotion-info .price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.promotion-info .current-price {
  font-size: 22px;
  font-weight: 700;
  color: #ff6b6b;
}
.promotion-info .original-price {
  font-size: 14px;
  color: #909399;
  text-decoration: line-through;
}
.promotion-info .stage-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.promotion-info .stage-label {
  font-size: 13px;
  color: #909399;
}
.promotion-info .stage-value {
  font-size: 14px;
  color: #667eea;
  font-weight: 600;
  background: #f0f5ff;
  padding: 4px 10px;
  border-radius: 12px;
}
.promotion-info .join-button {
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border: none !important;
  height: 40px;
  line-height: 40px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.promotion-info .join-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
.promotion-container .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: #fafafa;
  border-radius: 16px;
  margin-top: 20px;
}
.promotion-container .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}
.promotion-container .empty-state p {
  font-size: 16px;
  color: #909399;
  margin: 0;
}

/* 预约订单提示条样式 - 横向滚动 */
.promotion-container .reservations-tip-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.promotion-container .reservations-tip-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.promotion-container .tip-bar-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 16px;
}

.promotion-container .tip-bar-icon {
  font-size: 32px;
}

.promotion-container .tip-bar-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.promotion-container .tip-bar-title {
  font-size: 16px;
  font-weight: bold;
  color: white;
}

.promotion-container .tip-bar-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.promotion-container .tip-bar-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.promotion-container .tip-bar-scroll::-webkit-scrollbar {
  display: none;
}

.promotion-container .tip-bar-products {
  display: flex;
  gap: 12px;
  padding: 4px;
}

.promotion-container .tip-bar-product {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.promotion-container .tip-bar-product:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 1);
}

.promotion-container .tip-bar-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promotion-container .tip-bar-product-status {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.promotion-container .tip-bar-product-count {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(231, 76, 60, 0.9);
  color: white;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  padding: 2px 0;
  white-space: nowrap;
}

.promotion-container .tip-bar-arrow {
  font-size: 24px;
  color: white;
  margin-left: 12px;
  flex-shrink: 0;
}

.promotion-container .reservation-actions {
  display: flex;
  gap: 12px;
}

.promotion-container .activity-status-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 4px solid #ff6b6b;
}

.promotion-container .status-icon {
  font-size: 28px;
}

.promotion-container .status-content {
  flex: 1;
}

.promotion-container .status-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.promotion-container .status-time {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.promotion-container .status-countdown {
  font-size: 18px;
  font-weight: bold;
  color: #ff6b6b;
  font-family: 'Courier New', monospace;
}

.promotion-container .promotion-section {
  margin-top: 30px;
}

.knowledge-header {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  margin-bottom: 24px;
  color: white;
}

.knowledge-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.knowledge-icon {
  font-size: 32px;
}

.knowledge-main-title {
  font-size: 24px;
  font-weight: bold;
}

.knowledge-subtitle {
  font-size: 14px;
  opacity: 0.85;
  margin: 0;
}

.knowledge-countdown {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.countdown-badge {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: white;
  min-width: 80px;
}

.badge-icon {
  font-size: 28px;
}

.badge-text {
  font-size: 12px;
  font-weight: 600;
}

.countdown-content {
  flex: 1;
}

.countdown-title {
  font-size: 14px;
  color: #888;
  margin-bottom: 6px;
}

.countdown-time {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
  font-family: 'Arial', sans-serif;
}

.countdown-next {
  font-size: 13px;
  color: #666;
}

.countdown-arrow {
  font-size: 24px;
  color: #ddd;
}

.knowledge-section {
  margin-bottom: 100px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 4px;
}

.section-label {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.section-count {
  font-size: 13px;
  color: #888;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.knowledge-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #f5f5f5;
}

.knowledge-card:active {
  transform: scale(0.98);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
}

.knowledge-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-link-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.card-content {
  padding: 14px;
}

.knowledge-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.content-preview {
  font-size: 12px;
  color: #888;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-more {
  font-size: 12px;
  color: #667eea;
  font-weight: 500;
}

.knowledge-detail-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.knowledge-detail-modal {
  background: white;
  width: 100%;
  max-height: 85vh;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

/* 用户信息页面样式 */
.profile-page {
  min-height: 100vh;
  background-color: #f5f5f5;
  padding-bottom: 80px;
}

.profile-header {
  background: linear-gradient(135deg, #c4a35a, #8b6914);
  padding: 20px 15px;
  text-align: center;
  color: white;
}

.profile-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.profile-card {
  margin: -20px 10px 10px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.profile-avatar-section {
  padding: 30px 15px 20px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.avatar-upload-label {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #f0f0f0;
  object-fit: cover;
  background: #f5f5f5;
}

.avatar-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.avatar-edit-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.info-progress {
  background: #f8f9fa;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.profile-form {
  padding: 15px;
}

.form-row {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
}

.form-row:last-child {
  border-bottom: none;
}

.form-label {
  width: 80px;
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}

.form-value-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-value {
  flex: 1;
  font-size: 14px;
  color: #333;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  margin-right: 8px;
}

.edit-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #c4a35a;
  padding: 5px 10px;
}

.form-edit-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #fafafa;
}

/* select 元素样式 */
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

select.form-input:disabled {
  background-color: #eee;
  color: #999;
  cursor: not-allowed;
}

.form-input:focus {
  outline: none;
  border-color: #c4a35a;
  background: white;
}

.form-textarea {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  background: #fafafa;
  min-height: 80px;
}

.form-textarea:focus {
  outline: none;
  border-color: #c4a35a;
  background: white;
}

.save-btn {
  padding: 8px 16px;
  background: #c4a35a;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.save-btn:hover:not(:disabled) {
  background: #a88b4a;
}

.save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cancel-btn {
  padding: 8px 16px;
  background: #f5f5f5;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.cancel-btn:hover {
  background: #eee;
}

.edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 24px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.modal-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
}

.modal-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.modal-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}

.modal-content p {
  margin: 12px 0;
}

.modal-content strong {
  font-weight: 600;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}

.modal-link-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.empty-text {
  font-size: 16px;
  color: #666;
  margin: 0 0 8px 0;
}

.empty-hint {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.knowledge-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.knowledge-card-simple {
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform-style: preserve-3d;
}

.knowledge-card-simple:active {
  transform: scale(0.96);
}

.knowledge-card-simple.swipe-left {
  animation: swipeLeft 0.4s ease-out;
}

.knowledge-card-simple.swipe-right {
  animation: swipeRight 0.4s ease-out;
}

@keyframes swipeLeft {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateX(-20px) rotate(-3deg);
    opacity: 0.8;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

@keyframes swipeRight {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateX(20px) rotate(3deg);
    opacity: 0.8;
  }
  100% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
}

.card-image-wrapper-simple {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: #f5f5f5;
  overflow: hidden;
}

.knowledge-image-simple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-image-wrapper-simple:active .knowledge-image-simple {
  transform: scale(1.05);
}

.knowledge-card-simple.touch-moving .knowledge-image-simple {
  transition: none;
}

.knowledge-card-simple::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
  z-index: 10;
  pointer-events: none;
}

.knowledge-card-simple.swipe-left::before,
.knowledge-card-simple.swipe-right::before {
  left: 100%;
}

.knowledge-card-simple .swipe-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 10px;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.knowledge-card-simple:hover .swipe-hint,
.knowledge-card-simple:active .swipe-hint {
  opacity: 1;
}

.knowledge-detail-modal-simple {
  background: white;
  width: 100%;
  max-height: 90vh;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.12);
}

.modal-header-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-top));
  border-bottom: 1px solid #f5f5f5;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.modal-title-simple {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
  padding-right: 16px;
  line-height: 1.4;
}

.modal-close-simple {
  width: 40px;
  height: 40px;
  border: none;
  background: #f8f8f8;
  border-radius: 50%;
  font-size: 28px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-close-simple:active {
  background: #e8e8e8;
  transform: scale(0.95);
}

.modal-body-simple {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom) + 80px);
}

.modal-content-simple {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  word-break: break-word;
}

.modal-content-simple p {
  margin: 0 0 20px 0;
}

.modal-content-simple p:last-child {
  margin-bottom: 0;
}

.modal-content-simple strong {
  font-weight: 600;
  color: #1a1a1a;
}

.modal-content-simple ul,
.modal-content-simple ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.modal-content-simple li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.modal-content-simple li:last-child {
  margin-bottom: 0;
}

.knowledge-card.has-link::after {
  content: '→';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  color: #667eea;
  font-weight: bold;
}

.knowledge-page {
  padding: 16px;
  min-height: 100vh;
  background: linear-gradient(180deg, #f5f7fa 0%, #e8eaf0 100%);
}

.knowledge-page .knowledge-header {
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.knowledge-page .knowledge-countdown {
  margin-bottom: 20px;
  border: 2px solid #e0e0e0;
}

.knowledge-page .knowledge-section {
  margin-bottom: 100px !important;
  padding-bottom: 20px;
}

.knowledge-page .knowledge-grid {
  gap: 12px;
}

.knowledge-page .knowledge-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.knowledge-page .knowledge-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.knowledge-page .knowledge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
  background-size: 200% 100%;
  animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.knowledge-page .card-image-wrapper {
  position: relative;
  height: 150px;
}

.knowledge-page .knowledge-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge-page .card-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.knowledge-page .card-content {
  padding: 16px;
  position: relative;
  z-index: 1;
}

.knowledge-page .knowledge-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.knowledge-page .content-preview {
  font-size: 13px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.knowledge-page .view-more {
  font-size: 13px;
  color: #667eea;
  font-weight: 600;
}

.knowledge-page .card-link-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.knowledge-page .section-header {
  padding: 14px 18px;
  background: white;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.knowledge-page .section-label {
  font-size: 17px;
  font-weight: 700;
  color: #333;
}

.knowledge-page .section-count {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.knowledge-page .countdown-badge {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: white;
  min-width: 90px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.knowledge-page .badge-icon {
  font-size: 32px;
}

.knowledge-page .badge-text {
  font-size: 13px;
  font-weight: 700;
}

.knowledge-page .countdown-title {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.knowledge-page .countdown-time {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
  font-family: 'Arial', sans-serif;
}

.knowledge-page .countdown-next {
  font-size: 13px;
  color: #666;
}

.knowledge-page .empty-state {
  text-align: center;
  padding: 60px 20px;
}

.knowledge-page .empty-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

.knowledge-page .empty-text {
  font-size: 18px;
  color: #666;
  margin: 0 0 10px 0;
}

.knowledge-page .empty-hint {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.knowledge-detail-overlay {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.knowledge-detail-modal {
  max-height: 80vh;
}

.modal-body {
  padding-bottom: 20px;
}

.modal-content {
  word-break: break-word;
}

.modal-content h1,
.modal-content h2,
.modal-content h3 {
  margin-top: 20px;
  margin-bottom: 12px;
  color: #333;
}

.modal-content h1 { font-size: 20px; }
.modal-content h2 { font-size: 18px; }
.modal-content h3 { font-size: 16px; }

.modal-content ul,
.modal-content ol {
  padding-left: 20px;
  margin: 12px 0;
}

.modal-content li {
  margin: 6px 0;
}

.modal-link-btn:active {
  opacity: 0.9;
  transform: scale(0.99);
}

.countdown-badge {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.section-header {
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-label {
  font-weight: 700;
}

.section-count {
  background: #f0f0f0;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.points-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: white;
  margin-top: 12px;
  margin-bottom: 80px;
  border-radius: 8px;
  gap: 4px;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.pagination-btn {
  padding: 6px 12px;
  border: 1px solid #e4e7ed;
  background: white;
  border-radius: 4px;
  font-size: 13px;
  color: #606266;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  min-width: 50px;
  text-align: center;
}

.pagination-btn:hover:not(.disabled) {
  border-color: #c4a35a;
  color: #c4a35a;
}

.pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  display: flex;
  gap: 8px;
  margin: 0 8px;
  font-size: 13px;
  color: #909399;
  white-space: nowrap;
}

.pagination-info span {
  padding: 0 4px;
}

#h5-app .merchant-page-container {
  padding: 15px;
  padding-bottom: 100px;
  min-height: 100vh;
  background: #f5f7fa;
}

#h5-app .merchant-info-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

#h5-app .merchant-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

#h5-app .merchant-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

#h5-app .merchant-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

#h5-app .merchant-details {
  color: rgba(255, 255, 255, 0.9);
}

#h5-app .merchant-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

#h5-app .merchant-level,
#h5-app .merchant-address {
  font-size: 13px;
  margin-bottom: 3px;
  opacity: 0.85;
}

#h5-app .upload-product-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

#h5-app .upload-product-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(245, 87, 108, 0.3);
}

#h5-app .section-title {
  font-size: 16px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#h5-app .merchant-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#h5-app .merchant-product-item {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

#h5-app .merchant-product-item:active {
  transform: scale(0.99);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#h5-app .merchant-product-content {
  display: flex;
  gap: 12px;
}

#h5-app .merchant-product-image-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f8f8;
  flex-shrink: 0;
}

#h5-app .merchant-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#h5-app .merchant-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#h5-app .merchant-product-name {
  font-size: 15px;
  font-weight: 500;
  color: #303133;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#h5-app .merchant-product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#h5-app .merchant-discount-price {
  font-size: 18px;
  font-weight: bold;
  color: #e6a23c;
}

#h5-app .merchant-retail-price {
  font-size: 13px;
  color: #909399;
  text-decoration: line-through;
}

#h5-app .merchant-product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

#h5-app .merchant-product-meta span:first-child {
  color: #606266;
}

#h5-app .status-tag {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}

#h5-app .status-online {
  background: #e8f5e9;
  color: #67c23a;
}

#h5-app .status-offline {
  background: #fef0f0;
  color: #f56c6c;
}

#h5-app .merchant-product-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

#h5-app .merchant-action-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

#h5-app .merchant-edit-btn {
  background: #f5f7fa;
  color: #606266;
}

#h5-app .merchant-edit-btn:active {
  background: #e4e7ed;
}

#h5-app .merchant-online-btn {
  background: #e8f5e9;
  color: #67c23a;
}

#h5-app .merchant-online-btn:active {
  background: #d4edda;
}

#h5-app .merchant-offline-btn {
  background: #fef0f0;
  color: #f56c6c;
}

#h5-app .merchant-offline-btn:active {
  background: #fde2e2;
}

#h5-app .loading-text {
  text-align: center;
  padding: 40px;
  color: #909399;
}

#h5-app .empty-text {
  text-align: center;
  padding: 40px;
  color: #909399;
  font-size: 14px;
}

#h5-app .pickup-list {
  padding: 15px;
  padding-bottom: 100px;
}

#h5-app .pickup-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

#h5-app .pickup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

#h5-app .pickup-merchant-product {
  display: flex;
  gap: 12px;
  padding: 15px;
  background: #fff8dc;
  border-radius: 8px;
  margin-bottom: 15px;
}

#h5-app .pickup-product-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

#h5-app .pickup-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#h5-app .pickup-merchant-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#h5-app .pickup-merchant-name {
  font-size: 15px;
  font-weight: bold;
  color: #303133;
  margin-bottom: 5px;
}

#h5-app .pickup-product-name {
  font-size: 13px;
  color: #606266;
}

#h5-app .pickup-order-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

#h5-app .pickup-order-no {
  font-size: 14px;
  font-weight: 500;
  color: #303133;
}

#h5-app .pickup-status {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  background: #f5f5f5;
  color: #909399;
}

#h5-app .pickup-status.active {
  background: #fff3cd;
  color: #c4a35a;
}

#h5-app .pickup-date {
  font-size: 12px;
  color: #909399;
}

#h5-app .pickup-code-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
  position: relative;
  overflow: hidden;
}

#h5-app .pickup-code-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  transform: rotate(45deg);
}

#h5-app .pickup-code-card:active {
  transform: scale(0.97);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

#h5-app .pickup-code-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

#h5-app .pickup-code-icon {
  font-size: 18px;
}

#h5-app .pickup-code-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

#h5-app .pickup-code-value {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 6px;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-family: 'Courier New', monospace;
}

#h5-app .pickup-code-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

#h5-app .pickup-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 15px;
}

#h5-app .pickup-total span:first-child {
  font-size: 14px;
  color: #606266;
}

#h5-app .pickup-total-price {
  font-size: 18px;
  font-weight: bold;
  color: #e6a23c;
}

#h5-app .pickup-actions {
  display: flex;
  justify-content: flex-end;
}

#h5-app .pickup-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#h5-app .pickup-btn-primary {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

#h5-app .pickup-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(240, 147, 251, 0.5);
}

#h5-app .pickup-btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3);
}

#h5-app .pickup-btn-disabled {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #909399;
  cursor: not-allowed;
}

#h5-app .pickup-empty-state {
  text-align: center;
  padding: 60px 20px;
}

#h5-app .pickup-empty-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

#h5-app .pickup-empty-text {
  font-size: 16px;
  color: #606266;
  margin-bottom: 10px;
}

#h5-app .pickup-empty-hint {
  font-size: 13px;
  color: #909399;
}

#h5-app .merchant-orders-page {
  padding-bottom: 80px;
}

#h5-app .page-header {
  display: flex;
  align-items: center;
  padding: 15px;
  background: white;
  border-bottom: 1px solid #eee;
}

#h5-app .back-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  margin-right: 10px;
  border-radius: 50%;
  background: #f5f5f5;
}

#h5-app .page-title {
  font-size: 18px;
  font-weight: bold;
  color: #303133;
}

#h5-app .tabs {
  display: flex;
  background: white;
  padding: 0 15px;
  border-bottom: 1px solid #eee;
}

#h5-app .tab-item {
  flex: 1;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  color: #606266;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

#h5-app .tab-item.active {
  color: #409eff;
  font-weight: 500;
}

#h5-app .tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #409eff;
  border-radius: 3px;
}

#h5-app .order-list {
  padding: 15px;
}

#h5-app .order-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

#h5-app .order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 12px;
}

#h5-app .order-no {
  font-size: 13px;
  color: #909399;
}

#h5-app .order-status {
  font-size: 14px;
  font-weight: 500;
  color: #409eff;
}

#h5-app .order-products {
  margin-bottom: 12px;
}

#h5-app .product-item {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

#h5-app .product-item:last-child {
  margin-bottom: 0;
}

#h5-app .product-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
}

#h5-app .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#h5-app .product-name {
  font-size: 14px;
  color: #303133;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 6px;
}

/* 证件上传样式 */
.certificate-uploader {
  display: inline-block;
}

.certificate-preview {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dcdfe6;
  cursor: pointer;
}

.upload-placeholder {
  width: 150px;
  height: 100px;
  border: 1px dashed #d9d9d9;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fafafa;
  transition: all 0.3s;
}

.upload-placeholder:hover {
  border-color: #409eff;
  background: #f0f7ff;
}

.upload-icon {
  font-size: 28px;
  color: #8c939d;
  margin-bottom: 8px;
}

.upload-placeholder p {
  font-size: 12px;
  color: #8c939d;
  margin: 0;
}

#h5-app .product-price {
  font-size: 13px;
  color: #e6a23c;
  font-weight: 500;
}

#h5-app .order-footer {
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

#h5-app .order-total {
  text-align: right;
  font-size: 14px;
  color: #606266;
  margin-bottom: 12px;
}

#h5-app .order-total .price {
  font-size: 18px;
  font-weight: bold;
  color: #e6a23c;
}

#h5-app .order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

#h5-app .action-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

#h5-app .ship-btn {
  background: #ecf5ff;
  color: #409eff;
}

#h5-app .ship-btn:active {
  background: #d9ecff;
}

#h5-app .complete-btn {
  background: #f0f9eb;
  color: #67c23a;
}

#h5-app .complete-btn:active {
  background: #e1f3d8;
}

#h5-app .empty-state {
  text-align: center;
  padding: 60px 20px;
}

#h5-app .empty-icon {
  font-size: 64px;
  margin-bottom: 15px;
}

#h5-app .empty-text {
  color: #909399;
  font-size: 14px;
}

/* 物流修改申请按钮样式 */
.order-btn-pending {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  cursor: not-allowed;
  background-color: #fdf6ec;
  color: #e6a23c;
  border: 1px solid #f5dab1;
  opacity: 0.8;
}
.order-btn-pending:hover {
  background-color: #fef0e6;
  border-color: #f5dab1;
}

/* 预约列表样式 */
.reservation-list {
  padding: 10px 15px 20px !important;
}

.reservation-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border-radius: 16px !important;
  padding: 15px !important;
  margin-bottom: 15px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e8e8e8 !important;
  overflow: hidden !important;
  position: relative !important;
}

.reservation-product {
  display: flex !important;
  align-items: center !important;
  margin-bottom: 15px !important;
  width: 100% !important;
  gap: 12px !important;
}

.reservation-product img {
  width: 70px !important;
  height: 70px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  flex-shrink: 0 !important;
  max-width: 70px !important;
  max-height: 70px !important;
  display: block !important;
}

.reservation-product-info {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.reservation-product-info .product-name {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.4 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  display: block !important;
}

.reservation-product-info .reserve-time {
  font-size: 12px !important;
  color: #8c8c8c !important;
  margin: 0 !important;
  display: block !important;
}

.reservation-details {
  padding-top: 18px !important;
  border-top: 1px solid #f0f0f0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}

.reservation-detail-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 14px !important;
  background: #fafafa !important;
  border-radius: 10px !important;
}

.reservation-detail-row.full-width {
  grid-column: 1 / -1 !important;
}

.reservation-detail-row .label {
  font-size: 13px !important;
  color: #737373 !important;
  font-weight: 500 !important;
}

.reservation-detail-row .value {
  font-size: 14px !important;
  color: #262626 !important;
  font-weight: 500 !important;
}

.reservation-detail-row .points-value {
  font-size: 16px !important;
  color: #f56c6c !important;
  font-weight: 700 !important;
}

.reservation-status-tag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  min-width: 70px !important;
}

.reservation-status-active {
  background: linear-gradient(135deg, #f0f9eb 0%, #e6f7e6 100%) !important;
  color: #67c23a !important;
  border: 1px solid #b7eb8f !important;
}

.reservation-status-completed {
  background: #f5f5f5 !important;
  color: #909399 !important;
}

.reservation-status-cancelled {
  background: linear-gradient(135deg, #fff7e6 0%, #fff1cc 100%) !important;
  color: #e6a23c !important;
  border: 1px solid #ffe5b3 !important;
}

/* ֤���ϴ���ʽ */
.certificate-uploader {
  display: inline-block;
  margin-right: 10px;
}

.certificate-preview {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  cursor: pointer;
}

.upload-placeholder {
  width: 200px;
  height: 150px;
  border: 2px dashed #d9d9d9;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-placeholder:hover {
  border-color: #409EFF;
  background-color: #f5f7fa;
}

.upload-icon {
  font-size: 32px;
  color: #ccc;
  margin-bottom: 8px;
}

.upload-placeholder p {
  font-size: 14px;
  color: #999;
  margin: 0;
}
