/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red:      #CC3333;
  --red-dark: #a82828;
  --red-lt:   #fdf2f2;
  --dark:     #212121;
  --dark2:    #111111;
  --gold:     #F59E0B;
  --gray-50:  #F7F7F7;
  --gray-100: #F0F0F0;
  --gray-200: #E0E0E0;
  --gray-400: #9E9E9E;
  --gray-600: #555555;
  --gray-800: #111111;
  --green:    #2D6A4F;
  --orange:   #D97706;
  --purple:   #6B21A8;
  --radius:   10px;
  --radius-pill: 9999px;
  --shadow:   0 2px 10px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,.14);
  --sidebar:  268px;
}
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  min-height: 100vh;
}

/* ── Top nav bar ── */
.top-nav {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 0 28px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.top-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.top-nav-logo img {
  height: 36px;
  width: auto;
}
.top-nav-logo-text {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.01em;
}
.top-nav-divider {
  width: 1px;
  height: 22px;
  background: var(--gray-200);
}
.top-nav-subtitle {
  font-size: .82rem;
  color: var(--gray-400);
  font-weight: 500;
}
.top-nav-cta {
  margin-left: auto;
  font-size: .8rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .15s;
  white-space: nowrap;
}
.top-nav-cta:hover { color: var(--red-dark); }
/* Floating share button — bottom-right */
.share-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 800;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: .75rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.share-fab:hover { border-color: var(--dark); color: var(--dark); box-shadow: 0 4px 14px rgba(0,0,0,.18); }

/* ── Hero banner ── */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  background: var(--red);
  border-radius: 50%;
  opacity: .12;
  pointer-events: none;
}
.hero-inner {
  max-width: 860px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.hero-stat span {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.45);
}
#result-count-hero {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--red);
}

/* ── Layout ── */
.layout {
  display: flex;
  gap: 0;
  min-height: calc(100vh - 64px - 148px);
}

/* ── Sidebar ── */
aside {
  width: var(--sidebar);
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--gray-200);
  padding: 16px;
  overflow-y: auto;
  position: sticky;
  top: 0;
  height: calc(100vh - 64px - 148px);
}
aside h2 {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin: 18px 0 8px;
}
aside h2:first-child { margin-top: 0; }

/* ── Filter accordions ── */
.filter-section summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.filter-section summary::-webkit-details-marker { display: none; }
.filter-section summary h2 { margin: 18px 0 0; flex: 1; }
.filter-chevron {
  font-size: .7rem;
  color: var(--gray-400);
  transition: transform .2s;
  flex-shrink: 0;
  margin-top: 18px;
}
.filter-section[open] .filter-chevron { transform: rotate(180deg); }
.filter-section .filter-body {
  padding-top: 8px;
  max-height: 240px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
  scrollbar-gutter: stable;
}
.filter-section .filter-body::-webkit-scrollbar { width: 4px; }
.filter-section .filter-body::-webkit-scrollbar-track { background: transparent; }
.filter-section .filter-body::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 99px;
}
/* Fade-out gradient — only shown when content overflows */
.filter-section .filter-body {
  position: relative;
}
.filter-section .filter-body.is-scrollable::after {
  content: '';
  display: block;
  position: sticky;
  bottom: 0;
  left: 0; right: 0;
  height: 32px;
  margin-top: -32px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}

#search {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  background: var(--gray-50);
}
#search:focus { border-color: var(--red); background: #fff; }

.filter-group { display: flex; flex-direction: column; gap: 5px; }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  cursor: pointer;
  padding: 2px 0;
}
.filter-group label:hover { color: var(--red); }
.filter-group input[type=checkbox] {
  accent-color: var(--red);
  width: 14px; height: 14px;
  flex-shrink: 0;
}

.depth-filters { display: flex; flex-direction: column; gap: 5px; }
.depth-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  cursor: pointer;
}
.depth-filter-row input { accent-color: var(--teal); }
.depth-sm { color: #607D8B; font-size: .78rem; letter-spacing: 1px; }

#clear-btn {
  width: 100%;
  margin-top: 20px;
  padding: 8px;
  background: var(--dark);
  border: none;
  border-radius: var(--radius-pill);
  font-size: .8rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: background .15s;
  letter-spacing: .02em;
}
#clear-btn:hover { background: var(--red); }

/* ── Drawer close button (mobile only) ── */
#drawer-close-btn {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--gray-400);
  line-height: 1;
  padding: 2px 4px;
}
#drawer-close-btn:hover { color: var(--red); }
.drawer-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.drawer-header-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
}

/* ── Main content ── */
main {
  flex: 1;
  padding: 20px 22px;
  min-width: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.toolbar-label { font-size: .8rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sort-row { display: flex; align-items: center; gap: 8px; }
.sort-btn {
  padding: 5px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .8rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-600);
  transition: all .15s;
}
.sort-btn:hover { border-color: var(--dark); color: var(--dark); }
.sort-btn.active {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

/* Mobile filter toggle (hidden on desktop) */
#filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .82rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--gray-600);
  transition: all .15s;
  margin-right: auto;
}
#filter-toggle-btn:hover { border-color: var(--dark); color: var(--dark); }
.filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
}

