/* ========================================
   KELUSI PC端样式
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  background-color: #ffffff;
  display: flex;
  min-height: 100vh;
}

/* ========== 左侧边栏 ========== */
.sidebar {
  width: 220px;
  border-right: 1px solid #f0f0f0;
  padding: 20px 0;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  padding: 0 20px 30px;
}

.sidebar-menu {
  list-style: none;
  padding: 0 10px;
  flex: 1;
}

.sidebar-menu li {
  margin-bottom: 8px;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer;
}

.sidebar-menu li a.active {
  background-color: #f8f8f8;
  font-weight: 600;
}

.sidebar-menu li a:hover {
  background-color: #f5f5f5;
}

.sidebar-menu li a svg {
  width: 20px;
  height: 20px;
  fill: #666;
}

.login-btn {
  margin: 20px 10px;
  padding: 12px;
  background-color: #ff2442;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.login-btn:hover {
  background-color: #e61e3a;
}

.login-desc {
  padding: 0 20px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.sidebar-bottom {
  padding: 0 20px;
  font-size: 14px;
  color: #666;
}

.sidebar-bottom a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #666;
  margin-bottom: 15px;
  cursor: pointer;
}

.sidebar-bottom a:hover {
  color: #333;
}

.sidebar-bottom a svg {
  width: 18px;
  height: 18px;
  fill: #666;
}

