/* MOXIE HOME — Section « Chargeur secteur 20W Power Delivery 1 sortie USB-C + 1 USB-A » (produit 271, 14,90 €) :
   l intro (deux téléphones / un chargeur / enfin), les deux ports, le chrono 50 % en moins de 30 minutes, 51 grammes,
   l emballage sans plastique, la rafale, la boîte et le prix. */
  #moxie-chargeur20duo { 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-chargeur20duo { 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-chargeur20duo h2, #moxie-chargeur20duo p { margin: 0; font-family: inherit; color: inherit; text-transform: none; }

  #moxie-chargeur20duo { --citron: #c3d916; --marine: #12284f; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-chargeur20duo .cd-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: #fff; container-type: size; }
  #moxie-chargeur20duo .cd-photo { position: absolute; z-index: 2; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
  #moxie-chargeur20duo .cd-photo > img, #moxie-chargeur20duo img.cd-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
  #moxie-chargeur20duo .cd-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-chargeur20duo .cd-port { position: absolute; z-index: 3; left: 66cqw; top: 52%; height: 86cqh; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
  #moxie-chargeur20duo .cd-port span { position: absolute; top: 81%; translate: -50% -50%; opacity: 0; }
  #moxie-chargeur20duo .cd-port span:nth-child(1) { left: 42%; } #moxie-chargeur20duo .cd-port span:nth-child(2) { left: 56.5%; }
  #moxie-chargeur20duo .cd-port span:nth-child(2) b { top: auto; bottom: 9.5cqh; }
  #moxie-chargeur20duo .cd-port span::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10cqh; height: 15cqh; translate: -50% -50%; border-radius: 99px; border: .7cqh solid var(--citron); box-shadow: 0 0 0 .3cqh var(--marine); }
  #moxie-chargeur20duo .cd-port b { position: absolute; left: 50%; top: 9.5cqh; 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-chargeur20duo .cd-port b em { font-style: normal; color: var(--citron); }

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

  /* partout : trois pastilles qui arrivent l'une après l'autre */
  #moxie-chargeur20duo .cd-lieux { position: absolute; z-index: 3; left: 66cqw; top: 86%; translate: -50% 0; display: flex; gap: 1.6cqh; }
  #moxie-chargeur20duo .cd-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-chargeur20duo .cd-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-chargeur20duo .cd-plein b { font-size: clamp(54px, 20cqmin, 230px); font-weight: 900; letter-spacing: -0.06em; line-height: .95; }
  #moxie-chargeur20duo .cd-plein small { margin-top: .4em; font-size: clamp(16px, 4cqmin, 36px); font-weight: 700; letter-spacing: .02em; opacity: .75; }
  #moxie-chargeur20duo .cd-faible { width: 18cqmin; height: 8cqmin; margin-bottom: 4cqmin; border-radius: 1.6cqmin; border: .6cqmin solid currentColor; padding: .6cqmin; position: relative; display: none; }
  #moxie-chargeur20duo .cd-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-chargeur20duo .cd-faible i { display: block; height: 100%; width: 12%; border-radius: .8cqmin; background: #ff3b30; }
  /* le prix */
  #moxie-chargeur20duo .cd-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-chargeur20duo .cd-texte { position: absolute; z-index: 6; left: 6cqw; top: 50%; translate: 0 -50%; max-width: 40cqw; opacity: 0; pointer-events: none; }
  #moxie-chargeur20duo .cd-texte h2 { font-size: clamp(40px, 11.5cqmin, 124px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
  #moxie-chargeur20duo .cd-texte p { margin-top: .45em; font-size: clamp(16px, 3cqmin, 26px); font-weight: 500; color: #515154; }
  #moxie-chargeur20duo .cd-texte b { background: linear-gradient(transparent 58%, var(--citron) 58%); font-weight: 700; color: inherit; }
  #moxie-chargeur20duo .cd-texte .cd-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-chargeur20duo .cd-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-chargeur20duo .cd-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-chargeur20duo .cd-produit img { width: 60px; height: 60px; object-fit: contain; }
  #moxie-chargeur20duo .cd-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-chargeur20duo .cd-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-chargeur20duo .cd-payer { display: flex; align-items: center; gap: 14px; }
  #moxie-chargeur20duo .cd-prix { font-size: 17px; font-weight: 600; white-space: nowrap; }
  #moxie-chargeur20duo .cd-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-chargeur20duo .cd-ajout:hover { background: #0077ed; }

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

  /* le chrono : un cadran qui tourne jusqu'à 30 minutes pendant que la batterie monte à 50 % */
  #moxie-chargeur20duo .cd-chrono { position: absolute; z-index: 3; left: 50cqw; right: 6cqw; top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: 5cqh; opacity: 0; }
  #moxie-chargeur20duo .cd-cadran { flex: none; width: 34cqh; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--citron) var(--a, 0deg), #ececf0 0); position: relative; }
  #moxie-chargeur20duo .cd-cadran::before { content: ""; position: absolute; inset: 3cqh; border-radius: 50%; background: #fff; }
  #moxie-chargeur20duo .cd-cadran b { position: relative; font-size: clamp(22px, 7cqmin, 70px); font-weight: 900; letter-spacing: -0.04em; color: var(--marine); font-variant-numeric: tabular-nums; }
  #moxie-chargeur20duo .cd-cadran small { position: absolute; bottom: 24%; font-size: clamp(10px, 2.2cqmin, 18px); font-weight: 700; color: #6e6e73; }
  #moxie-chargeur20duo .cd-chrono .cd-ligne { flex: 1; }
  /* 51 g : le chiffre en contour derrière le chargeur */
  #moxie-chargeur20duo .cd-poids { position: absolute; z-index: 1; left: 66cqw; top: 50%; translate: -50% -50%; font-size: clamp(90px, 58cqmin, 580px); font-weight: 900; letter-spacing: -0.06em; line-height: 1;
    color: transparent; -webkit-text-stroke: .35cqmin rgba(18,40,79,.16); opacity: 0; pointer-events: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
  /* l'emballage : une pastille « sans plastique » */
  #moxie-chargeur20duo .cd-eco { position: absolute; z-index: 4; left: 84cqw; top: 26%; translate: -50% -50%; width: 22cqh; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
    background: var(--citron); color: var(--marine); font-size: clamp(11px, 2.6cqmin, 22px); font-weight: 900; line-height: 1.1; box-shadow: 0 1.5cqh 3cqh rgba(0,0,0,.15); rotate: 10deg; opacity: 0; }
  @media (max-width: 760px) {
    #moxie-chargeur20duo .cd-port span::before { width: 10cqw; height: 15cqw; }
    #moxie-chargeur20duo .cd-port span:nth-child(2) b { bottom: 9cqw; }
    #moxie-chargeur20duo .cd-chrono { left: 8cqw; right: 8cqw; top: 66%; flex-direction: column; gap: 5cqw; }
    #moxie-chargeur20duo .cd-cadran { width: 42cqw; } #moxie-chargeur20duo .cd-cadran::before { inset: 3.5cqw; }
    #moxie-chargeur20duo .cd-chrono .cd-ligne { width: 100%; }
    #moxie-chargeur20duo .cd-poids { left: 50%; top: 67%; }
    #moxie-chargeur20duo .cd-eco { left: 80%; top: 52%; width: 26cqw; }
  }
