:root {
   --table-grid-template-columns-1: calc(var(--base-unit) * 100);
   --table-grid-template-columns-2: calc(var(--base-unit) * 252);
}


.table-one .table_one_title {
  color: var(--color-base-black);
  text-align: center;
  font-family: var(--font-family-primary);
  font-size: var(--font-display-lg-size);
  font-style: normal;
  font-weight: var(--font-display-lg-semibold-weight);
  line-height: var(--font-display-lg-line-height);
  letter-spacing: -0.73px; 
  padding: var(--spacing-5xl);
}
.table-one .table-one-main {
  overflow-y: auto;        
  scrollbar-width: thin;  
  scrollbar-color: #b9b9b9 #fff;
}

.table-one-main::-webkit-scrollbar {
  width: var(--spacing-md);             
}

.table-one-main::-webkit-scrollbar-track {
  background: #fff;     
  border-radius: var(--radius-10);            
}

.table-one-main-inner {
  border-radius: var(--radius-24);
  background: var(--color-base-white);
  box-shadow: 0vw 0vw 0.104vw 0vw rgba(145, 158, 171, 0.24), 0vw 0.833vw 1.667vw -0.208vw rgba(145, 158, 171, 0.24);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl);
  padding-right: var(--spacing-lg);
  max-height: var(--width-lg);       
}


.table-one-main::-webkit-scrollbar-thumb {
  background-color: #b9b9b9; 
  border-radius: var(--radius-10);      

}


