/* Buyer navigation only; reuse the site's typography, palette and components. */
[data-buyer-journey] #choose-pergola,
[data-buyer-journey] #pergola-model-series,
[data-buyer-journey] #roof-choice,
[data-buyer-journey] #quote-form,
[data-buyer-journey] .jy-model-card[id],
[data-buyer-journey] .guide-prose h2[id] {
  scroll-margin-top: 108px;
}

.buyer-route-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.buyer-route-nav a,
.buyer-route-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #c8d0ca;
  border-radius: 6px;
  background: #fff;
  color: #253b32;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  cursor: pointer;
}

.buyer-route-nav a:hover,
.buyer-route-nav button:hover {
  background: #edf2ec;
  border-color: #687e6e;
}

.buyer-route-nav a:focus-visible,
.buyer-route-nav button:focus-visible,
.buyer-model-enquiry:focus-visible,
.buyer-guide-search input:focus-visible {
  outline: 3px solid #537e61;
  outline-offset: 3px;
}

[data-buyer-journey] .seo-geo-quick__grid .buyer-route-nav {
  margin-bottom: 0;
}

.buyer-model-enquiry {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  color: #314c3e;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

[data-buyer-journey] .guide-contact-panel .buyer-enquiry-action {
  margin-top: 20px;
}

.buyer-guide-search {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #c9d2c9;
  border-radius: 12px;
  background: #fff;
  color: #253b32;
}

.buyer-guide-search label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
}

.buyer-guide-search__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.buyer-guide-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #839488;
  border-radius: 5px;
  background: #fff;
  color: #253b32;
  font: inherit;
  font-size: 16px;
}

.buyer-guide-search .buyer-guide-topics {
  gap: 8px;
  margin: 14px 0 10px;
}

.buyer-guide-topics button {
  padding: 8px 12px;
  font-size: 13px;
}

.buyer-guide-search #buyer-guide-results {
  margin: 0;
  color: #536558;
  font-size: 14px;
  line-height: 1.5;
}

[data-buyer-journey] [data-guide-finder][hidden],
[data-buyer-journey] [data-guide-empty][hidden],
[data-buyer-journey] .guide-card[hidden],
[data-buyer-journey] [data-guide-resource][hidden],
[data-buyer-journey] section[data-guide-group][hidden] {
  display: none;
}

[data-buyer-journey] section[data-guide-group] {
  scroll-margin-top: 100px;
}

@media (max-width: 720px) {
  [data-buyer-journey] .product-hero-grid .product-summary {
    order: -1;
  }

  [data-buyer-journey] .product-hero-grid .product-summary h1 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.13;
  }

  [data-buyer-journey] .product-summary-actions .btn {
    min-height: 48px;
  }

  .buyer-guide-search {
    padding: 16px;
  }

  .buyer-guide-search__controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .buyer-guide-search__controls .btn {
    width: 100%;
    min-height: 48px;
  }
}
