/* MOXIE HOME — Section « Chargeurs compatibles MacBook » : un MacBook à 3 % se recharge avec un chargeur Moxie Type-C (la lumière court dans le câble),
   la bonne puissance pour chaque Mac (30 → 96 W), le MagSafe 2 aimanté, puis la gamme et la grille d'achat (vrai panier pour les modèles en vente). */
  #moxie-chargeurmac { 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-chargeurmac { 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-chargeurmac h2, #moxie-chargeurmac h3 { font-family: inherit; color: inherit; text-transform: none; }

  #moxie-chargeurmac { --citron: #d7f23a; --encre: #1d1d1f; background: #fff; color: #1d1d1f; padding-bottom: 48px; -webkit-font-smoothing: antialiased; }
  #moxie-chargeurmac h2, #moxie-chargeurmac h4, #moxie-chargeurmac p { margin: 0; }
  #moxie-chargeurmac .cm-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: #0c0d0f; container-type: size; }
  #moxie-chargeurmac .cm-halo { position: absolute; left: 50%; top: 66%; width: 90cqw; height: 90cqh; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200,230,40,.32), rgba(200,230,40,0)); opacity: 0; pointer-events: none; }
  #moxie-chargeurmac .cm-blanc { position: absolute; inset: 0; background: #fff; opacity: 0; }
  #moxie-chargeurmac .cm-dessin { position: absolute; left: 4cqw; top: 33cqh; width: 92cqw; height: 64cqh; overflow: visible; }
  /* la gamme (fin) */
  #moxie-chargeurmac .cm-rangee { position: absolute; z-index: 2; left: 3cqw; right: 3cqw; top: 30cqh; bottom: 4cqh; display: flex; justify-content: center; align-items: center; gap: .6cqw; opacity: 0; }
  #moxie-chargeurmac .cm-rangee figure { margin: 0; width: min(13.2cqw, 60cqh); aspect-ratio: 1; }
  #moxie-chargeurmac .cm-rangee img { width: 100%; height: 100%; object-fit: contain; display: block; }
  /* les textes */
  #moxie-chargeurmac .cm-texte { position: absolute; z-index: 5; left: 0; right: 0; top: 6cqh; text-align: center; padding-inline: 6cqw; color: #f5f5f7; opacity: 0; pointer-events: none; }
  #moxie-chargeurmac .cm-texte h2 { font-size: clamp(36px, 9.5cqmin, 104px); font-weight: 700; letter-spacing: -0.05em; line-height: .98; }
  #moxie-chargeurmac .cm-texte p { margin-top: .4em; font-size: clamp(16px, 2.9cqmin, 25px); font-weight: 500; color: #a1a1a6; }
  #moxie-chargeurmac .cm-texte .cm-sur { display: block; margin-bottom: .25em; font-size: clamp(13px, 2.1cqmin, 18px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--citron); }
  #moxie-chargeurmac .cm-texte .cm-gros { font-size: clamp(56px, 15cqmin, 170px); font-variant-numeric: tabular-nums; color: var(--citron); line-height: .9; }
  #moxie-chargeurmac #cmT3 { top: 3cqh; }
  #moxie-chargeurmac .cm-texte.cm-fin { color: var(--encre); }
  #moxie-chargeurmac .cm-texte.cm-fin p { color: #6e6e73; }
  /* l'achat : la photo du chargeur choisi, les pastilles de puissance, le prix et le panier */
  #moxie-chargeurmac .cm-achat { max-width: 1260px; margin: 26px auto 0; padding-inline: 16px; display: flex; align-items: center; justify-content: center; gap: 16px 24px; flex-wrap: wrap; text-align: left; }
  #moxie-chargeurmac .cm-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-chargeurmac .cm-produit img { width: 56px; height: 56px; object-fit: contain; }
  #moxie-chargeurmac .cm-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-chargeurmac .cm-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-chargeurmac .cm-choix { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 8px; }
  #moxie-chargeurmac .cm-ligne { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
  #moxie-chargeurmac .cm-fam { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8e8e93; margin-right: 2px; }
  #moxie-chargeurmac .cm-ligne + .cm-ligne { margin-left: 10px; }
  #moxie-chargeurmac .cm-choix button { min-width: 50px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: #f0f0f3; color: #1d1d1f; font: 600 13px -apple-system, BlinkMacSystemFont, sans-serif; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
  #moxie-chargeurmac .cm-choix button[aria-pressed="true"] { background: #1d1d1f; color: #d7f23a; box-shadow: none; outline: 2px solid #0071e3; outline-offset: 2px; }
  #moxie-chargeurmac .cm-payer { display: flex; align-items: center; gap: 14px; }
  #moxie-chargeurmac .cm-prix { white-space: nowrap; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
  #moxie-chargeurmac .cm-ajout { white-space: nowrap; 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; }
  #moxie-chargeurmac .cm-ajout:hover { background: #0077ed; }
  #moxie-chargeurmac .cm-ajout[hidden], #moxie-chargeurmac .cm-bientot[hidden], #moxie-chargeurmac .cm-prix[hidden] { display: none; }
  #moxie-chargeurmac .cm-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; }
  @media (max-width: 760px) {
    #moxie-chargeurmac .cm-scene { height: 128vw; }
    #moxie-chargeurmac .cm-dessin { left: 1cqw; width: 98cqw; top: 40cqh; height: 56cqh; }
    #moxie-chargeurmac .cm-rangee { left: 2cqw; right: 2cqw; top: 26cqh; bottom: 3cqh; flex-wrap: wrap; gap: 1cqh 1cqw; align-content: center; }
    #moxie-chargeurmac .cm-rangee figure { height: auto; width: 23cqw; }
    #moxie-chargeurmac .cm-texte { top: 5cqh; }
    #moxie-chargeurmac #cmT3 { top: 4cqh; }
  }
  @media (max-width: 520px) { #moxie-chargeurmac .cm-achat { flex-direction: column; text-align: center; } #moxie-chargeurmac .cm-produit { text-align: left; } #moxie-chargeurmac .cm-choix { flex-direction: column; gap: 10px; } #moxie-chargeurmac .cm-ligne + .cm-ligne { margin-left: 0; } #moxie-chargeurmac .cm-choix button { min-width: 46px; padding: 0 8px; } }
