/* Aide « ? » des tarifs (27/10/2026) : rond bien visible à côté de chaque prix, fenêtre courte. */
.price-help-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  padding: 0;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: #fff;
  color: #1a1d1b;
  font: 800 16px/1 inherit;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.price-help-button:hover,
.price-help-button:focus-visible { background: #f7e225; transform: scale(1.06); }
.price-help-button:focus-visible { outline: 3px solid rgba(247, 226, 37, .55); outline-offset: 2px; }

.product-price .price-help-button { align-self: center; }

/* Total de la demande (fond sombre) : rond clair. */
.quote-total-label { display: inline-flex; align-items: center; }
.quote-total-summary .price-help-button { width: 32px; height: 32px; border-color: #f7e225; background: transparent; color: #f7e225; }
.quote-total-summary .price-help-button:hover,
.quote-total-summary .price-help-button:focus-visible { background: #f7e225; border-color: #f7e225; color: #1a1d1b; }

/* Fenêtre (28/10/2026) : plus large, titres plus grands et soulignés, une puce par point, pas de traits de
   séparation ; deux colonnes quand l'écran le permet. */
.price-help-modal .price-help-panel {
  width: min(760px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  overflow: auto;
  padding: 24px 26px 20px;
  border-radius: 14px;
}
.price-help-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.price-help-head h2 { margin: 0; font-size: 23px; }
.price-help-head .modal-close { position: static; }
.price-help-modal .price-help-product { margin: 0 0 10px; color: #5f6559; font-size: 14px; font-weight: 600; }
.price-help-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.price-help-section { min-width: 0; }
.price-help-modal .price-help-section h3 {
  display: inline-block;
  margin: 0 0 8px;
  padding-bottom: 3px;
  border-bottom: 3px solid #f7e225;
  color: #1a1d1b;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.25;
}
.price-help-modal .price-help-section ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.price-help-modal .price-help-section li { position: relative; padding-left: 18px; color: #3e443a; font-size: 14px; line-height: 1.45; }
.price-help-modal .price-help-section li::before {
  content: '';
  position: absolute;
  top: .55em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #1a1d1b;
}
.price-help-link { display: inline-block; margin-top: 10px; color: #1a1d1b; font-size: 13px; font-weight: 700; text-decoration: underline; }

@media (max-width: 640px) {
  .price-help-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .price-help-modal .price-help-panel { padding: 20px 18px 16px; }
}
@media (max-width: 560px) {
  .price-help-button { width: 28px; height: 28px; margin-left: 8px; font-size: 15px; }
}

/* Au-dessus de la fiche matériel et de la demande. */
.modal.price-help-modal { z-index: 140; }
