/* PTM Border — bordures grises configurables via variables CSS */
:root {
  --ptm-b-color: #e5e5e5;
  --ptm-b-width: 1px;
  --ptm-b-radius: 8px;
}

/* Cibles principales : images produits, miniatures, images des fiches */
.product-miniature a.product-thumbnail img,
.featured-products .thumbnail img,
.block-category .category-cover img,
.images-container img,
.card img[data-full-size-image-url],
/* Accueil : bannières / sliders courants */
.ps-banner img, .banner img, .ps-imageslider img {
  border: var(--ptm-b-width) solid var(--ptm-b-color);
  border-radius: var(--ptm-b-radius);
  box-sizing: border-box;
}

/* Exclusions fréquentes : footer, moyens de paiement, logo, pictos */
.footer img,
.payment-logos img,
#footer img,
.header-nav .logo img,
.logo img {
  border: none !important;
  border-radius: 0 !important;
}

/* Utilitaire : forcer la bordure si besoin */
.ptm-border img,
img.ptm-border {
  border: var(--ptm-b-width) solid var(--ptm-b-color) !important;
  border-radius: var(--ptm-b-radius) !important;
}

/* Utilitaire : retirer la bordure manuellement sur un élément précis */
.ptm-no-border img,
img.ptm-no-border {
  border: none !important;
  border-radius: 0 !important;
}
