#offre-modeles-tricopigmentation {
  width: max-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 44px 8px 8px;
  border: 0;
  border-radius: 14px;
  background: #181614;
  color: #fff;
  overflow: auto;
  box-shadow: 0 16px 64px #0006;
}
#offre-modeles-tricopigmentation::backdrop { background: rgb(0 0 0 / 65%); }
#offre-modeles-tricopigmentation a { display: block; }
#offre-modeles-tricopigmentation img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(500px, calc(100vw - 40px));
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 6px;
}
#offre-modeles-tricopigmentation button {
  position: absolute;
  inset: 3px 6px auto auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #302924;
  color: #fff;
  font: 28px/1 system-ui, sans-serif;
  cursor: pointer;
}
#offre-modeles-tricopigmentation button:hover { background: #514335; }
#offre-modeles-tricopigmentation :focus-visible { outline: 2px solid #f7d594; outline-offset: 2px; }
html.offre-modeles-tricopigmentation-visible { overflow: hidden; }
