* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #ffffff;
  color: #11252f;
}
.hero { background: #1f6072; color: #fff; padding: 28px 0; }
.hero-inner {
  width: min(960px, 94vw);
  margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
}
.hero-mark {
  width: 58px; height: 58px; flex: 0 0 58px;
  background: #fff; border-radius: 13px;
  color: #0b859c; font-weight: 800; font-style: italic;
  font-size: 40px; line-height: 58px; text-align: center;
  font-family: Arial, sans-serif;
}
h1 { margin: 0; text-transform: uppercase; letter-spacing: 0.4px; font-size: 2rem; }
.container { width: 100%; max-width: 100%; margin: 0 0 30px; }
.intro { color: #33505c; font-size: 0.98rem; line-height: 1.5; margin: 0 0 18px; }

.search-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.pf-field { position: relative; flex: 1 1 320px; min-width: 220px; }
#pf-input {
  width: 100%;
  border: 0; border-bottom: 2px solid #9aaab3;
  background: #f6f9fa; color: #12303b;
  padding: 13px 14px; font-size: 1.05rem; letter-spacing: 0.5px;
}
#pf-input:focus { outline: none; border-bottom-color: #0c8ca9; background: #fff; }
button#pf-go {
  min-width: 150px; border: 0; color: #fff;
  background: linear-gradient(90deg, #175a6f, #0c8ca9);
  padding: 10px 22px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; cursor: pointer;
}
button#pf-go:disabled { opacity: 0.45; cursor: not-allowed; }

/* typeahead dropdown */
.suggest {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 2px);
  background: #fff; border: 1px solid #cfdae0; border-top: 0;
  max-height: 280px; overflow-y: auto; display: none;
  box-shadow: 0 8px 22px rgba(17,37,47,0.12);
}
.suggest.open { display: block; }
.suggest-item {
  padding: 10px 14px; cursor: pointer; display: flex;
  justify-content: space-between; gap: 10px; align-items: center;
  border-bottom: 1px solid #eef2f4;
}
.suggest-item:last-child { border-bottom: 0; }
.suggest-item.active, .suggest-item:hover { background: #eef7f9; }
.suggest-code { font-weight: 700; color: #17505f; }
.suggest-meta { font-size: 0.72rem; color: #7f8f98; text-transform: uppercase; letter-spacing: 0.4px; }

#pf-status { min-height: 18px; margin: 14px 0 0; color: #2b5d6e; font-size: 0.92rem; }

/* result card */
.result-card {
  margin-top: 18px; border: 1px solid #d8e0e4; background: #fff;
  display: grid; grid-template-columns: 220px 1fr; gap: 0;
}
.rc-imgwrap { background: #f4f7f9; border-right: 1px solid #e3e9ed; padding: 18px; position: relative; }
.rc-img { width: 100%; height: 180px; object-fit: contain; }
.rc-badge {
  position: absolute; top: 10px; left: 10px;
  background: #0c8ca9; color: #fff; font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 3px;
}
.rc-body { padding: 18px 20px; }
.rc-brands { display: flex; gap: 6px; margin-bottom: 8px; }
.rc-brand {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: #fff; padding: 4px 10px; border-radius: 3px;
}
.rc-brand.willard { background: #3b9b49; }
.rc-brand.sabat { background: #c81f3c; }
.rc-code { margin: 4px 0 2px; font-size: 1.9rem; line-height: 1; color: #23505f; font-weight: 700; }
.rc-tech { margin: 0 0 12px; font-size: 0.9rem; color: #5c6d75; }
.spec-list { margin: 0; padding-left: 18px; font-size: 0.8rem; color: #50626c; columns: 2; column-gap: 26px; }
.spec-list li { margin-bottom: 4px; break-inside: avoid; }
.no-match { margin-top: 18px; padding: 16px; background: #fbf3f3; border: 1px solid #f0d9d9; color: #9a4a4a; font-size: 0.92rem; }
.disclaimer { margin: 20px 0 0; font-size: 0.72rem; line-height: 1.4; color: #94a2aa; }
.image-note { margin: 6px 0 0; font-size: 0.62rem; color: #9aa8b0; }

@media (max-width: 640px) {
  h1 { font-size: 1.5rem; }
  .result-card { grid-template-columns: 1fr; }
  .rc-imgwrap { border-right: 0; border-bottom: 1px solid #e3e9ed; }
  .spec-list { columns: 1; }
}
