/* MOXIE HOME — Section « Chargeur secteur Mini 20W USB-C Power Delivery » (produit 146, 14,90 €) :
   l intro (petit / très petit / mais rapide), le chargeur qui rapetisse, son port USB-C PD en gros plan, la course de recharge face à un chargeur 5 W,
   la rafale, la boîte et le prix. */
  #moxie-chargeur20mini { 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-chargeur20mini { 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-chargeur20mini h2, #moxie-chargeur20mini p { margin: 0; font-family: inherit; color: inherit; text-transform: none; }

  #moxie-chargeur20mini { --citron: #c3d916; --marine: #12284f; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-chargeur20mini .cm-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: #fff; container-type: size; }
  #moxie-chargeur20mini .cm-photo { position: absolute; z-index: 2; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
  #moxie-chargeur20mini .cm-photo > img, #moxie-chargeur20mini img.cm-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
  #moxie-chargeur20mini .cm-halo { position: absolute; z-index: 1; left: 66cqw; top: 52%; width: 90cqh; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(195,217,22,.4), rgba(195,217,22,0)); opacity: 0; }
  /* le port USB-C entouré (photo de face : le port est en bas au centre) */
  #moxie-chargeur20mini .cm-port { position: absolute; z-index: 3; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
  #moxie-chargeur20mini .cm-port span { position: absolute; left: 50%; top: 51%; translate: -50% -50%; opacity: 0; }
  #moxie-chargeur20mini .cm-port span::before { content: ""; position: absolute; left: 50%; top: 50%; width: 30cqh; height: 13cqh; translate: -50% -50%; border-radius: 99px; border: .7cqh solid var(--citron); box-shadow: 0 0 0 .3cqh var(--marine); }
  #moxie-chargeur20mini .cm-port b { position: absolute; left: 50%; top: 10cqh; translate: -50% 0; padding: .3em .7em; border-radius: 99px; background: var(--marine); color: #fff; font-size: clamp(11px, 2.4cqmin, 20px); font-weight: 700; white-space: nowrap; }
  #moxie-chargeur20mini .cm-port b em { font-style: normal; color: var(--citron); }

  /* la course de recharge : deux barres de batterie */
  #moxie-chargeur20mini .cm-course { position: absolute; z-index: 3; left: 50cqw; right: 6cqw; top: 50%; translate: 0 -50%; display: grid; gap: 5cqh; opacity: 0; }
  #moxie-chargeur20mini .cm-ligne { display: grid; gap: 1.4cqh; }
  #moxie-chargeur20mini .cm-ligne header { display: flex; justify-content: space-between; align-items: baseline; font-size: clamp(14px, 3.4cqmin, 30px); font-weight: 700; color: #6e6e73; }
  #moxie-chargeur20mini .cm-ligne header strong { font-size: 1.5em; font-weight: 900; letter-spacing: -0.03em; color: #1d1d1f; font-variant-numeric: tabular-nums; }
  #moxie-chargeur20mini .cm-pile { position: relative; height: 9cqh; border-radius: 2.2cqh; border: .5cqh solid #1d1d1f; padding: .7cqh; }
  #moxie-chargeur20mini .cm-pile::after { content: ""; position: absolute; right: -1.8cqh; top: 50%; width: 1.2cqh; height: 3.6cqh; translate: 0 -50%; border-radius: 0 .8cqh .8cqh 0; background: #1d1d1f; }
  #moxie-chargeur20mini .cm-pile i { display: block; height: 100%; width: 0; border-radius: 1.3cqh; background: #c7c7cc; }
  #moxie-chargeur20mini .cm-ligne--pd header { color: var(--marine); }
  #moxie-chargeur20mini .cm-ligne--pd .cm-pile i { background: var(--citron); box-shadow: 0 0 2cqh rgba(195,217,22,.6); }
  #moxie-chargeur20mini .cm-note { font-size: clamp(11px, 2cqmin, 15px); color: #8a8a8f; }

  /* partout : trois pastilles qui arrivent l'une après l'autre */
  #moxie-chargeur20mini .cm-lieux { position: absolute; z-index: 3; left: 66cqw; top: 86%; translate: -50% 0; display: flex; gap: 1.6cqh; }
  #moxie-chargeur20mini .cm-lieux span { padding: .45em 1em; border-radius: 99px; background: var(--marine); color: #fff; font-size: clamp(12px, 2.8cqmin, 24px); font-weight: 700; white-space: nowrap; opacity: 0; }

  /* l'intro et la rafale : plein écran */
  #moxie-chargeur20mini .cm-plein { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #000; color: #fff; opacity: 0; pointer-events: none; }
  #moxie-chargeur20mini .cm-plein b { font-size: clamp(54px, 20cqmin, 230px); font-weight: 900; letter-spacing: -0.06em; line-height: .95; }
  #moxie-chargeur20mini .cm-plein small { margin-top: .4em; font-size: clamp(16px, 4cqmin, 36px); font-weight: 700; letter-spacing: .02em; opacity: .75; }
  #moxie-chargeur20mini .cm-faible { width: 18cqmin; height: 8cqmin; margin-bottom: 4cqmin; border-radius: 1.6cqmin; border: .6cqmin solid currentColor; padding: .6cqmin; position: relative; display: none; }
  #moxie-chargeur20mini .cm-faible::after { content: ""; position: absolute; right: -1.6cqmin; top: 50%; width: 1cqmin; height: 3cqmin; translate: 0 -50%; border-radius: 0 .6cqmin .6cqmin 0; background: currentColor; }
  #moxie-chargeur20mini .cm-faible i { display: block; height: 100%; width: 12%; border-radius: .8cqmin; background: #ff3b30; }
  /* le prix */
  #moxie-chargeur20mini .cm-prix-geant { position: absolute; z-index: 5; left: 50cqw; top: 72cqh; translate: -50% -50%; padding: .1em .4em; border-radius: 3cqh; background: var(--citron); color: var(--marine); font-size: clamp(36px, 13cqmin, 140px); font-weight: 900; letter-spacing: -0.05em; opacity: 0; white-space: nowrap; box-shadow: 0 2cqh 4cqh rgba(0,0,0,.18); rotate: -6deg; }
  /* les textes */
  #moxie-chargeur20mini .cm-texte { position: absolute; z-index: 6; left: 6cqw; top: 50%; translate: 0 -50%; max-width: 40cqw; opacity: 0; pointer-events: none; }
  #moxie-chargeur20mini .cm-texte h2 { font-size: clamp(40px, 11.5cqmin, 124px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
  #moxie-chargeur20mini .cm-texte p { margin-top: .45em; font-size: clamp(16px, 3cqmin, 26px); font-weight: 500; color: #515154; }
  #moxie-chargeur20mini .cm-texte b { background: linear-gradient(transparent 58%, var(--citron) 58%); font-weight: 700; color: inherit; }
  #moxie-chargeur20mini .cm-texte .cm-sur { display: inline-block; margin-bottom: .5em; padding: .3em .7em; border-radius: 99px; background: var(--marine); color: var(--citron); font-size: clamp(12px, 2cqmin, 17px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  /* l'achat */
  #moxie-chargeur20mini .cm-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-chargeur20mini .cm-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-chargeur20mini .cm-produit img { width: 60px; height: 60px; object-fit: contain; }
  #moxie-chargeur20mini .cm-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-chargeur20mini .cm-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-chargeur20mini .cm-payer { display: flex; align-items: center; gap: 14px; }
  #moxie-chargeur20mini .cm-prix { font-size: 17px; font-weight: 600; white-space: nowrap; }
  #moxie-chargeur20mini .cm-ajout { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: #0071e3; color: #fff; font: 500 17px -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; white-space: nowrap; }
  #moxie-chargeur20mini .cm-ajout:hover { background: #0077ed; }

  @media (max-width: 760px) {
    #moxie-chargeur20mini .cm-scene { height: 150vw; }
    #moxie-chargeur20mini .cm-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
    #moxie-chargeur20mini .cm-photo, #moxie-chargeur20mini .cm-port { left: 50%; top: 66%; height: auto; width: 84cqw; }
    #moxie-chargeur20mini .cm-halo { left: 50%; top: 66%; width: 100cqw; }
    #moxie-chargeur20mini .cm-port span::before { width: 30cqw; height: 15cqw; } #moxie-chargeur20mini .cm-port b { top: 9cqw; }
    #moxie-chargeur20mini .cm-course { left: 8cqw; right: 10cqw; top: 66%; gap: 5cqw; }
    #moxie-chargeur20mini .cm-pile { height: 9cqw; border-radius: 2.2cqw; }
    #moxie-chargeur20mini .cm-lieux { left: 50%; top: 90%; gap: 2cqw; }
    #moxie-chargeur20mini .cm-prix-geant { left: 50%; top: 90cqh; }
    #moxie-chargeur20mini .cm-achat { flex-direction: column; text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) { #moxie-chargeur20mini .cm-scene { transform: none !important; } }

  /* la règle « mini » : une cote verticale qui suit la hauteur du chargeur pendant qu'il rapetisse */
  #moxie-chargeur20mini .cm-mini { position: absolute; z-index: 3; left: 90cqw; top: 52%; height: 60cqh; translate: -50% -50%; width: 1cqh; opacity: 0; }
  #moxie-chargeur20mini .cm-mini i { position: absolute; inset: 0; background: var(--citron); border-radius: 99px; box-shadow: 0 0 0 .25cqh var(--marine); transform-origin: 50% 50%; }
  #moxie-chargeur20mini .cm-mini b { position: absolute; left: 2.4cqh; top: 50%; translate: 0 -50%; padding: .2em .55em; border-radius: 99px; background: var(--marine); color: var(--citron); font-size: clamp(14px, 3.6cqmin, 34px); font-weight: 800; white-space: nowrap; }
  @media (max-width: 760px) { #moxie-chargeur20mini .cm-mini { left: 88%; top: 66%; height: 50cqw; width: 1cqw; } #moxie-chargeur20mini .cm-mini b { left: auto; right: 2.4cqw; } }
