/* Mobile keeps all three comparison columns visible on each row. */
.pt-comparison-mobile-wrap { display: none; }
@media (max-width: 749px) {
  .pt-comparison-section { --comparison-accent: var(--tea-accent, var(--pt-brand-plum, #3b2b4c)); }
  .pt-comparison-section .pt-comparison-desktop { display: none; }
  .pt-comparison-section .pt-comparison-mobile-wrap { display: block; margin-top: 26px; }
  .pt-comparison-section .pt-mobile-compare {
    width: 100%; min-width: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0;
    background: #fff; color: #303030; border: 1px solid #ded8e3; border-radius: 7px;
    font-family: var(--pt-brand-body, 'DM Sans', Arial, sans-serif); text-align: start;
  }
  .pt-mobile-compare th, .pt-mobile-compare td {
    padding: 13px 9px; font-size: 13px; line-height: 1.45; vertical-align: middle;
    text-align: start; overflow-wrap: break-word; hyphens: none;
  }
  .pt-mobile-compare thead th { position: sticky; top: 0; z-index: 2; background: #f7f4f9; font-weight: 700; font-size: 12px; }
  .pt-mobile-compare thead th:first-child { width: 33%; border-start-start-radius: 6px; }
  .pt-mobile-compare thead th:last-child { border-start-end-radius: 6px; }
  .pt-mobile-compare thead th:nth-child(2) { background: var(--comparison-accent); color: #fff; }
  .pt-mobile-compare tbody th { font-weight: 600; }
  .pt-mobile-compare tbody td:nth-child(2) { background: color-mix(in srgb, var(--comparison-accent) 6%, white); }
  .pt-mobile-compare tbody tr > * { border-top: 1px solid #e7e1e9; }
  .pt-mobile-compare tr > * + * { border-inline-start: 1px solid #e7e1e9; }
  .pt-mobile-compare-binary thead th:first-child { width: 54%; }
  .pt-mobile-compare-binary tbody th { font-size: 14px; }
  .pt-mobile-compare-binary tr > :nth-child(n+2) { text-align: center; }
  .pt-mobile-compare .pt-comparison-mark { display: block; margin: auto; }
  .pt-mobile-compare td:nth-child(2) .pt-comparison-mark { color: var(--comparison-accent); }
  .pt-comparison-section .pt-mobile-compare .pt-mobile-compare-image {
    display: block; width: 56px; max-width: 100%; height: 56px; margin: 9px auto 0;
    padding: 3px; border-radius: 4px; background: #fff; object-fit: contain;
  }
  .pt-comparison-section h2 { text-wrap: balance; }
}

/* Product headers use the same compact images as the Oolong comparison. */
.pt-comparison-section .pt-tea-comparison .pt-mobile-compare-image {
  display: block; width: 80px; height: 80px; margin: 10px auto 0; padding: 4px;
  background: #fff; border-radius: 4px; object-fit: contain;
}
.pt-comparison-section .pt-tea-comparison thead th:nth-child(n+2) { text-align: center; }
@media (max-width: 749px) {
  .pt-comparison-section .pt-mobile-compare .pt-comparison-name { display: block; min-height: 2.9em; }
  .pt-comparison-section .pt-mobile-compare thead th:nth-child(n+2) { text-align: center; }
}
