
/* All component styles are scoped to this one demonstration. */
#pgsc-motor-demo {
  --pgsc-navy: #102d43; --pgsc-blue: #1266a8; --pgsc-ink: #17364c;
  --pgsc-muted: #526777; --pgsc-line: #dce5eb; --pgsc-paper: #f3f6f8;
  --pgsc-shell-width: min(1540px, calc(100vw - 48px));
  color: var(--pgsc-ink); background: #fff; font: 400 16px/1.55 Arial, Helvetica, sans-serif;
  box-sizing: border-box; width: var(--pgsc-shell-width); max-width: none; margin: 16px 0 36px;
  margin-left: max(calc(50% - 50vw + 24px), calc(50% - 770px)); text-align: left;
  border: 1px solid var(--pgsc-line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 36px rgba(16,45,67,.06); container-type: inline-size; container-name: pgscdemo;
}
#pgsc-motor-demo *, #pgsc-motor-demo *::before, #pgsc-motor-demo *::after { box-sizing: border-box; }
#pgsc-motor-demo [hidden] { display: none !important; }
#pgsc-motor-demo h2, #pgsc-motor-demo h3, #pgsc-motor-demo p, #pgsc-motor-demo dl,
#pgsc-motor-demo dt, #pgsc-motor-demo dd, #pgsc-motor-demo ol { margin: 0; padding: 0; }
#pgsc-motor-demo h2, #pgsc-motor-demo h3 { font-family: inherit; font-weight: 700; color: inherit; }
#pgsc-motor-demo button, #pgsc-motor-demo input, #pgsc-motor-demo select, #pgsc-motor-demo textarea {
  font: inherit; line-height: 1.35; letter-spacing: normal; text-transform: none; box-shadow: none;
}
#pgsc-motor-demo button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 10px 16px; border: 1px solid var(--pgsc-blue); border-radius: 5px;
  background: var(--pgsc-blue); color: #fff; cursor: pointer; font-size: 14px; font-weight: 700;
  text-decoration: none; white-space: normal; transition: background .15s;
}
#pgsc-motor-demo button::before, #pgsc-motor-demo button::after { display: none; }
#pgsc-motor-demo button:hover { background: #0b4d81; border-color: #0b4d81; color: #fff; }
#pgsc-motor-demo button:disabled { cursor: not-allowed; opacity: .5; }
#pgsc-motor-demo button.pgsc-secondary { background: #fff; color: var(--pgsc-ink); border-color: #b7c9d6; }
#pgsc-motor-demo button.pgsc-secondary:hover { background: #eaf2f8; border-color: var(--pgsc-blue); }
#pgsc-motor-demo button.pgsc-text { color: var(--pgsc-blue); background: transparent; border-color: transparent; padding: 7px 8px; text-decoration: underline; text-underline-offset: 3px; }
#pgsc-motor-demo :focus-visible { outline: 3px solid #db8c14; outline-offset: 3px; }
#pgsc-motor-demo .pgsc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#pgsc-motor-demo .pgsc-notice { padding: 12px 28px; font-size: 13px; color: #644b12; background: #fff6df; border-bottom: 1px solid #f0dfb2; }
#pgsc-motor-demo .pgsc-notice-stock { color: #fff; background: #3a7ba7; border-bottom-color: #2e678d; }
#pgsc-motor-demo .pgsc-notice strong { color: #513800; }
#pgsc-motor-demo .pgsc-notice.pgsc-notice-stock strong { color: #fff; }
#pgsc-motor-demo .pgsc-hero {
  color: #fff;
  background-color: var(--pgsc-navy);
  background-image:
    linear-gradient(90deg, rgba(16,45,67,.86) 0%, rgba(16,45,67,.76) 55%, rgba(16,45,67,.55) 100%),
    url('https://www.park-gate.co.uk/wp-content/uploads/2026/10/Park_Gate124-scaled.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 34px 36px 32px;
}
#pgsc-motor-demo .pgsc-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
#pgsc-motor-demo .pgsc-eyebrow { display: flex; align-items: center; min-width: 0; flex: 0 1 520px; }
#pgsc-motor-demo .pgsc-eyebrow img { display: block; width: min(520px, 100%); max-width: 100%; height: auto; }
#pgsc-motor-demo .pgsc-badge { font-size: 11px; font-weight: 700; padding: 5px 9px; border: 1px solid #63839a; border-radius: 3px; white-space: nowrap; color: #deebf5; background: rgba(16,45,67,.70); }
#pgsc-motor-demo .pgsc-hero h2 { font-size: clamp(30px,4vw,46px); line-height: 1.12; letter-spacing: -1.6px; margin-bottom: 14px; }
#pgsc-motor-demo .pgsc-hero p { max-width: 670px; font-size: 16px; line-height: 1.7; color: #dce8f1; }
#pgsc-motor-demo .pgsc-steps { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 26px; color: #f2f7fb; font-size: clamp(16px,1.35vw,19px); font-weight: 600; line-height: 1.35; }
#pgsc-motor-demo .pgsc-steps span { display: inline-flex; align-items: baseline; gap: 8px; }
#pgsc-motor-demo .pgsc-steps b { font-size: 1.05em; font-weight: 700; color: #82c7f1; padding-right: 0; }
#pgsc-motor-demo .pgsc-filters { border: 0; margin: 0; padding: 26px 28px 18px; min-width: 0; background: var(--pgsc-navy); color: #fff; }
#pgsc-motor-demo .pgsc-search-line { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 18px; }
#pgsc-motor-demo .pgsc-filters label { color: #fff; }
#pgsc-motor-demo .pgsc-filters .pgsc-small { color: #dce8f1; }
#pgsc-motor-demo .pgsc-filters .pgsc-power-pair > span { color: #dce8f1; }
#pgsc-motor-demo .pgsc-filters button.pgsc-text { color: #a9d8f4; }
#pgsc-motor-demo .pgsc-filters button.pgsc-text:hover { color: #fff; background: rgba(255,255,255,.08); border-color: transparent; }
#pgsc-motor-demo .pgsc-filters input,
#pgsc-motor-demo .pgsc-filters select,
#pgsc-motor-demo .pgsc-filters .pgsc-category-control,
#pgsc-motor-demo .pgsc-filters .pgsc-make-control { background: #fff; color: var(--pgsc-ink); }
#pgsc-motor-demo .pgsc-filters .pgsc-filter-error { color: #ffd28a; }
#pgsc-motor-demo label { display: block; margin-bottom: 7px; font: 700 14px/1.35 Arial, Helvetica, sans-serif; color: var(--pgsc-ink); }
#pgsc-motor-demo input, #pgsc-motor-demo select, #pgsc-motor-demo textarea {
  display: block; width: 100%; min-width: 0; min-height: 46px; height: auto; padding: 10px 12px;
  background: #fff; border: 1px solid #b8c9d5; border-radius: 5px; color: var(--pgsc-ink);
  font: 400 16px/1.35 Arial, Helvetica, sans-serif;
}
#pgsc-motor-demo input::placeholder { color: #647785; opacity: 1; }
#pgsc-motor-demo select { padding-right: 26px; appearance: auto; background-image: none; }
#pgsc-motor-demo input:focus, #pgsc-motor-demo select:focus, #pgsc-motor-demo textarea:focus { border-color: var(--pgsc-blue); }
#pgsc-motor-demo .pgsc-filter-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 14px; margin: 0 0 18px; }
#pgsc-motor-demo .pgsc-small { font-size: 12px; line-height: 1.6; color: var(--pgsc-muted); }
#pgsc-motor-demo .pgsc-filter-footer { display: flex; justify-content: flex-end; align-items: center; min-height: 60px; gap: 12px; }
#pgsc-motor-demo button.pgsc-reset-control {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-width: 84px; min-height: 58px; padding: 4px 8px; color: #fff; background: transparent;
  border-color: transparent; border-radius: 6px; text-decoration: none;
}
#pgsc-motor-demo button.pgsc-reset-control svg {
  display: block; width: 27px; height: 27px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
