/* Shared customer header logo — single source */
.pst-customer-logo-link{
  box-sizing:border-box!important;
  display:block!important;
  width:190px!important;
  height:62px!important;
  flex:0 0 190px!important;
  background:url("../pst-header-logo.png") center/contain no-repeat!important;
}
.pst-customer-header-logo{
  width:100%!important;
  height:100%!important;
  opacity:0!important;
}
@media (max-width:700px){
  .pst-customer-header,
  .pst-customer-header-inner,
  .pst-customer-header-right,
  .pst-customer-search,
  .pst-customer-nav{
    box-sizing:border-box!important;
  }
  .pst-customer-header-inner{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:14px!important;
    width:100%!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .pst-customer-logo-link{
    width:160px!important;
    height:54px!important;
    flex:0 0 54px!important;
    margin:0 auto!important;
  }
  .pst-customer-header-right{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:14px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  .pst-customer-search{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  .pst-customer-search input[type="search"]{
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    margin:0!important;
    padding:0 52px 0 14px!important;
  }
  .pst-customer-search button{
    position:absolute!important;
    right:8px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0!important;
  }
  .pst-customer-nav{
    display:grid!important;
    grid-template-columns:max-content max-content max-content max-content!important;
    grid-template-rows:auto auto auto!important;
    align-items:center!important;
    justify-content:space-between!important;
    column-gap:10px!important;
    row-gap:14px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
    padding:0 2px!important;
  }
  .pst-customer-nav>a,
  .pst-customer-nav>a:link,
  .pst-customer-nav>a:visited,
  .pst-customer-nav a[data-account-link],
  .pst-customer-nav a[data-admin-link]{
    justify-self:center!important;
    width:auto!important;
    font-size:11px!important;
    line-height:1.15!important;
    text-align:center!important;
    letter-spacing:.035em!important;
  }
  .pst-customer-nav>a:nth-child(1){grid-column:1!important;grid-row:1!important;}
  .pst-customer-nav>a:nth-child(2){grid-column:2!important;grid-row:1!important;}
  .pst-customer-nav>a:nth-child(3){grid-column:3!important;grid-row:1!important;}
  .pst-customer-nav>a:nth-child(4){grid-column:4!important;grid-row:1!important;}
  .pst-customer-nav a[data-bulk-request-link]{grid-column:1 / -1!important;grid-row:2!important;justify-self:center!important;}
  .pst-customer-nav a[data-account-link]{grid-column:1 / span 2!important;grid-row:3!important;justify-self:start!important;margin-left:12px!important;}
  .pst-customer-nav a[data-admin-link]{grid-column:2 / span 2!important;grid-row:3!important;justify-self:center!important;}
  .pst-customer-nav .cart-link{grid-column:3 / span 2!important;grid-row:3!important;justify-self:end!important;margin-right:12px!important;}
  .pst-cart-count,[data-cart-count]{
    min-width:24px!important;
    height:24px!important;
    margin-left:5px!important;
  }
}

/* Signed-in customer identity sits immediately to the right of the shared logo. */
.pst-customer-header-inner{
  display:grid!important;
  grid-template-columns:190px auto minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:18px!important;
}
.pst-customer-identity{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  min-width:max-content!important;
}
.pst-customer-identity a{
  color:#102a43!important;
  font-family:"Avenir Next","Segoe UI",Arial,Helvetica,sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
  letter-spacing:.03em!important;
  line-height:1!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.pst-customer-identity a:hover,
.pst-customer-identity a:focus-visible{color:#b79a63!important}
.pst-customer-header-right{min-width:0!important}

@media(max-width:700px){
  .pst-customer-header-inner{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:center!important;
    justify-items:center!important;
    row-gap:10px!important;
    column-gap:0!important;
  }
  .pst-customer-logo-link{
    grid-column:1!important;
    justify-self:center!important;
    width:220px!important;
    height:78px!important;
    flex:0 0 78px!important;
    margin:0 auto 2px!important;
  }
  .pst-customer-identity{
    grid-column:1!important;
    justify-self:center!important;
    gap:12px!important;
    min-width:0!important;
  }
  .pst-customer-identity a{font-size:11px!important}
  .pst-customer-header-right{
    grid-column:1!important;
    width:100%!important;
  }
}
