.elementor-29851 .elementor-element.elementor-element-796b470{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 50px;--row-gap:0px;--column-gap:50px;overflow:visible;}.elementor-29851 .elementor-element.elementor-element-502c64d{--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;overflow:visible;}.elementor-29851 .elementor-element.elementor-element-3d802c2{--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;overflow:visible;}.elementor-29851 .elementor-element.elementor-element-9452dde{text-align:center;}.elementor-29851 .elementor-element.elementor-element-9452dde .elementor-heading-title{font-size:29px;}.elementor-29851 .elementor-element.elementor-element-c784449{text-align:center;}.elementor-29851 .elementor-element.elementor-element-c784449 .elementor-heading-title{font-weight:500;}.elementor-29851 .elementor-element.elementor-element-ecd410a{text-align:center;}.elementor-29851 .elementor-element.elementor-element-bb4aa25 .cart button, .elementor-29851 .elementor-element.elementor-element-bb4aa25 .cart .button{font-size:14px;transition:all 0.2s;}.elementor-29851 .elementor-element.elementor-element-bb4aa25{--button-spacing:18px;}.elementor-29851 .elementor-element.elementor-element-bb4aa25 .quantity .qty{font-size:18px;padding:4px 8px 4px 8px;transition:all 0.2s;}.elementor-29851 .elementor-element.elementor-element-ca58a8b{text-align:center;font-size:15px;}.elementor-29851 .elementor-element.elementor-element-1be8623{font-size:16px;font-weight:600;font-style:italic;color:#EC405D;}.elementor-29851 .elementor-element.elementor-element-1be8623 a{color:#F80101;}.elementor-29851 .elementor-element.elementor-element-1eed8ef{--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;--margin-top:50px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;overflow:visible;}.elementor-29851 .elementor-element.elementor-element-eda05f4 img{width:100%;}.elementor-29851 .elementor-element.elementor-element-9425754{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:30px;--margin-bottom:30px;--margin-left:0px;--margin-right:0px;overflow:visible;}.elementor-29851 .elementor-element.elementor-element-4fca8e0{--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;--justify-content:center;--padding-top:48px;--padding-bottom:48px;--padding-left:48px;--padding-right:48px;overflow:visible;}.elementor-29851 .elementor-element.elementor-element-bfe702c .elementor-heading-title{font-size:40px;}.elementor-29851 .elementor-element.elementor-element-d8e61c5{font-size:18px;}.elementor-29851 .elementor-element.elementor-element-d8e61c5 p{margin-block-end:9px;}.elementor-29851 .elementor-element.elementor-element-b19c59a{--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;overflow:visible;}@media(max-width:768px){.elementor-29851 .elementor-element.elementor-element-1eed8ef{--content-width:100%;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}}@media(min-width:769px){.elementor-29851 .elementor-element.elementor-element-796b470{--content-width:1200px;}.elementor-29851 .elementor-element.elementor-element-502c64d{--width:60%;}.elementor-29851 .elementor-element.elementor-element-3d802c2{--width:40%;}.elementor-29851 .elementor-element.elementor-element-1eed8ef{--content-width:1200px;}.elementor-29851 .elementor-element.elementor-element-9425754{--content-width:1200px;}.elementor-29851 .elementor-element.elementor-element-4fca8e0{--width:50%;}.elementor-29851 .elementor-element.elementor-element-b19c59a{--width:50%;}}/* Start custom CSS for woocommerce-product-add-to-cart, class: .elementor-element-bb4aa25 *//* 1. 强制主容器和子持有器都采用垂直布局 */
.woocommerce-variation-add-to-cart.variations_button,
.e-atc-qty-button-holder {
    display: flex !important;
    flex-direction: column !important; /* 核心：强制垂直堆叠 */
    align-items: center !important;    /* 核心：水平居中 */
    width: 100% !important;
    gap: 12px !important;               /* 元素之间的上下间距 */
}

/* 2. 数量选择器样式 */
.quantity {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 5px !important;
}

/* 3. 针对两个按钮的共同样式 */
.single_add_to_cart_button, 
.wd-buy-now-btn {
    width: 100% !important;        /* 让两个按钮宽度一致 */
    max-width: 300px !important;    /* 限制最大宽度，避免太长 */
    margin: 0 !important;           /* 清除可能的默认侧边距 */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 20px !important;
    text-align: center !important;
}

/* 4. 如果按钮有浮动（float），强制清除 */
.single_add_to_cart_button, 
.wd-buy-now-btn,
.quantity {
    float: none !important;
}

/* 5. 针对 WoodMart 立即购买按钮的额外美化（可选） */
.wd-buy-now-btn {
    margin-top: 0 !important; /* 因为有了 gap，这里设为 0 */
}

div.quantity input[type="button"]{
    padding: 7px 5px !important;
}/* End custom CSS */