/*
Theme Name: Trapper Direct
Description: Classic, function-first theme for Trapper Direct — a clearinghouse for furs, skulls, bones, tails, and hide/leather supplies.
Author: Trapper Direct
Version: 1.0
Text Domain: trapper-direct
*/

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Verdana, Geneva, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: #1a1a1a;
    background: #f2f0e9;
}

a { color: #0000cc; }
a:visited { color: #551a8b; }
a:hover { color: #cc0000; }

img { max-width: 100%; height: auto; display: block; }

.td-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header */
.td-header {
    background: #2b2b1f;
    color: #f2f0e9;
    border-bottom: 4px solid #7a5c2e;
}
.td-header .td-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}
.td-header a { color: #f2f0e9; text-decoration: none; }
.td-site-title {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.td-tagline {
    font-size: 12px;
    color: #cfc9b4;
    display: block;
}
.td-nav ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 13px;
}
.td-nav a { text-decoration: underline; }

/* Notice bar */
.td-notice {
    background: #fff8d6;
    border-bottom: 1px solid #d8c98a;
    font-size: 12.5px;
    padding: 6px 10px;
    text-align: center;
}

/* Layout */
.td-main { padding: 14px 0 30px; }

table.td-listing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 13.5px;
}
table.td-listing-table th,
table.td-listing-table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    text-align: left;
    vertical-align: top;
}
table.td-listing-table th {
    background: #e7e2d3;
}
table.td-listing-table tr:nth-child(even) td { background: #fafaf5; }

.td-listing-thumb { width: 60px; }
.td-listing-thumb img { width: 56px; height: 56px; object-fit: cover; border: 1px solid #ccc; }

.td-freshness {
    color: #2b6e2b;
    font-weight: bold;
    font-size: 12px;
}
.td-freshness.stale { color: #a05a00; }

.td-section-title {
    font-size: 16px;
    font-weight: bold;
    background: #dfd9c4;
    border: 1px solid #c9c0a0;
    padding: 5px 8px;
    margin: 20px 0 6px;
}

.td-specimen-facts {
    list-style: none;
    margin: 8px 0;
    padding: 8px;
    background: #fff;
    border: 1px dashed #b5ac8f;
    font-size: 13px;
}
.td-specimen-facts li { margin: 2px 0; }

.td-cat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 10px 0;
}
.td-cat-grid a {
    display: block;
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px 10px;
    text-decoration: none;
    font-weight: bold;
}
.td-cat-grid a:hover { background: #fff8d6; }

/* Notify box */
.td-notify-box {
    border: 1px solid #999;
    background: #eef2ff;
    padding: 10px;
    margin: 12px 0;
    font-size: 13px;
}
.td-notify-box input[type="email"],
.td-notify-box input[type="text"] {
    padding: 5px;
    width: 100%;
    max-width: 260px;
    margin: 4px 0;
}
.td-notify-box .td-optin-note {
    font-size: 11px;
    color: #555;
}

/* Footer */
.td-footer {
    background: #2b2b1f;
    color: #cfc9b4;
    font-size: 12px;
    text-align: center;
    padding: 16px 10px 30px;
    margin-top: 30px;
}
.td-footer a { color: #f2f0e9; }

/* Mobile-first: default styles above are already single-column/stacked.
   Widen up at larger breakpoints only. */
@media (min-width: 700px) {
    .td-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .td-header .td-wrap { flex-wrap: nowrap; }
}
