.section.product-compare-table {
  margin-top: 64px;
  margin-bottom: 64px;
  text-align: center;

  .product-compare-table__header {
    text-align: center;
    margin-bottom: 26px;
  }

  .product-compare-table__header h2 {
    font-family: "Basis Grotesque", sans-serif;
    font-weight: 700;
    font-size: 34px;
    line-height: 100%;

    @media (max-width: 767px) {
      font-size: 26px;
    }
  }

  .product-compare-table__header h3 {
    font-family: "Basis Grotesque", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
  }

  .product-compare-table__product-header {
    text-decoration: underline;
    padding-bottom: 20px;
    font-size: 18px;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .product-compare-table__product-header-title {
    font-weight: 700;
  }

  .product-compare-table__product-header-link {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    width: 100%;
  }

  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .product-compare-table__grid {
    display: grid;
    grid-template-columns: 0.75fr 1fr 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    font-size: 14px;
  }

  .product-compare-table__label-cell {
    font-family: "Basis Grotesque", sans-serif;
    font-weight: 700;
    background-color: #eceae0;
    border-top: 1px solid #c4c4c4;
    border-left: 1px solid #c4c4c4;
    border-right: 1px solid #c4c4c4;
    text-align: left;
    font-size: 16px;
    padding: 32px 16px;
  }

  .product-compare-table__info-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 10px;
    border-top: 1px solid #c4c4c4;
    font-weight: 700;
  }

  .desktop-border-bottom {
    border-bottom: 1px solid #c4c4c4;
  }

  .product-compare-table__col-1 {
    background-color: #c3dd934d;
  }

  .product-compare-table__cta {
    display: flex;
    justify-content: center;
    padding: 27px 0;
  }

  .product-compare-table__cta a {
    display: block;
    width: 140px;
    height: 43px;
    border: 1px solid black;
    line-height: 43px;
    font-family: "Basis Grotesque", sans-serif;
    font-weight: 700;
    font-size: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .product-compare-table__cta a:hover {
    background-color: #000000;
    color: #ffffff;
  }

  span {
    vertical-align: super;
    font-size: 0.3em;
    /* Adjust size as needed */
  }

  @media (max-width: 880px) {
    .desktop-border-bottom {
      border-bottom: 0;
    }

    .product-compare-table__grid {
      grid-template-columns: repeat(3, minmax(33%, 1fr));
      grid-template-rows: repeat(8, auto);
      grid-auto-flow: column;
    }

    .product-compare-table__label-cell {
      grid-column: 1 / 4;
      text-align: center;
      font-size: 14px;
      padding: 8px 0;
      border: 1px solid #c4c4c4 !important;
    }

    .product-compare-table__info-cell {
      border-top: 0;
      font-size: 12px;
      padding: 32px 8px;
    }

    .product-compare-table__label-1 {
      grid-row: 2 / 3;
    }

    .product-compare-table__label-2 {
      grid-row: 4 / 5;
    }

    .product-compare-table__label-3 {
      grid-row: 6 / 7;
    }

    .empty-rows {
      display: none;
    }

    .product-compare-table__product-header {
      font-size: 14px;
      padding: 8px;
    }

    .product-compare-table__cta a {
      width: 100px;
      font-size: 11px;
    }
  }

  @media (max-width: 640px) {
    .product-compare-table__grid {
      margin: 0 -20px;
      padding: 0 8px;
    }

    .product-compare-table__info-cell {
      font-size: 11px;
      padding: 24px 4px;
    }

    .product-compare-table__product-header {
      font-size: 12px;
      padding: 8px 4px;
    }

    .product-compare-table__cta {
      padding: 20px 0;
    }

    .product-compare-table__cta a {
      width: 90px;
      height: 38px;
      line-height: 38px;
      font-size: 10px;
    }
  }
}
