/* MOXIE HOME — Section « Câble data Nylon POP tressé USB-C vers USB-C 60 W, 1 m » en 7 couleurs (« Bientôt disponible », fiches à créer) :
   les sept qui tombent en rang, le carrousel des couleurs, le gros plan 60 W, la rafale, l'éventail ; choix de la couleur en dessous. */
  #moxie-nylonpop { min-height: 0; max-height: none; overflow: visible; padding-inline: 0 !important; }   /* le thème limite la hauteur des sections et ajoute une marge sur les côtés */
  #moxie-nylonpop { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); overflow-x: clip; line-height: normal; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; }
  #moxie-nylonpop h2, #moxie-nylonpop h3 { font-family: inherit; color: inherit; text-transform: none; }

  #moxie-nylonpop { --accent: #ff5a1f; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-nylonpop h2, #moxie-nylonpop h3, #moxie-nylonpop p { margin: 0; }
  #moxie-nylonpop .np-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: var(--fond, #fff); container-type: size; transition: background .3s; }
  /* 1 et l'éventail : le rang des sept */
  #moxie-nylonpop .np-rang { position: absolute; z-index: 2; left: 41cqw; right: 2cqw; top: 10cqh; bottom: 6cqh; display: flex; align-items: center; justify-content: center; opacity: 0; }
  #moxie-nylonpop .np-rang figure { flex: none; margin: 0 -1.6cqw; width: 12cqw; aspect-ratio: 1 / 1.6; mix-blend-mode: multiply; }
  #moxie-nylonpop .np-rang img { width: 100%; height: 100%; object-fit: cover; display: block; }
  /* 2 : le carrousel (le conteneur se fond sur la couleur du fond) */
  #moxie-nylonpop .np-hero { position: absolute; z-index: 2; left: 66cqw; top: 53%; height: 88cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; mix-blend-mode: multiply; }
  #moxie-nylonpop .np-hero img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
  #moxie-nylonpop .np-nom { color: var(--accent); transition: color .3s; }
  /* 3 : le gros plan et le compteur 60 W */
  #moxie-nylonpop .np-gros { position: absolute; z-index: 2; left: 66cqw; top: 52%; height: 96cqh; aspect-ratio: 1; translate: -50% -50%; mix-blend-mode: multiply; opacity: 0; }
  #moxie-nylonpop .np-watts { position: absolute; z-index: 3; left: 84cqw; top: 22cqh; translate: -50% -50%; padding: .08em .4em; border-radius: 2.4cqh; background: #ff5a1f; color: #fff; font-size: clamp(32px, 11cqmin, 120px); font-weight: 900; letter-spacing: -0.05em; opacity: 0; rotate: 6deg; white-space: nowrap; font-variant-numeric: tabular-nums; box-shadow: 0 1.6cqh 3cqh rgba(255,90,31,.35); }
  /* 4 : la rafale */
  #moxie-nylonpop .np-rafale { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; opacity: 0; pointer-events: none; }
  #moxie-nylonpop .np-rafale b { font-size: clamp(50px, 18cqmin, 210px); font-weight: 900; letter-spacing: -0.06em; line-height: .95; }
  #moxie-nylonpop .np-rafale small { margin-top: .4em; font-size: clamp(16px, 4cqmin, 36px); font-weight: 700; opacity: .8; }
  /* 5 : l'éventail */
  #moxie-nylonpop .np-eventail { position: absolute; z-index: 2; left: 66cqw; top: 52%; height: 96cqh; aspect-ratio: 1; translate: -50% -50%; mix-blend-mode: multiply; opacity: 0; }
  /* le prix à la fin */
  #moxie-nylonpop .np-prix-geant { position: absolute; z-index: 5; left: 66cqw; top: 84cqh; translate: -50% -50%; padding: .08em .4em; border-radius: 2.4cqh; background: #1d1d1f; color: #fff; font-size: clamp(32px, 10cqmin, 110px); font-weight: 900; letter-spacing: -0.05em; opacity: 0; rotate: -5deg; white-space: nowrap; box-shadow: 0 1.6cqh 3cqh rgba(0,0,0,.2); }
  /* les textes */
  #moxie-nylonpop .np-texte { position: absolute; z-index: 6; left: 6cqw; top: 50%; translate: 0 -50%; max-width: 34cqw; opacity: 0; pointer-events: none; }
  #moxie-nylonpop .np-texte h2 { font-size: clamp(40px, 11.5cqmin, 124px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
  #moxie-nylonpop .np-texte p { margin-top: .45em; font-size: clamp(16px, 3cqmin, 26px); font-weight: 500; color: #515154; }
  #moxie-nylonpop .np-texte b { color: var(--accent); font-weight: 700; transition: color .3s; }
  #moxie-nylonpop .np-texte .np-sur { display: inline-block; margin-bottom: .5em; padding: .3em .7em; border-radius: 99px; background: linear-gradient(90deg, #ff5a1f, #f4a7bf, #b49be6, #7cc3ec, #7fdcc0); color: #1d1d1f; font-size: clamp(12px, 2cqmin, 17px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  /* l'achat : la couleur */
  #moxie-nylonpop .np-achat { max-width: 1100px; margin: 24px auto 0; padding-inline: 16px; display: flex; align-items: center; justify-content: center; gap: 16px 26px; flex-wrap: wrap; }
  #moxie-nylonpop .np-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-nylonpop .np-produit img { width: 60px; height: 60px; object-fit: contain; mix-blend-mode: multiply; }
  #moxie-nylonpop .np-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-nylonpop .np-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-nylonpop .np-couleurs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
  #moxie-nylonpop .np-couleurs button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
  #moxie-nylonpop .np-couleurs button[aria-pressed="true"] { outline: 2px solid #0071e3; outline-offset: 3px; }
  #moxie-nylonpop .np-payer { display: flex; align-items: center; gap: 14px; }
  #moxie-nylonpop .np-prix { font-size: 17px; font-weight: 600; white-space: nowrap; }
  #moxie-nylonpop .np-bientot { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: #e8e8ed; color: #6e6e73; font: 500 17px -apple-system, sans-serif; white-space: nowrap; }
  @media (max-width: 760px) {
    #moxie-nylonpop .np-scene { height: 150vw; }
    #moxie-nylonpop .np-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
    #moxie-nylonpop .np-rang { left: 2cqw; right: 2cqw; top: 40cqh; bottom: 4cqh; }
    #moxie-nylonpop .np-rang figure { width: 17cqw; margin: 0 -2.4cqw; }
    #moxie-nylonpop .np-hero, #moxie-nylonpop .np-gros, #moxie-nylonpop .np-eventail { left: 50%; top: 67%; height: auto; width: 92cqw; }
    #moxie-nylonpop .np-watts { left: 76cqw; top: 44cqh; }
    #moxie-nylonpop .np-prix-geant { left: 50%; top: 90cqh; }
    #moxie-nylonpop .np-achat { flex-direction: column; text-align: center; }
  }
