.bbq-m-search-page,
.bbq-m-search-page * {
  box-sizing: border-box;
}

.bbq-m-search-page {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0 32px;
  background: #fff;
  color: #242424;
}

.bbq-m-search-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e2e2;
  color: #6c6c6c;
  font-size: 12px;
  line-height: 1.4;
}

.bbq-m-search-breadcrumbs a {
  color: #242424;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bbq-m-search-hero {
  margin: 16px 12px 26px;
  padding: 26px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, #151515 0%, #2a2a2a 100%);
  color: #fff;
}

.bbq-m-search-kicker,
.bbq-m-search-section-heading > span,
.bbq-m-search-help span {
  display: block;
  margin: 0 0 8px;
  color: #ffd900;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bbq-m-search-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 8vw, 40px);
  line-height: 1.08;
}

.bbq-m-search-hero > p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #e1e1e1;
  font-size: 15px;
  line-height: 1.55;
}

.bbq-m-search-form {
  margin: 22px 0 0;
}

.bbq-m-search-form label {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.bbq-m-search-form-row {
  display: grid;
  clear: both;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
}

.bbq-m-search-form input,
.bbq-m-search-form button {
  min-height: 50px;
  border: 0;
  border-radius: 0;
  font: inherit;
}

.bbq-m-search-form input {
  min-width: 0;
  padding: 0 14px;
  border-radius: 4px 0 0 4px;
  background: #fff;
  color: #222;
  font-size: 16px;
}

.bbq-m-search-form button {
  padding: 0 18px;
  border-radius: 0 4px 4px 0;
  background: #e31b23;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.bbq-m-search-form button:focus-visible,
.bbq-m-search-form input:focus-visible,
.bbq-m-search-link-grid a:focus-visible,
.bbq-m-search-help a:focus-visible {
  outline: 3px solid #ffd900;
  outline-offset: 2px;
}

.bbq-m-search-hero .bbq-m-search-current {
  margin: 12px 0 0;
  color: #fff;
  font-size: 13px;
}

.bbq-m-search-results,
.bbq-m-search-browse {
  padding: 0 12px;
}

.bbq-m-search-browse {
  margin-top: 30px;
}

.bbq-m-search-section-heading {
  margin: 0 4px 14px;
}

.bbq-m-search-section-heading > span {
  color: #d81920;
}

.bbq-m-search-section-heading h2 {
  margin: 0;
  color: #242424;
  font-size: 25px;
  line-height: 1.15;
}

.bbq-m-search-section-heading p {
  margin: 8px 0 0;
  color: #646464;
  font-size: 14px;
  line-height: 1.5;
}

.bbq-m-search-results-panel {
  min-height: 150px;
  padding: 14px;
  border: 1px solid #d9d9d9;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

#lb-results {
  width: 100%;
  min-width: 0;
}

#lb-results:empty::before {
  display: block;
  padding: 38px 16px;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  content: "Search results will appear here.";
}

#lb-results img {
  max-width: 100%;
  height: auto;
}

.bbq-m-search-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bbq-m-search-link-grid a {
  display: flex;
  min-height: 110px;
  padding: 16px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 7px;
  flex-direction: column;
  justify-content: space-between;
  background: #f7f7f7;
  color: #242424;
  text-decoration: none;
}

.bbq-m-search-link-grid strong {
  font-size: 16px;
  line-height: 1.25;
}

.bbq-m-search-link-grid span {
  margin-top: 12px;
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.bbq-m-search-help {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 30px 12px 0;
  padding: 20px;
  border-radius: 7px;
  justify-content: space-between;
  background: #202020;
  color: #fff;
}

.bbq-m-search-help span {
  margin-bottom: 4px;
}

.bbq-m-search-help strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.bbq-m-search-help a {
  display: inline-flex;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #fff;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 680px) {
  .bbq-m-search-hero {
    margin-right: 20px;
    margin-left: 20px;
    padding: 34px;
  }

  .bbq-m-search-results,
  .bbq-m-search-browse {
    padding-right: 20px;
    padding-left: 20px;
  }

  .bbq-m-search-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bbq-m-search-help {
    margin-right: 20px;
    margin-left: 20px;
  }
}

@media (max-width: 370px) {
  .bbq-m-search-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bbq-m-search-form input,
  .bbq-m-search-form button {
    border-radius: 4px;
  }

  .bbq-m-search-link-grid {
    grid-template-columns: 1fr;
  }

  .bbq-m-search-help {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bbq-m-search-page * {
    scroll-behavior: auto !important;
  }
}
