/* EverythingOutboards Mercury shared stylesheet */
:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #262626; font: 16px/1.55 Arial, sans-serif; }
a { color: #9f1422; } a:hover { color: #6b1019; }
.site { max-width: 1120px; margin: auto; padding: 0 20px 60px; }
nav { padding: 17px 0; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
nav a { color: #303030; text-decoration: none; }
.brand { background: #171717; color: white; padding: 25px 28px; border-bottom: 5px solid #c8102e; }
.brand strong { color: #f02b35; font-size: 34px; font-style: italic; letter-spacing: 1px; display: block; line-height: 1.2; }
.brand span { font-size: 14px; letter-spacing: 1px; }
h1 { font-size: 28px; line-height: 1.25; } h2 { font-size: 21px; }
.intro { max-width: 800px; }
.tile, .tool-card, .ebay { border: 1px solid #dedede; border-radius: 5px; padding: 18px; background: white; }
.tile { margin: 14px 0; } .tile h2 { margin: 0 0 8px; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr); gap: 20px; margin-top: 22px; }
.factory-image { width: 100%; max-height: 300px; object-fit: contain; display: block; margin: auto; }
.ebay { border-top: 4px solid #c8102e; margin-top: 20px; }
.ebay-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #ddd; }
.ebay-item img { width: 75px; height: 75px; object-fit: contain; }
.ebay-item a { overflow-wrap: anywhere; }
.ebay-price { font-weight: bold; display: block; }
#tool-search { width: 100%; padding: 13px; font-size: 17px; border: 1px solid #999; border-radius: 4px; }
#tool-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 20px; }
.result { display: flex; gap: 12px; border: 1px solid #ddd; border-radius: 5px; padding: 10px; color: #222; text-decoration: none; min-height: 105px; }
.result:hover { border-color: #c8102e; }
.result img { width: 95px; height: 80px; object-fit: contain; flex-shrink: 0; }
.result strong { display: block; color: #9f1422; overflow-wrap: anywhere; }
.result small { display: block; color: #555; }
button { background: #b8172b; color: white; border: 0; padding: 11px 18px; border-radius: 4px; cursor: pointer; }
footer { border-top: 1px solid #ddd; padding-top: 20px; margin-top: 45px; color: #666; font-size: 13px; }
@media(max-width: 700px) { .tool-layout { grid-template-columns: 1fr; } .brand strong { font-size: 28px; } }

/* Compact searchable text index */
.tool-index-table { width:100%; border-collapse:collapse; margin-top:12px; }
.tool-index-table th { text-align:left; background:#f3f3f3; border-bottom:2px solid #c8102e; padding:10px 12px; }
.tool-index-table td { padding:8px 12px; border-bottom:1px solid #dedede; vertical-align:top; }
.tool-index-table th:first-child, .tool-index-table td:first-child { width:34%; }
.tool-index-table tbody tr:hover { background:#fafafa; }
.tool-index-table a { overflow-wrap:anywhere; }
@media(max-width:500px) { .tool-index-table th, .tool-index-table td { padding:8px 5px; } }
