:root {
    --a: 241, 222, 198;
    --b: 105, 63, 9;
    --outremer: 16, 38, 66;
    --rose: 238, 194, 185;
    --abricot: 210, 148, 71;
  }
  
  * {
    box-sizing: border-box;
    quotes: "« " " »";
    cursor: default;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    -o-hyphens: none;
    hyphens: none;
    color: inherit;
    fill: currentcolor;
  }

  html {
    scrollbar-color: rgb(var(--b)) rgb(var(--a));
    scrollbar-color: rgba(var(--b), 0.5) rgba(var(--a), 0);
    scrollbar-color: rgba(var(--b), 0.5) transparent;
}
  
  body {
    background: rgb(var(--a));
    color: black;
    min-height: 100vh;
    fill: currentcolor;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    scrollbar-width: thin;
    overflow-x: hidden;
  }
  
  body.menu, body.geant {
      overflow: hidden;
  }
  
  body::-webkit-scrollbar {
    width: 8px;
  }
  
  @supports (height: 100svh) {
    body {
      min-height: 100svh;
    }
  }
  
  .fontlogo {
    font-family: 'Great Vibes', 'Inter', cursive, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  }
  
  a, h1, h2, h3, p, form, input, textarea, select, button{
    all: unset;
  }
  
  p {
      display: block;
  }
  
  a, a * {
    cursor: pointer;
  }
  
  a.underline:not(:hover) {
      text-decoration: underline;
  }
  
  a.color {
    color: blue;
  }
  
  h1 {
      
  }
  
  h2 {
      display: block;
      font-weight: 600;
      font-size: 24px;
      text-wrap: balance;
  }
  
  h3 {
      
  }
  
  nav {
      display: flex;
      flex-direction: column;
      width: 100%;
      padding: 16px;
      gap: 16px;
  }
  
  nav div.primaire {
      display: flex;
      width: 100%;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
  }
  
  nav div.primaire a.fontlogo {
      font-size: 42px;
      text-wrap: balance;
      transition: color 0.3s;
  }
  
  nav div.primaire a.fontlogo:hover {
      color: rgb(var(--b));
  }
  
  nav div.primaire > div {
      display: flex;
      align-items: center;
  
      gap: inherit;
  }
  
  nav div.primaire a.panier {
      display: flex;
      justify-content: center;
      padding: 8px;
      background: white;
      align-items: center;
      border-radius: 9999px;
      transition: background 0.3s;
  }
  
  nav div.primaire a.panier:hover {
      background: rgba(var(--b), 0.1);
  }
  
  nav div.primaire a.panier svg {
      display: block;
      width: 24px;
      height: 24px;
      fill: currentcolor;
  }
  
  nav div.secondaire {
      display: flex;
      width: 100%;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
  }
  
  nav form {
      display: flex;
      background: white;
      border-radius: 999px;
      width: 100%;
  }
  
  nav form input {
      display: block;
      border-radius: 99px 0 0 99px;
      padding: 10px 18px;
      line-height: 1;
      width: 100%;
      cursor: text;
  }
  
  nav form input::-webkit-clear-button,
  nav form input::-webkit-search-cancel-button {
      cursor: pointer;
  }
  
  nav form button {
      display: flex;
      justify-content: center;
      padding: 8px;
      align-items: center;
      border-radius: 9999px;
      transition: background 0.3s, color 0.3s;
  }
  
  nav form button, nav form button * {
      cursor: pointer;
  }
  
  nav form button:hover {
      background: rgb(var(--outremer));
      color: white;
  }
  
  nav form button svg {
      display: block;
      width: 24px;
      height: 24px;
      fill: currentcolor;
  }
  
  nav div.categories {
      display: block;
      background: rgba(var(--b), 1);
      color: white;
      padding: 12px 18px;
      line-height: 1;
      border-radius: 9999px;
      cursor: pointer;
      transition: background 0.3s;
  }
  
  
  nav div.categories:hover {
      background: rgba(var(--b), 0.8);
  }
  
  nav div.tertiaire {
      display: grid;
      background: rgb(var(--a));
      grid-template-columns: repeat(2, 1fr);
      overflow: hidden;
      width: 200vw;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      transform: translateX(100%);
      opacity: 0;
      z-index: 5551519189;
      transition: opacity 0.3s, transform 0.5s;
  }
  
  body.menu nav div.tertiaire {
      transform: translateX(0);
      opacity: 1;
  }
  
  body.menu nav div.tertiaire.oui {
      transform: translateX(-100vw);
      opacity: 1;
  }
  
  nav div.tertiaire div.premier {
      display: flex;
      flex-direction: column;
      width: 100%;
      padding: 24px;
      font-weight: 600;
      font-size: 24px;
      gap: 24px;
  }
  
  nav div.tertiaire div.premier div.fermercategorie {
      display: block;
      text-align: right;
      width: min-content;
      margin-left: auto;
  }
  
  nav div.tertiaire div.premier div.fermercategorie svg {
      width: 40px;
      height: 40px;
      background: white;
      padding: 8px;
      border-radius: 100%;
  }
  
  body.menu nav div.tertiaire div.premier div {
      opacity: 1;
      transform: translate(0, 0);
  }
  
   nav div.tertiaire div.premier div {
      opacity: 0;
      transform: translate(100%, -100%);
      cursor: pointer;
      width: max-content;
      max-width: 100%;
  }
  
  nav div.tertiaire div.second {
      display: flex;
      flex-direction: column;
      padding: 24px;
      overflow-x: hidden;
      overflow-y: auto;
  }
  
  nav div.tertiaire div.second div.retourcategorie {
      display: block;
      margin-bottom: 24px;
      position: sticky;
      width: min-content;
      top: 0;
      z-index: 5555;
  }
  
  nav div.tertiaire div.premier div.fermercategorie *, nav div.tertiaire div.second div.retourcategorie * {
      cursor: pointer;
  }
  
  nav div.tertiaire div.second div.retourcategorie svg {
      width: 40px;
      height: 40px;
      background: white;
      padding: 8px;
      border-radius: 100%;
  }
  
  nav div.tertiaire div.second div:not(.retourcategorie) {
      max-height: 0;
      display: flex;
      flex-direction: column;
      width: 100%;
      padding: 0 46px;
      font-weight: bolder;
      font-size: 24px;
      gap: 24px;
      transition: max-height 0.9s;
      visibility: hidden;
  }
  
  nav div.tertiaire div.second div.actif {
      max-height: 100vh;
      visibility: visible;
  }
  
  nav div.tertiaire div.second div a {
      opacity: 1;
      transform: translate(0, 0);
      width: max-content;
      max-width: 100%;
      text-wrap: balance;
  }
  
  nav div.tertiaire div.second div a,
  nav div.tertiaire div.premier div {
      transition: transform 0.4s 0.4s, opacity 0.3s 0.5s;
  }
  nav div.tertiaire div.second div a:nth-child(2),
  nav div.tertiaire div.premier div:nth-child(2) {
      transition-delay: 0.5s, 0.6s;
  }
  nav div.tertiaire div.second div a:nth-child(3),
  nav div.tertiaire div.premier div:nth-child(3) {
      transition-delay: 0.6s, 0.7s;
  }
  nav div.tertiaire div.second div a:nth-child(4),
  nav div.tertiaire div.premier div:nth-child(4) {
      transition-delay: 0.7s, 0.8s;
  }
  nav div.tertiaire div.second div a:nth-child(5),
  nav div.tertiaire div.premier div:nth-child(5) {
      transition-delay: 0.8s, 0.9s;
  }
  nav div.tertiaire div.second div a:nth-child(6),
  nav div.tertiaire div.premier div:nth-child(6) {
      transition-delay: 0.9s, 1.0s;
  }
  nav div.tertiaire div.second div a:nth-child(7),
  nav div.tertiaire div.premier div:nth-child(7) {
      transition-delay: 1.0s, 1.1s;
  }
  nav div.tertiaire div.second div a:nth-child(8),
  nav div.tertiaire div.premier div:nth-child(8) {
      transition-delay: 1.1s, 1.2s;
  }
  nav div.tertiaire div.second div a:nth-child(9),
  nav div.tertiaire div.premier div:nth-child(9) {
      transition-delay: 1.2s, 1.3s;
  }
  nav div.tertiaire div.second div a:nth-child(10),
  nav div.tertiaire div.premier div:nth-child(10) {
      transition-delay: 1.3s, 1.4s;
  }
  nav div.tertiaire div.second div a:nth-child(11),
  nav div.tertiaire div.premier div:nth-child(11) {
      transition-delay: 1.4s, 1.5s;
  }
  nav div.tertiaire div.second div a:nth-child(12),
  nav div.tertiaire div.premier div:nth-child(12) {
      transition-delay: 1.5s, 1.6s;
  }
  
  nav div.tertiaire div.second div:not(.actif) a {
      opacity: 0;
      transform: translate(100%, -100%);
  }
  
  @media ((pointer: fine) and (min-width: 700px)), ((pointer: coarse) and (min-width: 860px)) {
      nav {
          max-width: 900px;
          margin: auto;
      }
  
      nav div.categories {
          display: none;
      }
      
      nav div.tertiaire {
          display: flex;
          flex-direction: column;
          position: static;
          width: 100%;
          gap: 16px;
          opacity: 1;
          transform: translate(0, 0);
      }
      
      nav div.tertiaire div.premier div {
          opacity: 1;
          transform: translate(0, 0);
      }
      
      nav div.tertiaire div.premier div.fermercategorie, nav div.tertiaire div.second div.retourcategorie {
          display: none;
      }
  
      nav div.tertiaire div.premier {
          display: flex;
          flex-direction: row;
          width: 100%;
          padding: 0;
          font-size: 16px;
          gap: 0;
          justify-content: space-around;
      }
  
      nav div.tertiaire div.second {
          padding: 0;
          max-width: 900px;
          margin: auto;
          overflow-y: hidden;
      }
  
      nav div.tertiaire div.second div:not(.retourcategorie) {
          flex-direction: unset;
          flex-wrap: wrap;
          font-weight: normal;
          font-size: 16px;
          gap: 12px;
          padding-bottom: 6px;
          justify-content: center;
          text-wrap: balance;
      }
  
      nav div.tertiaire div.second div:not(.retourcategorie) a {
          display: inline;
      }
  
      nav div.tertiaire div.second div:not(.retourcategorie) a:hover {
          text-decoration: underline;
          padding: 0;
      }
  
  }
  
  footer {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-self: center;
      color: rgb(var(--outremer));
      gap: 46px;
      padding: 90px 16px;
  }
  
  footer img{ 
      display: block;
      width: 270px;
      max-width: 40%;
  }
  
  footer div { 
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-self: center;
      gap: 16px;
      width: min-content;
      max-width: 100%;
  }
  
  section.liste-produit {
      display: grid;
      width: 100%;
      max-width: 1100px;
      margin: 50px auto;
      gap: 24px;
      padding: 16px 0;
  }
  
  section.liste-produit div.suivicommande {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      gap: 16px;
      padding: 0 16px;
      align-items: start;
    }
  
    section.liste-produit div.suivicommande h2 {
        display: block;
        text-wrap: wrap;
        flex: 1 100%;
      }
    
    section.liste-produit div.suivicommande div.gros {
        min-width: 200px;
        width: max-content;
        max-width: 100%;
    }
  
  section.liste-produit div.suivicommande div.gros div {
    display: block;
    text-wrap: balance;
    max-width: 260px;
    width: 100%;
  }
    
  section.liste-produit div.suivicommande div.gros a {
      display: block;
      width: max-content;
      --colordici: var(--rose);
      margin: 12px auto;
      padding: 12px 18px;
      border-radius: 55em;
      background: rgba(var(--colordici), 1);
      transition: background 0.3s;
    }
      
    section.liste-produit div.suivicommande div.gros a.paiement {
        --colordici: var(--outremer);
        color: white;
  }
  
  section.liste-produit div.suivicommande div.gros a:hover {
      background: rgba(var(--colordici), 0.8);
  }
  
  section.liste-produit div.valeur {
      display: flex;
      width: 100%;
      gap: 16px;
      align-items: center;
      padding: 0 16px;
  }
  
  section.liste-produit div.valeur h2 {
      display: block;
      text-wrap: wrap;
    }
    
    section.liste-produit div.valeur h2:first-letter {
      text-transform: capitalize; 
  }
  
  section.liste-produit div.valeur a {
      background: white;
      transition: background 0.3s;
      color: black;
      padding: 10px 14px;
      font-size: 14px;
      border-radius: 50em;
      width: max-content;
  }
  
  section.liste-produit div.valeur a:hover {
      background: rgb(var(--abricot));
  }
  
  section.liste-produit a.post-valeur {
      background: white;
      transition: background 0.3s;
      color: black;
      padding: 10px 14px;
      font-size: 14px;
      border-radius: 50em;
      display: none;
      margin: 0 16px;
      text-align: center;
      width: auto;
  }
  
  section.liste-produit.enindex a.post-valeur {
      display: block;
  }
  
  section.liste-produit a.post-valeur:hover {
      background: rgb(var(--abricot));
  }
  
  section.liste-produit div.lister {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      width: 100%;
      gap: 16px;
      padding: 0 16px;
  }
  
  @media (min-width: 620px) {
      section.liste-produit div.lister {
          grid-template-columns: repeat(3, 1fr);
      }
  
      section.liste-produit.enindex:not(.simple) div.lister a:nth-child(5) {
          display: none;
      }
  
  }
  
  @media (min-width: 900px) {
      section.liste-produit div.lister {
          grid-template-columns: repeat(4, 1fr);
      }
  
      section.liste-produit.enindex div.lister a:nth-child(6), section.liste-produit.enindex div.lister a:nth-child(5), section.liste-produit.enindex:not(.simple) div.lister a:nth-child(5) {
          display: flex;
      }
  
      section.liste-produit.sousdefile:not(.simple) div.lister a:nth-child(4), section.liste-produit.sousdefile:not(.simple) div.lister a:nth-child(5) {
          display: none;
      }
  }
  
  @media (min-width: 1090px) {
      section.liste-produit div.lister {
          grid-template-columns: repeat(5, 1fr);
      }
  
      section.liste-produit.sousdefile div.lister a:nth-child(4) {
          display: flex;
      }

      section.liste-produit.enindex:not(.simple) div.lister a:nth-child(5) {
        display: none;
      }
  }
  
  section.liste-produit a {
      display: flex;
      flex-direction: column;
      width: 100%;
      gap: 8px;
    }
    
    section.liste-produit a.non, section.liste-produit a.non * {
        cursor: default;
  }
  
  section.liste-produit a div.image-produit {
      width: 100%;
      display: block;
      border-radius: 24px;
      position: relative;
      overflow: hidden;
      background: white url(pathfooter.svg) center center/auto 60% no-repeat;
  }
  
  section.liste-produit a div.image-produit img {
      display: block;
      width: 100%;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 25px;
  }
  
  section.liste-produit a div.image-produit div.prix-produit {
      background: white;
      position: absolute;
      bottom: 0;
      right: 0;
      font-size: 18px;
      font-weight: 500;
      line-height: 1;
      padding: 16px 12px 12px 16px;
      border-top-left-radius: 24px;
  }
  
  section.liste-produit a div.nom-produit {
      display: block;
      font-weight: 500;
      line-height: 1.2;
      max-height: 3.6em;
      display: -webkit-box;
      -webkit-line-clamp: 3;      /* Nombre de lignes */
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-wrap: balance;
  }
  
  section.liste-produit a span {
      background: rgb(var(--rose));
      transition: transform 0.5s, opacity 0.3s;
      opacity: 0;
      transform: translateY(50%);
      color: black;
      padding: 10px 14px;
      font-size: 14px;
      border-radius: 50em;
      width: max-content;
  }
  
  section.liste-produit a:hover span {
      transform: translateY(0);
      opacity: 1;
  }
  
  @media (hover: none) {
      section.liste-produit a span {
          display: none;
      }
  
      section.liste-produit div.lister {
          padding-bottom: 6px;
      }
  }
  
  @media ((pointer: coarse) and (max-width: 1000px)) {
      section.liste-produit {
          max-width: 1200px;
      }
  
      section.liste-produit.sousdefile div.lister {
          display: flex;
          width: 100%;
          max-width: 100%;
          overflow-x: auto;
      }
      
      section.liste-produit.sousdefile div.lister a {
          width: 240px;
          min-width: 240px;
      }
  }
  
  @media (max-width: 700px) {
      section.liste-produit div.valeur a {
          display: none;
      }
  
      section.liste-produit a.post-valeur {
          display: block;
      }
  }
  
  @media ((pointer: coarse) and (max-width: 700px)) {
      section.liste-produit a.post-valeur {
          padding: 12px 18px;
          font-size: 16px;
      }
  }
  
  section.page-produit {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin: auto;
      justify-content: center;
  }
  
  section.page-produit div.image-produit {
      display: block;
      width: 100%;
      max-width: min(calc(95vh - 3 * 16px - 37px), 500px);
      max-width: min(calc(100svh - 3 * 16px - 37px), 500px);
      position: sticky;
      top: 16px;
      margin-bottom: auto;
  }
  
  section.page-produit div.image-produit div.bloc-image {
      display: flex;
      flex-direction: column;
      flex: 1;
      width: 100%;
      gap: 16px;
      position: relative;
  }
  
  section.page-produit div.image-produit div.bloc-image div.sousbloc {
      display: flex;
      width: 100%;
      max-width: 100%;
      gap: 16px;
      border-radius: 24px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scrollbar-color: rgb(var(--b)) rgb(var(--a));
      scrollbar-color: rgba(var(--b), 0.5) rgba(var(--a), 0);
      scrollbar-color: rgba(var(--b), 0.5) transparent;
      scrollbar-width: thin;
  }
  
  section.page-produit div.image-produit div.bloc-image svg {
      display: block;
      position: absolute;
      z-index: 5876547;
      top: 50%;
      border-radius: 500em;
      background: white;
      width: 40px;
      height: 40px;
      fill: black;
      padding: 8px;
      cursor: pointer;
      transition: transform 0.5s, opacity 0.3s;
      border: 2px solid rgb(var(--outremer));
      fill: rgb(var(--outremer));
      opacity: 1;
      transform: translateX(0);
  }
  
  section.page-produit div.image-produit div.bloc-image svg * {
      cursor: pointer;
  }
  
  section.page-produit div.image-produit div.bloc-image svg.non {
      opacity: 0;
  }
  
  section.page-produit div.image-produit div.bloc-image svg.precedent {
      left: 16px;
  }
  
  section.page-produit div.image-produit div.bloc-image svg.precedent.non {
      transform: translateX(-100%);
  }
  
  section.page-produit div.image-produit div.bloc-image svg.prochain {
      right: 16px;
  }
  
  section.page-produit div.image-produit div.bloc-image svg.prochain.non {
      transform: translateX(100%);
  }
  
  section.page-produit div.image-produit div.bloc-image svg.engeant {
      top: 16px;
      right: 16px;
  }
  
  body:not(.geant) section.page-produit div.image-produit div.bloc-image svg.engeant {
      display: none;
  }
  
  section.page-produit div.image-produit div.bloc-image div.sousbloc div.blocimage {
      display: block;
      width: 100%;
      min-width: min(calc(95vh - 3 * 16px - 37px), 500px);
      min-width: min(calc(100svh - 3 * 16px - 37px), 500px);
      max-width: min(calc(95vh - 3 * 16px - 37px), 500px);
      max-width: min(calc(100svh - 3 * 16px - 37px), 500px);
      aspect-ratio: 1 / 1;
      scroll-snap-align: center;
      border-radius: 23px;
      overflow: hidden;
  }
  
  section.page-produit div.image-produit div.bloc-image div.sousbloc div.blocimage img {
      width: 100%;
      display: block;
  }
  
  section.page-produit div.image-produit div.post-valeur {
      background: white;
      transition: background 0.3s;
      color: black;
      padding: 10px 14px;
      font-size: 14px;
      border-radius: 50em;
      display: block;
      text-align: center;
      width: auto;
      cursor: pointer;
  }
  body.geant section.page-produit div.image-produit {
      position: static;
  }
  
  body.geant section.page-produit div.image-produit div.bloc-image {
      position: fixed;
      background: rgb(var(--a));
      top: 0;
      left: 0;
      right: 0;
      left: 0;
      z-index: 655515619189;
      width: 100vw;
      height: 100vh;
      height: 100svh;
  }
  
  body.geant section.page-produit div.image-produit div.bloc-image div.sousbloc {
      border-radius: 0;
  }
  
  body.geant section.page-produit div.image-produit div.bloc-image div.sousbloc div.blocimage {
      min-width: min(100vw, 100vh);
      min-width: min(100vw, 100svh);
      max-width: min(100vw, 100vh);
      max-width: min(100vw, 100svh);
      border-radius: 0;
  }
  
  body.geant section.page-produit div.image-produit div.bloc-image div.sousbloc div.blocimage, body.geant section.page-produit div.image-produit div.bloc-image div.sousbloc div.blocimage img {
      height: 100vh;
      height: 100svh;
      object-fit: contain;
  }
  
  body.geant section.page-produit div.image-produit div.post-valeur {
      display: none;
  }
  
  section.page-produit div.image-produit div.post-valeur:hover {
      background: rgb(var(--abricot));
  }
  
  section.page-produit div.details-produit {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 16px;
      max-width: 500px;
      flex: 1;
      gap: 16px;
      text-wrap: pretty;
  }
  
  section.page-produit div.details-produit h1 {
      display: block;
      font-weight: 600;
      font-size: 32px;
  }
  
  section.page-produit div.details-produit div.details-panier {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      width: 100%;
      gap: 6px 16px;
  }
  
  section.page-produit div.details-produit div.details-prix {
      display: flex;
      width: min-content;
      font-weight: 600;
      font-size: 44px;
      line-height: 1;
      align-items: start;
  }
  
  section.page-produit div.details-produit div.details-prix span {
      font-size: 0.6em;
      text-decoration: underline;
      text-decoration-color: rgb(var(--abricot));
      text-decoration-thickness: 3px;
      text-underline-offset: 2px;
  }
  
  section.page-produit div.details-produit div.details-panier .ajouter-panier {
      display: block;
      padding: 12px 18px;
      background: rgba(var(--outremer), 1);
      color: white;
      border-radius: 60em;
      text-wrap: nowrap;
      width: min-content;
      max-width: 100%;
      cursor: pointer;
      margin: auto 0;
      transition: background 0.3s;
  }
  
  section.page-produit div.details-produit div.details-panier .ajouter-panier:hover {
      background: rgba(var(--abricot), 0.8);
  }
  
  section.page-produit div.details-produit div.details-panier div.port-panier {
      display: block;
      font-size: 12px;
      width: 100%;
  }
  
  section.page-produit div.details-produit > img{
      width: 120px;
      height: 260px;
  }
  
  section.page-produit div.details-produit div.details-description {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 100%;
  }
  
  section.page-produit div.details-produit details {
      width: 100%;
  }
  
  section.page-produit div.details-produit details p {
      font-size: 12px;
  }
  
  section.page-produit div.details-produit div.details-description p {
      display: block;
  }
  
  section.page-produit div.details-produit div.details-description p:last-of-type {
      font-size: 12px;
  }

  /* Masquer aussi les <p> qui ne contiennent que <br> ou des espaces/blancs */
  section.page-produit div.details-produit div.details-description p:empty,
  section.page-produit div.details-produit div.details-description p:has(br:only-child) {
      display: none !important;
  }
  
  section.page-produit div.details-produit div.details-description u {
    text-decoration-thickness: 2px;
    text-underline-offset: 2.5px;
  }
  
  section.page-produit div.details-produit div.details-description strong {
    font-weight: bolder;
    font-weight: bold;
    font-weight: 600;
    font-weight: 630;
    letter-spacing: 0.02em;
    letter-spacing: 0.32px;
  }
  
  section.page-produit div.details-produit div.details-description em {
    display: inline-block;
    transform: skewX(-8deg);
  }
  
  section.page-produit div.details-produit div.details-description .surligne-true {
    position: relative;
    display: inline;
  }
  
  section.page-produit div.details-produit div.details-description .surligne-true:after {
    position: absolute;
    z-index: -1;
    content: '';
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 1.2em;
    background: rgba(var(--rose), 0.9);
    border-radius: 5px;
    transform: scale(1.1) skew(-10deg, -2deg);
  }
  
  
  @media (max-width: calc((95vh - 3 * 16px - 37px) + 400px)), (max-width: calc((95vh - 3 * 16px - 37px) + 400px)) {
      section.page-produit {
          flex-direction: column;
          align-items: center;
      }
  
      section.page-produit div.image-produit {
          max-width: 100%;
          position: static;
      }
  
      section.page-produit div.image-produit div.bloc-image div.sousbloc {
          padding: 0 calc((100vw - 400px) / 2);
          padding: 0 calc((100vw - 400px) / 2);
          border-radius: 0;
      }
  
      section.page-produit div.image-produit div.post-valeur {
          margin: 0 calc((100vw - (95vh - 3 * 16px - 37px)) / 2);
          margin: 0 calc((100vw - (100svh - 3 * 16px - 37px)) / 2);
          display: none;
      }

      section.page-produit div.image-produit div.bloc-image div.sousbloc div.blocimage{
        min-width: 400px;
        max-width: 400px;
      }
  }
  
  @media (max-width: calc(95vh - 16px - 37px)), (max-width: calc(100svh - 16px - 37px)) {}
  
  @media (max-width: 400px) {
      section.page-produit div.image-produit div.bloc-image div.sousbloc, section.page-produit div.image-produit div.bloc-image div.sousbloc div.blocimage {
          border-radius: 0 !important;
          min-width: 100% !important;
          max-width: 100% !important;
          padding-left: 0 !important;
          padding-right: 0 !important;
      }
  
      section.page-produit div.image-produit {
          max-width: 100% !important;
      }
  
      section.page-produit div.image-produit div.post-valeur {
          margin: 0 16px;
          display: none;
      }
  }
  
  section.panier {
      display: flex;
      flex-direction: column-reverse;
      margin: auto 16px;
      padding: 16px;
      gap: 16px;
  }
  
  section.panier form {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      flex: 1;
      margin-bottom: auto;
      width: 100%;
  }
  
  section.panier form div.eninput{
      display: flex;
      flex-direction: column;
      padding: 12px;
      border-radius: 8px;
      background: white;
      width: 100%;
      height: 52px;
      justify-content: center;
      transition: padding 0.3s;
  }
  
  section.panier form div.eninput.remp{
  }
  
  section.panier form div.eninput.grande{
      grid-column: span 2;
  }
  
  section.panier form div.eninput label{
      display: block;
      width: 100%;
      line-height: 16px;
      max-height: 0;
      font-size: 10px;
      opacity: 0;
      transition: opacity 0.3s 0.1s, max-height 0.3s;
  }
  
  section.panier form div.eninput.remp label{
      opacity: 1;
      max-height: 16px;
  }
  
  section.panier form div.eninput input{
      height: 36px;
      width: 100%;
  }
    
  section.panier form div.eninput input[type="email"]:valid {
  }
  
  section.panier form div.eninput input[type="email"]:not(:placeholder-shown):invalid {
  }  
  
  section.panier form div.eninput:has(input:invalid:not(:placeholder-shown)) label {
      font-size: 0;
  }  
  
  section.panier form div.eninput:has(input:invalid:not(:placeholder-shown)) label:after {
      content: 'Adresse incorrecte';
      font-size: 10px;
      line-height: 16px;
      color: red;
  }  
  
  section.panier form div.eninput.remp input{
      height: 20px;
  }  
  
  section.panier form .eninputradio{
      display: flex;
      padding: 12px;
      gap: 8px;
      border-radius: 8px;
      background: white;
      width: 100%;
      height: 52px;
      align-items: center;
      transition: padding 0.3s;
  }  
  
  section.panier form .eninputradio, section.panier form .eninputradio *{
      cursor: pointer;
  }
  
  section.panier form .eninputradio input:disabled {
      opacity: 0.5;
      cursor: not-allowed;
  }
  
  section.panier form .eninputradio:has(input:disabled) {
      opacity: 0.5;
      pointer-events: none;
      cursor: not-allowed;
  }
  
  section.panier form .eninputradio input {
      display: block;
      width: 16px;
      height: 16px;
      border-radius: 20px;
      background: rgba(var(--outremer), 0.1);
      transition: background 0.3s;
  }  
  
  section.panier form .eninputradio input:checked {
      background: rgba(var(--outremer), 1);
  }  
  
  section.panier form .eninputradio div {
      display: flex;
      flex-direction: column;
      align-items: baseline;
      gap: 0 8px;
  }  
  
  section.panier form .eninputradio div span {
      font-size: 12px;
      font-weight: 500;
      opacity: 0.75;
  }
  
  #liste-relais {
      display: flex;
      flex-direction: column;
      padding: 12px;
      gap: 8px;
      border-radius: 8px;
      background: white;
      width: 100%;
      transition: padding 0.3s;
      grid-column: span 2;
  }

  #liste-relais:empty {
      display: none;
  }
  
  #liste-relais h3 {
      display: block;
      width: 100%;
  }
  
  #liste-relais label {
      display: flex;
      gap: 8px;
      align-items: center;
  }
  
  #liste-relais label, #liste-relais label * {
      cursor: pointer;
  }
  
  #liste-relais label input {
      display: block;
      width: 16px;
      height: 16px;
      border-radius: 20px;
      background: rgba(var(--outremer), 0.1);
      transition: background 0.3s;
  }  
  
  #liste-relais label input:checked {
      background: rgba(var(--outremer), 1);
  }
  
  #liste-relais label div {
      display: block;
  }
  
  #liste-relais div.attente {
      display: flex;
      padding: 12px;
      gap: 12px;
      justify-content: center;
      width: 100%;
  }
  
  #liste-relais div.attente div {
      display: block;
      width: 12px;
      height: 12px;
      border-radius: 12px;
      background: rgb(var(--abricot));
      opacity: 0.5;
      animation: relais-bounce 1s infinite;
  }
  
  #liste-relais div.attente div:nth-child(1) {
      animation-delay: 0s;
  }
  #liste-relais div.attente div:nth-child(2) {
      animation-delay: 0.33s;
  }
  #liste-relais div.attente div:nth-child(3) {
      animation-delay: 0.66s;
  }
  
  @keyframes relais-bounce {
      0% { opacity: 0.5; }
      10% { opacity: 1; }
      33% { opacity: 0.5; }
      100% { opacity: 0.5; }
  }
  
  section.panier form div.totalcommande{
    margin: auto 0;
    text-align: right;
    line-height: 1;
}

