/* wpDataTables: Compare plan table  */

a[data-link-content="wpdt-link-content"] button,
.wpdt-c.wpDataTableContainerConfigSimpleTable
  table
  td
  a[data-link-content="wpdt-link-content"]
  button,
.wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable
  td.wpdt-cell
  a[data-link-content="wpdt-link-content"]
  button {
  background-color: var(--violet) !important;
  border: none;
  border-radius: 100px !important;
  padding: 12px 24px !important;
  text-decoration: none;
  font-size: var(--fs-text-sm) !important;
  color: #fff;
  cursor: pointer;
  word-break: break-word;
}

.wpdt-cell {
  width: 160px !important;
}

.plan-compare-table,
.wpDataTablesWrapper.plan-compare-table {
  --pt-accent: #1f57ff;
  --pt-accent-bg: #d7e4ff;
  --pt-card-bg: #f9fcff;
  --pt-line: #cfe0ff;
  --pt-text: #223047;
  --pt-muted: #5c6a82;
}

.wpdt-c.wpDataTableContainerSimpleTable {
  margin-bottom: 0;
  background: var(--color-gray-100);
  border-radius: 12px;
}

.specification-compare-table .wpdt-c.wpDataTableContainerSimpleTable {
  background: #468bdf;
}

.wpDataTablesWrapper {
  overflow-x: hidden;
}

.wpDataTablesWrapper table.wpDataTable {
  border: none;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  width: 100%;
  min-width: 760px;
}

.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable {
  border: none;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  width: 100% !important;
  min-width: max-content;
  background-color: transparent !important;
}

.woodmart-specialty-compare-table
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable {
  min-width: 500px;
}

.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable tbody td,
.wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  td.wpdt-cell,
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable thead th {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background-color: transparent !important;
  height: auto !important;
  padding: 14px 20px !important;
  line-height: var(--lh-normal);
  vertical-align: middle !important;
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
  word-break: normal !important;
}

.wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td {
  border-bottom: 1px solid var(--color-gray-100) !important;
}

.wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr:last-child
  > td {
  border-bottom: none !important;
}

.wpDataTablesWrapper table.wpDataTable > tbody > tr > td:not(:first-child) {
  text-align: center;
  /* 	color: var(--pt-text); */
  /* 	font-size:var(--fs-text-sm); */
}

/* column 1 */
.wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:first-child {
  font-weight: 600;
  text-align: left;
}

.woodmart-specialty-compare-table
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:first-child {
  width: 25% !important;
}

/* column 2 */
.plan-compare-table:not(.endocavity)
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:nth-child(2),
.woodmart-specialty-compare-table.highlight-left
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:nth-child(2),
.woodmart-specialty-compare-table.highlight-right
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:nth-child(3),
.plan-compare-table.endocavity
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:nth-child(3),
.plan-compare-table.endocavity
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:nth-child(4) {
  font-weight: 600;
  text-align: center;
  background: var(--color-gray-50) !important;
  padding: 20px !important;
  font-size: 16px;
}

.plan-compare-table
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr:not(:last-child)
  > td:nth-child(2),
.woodmart-specialty-compare-table.highlight-left
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr:not(:last-child)
  > td:nth-child(2),
.woodmart-specialty-compare-table.highlight-right
  .wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:nth-child(3) {
  font-size: 18px;
}

.wpdt-c.wpDataTableContainerSimpleTable
  .wpdtSimpleTable.wpDataTable
  tbody
  tr
  > td:not(:first-child) {
  text-align: center;
}

/* row 1 */
.wpDataTablesWrapper table.wpDataTable > tbody > tr:first-child {
  font-weight: 600;
  font-size: 16px;
}

/* plan-compare-table row end */
.plan-compare-table
  .wpDataTablesWrapper
  table.wpDataTable
  > tbody
  > tr:last-child {
  font-weight: 600;
  font-size: 22px;
  /* 	background: var(--wd-primary-color); */
  background-color: transparent;
  background-image: linear-gradient(
    145deg,
    var(--e-global-color-95005ee) 0%,
    var(--e-global-color-0273c91) 100%
  );
}

/* row 1 - column 2 */
.plan-compare-table:not(.endocavity)
  .wpDataTablesWrapper
  table.wpDataTable
  > tbody
  > tr:first-child
  td:nth-child(2),
.woodmart-specialty-compare-table.highlight-left
  .wpDataTablesWrapper
  table.wpDataTable
  > tbody
  > tr:first-child
  td:nth-child(2),