#pgsc-motor-demo button.pgsc-reset-control span { color: inherit; font-size: 11px; line-height: 1.15; }
#pgsc-motor-demo button.pgsc-reset-control:hover,
#pgsc-motor-demo button.pgsc-reset-control:focus-visible {
  color: #fff; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18);
}
#pgsc-motor-demo .pgsc-results-area { padding: 20px 28px 26px; }
#pgsc-motor-demo .pgsc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
#pgsc-motor-demo .pgsc-count { font-size: 17px; font-weight: 700; }
#pgsc-motor-demo .pgsc-sort { display: flex; align-items: center; gap: 10px; }
#pgsc-motor-demo .pgsc-sort label { white-space: nowrap; margin: 0; }
#pgsc-motor-demo .pgsc-sort select { width: 176px; font-size: 13px; min-height: 40px; }
#pgsc-motor-demo .pgsc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
#pgsc-motor-demo .pgsc-chips button { min-height: 34px; padding: 5px 10px; border-radius: 4px; background: #eef4f8; border-color: #cbdce8; color: var(--pgsc-ink); font-size: 12px; font-weight: 400; }
#pgsc-motor-demo .pgsc-chips button:hover { background: #deecf5; }
#pgsc-motor-demo .pgsc-colheads, #pgsc-motor-demo .pgsc-result {
  display: grid; grid-template-columns: minmax(180px,1.7fr) minmax(65px,.55fr) minmax(95px,.8fr) minmax(90px,.75fr) 190px; gap: 14px; align-items: center;
}
#pgsc-motor-demo .pgsc-colheads { padding: 10px 14px; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; background: var(--pgsc-paper); color: var(--pgsc-muted); border-bottom: 1px solid var(--pgsc-line); }
#pgsc-motor-demo .pgsc-result-list { list-style: none; }
#pgsc-motor-demo .pgsc-result-list > li { list-style: none; margin: 0; padding: 0; }
#pgsc-motor-demo .pgsc-result { padding: 20px 14px; border-bottom: 1px solid var(--pgsc-line); }
#pgsc-motor-demo .pgsc-result:hover { background: #f9fbfd; }
#pgsc-motor-demo .pgsc-result h3 { font-size: 15px; line-height: 1.3; letter-spacing: 0; margin-bottom: 4px; }
#pgsc-motor-demo .pgsc-category { color: var(--pgsc-muted); font-size: 12px; }
#pgsc-motor-demo .pgsc-ref { display: inline-block; color: var(--pgsc-blue); font: 700 11px/1.4 Arial, sans-serif; letter-spacing: .6px; margin-top: 6px; }
#pgsc-motor-demo .pgsc-spec { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; }
#pgsc-motor-demo .pgsc-spec .pgsc-mobile-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
#pgsc-motor-demo .pgsc-spec .pgsc-sub { color: var(--pgsc-muted); font-size: 11px; }
#pgsc-motor-demo .pgsc-frame { font-size: 13px; overflow-wrap: anywhere; }
#pgsc-motor-demo .pgsc-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
#pgsc-motor-demo .pgsc-actions button { font-size: 12px; padding: 8px 10px; }
#pgsc-motor-demo .pgsc-actions button[data-pgsc-action="details"] {
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
#pgsc-motor-demo .pgsc-actions button[data-pgsc-action="details"]:hover,
#pgsc-motor-demo .pgsc-actions button[data-pgsc-action="details"]:focus-visible {
  background: var(--pgsc-navy); border-color: var(--pgsc-navy); color: #fff;
}
#pgsc-motor-demo .pgsc-pagination { display: grid; grid-template-columns: auto minmax(170px,1fr) auto; align-items: center; gap: 16px; margin-top: 20px; font-size: 13px; }
#pgsc-motor-demo .pgsc-page-size { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
#pgsc-motor-demo .pgsc-page-size label { margin: 0; font-size: 13px; }
#pgsc-motor-demo .pgsc-page-size select { width: 76px; min-height: 40px; padding: 7px 24px 7px 10px; font-size: 14px; }
#pgsc-motor-demo .pgsc-page-size span,
#pgsc-motor-demo #pgsc-page-info { color: var(--pgsc-muted); }
#pgsc-motor-demo #pgsc-page-info { text-align: center; }
#pgsc-motor-demo .pgsc-page-actions { display: flex; justify-self: end; gap: 8px; }
#pgsc-motor-demo .pgsc-empty { padding: 34px 18px; border: 1px dashed #b7cbd9; border-radius: 6px; text-align: center; background: #f8fafc; }
#pgsc-motor-demo .pgsc-empty h3 { font-size: 22px; margin-bottom: 8px; }
#pgsc-motor-demo .pgsc-empty p { margin: 0 auto 18px; max-width: 500px; color: var(--pgsc-muted); }
#pgsc-motor-demo .pgsc-help { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: #edf4f9; border-top: 1px solid #d9e7f1; }
#pgsc-motor-demo .pgsc-help h3 { font-size: 19px; margin-bottom: 6px; }
#pgsc-motor-demo .pgsc-help p { max-width: 660px; color: var(--pgsc-muted); font-size: 13px; }
#pgsc-motor-demo .pgsc-help button { flex-shrink: 0; }
#pgsc-motor-demo .pgsc-foot { padding: 14px 28px; color: var(--pgsc-muted); font-size: 11px; border-top: 1px solid var(--pgsc-line); background: #fff; }
#pgsc-motor-demo .pgsc-start { padding: 18px; border: 1px dashed #b6c9d6; background: #f5f8fa; font-size: 14px; }
#pgsc-motor-demo dialog { position: fixed; inset: 0; width: min(730px,calc(100vw - 32px)); max-width: 730px; max-height: calc(100dvh - 40px); padding: 0; margin: auto; border: 2px solid #2f729f; border-radius: 10px; color: #fff; background: var(--pgsc-navy); overflow: auto; text-align: left; box-shadow: 0 20px 90px rgba(0,0,0,.38); }
#pgsc-motor-demo dialog:not([open]) { display: none; }
#pgsc-motor-demo dialog::backdrop { background: rgba(5,17,26,.76); }
#pgsc-motor-demo .pgsc-dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 24px; background: #fff; border-bottom: 1px solid #d7e2e9; color: var(--pgsc-navy); }
#pgsc-motor-demo .pgsc-dialog-bar span { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--pgsc-navy); }
#pgsc-motor-demo .pgsc-dialog-bar button.pgsc-secondary { min-height: 38px; background: var(--pgsc-navy); color: #fff; border-color: var(--pgsc-navy); }
#pgsc-motor-demo .pgsc-dialog-bar button.pgsc-secondary:hover,
#pgsc-motor-demo .pgsc-dialog-bar button.pgsc-secondary:focus-visible { background: #0b4d81; color: #fff; border-color: #0b4d81; }
#pgsc-motor-demo .pgsc-dialog-body { padding: 26px; color: #fff; }
#pgsc-motor-demo .pgsc-dialog-body h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.5px; margin: 6px 0 10px; color: #fff; }
#pgsc-motor-demo .pgsc-dialog-body > p,
#pgsc-motor-demo .pgsc-dialog-body .pgsc-detail-overview > p { font-size: 14px; color: #d5e4ee; margin-bottom: 20px; }
#pgsc-motor-demo .pgsc-dialog-body .pgsc-ref { color: #8ec5e9; }
#pgsc-motor-demo .pgsc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0; gap: 0 22px; }
#pgsc-motor-demo .pgsc-detail-grid > div { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); min-width: 0; }
#pgsc-motor-demo .pgsc-detail-grid dt { color: #a9c7d9; font-size: 12px; }
#pgsc-motor-demo .pgsc-detail-grid dd,
#pgsc-motor-demo .pgsc-detail-maker .pgsc-brand-name { margin-top: 4px; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; color: #fff; }
#pgsc-motor-demo .pgsc-detail-grid dd.pgsc-availability-status {
  display: inline-flex; align-items: center; gap: 8px; color: #7ee2a8; font-size: 15px; font-weight: 700;
}
#pgsc-motor-demo .pgsc-availability-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px rgba(126,226,168,.14); flex: 0 0 9px;
}
#pgsc-motor-demo .pgsc-dialog-body > p.pgsc-availability-disclaimer {
  margin: -4px 0 18px; padding: 13px 15px; border: 1px solid #d6e2ea;
  border-radius: 6px; background: #fff; color: var(--pgsc-ink); font-size: 13px; line-height: 1.55;
  box-shadow: 0 3px 12px rgba(5,24,37,.08);
}
#pgsc-motor-demo .pgsc-dialog-body > p.pgsc-availability-disclaimer strong { color: var(--pgsc-navy); }
#pgsc-motor-demo .pgsc-detail-note { padding: 15px 17px; border: 1px solid #d6e2ea; border-left: 4px solid #72b9e5; border-radius: 6px; background: #fff; font-size: 13px; line-height: 1.55; color: var(--pgsc-ink); margin-bottom: 22px; box-shadow: 0 3px 12px rgba(5,24,37,.08); }
@container pgscdemo (max-width: 870px) {
  #pgsc-motor-demo .pgsc-filter-grid { grid-template-columns: 1fr 1fr; }
  #pgsc-motor-demo .pgsc-colheads { display: none; }
  #pgsc-motor-demo .pgsc-result-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  #pgsc-motor-demo .pgsc-result { height: 100%; grid-template-columns: 1fr 1fr; gap: 16px; border: 1px solid var(--pgsc-line); border-radius: 6px; padding: 18px; }
  #pgsc-motor-demo .pgsc-identity, #pgsc-motor-demo .pgsc-actions { grid-column: 1 / -1; }
  #pgsc-motor-demo .pgsc-actions { justify-content: stretch; border-top: 1px solid var(--pgsc-line); padding-top: 14px; }
  #pgsc-motor-demo .pgsc-actions button { flex: 1; }
  #pgsc-motor-demo .pgsc-spec .pgsc-mobile-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; color: var(--pgsc-muted); font-size: 11px; }
  #pgsc-motor-demo .pgsc-frame { grid-column: 1 / -1; }
}
@container pgscdemo (max-width: 560px) {
  #pgsc-motor-demo .pgsc-notice { padding: 10px 18px; font-size: 12px; }
  #pgsc-motor-demo .pgsc-hero {
    padding: 25px 20px;
    /* An even overlay protects text contrast when the photograph is cropped on phones. */
    background-image: linear-gradient(rgba(16,45,67,.82), rgba(16,45,67,.82)),
      url('https://www.park-gate.co.uk/wp-content/uploads/2026/10/Park_Gate124-scaled.jpg');
  }
  #pgsc-motor-demo .pgsc-hero h2 { font-size: 33px; }
  #pgsc-motor-demo .pgsc-eyebrow { flex-basis: 350px; }
  #pgsc-motor-demo .pgsc-eyebrow img { width: min(350px, 100%); }
  #pgsc-motor-demo .pgsc-hero p { font-size: 14px; }
  #pgsc-motor-demo .pgsc-steps { gap: 10px 18px; font-size: 15px; }
  #pgsc-motor-demo .pgsc-filters, #pgsc-motor-demo .pgsc-results-area { padding: 20px 16px; }
  #pgsc-motor-demo .pgsc-search-line { grid-template-columns: 1fr; gap: 4px; }
  #pgsc-motor-demo .pgsc-search-line > button { justify-self: start; }
  #pgsc-motor-demo .pgsc-filter-grid { gap: 14px 10px; margin: 0 0 16px; }
  #pgsc-motor-demo input, #pgsc-motor-demo select, #pgsc-motor-demo textarea { font-size: 16px; }
  #pgsc-motor-demo .pgsc-filter-footer { gap: 4px; }
  #pgsc-motor-demo .pgsc-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  #pgsc-motor-demo .pgsc-result-list { grid-template-columns: 1fr; }
  #pgsc-motor-demo .pgsc-help { align-items: flex-start; flex-direction: column; padding: 23px 20px; gap: 16px; }
  #pgsc-motor-demo .pgsc-pagination { grid-template-columns: 1fr; align-items: start; gap: 12px; }
  #pgsc-motor-demo #pgsc-page-info { text-align: left; }
  #pgsc-motor-demo .pgsc-page-actions { justify-self: start; }
  #pgsc-motor-demo .pgsc-foot { padding: 14px 20px; }
  #pgsc-motor-demo .pgsc-dialog-body { padding: 20px; }
  #pgsc-motor-demo .pgsc-dialog-bar { padding: 10px 18px; }
}
/* Fallback for older browsers without container queries. */
@supports not (container-type: inline-size) {
  @media (max-width: 1000px) {
    #pgsc-motor-demo .pgsc-colheads { display: none; }
    #pgsc-motor-demo .pgsc-result { grid-template-columns: 1fr 1fr; }
    #pgsc-motor-demo .pgsc-identity, #pgsc-motor-demo .pgsc-actions { grid-column: 1 / -1; }
    #pgsc-motor-demo .pgsc-filter-grid { grid-template-columns: 1fr 1fr; }
  }
}

