/* r162 — quantity alongside native direct purchase in all catalog views. */
html body .agroCatalogPage .agroCatalogActions:has(.agroCatalogQuantity){display:grid!important;grid-template-columns:100px minmax(0,1fr);gap:8px;align-items:start;width:100%;min-width:0;}
html body .agroCatalogPage .agroCatalogQuantity{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;min-width:0;gap:0;}
html body .agroCatalogPage .agroCatalogQuantity :is(button,input){position:static;display:block;width:100%;min-width:0;height:40px;min-height:40px;margin:0;padding:0;box-sizing:border-box;border:1px solid #d4e2d9;background:#fff;color:#214c35;text-align:center;font:inherit;font-size:14px;line-height:1;box-shadow:none;}
html body .agroCatalogPage .agroCatalogQuantity button:first-child{border-radius:7px 0 0 7px;}
html body .agroCatalogPage .agroCatalogQuantity button:nth-of-type(2){border-radius:0 7px 7px 0;}
html body .agroCatalogPage .agroCatalogQuantity input{border-left:0;border-right:0;border-radius:0;font-weight:600;appearance:textfield;}
html body .agroCatalogPage .agroCatalogQuantity input::-webkit-inner-spin-button,html body .agroCatalogPage .agroCatalogQuantity input::-webkit-outer-spin-button{appearance:none;margin:0;}
html body .agroCatalogPage .agroCatalogQuantity button{cursor:pointer;}
html body .agroCatalogPage .agroCatalogQuantity button:hover{background:#edf6ef;}
html body .agroCatalogPage .agroCatalogQuantity button:disabled{opacity:.4;cursor:default;}
html body .agroCatalogPage .agroCatalogQuantity span{grid-column:1 / -1;text-align:center;font-size:10px;line-height:1.5;color:#687f70;margin-top:3px;}
html body .agroCatalogPage .agroCatalogDirectAdd{width:100%;min-width:0;min-height:40px!important;height:auto;box-sizing:border-box;padding:9px 8px!important;font-size:12px;line-height:1.3;}
html body .agroCatalogPage .agroCatalogQuantity :is(button,input):focus-visible{outline:2px solid #20834c;outline-offset:2px;z-index:1;}
@media(min-width:901px){html body .agroCatalogPage #products-2{--catalog-columns:minmax(0,1fr) 110px 116px 230px;}}
@media(min-width:901px) and (max-width:1150px){html body .agroCatalogPage #products-2{--catalog-columns:minmax(0,1fr) 90px 105px 190px;}html body .agroCatalogPage .agroCatalogActions:has(.agroCatalogQuantity){grid-template-columns:90px minmax(0,1fr);gap:6px;}}
@media(min-width:769px) and (max-width:900px){html body .agroCatalogPage #products-2{--catalog-columns:minmax(0,1fr) 90px 190px;}html body .agroCatalogPage .agroCatalogActions:has(.agroCatalogQuantity){grid-template-columns:90px minmax(0,1fr);}}
@media(max-width:768px){html body .agroCatalogPage #products-2 [data-agro-view^=table] .agroCatalogActions:has(.agroCatalogQuantity){grid-column:1 / -1;grid-row:4;}}
/* r170: accessible icon-only direct add, quantity remains beside the button. */
html body .agroCatalogPage #products-2 .agroCatalogActions:has(.agroCatalogIconAdd){display:grid!important;grid-template-columns:100px minmax(60px,1fr)!important;gap:8px;justify-content:end;align-items:center;}
html body .agroCatalogPage #products-2 .agroCatalogIconAdd{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:60px!important;max-width:none;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;gap:0;}
html body .agroCatalogPage #products-2 .agroCatalogIconAdd .agroCatalogCtaText{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
html body .agroCatalogPage #products-2 .agroCatalogCartPlus{display:block!important;position:static;width:24px!important;height:24px!important;margin:0!important;padding:0;fill:none;color:inherit;flex:none;}
html body .agroCatalogPage #products-2 [data-agro-view] .agroCatalogIconAdd{padding:0!important;gap:0!important;}
/* r172: compact single-row quantity and wider cart icon. */
html body .agroCatalogPage #products-2 .agroCatalogQuantity>[data-agro-unit]{display:none!important;}
/* r176: available and unavailable purchase rows share the full action width. */
@media(max-width:768px){html body .agroCatalogPage #products-2 [data-agro-view^=table] .agroCatalogActions{grid-column:1 / -1;grid-row:4;}}