@media (min-width: 765px) {
    .content-area{
        background-color: white !important;
    }
    .cart-collaterals{
        display: flex;
        padding-right: 200px;
        justify-content: flex-end;
      }
    .cart-title{
        padding-left: 70px;
    }
    .cart-number{
        height: 46px;
        border: none;
        text-align: center;
        font-size: 18px;
        border: #fff;
        outline: none; /* 去掉聚焦时的边框线 */
        -moz-appearance: textfield; /* Firefox */
        -webkit-appearance: none; /* Safari 和 Chrome */

    }
    .carts-quantity-input{
        border-radius: 5px;
        display: flex;
    }
    .jian{
        border-top-left-radius: 0px!important;
        border-bottom-left-radius: 0px!important;
        width: 46px;
        height: 46px;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #000;
        cursor: pointer;
    }
    .jia{
        border-top-right-radius: 0px!important;
        border-bottom-right-radius: 0px!important;
        width: 46px;
        height: 46px;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #000;
        cursor: pointer;
      }
}
.cart-content {
    background-color: #ffffff;
    padding:0 20px 20px 20px;
    /* border-radius: 5px; */
}

.cart-content h2 {
    font-family: "Wittgenstein", serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.cart-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-content .cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.cart-content .cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-content .product-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 20px;
}

.cart-content .product-details h3 {
    font-family: "Wittgenstein", serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
}

.cart-content .product-details p {
    font-family: "Wittgenstein", serif;
    font-size: 16px;
    color: #666;
    margin: 0 0 5px;
}
@media (min-width: 768px) {
    .product-details{
        display: flex;
    }
    .woocommerce-cart-form__contents{
        padding-left: 40px;
        padding-right: 40px;
    }
    .product-name{
        text-align: left;
    }
    .cart-product-price{
        text-align: left;
    }
    .product-quantity{
        text-align: left;
    }
    .product-subtotal{
        text-align: left;
    }
    .woocommerce-cart-form__contents{
        width: 100%;
    }
    .product-thumbnail{
        text-align: left;
        img{
           width: 80px !important;
           height: 80px !important;
        }
    }
    .woocommerce-cart-form{
        padding-top: 20px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .woocommerce-cart-form__contents thead th {
        border-bottom: 1px solid #000;
    }
    .cart.wishlist_table td, .woocommerce-cart-form__contents td, .woocommerce-cart-form__contents th {
        padding: 20px 0;
        border-width: 0;
    }
    .product-remove{
        text-align: center;
    }
}

  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
      -webkit-appearance: none;
      margin: 0;
  }

  /* Firefox */
  input[type="number"] {
      -moz-appearance: textfield;
  }


  .actions{
    text-align: end;
  }

#coupon_code{
    height: 36px;
    border-radius: 5px;
    font-size: 14px;
}
.coupon{
    button{
        height: 36px;
        border-radius: 5px;
        font-size: 14px;
    }
}

/* From Uiverse.io by satyamchaudharydev */
/* === removing default button style ===*/
.button2 {
    --color: #fe6700;
    padding: 0.8em 1.7em;
    background-color: transparent;
    border-radius: .3em;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: .1s;
    font-weight: 400;
    font-size: 17px;
    border: 1px solid;
    font-family: inherit;
    text-transform: uppercase;
    color: var(--color);
    z-index: 1;
    
    a{
        text-decoration: none;
        color: #000;
    }
   }

   .button2::before, .button2::after {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    background-color: var(--color);
    transition: 0.5s ease;
   }

   .button2::before {
    top: -1em;
    left: -1em;
   }

   .button2::after {
    left: calc(100% + 1em);
    top: calc(100% + 1em);
   }

   .button2:hover::before, .button2:hover::after {
    height: 410px;
    width: 410px;
   }

   .button2:hover {
    color: rgb(10, 25, 30);
   }

   .button2:active {
    filter: brightness(.8);
   }
   .button2{
    margin-top: 30px;
    margin-bottom: 30px;
   }


 /*
 数量输入框
 */
 .custom-quantity-selector{
    display: flex;
 }
 @media (max-width: 765px) {
    table {
        width: 100%;
        border-collapse: collapse;
    }

    .cart-item{
        border: 2px black;
    }
    .carts-quantity-input{
        padding-top: 10px;
    }
    .product-name{
        display: grid;
        padding-left: 10px;
        a{
            font-size: 14px;
        }
    }
    .product-subtotal{
        display: grid;
        padding-left: 10px;
    }
    .product-remove{
        padding-left: 15px;
    }
    .cart-title{
        padding: 20px 0;
    }
    .cart-thead{
        display: none;
    }
    .product-thumbnail img{
        width:  80px;
        height: auto;
    }
    .cart-number{
        height: 25px;
        width: 50px;
        border: none;
        text-align: center;
        font-size: 12px;
        border: #fff;
        outline: none; /* 去掉聚焦时的边框线 */
        -moz-appearance: textfield; /* Firefox */
        -webkit-appearance: none; /* Safari 和 Chrome */

    }
      .cart-collaterals{
        display: flex;
        justify-content: flex-end;
      }
      .coupon{
        padding-top: 15px;
        padding-right: 15px;
      }
      .button2{
        background-color:#008766 ;
      }
      .cart_totals {
        text-align: end;
        padding-right: 15px;
      }
 }
