@media (max-width: 1000px) {
  .table-wrap { display: block !important; overflow-x: auto; }
  .cards, .card-list, #cards { display: none !important; }

  /* Whisky: show only first 3 columns */
  table.whisky { min-width: 0 !important; width: 100% !important; }
  table.whisky th:nth-child(n+4),
  table.whisky td:nth-child(n+4) { display: none !important; }

  /* Mobile card box - 2 column detail grid */
  #mobile-card-box { display: block !important; margin: 8px 0 16px; }
  #mobile-card-box .detail-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }
  #mobile-card-box .detail-grid > div {
    display: block;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #faf8f4;
    box-sizing: border-box;
  }
  #mobile-card-box .detail-grid dt { font-weight: bold; font-size: .78rem; color: #555; }
  #mobile-card-box .detail-grid dd { margin: 2px 0 0; word-break: break-word; font-size: .85rem; }

  /* Also apply to detail rows if used */
  tr.detail .detail-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }
  tr.detail .detail-grid > div {
    padding: 8px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #faf8f4;
    box-sizing: border-box;
  }
}