/* Only the separate test form is styled here; other website forms are untouched. */
#pgsc-motor-demo .pgsc-connection-note {
  margin: 16px 28px; padding: 16px; color: #67391c; background: #fff4e8;
  border: 1px solid #dfbb93; border-radius: 6px; font-size: 14px;
}
#pgsc-enquiry-live {
  --pgsc-shell-width: min(1540px, calc(100vw - 48px));
  box-sizing: border-box; width: var(--pgsc-shell-width); max-width: none; margin: 0 0 36px;
  margin-left: max(calc(50% - 50vw + 24px), calc(50% - 770px)); padding: 28px 32px;
  border: 1px solid #dce5eb; border-radius: 12px; background: #fff;
  color: #17364c; font: 400 16px/1.55 Arial, Helvetica, sans-serif;
  text-align: left; scroll-margin-top: 120px;
}
#pgsc-enquiry-live *, #pgsc-enquiry-live *::before, #pgsc-enquiry-live *::after { box-sizing: border-box; }
#pgsc-enquiry-live h2 { color: #17364c; font: 700 28px/1.25 Arial, Helvetica, sans-serif; margin: 0 0 12px; }
#pgsc-enquiry-live p { margin: 0 0 18px; }
#pgsc-enquiry-live .pgsc-live-intro { color: #526777; }
#pgsc-enquiry-live .pgsc-live-state {
  margin: 20px 0; padding: 14px 16px; border: 1px solid #cbdce8;
  border-radius: 6px; background: #edf4f9; color: #17364c; font-size: 14px;
  overflow-wrap: anywhere;
}
#pgsc-enquiry-live .pgsc-live-state[data-kind="error"] { background: #fff4e8; color: #67391c; border-color: #dfbb93; }
#pgsc-enquiry-live .pgsc-live-state[data-kind="sent"] { background: #eef7f0; color: #20472d; border-color: #b9d8c2; }
#pgsc-enquiry-live :is(.wpcf7, .pgsc-local-preview) { margin-top: 22px; }
#pgsc-enquiry-live :is(.wpcf7, .pgsc-local-preview) form { margin: 0; }
#pgsc-enquiry-live :is(.wpcf7, .pgsc-local-preview) label { display: block; font-size: 14px; font-weight: 700; color: #17364c; margin: 0 0 16px; }
#pgsc-enquiry-live .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
#pgsc-enquiry-live input[type="text"],
#pgsc-enquiry-live input[type="email"],
#pgsc-enquiry-live input[type="tel"],
#pgsc-enquiry-live textarea {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 46px;
  padding: 11px 12px; border: 1px solid #b8c9d5; border-radius: 5px;
  background: #fff; color: #17364c; font: 400 16px/1.4 Arial, Helvetica, sans-serif;
  box-shadow: none;
}
#pgsc-enquiry-live input[readonly] { background: #f3f6f8; }
#pgsc-enquiry-live textarea { min-height: 130px; resize: vertical; }
#pgsc-enquiry-live input[type="submit"], #pgsc-enquiry-live button[type="submit"] {
  min-height: 46px; width: auto; padding: 12px 20px; border: 1px solid #1266a8;
  border-radius: 5px; background: #1266a8; color: #fff; cursor: pointer;
  font: 700 15px/1.4 Arial, Helvetica, sans-serif; text-transform: none;
  white-space: normal; letter-spacing: normal;
}
#pgsc-enquiry-live input[type="submit"]:disabled, #pgsc-enquiry-live button[type="submit"]:disabled { cursor: not-allowed; opacity: .55; }
#pgsc-enquiry-live .wpcf7-not-valid-tip { font-size: 13px; font-weight: 400; }
#pgsc-enquiry-live .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; font-size: 14px; }
#pgsc-enquiry-live a { color: #1266a8; text-decoration: underline; text-underline-offset: 3px; }
#pgsc-enquiry-live .pgsc-live-back { margin: 22px 0 0; font-size: 14px; }
#pgsc-enquiry-live :focus-visible { outline: 3px solid #db8c14; outline-offset: 3px; }
@media (max-width: 600px) {
  #pgsc-enquiry-live { padding: 24px 18px; }
  #pgsc-enquiry-live h2 { font-size: 24px; }
  #pgsc-enquiry-live input[type="submit"] { width: 100%; }
}

/* Optional existing-motor photo field in the Contact Form 7 enquiry form.
   File type/size validation and attachment delivery are configured in CF7,
   not in this presentation CSS. */
#pgsc-enquiry-live .pgsc-upload-panel {
  margin: 0 0 20px; padding: 18px;
  border: 1px dashed #8da9bf; border-radius: 6px; background: #f3f7fa;
}
#pgsc-enquiry-live .pgsc-upload-panel label { margin: 0 0 12px; }
#pgsc-enquiry-live .pgsc-upload-panel .wpcf7-form-control-wrap { margin-top: 12px; }
#pgsc-enquiry-live .pgsc-upload-help {
  margin: 0 0 8px; font-size: 13px; font-weight: 400; line-height: 1.6; color: #526777;
}
#pgsc-enquiry-live .pgsc-upload-help:last-child { margin-bottom: 0; }
#pgsc-enquiry-live input[type="file"] {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  min-height: 44px; height: auto; padding: 0; border: 0;
  background: transparent; color: #17364c;
  font: 400 14px/1.45 Arial, Helvetica, sans-serif; box-shadow: none;
}
#pgsc-enquiry-live input[type="file"]::file-selector-button {
  margin: 0 10px 6px 0; padding: 10px 12px; min-height: 44px;
  border: 1px solid #b8c9d5; border-radius: 5px; background: #fff;
  color: #17364c; font: 700 13px/1.4 Arial, Helvetica, sans-serif; cursor: pointer;
}
#pgsc-enquiry-live input[type="file"]::file-selector-button:hover { background: #eaf2f8; }


/* 0.9.9: compact text-only motor type and manufacturer selectors. The native
   selects remain the source of truth; no motor icons or manufacturer logos load. */
#pgsc-motor-demo .pgsc-filter-grid { align-items: end; margin: 0 0 18px; }
#pgsc-motor-demo .pgsc-filter-grid > div > select { min-height: 64px; }
#pgsc-motor-demo .pgsc-search-line { margin: 0 0 10px; }
#pgsc-motor-demo .pgsc-category-field,
#pgsc-motor-demo .pgsc-make-field { position: relative; min-width: 0; }
#pgsc-motor-demo .pgsc-category-control,
#pgsc-motor-demo .pgsc-make-control {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-width: 0; min-height: 64px; height: 64px; overflow: hidden;
  padding: 10px 12px; border: 1px solid #b8c9d5; border-radius: 5px;
  background: #fff; color: #17364c; font: 400 16px/1.35 Arial, Helvetica, sans-serif;
  text-align: left; text-transform: none; letter-spacing: normal;
  -webkit-tap-highlight-color: transparent;
}
#pgsc-motor-demo .pgsc-category-control:hover,
#pgsc-motor-demo .pgsc-category-control[aria-expanded="true"],
#pgsc-motor-demo .pgsc-make-control:hover,
#pgsc-motor-demo .pgsc-make-control[aria-expanded="true"] {
  background: #fff; color: #17364c; border-color: #1266a8;
}
#pgsc-motor-demo .pgsc-category-value,
#pgsc-motor-demo .pgsc-make-value { display: flex; align-items: center; flex: 1; min-width: 0; overflow: hidden; }
#pgsc-motor-demo .pgsc-category-display,
#pgsc-motor-demo .pgsc-brand-display { display: flex; align-items: center; min-width: 0; width: 100%; }
#pgsc-motor-demo .pgsc-category-option-text,
#pgsc-motor-demo .pgsc-brand-name {
  display: block; min-width: 0; width: 100%; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font: 400 16px/1.4 Arial, Helvetica, sans-serif; text-align: left;
}
#pgsc-motor-demo .pgsc-category-chevron,
#pgsc-motor-demo .pgsc-make-chevron {
  flex: 0 0 8px; width: 8px; height: 8px; margin: 0 3px 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
#pgsc-motor-demo .pgsc-category-control[aria-expanded="true"] .pgsc-category-chevron,
#pgsc-motor-demo .pgsc-make-control[aria-expanded="true"] .pgsc-make-chevron { transform: rotate(225deg); margin-bottom: 0; }
#pgsc-motor-demo .pgsc-category-list,
#pgsc-motor-demo .pgsc-make-list {
  position: absolute; top: calc(100% + 7px); z-index: 31;
  width: max(100%,320px); max-width: calc(100vw - 48px); max-height: min(420px,72vh);
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; touch-action: pan-y;
  padding: 6px; margin: 0; border: 1px solid #b8c9d5; border-radius: 7px;
  background: #fff; color: #17364c; box-shadow: 0 12px 30px rgba(16,45,67,.18);
}
#pgsc-motor-demo .pgsc-category-list { left: 0; }
#pgsc-motor-demo .pgsc-make-list { right: 0; }
#pgsc-motor-demo .pgsc-category-option,
#pgsc-motor-demo .pgsc-make-option {
  position: relative; display: flex; align-items: center; min-height: 46px;
  padding: 10px 38px 10px 12px; margin: 1px 0; border: 2px solid transparent; border-radius: 5px;
  background: #fff; color: #17364c; cursor: pointer; line-height: 1.3;
  transition: background .14s ease, border-color .14s ease, box-shadow .14s ease;
}
#pgsc-motor-demo .pgsc-category-option:hover,
#pgsc-motor-demo .pgsc-category-option[data-active="true"],
#pgsc-motor-demo .pgsc-make-option:hover,
#pgsc-motor-demo .pgsc-make-option[data-active="true"] {
  background: #eaf4fb; border-color: #5b9dca; box-shadow: inset 4px 0 0 #1266a8;
}
#pgsc-motor-demo .pgsc-category-option[aria-selected="true"],
#pgsc-motor-demo .pgsc-make-option[aria-selected="true"] { background: #edf4f9; border-color: #9ec4df; font-weight: 700; }
#pgsc-motor-demo .pgsc-category-check,
#pgsc-motor-demo .pgsc-make-check {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px;
  color: #1266a8; font-weight: 700; text-align: center; visibility: hidden;
}
#pgsc-motor-demo .pgsc-category-option[aria-selected="true"] .pgsc-category-check,
#pgsc-motor-demo .pgsc-make-option[aria-selected="true"] .pgsc-make-check { visibility: visible; }
#pgsc-motor-demo .pgsc-detail-grid .pgsc-detail-maker { display: flex; align-items: center; min-height: 32px; margin-top: 4px; }
#pgsc-motor-demo .pgsc-detail-maker .pgsc-brand-name { font-weight: 700; white-space: normal; overflow: visible; text-overflow: clip; }
@container pgscdemo (max-width: 560px) {
  #pgsc-motor-demo .pgsc-category-field,
  #pgsc-motor-demo .pgsc-make-field { grid-column: 1 / -1; }
  #pgsc-motor-demo .pgsc-category-list,
  #pgsc-motor-demo .pgsc-make-list { width: 100%; max-width: 100%; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 600px) {
    #pgsc-motor-demo .pgsc-category-field,
    #pgsc-motor-demo .pgsc-make-field { grid-column: 1 / -1; }
    #pgsc-motor-demo .pgsc-category-list,
    #pgsc-motor-demo .pgsc-make-list { width: 100%; max-width: 100%; }
  }
}
@media (forced-colors: active) {
  #pgsc-motor-demo .pgsc-category-option[data-active="true"],
  #pgsc-motor-demo .pgsc-make-option[data-active="true"] { border-color: Highlight; box-shadow: none; }
  #pgsc-motor-demo .pgsc-category-option[aria-selected="true"],
  #pgsc-motor-demo .pgsc-make-option[aria-selected="true"] { outline: 1px solid CanvasText; }
}

.pgsc-import-banner {--pgsc-shell-width:min(1540px,calc(100vw - 48px));box-sizing:border-box;width:var(--pgsc-shell-width);max-width:none;padding:16px 20px;margin:18px 0;margin-left:max(calc(50% - 50vw + 24px),calc(50% - 770px));border:1px solid #e2c67f;background:#fff6df;color:#543f13;font:14px/1.6 Arial,Helvetica,sans-serif;border-radius:7px;}
#pgsc-enquiry-live .pgsc-preview-status {font-size:14px;padding:14px;background:#edf4f9;border:1px solid #cbdce8;}

#pgsc-enquiry-live [data-pgsc-preview-fields] {border:0;padding:0;margin:0;min-width:0;}


/* 0.7.0: sales-approved free-entry kW range and pole filter. */
#pgsc-motor-demo .pgsc-power-pair { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 7px; }
#pgsc-motor-demo .pgsc-power-pair input { min-height: 64px; height: 64px; padding: 10px 9px; }
#pgsc-motor-demo .pgsc-power-pair span { color: #dce8f1; font: 400 16px/1.35 Arial, Helvetica, sans-serif; }
#pgsc-motor-demo .pgsc-filter-error { margin: 5px 0 0; color: #a83832; font-size: 11px; line-height: 1.35; }
#pgsc-motor-demo .pgsc-power-pair input[aria-invalid="true"] { border-color: #b94a42; box-shadow: 0 0 0 1px rgba(185,74,66,.08); }
#pgsc-motor-demo #pgsc-pole:disabled { background: #edf2f5; color: #667985; cursor: not-allowed; opacity: 1; }
@container pgscdemo (max-width: 560px) {
  #pgsc-motor-demo .pgsc-power-field { grid-column: 1 / -1; }
}

/* Stock freshness clock and Park Gate enquiry-panel treatment. */
#pgsc-motor-demo .pgsc-notice-clock {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: currentColor;
}
#pgsc-motor-demo .pgsc-notice-clock svg {
  display: block; width: 16px; height: 16px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

