.q88wst-product-grid{display:grid;grid-template-columns:repeat(var(--q88wst-grid-desktop,4),minmax(0,1fr));gap:var(--q88wst-grid-gap,20px);width:100%;max-width:100%;min-width:0;align-items:stretch;font-family:inherit;font-size:inherit;line-height:inherit}.q88wst-product-grid>.q88wst-catalog-card{border-radius:var(--q88wst-grid-radius,14px);font-family:inherit}.q88wst-product-grid .q88wst-catalog-card__title{font-family:inherit;font-weight:inherit}.q88wst-product-grid .q88wst-catalog-card__button{font-family:inherit}.q88wst-product-grid .q88wst-catalog-card__image img{max-width:100%}@media(max-width:849px){.q88wst-product-grid{grid-template-columns:repeat(var(--q88wst-grid-tablet,3),minmax(0,1fr))}}@media(max-width:549px){.q88wst-product-grid{grid-template-columns:repeat(var(--q88wst-grid-mobile,2),minmax(0,1fr))}.q88wst-product-grid .q88wst-catalog-card__body{padding:12px;gap:8px}.q88wst-product-grid .q88wst-catalog-card__title{font-size:inherit}}
/* v0.9.3 Horizontal List: one product per row; reuse shared card markup. */
.q88wst-catalog-layout-list{display:flex;flex-direction:column;gap:var(--q88wst-grid-gap,20px)}
.q88wst-catalog-layout-list>.q88wst-catalog-card{display:grid;grid-template-columns:minmax(140px,26%) minmax(0,1fr);align-items:stretch;min-width:0;overflow:hidden}
.q88wst-catalog-layout-list .q88wst-catalog-card__image{display:flex;align-items:center;justify-content:center;min-width:0}
.q88wst-catalog-layout-list .q88wst-catalog-card__image img{width:100%;height:100%;max-height:260px;object-fit:contain}
.q88wst-catalog-layout-list .q88wst-catalog-card__body{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;gap:12px;padding:20px}
.q88wst-catalog-layout-list .q88wst-catalog-card__button{width:auto;max-width:100%;text-align:center}
@media(max-width:549px){.q88wst-catalog-layout-list>.q88wst-catalog-card{grid-template-columns:minmax(96px,36%) minmax(0,1fr)}.q88wst-catalog-layout-list .q88wst-catalog-card__body{padding:12px;gap:7px}.q88wst-catalog-layout-list .q88wst-catalog-card__image img{max-height:180px}}

/* v0.9.4.5 — scoped responsive card contract. No theme container changes. */
.q88wst-product-grid{container-type:inline-size;container-name:q88catalog;min-width:0;max-width:100%;box-sizing:border-box}
.q88wst-product-grid,.q88wst-product-grid *{box-sizing:border-box}
.q88wst-product-grid>.q88wst-catalog-card{min-width:0;max-width:100%;width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;position:relative}
.q88wst-product-grid .q88wst-catalog-card__image{display:block;width:100%;min-width:0;aspect-ratio:1/1;flex:none;overflow:hidden}
.q88wst-product-grid .q88wst-catalog-card__image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;aspect-ratio:1/1}
.q88wst-product-grid .q88wst-catalog-card__body{display:flex;flex:1;flex-direction:column;align-items:stretch;min-width:0;max-width:100%;gap:8px;padding:12px}
.q88wst-product-grid .q88wst-catalog-card__title{font-family:inherit;font-size:14px;line-height:1.45;min-width:0;max-width:100%;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.q88wst-product-grid .q88wst-catalog-card__price{min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.5}
.q88wst-product-grid .q88wst-catalog-card__actions{display:flex;flex-direction:column;align-items:stretch;min-width:0;max-width:100%;margin-top:auto}
.q88wst-product-grid .q88wst-catalog-card__button.button{display:flex;justify-content:center;align-items:center;min-width:0;max-width:100%;width:100%;min-height:44px;height:auto;margin:0!important;padding:9px 8px!important;line-height:1.35;font-size:13px!important;font-weight:600;white-space:nowrap!important;text-align:center;text-overflow:clip;overflow:visible;letter-spacing:0;text-transform:none;box-sizing:border-box}
.q88wst-product-grid .q88wst-catalog-card__button.button:focus-visible{outline:2px solid #6045d5;outline-offset:2px}
.q88wst-product-grid .q88wst-catalog-card__stock{overflow-wrap:anywhere}
/* List uses the SAME card markup, reflows by available width. */
.q88wst-product-grid.q88wst-catalog-layout-list{display:flex;flex-direction:column;gap:var(--q88wst-grid-gap,20px)}
.q88wst-product-grid.q88wst-catalog-layout-list>.q88wst-catalog-card{display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr);height:auto;align-items:stretch}
.q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__image{width:100%;height:100%;aspect-ratio:auto;min-height:0;display:flex;align-items:center;justify-content:center}
.q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__image img{width:100%;height:100%;max-height:240px;object-fit:contain}
.q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__body{padding:14px;gap:8px;min-width:0;justify-content:center;align-items:stretch}
.q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__title{-webkit-line-clamp:3;line-clamp:3}
.q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__actions{margin-top:0;align-items:flex-start}
.q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__button.button{width:auto;max-width:100%;min-width:128px;padding:9px 12px!important}
@container q88catalog (max-width: 560px){
 .q88wst-product-grid.q88wst-catalog-layout-list>.q88wst-catalog-card{grid-template-columns:minmax(0,34%) minmax(0,1fr)}
 .q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__body{padding:10px;gap:6px}
 .q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__title{font-size:13px;line-height:1.4}
 .q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__price{font-size:13px}
 .q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__button.button{min-width:0;width:100%;padding:9px 5px!important;font-size:12px!important}
}
@container q88catalog (max-width: 370px){
 .q88wst-product-grid.q88wst-catalog-layout-list>.q88wst-catalog-card{grid-template-columns:minmax(0,30%) minmax(0,1fr)}
 .q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__body{padding:8px;gap:5px}
 .q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__button.button{font-size:11px!important;letter-spacing:-.15px}
}
/* Fallback for browsers without container queries: viewport breakpoints. */
@supports not (container-type:inline-size){
 @media(max-width:600px){.q88wst-product-grid.q88wst-catalog-layout-list>.q88wst-catalog-card{grid-template-columns:minmax(0,34%) minmax(0,1fr)}.q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__body{padding:9px;gap:6px}.q88wst-product-grid.q88wst-catalog-layout-list .q88wst-catalog-card__button.button{min-width:0;width:100%;font-size:12px!important}}
}
