/* HORIZON HAWK 1.4.1 — compact inquiry, filled grids and site-wide catalogue polish */
:root{
  --hh-141-cream:#f4efe7;
  --hh-141-cream-2:#fbf8f3;
  --hh-141-green:#167947;
  --hh-141-deep:#123f2c;
  --hh-141-line:#dfe7e1;
}

/* Product and category catalogue imagery: one calm white visual system site-wide. */
.hh-vcard-image,
.hh-category-image,
.hh-mega-category-list img,
.hh-mega-featured img,
.hh-product .hh-card-img,
.hh-category-page-card .hh-category-image{
  background:#fff!important;
}
.hh-vcard-image img,
.hh-category-image img,
.hh-product .hh-card-img img{
  background:#fff!important;
  object-fit:contain!important;
}
.hh-vcard-image img{padding:10px!important}

/* Count-aware grids: never leave an accidental empty column. */
.hh-vcard-grid-count-1{grid-template-columns:minmax(0,760px)!important;justify-content:center}
.hh-vcard-grid-count-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:1040px;margin-inline:auto}
.hh-vcard-grid-count-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.hh-category-link-grid-count-1{grid-template-columns:minmax(0,760px)!important;justify-content:center}
.hh-category-link-grid-count-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:1040px;margin-inline:auto}
.hh-category-link-grid-count-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.hh-related-vehicles .hh-vcard-grid-count-2 .hh-vcard{min-width:0}

