/* Comparison tables */
.comparison-table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
}
.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  min-width: 7.5rem;
}
.comparison-table thead th {
  background: #2d2a24;
  color: #f8f6f0;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 3px solid #d4a853;
}
.comparison-table tbody tr { background: #fff; }
.comparison-table tbody tr:nth-child(even) { background: #f8f6f0; }
.comparison-table td { border-top: 1px solid #e8e4dc; }
.comparison-table tbody tr:first-child td { border-top: none; }
.comparison-table td:first-child,
.comparison-table th:first-child {
  position: sticky;
  left: 0;
  font-weight: 600;
  min-width: 6rem;
}
.comparison-table td:first-child { background: inherit; box-shadow: 1px 0 0 #e8e4dc; }
@media (max-width: 640px) {
  .comparison-table { font-size: 0.88rem; }
  .comparison-table th,
  .comparison-table td { padding: 0.6rem 0.75rem; min-width: 6.5rem; }
}
@media (max-width: 640px) {
  .comparison-table.stack-mobile { display: table; overflow: visible; border: none; background: transparent; }
  .comparison-table.stack-mobile thead { display: none; }
  .comparison-table.stack-mobile,
  .comparison-table.stack-mobile tbody,
  .comparison-table.stack-mobile tr,
  .comparison-table.stack-mobile td { display: block; width: 100%; }
  .comparison-table.stack-mobile tbody tr,
  .comparison-table.stack-mobile tbody tr:nth-child(even) {
    background: #fff;
    border: 1px solid #e8e4dc;
    border-top: 3px solid #d4a853;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .comparison-table.stack-mobile td,
  .comparison-table.stack-mobile td:first-child {
    position: static;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    border-top: 1px solid #f0ede6;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
  }
  .comparison-table.stack-mobile td:first-child { font-family: Georgia, 'Times New Roman', Times, serif; font-size: 1.05rem; background: #f8f6f0; border-top: none; }
  .comparison-table.stack-mobile td:first-child::before { display: none; }
  .comparison-table.stack-mobile td::before { content: attr(data-label); font-weight: 600; color: #8a8278; flex: 0 0 5.5rem; }
  .comparison-table.stack-mobile td { text-align: right; }
  .comparison-table.stack-mobile td:first-child { text-align: left; }
}