#pgsc-motor-demo .pgsc-detail-heading { margin: 0 0 22px; }

#pgsc-enquiry-live {
  border-color: #102d43;
  background: #102d43;
  color: #fff;
  box-shadow: 0 10px 30px rgba(16,45,67,.08);
}
#pgsc-enquiry-live h2,
#pgsc-enquiry-live :is(.wpcf7, .pgsc-local-preview) label { color: #fff; }
#pgsc-enquiry-live .pgsc-live-intro,
#pgsc-enquiry-live .pgsc-upload-help,
#pgsc-enquiry-live .pgsc-live-back { color: #dce8f1; }
#pgsc-enquiry-live .pgsc-live-state {
  background: #eaf3fa; color: #17364c; border-color: #b9d2e3;
}
#pgsc-enquiry-live .pgsc-live-state[data-kind="error"] { background: #fff4e8; color: #67391c; border-color: #dfbb93; }
#pgsc-enquiry-live .pgsc-live-state[data-kind="sent"] { background: #eef7f0; color: #20472d; border-color: #b9d8c2; }
#pgsc-enquiry-live input[type="text"],
#pgsc-enquiry-live input[type="email"],
#pgsc-enquiry-live input[type="tel"],
#pgsc-enquiry-live textarea,
#pgsc-enquiry-live input[readonly] {
  background: #fff; color: #17364c; border-color: #b8c9d5;
}
#pgsc-enquiry-live .pgsc-upload-panel {
  border-color: rgba(220,232,241,.55);
  background: rgba(255,255,255,.06);
}
#pgsc-enquiry-live input[type="file"] { color: #dce8f1; }
#pgsc-enquiry-live input[type="file"]::file-selector-button {
  background: #fff; color: #17364c; border-color: #b8c9d5;
}
#pgsc-enquiry-live input[type="file"]::file-selector-button:hover { background: #eaf2f8; }
#pgsc-enquiry-live a { color: #a9d8f4; }
#pgsc-enquiry-live .pgsc-fallback-contact { color: #fff; }
#pgsc-enquiry-live .pgsc-fallback-contact h3 { color: #fff; }
#pgsc-enquiry-live .wpcf7-response-output { color: #fff; }


/* Keep the full enquiry form collapsed until a motor (or general enquiry) is deliberately selected. */
#pgsc-enquiry-live .pgsc-enquiry-fields[hidden] { display: none !important; }
#pgsc-enquiry-live .pgsc-enquiry-fields:not([hidden]) {
  display: block;
  animation: pgsc-enquiry-reveal .22s ease-out both;
}
@keyframes pgsc-enquiry-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  #pgsc-enquiry-live .pgsc-enquiry-fields:not([hidden]) { animation: none; }
}

/* 0.9.13: lighter modal information panels, simplified hero, larger three-step guide and customer-selectable page size. */
/* 0.9.12: final availability-colour specificity fix. */
/* 0.9.11: unified search-control typography, larger hero logo, dark View details hover and clearer availability treatment. */
/* 0.9.10: keep the full-width breakout comfortably inside small viewports. */
@media (max-width: 640px) {
  #pgsc-motor-demo,
  #pgsc-enquiry-live,
  .pgsc-import-banner {
    --pgsc-shell-width: calc(100vw - 20px);
    margin-left: calc(50% - 50vw + 10px);
  }
}


/* 0.9.15: stronger free-text search, larger motor-details dialog and tracked call-to-sales action. */
#pgsc-motor-demo .pgsc-filters { padding-bottom: 12px; }
#pgsc-motor-demo .pgsc-search-line { align-items: end; margin-bottom: 0; }
#pgsc-motor-demo .pgsc-search-line > div { min-width: 0; }
#pgsc-motor-demo #pgsc-query {
  min-height: 68px; height: 68px; padding: 16px 17px;
  border-radius: 6px; font-size: 17px; line-height: 1.35;
}
#pgsc-motor-demo .pgsc-search-line > button.pgsc-text {
  min-height: 68px; padding: 12px 14px; align-self: end;
}
#pgsc-motor-demo .pgsc-filter-footer { min-height: 52px; }
#pgsc-motor-demo button.pgsc-reset-control { min-height: 50px; }

#pgsc-motor-demo dialog {
  width: min(940px, calc(100vw - 40px)); max-width: 940px;
  max-height: calc(100dvh - 32px); border-radius: 14px;
}
#pgsc-motor-demo .pgsc-dialog-bar { padding: 17px 32px; }
#pgsc-motor-demo .pgsc-dialog-bar span { font-size: 14px; letter-spacing: 1.15px; }
#pgsc-motor-demo .pgsc-dialog-bar button.pgsc-secondary {
  min-height: 48px; padding: 11px 20px; font-size: 16px;
}
#pgsc-motor-demo .pgsc-dialog-body { padding: 36px 38px 38px; }
#pgsc-motor-demo .pgsc-dialog-body h2 {
  font-size: clamp(34px, 4vw, 42px); line-height: 1.14;
  letter-spacing: -.8px; margin: 8px 0 12px;
}
#pgsc-motor-demo .pgsc-dialog-body > p,
#pgsc-motor-demo .pgsc-dialog-body .pgsc-detail-overview > p {
  font-size: 18px; line-height: 1.55; margin-bottom: 24px;
}
#pgsc-motor-demo .pgsc-dialog-body .pgsc-ref { font-size: 14px; }
#pgsc-motor-demo .pgsc-detail-heading { margin-bottom: 26px; }
#pgsc-motor-demo .pgsc-detail-grid {
  margin: 26px 0; gap: 0 34px;
}
#pgsc-motor-demo .pgsc-detail-grid > div { padding: 17px 0; }
#pgsc-motor-demo .pgsc-detail-grid dt { font-size: 15px; line-height: 1.4; }
#pgsc-motor-demo .pgsc-detail-grid dd,
#pgsc-motor-demo .pgsc-detail-maker .pgsc-brand-name {
  margin-top: 6px; font-size: 19px; line-height: 1.4;
}
#pgsc-motor-demo .pgsc-detail-grid dd.pgsc-availability-status { font-size: 19px; }
#pgsc-motor-demo .pgsc-availability-dot { width: 11px; height: 11px; flex-basis: 11px; }
#pgsc-motor-demo .pgsc-dialog-body > p.pgsc-availability-disclaimer,
#pgsc-motor-demo .pgsc-detail-note {
  padding: 18px 20px; font-size: 16px; line-height: 1.65;
}
#pgsc-motor-demo .pgsc-dialog-body > p.pgsc-availability-disclaimer { margin-bottom: 22px; }
#pgsc-motor-demo .pgsc-detail-note { margin-bottom: 26px; }
#pgsc-motor-demo .pgsc-detail-actions {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px;
}
#pgsc-motor-demo .pgsc-detail-actions > button,
#pgsc-motor-demo .pgsc-call-sales {
  min-height: 56px; padding: 13px 20px; border-radius: 6px;
  font: 700 17px/1.35 Arial, Helvetica, sans-serif;
}
#pgsc-motor-demo .pgsc-detail-actions > button { flex: 1 1 260px; }
#pgsc-motor-demo .pgsc-call-sales {
  display: inline-flex; flex: 1 1 280px; align-items: center; justify-content: center; gap: 11px;
  border: 1px solid #fff; background: #fff; color: var(--pgsc-navy);
  text-decoration: none; text-align: center; transition: background .15s, border-color .15s, color .15s;
}
#pgsc-motor-demo .pgsc-call-sales svg {
  display: block; width: 22px; height: 22px; flex: 0 0 22px;
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
#pgsc-motor-demo .pgsc-call-sales span { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
#pgsc-motor-demo .pgsc-call-sales strong { color: inherit; font-weight: 700; }
#pgsc-motor-demo .pgsc-call-sales:hover,
#pgsc-motor-demo .pgsc-call-sales:focus-visible {
  background: #eaf4fb; border-color: #8ec5e9; color: #0b4d81;
}

@container pgscdemo (max-width: 700px) {
  #pgsc-motor-demo dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  #pgsc-motor-demo .pgsc-dialog-bar { padding: 12px 18px; }
  #pgsc-motor-demo .pgsc-dialog-bar span { font-size: 12px; }
  #pgsc-motor-demo .pgsc-dialog-bar button.pgsc-secondary { min-height: 44px; padding: 9px 14px; font-size: 14px; }
  #pgsc-motor-demo .pgsc-dialog-body { padding: 24px 20px 26px; }
  #pgsc-motor-demo .pgsc-dialog-body h2 { font-size: 31px; }
  #pgsc-motor-demo .pgsc-dialog-body > p,
  #pgsc-motor-demo .pgsc-dialog-body .pgsc-detail-overview > p { font-size: 16px; }
  #pgsc-motor-demo .pgsc-detail-grid { grid-template-columns: 1fr; gap: 0; }
  #pgsc-motor-demo .pgsc-detail-grid dt { font-size: 14px; }
  #pgsc-motor-demo .pgsc-detail-grid dd,
  #pgsc-motor-demo .pgsc-detail-maker .pgsc-brand-name { font-size: 17px; }
  #pgsc-motor-demo .pgsc-dialog-body > p.pgsc-availability-disclaimer,
  #pgsc-motor-demo .pgsc-detail-note { font-size: 15px; padding: 16px; }
  #pgsc-motor-demo .pgsc-detail-actions { flex-direction: column; }
  #pgsc-motor-demo .pgsc-detail-actions > button,
  #pgsc-motor-demo .pgsc-call-sales { width: 100%; flex-basis: auto; }
}

@container pgscdemo (max-width: 560px) {
  #pgsc-motor-demo #pgsc-query { min-height: 60px; height: 60px; padding: 14px; }
  #pgsc-motor-demo .pgsc-search-line > button.pgsc-text { min-height: 44px; padding: 7px 8px; }
}

@supports not (container-type: inline-size) {
  @media (max-width: 700px) {
    #pgsc-motor-demo dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
    #pgsc-motor-demo .pgsc-dialog-body { padding: 24px 20px 26px; }
    #pgsc-motor-demo .pgsc-detail-grid { grid-template-columns: 1fr; }
    #pgsc-motor-demo .pgsc-detail-actions { flex-direction: column; }
    #pgsc-motor-demo .pgsc-detail-actions > button,
    #pgsc-motor-demo .pgsc-call-sales { width: 100%; flex-basis: auto; }
  }
}

