/* V26.9: visual-only enhancements. Do not modify WooCommerce events, totals or validation. */
:root{--ms-sage:#607b69;--ms-sage-deep:#385b4b;--ms-cream:#f7f5ef;--ms-hairline:#e4e4db}
body.ms-wp .ms-v25-purchase .ms-variation-cards .bundle-choice,body.ms-wp #product-view .bundle-choice{position:relative;min-height:164px;border:1.5px solid #d9ded5;border-radius:20px;padding:20px 12px 16px;background:linear-gradient(170deg,#fff 0%,#fcfbf8 100%);box-shadow:0 5px 22px rgba(55,75,58,.035);transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
body.ms-wp .ms-v25-purchase .bundle-choice:hover,body.ms-wp #product-view .bundle-choice:hover{border-color:#8fa996;box-shadow:0 8px 24px rgba(55,75,58,.11);transform:translateY(-2px)}
body.ms-wp .ms-v25-purchase .bundle-choice[aria-pressed="true"],body.ms-wp #product-view .bundle-choice[aria-pressed="true"]{background:linear-gradient(150deg,#f0f5ed,#f9faf6);border:2px solid var(--ms-sage);padding:19px 11px 15px;box-shadow:0 0 0 3px #607b6917,0 10px 22px #385b4b12}
body.ms-wp .ms-v25-purchase .bundle-choice[aria-pressed="true"]::after,body.ms-wp #product-view .bundle-choice[aria-pressed="true"]::after{content:'✓';position:absolute;top:9px;right:10px;width:22px;height:22px;display:grid;place-items:center;background:var(--ms-sage-deep);color:white;border-radius:50%;font:700 13px/1 Arial,sans-serif}
body.ms-wp .ms-v25-purchase .bundle-choice .bundle-count,body.ms-wp #product-view .bundle-choice .bundle-count{font-size:15px;font-weight:750;color:#263d31}
body.ms-wp .ms-v25-purchase .bundle-choice .bundle-price,body.ms-wp #product-view .bundle-choice .bundle-price{font-size:21px;font-weight:750;letter-spacing:-.035em;color:#233b30}
body.ms-wp .ms-v25-purchase .bundle-choice .bundle-savings,body.ms-wp #product-view .bundle-choice .bundle-savings{color:var(--ms-sage-deep);font-size:12px;font-weight:750}
body.ms-wp .ms-v25-purchase .bundle-choice:focus-visible,body.ms-wp #product-view .bundle-choice:focus-visible{outline:3px solid var(--ms-sage-deep);outline-offset:3px}
body.ms-wp .ms-v25-purchase button.single_add_to_cart_button{background:#e8efe7!important;color:#294736!important;border:1.5px solid #bdcebd!important;box-shadow:none!important}
body.ms-wp .ms-v25-purchase button.single_add_to_cart_button:hover{background:#dceadd!important}
body.ms-wp .ms-direct-buy,body.ms-wp .ms-sticky-direct button{background:var(--ms-sage-deep);color:#fff;box-shadow:0 5px 16px #385b4b23;transition:background .2s,transform .2s}
body.ms-wp .ms-direct-buy:hover,body.ms-wp .ms-sticky-direct button:hover{background:#274c39;transform:translateY(-1px)}
body.ms-wp .ms-sticky-direct{background:#fbfaf5f5;backdrop-filter:blur(14px);border-top:1px solid #d9e1d7}
/* Checkout: visual changes only. Keep submit, consents and live shipping rates in WooCommerce. */
body.woocommerce-checkout:not(.woocommerce-order-received){background:#faf9f5}
body.woocommerce-checkout .ms-quick-checkout .woocommerce-checkout-review-order-table{border:1px solid var(--ms-hairline);border-radius:16px;overflow:hidden;background:white}
body.woocommerce-checkout .ms-quick-checkout .woocommerce-billing-fields h3,body.woocommerce-checkout .ms-quick-checkout .ms-order-first h3{color:#385b4b}
body.woocommerce-checkout .ms-quick-checkout .woocommerce-billing-fields input.input-text,body.woocommerce-checkout .ms-quick-checkout .woocommerce-billing-fields select{background:#fff;border:1px solid #cdd7cd;border-radius:12px;min-height:48px;padding:12px;box-shadow:none}
body.woocommerce-checkout .ms-quick-checkout .woocommerce-billing-fields input:focus{outline:2px solid #607b69;outline-offset:1px}
body.woocommerce-checkout .ms-quick-checkout .ms-payment-last #payment ul.payment_methods{background:#f1f5ef;border-color:#d0decf;border-radius:14px}
body.woocommerce-checkout .ms-quick-checkout .ms-payment-last .place-order #place_order{background:#385b4b;border-radius:999px;color:white;box-shadow:0 7px 17px #385b4b22}
body.woocommerce-checkout .ms-quick-checkout .ms-payment-last .place-order #place_order:hover{background:#264b39}
/* Confirmation page: prevent clipping by sticky header and remove raw invoice appearance. */
body.woocommerce-order-received main,body.woocommerce-order-received .ms-wc-wrap{padding-top:clamp(65px,9vw,110px)!important;padding-bottom:64px;scroll-margin-top:100px}
body.woocommerce-order-received .woocommerce{max-width:930px;margin-inline:auto}
body.woocommerce-order-received .woocommerce-order>p.woocommerce-notice{padding:22px 25px;margin:10px 0 26px;background:#edf4ed;border:1px solid #cadbc9;border-radius:18px;color:#2a5b40;font-size:21px;font-weight:650}
body.woocommerce-order-received ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px;margin:16px 0 28px!important;padding:0!important;list-style:none}
body.woocommerce-order-received ul.woocommerce-order-overview li{list-style:none;float:none!important;width:auto!important;margin:0!important;padding:16px!important;border:1px solid #e0e7df;border-radius:14px;background:#fff;line-height:1.5;overflow-wrap:anywhere}
body.woocommerce-order-received .woocommerce-order-details,body.woocommerce-order-received .woocommerce-customer-details{background:#fff;border:1px solid #e5e9e1;border-radius:19px;padding:clamp(16px,3vw,26px);margin:24px 0;box-shadow:0 8px 32px #263d3108}
body.woocommerce-order-received .woocommerce-order-details h2,body.woocommerce-order-received .woocommerce-customer-details h2{color:#385b4b;margin-top:0}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
body.woocommerce-order-received .woocommerce-customer-details address{border:1px solid #e2e9e1;border-radius:13px;background:#fafbf9;padding:16px 18px;min-height:90px;line-height:1.8;overflow-wrap:anywhere}
body.woocommerce-order-received table.woocommerce-table{width:100%;border-collapse:collapse}
body.woocommerce-order-received table.woocommerce-table th,body.woocommerce-order-received table.woocommerce-table td{padding:13px 10px;border-bottom:1px solid #ebeee8;text-align:left}
@media(max-width:600px){body.ms-wp .ms-v25-purchase .bundle-choice,body.ms-wp #product-view .bundle-choice{min-height:146px;padding:20px 5px 11px;border-radius:14px}body.ms-wp .ms-v25-purchase .bundle-choice[aria-pressed="true"],body.ms-wp #product-view .bundle-choice[aria-pressed="true"]{padding:19px 4px 10px}body.ms-wp .ms-v25-purchase .bundle-choice .bundle-price,body.ms-wp #product-view .bundle-choice .bundle-price{font-size:17px}body.woocommerce-order-received ul.woocommerce-order-overview{grid-template-columns:repeat(2,minmax(0,1fr))}body.woocommerce-order-received main,body.woocommerce-order-received .ms-wc-wrap{padding-top:70px!important}}
@media(prefers-reduced-motion:reduce){body.ms-wp .bundle-choice,body.ms-wp .ms-direct-buy{transition:none!important;transform:none!important}}

/* V26.10: compact, balanced pack cards; do not alter selection or prices. */
body.ms-wp .ms-v25-purchase .ms-variation-cards .bundle-choice,body.ms-wp #product-view .bundle-choice{min-height:94px!important;height:auto!important;display:flex!important;flex-direction:column;justify-content:center!important;align-items:center!important;gap:7px!important;padding:16px 10px!important;border-radius:15px!important;}
body.ms-wp .ms-v25-purchase .ms-variation-cards .bundle-choice[aria-pressed="true"],body.ms-wp #product-view .bundle-choice[aria-pressed="true"]{padding:15px 9px!important;}
body.ms-wp .ms-v25-purchase .ms-variation-cards .bundle-choice .bundle-name,body.ms-wp #product-view .bundle-choice .bundle-name{font-size:14px;line-height:1.3;font-weight:600;color:#435c4b;}
body.ms-wp .ms-v25-purchase .ms-variation-cards .bundle-choice .ms-choice-price,body.ms-wp #product-view .bundle-choice .ms-choice-price{font-size:20px;font-weight:750;line-height:1.15;color:#263d31;}
body.ms-wp .ms-v25-purchase .ms-variation-cards .bundle-choice[aria-pressed="true"]::after,body.ms-wp #product-view .bundle-choice[aria-pressed="true"]::after{width:18px;height:18px;top:5px;right:5px;font-size:11px;}
@media(max-width:600px){body.ms-wp .ms-v25-purchase .ms-variation-cards .bundle-choice,body.ms-wp #product-view .bundle-choice{min-height:90px!important;padding:13px 5px!important;gap:5px!important}body.ms-wp .ms-v25-purchase .ms-variation-cards .bundle-choice .ms-choice-price{font-size:16px!important}}
