/* MOXIE HOME — Section « Enceinte Bluetooth 5 W Moxie Tweet » (bleu, noir, vert) : elle danse au rythme de la musique, 12 h d'autonomie,
   IP67 sous la pluie, les trois couleurs, la boîte ; en dessous, les pastilles (le noir est en vente : produit 67, vrai panier). */
  #moxie-tweet { 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-tweet { 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-tweet h2, #moxie-tweet h3 { font-family: inherit; color: inherit; text-transform: none; }

  #moxie-tweet { --accent: #2c5fb3; background: #fff; color: #1d1d1f; padding-bottom: 40px; -webkit-font-smoothing: antialiased; }
  #moxie-tweet h2, #moxie-tweet h3, #moxie-tweet p { margin: 0; }
  #moxie-tweet .tw-scene { position: relative; width: 100%; height: min(56.25vw, 86svh); overflow: hidden; background: var(--fond, #eaf1fb); container-type: size; transition: background .5s; }
  /* les photos ont un fond blanc : en « multiply », elles prennent la couleur du fond (l'opacité est posée sur l'image elle-même) */
  #moxie-tweet .tw-hp, #moxie-tweet .tw-trio, #moxie-tweet .tw-boite { position: absolute; z-index: 3; mix-blend-mode: multiply; opacity: 0; transform-origin: 50% 78%; }
  #moxie-tweet .tw-hp { left: 66cqw; top: 50%; height: 92cqh; translate: -50% -50%; }
  #moxie-tweet .tw-trio { top: 52%; height: 70cqh; translate: -50% -50%; }
  #moxie-tweet .tw-trio:nth-of-type(4) { left: 28cqw; } #moxie-tweet .tw-trio:nth-of-type(5) { left: 50cqw; } #moxie-tweet .tw-trio:nth-of-type(6) { left: 72cqw; }
  #moxie-tweet .tw-boite { left: 71cqw; top: 52%; height: 80cqh; translate: -50% -50%; }
  /* les ondes sonores qui partent de la grille, et les notes */
  #moxie-tweet .tw-ondes { position: absolute; z-index: 2; left: 66cqw; top: 31cqh; width: 0; height: 0; opacity: 0; }
  #moxie-tweet .tw-ondes i { position: absolute; left: 0; top: 0; width: 40cqh; height: 14cqh; translate: -50% -50%; border-radius: 50%; border: .5cqh solid var(--accent); opacity: 0; }
  #moxie-tweet .tw-notes { position: absolute; z-index: 4; left: 66cqw; top: 26cqh; width: 0; height: 0; opacity: 0; }
  #moxie-tweet .tw-notes b { position: absolute; left: 0; top: 0; font-size: clamp(18px, 5cqh, 44px); color: var(--accent); opacity: 0; }
  /* la pluie (IP67) */
  #moxie-tweet .tw-pluie { position: absolute; inset: 0; z-index: 4; opacity: 0; pointer-events: none; }
  #moxie-tweet .tw-pluie i { position: absolute; top: 0; width: .5cqh; min-width: 3px; height: 4cqh; border-radius: 99px; background: linear-gradient(180deg, rgba(64,150,230,0), rgba(64,150,230,.85)); }
  /* les textes */
  #moxie-tweet .tw-texte { position: absolute; z-index: 6; left: 7cqw; top: 50%; translate: 0 -50%; max-width: 40cqw; opacity: 0; pointer-events: none; }
  #moxie-tweet .tw-texte.tw-centre { left: 0; right: 0; top: 6cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
  #moxie-tweet .tw-texte h2 { font-size: clamp(46px, 14cqmin, 150px); font-weight: 700; letter-spacing: -0.05em; line-height: .96; font-variant-numeric: tabular-nums; }
  #moxie-tweet .tw-texte h3 { font-size: clamp(30px, 8cqmin, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; }
  #moxie-tweet .tw-texte p { margin-top: .45em; font-size: clamp(17px, 3.1cqmin, 27px); font-weight: 500; color: #4a5266; }
  #moxie-tweet .tw-texte b { color: var(--accent); font-weight: 600; transition: color .5s; }
  #moxie-tweet .tw-texte .tw-sur { display: block; margin-bottom: .35em; font-size: clamp(13px, 2.2cqmin, 18px); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  /* l'achat */
  #moxie-tweet .tw-achat { max-width: 1000px; margin: 24px auto 0; padding-inline: 16px; display: flex; align-items: center; justify-content: center; gap: 16px 26px; flex-wrap: wrap; }
  #moxie-tweet .tw-produit { display: flex; align-items: center; gap: 12px; }
  #moxie-tweet .tw-produit img { width: 56px; height: 56px; object-fit: contain; }
  #moxie-tweet .tw-produit strong { display: block; font-size: 17px; font-weight: 600; }
  #moxie-tweet .tw-produit small { font-size: 14px; color: #6e6e73; }
  #moxie-tweet .tw-pastilles { display: flex; gap: 12px; }
  #moxie-tweet .tw-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-tweet .tw-pastilles button[aria-pressed="true"] { outline: 2px solid #0071e3; outline-offset: 3px; }
  #moxie-tweet .tw-payer { display: flex; align-items: center; gap: 14px; }
  #moxie-tweet .tw-prix { font-size: 17px; font-weight: 600; white-space: nowrap; }
  #moxie-tweet .tw-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-tweet .tw-ajout:hover { background: #0077ed; }
  #moxie-tweet .tw-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; }
  #moxie-tweet [hidden] { display: none !important; }
  @media (max-width: 760px) {
    #moxie-tweet .tw-scene { height: 150vw; }
    #moxie-tweet .tw-texte { left: 0; right: 0; top: 5cqh; translate: none; max-width: none; text-align: center; padding-inline: 6cqw; }
    #moxie-tweet .tw-hp, #moxie-tweet .tw-boite { left: 50%; top: 66%; height: auto; width: 96cqw; }
    #moxie-tweet .tw-ondes, #moxie-tweet .tw-notes { left: 50%; top: 52cqh; }
    #moxie-tweet .tw-ondes i { width: 36cqw; height: 12cqw; }
    #moxie-tweet .tw-trio { top: 66%; height: auto; width: 46cqw; }
    #moxie-tweet .tw-trio:nth-of-type(4) { left: 20cqw; } #moxie-tweet .tw-trio:nth-of-type(5) { left: 50cqw; } #moxie-tweet .tw-trio:nth-of-type(6) { left: 80cqw; }
    #moxie-tweet .tw-achat { text-align: center; }
  }
