/* Native grid and related cards only. List/compact views keep their own layout. */
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb):has(>.product-thumb__caption){--tile-gap:clamp(4px,1.2vw,9px);min-width:0;transform:none!important}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb)>.product-thumb__caption{padding:clamp(9px,1.45vw,22px)!important;min-width:0;overflow:visible!important;gap:8px}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__name{display:block!important;min-height:0!important;max-height:none!important;overflow:visible!important;-webkit-line-clamp:unset;flex:0 0 auto;margin:0!important;padding:0!important;overflow-wrap:anywhere;white-space:normal!important}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__description{display:none!important}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__price-cart{display:grid!important;grid-template-columns:minmax(0,1fr);gap:9px;width:100%;min-width:0;margin:auto 0 0!important;padding-top:5px}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__price{display:flex!important;flex-wrap:wrap;align-items:baseline;gap:3px 8px;width:100%;min-width:0;line-height:1.2;white-space:normal!important;overflow-wrap:anywhere}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__price :is(.price-new,.price-old){flex:0 0 auto!important;margin:0!important;max-width:100%}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__cart{display:flex!important;align-items:center;gap:var(--tile-gap);width:100%;min-width:0;position:static!important;margin:0!important;flex-wrap:wrap}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__cart :is(.product-thumb__wishlist,.product-thumb__compare,.product-thumb__add-to-cart){position:static!important;inset:auto!important;transform:none!important;opacity:1!important;visibility:visible!important;display:inline-flex!important;align-items:center;justify-content:center;float:none!important;flex:0 0 auto;min-width:0!important;max-width:100%;height:auto!important;min-height:36px!important;margin:0!important;padding:4px 7px!important;border-radius:10px!important}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__cart :is(.product-thumb__wishlist,.product-thumb__compare){width:clamp(26px,2.7vw,38px)!important}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__add-to-cart{width:auto!important;flex:1 1 58px!important;gap:3px;white-space:normal!important;line-height:1.14;text-align:center;font-size:clamp(11px,1vw,14px)!important}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__add-to-cart>span{display:inline!important;white-space:normal!important;overflow-wrap:anywhere}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__add-to-cart>i:empty{display:none}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__cart button:focus-visible{outline:2px solid #286447!important;outline-offset:2px}

html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__cart:has(.product-thumb__wishlist):has(.product-thumb__compare){display:grid!important;grid-template-columns:minmax(0,1fr) clamp(25px,2.7vw,38px) clamp(25px,2.7vw,38px)}
html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__cart:has(.product-thumb__wishlist):has(.product-thumb__compare) .product-thumb__add-to-cart{width:100%!important;min-height:38px!important;box-sizing:border-box;overflow:visible!important}
@media(max-width:600px){html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb)>.product-thumb__caption.product-thumb__caption{padding-inline:9px!important}html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__name{font-size:14px!important;line-height:1.34!important}html body.olly-shared-inner :is(.grid-view,.uni-module) .product-thumb:not(.list-view .product-thumb,.compact-view .product-thumb) .product-thumb__cart .product-thumb__add-to-cart{padding-inline:3px!important}}

