/* V1.20 – responsive manufacturer photo gallery, no price data. */
.st-main-photo{position:absolute;inset:0;display:grid;place-items:center;z-index:1;overflow:hidden}
.st-main-photo .st-color-photo{width:100%;height:100%;min-height:0;object-fit:contain;display:block;background:white}
.st-main-photo .st-color-photo[hidden],.st-photo-fallback[hidden],.st-color-photo[hidden]{display:none!important}
.st-photo-fallback{color:white;background:#151b16e8;border-radius:8px;padding:8px 12px;text-align:center;font-size:.8rem}
.st-main-caption{margin:8px 0 16px;color:var(--green);font-weight:700;font-size:.9rem}
.st-gallery{margin:0 0 20px;min-width:0}
.st-color-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px;margin:12px 0}
.st-color-card,.st-pro-swatches .tx-swatch{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;min-width:0;overflow:hidden;border:1px solid #536050;border-radius:8px;padding:0;cursor:pointer;min-height:100px}
.st-color-card img,.st-pro-swatches .tx-swatch img{width:100%;height:84px;object-fit:contain;background:white;display:block}
.st-color-card span,.st-pro-swatches .tx-swatch small{display:grid;place-items:center;background:#182019;color:#f0f3ed;font-size:.68rem;line-height:1.2;padding:6px 3px;min-height:31px;text-align:center;overflow-wrap:anywhere;flex:1}
.st-color-card[aria-pressed=true],.st-pro-swatches .tx-swatch[aria-pressed=true]{outline:2px solid var(--green);outline-offset:1px}
.st-color-card:focus-visible,.st-pro-swatches .tx-swatch:focus-visible{outline:2px solid white;outline-offset:2px}
.st-color-card:disabled{opacity:.5;cursor:not-allowed}
.st-pro-swatches.tx-swatches{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:9px}
.st-pro-swatches .tx-swatch{width:100%;height:auto;box-shadow:none}
.st-pro-swatches .tx-swatch span{position:absolute;top:3px;right:4px;background:#1a2715;border-radius:5px;color:var(--green);padding:1px 5px}
.tx-product:has([data-st-main]){grid-template-columns:minmax(110px,195px) 1fr}.tx-photo:has([data-st-main]){height:200px;aspect-ratio:auto;max-height:200px}
@media(max-width:550px){.st-color-grid,.st-pro-swatches.tx-swatches{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}.tx-product:has([data-st-main]){grid-template-columns:100px 1fr}.tx-photo:has([data-st-main]){height:130px;min-height:0}}
