.product-id {
    font-size: 14px;
    color: #666;
}

/* 修改后的CSS */
.size-options, .color-options {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.option-btn {
  padding: 8px 10px;
  border: 1px solid #ddd;
  background: #fff0f6;
  cursor: pointer;
  transition: all 0.3s;
}

.color-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}

/* 统一使用active类 */
.option-btn.active {
  border-color: #9932cc;
  background: #fff;
}

.color-btn.active::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid #9932cc;
  border-radius: 50%;
}


.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 8px;
}

.quantity-minus, .quantity-plus {
    padding: 8px 15px;
    background: #fff0f6;
    border: none;
    cursor: pointer;
}

/* 统一按钮基础样式 */
.cart-btn {
  flex: 1;  /* 等分容器宽度 */
  min-width: 120px;  /* 最小宽度限制 */
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 加入购物车按钮 */
.add-to-cart-btn {
  background: #009900;
  color: white;
}

/* 查看购物车按钮 */
.view-cart-btn {
  background: #ff3385;
  color:  white;
  border: 1px solid #ddd !important;
}

/* 悬停状态 */
.add-to-cart-btn:hover {
  background: #006600;
}
.view-cart-btn:hover {
  background: #cc0052;
}

/* 移动端适配 */
@media (max-width: 480px) {
  .cart-section {
    flex-direction: column;
  }
  .cart-btn {
    width: 100%;
  }
}