/* Styles de l'écran bundle (Lots). Tout est préfixé par .e-bundle et passe par les variables de core.css. */
.e-bundle .lot-haut { display: flex; align-items: center; min-height: 26px; }
.e-bundle .hero { background: var(--hero); color: var(--sur-hero); border-radius: var(--r-4) var(--r-4) var(--r-4) var(--r-1); padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; box-shadow: var(--ombre); }
.e-bundle .hero::before { content: ""; position: absolute; right: -80px; top: -100px; width: 240px; height: 240px; border-radius: 50%; background: var(--hero-2); }
.e-bundle .hero > * { position: relative; }
.e-bundle .hero-haut { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.e-bundle .hero .etiquette { color: var(--sur-hero-2); }
.e-bundle .hero-decision { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-22); line-height: 1.12; letter-spacing: -.01em; color: var(--sur-hero); }
.e-bundle .hero-appui { color: var(--sur-hero-2); font-size: var(--t-13); }
.e-bundle .hero-trait { height: 1px; background: var(--hero-2); margin: 6px 0 2px; }
.e-bundle .hero-gain { font-size: clamp(2.6rem, 17cqw, 3.6rem); line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.e-bundle .hero-compare { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--sur-hero-2); font-size: var(--t-13); }
.e-bundle .hero-ecart { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 2px 8px; }
.e-bundle .hero-compare.sans-croissance { flex-direction: column; align-items: flex-start; gap: 2px; }
.e-bundle .hero-nd { color: var(--sur-hero); font-weight: 700; }
.e-bundle .decoupe { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; margin-top: 12px; background: var(--hero-2); }
.e-bundle .decoupe i, .e-bundle .decoupe-leg i { display: block; }
.e-bundle .decoupe i { min-width: 4px; }
.e-bundle .d-base { background: var(--sur-hero-2); }
.e-bundle .d-gain { background: var(--c4); }
.e-bundle .decoupe-leg { display: flex; flex-direction: column; gap: 5px; font-size: var(--t-13); color: var(--sur-hero-2); }
.e-bundle .decoupe-leg span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.e-bundle .decoupe-leg i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.e-bundle .decoupe-leg b { margin-left: auto; color: var(--sur-hero); font-variant-numeric: tabular-nums; }
.e-bundle .hero-lien { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; color: var(--sur-hero); font-weight: 700; font-size: var(--t-13); text-decoration: underline; text-underline-offset: 3px; }
.e-bundle .hero-lien .ico { width: 16px; height: 16px; }

/* bloc repliable : comment on compte, limites */
.e-bundle .compte { background: var(--surface); border-radius: var(--r-3) var(--r-3) var(--r-3) var(--r-1); box-shadow: var(--ombre); min-width: 0; }
.e-bundle .compte summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; cursor: pointer; font-family: var(--f-titre); font-weight: 800; font-size: var(--t-15); line-height: 1.2; }
.e-bundle .compte summary::-webkit-details-marker { display: none; }
.e-bundle .compte summary > .ico { width: 20px; height: 20px; flex: none; color: var(--c4); }
.e-bundle .compte summary > span { flex: 1; min-width: 0; }
.e-bundle .compte summary > .bascule { color: var(--encre-2); transition: transform .2s ease; }
.e-bundle .compte[open] summary > .bascule { transform: rotate(180deg); }
.e-bundle .compte-corps { display: flex; flex-direction: column; gap: 12px; padding: 0 14px 16px; }
.e-bundle .compte-def { font-size: var(--t-15); line-height: 1.45; }
.e-bundle .compte-liste { margin: 6px 0 0; padding-left: 18px; list-style: disc; display: flex; flex-direction: column; gap: 6px; font-size: var(--t-13); color: var(--encre-2); line-height: 1.4; }

