/* MOXIE HOME — Section « Câble 3 en 1 Moxie nylon tressé 3A 1,2 m Lightning / Micro-USB / USB-C » en noir (produit 168, 12,90 €), rouge (281, 9,90 €) et argent (282, 9,90 €) :
   intro, les trois embouts, le défilé des trois couleurs, la prise en gros plan (3A, renforcé), la rafale, les trois boîtes et le prix ; sous la pub, on choisit sa couleur (vrai panier). */
  #moxie-cable3en1 { 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-cable3en1 { 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-cable3en1 h2, #moxie-cable3en1 p { margin: 0; font-family: inherit; color: inherit; text-transform: none; }
  #moxie-cable3en1 { --citron: #c3d916; --marine: #12284f; --teinte: #1d1d1f; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-cable3en1 .c3-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: #fff; container-type: size; }
  #moxie-cable3en1 .c3-photo { position: absolute; z-index: 2; left: 66cqw; top: 52%; height: 88cqh; aspect-ratio: 1; translate: -50% -50%; opacity: 0; }
  #moxie-cable3en1 .c3-photo > img, #moxie-cable3en1 img.c3-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
  #moxie-cable3en1 .c3-halo { position: absolute; z-index: 1; left: 66cqw; top: 52%; width: 92cqh; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--teinte) 22%, transparent), transparent); opacity: 0; transition: background .4s; }
  /* les pastilles (embouts, puis caractéristiques) */
  #moxie-cable3en1 .c3-puces { position: absolute; z-index: 3; left: 66cqw; top: 88%; translate: -50% 0; display: flex; gap: 1.6cqh; }
  #moxie-cable3en1 .c3-puces span { padding: .45em 1em; border-radius: 99px; background: #1d1d1f; color: #fff; font-size: clamp(12px, 2.8cqmin, 24px); font-weight: 700; white-space: nowrap; opacity: 0; }
  #moxie-cable3en1 .c3-puces span:nth-child(2) { background: var(--citron); color: var(--marine); }
  /* le défilé des couleurs : le nom de la couleur et trois pastilles */
  #moxie-cable3en1 .c3-nuancier { position: absolute; z-index: 3; left: 66cqw; top: 90%; translate: -50% 0; display: flex; align-items: center; gap: 2cqh; opacity: 0; }
  #moxie-cable3en1 .c3-nuancier i { width: 4.4cqh; height: 4.4cqh; border-radius: 50%; box-shadow: inset 0 0 0 .25cqh rgba(0,0,0,.15); transition: scale .3s, box-shadow .3s; }
  #moxie-cable3en1 .c3-nuancier i.actif { scale: 1.3; box-shadow: inset 0 0 0 .25cqh rgba(0,0,0,.15), 0 0 0 .5cqh #fff, 0 0 0 .9cqh var(--teinte); }
  #moxie-cable3en1 .c3-nuancier b { min-width: 14cqh; font-size: clamp(16px, 3.6cqmin, 32px); font-weight: 800; color: var(--teinte); transition: color .4s; }
  /* l'intro et la rafale : plein écran */
  #moxie-cable3en1 .c3-plein { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-inline: 4cqw; background: #1d1d1f; color: #fff; opacity: 0; pointer-events: none; }
  #moxie-cable3en1 .c3-plein b { font-size: clamp(50px, 19cqmin, 220px); font-weight: 900; letter-spacing: -0.06em; line-height: .95; }
  #moxie-cable3en1 .c3-plein small { margin-top: .4em; font-size: clamp(16px, 4cqmin, 36px); font-weight: 700; letter-spacing: .02em; opacity: .75; }
  /* les trois boîtes en éventail et le prix */
  #moxie-cable3en1 .c3-boites { position: absolute; z-index: 2; left: 66cqw; top: 52%; width: 92cqh; height: 80cqh; translate: -50% -50%; }
  #moxie-cable3en1 .c3-boites { isolation: isolate; }
  #moxie-cable3en1 .c3-boites img { position: absolute; top: 0; height: 100%; aspect-ratio: 1; object-fit: contain; opacity: 0; mix-blend-mode: multiply; }   /* le fond blanc des photos disparaît : les trois boîtes se voient */
  #moxie-cable3en1 .c3-boites img:nth-child(1) { left: -30%; } #moxie-cable3en1 .c3-boites img:nth-child(2) { left: 6%; z-index: 2; } #moxie-cable3en1 .c3-boites img:nth-child(3) { left: 42%; }
  #moxie-cable3en1 .c3-prix-geant { position: absolute; z-index: 5; left: 50cqw; top: 74cqh; translate: -50% -50%; padding: .1em .4em; border-radius: 3cqh; background: var(--citron); color: var(--marine); font-size: clamp(30px, 11cqmin, 120px); font-weight: 900; letter-spacing: -0.05em; opacity: 0; white-space: nowrap; box-shadow: 0 2cqh 4cqh rgba(0,0,0,.18); rotate: -6deg; }
  #moxie-cable3en1 .c3-prix-geant small { font-size: .45em; letter-spacing: 0; margin-right: .2em; }
  /* les textes */
  #moxie-cable3en1 .c3-texte { position: absolute; z-index: 6; left: 6cqw; top: 50%; translate: 0 -50%; max-width: 40cqw; opacity: 0; pointer-events: none; }
  #moxie-cable3en1 .c3-texte h2 { font-size: clamp(40px, 11.5cqmin, 124px); font-weight: 800; letter-spacing: -0.05em; line-height: .96; }
  #moxie-cable3en1 .c3-texte p { margin-top: .45em; font-size: clamp(16px, 3cqmin, 26px); font-weight: 500; color: #515154; }
  #moxie-cable3en1 .c3-texte b { background: linear-gradient(transparent 58%, var(--citron) 58%); font-weight: 700; color: inherit; }
  #moxie-cable3en1 .c3-texte .c3-sur { display: inline-block; margin-bottom: .5em; padding: .3em .7em; border-radius: 99px; background: #1d1d1f; color: var(--citron); font-size: clamp(12px, 2cqmin, 17px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  /* l'achat : on choisit sa couleur */
  #moxie-cable3en1 .c3-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-cable3en1 .c3-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-cable3en1 .c3-produit img { width: 60px; height: 60px; object-fit: contain; }
  #moxie-cable3en1 .c3-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-cable3en1 .c3-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-cable3en1 .c3-pastilles { display: flex; gap: 12px; }
  #moxie-cable3en1 .c3-pastilles 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-cable3en1 .c3-pastilles button[aria-pressed="true"] { outline: 2px solid #0071e3; outline-offset: 3px; }
  #moxie-cable3en1 .c3-payer { display: flex; align-items: center; gap: 14px; }
  #moxie-cable3en1 .c3-prix { font-size: 17px; font-weight: 600; white-space: nowrap; }
  #moxie-cable3en1 .c3-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-cable3en1 .c3-ajout:hover { background: #0077ed; }

  @media (max-width: 760px) {
    #moxie-cable3en1 .c3-scene { height: 150vw; }
    #moxie-cable3en1 .c3-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
    #moxie-cable3en1 .c3-photo { left: 50%; top: 64%; height: auto; width: 84cqw; }
    #moxie-cable3en1 .c3-halo { left: 50%; top: 64%; width: 100cqw; }
    #moxie-cable3en1 .c3-puces, #moxie-cable3en1 .c3-nuancier { left: 50%; top: 91%; gap: 2cqw; }
    #moxie-cable3en1 .c3-nuancier i { width: 6cqw; height: 6cqw; }
    #moxie-cable3en1 .c3-boites { left: 50%; top: 64%; width: 80cqw; height: 60cqw; }
    #moxie-cable3en1 .c3-prix-geant { left: 50%; top: 90cqh; }
    #moxie-cable3en1 .c3-achat { flex-direction: column; text-align: center; }
  }
  @media (prefers-reduced-motion: reduce) { #moxie-cable3en1 .c3-scene { transform: none !important; } }
