:is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table) {
  width: 100%;
  margin: 1.25rem 0;
  border: 1px solid #d9e2ee;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgb(15 23 42 / 5%);
  color: #24324a;
  font-size: .9375rem;
  line-height: 1.6;
}

table.rfm-product-description-table > caption {
  display: table-caption;
  caption-side: top;
  padding: 0 0 .625rem;
  background: transparent;
  color: #1e3456;
  font-size: 1rem;
  font-weight: 700;
  text-align: start;
  overflow-wrap: anywhere;
}

:is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table)
  > :is(thead, tbody, tfoot) > tr > :is(th, td) {
  padding: .75rem 1rem !important;
  border: 0 !important;
  border-block-end: 1px solid #e3e9f2 !important;
  border-inline-end: 1px solid #e3e9f2 !important;
  background: #fff;
  color: inherit;
  text-align: start;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

:is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table)
  > tbody > tr:nth-child(even) > td {
  background: #f4f7fc;
}

table.rfm-product-description-table.rfm-product-description-table-highlight
  > tbody:first-of-type > tr:first-child > td {
  background: #e3edfb;
  color: #18345b;
  font-weight: 700;
}

.rfm-product-description-table-accordion {
  margin: 1.25rem 0;
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  background: #fff;
}

.rfm-product-description-table-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: inherit;
  background: #f4f7fc;
  color: #1e3456;
  font-weight: 700;
  overflow-wrap: anywhere;
  cursor: pointer;
  list-style: none;
}

.rfm-product-description-table-accordion > summary::-webkit-details-marker {
  display: none;
}

.rfm-product-description-table-accordion > summary::after {
  content: '';
  flex: 0 0 auto;
  width: .5rem;
  height: .5rem;
  margin-inline-end: .25rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-.125rem) rotate(45deg);
}

.rfm-product-description-table-accordion[open] > summary {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
  border-bottom: 1px solid #d9e2ee;
}

.rfm-product-description-table-accordion[open] > summary::after {
  transform: translateY(.125rem) rotate(225deg);
}

.rfm-product-description-table-accordion > summary:focus-visible {
  outline: 2px solid #31558c;
  outline-offset: -3px;
}

.rfm-product-description-table-accordion > table.rfm-product-description-table {
  margin: 0;
  border: 0;
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  box-shadow: none;
}

:is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table)
  > :is(thead, tbody, tfoot) > tr > th {
  background: #eaf0f9;
  color: #1e3456;
  font-weight: 700;
}

:is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table)
  > :is(thead, tbody, tfoot) > tr > :last-child {
  border-inline-end: 0 !important;
}

:is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table)
  > :is(thead, tbody, tfoot):last-child > tr:last-child > :is(th, td) {
  border-block-end: 0 !important;
}

@media (max-width: 600px) {
  :is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table)
    > :is(thead, tbody, tfoot) > tr > :is(th, td) {
    padding: .625rem .75rem !important;
  }

  :is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table):has(> :is(thead, tbody, tfoot) > tr > :nth-child(4)) {
    display: block;
    overflow-x: auto;
  }

  :is(table.rfm-product-description-table, .woocommerce-Tabs-panel--description table, .rfm-product-description table):has(> :is(thead, tbody, tfoot) > tr > :nth-child(4))
    > :is(thead, tbody, tfoot) > tr > :is(th, td) {
    min-width: 6rem;
  }
}
