.elementor-8 .elementor-element.elementor-element-bf9f65f{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--margin-top:3vw;--margin-bottom:0vw;--margin-left:0vw;--margin-right:0vw;}.elementor-8 .elementor-element.elementor-element-15dec5e .elementor-heading-title{font-size:46px;font-weight:400;}.elementor-8 .elementor-element.elementor-element-cfd8742 .elementor-heading-title{font-size:19px;font-weight:400;text-decoration:underline;letter-spacing:0.4px;color:var( --e-global-color-secondary );}.elementor-8 .elementor-element.elementor-element-cfd8742 .elementor-heading-title a:hover, .elementor-8 .elementor-element.elementor-element-cfd8742 .elementor-heading-title a:focus{color:var( --e-global-color-primary );}.elementor-8 .elementor-element.elementor-element-1a04ed2{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0vw;--padding-bottom:4vw;--padding-left:0vw;--padding-right:0vw;}@media(min-width:768px){.elementor-8 .elementor-element.elementor-element-bf9f65f{--content-width:1400px;}.elementor-8 .elementor-element.elementor-element-1a04ed2{--content-width:1400px;}}/* Start custom CSS for shortcode, class: .elementor-element-5c8a64f *//* --- 购物车样式优化 --- */

/* 1. 优化产品表格：去除杂乱边框，增加间距 */
.woocommerce-cart .woocommerce table.shop_table {
    border: none !important;
    border-radius: 0;
}

.woocommerce-cart table.shop_table th {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    font-weight: 400;
}


/* 2. 数量选择框样式优化 */
.woocommerce-cart .quantity input.qty {
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    padding: 10px;
    font-weight: 500;
}

/* 3. 结账按钮 (Checkout Button) - 变成黄色 */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background-color: #fbd237 !important; /* 图二的黄色 */
    border: 1px solid #000000 !important; /* 黑色边框 */
    color: #000000 !important; /* 黑色文字 */
    border-radius: 0 !important; /* 直角，不要圆角 */
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 12px 30px !important;
    text-transform: none !important; /* 不强制大写 */
    width: 100%; /* 按钮占满宽度 */
    transition: all 0.3s ease;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
   border: 1px solid #444 !important;
    outline: 1px solid #444 !important;
}


/* 隐藏不必要的标题 */
.woocommerce-cart .cart_totals h2 {
    display: none; 
}
/* 隐藏购物车底部的整个操作栏（包括优惠券和更新按钮） */
.woocommerce-cart table.shop_table td.actions {
    display: none !important;
}
/* --- 针对 Blocksy 主题的强制分行布局 --- */

/* 1. 找到父容器，取消 Grid 网格布局 */
.woocommerce .ct-woocommerce-cart-form {
    display: block !important; /* 关键：把 grid 改成 block */
    grid-template-columns: 100% !important; /* 双重保险：强制设为1列 */
    gap: 0 !important; /* 去掉网格间距 */
}

/* 2. 左侧：产品表格区域占满 100% */
.woocommerce .ct-woocommerce-cart-form .woocommerce-cart-form {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/* 3. 右侧：总计区域占满 100% 并通过 margin 挤到下面 */
.woocommerce .ct-woocommerce-cart-form .cart_totals {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-top: 40px !important; /* 在表格和总计之间增加间距 */
    background: transparent !important; /* 去掉可能存在的背景色 */
    position: static !important; /* 防止粘性定位干扰 */
}

/* --- 下面是为了保持你要的“图二”风格（靠右对齐） --- */

/* 让价格表格只占右边一部分 (40%左右)，看起来更精致 */
.woocommerce .ct-woocommerce-cart-form .cart_totals table.shop_table {
    width: 40% !important;
    float: right !important;
    margin-left: auto !important; /* 强制靠右 */
    margin-right: 0 !important;
}

/* 让结账按钮也跟在右边 */
.woocommerce .ct-woocommerce-cart-form .wc-proceed-to-checkout {
    width: 40% !important;
    float: right !important;
    margin-left: auto !important; /* 强制靠右 */
    display: block !important;
    clear: both !important;
}

/* 手机端适配：手机上恢复全宽，不然太窄了 */
@media (max-width: 768px) {
    .woocommerce .ct-woocommerce-cart-form .cart_totals table.shop_table,
    .woocommerce .ct-woocommerce-cart-form .wc-proceed-to-checkout {
        width: 100% !important;
    }
}

/* --- 去掉购物车总计区域的边框和内边距 --- */

.woocommerce .ct-woocommerce-cart-form .cart_totals {
    border: none !important;        /* 去掉 2px 的边框 */
    padding: 0 !important;          /* 去掉 30px 的内边距 */
    background: transparent !important; /* 确保没有背景色 */
    box-shadow: none !important;    /* 如果有阴影也去掉 */
}/* End custom CSS */