/* ========== 主内容区 ========== */
.main-content {
  margin-left: 220px;
  width: calc(100% - 220px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 顶部导航栏 */
.top-nav {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 99;
}

.search-box {
  width: 500px;
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #333;
}

.search-box input::placeholder {
  color: #999;
}

.search-box svg {
  width: 20px;
  height: 20px;
  fill: #999;
  cursor: pointer;
}

.top-right {
  position: absolute;
  right: 30px;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-icon {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.top-icon svg {
  fill: #666;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff2442;
  color: #fff;
  font-size: 10px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.top-divider {
  color: #ddd;
}

#user-name {
  cursor: pointer;
}

#user-name:hover {
  color: #ff2442;
}

/* 分类导航 */
.category-nav {
  display: flex;
  gap: 30px;
  padding: 20px 30px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}

.category-item {
  font-size: 15px;
  color: #666;
  cursor: pointer;
  padding-bottom: 5px;
  transition: all 0.2s;
}

.category-item:hover {
  color: #333;
}

.category-item.active {
  color: #000;
  font-weight: 700;
  border-bottom: 2px solid #000;
}

/* 瀑布流商品区 */
.goods-container {
  padding: 20px 30px;
  flex: 1;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.goods-card {
  cursor: pointer;
  transition: transform 0.2s;
}

.goods-card:hover {
  transform: translateY(-5px);
}

.goods-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 12px;
  background-color: #f5f5f5;
}

.goods-title {
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-price {
  font-size: 16px;
  color: #ff2442;
  font-weight: 600;
  margin-bottom: 5px;
}

.goods-price .original {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
  font-weight: normal;
  margin-left: 8px;
}

.goods-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.goods-tags {
  display: flex;
  gap: 5px;
}

.goods-tag {
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
}

/* 加载更多 */
.load-more {
  text-align: center;
  padding: 30px;
  color: #999;
  font-size: 14px;
}

/* 空状态 */
.empty-state {
  padding: 80px 20px;
  text-align: center;
}

.empty-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.empty-text {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}

.empty-btn {
  display: inline-block;
  padding: 10px 30px;
  background: #333;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

/* Toast */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Loading */
.loading-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f5f5f5;
  border-top-color: #ff2442;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Modal */
.modal {
  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: #fff;
  border-radius: 12px;
  width: 400px;
  max-width: 90%;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  font-weight: 600;
}

.modal-close {
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

.modal-close:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
}

/* 登录表单 */
.modal-body input {
  width: 100%;
  height: 44px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0 15px;
  font-size: 14px;
  margin-bottom: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.modal-body input:focus {
  border-color: #ff2442;
}

.btn-send-code {
  width: 100%;
  height: 44px;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  margin-bottom: 15px;
}

.btn-login {
  width: 100%;
  height: 44px;
  background: #ff2442;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn-login:hover {
  background: #e61e3a;
}

/* 商品详情弹窗 */
.product-modal .modal-content {
  width: 900px;
  max-width: 95%;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 16px;
}

.product-detail {
  display: flex;
  max-height: 85vh;
  overflow: hidden;
}

.product-detail .product-left {
  width: 400px;
  padding: 30px;
  display: flex;
  flex-direction: row-reverse;
  gap: 15px;
}

.product-gallery {
  flex: 1;
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
}

.product-gallery .main-image {
  flex: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #f9f9f9;
}

.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 65px;
  max-height: 400px;
  overflow-y: auto;
}

.product-thumbnails img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.4;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.product-thumbnails img:hover {
  opacity: 0.7;
}

.product-thumbnails img.active {
  opacity: 1;
  border-color: #333;
}

.product-detail .product-right {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  border-left: 1px solid #f0f0f0;
}

.product-detail .product-name {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.product-detail .product-price-wrap {
  background: #fff5f5;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.product-detail .product-price {
  font-size: 28px;
  color: #ff2442;
  font-weight: 700;
}

.product-detail .product-price .original {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  font-weight: normal;
  margin-left: 15px;
}

.product-detail .product-price .unit {
  font-size: 14px;
  font-weight: normal;
  color: #666;
}

.product-detail .product-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product-detail .product-tags span {
  background: #f5f5f5;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}

.product-detail .product-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 14px;
}

.product-detail .product-sku {
  margin-bottom: 20px;
}

.product-detail .sku-title {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 500;
}

.product-detail .sku-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-detail .sku-item {
  display: inline-block;
  padding: 8px 20px;
  background: #f5f5f5;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 13px;
  color: #333;
  border: 1px solid #f5f5f5;
  transition: all 0.2s;
}

.product-detail .sku-item:hover {
  border-color: #999;
}

.product-detail .sku-item.active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.product-detail .product-params {
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
  margin-bottom: 20px;
}

.product-detail .param-item {
  display: flex;
  padding: 8px 0;
  font-size: 13px;
}

.product-detail .param-label {
  width: 80px;
  color: #999;
}

.product-detail .param-value {
  flex: 1;
  color: #333;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 15px 0;
}

.product-actions button {
  flex: 1;
  height: 48px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-cart {
  background: #fff;
  color: #333;
  border: 1px solid #333;
}

.btn-add-cart:hover {
  background: #f5f5f5;
}

.btn-buy-now {
  background: #ff2442;
  color: #fff;
  border: none;
}

.btn-buy-now:hover {
  background: #e61e3a;
}

/* 相似商品 */
.similar-products {
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
  margin-top: 20px;
}

.similar-products .section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.similar-products .goods-row {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.similar-products .goods-item {
  flex-shrink: 0;
  width: 120px;
  cursor: pointer;
}

.similar-products .goods-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f5;
}

.similar-products .goods-item .name {
  font-size: 12px;
  color: #333;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-products .goods-item .price {
  font-size: 13px;
  color: #ff2442;
  font-weight: 600;
  margin-top: 4px;
}

/* PC商品详情全屏页面 */
.pc-detail-page {
  position: fixed;
  top: 0;
  left: 220px;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 500;
  overflow-y: auto;
}

.detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

.detail-top {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
}

.detail-images {
  width: 450px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row-reverse;
  gap: 15px;
}

.detail-images .main-image-wrap {
  flex: 1;
  position: relative;
}

.detail-images .main-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #f9f9f9;
}

.detail-images .thumbnails {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 70px;
  max-height: 450px;
  overflow-y: auto;
}

.detail-images .thumbnails img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.4;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.detail-images .thumbnails img:hover {
  opacity: 0.7;
}

.detail-images .thumbnails img.active {
  opacity: 1;
  border-color: #333;
}

.detail-info {
  flex: 1;
}

.detail-info .product-name {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.detail-info .product-price-wrap {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  border: 1px solid #ffe5e5;
}

.detail-info .product-price {
  font-size: 32px;
  color: #ff2442;
  font-weight: 700;
}

.detail-info .product-price .original {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  font-weight: normal;
  margin-left: 15px;
}

.detail-info .product-price .unit {
  font-size: 14px;
  font-weight: normal;
  color: #666;
}

.detail-info .product-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.detail-info .product-tags span {
  background: #f5f5f5;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 13px;
  color: #666;
}

.detail-info .product-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 14px;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
}

.detail-info .product-params {
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  margin-bottom: 25px;
  overflow: hidden;
}

.detail-info .param-item {
  display: flex;
  padding: 12px 15px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

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

.detail-info .param-label {
  width: 100px;
  color: #999;
  background: #f9f9f9;
}

.detail-info .param-value {
  flex: 1;
  color: #333;
  padding-left: 15px;
}

.detail-info .sku-section {
  margin-bottom: 25px;
}

.detail-info .sku-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.detail-info .sku-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-info .sku-item {
  display: inline-block;
  padding: 10px 25px;
  background: #f5f5f5;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  border: 1px solid #f5f5f5;
  transition: all 0.2s;
}

.detail-info .sku-item:hover {
  border-color: #999;
}

.detail-info .sku-item.active {
  background: #333;
  color: #fff;
  border-color: #333;
}

.detail-info .product-actions {
  display: flex;
  gap: 15px;
  position: static;
  background: none;
  padding: 0;
  margin-top: 30px;
}

.detail-info .product-actions button {
  flex: 1;
  height: 52px;
  border-radius: 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.detail-info .btn-add-cart {
  background: #fff;
  color: #333;
  border: 1px solid #333;
}

.detail-info .btn-add-cart:hover {
  background: #f5f5f5;
}

.detail-info .btn-buy-now {
  background: #ff2442;
  color: #fff;
  border: none;
}

.detail-info .btn-buy-now:hover {
  background: #e61e3a;
}

.detail-similar {
  border-top: 1px solid #f0f0f0;
  padding-top: 40px;
  margin-top: 40px;
}

.detail-similar .section-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
}

.detail-similar .goods-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.detail-similar .goods-item {
  flex-shrink: 0;
  width: 200px;
  cursor: pointer;
  transition: transform 0.2s;
}

.detail-similar .goods-item:hover {
  transform: translateY(-5px);
}

.detail-similar .goods-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  background: #f5f5f5;
}

.detail-similar .goods-item .name {
  font-size: 14px;
  color: #333;
  margin-top: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-similar .goods-item .price {
  font-size: 16px;
  color: #ff2442;
  font-weight: 700;
  margin-top: 8px;
}

/* Back button for detail page */
.detail-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: color 0.2s;
}

.detail-back:hover {
  color: #333;
}

.detail-back svg {
  width: 20px;
  height: 20px;
}

/* 购物车侧边栏 */
.cart-sidebar {
  position: fixed;
  right: -400px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: right 0.3s ease;
}

.cart-sidebar.open {
  right: 0;
}

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

.cart-sidebar-title {
  font-size: 16px;
  font-weight: 600;
}

.cart-sidebar-close {
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-price {
  font-size: 14px;
  color: #ff2442;
  margin-bottom: 10px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-controls button {
  width: 24px;
  height: 24px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.cart-item-controls span {
  min-width: 30px;
  text-align: center;
}

.cart-item-delete {
  color: #999;
  cursor: pointer;
  font-size: 14px;
}

.cart-sidebar-footer {
  padding: 15px 20px;
  border-top: 1px solid #f0f0f0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
}

.cart-total .price {
  color: #ff2442;
  font-size: 18px;
  font-weight: 600;
}

.cart-checkout-btn {
  width: 100%;
  height: 44px;
  background: #ff2442;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* 订单列表 */
.order-list-page {
  padding: 20px 30px;
}

.order-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
}

.order-tab {
  padding: 10px 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.order-tab.active {
  color: #000;
  font-weight: 600;
  border-bottom-color: #000;
}

.order-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid #f0f0f0;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 13px;
  color: #999;
}

.order-card-items {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.order-item {
  flex-shrink: 0;
  width: 80px;
}

.order-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.order-item-name {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.order-total .price {
  color: #ff2442;
  font-size: 16px;
  font-weight: 600;
}

.order-action-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid #333;
  background: #fff;
  color: #333;
}

.order-action-btn.primary {
  background: #333;
  color: #fff;
}

/* 用户中心 */
.user-page {
  padding: 20px 30px;
}

.user-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 30px;
  color: #fff;
  margin-bottom: 20px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-avatar {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.user-detail h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.user-detail p {
  font-size: 14px;
  opacity: 0.8;
}

.user-menu {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 0.2s;
}

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

.menu-item:hover {
  background: #fafafa;
}

.menu-icon {
  font-size: 20px;
  margin-right: 15px;
}

.menu-text {
  flex: 1;
  font-size: 15px;
  color: #333;
}

.menu-arrow {
  color: #999;
  font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 1400px) {
  .goods-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .goods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
