.oea-comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 7px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.1);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.oea-comparison-table-wrapper:not(.no-scrollbar) {
  cursor: grab;
}

.oea-comparison-table-wrapper:not(.no-scrollbar):active,
.oea-comparison-table-wrapper:not(.no-scrollbar).is-dragging {
  cursor: grabbing;
}

.oea-comparison-table-wrapper a,
.oea-comparison-table-wrapper .button {
  cursor: pointer;
}

.oea-comparison-table-wrapper::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.oea-comparison-table-wrapper.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.oea-comparison-table-wrapper.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.oea-comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 16px;
}

.oea-comparison-table th,
.oea-comparison-table td {
  width: 300px;
  padding: 1rem;
  text-align: center;
  border-left: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
  word-wrap: break-word;
}

.oea-comparison-table th:first-child,
.oea-comparison-table td:first-child {
  background-color: #f0f0f0;
  width: 200px;
}

.oea-comparison-table th ol,
.oea-comparison-table td ol {
  padding-inline: 1rem;
  text-align: left;
}

.oea-comparison-table.featured-second-column td:nth-child(2),
.oea-comparison-table.featured-second-column th:nth-child(2) {
  border-left: 2px solid red;
  border-right: 2px solid red;
}

.oea-comparison-table.featured-second-column th:nth-child(2) {
  box-shadow: inset 0px 2px 0px red;
}

.oea-comparison-table.featured-second-column tr:last-child td:nth-child(2) {
  box-shadow: inset 0px -2px 0px red;
}

.oea-comparison-table .button {
  margin: 0;
  display: inline-block;
  font-size: 1em;
  line-height: 20px;
  padding: 13px 20px;
  text-transform: uppercase;
  background: #ff6200;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  white-space: nowrap;
  transition: all 0.6s ease;
}

.oea-comparison-table .button a {
  color: #fff;
}

.oea-comparison-table .button:hover {
  background: #000;
}

.oea-comparison-table th {
  text-align: center;
  border-top: none;
}

.oea-comparison-table th .oea-comparison-table-image {
  display: block;
  margin: 0 auto;
  max-height: 160px;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
}

.oea-comparison-table th .button {
  margin: 0;
  margin-top: 1rem;
}

.oea-comparison-table th .oea-column-name {
  color: #000000;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  margin-top: 0.5rem;
  align-content: center;
}

.oea-comparison-table th .oea-column-short-description {
  color: #7a7a7a;
  font-weight: normal;
  font-size: 15px;
  line-height: 22px;
  text-align: center;
}

.oea-comparison-table th .rating-numbers {
  margin-top: 0.5rem;
  color: #ff9900;
  text-align: center;
  line-height: normal;
}

.oea-comparison-table th .rating-stars {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.oea-comparison-table th .rating-stars .full-star {
  color: #ff9900;
}

.oea-comparison-table th .rating-stars .empty-star {
  color: #ddd;
}

.oea-comparison-table th .rating-stars .star-wrapper {
  position: relative;
  display: inline-block;
}

.oea-comparison-table th .rating-stars .partial-star {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  color: #ff9900;
}

.oea-comparison-table td:first-child,
.oea-comparison-table th:first-child {
  border-left: none;
  text-align: center;
  font-weight: 700;
}

.oea-comparison-table tr:nth-child(even) {
  background-color: #f3f3f3;
}

@media (max-width: 768px) {
  .oea-comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.1);
  }

  .oea-comparison-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 12px;
  }

  .oea-comparison-table th,
  .oea-comparison-table td {
    padding: 6px;
    border: 1px solid #e0e0e0;
    text-align: center;
    width: 200px;
    vertical-align: middle;
    word-wrap: break-word;
  }

  .oea-comparison-table th:first-child,
  .oea-comparison-table td:first-child {
    width: 100px;
  }

  .oea-comparison-table th {
    background-color: #f9f9f9;
    font-weight: bold;
    text-align: center;
    padding: 12px;
  }

  .oea-comparison-table td {
    background-color: #fff;
  }

  .oea-comparison-table img {
    max-width: 40px;
    max-height: 40px;
    display: block;
    margin: 0 auto;
  }

  .oea-comparison-table th .rating-stars {
    font-size: 1rem;
  }

  .oea-comparison-table a {
    color: #007bff;
    text-decoration: none;
  }

  .oea-comparison-table a:hover {
    text-decoration: underline;
  }

  .oea-comparison-table .highlight {
    background-color: #f0f8ff;
    font-weight: bold;
  }
}