/* Drawer overlay (mobile) */
#drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 899;
}
#drawer-overlay.visible { display: block; }

/* ── Card grid ── */
#grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 16px;
}

/* ── Pagination ── */
#pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding-bottom: 12px;
}
#pagination button {
  padding: 7px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .82rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--gray-600);
  transition: all .15s;
}
#pagination button:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
#pagination button:disabled { opacity: .35; cursor: not-allowed; }
#page-indicator {
  font-size: .8rem;
  color: var(--gray-400);
  font-weight: 600;
  white-space: nowrap;
}

/* ── Card ── */
.card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s, border-color .2s;
  overflow: hidden;
  cursor: pointer;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--gray-400);
}
.card.expanded {
  transform: none;
  box-shadow: 0 0 0 2px var(--red), var(--shadow-hover);
  border-color: var(--red);
}

.card-header {
  padding: 14px 15px 10px;
}
.card-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.chip {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}
.chip-brand        { background: #fce8e8; color: var(--red-dark); }
.chip-service      { background: #E8F4FD; color: #1565C0; }
.chip-user         { background: #E3F2FD; color: #0D47A1; }
.chip-user-manual  { background: #E0F2F1; color: #00695C; }
.chip-spare        { background: #E8F5E9; color: #2E7D32; }
.chip-maint        { background: #FFF8E1; color: #F57F17; }
.chip-bg           { background: var(--gray-100); color: var(--gray-600); }
.chip-test         { background: #EDE7F6; color: #4527A0; }
.chip-tech         { background: #FCE4EC; color: #880E4F; }

.card-title {
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--dark);
  letter-spacing: -.01em;
}
.card-stars {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}
.depth-lg { color: #607D8B; font-size: 1rem; letter-spacing: 2px; }
.depth-label { font-size: .74rem; color: var(--gray-400); font-weight: 600; }
.complexity-bar {
  height: 3px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}
.complexity-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #2D6A4F, #F59E0B, #CC3333);
}

/* Expand hint */
.expand-hint {
  font-size: .7rem;
  color: var(--gray-400);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 3px;
  user-select: none;
}
.expand-caret {
  display: inline-block;
  transition: transform .2s;
}
.card.expanded .expand-caret { transform: rotate(180deg); }

.card-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 8px 0;
}

/* Specs mini-grid */
.specs-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  padding: 0 15px 10px;
}
.spec-item { font-size: .78rem; }
.spec-label { color: var(--gray-400); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-bottom: 1px; }
.spec-value { font-weight: 700; color: var(--dark); }
.spec-value.na { color: var(--gray-400); font-weight: 400; }

/* Features list */
.features-list {
  padding: 0 15px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature-tag {
  font-size: .75rem;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.feature-tag::before { content: '•'; color: var(--red); flex-shrink: 0; font-weight: 900; }

/* Expanded detail */
.card-detail {
  display: none;
  padding: 0 15px 12px;
  border-top: 1px solid var(--gray-100);
}
.card.expanded .card-detail { display: block; }
.detail-section { margin-top: 12px; }
.detail-section h4 {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  font-weight: 700;
  margin-bottom: 7px;
}
.specs-table {
  width: 100%;
  font-size: .8rem;
  border-collapse: collapse;
}
.specs-table td {
  padding: 5px 6px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.specs-table td:first-child {
  width: 38%;
  color: var(--gray-400);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
}
.rationale-text {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-top: 4px;
  font-style: italic;
}
.word-count {
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: 8px;
}

/* Card footer with PDF actions */
.card-footer {
  padding: 0 15px 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s, transform .1s;
  border: none;
  cursor: pointer;
  letter-spacing: .01em;
}
.btn-view:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-view svg { width: 13px; height: 13px; flex-shrink: 0; }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s, transform .1s;
  border: none;
  cursor: pointer;
  letter-spacing: .01em;
}
.btn-download:hover { background: #000; transform: translateY(-1px); }
.btn-download svg { width: 13px; height: 13px; flex-shrink: 0; }

/* No results */
#no-results {
  display: none;
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-400);
  font-size: .95rem;
}

/* SEO text — visually hidden but fully indexable by crawlers */
.seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── PDF Viewer Modal ── */
#pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#pdf-modal.open { display: flex; }
.pdf-modal-box {
  background: var(--dark);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 960px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.pdf-modal-title {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdf-modal-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.pdf-modal-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: .76rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.pdf-modal-dl:hover { background: var(--red-dark); }
.pdf-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: background .15s;
}
.pdf-modal-close:hover { background: var(--red); }
.pdf-modal-frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #525659;
}

/* ── Terms modal ── */
#terms-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#terms-modal.open { display: flex; }
.terms-modal-box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.terms-modal-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 12px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.terms-modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  flex: 1;
}
.terms-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 50%;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: background .15s, color .15s;
}
.terms-modal-close:hover { background: var(--red); color: #fff; }
.terms-modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  font-size: .82rem;
  line-height: 1.8;
  color: var(--gray-600);
}
.terms-modal-body h2 {
  font-size: .92rem;
  font-weight: 800;
  color: var(--dark);
  margin: 24px 0 8px;
}
.terms-modal-body h2:first-child { margin-top: 0; }
.terms-modal-body p { margin: 0 0 12px; }
.terms-modal-body ul { margin: 0 0 12px 20px; }
.terms-modal-body li { margin-bottom: 4px; }
.terms-modal-body ol { margin: 0 0 12px 20px; }
.terms-modal-body ol li { margin-bottom: 4px; }

/* ── Footer ── */
footer {
  background: var(--dark2);
  color: rgba(255,255,255,.55);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: .8rem;
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-brand img { height: 28px; width: 28px; margin-bottom: 4px; opacity: .8; }
.footer-brand strong { color: #fff; font-size: .88rem; }
footer a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .15s; }
footer a:hover { color: var(--red); }
.footer-source {
  font-size: .76rem;
  color: rgba(255,255,255,.35);
  max-width: 360px;
  line-height: 1.6;
}
.footer-source a { color: rgba(255,255,255,.4); }
.footer-source a:hover { color: var(--red); }
.footer-product {
  font-size: .76rem;
  color: rgba(255,255,255,.35);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  line-height: 1.6;
}
.footer-product a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .15s;
}
.footer-product a:hover { color: var(--red); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .layout { flex-direction: column; }

  /* Sidebar becomes off-canvas drawer */
  aside {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 300px;
    z-index: 900;
    transform: translateX(-100%);
    transition: transform .25s ease;
    overflow-y: auto;
    height: 100%;
    border-right: 1px solid var(--gray-200);
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
  }
  aside.drawer-open { transform: translateX(0); }

  /* Show mobile-only elements */
  #filter-toggle-btn { display: inline-flex; }
  #drawer-close-btn  { display: block; }

  .sort-row { flex-basis: 100%; }
  #grid { grid-template-columns: 1fr; }
  .top-nav-subtitle { display: none; }
  .top-nav-logo-text { display: none; }
  .top-nav-divider { display: none; }
  .hero h1 { font-size: 1.3rem; }
  .pdf-modal-box { height: 96vh; }
}
@media (min-width: 769px) {
  #filter-toggle-btn { display: none !important; }
  #drawer-close-btn  { display: none !important; }
  #drawer-overlay    { display: none !important; }
}

/* ── Suggest-a-manual (inside footer) ────────────────────────────────────── */
.footer-suggest {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 20px;
}
.footer-suggest-cta {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  margin: 0;
  line-height: 1.5;
  text-align: center;
}
.footer-suggest-cta a {
  color: var(--red);
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-suggest-cta a:hover { color: #e05555; }
/* collapsible form area */
.suggest-form-wrap {
  display: none;
  margin-top: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  max-width: 640px;
  margin: 18px auto 0;
  text-align: left;
}
.suggest-form-wrap.open { display: block; }
.suggest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.suggest-field {
  margin-bottom: 12px;
}
.suggest-field label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.4);
  margin-bottom: 5px;
}
.suggest-field label span {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,.25);
}
.suggest-field input,
.suggest-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 11px;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 6px;
  font-family: inherit;
  font-size: .85rem;
  color: #fff;
  background: rgba(255,255,255,.07);
  outline: none;
  transition: border-color .15s, background .15s;
}
.suggest-field input::placeholder { color: rgba(255,255,255,.25); }
.suggest-field input:focus,
.suggest-field select:focus {
  border-color: var(--red);
  background: rgba(255,255,255,.11);
}
.suggest-field select option { background: #222; color: #fff; }
/* "Other brand" text input — hidden until "Other" is selected */
#sug-brand-other-wrap { display: none; margin-top: 6px; }
#sug-brand-other-wrap.visible { display: block; }
.suggest-preview {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 10px 13px;
  font-family: 'Courier New', Courier, monospace;
  font-size: .76rem;
  line-height: 1.6;
  color: rgba(255,255,255,.65);
  overflow-x: auto;
  white-space: pre;
  margin: 0;
}
.suggest-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-suggest-copy {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
}
.btn-suggest-copy:hover { background: var(--red-dark); }
.btn-suggest-email {
  background: transparent;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s, border-color .15s;
}
.btn-suggest-email:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.suggest-dismiss {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color .15s;
}
.suggest-dismiss:hover { color: rgba(255,255,255,.65); }
@media (max-width: 600px) {
  .suggest-row { grid-template-columns: 1fr; gap: 0; }
  .footer-suggest-cta { font-size: .9rem; }
}
