.elementor-108 .elementor-element.elementor-element-28e13666{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-7e289b68 */.woocommerce .aux-shop-table tbody td:first-child, .woocommerce .aux-shop-table tfoot td:first-child {
    padding-left: 0.9em;
}


.woocommerce .aux-shop-table tbody td, .woocommerce .aux-shop-table tfoot td {padding: 0px !important;} 

@media screen and (max-width: 767px) {
    .aux-resp .woocommerce .product-thumbnail {
        display: block;
    }
}







@media screen and (max-width: 415px) {
    .woocommerce-cart .aux-shop-table tbody tr td.product-thumbnail img, .woocommerce-cart .woocommerce .aux-shop-table tfoot tr td.product-thumbnail img, .woocommerce .woocommerce-cart .aux-shop-table tfoot tr td.product-thumbnail img {
        width: 150px !important;
        margin: 0 auto;
    }
}

@media screen and (max-width: 415px) {
    /* 1. 基础限制：防止撑破屏幕 */
    table.woocommerce-cart-form__contents {
        display: block;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        word-break: break-all;
    }

    /* 2. 将单元格转为块级元素并强制内容居中 */
    table.woocommerce-cart-form__contents tbody,
    table.woocommerce-cart-form__contents tr,
    table.woocommerce-cart-form__contents td {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center !important; /* 强制所有文本和内联元素居中 */
        border: none; /* 去除移动端默认的丑陋边框 */
    }

    /* 3. 为每个商品块设置相对定位，并增加间距 */
    table.woocommerce-cart-form__contents tr.cart_item {
        position: relative;
        padding-top: 40px; /* 顶部留白，给绝对定位的 X 按钮让出空间 */
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #eaeaea; /* 商品之间的分割线 */
    }

    /* 4. 删除按钮 (X) 绝对定位到右上角 */
    table.woocommerce-cart-form__contents td.product-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        width: auto;
        padding: 0;
        text-align: right !important;
    }

    /* 5. 图片居中自适应 */
    table.woocommerce-cart-form__contents .product-thumbnail a {
        display: inline-block;
    }
    table.woocommerce-cart-form__contents .product-thumbnail img {
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto;
        display: block;
    }

    /* 6. 数量加减框 (ui-spinner) 居中对齐 */
    table.woocommerce-cart-form__contents .product-quantity .quantity,
    table.woocommerce-cart-form__contents .product-quantity .ui-spinner {
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    /* 7. 隐藏表头，移动端不需要显示 Price, Quantity 等标题 */
    table.woocommerce-cart-form__contents thead {
        display: none;
    }
}/* End custom CSS */