/* Vehicle detail: remove image-heavy application gallery and keep the useful context compact. */
.hh-application-directions-compact{margin-top:22px;padding-top:20px;border-top:1px solid var(--hh-141-line)}
.hh-application-directions-compact h4{margin:0 0 12px;font-size:16px;color:var(--hh-141-deep)}
.hh-application-directions-compact>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hh-application-directions-compact a{display:grid;gap:3px;padding:11px 12px;border:1px solid var(--hh-141-line);border-radius:12px;background:#f8fbf9;color:var(--hh-ink);text-decoration:none}
.hh-application-directions-compact strong{font-size:13px}
.hh-application-directions-compact span{color:var(--hh-muted);font-size:12px;line-height:1.45}

/* Product inquiry: deliberately smaller and denser across every Vehicle. */
.hh-vehicle-contact{padding:54px 0!important}
.hh-vehicle-contact .hh-contact-band-grid{grid-template-columns:minmax(250px,.62fr) minmax(0,1.38fr)!important;gap:26px!important}
.hh-inquiry-product-card-compact{position:static!important;display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;align-items:center;box-shadow:none!important}
.hh-inquiry-product-card-compact img{width:112px!important;height:112px!important;aspect-ratio:1!important;padding:8px!important;object-fit:contain!important;background:#fff!important}
.hh-inquiry-product-card-compact>div{padding:18px!important}
.hh-inquiry-product-card-compact h2{font-size:clamp(22px,2vw,30px)!important;margin-bottom:6px!important}
.hh-inquiry-product-card-compact p{font-size:13px!important}
.hh-inquiry-short-note{margin-top:10px!important}
.hh-vehicle-contact .hh-inline-form{padding:20px!important;box-shadow:none!important}

/* Compact every Fluent Forms inquiry surface, not just one page. */
.hh-inline-form .fluentform form,
.hh-contact-form-shell .fluentform form,
.hh-inline-form form.frm-fluent-form,
.hh-contact-form-shell form.frm-fluent-form,
.hh-inline-form .hhb-fluent-wrap form,
.hh-contact-form-shell .hhb-fluent-wrap form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
}
.hh-inline-form .ff-t-container,
.hh-inline-form .ff-t-cell,
.hh-contact-form-shell .ff-t-container,
.hh-contact-form-shell .ff-t-cell{display:contents!important}
.hh-inline-form .ff-el-group,
.hh-contact-form-shell .ff-el-group{margin:0!important;min-width:0}
.hh-inline-form .ff-el-group:has(textarea),
.hh-inline-form .ff-el-group:has([name="product_category"]),
.hh-inline-form .ff-el-group:has([type="checkbox"]),
.hh-inline-form .ff-el-group:has(.ff-btn-submit),
.hh-inline-form .ff-el-group:has(button[type="submit"]),
.hh-contact-form-shell .ff-el-group:has(textarea),
.hh-contact-form-shell .ff-el-group:has([name="product_category"]),
.hh-contact-form-shell .ff-el-group:has([type="checkbox"]),
.hh-contact-form-shell .ff-el-group:has(.ff-btn-submit),
.hh-contact-form-shell .ff-el-group:has(button[type="submit"]){grid-column:1/-1}
.hh-inline-form .ff-el-form-control,
.hh-contact-form-shell .ff-el-form-control{min-height:44px!important;padding:10px 12px!important}
.hh-inline-form textarea.ff-el-form-control,
.hh-contact-form-shell textarea.ff-el-form-control{min-height:96px!important;resize:vertical}
.hh-inline-form .ff-el-input--label,
.hh-contact-form-shell .ff-el-input--label{margin-bottom:5px!important}
.hh-inline-form .ff-el-input--label label,
.hh-contact-form-shell .ff-el-input--label label{font-size:13px!important;line-height:1.3!important}
.hh-inline-form .ff-btn-submit,
.hh-contact-form-shell .ff-btn-submit{min-width:160px!important;padding:11px 20px!important}
.hh-app-inquiry-compact{padding:54px 0!important}
.hh-app-inquiry-compact .hh-contact-band-grid{grid-template-columns:minmax(250px,.68fr) minmax(0,1.32fr)!important;gap:30px!important}

/* Contact page: STARGO-inspired calm direct-contact panel without copying its branding. */
.hh-contact-hero-compact{padding:122px 0 72px;background:linear-gradient(135deg,var(--hh-141-cream-2),var(--hh-141-cream));color:var(--hh-ink)}
.hh-contact-hero-compact .hh-breadcrumbs{margin-bottom:24px;color:var(--hh-muted)}
.hh-contact-compact-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(460px,1.1fr);gap:34px;align-items:start;padding:34px;border:1px solid rgba(18,63,44,.1);border-radius:30px;background:rgba(255,255,255,.58);box-shadow:0 24px 60px rgba(73,57,37,.08)}
.hh-contact-direct-panel{padding:12px 6px 6px}
.hh-contact-direct-panel h1{max-width:720px;margin:0;font-size:clamp(42px,4.8vw,66px);line-height:.98;letter-spacing:-.05em}
.hh-contact-intro{max-width:670px;margin:20px 0 0;color:#655f55;font-size:16px;line-height:1.7}
.hh-contact-methods{display:grid;gap:10px;margin-top:24px}
.hh-contact-methods a{display:grid;grid-template-columns:44px 1fr;column-gap:12px;padding:13px 15px;border:1px solid rgba(18,63,44,.12);border-radius:16px;background:#fff;color:var(--hh-ink);text-decoration:none}
.hh-contact-methods a>span{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e7f4eb;color:var(--hh-141-green);font-size:12px;font-weight:900}
.hh-contact-methods b{font-size:13px}
.hh-contact-methods small{color:var(--hh-muted);font-size:12px;overflow-wrap:anywhere}
.hh-contact-support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:24px}
.hh-contact-support-grid article{display:grid;gap:4px;padding:13px;border:1px solid rgba(18,63,44,.1);border-radius:14px;background:rgba(255,255,255,.72)}
.hh-contact-support-grid b{font-size:12px;color:var(--hh-141-deep)}
.hh-contact-support-grid span{font-size:11px;line-height:1.45;color:#716a60}
.hh-contact-socials{margin-top:24px}
.hh-contact-socials>p{margin:0 0 9px;color:#716a60;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.hh-contact-socials>div{display:flex;flex-wrap:wrap;gap:8px}
.hh-contact-socials a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;background:#fff;color:var(--hh-ink);text-decoration:none;font-size:12px;font-weight:800}
.hh-contact-socials a span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e7f4eb;color:var(--hh-141-green);font-size:10px}
.hh-contact-form-shell-compact{padding:24px!important;border-color:rgba(18,63,44,.11)!important;border-radius:22px!important;box-shadow:none!important;background:#fff!important}
.hh-contact-form-shell-compact>h2{margin:3px 0 7px;font-size:clamp(30px,3vw,42px);letter-spacing:-.035em}
.hh-contact-form-lead{margin:0 0 18px;color:var(--hh-muted);font-size:13px;line-height:1.55}

/* Buyer-needs cards now contain unique copy, so keep them balanced and concise. */
.hh-icon-grid article{display:flex;flex-direction:column}
.hh-icon-grid h3{min-height:2.5em}
.hh-icon-grid p{font-size:14px}

/* Mobile clipping and overly large headings: global protection. */
.hh-page-hero h1,
.hh-contact-direct-panel h1,
.hh-product-summary h1,
.hh-contact-band h2{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Front-page block legacy quality patch support. */
.hh-home-quality-patched .hh-home-quality-hidden{display:none!important}
.hh-home-quality-patched .hh-home-quality-card{height:auto!important}

@media(max-width:1050px){
  .hh-contact-compact-grid{grid-template-columns:1fr}
  .hh-contact-support-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hh-vcard-grid-count-2,
  .hh-vcard-grid-count-3{max-width:none}
  .hh-app-inquiry-compact .hh-contact-band-grid,
  .hh-vehicle-contact .hh-contact-band-grid{grid-template-columns:1fr!important}
  .hh-inquiry-product-card-compact{max-width:760px}
}

@media(max-width:760px){
  .hh-contact-hero-compact{padding:96px 0 52px}
  .hh-contact-compact-grid{padding:20px;gap:22px;border-radius:22px}
  .hh-contact-direct-panel h1{font-size:40px}
  .hh-contact-support-grid{grid-template-columns:1fr}
  .hh-inline-form .fluentform form,
  .hh-contact-form-shell .fluentform form,
  .hh-inline-form form.frm-fluent-form,
  .hh-contact-form-shell form.frm-fluent-form,
  .hh-inline-form .hhb-fluent-wrap form,
  .hh-contact-form-shell .hhb-fluent-wrap form{grid-template-columns:1fr}
  .hh-inline-form .ff-el-group,
  .hh-contact-form-shell .ff-el-group{grid-column:1!important}
  .hh-vcard-grid-count-2,
  .hh-vcard-grid-count-3,
  .hh-category-link-grid-count-2,
  .hh-category-link-grid-count-3{grid-template-columns:1fr!important;max-width:none}
  .hh-application-directions-compact>div{grid-template-columns:1fr}
  .hh-inquiry-product-card-compact{grid-template-columns:86px minmax(0,1fr)!important}
  .hh-inquiry-product-card-compact img{width:86px!important;height:86px!important}
  .hh-inquiry-product-card-compact>div{padding:14px!important}
  .hh-inquiry-product-card-compact h2{font-size:22px!important}
  .hh-page-hero h1{font-size:clamp(38px,11vw,54px)!important;line-height:1!important}
}

@media(max-width:480px){
  .hh-contact-compact-grid{padding:16px}
  .hh-contact-direct-panel h1{font-size:36px}
  .hh-inquiry-product-card-compact{display:block!important}
  .hh-inquiry-product-card-compact img{width:100%!important;height:150px!important}
}