.table-one .comparison-table {
  border: 0;
}
.table-one .comparison-table tr {
  display: grid;
  grid-template-columns: 1fr 1.3fr 3fr;
  grid-auto-flow: column;
}
.table-one .comparison-table tr td:not(:nth-child(2)),
.table-one .compare__table-head th:not(:nth-child(2)),
.table-one .comparison-table tfoot td:not(:nth-child(2)) {
  width: auto;
  box-sizing: border-box;
}
.table-one .comparison-table th,
.table-one .comparison-table td {
  padding: var(--spacing-3xl);
}
.table-one .comparison-table td {
  border-bottom: 1px solid var(--color-gray-200);
}
.table-one .comparison-table td {
  font-family: var(--font-family-primary);
  font-size: var(--font-text-lg-size);
  font-style: normal;
  font-weight: var(--font-text-lg-medium-weight);
  line-height: var(--font-text-lg-line-height);
  color: var(--color-gray-description);
}
.table-one .comparison-table td:nth-child(2) {
  color: var(--color-base-black);
}
.table-one .comparison-table tr td:first-child,
.table-one .comparison-table tr th:first-child {
  display: none;
}
.table-one .compare__table-head-item-title {
  color: var(--color-base-black);
  font-family: var(--font-family-primary);
  font-size: var(--font-display-sm-size);
  font-style: normal;
  font-weight: var(--font-display-md-semibold-weight);
  line-height: var(--font-display-md-line-height);
}
.table-one .compare__table-head .compare__table-head-item {
  text-align: left;
}
.table-one .compare__table-head th:nth-child(3) {
  align-content: center;
}
.table-one .compare__table-head th:nth-child(3) .compare__table-head-item {
  height: 100%;
}
.table-one .compare__table-head th:nth-child(3) .head-logo-wrap {
  padding: var(--spacing-sm);
  position: relative;
  height: 100%;
}
.table-one .compare__table-head th:nth-child(3) .head-logo-wrap:after {
  content: "";
  display: block;
  background: url(https://25298778.fs1.hubspotusercontent-eu1.net/hubfs/25298778/soax.svg) no-repeat center;
  background-size: contain;
  width: calc(var(--width-xs) / 2.8);
  height: var(--spacing-7xl);
}
.table-one .comparison-data-para {
  color: var(--color-gray-description);
  text-align: center;
  font-family: var(--font-family-primary);
  font-size: var(--font-text-sm-size);
  font-style: normal;
  font-weight: var(--font-text-sm-regular-weight);
  line-height: var(--font-text-sm-line-height);
}
.table-one .comparison-table tfoot td {
  border-bottom: 0;
}

.table-one .comparison-table .brackets {
  display: none;
}

.table-one .comparison-table td:nth-child(3) .brackets {
  display: contents;
  font-family: Fira Code, monospace !important;
}

.table-one .comparison-table td:nth-child(3) p {
    background: #0e1027!important;
    font-family: Fira Code, monospace !important;
    color: var(--white)!important;
  border-radius: 24px;
        padding: var(--spacing-sm) var(--spacing-lg);
   width: max-content;
}



.table-one .compare__table-head th:nth-child(3),
.table-one .comparison-table td:nth-child(3) {
  background: rgb(95 95 95 / 5%);
      color: var(--color-base-black);


}

.table-one .compare__table-head th:nth-child(3) {
  border-radius: var(--radius-24) var(--radius-24) 0 0;
}
.table-one .comparison-table tfoot td:nth-child(3) {
  border-radius: 0 0 var(--radius-24) var(--radius-24);
}
.table-one .comparison-table .compare-btn__btn {
  display: flex;
  padding: var(--spacing-lg) var(--spacing-2xl);
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: var(--radius-full);
  background: var(--color-brand-primary);
  box-shadow: var(--shadow-xs);
  box-sizing: border-box;
  color: var(--color-base-white);
  font-family: var(--font-family-primary);
  font-size: var(--font-text-lg-size);
  font-style: normal;
  font-weight: var(--font-text-lg-medium-weight);
  line-height: var(--font-text-lg-line-height);
  text-transform: capitalize;
  text-decoration: unset;
}
.table-one .compare__table-head th {
  background: transparent;
}
.table-one .comparison-table {
  margin: 0;
}
.table-one table, .table-one td, .table-one th {
  border: none;
}
.table-one .titles:has(.table_one_title) {
  padding: 0 !important;
}


.table-one .comparison-table .compare__table-body-row:last-child td {
  border-bottom: none;
}
.table-one .compare__table-body .compare__table-body-row:last-child td:nth-child(3) {
  border-bottom-left-radius: var(--radius-24);
  border-bottom-right-radius: var(--radius-24);
}

{# vw from 375 #}

@media (width <= 768px) {

  .table-one .table-one-main-wrapper {
    width: 100%;
    overflow-x: auto;
  }

  .table-one .table_one_title {
    color: var(--color-base-black);
    font-size: var(--font-display-xs-size);
    letter-spacing: -0.48px; /* Немає змінної */
    padding: 0 20px;
  }

  .table-one .table-one-main {
    padding: 4px;
    padding-bottom: 8px;
    border-radius: var(--radius-16);
    gap: 8px;
    width: fit-content;
  }

  .table-one .comparison-table tr td:not(:nth-child(2)),
  .table-one .compare__table-head th:not(:nth-child(2)),
  .table-one .comparison-table tfoot td:not(:nth-child(2)) {
    width: 231px;
    box-sizing: border-box;
  }

  .table-one .comparison-table th,
  .table-one .comparison-table td {
    padding: 12px;
  }

  .table-one .comparison-table th {
    padding-bottom: 20px;
  }

  .table-one .comparison-table td {
    border-bottom: 1px solid var(--color-gray-200);
  }

  .table-one .comparison-table td {
    color: var(--color-gray-description);
    font-size: var(--font-text-xs-size);
    line-height: var(--font-text-xs-line-height);
  }

  .table-one .compare__table-head-item-title {
    font-size: var(--font-text-md-size);
    font-weight: var(--font-text-md-semibold-weight);
    line-height: var(--font-text-xl-line-height);
  }

  .table-one .compare__table-head th:nth-child(3) .head-logo-wrap {
    padding: 7px;
  }

  .table-one .compare__table-head th:nth-child(3) .head-logo-wrap:after {
    width: 79px;
    height: 16px;
  }

  .table-one .comparison-data-para {
    color: var(--color-gray-description);
    font-size: var(--font-text-xs-size);
    line-height: var(--font-text-xs-line-height);
  }

  .table-one .compare__table-head th:nth-child(3) {
    border-radius: var(--radius-24) var(--radius-24) 0 0;
  }

  .table-one .comparison-table tfoot td:nth-child(3) {
    border-radius: 0 0 var(--radius-24) var(--radius-24);
  }

  .table-one .comparison-table .compare-btn__btn {
    height: 40px;
    padding: 8px 18px;
    gap: 8px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xs);
    font-size: var(--font-text-md-size);
    line-height: var(--font-text-md-line-height);
  }
}

