/* collect.css - what every Collect page shares (owner 2026-10-12): the page title line (one size everywhere) and the
   short button labels of a phone. Each page keeps its own sheet for the rest; phone rules there sit under 767.98px. */
.page-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 14px; }
.page-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
.page-count { color: #6c757d; font-size: .9rem; }
.page-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lbl-short { display: none; }

@media (max-width: 767.98px) {
    .page-content-top { margin-top: 1.25rem !important; }   /* clear of the fixed top bar (body padding is 40px, the bar 55px) */
    .page-title { font-size: 1.2rem; }
    .page-head { margin-bottom: 10px; }
    .lbl-long { display: none; }
    .lbl-short { display: inline; }
    /* a phone uses the whole width: less side room and lighter cards */
    body > .container, body > .container-fluid { padding-left: 10px; padding-right: 10px; }
    .card-body { padding: .75rem; }
    .card-header { padding: .5rem .75rem; }
}

/* eBay price page (ebayPriceHTML.php; its own ebayPrice.css is not loaded) - the phone: each result is one row - picture, the title across, then price, shipping, total and
   condition on one line with the eBay button; no table head, nothing runs off the screen; the hint line is left out */
@media (max-width: 767.98px) {
    #searchForm .form-text { display: none; }
    #tableView .table-responsive { overflow: visible; }
    #tableView table thead { display: none; }
    #tableView table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid #dee2e6; }
    #tableView table td { border: 0; padding: 0; white-space: normal !important; font-size: .85rem; }
    #tableView table td:nth-child(1) img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
    #tableView table td:nth-child(2) { flex: 1 1 calc(100% - 70px); min-width: 0; }
    #tableView table td:nth-child(2) .item-title { max-width: none; white-space: normal; font-weight: 600; }
    #tableView table td:nth-child(3)::before { content: "Price "; color: #6c757d; }
    #tableView table td:nth-child(4)::before { content: "+ ship "; color: #6c757d; }
    #tableView table td:nth-child(5)::before { content: "= "; color: #6c757d; }
    #tableView table td:nth-child(6) { color: #6c757d; }
    #tableView table td:nth-child(7) { margin-left: auto; }
}