/* 0.9.16: refined search actions, clearer primary enquiry hierarchy and secondary call link. */
#pgsc-motor-demo .pgsc-filters { padding-bottom: 18px; }
#pgsc-motor-demo .pgsc-search-line {
  grid-template-columns: minmax(0, 1fr) 148px;
  align-items: start;
  gap: 22px;
}
#pgsc-motor-demo .pgsc-search-main { min-width: 0; }
#pgsc-motor-demo .pgsc-search-help {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 2px 0;
}
#pgsc-motor-demo .pgsc-search-help button.pgsc-text {
  min-height: 38px;
  padding: 7px 10px;
  margin-left: -10px;
  justify-content: flex-start;
}
#pgsc-motor-demo .pgsc-search-reset {
  display: flex;
  align-items: flex-start;
  justify-content: stretch;
  padding-top: 26px;
}
#pgsc-motor-demo .pgsc-search-reset button.pgsc-reset-control {
  width: 100%;
  min-width: 0;
  min-height: 68px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.035);
}
#pgsc-motor-demo .pgsc-search-reset button.pgsc-reset-control svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}
#pgsc-motor-demo .pgsc-search-reset button.pgsc-reset-control span {
  font-size: 12px;
  font-weight: 700;
}
#pgsc-motor-demo .pgsc-search-reset button.pgsc-reset-control:hover,
#pgsc-motor-demo .pgsc-search-reset button.pgsc-reset-control:focus-visible {
  background: rgba(169,216,244,.16);
  border-color: #82c7f1;
  color: #fff;
}

/* Enquiry remains the clear primary action. The telephone option is intentionally
   borderless at rest and gains the catalogue light-blue highlight on interaction. */
#pgsc-motor-demo .pgsc-detail-actions {
  align-items: center;
  gap: 16px;
}
#pgsc-motor-demo .pgsc-detail-actions > button {
  flex: 1 1 430px;
  min-width: 280px;
  box-shadow: 0 5px 15px rgba(0,0,0,.12);
}
#pgsc-motor-demo .pgsc-call-sales {
  flex: 0 1 auto;
  min-width: 270px;
  padding-left: 16px;
  padding-right: 16px;
  border-color: transparent;
  background: transparent;
  color: #a9d8f4;
  box-shadow: none;
}
#pgsc-motor-demo .pgsc-call-sales:hover,
#pgsc-motor-demo .pgsc-call-sales:focus-visible {
  background: #dff1fb;
  border-color: transparent;
  color: #0b4d81;
}

@container pgscdemo (max-width: 700px) {
  #pgsc-motor-demo .pgsc-search-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  #pgsc-motor-demo .pgsc-search-reset {
    padding-top: 0;
    justify-content: flex-start;
  }
  #pgsc-motor-demo .pgsc-search-reset button.pgsc-reset-control {
    width: auto;
    min-width: 150px;
    min-height: 48px;
    flex-direction: row;
    padding: 8px 14px;
  }
  #pgsc-motor-demo .pgsc-search-reset button.pgsc-reset-control svg {
    width: 25px;
    height: 25px;
  }
  #pgsc-motor-demo .pgsc-detail-actions > button,
  #pgsc-motor-demo .pgsc-call-sales {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 700px) {
    #pgsc-motor-demo .pgsc-search-line { grid-template-columns: 1fr; gap: 8px; }
    #pgsc-motor-demo .pgsc-search-reset { padding-top: 0; justify-content: flex-start; }
    #pgsc-motor-demo .pgsc-search-reset button.pgsc-reset-control {
      width: auto; min-width: 150px; min-height: 48px; flex-direction: row;
    }
  }
}


/* 1.0.1: legacy-theme isolation and compact public-site spacing.
   The current Park Gate theme applies broad layout rules to nested fieldsets,
   lists and content containers. These scoped overrides preserve the intended
   catalogue dimensions without affecting any other page element. */
#pgsc-motor-demo {
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo > .pgsc-notice,
#pgsc-motor-demo > .pgsc-hero,
#pgsc-motor-demo > .pgsc-filters,
#pgsc-motor-demo > .pgsc-results-area,
#pgsc-motor-demo > .pgsc-help,
#pgsc-motor-demo > .pgsc-connection-note,
#pgsc-motor-demo #pgsc-live,
#pgsc-motor-demo .pgsc-filter-grid,
#pgsc-motor-demo .pgsc-search-line,
#pgsc-motor-demo .pgsc-search-main,
#pgsc-motor-demo .pgsc-search-help,
#pgsc-motor-demo .pgsc-search-reset,
#pgsc-motor-demo .pgsc-toolbar,
#pgsc-motor-demo .pgsc-chips,
#pgsc-motor-demo .pgsc-colheads,
#pgsc-motor-demo .pgsc-result-list,
#pgsc-motor-demo .pgsc-result-list > li,
#pgsc-motor-demo .pgsc-result,
#pgsc-motor-demo .pgsc-pagination,
#pgsc-motor-demo .pgsc-page-size,
#pgsc-motor-demo .pgsc-page-actions,
#pgsc-motor-demo .pgsc-dialog-body,
#pgsc-motor-demo .pgsc-detail-heading,
#pgsc-motor-demo .pgsc-detail-overview,
#pgsc-motor-demo .pgsc-detail-grid,
#pgsc-motor-demo .pgsc-detail-grid > div,
#pgsc-motor-demo .pgsc-detail-actions {
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo > .pgsc-notice,
#pgsc-motor-demo > .pgsc-hero,
#pgsc-motor-demo > .pgsc-filters,
#pgsc-motor-demo > .pgsc-results-area,
#pgsc-motor-demo > .pgsc-help,
#pgsc-motor-demo #pgsc-live,
#pgsc-motor-demo .pgsc-dialog-body,
#pgsc-motor-demo .pgsc-detail-heading,
#pgsc-motor-demo .pgsc-detail-overview {
  display: block !important;
  justify-content: initial !important;
  align-items: initial !important;
}

#pgsc-motor-demo h2,
#pgsc-motor-demo h3,
#pgsc-motor-demo p,
#pgsc-motor-demo dl,
#pgsc-motor-demo dt,
#pgsc-motor-demo dd,
#pgsc-motor-demo ol,
#pgsc-motor-demo ul,
#pgsc-motor-demo li {
  margin-top: 0 !important;
}

#pgsc-motor-demo .pgsc-filters {
  display: block !important;
  margin: 0 !important;
  padding: 26px 28px 20px !important;
}

#pgsc-motor-demo .pgsc-filter-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr !important;
  align-items: end !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-filter-grid > div {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo .pgsc-search-line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 148px !important;
  align-items: start !important;
  justify-content: initial !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-search-main,
#pgsc-motor-demo .pgsc-search-reset,
#pgsc-motor-demo .pgsc-search-help {
  margin: 0 !important;
}

#pgsc-motor-demo .pgsc-search-help {
  display: flex !important;
  align-items: center !important;
  padding: 6px 2px 0 !important;
}

#pgsc-motor-demo .pgsc-search-reset {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: stretch !important;
  padding: 26px 0 0 !important;
}

#pgsc-motor-demo .pgsc-results-area {
  display: block !important;
  margin: 0 !important;
  padding: 20px 28px 26px !important;
}

#pgsc-motor-demo #pgsc-live {
  margin: 0 !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-chips {
  margin: 0 0 15px !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-colheads {
  display: grid !important;
  margin: 0 !important;
  min-height: 0 !important;
}

#pgsc-motor-demo .pgsc-result-list {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-result-list > li {
  display: list-item !important;
  margin: 0 !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-result {
  display: grid !important;
  margin: 0 !important;
  padding: 20px 14px !important;
}

#pgsc-motor-demo .pgsc-pagination {
  display: grid !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-help {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 24px 28px !important;
}

#pgsc-motor-demo dialog {
  display: block;
  position: fixed !important;
  inset: 0 !important;
  width: min(900px, calc(100vw - 40px)) !important;
  max-width: 900px !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: calc(100dvh - 32px) !important;
  margin: auto !important;
  padding: 0 !important;
}

#pgsc-motor-demo dialog:not([open]) {
  display: none !important;
}

#pgsc-motor-demo .pgsc-dialog-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 15px 28px !important;
}

#pgsc-motor-demo .pgsc-dialog-body {
  margin: 0 !important;
  padding: 28px 32px 32px !important;
}

#pgsc-motor-demo .pgsc-detail-heading {
  margin: 0 0 20px !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-detail-overview {
  margin: 0 !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-dialog-body h2 {
  margin: 7px 0 10px !important;
  font-size: clamp(32px, 3vw, 38px) !important;
  line-height: 1.16 !important;
}

#pgsc-motor-demo .pgsc-dialog-body .pgsc-detail-overview > p {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
}

#pgsc-motor-demo .pgsc-detail-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 30px !important;
  margin: 20px 0 !important;
  padding: 0 !important;
}

#pgsc-motor-demo .pgsc-detail-grid > div {
  display: block !important;
  margin: 0 !important;
  padding: 14px 0 !important;
}

#pgsc-motor-demo .pgsc-dialog-body > p.pgsc-availability-disclaimer {
  margin: 0 0 18px !important;
  padding: 16px 18px !important;
}

#pgsc-motor-demo .pgsc-detail-note {
  margin: 0 0 22px !important;
  padding: 16px 18px !important;
}

#pgsc-motor-demo .pgsc-detail-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: initial !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

@container pgscdemo (max-width: 870px) {
  #pgsc-motor-demo .pgsc-filter-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  #pgsc-motor-demo .pgsc-result-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
  #pgsc-motor-demo .pgsc-result-list > li {
    display: block !important;
  }
}

@container pgscdemo (max-width: 700px) {
  #pgsc-motor-demo .pgsc-search-line {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  #pgsc-motor-demo .pgsc-search-reset {
    padding-top: 0 !important;
  }
  #pgsc-motor-demo .pgsc-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  #pgsc-motor-demo .pgsc-detail-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

@container pgscdemo (max-width: 560px) {
  #pgsc-motor-demo .pgsc-filters,
  #pgsc-motor-demo .pgsc-results-area {
    padding: 20px 16px !important;
  }
  #pgsc-motor-demo .pgsc-filter-grid {
    grid-template-columns: 1fr !important;
  }
  #pgsc-motor-demo .pgsc-toolbar,
  #pgsc-motor-demo .pgsc-help {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
  #pgsc-motor-demo .pgsc-result-list {
    grid-template-columns: 1fr !important;
  }
  #pgsc-motor-demo .pgsc-dialog-body {
    padding: 22px 18px 24px !important;
  }
}


/* 1.0.2: customer-facing landing treatment aligned with the new Park Gate website.
   The internal test catalogue keeps its existing logo-led presentation. */
#pgsc-motor-demo.pgsc-public {
  --pgsc-shell-width: min(1420px, calc(100vw - 48px));
  width: var(--pgsc-shell-width) !important;
  max-width: 1420px !important;
  margin: 24px 0 40px !important;
  margin-left: 50% !important;
  transform: translateX(-50%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(16,45,67,.10);
}

#pgsc-motor-demo.pgsc-public > .pgsc-public-hero {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: center !important;
  min-height: 350px !important;
  padding: 48px 52px 44px !important;
  background-image:
    linear-gradient(90deg, rgba(10,27,41,.90) 0%, rgba(10,27,41,.79) 54%, rgba(10,27,41,.46) 100%),
    url('https://www.park-gate.co.uk/wp-content/uploads/2026/10/Park_Gate124-scaled.jpg');
  background-position: center 48%;
  background-size: cover;
}

#pgsc-motor-demo.pgsc-public .pgsc-public-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: #dceaf4;
  background: rgba(16,45,67,.42);
  font: 700 12px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .9px;
  text-transform: uppercase;
}

#pgsc-motor-demo.pgsc-public .pgsc-public-hero h2 {
  max-width: 800px;
  margin: 0 0 18px !important;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.03;
  letter-spacing: -1.8px;
  text-transform: uppercase;
}

