.table table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    font-size: var(--body-font-size-s);
}

.table table tr td:first-child > p {
  font-size: var(--body-font-size-m);
}

.table table tbody tr {
    border-bottom: 1px solid;
}

.table table th {
    font-weight: 400;
}

.table table th,
.table table td {
    padding: 8px 16px;
    text-align: left;
}

/* bordered variant */
.table.bordered table th,
.table.bordered table td {
  border: 1px solid var(--table-border-color, #dee2e6);
}

/* hidden, used for references */
.table.hidden {
  display: none;
}

/* no header variant */
.product .table.no-header tr {
    border: none;
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
    position: relative;
}

/* striped variant */
.table.striped tbody tr:nth-child(odd) {
  background-color: var(--overlay-background-color);
}

.product .table.no-header td {
  background-color: var(--bg-color-light-blue, --brand-color-secondary-3);
  color: var(--table-text-color, var(--brand-color-primary-1));
  display: flex;
  align-items: center;
  padding: 1.25rem;
}

.product .table.no-header tr td:last-child {
  display: none;
}

.product .table.no-header td img {
  height: 34px;
  margin-right: 20px;
  position: absolute;
  left: 10px;
  width: auto;
  transform: translateY(-50%);
  top: 30%;
}

.product .table.no-header td > p {
  margin: 0;
}

.product .table.no-header .tooltip-content p {
  margin: 0;
}

.product .table.no-header td:first-child > p {
  margin: 0 0 0 60px;
  font-weight: 700;
}

.product .table.no-header .table-row-tooltip td:first-child {
  justify-content: space-between;
}

.product .table.no-header .table-tooltip {
  position: relative;
}

.product .table.no-header .tooltip-button i {
  font-size: 1.5rem;
  color: var(--table-tooltip-color, var(--brand-color-primary-2));
}

.product .table.no-header .tooltip-content {
  position: absolute;
  width: 200px;
  opacity: 0;
  transition: opacity .3s;
  z-index: 1;
  background-color: var(--text-color);
  padding: 10px;
  transform: translateY(-50%);
  right: 40px;
  top: calc(50% - var(--tooltip-y-offset, 0px));
  color: var(--light-color);
  font-size: var(--body-font-size-xm);
  margin: 0;
  text-align: center;
}

.product .table.no-header .tooltip-content.tooltip-visible {
  opacity: 1;
}

.product .table.no-header .tooltip-content::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 5px 0;
  border-color: #000 transparent transparent;
  position: absolute;
  right: -7px;
  transform: rotate(32deg);
  top: 50%;
  top: calc(50% + var(--tooltip-y-offset, 0px) + var(--tooltip-y-offset, 0px));
  bottom: 50%;
  margin-block: auto;
}

.product .table.no-header .tooltip-content h3 {
  font-size: var(--body-font-size-m);
  margin-top: 0;
  color: var(--tooltip-title-color, var(--light-text-color));
}

@media (width >= 768px) {
  .table table {
    font-size: var(--body-font-size-m);
  }

  .product .table.no-header tr {
    flex-direction: row;
    gap: 5px;
  }

  .product .table.no-header td {
    width: 50%;
  }

  .product .table.no-header td img {
    top: 50%;
  }

  .product .table.no-header .tooltip-content {
    left: 40px;
    right: unset;
  }

  .product .table.no-header .tooltip-content::before {
    left: -7px;
    right: unset;
    transform: rotate(-32deg);
  }
}

@media (width < 768px) {
  .product .table.no-header td:first-child {
    padding-bottom: 0;
  }

  .product .table.no-header td:not(:first-child) {
    padding-top: 0;
  }

  .product .table.no-header td > p {
    margin: 0 0 0 60px;
  }

  .product .table.no-header td img {
    top: 40%;
}
}
