/* AXO Tarifs. Styles isoles : n'affectent pas les autres tableaux du site. */
.axo-tarifs {
  --axo-tarifs-accent: var(--primary, #daad6c);
  --axo-tarifs-surface: var(--second, #29292e);
  --axo-tarifs-border: rgba(255, 255, 255, .11);
  color: #f7f5f2;
  width: 100%;
  margin-bottom: 20px;
}

.axo-tarifs *,
.axo-tarifs *::before,
.axo-tarifs *::after {
  box-sizing: border-box;
}

.axo-tarifs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
  align-items: start;
}

.axo-tarifs__group-heading {
  grid-column: 1 / -1;
  padding-top: 8px;
}

.axo-tarifs__group-heading h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.3;
}

.axo-tarifs__group-heading h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  margin-right: 12px;
  vertical-align: -.12em;
  background: var(--axo-tarifs-accent);
  border-radius: 3px;
}

.axo-tarifs__card {
  background: var(--axo-tarifs-surface);
  border: 1px solid var(--axo-tarifs-border);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.axo-tarifs__card-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--axo-tarifs-border);
  background: linear-gradient(90deg, rgba(218, 173, 108, .10), transparent 75%);
}

.axo-tarifs__title {
  margin: 0;
  padding-left: 13px;
  border-left: 3px solid var(--axo-tarifs-accent);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.axo-tarifs__table {
  display: table;
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: transparent;
  color: inherit;
  table-layout: auto;
}

.axo-tarifs__table thead {
  background: rgba(0, 0, 0, .13);
}

.axo-tarifs__table thead th {
  padding: 10px 22px;
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.axo-tarifs__table thead th:last-child {
  text-align: right;
}

.axo-tarifs__table tbody tr+tr {
  border-top: 1px solid var(--axo-tarifs-border);
}

.axo-tarifs__table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .025);
}

.axo-tarifs__table tbody tr:hover {
  background: rgba(218, 173, 108, .065);
}

.axo-tarifs__table tbody th,
.axo-tarifs__table tbody td {
  border: 0;
  padding: 15px 22px;
  vertical-align: middle;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.axo-tarifs__table tbody th {
  text-align: left;
  font-weight: 500;
  color: #fff;
}

.axo-tarifs__price {
  text-align: right;
  width: 1%;
  white-space: nowrap;
}

.axo-tarifs__price-value {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--axo-tarifs-accent);
  color: #211a12;
  font-size: .95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.axo-tarifs__unit {
  margin-left: 3px;
  font-size: .82em;
  font-weight: 600;
}

.axo-tarifs__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.axo-tarifs__error {
  margin: 1rem 0;
}

@media (max-width: 575.98px) {
  .axo-tarifs__grid {
    gap: 17px;
  }

  .axo-tarifs__card {
    border-radius: 11px;
  }

  .axo-tarifs__card-header {
    padding: 17px 16px;
  }

  .axo-tarifs__table thead th {
    padding: 10px 16px;
  }

  .axo-tarifs__table tbody th,
  .axo-tarifs__table tbody td {
    padding: 13px 16px;
  }

  .axo-tarifs__table tbody th {
    font-size: .94rem;
  }

  .axo-tarifs__price-value {
    font-size: .87rem;
    padding: 5px 7px;
  }
}