/* Original Compact: native controls and the existing product card, not a new shop UI. */
.al-original-compact .al-compact-field,.al-compact-field{display:flex;flex-direction:column;gap:.35rem;min-width:0;margin:0 0 .8rem;font-size:.875rem;font-weight:600;color:var(--al-text,#172c24)}
.al-compact-field select,.al-compact-field input{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;padding:.6rem .75rem;border:1px solid var(--al-border,#ccd8d1);border-radius:6px;background:#fff;color:var(--al-text,#172c24);font:inherit;font-size:1rem;font-weight:400;line-height:1.4}
.al-compact-field select:focus-visible,.al-compact-field input:focus-visible{outline:2px solid #2c6b4a;outline-offset:2px}
.al-original-compact [hidden],.al-compact-field[hidden]{display:none!important}
.al-original-compact{min-width:0}
.al-original-compact .al-merch-choice__panel--compact{display:block;min-width:0;padding:1rem;background:#fff;border:1px solid var(--al-border,#dce4df);border-radius:8px}
.al-original-compact .al-merch-choice__product{display:grid;grid-template-columns:72px minmax(0,1fr);gap:1rem;align-items:center;margin:0 0 .8rem}
.al-original-compact .al-merch-choice__product img{width:72px;height:72px;object-fit:contain;aspect-ratio:1}
.al-original-compact .al-merch-choice__product-heading{font-size:1rem;line-height:1.45;overflow-wrap:anywhere}
.al-original-compact .al-merch-selected{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem 1rem;min-width:0;margin:0 0 .8rem;padding:0;background:none;border:0}
.al-original-compact [data-al-price]{font-size:1.125rem;font-weight:700;color:#172c24}
.al-original-compact [data-al-stock]{margin-left:auto;font-size:.8rem;color:#52645c}
.al-original-compact [data-al-selected-specs]{flex-basis:100%;font-size:.85rem}
.al-original-compact [data-al-selected-state],.al-original-compact [data-al-selected-name]{flex-basis:100%;font-size:.85rem}
.al-original-compact .al-merch-feature__cta,.al-tool-compact a[data-al-affiliate]{display:flex;box-sizing:border-box;align-items:center;justify-content:center;width:100%;min-height:44px;padding:.7rem 1rem;margin:0;background:#2c6b4a;color:#fff;border-radius:6px;text-align:center;text-decoration:none;font-weight:600;white-space:normal}
.al-original-compact .al-merch-feature__cta:hover{background:#20553a}
.al-original-compact .al-merch-feature__cta:focus-visible{outline:2px solid #2c6b4a;outline-offset:3px}
.al-original-compact .al-merch-feature__cta.is-disabled{background:#e7ece9;color:#52645c;pointer-events:none}
.al-tool-compact .al-soil-recommendations__grid,.al-tool-compact .al-fertilizer-products{display:block}
.al-tool-compact [data-al-choice-panel]{max-width:100%;min-width:0}
.al-original-compact .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:359px){.al-original-compact .al-merch-choice__product{grid-template-columns:60px minmax(0,1fr);gap:.75rem}.al-original-compact .al-merch-choice__product img{width:60px;height:60px}}
/* Existing base CTA rules are more specific than ordinary card styles. */
.al-original-compact .al-merch-choice__panel--compact > .al-merch-feature__cta.al-btn.al-btn--primary{display:flex;width:100%;background:#2c6b4a;color:#fff;grid-column:auto;grid-row:auto;justify-self:stretch}
.al-original-compact .al-merch-choice__panel--no-image .al-merch-choice__product{grid-template-columns:minmax(0,1fr)}
.al-original-compact .al-merch-choice__panel--compact > .al-merch-feature__cta.al-btn.al-btn--primary:hover{background:#20553a}
.al-original-compact .al-merch-choice__panel--compact > .al-merch-feature__cta.al-btn.al-btn--primary.is-disabled{background:#e7ece9;color:#52645c}
.al-original-compact .al-compact-merchant{display:block;margin:0 0 .6rem;color:#52645c;font-size:.8125rem}
@media(min-width:600px){
 .al-original-compact[data-al-dimension-lazy]:has([data-al-model-select]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:1rem}
 .al-original-compact[data-al-dimension-lazy]>.al-merch-choice__heading,.al-original-compact[data-al-dimension-lazy]>.al-merch__disclosure{grid-column:1/-1}
 .al-original-compact[data-al-dimension-lazy]>[data-al-dimension-lazy-result],.al-original-compact[data-al-dimension-lazy]>[data-al-dimension-lazy-result]>.al-original-compact{display:contents}
 .al-original-compact[data-al-dimension-lazy]>.al-compact-field{grid-column:1}
 .al-original-compact[data-al-dimension-lazy] .al-compact-field:has([data-al-model-select]){grid-column:2;grid-row:2}
 .al-original-compact[data-al-dimension-lazy] .al-merch-choice__selection{grid-column:1/-1}
}
.al-tool-compact .al-fertilizer-recommendations__grid,.al-tool-compact .al-soil-recommendations__grid{display:block;min-width:0;grid-template-columns:none}
.al-tool-compact,.al-tool-compact [data-al-choice-panel],.al-tool-compact [class$="product-card__body"]{box-sizing:border-box;max-width:100%;min-width:0}
.al-tool-compact [data-al-choice-panel]{width:100%;overflow-wrap:anywhere}
/* The REST host is a grid item in calculator cards; allow its native select to shrink. */
:where(div,section):has(>.al-tool-compact){min-width:0;max-width:100%}
.al-tool-compact .al-fertilizer-recommendations__head>*{min-width:0}
.al-original-compact .al-merch-choice__panel--compact > .al-merch-feature__cta.al-btn.al-btn--primary{border-radius:6px}
:where(div,section):has(>.al-tool-compact){grid-template-columns:minmax(0,1fr)}
