.cart-warehouse-page {
  min-height: 100vh;
}

.cart-section,
.warehouse-section {
  margin-bottom: var(--space-sm);
}

.cart-section-header,
.warehouse-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-white);
  font-weight: 600;
  font-size: var(--font-size-lg);
  color: var(--color-text-title);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.cart-section-count,
.warehouse-section-count {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 400;
}

.cart-list {
  background: var(--color-bg-white);
}

.cart-bottom-bar {
  position: fixed;
  bottom: calc(var(--tab-bar-height) + var(--safe-area-bottom));
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  padding: 0 var(--space-lg);
  z-index: var(--z-fixed);
}

.cart-select-all {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 44px;
  font-size: var(--font-size-lg);
  color: var(--color-text-body);
  cursor: pointer;
}

.cart-total {
  flex: 1;
  text-align: right;
  margin-right: var(--space-md);
}

.cart-total-label {
  font-size: var(--font-size-base);
  color: var(--color-text-body);
}

.cart-total-price {
  font-size: var(--font-size-xl);
  color: var(--color-price);
  font-weight: 700;
}

.cart-total-price::before {
  content: '¥';
  font-size: var(--font-size-sm);
}

.cart-checkout-btn {
  min-width: 116px;
  height: 46px;
  border-radius: var(--radius-round);
  background: var(--color-primary);
  color: white;
  font-size: var(--font-size-lg);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-checkout-btn.disabled {
  opacity: 0.5;
}

.warehouse-list {
  background: var(--color-bg-white);
  border-radius: var(--radius-md);
  margin: 0 var(--space-md);
  overflow: hidden;
}

.warehouse-redeemed {
  margin: var(--space-md);
}

.warehouse-redeemed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  cursor: pointer;
}

.warehouse-redeemed-arrow {
  transition: transform 0.3s;
  font-size: var(--font-size-xs);
}

.warehouse-redeemed-arrow.expanded {
  transform: rotate(180deg);
}

.warehouse-redeemed-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.warehouse-redeemed-list.expanded {
  max-height: 500px;
}
