/* Product-page styling that used to sit in style.css and hhsales.css: the
   fleet pricing CTA, the Google reviews block and the quote button. Loaded
   on is_product() after hhsales.css; the fleet CTA block keeps its place
   ahead of the quote-button override that used to follow it. */

/* Product page — fleet pricing CTA */
.fleet-price-btn-wrap {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hh-gray-200);
}

.fleet-price-btn {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem !important;
}

.fleet-price-btn svg {
  flex-shrink: 0;
}

.fleet-price-hint {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--hh-gray-500);
  text-align: center;
}

/* Google reviews (product pages) */
.hhgr {
  background: var(--hh-gray-100);
  border-top: 3px solid var(--hh-black);
  padding: 4rem 1.5rem;
  margin-top: 3rem;
}

.hhgr-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hhgr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.hhgr-score {
  flex: 0 0 auto;
  min-width: 200px;
  padding: 1.5rem 2rem;
  background: var(--hh-black);
  border-bottom: 4px solid var(--hh-yellow);
  text-align: center;
  color: var(--hh-white);
}

.hhgr-score-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--hh-yellow);
}

.hhgr-score .hhgr-stars { margin: 0.5rem 0 0.6rem; }

.hhgr-score-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--hh-gray-300);
}

.hhgr-intro { flex: 1 1 340px; }

.hhgr-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin: 0.35rem 0 0.75rem;
}

.hhgr-intro p {
  max-width: 58ch;
  margin: 0;
  color: var(--hh-gray-700);
  line-height: 1.6;
}

/* Cards */
.hhgr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.25rem;
}

.hhgr-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.hhgr-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--hh-white);
  border: 1px solid var(--hh-gray-200);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.hhgr-card:hover {
  border-color: var(--hh-black);
  box-shadow: 6px 6px 0 var(--hh-yellow);
  transform: translateY(-2px);
}

.hhgr-card.is-hidden { display: none; }

.hhgr-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hhgr-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--hh-gray-200);
}

.hhgr-avatar--text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hh-black);
  background: var(--hh-yellow);
}

.hhgr-who {
  flex: 1 1 auto;
  min-width: 0;
}

.hhgr-author {
  font-weight: 600;
  color: var(--hh-black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hhgr-author a:hover { color: var(--hh-yellow-dark); text-decoration: underline; }

.hhgr-where {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hh-gray-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hhgr-card-head .hhgr-g { flex: 0 0 auto; }

.hhgr-text {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--hh-gray-900);
  overflow-wrap: anywhere;
}

.hhgr-text p {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Stars */
.hhgr-stars {
  display: inline-flex;
  color: var(--hh-yellow-dark);
}

.hhgr-score .hhgr-stars { color: var(--hh-yellow); }

/* Footer */
.hhgr-more {
  display: block;
  margin: 2rem auto 0;
  padding: 0.85rem 2.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--hh-black);
  background: none;
  border: 2px solid var(--hh-black);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hhgr-more:hover {
  color: var(--hh-black);
  background: var(--hh-yellow);
  border-color: var(--hh-yellow);
}

/* Yellow is invisible on this section's background — focus rings stay black. */
.hhgr-more:focus-visible,
.hhgr-badge:focus-visible,
.hhgr:focus-visible {
  outline: 3px solid var(--hh-black);
  outline-offset: 2px;
}

.hhgr-card:focus-within {
  border-color: var(--hh-black);
  box-shadow: 6px 6px 0 var(--hh-yellow);
}

.hhgr-note {
  margin: 2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--hh-gray-700);
  text-align: center;
}

/* Buy-box badge */
.hhgr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  color: var(--hh-gray-700);
  background: var(--hh-gray-100);
  border-left: 3px solid var(--hh-yellow);
}

.hhgr-badge:hover { background: var(--hh-gray-200); }

.hhgr-badge strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--hh-black);
}

.hhgr-badge span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 641px) and (max-width: 1023px) {
  .hhgr-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hhgr { padding: 2.5rem 1rem; }
  .hhgr-head { gap: 1.5rem; }
  .hhgr-score { width: 100%; }
  .hhgr-badge { min-height: 44px; }
}

/* Request a Quote, on the product page.
   It inherits .btn--outline, which is white text on a transparent background
   with a white border -- built for the dark hero bands. On the white product
   summary that is an invisible button: present, clickable, and impossible to
   see. royal.css already carries the same note for its card buttons.
   Dark outline rather than yellow, because the sticky bar's "Get a Quote" is
   the primary call and two yellow buttons would compete. */
.fleet-price-btn.btn.btn--outline {
  color: var(--hh-black);
  border-color: var(--hh-black);
  background: transparent;
}

.fleet-price-btn.btn.btn--outline:hover,
.fleet-price-btn.btn.btn--outline:focus-visible {
  background: var(--hh-black);
  color: var(--hh-white);
}

/* Other colors and sizes of the same sporting product (HH_Sporting_Families). */
.hh-family { margin: 1rem 0 1.1rem; }
.hh-family__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-gray-500);
}
.hh-family__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.hh-family__opt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 2px 10px 2px 2px;
  border: 1px solid var(--hh-gray-300);
  background: #fff;
  color: var(--hh-black);
  font-size: 0.82rem;
  line-height: 1.2;
  text-decoration: none;
  max-width: 100%;
}
.hh-family__opt img { width: 44px; height: 44px; object-fit: contain; flex: none; background: #fff; }
.hh-family__opt span { min-width: 0; overflow-wrap: anywhere; }
a.hh-family__opt:hover, a.hh-family__opt:focus-visible { border-color: var(--hh-black); outline: none; box-shadow: 0 2px 0 var(--hh-yellow); }
.hh-family__opt.is-current { border: 2px solid var(--hh-black); font-weight: 600; }