.carts-quantity-input{
    border-radius: 5px;
    display: flex;
}
.jian{
    border-top-left-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
    width: 25px;
    height: 25px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
    cursor: pointer;
}
.jia{
    border-top-right-radius: 0px!important;
    border-bottom-right-radius: 0px!important;
    width: 25px;
    height: 25px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
    cursor: pointer;
}
@media (max-width: 765px) {
    /* 调整购物车整体布局 */
    .cart-content {
        padding: 20px;
    }

    /* 商品项布局调整 */
    .cart-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid #ddd;
        margin-bottom: 10px;
        padding: 10px;
    }

    /* 商品图片调整 */
    .product-image img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        margin-bottom: 10px;
    }
    .content-title p{
        font-size:16px!important;
    }
    .woocommerce-mini-cart__total{
        font-size:16px!important;
    }

    /* 商品名称和价格文本调整 */
    .product-details h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .product-details p {
        font-size: 14px;
        color: #666;
    }

    /* 数量输入框容器 */
    .carts-quantity-input {
        display: flex;
        align-items: center;
        width: 100%; /* 确保占满整个容器 */
        max-width: 120px; /* 设置最大宽度，避免过大 */
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 0;
        box-sizing: border-box;
    }

    /* 减号和加号按钮 */
    .jian, .jia {
        width: 30px;
        height: 30px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        color: #000;
        cursor: pointer;
        border: 1px solid #ddd;
        border-radius: 0px;
    }

    /* 数字框 */
    .cart-number {
        width: 60px;
        height: 30px;
        text-align: center;
        font-size: 16px;
        border: 1px solid #ddd;
        border-left: none;
        border-right: none;
        box-sizing: border-box; /* 确保边框计算在内 */
    }
    /* 调整按钮样式 */
    .button2 {
        padding: 0.5em 1em;
        font-size: 14px;
        background-color: #fe6700;
        color: white;
        border-radius: 5px;
        text-align: center;
        margin-top: 15px;
        display: block;
        width: 100%;
    }

    /* 优化购物车总计区域 */
    .cart-collaterals {
        display: block;
        padding: 10px;
        text-align: center;
    }

    .cart_totals {
        padding-top: 40px;
        text-align: center;
        padding-right: 15px;
    }

    .coupon {
        padding-top: 30px;
        text-align: center;
    }

    /* 隐藏桌面端的表头 */
    .cart-thead {
        display: none;
    }

    /* 其他样式调整 */
    .actions {
        text-align: center;
    }

    .product-thumbnail img {
        width: 80px;
        height: auto;
    }

    /* 输入框和按钮的圆角 */
    #coupon_code, .coupon button {
        height: 36px;
        border-radius: 5px;
        font-size: 14px;
    }

    /* 商品移除按钮 */
    .product-remove {
        padding-left: 15px;
        text-align: center;
    }
   a {
    color: black; /* 设置所有链接的字体颜色为橙色 */
    text-decoration: none; /* 可选：去掉链接的下划线 */
}
   
}