.woodmart-specialty-compare-table.highlight-right
  .wpDataTablesWrapper
  table.wpDataTable
  > tbody
  > tr:first-child
  td:nth-child(3) {
  font-weight: 600;
  font-size: 20px !important;
}

/* Mobile: sticky first column + horizontal scroll */
@media (max-width: 1300px) {
  .wpDataTablesWrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wpdt-c.wpDataTableContainerSimpleTable.wdtscroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wpdt-c.wpDataTableContainerSimpleTable.wdtscroll table.wpdtSimpleTable {
    width: max-content !important;
  }

  .plan-compare-table {
    min-width: 860px;
  }

  /* plan-compare-table col 1 */
  .plan-compare-table
    .wpDataTablesWrapper
    table.wpDataTable
    > thead
    > tr:first-child
    > th:first-child,
  .plan-compare-table
    .wpDataTablesWrapper
    table.wpDataTable
    > tbody
    > tr:last-child
    > td:first-child {
    background-image: linear-gradient(
      145deg,
      var(--e-global-color-95005ee) 0%,
      var(--e-global-color-0273c91) 100%
    );
  }

  .wpDataTablesWrapper
    table.wpDataTable
    > thead
    > tr:first-child
    > th:first-child,
  .wpDataTablesWrapper table.wpDataTable > tbody > tr > td:first-child {
    background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 85%);
  }

  .specification-compare-table
    .wpDataTablesWrapper
    table.wpDataTable
    > thead
    > tr:first-child
    > th:first-child,
  .specification-compare-table
    .wpDataTablesWrapper
    table.wpDataTable
    > tbody
    > tr
    > td:first-child {
    background: linear-gradient(90deg, #468bdf 0%, #468bdf 85%);
  }

  .wpDataTablesWrapper
    table.wpDataTable
    > thead
    > tr:first-child
    > th:first-child,
  .wpDataTablesWrapper table.wpDataTable > tbody > tr > td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    /* 		background: linear-gradient(90deg, var(--e-global-color-95005ee) 0%, var(--e-global-color-95005ee) 85%); */
    background-color: transparent;
  }

  .wpDataTablesWrapper
    table.wpDataTable
    > thead
    > tr:first-child
    > th:first-child {
    z-index: 3;
    /* 		background: linear-gradient(90deg, var(--pt-accent-bg) 0%, var(--pt-accent-bg) 85%, rgba(215, 228, 255, 0) 100%); */
  }

  .plan-compare-table
    .wpDataTablesWrapper
    table.wpDataTable
    > tbody
    > tr
    > td:first-child {
    /* 				box-shadow: 10px 0 18px rgba(31, 87, 255, 0.06); */
    /* 		font-size: var(--fs-text-base); */
  }

  a[data-link-content="wpdt-link-content"] button,
  .wpdt-c.wpDataTableContainerConfigSimpleTable
    table
    td
    a[data-link-content="wpdt-link-content"]
    button,
  .wpdt-c.wpDataTableContainerSimpleTable
    .wpdtSimpleTable
    td.wpdt-cell
    a[data-link-content="wpdt-link-content"]
    button {
    padding: 10px 16px !important;
  }

  /* row end */
  .plan-compare-table
    .wpDataTablesWrapper
    table.wpDataTable
    > tbody
    > tr:last-child {
    font-size: 18px;
  }
  /* column 2 not end */
  .plan-compare-table.wpdt-c.wpDataTableContainerSimpleTable
    .wpdtSimpleTable.wpDataTable
    tbody
    tr:not(:last-child)
    > td:nth-child(2),
  .plan-compare-table
    .wpdt-c.wpDataTableContainerSimpleTable
    .wpdtSimpleTable.wpDataTable
    tbody
    tr:not(:last-child)
    > td:nth-child(2),
  .wpdt-c.wpDataTableContainerSimpleTable.plan-compare-table
    .wpdtSimpleTable.wpDataTable
    tbody
    tr:not(:last-child)
    > td:nth-child(2) {
    font-size: 16px;
  }
  /* row 1 - column 2 */
  .plan-compare-table:not(.endocavity)
    .wpDataTablesWrapper
    table.wpDataTable
    > tbody
    > tr:first-child
    td:nth-child(2),
  .plan-compare-table
    .wpDataTablesWrapper
    table.wpDataTable
    > tbody
    > tr:first-child
    td:nth-child(3),
  .plan-compare-table
    .wpDataTablesWrapper
    table.wpDataTable
    > tbody
    > tr:first-child
    td:nth-child(4) {
    font-size: 18px !important;
  }

  .wpdt-cell {
    width: 120px !important;
  }
}
