/* 全局样式重置 */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    a {
      text-decoration: none;
      color: #333;
    }
    button, input, select {
      outline: none;
      border: 1px solid #ddd;
      border-radius: 4px;
    }
    button {
      cursor: pointer;
      background-color: #990000;
      color: #fff;
      border: none;
    }
    button:hover {
      opacity: 0.9;
    }

    /* 购物车主容器 */
    .cart-container {
      max-width: 1200px;
      margin: 0 auto;
      background-color: #fff;
      padding: 10px;
    }

    /* 第一行：购物车标题 + 添加地址 */
    .cart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid #eee;
      margin-bottom: 10px;
    }
    .cart-header h1 img {
      height: 22px;
      margin-right: 8px;
    }
    .cart-header h1 {
      font-size: 16px;
      font-weight: 600;
      display: flex;
      color: #333;
    }
    .add-address-btn {
      font-size: 14px;
    }

    /* 包邮提示行 */
    .free-shipping-tip {
      padding: 8px 0;
      color: #666;
      margin-bottom: 10px;
      font-size: 13px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    .free-shipping-tip img {
      height: 14px;
      margin-right: 4px;
    }
    .free-shipping-tip a {
      margin-left: 8px;
      color: #990000;
    }

    /* 商品列表区域 */
    .product-list {
      margin-bottom: 20px;
    }
    /* 单个商品项 */
    .product-item {
      display: flex;
      align-items: center;
      padding: 10px;
      border: 1px solid #eee;
      border-radius: 4px;
      margin-bottom: 10px;
    }
    /* 商品勾选框 */
    .product-checkbox {
      width: 20px;
      text-align: center;
    }
    .product-checkbox input {
      width: 16px;
      height: 16px;
      accent-color: #990000;
    }
    /* 商品图片 */
    .product-img {
      width: 120px;
      height: 120px;
      margin: 0 10px;
      background: rgba(235,235,235,0.85);
    backdrop-filter: blur(10px);
    }
    .product-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 4px;
    }
    /* 商品信息 */
    .product-info {
      flex: 1;
    }
    .product-title {
      font-size: 14px;
      margin-bottom: 8px;
      color: #333;
    }
    .product-code-size {
      font-size: 12px;
      line-height: 20px;
      color: #999;
      margin-bottom: 10px;
    }
    /* 价格 + 数量控制 */
    .product-price-num {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .product-price {
      font-size: 16px;
    font-weight: bold;
    color: #990000;
    display: flex;
    align-items: center;
    }
    .product-price span {
      font-size: 10px;
    color: #990000;
    }
    /* 数量控制器 */
    .num-controller {
      display: flex;
      align-items: center;
    }
    .num-controller button {
      width: 28px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      background-color: #f5f5f5;
      color: #333;
      border: 1px solid #ddd;
      border-radius: 4px;
    }
    .num-controller input {
      width: 40px;
      height: 28px;
      line-height: 28px;
      text-align: center;
      margin: 0 5px;
      border: 1px solid #ddd;
      border-radius: 4px;
    }

    /* 合计结算行 */
    .total-settle {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 10px;
      background-color: #f9f9f9;
      border-radius: 4px;
    }
    /* 空购物车 */
    .total-settle00 {
      display: flex;
    justify-content: space-between;
    padding: 15px 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    }
    .total-settle00 img {
      margin-top: 10px;
      margin-bottom: 20px;
      height: 100px;
    }
    .total-settle00 span {
      font-size: 12px;
      color: #999;
      margin-bottom: 15px;
    }
    .total-price {
      font-size: 14px;
      font-weight: 600;
      color: #333;
      display: flex;
      align-items: center;
    }
    .total-price span {
      color: #990000;
      font-size: 20px;
      margin-right: 2px;
    }
    .settle-btn {
      padding: 8px 20px;
      font-size: 14px;
      background-color: #990000;
      border-radius: 50px;
    }

    /* 地址弹窗遮罩 */
    .address-modal-mask {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 999;
    }
    /* 地址弹窗内容 */
    .address-modal {
      width: calc(100% - 28px); /* 四周间距14px */
      max-width: 500px;
      background-color: #fff;
      border-radius: 8px;
      padding: 20px;
      position: relative;
    }
    /* 关闭按钮 */
    .close-modal {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 24px;
      height: 24px;
      line-height: 24px;
      text-align: center;
      font-size: 20px;
      color: #999;
      cursor: pointer;
    }
    .close-modal:hover {
      color: #333;
    }
    /* 弹窗标题 */
    .modal-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 20px;
      text-align: center;
      color: #333;
    }
    /* 表单行 */
    .form-row {
      margin-bottom: 15px;
    }
    .form-row label {
      display: block;
      margin-bottom: 5px;
      font-size: 14px;
      color: #333;
    }
    .form-row label span {
      color: #990000;
    }
    .form-row input {
      width: 100%;
      height: 40px;
      padding: 0 10px;
      font-size: 14px;
      border: 1px solid #ddd;
      border-radius: 4px;
    }
    .form-row input::placeholder {
      color: #999;
    }
    /* 开关按钮（默认地址） */
    .switch-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
    }
    .switch-label {
      font-size: 14px;
      color: #333;
    }
    .switch {
      position: relative;
      width: 50px;
      height: 26px;
      background-color: #ddd;
      border-radius: 13px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .switch::after {
      content: "";
      position: absolute;
      top: 2px;
      left: 2px;
      width: 22px;
      height: 22px;
      background-color: #fff;
      border-radius: 50%;
      transition: left 0.3s;
    }
    .switch.active {
      background-color: #990000;
    }
    .switch.active::after {
      left: 26px;
    }
    /* 单选按钮（地址标签） */
    .radio-row {
      margin-bottom: 20px;
    }
    .radio-label {
      display: block;
      margin-bottom: 10px;
      font-size: 14px;
      color: #333;
    }
    .radio-group {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }
    .radio-item {
      display: flex;
      align-items: center;
      font-size: 14px;
      color: #333;
    }
    .radio-item input {
      width: 14px;
      height: 14px;
      margin-right: 5px;
      accent-color: #990000;
    }
    /* 保存按钮 */
    .save-address-btn {
      width: 100%;
      height: 44px;
      line-height: 44px;
      text-align: center;
      font-size: 14px;
      background-color: #990000;
      color: #fff;
      border-radius: 50px;
      border: none;
    }