/* palier : pastille du multiplicateur, à la place de la photo produit */
.e-bundle .pal-x { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 8px; border-radius: 10px 10px 10px 3px; background: var(--c4-doux); color: var(--c4); font-size: var(--t-15); font-weight: 800; margin-bottom: 4px; }
.e-bundle .pal-x.pet { min-width: 34px; height: 28px; margin: 0; font-size: var(--t-13); }
.e-bundle .paliers-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.e-bundle .paliers-cartes.plus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.e-bundle .pal-carte { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 10px 10px 12px; min-width: 0; min-height: 40px; background: var(--surface); border: 1.5px solid var(--trait); color: var(--encre); border-radius: var(--r-3) var(--r-3) var(--r-3) var(--r-1); }
.e-bundle .pal-carte.best { border-color: var(--c4); background: var(--c4-doux); }
.e-bundle .pal-nom { font-family: var(--f-titre); font-weight: 800; font-size: var(--t-13); line-height: 1.15; }
.e-bundle .pal-n { font-size: var(--t-30); line-height: 1; margin-top: 2px; }
.e-bundle .pal-carte small { color: var(--encre-2); font-size: var(--t-11); line-height: 1.25; }
.e-bundle .pal-carte small.est-bon-texte { color: var(--bon); font-weight: 700; }
.e-bundle .pal-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.e-bundle .pal-tags .pastille { font-size: var(--t-11); padding: 2px 6px; white-space: normal; text-align: left; max-width: 100%; line-height: 1.2; }

.e-bundle .evo-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.e-bundle .evo-tete > div:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.e-bundle .evo-total { font-size: var(--t-44); line-height: 1; }
.e-bundle .evo-tete small, .e-bundle .cumul-tete small { color: var(--encre-2); font-size: var(--t-13); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.e-bundle .cumul-tete { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.e-bundle .cumul-tete b { font-size: var(--t-44); line-height: 1; color: var(--c4); }

.e-bundle .verdict-pal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.e-bundle .vp { display: flex; flex-direction: column; gap: 2px; padding: 12px; min-width: 0; background: var(--surface-2); border-radius: var(--r-3) var(--r-3) var(--r-3) var(--r-1); }
.e-bundle .vp b { font-size: var(--t-22); line-height: 1.1; }
.e-bundle .vp small { color: var(--encre-2); font-size: var(--t-13); }

.e-bundle .f-tete { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 8px; }
.e-bundle .f-tete > div { display: flex; flex-direction: column; min-width: 0; }
.e-bundle .f-tete b { font-size: var(--t-30); line-height: 1; }
.e-bundle .f-tete small { color: var(--encre-2); font-size: var(--t-13); }
.e-bundle.f-boite, .e-bundle .f-boite { display: flex; flex-direction: column; gap: 12px; }
.e-bundle .carte-pied { display: flex; flex-direction: column; gap: 6px; }

/* ordinateur : hero plus large, cartes de palier plus aérées */
@container app (min-width: 700px) {
  .e-bundle .hero { padding: 26px 30px 22px; gap: 10px; }
  .e-bundle .hero-decision { font-size: var(--t-30); max-width: 30em; }
  .e-bundle .hero-appui { font-size: var(--t-15); }
  .e-bundle .hero-gain { font-size: 4.4rem; }
  .e-bundle .hero-compare, .e-bundle .decoupe-leg { font-size: var(--t-15); }
  .e-bundle .decoupe { height: 16px; }
  .e-bundle .paliers-cartes { gap: 14px; }
  .e-bundle .paliers-cartes.plus { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .e-bundle .pal-carte { padding: 16px 16px 18px; }
  .e-bundle .pal-n { font-size: var(--t-44); }
  .e-bundle .pal-nom { font-size: var(--t-15); }
  .e-bundle .pal-carte small { font-size: var(--t-13); }
  .e-bundle .compte summary { padding: 14px 20px; }
  .e-bundle .compte-corps { padding: 0 20px 20px; }
  .e-bundle .compte-def { max-width: 52em; }
}