#pgsc-motor-demo.pgsc-public .pgsc-public-intro {
  max-width: 840px;
  margin: 0 !important;
  color: #eef5fa;
  font-size: 18px;
  line-height: 1.6;
}

#pgsc-motor-demo.pgsc-public .pgsc-steps {
  margin-top: 28px;
  gap: 18px 38px;
  font-size: clamp(16px, 1.3vw, 19px);
}

#pgsc-motor-demo.pgsc-public .pgsc-public-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  width: min(100%, 980px);
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.24);
  color: #dce8f1;
  font-size: 13px;
  line-height: 1.45;
}

#pgsc-motor-demo.pgsc-public .pgsc-public-proof span {
  position: relative;
  padding-left: 16px;
}

#pgsc-motor-demo.pgsc-public .pgsc-public-proof span::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82c7f1;
}

#pgsc-motor-demo.pgsc-public > .pgsc-notice {
  padding: 14px 32px !important;
  border-bottom: 1px solid #c8dce9;
  font-size: 13px;
}

#pgsc-motor-demo.pgsc-public > .pgsc-notice-stock {
  color: #17364c;
  background: #eaf4fb;
  border-bottom-color: #c8dce9;
}

#pgsc-motor-demo.pgsc-public > .pgsc-notice-stock strong { color: #102d43; }

#pgsc-motor-demo.pgsc-public > .pgsc-filters {
  padding: 30px 32px 22px !important;
}

#pgsc-motor-demo.pgsc-public > .pgsc-results-area {
  padding: 26px 32px 30px !important;
}

#pgsc-motor-demo.pgsc-public > .pgsc-help {
  padding: 24px 32px !important;
}

#pgsc-enquiry-live.pgsc-public-enquiry {
  --pgsc-shell-width: min(1420px, calc(100vw - 48px));
  width: var(--pgsc-shell-width) !important;
  max-width: 1420px !important;
  margin: 0 0 40px !important;
  margin-left: 50% !important;
  transform: translateX(-50%);
  border-radius: 16px;
}

@container pgscdemo (max-width: 700px) {
  #pgsc-motor-demo.pgsc-public > .pgsc-public-hero {
    min-height: 0 !important;
    padding: 36px 28px 34px !important;
    background-image:
      linear-gradient(rgba(10,27,41,.84), rgba(10,27,41,.84)),
      url('https://www.park-gate.co.uk/wp-content/uploads/2026/10/Park_Gate124-scaled.jpg');
  }
  #pgsc-motor-demo.pgsc-public .pgsc-public-hero h2 {
    font-size: clamp(34px, 8.5vw, 46px);
    letter-spacing: -1px;
  }
  #pgsc-motor-demo.pgsc-public .pgsc-public-intro { font-size: 16px; }
  #pgsc-motor-demo.pgsc-public .pgsc-public-proof { gap: 9px 18px; margin-top: 24px; }
}

@container pgscdemo (max-width: 560px) {
  #pgsc-motor-demo.pgsc-public {
    --pgsc-shell-width: calc(100vw - 20px);
    margin-top: 14px !important;
    margin-bottom: 28px !important;
  }
  #pgsc-motor-demo.pgsc-public > .pgsc-public-hero { padding: 30px 20px 28px !important; }
  #pgsc-motor-demo.pgsc-public > .pgsc-notice { padding: 12px 18px !important; }
  #pgsc-motor-demo.pgsc-public > .pgsc-filters,
  #pgsc-motor-demo.pgsc-public > .pgsc-results-area { padding: 20px 16px !important; }
  #pgsc-motor-demo.pgsc-public > .pgsc-help { padding: 22px 18px !important; }
  #pgsc-enquiry-live.pgsc-public-enquiry {
    --pgsc-shell-width: calc(100vw - 20px);
    margin-bottom: 28px !important;
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 700px) {
    #pgsc-motor-demo.pgsc-public > .pgsc-public-hero {
      min-height: 0 !important;
      padding: 36px 28px 34px !important;
      background-image:
        linear-gradient(rgba(10,27,41,.84), rgba(10,27,41,.84)),
        url('https://www.park-gate.co.uk/wp-content/uploads/2026/10/Park_Gate124-scaled.jpg');
    }
  }
  @media (max-width: 560px) {
    #pgsc-motor-demo.pgsc-public,
    #pgsc-enquiry-live.pgsc-public-enquiry {
      --pgsc-shell-width: calc(100vw - 20px);
    }
  }
}

/* 1.0.3: compact public layout aligned to the new website catalogue.
   Also neutralises inherited <pre>/<code> whitespace from WPBakery text blocks. */
pre:has(#pgsc-motor-demo),
code:has(#pgsc-motor-demo) {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  white-space: normal !important;
}

#pgsc-motor-demo,
#pgsc-motor-demo * {
  white-space: normal;
}

#pgsc-motor-demo.pgsc-public {
  --pgsc-shell-width: min(1420px, calc(100vw - 48px));
  margin-top: 18px !important;
  margin-bottom: 34px !important;
}

#pgsc-motor-demo.pgsc-public > .pgsc-public-hero {
  min-height: 300px !important;
  padding: 38px 50px 36px !important;
  justify-content: center !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-public-hero h2 {
  max-width: 720px !important;
  margin: 0 0 15px !important;
  font-size: clamp(34px, 3.15vw, 50px) !important;
  line-height: 1.05 !important;
  letter-spacing: -1.15px !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-public-intro {
  max-width: 780px !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-steps {
  gap: 16px 34px !important;
  margin-top: 23px !important;
  font-size: clamp(15px, 1.1vw, 17px) !important;
}

#pgsc-motor-demo.pgsc-public > .pgsc-notice {
  margin: 0 !important;
  padding: 12px 32px !important;
  min-height: 0 !important;
  height: auto !important;
  white-space: normal !important;
}

#pgsc-motor-demo.pgsc-public > .pgsc-filters {
  display: block !important;
  margin: 0 !important;
  padding: 26px 32px 22px !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-filter-grid {
  display: grid !important;
  align-items: end !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo .pgsc-search-line {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo .pgsc-search-main {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo .pgsc-search-input-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 150px !important;
  align-items: stretch !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo #pgsc-query {
  min-height: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 15px 18px !important;
}

#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control {
  display: inline-flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.035) !important;
}

#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control svg {
  width: 28px !important;
  height: 28px !important;
}

#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control span {
  font-size: 11px !important;
  line-height: 1.1 !important;
}

#pgsc-motor-demo .pgsc-search-help {
  display: flex !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 8px 0 0 !important;
  align-items: center !important;
}

#pgsc-motor-demo .pgsc-search-help button.pgsc-text {
  min-height: 34px !important;
  margin-left: -8px !important;
  padding: 5px 8px !important;
}

#pgsc-motor-demo.pgsc-public > .pgsc-results-area {
  display: block !important;
  position: static !important;
  inset: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 24px 32px 28px !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo.pgsc-public #pgsc-live {
  display: block !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-toolbar {
  display: flex !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-colheads {
  margin: 0 !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-result {
  margin: 0 !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  min-height: 0 !important;
  height: auto !important;
}

#pgsc-motor-demo.pgsc-public > .pgsc-help {
  margin: 0 !important;
  padding: 20px 32px !important;
  min-height: 0 !important;
  height: auto !important;
}

@container pgscdemo (max-width: 700px) {
  #pgsc-motor-demo.pgsc-public > .pgsc-public-hero {
    padding: 32px 26px 30px !important;
  }
  #pgsc-motor-demo.pgsc-public .pgsc-public-hero h2 {
    font-size: clamp(32px, 8vw, 43px) !important;
  }
  #pgsc-motor-demo .pgsc-search-input-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control {
    width: auto !important;
    min-width: 150px !important;
    height: 48px !important;
    min-height: 48px !important;
    justify-self: start !important;
    flex-direction: row !important;
    padding: 8px 14px !important;
  }
  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control svg {
    width: 24px !important;
    height: 24px !important;
  }
}

@container pgscdemo (max-width: 560px) {
  #pgsc-motor-demo.pgsc-public > .pgsc-public-hero {
    padding: 28px 20px 27px !important;
  }
  #pgsc-motor-demo.pgsc-public > .pgsc-filters,
  #pgsc-motor-demo.pgsc-public > .pgsc-results-area {
    padding: 20px 16px 22px !important;
  }
  #pgsc-motor-demo.pgsc-public > .pgsc-help {
    padding: 19px 18px !important;
  }
}


/* 1.0.4: page-hero integration and mobile catalogue refinement.
   The customer page now owns the warehouse hero and CTA, so the public
   catalogue begins at the live stock status and search controls. */
#pgsc-controls {
  scroll-margin-top: 118px;
}

#pgsc-motor-demo.pgsc-public {
  margin-top: 10px !important;
}

#pgsc-motor-demo.pgsc-public > .pgsc-notice {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 12px 28px !important;
  line-height: 1.45 !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-notice-clock {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 0 !important;
}

#pgsc-motor-demo.pgsc-public .pgsc-notice-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 9px;
  min-width: 0;
}

#pgsc-motor-demo.pgsc-public .pgsc-notice-copy strong,
#pgsc-motor-demo.pgsc-public .pgsc-notice-copy span {
  color: inherit;
}

#pgsc-motor-demo.pgsc-public > .pgsc-filters {
  padding-top: 24px !important;
}

@container pgscdemo (max-width: 700px) {
  #pgsc-controls {
    scroll-margin-top: 92px;
  }

  #pgsc-motor-demo.pgsc-public {
    --pgsc-shell-width: calc(100vw - 20px);
    margin-top: 8px !important;
    margin-bottom: 26px !important;
    border-radius: 14px !important;
  }

  #pgsc-motor-demo.pgsc-public > .pgsc-notice {
    align-items: flex-start !important;
    padding: 11px 16px !important;
    font-size: 12px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-notice-copy {
    display: block;
    line-height: 1.45;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-notice-copy strong {
    display: block;
    margin-bottom: 2px;
  }

  #pgsc-motor-demo.pgsc-public > .pgsc-filters {
    padding: 20px 18px 19px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-filter-grid {
    gap: 13px 12px !important;
    margin-bottom: 16px !important;
  }

  #pgsc-motor-demo .pgsc-filter-grid > div > select,
  #pgsc-motor-demo .pgsc-power-pair input {
    min-height: 52px !important;
    height: 52px !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row {
    grid-template-columns: minmax(0, 1fr) 116px !important;
    gap: 9px !important;
  }

  #pgsc-motor-demo #pgsc-query {
    min-height: 56px !important;
    height: 56px !important;
    padding: 13px 14px !important;
    font-size: 16px !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
    height: 56px !important;
    justify-self: stretch !important;
    flex-direction: row !important;
    padding: 7px 9px !important;
    gap: 5px !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control svg {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px;
  }

  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control span {
    font-size: 10px !important;
  }

  #pgsc-motor-demo.pgsc-public > .pgsc-results-area {
    padding: 18px 18px 24px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-toolbar {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  #pgsc-motor-demo.pgsc-public > .pgsc-help {
    padding: 18px !important;
    gap: 12px !important;
  }

  #pgsc-enquiry-live.pgsc-public-enquiry {
    --pgsc-shell-width: calc(100vw - 20px);
    padding: 22px 18px !important;
    border-radius: 14px !important;
  }
}

