.cart-wrap{
    display: block;
    width: 1260px;
    margin: 0 auto;
}
.cart-box{
    padding: 32px 40px;
}
.cart-top{
    position: relative;
    display: flex;
    align-items: center;
    font-size: 20px;
    line-height: 30px;
}
.cart-top em{
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #000;
    text-align: center;
    line-height: 24px;
    color: #FFF;
    margin-left: 10px;
    font-size: 12px;
}
.cart-list{
    display: block;
    width: 100%;
    height: auto;
    padding: 35px 0 0 0;
}
.cart-list .item{
    display: flex;
    height: 96px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: space-between;
}
.cart-list .item .text {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    padding-left: 116px;
    width: 450px;
    height: 96px;
    position: relative;
    flex-direction: column;
    justify-content: center;
}
.cart-list .item .text.all{
    width: 100%;
}
.cart-list .item img{
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 96px;
    height: 96px;
}
.cart-list .item .text strong{
    display: block;
    font-weight: normal;
    line-height: 1.2;
    margin-bottom: 5px;
}
.cart-list .item .text span{
    color: #808080;
}
.cart-list .number{
    font-size: 12px;
}
.cart-list .number .quantity-input{
    display: block;
    margin: 0 auto;
    width: 48px;
    height: 35px;
    text-align: center;
    border: 1px solid #e5e5e5;
}
.cart-list .number button{
    display: block;
    width: 55px;
    background: none;
    margin-top: 5px;
    border: none;
    font-size: 12px;
    text-align: center;
    color: #808080;
    cursor: pointer;
    text-decoration: underline;
}
.cart-list .number button:hover{
    color: #e57e3d;
}

/* 空购物车消息样式 */
.empty-cart-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    text-align: center;
}

.empty-cart-message p {
    font-size: 16px;
    color: #808080;
    margin: 0;
    line-height: 1.5;
}

