.ts-comparison-table {
  display: grid;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  margin: 40px auto;
  max-width: 100%;
  padding: 0 10px;
}

.ts-table-header,
.ts-table-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  align-items: center;
  border-radius: 12px;
  column-gap: 12px;
}

.ts-table-header {
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: #673de6;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  text-align: center;
}

.ts-table-row {
  background: inherit;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 16px 12px;
  border-radius: 12px;
}
.ts-items-cont {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 16px 12px;
    border-radius: 12px;
}

.ts-item-details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ts-item-details img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #f9f9f9;
}

.ts-title {
  color: #c62828;
  margin-bottom: 2px;
}

.ts-title a {
  color: #c62828;
  margin-bottom: 2px;
}

.ts-title a:hover {
  color: #673de6;
  margin-bottom: 2px;
}

.ts-desc {
  color: #555;
  line-height: 1.3;
}

.ts-pack {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: center;
  padding: 18px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ts-col.ts-pack:not(:last-child) {
  border-right: 2px dotted #ccc;
}

.ts-price-row {
  background: #f5f5f5;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  padding: 18px 0;
  border-radius: 12px;
  margin-top: 10px;
  border-top: 2px solid #eee;
}

.ts-item-price-label {
  color: #7b1fa2;
  font-weight: bold;
  font-size: 15px;
}

.ts-col.ts-pack:nth-child(2) { background-color: #d4ff8f; }
.ts-col.ts-pack:nth-child(3) { background-color: #a5f1f8; }
.ts-col.ts-pack:nth-child(4) { background-color: #ffde76; }


/* Scroll wrapper for responsive behavior */
.ts-comparison-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1024px) {
  .ts-comparison-table {
    min-width: 700px;
  }

  .ts-title,
  .ts-desc,
  .ts-pack,
  .ts-price-row {
    font-size: 14px;
    padding: 12px 8px;
  }

  .ts-table-header {
    font-size: 14px;
  }

  .ts-item-details img {
    width: 48px;
    height: 48px;
  }
}