@container pgscdemo (max-width: 560px) {
  #pgsc-motor-demo.pgsc-public {
    --pgsc-shell-width: calc(100vw - 16px);
  }

  #pgsc-motor-demo.pgsc-public > .pgsc-notice {
    padding: 10px 13px !important;
  }

  #pgsc-motor-demo.pgsc-public > .pgsc-filters,
  #pgsc-motor-demo.pgsc-public > .pgsc-results-area {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-filter-grid {
    grid-template-columns: 1fr !important;
  }

  #pgsc-motor-demo .pgsc-power-field {
    grid-column: auto !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row {
    grid-template-columns: minmax(0, 1fr) 54px !important;
    gap: 8px !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control {
    width: 54px !important;
    min-width: 54px !important;
    padding: 0 !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  #pgsc-motor-demo .pgsc-search-help {
    padding-top: 5px !important;
  }

  #pgsc-motor-demo .pgsc-toolbar,
  #pgsc-motor-demo .pgsc-pagination,
  #pgsc-motor-demo .pgsc-help {
    width: 100% !important;
  }

  #pgsc-motor-demo .pgsc-sort {
    width: 100% !important;
  }

  #pgsc-motor-demo .pgsc-sort select {
    width: 100% !important;
  }

  #pgsc-motor-demo dialog {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 12px !important;
  }

  #pgsc-motor-demo .pgsc-dialog-bar {
    padding: 11px 14px !important;
  }

  #pgsc-motor-demo .pgsc-dialog-body {
    padding: 20px 16px 22px !important;
  }

  #pgsc-motor-demo .pgsc-dialog-body h2 {
    font-size: 27px !important;
    line-height: 1.12 !important;
  }

  #pgsc-enquiry-live.pgsc-public-enquiry {
    --pgsc-shell-width: calc(100vw - 16px);
    padding: 20px 16px !important;
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 700px) {
    #pgsc-controls { scroll-margin-top: 92px; }
    #pgsc-motor-demo.pgsc-public > .pgsc-notice {
      display: flex !important;
      align-items: flex-start !important;
      gap: 9px !important;
    }
    #pgsc-motor-demo .pgsc-search-input-row {
      grid-template-columns: minmax(0, 1fr) 116px !important;
    }
  }
  @media (max-width: 560px) {
    #pgsc-motor-demo .pgsc-search-input-row {
      grid-template-columns: minmax(0, 1fr) 54px !important;
    }
    #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control span {
      display: none !important;
    }
  }
}

/* 1.0.5: explicit catalogue search action, compact phone dialog and
   current-page ActionBox mobile sizing. */
#pgsc-motor-demo .pgsc-search-input-row {
  grid-template-columns: minmax(0, 1fr) 148px 94px !important;
  align-items: stretch !important;
  gap: 10px !important;
}

#pgsc-motor-demo button.pgsc-search-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  min-height: 58px !important;
  height: 58px !important;
  padding: 9px 14px !important;
  border-radius: 6px !important;
  background: var(--pgsc-blue) !important;
  border-color: var(--pgsc-blue) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

#pgsc-motor-demo button.pgsc-search-submit:hover,
#pgsc-motor-demo button.pgsc-search-submit:focus-visible {
  background: #0b4d81 !important;
  border-color: #0b4d81 !important;
}

#pgsc-motor-demo button.pgsc-search-submit svg {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

#pgsc-motor-demo .pgsc-search-note {
  margin: 8px 0 0 !important;
  color: #c9deeb !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

#pgsc-motor-demo .pgsc-count {
  scroll-margin-top: 108px;
}

#pgsc-motor-demo dialog:focus,
#pgsc-motor-demo #pgsc-dialog-title:focus,
#pgsc-motor-demo #pgsc-dialog-title:focus-visible {
  outline: none !important;
}

#pgsc-motor-demo dialog button:focus-visible,
#pgsc-motor-demo dialog a:focus-visible {
  outline-color: #82c7f1 !important;
}

/* Current-site page hero. The page ID fallback applies immediately; the
   optional pgsc-page-hero class keeps the treatment portable. */
