/* 页面头部 */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  position: relative;
  z-index: 1;
}

.page-breadcrumb a {
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.page-breadcrumb a:hover {
  color: var(--primary);
}

.page-breadcrumb span {
  color: var(--gray-900);
}

/* 产品详情页 */
.product-detail {
  padding: 4rem 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 6rem;
}

.product-main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 1rem;
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.product-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--primary);
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-info h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
}

.rating-count {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.product-price-box {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.product-current-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.product-original-price {
  font-size: 1.125rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 1rem;
}

.product-discount {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--error);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-left: 1rem;
}

.product-stock-box {
  background: var(--gray-50);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-stock-label {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.product-stock-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--success);
}

.product-description {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.content-image {
  margin-bottom: 2rem;
  text-align: center;
}

.content-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.content-text {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.content-text p {
  margin-bottom: 1rem;
}

.product-specs {
  margin-bottom: 2rem;
}

.product-specs h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.spec-list {
  display: grid;
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  font-size: 0.9375rem;
}

.spec-label {
  width: 120px;
  color: var(--gray-500);
}

.spec-value {
  color: var(--gray-900);
}

.product-specs {
  margin-bottom: 2rem;
}

.product-specs h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.spec-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.spec-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-group-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
}

.spec-group-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.spec-option {
  padding: 0.625rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-block;
}

.spec-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.spec-option[data-selected="true"] {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.spec-value {
  font-size: 0.9375rem;
  color: var(--gray-900);
}

.product-actions {
  display: flex;
  gap: 1rem;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
}

.quantity-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.quantity-btn:hover {
  background: var(--gray-100);
}

.quantity-input {
  width: 3rem;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .product-gallery {
    position: static;
  }
}

/* 案例详情页 */
.case-detail {
  padding: 4rem 0;
}

.case-detail-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.case-detail-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.case-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.case-hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
}

.case-hero-image img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}

.case-content {
  max-width: 800px;
  margin: 0 auto;
}

.case-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 2rem 0 1rem;
}

.case-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.case-content img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  margin: 3rem 0;
}

.case-stat {
  text-align: center;
}

