#produit {
  box-sizing: border-box;
  width: min(1174px, 98vw);
  max-width: 100vw;
  height: min(1134px, 94dvh);
  max-height: 98dvh;
  color: white;
  background: linear-gradient(118deg, #24485e, #3d6984);
  font:
    14px/1.3 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
#produit[open] {
  display: flex;
  flex-direction: column;
}
#produit h2 {
  font-size: 16px;
  margin: 0 auto 0 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#produit h3 {
  margin: 12px 0 4px;
  font-size: 14px;
}
#produit button {
  border: 0;
  color: inherit;
}
#produit .rep-tete {
  gap: 8px;
}
#produit .rep-tete > .rep-icone {
  background: #ffffff19;
  border-radius: 20px;
}
.prod-contenu {
  padding: 14px 16px;
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.prod-entete {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
}
.prod-cases {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-content: start;
  gap: 6px 14px;
}
.prod-cases > :nth-child(n + 9) {
  grid-column: 1 / -1;
}
.prod-champ,
.prod-ligne {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.prod-champ {
  margin: 0 0 6px;
}
.prod-champ > span {
  flex: 0 0 90px;
  text-align: right;
  color: #ffffffe0;
}
.prod-champ input {
  color: white;
  background: #ffffff1a;
  border: 0;
  border-radius: 16px;
  font: inherit;
  padding: 3px 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.prod-champ.court input {
  max-width: 110px;
}
.prod-ligne > .prod-champ:not(:first-child) > span {
  flex-basis: auto;
}
.prod-stock {
  margin: 8px 0 6px 98px;
  flex-wrap: wrap;
}
.prod-stock .prod-champ {
  margin: 0;
}
.prod-entete .prod-ligne:first-child > .prod-champ:first-child input {
  max-width: 160px;
}
.prod-onglets {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  margin: 14px 0;
}
.prod-onglets > button {
  flex: none;
  position: relative;
  padding: 6px 9px;
  background: transparent;
}
.prod-onglets > button[aria-pressed="true"] {
  font-weight: 650;
}
.prod-onglets > button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: auto 5px 0;
  height: 3px;
  border-radius: 3px;
  background: white;
}
.prod-detail {
  display: grid;
  grid-template-columns: minmax(260px, 30%) minmax(0, 1fr);
  gap: 24px;
}
.prod-detail .prod-champ > span,
.prod-page > .prod-champ > span {
  flex-basis: 126px;
}
.prod-detail .prod-ligne > .prod-champ:not(:first-child) > span {
  flex-basis: auto;
}
.prod-prix .prod-champ input {
  text-align: right;
}
.prod-prix .prod-ligne > .prod-champ:not(:first-child) > span {
  position: absolute;
  clip-path: inset(50%);
}
.prod-prix .prod-ligne {
  max-width: 320px;
}
.prod-prix .prod-ligne > .prod-champ:not(:first-child) {
  max-width: 60px;
}
.prod-logistique {
  max-width: 640px;
}
.prod-deux,
.prod-medias {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}
.prod-medias {
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
}
.prod-page .rep-liste,
.prod-dialogue .rep-liste,
.prod-apercu,
.prod-notes,
.prod-infos,
.prod-recherche,
.prod-descriptif {
  background: #ffffff1a;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #ffffff26;
}
#produit .rep-liste {
  max-height: 170px;
  margin: 4px 0 10px;
}
#produit .rep-liste th {
  background-color: #385d74;
  color: white;
  z-index: 1;
}
#produit .rep-liste td,
#produit .rep-liste th {
  padding-block: 4px;
}
.prod-descriptif,
.prod-notes,
.prod-infos,
.prod-recherche {
  white-space: pre-wrap;
  padding: 10px 12px;
  overflow-wrap: anywhere;
}
.prod-descriptif {
  min-height: 200px;
}
.prod-notes {
  min-height: 90px;
}
.prod-infos {
  min-height: 180px;
}
.prod-page > .prod-champ {
  max-width: 600px;
}
#produit .prod-media {
  width: 100%;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 6px;
  background: transparent;
}
#produit .prod-media[aria-pressed="true"] {
  background: #ffffff26;
}
.prod-apercu {
  min-height: 300px;
  display: grid;
  place-items: center;
}
.prod-apercu img {
  max-width: 100%;
  max-height: 48dvh;
  object-fit: contain;
}
.prod-apercu iframe {
  border: 0;
  width: 100%;
  height: 48dvh;
}
.prod-compteur {
  display: flex;
  justify-content: center;
  align-items: center;
}
.prod-dialogue {
  color: white;
  background: #304b5d;
  width: min(560px, 95vw);
}
.prod-dialogue header {
  color: white;
  background: #304b5d;
}
.prod-dialogue section {
  padding: 12px;
}
@media (max-width: 860px) {
  .prod-entete {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .prod-cases {
    display: flex;
    flex-wrap: wrap;
  }
  .prod-detail {
    grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
    gap: 10px;
  }
  .prod-detail .prod-champ > span {
    flex-basis: 100px;
  }
  .prod-ligne {
    flex-wrap: wrap;
  }
  .prod-stock {
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  #produit,
  #repertoire {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }
  .prod-contenu {
    padding: 10px;
  }
  .prod-detail,
  .prod-deux,
  .prod-medias {
    grid-template-columns: minmax(0, 1fr);
  }
  #produit .rep-tete {
    gap: 4px;
  }
  #produit .rep-tete button {
    padding-inline: 6px;
  }
  .prod-page > .prod-champ,
  .prod-ligne > .prod-champ {
    max-width: 100%;
  }
  .prod-onglets {
    gap: 2px;
  }
}
