.cec-product-purchase{margin:0 0 28px;padding:18px;background:#f8f9fa;border:1px solid #e2e5e8;border-radius:8px;max-width:100%;font-family:inherit}
.cec-quantity-label{display:block;margin:0 0 9px;font-size:15px;font-weight:700;color:#222}
.cec-purchase-row{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap}
.cec-quantity-input{box-sizing:border-box;width:88px;min-height:50px;margin:0;padding:9px 8px;background:#fff;border:1px solid #aeb6bf;border-radius:5px;color:#222;font-size:18px;text-align:center;direction:ltr}
.cec-add-to-cart{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;max-width:100%;padding:10px 18px;border:1px solid #cc6200;border-radius:5px;background:#f47b20;color:#fff;font:inherit;font-size:16px;font-weight:700;line-height:1.5;cursor:pointer;white-space:normal}
.cec-add-to-cart img{flex:0 0 30px;width:30px;height:30px;object-fit:contain}
.cec-add-to-cart:hover{background:#dc6812;color:#fff}
.cec-add-to-cart:focus,.cec-quantity-input:focus{outline:3px solid #135fa5;outline-offset:3px}
.cec-add-to-cart:disabled,.cec-quantity-input:disabled{cursor:not-allowed;opacity:.65}
.cec-cart-feedback{margin:10px 0 0;min-height:22px;font-size:13px;line-height:1.7;color:#333}
.cec-cart-feedback[data-state=success]{color:#17612c}
.cec-cart-feedback[data-state=error]{color:#a51818}
@media(max-width:480px){.cec-product-purchase{padding:12px}.cec-purchase-row{gap:8px}.cec-add-to-cart{flex:1 1 180px;padding:10px 12px;font-size:14px}.cec-quantity-input{width:76px}}

/* v3.3: override the legacy .product_view span color. */
.product_view .cec-add-to-cart span,.cec-product-purchase .cec-add-to-cart span{color:#fff!important}

/* v3.7.3: keep the add/remove actions together. */
.cec-cart-actions{display:flex;align-items:stretch;gap:8px;flex:1 1 240px;min-width:0}
.cec-cart-actions .cec-add-to-cart{flex:1 1 auto;min-width:0}
.cec-remove-from-cart{display:inline-flex;align-items:center;justify-content:center;flex:0 0 50px;width:50px;min-height:50px;padding:10px;border:1px solid #b71c1c;border-radius:5px;background:#d32f2f;color:#fff;cursor:pointer}
.cec-remove-from-cart:hover{background:#b71c1c;color:#fff}
.cec-remove-from-cart:focus{outline:3px solid #135fa5;outline-offset:3px}
.cec-remove-from-cart:disabled{cursor:not-allowed;opacity:.65}