@media (max-width: 700px) {
  body.page-id-4378 .w-actionbox,
  .pgsc-page-hero.w-actionbox,
  .pgsc-page-hero .w-actionbox {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 32px 20px 34px !important;
    text-align: center !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text,
  body.page-id-4378 .w-actionbox .w-actionbox-controls,
  .pgsc-page-hero.w-actionbox .w-actionbox-text,
  .pgsc-page-hero.w-actionbox .w-actionbox-controls,
  .pgsc-page-hero .w-actionbox .w-actionbox-text,
  .pgsc-page-hero .w-actionbox .w-actionbox-controls {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text h2,
  body.page-id-4378 .w-actionbox .w-actionbox-text h3,
  body.page-id-4378 .w-actionbox .w-actionbox-text h4,
  .pgsc-page-hero .w-actionbox-text h2,
  .pgsc-page-hero .w-actionbox-text h3,
  .pgsc-page-hero .w-actionbox-text h4 {
    margin: 0 0 14px !important;
    font-size: clamp(30px, 8.5vw, 38px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.5px !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text p,
  .pgsc-page-hero .w-actionbox-text p {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-controls,
  .pgsc-page-hero .w-actionbox-controls {
    padding-top: 22px !important;
  }

  body.page-id-4378 .w-actionbox .w-btn,
  .pgsc-page-hero .w-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100%, 340px) !important;
    min-height: 54px !important;
    padding: 12px 18px !important;
    border-width: 2px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  body.page-id-4378 .w-actionbox .w-btn i,
  body.page-id-4378 .w-actionbox .w-btn .w-btn-icon,
  .pgsc-page-hero .w-btn i,
  .pgsc-page-hero .w-btn .w-btn-icon {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row {
    grid-template-columns: minmax(0, 1fr) 56px !important;
    gap: 8px !important;
  }

  #pgsc-motor-demo #pgsc-query {
    grid-column: 1 / -1 !important;
    min-height: 52px !important;
    height: 52px !important;
  }

  #pgsc-motor-demo button.pgsc-search-submit {
    grid-column: 1 !important;
    min-height: 50px !important;
    height: 50px !important;
    width: 100% !important;
    font-size: 15px !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control {
    grid-column: 2 !important;
    width: 56px !important;
    min-width: 56px !important;
    min-height: 50px !important;
    height: 50px !important;
    padding: 0 !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  #pgsc-motor-demo .pgsc-search-note {
    margin-top: 7px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 560px) {
  body.page-id-4378 .w-actionbox,
  .pgsc-page-hero.w-actionbox,
  .pgsc-page-hero .w-actionbox {
    padding: 28px 18px 30px !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text h2,
  body.page-id-4378 .w-actionbox .w-actionbox-text h3,
  body.page-id-4378 .w-actionbox .w-actionbox-text h4,
  .pgsc-page-hero .w-actionbox-text h2,
  .pgsc-page-hero .w-actionbox-text h3,
  .pgsc-page-hero .w-actionbox-text h4 {
    font-size: clamp(28px, 8vw, 34px) !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text p,
  .pgsc-page-hero .w-actionbox-text p {
    font-size: 16px !important;
  }

  body.page-id-4378 .w-actionbox .w-btn,
  .pgsc-page-hero .w-btn {
    width: 100% !important;
    max-width: 330px !important;
    min-height: 52px !important;
    padding: 11px 16px !important;
    font-size: 15px !important;
  }

  #pgsc-motor-demo.pgsc-public dialog {
    width: calc(100vw - 18px) !important;
    max-width: calc(100vw - 18px) !important;
    max-height: calc(100dvh - 18px) !important;
    border-width: 1px !important;
    border-radius: 12px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-dialog-bar {
    padding: 10px 12px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-dialog-bar > span {
    font-size: 12px !important;
    letter-spacing: .9px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-dialog-bar button.pgsc-secondary {
    min-height: 42px !important;
    padding: 8px 12px !important;
    font-size: 15px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-dialog-body {
    padding: 17px 14px 20px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-dialog-body .pgsc-ref {
    font-size: 12px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-dialog-body h2 {
    margin: 5px 0 8px !important;
    font-size: clamp(24px, 7vw, 28px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.25px !important;
    overflow-wrap: anywhere !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-dialog-body .pgsc-detail-overview > p {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-detail-heading {
    margin-bottom: 12px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-detail-grid {
    margin: 12px 0 16px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-detail-grid > div {
    padding: 10px 0 !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-detail-grid dt {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-detail-grid dd,
  #pgsc-motor-demo.pgsc-public .pgsc-detail-grid dd.pgsc-availability-status {
    margin-top: 3px !important;
    font-size: 17px !important;
    line-height: 1.3 !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-dialog-body > p.pgsc-availability-disclaimer,
  #pgsc-motor-demo.pgsc-public .pgsc-detail-note {
    padding: 13px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-detail-actions {
    gap: 8px !important;
  }

  #pgsc-motor-demo.pgsc-public .pgsc-detail-actions > button,
  #pgsc-motor-demo.pgsc-public .pgsc-call-sales {
    min-height: 48px !important;
    padding: 11px 13px !important;
    font-size: 15px !important;
  }
}

/* 1.0.6: matched catalogue action controls, page-hero overlay and
   additional breathing room before the site footer on the current page. */
#pgsc-motor-demo .pgsc-search-input-row {
  grid-template-columns: minmax(0, 1fr) 112px 112px !important;
  gap: 10px !important;
}

#pgsc-motor-demo button.pgsc-search-submit,
#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 58px !important;
  height: 58px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(255,255,255,.24) !important;
  border-radius: 6px !important;
  background: rgba(255,255,255,.035) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .08s ease !important;
}

#pgsc-motor-demo button.pgsc-search-submit svg,
#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control svg {
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
  stroke-width: 1.9 !important;
}

#pgsc-motor-demo button.pgsc-search-submit:hover,
#pgsc-motor-demo button.pgsc-search-submit:focus,
#pgsc-motor-demo button.pgsc-search-submit:focus-visible,
#pgsc-motor-demo button.pgsc-search-submit:active,
#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control:hover,
#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control:focus,
#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control:focus-visible,
#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control:active {
  background: #82c7f1 !important;
  border-color: #82c7f1 !important;
  color: var(--pgsc-navy) !important;
  outline: 3px solid rgba(130,199,241,.30) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 1px rgba(16,45,67,.08) !important;
}

#pgsc-motor-demo button.pgsc-search-submit:active,
#pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control:active {
  transform: translateY(1px) !important;
}

/* Turn the existing full-width ActionBox into an overlay on the warehouse
   image. The page-ID selector applies to the current Reconditioned Motors
   page; the class selectors keep the treatment portable if the block moves. */
body.page-id-4378 .l-section:has(.w-actionbox),
body.page-id-4378 .vc_row:has(.w-actionbox),
.pgsc-page-hero-wrap {
  position: relative !important;
  z-index: 4 !important;
  overflow: visible !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

body.page-id-4378 .w-actionbox,
.pgsc-page-hero.w-actionbox,
.pgsc-page-hero .w-actionbox {
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 34px !important;
  min-height: 220px !important;
  margin-top: -220px !important;
  margin-bottom: 0 !important;
  padding: 62px clamp(34px, 11vw, 180px) 34px !important;
  color: #fff !important;
  background: linear-gradient(180deg, rgba(16,45,67,0) 0%, rgba(16,45,67,.58) 34%, rgba(16,45,67,.94) 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.page-id-4378 .w-actionbox .w-actionbox-text,
body.page-id-4378 .w-actionbox .w-actionbox-controls,
.pgsc-page-hero .w-actionbox-text,
.pgsc-page-hero .w-actionbox-controls {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 !important;
}

body.page-id-4378 .w-actionbox .w-actionbox-text h2,
body.page-id-4378 .w-actionbox .w-actionbox-text h3,
body.page-id-4378 .w-actionbox .w-actionbox-text h4,
.pgsc-page-hero .w-actionbox-text h2,
.pgsc-page-hero .w-actionbox-text h3,
.pgsc-page-hero .w-actionbox-text h4 {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: clamp(30px, 3vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -.5px !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.42) !important;
}

body.page-id-4378 .w-actionbox .w-actionbox-text p,
.pgsc-page-hero .w-actionbox-text p {
  margin: 0 !important;
  color: rgba(255,255,255,.94) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.38) !important;
}

body.page-id-4378 .w-actionbox .w-btn,
.pgsc-page-hero .w-btn {
  color: #fff !important;
  background: rgba(16,45,67,.34) !important;
  border-color: rgba(255,255,255,.92) !important;
  box-shadow: none !important;
}

body.page-id-4378 .w-actionbox .w-btn:hover,
body.page-id-4378 .w-actionbox .w-btn:focus,
body.page-id-4378 .w-actionbox .w-btn:focus-visible,
.pgsc-page-hero .w-btn:hover,
.pgsc-page-hero .w-btn:focus,
.pgsc-page-hero .w-btn:focus-visible {
  color: var(--pgsc-navy, #102d43) !important;
  background: #82c7f1 !important;
  border-color: #82c7f1 !important;
  outline: 3px solid rgba(130,199,241,.28) !important;
  outline-offset: 2px !important;
}

/* Add separation between the full sales-contact row and the footer. */
body.page-id-4378 .l-section:has(.w-person),
.pgsc-contact-team-row {
  padding-bottom: 62px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 900px) {
  body.page-id-4378 .w-actionbox,
  .pgsc-page-hero.w-actionbox,
  .pgsc-page-hero .w-actionbox {
    min-height: 210px !important;
    margin-top: -210px !important;
    padding: 54px 28px 28px !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text h2,
  body.page-id-4378 .w-actionbox .w-actionbox-text h3,
  body.page-id-4378 .w-actionbox .w-actionbox-text h4,
  .pgsc-page-hero .w-actionbox-text h2,
  .pgsc-page-hero .w-actionbox-text h3,
  .pgsc-page-hero .w-actionbox-text h4 {
    font-size: clamp(27px, 5vw, 36px) !important;
  }
}

@media (max-width: 700px) {
  #pgsc-motor-demo .pgsc-search-input-row {
    grid-template-columns: minmax(0, 1fr) 56px !important;
    gap: 8px !important;
  }

  #pgsc-motor-demo button.pgsc-search-submit {
    grid-column: 1 !important;
    flex-direction: row !important;
    gap: 8px !important;
    min-height: 50px !important;
    height: 50px !important;
    padding: 8px 14px !important;
    font-size: 14px !important;
  }

  #pgsc-motor-demo button.pgsc-search-submit svg {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
  }

  #pgsc-motor-demo .pgsc-search-input-row > button.pgsc-reset-control {
    grid-column: 2 !important;
    min-height: 50px !important;
    height: 50px !important;
    padding: 0 !important;
  }

  body.page-id-4378 .w-actionbox,
  .pgsc-page-hero.w-actionbox,
  .pgsc-page-hero .w-actionbox {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 17px !important;
    min-height: 270px !important;
    margin-top: -270px !important;
    padding: 54px 20px 24px !important;
    text-align: center !important;
    background: linear-gradient(180deg, rgba(16,45,67,.10) 0%, rgba(16,45,67,.72) 38%, rgba(16,45,67,.96) 100%) !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text,
  body.page-id-4378 .w-actionbox .w-actionbox-controls,
  .pgsc-page-hero .w-actionbox-text,
  .pgsc-page-hero .w-actionbox-controls {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text h2,
  body.page-id-4378 .w-actionbox .w-actionbox-text h3,
  body.page-id-4378 .w-actionbox .w-actionbox-text h4,
  .pgsc-page-hero .w-actionbox-text h2,
  .pgsc-page-hero .w-actionbox-text h3,
  .pgsc-page-hero .w-actionbox-text h4 {
    margin-bottom: 8px !important;
    font-size: clamp(23px, 6.8vw, 29px) !important;
    line-height: 1.14 !important;
  }

  body.page-id-4378 .w-actionbox .w-actionbox-text p,
  .pgsc-page-hero .w-actionbox-text p {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  body.page-id-4378 .w-actionbox .w-btn,
  .pgsc-page-hero .w-btn {
    width: min(100%, 310px) !important;
    min-height: 48px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
  }

  body.page-id-4378 .l-section:has(.w-person),
  .pgsc-contact-team-row {
    padding-bottom: 44px !important;
  }
}


/* 1.0.7: true warehouse-image hero overlay.
   JavaScript mounts the existing ActionBox inside the preceding image section,
   so the overlay is sized by the photograph rather than a negative margin. */
body.page-id-4378 .pgsc-page-hero-host,
.pgsc-page-hero-host {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #102d43 !important;
}

body.page-id-4378 .pgsc-page-hero-host .w-image,
body.page-id-4378 .pgsc-page-hero-host .w-image-h,
.pgsc-page-hero-host .w-image,
.pgsc-page-hero-host .w-image-h {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

body.page-id-4378 .pgsc-page-hero-host .w-image img,
body.page-id-4378 .pgsc-page-hero-host > img,
.pgsc-page-hero-host .w-image img,
.pgsc-page-hero-host > img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero.w-actionbox,
.pgsc-page-hero-host > .pgsc-page-hero.w-actionbox {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(28px, 5vw, 76px) !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: clamp(28px, 4vw, 58px) clamp(32px, 10vw, 170px) !important;
  color: #fff !important;
  background: linear-gradient(90deg, rgba(10,31,47,.86) 0%, rgba(10,31,47,.70) 38%, rgba(10,31,47,.24) 70%, rgba(10,31,47,.12) 100%) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text,
.pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text {
  flex: 1 1 620px !important;
  width: auto !important;
  max-width: 650px !important;
  margin: 0 !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-controls,
.pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-controls {
  flex: 0 1 390px !important;
  width: auto !important;
  max-width: 390px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h2,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h3,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h4,
.pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h2,
.pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h3,
.pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h4 {
  margin: 0 0 10px !important;
  max-width: 650px !important;
  color: #fff !important;
  font-size: clamp(31px, 3.2vw, 48px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -.55px !important;
  text-wrap: balance !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.48) !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text p,
.pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text p {
  margin: 0 !important;
  max-width: 610px !important;
  color: rgba(255,255,255,.96) !important;
  font-size: clamp(14px, 1.15vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.46) !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn {
  width: 100% !important;
  max-width: 390px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 12px 22px !important;
}

body.page-id-4378 .pgsc-page-hero-source,
.pgsc-page-hero-source {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 900px) {
  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero.w-actionbox,
  .pgsc-page-hero-host > .pgsc-page-hero.w-actionbox {
    gap: 24px !important;
    padding: 30px 34px !important;
  }

  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h2,
  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h3,
  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h4,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h2,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h3,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h4 {
    font-size: clamp(28px, 4.5vw, 38px) !important;
  }
}

@media (max-width: 700px) {
  body.page-id-4378 .pgsc-page-hero-host,
  .pgsc-page-hero-host {
    min-height: 390px !important;
  }

  body.page-id-4378 .pgsc-page-hero-host .w-image img,
  body.page-id-4378 .pgsc-page-hero-host > img,
  .pgsc-page-hero-host .w-image img,
  .pgsc-page-hero-host > img {
    height: 390px !important;
    object-position: 58% center !important;
  }

  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero.w-actionbox,
  .pgsc-page-hero-host > .pgsc-page-hero.w-actionbox {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    gap: 17px !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 28px 22px 24px !important;
    text-align: left !important;
    background: linear-gradient(180deg, rgba(10,31,47,.10) 0%, rgba(10,31,47,.56) 42%, rgba(10,31,47,.96) 100%) !important;
  }

  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text,
  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-controls,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-controls {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h2,
  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h3,
  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h4,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h2,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h3,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text h4 {
    margin-bottom: 7px !important;
    font-size: clamp(25px, 7vw, 31px) !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }

  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text p,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text p {
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: left !important;
  }

  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn,
  .pgsc-page-hero-host > .pgsc-page-hero .w-btn {
    width: min(100%, 320px) !important;
    min-height: 50px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
  }
}

/* 1.0.8: stack the warehouse hero CTA beneath the copy and use the Park Gate
   brand blue for hover/focus. These overrides intentionally follow the 1.0.7
   mount rules so the existing WPBakery image and ActionBox remain unchanged. */
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero.w-actionbox,
.pgsc-page-hero-host > .pgsc-page-hero.w-actionbox {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 22px !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text,
.pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-text {
  flex: none !important;
  width: min(100%, 760px) !important;
  max-width: 760px !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-controls,
.pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-controls {
  flex: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 350px !important;
  max-width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 13px 26px !important;
  color: #fff !important;
  background: rgba(16,45,67,.28) !important;
  border: 2px solid rgba(255,255,255,.96) !important;
  border-radius: 5px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .08s ease !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:hover,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus-visible,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:hover,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus-visible {
  color: #fff !important;
  background: #1266a8 !important;
  border-color: #1266a8 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(18,102,168,.28) !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:active,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:active {
  color: #fff !important;
  background: #1266a8 !important;
  border-color: #1266a8 !important;
  transform: translateY(1px) !important;
}

@media (max-width: 900px) {
  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero.w-actionbox,
  .pgsc-page-hero-host > .pgsc-page-hero.w-actionbox {
    gap: 18px !important;
  }

  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn,
  .pgsc-page-hero-host > .pgsc-page-hero .w-btn {
    min-width: 310px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

@media (max-width: 700px) {
  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-controls,
  .pgsc-page-hero-host > .pgsc-page-hero .w-actionbox-controls {
    width: 100% !important;
  }

  body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn,
  .pgsc-page-hero-host > .pgsc-page-hero .w-btn {
    width: min(100%, 320px) !important;
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    white-space: normal !important;
  }
}



/* 1.0.9: keep the current-site hero CTA legible through hover/focus and
   streamline customer-facing motor details to a single information panel. */
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn {
  position: relative !important;
  isolation: isolate !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn > *,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn > * {
  position: relative !important;
  z-index: 2 !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:hover,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus-visible,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:active,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:hover,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus-visible,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:active {
  color: #1266a8 !important;
  -webkit-text-fill-color: #1266a8 !important;
  background: #fff !important;
  background-image: none !important;
  border-color: #1266a8 !important;
  box-shadow: 0 0 0 4px rgba(18,102,168,.28) !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:hover *,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus *,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus-visible *,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:active *,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:hover *,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus *,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus-visible *,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:active * {
  color: #1266a8 !important;
  -webkit-text-fill-color: #1266a8 !important;
  fill: #1266a8 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:hover::before,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus::before,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus-visible::before,
body.page-id-4378 .pgsc-page-hero-host > .pgsc-page-hero .w-btn:active::before,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:hover::before,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus::before,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:focus-visible::before,
.pgsc-page-hero-host > .pgsc-page-hero .w-btn:active::before {
  background: #fff !important;
  opacity: 1 !important;
}

#pgsc-motor-demo .pgsc-category-notice {
  display: block;
  margin-top: 7px;
  font-weight: 400;
}
