/* Pehnawa: consistent non-cropping catalogue frames. Originals remain untouched. */
body .wd-products.wd-grid-f-col,
body .wd-products.wd-grid-g.wd-loop-builder-off {
 --wd-col-lg: 4 !important;
 --wd-col-md: 3 !important;
 --wd-col-sm: 2 !important;
 --wd-gap-lg: 20px !important;
 --wd-gap-md: 16px !important;
 --wd-gap-sm: 12px !important;
}
body .wd-products.wd-grid-f-col > .wd-product.wd-wider {
 --wd-col: inherit;
 width: calc(100% / var(--wd-col)) !important;
 max-width: calc(100% / var(--wd-col)) !important;
 flex-basis: auto !important;
}
body .wd-products .wd-product-thumb {
 position: relative;
 aspect-ratio: 2 / 3;
 background: #fff;
 overflow: hidden;
}
body .wd-products .wd-product-thumb > .wd-product-img-link {
 display: block;
 width: 100%;
 height: 100%;
 aspect-ratio: 2 / 3;
}
body .wd-products .wd-product-thumb > .wd-product-img-link > img,
body .wd-products .wd-product-thumb > .wd-product-img-hover img {
 width: 100% !important;
 height: 100% !important;
 max-height: none !important;
 object-fit: contain !important;
 object-position: center center !important;
 transform: none !important;
}
body .wd-products .wd-product-thumb > .wd-product-img-hover {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 background: #fff;
}
