/* Complete /endotoxins/endotoxins.css (mise en page commune des calculateurs). */
.ys-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ys-table th, .ys-table td { padding: .4rem .5rem; text-align: right; border-bottom: 1px solid var(--line, rgba(128,128,128,.25)); }
.ys-table th:first-child, .ys-table td:first-child { text-align: left; }
.ys-table tr[data-best] td { font-weight: 600; }
.ys-wrap { overflow-x: auto; }
.ys-tag { display: inline-block; white-space: nowrap; line-height: 1.5; margin-left: .35rem; padding: 0 .4rem; border-radius: 999px; font-size: .72rem; border: 1px solid currentColor; opacity: .8; font-weight: 500; }
#sizes { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
#sizes label.endo-check { flex-direction: row !important; width: auto; margin: 0; }
#sizes label.endo-check input { width: auto; margin: 0; flex: none; }
.ys-table td:not(:first-child) { white-space: nowrap; }
@media (min-width: 1000px) { .endo-grid { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); } }
.ys-why { font-size: .9rem; margin: .5rem 0; } .ys-why summary { cursor: pointer; }

.ys-combo { position: relative; }
.ys-combo input { width: 100%; }
#product-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: .25rem 0; list-style: none; max-height: 18rem; overflow-y: auto;
  background: var(--card); color: var(--text); border: 1px solid var(--border-strong, var(--border)); border-radius: 6px; box-shadow: var(--shadow-2, 0 8px 24px rgba(0,0,0,.25)); }
#product-list[hidden] { display: none; }
#product-list .ys-cat { padding: .35rem .75rem .15rem; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#product-list .ys-opt { padding: .4rem .75rem; cursor: pointer; }
#product-list .ys-opt:hover, #product-list .ys-opt.on { background: var(--hover); }
#product-list .ys-opt[aria-selected="true"] { color: var(--accent); font-weight: 600; }
#product-list .ys-none { padding: .5rem .75rem; color: var(--muted); }
.ys-need { font-size: .8rem; opacity: .7; font-weight: 400; }
.ys-table td.ys-buy { text-align: right; line-height: 1.3; }
@media (max-width: 520px) {
  .ys-table { font-size: .74rem; }
  .ys-table th, .ys-table td { padding: .3rem .2rem; }
  .ys-table th { font-size: .62rem; letter-spacing: 0; }
  .ys-tag { margin-left: 0; margin-top: .15rem; display: table; font-size: .6rem; padding: 0 .3rem; }
  .ys-need { font-size: .68rem; }
}
