/* Approved scrapyard header. Native logo, search and menus stay interactive.
   The compact checkout and touch header retain their existing presentation. */
@media (min-width:1200px) {
  #header .header-bottom {
    --bd-yard-height:clamp(170px,10.8vw,216px);
    position:relative;
    isolation:isolate;
  }
  #header .header-bottom::before {
    content:"";
    position:absolute;
    z-index:-1;
    pointer-events:none;
    inset:0 0 auto;
    height:var(--bd-yard-height);
    background:#c6d9e6 url("../img/scrapyard-header-v1.jpg") center 62% / max(1440px,100%) auto no-repeat;
  }
  #header .header-bottom__row > .header-bottom__logo,
  #header .header-bottom__row > #_desktop_ps_searchbar {
    min-height:var(--bd-yard-height);
    display:flex!important;
    align-items:center!important;
  }
  #header .header-bottom__logo img {
    filter:drop-shadow(0 2px 3px #fff) drop-shadow(0 0 8px rgba(255,255,255,.9));
  }
  #header #_desktop_ps_searchbar form {
    background:#fff;
    border-radius:6px;
    box-shadow:0 2px 12px rgba(11,36,71,.18);
  }
  #header .header-bottom__row > .ps-mainmenu {
    background:#fff;
  }
}

/* Let the homepage brand wrapper fill the shared logo column. */
#header .header-bottom__logo .header-bottom__h1 { width:100%; }