/* 购物车底部样式 */
.v-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.cart-actions .form-btn {
    flex: 1;
    max-width: 200px;
}
.cart-bottom{
    display: block;
    width: 100%;
    padding: 24px 40px 40px;
    background-color: #FFF;
    border-top: 1px solid #e5e5e5;
}
.cart-bottom .cart-stack{
    display: flex;
    font-size: 20px;
    justify-content: space-between;
}
.cart-bottom .cart-text{
    font-size: 14px;
    color: #808080;
}
.cart-bottom .cart-text a{
    color: #808080;
    text-decoration: underline;
}
.cart-bottom .cart-text a:hover{
    color: #e57e3d;
    text-decoration: underline !important;
}
.cart-bottom .form-btn{
    display: block;
    margin: 10px 0 0 auto;
}
.form-text a{
    font-size: 16px;
    color: #808080;
}
.form-text a:hover{
    color: #e57e3d;
}
.form-input {
    width: 100%;
    height: 60px;
    font-size: 16px;
    padding: 0 16px;
    border: 1px solid #EAEAEA;
    border-radius: 0;
}
a.form-btn{
    display: inline-block;
    width: auto;
    line-height: 45px;
    padding: 0 30px;
    font-family: 'Times New Roman', serif;
    font-style: italic;
}
.form-btn{
    width: 48.5%;
    height: 45px;
    font-size: 16px;
    color: #000000;
    text-align: center;
    border: 1px solid #000;
    cursor: pointer;
    background-color: #FFF;
    transition: All 0.3s ease-in-out;
    font-family: 'Times New Roman', serif;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.form-btn:hover{
    color: #FFF;
    background-color: #000;
}
.form-btn.cur{
    color: #FFF;
    background-color: #000;
}
.form-btn.cur:hover {
    opacity: 0.8;
}
.checkout-item input.form-checkbox{
    flex: unset !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 5px;
}
.form-check{
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #808080;
}

.pay-card{
    padding: 14px 14px 0;
    border:1px solid #dedede;
}
.checkout-btn{
    display: block;
    width: 585px;
}
.checkout-btn .form-btn{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.checkout-tips{
    padding-top: 15px;
}
.checkout-tips .text{
    margin-top: 15px;
    padding: 17px;
    text-align: center;
    line-height: 1;
    color: #6f6f6f;
    font-size: 14px;
    background-color: #E8E8E8;
}
.checkout-item{
    display: block;
    width: 585px;
    padding-bottom: 35px;
}
.checkout-item h3{
    font-size: 21px;
    font-weight: bold;
}
.checkout-item .desc{
    font-size: 14px;
    color: #808080;
    padding-bottom: 15px;
}
.checkout-item .form-item{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.checkout-item .form-item .w50{
    flex: 0 0 49% !important;
    width: 49% !important;
}
.checkout-item .form-item .w30{
    flex: 0 0 32% !important;
    width: 32% !important;
}
.checkout-item .form-item input,.checkout-item .form-item select{
    flex: 0 0 100%;
    width: 100%;
    height: 49px;
    padding: 0 10px;
    border: 1px solid #dedede;
}
/* ========== 结账页面布局 ========== */
.checkout-box{
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* 确保 WooCommerce 容器无边距和内边距 */
.woocommerce {
    margin: 0;
    padding: 0;
}

.woocommerce-page {
    margin: 0;
    padding: 0;
}

/* ========== WooCommerce Blocks 结账布局 - 左右平分 ========== */
.wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
    display: flex;
    justify-content: space-between;
    gap: 0;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* 左侧主表单区域 - 50% */
.wc-block-components-main.wc-block-checkout__main {
    flex: 0 0 50%;
    width: 50%;
    padding: 38px 38px 80px;
    background-color: #f8f8f8;
    margin: 0;
}

/* 右侧订单摘要区域 - 50% */
.wc-block-components-sidebar.wc-block-checkout__sidebar {
    flex: 0 0 50%;
    width: 50%;
    padding: 38px 38px;
    background-color: #fff;
}

/* 移除所有圆角 */
.wc-block-checkout input,
.wc-block-checkout select,
.wc-block-checkout textarea,
.wc-block-checkout button {
    border-radius: 0 !important;
}

/* 确保内部元素无圆角 */
.wc-block-components-text-input,
.wc-block-components-select,
.wc-block-components-textarea,
.wc-block-components-button {
    border-radius: 0 !important;
}

.wc-block-components-text-input input,
.wc-block-components-select select,
.wc-block-components-textarea textarea {
    border-radius: 0 !important;
}

/* ========== Express Payment 位置调整 ========== */
/* Express Payment 会通过 JavaScript 移动到 Payment Method 内部的 Radio Control 下方 */
/* 保持原有样式不变，只改变位置 */
.wc-block-checkout__payment-method .wc-block-components-express-payment {
    margin-top: 50px;
}

/* 隐藏 "Or continue below" */
.wc-block-components-express-payment-continue-rule,
.wc-block-components-express-payment-continue-rule--checkout {
    display: none !important;
}

/* ========== 隐藏不需要的元素 ========== */
/* 隐藏 Order Notes (订单备注) */
.wc-block-checkout__order-notes.wp-block-woocommerce-checkout-order-note-block,
#order-notes {
    display: none !important;
}

/* 隐藏 Return to Cart (返回购物车按钮) */
.wc-block-components-checkout-return-to-cart-button {
    display: none !important;
}

/* ========== Place Order 按钮样式 ========== */
.wc-block-components-checkout-place-order-button {
    width: 100% !important;
    max-width: 585px;
    margin: 0 auto 15px auto;
    display: block;
}

.wc-block-components-checkout-place-order-button button.wc-block-components-button,
button.wc-block-components-checkout-place-order-button {
    width: 100% !important;
    height: 45px !important;
    padding: 0 !important;
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    font-family: 'Times New Roman', serif !important;
    font-size: 16px !important;
    font-weight: normal !important;
    font-style: italic !important;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
    border-radius: 0 !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.wc-block-components-checkout-place-order-button button.wc-block-components-button:hover,
button.wc-block-components-checkout-place-order-button:hover {
    background-color: #849075 !important;
    border-color: #849075 !important;
    color: #fff !important;
}

/* 按钮容器样式 - Place Order 按钮右对齐 */
.wc-block-checkout__actions_row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    max-width: 585px;
    margin: 0 auto;
}

.account-box {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

/* My Account 页面内容高度：避免写死 footer 高度导致大屏滚动条不到底 */
.my-account-content {
    min-height: calc(100vh - 75px);
}
.account-nav{
    flex: 0 0 20%;
    width: 20%;
}
.account-nav h2{
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 20px;
    line-height: 30px;
}
.account-nav a{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 16px;
    padding: 10px 0;
}
.account-nav a.on{
    color: #849075;
    font-weight: normal;
}
.account-nav a i{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 20px;
    margin-right: 6px;
}
.account-nav a i img{
    display: block;
    width: 100%;
    height: 100%;
}
.account-content{
    flex: 0 0 78%;
    width: 78%;
}
.account-content h2{
    font-weight: bold;
    padding-bottom: 20px;
    font-size: 20px;
    line-height: 30px;
}
.order-list{
    display: block;
    width: 100%;
}
.order-list .item{
    width: 100%;
    height: auto;
    padding: 15px 25px;
    background: #FFFFFF;
    margin-bottom: 38px;
    border: 1px solid #EAEAEA;
}
.order-list .item .orderno{
    display: flex;
    justify-content: space-between;
}
.order-list .item .orderno .number{
    display: flex;
    align-items: center;
    color: #849075;
    font-size: 16px;
}
.order-list .item .orderno .number em{
    display: block;
    width: 19px;
    height: 19px;
    color: #FFF;
    font-size: 14px;
    line-height: 20px;
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
    margin-top: -3px;
    background-color: #849075;
}
.order-list .item .orderno .btn{
    display: flex;
}
.order-list .item .orderno .btn a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 38px;
    font-size: 16px;
    color: #000;
    margin-left: 10px;
}
.order-list .item .orderno .btn a:hover,.order-list .item .orderno .btn a.cur{
    color: #FFF;
    background-color: #000;
}
.order-list .item .orderno .btn a.cur:hover{
    opacity: 0.8;
}
.order-list .item .text{
    display: flex;
    justify-content: space-between;
}
.order-list .item .desc{
    font-size: 16px;
    line-height: 1.875;
    color: #808080;
    padding: 25px 0 15px;
    width: 250px;
}
.order-list .item .desc p{
    margin: 0 0;
}
.order-list .item .text .pic {
    flex: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.order-list .item .text .pic a{
    margin: 0 20px;
}
.order-list .item .text .pic img{
    display: block;
    width: 120px;
    height: auto;
}

/* ========== WooCommerce 结账表单样式 ========== */
.woocommerce {
    width: 100%;
}

.woocommerce * {
    box-sizing: border-box;
}

.woocommerce-checkout {
    width: 100%;
    max-width: 585px;
}

.col2-set {
    width: 100%;
    display: block;
}

.col2-set::after {
    content: "";
    display: table;
    clear: both;
}

.col2-set .col-1,
.col2-set .col-2 {
    width: 100%;
    float: none;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
    margin-bottom: 30px;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
    font-size: 21px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #111;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper {
    display: block;
    width: 100%;
}

.form-row {
    display: block;
    margin-bottom: 15px;
    clear: both;
    width: 100%;
}

.form-row::after {
    content: "";
    display: table;
    clear: both;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

.form-row label .required {
    color: #f00;
    margin-left: 4px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row input[type="number"],
.form-row textarea,
.form-row select {
    width: 100%;
    height: 49px;
    padding: 0 12px;
    border: 1px solid #dedede;
    border-radius: 0 !important;
    font-size: 14px;
    font-family: inherit;
    display: block;
    box-sizing: border-box;
}

.form-row textarea {
    height: auto;
    min-height: 100px;
    padding: 12px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #849075;
    outline: none;
}

.form-row-first,
.form-row-last {
    width: 48%;
    float: left;
}

.form-row-last {
    float: right;
}

.form-row-wide {
    clear: both;
    width: 100%;
}

.woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.woocommerce-form__input-checkbox {
    margin-right: 8px;
}

/* ========== Order Review Table ========== */
.woocommerce-checkout-review-order {
    margin-top: 30px;
    width: 100%;
}

.shop_table.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #dedede;
    table-layout: auto;
}

.shop_table thead {
    background: #f9f9f9;
    border-bottom: 2px solid #dedede;
}

.shop_table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.shop_table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.shop_table tbody tr:last-child td {
    border-bottom: none;
}

.shop_table tfoot {
    background: #f9f9f9;
    border-top: 2px solid #dedede;
}

.shop_table tfoot th,
.shop_table tfoot td {
    padding: 10px 16px;
    font-size: 14px;
}

.shop_table tfoot .order-total th,
.shop_table tfoot .order-total td {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    padding: 14px 16px;
}

.shop_table .product-name {
    width: 60%;
}

.shop_table .product-total {
    width: 40%;
    text-align: right;
}

/* ========== Payment 样式 ========== */
#payment.woocommerce-checkout-payment {
    background: transparent;
    padding: 0;
    margin-top: 20px;
    width: 100%;
}

#payment .checkout-item {
    width: 100%;
    max-width: 585px;
}

.wc_payment_methods.payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

.wc_payment_methods li {
    display: block !important;
    margin-bottom: 12px !important;
    padding: 15px !important;
    border: 2px solid #e5e5e5 !important;
    border-radius: 0 !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wc_payment_methods li:hover {
    border-color: #849075 !important;
}

.wc_payment_methods .input-radio {
    margin-right: 10px !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

.wc_payment_methods label {
    font-weight: 500 !important;
    cursor: pointer !important;
    margin: 0 !important;
    font-size: 15px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.wc_payment_methods label img {
    margin-left: 10px !important;
    max-height: 25px !important;
    vertical-align: middle !important;
}

.payment_box {
    padding: 20px !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    background: #f9f9f9 !important;
    margin-top: 12px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.payment_box p {
    margin: 10px 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.payment_box .form-row {
    margin-bottom: 15px !important;
}

.payment_box input[type="text"],
.payment_box input[type="email"],
.payment_box input[type="tel"],
.payment_box select,
.payment_box textarea {
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    display: block !important;
    box-sizing: border-box !important;
}

#airwallex-card-element,
#airwallex-entire-element,
.airwallex-card-element {
    min-height: 50px !important;
    padding: 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    background: white !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.place-order {
    margin-top: 20px;
    display: block;
    width: 100%;
}

#place_order {
    width: 100%;
    height: 45px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    font-family: 'Times New Roman', serif;
    font-style: italic;
}

#place_order:hover {
    opacity: 0.8;
}


/* ========== Order Received 页面 ========== */
.woocommerce-order .woocommerce-notice,
.woocommerce-order .woocommerce-thankyou-order-received {
    background: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: center;
}

/* ========== 响应式 - 平板 ========== */
@media (max-width: 1024px) {
    .cart-wrap {
        width: 100%;
        padding: 0 20px;
    }
    
    .checkout-item,
    .checkout-btn {
        width: 100%;
        max-width: 100%;
    }
    
    .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
        flex-direction: column;
    }
    
    .wc-block-components-main.wc-block-checkout__main,
    .wc-block-components-sidebar.wc-block-checkout__sidebar {
        width: 100%;
        flex: 0 0 100%;
    }
}

/* ========== 响应式 - 移动端 ========== */
@media (max-width: 768px) {
    /* 购物车 */
    .cart-wrap {
        width: 100%;
        padding: 0 15px;
    }
    
    .cart-box {
        padding: 20px 15px;
    }
    
    .cart-top {
        font-size: 18px;
    }
    
    .cart-list .item {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    
    .cart-list .item .text {
        width: 100%;
        padding-left: 100px;
        height: auto;
        min-height: 80px;
    }
    
    .cart-list .item img {
        width: 80px;
        height: 80px;
    }
    
    .cart-list .item .text.all {
        width: 100%;
    }
    
    .cart-bottom {
        padding: 20px 15px;
    }
    
    .cart-bottom .cart-stack {
        font-size: 18px;
    }
    
    /* 表单按钮 */
    .form-btn {
        width: 100%;
        height: 50px;
        font-size: 15px;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-actions .form-btn {
        max-width: 100%;
    }
    
    /* 账户页面 */
    .account-box {
        flex-direction: column;
    }
    
    .account-nav,
    .account-content {
        width: 100%;
        flex: 0 0 100%;
    }
    
    .account-nav {
        margin-bottom: 30px;
    }
    
    /* 订单列表 */
    .order-list .item {
        padding: 15px;
    }
    
    .order-list .item .orderno {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-list .item .orderno .btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .order-list .item .orderno .btn a {
        flex: 1;
        margin: 0 5px;
    }
    
    .order-list .item .text {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-list .item .desc {
        width: 100%;
    }
    
    .order-list .item .text .pic {
        width: 100%;
        justify-content: flex-start;
    }
    
    .order-list .item .text .pic a {
        margin: 0 10px 0 0;
    }
    
    .order-list .item .text .pic img {
        width: 100px;
    }
    
    /* ========== WooCommerce Blocks 移动端单栏布局 ========== */
    .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
        display: block !important;
        width: 100% !important;
    }
    
    .wc-block-components-main.wc-block-checkout__main {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 20px 12px 40px !important;
        background-color: #fff !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* 移动端右侧订单摘要区域保持可见 */
    .wc-block-components-sidebar.wc-block-checkout__sidebar {
        width: 100% !important;
        flex: 0 0 100% !important;
        padding: 20px 15px !important;
    }
    
    /* 防止结账步骤容器内容超出页面 */
    .wc-block-components-checkout-step__container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .wc-block-components-checkout-step__content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* 支付方式表单容器 */
    .wc-block-components-radio-control,
    .wc-block-components-radio-control-accordion-option {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Card支付表单内容区域 */
    .wc-block-components-radio-control-accordion-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 5px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        min-width: 0 !important; /* 防止 flex 子元素溢出 */
    }
    
    /* Card information表单容器 */
    #airwallex_card-form,
    .airwallex-card-form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
        min-width: 0 !important; /* 防止 flex 子元素溢出 */
    }
    
    /* Airwallex卡片元素容器 */
    #awxCardNumber,
    #awxCvc,
    #awxExpiry {
        max-width: 100% !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important; /* 防止 flex 子元素溢出 */
    }
    
    /* Payment options 下方表单完整显示修复 */
    .wc-block-checkout__payment-method {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        min-width: 0 !important;
    }
    
    .wc-block-checkout__payment-method .wc-block-components-checkout-step__content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
    
    /* 支付方式选项容器 */
    .wc-block-components-radio-control-accordion {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        min-width: 0 !important;
    }
    
    /* 支付表单内部所有元素 */
    .wc-block-components-radio-control-accordion-content *,
    .payment_box *,
    #airwallex_card-form *,
    .airwallex-card-form * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 确保支付表单输入框不会溢出 */
    .payment_box input[type="text"],
    .payment_box input[type="email"],
    .payment_box input[type="tel"],
    .payment_box input[type="number"],
    .payment_box select,
    .payment_box textarea,
    #airwallex_card-form input,
    .airwallex-card-form input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    
    /* Airwallex iframe 容器 */
    .airwallex-element-container,
    .airwallex-element-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    
    /* 确保支付表单的父容器不会截断内容 */
    .wc-block-components-checkout-step__container,
    .wc-block-components-checkout-step__content,
    .wc-block-checkout__payment-method .wc-block-components-checkout-step__container,
    .wc-block-checkout__payment-method .wc-block-components-checkout-step__content {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
    
    /* WooCommerce 表单移动端 */
    .woocommerce-checkout {
        max-width: 100%;
    }
    
    .checkout-item,
    .checkout-btn {
        width: 100%;
        max-width: 100%;
    }
    
    .checkout-item .form-item {
        flex-direction: column;
    }
    
    .checkout-item .form-item .w50,
    .checkout-item .form-item .w30 {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-bottom: 15px;
    }
    
    .form-row-first,
    .form-row-last {
        width: 100%;
        float: none;
        margin-bottom: 15px;
    }
    
    /* 表格移动端适配 */
    .shop_table th,
    .shop_table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .shop_table .product-name {
        width: 60%;
        font-size: 13px;
    }
    
    .shop_table .product-total {
        width: 40%;
    }
    
    /* 支付方式移动端 */
    .wc_payment_methods li {
        padding: 12px !important;
    }
    
    .payment_box {
        padding: 15px !important;
    }
    
    /* 按钮移动端 */
    .wc-block-checkout__actions_row {
        flex-direction: column-reverse;
        gap: 15px;
        max-width: 100%;
    }
    
    .wc-block-components-checkout-place-order-button {
        max-width: 100%;
    }
    
    .wc-block-components-checkout-place-order-button button.wc-block-components-button,
    button.wc-block-components-checkout-place-order-button {
        height: 50px !important;
        font-size: 15px !important;
    }
    
    .wc-block-components-checkout-return-to-cart-button {
        text-align: center;
        justify-content: center;
        width: 100%;
        padding: 10px;
    }
    
    /* Express Checkout 移动端 */
    .wc-block-components-express-payment {
        margin-bottom: 20px;
    }
    
    .wc-block-components-express-payment__title {
        font-size: 18px !important;
    }
    
    /* Checkout Steps 移动端 */
    .wc-block-components-checkout-step {
        margin-bottom: 25px;
    }
    
    .wc-block-components-checkout-step__title {
        font-size: 18px !important;
    }
    
    .wc-block-components-checkout-step__description {
        font-size: 13px;
    }
    
    /* 地址卡片移动端 */
    .wc-block-components-address-card {
        padding: 12px;
    }
    
    .wc-block-components-address-card address {
        font-size: 13px;
    }
    
    /* 表单输入框移动端 */
    .wc-block-components-text-input input,
    .wc-block-components-select select,
    .wc-block-components-textarea textarea {
        height: 45px;
        font-size: 14px;
    }
}

/* ========== 超小屏幕 ========== */
@media (max-width: 480px) {
    .cart-top {
        font-size: 16px;
    }
    
    .cart-bottom .cart-stack {
        font-size: 16px;
    }
    
    .checkout-item h3 {
        font-size: 18px;
    }
    
    .shop_table th,
    .shop_table td {
        padding: 8px;
        font-size: 12px;
    }
    
    .wc-block-components-checkout-step__title {
        font-size: 16px !important;
    }
    
    .wc-block-components-express-payment__title {
        font-size: 16px !important;
    }
    
    /* 超小屏幕 Payment options 表单完整显示修复 */
    .wc-block-checkout__payment-method {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        min-width: 0 !important;
        padding: 0 5px !important;
    }
    
    .wc-block-checkout__payment-method .wc-block-components-checkout-step__content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        min-width: 0 !important;
        padding: 0 !important;
    }
    
    .wc-block-components-radio-control-accordion-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 3px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        min-width: 0 !important;
    }
    
    #airwallex_card-form,
    .airwallex-card-form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin: 0 !important;
        min-width: 0 !important;
    }
    
    #awxCardNumber,
    #awxCvc,
    #awxExpiry {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    
    .payment_box {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px !important;
        overflow: visible !important;
    }
    
    .payment_box input[type="text"],
    .payment_box input[type="email"],
    .payment_box input[type="tel"],
    .payment_box input[type="number"],
    .payment_box select,
    .payment_box textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    
    .airwallex-element-container,
    .airwallex-element-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
    }
    
    /* 确保所有支付相关容器不截断内容 */
    .wc-block-components-checkout-step__container,
    .wc-block-components-checkout-step__content {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
    }
}

/* ========== 移除所有结账表单的圆角 ========== */
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout button,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.checkout-form button {
    border-radius: 0 !important;
}