.astra-shop-thumbnail-wrap,.woocommerce-product-gallery__image{position:relative}
.nr-tyre-brand-logo{position:absolute;z-index:4;top:10px;left:10px;width:124px;max-width:43%;height:44px;padding:5px 7px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;background:#fff;border:1px solid #c1ccd4;border-radius:5px;box-shadow:0 2px 5px #17394e13;pointer-events:none}
.woocommerce ul.products li.product .nr-tyre-brand-logo img,.woocommerce-product-gallery .nr-tyre-brand-logo img{display:block!important;width:100%!important;height:100%!important;max-height:34px!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important}
@media(max-width:480px){.nr-tyre-brand-logo{height:36px;width:105px;top:7px;left:7px;padding:4px}}
/* Place the actual logo directly in the photo corner, without a surrounding box. */
.nr-tyre-brand-logo{top:0;left:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
@media(max-width:480px){.nr-tyre-brand-logo{top:0;left:0;padding:0}}
.woocommerce ul.products .nordrehv-energy-card{top:0!important;right:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.woocommerce ul.products .nordrehv-energy-card .nordrehv-label-link,.woocommerce ul.products .nordrehv-energy-card img{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
/* Anchor both corner marks to the card edge instead of its padded image wrapper. */
.woocommerce ul.products li:is(.product_cat-rehvid,.product_cat-atv-rehvid){position:relative}
.woocommerce ul.products li:is(.product_cat-rehvid,.product_cat-atv-rehvid) .astra-shop-thumbnail-wrap,.woocommerce ul.products li:is(.product_cat-rehvid,.product_cat-atv-rehvid) .astra-shop-thumbnail-wrap>a.woocommerce-loop-product__link{position:static!important}
.home [data-nr-brand-photo]{position:relative;display:block}
.home [data-nr-brand-photo]>.nr-tyre-brand-logo{width:110px;max-width:60%;height:36px;top:0;left:0;padding:0;border:0;box-shadow:none;background:transparent}
.home [data-nr-brand-photo] .nr-tyre-brand-logo img{display:block!important;width:100%!important;height:100%!important;max-height:34px!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:none!important}
/* Reserve a separate row below the logo for merchandising badges. */
.woocommerce ul.products li:is(.product_cat-rehvid,.product_cat-atv-rehvid):has(.nr-tyre-brand-logo) .nr-model-badges{top:50px!important;left:4px!important;max-width:calc(100% - 86px)}
.home [data-nr-brand-photo]:has(.nr-tyre-brand-logo) .nr-model-badges{top:42px!important;left:0!important}
@media(max-width:480px){.woocommerce ul.products li:is(.product_cat-rehvid,.product_cat-atv-rehvid):has(.nr-tyre-brand-logo) .nr-model-badges{top:42px!important}}
/* A dedicated strip above the tyre keeps the logo clear of the tread image. */
.woocommerce ul.products li:is(.product_cat-rehvid,.product_cat-atv-rehvid) .astra-shop-thumbnail-wrap>a.woocommerce-loop-product__link>img{padding-top:50px!important}
.woocommerce div:is(.product_cat-rehvid,.product_cat-atv-rehvid) .woocommerce-product-gallery__image>a>img{padding-top:50px!important}
.home [data-nr-brand-photo]>img{padding-top:42px!important}