.case-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.case-stat-label {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .case-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 新闻详情页 */
.news-detail {
  padding: 4rem 0;
}

.news-detail-header {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.news-detail-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.news-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.news-author-name {
  font-weight: 500;
  color: var(--gray-900);
}

.news-date {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.news-hero-image {
  max-width: 900px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.news-hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-content {
  max-width: 800px;
  margin: 0 auto;
}

.news-content p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.news-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 2.5rem 0 1rem;
}

.news-content blockquote {
  padding: 1.5rem 2rem;
  background: var(--gray-50);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--gray-700);
}

.news-tags {
  display: flex;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.news-tag {
  padding: 0.5rem 1rem;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.news-tag:hover {
  background: var(--primary);
  color: var(--white);
}

/* 联系我们页面 */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.contact-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* 加入我们页面 */
.careers-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.careers-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.careers-intro p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.job-card {
  padding: 2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.job-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.job-type {
  padding: 0.25rem 0.75rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.job-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.job-desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-tag {
  padding: 0.375rem 0.75rem;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.8125rem;
  border-radius: var(--radius);
}

/* 报价页面 */
.quote-section {
  padding: 4rem 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.quote-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.quote-info > p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.quote-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--gray-700);
}

.quote-benefit svg {
  color: var(--success);
  flex-shrink: 0;
}

.quote-form-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 1024px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

/* 购物车页面 */
.cart-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
}

.cart-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-header {
  display: grid;
  grid-template-columns: 50px 2fr 1fr 1fr 1fr 100px;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-weight: 600;
  color: var(--gray-700);
}

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

.cart-item {
  display: grid;
  grid-template-columns: 50px 2fr 1fr 1fr 1fr 100px;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}

.cart-item-select {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-item-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-title:hover {
  color: var(--primary);
}

.cart-item-sku {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cart-item-sku span {
  font-size: 0.8125rem;
  color: var(--gray-500);
  padding: 0.25rem 0.5rem;
  background: var(--gray-100);
  border-radius: var(--radius);
}

.cart-item-price {
  font-size: 1rem;
  color: var(--gray-900);
  font-weight: 500;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-item-quantity .quantity-btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cart-item-quantity .quantity-btn:hover {
  background: var(--gray-100);
}

.cart-item-quantity .quantity-input {
  width: 2.5rem;
  height: 2rem;
  text-align: center;
  border: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.cart-item-subtotal {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.cart-item-action {
  display: flex;
  justify-content: center;
}

.cart-sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.cart-summary {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.cart-summary h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.summary-item.summary-total {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.summary-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 1rem 0;
}

@media (max-width: 1024px) {
  .cart-container {
    grid-template-columns: 1fr;
  }
  
  .cart-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-header {
    display: none;
  }
  
  .cart-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
  .cart-item-select {
    justify-content: flex-start;
  }
  
  .cart-item-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cart-item-thumb {
    width: 100%;
    height: 120px;
  }
}

/* 订单页面 */
.order-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.order-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}

.order-tab:hover {
  color: var(--primary);
}

.order-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.order-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.order-no {
  font-weight: 500;
  color: var(--gray-900);
}

.order-status {
  display: flex;
  align-items: center;
}

.status-badge {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.status-wait-pay {
  background: #fef3c7;
  color: #92400e;
}

.status-wait-delivery {
  background: #dbeafe;
  color: #1e40af;
}

.status-wait-receive {
  background: #e0e7ff;
  color: #3730a3;
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background: var(--gray-100);
  color: var(--gray-500);
}

.status-closed {
  background: var(--gray-100);
  color: var(--gray-500);
}

.order-goods {
  padding: 1.5rem;
}

.order-goods-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.goods-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}

.goods-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goods-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.goods-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-title:hover {
  color: var(--primary);
}

.goods-sku {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.goods-sku span {
  font-size: 0.8125rem;
  color: var(--gray-500);
  padding: 0.25rem 0.5rem;
  background: var(--gray-100);
  border-radius: var(--radius);
}

.goods-price-qty {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}

.goods-price {
  color: var(--primary);
  font-weight: 600;
}

.goods-qty {
  color: var(--gray-500);
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.order-total {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.total-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.order-actions {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .order-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  
  .order-goods-item {
    flex-direction: column;
  }
  
  .goods-thumb {
    width: 100%;
    height: 120px;
  }
  
  .order-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .order-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* 订单详情页 */
.order-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.order-status-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.status-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.status-icon svg {
  color: var(--primary);
}

.status-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.status-desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.order-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.order-info-card,
.order-address-card,
.order-delivery-card,
.order-goods-card,
.order-cost-card,
.order-remark-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.order-info-card h3,
.order-address-card h3,
.order-delivery-card h3,
.order-goods-card h3,
.order-cost-card h3,
.order-remark-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.info-value {
  font-size: 0.9375rem;
  color: var(--gray-900);
  font-weight: 500;
}

.address-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.address-name {
  display: flex;
  gap: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
}

.address-detail {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delivery-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.delivery-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.delivery-value {
  font-size: 0.9375rem;
  color: var(--gray-900);
  font-weight: 500;
}

.goods-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.goods-item {
  display: grid;
  grid-template-columns: 80px 1fr 120px;
  gap: 1rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  align-items: center;
}

.goods-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}

.goods-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goods-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.goods-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-title:hover {
  color: var(--primary);
}

.goods-sku {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.goods-sku span {
  font-size: 0.8125rem;
  color: var(--gray-500);
  padding: 0.25rem 0.5rem;
  background: var(--gray-100);
  border-radius: var(--radius);
}

.goods-price-qty {
  display: flex;
  gap: 1rem;
  font-size: 0.9375rem;
}

.goods-price {
  color: var(--primary);
  font-weight: 600;
}

.goods-qty {
  color: var(--gray-500);
}

.goods-subtotal {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  text-align: right;
}

.cost-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.cost-item.cost-discount {
  color: var(--error);
}

.cost-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 0.5rem 0;
}

.cost-item.cost-total {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.cost-value {
  font-weight: 500;
}

.cost-item.cost-total .cost-value {
  color: var(--primary);
  font-size: 1.25rem;
}

.remark-content {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.empty-state svg {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .order-status-card {
    flex-direction: column;
    text-align: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .goods-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .goods-thumb {
    width: 100%;
    height: 120px;
  }
  
  .goods-subtotal {
    text-align: left;
  }
}
