/* The native Avada container owns the full-width surface and site width. */
.bckfc-categories__table {
  color: inherit;
}

.bckfc-categories__table tr {
  border-bottom: 1px solid var(--bckfc-gray);
}

.bckfc-categories__table tbody tr:last-child {
  border-bottom: 0;
}

.bckfc-categories__name,
.bckfc-categories__prize {
  width: 25%;
}

.bckfc-categories__prize {
  font-weight: 600;
}

.bckfc-categories__footer {
  padding: var(--bckfc-space-4);
  border-top: 1px solid var(--bckfc-border);
  background: var(--bckfc-white);
}

@media (max-width: 767px) {
  .bckfc-categories__table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    gap: var(--bckfc-space-2) var(--bckfc-space-3);
    padding: var(--bckfc-space-3);
  }

  .bckfc-categories__table :is(th, td) {
    width: auto;
  }

  .bckfc-categories__prize {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  .bckfc-categories__description {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .bckfc-categories__description:empty,
  .bckfc-categories__prize:empty {
    display: none;
  }
}

.bckfc-categories__separator {
  margin-inline: var(--bckfc-space-2);
  color: var(--bckfc-muted);
  font-size: var(--bckfc-text-item);
  line-height: 0;
  vertical-align: middle;
}
