/* Compact purchase estimator, matching Space Plant's original palette. */
body.woocommerce div.product .summary>.spc-calculator{order:3;width:100%;min-width:0;margin:20px 0 23px;border:1px solid #badedb;border-radius:9px;background:#f5fcfa;color:#062e48}
.spc-calculator,.spc-calculator *{box-sizing:border-box}
.spc-calculator>summary{display:flex;align-items:center;gap:12px;padding:17px 18px;cursor:pointer;list-style:none}
.spc-calculator>summary::-webkit-details-marker{display:none}
.spc-calculator>summary>.spx-icon{color:#148b9e;flex-shrink:0}
.spc-calculator>summary strong{display:block;font:600 21px/1.3 Nunito,sans-serif}
.spc-calculator>summary small{display:block;margin-top:3px;font:400 12px/1.6 Poppins,sans-serif;color:#476672}
.spc-calculator .spc-toggle{margin-left:auto;font:400 28px/1 Nunito,sans-serif}
.spc-calculator[open] .spc-toggle{font-size:0}
.spc-calculator[open] .spc-toggle:after{content:"−";font:400 28px/1 Nunito,sans-serif}
.spc-calculator summary:focus-visible,.spc-calculator a:focus-visible{outline:3px solid #096a82;outline-offset:3px}
.spc-body{padding:0 18px 19px}
body .spc-calculator p{font:400 12px/1.75 Poppins,sans-serif;color:#375e6b;margin:0 0 15px}
body.woocommerce div.product .summary .spc-calculator p{font-size:12px!important;line-height:1.65!important}
body.woocommerce div.product .summary .spc-calculator .spc-package-note,body.woocommerce div.product .summary .spc-calculator .spc-footnote{font-size:11px!important}
.spc-controls{display:grid;grid-template-columns:1fr 1fr;gap:15px 13px;margin-bottom:15px}
.spc-controls>div{min-width:0}
.spc-area-field,.spc-method-field{grid-column:1/-1}
.spc-calculator label{display:block;font:600 12px/1.55 Poppins,sans-serif;margin:0 0 6px;color:#173f4e}
.spc-area-row{display:flex;gap:8px}
.spc-calculator input:not([type=checkbox]),.spc-calculator select{display:block;min-width:0;width:100%;min-height:46px;height:auto!important;padding:10px 11px!important;border:1px solid #aac8c8!important;border-radius:5px;background:#fff!important;color:#062e48!important;font:400 16px/1.4 Poppins,sans-serif!important;box-shadow:none!important}
.spc-calculator select{appearance:auto!important;background-image:none!important}
.spc-area-row input{flex:1}
.spc-area-row select{width:84px;flex:0 0 84px}
.spc-calculator input:focus,.spc-calculator select:focus{outline:2px solid #0b7991;outline-offset:2px}
.spc-calculator input[aria-invalid=true]{border-color:#a43d30!important}
.spc-calculator input::-webkit-inner-spin-button{opacity:1}
.spc-calculator .spc-controls small{display:block;font:400 10px/1.6 Poppins,sans-serif;color:#526d77;margin-top:5px}
body .spc-calculator .spc-assumption{border-top:1px solid #d3e7e1;padding-top:12px;font-size:11px}
body .spc-calculator .spc-error{color:#963c30}
.spc-error:empty,.spc-applied:empty,.spc-plan-status:empty{display:none}
.spc-calculator [hidden]{display:none!important}
.spc-estimate{background:linear-gradient(110deg,#d9f3f6,#e9f5dc);border:1px solid #c9e8da;border-radius:7px;padding:16px;margin:17px 0 12px}
.spc-estimate>span{display:block;font:500 11px/1.6 Poppins,sans-serif;color:#365d65}
.spc-calculator .spc-estimate>strong{display:block;font:600 30px/1.25 Nunito,sans-serif;color:#062e48;margin:5px 0;overflow-wrap:anywhere}
.spc-estimate>small{display:block;font:400 11px/1.65 Poppins,sans-serif;color:#365d65}
body .spc-calculator .spc-rounding{font-size:11px}
.spc-packages{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.spc-package{display:flex;flex-direction:column;padding:13px 12px;background:#fff;border:1px solid #c8e0da;border-radius:6px;min-width:0}
.spc-package h3{font:600 19px/1.25 Nunito,sans-serif!important;color:#062e48;margin:0 0 8px!important}
body .spc-calculator .spc-package p{font-size:10px;line-height:1.7;margin:0 0 10px}
.spc-package .spc-price{display:block;font:600 16px/1.4 Poppins,sans-serif;margin:0 0 13px;color:#105f72}
.spc-package button{border:1px solid #96d5d4;border-radius:4px;background:linear-gradient(105deg,#73d0df,#aedb8b);color:#062e48;min-height:44px;padding:10px;font:600 11px/1.4 Poppins,sans-serif;cursor:pointer;margin-top:auto;width:100%;white-space:normal}
.spc-package button:hover{background:#d5f0d4}
.spc-package button:focus-visible{outline:3px solid #0b6884;outline-offset:3px}
.spc-package button:disabled{background:#edf2ef;color:#687b7f;cursor:default;border-color:#dce6df}
body .spc-calculator .spc-package-note{font-size:10px;margin:12px 0}
body .spc-calculator .spc-applied{font-size:12px;padding:12px;background:#e2f2dc;border-radius:5px;color:#244d35}
body .spc-calculator .spc-footnote{font-size:10px;margin:15px 0 0}
.spc-footnote a{color:#0a657e;text-decoration:underline;text-underline-offset:3px}
@media(max-width:420px){.spc-calculator>summary{padding:15px 13px;gap:9px}.spc-body{padding:0 13px 16px}.spc-calculator>summary strong{font-size:20px}.spc-calculator>summary small{font-size:11px}.spc-packages{grid-template-columns:1fr}.spc-controls{gap:13px 10px}.spc-calculator .spc-estimate>strong{font-size:28px}}
@media(prefers-reduced-motion:reduce){.spc-calculator *{scroll-behavior:auto!important}}


/* A shared area with independent treatment counts. */
.spc-calculator .spc-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;margin:0 0 16px;background:#e7f2ef;border-radius:7px}
.spc-calculator .spc-modes button,.spc-calculator .spc-preset-apply{appearance:none;min-width:0;min-height:44px;height:auto;width:100%;padding:10px 8px;border:1px solid transparent;border-radius:5px;font:600 12px/1.5 Poppins,sans-serif;color:#164b5a;background:transparent;cursor:pointer;white-space:normal;box-shadow:none}
.spc-calculator .spc-modes button[aria-pressed=true]{background:#fff;border-color:#aed9d5;box-shadow:0 1px 3px #1546500c;color:#07576b}
.spc-calculator .spc-modes button:hover{background:#f6fffb}
.spc-calculator button:focus-visible{outline:3px solid #0b6884;outline-offset:2px}
.spc-calculator .spc-season{background:#eaf7f6;border:1px solid #c9e4df;border-radius:6px;padding:13px;margin:0 0 15px;min-width:0}
body.woocommerce div.product .summary .spc-calculator .spc-preset-hint{font-size:11px!important;margin:9px 0 0}
.spc-calculator .spc-preset{margin-top:13px;padding-top:12px;border-top:1px solid #c9e4df}
.spc-calculator .spc-preset>strong{display:block;font:600 17px/1.45 Nunito,sans-serif;color:#163f4e;margin-bottom:8px}
body.woocommerce div.product .summary .spc-calculator .spc-preset p{font-size:11px!important;margin-bottom:11px}
.spc-calculator .spc-preset-apply{background:linear-gradient(105deg,#73d0df,#aedb8b);border-color:#a3d5c1;color:#062e48}
.spc-calculator .spc-preset-apply:hover{background:#d5f0d4}
body .spc-calculator .spc-plan-status{padding:10px 12px;background:#e3f1d9;border-left:3px solid #94be64;border-radius:3px;margin-bottom:15px}
.spc-calculator .spc-methods{display:grid;gap:10px;margin:0 0 15px}
.spc-calculator .spc-method-card{min-width:0;border:1px solid #cddedb;border-radius:6px;padding:12px;background:#f7faf8}
.spc-calculator .spc-method-card.is-enabled{border-color:#9ecfc8;background:#fff}
.spc-calculator .spc-method-toggle{display:flex;align-items:center;gap:11px;margin:0;min-height:44px;cursor:pointer}
.spc-calculator .spc-method-toggle input[type=checkbox]{appearance:auto!important;display:block;width:21px!important;height:21px!important;min-height:21px!important;flex:0 0 21px;margin:0!important;padding:0!important;accent-color:#137e8d;cursor:pointer}
.spc-calculator .spc-method-toggle strong{display:block;font:600 18px/1.3 Nunito,sans-serif}
.spc-calculator .spc-method-toggle small{display:block;font:400 11px/1.6 Poppins,sans-serif;color:#526d77;margin-top:2px}
.spc-calculator .spc-method-settings{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:10px;align-items:center;margin-top:12px}
.spc-calculator .spc-method-settings>label{margin:0}
.spc-calculator .spc-water-field{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:5px 10px;align-items:center}
.spc-calculator .spc-water-field label{margin:0}
.spc-calculator .spc-water-field small{grid-column:1/-1;font:400 10px/1.6 Poppins,sans-serif;color:#526d77}
body.woocommerce div.product .summary .spc-calculator .spc-assumption{grid-column:1/-1;font-size:11px!important;margin:0;padding-top:10px}
.spc-calculator .spc-breakdown{list-style:none;margin:12px 0 0;padding:10px 0 0;border-top:1px solid #bbdacd}
.spc-calculator .spc-breakdown li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:3px 10px;list-style:none;margin:0;padding:4px 0;font:400 11px/1.6 Poppins,sans-serif;color:#365d65}
.spc-calculator .spc-breakdown li strong{font-weight:600;color:#173f4e;white-space:nowrap}


/* Compare complete baskets, with a separate price-per-kg upgrade when it exists. */
.spc-calculator .spc-bundle:only-child{grid-column:1/-1}
.spc-calculator .spc-bundle{padding:15px 13px}
.spc-calculator .spc-bundle-best{border-color:#94bfa2}
.spc-calculator .spc-bundle-value{border-color:#8ec9d2;background:#f2fbfd}
.spc-calculator .spc-bundle-label{display:block;font:600 10px/1.6 Poppins,sans-serif;color:#325947;margin:0 0 10px}
.spc-calculator .spc-bundle-value .spc-bundle-label{color:#146477}
.spc-calculator .spc-bundle h3{overflow-wrap:anywhere}
.spc-calculator .spc-bundle .spc-price{margin-bottom:3px;font-size:20px}
.spc-calculator .spc-unit-price{display:block;font:500 12px/1.6 Poppins,sans-serif;color:#456971;margin-bottom:14px}
body.woocommerce div.product .summary .spc-calculator .spc-value-note{font-size:11px!important;line-height:1.7!important;border-top:1px solid #c9e4e7;padding-top:10px;margin-bottom:14px}
.spc-calculator .spc-applied a{color:#075e77;text-decoration:underline;text-underline-offset:3px}
.spc-calculator [aria-busy=true]{cursor:progress}