section.panier form div.totalcommande div{
    font-size: 20px;
}

section.panier form div.totalcommande span{
    font-size: 12px;
  }  
  
  section.panier form div.paiementsecurise{
    font-size: 12px;
    grid-column: span 2;
}  

section.panier form div.paiementsecurise div{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
}  

section.panier form div.paiementsecurise div img {
    display: block;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    width: 40px;
}
  
  section.panier form button{
      display: block;
      background: rgba(var(--outremer), 1);
      color: white;
      padding: 12px 18px;
      border-radius: 55em;
      width: 100%;
      max-width: 100%;
      text-align: center;
      transition: background 0.3s, opacity 3s;
      cursor: pointer;
  }  
  
  section.panier form button:hover{
      background: rgba(var(--outremer), 0.8);
  }  
    
  section.panier form button[disabled], section.panier form button:disabled{
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
  }
  
  section.panier div.liste {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
      flex: 1;
      width: 100%;
      margin-bottom: auto;
    }
    
    section.panier div.liste div.soustotal {
        display: grid;
        grid-template-columns: 1fr min-content;
        grid-column: span 2;
  }
  
  section.panier div.liste div.leproduit {
      display: flex;
      width: 100%;
      align-items: center;
      position: relative;
  }
  
  section.panier div.liste div.leproduit > img {
      display: block;
      aspect-ratio: 1 / 1;
      object-fit: cover;
      border-radius: 16px;
      width: 100%;
      font-size: 14px;
  }
  
  section.panier div.liste div.leproduit div.nom {
      font-size: 16px;
      font-weight: 500;
  }
  
  section.panier div.liste div.leproduit .supp {
      background: rgba(var(--abricot), 1);
      fill: black;
      display: block;
      width: 30px;
      height: 30px;
      padding: 6px;
      position: absolute;
      right: 0;
      top: 0;
      border-radius: 55em;
      transform: translate(16px, -16px)
  }
  
  section.panier div.liste div.leproduit div.supp:hover {
      background: rgba(var(--abricot), 0.8);
  }
  
  @media (max-width: 500px) {
  
      section.panier div.liste {
          grid-template-columns: repeat(2, 1fr);
      }
  }
  
  @media (min-width: 720px) {
      section.panier {
          max-width: 700px;
          flex-direction: row;
          margin: auto;
      }
  
      section.panier div.liste {
          position: sticky;
          top: 16px;
          grid-template-columns: repeat(2, 1fr);
      }
      
      section.panier form {
          max-width: 420px;
      }
  }